@skillcdn/console 0.6.1 → 0.6.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.
Files changed (230) hide show
  1. package/README.md +14 -7
  2. package/SKILLCDN.md +3 -2
  3. package/dist/agent-page.d.ts +2 -0
  4. package/dist/agent-page.d.ts.map +1 -1
  5. package/dist/agent-page.js +77 -30
  6. package/dist/agent-page.js.map +1 -1
  7. package/dist/agent-state.d.ts +9 -0
  8. package/dist/agent-state.d.ts.map +1 -0
  9. package/dist/agent-state.js +28 -0
  10. package/dist/agent-state.js.map +1 -0
  11. package/dist/agent-usage.d.ts +9 -6
  12. package/dist/agent-usage.d.ts.map +1 -1
  13. package/dist/agent-usage.js +38 -8
  14. package/dist/agent-usage.js.map +1 -1
  15. package/dist/api.d.ts +4 -3
  16. package/dist/api.d.ts.map +1 -1
  17. package/dist/api.js +4 -3
  18. package/dist/api.js.map +1 -1
  19. package/dist/cli/cli.d.ts +2 -0
  20. package/dist/cli/cli.d.ts.map +1 -1
  21. package/dist/cli/cli.js +369 -130
  22. package/dist/cli/cli.js.map +1 -1
  23. package/dist/cli/format.d.ts +13 -4
  24. package/dist/cli/format.d.ts.map +1 -1
  25. package/dist/cli/format.js +43 -9
  26. package/dist/cli/format.js.map +1 -1
  27. package/dist/cli/help.d.ts +82 -9
  28. package/dist/cli/help.d.ts.map +1 -1
  29. package/dist/cli/help.js +780 -318
  30. package/dist/cli/help.js.map +1 -1
  31. package/dist/cli/pack.d.ts +2 -2
  32. package/dist/cli/pack.d.ts.map +1 -1
  33. package/dist/cli/pack.js +6 -4
  34. package/dist/cli/pack.js.map +1 -1
  35. package/dist/cli/runner-files.d.ts +16 -0
  36. package/dist/cli/runner-files.d.ts.map +1 -0
  37. package/dist/cli/runner-files.js +110 -0
  38. package/dist/cli/runner-files.js.map +1 -0
  39. package/dist/cli/runner-host.d.ts +7 -0
  40. package/dist/cli/runner-host.d.ts.map +1 -1
  41. package/dist/cli/runner-host.js +40 -2
  42. package/dist/cli/runner-host.js.map +1 -1
  43. package/dist/client.d.ts +22 -1
  44. package/dist/client.d.ts.map +1 -1
  45. package/dist/client.js +7 -1
  46. package/dist/client.js.map +1 -1
  47. package/dist/components/agent-page.d.ts +61 -11
  48. package/dist/components/agent-page.d.ts.map +1 -1
  49. package/dist/components/agent-page.js +146 -35
  50. package/dist/components/agent-page.js.map +1 -1
  51. package/dist/components/agents.d.ts +3 -2
  52. package/dist/components/agents.d.ts.map +1 -1
  53. package/dist/components/agents.js +9 -3
  54. package/dist/components/agents.js.map +1 -1
  55. package/dist/components/calendar.d.ts +24 -4
  56. package/dist/components/calendar.d.ts.map +1 -1
  57. package/dist/components/calendar.js +78 -35
  58. package/dist/components/calendar.js.map +1 -1
  59. package/dist/console.d.ts.map +1 -1
  60. package/dist/console.js +40 -12
  61. package/dist/console.js.map +1 -1
  62. package/dist/data.d.ts +2 -0
  63. package/dist/data.d.ts.map +1 -1
  64. package/dist/data.js +4 -0
  65. package/dist/data.js.map +1 -1
  66. package/dist/desk-page.js +5 -5
  67. package/dist/desk-page.js.map +1 -1
  68. package/dist/feed-words.d.ts.map +1 -1
  69. package/dist/feed-words.js +18 -1
  70. package/dist/feed-words.js.map +1 -1
  71. package/dist/i18n/en.d.ts +51 -1
  72. package/dist/i18n/en.d.ts.map +1 -1
  73. package/dist/i18n/en.js +44 -2
  74. package/dist/i18n/en.js.map +1 -1
  75. package/dist/i18n/ko.d.ts.map +1 -1
  76. package/dist/i18n/ko.js +52 -17
  77. package/dist/i18n/ko.js.map +1 -1
  78. package/dist/index.d.ts +1 -1
  79. package/dist/index.d.ts.map +1 -1
  80. package/dist/index.js +1 -1
  81. package/dist/index.js.map +1 -1
  82. package/dist/limits.d.ts +10 -0
  83. package/dist/limits.d.ts.map +1 -1
  84. package/dist/limits.js +10 -0
  85. package/dist/limits.js.map +1 -1
  86. package/dist/plugin/capabilities.d.ts +1 -1
  87. package/dist/plugin/capabilities.d.ts.map +1 -1
  88. package/dist/plugin/capabilities.js +6 -1
  89. package/dist/plugin/capabilities.js.map +1 -1
  90. package/dist/plugin/context.d.ts +101 -8
  91. package/dist/plugin/context.d.ts.map +1 -1
  92. package/dist/plugin/limits.d.ts +7 -0
  93. package/dist/plugin/limits.d.ts.map +1 -1
  94. package/dist/plugin/limits.js +7 -0
  95. package/dist/plugin/limits.js.map +1 -1
  96. package/dist/plugin/testing.d.ts +2 -0
  97. package/dist/plugin/testing.d.ts.map +1 -1
  98. package/dist/plugin/testing.js +2 -0
  99. package/dist/plugin/testing.js.map +1 -1
  100. package/dist/rules.js +1 -1
  101. package/dist/rules.js.map +1 -1
  102. package/dist/runner/acp.d.ts.map +1 -1
  103. package/dist/runner/acp.js +9 -3
  104. package/dist/runner/acp.js.map +1 -1
  105. package/dist/runner/claude.d.ts.map +1 -1
  106. package/dist/runner/claude.js +143 -10
  107. package/dist/runner/claude.js.map +1 -1
  108. package/dist/runner/codex.d.ts.map +1 -1
  109. package/dist/runner/codex.js +14 -2
  110. package/dist/runner/codex.js.map +1 -1
  111. package/dist/runner/config.d.ts +18 -0
  112. package/dist/runner/config.d.ts.map +1 -1
  113. package/dist/runner/config.js +77 -1
  114. package/dist/runner/config.js.map +1 -1
  115. package/dist/runner/desk.d.ts +7 -0
  116. package/dist/runner/desk.d.ts.map +1 -1
  117. package/dist/runner/desk.js +20 -4
  118. package/dist/runner/desk.js.map +1 -1
  119. package/dist/runner/message.d.ts +26 -2
  120. package/dist/runner/message.d.ts.map +1 -1
  121. package/dist/runner/message.js +120 -32
  122. package/dist/runner/message.js.map +1 -1
  123. package/dist/runner/runner.d.ts +40 -2
  124. package/dist/runner/runner.d.ts.map +1 -1
  125. package/dist/runner/runner.js +533 -32
  126. package/dist/runner/runner.js.map +1 -1
  127. package/dist/runner/slack-status.d.ts +19 -0
  128. package/dist/runner/slack-status.d.ts.map +1 -0
  129. package/dist/runner/slack-status.js +332 -0
  130. package/dist/runner/slack-status.js.map +1 -0
  131. package/dist/runner/slack.d.ts +17 -11
  132. package/dist/runner/slack.d.ts.map +1 -1
  133. package/dist/runner/slack.js +1199 -109
  134. package/dist/runner/slack.js.map +1 -1
  135. package/dist/runner/types.d.ts +205 -6
  136. package/dist/runner/types.d.ts.map +1 -1
  137. package/dist/runner/types.js.map +1 -1
  138. package/dist/runner/usage.d.ts +6 -1
  139. package/dist/runner/usage.d.ts.map +1 -1
  140. package/dist/runner/usage.js +9 -2
  141. package/dist/runner/usage.js.map +1 -1
  142. package/dist/runner.d.ts +4 -4
  143. package/dist/runner.d.ts.map +1 -1
  144. package/dist/runner.js +3 -3
  145. package/dist/runner.js.map +1 -1
  146. package/dist/schemas.d.ts +263 -1
  147. package/dist/schemas.d.ts.map +1 -1
  148. package/dist/schemas.js +137 -5
  149. package/dist/schemas.js.map +1 -1
  150. package/dist/vocabulary.d.ts +7 -0
  151. package/dist/vocabulary.d.ts.map +1 -1
  152. package/dist/vocabulary.js +6 -0
  153. package/dist/vocabulary.js.map +1 -1
  154. package/dist/wake-text.d.ts +43 -0
  155. package/dist/wake-text.d.ts.map +1 -0
  156. package/dist/wake-text.js +115 -0
  157. package/dist/wake-text.js.map +1 -0
  158. package/docs/specs/cli.md +21 -12
  159. package/docs/specs/plugins.md +12 -7
  160. package/docs/specs/rest.md +14 -5
  161. package/docs/specs/runner.md +133 -26
  162. package/docs/start.md +26 -5
  163. package/package.json +3 -3
  164. package/skills/building-a-plugin/SKILL.md +3 -3
  165. package/skills/deploying-a-console/SKILL.md +3 -3
  166. package/skills/deploying-a-console/references/access.md +15 -1
  167. package/skills/deploying-a-console/references/resources.md +2 -2
  168. package/skills/deploying-a-console/scripts/github-app.mjs +593 -0
  169. package/skills/planning-the-board/references/setting-up.md +1 -1
  170. package/skills/running-an-agent/SKILL.md +18 -72
  171. package/skills/running-an-agent/references/preparing-the-machine.md +17 -0
  172. package/skills/running-an-agent/references/several-tasks.md +1 -1
  173. package/skills/running-an-agent/references/slack-app.md +55 -8
  174. package/skills/running-an-agent/references/the-account-and-the-invitation.md +5 -0
  175. package/skills/running-an-agent/references/what-was-not-seen-run-yet.md +3 -0
  176. package/skills/running-an-agent/references/when-the-agent-could-not-go-on.md +16 -0
  177. package/skills/running-an-agent/references/your-first-task.md +19 -0
  178. package/skills/trying-a-console/SKILL.md +136 -0
  179. package/skills/trying-a-console/references/when-it-does-not-go.md +30 -0
  180. package/skills/working-the-board/SKILL.md +11 -15
  181. package/skills/working-the-board/references/a-pack-skills-questions.md +3 -0
  182. package/skills/working-the-board/references/a-plugins-commands.md +3 -0
  183. package/skills/working-the-board/references/a-review.md +3 -0
  184. package/skills/working-the-board/references/an-open-run.md +3 -0
  185. package/skills/working-the-board/references/requirements.md +7 -0
  186. package/skills/working-the-board/references/the-pack.md +3 -3
  187. package/skills/working-the-board/references/what-they-were-told.md +3 -0
  188. package/skills/working-the-board/references/work-given-in-chat.md +5 -0
  189. package/src/agent-page.tsx +133 -41
  190. package/src/agent-state.ts +33 -0
  191. package/src/agent-usage.ts +55 -12
  192. package/src/api.ts +23 -0
  193. package/src/cli/cli.ts +443 -137
  194. package/src/cli/format.ts +49 -9
  195. package/src/cli/help.ts +904 -359
  196. package/src/cli/pack.ts +6 -4
  197. package/src/cli/runner-files.ts +120 -0
  198. package/src/cli/runner-host.ts +48 -2
  199. package/src/client.ts +64 -0
  200. package/src/components/agent-page.tsx +264 -39
  201. package/src/components/agents.tsx +20 -5
  202. package/src/components/calendar.tsx +92 -36
  203. package/src/console.tsx +47 -10
  204. package/src/data.ts +6 -0
  205. package/src/desk-page.tsx +5 -5
  206. package/src/feed-words.ts +20 -1
  207. package/src/i18n/en.ts +50 -2
  208. package/src/i18n/ko.ts +62 -17
  209. package/src/index.ts +2 -0
  210. package/src/limits.ts +10 -0
  211. package/src/plugin/capabilities.ts +8 -1
  212. package/src/plugin/context.ts +103 -7
  213. package/src/plugin/limits.ts +7 -0
  214. package/src/plugin/testing.ts +4 -0
  215. package/src/rules.ts +1 -1
  216. package/src/runner/acp.ts +9 -3
  217. package/src/runner/claude.ts +159 -10
  218. package/src/runner/codex.ts +14 -2
  219. package/src/runner/config.ts +114 -1
  220. package/src/runner/desk.ts +23 -4
  221. package/src/runner/message.ts +144 -35
  222. package/src/runner/runner.ts +658 -35
  223. package/src/runner/slack-status.ts +423 -0
  224. package/src/runner/slack.ts +1509 -128
  225. package/src/runner/types.ts +200 -5
  226. package/src/runner/usage.ts +16 -3
  227. package/src/runner.ts +20 -1
  228. package/src/schemas.ts +161 -3
  229. package/src/vocabulary.ts +9 -0
  230. package/src/wake-text.ts +133 -0
