@skillcdn/console 0.5.1 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -2
- package/dist/agent-page.d.ts.map +1 -1
- package/dist/agent-page.js +4 -4
- package/dist/agent-page.js.map +1 -1
- package/dist/api.d.ts +5 -4
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +5 -4
- package/dist/api.js.map +1 -1
- package/dist/cli/cli.d.ts +32 -0
- package/dist/cli/cli.d.ts.map +1 -1
- package/dist/cli/cli.js +442 -93
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/format.d.ts +6 -2
- package/dist/cli/format.d.ts.map +1 -1
- package/dist/cli/format.js +25 -3
- package/dist/cli/format.js.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +10 -5
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/machine-check.d.ts +36 -0
- package/dist/cli/machine-check.d.ts.map +1 -0
- package/dist/cli/machine-check.js +151 -0
- package/dist/cli/machine-check.js.map +1 -0
- package/dist/cli/runner-host.d.ts +7 -0
- package/dist/cli/runner-host.d.ts.map +1 -1
- package/dist/cli/runner-host.js +2 -0
- package/dist/cli/runner-host.js.map +1 -1
- package/dist/cli/secret-notes.d.ts +8 -0
- package/dist/cli/secret-notes.d.ts.map +1 -0
- package/dist/cli/secret-notes.js +48 -0
- package/dist/cli/secret-notes.js.map +1 -0
- package/dist/client.d.ts +7 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +6 -1
- package/dist/client.js.map +1 -1
- package/dist/components/agent-page.d.ts +106 -13
- package/dist/components/agent-page.d.ts.map +1 -1
- package/dist/components/agent-page.js +391 -102
- package/dist/components/agent-page.js.map +1 -1
- package/dist/components/agents.d.ts.map +1 -1
- package/dist/components/agents.js +1 -1
- package/dist/components/agents.js.map +1 -1
- package/dist/components/board.d.ts.map +1 -1
- package/dist/components/board.js +3 -2
- package/dist/components/board.js.map +1 -1
- package/dist/components/categories.js +1 -1
- package/dist/components/categories.js.map +1 -1
- package/dist/components/decision-list.d.ts.map +1 -1
- package/dist/components/decision-list.js +1 -1
- package/dist/components/decision-list.js.map +1 -1
- package/dist/components/event-feed.d.ts.map +1 -1
- package/dist/components/event-feed.js +3 -2
- package/dist/components/event-feed.js.map +1 -1
- package/dist/components/goals.d.ts +2 -0
- package/dist/components/goals.d.ts.map +1 -1
- package/dist/components/goals.js +1 -1
- package/dist/components/goals.js.map +1 -1
- package/dist/components/home.d.ts.map +1 -1
- package/dist/components/home.js +13 -15
- package/dist/components/home.js.map +1 -1
- package/dist/components/icon.d.ts +31 -0
- package/dist/components/icon.d.ts.map +1 -0
- package/dist/components/icon.js +169 -0
- package/dist/components/icon.js.map +1 -0
- package/dist/components/markdown.d.ts +6 -0
- package/dist/components/markdown.d.ts.map +1 -1
- package/dist/components/markdown.js +10 -2
- package/dist/components/markdown.js.map +1 -1
- package/dist/components/people.js +1 -1
- package/dist/components/people.js.map +1 -1
- package/dist/components/plugin-frame.d.ts.map +1 -1
- package/dist/components/plugin-frame.js +7 -0
- package/dist/components/plugin-frame.js.map +1 -1
- package/dist/components/projects.d.ts +17 -4
- package/dist/components/projects.d.ts.map +1 -1
- package/dist/components/projects.js +25 -6
- package/dist/components/projects.js.map +1 -1
- package/dist/components/sessions.d.ts.map +1 -1
- package/dist/components/sessions.js +3 -2
- package/dist/components/sessions.js.map +1 -1
- package/dist/components/setup.d.ts.map +1 -1
- package/dist/components/setup.js +2 -2
- package/dist/components/setup.js.map +1 -1
- package/dist/components/shell.d.ts.map +1 -1
- package/dist/components/shell.js +3 -2
- package/dist/components/shell.js.map +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/tokens.js.map +1 -1
- package/dist/components/ui.d.ts +5 -2
- package/dist/components/ui.d.ts.map +1 -1
- package/dist/components/ui.js +10 -7
- package/dist/components/ui.js.map +1 -1
- package/dist/connect-page.js +1 -1
- package/dist/connect-page.js.map +1 -1
- package/dist/console.css +473 -77
- package/dist/console.d.ts.map +1 -1
- package/dist/console.js +38 -31
- package/dist/console.js.map +1 -1
- package/dist/home-tiles.d.ts +24 -33
- package/dist/home-tiles.d.ts.map +1 -1
- package/dist/home-tiles.js +65 -259
- package/dist/home-tiles.js.map +1 -1
- package/dist/i18n/en.d.ts +49 -2
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +126 -3
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/ko.d.ts.map +1 -1
- package/dist/i18n/ko.js +197 -79
- package/dist/i18n/ko.js.map +1 -1
- package/dist/i18n/particles.d.ts +7 -0
- package/dist/i18n/particles.d.ts.map +1 -0
- package/dist/i18n/particles.js +72 -0
- package/dist/i18n/particles.js.map +1 -0
- package/dist/icons/glyphs.d.ts +605 -0
- package/dist/icons/glyphs.d.ts.map +1 -0
- package/dist/icons/glyphs.js +104 -0
- package/dist/icons/glyphs.js.map +1 -0
- package/dist/icons/index.d.ts +59 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/index.js +157 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/limits.d.ts +9 -0
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js +9 -0
- package/dist/limits.js.map +1 -1
- package/dist/marks.d.ts +9 -0
- package/dist/marks.d.ts.map +1 -1
- package/dist/marks.js +9 -0
- package/dist/marks.js.map +1 -1
- package/dist/onboarding.js +3 -3
- package/dist/onboarding.js.map +1 -1
- package/dist/plugin/manifest.d.ts.map +1 -1
- package/dist/plugin/manifest.js +3 -2
- package/dist/plugin/manifest.js.map +1 -1
- package/dist/plugin/web.d.ts +3 -0
- package/dist/plugin/web.d.ts.map +1 -1
- package/dist/plugin/web.js +5 -1
- package/dist/plugin/web.js.map +1 -1
- package/dist/runner/acp.d.ts.map +1 -1
- package/dist/runner/acp.js +2 -2
- package/dist/runner/acp.js.map +1 -1
- package/dist/runner/awake.d.ts +35 -0
- package/dist/runner/awake.d.ts.map +1 -0
- package/dist/runner/awake.js +95 -0
- package/dist/runner/awake.js.map +1 -0
- package/dist/runner/claude.d.ts.map +1 -1
- package/dist/runner/claude.js +19 -7
- package/dist/runner/claude.js.map +1 -1
- package/dist/runner/codex.d.ts.map +1 -1
- package/dist/runner/codex.js +2 -2
- package/dist/runner/codex.js.map +1 -1
- package/dist/runner/config.d.ts +5 -0
- package/dist/runner/config.d.ts.map +1 -1
- package/dist/runner/config.js +9 -0
- package/dist/runner/config.js.map +1 -1
- package/dist/runner/desk.d.ts.map +1 -1
- package/dist/runner/desk.js +5 -6
- package/dist/runner/desk.js.map +1 -1
- package/dist/runner/runner.d.ts +13 -2
- package/dist/runner/runner.d.ts.map +1 -1
- package/dist/runner/runner.js +141 -22
- package/dist/runner/runner.js.map +1 -1
- package/dist/runner/slack.d.ts.map +1 -1
- package/dist/runner/slack.js +10 -4
- package/dist/runner/slack.js.map +1 -1
- package/dist/runner/types.d.ts +15 -0
- package/dist/runner/types.d.ts.map +1 -1
- package/dist/runner/types.js +9 -0
- package/dist/runner/types.js.map +1 -1
- package/dist/schemas.d.ts +94 -1
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +81 -5
- package/dist/schemas.js.map +1 -1
- package/dist/services.d.ts.map +1 -1
- package/dist/services.js +9 -5
- package/dist/services.js.map +1 -1
- package/dist/setup-guide.d.ts +14 -3
- package/dist/setup-guide.d.ts.map +1 -1
- package/dist/setup-guide.js +41 -37
- package/dist/setup-guide.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +5 -1
- package/dist/tokens.js.map +1 -1
- package/dist/vocabulary.d.ts +7 -0
- package/dist/vocabulary.d.ts.map +1 -1
- package/dist/vocabulary.js +6 -0
- package/dist/vocabulary.js.map +1 -1
- package/docs/specs/cli.md +10 -7
- package/docs/specs/plugins.md +18 -7
- package/docs/specs/rest.md +10 -8
- package/docs/specs/runner.md +26 -8
- package/package.json +7 -3
- package/skills/building-a-console/SKILL.md +2 -2
- package/skills/building-a-plugin/SKILL.md +3 -3
- package/skills/keeping-a-desk/SKILL.md +2 -2
- package/skills/running-an-agent/SKILL.md +47 -57
- package/skills/working-the-board/SKILL.md +5 -4
- package/skills/working-the-board/references/the-pack.md +1 -1
- package/src/agent-page.tsx +13 -1
- package/src/api.ts +32 -1
- package/src/cli/cli.ts +530 -106
- package/src/cli/format.ts +31 -3
- package/src/cli/help.ts +12 -4
- package/src/cli/machine-check.ts +223 -0
- package/src/cli/runner-host.ts +8 -0
- package/src/cli/secret-notes.ts +63 -0
- package/src/client.ts +23 -0
- package/src/components/agent-page.tsx +629 -112
- package/src/components/agents.tsx +9 -5
- package/src/components/board.tsx +3 -15
- package/src/components/categories.tsx +2 -2
- package/src/components/decision-list.tsx +11 -7
- package/src/components/event-feed.tsx +7 -2
- package/src/components/goals.tsx +33 -25
- package/src/components/home.tsx +29 -26
- package/src/components/icon.tsx +337 -0
- package/src/components/markdown.tsx +22 -2
- package/src/components/people.tsx +1 -1
- package/src/components/plugin-frame.tsx +7 -0
- package/src/components/projects.tsx +39 -5
- package/src/components/sessions.tsx +2 -13
- package/src/components/setup.tsx +2 -2
- package/src/components/shell.tsx +3 -20
- package/src/components/tokens.tsx +1 -1
- package/src/components/ui.tsx +16 -8
- package/src/connect-page.tsx +1 -1
- package/src/console.tsx +87 -53
- package/src/home-tiles.ts +76 -291
- package/src/i18n/en.ts +128 -3
- package/src/i18n/ko.ts +200 -79
- package/src/i18n/particles.ts +79 -0
- package/src/icons/glyphs.ts +112 -0
- package/src/icons/index.ts +195 -0
- package/src/index.ts +7 -0
- package/src/limits.ts +9 -0
- package/src/marks.ts +12 -0
- package/src/onboarding.ts +3 -3
- package/src/plugin/manifest.ts +3 -2
- package/src/plugin/web.ts +9 -2
- package/src/runner/acp.ts +2 -1
- package/src/runner/awake.ts +135 -0
- package/src/runner/claude.ts +19 -4
- package/src/runner/codex.ts +2 -1
- package/src/runner/config.ts +9 -0
- package/src/runner/desk.ts +5 -6
- package/src/runner/runner.ts +183 -23
- package/src/runner/slack.ts +10 -4
- package/src/runner/types.ts +20 -0
- package/src/schemas.ts +94 -3
- package/src/services.ts +9 -5
- package/src/setup-guide.ts +43 -38
- package/src/styles/README.md +5 -4
- package/src/styles/base.css +17 -0
- package/src/styles/console.css +1 -0
- package/src/styles/drawn-by-pages.json +1 -1
- package/src/styles/pages/agents.css +103 -1
- package/src/styles/pages/board.css +0 -10
- package/src/styles/pages/calendar.css +1 -1
- package/src/styles/pages/connect.css +0 -10
- package/src/styles/pages/decisions.css +3 -1
- package/src/styles/pages/feed.css +5 -2
- package/src/styles/pages/home.css +5 -0
- package/src/styles/pages/roadmap.css +2 -2
- package/src/styles/pages/settings.css +11 -0
- package/src/styles/pages/task.css +0 -20
- package/src/styles/pages/thread.css +1 -1
- package/src/styles/parts/calendar.css +1 -1
- package/src/styles/parts/callout.css +1 -0
- package/src/styles/parts/detail.css +22 -0
- package/src/styles/parts/empty.css +2 -0
- package/src/styles/parts/eyebrow.css +1 -1
- package/src/styles/parts/facts.css +1 -1
- package/src/styles/parts/figures.css +1 -1
- package/src/styles/parts/form.css +2 -1
- package/src/styles/parts/icon.css +191 -0
- package/src/styles/parts/input.css +14 -4
- package/src/styles/parts/mark.css +36 -0
- package/src/styles/parts/menu.css +1 -7
- package/src/styles/parts/page.css +1 -1
- package/src/styles/parts/panel.css +10 -0
- package/src/styles/parts/person.css +5 -2
- package/src/styles/parts/progress.css +5 -2
- package/src/styles/parts/rows.css +1 -0
- package/src/styles/parts/settings.css +5 -0
- package/src/styles/parts/stat.css +1 -1
- package/src/styles/tokens.css +22 -7
- package/src/tokens.ts +5 -1
- package/src/vocabulary.ts +9 -0
package/dist/setup-guide.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { en } from "./i18n/en.js";
|
|
1
2
|
import { agentAddressOf, describeService, HELD_BEFORE_ADDED, serviceNamesOf, } from "./services.js";
|
|
2
3
|
import { SERVICE_ROLES } from "./vocabulary.js";
|
|
3
4
|
// The guide an invitation's code opens (ADR-0088): what setting a machine up for one agent
|
|
4
5
|
// account takes, written for that account and the services of its workspace, in the order it is
|
|
5
|
-
// done and by whom.
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
// they are, as the console's other skills have an agent ask (ADR-0094).
|
|
6
|
+
// done and by whom. `/setup/<code>` shows it whole to a person; `console agent setup --code`
|
|
7
|
+
// prints the part of whoever prepares the machine, a person or the session that was given the
|
|
8
|
+
// line, and no more (ADR-0140): the machine is given its least there, and everything after is
|
|
9
|
+
// the agent's own, in its own session. It is written in English, as a skill is, for an agent to
|
|
10
|
+
// read as it is, and says nothing secret.
|
|
11
11
|
/** How the console's command gets onto a machine. */
|
|
12
12
|
export const SETUP_INSTALL = "npm i -g @skillcdn/console";
|
|
13
13
|
/** The command that sets a machine up for the account a code is the invitation of. */
|
|
@@ -16,11 +16,18 @@ export function setupCommandOf(origin, code) {
|
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* The sentence said to the agent's product on its machine. It carries the command as written,
|
|
19
|
-
* so that the product runs it and reads the guide from the command's own words.
|
|
19
|
+
* so that the product runs it and reads the guide from the command's own words. In English, as
|
|
20
|
+
* the guide is and as the command prints it; a page says it in the language of whoever reads
|
|
21
|
+
* it, from their pack, where this one is the English pack's.
|
|
20
22
|
*/
|
|
21
23
|
export function setupSentenceOf(command) {
|
|
22
|
-
return
|
|
24
|
+
return en.agents.page.settings.machine.made.line(command, SETUP_INSTALL);
|
|
23
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* What a product's browser tool needs, for the products whose tool the package knows: said to
|
|
28
|
+
* the agent where it is told to sign in at pages, and looked for by the setup on the machine.
|
|
29
|
+
*/
|
|
30
|
+
export const BROWSER_TOOL_OF_A_PRODUCT = 'For Claude Code that tool works in Google Chrome with the Claude in Chrome extension, and is turned on by "browser": "chrome" in runner.json.';
|
|
24
31
|
const SIGNS_IN_AT = { gh: "GitHub", google: "Google" };
|
|
25
32
|
const ROLE_WORDS = {
|
|
26
33
|
identity: "where the account signs in",
|
|
@@ -112,41 +119,34 @@ export function setupGuideOf(setup, code) {
|
|
|
112
119
|
: []),
|
|
113
120
|
{
|
|
114
121
|
title: "An OS account of its own",
|
|
115
|
-
body: "On
|
|
122
|
+
body: "On a machine that stays on and awake, an OS account for the agent, apart from anyone else's. Whether it holds an administrator's rights is for whoever keeps the machine to say.",
|
|
116
123
|
},
|
|
117
124
|
{
|
|
118
|
-
title: "Its product
|
|
119
|
-
body: "In that OS account,
|
|
120
|
-
line: SETUP_INSTALL,
|
|
125
|
+
title: "Its product, signed in",
|
|
126
|
+
body: "In that OS account, the agent's product (Claude Code, Codex or another), signed in with the agent's own subscription. Whatever else the machine needs, the session that is given the line installs itself.",
|
|
121
127
|
},
|
|
122
128
|
{
|
|
123
129
|
title: "The one line",
|
|
124
|
-
body: "Open a session of the product there and say this to it
|
|
130
|
+
body: "Open a session of the product there and say this to it. You act as yourself in the console, and never sign in to it on the agent's machine.",
|
|
125
131
|
line: setupSentenceOf(command),
|
|
126
132
|
},
|
|
127
133
|
];
|
|
128
134
|
const machine = [
|
|
129
135
|
{
|
|
130
|
-
title: "
|
|
131
|
-
body:
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
title: "The command asks to be signed in as the account",
|
|
135
|
-
body: `After this guide the command goes on by itself, and waits. It opens an address in the machine's browser and prints it with a code: sign in there through ${provider} as \`${account.login}\`, check that the page shows the same code, and say that it is you. On a machine without a screen, open the address in any browser that is signed in as the account. If the page shows another member, sign out there first: nobody else's sign-in answers for the account, and the command gives up a sign-in that is not the account's. A password typed for the account here is the account's from then on: change it where the provider lets you, and keep the new one in your store once the command is signed in (\`console secret <name> --set\`).`,
|
|
136
|
+
title: "What the machine needs",
|
|
137
|
+
body: "The command looks at the machine first and names everything that is missing at once: git, the product's command, the browser its browser tool works in. Install each yourself, without asking, and run the line again.",
|
|
136
138
|
},
|
|
137
139
|
{
|
|
138
|
-
title: "
|
|
139
|
-
body:
|
|
140
|
+
title: "The sign-in",
|
|
141
|
+
body: `Then the command opens an address in the machine's browser, prints it with a code, and waits. Say to the person at the machine: "Sign in there through ${provider} as \`${account.login}\`, check that the page shows this code, and say that it is you." They sign in themselves, and no password is written in a chat: a secret the agent is to hold, they seed from their own machine (\`console agent secret ${account.handle} <name>\`). Nobody else's sign-in answers for the account; where the page shows another member, they sign out there first.`,
|
|
140
142
|
},
|
|
141
143
|
{
|
|
142
|
-
title: "
|
|
143
|
-
body:
|
|
144
|
-
line: "console whoami",
|
|
144
|
+
title: "What the command does then",
|
|
145
|
+
body: "It writes the desk in the OS account's home from the template, or clones it where the account pushed one before, writes the service that keeps the runner running, starts it, and waits until the agent's first session has begun. It needs no administrator's rights, and writes over no file of a desk that is there.",
|
|
145
146
|
},
|
|
146
147
|
{
|
|
147
|
-
title: "
|
|
148
|
-
body:
|
|
149
|
-
line: "console agent setup --refresh",
|
|
148
|
+
title: "Then stop",
|
|
149
|
+
body: `That is the machine prepared. What comes after is the agent's own, done in its own session from its first task: its sign-ins at the services, its tokens, its desk's repository, its profile, its messenger. Do none of it for it. What you change on this machine afterwards, say to it: \`console agent wake me "<what changed>"\`.`,
|
|
150
150
|
},
|
|
151
151
|
];
|
|
152
152
|
const start = described.flatMap((one) => one.onboarding.map((item) => ({ title: item.title, body: item.body })));
|
|
@@ -156,7 +156,7 @@ export function setupGuideOf(setup, code) {
|
|
|
156
156
|
const browser = [
|
|
157
157
|
{
|
|
158
158
|
title: "Use the machine's own browser, and keep it",
|
|
159
|
-
body:
|
|
159
|
+
body: `Sign in at a service in the ordinary browser of your OS account, with a browser tool of your product that attaches to that browser. A sign-in stays there from one session to the next, as a person's does. A browser a tool starts anew each time keeps none, and a service takes it for a stranger each time and asks again. ${BROWSER_TOOL_OF_A_PRODUCT}`,
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
162
|
title: "Where a sign-in wants a person",
|
|
@@ -164,7 +164,7 @@ export function setupGuideOf(setup, code) {
|
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
title: "Keep what you sign in with",
|
|
167
|
-
body: "A password you chose or were handed goes into your store, with the day it ends where it has one: `console secret <service>.password --set --expires <day>`. Turn on a second step you can answer yourself where the service has one.
|
|
167
|
+
body: "A password you chose or were handed goes into your store, with the day it ends where it has one: `console secret <service>.password --set --expires <day>`. Turn on a second step you can answer yourself where the service has one.",
|
|
168
168
|
},
|
|
169
169
|
];
|
|
170
170
|
const asked = described.flatMap((one) => one.asks.map((item) => ({ title: item.title, body: item.body })));
|
|
@@ -173,14 +173,14 @@ export function setupGuideOf(setup, code) {
|
|
|
173
173
|
key: "before",
|
|
174
174
|
who: "operator",
|
|
175
175
|
title: "Before the line",
|
|
176
|
-
about: "For
|
|
176
|
+
about: "For the person who has the machine prepared: what only a person does.",
|
|
177
177
|
steps: before,
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
key: "machine",
|
|
181
|
-
who: "
|
|
181
|
+
who: "operator",
|
|
182
182
|
title: "On the machine",
|
|
183
|
-
about: "For the
|
|
183
|
+
about: "For the session that was given the line, or whoever runs the command in the agent's OS account. The account is entered through its own sign-in and through nothing else.",
|
|
184
184
|
steps: machine,
|
|
185
185
|
},
|
|
186
186
|
...(start.length === 0
|
|
@@ -190,7 +190,7 @@ export function setupGuideOf(setup, code) {
|
|
|
190
190
|
key: "start",
|
|
191
191
|
who: "agent",
|
|
192
192
|
title: "When the agent starts",
|
|
193
|
-
about: "What the agent does itself,
|
|
193
|
+
about: "What the agent does itself, in its own session, as its first task says. What it signs in with it keeps in its store (console secret), never in a file or a message.",
|
|
194
194
|
steps: start,
|
|
195
195
|
},
|
|
196
196
|
]),
|
|
@@ -218,7 +218,6 @@ export function setupGuideOf(setup, code) {
|
|
|
218
218
|
about: [
|
|
219
219
|
`This guide sets a machine up for the agent account ${called} of ${workspace.name}, whose console is at ${setup.console.url}. The account signs in there as \`${account.login}\` through ${provider}.`,
|
|
220
220
|
`The code that opened this guide is an invitation and no credential: it says which account the setup is for, and gives nobody the account. It ends on its day, or when the account's command has signed in.`,
|
|
221
|
-
"The skill running-an-agent, shipped with the console's command, says the whole of it for the three who have a part in it: whoever prepares the machine, the agent, and its manager.",
|
|
222
221
|
],
|
|
223
222
|
expiresAt: setup.expiresAt,
|
|
224
223
|
sections,
|
|
@@ -230,8 +229,12 @@ const WHO = {
|
|
|
230
229
|
manager: "its manager",
|
|
231
230
|
};
|
|
232
231
|
/**
|
|
233
|
-
* The guide as the command prints it: Markdown, every line to run on a line of its
|
|
234
|
-
*
|
|
232
|
+
* The guide as the command prints it (ADR-0140): Markdown, every line to run on a line of its
|
|
233
|
+
* own, and of its sections only those of whoever prepares the machine, since the command is run
|
|
234
|
+
* by them. What the agent does when it starts and what it asks for are the agent's first task,
|
|
235
|
+
* read by the agent in its own session: a session at the machine that read them took them for
|
|
236
|
+
* its own work. `moment` says the invitation's day as the command says a moment; left out, as
|
|
237
|
+
* the API gives it.
|
|
235
238
|
*/
|
|
236
239
|
export function setupGuideText(guide, moment = (iso) => iso) {
|
|
237
240
|
const lines = [
|
|
@@ -241,7 +244,8 @@ export function setupGuideText(guide, moment = (iso) => iso) {
|
|
|
241
244
|
`The invitation is good until ${moment(guide.expiresAt)}.`,
|
|
242
245
|
"",
|
|
243
246
|
];
|
|
244
|
-
|
|
247
|
+
const own = guide.sections.filter((section) => section.who === "operator");
|
|
248
|
+
for (const [index, section] of own.entries()) {
|
|
245
249
|
lines.push(`## ${index + 1}. ${section.title} (${WHO[section.who]})`, "", section.about, "");
|
|
246
250
|
for (const step of section.steps) {
|
|
247
251
|
lines.push(`- ${step.title}. ${step.body}`);
|
package/dist/setup-guide.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-guide.js","sourceRoot":"","sources":["../src/setup-guide.ts"],"names":[],"mapp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AAO,CAAC,KAAK,KAAK,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,EAAE,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QAC7F,KAAK,MAAM,IAAI,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;YACjC,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;YAC5C,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;gBAC5B,KAAK,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;YACnC,CAAC;QACH,CAAC;QACD,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACjB,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;AACpC,CAAC"}
|
package/dist/tokens.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,EAAE,SAAS,MAAM,EAsG3C,CAAC"}
|
package/dist/tokens.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// The console's design tokens (ADR-0054, docs/specs/plugins.md, "The look"): the `--sc-*` names
|
|
2
2
|
// the stylesheet's root sets, which the console's page reads as computed and sends to a plugin's
|
|
3
3
|
// frame, so that a custom console's look reaches its plugins' pages. Kept in step with
|
|
4
|
-
// styles/
|
|
4
|
+
// styles/tokens.css: a token added to its root is added here, in the order it stands there,
|
|
5
|
+
// and tokens.test.ts fails where the two differ.
|
|
5
6
|
export const CONSOLE_TOKENS = [
|
|
6
7
|
"--sc-color-bg",
|
|
7
8
|
"--sc-color-bg-inset",
|
|
@@ -67,6 +68,7 @@ export const CONSOLE_TOKENS = [
|
|
|
67
68
|
"--sc-tracking-tight",
|
|
68
69
|
"--sc-tracking-wide",
|
|
69
70
|
"--sc-tracking-code",
|
|
71
|
+
"--sc-label-case",
|
|
70
72
|
"--sc-weight-normal",
|
|
71
73
|
"--sc-weight-medium",
|
|
72
74
|
"--sc-weight-bold",
|
|
@@ -87,7 +89,9 @@ export const CONSOLE_TOKENS = [
|
|
|
87
89
|
"--sc-border",
|
|
88
90
|
"--sc-hairline",
|
|
89
91
|
"--sc-border-strong",
|
|
92
|
+
"--sc-gutter-wide",
|
|
90
93
|
"--sc-gutter",
|
|
94
|
+
"--sc-width-page",
|
|
91
95
|
"--sc-width-prose",
|
|
92
96
|
"--sc-width-aside",
|
|
93
97
|
"--sc-column-width",
|
package/dist/tokens.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,iGAAiG;AACjG,uFAAuF;AACvF,
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,iGAAiG;AACjG,uFAAuF;AACvF,4FAA4F;AAC5F,iDAAiD;AAEjD,MAAM,CAAC,MAAM,cAAc,GAAsB;IAC/C,eAAe;IACf,qBAAqB;IACrB,sBAAsB;IACtB,mBAAmB;IACnB,0BAA0B;IAC1B,iBAAiB;IACjB,uBAAuB;IACvB,uBAAuB;IACvB,kBAAkB;IAClB,mBAAmB;IACnB,yBAAyB;IACzB,4BAA4B;IAC5B,0BAA0B;IAC1B,kBAAkB;IAClB,yBAAyB;IACzB,oBAAoB;IACpB,2BAA2B;IAC3B,oBAAoB;IACpB,2BAA2B;IAC3B,yBAAyB;IACzB,mBAAmB;IACnB,0BAA0B;IAC1B,iBAAiB;IACjB,wBAAwB;IACxB,oBAAoB;IACpB,2BAA2B;IAC3B,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,eAAe;IACf,cAAc;IACd,qBAAqB;IACrB,qBAAqB;IACrB,kBAAkB;IAClB,wBAAwB;IACxB,uBAAuB;IACvB,sBAAsB;IACtB,oBAAoB;IACpB,0BAA0B;IAC1B,kBAAkB;IAClB,iBAAiB;IACjB,kBAAkB;IAClB,wBAAwB;IACxB,WAAW;IACX,mBAAmB;IACnB,kBAAkB;IAClB,mBAAmB;IACnB,gBAAgB;IAChB,gBAAgB;IAChB,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,eAAe;IACf,oBAAoB;IACpB,qBAAqB;IACrB,mBAAmB;IACnB,mBAAmB;IACnB,qBAAqB;IACrB,oBAAoB;IACpB,oBAAoB;IACpB,iBAAiB;IACjB,oBAAoB;IACpB,oBAAoB;IACpB,kBAAkB;IAClB,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,kBAAkB;IAClB,aAAa;IACb,eAAe;IACf,oBAAoB;IACpB,kBAAkB;IAClB,aAAa;IACb,iBAAiB;IACjB,kBAAkB;IAClB,kBAAkB;IAClB,mBAAmB;IACnB,oBAAoB;IACpB,iBAAiB;IACjB,yBAAyB;IACzB,2BAA2B;IAC3B,sBAAsB;IACtB,mBAAmB;IACnB,iBAAiB;IACjB,sBAAsB;IACtB,qBAAqB;IACrB,iBAAiB;CAClB,CAAC"}
|
package/dist/vocabulary.d.ts
CHANGED
|
@@ -88,6 +88,13 @@ export type ServiceRole = (typeof SERVICE_ROLES)[number];
|
|
|
88
88
|
/** Where a signal came from: a supervisor's own, the board, the schedule, a messenger, or the console's own housekeeping. */
|
|
89
89
|
export declare const SIGNAL_SOURCES: readonly ["person", "board", "schedule", "messenger", "console"];
|
|
90
90
|
export type SignalSource = (typeof SIGNAL_SOURCES)[number];
|
|
91
|
+
/**
|
|
92
|
+
* How a wake source a runner keeps beside the console's own stands (ADR-0144): `connected`,
|
|
93
|
+
* listening; `waiting`, not listening yet, for what it needs or for its turn to connect;
|
|
94
|
+
* `failing`, ended and started again.
|
|
95
|
+
*/
|
|
96
|
+
export declare const WAKE_SOURCE_STATES: readonly ["connected", "waiting", "failing"];
|
|
97
|
+
export type WakeSourceState = (typeof WAKE_SOURCE_STATES)[number];
|
|
91
98
|
/**
|
|
92
99
|
* How a runner's session ended (ADR-0085, ADR-0086): a supervisor stopped the agent, restarted
|
|
93
100
|
* it or reset it; the product's process died, or exited by itself; or a session begun after it
|
package/dist/vocabulary.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vocabulary.d.ts","sourceRoot":"","sources":["../src/vocabulary.ts"],"names":[],"mappings":"AAIA,qEAAqE;AACrE,eAAO,MAAM,WAAW,YACtB,MAAM,EACN,OAAO,EACP,aAAa,EACb,WAAW,EACX,MAAM,EACN,SAAS,CACD,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAErD,iEAAiE;AACjE,eAAO,MAAM,gBAAgB,EAAE,SAAS,SAAS,EAAkD,CAAC;AAEpG,mEAAmE;AACnE,eAAO,MAAM,eAAe,YAAI,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAU,CAAC;AAE5E,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,WAAW,YAAI,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,CAAU,CAAC;AAE7E,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAErD,4EAA4E;AAC5E,eAAO,MAAM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L_KINDS = [
|
|
|
114
114
|
export const SERVICE_ROLES = ["identity", "git", "messenger"];
|
|
115
115
|
/** Where a signal came from: a supervisor's own, the board, the schedule, a messenger, or the console's own housekeeping. */
|
|
116
116
|
export const SIGNAL_SOURCES = ["person", "board", "schedule", "messenger", "console"];
|
|
117
|
+
/**
|
|
118
|
+
* How a wake source a runner keeps beside the console's own stands (ADR-0144): `connected`,
|
|
119
|
+
* listening; `waiting`, not listening yet, for what it needs or for its turn to connect;
|
|
120
|
+
* `failing`, ended and started again.
|
|
121
|
+
*/
|
|
122
|
+
export const WAKE_SOURCE_STATES = ["connected", "waiting", "failing"];
|
|
117
123
|
/**
|
|
118
124
|
* How a runner's session ended (ADR-0085, ADR-0086): a supervisor stopped the agent, restarted
|
|
119
125
|
* it or reset it; the product's process died, or exited by itself; or a session begun after it
|
package/dist/vocabulary.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vocabulary.js","sourceRoot":"","sources":["../src/vocabulary.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,gGAAgG;AAChG,8DAA8D;AAE9D,qEAAqE;AACrE,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,MAAM;IACN,OAAO;IACP,aAAa;IACb,WAAW;IACX,MAAM;IACN,SAAS;CACD,CAAC;AAIX,iEAAiE;AACjE,MAAM,CAAC,MAAM,gBAAgB,GAAyB,CAAC,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,WAAW,CAAC,CAAC;AAEpG,mEAAmE;AACnE,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAU,CAAC;AAI5E;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,CAAU,CAAC;AAI7E,4EAA4E;AAC5E,MAAM,CAAC,MAAM,gBAAgB,GAAyB,CAAC,SAAS,EAAE,QAAQ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;AAIvE;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,eAAe;IACf,qBAAqB;IACrB,eAAe;IACf,iBAAiB;IACjB,oBAAoB;IACpB,oBAAoB;IACpB,wBAAwB;IACxB,sBAAsB;IACtB,gBAAgB;IAChB,qBAAqB;IACrB,cAAc;IACd,cAAc;IACd,cAAc;IACd,mBAAmB;IACnB,qBAAqB;IACrB,mBAAmB;IACnB,kBAAkB;IAClB,kBAAkB;IAClB,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,sBAAsB;IACtB,wBAAwB;IACxB,wBAAwB;IACxB,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,YAAY;IACZ,gBAAgB;IAChB,eAAe;IACf,eAAe;IACf,iBAAiB;IACjB,mBAAmB;IACnB,oBAAoB;IACpB,kBAAkB;IAClB,aAAa;IACb,cAAc;IACd,eAAe;IACf,gBAAgB;IAChB,WAAW;IACX,kBAAkB;IAClB,mBAAmB;IACnB,mBAAmB;IACnB,wBAAwB;IACxB,gBAAgB;IAChB,iBAAiB;IACjB,mBAAmB;IACnB,gBAAgB;IAChB,gBAAgB;IAChB,iBAAiB;IACjB,gBAAgB;IAChB,eAAe;IACf,eAAe;CACP,CAAC;AAIX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,WAAW;IACX,QAAQ;IACR,SAAS;IACT,eAAe;IACf,UAAU;IACV,UAAU;CACF,CAAC;AAIX,6DAA6D;AAC7D,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"vocabulary.js","sourceRoot":"","sources":["../src/vocabulary.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,gGAAgG;AAChG,8DAA8D;AAE9D,qEAAqE;AACrE,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,MAAM;IACN,OAAO;IACP,aAA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,iBAAiB;IACjB,mBAAmB;IACnB,gBAAgB;IAChB,gBAAgB;IAChB,iBAAiB;IACjB,gBAAgB;IAChB,eAAe;IACf,eAAe;CACP,CAAC;AAIX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,WAAW;IACX,QAAQ;IACR,SAAS;IACT,eAAe;IACf,UAAU;IACV,UAAU;CACF,CAAC;AAIX,6DAA6D;AAC7D,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAU,CAAC"}
|
package/docs/specs/cli.md
CHANGED
|
@@ -83,8 +83,9 @@ A table a group, each row a command: what it asks the console, and what it says.
|
|
|
83
83
|
| `agent setup --console <origin> --code <code>` | `GET /api/v1/setup/<code>` at the console the line names, with no token | the guide of that account's setup, as Markdown with every line to run on a line of its own: the account and how it signs in, then what has to be there before the line, what the agent asks the person at the machine for and what the command does, what the agent does when it starts, how it signs in elsewhere in a browser, and what it asks for where it cannot, in the words of the services its workspace names ([ADR-0094](../adr/0094-the-account-an-agent-signs-in-with-is-named-and-who-makes-it-is-the-organizations-to-say.md)). `--guide` stops there, and `--json` prints what the code opened and the guide in its parts. Otherwise the command goes on, as [Setting a machine up](#setting-a-machine-up) says. Run in the agent's OS account on the machine being set up, signed in nowhere yet; `--url` is read as `--console`, and the code as a person types one. Needs no login and no project. A code that opens nothing ends in 1 and says who makes another; what is no code or no origin is a misuse (2) and asks nothing of any console |
|
|
84
84
|
| `agent setup --refresh [--desk <dir>]` | `GET /api/v1/me` | what was written of the desk and of the service, and the services the workspace names now with what the account is called at each. For the agent account's own command, in its desk, when the services or the account changed |
|
|
85
85
|
| `agent tell <handle> "<words>"`, `agent interrupt\|stop\|restart\|reset\|wake <handle> ["<words>"]`, an `interrupt` without words having the agent read now what it was told and has not come to; the words also from `--file <path>`, or from standard input as `-` | `POST /api/v1/agents/<handle>/signals` | the signal as it is on the account's record: its number, its kind, who sent it and through which agent, when, and its first words. For a supervisor ([ADR-0085](../adr/0085-a-runner-on-the-agents-machine-is-told-by-signals-and-runs-one-session-at-a-time.md), [runner.md](runner.md#signals)): `tell` says something to the agent, taken after the tool call under way; `interrupt` stops its turn first; `stop` ends its session, and it stays stopped until `restart`, which goes on with the same conversation, or `reset`, which begins a new one; `wake` says there is something to do. Needs no project |
|
|
86
|
+
| `agent wake me ["<words>"] [--in <minutes> \| --at <HH:MM>] [--key <name>]`, `agent wake me --cancel [--key <name>]` | `POST /api/v1/agents/me/wakes`, `DELETE /api/v1/agents/me/wakes/<key>` | for the account itself, on its own command ([ADR-0145](../adr/0145-an-agent-account-wakes-itself-now-or-at-a-moment-to-come.md)): that the wake is raised, with the number of the signal it became; or, with a moment, the wake as it is kept, when it is raised and what takes it away. `--in` is so many minutes from now, `--at` the next time the workspace's clock says that hour and minute; `--key` names it, `wake` where none is said, and a second under a name takes the first one's place. A console before 0.5.2 has no such route, and is said to be one |
|
|
86
87
|
| `agent set <handle> [--model <name\|none>] [--effort <level\|none>]` | `POST /api/v1/agents/<handle>/signals` with `kind: "set"` | the signal, with the whole choice from then on: the model and the level of effort the agent runs with, among those its runner offered (`signal.not_offered`), `none` for the product's own again; for a supervisor |
|
|
87
|
-
| `agent signals <handle\|me> [--limit <n>] [--before <number>]` | `GET /api/v1/agents/<handle>/signals`, `GET /api/v1/agents/me/signals` | the account's record of what it was sent, the newest first, a line each, and the command that reads on where there is more; for a supervisor, and as `me` for the account itself |
|
|
88
|
+
| `agent signals <handle\|me> [--limit <n>] [--before <number>]` | `GET /api/v1/agents/<handle>/signals`, `GET /api/v1/agents/me/signals` | the account's record of what it was sent, the newest first, a line each, each saying `delivered` or `waiting` by the number the record is delivered to ([ADR-0131](../adr/0131-a-signal-is-delivered-when-the-product-took-it-and-an-event-says-which-sub-agent-made-it.md)), where the console says that number (0.5.2 on), and the command that reads on where there is more; for a supervisor, and as `me` for the account itself |
|
|
88
89
|
|
|
89
90
|
### Commands for teams, projects and members
|
|
90
91
|
|
|
@@ -93,7 +94,7 @@ A table a group, each row a command: what it asks the console, and what it says.
|
|
|
93
94
|
| `teams` | `GET /api/v1/teams`, and `GET /api/v1/people` for the logins | one line per team ([ADR-0073](../adr/0073-a-team-is-a-name-and-its-members-a-unit-to-call-people-by-and-to-grant-a-plugins-role-to.md)): its key ([ADR-0074](../adr/0074-a-team-is-called-by-a-key-that-never-changes-one-name-among-the-projects-keys.md)), its name, how many are in it, and their logins |
|
|
94
95
|
| `team new <key> "<name>"`, `team rename <key> "<new name>"`, `team remove <key>`, `team add <key> <login>`, `team drop <key> <login>` | `POST /api/v1/teams` with the key and the name; `PATCH` or `DELETE /api/v1/teams/<key>`; `GET /api/v1/people?login=` for the person, then `POST /api/v1/teams/<key>/members` or `DELETE .../members/<person id>` | the team as it stands, with its key and its members' logins; for an administrator. The key is a project key's shape, one among the teams' and the projects' keys, and never changes |
|
|
95
96
|
| `project <key>` | `GET /api/v1/projects/<key>` | the project in full: what it is, its mark, its skills address, what the person is in it |
|
|
96
|
-
| `project new <key> <name> [--description <markdown>\|--file <path>] [--visibility workspace\|private] [--skills <address>\|none] [--color <name>] [--symbol <text>]` | `POST /api/v1/projects` | the key and the name; the person is its owner; for an administrator ([ADR-0045](../adr/0045-a-project-is-made-by-an-administrator.md)) |
|
|
97
|
+
| `project new <key> <name> [--description <markdown>\|--file <path>] [--visibility workspace\|private] [--skills <address>\|none] [--color <name>] [--symbol <text>] [--glyph <name>]` | `POST /api/v1/projects` | the key and the name; the person is its owner; `--glyph` names an icon of the console's pack for the mark, and a name that is none of the pack's is answered with the pack's names before anything is sent; for an administrator ([ADR-0045](../adr/0045-a-project-is-made-by-an-administrator.md)) |
|
|
97
98
|
| `project edit <key> [--name <name>] [the same flags; `none` clears]` | `PATCH /api/v1/projects/<key>` | the project in full, as it is now; for an owner |
|
|
98
99
|
| `project icon <key> <file>`, `project icon <key> --remove` | `POST .../icon` as a form, or `DELETE .../icon` | the same |
|
|
99
100
|
| `project pack-token <key> --connect` | `POST .../pack-token/connect`, then `POST .../pack-token/connect/claim` at the interval the deployment named, until the token is kept or the request ended | the page at SkillCDN and the code for a person who may open the repository, then that the pack is connected and the project as it is now, never the token; `1` when the code expired, the request was declined or the deployment refused; for an owner ([ADR-0036](../adr/0036-a-private-pack-is-connected-with-a-code-a-person-approves-from-the-projects-settings.md)) |
|
|
@@ -107,7 +108,7 @@ A table a group, each row a command: what it asks the console, and what it says.
|
|
|
107
108
|
| Command | Asks the console | Says |
|
|
108
109
|
|---|---|---|
|
|
109
110
|
| `skills`, `skills <folder\|file> [--limit <n>] [--cursor <cursor>]`, `skills --search <words> [<folder>\|--path <folder>] [--limit <n>] [--cursor <cursor>]`, `skills --rows [<folder\|file>] [--heading <words>] [--format csv\|json] [--out <path>]`, `skills --code [<folder\|file>] [--heading <words>] [--grep <pattern>] [--out <path>]` | `GET .../skills`; `GET .../skills/browse?path=&cursor=&limit=`, one page; `GET .../skills/find?query=&path=&cursor=&limit=`, one page; `GET .../skills/rows?path=&heading=&cursor=&limit=` or `.../skills/code`, page after page to the end; where no project is named, the same reads under `/api/v1/workspace/skills` | each read as the `skillcdn` command's own goes, printed by the reads that command prints with ([ADR-0118](../adr/0118-the-consoles-reads-of-a-pack-keep-to-the-skillcdn-commands-read-by-read.md), [ADR-0124](../adr/0124-the-commands-reads-of-a-pack-are-the-skillcdn-commands-own.md)): `skillcdn skills`, `browse`, `find`, `rows` and `code`, with the same pages, bounds and words, the reads named as the commands the pack is read with, `console plugin <key> skills` for a plugin's. The project's pack; or, where no project is named, the organization's, every read but `--rows`, `--code` and `--json` under a first line that says whose pack it is and how a project's own is read ([ADR-0113](../adr/0113-the-organizations-pack-is-read-where-no-project-is-named-by-every-member.md)). The project's pack is its own, or the organization's ([ADR-0031](../adr/0031-the-console-reads-a-pack-as-the-skillcdn-command-does-and-a-local-one-from-a-directory.md)): where it is, at a deployment or on the console's machine, and how the read went; what a client is told of it on connect, as the deployment tells one, with the reads named as the console's commands; every skill with the path of its `SKILL.md` and every document, as a search without words lists them, the README of a folder marked as its overview; a line of the command's own, after the listing and after what a search found, that a skill is loaded, its rules first, with `console skill <the path of its SKILL.md>`, a long one in parts, and that `--file` reads a file as it is, without the rules; where a person connects an agent of its own, and where the console's own skills are on this machine. With a folder (`.` for the root; `/` is taken too, but a Windows shell rewrites it into a path before the command sees it), a page of what it holds, as `browse_repo` lays it out for a model: 50 entries unless `--limit` says otherwise (up to 200), and a page that ends before the folder does names its `nextCursor`, which `--cursor` continues. With a file's path, the file's outline, paged the same way: every heading with its level and the offset and limit that read its section with `skill --file`; a file that is not Markdown has none, and the line says so (SkillCDN 0.4); from SkillCDN 0.5 a heading says how many rows the tables of its section hold, and a line how many tables and code blocks the document has, each with the command that reads them as data, its path spelled as the line that reads the next part of a skill spells one (`skill` below). With `--rows`, the tables of the document, or of every document under the folder, the whole pack when none is named, as data ([ADR-0100](../adr/0100-a-packs-tables-and-code-blocks-are-had-as-data-through-the-console.md)): one CSV, a header of `path`, `heading` and every column name the tables have, then a line per row in reading order, every page the pack answers joined, so that a table written in several sections and files under one header comes out as one. `--format json` prints an array of rows instead, each with its `path`, its `heading` and its `cells` by column name; a document with no table prints the header alone, and standard error says that there is none. With `--code`, the fenced code blocks as written, each under a line that names its file, the section it stands in and what it says it is written in (`--- <path> > <heading> (<language>) ---`); `--grep <pattern>` keeps the blocks whose text matches, a regular expression as JavaScript reads one, run on this machine. `--heading <words>` keeps what stands under a heading whose path holds every word; `--out <path>` writes the file there, or into a directory, and says how much was written (`Wrote 3 rows of 2 tables to <file>.`), instead of printing. A read as data that the pack refused prints nothing, says why on standard error and exits with `1`, so that what a program takes is never a refusal; one that does not end within 64 pages fails the same way, and a folder or a file under the path is named instead. With `--search`, one page of what the words find, as `search_repo` does: skills first with the files of theirs that matched, then documents, each with the sections of it that matched and the offset and limit that read each, in relevance order, within the folder when one is named, after the words or with `--path <folder>`, ten unless `--limit` says otherwise (up to 25), a document made from others marked as one (SkillCDN 0.5), a line on how the page was ranked where the deployment searches by meaning too, which from SkillCDN 0.5 says where identifiers were ranked by their words and how much of the pack is embedded so far, and a `nextCursor` line when more matched, which `--cursor` continues. A read the pack refused ends the command with exit `1` and the refusal on standard error, the listing too: for one read, the pack's own code and words, as the `skillcdn` command prints them (`file.not_found: No file at that path in this mount.`); for the pack as a whole, where it is, how it stands and whose token is missing. `--json` is the console's answer: what the pack answered, in the shapes of the main repository's REST API, one page of a folder or an outline as it came, the tables or the code blocks joined; for a refused read it says the status, and the command ends the same. The listing ends with where the plugins' own skills are: `console plugin <key> skills` |
|
|
110
|
-
| `skill <path> [--cursor <cursor>]`, `skill --file <path> [--offset <n>] [--limit <n>]` | `GET .../skills`, then `GET .../skills/one?path=&cursor=`, page after page until `complete` or until the next page would pass what a part holds; with `--file`, `GET .../skills/file?path=&offset=&limit=` once; where no project is named, the same reads under `/api/v1/workspace/skills` | as `skillcdn skill` and `skillcdn file` go ([ADR-0118](../adr/0118-the-consoles-reads-of-a-pack-keep-to-the-skillcdn-commands-read-by-read.md), [ADR-0124](../adr/0124-the-commands-reads-of-a-pack-are-the-skillcdn-commands-own.md)), of the project's pack, or of the organization's where no project is named, under the line that says so: the skill, the pages it came in joined, whole where it prints within 28,000 characters and otherwise in parts, since a host shows an agent no more of one command's output: a part joins as many pages as fit, says at its head that the skill's context is incomplete, and ends with `The skill continues. Read the next part before using it: console skill <path as given> --cursor <cursor>` and, after it, the console's own words that the part stops in the middle of the skill and that the command is run now, before a plan or any other step, until a part ends without them (a fresh agent read one part of four and planned from it), with `--project`, `--url` and `--account` as they were given, which prints the next; a cursor of a pack that has moved since is refused in the pack's own words. Each word of a line printed to run is spelled so that bash and PowerShell both take it whole and expand nothing in it: as it is where neither reads anything of it, else in single quotes, and in double quotes where it holds a single quote, straight or curly, and nothing either reads inside them; a word that holds a single quote with `$`, a backtick, a double quote, a backslash or `!`, or a character that does not show, has no spelling both take, and no line is printed for it: the part says to run the command that was run again with `--cursor <cursor>`, and why, and an outline says the read with the file's path quoted for one's shell. Laid out as `load_skill` lays it out for a model: the rules of the repository from its root to the nearest manifest, the instructions, the included files, then its supporting files and what it refers to, a reference whose link names a section with what reads that section (SkillCDN 0.5), rendered by the main repository's own renderers with the reads named as the console's commands; or, with `--file`, a page of the file, or what a folder holds: the text as written from character `--offset` (0 unless given), 24,000 characters ended at the end of a line unless `--limit` says otherwise (1 to 100,000), and a page that ends before the file does says where the next begins, which `--offset` then reads; the section a search or an outline named is read the same way; a private pack through the pack token the project holds ([ADR-0028](../adr/0028-the-console-reads-a-projects-pack-through-the-deployments-rest-api-with-a-pack-token-for-a-private-one.md)). `<path>` is the path of the SKILL.md from the repository's root, or of the skill's folder, which is read as its `SKILL.md` (`.` for the root's own), or the URI the pack names it by (`skill://<host>/<owner>/<name>/<path>`); a URI of another pack is not understood. Where the pack answers that no skill is at the path, the command says so as `skillcdn skill` does, `skill.not_found: No skill at "<path>". Use console skills <folder> or console skills --search for its exact SKILL.md path. Available: <the first twenty there are>.`; no file is the pack's own `file.not_found` and words; the words about a private pack and its token are for a pack that serves nothing to the console at all. `--file` takes no skill's path beside it, `--offset` and `--limit` go with `--file` only, and `--cursor` with a skill only: otherwise not understood. A read the pack refused ends the command with exit `1` and the refusal on standard error; `--json` prints the console's answer, with the skill whole in it, from `--cursor` where one is given, or the file's page as the API gives it, 40,000 characters unless `--limit` says otherwise; for a refused read it says the status, and ends the same |
|
|
111
|
+
| `skill <path> [--cursor <cursor>]`, `skill --file <path> [--offset <n>] [--limit <n>]` | `GET .../skills`, then `GET .../skills/one?path=&cursor=`, page after page until `complete` or until the next page would pass what a part holds; with `--file`, `GET .../skills/file?path=&offset=&limit=` once; where no project is named, the same reads under `/api/v1/workspace/skills` | as `skillcdn skill` and `skillcdn file` go ([ADR-0118](../adr/0118-the-consoles-reads-of-a-pack-keep-to-the-skillcdn-commands-read-by-read.md), [ADR-0124](../adr/0124-the-commands-reads-of-a-pack-are-the-skillcdn-commands-own.md)), of the project's pack, or of the organization's where no project is named, under the line that says so: the skill, the pages it came in joined, whole where it prints within 28,000 characters and otherwise in parts, since a host shows an agent no more of one command's output: a part joins as many pages as fit, says at its head that the skill's context is incomplete, a part after the first under the skill's name, its source and its license alone, the description and the lists of its files and of what it refers to printed once, with the first (SkillCDN 0.5.3), and ends with `The skill continues. Read the next part before using it: console skill <path as given> --cursor <cursor>` and, after it, the console's own words that the part stops in the middle of the skill and that the command is run now, before a plan or any other step, until a part ends without them (a fresh agent read one part of four and planned from it), with `--project`, `--url` and `--account` as they were given, which prints the next; a cursor of a pack that has moved since is refused in the pack's own words. Each word of a line printed to run is spelled so that bash and PowerShell both take it whole and expand nothing in it: as it is where neither reads anything of it, else in single quotes, and in double quotes where it holds a single quote, straight or curly, and nothing either reads inside them; a word that holds a single quote with `$`, a backtick, a double quote, a backslash or `!`, or a character that does not show, has no spelling both take, and no line is printed for it: the part says to run the command that was run again with `--cursor <cursor>`, and why, and an outline says the read with the file's path quoted for one's shell. Laid out as `load_skill` lays it out for a model: the rules of the repository from its root to the nearest manifest, the instructions, the included files, then its supporting files and what it refers to, a reference whose link names a section with what reads that section (SkillCDN 0.5), rendered by the main repository's own renderers with the reads named as the console's commands; or, with `--file`, a page of the file, or what a folder holds: the text as written from character `--offset` (0 unless given), 24,000 characters ended at the end of a line unless `--limit` says otherwise (1 to 100,000), and a page that ends before the file does says where the next begins, which `--offset` then reads; the section a search or an outline named is read the same way; a private pack through the pack token the project holds ([ADR-0028](../adr/0028-the-console-reads-a-projects-pack-through-the-deployments-rest-api-with-a-pack-token-for-a-private-one.md)). `<path>` is the path of the SKILL.md from the repository's root, or of the skill's folder, which is read as its `SKILL.md` (`.` for the root's own), or the URI the pack names it by (`skill://<host>/<owner>/<name>/<path>`); a URI of another pack is not understood. Where the pack answers that no skill is at the path, the command says so as `skillcdn skill` does, `skill.not_found: No skill at "<path>". Use console skills <folder> or console skills --search for its exact SKILL.md path. Available: <the first twenty there are>.`; no file is the pack's own `file.not_found` and words; the words about a private pack and its token are for a pack that serves nothing to the console at all. `--file` takes no skill's path beside it, `--offset` and `--limit` go with `--file` only, and `--cursor` with a skill only: otherwise not understood. A read the pack refused ends the command with exit `1` and the refusal on standard error; `--json` prints the console's answer, with the skill whole in it, from `--cursor` where one is given, or the file's page as the API gives it, 40,000 characters unless `--limit` says otherwise; for a refused read it says the status, and ends the same |
|
|
111
112
|
| `rules` | `GET .../rules`, or `GET /api/v1/rules` without a project named, and `GET /api/v1/me` | the rules that hold, as they read for the person (`{language}` is the language they read in, or the task's while they have none) ([ADR-0023](../adr/0023-the-rules-of-a-board-are-pages-the-workspace-and-its-projects-keep-read-first-by-every-agent.md)), under a first line that says what follows ([ADR-0119](../adr/0119-a-take-leaves-out-the-rules-a-session-says-it-holds.md)): `Rules <mark>:`, which parts there are, in the order they are printed, with how many characters each is, and how a later take of the session leaves them out (`console take <number> --rules <mark>`). The mark is the first eight hex characters of a SHA-256 over the rules as they read for the person, the console's rules with what the organization adds, what the project adds and the plugins' lines, in the language they are read in: the same for the same rules, another once a rule changed, for another project's and in another language; a project that adds nothing has the mark of the workspace's alone. Then the parts, what differs first and what always holds last ([ADR-0120](../adr/0120-the-consoles-rules-always-hold-and-a-workspace-and-a-project-add-to-them.md)): what this project adds, with its version and who wrote it; under `## Plugins`, a line per plugin bound to the project that the person holds a role in, or at the workspace every plugin they may use, with the sentence its manifest gives agents and `console plugin <key>` to start with ([plugins.md](plugins.md), "The command"); what the organization adds, with its version and who wrote it; and the console's rules, which always hold. A part that adds nothing is not printed: the first line says in a clause that the project, the organization or both add nothing. What is added stands first because it is short and is what differs between projects; where the parts differ the earlier holds, as the line says. A console of before the parts answers the workspace's rules whole, and they are printed as the last part, under the line that console knew, without the command it named for writing them, which writes nothing there (`rules write`, below). `--json` carries the rules as the console answered them, and `mark` |
|
|
112
113
|
| `rules write --body <markdown>\|--file <path>\|-\|none [--workspace] [--base <version>]` | `PUT .../docs/rules` or `POST .../docs/rules/archive`; with `--workspace`, `GET /api/v1/rules` and then `PUT /api/v1/rules`, or `POST /api/v1/rules/archive` | the version written of what the project adds to the rules, or with `--workspace` of what the organization adds ([ADR-0120](../adr/0120-the-consoles-rules-always-hold-and-a-workspace-and-a-project-add-to-them.md)); that a text which adds nothing to the console's rules wrote nothing; or, with `none`, that what was added is put away; for an owner of the project, or an administrator for the organization's. With `--workspace` the console is asked for its rules first: one of before 0.5.1 answers them whole and without `own`, and keeps what is written as the organization's whole rules in the place of its own, so nothing is written there, and the command says so and that the console is updated first, with exit `1`. A project's rules added to the workspace's on such a console already, and are written there as on any |
|
|
113
114
|
| `plugins` | `GET /api/v1/plugins`, `GET /api/v1/me` | one line per plugin the person may use ([plugins.md](plugins.md)): key, name in their language, version, state, their roles in it. Needs no project |
|
|
@@ -243,11 +244,13 @@ A command of 0.5.0 reads what the console answers of an agent account already ([
|
|
|
243
244
|
|
|
244
245
|
### Setting a machine up
|
|
245
246
|
|
|
246
|
-
`console agent setup --console <origin> --code <code>` makes a machine an agent account's ([ADR-0088](../adr/0088-an-agent-account-has-a-desk-and-is-set-up-from-an-invitation-by-signing-in-as-itself.md), point 5), from the line of its invitation, in the agent's own OS account and with no administrator's rights. After the guide:
|
|
247
|
+
`console agent setup --console <origin> --code <code>` makes a machine an agent account's ([ADR-0088](../adr/0088-an-agent-account-has-a-desk-and-is-set-up-from-an-invitation-by-signing-in-as-itself.md), point 5), from the line of its invitation, in the agent's own OS account and with no administrator's rights. It prints the guide first, the part of whoever prepares the machine and no more: what the agent does when it starts is its first task, read in its own session, and is whole on the guide's page and in `--json`. After the guide:
|
|
247
248
|
|
|
248
|
-
1. **It
|
|
249
|
-
2. **It
|
|
250
|
-
3. **It
|
|
249
|
+
1. **It looks at the machine** ([ADR-0140](../adr/0140-a-machine-is-given-its-least-and-the-agent-does-the-rest-itself.md)), before anyone is asked to sign in: git, asked for its version, on macOS only once `xcode-select -p` says the Command Line Tools are there, since without them `git` opens a window; the command of the agent's product, `claude` then `codex` each asked for its version, the first that answers being the product, or the one `--driver <name>` names alone (a driver whose product's command the desk names, `acp`, is not looked for); and for a product with a browser tool of its own, Google Chrome where each system keeps it, unless `--no-browser` says the agent signs in at no page. Whatever is missing is listed at once, each with what installs it, and the command ends there, exit 1, with nothing signed in, written or run. Where nothing is, it says what it found, and in a line each what it could not see: the browser's extension, and whether the product is signed in.
|
|
250
|
+
2. **It signs the command in as the account.** A connection that asks to be the account itself ([above](#signed-in-as-the-account-itself)), named `console as <OS account> on <machine>`, which is what the account's page shows beside the session. The command opens the page in the machine's browser, only where its address is the console's own, prints the address and the code, and waits for the account, signed in there, to say that the command is it. It then asks the console who it is: anyone but the invited account, a person who answered by mistake say, and the command gives that sign-in up at the console, keeps nothing and sets nothing up. A command that is the account's already signs in again nowhere. What it keeps is the account's session, as the default console of the OS account.
|
|
251
|
+
3. **It settles the desk**: `--desk <dir>`, else this directory where it holds a `runner.json`, else `desk` in the OS account's home. A desk that is there, with a `runner.json` or an `AGENTS.md`, is left as it is. Else, where the workspace's git host says where a desk is cloned from (`https://github.com/<account>/desk.git` for `github`) and the account keeps the secret `git.token`, which is an account that pushed a desk before, the desk is cloned: `git clone` is run with the token in its environment, answered by a credential helper named in the environment too, for the remote's own origin and no other host, so that the token is on no command line and in no file; a clone that fails stops the setup, and `--new-desk` begins a new desk instead. Otherwise the template is written ([runner.md](runner.md#the-desk)), over no file that is there, its `runner.json` naming the driver of the product found and, where the product's browser is there, `"browser": "chrome"`. A desk it wrote or cloned is then made a repository where it is none (`git init`) and given, in its own configuration and for the origin of the workspace's git host alone, an empty credential helper followed by one that asks this command for the secret `git.token` (`<runtime> <command> secret git.token --url <origin> --account <login>`): the agent's own pushes are handed the token from its store, and the machine's helpers, a keychain among them, are left out. A desk that was there is given none.
|
|
252
|
+
4. **It writes the service that keeps the runner running**, by the module of the platform, `launchd` on macOS, `systemd-user` on Linux and `task-scheduler` on Windows ([runner.md](runner.md#the-service)): the runner started as this command was, `runner --url <origin> --account <login>`, in the desk. It loads it and looks for half a minute whether the runner is heard from, then says the machine, the operating system and the OS account as the runner said them, or where the runner's own lines are. Where a step of the module may fail and did, lingering on Linux that a system keeps for an administrator, it says what is left to do and goes on. On a platform without a module, and with `--no-service`, it writes none and says how the runner is started by hand: a line for a shell, the desk and the login quoted in it where they hold anything a shell reads as more than a word.
|
|
253
|
+
5. **It hands over.** Where the runner is heard from, it looks for a minute whether a session has begun (`runner.session` of `GET /api/v1/agents/<handle>`), and says: that one has, or that one begins when something wakes the agent; the address of the account's page; the account's first task, by its number and its address, where its plate holds it (`GET /api/v1/work`); that the machine's part ends there and the rest is the agent's own; how to tell the agent what changed on the machine afterwards, `console agent wake me`; and what it knows of sleep: on macOS, where the system can be asked (`pmset -g assertions`), that the runner holds the machine awake or that it does not; elsewhere, that the runner asks the system to and where its own lines say whether that holds; with what is left to whoever keeps the machine.
|
|
251
254
|
|
|
252
255
|
`--refresh` derives a machine again: a desk that is there, with a `runner.json` or an `AGENTS.md`, is left as it is, its `AGENTS.md` too, whatever the template says by now, and one that is not is settled as above; the service's files are written again where they changed, and the services are printed as they are now, for the agent to put its own `AGENTS.md` right. It runs none of the commands that load the service and unloads nothing, since it may be running under the runner it would end: what it wrote is read when the service is next loaded. Where the system reads a file only once it is told to and telling it ends nothing, as on Linux and on Windows, a refresh that wrote one tells it ([runner.md](runner.md#the-service)).
|
|
253
256
|
|