English
alta template
What installing the chart does on a machine: its values, the charts it requires, its sign-ins, parts and proofs (read only).
Usage
text
alta template <dir> [--values <file>] [--bind <need=provider,…>] [--local-only] [--host <host>] [--renderer game] [--json]Arguments
| Name | Description | |
|---|---|---|
dir | required | The chart folder. |
Options
| Name | Type | Default | Description |
|---|---|---|---|
--values | string | A JSON file with the values the owner chooses. | |
--bind | string | The provider of each need, need=provider, comma separated (such as mind=local,channel=world): the player's "change". Absent: the player's own choice. | |
--local-only | flag | 100% local: only providers that keep everything on the machine. | |
--host | string | Default: local | The machine, one of local, hosted-free, hosted-paid. |
--renderer | string | game: the same as the game renders it (quests, steps, achievements). | |
--json | flag | Print the result (alta.template/1) as JSON. |
Exit codes
| Name | Description |
|---|---|
0 | ok |
1 | problems found |
2 | bad usage |
3 | not in this version |
Examples
What installing it does
Terminal
sh
alta template my-agentOutput
text
my-agent 0.1.0 (agent) on local: installable
needs:
My Agent will think with your Claude subscription · change
risk:
Risk: medium. Read why below before you agree.
- It installs programs on your machine.
- It needs you to sign in (Claude).
- An agent may reach the network where it chooses (message).
- It talks to online services while it runs (Claude).
network:
Needs online services to work.
- Claude: It thinks with your Claude subscription: what you ask goes to Claude. A paid account is needed. What leaves your machine: what you ask.
requires:
alta-os
sign-ins:
need-claude signin.cli
parts:
agent agent.create {"agent":"helper","chart":"my-agent"} undo: agent.archive
proofs:
agent helper
repairs (none allowed until you say so):
need-claude-again signin.again (always asked)On a hosted machine
Terminal
sh
alta template my-agent --host hosted-freeOutput
text
my-agent 0.1.0 (agent) on hosted-free: installable
needs:
My Agent will think with your Claude subscription · change
risk:
Risk: medium. Read why below before you agree.
- It installs programs on your machine.
- It needs you to sign in (Claude).
- An agent may reach the network where it chooses (message).
- It talks to online services while it runs (Claude).
network:
Needs online services to work.
- Claude: It thinks with your Claude subscription: what you ask goes to Claude. A paid account is needed. What leaves your machine: what you ask.
requires:
alta-os
sign-ins:
need-claude signin.cli
parts:
agent agent.create {"agent":"helper","chart":"my-agent"} undo: agent.archive
proofs:
agent helper
repairs (none allowed until you say so):
need-claude-again signin.again (always asked)As the game shows it
Terminal
sh
alta template my-agent --renderer gameOutput
text
core.my-agent.install Install My Agent
consent choice What this asks for
requires-alta-os check Install alta-os first [achievement: chart alta-os]
signin-need-claude action Connect your Claude subscription. [runs signin.cli] [achievement: signin]
part-agent action Create the agent helper [runs agent.create] [achievement: agent helper]
ready-1 check My Agent works [achievement: agent helper]
core.my-agent.remove Remove My Agent
undo-agent action Put the agent helper away [runs agent.archive]