@@ -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,gBAAgB,EAAE,SAAS,SAAS,EAA0B,CAAC;AAE5E;;;GAGG;AACH,eAAO,MAAM,WAAW,YACtB,MAAM,EACN,MAAM,EACN,OAAO,EACP,QAAQ,EACR,MAA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EzD,6DAA6D;AAC7D,eAAO,MAAM,uBAAuB,YAAI,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAU,CAAC;AAEvF,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -165,6 +165,12 @@ export const TRANSCRIPT_PICTURE_TYPES = [
165
165
  * says it: set, by the account or seeded by a supervisor; read, by the account; or removed.
166
166
  */
167
167
  export const SECRET_ACCESSES = ["set", "read", "removed"];
168
+ /**
169
+ * How a secret offered to an agent account stands (ADR-0169): it waits for the account; the
170
+ * account took it into its store; the account left it; or its days ran out. Only one that waits
171
+ * holds a value.
172
+ */
173
+ export const SECRET_OFFER_STATES = ["waiting", "taken", "left", "lapsed"];
168
174
  /**
169
175
  * How an agent account stands, in one word (ADR-0085): `running`, its runner heard from and the
170
176
  * agent at work or ready for it; `stopped`, by a supervisor, until one starts it again; `refused`,
@@ -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,gB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V,QAAQ;IACR,WAAW;IACX,eAAe;IACf,aAAa;CACL,CAAC;AAIX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,WAAW,EAAE,SAAS,EAAE,MAAM,CAAU,CAAC;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.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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"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * A part of a wake (ADR-0163): a line of the source's own, or what someone else wrote. The
3
+ * runner hands the agent each line under the session's mark and the words in a block of their
4
+ * own, so that nothing a message holds reads as a line of the source's. A line holds what the
5
+ * source says itself, an id and a moment among it, and never a word someone else wrote.
6
+ */
7
+ export type WakePart = {
8
+ readonly says: string;
9
+ } | {
10
+ readonly words: string;
11
+ };
12
+ /**
13
+ * The first version whose runner reads a wake of the board's, and one of the console's own
14
+ * (ADR-0169), in parts (ADR-0166): the console's
15
+ * lines under the session's mark, and what a member wrote, a comment say, in a block. A runner
16
+ * of before prints such a text whole under its header, as the console's own words, so the
17
+ * console writes one in parts only for an account whose runner last said this version or a
18
+ * later one.
19
+ */
20
+ export declare const BOARD_PARTS_FROM = "0.6.3";
21
+ /** A word of a header on one line, with nothing in it that ends the header early. */
22
+ export declare const inHeader: (text: string) => string;
23
+ /**
24
+ * What someone wrote, a line each behind `>`. A line break of any spelling ends a line, so that
25
+ * none is left in one to end it for a reader.
26
+ */
27
+ export declare function quotedLines(words: string): string[];
28
+ /**
29
+ * The parts of a wake as the one text a signal carries: a line of the source's own behind `#`,
30
+ * and each line of someone else's words behind `>`, in the order given. The runner writes it so
31
+ * for every wake a source raises, whatever the source handed it, and reads it back so when the
32
+ * signal returns (`wakePartsOf`). Two runs of words with no line between them are parted by a
33
+ * line that says nothing. Within `most` characters, the most a signal carries: what comes to
34
+ * more is cut at the end of a line, or within a line of words, and the text's last line says so.
35
+ */
36
+ export declare function wakeTextOf(parts: readonly WakePart[], most?: number): string;
37
+ /**
38
+ * The parts of a wake read back from its text, or nothing where the text is not written as
39
+ * `wakeTextOf` writes one: a wake raised by a runner of before, which is then carried whole as
40
+ * someone else's words, as it was.
41
+ */
42
+ export declare function wakePartsOf(text: string): readonly WakePart[] | undefined;
43
+ //# sourceMappingURL=wake-text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wake-text.d.ts","sourceRoot":"","sources":["../src/wake-text.ts"],"names":[],"mappings":"AAQA;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9E;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,UAAU,CAAC;AAExC,qFAAqF;AACrF,eAAO,MAAM,QAAQ,SAAU,MAAM,KAAG,MAAoD,CAAC;AAkB7F;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAEnD;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,SAAS,QAAQ,EAAE,EAAE,IAAI,SAAoB,GAAG,MAAM,CAwCvF;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,QAAQ,EAAE,GAAG,SAAS,CAwBzE"}
@@ -0,0 +1,115 @@
1
+ import { MAX_SIGNAL_LENGTH } from "./limits.js";
2
+ /**
3
+ * The first version whose runner reads a wake of the board's, and one of the console's own
4
+ * (ADR-0169), in parts (ADR-0166): the console's
5
+ * lines under the session's mark, and what a member wrote, a comment say, in a block. A runner
6
+ * of before prints such a text whole under its header, as the console's own words, so the
7
+ * console writes one in parts only for an account whose runner last said this version or a
8
+ * later one.
9
+ */
10
+ export const BOARD_PARTS_FROM = "0.6.3";
11
+ /** A word of a header on one line, with nothing in it that ends the header early. */
12
+ export const inHeader = (text) => text.replaceAll(/[[\]\r\n]+/g, " ").trim();
13
+ /**
14
+ * What a line of a wake's text begins with, as the console keeps the text (ADR-0163): a line of
15
+ * the wake source's own, and a line of someone else's words. Every line of someone's words is
16
+ * begun so where the text is written, so that no word of theirs is ever a line of the source's.
17
+ */
18
+ const SAYS = "#";
19
+ const WORDS = ">";
20
+ /** What a wake's text ends on where its parts came to more than a signal carries. */
21
+ const WAKE_CUT = "The wake came to more than a signal carries, and was cut here";
22
+ /** The first `most` characters of a text, never half of a character that takes two. */
23
+ function firstOf(text, most) {
24
+ const last = text.charCodeAt(most - 1);
25
+ return text.slice(0, last >= 0xd800 && last <= 0xdbff ? most - 1 : most);
26
+ }
27
+ /**
28
+ * What someone wrote, a line each behind `>`. A line break of any spelling ends a line, so that
29
+ * none is left in one to end it for a reader.
30
+ */
31
+ export function quotedLines(words) {
32
+ return words.split(/\r\n?|\n/).map((line) => (line === "" ? WORDS : `${WORDS} ${line}`));
33
+ }
34
+ /**
35
+ * The parts of a wake as the one text a signal carries: a line of the source's own behind `#`,
36
+ * and each line of someone else's words behind `>`, in the order given. The runner writes it so
37
+ * for every wake a source raises, whatever the source handed it, and reads it back so when the
38
+ * signal returns (`wakePartsOf`). Two runs of words with no line between them are parted by a
39
+ * line that says nothing. Within `most` characters, the most a signal carries: what comes to
40
+ * more is cut at the end of a line, or within a line of words, and the text's last line says so.
41
+ */
42
+ export function wakeTextOf(parts, most = MAX_SIGNAL_LENGTH) {
43
+ const lines = [];
44
+ let afterWords = false;
45
+ for (const part of parts) {
46
+ if ("says" in part) {
47
+ const says = inHeader(part.says);
48
+ if (says !== "") {
49
+ lines.push(`${SAYS} ${says}`);
50
+ afterWords = false;
51
+ }
52
+ continue;
53
+ }
54
+ if (part.words === "") {
55
+ continue;
56
+ }
57
+ if (afterWords) {
58
+ lines.push(SAYS);
59
+ }
60
+ lines.push(...quotedLines(part.words));
61
+ afterWords = true;
62
+ }
63
+ const whole = lines.join("\n");
64
+ if (whole.length <= most) {
65
+ return whole;
66
+ }
67
+ const cut = `${SAYS} ${WAKE_CUT}`;
68
+ const kept = [];
69
+ let room = most - cut.length;
70
+ for (const line of lines) {
71
+ if (line.length + 1 > room) {
72
+ // A line of words is carried as far as it goes; one of the source's own, whole or not at all.
73
+ if (line.startsWith(`${WORDS} `) && room > WORDS.length + 2) {
74
+ kept.push(firstOf(line, room - 1));
75
+ }
76
+ break;
77
+ }
78
+ kept.push(line);
79
+ room -= line.length + 1;
80
+ }
81
+ return [...kept, cut].join("\n");
82
+ }
83
+ /**
84
+ * The parts of a wake read back from its text, or nothing where the text is not written as
85
+ * `wakeTextOf` writes one: a wake raised by a runner of before, which is then carried whole as
86
+ * someone else's words, as it was.
87
+ */
88
+ export function wakePartsOf(text) {
89
+ const parts = [];
90
+ let words;
91
+ const close = () => {
92
+ if (words !== undefined) {
93
+ parts.push({ words: words.join("\n") });
94
+ words = undefined;
95
+ }
96
+ };
97
+ for (const line of text.split("\n")) {
98
+ if (line === WORDS || line.startsWith(`${WORDS} `)) {
99
+ words ??= [];
100
+ words.push(line.slice(WORDS.length + 1));
101
+ }
102
+ else if (line === SAYS || line.startsWith(`${SAYS} `)) {
103
+ close();
104
+ if (line.length > SAYS.length + 1) {
105
+ parts.push({ says: line.slice(SAYS.length + 1) });
106
+ }
107
+ }
108
+ else {
109
+ return undefined;
110
+ }
111
+ }
112
+ close();
113
+ return parts;
114
+ }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C,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;YACpD,CAAC;QACH,CAAC;aAAM,CAAC;YACN,OAAO,SAAS,CAAC;QACnB,CAAC;IACH,CAAC;IACD,KAAK,EAAE,CAAC;IACR,OAAO,KAAK,CAAC;AACf,CAAC"}
package/docs/specs/cli.md CHANGED
@@ -19,6 +19,8 @@ The board is a project's ([ADR-0008](../adr/0008-a-workspace-holds-projects-and-
19
19
 
20
20
  ## The commands
21
21
 
22
+ The command's shape ([ADR-0167](../adr/0167-the-commands-of-the-console-command-are-one-table-by-who-runs-them-its-help-is-in-layers-within-bounds-and-a-mistake-is-answered-with-a-sentence.md)). A word in the plural lists (`tasks`, `docs`, `agents`); the same word in the singular reads one by what it is called by (`task 7`, `doc guides/onboarding`, `agent mira`), and with a word after it does something to one or makes one (`task new`, `doc write`, `agent tell`): a form. The words at the top that name no thing are those of a run, which act on the one open run (`take`, `report`, `hand-in`, `ask`, `answer`, `comment`, `file`, `finish`, `fail`, `abandon`), of signing in (`login`, `logins`, `logout`, `whoami`, `use`), of what one is told (`work`, `notify`, `manager`, `rules`) and of a machine (`serve`, `desk`, `runner`); nothing else is added there. `console help` lists the commands in one table, grouped by who runs them, within 3,000 bytes; `console help <command>` is a command's page, its forms a line each with every flag, what must be known before it is run, its limits and its refusals, within 2,600 bytes; a command of several forms says the first on its page and names the others, each with a page of its own, `console help <command> <form>`, which `<command> <form> --help` opens too; `console help everywhere` says what holds for every command. Six words of before still run, each as the form that took its place, and stand in no list: `write`, `attach`, `archive` and `restore` are `doc write`, `doc attach`, `doc archive` and `doc restore`, and `follow` and `mute` are `task follow` and `task mute`; they go with 0.7.
23
+
22
24
  A table a group, each row a command: what it asks the console, and what it says. `...` is `/api/v1/projects/<key>`, the project the command works in. Everywhere: `--json` prints the console's own answer as JSON, in the shapes of `@skillcdn/console/api`; `--url <origin>` names the console this one command talks to, which must be one signed in to here; `--account <login>` the account there, where several are; `--project <key>` the project. A Markdown body given as `-` is read from standard input. A day is given as `2026-10-24`, `today`, `tomorrow` or `+7` (days from today by this machine's clock); `--due overdue` keeps the open tasks past their day, `--due week` those due by the last day of this week, the week beginning as the workspace says (`console workspace`) or, left to the language, as the person's language has it, else this machine's ([ADR-0039](../adr/0039-this-week-is-the-plans-unit-and-the-week-begins-as-the-workspace-says.md)). Every argument is bounded and checked by the console, as the REST API's schemas say; the command sends it as it was given.
