@skillcdn/console 0.1.21 → 0.1.23
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 +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +1 -1
- package/dist/api.js.map +1 -1
- package/dist/cli/cli.d.ts.map +1 -1
- package/dist/cli/cli.js +61 -6
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/format.d.ts +15 -4
- package/dist/cli/format.d.ts.map +1 -1
- package/dist/cli/format.js +133 -7
- package/dist/cli/format.js.map +1 -1
- package/dist/cli/help.d.ts +8 -4
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +63 -13
- package/dist/cli/help.js.map +1 -1
- package/dist/client.d.ts +13 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +12 -1
- package/dist/client.js.map +1 -1
- package/dist/rules.js +1 -1
- package/dist/rules.js.map +1 -1
- package/dist/schemas.d.ts +145 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +89 -0
- package/dist/schemas.js.map +1 -1
- package/docs/specs/cli.md +3 -3
- package/docs/specs/rest.md +7 -1
- package/package.json +1 -1
- package/skills/working-the-board/SKILL.md +3 -3
- package/src/api.ts +8 -0
- package/src/cli/cli.ts +71 -9
- package/src/cli/format.ts +156 -7
- package/src/cli/help.ts +89 -19
- package/src/client.ts +48 -0
- package/src/rules.ts +1 -1
- package/src/schemas.ts +110 -0
package/dist/cli/help.js
CHANGED
|
@@ -32,6 +32,7 @@ const TASK_FIELD_REFUSALS = [
|
|
|
32
32
|
export const COMMAND_HELP = {
|
|
33
33
|
login: {
|
|
34
34
|
usage: "login --url <origin> [--agent <name>] [--token-stdin] [--default]",
|
|
35
|
+
synopsis: "Connects this agent to the console with a code a person approves; keeps the token, never shows it.",
|
|
35
36
|
about: "Connects this agent to the console: shows an address and a code, which a person opens signed in, names the agent and approves; the command then receives a token of its own and keeps it, with the console's address and the account, in your home directory, never showing it. One login per console and account: a second console adds a login beside the first, the first is the default console a directory that names none works at, and --default makes this one that. A login repeated for the same console and account replaces its token, which is given up at the console. An agent running the command relays the address and the code to its person and waits. --agent says what the agent calls itself; left out, the command names the agent it runs under where its environment says so (Claude Code, Codex), else An agent; the machine's name follows, and the pages show the name before 'on' with the whole on hover. --token-stdin reads a token made by hand from standard input instead, for a script or a job.",
|
|
36
37
|
refusals: [
|
|
37
38
|
"connect.not_found: the code was not approved in time, or the person said it was not theirs; run login again",
|
|
@@ -40,35 +41,44 @@ export const COMMAND_HELP = {
|
|
|
40
41
|
},
|
|
41
42
|
logins: {
|
|
42
43
|
usage: "logins",
|
|
44
|
+
synopsis: "The consoles this machine is signed in to, and which is the default.",
|
|
43
45
|
about: "The consoles this machine is signed in to, each with the account, what the token is called there, since when, and which is the default; never a token.",
|
|
44
46
|
},
|
|
45
47
|
logout: {
|
|
46
48
|
usage: "logout [--url <origin>] [--account <login>]",
|
|
49
|
+
synopsis: "Gives this agent's token up at one console and forgets it here.",
|
|
47
50
|
about: "Signs this agent out of one console: gives the token up there, so that it is good for nothing from now on, and forgets it here. Which console: --url, else the one this directory is bound to, else the default, else the one console signed in to; --account says which account where the console has several. A console out of reach leaves the token to the Agents page.",
|
|
48
51
|
},
|
|
49
52
|
whoami: {
|
|
50
53
|
usage: "whoami",
|
|
54
|
+
synopsis: "Who the token acts as, at which console, and in which project this directory works.",
|
|
51
55
|
about: "Who the token acts as, which console the command talks to from here and as which account, and which project this directory works in.",
|
|
52
56
|
},
|
|
53
57
|
projects: {
|
|
54
58
|
usage: "projects",
|
|
59
|
+
synopsis: "The projects you may work in, with what you are in each.",
|
|
55
60
|
about: "The projects you may work in: each with its key, its name, what you are in it, and what waits in it. Every command on the board works in one project.",
|
|
56
61
|
},
|
|
57
62
|
use: {
|
|
58
63
|
usage: "use <key> [--url <origin>] [--account <login>]",
|
|
64
|
+
synopsis: "Binds this directory to a project: writes .skillcdn-console.json here.",
|
|
59
65
|
about: "Says which project this directory works in: writes .skillcdn-console.json here, which the commands read from this directory or one above it, and which is meant to be committed in a private repository and left out of a public one. The file names the project; and the console, where that is not the default login here or --url says so; and the account, where the console has several logins or --account says so. Never a token. --project <key> on any command, or CONSOLE_PROJECT in the environment, wins over the project it names.",
|
|
60
66
|
refusals: ["project.not_found: no project has the key, or it is not yours to see"],
|
|
61
67
|
},
|
|
62
68
|
work: {
|
|
63
69
|
usage: "work [--person <login>]",
|
|
70
|
+
synopsis: "What is on your plate across your projects: your open tasks, and the decisions waiting.",
|
|
64
71
|
about: "What is on your plate across the projects you may see: the open tasks assigned to you, the sooner due first, each with its project; and the decisions waiting for a person. Needs no project. --person <login> shows another person's plate, for an administrator or for an owner of a project they are in: their open tasks within the projects you may see, without the decisions, which wait for anyone.",
|
|
65
72
|
},
|
|
66
73
|
tasks: {
|
|
67
74
|
usage: "tasks [--state <state>] [--open] [--mine] [--category <key>] [--goal <id>] [--due <day|today|week|overdue>] [--unassigned] [--archived] [--limit <n>] [--offset <n>]",
|
|
75
|
+
synopsis: "The tasks on the board, newest first, narrowed by state, owner, category, goal or due day.",
|
|
68
76
|
about: `The tasks on the board, newest first: number, state, priority, title, who owns and works on each, its category and its due day, and what waits on it. --open keeps the ones not done or dropped, --mine those assigned to you, --unassigned those assigned to nobody (not with --mine), --category and --goal those sorted into one, --due those due by a day: today, within the week, or overdue (the open ones past their day). The tasks put away (ADR-0029) are left out unless --archived asks for them alone. A page at a time: ${DEFAULT_PAGE_LIMIT} unless --limit says otherwise, from --offset on; a last line says when there is more. States: idea, ready, in_progress, in_review, done, dropped.`,
|
|
69
77
|
},
|
|
70
78
|
task: {
|
|
71
79
|
usage: `task <number|id> | task new <title> [--body <markdown>|--file <path>] ${TASK_FIELD_FLAGS} | task edit <number|id> [--title <title>] [--body <markdown>|--file <path>] ${TASK_FIELD_FLAGS} | task archive <number|id> | task archive --goal <id> | task restore <number|id>`,
|
|
80
|
+
overview: "task <number|id> | task new <title> [flags] | task edit <number|id> [flags] | task archive <number|id>|--goal <id> | task restore <number|id>",
|
|
81
|
+
synopsis: "One task in full; or a task written, changed, put away or brought back.",
|
|
72
82
|
about: "One task in full, with its plan (category, goal, start and due days), what happened to it (when it was started and done, which the board keeps itself, and when it was put away), the decisions about it, the runs on it and the discussion on it, each comment whole with its files; or a new task written down; or a task changed, only in what the flags say, where none clears a field (priorities: low, normal, high, urgent). archive puts a task away, whatever its state (ADR-0029, ADR-0030): out of the listings, the board and the calendar, open by its number still; with --goal, every done or dropped task of the goal at once, for an owner. restore brings one back.",
|
|
73
83
|
limits: [
|
|
74
84
|
`title: one line, up to ${MAX_TITLE_LENGTH} characters, saying what is to be done on its own; what it refers to goes in the body`,
|
|
@@ -79,10 +89,13 @@ export const COMMAND_HELP = {
|
|
|
79
89
|
},
|
|
80
90
|
goals: {
|
|
81
91
|
usage: "goals [--category <key>] [--state <state>]",
|
|
92
|
+
synopsis: "The roadmap: the project's goals, with their state, their days and how far each is.",
|
|
82
93
|
about: "The roadmap of the project: its goals, the active first, each with its id, its state (planned, active, done, dropped), its category, the days it starts and is meant to be reached by, and how far it is, counted from the tasks that work towards it. --category keeps those sorted into one, --state those in one state.",
|
|
83
94
|
},
|
|
84
95
|
goal: {
|
|
85
96
|
usage: 'goal <id> | goal new "<title>" [--body <markdown>|--file <path>] [--state <state>] [--category <key>] [--starts <day>] [--due <day>] | goal edit <id> [--title <title>] [--body <markdown>|--file <path>] [--state <state>] [--category <key|none>] [--starts <day|none>] [--due <day|none>]',
|
|
97
|
+
overview: "goal <id> | goal new <title> [flags] | goal edit <id> [flags]",
|
|
98
|
+
synopsis: "One goal with the tasks that work towards it; or a goal set or changed, for an owner.",
|
|
86
99
|
about: "One goal in full, with the tasks that work towards it; or a goal set on the roadmap, for an owner of the project; or one changed, only in what the flags say, where none clears a category or a day. A goal is planned in days as a task is, a start and a target, and sorted into a category of the workspace (console categories). A task works towards a goal through its --goal.",
|
|
87
100
|
limits: [
|
|
88
101
|
`title: one line, up to ${MAX_TITLE_LENGTH} characters`,
|
|
@@ -98,14 +111,17 @@ export const COMMAND_HELP = {
|
|
|
98
111
|
},
|
|
99
112
|
categories: {
|
|
100
113
|
usage: "categories",
|
|
114
|
+
synopsis: "The categories tasks are sorted into, by key.",
|
|
101
115
|
about: "The categories tasks are sorted into, the same in every project: each with its key, which --category takes, its name and its colour. An administrator keeps them: console category, or the Categories page.",
|
|
102
116
|
},
|
|
103
117
|
people: {
|
|
104
118
|
usage: "people",
|
|
119
|
+
synopsis: "Everyone of the workspace, by login, with what each is in it.",
|
|
105
120
|
about: "Everyone of the workspace, by login, with their name where the host gives one and what they are in it: admin, who configures the workspace, or member, who works in the projects they are in; a person taken out is marked deactivated. Then the logins an administrator let in that nobody has signed in with yet. The logins are what --assignee, member and person take.",
|
|
106
121
|
},
|
|
107
122
|
person: {
|
|
108
123
|
usage: "person role <login> <admin|member> | person add <login> [--host gh|google] | person remove <login> | person deactivate <login> | person reactivate <login>",
|
|
124
|
+
synopsis: "Says what a person is in the workspace, lets a login in or takes one out; for an administrator.",
|
|
109
125
|
about: "For an administrator: the person themselves on the People page, or their agent here, named on it. role says what a person is in the workspace; the board keeps at least one administrator in. add lets a login in: whoever signs in with that account at that host is a person from then on; the host is read off the login (an address is Google's, anything else GitHub's) unless --host says. remove takes a login away that nobody has signed in with yet. deactivate takes a person out: refused on every request at once, their agents with them, kept with everything they did, and listed nowhere; reactivate takes them back in. A person the organization let in comes and goes with it, and is neither.",
|
|
110
126
|
refusals: [
|
|
111
127
|
"auth.forbidden: only an administrator says who is in and what they are",
|
|
@@ -117,6 +133,8 @@ export const COMMAND_HELP = {
|
|
|
117
133
|
},
|
|
118
134
|
project: {
|
|
119
135
|
usage: 'project <key> | project new <key> "<name>" [--description <markdown>|--file <path>] [--visibility workspace|private] [--skills <address>|none] [--color <name>] [--symbol <text>] | project edit <key> [--name "<name>"] [the same flags; none clears] | project icon <key> <file> | project icon <key> --remove | project pack-token <key> --stdin | project pack-token <key> --remove',
|
|
136
|
+
overview: "project <key> | project new <key> <name> [flags] | project edit <key> [flags] | project icon <key> <file>|--remove | project pack-token <key> --stdin|--remove",
|
|
137
|
+
synopsis: "One project in full; or a project made, changed, given its mark or its pack token.",
|
|
120
138
|
about: "One project in full; or a project made, with you as its owner, private unless --visibility workspace says everyone of the workspace works in it; or one changed, only in what the flags say, for an owner; or its image for its mark, set from a file of this machine or taken away; or its pack token (ADR-0028), the token a person made at SkillCDN for a private pack, read from standard input and never an argument, which the console keeps sealed to read the pack with, or taken away. The organization's skills are the project's unless --skills names an address of its own.",
|
|
121
139
|
limits: [
|
|
122
140
|
`key: ${KEY}, up to ${MAX_PROJECT_KEY_LENGTH} characters; it does not change once made`,
|
|
@@ -135,10 +153,12 @@ export const COMMAND_HELP = {
|
|
|
135
153
|
},
|
|
136
154
|
members: {
|
|
137
155
|
usage: "members",
|
|
156
|
+
synopsis: "Those listed in the project, with what each is in it.",
|
|
138
157
|
about: "Those listed in the project, by login, with what each is in it (owner, who configures it; member, who works on it) and since when. A project open to the workspace has everyone of it as a member besides, and an administrator owns every project.",
|
|
139
158
|
},
|
|
140
159
|
member: {
|
|
141
160
|
usage: "member add <login> [--role owner|member] [--project <key>[,<key>...]] | member role <login> <owner|member> | member remove <login>",
|
|
161
|
+
synopsis: "Lists a person in the project, changes what they are in it, or takes them off; for an owner.",
|
|
142
162
|
about: "Lists a person of the workspace in the project, as a member unless --role says owner; changes what they are in it; or takes them off the list. For an owner of the project. With --project naming several keys with commas, member add lists the person in each of them in turn, one line per project; one listed already is said so, and the rest go on.",
|
|
143
163
|
refusals: [
|
|
144
164
|
"auth.forbidden: only an owner of the project lists its members",
|
|
@@ -149,6 +169,7 @@ export const COMMAND_HELP = {
|
|
|
149
169
|
},
|
|
150
170
|
category: {
|
|
151
171
|
usage: 'category new <key> "<name>" [--color <name>] | category edit <key> [--name "<name>"] [--color <name>] | category remove <key>',
|
|
172
|
+
synopsis: "Makes, changes or removes a category; for an administrator.",
|
|
152
173
|
about: "Makes a category tasks are sorted into, the same in every project; changes its name or its colour; or removes one no task is sorted into. For an administrator.",
|
|
153
174
|
limits: [
|
|
154
175
|
`key: ${KEY}, up to ${MAX_CATEGORY_KEY_LENGTH} characters; it does not change once made`,
|
|
@@ -164,12 +185,19 @@ export const COMMAND_HELP = {
|
|
|
164
185
|
],
|
|
165
186
|
},
|
|
166
187
|
skills: {
|
|
167
|
-
usage: "skills",
|
|
168
|
-
|
|
188
|
+
usage: "skills | skills <folder> | skills --search <words> [<folder>] [--limit <n>]",
|
|
189
|
+
synopsis: "The project's pack: its skills; what a folder of it holds; or what words find in it.",
|
|
190
|
+
about: "The project's pack, as SkillCDN serves it at the project's address, read by the console with the pack token the project holds where the pack is private (ADR-0028). Alone: the pack by name with how many skills and documents it has, and its skills, each with its description, the path of its SKILL.md, which console skill reads it by, and the URI you load it by through your own SkillCDN connection where your host has one; and where the console's own skills are on this machine. With a folder (. for the root): what it holds, as browse_repo lays it out: its skills, its folders with how many skills and documents each holds and the README that introduces it, its files; whole, page after page. With --search: the skills and the documents the words find, in relevance order, a skill with the files of it that matched; words, not meaning, in the language the pack is written in; within the folder when one is named; 10 unless --limit says otherwise, up to 25, and a last line says when more matched. --json answers with the console's own JSON, the page of each skill included.",
|
|
191
|
+
limits: ["search: 1 to 500 characters; limit: 1 to 25"],
|
|
192
|
+
refusals: [
|
|
193
|
+
"status not_found: the pack is not served to the console; private, with no pack token on the project",
|
|
194
|
+
"status token_invalid: the pack token the project holds no longer works; an owner sets a new one",
|
|
195
|
+
],
|
|
169
196
|
},
|
|
170
197
|
skill: {
|
|
171
|
-
usage: "skill <path>
|
|
172
|
-
|
|
198
|
+
usage: "skill <path> | skill --file <path>",
|
|
199
|
+
synopsis: "One skill of the pack whole, its rules first; or with --file a file of the pack, or what a folder holds.",
|
|
200
|
+
about: "One skill of the project's pack, whole, as load_skill lays it out for you: the rules of the repository from its root to the nearest manifest, the skill's body, the files it includes, each under a line that names its path; then the files it has and what it refers to. Read by the console from the SkillCDN deployment, with the pack token the project holds where the pack is private, so you need no connection of your own. <path> is the path of the SKILL.md from the repository's root, as console skills lists it. --file <path> reads a file of the pack instead, whole, or what a folder holds, and takes no skill's path beside it; console skills <folder> shows a folder with more.",
|
|
173
201
|
refusals: [
|
|
174
202
|
"status not_found: the pack is not served to the console; private, with no pack token on the project",
|
|
175
203
|
"status token_invalid: the pack token the project holds no longer works; an owner sets a new one",
|
|
@@ -178,7 +206,8 @@ export const COMMAND_HELP = {
|
|
|
178
206
|
},
|
|
179
207
|
rules: {
|
|
180
208
|
usage: "rules | rules write --body <markdown>|--file <path>|-|none [--workspace] [--base <version>]",
|
|
181
|
-
|
|
209
|
+
synopsis: "What this organization and this project ask of agents; rules write writes them, for an owner or an administrator.",
|
|
210
|
+
about: "What this organization asks of agents (ADR-0023): the workspace's rules, the console's own until an administrator writes the organization's, and this project's own when it has them. rules write writes this project's rules, for an owner, or with --workspace the workspace's, for an administrator; none puts the written rules away, so that the console's own hold again, or the project adds none. Without a project named, rules shows the workspace's alone.",
|
|
182
211
|
limits: [
|
|
183
212
|
`body: Markdown, up to ${MAX_RULES_LENGTH} characters; the console's own rules, written as they are, write nothing`,
|
|
184
213
|
],
|
|
@@ -189,7 +218,8 @@ export const COMMAND_HELP = {
|
|
|
189
218
|
},
|
|
190
219
|
take: {
|
|
191
220
|
usage: "take <number|id> [--agent <name>]",
|
|
192
|
-
|
|
221
|
+
synopsis: "Takes a task: a run begins, and the task is in progress and the person's.",
|
|
222
|
+
about: "Takes a task: a run begins, and the task is in progress and the person's; the rules of the board are printed with the task. A run still open on the task is taken over, since the board cannot know whether its agent still runs: it ends as abandoned, the feed says who took over, and that agent is refused on its next command; console task <number> shows the runs on a task, with when each was last heard from, before it is taken. --agent is what people see at work; left out, it is what the person called the token.",
|
|
193
223
|
limits: [`agent: one line, up to ${MAX_AGENT_LENGTH} characters`],
|
|
194
224
|
refusals: [
|
|
195
225
|
"task.not_found: no task has that number or id",
|
|
@@ -198,7 +228,8 @@ export const COMMAND_HELP = {
|
|
|
198
228
|
},
|
|
199
229
|
report: {
|
|
200
230
|
usage: "report <markdown> | report --file <path> | report -",
|
|
201
|
-
|
|
231
|
+
synopsis: "Says how the work goes, in Markdown, on the open run.",
|
|
232
|
+
about: "Says how the work goes, in Markdown: what was found, what was done, what is next. With - the report is read from standard input.",
|
|
202
233
|
limits: [
|
|
203
234
|
`the report: ${MARKDOWN}, not blank`,
|
|
204
235
|
`at most ${MAX_REPORTS_PER_RUN} reports on one run`,
|
|
@@ -207,6 +238,7 @@ export const COMMAND_HELP = {
|
|
|
207
238
|
},
|
|
208
239
|
"hand-in": {
|
|
209
240
|
usage: "hand-in <https url | file path> [--label <words>]",
|
|
241
|
+
synopsis: "Hands in what was made: an https link, or a file from this machine.",
|
|
210
242
|
about: "Hands in what was made: a link (a branch, a pull request, a document, a page), or a file from this machine, which the console keeps and shows on the task; a picture is shown there small and large, and a report that names it as  shows it where the words are.",
|
|
211
243
|
limits: [
|
|
212
244
|
"a link: https only",
|
|
@@ -222,7 +254,8 @@ export const COMMAND_HELP = {
|
|
|
222
254
|
},
|
|
223
255
|
ask: {
|
|
224
256
|
usage: 'ask "<question>" --option "<label>" --option "<label>" [...] [--body <markdown>|--file <path>] [--wait <seconds>]',
|
|
225
|
-
|
|
257
|
+
synopsis: "Raises a decision a person must make, with options, and waits a while for the answer.",
|
|
258
|
+
about: "Raises a decision a person must make: the question, the options to choose from, and what they need to know. The run waits for the answer. The command waits 60 seconds for it unless --wait says otherwise, and exits with 3 if it is still to come: keep waiting with `console decision <id> --wait 100`, within what your shell gives one command. The decision's id is printed as soon as it is raised.",
|
|
226
259
|
limits: [
|
|
227
260
|
`question: one line, up to ${MAX_QUESTION_LENGTH} characters`,
|
|
228
261
|
`options: ${MIN_OPTIONS} to ${MAX_OPTIONS}, each one line up to ${MAX_OPTION_LABEL_LENGTH} characters`,
|
|
@@ -232,43 +265,51 @@ export const COMMAND_HELP = {
|
|
|
232
265
|
},
|
|
233
266
|
decision: {
|
|
234
267
|
usage: "decision <id> [--wait <seconds>] | decision <id> --outcome <markdown>|--file <path>",
|
|
268
|
+
synopsis: "One decision in full; waits for its answer with --wait; writes what followed with --outcome.",
|
|
235
269
|
about: "One decision, with its context, its options, its answer and what followed. With --wait, holds on for the answer that long, and exits with 3 if it is still to come. With --outcome, writes down what followed the decision, so that it reads as a record.",
|
|
236
270
|
limits: [`outcome: ${MARKDOWN}`],
|
|
237
271
|
refusals: ["decision.not_found: no decision has that id"],
|
|
238
272
|
},
|
|
239
273
|
decisions: {
|
|
240
274
|
usage: "decisions [--open] [--limit <n>] [--offset <n>]",
|
|
275
|
+
synopsis: "The decisions on the board, the waiting first.",
|
|
241
276
|
about: `The decisions on the board, the waiting first; --open keeps only those. A page at a time: ${DEFAULT_PAGE_LIMIT} unless --limit says otherwise, from --offset on.`,
|
|
242
277
|
},
|
|
243
278
|
finish: {
|
|
244
279
|
usage: 'finish [--summary "<markdown>"|--file <path>]',
|
|
280
|
+
synopsis: "Ends the run: done and handed in; the task goes up for review.",
|
|
245
281
|
about: "Ends the run: the work is done and handed in, and the task goes up for review. The summary says what was done and what is left; the result itself goes in a last report before, which may be much longer.",
|
|
246
282
|
limits: [`summary: ${`Markdown, up to ${MAX_SUMMARY_LENGTH} characters`}`],
|
|
247
283
|
refusals: RUN_REFUSALS,
|
|
248
284
|
},
|
|
249
285
|
fail: {
|
|
250
286
|
usage: 'fail [--summary "<markdown>"|--file <path>]',
|
|
287
|
+
synopsis: "Ends the run: the work could not be done.",
|
|
251
288
|
about: "Ends the run: the work could not be done. The summary says why, and what is left.",
|
|
252
289
|
limits: [`summary: Markdown, up to ${MAX_SUMMARY_LENGTH} characters`],
|
|
253
290
|
refusals: RUN_REFUSALS,
|
|
254
291
|
},
|
|
255
292
|
abandon: {
|
|
256
293
|
usage: 'abandon [<run id>] [--summary "<markdown>"]',
|
|
294
|
+
synopsis: "Leaves a run; the task stays as it is.",
|
|
257
295
|
about: "Leaves a run; the task stays as it is. A person gives up this way on a run of theirs that will not come back.",
|
|
258
296
|
limits: [`summary: Markdown, up to ${MAX_SUMMARY_LENGTH} characters`],
|
|
259
297
|
refusals: RUN_REFUSALS,
|
|
260
298
|
},
|
|
261
299
|
runs: {
|
|
262
300
|
usage: "runs [--task <number|id>] [--open] [--mine] [--limit <n>] [--offset <n>]",
|
|
301
|
+
synopsis: "The runs, newest first, each with when its agent was last heard from.",
|
|
263
302
|
about: `The runs, newest first, each with when its agent was last heard from: --open keeps the ones not over, --mine those begun with this token. A page at a time: ${DEFAULT_PAGE_LIMIT} unless --limit says otherwise, from --offset on.`,
|
|
264
303
|
},
|
|
265
304
|
run: {
|
|
266
305
|
usage: "run <id>",
|
|
306
|
+
synopsis: "One run in full: its reports, what it handed in, how it ended.",
|
|
267
307
|
about: "One run in full: its reports, what it handed in, what it waits for, how it ended.",
|
|
268
308
|
refusals: ["run.not_found: no run has that id"],
|
|
269
309
|
},
|
|
270
310
|
comment: {
|
|
271
311
|
usage: 'comment <number|id> "<markdown>" [--attach <path>]... | comment <number|id> --file <path> | comment <number|id> -',
|
|
312
|
+
synopsis: "Says something in the discussion on a task, with files; needs no run.",
|
|
272
313
|
about: "Says something in the discussion on a task, for its people: an answer to what they asked there, a question that is not a decision, a remark; with files from this machine put in it, which the console keeps and shows on the task, pictures in place. Needs no run. A report is the run's record; a comment is a word to people. Never rewritten: a mistake is corrected in the next one.",
|
|
273
314
|
limits: [
|
|
274
315
|
`the comment: ${MARKDOWN}; blank only when a file comes with it`,
|
|
@@ -285,20 +326,24 @@ export const COMMAND_HELP = {
|
|
|
285
326
|
},
|
|
286
327
|
file: {
|
|
287
328
|
usage: "file <id> [--out <path>]",
|
|
329
|
+
synopsis: "Reads a file of the project to this machine, by its id.",
|
|
288
330
|
about: "Reads a file of the project from the console and writes it on this machine: one a run handed in, one put in a comment, or one attached to a page, by the id the task, the run or the page shows. Written under its own name in the working directory, at --out <path>, or into --out <directory>. Then look at it with your own tools.",
|
|
289
331
|
refusals: ["file.not_found: no file of this project has that id"],
|
|
290
332
|
},
|
|
291
333
|
docs: {
|
|
292
334
|
usage: "docs [<folder>] [--search <words>] [--archived]",
|
|
335
|
+
synopsis: "The pages of the project's documents: a folder, or those found by words.",
|
|
293
336
|
about: "The pages of the project's documents: those in a folder, with the folders in it (the root when none is named), or those found by words in their title or body. Archived pages are left out unless --archived.",
|
|
294
337
|
},
|
|
295
338
|
doc: {
|
|
296
339
|
usage: "doc <path> [--version <n>|--versions]",
|
|
340
|
+
synopsis: "One page in full, or one of its versions.",
|
|
297
341
|
about: "One page in full: its title, its body in Markdown, what it links to, what refers to it (pages, tasks, decisions), and its files. --versions lists its versions, who wrote each and when; --version <n> prints one as it was.",
|
|
298
342
|
refusals: [...DOCUMENT_REFUSALS, "document.version_not_found: the page has no such version"],
|
|
299
343
|
},
|
|
300
344
|
write: {
|
|
301
345
|
usage: 'write <path> [--title "<title>"] --body <markdown>|--file <path> [--base <version>]',
|
|
346
|
+
synopsis: "Writes a page: a new one at a path, or a new version of the page there.",
|
|
302
347
|
about: "Writes a page: the first version at a new path, or a new version of the page there. A link in the body whose destination is a page's path (guides/onboarding) refers to that page, and the page says what refers to it. Without --title the page keeps its title. With --base, the write is refused if the page has moved on since that version.",
|
|
303
348
|
limits: [
|
|
304
349
|
`path: ${DOCUMENT_PATH}`,
|
|
@@ -315,6 +360,7 @@ export const COMMAND_HELP = {
|
|
|
315
360
|
},
|
|
316
361
|
attach: {
|
|
317
362
|
usage: "attach <path> <file> [--label <words>]",
|
|
363
|
+
synopsis: "Attaches a file from this machine to a page.",
|
|
318
364
|
about: "Attaches a file from this machine to a page: the console keeps it, and the page lists it; a picture is shown where the body names it as .",
|
|
319
365
|
limits: [
|
|
320
366
|
`a file: up to ${MAX_FILE_BYTES} bytes, not empty; it is called by its name, without the path`,
|
|
@@ -329,16 +375,19 @@ export const COMMAND_HELP = {
|
|
|
329
375
|
},
|
|
330
376
|
archive: {
|
|
331
377
|
usage: "archive <path>",
|
|
378
|
+
synopsis: "Puts a page away; nothing is deleted.",
|
|
332
379
|
about: "Puts a page away: out of the folders and the search, still readable at its path, not written to until restored. Nothing is deleted.",
|
|
333
380
|
refusals: DOCUMENT_REFUSALS,
|
|
334
381
|
},
|
|
335
382
|
restore: {
|
|
336
383
|
usage: "restore <path>",
|
|
384
|
+
synopsis: "Brings an archived page back.",
|
|
337
385
|
about: "Brings an archived page back.",
|
|
338
386
|
refusals: DOCUMENT_REFUSALS,
|
|
339
387
|
},
|
|
340
388
|
serve: {
|
|
341
389
|
usage: "serve [<dir>] [--port <n>]",
|
|
390
|
+
synopsis: "For a person: serves a console of your own from this machine, its /api/ carried to the console with your token.",
|
|
342
391
|
about: "For a person: serves a console of your own from this machine, for you. The build in <dir> (its index.html and files) is served at http://127.0.0.1:11197/, and everything under /api/ is carried to the console you are signed in to with your token, which the pages never see. Without a directory only the API is served there, for a development server to send its /api/ requests to. The loopback only; a request from another site's page is refused. Stop it with Ctrl+C.",
|
|
343
392
|
refusals: ["not a build to serve: the directory holds no index.html"],
|
|
344
393
|
},
|
|
@@ -351,6 +400,8 @@ How the board is worked is the skill working-the-board, installed with this comm
|
|
|
351
400
|
where it is; read it before the first command of a run.
|
|
352
401
|
|
|
353
402
|
Usage: console <command> [arguments] [--json] [--url <origin>] [--project <key>]
|
|
403
|
+
A command in full, every form and flag ([flags] below), the limits the console holds it to and what
|
|
404
|
+
it may refuse: console help <command>. Read a command there when you are about to use it.
|
|
354
405
|
`;
|
|
355
406
|
const CLOSING = `Options everywhere: --json answers with the console's own JSON; --url names another console;
|
|
356
407
|
--project names the project to work in, over CONSOLE_PROJECT and over what console use kept here.
|
|
@@ -358,8 +409,7 @@ A listing (tasks, decisions, runs) is a page at a time: --limit <n> and --offset
|
|
|
358
409
|
says when there is more, so that nothing is read that is not needed.
|
|
359
410
|
Commands on a run (report, hand-in, ask, finish, fail) act on your one open run in the project;
|
|
360
411
|
with several open, say which with --run <id>. A Markdown body given as - is read from standard input.
|
|
361
|
-
console
|
|
362
|
-
what it may refuse. console --version says which version of the command this is.
|
|
412
|
+
console --version says which version of the command this is.
|
|
363
413
|
|
|
364
414
|
Exit codes: 0 done; 1 the console refused, or could not be reached (the reason is on stderr);
|
|
365
415
|
2 the command was not understood; 3 the decision still waits for a person.
|
|
@@ -409,7 +459,7 @@ const SECTIONS = [
|
|
|
409
459
|
commands: ["people", "person", "project", "members", "member", "category"],
|
|
410
460
|
},
|
|
411
461
|
];
|
|
412
|
-
/** The
|
|
462
|
+
/** The overview, as `console help` prints it: every command in a line, naming the version when it is known. */
|
|
413
463
|
export function usage(version) {
|
|
414
464
|
const parts = [preamble(version)];
|
|
415
465
|
for (const section of SECTIONS) {
|
|
@@ -417,7 +467,7 @@ export function usage(version) {
|
|
|
417
467
|
for (const name of section.commands) {
|
|
418
468
|
const help = COMMAND_HELP[name];
|
|
419
469
|
if (help !== undefined) {
|
|
420
|
-
parts.push(` console ${help.usage}\n ${help.
|
|
470
|
+
parts.push(` console ${help.overview ?? help.usage}\n ${help.synopsis}`);
|
|
421
471
|
}
|
|
422
472
|
}
|
|
423
473
|
parts.push("");
|
|
@@ -425,7 +475,7 @@ export function usage(version) {
|
|
|
425
475
|
parts.push(CLOSING);
|
|
426
476
|
return parts.join("\n");
|
|
427
477
|
}
|
|
428
|
-
/** What `console help <command>` prints, or nothing for a command that is not one. */
|
|
478
|
+
/** What `console help <command>` prints, the command in full; or nothing for a command that is not one. */
|
|
429
479
|
export function helpFor(name) {
|
|
430
480
|
const help = COMMAND_HELP[name];
|
|
431
481
|
if (help === undefined) {
|
package/dist/cli/help.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help.js","sourceRoot":"","sources":["../../src/cli/help.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,mBAAmB,EACnB,w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,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IAChC,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,KAAK,GAAG,CAAC,WAAW,IAAI,CAAC,KAAK,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IACxD,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;QAC9B,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC;IACzE,CAAC;IACD,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;QAChC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,KAAK,OAAO,EAAE,CAAC,CAAC,CAAC;IACjF,CAAC;IACD,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;AACjC,CAAC"}
|
package/dist/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type RestAnswerInput, type RestArchivedTasks, type RestArtifactInput, type RestCategories, type RestCategory, type RestCategoryInput, type RestCategoryPatch, type RestClaim, type RestComment, type RestComments, type RestConnectInput, type RestConnection, type RestConnectRequest, type RestDecision, type RestDecisionInput, type RestDecisionPatch, type RestDecisions, type RestDocument, type RestDocumentInput, type RestDocuments, type RestEvents, type RestGoal, type RestGoalInput, type RestGoalPatch, type RestGoals, type RestListing, type RestListingInput, type RestMe, type RestMember, type RestMemberInput, type RestMemberPatch, type RestMembers, type RestMePatch, type RestPackTokenInput, type RestPeople, type RestPerson, type RestPersonPatch, type RestPersonWork, type RestProject, type RestProjectInput, type RestProjectPatch, type RestProjectRules, type RestProjects, type RestReportInput, type RestRules, type RestRulesInput, type RestRun, type RestRunEndInput, type RestRunInput, type RestRuns, type RestSkillFile, type RestSkillLoad, type RestSkills, type RestTask, type RestTaskInput, type RestTaskPatch, type RestTasks, type RestTokenCreated, type RestTokenInput, type RestTokens, type RestVersion, type RestVersions, type RestWork } from "./schemas.js";
|
|
1
|
+
import { type RestAnswerInput, type RestArchivedTasks, type RestArtifactInput, type RestCategories, type RestCategory, type RestCategoryInput, type RestCategoryPatch, type RestClaim, type RestComment, type RestComments, type RestConnectInput, type RestConnection, type RestConnectRequest, type RestDecision, type RestDecisionInput, type RestDecisionPatch, type RestDecisions, type RestDocument, type RestDocumentInput, type RestDocuments, type RestEvents, type RestGoal, type RestGoalInput, type RestGoalPatch, type RestGoals, type RestListing, type RestListingInput, type RestMe, type RestMember, type RestMemberInput, type RestMemberPatch, type RestMembers, type RestMePatch, type RestPackTokenInput, type RestPeople, type RestPerson, type RestPersonPatch, type RestPersonWork, type RestProject, type RestProjectInput, type RestProjectPatch, type RestProjectRules, type RestProjects, type RestReportInput, type RestRules, type RestRulesInput, type RestRun, type RestRunEndInput, type RestRunInput, type RestRuns, type RestSkillBrowse, type RestSkillFile, type RestSkillFind, type RestSkillLoad, type RestSkills, type RestTask, type RestTaskInput, type RestTaskPatch, type RestTasks, type RestTokenCreated, type RestTokenInput, type RestTokens, type RestVersion, type RestVersions, type RestWork } from "./schemas.js";
|
|
2
2
|
import type { GoalState, TaskState } from "./vocabulary.js";
|
|
3
3
|
export type FetchLike = (input: string, init?: RequestInit) => Promise<Response>;
|
|
4
4
|
/** A file to hand in: its bytes, what to call it, and what it is. */
|
|
@@ -175,6 +175,18 @@ export interface ProjectClient {
|
|
|
175
175
|
readonly offset?: number | undefined;
|
|
176
176
|
readonly limit?: number | undefined;
|
|
177
177
|
}, signal?: AbortSignal): Promise<RestSkillFile>;
|
|
178
|
+
/** What a folder of the pack holds, a page of it (`browse_repo`): the mounted folder when `path` is left out. */
|
|
179
|
+
skillBrowse(page?: {
|
|
180
|
+
readonly path?: string | undefined;
|
|
181
|
+
readonly cursor?: string | undefined;
|
|
182
|
+
readonly limit?: number | undefined;
|
|
183
|
+
}, signal?: AbortSignal): Promise<RestSkillBrowse>;
|
|
184
|
+
/** The skills and the documents of the pack that words find, a page of them in relevance order (`search_repo`), within `path` when given. */
|
|
185
|
+
skillFind(query: string, options?: {
|
|
186
|
+
readonly path?: string | undefined;
|
|
187
|
+
readonly cursor?: string | undefined;
|
|
188
|
+
readonly limit?: number | undefined;
|
|
189
|
+
}, signal?: AbortSignal): Promise<RestSkillFind>;
|
|
178
190
|
/** Sets the pack token the project reads a private pack with; for an owner. The token travels once and is answered never. */
|
|
179
191
|
setPackToken(input: RestPackTokenInput): Promise<RestProject>;
|
|
180
192
|
/** Takes the pack token away; for an owner. */
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,eAAe,EAC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AO,CAAC,cAAc,CAAC,CAAC;IAC1D,yEAAyE;IACzE,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAChF,8FAA8F;IAC9F,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACpF,qDAAqD;IACrD,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,0GAA0G;IAC1G,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;IACpD,+DAA+D;IAC/D,WAAW,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC9D,4CAA4C;IAC5C,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,wCAAwC;IACxC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B;AAID,wBAAgB,YAAY,CAAC,OAAO,GAAE,aAAkB,GAAG,aAAa,CA8bvE;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAclE"}
|
package/dist/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AUTH_ROUTES, CLAIM_PATH, categoryPath, connectPath, personTokensPath, personWorkPath, projectPath, REST_ROUTES, restPath, rulesPath, } from "./routes.js";
|
|
2
|
-
import { restArchivedTasksSchema, restCategoriesSchema, restCategorySchema, restClaimSchema, restCommentSchema, restCommentsSchema, restConnectionSchema, restConnectRequestSchema, restDecisionSchema, restDecisionsSchema, restDocumentSchema, restDocumentsSchema, restErrorSchema, restEventsSchema, restGoalSchema, restGoalsSchema, restListingSchema, restMemberSchema, restMembersSchema, restMeSchema, restPeopleSchema, restPersonSchema, restPersonWorkSchema, restProjectRulesSchema, restProjectSchema, restProjectsSchema, restRulesSchema, restRunSchema, restRunsSchema, restSkillFileSchema, restSkillLoadSchema, restSkillsSchema, restTaskSchema, restTasksSchema, restTokenCreatedSchema, restTokensSchema, restVersionSchema, restVersionsSchema, restWorkSchema, } from "./schemas.js";
|
|
2
|
+
import { restArchivedTasksSchema, restCategoriesSchema, restCategorySchema, restClaimSchema, restCommentSchema, restCommentsSchema, restConnectionSchema, restConnectRequestSchema, restDecisionSchema, restDecisionsSchema, restDocumentSchema, restDocumentsSchema, restErrorSchema, restEventsSchema, restGoalSchema, restGoalsSchema, restListingSchema, restMemberSchema, restMembersSchema, restMeSchema, restPeopleSchema, restPersonSchema, restPersonWorkSchema, restProjectRulesSchema, restProjectSchema, restProjectsSchema, restRulesSchema, restRunSchema, restRunsSchema, restSkillBrowseSchema, restSkillFileSchema, restSkillFindSchema, restSkillLoadSchema, restSkillsSchema, restTaskSchema, restTasksSchema, restTokenCreatedSchema, restTokensSchema, restVersionSchema, restVersionsSchema, restWorkSchema, } from "./schemas.js";
|
|
3
3
|
export class ApiError extends Error {
|
|
4
4
|
/** HTTP status, or 0 when there was no response at all. */
|
|
5
5
|
status;
|
|
@@ -198,6 +198,17 @@ export function createClient(options = {}) {
|
|
|
198
198
|
offset: page.offset === undefined ? undefined : String(page.offset),
|
|
199
199
|
limit: page.limit === undefined ? undefined : String(page.limit),
|
|
200
200
|
}), undefined, restSkillFileSchema, signal),
|
|
201
|
+
skillBrowse: (page = {}, signal) => request("GET", withQuery(`${at("skills")}/browse`, {
|
|
202
|
+
path: page.path,
|
|
203
|
+
cursor: page.cursor,
|
|
204
|
+
limit: page.limit === undefined ? undefined : String(page.limit),
|
|
205
|
+
}), undefined, restSkillBrowseSchema, signal),
|
|
206
|
+
skillFind: (query, options = {}, signal) => request("GET", withQuery(`${at("skills")}/find`, {
|
|
207
|
+
query,
|
|
208
|
+
path: options.path,
|
|
209
|
+
cursor: options.cursor,
|
|
210
|
+
limit: options.limit === undefined ? undefined : String(options.limit),
|
|
211
|
+
}), undefined, restSkillFindSchema, signal),
|
|
201
212
|
setPackToken: (input) => request("PUT", `${base}${at()}/pack-token`, input, restProjectSchema),
|
|
202
213
|
removePackToken: () => request("DELETE", `${base}${at()}/pack-token`, undefined, restProjectSchema),
|
|
203
214
|
rules: (signal) => request("GET", `${base}${at("rules")}`, undefined, restProjectRulesSchema, signal),
|