23
25
 
24
26
  ### Commands to sign in and to name the project
@@ -42,7 +44,7 @@ A table a group, each row a command: what it asks the console, and what it says.
42
44
  | `notifications --read <id> [<id>...]`, `notifications --read-all` | `POST /api/v1/notifications/read` with `ids`, each once, or `all: true` | how many were marked read, and how many are still unread (`Marked 2 read; 3 still unread.`). `--read` without an id, the two together, a word without `--read`, and either beside `--unread`, `--limit` or `--offset` are not understood (`2`), and nothing is asked of the console |
43
45
  | `notify` | `GET /api/v1/notifications/settings` | what the member is told of ([ADR-0157](../adr/0157-the-console-decides-who-is-told-of-what-and-keeps-the-record-and-a-plugin-carries-it-out.md)): a line per kind of `NOTIFICATION_KINDS`, `on` or `off`, with what it is of in a few words, and `(default: on\|off)` where they chose otherwise than a member who chose nothing has; a kind a newer console answers after them, by its name alone; then the projects turned off, by key and name, and whether what an agent of their own did as them is told to them. They are of everything the member is told: what a plugin that carries notifications elsewhere, to a messenger say, sends of it is that plugin's own setting, and the command names no plugin. Needs no project |
44
46
  | `notify [--on <kind>]... [--off <kind>]... [--project-off <key>]... [--project-on <key>]... [--own-agents on\|off]`, `notify --reset` | `PUT /api/v1/notifications/settings`, once: the kinds named, the others staying as they are, as `kinds`; `ownAgents`; and, where a project is named, `projectsOff` whole, which is those that were, read first with `GET` of the same, less the ones turned on again, and the ones turned off now; or `reset: true`, alone | the settings as they are now, as `notify` prints them. A kind that is none of `NOTIFICATION_KINDS` is refused with the kinds there are before anything is asked of the console (`2`), as are a kind or a project said both on and off, a word for `--own-agents` that is neither, and `--reset` beside another flag; a key turned off of a project the console has not, or does not show the member (`project.not_found`), is the console's to refuse, with nothing changed; a key turned on that was not off changes nothing |
45
- | `follow <number\|id>`, `mute <number\|id>` | `GET .../tasks/<ref>`, then `PUT .../tasks/<id>/follow` with `on`: `true` for `follow`, `false` for `mute` | one line that says whether the task's notifications are on or off for the member now ([ADR-0157](../adr/0157-the-console-decides-who-is-told-of-what-and-keeps-the-record-and-a-plugin-carries-it-out.md)), and how, with the command that turns them the other way: turned on where their settings would tell them nothing of it, `Notifications of #7 <title> are on: you are told of everything that happens on it. Turn them off: console mute 7`; turned off where their settings would tell them, `... are off: you are told of nothing of it. Turn them on: console follow 7`; and turned to what their settings say already, `... are on, as your settings have it: you are told of it by the kinds you have on (console notify). Turn them off: console mute 7` or `... are off, as your settings have it. Turn them on: console follow 7`, so that a task muted and followed again tells them by their kinds as before. Their own choice of that one task; `--json` is the console's answer, `{ "on", "usual", "all" }`. A console older than the command has none of the notifications' routes: `notifications`, `notify`, `follow` and `mute` each say that it is one, with its version where it says it, and end with `1` |
47
+ | `task follow <number\|id>`, `task mute <number\|id>` | `GET .../tasks/<ref>`, then `PUT .../tasks/<id>/follow` with `on`: `true` for `follow`, `false` for `mute` | one line that says whether the task's notifications are on or off for the member now ([ADR-0157](../adr/0157-the-console-decides-who-is-told-of-what-and-keeps-the-record-and-a-plugin-carries-it-out.md)), and how, with the command that turns them the other way: turned on where their settings would tell them nothing of it, `Notifications of #7 <title> are on: you are told of everything that happens on it. Turn them off: console task mute 7`; turned off where their settings would tell them, `... are off: you are told of nothing of it. Turn them on: console task follow 7`; and turned to what their settings say already, `... are on, as your settings have it: you are told of it by the kinds you have on (console notify). Turn them off: console task mute 7` or `... are off, as your settings have it. Turn them on: console task follow 7`, so that a task muted and followed again tells them by their kinds as before. Their own choice of that one task; `--json` is the console's answer, `{ "on", "usual", "all" }`. A console older than the command has none of the notifications' routes: `notifications`, `notify`, `task follow` and `task mute` each say that it is one, with its version where it says it, and end with `1` |
46
48
  | `tasks [--state <state>] [--open] [--mine] [--category <key>] [--goal <id>] [--due <day\|today\|week\|overdue>] [--unassigned] [--search <words>] [--archived] [--limit <n>] [--offset <n>]` | `GET .../tasks?brief=true` with the filters and the page, the tasks without their bodies, which no line shows, and whole on `--json` (`--mine` and `--unassigned` not together; `--search` is `q=`, the words of a title or a number, how a task is found as a parent, [ADR-0037](../adr/0037-a-task-has-one-owner-and-any-number-of-workers-and-a-parent-or-a-goal-is-found-by-search.md)) | one line per task: number, state, priority, title, owner, workers, category, due day, what waits on it, and whether it is put away; the tasks put away are left out unless `--archived` asks for them alone; a page at a time; a search that finds nothing says so with the words it looked for, and, where they were several, that every one must be in a title and fewer find more |
47
49
  | `task <number\|id>` | `GET .../tasks/<ref>`, the decisions about it, the runs on it without their reports (`GET .../runs?task=&brief=true`; whole on `--json`), `GET .../tasks/<id>/comments`, `GET .../tasks/<id>/follow` | the task in full, after its id the address of its page on a line of its own (`page: <origin>/projects/<key>/tasks/<number>`, made from the console's origin and the pages' route and asked of no console, so that an agent that tells a person of the task links the task and not the console's front page), with its plan and its moments, and the discussion on it: each comment whole, with its files and the command that reads each. A line says whether the task's notifications are on for the member ([ADR-0157](../adr/0157-the-console-decides-who-is-told-of-what-and-keeps-the-record-and-a-plugin-carries-it-out.md)), and how: `notifications: on, as your settings have it`, `notifications: on, turned on by you: you are told of everything that happens on it`, `notifications: off, turned off by you: you are told of nothing of it` or `notifications: off, as your settings have it`; `--json` carries it as `follow`, `{ "on", "usual", "all" }`; a console older than the command has no such route, and nothing is said of it then |
48
50
  | `task new <title> [--body <markdown>\|--file <path>] [--state <state>] [--priority <priority>] [--category <key>] [--goal <id>] [--starts <day>] [--due <day>] [--worker <login\|me\|none>]... [--parent <number\|id>] [--take [--rules <mark>] [--agent <name>]]` | `POST .../tasks`; with `--take`, then what `take` asks, from `POST .../runs` on | the number, the id and the address of the task's page, as `task` prints it (with `--take`, once, in the task's lines after the take); `--worker` given again, or with commas between, names several, in place of the workers there were, and `none` alone nobody. With `--take` the task is written and taken in one command, in that order: what `task new` prints, the number first, then what `take` prints, `--rules` and `--agent` as `take` has them, and on `--json` what `take` answers with the task as it was written beside it (`written`). The task is written `ready` where no state is said, since an idea is not taken; a state that cannot be taken (`done`, `dropped`) is refused before anything is written, as are `--rules` and `--agent` without `--take`. Where the take fails after the task was written, the task's two lines are on the output (on `--json`, `{ "written": ... }` alone), and the error says, before the console's own words for the refusal, that the task is written and was not taken, and that `console take <number>` is the way on: the task is not written a second time. Where the run began and only a read after it failed, the error says that the task is written and taken, by which run, and that it is neither written nor taken again (on `--json`, `{ "written": ..., "run": ... }`), since a second take would end the run that began. The exit code is the refusal's |
@@ -78,11 +80,15 @@ A table a group, each row a command: what it asks the console, and what it says.
78
80
  |---|---|---|
79
81
  | `agents` | `GET /api/v1/agents` | one line per agent account the person sees or supervises ([ADR-0084](../adr/0084-an-agent-account-is-a-member-of-its-own-with-a-manager-above-it.md)): the handle (`@mira`), the name and what it does, the login it signs in with, whom it reports to where the person sees them, and `not signed in yet` or `deactivated` where so. Needs no project |
80
82
  | `agent new <handle> [--login <login>] [--name "<name>"] [--title "<title>"] [--manager <login\|me>] [--host gh\|google] [--seed <seed>] [--convert]` | `GET /api/v1/people?login=` for the manager's id, then `POST /api/v1/agents`, with `convert: true` where `--convert` says that the member who carries the login is to become the account | the account's line, and what happens next: the account it signs in with, by its login: at Google Workspace it is made before its machine is set up, and its first sign-in binds it; at a git host it has to be the organization's already, and the line says what its first sign-in is held to ([ADR-0126](../adr/0126-an-agent-account-at-a-git-host-is-bound-to-the-hosts-account-when-it-is-added.md)), confirmed where the organization said which account the login is, so that only that account is let in, and not confirmed where it has no member called so, could not be asked, or is not read by this console, with who is let in then; the account's line says the same in a word while it waits (`its account confirmed at the host`, `its account not confirmed`); its first task, by its number, where the console made its onboarding with it; and that a machine comes next, with `console agent invite`. Without `--login`, the login is what the workspace's identity service makes of the workspace's short name, the handle and the domain (`mira@acme.example`), and the command asks for one where the workspace names no such service. For an administrator ([ADR-0084](../adr/0084-an-agent-account-is-a-member-of-its-own-with-a-manager-above-it.md)): the handle, which never changes; the login it signs in with, the host read off its shape unless `--host` says; the name, the handle capitalized when left out; the manager, whoever makes it when left out; the project it starts in, the directory's or `--project`. The console rolls the avatar, from `--seed` where one is given. The pages make one from proposals instead |
81
- | `agent <handle> [--avatar <file>] [--account <service>=<name\|none>]... [--day-start <HH:MM\|none>] [--day-end <HH:MM\|none>]` | `GET /api/v1/agents/<handle>`; with `--account`, `PATCH /api/v1/agents/<handle>` | the account's line; how it stands ([ADR-0085](../adr/0085-a-runner-on-the-agents-machine-is-told-by-signals-and-runs-one-session-at-a-time.md)), its state, why, since when, until when where its runner said, as when a usage limit resets ([ADR-0150](../adr/0150-a-runner-waits-out-its-products-usage-limit-and-tells-its-agent-before-it.md)), and when its runner was last heard from; how much of its product's allowance is used, a line where its runner said any ([ADR-0156](../adr/0156-an-agent-account-shows-what-its-products-allowance-has-used-and-when-it-resets.md)): each window that still stands with its share, that it is near its limit where it is, and when it resets, and when the product said so, of each where one was kept from before; for a supervisor and for the account, what its runner last said of itself, the model and the effort it is set to and runs with, and how many of its signals were delivered; and whether the person supervises it; the handle with the `@` or without. With `--avatar`, the account's avatar as a PNG file of 1024 pixels a side, written to the path given or into a directory under `<handle>.png`: drawn by the command from the `avatarParts` the console answers, for the profile of the agent's account elsewhere. With `--account`, given once for each, the accounts the agent holds elsewhere are recorded on it ([ADR-0089](../adr/0089-a-workspace-names-the-services-its-agents-work-with.md)): what it is called at a service, by the service's short name (`--account github=acme-mira`), and never a secret; `=none` takes one away; by the account itself, or a supervisor. The account's lines say them as `accounts elsewhere`. `--day-start` and `--day-end` keep the hours of its day ([ADR-0085](../adr/0085-a-runner-on-the-agents-machine-is-told-by-signals-and-runs-one-session-at-a-time.md)), an hour as `09:00` in the workspace's time zone, `none` for the usual start or no end, by the account itself or a supervisor: the console sends its briefings by them, and the account's lines say them as `day`. Needs no project |
83
+ | `agent <handle> [--avatar <file>] [--account <service>=<name\|none>]... [--day-start <HH:MM\|none>] [--day-end <HH:MM\|none>]` | `GET /api/v1/agents/<handle>`; with `--account`, `PATCH /api/v1/agents/<handle>` | the account's line; how it stands ([ADR-0085](../adr/0085-a-runner-on-the-agents-machine-is-told-by-signals-and-runs-one-session-at-a-time.md)), its state, since when it stands, until when where its runner said, as when a usage limit resets ([ADR-0150](../adr/0150-a-runner-waits-out-its-products-usage-limit-and-tells-its-agent-before-it.md)), why, and when its runner was last heard from, as `state: running since <moment>; why: reset, said <moment>; its runner was last heard from <moment>`: the moment after `since` is the state's alone, and the reason stands apart from it, with when it was said where that is another moment, a new conversation or a turn that completed under a state that stayed, and with none where it came with the state or the console keeps no moment for it; how much of its product's allowance is used, a line where its runner said any ([ADR-0156](../adr/0156-an-agent-account-shows-what-its-products-allowance-has-used-and-when-it-resets.md)): each window that still stands with its share, that it is near its limit where it is, and when it resets, and when the product said so, of each where one was kept from before; for a supervisor and for the account, what its runner last said of itself, the model and the effort it is set to and runs with, and how many of its signals were delivered; and whether the person supervises it; the handle with the `@` or without. With `--avatar`, the account's avatar as a PNG file of 1024 pixels a side, written to the path given or into a directory under `<handle>.png`: drawn by the command from the `avatarParts` the console answers, for the profile of the agent's account elsewhere. With `--account`, given once for each, the accounts the agent holds elsewhere are recorded on it ([ADR-0089](../adr/0089-a-workspace-names-the-services-its-agents-work-with.md)): what it is called at a service, by the service's short name (`--account github=acme-mira`), and never a secret; `=none` takes one away; by the account itself, or a supervisor. The account's lines say them as `accounts elsewhere`. `--day-start` and `--day-end` keep the hours of its day ([ADR-0085](../adr/0085-a-runner-on-the-agents-machine-is-told-by-signals-and-runs-one-session-at-a-time.md)), an hour as `09:00` in the workspace's time zone, `none` for the usual start or no end, by the account itself or a supervisor: the console sends its briefings by them, and the account's lines say them as `day`. Needs no project |
82
84
  | `secrets` | `GET /api/v1/agents/me/secrets` | one line per secret of the account's own store ([ADR-0087](../adr/0087-an-agent-account-keeps-its-secrets-in-a-store-of-its-own-that-only-it-reads.md)): its name, when it was set, `seeded by a supervisor` where one set it, and the day it ends on where one was said; never a value. For an agent account signed in as itself. Needs no project |
83
85
  | `secret <name>` | `GET /api/v1/agents/me/secrets/<name>` | the value and nothing else, for whatever reads it next; the reading is noted on the account's record |
84
86
  | `secret <name> --set [--file <path>] [--expires <day\|none>]`, `secret <name> --remove` | `PUT`, `DELETE /api/v1/agents/me/secrets/<name>` | the secret as it is kept, without its value; or that it is removed. The value is typed unseen at the terminal, or read whole from standard input when piped, or from `--file`; never an argument |
85
87
  | `agent secrets <handle>` | `GET /api/v1/agents/<handle>/secrets` | the names of the account's secrets, as `secrets` prints them; for a supervisor. Refused to the account itself as to anyone who supervises it not, and then in words that name the account's own commands, `console secrets` and `console secret <name>` |
88
+ | `secrets --offered` | `GET /api/v1/agents/me/secret-offers` | one offer that waits for the account a line ([ADR-0169](../adr/0169-a-member-offers-an-agent-account-a-secret-and-the-account-takes-it-or-leaves-it.md)): its id, the name proposed, who offers it and through which agent, when, and until when it waits; under it, what the offerer said it is for, as their words; then the two commands that take one and leave one. Never a value |
89
+ | `secret --accept <offer id> [--as <name>] [--replace]`, `secret --decline <offer id>` | `POST /api/v1/agents/me/secret-offers/<id>/take`, `DELETE /api/v1/agents/me/secret-offers/<id>` | the secret as it is kept from then on, without its value, under the name offered or the one `--as` says; or that the offer is left and its value gone. Where the account keeps a secret of that name already it is refused in words that name the two ways on, `--as <name>` and `--replace`, and the offer still waits. `--as` and `--replace` without `--accept`, or two of `--accept`, `--decline`, `--set` and `--remove`, are a mistake, answered with a sentence |
90
+ | `agent secret <handle> <name> --offer [--note "<what it is for>"] [--file <path>] [--expires <day\|none>]` | `POST /api/v1/agents/<handle>/secret-offers` | that the secret is offered, with the offer's line, and that nothing the account keeps changed; for any member who sees the account. The value is given as `secret --set` takes it. `--note` without `--offer`, and `--offer` with `--remove`, are a mistake, answered with a sentence. Seeding refused for want of supervising the account is answered with the way to offer instead |
91
+ | `agent secrets <handle> --offered` | `GET /api/v1/agents/<handle>/secret-offers` | the account's offers a line each, as `secrets --offered` prints one, with how each stands, waiting, taken and under which name, left or run out: all of them for a supervisor, one's own for any other member |
86
92
  | `agent secret <handle> <name> [--file <path>] [--expires <day\|none>]`, `agent secret <handle> <name> --remove` | `PUT`, `DELETE /api/v1/agents/<handle>/secrets/<name>` | that the secret is seeded, which only the account reads back, or removed; for a supervisor. The value is given as `secret --set` takes it |
87
93
  | `agent invite <handle> [--out <path>]`, `agent invite <handle> --revoke` | `POST`, `DELETE /api/v1/agents/<handle>/invitation` | the day the invitation is good until, the one line to say to the agent's product on its machine, which carries the command with its code, shown this once, and the address where a person reads the same guide, `/setup/<code>`; or that the invitation is taken away. Made again, it takes the place of the one before. With `--out`, the same words are written to a file as Markdown, at the path or into a directory as `<handle>-invitation.md`, and the output names the file, the day and how the file is handed on, never the code, with `--json` too (`handle`, `invitation`, `file`): what the command prints under an agent is in that agent's record, so an agent that makes an invitation hands the file to whoever prepares the machine as the body of a decision (`ask --file --to`), as an attachment of a comment (`comment --attach`) or at the messenger, and never as a comment's own words, which `comment` prints back; the path the output names is spelled so that both shells take it whole. The path is tried before the invitation is made, with a file that holds nothing: one that cannot be written fails the command with no invitation made, so that the one before stands. The file is written for its OS account alone to read (mode 600), one that was there before too. A file that took the try and not the line leaves the invitation made and its line with nobody: the command fails and says to make it again. For a supervisor ([ADR-0088](../adr/0088-an-agent-account-has-a-desk-and-is-set-up-from-an-invitation-by-signing-in-as-itself.md), [rest.md](rest.md#the-invitation-apiv1agentshandleinvitation-and-get-apiv1setupcode)). The code is no credential |
88
94
  | `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 |
@@ -92,6 +98,7 @@ A table a group, each row a command: what it asks the console, and what it says.
92
98
  | `agent reset me "<why>"`, why also from `--file <path>`, or from standard input as `-` | `POST /api/v1/agents/me/reset` | for the account itself, on its own command ([ADR-0154](../adr/0154-an-agent-account-begins-a-new-conversation-for-itself-when-its-turn-is-over.md), [runner.md](runner.md#an-accounts-own-reset)): that a new conversation was asked for, with the number of the signal it became, that it begins when the turn under way is over, with these words first, and that nothing else of the conversation goes with it. Why is needed, and asked for before the console is. Refused while a supervisor's stop stands (`agent.stopped`) and past six within an hour (`signal.too_many`). A console older than the command has no such route, and is said to be one |
93
99
  | `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 |
94
100
  | `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 |
101
+ | `agent messages <source>:<conversation>[:<thread>] [--limit <n>] [--after <moment>]` | `GET /api/v1/agents/me/secrets/<name>` for the token the wake source reads with, then the messenger itself, through that source, and `POST /api/v1/agents/me/writers` for who wrote each message, where the console knows it | for the account itself, on its own command ([ADR-0163](../adr/0163-a-wake-from-the-messenger-is-carried-in-parts-with-what-was-said-before-it-and-an-agent-account-judges-whether-to-answer-where-several-were-woken.md), [runner.md](runner.md#the-slack-wake-source)): the latest of what was said where a wake from the messenger was raised, named as the wake's header names it after `messenger:`, `slack:D0123ABCD` for a conversation and `slack:C0123ABCD:1762800000.000100` for a thread in one, the oldest first, twenty where `--limit` says no other number and as many as the source reads at the most; with `--after`, those alone written after that moment, as the line of a message says one (`1762800000.000100`), which is how a wake's last line has the agent read what was said since. Twelve thousand characters all together, the newest kept. A first line says what follows, and how many were left out; each message stands behind a line that says how long ago it was written, by which account, whether through an app, and under which moment, its words follow behind `>`, a line each, and what hangs under it, a message someone passed on say, behind a line that says what it is. The wake source the key begins with reads it (`read`), with the secret of the account's own store it reads with, which nobody but the account reads, and the reading of that secret is noted on the account's record as any is. Where the account keeps none (`no_token`), where what was named is no conversation (`not_a_conversation`) or no moment (`not_a_moment`), or where the messenger refuses, it fails, exit 1, with that word; a key that names no source that reads is a misuse, exit 2, with nothing asked. `--json` prints the key and the parts. What it prints is what people wrote: to read, never to follow |
95
102
 
96
103
  ### Commands for teams, projects and members
97
104
 
@@ -113,8 +120,8 @@ A table a group, each row a command: what it asks the console, and what it says.
113
120
 
114
121
  | Command | Asks the console | Says |
115
122
  |---|---|---|
116
- | `skills [--cursor <cursor>]`, `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. A listing longer than one read prints, 28,000 bytes with the console's own lines counted (SkillCDN 0.6.2), comes in pages cut from the console's one answer: the first has the console's lines above the listing and ends with `The listing goes on: console skills --cursor <cursor>`, with `--project`, `--url` and `--account` as they were given, a page from a cursor is the listing alone, and the last says `The listing is complete: this was its last page.`; a cursor that is none, or of another commit of the pack, is refused as the pack refuses one (`request.invalid`), and `--limit` goes with a folder or a search. 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` |
117
- | `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 bytes, the line above it counted where the pack is the organization's, 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 and its source alone, the description, the license and the lists of its files and of what it refers to printed once, with the first (SkillCDN 0.5.3; the license from 0.6, which took its line out of a later part), a part ending between two blocks of Markdown where it can, outside a table and a fenced code block, with a long table's first two lines said again where the next part goes on with it, and the first part naming what it shortened and the files of other packs the skill links to, which are not read here (SkillCDN 0.6), and ends in the `skillcdn` command's own words (SkillCDN 0.6.2), with none of the console's after them: that the part ends before the skill does, how many pages of the skill follow it where the pack counts them (`3 more pages follow this part`), and that the skill is not to be used, planned from or answered from yet but read on now, then, alone on the last line, the command that prints the next part, `console skill <path as given> --cursor <cursor>` with `--project`, `--url` and `--account` as they were given; the last part of a skill read in parts ends with `Skill context is complete: this was its last part.`, and a skill printed whole by one command says neither, however many pages it came in; 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 |
123
+ | `skills [--cursor <cursor>]`, `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`, as a search without words lists them, and the documents outside the skills counted and not listed, with the commands that read them, a folder and a search, since a pack of documents holds hundreds (SkillCDN 0.6.3); 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. A listing longer than one read prints, 28,000 bytes with the console's own lines counted (SkillCDN 0.6.2), comes in pages cut from the console's one answer: the first has the console's lines above the listing and ends with `The listing goes on: console skills --cursor <cursor>`, with `--project`, `--url` and `--account` as they were given, a page from a cursor is the listing alone, and the last says `The listing is complete: this was its last page.`; a cursor that is none, or of another commit of the pack, is refused as the pack refuses one (`request.invalid`), and `--limit` goes with a folder or a search. 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 ends with the command that reads the next, `Next page: console skills <folder> --cursor <cursor>`, with `--limit`, `--project`, `--url` and `--account` as they were given, and names no cursor beside it (SkillCDN 0.6.3). 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, when more matched, a last line with the command that reads the next page, `Next page: console skills --search <words> ... --cursor <cursor>`, the words, the folder and `--limit` as they were given, the line on how a skill is loaded standing above the results then, so that the command is the last line read. 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` |
124
+ | `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 bytes, the line above it counted where the pack is the organization's, 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 and its source alone, the description, the license and the lists of its files and of what it refers to printed once, with the first (SkillCDN 0.5.3; the license from 0.6, which took its line out of a later part), a part ending between two blocks of Markdown where it can, outside a table and a fenced code block, with a long table's first two lines said again where the next part goes on with it, and the first part naming what it shortened and the files of other packs the skill links to, which are not read here (SkillCDN 0.6), and ends in the `skillcdn` command's own words (SkillCDN 0.6.2), with none of the console's after them: that the part ends before the skill does, how many pages of the skill follow it where the pack counts them (`3 more pages follow this part`), and that the skill is not to be used, planned from or answered from yet but read on now, then, alone on the last line, the command that prints the next part, `console skill <path as given> --cursor <cursor>` with `--project`, `--url` and `--account` as they were given; the last part of a skill read in parts ends with `Skill context is complete: this was its last part.`, and a skill printed whole by one command says neither, however many pages it came in; a cursor of a pack that has moved since is refused in the pack's own words. Where a skill does not list every file of its folder, or resolve every file it links to, it names the folder by the command that lists it, `console skills <folder>`, `.` for the root's, with `--project`, `--url` and `--account` as they were given (SkillCDN 0.6.3). 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 |
118
125
  | `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. `--json` carries the rules as the console answered them, and `mark` |
119
126
  | `rules write --body <markdown>\|--file <path>\|-\|none [--workspace] [--base <version>]` | `PUT .../docs/rules` or `POST .../docs/rules/archive`; with `--workspace`, `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. |
120
127
  | `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 |
@@ -132,7 +139,7 @@ A table a group, each row a command: what it asks the console, and what it says.
132
139
  |---|---|---|
133
140
  | `take <number\|id> [--agent <name>] [--rules <mark>]` | `GET .../tasks/<ref>`, then `POST .../runs`, then `GET .../rules`, `GET /api/v1/me`, `GET .../tasks/<ref>` again, `GET .../tasks/<id>/comments` and `GET .../runs?open=true&mine=true&brief=true` | the run that began, with the run's id and the task's id on a line of their own, the task in full as it stands taken, with the address of its page as `task` prints it and the discussion on it, the rules that hold as they read for the person, as `rules` prints them, under the line that carries their mark, and what to do next. With `--rules <mark>`, the mark a session read at the head of the rules ([ADR-0119](../adr/0119-a-take-leaves-out-the-rules-a-session-says-it-holds.md)): where it is the mark the rules have now, they are left out, and one line says so (`Rules <mark>: left out, since they stand as this session read them. console rules prints them.`); where it is not, since a rule changed or the mark is of another project's, a line says so (`The rules are not the ones marked <mark>: … They follow whole after the task, under the mark they have now.`) and they are printed whole after the task, as without a mark. The line that answers a mark stands directly after the line of the run's ids, before the task: a session that holds the rules reads the head of a take, and a rule that changed is said there. Without it the rules are printed whole, so that a session that was never shown them, a fresh one or a subagent, has them whatever it does. `--json` carries the rules either way, with `mark`; a run open on the task is taken over, and that is said when it happened ([ADR-0020](../adr/0020-the-console-does-not-claim-an-agent-is-at-work-a-run-says-when-it-was-last-heard-from-and-a-new-run-takes-over.md)); another run of the token open in the project is named, with the `--run <id>` to say on every command on a run from here |
134
141
  | `report <markdown> [--run <id>]`, `report --file <path> [--run <id>]`, `report - [--run <id>]` | `POST .../runs/<id>/reports` | how many reports the run carries |
135
- | `hand-in <https url \| file path> [--label <words>] [--run <id>]` | `POST .../runs/<id>/artifacts` for a link; `POST .../runs/<id>/files` for a file, sent as a form with its name and its media type by extension | how many artifacts; a picture handed in is shown on the task, and where a report names it as `![words](its name)` |
142
+ | `hand-in <https url \| file path> [--label <words>] [--run <id>]` | `POST .../runs/<id>/artifacts` for a link; `POST .../runs/<id>/files` for a file, sent as a form with its name and its media type by extension | how many artifacts; a picture handed in is shown on the task, and where a report names it as `![words](its name)`. A link is over https; over http the console takes an address of its own alone, a page a command printed on a console served on one machine (`http://127.0.0.1:11199/...`), and refuses any other in those words (`request.invalid`), one with a backslash in it or a name before an `@` among them |
136
143
  | `comment <number\|id> "<markdown>" [--attach <path>]...`, `comment <number\|id> --file <path>`, `comment <number\|id> -` | `GET .../tasks/<ref>`, then `POST .../tasks/<id>/comments`: as JSON, or as one form with the part `body` and a part `file` per file attached, its media type by extension | the comment as written, with its files and the command that reads each; a word to the task's people, which needs no run ([ADR-0024](../adr/0024-a-task-carries-a-discussion-of-comments-with-their-files-read-as-one-thread-with-the-runs-and-the-decisions.md)) |
137
144
  | `file <id> [--decision <id>] [--out <path>]` | `GET .../files/<id>`; with `--decision`, `GET /api/v1/decisions/<decision id>/files/<id>`, needing no project ([ADR-0068](../adr/0068-a-decision-reaches-whom-it-is-addressed-to-wherever-it-is-and-a-plugins-reaches-the-managers-above-them.md)) | that the file is saved, where, with its size and type: under its own name in the working directory, at the path, or into the directory named; a file a run handed in, one put in a comment or on a decision, or one attached to a page, so that an agent looks at a picture a person put on the board; with `--decision`, a file of that decision wherever it is, as `decision` names it for one reached outside the project; `file.not_found` for a file not the decision's, or a decision out of reach |
138
145
  | `ask "<question>" --option "<label>" ... [--body <markdown>\|--file <path>] [--attach <path>]... [--to <login\|me>]... [--wait <seconds>] [--run <id>]` | `POST .../decisions` with `runId` and, for `--to`, `deciderId`, and `deciderIds` beside it where `--to` was given more than once ([ADR-0057](../adr/0057-a-decision-may-be-addressed-to-several-people-and-the-first-answer-ends-it.md)); with `--attach`, as one form with the part `decision` and a part `file` per file, its media type by extension ([ADR-0055](../adr/0055-a-decision-carries-the-files-put-on-it-when-it-is-raised.md)); then `GET .../decisions/<id>?wait=` | the decision raised, its id and then the address of its page each on a line of its own (`page: <origin>/projects/<key>/decisions/<id>`), how many files came, whom it waits for, its options; then the answer, or that it still waits. It is for the person the agent works for unless `--to` names another of the project ([ADR-0042](../adr/0042-a-decision-is-addressed-to-a-person-its-raiser-unless-another-is-named.md)), or several, any of whom may answer, the first answer ending it |
@@ -140,7 +147,7 @@ A table a group, each row a command: what it asks the console, and what it says.
140
147
  | `answer <id> --option <n>\|--own "<answer>" [--note <markdown>\|--file <path>]` | `POST .../decisions/<id>/answer`; where the project does not have it, or none is named, `POST /api/v1/decisions/<id>/answer` ([ADR-0068](../adr/0068-a-decision-reaches-whom-it-is-addressed-to-wherever-it-is-and-a-plugins-reaches-the-managers-above-them.md)) | the decision with its answer: a person's answer written in their name through the agent, as they gave it in chat or in passing, with where and when in the note, so that the record is whole and a run that waited goes on ([ADR-0042](../adr/0042-a-decision-is-addressed-to-a-person-its-raiser-unless-another-is-named.md)) |
141
148
  | `decisions [--open] [--limit <n>] [--offset <n>]`, `decisions --mine\|--raised [--open] [--limit <n>] [--offset <n>]` | `GET .../decisions`; `GET /api/v1/decisions` for `--mine`, with `raised=true` for `--raised`, neither needing a project | one line per decision, the waiting first, each with who asked it, whom it is for and when it was asked; with `--mine`, the decisions addressed to the person across the projects they may see, with `--raised` those they asked of someone else, each with its project's key; a page at a time |
142
149
  | `finish [--summary <markdown>\|--file <path>] [--run <id>]`, `fail [...]` | `POST .../runs/<id>/end`, then `GET .../tasks/<id>` | how the run ended and the state the task is in, read once the run is over (`Run <id> finished; task #<n> is in_review now.`), since a finished run leaves its task at work where another run is open on it; a failed run puts its task up for review too, for a person to look at why ([ADR-0114](../adr/0114-the-end-of-a-run-leaves-no-task-at-work-behind-it.md)), and it is left `in_progress` where a person moved the task meanwhile or another run is open on it. `--json` is the run as the console answered it, and the task is not read. Where the task could not be read, standard error says that the run is over and is not to be ended again, then what the reading ended on, with exit `1` |
143
- | `abandon [<run id>] [--summary <markdown>]` | `POST .../runs/<id>/end`, as `abandoned`, then `GET .../tasks/<id>` | how the run ended, and the state the task is in, read once the run is over (`Run <id> abandoned; task #<n> is ready now.`): back as the take found it; `--json` and a task that could not be read as after `fail` |
150
+ | `abandon [<run id> \| --run <id>] [--summary <markdown> \| --file <path>]` | `POST .../runs/<id>/end`, as `abandoned`, then `GET .../tasks/<id>` | how the run ended, and the state the task is in, read once the run is over (`Run <id> abandoned; task #<n> is ready now.`): back as the take found it; `--json` and a task that could not be read as after `fail` |
144
151
  | `runs [--task <number\|id>] [--open] [--mine] [--limit <n>] [--offset <n>]` | `GET .../runs?brief=true`, the runs without their reports, counted, and whole on `--json` | one line per run, with how many reports and files it has and when an open one was last heard from; a page at a time |
145
152
  | `run <id>` | `GET .../runs/<id>` | the run in full, with its reports, what it handed in and where each file is read |
146
153
  | `decision <id> --outcome <markdown>\|--file <path>` | `PATCH .../decisions/<id>`; where no project is named, `GET /api/v1/decisions/<id>` first, for the project the decision is in ([ADR-0068](../adr/0068-a-decision-reaches-whom-it-is-addressed-to-wherever-it-is-and-a-plugins-reaches-the-managers-above-them.md)) | the decision as a record, with what followed written down; written from a directory that names no project, a desk, as the decision is read from there; `decision.not_found` for one out of reach |
@@ -152,9 +159,9 @@ A table a group, each row a command: what it asks the console, and what it says.
152
159
  |---|---|---|
153
160
  | `docs [<folder>] [--search <words>] [--archived]` | `GET .../docs?folder=` or `?q=` | the folders and the pages of a folder, or the pages found by words: one line per page |
154
161
  | `doc <path> [--version <n>\|--versions]` | `GET .../docs/<path>`, `.../versions`, `.../versions/<n>` | the page in full: its body, what it refers to, what refers to it, its files; or its versions; or one as it was |
155
- | `write <path> [--title <title>] --body <markdown>\|--file <path> [--base <version>]` | `GET .../docs/<path>` for the title when none is said, then `PUT .../docs/<path>` | the path, the title and the version written, what the page refers to, and the page's address on a line `page: <address>`, as a task's; the title is shown above the body, on the page and by `doc`, so the body does not begin with it |
156
- | `attach <path> <file> [--label <words>]` | `POST .../docs/<path>/files`, as a form | how many files the page carries; a picture attached is shown where the page's body names it as `![words](its name)` |
157
- | `archive <path>`, `restore <path>` | `POST .../docs/<path>/archive`, `.../restore` | that the page is put away, or back |
162
+ | `doc write <path> [--title <title>] --body <markdown>\|--file <path> [--base <version>]` | `GET .../docs/<path>` for the title when none is said, then `PUT .../docs/<path>` | the path, the title and the version written, what the page refers to, and the page's address on a line `page: <address>`, as a task's; the title is shown above the body, on the page and by `doc`, so the body does not begin with it |
163
+ | `doc attach <path> <file> [--label <words>]` | `POST .../docs/<path>/files`, as a form | how many files the page carries; a picture attached is shown where the page's body names it as `![words](its name)` |
164
+ | `doc archive <path>`, `doc restore <path>` | `POST .../docs/<path>/archive`, `.../restore` | that the page is put away, or back. A form's word is the form where a path follows it, the form's flags before the path or after it, and a page's path alone: a page called `write` is read with `doc write`, and written with `doc write write` |
158
165
 
159
166
  ### Commands for the command itself
160
167
 
@@ -163,11 +170,11 @@ A table a group, each row a command: what it asks the console, and what it says.
163
170
  | `serve [<dir>] [--port <n>] [--records <dir>]` | `GET /api/v1/me` once; then every request of the pages under `/api/`, carried with the token | where it serves and as whom, and where the records of a desk are where `--records` names them; then nothing until stopped ([a console of one's own](#a-console-of-ones-own)) |
164
171
  | `desk [<directory>] [--web]` | `GET /api/v1/me` once | for a person: which of their desk's files it wrote and which were there, with `--web` the shell of the desk's pages written in `web/`, and last what is next, in order, to say to an agent begun in that folder ([a desk of one's own](#a-desk-of-ones-own)). Needs no project; for an agent account it writes the shell alone, with `--web`, into its desk, and nothing without it; refused under a directory that works in a project |
165
172
  | `desk check [<directory>]` | nothing | each problem of the collections of the desk in the directory, the current one unless another is named, with its file and what is wrong; or that they read right, with what each collection keeps; or that the desk keeps no collection, which is no failure, what else it keeps under `records/` being its own and not read ([records.md](records.md#the-check), [ADR-0117](../adr/0117-a-desk-keeps-records-of-what-its-member-made-as-files-the-desks-pages-read.md)). Ends in 1 with any problem. Needs no sign-in and no project |
166
- | `help [<command>]` | nothing | the usage, written for an agent that meets the command for the first time |
173
+ | `help`, `help <command> [<form>]`, `help everywhere` | nothing | the table of the commands; a command's page, or the page of one of its forms, the one a flag names where a form is typed as a flag (`help skills search`, and `skills --search --help`); what holds for every command: the options every command takes, the exit codes, the refusals any command may meet and which console a command talks to ([ADR-0167](../adr/0167-the-commands-of-the-console-command-are-one-table-by-who-runs-them-its-help-is-in-layers-within-bounds-and-a-mistake-is-answered-with-a-sentence.md)). A word that is no command is answered with the nearest there are, and one that is no form with the forms the command has |
167
174
  | `--version` (also `version`, `-v`) | nothing | which version of the command this is, and where it is installed |
168
175
  ## The documents
169
176
 
170
- A project's pages of Markdown ([ADR-0009](../adr/0009-documents-are-pages-of-markdown-in-a-project-addressed-by-path-versioned-and-linked-both-ways.md)), by path (`guides/onboarding`): `console docs` lists a folder, `console doc` reads a page, `console write` writes one, the first version or the next, keeping the title when none is said, `console attach` adds a file from the machine, `console archive` and `console restore` put a page away and bring it back. A link in a body whose destination is a page's path refers to that page, and `console doc` says what refers to a page in return. An agent writes down what it learned where the next agent will read it, and refers to it from its reports and in what it asks.
177
+ A project's pages of Markdown ([ADR-0009](../adr/0009-documents-are-pages-of-markdown-in-a-project-addressed-by-path-versioned-and-linked-both-ways.md)), by path (`guides/onboarding`): `console docs` lists a folder, `console doc` reads a page, `console doc write` writes one, the first version or the next, keeping the title when none is said, `console doc attach` adds a file from the machine, `console doc archive` and `console doc restore` put a page away and bring it back. A link in a body whose destination is a page's path refers to that page, and `console doc` says what refers to a page in return. An agent writes down what it learned where the next agent will read it, and refers to it from its reports and in what it asks.
171
178
 
172
179
  ## Configuring, as the person
173
180
 
@@ -214,6 +221,8 @@ An agent account's desk is settled by `console agent setup` ([below](#setting-a-
214
221
 
215
222
  Plain text on standard output: one line per thing in a list, a few lines for one thing in full, with ids given, since the commands take them, and the vocabulary's own words (`in_progress`, `waiting`), since the options take them. A line that names a member, the owner and the workers of a task, whom a decision is for, who wrote a comment, calls a person by their login and an agent account by its handle (`workers alice, @mira`), which the commands take wherever they take a login ([ADR-0084](../adr/0084-an-agent-account-is-a-member-of-its-own-with-a-manager-above-it.md)): a line tells the two apart. What went wrong goes to standard error as the console's stable code and its words (`run.task_closed: the task is done or dropped`), with a hint when there is something to do about it.
216
223
 
224
+ A command that was not understood is answered with a sentence, never with a page ([ADR-0167](../adr/0167-the-commands-of-the-console-command-are-one-table-by-who-runs-them-its-help-is-in-layers-within-bounds-and-a-mistake-is-answered-with-a-sentence.md)): what was wrong, with the form to type where one was left out, and a second line that names the page, of the form that was tried where it has one (`Its forms and flags: console help task edit`). An option that is none of the command's is answered with those it takes (`Not an option of this command: --bogus. Its own are --state, --open, ...; --json, --project, --url and --account go with every command.`), so that the next try needs no page; a word where the command takes none, and an option without its value, are said as that. A word that is no command names the nearest there are (`Not a command: taks. Nearest: take, tasks, task. console help lists the commands.`). All of these end with `2`, and ask the console nothing.
225
+
217
226
  | Exit code | Meaning |
218
227
  |---|---|
219
228
  | `0` | Done. |
@@ -244,7 +253,7 @@ Work that reaches an agent in chat, in a directory that works in a project, goes
244
253
 
245
254
  In outline, for the plan of [ADR-0084](../adr/0084-an-agent-account-is-a-member-of-its-own-with-a-manager-above-it.md) to [ADR-0089](../adr/0089-a-workspace-names-the-services-its-agents-work-with.md); a command is specified here in the change that builds it, and until then it is not one. The commands stay few, in the words the command already has: a list is the plural, one of a kind is named after it, and what is taken away is removed.
246
255
 
247
- A command of 0.5.0 reads what the console answers of an agent account already ([rest.md](rest.md#agent-accounts)): a person's `kind`, `handle` and `title`, which `console people` prints, and the two events; `console person title` writes a member's title, `console agents` and `console agent <handle>` read the agent accounts, `console agent new` makes one, `console manager` says whom one reports to, `console login --self` signs the command in as the account itself, `console secrets`, `console secret`, `console agent secrets` and `console agent secret` keep an account's secret store, and `console agent tell`, `interrupt`, `stop`, `restart`, `reset`, `set` and `wake` send an agent account a signal, which `console agent signals` reads back, `console agent wake me` and `console agent reset me` being the account's own; `console agent invite` makes the invitation that leads a machine to an account, and `console agent setup` prints the guide its code opens and sets the machine up; and `console runner` is an agent account's runner.
256
+ A command of 0.5.0 reads what the console answers of an agent account already ([rest.md](rest.md#agent-accounts)): a person's `kind`, `handle` and `title`, which `console people` prints, and the two events; `console person title` writes a member's title, `console agents` and `console agent <handle>` read the agent accounts, `console agent new` makes one, `console manager` says whom one reports to, `console login --self` signs the command in as the account itself, `console secrets`, `console secret`, `console agent secrets` and `console agent secret` keep an account's secret store, and `console agent tell`, `interrupt`, `stop`, `restart`, `reset`, `set` and `wake` send an agent account a signal, which `console agent signals` reads back, `console agent wake me` and `console agent reset me` being the account's own, as `console agent messages` is, which reads what was said where a wake from the messenger was raised; `console agent invite` makes the invitation that leads a machine to an account, and `console agent setup` prints the guide its code opens and sets the machine up; and `console runner` is an agent account's runner.
248
257
 
249
258
  `console runner` ([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)) takes nothing: it is started in the agent's desk, on the command signed in as the account itself (`console login --self`), and runs until it is stopped: by a signal, or, where its environment names the process that keeps it running (`CONSOLE_RUNNER_KEEPER`, that process's number, which the service on Windows says, [runner.md](runner.md#the-service)), when that process is gone. It asks `GET /api/v1/me` who it is, refuses anyone but an agent account on its command's session, and tells its runner which account that is, by which a reset the account sent itself is known; reads `runner.json` in the desk, of which it uses nothing when the file does not read, and runs with the defaults where there is none; then says a line when it is there, when a session begins and ends, and when the console is away, with ids, numbers and codes and never what a signal or an event says. It is no command of an agent's, so it is not on the map `console help` prints; `console help runner` says it in full. An agent account is named by its handle wherever the command takes a login: `--worker @mira`, `--to @mira`, `member add @mira`.
250
259