@skillcdn/console 0.5.0 → 0.5.1

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 (345) hide show
  1. package/README.md +68 -11
  2. package/SKILLCDN.md +3 -3
  3. package/dist/agent-page.d.ts.map +1 -1
  4. package/dist/agent-page.js +3 -2
  5. package/dist/agent-page.js.map +1 -1
  6. package/dist/api.d.ts +7 -6
  7. package/dist/api.d.ts.map +1 -1
  8. package/dist/api.js +6 -5
  9. package/dist/api.js.map +1 -1
  10. package/dist/charts.d.ts +103 -0
  11. package/dist/charts.d.ts.map +1 -0
  12. package/dist/charts.js +182 -0
  13. package/dist/charts.js.map +1 -0
  14. package/dist/cli/cli.d.ts +26 -2
  15. package/dist/cli/cli.d.ts.map +1 -1
  16. package/dist/cli/cli.js +1304 -383
  17. package/dist/cli/cli.js.map +1 -1
  18. package/dist/cli/command-words.d.ts +20 -0
  19. package/dist/cli/command-words.d.ts.map +1 -0
  20. package/dist/cli/command-words.js +51 -0
  21. package/dist/cli/command-words.js.map +1 -0
  22. package/dist/cli/credentials.d.ts +54 -5
  23. package/dist/cli/credentials.d.ts.map +1 -1
  24. package/dist/cli/credentials.js +126 -20
  25. package/dist/cli/credentials.js.map +1 -1
  26. package/dist/cli/directory.d.ts +19 -4
  27. package/dist/cli/directory.d.ts.map +1 -1
  28. package/dist/cli/directory.js +16 -8
  29. package/dist/cli/directory.js.map +1 -1
  30. package/dist/cli/format.d.ts +65 -8
  31. package/dist/cli/format.d.ts.map +1 -1
  32. package/dist/cli/format.js +242 -37
  33. package/dist/cli/format.js.map +1 -1
  34. package/dist/cli/help.d.ts +13 -4
  35. package/dist/cli/help.d.ts.map +1 -1
  36. package/dist/cli/help.js +92 -54
  37. package/dist/cli/help.js.map +1 -1
  38. package/dist/cli/main.js +76 -2
  39. package/dist/cli/main.js.map +1 -1
  40. package/dist/cli/pack.d.ts +69 -60
  41. package/dist/cli/pack.d.ts.map +1 -1
  42. package/dist/cli/pack.js +241 -270
  43. package/dist/cli/pack.js.map +1 -1
  44. package/dist/cli/plugin-check.d.ts +42 -0
  45. package/dist/cli/plugin-check.d.ts.map +1 -1
  46. package/dist/cli/plugin-check.js +221 -36
  47. package/dist/cli/plugin-check.js.map +1 -1
  48. package/dist/cli/plugin-cli.d.ts +6 -1
  49. package/dist/cli/plugin-cli.d.ts.map +1 -1
  50. package/dist/cli/plugin-cli.js +21 -4
  51. package/dist/cli/plugin-cli.js.map +1 -1
  52. package/dist/cli/plugin-main.js +1 -0
  53. package/dist/cli/plugin-main.js.map +1 -1
  54. package/dist/cli/serve.d.ts +33 -1
  55. package/dist/cli/serve.d.ts.map +1 -1
  56. package/dist/cli/serve.js +252 -3
  57. package/dist/cli/serve.js.map +1 -1
  58. package/dist/client.d.ts +48 -9
  59. package/dist/client.d.ts.map +1 -1
  60. package/dist/client.js +72 -80
  61. package/dist/client.js.map +1 -1
  62. package/dist/components/agent-page.d.ts +64 -1
  63. package/dist/components/agent-page.d.ts.map +1 -1
  64. package/dist/components/agent-page.js +244 -96
  65. package/dist/components/agent-page.js.map +1 -1
  66. package/dist/components/charts.d.ts +157 -0
  67. package/dist/components/charts.d.ts.map +1 -0
  68. package/dist/components/charts.js +182 -0
  69. package/dist/components/charts.js.map +1 -0
  70. package/dist/components/desk-records.d.ts +102 -0
  71. package/dist/components/desk-records.d.ts.map +1 -0
  72. package/dist/components/desk-records.js +221 -0
  73. package/dist/components/desk-records.js.map +1 -0
  74. package/dist/components/desk.d.ts +85 -0
  75. package/dist/components/desk.d.ts.map +1 -0
  76. package/dist/components/desk.js +135 -0
  77. package/dist/components/desk.js.map +1 -0
  78. package/dist/components/event-feed.d.ts.map +1 -1
  79. package/dist/components/event-feed.js +4 -1
  80. package/dist/components/event-feed.js.map +1 -1
  81. package/dist/components/home.d.ts.map +1 -1
  82. package/dist/components/home.js +4 -2
  83. package/dist/components/home.js.map +1 -1
  84. package/dist/components/plugin-settings.d.ts.map +1 -1
  85. package/dist/components/plugin-settings.js +54 -3
  86. package/dist/components/plugin-settings.js.map +1 -1
  87. package/dist/components/projects.d.ts.map +1 -1
  88. package/dist/components/projects.js +27 -7
  89. package/dist/components/projects.js.map +1 -1
  90. package/dist/components/rules.d.ts +8 -10
  91. package/dist/components/rules.d.ts.map +1 -1
  92. package/dist/components/rules.js +35 -13
  93. package/dist/components/rules.js.map +1 -1
  94. package/dist/components/setup.d.ts +9 -3
  95. package/dist/components/setup.d.ts.map +1 -1
  96. package/dist/components/setup.js +10 -4
  97. package/dist/components/setup.js.map +1 -1
  98. package/dist/console.css +677 -7
  99. package/dist/console.d.ts +5 -0
  100. package/dist/console.d.ts.map +1 -1
  101. package/dist/console.js +14 -8
  102. package/dist/console.js.map +1 -1
  103. package/dist/data.d.ts.map +1 -1
  104. package/dist/data.js +32 -33
  105. package/dist/data.js.map +1 -1
  106. package/dist/desk-page.d.ts +38 -0
  107. package/dist/desk-page.d.ts.map +1 -0
  108. package/dist/desk-page.js +184 -0
  109. package/dist/desk-page.js.map +1 -0
  110. package/dist/desk-records-page.d.ts +18 -0
  111. package/dist/desk-records-page.d.ts.map +1 -0
  112. package/dist/desk-records-page.js +130 -0
  113. package/dist/desk-records-page.js.map +1 -0
  114. package/dist/desk-records.d.ts +247 -0
  115. package/dist/desk-records.d.ts.map +1 -0
  116. package/dist/desk-records.js +543 -0
  117. package/dist/desk-records.js.map +1 -0
  118. package/dist/desk.d.ts +122 -0
  119. package/dist/desk.d.ts.map +1 -0
  120. package/dist/desk.js +211 -0
  121. package/dist/desk.js.map +1 -0
  122. package/dist/feed-stream.d.ts +39 -0
  123. package/dist/feed-stream.d.ts.map +1 -0
  124. package/dist/feed-stream.js +117 -0
  125. package/dist/feed-stream.js.map +1 -0
  126. package/dist/home-tiles.d.ts +10 -3
  127. package/dist/home-tiles.d.ts.map +1 -1
  128. package/dist/home-tiles.js +54 -31
  129. package/dist/home-tiles.js.map +1 -1
  130. package/dist/i18n/en.d.ts +180 -5
  131. package/dist/i18n/en.d.ts.map +1 -1
  132. package/dist/i18n/en.js +184 -7
  133. package/dist/i18n/en.js.map +1 -1
  134. package/dist/i18n/ko.d.ts.map +1 -1
  135. package/dist/i18n/ko.js +169 -6
  136. package/dist/i18n/ko.js.map +1 -1
  137. package/dist/index.d.ts +8 -0
  138. package/dist/index.d.ts.map +1 -1
  139. package/dist/index.js +8 -0
  140. package/dist/index.js.map +1 -1
  141. package/dist/limits.d.ts +11 -0
  142. package/dist/limits.d.ts.map +1 -1
  143. package/dist/limits.js +11 -0
  144. package/dist/limits.js.map +1 -1
  145. package/dist/onboarding.d.ts +6 -0
  146. package/dist/onboarding.d.ts.map +1 -1
  147. package/dist/onboarding.js +3 -3
  148. package/dist/onboarding.js.map +1 -1
  149. package/dist/plugin/context.d.ts +42 -11
  150. package/dist/plugin/context.d.ts.map +1 -1
  151. package/dist/plugin/limits.d.ts +2 -0
  152. package/dist/plugin/limits.d.ts.map +1 -1
  153. package/dist/plugin/limits.js +2 -0
  154. package/dist/plugin/limits.js.map +1 -1
  155. package/dist/plugin/manifest.d.ts +13 -0
  156. package/dist/plugin/manifest.d.ts.map +1 -1
  157. package/dist/plugin/manifest.js +30 -3
  158. package/dist/plugin/manifest.js.map +1 -1
  159. package/dist/plugin/rest-schemas.d.ts +55 -0
  160. package/dist/plugin/rest-schemas.d.ts.map +1 -1
  161. package/dist/plugin/rest-schemas.js +37 -0
  162. package/dist/plugin/rest-schemas.js.map +1 -1
  163. package/dist/plugin/sandbox.d.ts.map +1 -1
  164. package/dist/plugin/sandbox.js +4 -1
  165. package/dist/plugin/sandbox.js.map +1 -1
  166. package/dist/plugin/testing.d.ts +6 -2
  167. package/dist/plugin/testing.d.ts.map +1 -1
  168. package/dist/plugin/testing.js +52 -10
  169. package/dist/plugin/testing.js.map +1 -1
  170. package/dist/plugin.d.ts +1 -1
  171. package/dist/plugin.d.ts.map +1 -1
  172. package/dist/plugin.js +1 -1
  173. package/dist/plugin.js.map +1 -1
  174. package/dist/records.d.ts +283 -0
  175. package/dist/records.d.ts.map +1 -0
  176. package/dist/records.js +543 -0
  177. package/dist/records.js.map +1 -0
  178. package/dist/routes.d.ts +3 -1
  179. package/dist/routes.d.ts.map +1 -1
  180. package/dist/routes.js +3 -1
  181. package/dist/routes.js.map +1 -1
  182. package/dist/rules.d.ts +30 -11
  183. package/dist/rules.d.ts.map +1 -1
  184. package/dist/rules.js +98 -45
  185. package/dist/rules.js.map +1 -1
  186. package/dist/runner/acp.d.ts +1 -1
  187. package/dist/runner/acp.d.ts.map +1 -1
  188. package/dist/runner/acp.js +31 -20
  189. package/dist/runner/acp.js.map +1 -1
  190. package/dist/runner/claude.d.ts +1 -1
  191. package/dist/runner/claude.d.ts.map +1 -1
  192. package/dist/runner/claude.js +85 -15
  193. package/dist/runner/claude.js.map +1 -1
  194. package/dist/runner/codex.d.ts +1 -1
  195. package/dist/runner/codex.d.ts.map +1 -1
  196. package/dist/runner/codex.js +19 -16
  197. package/dist/runner/codex.js.map +1 -1
  198. package/dist/runner/desk.d.ts +43 -2
  199. package/dist/runner/desk.d.ts.map +1 -1
  200. package/dist/runner/desk.js +166 -10
  201. package/dist/runner/desk.js.map +1 -1
  202. package/dist/runner/process.d.ts.map +1 -1
  203. package/dist/runner/process.js +11 -4
  204. package/dist/runner/process.js.map +1 -1
  205. package/dist/runner/redact.d.ts +39 -4
  206. package/dist/runner/redact.d.ts.map +1 -1
  207. package/dist/runner/redact.js +81 -5
  208. package/dist/runner/redact.js.map +1 -1
  209. package/dist/runner/runner.d.ts +15 -1
  210. package/dist/runner/runner.d.ts.map +1 -1
  211. package/dist/runner/runner.js +231 -33
  212. package/dist/runner/runner.js.map +1 -1
  213. package/dist/runner/task-scheduler.d.ts +20 -0
  214. package/dist/runner/task-scheduler.d.ts.map +1 -1
  215. package/dist/runner/task-scheduler.js +34 -4
  216. package/dist/runner/task-scheduler.js.map +1 -1
  217. package/dist/runner/types.d.ts +36 -1
  218. package/dist/runner/types.d.ts.map +1 -1
  219. package/dist/runner/types.js +17 -0
  220. package/dist/runner/types.js.map +1 -1
  221. package/dist/runner.d.ts +6 -6
  222. package/dist/runner.d.ts.map +1 -1
  223. package/dist/runner.js +5 -5
  224. package/dist/runner.js.map +1 -1
  225. package/dist/schemas.d.ts +509 -5
  226. package/dist/schemas.d.ts.map +1 -1
  227. package/dist/schemas.js +76 -16
  228. package/dist/schemas.js.map +1 -1
  229. package/dist/services.d.ts +22 -5
  230. package/dist/services.d.ts.map +1 -1
  231. package/dist/services.js +35 -15
  232. package/dist/services.js.map +1 -1
  233. package/dist/setup-guide.d.ts +3 -1
  234. package/dist/setup-guide.d.ts.map +1 -1
  235. package/dist/setup-guide.js +7 -4
  236. package/dist/setup-guide.js.map +1 -1
  237. package/dist/vocabulary.d.ts +14 -3
  238. package/dist/vocabulary.d.ts.map +1 -1
  239. package/dist/vocabulary.js +13 -3
  240. package/dist/vocabulary.js.map +1 -1
  241. package/docs/specs/cli.md +64 -38
  242. package/docs/specs/plugins.md +27 -20
  243. package/docs/specs/records.md +113 -0
  244. package/docs/specs/rest.md +20 -13
  245. package/docs/specs/runner.md +23 -17
  246. package/package.json +7 -2
  247. package/skills/building-a-console/SKILL.md +4 -4
  248. package/skills/building-a-plugin/SKILL.md +6 -6
  249. package/skills/deploying-a-console/SKILL.md +4 -4
  250. package/skills/deploying-a-console/references/resources.md +41 -4
  251. package/skills/deploying-a-console/references/running-it-again.md +3 -2
  252. package/skills/keeping-a-desk/SKILL.md +133 -0
  253. package/skills/keeping-a-desk/collections.md +96 -0
  254. package/skills/planning-the-board/SKILL.md +14 -18
  255. package/skills/planning-the-board/references/a-task.md +2 -2
  256. package/skills/planning-the-board/references/project-rules.md +13 -14
  257. package/skills/planning-the-board/references/setting-up.md +15 -13
  258. package/skills/running-an-agent/SKILL.md +10 -9
  259. package/skills/working-the-board/SKILL.md +62 -44
  260. package/skills/working-the-board/references/terms.md +9 -5
  261. package/skills/working-the-board/references/the-pack.md +12 -10
  262. package/skills/working-the-board/references/the-sentence.md +2 -2
  263. package/src/agent-page.tsx +3 -1
  264. package/src/api.ts +77 -2
  265. package/src/charts.ts +250 -0
  266. package/src/cli/cli.ts +1698 -476
  267. package/src/cli/command-words.ts +56 -0
  268. package/src/cli/credentials.ts +181 -20
  269. package/src/cli/directory.ts +28 -10
  270. package/src/cli/format.ts +301 -46
  271. package/src/cli/help.ts +102 -54
  272. package/src/cli/main.ts +72 -2
  273. package/src/cli/pack.ts +333 -372
  274. package/src/cli/plugin-check.ts +275 -34
  275. package/src/cli/plugin-cli.ts +28 -4
  276. package/src/cli/plugin-main.ts +1 -0
  277. package/src/cli/serve.ts +295 -2
  278. package/src/client.ts +192 -177
  279. package/src/components/agent-page.tsx +489 -243
  280. package/src/components/charts.tsx +680 -0
  281. package/src/components/desk-records.tsx +724 -0
  282. package/src/components/desk.tsx +471 -0
  283. package/src/components/event-feed.tsx +5 -1
  284. package/src/components/home.tsx +12 -0
  285. package/src/components/plugin-settings.tsx +171 -12
  286. package/src/components/projects.tsx +29 -12
  287. package/src/components/rules.tsx +94 -34
  288. package/src/components/setup.tsx +18 -3
  289. package/src/console.tsx +17 -9
  290. package/src/data.ts +37 -34
  291. package/src/desk-page.tsx +332 -0
  292. package/src/desk-records-page.tsx +256 -0
  293. package/src/desk-records.ts +808 -0
  294. package/src/desk.ts +329 -0
  295. package/src/feed-stream.ts +144 -0
  296. package/src/home-tiles.ts +55 -35
  297. package/src/i18n/en.ts +196 -9
  298. package/src/i18n/ko.ts +178 -8
  299. package/src/index.ts +118 -0
  300. package/src/limits.ts +11 -0
  301. package/src/onboarding.ts +12 -4
  302. package/src/plugin/context.ts +55 -12
  303. package/src/plugin/limits.ts +2 -0
  304. package/src/plugin/manifest.ts +38 -2
  305. package/src/plugin/rest-schemas.ts +41 -0
  306. package/src/plugin/sandbox.ts +4 -1
  307. package/src/plugin/testing.ts +63 -12
  308. package/src/plugin.ts +2 -0
  309. package/src/records.ts +702 -0
  310. package/src/routes.ts +3 -1
  311. package/src/rules.ts +108 -47
  312. package/src/runner/acp.ts +47 -29
  313. package/src/runner/claude.ts +113 -23
  314. package/src/runner/codex.ts +35 -25
  315. package/src/runner/desk.ts +198 -12
  316. package/src/runner/process.ts +11 -4
  317. package/src/runner/redact.ts +92 -6
  318. package/src/runner/runner.ts +275 -34
  319. package/src/runner/task-scheduler.ts +36 -4
  320. package/src/runner/types.ts +47 -1
  321. package/src/runner.ts +27 -2
  322. package/src/schemas.ts +83 -15
  323. package/src/services.ts +49 -14
  324. package/src/setup-guide.ts +6 -2
  325. package/src/styles/README.md +11 -1
  326. package/src/styles/console.css +9 -0
  327. package/src/styles/pages/desk.css +126 -0
  328. package/src/styles/pages/documents.css +5 -0
  329. package/src/styles/parts/bars.css +80 -0
  330. package/src/styles/parts/chart.css +173 -0
  331. package/src/styles/parts/figures.css +65 -0
  332. package/src/styles/parts/legend.css +48 -0
  333. package/src/styles/parts/series.css +32 -0
  334. package/src/styles/parts/share.css +25 -0
  335. package/src/styles/parts/spark.css +23 -0
  336. package/src/styles/parts/stat.css +69 -0
  337. package/src/styles/tokens.css +13 -7
  338. package/src/vocabulary.ts +16 -3
  339. package/template/desk-web/README.md +8 -0
  340. package/template/desk-web/index.html +13 -0
  341. package/template/desk-web/package.json +25 -0
  342. package/template/desk-web/src/main.tsx +24 -0
  343. package/template/desk-web/src/page.tsx +51 -0
  344. package/template/desk-web/tsconfig.json +16 -0
  345. package/template/desk-web/vite.config.ts +15 -0
package/README.md CHANGED
@@ -14,9 +14,10 @@
14
14
 
15
15
  | Layer | What it is for | Status |
16
16
  |---|---|---|
17
- | The schemas and the client of the console's REST API | A custom UI talks to any console with types, and the contract has one source, shared with the server in `apps/console`. Also on its own at `@skillcdn/console/api`, which brings no React with it. | exported |
17
+ | The schemas and the client of the console's REST API | A custom UI talks to any console with types, and the contract has one source, shared with the server in `apps/console`. Also on its own at `@skillcdn/console/api`, which brings no React with it, and carries the format of a desk's records ([docs/specs/records.md](https://github.com/skillcdn/console/blob/main/docs/specs/records.md)): `recordsItemsSchema` and the rest, with `readRecords` and `checkRecords`. | exported |
18
18
  | The `console` command | The agent's side of the console: a thin client of the REST API, shipped as the package's `bin`, which a person signs in once with a token. Also as a function at `@skillcdn/console/cli`. | exported |
19
19
  | The components: the board, a task, a run, a decision, the live feed | Each takes its data as props and nothing from the network. | exported |
20
+ | The charts | A figure, a list of bars, a chart over time, a sparkline, a share and a table of figures, parts of the console's look for a page of your own and a plugin's: the components here, and the measures they are placed by on their own at `@skillcdn/console/charts`, which depends on nothing. | exported |
20
21
  | `createConsole(config)` | The default console assembled from the components, with the places a team may replace named. The UI the image serves is this, with the default configuration. | exported |
21
22
  | The serving of a build | `@skillcdn/console/web`: the files of a build, the page for every other path, under one policy. What the image serves the default UI with, and what `console serve` serves a console of your own with. Node only. | exported |
22
23
  | The contract of a plugin | `@skillcdn/console/plugin`: the manifest's schema, `definePlugin` and its definers, the types of `ctx`; `@skillcdn/console/plugin/web`: the frame's side of the bridge; `@skillcdn/console/plugin/testing`: a `ctx` for a plugin's tests; and `console-plugin`, the second `bin`, which writes a plugin from a template and checks one as a console would. A console runs them, an agent works one through `console plugin <key>`, and a person sees its pages in frames the console's page embeds, `PluginFrame` here, on the front page's `HomeGrid` among the projects, with the plugins' settings on `/settings/plugins` ([docs/specs/plugins.md](https://github.com/skillcdn/console/blob/main/docs/specs/plugins.md)). | exported |
@@ -34,7 +35,7 @@ const { items } = await client.tasks({ state: "ready" });
34
35
  - **The bounds** every input is held to (`MAX_TITLE_LENGTH`, `MAX_BODY_LENGTH`, `MAX_OPTIONS`, ...), so that a page can say so before a request is made.
35
36
  - **The routes:** `REST_ROUTES` (the workspace's resources), `AUTH_ROUTES`, and the helpers that build a path (`projectPath(key, collection, id)` for everything under a project, `projectIconPath(key, icon)` for a project's image, `restPath`, `loginPath`, `signInPath`). The API itself is described in [docs/specs/rest.md](https://github.com/skillcdn/console/blob/main/docs/specs/rest.md).
36
37
  - **The schemas,** in the mini build of zod, which runs in a browser: what the server answers (`restProjectSchema`, `restMemberSchema`, `restTaskSchema`, `restDecisionSchema`, `restEventSchema`, `restMeSchema`, ...) and what it is sent (`restProjectInputSchema`, `restTaskInputSchema`, `restTaskPatchSchema`, `restDecisionInputSchema`, `restAnswerInputSchema`, ...). Absent values are `null` on the wire, never missing keys. The server validates with the input schemas and is tested against the others.
37
- - **The client:** `createClient({ baseUrl, fetch })` answers typed values parsed with those schemas, and throws an `ApiError` with the server's stable `code` (or `network`, `invalid_response`) for anything else. It takes a `fetch` and reads nothing else. With `userAgent`, every request names the client: the command sends `skillcdn-console/<version>`, by which the console holds it to the versions it takes ([ADR-0025](https://github.com/skillcdn/console/blob/main/docs/adr/0025-the-command-names-its-version-on-every-request-and-the-console-holds-it-to-the-range-it-takes.md)); `me()` answers the console's version and that range as `console`, and the `compat` module (`parseVersion`, `compareVersions`, `judgeClient`, `clientRange`, `commonRange`, `judgeConsole`, `consoleRange`, `userAgentOf`, `clientVersionOf`, the headers `VERSION_HEADER` and `CLIENT_RANGE_HEADER`, `CLIENT_POLICY`, the oldest command a console answers, by which the package narrows the common rule and never widens it, and `CONSOLE_AT_LEAST`, the oldest console the command works with; within a line of SkillCDN the two go together whatever the patch, and a release that changes what passes between them raises the floors, ADR-0038) is exported for a console or a script that compares itself with it. With `token`, a token a person made on their Agents page, every request carries `Authorization: Bearer` and no cookie: how a script or a console of a person's own acts as that person, configuring included (`createProject`, `updatePerson`, a project's `update`, `setIcon`, `addMember`, `updateMember` and `removeMember`, `createCategory`, `updateCategory` and `removeCategory`), within the person's own roles; only the tokens themselves and the approval of a connection are a session's, except that a token gives itself up with `giveUpToken` ([ADR-0021](https://github.com/skillcdn/console/blob/main/docs/adr/0021-a-token-configures-as-its-person-does.md)). The board is a project's: `client.projects()` lists those the person may see, and `client.project(key)` is the client of one, with its tasks, decisions, goals, runs, files, events, skills (`skills`, the pack by name and by count with its skills and, for a program, what the address serves as `@skillcdn/core` spells it; `skill`, `skillFile`, `skillBrowse` and `skillFind`, each answering what the pack answered as `read`, a `RestSkill`, `RestFile`, `RestBrowse` or `RestFind` of `@skillcdn/core`, with the pack's own refusal beside the status, ADR-0031; `skillRows` and `skillCode`, a page of the tables or of the fenced code blocks of a document, or of every document under a folder, as data, a `RestRows` or a `RestCode`, ADR-0100), documents, settings, members and image (`setIcon`, `removeIcon`). `glance()` is what the project's tile at a glance shows on the front page, in one answer read at one moment (`RestProjectGlance`, ADR-0107): its tasks counted by state, the decisions waiting, and its tasks in progress, its tasks in review and its goals ahead, ordered and cut by the console, `GLANCE_ROWS` at most, each with how many there are in all. `tasks(filter)` narrows the board (`TaskFilter`: a state, the open ones, a category's key, a goal, a worker, a day tasks are due by, and `q`, words of the title or a number, how a task is found by searching) and pages it (`Page`: `limit` and `offset`; the answer carries `more`), as `decisions(filter)`, `runs(filter)` and `goals(filter)` are paged; a task carries its `owner` and its `workers` (any number, ADR-0037), its `category`, `goalId`, its plan (`startsOn`, `dueOn`) and its moments (`startedAt`, `doneAt`). The roadmap is `goals(filter)` (`GoalFilter`: a state, the open ones, a category's key, `q` and a page), `goal(id)`, `createGoal` and `updateGoal`; the workspace's categories are `client.categories()`, `createCategory`, `updateCategory` and `removeCategory`; `client.work()` is what is on the person's plate across their projects ([ADR-0019](https://github.com/skillcdn/console/blob/main/docs/adr/0019-a-task-is-planned-in-days-the-board-keeps-its-moments-and-goals-and-categories-give-the-work-its-shape.md)). The documents go by path: `documents({ folder })` lists a folder, `documents({ q })` finds pages by their words, `document(path)` reads one with its links both ways and its files, `writeDocument(path, { title, body, baseVersion })` writes a version, `archiveDocument`, `restoreDocument`, `documentVersions`, `documentVersion(path, n)`, `attachFile(path, upload)` and `documentFileUrl(path, id)` do the rest; `updateDecision(id, { outcome })` grows a decision's record. The rules of the board ([ADR-0023](https://github.com/skillcdn/console/blob/main/docs/adr/0023-the-rules-of-a-board-are-pages-the-workspace-and-its-projects-keep-read-first-by-every-agent.md)) are `client.rules()`, `writeRules`, `archiveRules` and `rulesVersions`, for the workspace's, and a project's `rules()`, which answers the workspace's with the project's own; a project's are written as the page `rules`. `REFERENCE_RULES` is what holds where an organization wrote none, and `isReferenceRules` tells it from a text; `fillRules` fills `{language}` (`RULES_LANGUAGE_PLACEHOLDER`) with the name of a person's language, which `languageNameOf` gives from its tag. `agentLabel` is an agent's name before where it runs, what the pages show of "Claude Code on a laptop". `connect`, `connectRequest`, `approveConnection`, `denyConnection` and `claimConnection` are the two sides of an agent connecting with a code a person approves (ADR-0011), and `personTokens` and `revokePersonToken` an administrator's sight of everyone's agents. An `EventSource` cannot carry a header, so a stream read with a token is a `fetch` of `eventStreamUrl(after)`. `handInFile` sends a file as a form, and `fileUrl` says where its bytes are read back; a file put on a decision is read at the decision's own address too, `decisionFileUrl(decisionId, fileId)` (`decisionFilePath` among the routes), by whoever the decision reaches, in a project they may see or not ([ADR-0068](https://github.com/skillcdn/console/blob/main/docs/adr/0068-a-decision-reaches-whom-it-is-addressed-to-wherever-it-is-and-a-plugins-reaches-the-managers-above-them.md)). `events(after, { task })` is everything that happened to one task.
38
+ - **The client:** `createClient({ baseUrl, fetch })` answers typed values parsed with those schemas, and throws an `ApiError` with the server's stable `code` (or `network`, `invalid_response`) for anything else. It takes a `fetch` and reads nothing else. With `userAgent`, every request names the client: the command sends `skillcdn-console/<version>`, by which the console holds it to the versions it takes ([ADR-0025](https://github.com/skillcdn/console/blob/main/docs/adr/0025-the-command-names-its-version-on-every-request-and-the-console-holds-it-to-the-range-it-takes.md)); `me()` answers the console's version and that range as `console`, and the `compat` module (`parseVersion`, `compareVersions`, `judgeClient`, `clientRange`, `commonRange`, `judgeConsole`, `consoleRange`, `userAgentOf`, `clientVersionOf`, the headers `VERSION_HEADER` and `CLIENT_RANGE_HEADER`, `CLIENT_POLICY`, the oldest command a console answers, by which the package narrows the common rule and never widens it, and `CONSOLE_AT_LEAST`, the oldest console the command works with; within a line of SkillCDN the two go together whatever the patch, and a release that changes what passes between them raises the floors, ADR-0038) is exported for a console or a script that compares itself with it. With `token`, a token a person made on their Agents page, every request carries `Authorization: Bearer` and no cookie: how a script or a console of a person's own acts as that person, configuring included (`createProject`, `updatePerson`, a project's `update`, `setIcon`, `addMember`, `updateMember` and `removeMember`, `createCategory`, `updateCategory` and `removeCategory`), within the person's own roles; only the tokens themselves and the approval of a connection are a session's, except that a token gives itself up with `giveUpToken` ([ADR-0021](https://github.com/skillcdn/console/blob/main/docs/adr/0021-a-token-configures-as-its-person-does.md)). The board is a project's: `client.projects()` lists those the person may see, and `client.project(key)` is the client of one, with its tasks, decisions, goals, runs, files, events, skills (`skills`, the pack by name and by count with its skills and, for a program, what the address serves as `@skillcdn/core` spells it; `skill`, `skillFile`, `skillBrowse` and `skillFind`, each answering what the pack answered as `read`, a `RestSkill`, `RestFile`, `RestBrowse` or `RestFind` of `@skillcdn/core`, with the pack's own refusal beside the status, ADR-0031; `skillRows` and `skillCode`, a page of the tables or of the fenced code blocks of a document, or of every document under a folder, as data, a `RestRows` or a `RestCode`, ADR-0100), documents, settings, members and image (`setIcon`, `removeIcon`). `glance()` is what the project's tile at a glance shows on the front page, in one answer read at one moment (`RestProjectGlance`, ADR-0107): its tasks counted by state, the decisions waiting, and its tasks in progress, its tasks in review and its goals ahead, ordered and cut by the console, `GLANCE_ROWS` at most, each with how many there are in all. `tasks(filter)` narrows the board (`TaskFilter`: a state, the open ones, a category's key, a goal, a worker, a day tasks are due by, and `q`, words of the title or a number, how a task is found by searching) and pages it (`Page`: `limit` and `offset`; the answer carries `more`), as `decisions(filter)`, `runs(filter)` and `goals(filter)` are paged; a task carries its `owner` and its `workers` (any number, ADR-0037), its `category`, `goalId`, its plan (`startsOn`, `dueOn`) and its moments (`startedAt`, `doneAt`). The roadmap is `goals(filter)` (`GoalFilter`: a state, the open ones, a category's key, `q` and a page), `goal(id)`, `createGoal` and `updateGoal`; the workspace's categories are `client.categories()`, `createCategory`, `updateCategory` and `removeCategory`; `client.work()` is what is on the person's plate across their projects ([ADR-0019](https://github.com/skillcdn/console/blob/main/docs/adr/0019-a-task-is-planned-in-days-the-board-keeps-its-moments-and-goals-and-categories-give-the-work-its-shape.md)). The documents go by path: `documents({ folder })` lists a folder, `documents({ q })` finds pages by their words, `document(path)` reads one with its links both ways and its files, `writeDocument(path, { title, body, baseVersion })` writes a version, `archiveDocument`, `restoreDocument`, `documentVersions`, `documentVersion(path, n)`, `attachFile(path, upload)` and `documentFileUrl(path, id)` do the rest; `updateDecision(id, { outcome })` grows a decision's record. The rules of the board ([ADR-0023](https://github.com/skillcdn/console/blob/main/docs/adr/0023-the-rules-of-a-board-are-pages-the-workspace-and-its-projects-keep-read-first-by-every-agent.md)) are `client.rules()`, `writeRules`, `archiveRules` and `rulesVersions`, for the workspace's, and a project's `rules()`, which answers the workspace's with the project's own; a project's are written as the page `rules`. `CONSOLE_RULES` is what always holds, `rulesWith` reads it whole with what an organization adds, and `addedRulesOf` takes from a text what it adds; `fillRules` fills `{language}` (`RULES_LANGUAGE_PLACEHOLDER`) with the name of a person's language, which `languageNameOf` gives from its tag. `agentLabel` is an agent's name before where it runs, what the pages show of "Claude Code on a laptop". `connect`, `connectRequest`, `approveConnection`, `denyConnection` and `claimConnection` are the two sides of an agent connecting with a code a person approves (ADR-0011), and `personTokens` and `revokePersonToken` an administrator's sight of everyone's agents. An `EventSource` cannot carry a header, so a stream read with a token is a `fetch` of `eventStreamUrl(after)`. `handInFile` sends a file as a form, and `fileUrl` says where its bytes are read back; a file put on a decision is read at the decision's own address too, `decisionFileUrl(decisionId, fileId)` (`decisionFilePath` among the routes), by whoever the decision reaches, in a project they may see or not ([ADR-0068](https://github.com/skillcdn/console/blob/main/docs/adr/0068-a-decision-reaches-whom-it-is-addressed-to-wherever-it-is-and-a-plugins-reaches-the-managers-above-them.md)). `events(after, { task })` is everything that happened to one task.
38
39
 
39
40
  ### The command line
40
41
 
@@ -59,12 +60,13 @@ console serve dist # a console of your own, built
59
60
  - **`console`** is the agent's side of the console ([docs/specs/cli.md](https://github.com/skillcdn/console/blob/main/docs/specs/cli.md)): a thin client of the REST API with no logic of its own, no dependencies beyond the package's, and no cost to an agent until it is used. The package states Node.js 24 as its floor and is tested on it; 22 runs the command today, checked by hand on each release. `console help` says everything an agent needs and `console --version` which version this is; `--json` answers with the console's own JSON; the exit code says whether the console did it (`0`), refused or could not be reached (`1`), did not understand (`2`), or a decision still waits (`3`), or the command and the console do not go together (`4`: the console refuses a command outside the versions it takes, and the command prints the update to make where it is installed, for the machine, in the project or fetched for the run; `console whoami` says both versions and the install, and a command behind or ahead within the range is told once a day on stderr).
60
61
  - **A person signs it in once per console:** `login` checks the token against the console and keeps it as a login, with the console's address and the account, in `$XDG_CONFIG_HOME/skillcdn-console/credentials.json` (`~/.config` when unset); a machine holds a login per console and account, and a token goes only to the console that issued it. `CONSOLE_URL` and `CONSOLE_TOKEN` in the environment, together, stand in for a login at that address, for a hook or a job. A token is never taken on the command line.
61
62
  - **Configuring, as the person** ([ADR-0021](https://github.com/skillcdn/console/blob/main/docs/adr/0021-a-token-configures-as-its-person-does.md)): `workspace`, `workspace edit`, `people`, `person role`, `person add`, `person remove`, `person deactivate`, `person reactivate`, `project new`, `project edit`, `project icon`, `members`, `member add`, `member role`, `member remove`, `category new`, `category edit`, `category remove` and `rules write` do what an administrator or an owner does on the pages, with the same refusals (`auth.forbidden` where the person may not), and the event names the agent beside the person. The tokens themselves have no command but `logout`, which gives the command's own up: they are made and removed on the Agents page, signed in.
62
- - **The project's pack** is read as the `skillcdn` command reads one ([ADR-0031](https://github.com/skillcdn/console/blob/main/docs/adr/0031-the-console-reads-a-pack-as-the-skillcdn-command-does-and-a-local-one-from-a-directory.md)): `console skills` prints what a client is told on connect and every skill and document, `console skills <folder>` a folder whole, `console skills --search <words>` what the words find, `console skill <path>` a skill whole with its rules first, and `console skill --file <path>` a file, each rendered with the main repository's own renderers and the reads named as the console's commands, so that an agent reads here what it would read over MCP; a pack is at a SkillCDN deployment, or in a directory on the console's machine where no deployment is reachable.
63
+ - **The project's pack** is read as the `skillcdn` command reads one ([ADR-0031](https://github.com/skillcdn/console/blob/main/docs/adr/0031-the-console-reads-a-pack-as-the-skillcdn-command-does-and-a-local-one-from-a-directory.md)): `console skills` prints what a client is told on connect and every skill and document, `console skills <folder>` a page of a folder, `console skills --search <words>` what the words find, `console skill <path>` a skill with its rules first, a long one in parts that each end with the command that prints the next, and `console skill --file <path>` a page of a file, each printed by the reads the `skillcdn` command itself prints with (`readPack` of `@skillcdn/cli`, [ADR-0124](https://github.com/skillcdn/console/blob/main/docs/adr/0124-the-commands-reads-of-a-pack-are-the-skillcdn-commands-own.md)) and the reads named as the console's commands, so that an agent reads here what it would read over MCP; a pack is at a SkillCDN deployment, or in a directory on the console's machine where no deployment is reachable.
63
64
  - **The project's documents** are the agent's to read and write: `docs`, `doc`, `write`, `attach`, `archive` and `restore`, by path; a link in a body to a page's path refers to the page.
64
- - **Every command on the board works in one project:** `--project <key>`, else `CONSOLE_PROJECT`, else what `console use <key>` wrote to `.skillcdn-console.json` in the working directory or one above it, a file meant to be committed. `console projects` lists the projects the person may work in.
65
- - **`console serve [<dir>] [--port <n>]`** is for a person: it serves [a console of your own](#a-console-of-your-own) from your machine, the build in `<dir>` at `http://127.0.0.1:11197/`, and carries everything under `/api/` to the console the command is signed in to, with your token, which the pages never see ([ADR-0014](https://github.com/skillcdn/console/blob/main/docs/adr/0014-a-persons-own-console-is-served-from-their-machine-by-the-command.md)). The loopback only; a request from another site's page is refused. Without a directory only the API is served, for a development server.
65
+ - **Every command on the board works in one project:** `--project <key>`, else `CONSOLE_PROJECT`, else what `console use <key>` wrote to `.skillcdn-console.json` in the working directory or one above it: the project and the console's address, never a token, a file meant to be committed in a private repository. `console whoami` asks the console for that project and says what named it. `console projects` lists the projects the person may work in.
66
+ - **`console serve [<dir>] [--port <n>] [--records <dir>]`** is for a person: it serves [a console of your own](#a-console-of-your-own) from your machine, the build in `<dir>` at `http://127.0.0.1:11197/`, and carries everything under `/api/` to the console the command is signed in to, with your token, which the pages never see ([ADR-0014](https://github.com/skillcdn/console/blob/main/docs/adr/0014-a-persons-own-console-is-served-from-their-machine-by-the-command.md)). With `--records`, what a desk keeps under that directory is served at `/records/` beside the build, read at each request, for the desk's pages ([ADR-0117](https://github.com/skillcdn/console/blob/main/docs/adr/0117-a-desk-keeps-records-of-what-its-member-made-as-files-the-desks-pages-read.md)). The loopback only; a request from another site's page is refused, but for the files of a plugin's frame, the plugin's bundle and the console's stylesheet and faces for frames: a frame is sandboxed, its origin no page's, and the console answers those files to anyone, so the command carries a `GET` of one whatever page asks and with no token, and a plugin's pages and widgets are drawn as on the console. Without a directory only the API is served, for a development server.
66
67
  - **The guide of an agent account's setup** ([ADR-0088](https://github.com/skillcdn/console/blob/main/docs/adr/0088-an-agent-account-has-a-desk-and-is-set-up-from-an-invitation-by-signing-in-as-itself.md)) is made by `setupGuideOf` from what an invitation's code opens (`client.agentSetup(code)`), and printed by `setupGuideText`; `SetupGuideView` shows it, `AgentInvitationPanel` is the invitation under an account, and `setupCommandOf` and `setupSentenceOf` spell the command and the one line said on the machine. The default console shows the guide at `/setup/<code>` (`setupHref`) to a browser that is signed in nowhere.
67
- - **`@skillcdn/console/runner`** is what `console runner` is made of ([docs/specs/runner.md](https://github.com/skillcdn/console/blob/main/docs/specs/runner.md)), for a console of one's own that drives another product or a test that runs a runner against a console: `createRunner(options)`, which takes a `ConsoleClient` on the account's command, a `Driver`, its `runner.json` and what it needs of the machine; the `Driver`, `DriverSession` and `DriverEvent` types a driver is written to, `createClaudeDriver`, `createCodexDriver` and `createSpawn`; `createRunnerModules` and `ownRunnerModules`, the four registries a module is known by; `composeSignals`, `headerOf` and `introOf`, how a signal reaches the agent; `redactorOf`, which takes the values of a secret store out of a text in the encodings they are carried in; `parseRunnerConfig`; `launchd`, `systemdUser` and `taskScheduler`, the services that keep a runner running on macOS, on Linux and on Windows, each as a plan of what to write and to run; and `deskFiles`, the template of an agent account's desk, with `deskServicesOf` for what it says of the workspace's services.
68
+ - **`console desk [<directory>] [--web]`** is for a person: it writes a desk of your own, the folder `desk` your agent begins in, and with `--web` the shell of [your desk's pages](#a-desks-pages); `console desk check` says whether the records a desk keeps read right.
69
+ - **`@skillcdn/console/runner`** is what `console runner` is made of ([docs/specs/runner.md](https://github.com/skillcdn/console/blob/main/docs/specs/runner.md)), for a console of one's own that drives another product or a test that runs a runner against a console: `createRunner(options)`, which takes a `ConsoleClient` on the account's command, a `Driver`, its `runner.json` and what it needs of the machine; the `Driver`, `DriverSession` and `DriverEvent` types a driver is written to, `createClaudeDriver`, `createCodexDriver` and `createSpawn`; `createRunnerModules` and `ownRunnerModules`, the four registries a module is known by; `composeSignals`, `headerOf` and `introOf`, how a signal reaches the agent; `redactorOf`, which takes the values of a secret store out of a text in the encodings they are carried in, and `cutShown`, which cuts a text to a length once they are out, what a session hands its driver as `cut` so that no part of a secret stands where a driver cut a text, with `cutShownEnd`, which keeps the end of one the same way, handed as `cutEnd`, and `errorsShown`, which shows the end of what a product wrote on its standard error through it (`plainCut` and `plainCutEnd` where a driver is handed neither); `parseRunnerConfig`; `launchd`, `systemdUser` and `taskScheduler`, the services that keep a runner running on macOS, on Linux and on Windows, each as a plan of what to write and to run; and `deskFiles`, the template of an agent account's desk, with `deskServicesOf` for what it says of the workspace's services, `personDeskFiles`, the template of a person's, and `DESK_FOLDER`, what a desk's folder is called. Both templates are the least: the instructions and a structure, and no form of a thing to keep.
68
70
  - **`@skillcdn/console/cli`** exports `runCli(argv, io)`, the command as a function that takes its environment, its streams, its `fetch` and its credential store: what the integration tests run against the app with no socket, and what a console of a person's own could embed.
69
71
 
70
72
  ### Writing a plugin
@@ -81,7 +83,7 @@ A plugin is one npm package a console installs into its image and an administrat
81
83
  - **`@skillcdn/console/plugin`**, for the server module: `definePlugin({ collections, commands, queries, endpoints, on, jobs, upgrades, api, onEnable, onDisable })` is the default export of `dist/server/index.js`, built with everything it imports bundled in. `defineCollection(name, { schema, indexes, ... })` declares the records the console keeps, with a zod schema (`z` is re-exported); `defineCommand({ about, args, roles, run })` and `defineQuery(...)` are what agents run through `console plugin <key> <command>`, their `args` from `arg.text`, `arg.day`, `arg.number`, `arg.boolean`, `arg.enum`, `arg.person`, `arg.project`, `arg.record`, `arg.list` and `arg.file`, typed in `run(ctx, args)`; `defineEndpoint(...)` takes a request of a person's or a webhook's. Everything plugin code does to the console is a call on `ctx` (`PluginContext`): `ctx.records(collection)`, `ctx.console.*`, `ctx.events.emit`, `ctx.fetch`, `ctx.secrets`, `ctx.plugins`, `ctx.log`; the console refuses what the manifest did not ask with a `PluginRefusal`, and a plugin refuses in its own words with `PluginError`. The manifest, `console-plugin.json`, is read with `parsePluginManifest`; `RESERVED_PLUGIN_KEYS`, `PLUGIN_CAPABILITIES` with `capabilityWords`, the bounds (`MAX_PLUGIN_RECORD_BYTES`, `PLUGIN_COMMAND_MS`, ...) and the refusals (`PLUGIN_REFUSALS`) are the same words the console goes by. `describePlugin(definition)` is the definition as data, what the host reads and what `check` holds to the manifest.
82
84
  - **`@skillcdn/console/plugin/web`**, for the web bundle: `connect()` in the frame the console serves says `ready`, receives `init` (who looks, at what, the console's design tokens, applied to `:root`), and answers `{ context, command, query, records, files, navigate, download, setTitle, onEvent, onTheme, onPath }`, each performed by the console's page under the plugin's own routes and nothing else. It depends on nothing; `@skillcdn/console/plugin/web/react` adds `usePlugin()`. A bundle imports nothing from elsewhere and never reaches for `fetch`, which `check` holds it to.
83
85
  - **`@skillcdn/console/plugin/testing`**: `createTestContext({ collections, plugin, caller, console, secrets, ... })` is a `ctx` for the plugin's own tests, records in memory and checked as the console checks them, the console refusing whatever the test did not provide, `emitted` and `logged` to assert on.
84
- - **`console-plugin`**: `init <dir> --key <key> [--name <name>] [--console <dependency>]` writes a plugin from the template this package ships (`template/plugin`), what `examples/plugin-hello` in the repository is; `check [<dir>]` reads a built plugin as a console would: the manifest, `package.json` (a permissive license, no install scripts, `files` that ship what runs), the server module loaded in a hardened thread, as the host loads one, and held to the manifest, the web bundle self-contained and its classes prefixed `pl-<key>-`, the skills in the SkillCDN Format, the migrations. Node.js 24 or newer.
86
+ - **`console-plugin`**: `init <dir> --key <key> [--name <name>] [--console <dependency>]` writes a plugin from the template this package ships (`template/plugin`), what `examples/plugin-hello` in the repository is; `check [<dir>]` reads a built plugin as a console would: the manifest, `package.json` (a permissive license, no install scripts, `files` that ship what runs), the server module loaded in a hardened thread, as the host loads one, and held to the manifest, the web bundle self-contained, its own classes prefixed `pl-<key>-` and the console's it uses the parts of the catalogue (`src/styles/README.md` here, which the command reads: a class of one of the console's own pages is refused, in the entry, a chunk or the stylesheet), the skills in the SkillCDN Format, the migrations. Node.js 24 or newer.
85
87
 
86
88
  ### The components and the composition
87
89
 
@@ -98,10 +100,10 @@ createConsole({
98
100
  - **The components** take their data as props and nothing from the network: `Board` (one column per state, the sooner due first; given `onMove`, a card is dragged to another column with a mouse, or with a finger that rests on it a moment first, and the board scrolls on while the card is held near its edge, still or moving, as `edgeScrollOf` meters it; given `editHref` and `onArchive`, each card has a menu with the way to the task's form and, once it is done or dropped, the way to put it away; the columns `folded` names, `FOLDED_STATES`, done and dropped, by default, are strips with their count and the way to open them, still taking a card dragged onto them, and `[]` folds none), `TaskCard`, `BoardFilters` with `filterTasks` and `byDue` (the board narrowed by category, goal, person and one's own), `TaskList` (tasks as rows, a page at a time), `TaskView` (one task with its plan, its moments, its workers, its decisions and its parts, the ways to its forms in its head beside the title; given `parent`, the task it is part of when the page has read it, and `findTasks` and `findGoals`, its form searches), `TaskForm` (with the `categories` to choose from, the `people` to put on the task as its workers, and `findTasks` and `findGoals`, searches a page at a time by which the task it is part of and the goal it works towards are found, never offered whole, ADR-0037), `Calendar` and `Workload` with `workloadOf` (a month with each task across its planned days, a bar in a lane of its own, or on its one day, a due day or a start, three of a day's own and the way to the rest where it has more, the person who has each before its title, with a legend of the colours of the `categories` given, and who has what; `weekSegments` lays the bars; `TaskTip` is the task under the pointer in full, with the facts its page lists, within its item and above or below it as `placeTip` says, where there is more room, its goal named from the `goals` given; the composition narrows the page with `BoardFilters` as it does the board, the address carrying the filter with the month), `GoalList`, `GoalView` and `GoalForm` (the roadmap, one goal with its tasks by state, and the way to set one, with the `categories` to sort it into and its start and target days, ADR-0026), `GoalTimeline` with `timelineBars` (the roadmap as months: six from the month given, each goal planned in days a bar from its start to its target in the colour of its category, filled as far as its tasks are done, today marked, and the goals without days named below; `Calendar` given `goalHref` marks each goal's target day on the month), `WorkList` (a person's own work across projects), `MyDecisions` (a person's decisions across their projects: those addressed to them, the waiting first, and those they asked of others, each row naming who asked and who answers, ADR-0042; the files put on a decision read at the decision's own address, since it may be of a project the person may not see, ADR-0068, unless `fileHref(projectKey, fileId, decisionId)` says where), `CategoryList` (the categories, with the ways an administrator keeps them), `DecisionList` and `DecisionCard` (the waiting ones as cards, each with the way to answer, one of the options or a line of one's own, and, given `addressing`, the way to say anew whom it is for, [ADR-0096](https://github.com/skillcdn/console/blob/main/docs/adr/0096-a-decision-that-waits-may-be-addressed-anew-by-whoever-may-answer-it.md): the people to name, given or read when the form opens, and `onAddress`; the answered ones as the record, `DecisionLog`, a row each with who asked and when, through which agent, the answer with the word given, marked when it is the person's own, and who answered and when, twenty to a page, each page at an address given `pageHref` and `page`, or turned in place), `DecisionForm` (about the task given as `taskId`, or one found by search through `findTasks`, a page at a time, ADR-0037; addressed to `me` unless one of `deciders`, the people who may be named, is chosen, ADR-0042), `EventFeed` (a sentence per event, newest first, a page at a time; `describeEvent` makes the sentence), `Shell` (the header with the workspace, the project, the tabs of the pages and the person's menu), `SignIn` (one button per provider the deployment offers), `TokenList`, `TokenForm` and `NewToken` (the agents a person connected, as the tokens they hold, the way to make one by hand, and the one just made with its secret shown once), `SessionList` (the browsers a person is signed in on, each with what it is, when it was last used, where from and the day it signed in, the current one marked, and the ways to sign any other out, or all the others at once; the Sessions view of the settings), `ConnectCodeForm`, `ConnectApproval` and `ConnectWords` (an agent connecting with a code: where the code is typed, what asks under it with the way to approve or refuse it, and what to tell the agent; `ConnectPage` composes the first two for a code), `PeopleList` (everyone in, with what each is and what let them in, the logins let in that nobody signed in with yet, and the deactivated, each a card whose facts, their role, their manager, their work email, whom they manage and their teams, read as values in one column and are changed in place by an administrator, with the ways to take a person out or back in, put them in a team or take them out of one, and take a listing away), `ListingForm` (where an administrator lets someone in by login), `TeamList` (the teams, ADR-0073, a card each with how many are in it and who, a chip each, the name written anew in its place, a person added from the end of the row and taken out from their chip, and the way to delete a team) and `TeamForm` (where an administrator makes one), `HomeGrid` and `ProjectTile` (the front page, ADR-0061: the projects and the plugins' widgets as tiles on one grid of square cells, each at a place the person chose, taken in hand with a mouse or a finger that rests on it a moment first and put down on any cell, those in the way moving aside, with the way off the page and the sizes each comes in; `homeTiles`, `arranged`, `moved` and the rest in the package's `home-tiles.ts` read the arrangement; a project at `medium`, `large` or `wide` is a glance at its board, ADR-0105, from the `glances` the grid is given by the project's id, each the one answer of `client.project(key).glance()`, a `ProjectGlance`, ADR-0107, which it asks for through `onGlance` with the projects it shows so, an empty list when it shows none; `createGlanceReader` reads them for a composition of your own, once for each reading, a failed read tried again and a late answer dropped; `glanceProjects` names the projects shown so, and `glanceFit` gives out the rows a room holds by the heights of `GLANCE_REM`), `ProjectMark` (a project's mark: its own image when it has one, else its symbol on its colour, or the ones chosen from its key and its name; `sm`, `md` or `lg`), `ProjectForm` and `MemberList` (the way to make or change a project, its mark included, with an image chosen for it (`onSubmit` gets the file, or `null` to take the image away), and those listed in a project with the way for an owner to add, change and remove them; `ProjectRoleBadge`, `PROJECT_ROLE_LABELS`, `VISIBILITY_LABELS` and `keyOf` with them), `PackTokenForm`, `PackConnect` and `PackTokenWays` (the SkillCDN token a private pack is read with: pasted, or connected with a code approved at SkillCDN, the console asked again at the interval the deployment named; and the two ways side by side, as a project's Settings page and the workspace's offer them), `WorkspaceSettingsView` and `WorkspaceSettingsForm` (the workspace's settings as rows: who sees whom, the day the week begins on, the time zone, picked by area with `timeZoneGroups`, `deviceTimeZone` and `offsetOf`, and the language for whoever has none of their own; the view, given `console`, what `me.console` says, names the console's version and the range of command versions it takes first), `SkillList` (a project's skills as SkillCDN serves them at its address, each with where a person reads it and what an agent loads it by, and how an agent is connected to it), `RulesView` and `RulesForm` (the rules of the board, ADR-0023: what holds and where it comes from, the console's own, a page written or none, with `{language}` filled with the language the pages speak, folded under its facts where asked, and the ways to write them, put them away and go back to the console's own for whoever may; the form starts from what holds and saves nothing that would change nothing), `FolderView`, `DocumentList`, `DocumentSearch`, `DocumentView`, `DocumentForm`, `DocumentFiles` and `DocumentCrumbs` (a project's documents: a folder's folders and pages, the way to find pages by their words, one page with its versions, what it links to, what refers to it and its files, a picture among them shown where the body names it, and the forms to write and attach, a picture pasted into the body attached once the page is written; `DocsPage` composes them for a path), `RunList` and `RunCard` (an agent's run on a task: what it reported, what it handed in, links and files alike, a picture among them small and large as a comment's is and placed in a report by its file name, what it waits for, and when an open one was last heard from; `RunStatusBadge` and `RUN_STATUS_LABELS` with them, and `fileHref` for where a file is read), `TaskThread`, `CommentCard` and `CommentForm` (the discussion on a task, ADR-0024: the comments, the runs and the decisions as one thread in the order they came, which `threadOf` orders, each comment with who said it, through which agent, its text with the pictures it names in place and its other files after it, pictures being what `isPicture` says, and the form at the end, where a picture pasted in goes with the comment; `TaskView` shows the thread given `comments` and `onComment`, and its `fileHref` names any file of the project by its id), and `Markdown`, which renders what people and agents wrote as elements, never as HTML, with links to the web only and pictures over https only, or, given `fileSrc`, from the file of that name, and, given `docHref`, a link to a page's path as a link to the page. `DecisionCard` reads as a record, with the context, the rationale and what followed, which `onUpdate` lets a person write. The small blocks (`Button`, `LinkButton` (a link that reads as a button), `CopyButton` (a text put on the clipboard), `Badge`, `Avatar` (`xs` to `lg`), `PersonChip` with `personName` (a person by the name the host gives, the login where there is none), `Callout`, `EmptyState`, `Spinner`, `Time`, `Day`, `CategoryBadge`, `DueBadge`, `GoalStateBadge`, `ProgressBar`, `ShowMore` with `usePaged` and `PAGE_SIZE`, a long list growing a page at a time, `Pager` with `pageOf` and `RECORD_PAGE_SIZE`, a list turned by pages, `Picker` with `PICKER_PAGE_LIMIT`, one thing chosen out of a listing searched a page at a time and standing as a chip once chosen, which is how a person, a project or a goal is chosen wherever one is, with `peopleSearch`, `projectsSearch`, `goalsSearch` and `listSearch` searching a listing the page already holds, and the `className` `sc-picker-quiet` for a fact changed in place or `sc-picker-add` for the way to add one more at the end of a row of chips, `Chip`, a thing named among others in a row, a person, a team, an item of a list, a holder of a role, with the way to take it out where it can be, and `Workers`, the people at work on a task as pictures side by side with a count of the rest), the words of the vocabulary (`STATE_LABELS`, `PRIORITY_LABELS`, `ROLE_LABELS`, with `RoleBadge`) and the day helpers (`today`, `addDays`, `daysBetween`, `monthGrid`, `formatDay`, `formatMonth` and the rest, days being the strings the API spells them as) are exported too.
99
101
  - **A picture from elsewhere** is read through the console ([ADR-0048](../../docs/adr/0048-a-picture-from-elsewhere-is-read-through-the-console-from-a-public-address-and-kept-a-while.md)): `Markdown` and `Avatar` take its address from `RemotePicturesContext`, which `createConsole` provides from the client's `pictureUrl` and which falls back to the API's own path (`REST_ROUTES.pictures`), so that a page loads nothing from elsewhere.
100
102
  - **The composition:** `createConsole(config)` returns `{ App, mount }`. `App` is the whole console as one component; `mount(container)` renders it and returns the way to take it down. `config.baseUrl` is the origin of the API (the page's own when left out), `config.components` the pieces to replace (`ConsoleComponents` names them with the props each takes), `config.languages` the packs the pages speak, `config.brand` the addresses of a symbol and a wordmark to show beside the name (ADR-0013; the default console passes those of `@skillcdn/brand`, the main repository's package of its marks), `config.client` a client of your own, for tests, `config.persona` what an agent account's persona is proposed and drawn from in place of the package's (ADR-0084): `names`, a handle and its spelling per language each, which "Add an agent account" proposes from, and `avatarSets`, the sets the avatars are drawn from on this console's pages (`AvatarSet`, which is data: its grounds and its ramps as colours, its bodies, its surfaces and its accents as outlines in a square of a hundred units; ADR-0097), each under a version the package does not use. The SkillCDN name and marks are trademarks of KDX Labs under the main repository's trademark policy, not under this package's MIT license; a custom console brings its own marks through the same slot. A console that holds a token rather than a session (one of your own, served by `console serve`) is told so by the API (`me.agent`, the token's name, or `me.session` for a command signed in as the account itself) and offers nothing a token cannot do: no tokens, no sessions and no sign-out, since those are a person's own doing, and on the Agents page the agent accounts alone; everything else, configuring included, it does on the token as the person (ADR-0021), and it keeps the choice of language on the person. The pages route in the browser and every form has an address (ADR-0010): the projects at `/`, the person's own work at `/work`, the workspace's settings at `/settings` (its rules, its categories at `/categories`, where its skills come from), a project's pages under `/projects/<key>` (its roadmap, calendar and settings among them), a task by its number, a goal and a decision by their ids, a document by its path, and the query for how a page is shown, the board's filters, the calendar's month, the week of the person's work and the settings' forms among it (`matchRoute(pathname, search)`, `PATHS`, `projectHref`, `boardHref`, `taskHref`, `goalHref`, `calendarHref`, `workHref`, `personWorkHref`, `decisionHref`, `docHref`, `settingsHref`, `projectSettingsHref`, `newTaskHref`, `newGoalHref`, `newDecisionHref`, and `movedFrom` for the addresses of before); every link to one of them is followed in place, with one history entry per step; the workspace is loaded once and the project the page is on whole, kept current by the project's stream (`useConsoleData(client, projectKey)`, for a composition of your own).
101
- - **Pages of your own:** `config.pages` adds tabs beside the console's. Each is a `CustomPage`: a `key` (what the address says: `/pages/<key>` on the workspace, `/projects/<project>/pages/<key>` on a project), a `label` (one word, or a word by language tag with `en` standing in), a `level` (`workspace`, or `project` for a tab on every project), `wide` for a page that takes the whole window, and `render(context)`, which gets what the default pages get: the `data` of `useConsoleData` with its actions, the `project` the page is on, the `client`, the `navigation`, the `words` and the `language`. `customPageHref` names the address and `customPageLabel` the tab's word. A page that is not among the pages given shows nothing there.
103
+ - **Pages of your own:** `config.pages` adds tabs beside the console's, each a `CustomPage`. "Pages of your own" below says what a page is given, may read and is built from, "Charts" what figures are drawn with, and "A desk's pages" what a desk's pages begin as and what is ready for them.
102
104
  - **The languages:** every word the pages show is in a pack (`Messages`, keyed as `en` is), English and Korean ship (`ENGLISH`, `KOREAN`, `DEFAULT_LANGUAGES`), and a component takes its words from the language above it (`useWords`, `useLanguage`, `LanguageContext`), English where there is none. A person's language is kept on them (`client.updateMe({ language })`): the browser's languages decide it the first time the pages see them (`chooseLanguage`, `packFor`), and the person after that; where neither names a language the pages speak, the workspace's does, as its administrator set it ([ADR-0081](https://github.com/skillcdn/console/blob/main/docs/adr/0081-a-workspace-has-a-language-for-whoever-has-none-of-their-own.md)), else the first pack. `createConsole({ languages })` replaces the packs the default console speaks, so that a custom console adds a language of its own; a pack is complete by type. A failure is read the same way: the server's code in the pack's `errors`, the server's own message being English and for programs (`errorWords(error, fallback, pack)`, `wordsForFailure(error, pack)`).
103
105
  - **The styles** are one file, `@skillcdn/console/console.css`: the tokens (`--sc-*`, 90 of them, every one read by a rule), a small reset, and one class per block, all prefixed `sc-`. Its sources, which the package carries under `src/styles/`, keep it as the tokens, the reset, the parts and the pages ([ADR-0106](https://github.com/skillcdn/console/blob/main/docs/adr/0106-a-look-is-a-part-with-a-file-and-a-row-and-a-page-places-its-parts.md)), and `src/styles/README.md` there is the catalogue of the parts: what a page of your own, or a plugin's, is built from. The look is SkillCDN's own, on a light ground ([ADR-0040](https://github.com/skillcdn/console/blob/main/docs/adr/0040-the-pages-are-light-by-default.md)): one accent, the page a pale field (the shell, `sc-shell`, paints it), the surfaces panes of frosted glass over it, and white sheets inside the panes. Re-skinning starts and mostly ends with the tokens; a stylesheet of your own, loaded after this one, sets them on `:root`. The ground: `--sc-color-bg`, `--sc-color-bg-inset` (a step into it), `--sc-color-bg-raised` (white above it), `--sc-color-border` and `--sc-color-border-strong`. The text: `--sc-color-text`, `--sc-color-text-muted` and `--sc-color-text-faint`. The shade: `--sc-color-shade`, black, what a colour is mixed towards where it darkens under the pointer and the solid of a mask, never a fill of its own. The accent and the point: `--sc-color-accent`, `--sc-color-accent-solid` (the fill a white label reads on), `--sc-color-accent-contrast`, `--sc-color-accent-subtle`, `--sc-color-point` and `--sc-color-point-subtle`; what is under the pointer is mixed from them where it is drawn. The tones: `--sc-color-success`, `--sc-color-warning` and `--sc-color-danger`, each with a `-subtle`, and `--sc-color-warning-line`, the clear amber of the line round a warning. The field: `--sc-field-gradient`, one gradient from the top. The glass: `--sc-glass-backdrop` (the blur behind a pane), `--sc-color-glass` and `--sc-color-glass-hover` (its veil), `--sc-color-glass-edge` (its rim), `--sc-glass-highlight` (the light down its face), `--sc-glass-surface` and `--sc-glass-surface-hover` (the veil and the light composed), `--sc-glass-sheen` (the line along its top edge) and `--sc-glass-lift` (its stand-off from the field); and the sheets inside a pane, `--sc-color-sheet` and `--sc-color-sheet-hover`. The shadows: `--sc-glow` (what is lit casts the accent's colour), `--sc-shadow-stage` (what is over the page), `--sc-shadow-menu` (what a menu open over the page casts), `--sc-shadow-sheet` (what a sheet inside a pane casts) and `--sc-focus-ring`. The lines: `--sc-border`, `--sc-border-strong` (for what is typed into), `--sc-hairline` (what parts things inside a pane), `--sc-scrollbar-thumb` and `--sc-select-chevron` (a picture). The type: `--sc-font-sans` and `--sc-font-mono`; `--sc-text-xs`, `-sm`, `-md`, `-lg`, `-xl` and `-2xl`; `--sc-weight-normal`, `-medium` and `-bold`; `--sc-leading-tight`, `-snug`, `-normal` and `-code`; `--sc-tracking-tight`, `-wide` and `-code`, both off on a page in Korean; and `--sc-label-lift`, how far a one-line label is lifted in its box, set again for Korean. The space and the shape: `--sc-space-1` to `--sc-space-8` on a 4px grid, `--sc-radius-sm`, `-md`, `-lg`, `-xl` and `-full`, and `--sc-transition`. The layout: `--sc-gutter`, `--sc-width-prose`, `--sc-width-aside`, `--sc-column-width`, `--sc-header-height` and `--sc-control-size`. The lockup: `--sc-brand-size`, `--sc-brand-size-compact`, `--sc-brand-wordmark-ratio` and `--sc-brand-gap-ratio`. The categories: `--sc-category-fill`, `--sc-category-line` and `--sc-category-mark`, set by each category's class. A row of things a person adds to and takes from is a `.sc-chips` of `Chip`s, low pills of one shape wherever they are, with a picker of `sc-picker-add` at its end, and a fact changed in place is a quiet field, `.sc-input-quiet` or a picker of `sc-picker-quiet`, that reads as its value until the pointer or the focus is on it: build a row or a fact of these rather than of fields, so that it reads as the console's do. The small capitals over a group are one rule, `.sc-eyebrow`, for a label of your own too. A custom console that wants a flat page sets the glass to none and the field to one colour; the control sizes, the blur, the opacities, the z-indexes and the breakpoints are not tokens, by decision.
104
- - React 19 is a peer dependency; `react-markdown`, `remark-gfm` and `@skillcdn/core`, for the pack's shapes and the renderers of what a model is given, are the package's own.
106
+ - React 19 is a peer dependency; `react-markdown`, `remark-gfm` and `@skillcdn/core`, for the pack's shapes and the renderers of what a model is given, are the package's own, and so is `@skillcdn/cli`, whose reads of a pack the command prints with; the command alone imports it, and no page does.
105
107
 
106
108
  A custom console is a small repository that depends on this package, holds a configuration and a CI job, and builds to static files: the organization's, served by the image from `WEB_ROOT` in place of the default UI, or your own, served by `console serve` on your machine. Nothing of the server is in the package but the serving of a build, `@skillcdn/console/web`, which the image and the command share.
107
109
 
@@ -146,16 +148,71 @@ npx vite build && console serve dist # the build served whole, at ht
146
148
 
147
149
  The pages run on your token: what you may do on the board, they may do, and no more. The token never reaches the browser; the command adds it on the way, on the loopback only, and refuses a request from another site's page. The tokens themselves are made and removed on the organization's console, signed in, and the pages say so there; everything else, configuring included, the pages do on your token as the organization's console does on your session. Replace a component, pass your own language pack or your own marks, or compose pages of your own from the components and `useConsoleData`: the sections above say what each piece takes.
148
150
 
151
+ ### Pages of your own
152
+
153
+ `createConsole({ pages })` adds pages of your own beside the console's, a tab each. Each is a `CustomPage`: a `key` (what the address says: `/pages/<key>` on the workspace, `/projects/<project>/pages/<key>` on a project), a `label` (one word, or a word by language tag with `en` standing in), a `level` (`workspace`, or `project` for a tab on every project), `wide` for a page that takes the whole window, and `render(context)`. `customPageHref` names the address and `customPageLabel` the tab's word. A page that is not among the pages given shows nothing there.
154
+
155
+ - **What a page is given** is what the default pages get, as `context`: the `data` of `useConsoleData` (the workspace, its projects and its people as the board has them, kept current, with the board's actions), the `project` the page is on, the `client` for everything else the API answers, the `navigation`, the `search` of its address (the query, `?view=...`, by which a page of several views says which is shown, as every page's address does), the `words` of the language the pages speak, and that `language`'s tag. A page acts as whoever the console acts as. On a console of your own that is you: `console serve` adds your token on the way and the page never holds it, so a page may do on the board what you may do, and no more.
156
+ - **What a page may read beside the board,** on a console served by `console serve --records <dir>`, is that directory at `/records/`, a file at a time (`fetch("/records/<file>")`): what a desk keeps. What a file says is data, whoever wrote it: bound it, parse it, and show it as text.
157
+ - **What a page is built from** is the console's parts. `src/styles/README.md` in this package is their catalogue, each part with the component that renders it and what it is for, and "Charts" below has the ones for figures. A page places parts and writes no colour, no border and no type of its own, so that it looks as the console does and takes a console's tokens.
158
+
159
+ ### Charts
160
+
161
+ Figures on a page of your own, or of a plugin, are drawn with the charts: parts of the console's look like any other ([ADR-0123](https://github.com/skillcdn/console/blob/main/docs/adr/0123-charts-are-parts-placed-by-measures-and-drawn-by-the-stylesheet.md)), each a component here, a class of `console.css` and a row of the catalogue (`src/styles/README.md`). A chart takes its figures as props and nothing from the network, writes what it is given as text, and says what it shows to a reader who cannot see it: the figures stand beside the drawing as words, or under it as a table.
162
+
163
+ ```tsx
164
+ import { BarList, Chart, Stat, Stats } from "@skillcdn/console";
165
+
166
+ <Stats label="Invoices this month">
167
+ <Stat label="Sent" value="473" change={{ words: "+12%", against: "than last month", tone: "good" }} trend={[42, 51, 38, 64]} />
168
+ <Stat label="Disputed" value="27" />
169
+ </Stats>
170
+ <Chart title="Invoices sent by week" points={["Jan 19", "Jan 26", "Feb 2"]} series={[{ name: "Sent", values: [42, 51, 38] }]} />
171
+ <BarList label="Paid to each supplier" ranked rows={[{ label: "Northwind Freight", value: 48200 }]} />
172
+ ```
173
+
174
+ Choose by what the figures are, before anything else: one number that matters is a `Stat`; amounts over time are a `Chart`; a ranking or a comparison is a `BarList`; one whole in its parts is a `ShareBar`; what must be read exactly is a `FigureTable`. One chart has one scale: two measures of different size are two charts, never two axes.
175
+
176
+ - **`Stats`** (`label`) holds **`Stat`**s, as many across as there is room for. A `Stat` is a `label`, a `value` as the page writes it (`"12,480"`, `"3.2%"`), and where given a `change` (`words`, the amount with its sign; `against`, what it is measured against; `tone`, `"good"` or `"bad"` where the page knows which a rise is) and a `trend`, the run it came by, drawn as a sparkline.
177
+ - **`Chart`** is amounts over time: `title` (said to a reader who cannot see it; the page's heading says it to the others), `points` (the points' names in order, the latest last), `series` (one to a few, each a `name` and its `values`, one a point, nothing where a point has none), `kind` (`"columns"`, for amounts counted in each point, or `"line"`, for an amount followed from point to point), `size` (`"short"` in a tile), `format` (an amount as words, where the page writes it its own way), `language`, `empty` (what stands in its place where no point has an amount) and `figures` (`"beside"` where the page shows the chart's figures itself, in a `FigureTable`; left out, they stand under the chart as a table only a screen reader is told). Every series is measured by the one scale, from zero, in round steps, its marks written short where it reaches ten thousand (`1.5M`); a legend stands over the chart where there are two series or more; the points' names are thinned to as many as fit, fewer in a narrow box, the last always; a point says its figures to the pointer over it.
178
+ - **`BarList`** is a ranking or a comparison: `label`, `rows` (each a `label`, text or what the page shows for a name, a mark or a badge; a `value`; and, where given, `href`, where the label leads, `note`, what stands after it, `words`, the amount the page's way, `series`, another of the six colours, and `id`, which tells the row apart where its label is not text or two rows have one), `whole` (what a full bar stands for; the largest amount where left out), `ranked` (numbered for a reader, where the order says something) and `language`.
179
+ - **`ShareBar`** is one whole in its parts: `label`, `parts` (each a `name`, a `value` and, where given, `words`) and `language`. Each part's amount and share stand under the bar. Six parts are told apart: fold the rest into one before passing them.
180
+ - **`Sparkline`** is the run of a figure with no axis: `values`, `label` (what it shows; left out, it is an ornament beside words that say it) and `series`.
181
+ - **`Legend`** is the key by itself, where a page composes a chart of its own: `items` (each a `name` and, where given, `words` and `series`), `mark` (`"box"` or `"line"`) and `label`.
182
+ - **`FigureTable`** is rows by columns: `caption` (shown with `captionShown`), `columns` (the heads, the first the head of the rows' names), `rows` (each a `label`, text or what the page shows for a name, its `values`, a number written as the language writes it and words as they are, and an `id` as a bar's row has), `foot` (what the rows come to) and `language`.
183
+ - **The colours** are six, `--sc-series-1` to `--sc-series-6`, which the classes `sc-series-1` to `sc-series-6` draw in (`seriesClass(index)` names one, from nought): blue, teal, raspberry, coral, violet, green. Any two of them are told apart, also by a reader who does not tell red from green, and each stands out on a light ground and on a dark one, so a console re-skinned by its tokens keeps them or sets six of its own that pass the same checks. What is past the sixth wears the neutral, `sc-series-rest`. A series is its colour wherever it is shown; words never wear one.
184
+ - **The measures** are `@skillcdn/console/charts`, with no dependency, for a bundle that draws the parts itself, a plugin's plain one say: `chartLayout(points, series)` (the scale, where each mark of it and zero stand, and where each amount stands, each a share of a hundred), `chartScale`, `columnOf`, `barLengths`, `shareParts`, `sparkPoints`, `labelStep` and `labelledPoints`, `seriesClass`, and `chartMeasure`, a share as an attribute says it (`"62.5%"`). A measure is an attribute of an SVG and never a style, so a chart is as wide as the box the stylesheet gives it, and is drawn the same in a plugin's frame, whose policy lets no style be set on an element. The components lean on React and these alone: a bundle that takes `Chart` from this package takes a few kilobytes and not the console.
185
+
186
+ ### A desk's pages
187
+
188
+ A desk's pages are a console of your own with pages of its member's own ([ADR-0116](https://github.com/skillcdn/console/blob/main/docs/adr/0116-a-desks-dashboard-is-a-page-of-a-console-of-ones-own-read-as-it-is-looked-at.md), [ADR-0122](https://github.com/skillcdn/console/blob/main/docs/adr/0122-a-desk-is-given-its-least-and-grown-by-what-its-member-asks.md)). The package ships their shell, `template/desk-web`, which `console desk --web` writes into a desk's `web/`: the files of a console of your own with one page of the member's own and nothing on it yet (`src/page.tsx`, at `/pages/mine`, which `/` opens on), `src/main.tsx`, which lists the pages, a `package.json` and five lines on how it is run. The page's comments say what a page is given, may read and is built from; what it comes to show is whatever its member asks for. Two words in the shell are filled by whatever writes it: `__VERSION__` in `package.json`, the package's version, for the dependency; and `__TITLE__` in `index.html` and in the README's heading, what the page is called until the server answers, as text.
189
+
190
+ ```sh
191
+ npm install && npm run build # in the desk's web/; quiet where it went well, the pages in dist/
192
+ console serve dist --records ../records # the pages at http://127.0.0.1:11197/, the desk's records at /records/
193
+ ```
194
+
195
+ What follows is ready, for a member who wants exactly that. Nothing of it is mounted by the shell; each is added by a line.
196
+
197
+ - **`deskPage()`** is a page of its own: `pages: [page, deskPage()]` adds it at `/pages/desk` (`DESK_PAGE_KEY`; `deskPage({ key })` names another address, and `deskPage({ records })` another reader of the records). It has four views, with `DeskViews` their tabs: the desk's collections, and the member's work on the board as it stands, in figures and in its archive. `DeskPage` is its component, and `deskViewOf` and `deskHref` the address of a view.
198
+ - **The collections** are one shape a desk may keep ([ADR-0117](https://github.com/skillcdn/console/blob/main/docs/adr/0117-a-desk-keeps-records-of-what-its-member-made-as-files-the-desks-pages-read.md), [docs/specs/records.md](https://github.com/skillcdn/console/blob/main/docs/specs/records.md)): sets of things made, with where each was used and how it did by day, as files under `records/`, read again each time a view is come to. `DeskRecords` reads them and composes `DeskCollections` (the collections, each with its items counted by status and the day the last was made), `DeskCollectionView` (a collection's items narrowed by status, as cards where any has a preview and as rows where none has), `DeskItemView` (an item with its preview and its note, how it did as figures with the run each metric came by, where it was used, its files each shown in place by the kind the server says it is, a picture, a film and a sound with the browser's own controls and a PDF in a frame where its answer lets it be framed, or handed over as a download, and last its figures by day in a table; beside them its fields and its links, and the task it names where it names one) and `DeskCollectionResults` (each metric and each ratio in all, as figures with the run each metric came by; then one metric, the one the person picks: by week as one chart, columns for what is counted and a line for a share, and the items that did best by it, as bars; where the collection has no figure yet, what would fill the view), with `DeskRecordProblems` for a file that is wrong, `DeskNoRecords` where none are served, and `DeskRecordCrumbs` for the way down. What reads them is `readDeskRecords`, `readCollection` and `probeFile` over a `RecordsReader` (the page's own `fetch` at `RECORDS_BASE` where none is given); `previewSrc`, `fileSrc` and `httpsLink` are what a page may take from a record, `fieldsOf` an item's fields by their kinds, `resultsOf`, `bestItems` and `itemResults` the figures, and `recordsAddressOf` and `recordsQuery` the address of a place in the view. What a record says was written by an agent: every file is bounded and parsed with the format's schemas, what does not parse is named in a line, as a `RecordProblem`, and the rest is shown, every word is text, a link is followed only as https and opens apart, a file is read only from under its collection's `files/`, and nothing an agent wrote is ever shown as a page.
199
+ - **The board's views** are components that take their data as props: `DeskStanding` (the decisions that wait, the open runs, then the open tasks by state), `DeskFiguresView` (how many tasks were done and how the runs ended, as figures; what was done by week, as columns; and what was done by project and by category, as bars; where nothing was closed in the weeks, what would be counted) and `DeskArchive` (the closed tasks and the ended runs, found by words, a page at a time). `DeskPage` reads for them through the client, as the member, a page of each project at a time, in the brief form of the lists (`taskBriefs` and `runBriefs` of a project's client: the tasks without their bodies, the runs without their reports, which no view shows): `readOpenRuns` and `readHistory` (bounded by `DESK_PROJECTS`, `DESK_TASKS` and `DESK_RUNS`; `withHistory` joins the next page), `standingOf` and `figuresOf` (`DESK_WEEKS` weeks, as the workspace begins a week). The page says where there was more than it read.
200
+ - **The ready views are an example** of a page of figures built from the parts, laid out as [Charts](#charts) are meant: the few numbers that matter first (`Stats`), then one chart, then what breaks them down (`BarList`). No figure stands twice at one level: a chart's own figures are its table for a reader who cannot see it, and a `FigureTable` is for figures no chart beside it shows, an item's days say. Where there is nothing yet a view says what would fill it (`EmptyState`) and draws no empty axis.
201
+
202
+ A page of the member's own over the collections needs the readers and no more. `readDeskRecords({ fetch })` answers `{ kind: "none" }` where no records are served, and otherwise `{ kind: "read", collections, problems }`, a collection each with its key, its own file and its items counted by status. `readCollection({ fetch }, key)` answers a `CollectionRecords`, `{ key, found, collection, items, uses, metrics, problems }`: the collection's own file (`RecordsCollection`), or nothing where it is missing; the items (`RecordsItem`), the last made first; the uses (`RecordsUse`), the last first; the rows of figures (`RecordsMetricRow`); each with the fields [the form](https://github.com/skillcdn/console/blob/main/docs/specs/records.md) writes, and no others; and `found`, whether anything was there. `CollectionRecords` and `RecordProblem` are types of `@skillcdn/console`, the four of the form of `@skillcdn/console/api`, and the function of a page is given a `CustomPageContext` ("Pages of your own"): with those names a page is typed without a look into the package's declarations. With `{ items: true }` as its fourth argument it reads the items alone. `problems` is what `DeskRecordProblems` takes (`problems`); `DeskNoRecords` takes nothing, `EmptyState` a `title` and a `body`, `Spinner` a `label`. `DeskRecords`, the ready view of the collections, takes what a page is given and no more: `search` (the query of the page's address), `href` (the page's own address, `customPageHref(key)`), `navigation`, and `taskHref` (where a task of the board is: the package's `taskHref`); `reader` and `weekStart` where the page has its own.
203
+
204
+ Every one of them is built from the parts of `console.css` and nothing else. On the organization's console, `DeskWords` is the block of the Agents page that says what to tell an agent for a desk; it takes the console's origin.
205
+
149
206
  ### The skills, for an agent
150
207
 
151
- What an agent reads to work the board, to plan and set it up, to build a console, to write a plugin, to deploy a console or to run an agent account is in the console's repository as skills in the SkillCDN Format ([ADR-0015](https://github.com/skillcdn/console/blob/main/docs/adr/0015-the-consoles-skills-live-in-this-repository-in-the-skillcdn-format-and-the-package-carries-them.md)), served by SkillCDN at `skillcdn.ai/gh/skillcdn/console` with the architecture, the decisions and the specifications, and shipped in this package: `skills/working-the-board/SKILL.md`, `skills/planning-the-board/SKILL.md`, `skills/building-a-console/SKILL.md`, `skills/building-a-plugin/SKILL.md`, `skills/deploying-a-console/SKILL.md` and `skills/running-an-agent/SKILL.md`, each with its references, the deploying skill with its scripts, their manifest `SKILLCDN.md` with the rules they share, the specifications they point to under `docs/specs/` (`rest.md`, `cli.md`), and the sources under `src/` without the tests, so that `npm install` brings what an agent needs to read, at the version installed. Point an agent at them in `node_modules/@skillcdn/console/`, or copy a skill's folder into the agent's own skills. A project of a console may name that address as its skills address, and an organization's own skill for its console adds its rules and links these. The skills are maps: what they name, this README, the types and the specifications say in full.
208
+ What an agent reads to work the board, to plan and set it up, to build a console, to write a plugin, to deploy a console, to run an agent account or to keep a desk is in the console's repository as skills in the SkillCDN Format ([ADR-0015](https://github.com/skillcdn/console/blob/main/docs/adr/0015-the-consoles-skills-live-in-this-repository-in-the-skillcdn-format-and-the-package-carries-them.md)), served by SkillCDN at `skillcdn.ai/gh/skillcdn/console` with the architecture, the decisions and the specifications, and shipped in this package: `skills/working-the-board/SKILL.md`, `skills/planning-the-board/SKILL.md`, `skills/building-a-console/SKILL.md`, `skills/building-a-plugin/SKILL.md`, `skills/deploying-a-console/SKILL.md`, `skills/running-an-agent/SKILL.md` and `skills/keeping-a-desk/SKILL.md`, each with its references, the deploying skill with its scripts, their manifest `SKILLCDN.md` with the rules they share, the specifications they point to under `docs/specs/` (`rest.md`, `cli.md`), and the sources under `src/` without the tests, so that `npm install` brings what an agent needs to read, at the version installed. Point an agent at them in `node_modules/@skillcdn/console/`, or copy a skill's folder into the agent's own skills. A project of a console may name that address as its skills address, and an organization's own skill for its console adds its rules and links these. The skills are maps: what they name, this README, the types and the specifications say in full.
152
209
 
153
210
  ## Rules
154
211
 
155
212
  Read the root [`AGENTS.md`](../../AGENTS.md) first. This package is what other people install; it is their contract.
156
213
 
157
214
  - **Pure where it can be.** The schemas and the components do no I/O; the client takes a `fetch` and a base URL; the command takes everything it needs through `runCli`. Nothing here reads the environment but the command's entry point, `src/cli/main.ts`, the one place the process is read (lint enforces it).
158
- - **The main repository's packages come from npm,** by version: `@skillcdn/core` here, for addresses, the REST shapes of a pack and the renderers of what a model is given; the client, the indexer and the reader in the app. Never a path into the main repository, never a copy of its code ([ADR-0001](../../docs/adr/0001-the-console-is-the-reference-console-built-on-the-published-packages.md), [ADR-0031](../../docs/adr/0031-the-console-reads-a-pack-as-the-skillcdn-command-does-and-a-local-one-from-a-directory.md)).
215
+ - **The main repository's packages come from npm,** by version: `@skillcdn/core` here, for addresses, the REST shapes of a pack and the renderers of what a model is given, and `@skillcdn/cli`, for the reads of a pack as the `skillcdn` command prints them, imported by `src/cli/` alone and never by what a page imports ([ADR-0124](../../docs/adr/0124-the-commands-reads-of-a-pack-are-the-skillcdn-commands-own.md)); the client, the indexer and the reader in the app. Never a path into the main repository, never a copy of its code ([ADR-0001](../../docs/adr/0001-the-console-is-the-reference-console-built-on-the-published-packages.md), [ADR-0031](../../docs/adr/0031-the-console-reads-a-pack-as-the-skillcdn-command-does-and-a-local-one-from-a-directory.md)).
159
216
  - **Exported types are public contract.** A change to what `src/index.ts` exports carries a changeset written for whoever installs the package, and the README changes with the usage.
160
217
  - **Runtime dependencies need a reason.** This package ships to browsers; a dependency here needs a stronger case than anywhere else in the repository.
161
218
  - **A page is built from the console's parts.** A look is written once, as a part, in `src/styles/parts/`; a page's file under `src/styles/pages/` lays its own elements out and says where a part is, and gives nothing a look; a colour is written in `src/styles/tokens.css` alone. [`src/styles/README.md`](src/styles/README.md) is the catalogue of the parts, with the rules in full and how a part is added: read it before writing a class. `pnpm check:styles` holds it ([ADR-0106](../../docs/adr/0106-a-look-is-a-part-with-a-file-and-a-row-and-a-page-places-its-parts.md)). A design pass changes how a page looks and not what it does: what is fetched, sent, allowed or tested changes in a change of its own. A changed page is looked at on this machine (`pnpm dev`) before its commit, at a phone's width and on a wide screen, in English and in Korean; what was not looked at is said in the commit.
package/SKILLCDN.md CHANGED
@@ -20,9 +20,9 @@ metadata:
20
20
  ---
21
21
  # Rules for every skill in this repository
22
22
 
23
- These hold for an agent working the board, planning it, building a console, writing a plugin, deploying a console or running an agent account alike. The skills are maps: what they name, the command's own help, the package's README and types, and the specifications under `docs/specs/` say in full, and are right wherever a skill is behind. A page a skill links by a path from the root (`/docs/...`, `/skills/...`) is a file of this repository, read through the connection that served the skill or in the package on the machine, next to the skills.
23
+ A page a skill links by a path from the root (`/docs/...`, `/skills/...`) is a file of this repository, read through the connection that served the skill or in the package on the machine, next to the skills.
24
24
 
25
- **Never touch a token of the board, and never show a secret.** The command is signed in by a person, and a console of a person's own holds the token on their machine: never look for, read, print, copy, send or write a console token or the command's credentials file; `console whoami` says as whom the command acts; a command the console refuses because that person is out (`auth.deactivated`, `auth.not_admitted`) starts nothing, and the person is told, since the console keeps the token for when they are back in. A credential a skill must act with for the person (the deploying skill's access key and API token, the secrets it stores for the console) is read from the file the person saved it in, into the tool's own store or the environment, and never into a message, a log, a page, a bundle, a report or a repository; the skill says how, and nothing else of a skill handles one.
25
+ **Never touch a token of the board, and never show a secret.** The command is signed in by a person, and a console of a person's own holds the token on their machine: never look for, read, print, copy, send or write a console token or the command's credentials file; `console whoami` says as whom the command acts; a command the console refuses because that person is out (`auth.deactivated`, `auth.not_admitted`) starts nothing, and the person is told. A credential a skill must act with for the person (the deploying skill's access key and API token, the secrets it stores for the console) is read from the file the person saved it in, into the tool's own store or the environment, and never into a message, a log, a page, a bundle, a report or a repository; the skill says how, and nothing else of a skill handles one.
26
26
 
27
27
  **Ask only what cannot be derived.** A skill asks for the inputs it cannot get from the request, in one short message, in plain words that a person who is not a developer can answer, and derives the rest from those answers and safe defaults. What was derived is shown at the next step and changed when the person asks; an answer stands for the run.
28
28
 
@@ -36,6 +36,6 @@ These hold for an agent working the board, planning it, building a console, writ
36
36
 
37
37
  **Speak the person's language.** What is written for people, in chat, in a report, a question, a summary or a page, is in the language the person or the task uses; code, identifiers, commit messages and the skills themselves stay in English.
38
38
 
39
- **The board's rules come first.** A console's rules, the workspace's and the project's (`console rules`), say what its organization asks of agents, and hold over these skills' defaults where they differ, within what the specifications allow.
39
+ **The board's rules come first.** A console's rules, with what its workspace and the project add to them (`console rules`), say what its organization asks of agents, and hold over these skills' defaults where they differ, within what the specifications allow.
40
40
 
41
41
  **The specifications win.** Where a skill and `console help`, the package's README, its types or a specification differ, the latter are right and the skill is behind: say so, and go by them.
@@ -1 +1 @@
1
- {"version":3,"file":"agent-page.d.ts","sourceRoot":"","sources":["../src/agent-page.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,EAA4C,MAAM,OAAO,CAAC;AAEjG,OAAO,EAEL,KAAK,aAAa,EAElB,KAAK,SAAS,EAId,KAAK,YAAY,EAIlB,MAAM,UAAU,CAAC;AAmClB,OAAO,EAAE,KAAK,QAAQ,EAA+B,MAAM,aAAa,CAAC;AAgBzE,oHAAoH;AACpH,wBAAgB,OAAO,CAAC,CAAC,EACvB,IAAI,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,CAAC,CAAC,EACzC,OAAO,CAAC,EAAE,MAAM,GACf;IAAE,QAAQ,CAAC,KAAK,EAAE,CAAC,GAAG,SAAS,CA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SAAS,EAAE,CAAC;IACtC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,sCA8BA"}
@@ -196,7 +196,7 @@ function AgentStart(props) {
196
196
  setMade(undefined);
197
197
  invitation.again();
198
198
  }) }));
199
- return (_jsxs(_Fragment, { children: [error !== undefined && _jsx(Callout, { tone: "danger", children: error }), heard ? (panel) : (_jsx(AgentStartSteps, { login: agent.person.login, provider: props.provider, signedIn: agent.person.invited !== true, invited: made !== undefined || (standing !== null && standing !== undefined), onMachine: (signIns.value?.items ?? []).some((one) => one.kind === "command"), heard: heard, invitation: panel }))] }));
199
+ return (_jsxs(_Fragment, { children: [error !== undefined && _jsx(Callout, { tone: "danger", children: error }), heard ? (panel) : (_jsx(AgentStartSteps, { login: agent.person.login, provider: props.provider, signedIn: agent.person.invited !== true, firstSignIn: agent.firstSignIn, invited: made !== undefined || (standing !== null && standing !== undefined), onMachine: (signIns.value?.items ?? []).some((one) => one.kind === "command"), heard: heard, invitation: panel }))] }));
200
200
  }
201
201
  /** What the agent is doing now, and what its supervisor says to it. */
202
202
  function AgentLive(props) {
@@ -232,7 +232,8 @@ function AgentLive(props) {
232
232
  const open = session !== undefined && session.ended === null;
233
233
  const working = open && state === "running" ? workingOf(events) : undefined;
234
234
  // Signals are taken in order: everything up to the last one the record says was taken is.
235
- // Where the record says none, what the runner was handed counts as taken.
235
+ // Where the record says none, what the runner says is delivered counts as taken: what the
236
+ // product took, or the record of an earlier session says was never read (ADR-0131).
236
237
  const floor = open ? (taken ?? delivered) : Math.max(taken ?? 0, delivered);
237
238
  const waiting = waitingOf(signals ?? [], floor);
238
239
  const why = state === "stopped"
@@ -1 +1 @@
1
- {"version":3,"file":"agent-page.js","sourceRoot":"","sources":["../src/agent-page.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAkC,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjG,OAAO,EAAE,aAAa,EAAuB,M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YAAE,KAAK,CAAC,KAAK,GAAK,EAC9C,aAAI,SAAS,EAAC,sBAAsB,YACjC,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACtB,cAA0B,SAAS,EAAC,iBAAiB,aACnD,aAAG,SAAS,EAAC,oBAAoB,EAAC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC,aAC1E,KAAC,MAAM,IAAC,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,IAAI,EAAC,IAAI,GAAG,EACzC,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,IACvB,EACJ,KAAC,eAAe,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,SAAG,KALrC,KAAK,CAAC,MAAM,CAAC,EAAE,CAMnB,CACN,CAAC,GACC,IACG,CACX,CAAC;AACJ,CAAC"}
package/dist/api.d.ts CHANGED
@@ -1,19 +1,20 @@
1
1
  export { agentLabel } from "./agent-name.js";
2
2
  export { AVATAR_BOX, AVATAR_CLOSE_MOST, AVATAR_CLOSE_UNDER, AVATAR_FILL_MOST, AVATAR_PLAIN_UNDER, AVATAR_SET_1, AVATAR_SETS, AVATAR_VEINS, type AvatarAccent, type AvatarBody, type AvatarColor, type AvatarLayer, type AvatarOutline, type AvatarPoint, type AvatarRamp, type AvatarSet, type AvatarShape, type AvatarSurface, avatarDataUrl, avatarPixels, avatarScanlines, avatarSetOf, MAX_AVATAR_PIXELS, pngFile, rollAvatar, } from "./avatar.js";
3
- export { ApiError, type ClientOptions, type CommentInput, type ConsoleClient, createClient, type DocumentFilter, type EventFilter, type FetchLike, type FileRead, type FileUpload, type GoalFilter, type Page, type ProjectClient, type TaskFilter, } from "./client.js";
3
+ export { ApiError, type ClientOptions, type CommentInput, type ConsoleClient, createClient, type DocumentFilter, type EventFilter, type FetchLike, type FileRead, type FileUpload, type GoalFilter, type PackClient, type Page, type ProjectClient, type TaskFilter, } from "./client.js";
4
4
  export { CLIENT_POLICY, CLIENT_PRODUCT, CLIENT_RANGE_HEADER, type ClientJudgement, type ClientPolicy, type ClientVerdict, CONSOLE_AT_LEAST, clientRange, clientVersionOf, commonRange, compareVersions, consoleRange, formatRange, formatVersion, inRange, judgeClient, judgeConsole, parseRange, parseVersion, userAgentOf, VERSION_HEADER, type Version, type VersionRange, } from "./compat.js";
5
5
  export { CONNECT_CODE_ALPHABET, CONNECT_CODE_LENGTH, isConnectCode, normalizeConnectCode, } from "./connect.js";
6
6
  export { DOCUMENT_PATH, documentPathsIn, folderOf, foldersAbove, isDocumentPath, isFolderPath, nameOf, } from "./documents.js";
7
- export { DEFAULT_DAY_START, DEFAULT_PAGE_LIMIT, DEFAULT_TOKEN_DAYS, EVENTS_PAGE_LIMIT, GLANCE_ROWS, INVITATION_DAYS, LIST_LIMIT, MAX_AGENT_ELSEWHERE, MAX_AGENT_LENGTH, MAX_AGENT_SECRET_BYTES, MAX_AGENT_SECRET_NAME_LENGTH, MAX_AGENT_SECRETS, MAX_ARTIFACTS_PER_RUN, MAX_BODY_LENGTH, MAX_CATEGORIES, MAX_CATEGORY_KEY_LENGTH, MAX_CATEGORY_NAME_LENGTH, MAX_COMMENTS_PER_TASK, MAX_DECIDERS, MAX_DECISIONS_PER_PROJECT, MAX_DOCUMENT_LENGTH, MAX_DOCUMENT_PATH_LENGTH, MAX_DOCUMENT_SEGMENT_LENGTH, MAX_DOCUMENTS_PER_PROJECT, MAX_ELSEWHERE_NAME_LENGTH, MAX_FILE_BYTES, MAX_FILE_NAME_LENGTH, MAX_FILES_PER_COMMENT, MAX_FILES_PER_DECISION, MAX_FILES_PER_DOCUMENT, MAX_GOALS_PER_PROJECT, MAX_HANDLE_LENGTH, MAX_LANGUAGE_TAG_LENGTH, MAX_LINK_LABEL_LENGTH, MAX_LINKS, MAX_LOGIN_LENGTH, MAX_NOTE_LENGTH, MAX_OPTION_LABEL_LENGTH, MAX_OPTIONS, MAX_PERSON_NAME_LENGTH, MAX_PERSON_TITLE_LENGTH, MAX_PROJECT_DESCRIPTION_LENGTH, MAX_PROJECT_ICON_BYTES, MAX_PROJECT_KEY_LENGTH, MAX_PROJECT_NAME_LENGTH, MAX_PROJECT_SYMBOL_LENGTH, MAX_PROJECTS_PER_WORKSPACE, MAX_QUESTION_LENGTH, MAX_REPORTS_PER_RUN, MAX_RULES_LENGTH, MAX_RUNNER_LINE_LENGTH, MAX_RUNNER_OFFERS, MAX_RUNS_PER_TASK, MAX_SEAL_REASON_LENGTH, MAX_SEARCH_LENGTH, MAX_SECRET_LENGTH, MAX_SERVICE_PARAMETERS, MAX_SERVICE_VALUE_LENGTH, MAX_SESSIONS_PAGE_LIMIT, MAX_SIGNAL_ATTACHMENTS, MAX_SIGNAL_KEY_LENGTH, MAX_SIGNAL_LENGTH, MAX_SIGNALS_PAGE_LIMIT, MAX_SKILLS_ADDRESS_LENGTH, MAX_STREAMS, MAX_STREAMS_PER_PERSON, MAX_SUMMARY_LENGTH, MAX_TASKS_PER_PROJECT, MAX_TEAM_KEY_LENGTH, MAX_TEAM_NAME_LENGTH, MAX_TEAMS, MAX_TITLE_LENGTH, MAX_TOKEN_DAYS, MAX_TOKEN_NAME_LENGTH, MAX_TOKENS_PER_PERSON, MAX_TRANSCRIPT_ATTACHMENTS, MAX_TRANSCRIPT_BATCH, MAX_TRANSCRIPT_BATCH_BYTES, MAX_TRANSCRIPT_FACT_LENGTH, MAX_TRANSCRIPT_FACT_NAME_LENGTH, MAX_TRANSCRIPT_FACTS, MAX_TRANSCRIPT_FILES_PER_MINUTE, MAX_TRANSCRIPT_PAGE_LIMIT, MAX_TRANSCRIPT_TEXT_BYTES, MAX_URL_LENGTH, MAX_VERSIONS_PER_DOCUMENT, MAX_WORKERS, MIN_HANDLE_LENGTH, MIN_OPTIONS, SESSIONS_PAGE_LIMIT, SIGNALS_PAGE_LIMIT, TRANSCRIPT_INLINE_BYTES, TRANSCRIPT_PAGE_LIMIT, } from "./limits.js";
7
+ export { DEFAULT_DAY_START, DEFAULT_PAGE_LIMIT, DEFAULT_TOKEN_DAYS, EVENTS_PAGE_LIMIT, GLANCE_ROWS, INVITATION_DAYS, LIST_LIMIT, MAX_AGENT_ELSEWHERE, MAX_AGENT_LENGTH, MAX_AGENT_SECRET_BYTES, MAX_AGENT_SECRET_NAME_LENGTH, MAX_AGENT_SECRETS, MAX_AGENT_SESSIONS_PER_HOUR, MAX_AGENT_STATE_CHANGES_PER_HOUR, MAX_ARTIFACTS_PER_RUN, MAX_BODY_LENGTH, MAX_CATEGORIES, MAX_CATEGORY_KEY_LENGTH, MAX_CATEGORY_NAME_LENGTH, MAX_COMMENTS_PER_TASK, MAX_DECIDERS, MAX_DECISIONS_PER_PROJECT, MAX_DOCUMENT_LENGTH, MAX_DOCUMENT_PATH_LENGTH, MAX_DOCUMENT_SEGMENT_LENGTH, MAX_DOCUMENTS_PER_PROJECT, MAX_ELSEWHERE_NAME_LENGTH, MAX_FILE_BYTES, MAX_FILE_NAME_LENGTH, MAX_FILES_PER_COMMENT, MAX_FILES_PER_DECISION, MAX_FILES_PER_DOCUMENT, MAX_GOALS_PER_PROJECT, MAX_HANDLE_LENGTH, MAX_LANGUAGE_TAG_LENGTH, MAX_LINK_LABEL_LENGTH, MAX_LINKS, MAX_LOGIN_LENGTH, MAX_NOTE_LENGTH, MAX_OPTION_LABEL_LENGTH, MAX_OPTIONS, MAX_PERSON_NAME_LENGTH, MAX_PERSON_TITLE_LENGTH, MAX_PROJECT_DESCRIPTION_LENGTH, MAX_PROJECT_ICON_BYTES, MAX_PROJECT_KEY_LENGTH, MAX_PROJECT_NAME_LENGTH, MAX_PROJECT_SYMBOL_LENGTH, MAX_PROJECTS_PER_WORKSPACE, MAX_QUESTION_LENGTH, MAX_REPORTS_PER_RUN, MAX_RULES_LENGTH, MAX_RUNNER_LINE_LENGTH, MAX_RUNNER_OFFERS, MAX_RUNNER_WAKES_PER_HOUR, MAX_RUNS_PER_TASK, MAX_SEAL_REASON_LENGTH, MAX_SEARCH_LENGTH, MAX_SECRET_LENGTH, MAX_SERVICE_PARAMETERS, MAX_SERVICE_VALUE_LENGTH, MAX_SESSIONS_PAGE_LIMIT, MAX_SIGNAL_ATTACHMENTS, MAX_SIGNAL_KEY_LENGTH, MAX_SIGNAL_LENGTH, MAX_SIGNALS_PAGE_LIMIT, MAX_SKILLS_ADDRESS_LENGTH, MAX_STREAMS, MAX_STREAMS_PER_PERSON, MAX_SUMMARY_LENGTH, MAX_TASKS_PER_PROJECT, MAX_TEAM_KEY_LENGTH, MAX_TEAM_NAME_LENGTH, MAX_TEAMS, MAX_TITLE_LENGTH, MAX_TOKEN_DAYS, MAX_TOKEN_NAME_LENGTH, MAX_TOKENS_PER_PERSON, MAX_TRANSCRIPT_ATTACHMENTS, MAX_TRANSCRIPT_BATCH, MAX_TRANSCRIPT_BATCH_BYTES, MAX_TRANSCRIPT_EVENTS_PER_HOUR, MAX_TRANSCRIPT_FACT_LENGTH, MAX_TRANSCRIPT_FACT_NAME_LENGTH, MAX_TRANSCRIPT_FACTS, MAX_TRANSCRIPT_FILES_PER_MINUTE, MAX_TRANSCRIPT_PAGE_LIMIT, MAX_TRANSCRIPT_TEXT_BYTES, MAX_URL_LENGTH, MAX_VERSIONS_PER_DOCUMENT, MAX_WORKERS, MIN_HANDLE_LENGTH, MIN_OPTIONS, SESSIONS_PAGE_LIMIT, SIGNALS_PAGE_LIMIT, TRANSCRIPT_INLINE_BYTES, TRANSCRIPT_PAGE_LIMIT, } from "./limits.js";
8
8
  export { projectColorOf, projectSymbolOf } from "./marks.js";
9
9
  export { type OnboardingInput, onboardingOf, onboardingTitle, } from "./onboarding.js";
10
10
  export { DEFAULT_PROPOSALS, MAX_PROPOSALS, PERSONA_NAMES, type PersonaName, type ProposeOptions, proposeAgents, } from "./persona.js";
11
11
  export * from "./plugin/rest-schemas.js";
12
+ export { checkRecords, isLfsPointer, isRecordDay, isRecordFilePath, isRecordLink, isRecordPreviewPath, MAX_LFS_POINTER_BYTES, MAX_RECORD_COLLECTIONS, MAX_RECORD_FIELDS, MAX_RECORD_FILE_BYTES, MAX_RECORD_ITEM_FILES, MAX_RECORD_ITEMS, MAX_RECORD_KEY_LENGTH, MAX_RECORD_LINE_LENGTH, MAX_RECORD_LINKS, MAX_RECORD_METRIC_ROWS, MAX_RECORD_METRICS, MAX_RECORD_PATH_LENGTH, MAX_RECORD_RATIOS, MAX_RECORD_STATUSES, MAX_RECORD_TEXT_LENGTH, MAX_RECORD_URL_LENGTH, MAX_RECORD_USES, RECORD_FIELD_KINDS, RECORD_METRIC_UNITS, RECORD_PREVIEW_KINDS, RECORD_RATIO_FORMS, RECORDS_COLLECTION_FILE, RECORDS_DIR, RECORDS_FILES_DIR, RECORDS_INDEX_FILE, RECORDS_ITEMS_FILE, RECORDS_METRICS_FILE, RECORDS_USES_FILE, type RecordsCheck, type RecordsCollection, type RecordsFiles, type RecordsIndex, type RecordsItem, type RecordsMetricRow, type RecordsProblem, type RecordsRead, type RecordsUse, readRecords, recordsCollectionSchema, recordsFieldSchema, recordsIndexSchema, recordsItemSchema, recordsItemsSchema, recordsMetricRowSchema, recordsMetricSchema, recordsMetricsSchema, recordsRatioSchema, recordsStatusSchema, recordsUseSchema, recordsUsesSchema, } from "./records.js";
12
13
  export { AUTH_ROUTES, agentPath, CLAIM_PATH, categoryPath, connectPath, decisionFilePath, decisionPath, isSignInFailure, loginPath, PROJECT_COLLECTIONS, type ProjectCollection, personTokensPath, personWorkPath, pluginPath, projectIconPath, projectPath, REST_ROUTES, RETURN_TO_PARAM, restPath, rulesPath, SIGN_IN_FAILURES, SIGN_IN_PARAM, type SignInFailure, signInPath, } from "./routes.js";
13
- export { fillRules, isReferenceRules, languageNameOf, PROJECT_RULES_TEMPLATE, REFERENCE_RULES, RULES_LANGUAGE_PLACEHOLDER, RULES_PATH, RULES_TITLE, } from "./rules.js";
14
- export { CONNECT_AS, type ConnectAs, hostOfLogin, isDomain, isHandle, isLoginAt, isSecretName, OPTION_KEY_PATTERN, RESERVED_HANDLES, type RestAgent, type RestAgentChoice, type RestAgentElsewhere, type RestAgentHours, type RestAgentInput, type RestAgentInvitation, type RestAgentInvitationMade, type RestAgentInvitationState, type RestAgentPatch, type RestAgentProposal, type RestAgentProposals, type RestAgentRunner, type RestAgentSecret, type RestAgentSecretAccess, type RestAgentSecretAccesses, type RestAgentSecretInput, type RestAgentSecrets, type RestAgentSecretValue, type RestAgentSession, type RestAgentSessionEndInput, type RestAgentSessionInput, type RestAgentSessions, type RestAgentSetup, type RestAgentState, type RestAgents, type RestAnswerInput, type RestArchivedTasks, type RestArchiveTasksInput, type RestArtifact, type RestArtifactInput, type RestAvatarParts, type RestBacklink, type RestCategories, type RestCategory, type RestCategoryInput, type RestCategoryPatch, type RestClaim, type RestClaimInput, type RestComment, type RestCommentFile, type RestCommentInput, type RestComments, type RestConnectInput, type RestConnection, type RestConnectRequest, type RestDecision, type RestDecisionBrief, type RestDecisionDeciders, type RestDecisionFile, type RestDecisionInput, type RestDecisionOption, type RestDecisionPatch, type RestDecisions, type RestDocument, type RestDocumentFile, type RestDocumentInput, type RestDocumentLink, type RestDocumentSummary, type RestDocuments, type RestError, type RestEvent, type RestEventData, type RestEvents, type RestFile, type RestFileInput, type RestGlanceGoal, type RestGlanceTask, type RestGoal, type RestGoalInput, type RestGoalPatch, type RestGoals, type RestHome, type RestHomeTile, type RestListing, type RestListingInput, type RestManager, type RestMe, type RestMember, type RestMemberInput, type RestMemberPatch, type RestMembers, type RestMePatch, type RestMyDecisions, type RestOrganization, type RestPackConnect, type RestPackConnectStarted, type RestPackRefusal, type RestPackTokenInput, type RestPeople, type RestPerson, type RestPersonPatch, type RestPersonWork, type RestPersonWorkBrief, type RestProject, type RestProjectGlance, type RestProjectIcon, type RestProjectInput, type RestProjectPatch, type RestProjectRules, type RestProjects, type RestProvider, type RestReachedDecision, type RestReport, type RestReportInput, type RestRules, type RestRulesInput, type RestRulesPlugin, type RestRun, type RestRunEndInput, type RestRunInput, type RestRunnerHeartbeat, type RestRunnerHeartbeatInput, type RestRunnerWake, type RestRuns, type RestSession, type RestSessions, type RestSignal, type RestSignalInput, type RestSignals, type RestSkill, type RestSkillBrowse, type RestSkillCode, type RestSkillFile, type RestSkillFind, type RestSkillLoad, type RestSkillRows, type RestSkills, type RestTask, type RestTaskBrief, type RestTaskCounts, type RestTaskInput, type RestTaskLink, type RestTaskPatch, type RestTasks, type RestTeam, type RestTeamInput, type RestTeamMemberInput, type RestTeamPatch, type RestTeams, type RestToken, type RestTokenCreated, type RestTokenInput, type RestTokens, type RestTranscriptBatch, type RestTranscriptBatchInput, type RestTranscriptEvent, type RestTranscriptEventInput, type RestTranscriptEvents, type RestTranscriptFile, type RestTranscriptSealInput, type RestTranscriptText, type RestVersion, type RestVersionSummary, type RestVersions, type RestWork, type RestWorkBrief, type RestWorkspace, type RestWorkspacePackConnect, type RestWorkspacePatch, type RestWorkspaceService, type RestWorkspaceServices, restAgentChoiceSchema, restAgentElsewhereSchema, restAgentHoursSchema, restAgentInputSchema, restAgentInvitationMadeSchema, restAgentInvitationSchema, restAgentInvitationStateSchema, restAgentPatchSchema, restAgentProposalSchema, restAgentProposalsSchema, restAgentRunnerSchema, restAgentSchema, restAgentSecretAccessesSchema, restAgentSecretAccessSchema, restAgentSecretInputSchema, restAgentSecretSchema, restAgentSecretsSchema, restAgentSecretValueSchema, restAgentSessionEndInputSchema, restAgentSessionInputSchema, restAgentSessionSchema, restAgentSessionsSchema, restAgentSetupSchema, restAgentStateSchema, restAgentsSchema, restAnswerInputSchema, restArchivedTasksSchema, restArchiveTasksInputSchema, restArtifactInputSchema, restArtifactSchema, restAvatarPartsSchema, restBacklinkSchema, restCategoriesSchema, restCategoryInputSchema, restCategoryPatchSchema, restCategorySchema, restClaimInputSchema, restClaimSchema, restCommentFileSchema, restCommentInputSchema, restCommentSchema, restCommentsSchema, restConnectInputSchema, restConnectionSchema, restConnectRequestSchema, restDecisionBriefSchema, restDecisionDecidersSchema, restDecisionFileSchema, restDecisionInputSchema, restDecisionOptionSchema, restDecisionPatchSchema, restDecisionSchema, restDecisionsSchema, restDocumentFileSchema, restDocumentInputSchema, restDocumentLinkSchema, restDocumentSchema, restDocumentSummarySchema, restDocumentsSchema, restErrorSchema, restEventDataSchema, restEventSchema, restEventsSchema, restFileInputSchema, restFileSchema, restGlanceGoalSchema, restGlanceTaskSchema, restGoalInputSchema, restGoalPatchSchema, restGoalSchema, restGoalsSchema, restHomeSchema, restHomeTileSchema, restListingInputSchema, restListingSchema, restManagerSchema, restMemberInputSchema, restMemberPatchSchema, restMemberSchema, restMembersSchema, restMePatchSchema, restMeSchema, restMyDecisionsSchema, restOrganizationSchema, restPackConnectSchema, restPackConnectStartedSchema, restPackRefusalSchema, restPackTokenInputSchema, restPeopleSchema, restPersonPatchSchema, restPersonSchema, restPersonWorkBriefSchema, restPersonWorkSchema, restProjectGlanceSchema, restProjectIconSchema, restProjectInputSchema, restProjectPatchSchema, restProjectRulesSchema, restProjectSchema, restProjectsSchema, restProviderSchema, restReachedDecisionSchema, restReportInputSchema, restReportSchema, restRulesInputSchema, restRulesPluginSchema, restRulesSchema, restRunEndInputSchema, restRunInputSchema, restRunnerHeartbeatInputSchema, restRunnerHeartbeatSchema, restRunnerWakeSchema, restRunSchema, restRunsSchema, restSessionSchema, restSessionsSchema, restSignalInputSchema, restSignalSchema, restSignalsSchema, restSkillBrowseSchema, restSkillCodeSchema, restSkillFileSchema, restSkillFindSchema, restSkillLoadSchema, restSkillRowsSchema, restSkillSchema, restSkillsSchema, restTaskBriefSchema, restTaskCountsSchema, restTaskInputSchema, restTaskLinkSchema, restTaskPatchSchema, restTaskSchema, restTasksSchema, restTeamInputSchema, restTeamMemberInputSchema, restTeamPatchSchema, restTeamSchema, restTeamsSchema, restTokenCreatedSchema, restTokenInputSchema, restTokenSchema, restTokensSchema, restTranscriptBatchInputSchema, restTranscriptBatchSchema, restTranscriptEventInputSchema, restTranscriptEventSchema, restTranscriptEventsSchema, restTranscriptFileSchema, restTranscriptSealInputSchema, restTranscriptTextSchema, restVersionSchema, restVersionSummarySchema, restVersionsSchema, restWorkBriefSchema, restWorkSchema, restWorkspacePackConnectSchema, restWorkspacePatchSchema, restWorkspaceSchema, restWorkspaceServiceSchema, restWorkspaceServicesSchema, type ServiceProblem, serviceProblem, serviceProblemOf, } from "./schemas.js";
15
- export { agentLoginOf, describeService, deskRemoteOf, fillTemplate, SERVICE_PROVIDERS, type ServiceContext, type ServiceItem, type ServiceNames, type ServiceProvider, serviceAccountOf, serviceNamesOf, serviceProviderOf, } from "./services.js";
14
+ export { ADDED_RULES_HEADING, addedRulesOf, CONSOLE_RULES, fillRules, languageNameOf, PROJECT_RULES_TEMPLATE, RULES_LANGUAGE_PLACEHOLDER, RULES_PATH, RULES_TITLE, rulesWith, } from "./rules.js";
15
+ export { CONNECT_AS, type ConnectAs, hostOfLogin, isDomain, isHandle, isLoginAt, isSecretName, OPTION_KEY_PATTERN, RESERVED_HANDLES, type RestAgent, type RestAgentChoice, type RestAgentElsewhere, type RestAgentHours, type RestAgentInput, type RestAgentInvitation, type RestAgentInvitationMade, type RestAgentInvitationState, type RestAgentPatch, type RestAgentProposal, type RestAgentProposals, type RestAgentRunner, type RestAgentSecret, type RestAgentSecretAccess, type RestAgentSecretAccesses, type RestAgentSecretInput, type RestAgentSecrets, type RestAgentSecretValue, type RestAgentSession, type RestAgentSessionEndInput, type RestAgentSessionInput, type RestAgentSessions, type RestAgentSetup, type RestAgentState, type RestAgents, type RestAnswerInput, type RestArchivedTasks, type RestArchiveTasksInput, type RestArtifact, type RestArtifactInput, type RestAvatarParts, type RestBacklink, type RestCategories, type RestCategory, type RestCategoryInput, type RestCategoryPatch, type RestClaim, type RestClaimInput, type RestComment, type RestCommentFile, type RestCommentInput, type RestComments, type RestConnectInput, type RestConnection, type RestConnectRequest, type RestDecision, type RestDecisionBrief, type RestDecisionDeciders, type RestDecisionFile, type RestDecisionInput, type RestDecisionOption, type RestDecisionPatch, type RestDecisions, type RestDocument, type RestDocumentFile, type RestDocumentInput, type RestDocumentLink, type RestDocumentSummary, type RestDocuments, type RestError, type RestEvent, type RestEventData, type RestEvents, type RestFile, type RestFileInput, type RestGlanceGoal, type RestGlanceTask, type RestGoal, type RestGoalInput, type RestGoalPatch, type RestGoals, type RestHome, type RestHomeTile, type RestListing, type RestListingInput, type RestManager, type RestMe, type RestMember, type RestMemberInput, type RestMemberPatch, type RestMembers, type RestMePatch, type RestMyDecisions, type RestOrganization, type RestPackConnect, type RestPackConnectStarted, type RestPackRefusal, type RestPackTokenInput, type RestPeople, type RestPerson, type RestPersonPatch, type RestPersonWork, type RestPersonWorkBrief, type RestProject, type RestProjectGlance, type RestProjectIcon, type RestProjectInput, type RestProjectPatch, type RestProjectRules, type RestProjects, type RestProvider, type RestReachedDecision, type RestReport, type RestReportInput, type RestRules, type RestRulesInput, type RestRulesPlugin, type RestRun, type RestRunBrief, type RestRunBriefs, type RestRunEndInput, type RestRunInput, type RestRunnerHeartbeat, type RestRunnerHeartbeatInput, type RestRunnerWake, type RestRuns, type RestSession, type RestSessions, type RestSignal, type RestSignalInput, type RestSignals, type RestSkill, type RestSkillBrowse, type RestSkillCode, type RestSkillFile, type RestSkillFind, type RestSkillLoad, type RestSkillRows, type RestSkills, type RestTask, type RestTaskBrief, type RestTaskBriefs, type RestTaskCounts, type RestTaskInput, type RestTaskLink, type RestTaskPatch, type RestTasks, type RestTeam, type RestTeamInput, type RestTeamMemberInput, type RestTeamPatch, type RestTeams, type RestToken, type RestTokenCreated, type RestTokenInput, type RestTokens, type RestTranscriptBatch, type RestTranscriptBatchInput, type RestTranscriptEvent, type RestTranscriptEventInput, type RestTranscriptEvents, type RestTranscriptFile, type RestTranscriptSealInput, type RestTranscriptText, type RestVersion, type RestVersionSummary, type RestVersions, type RestWork, type RestWorkBrief, type RestWorkspace, type RestWorkspacePackConnect, type RestWorkspacePatch, type RestWorkspaceService, type RestWorkspaceServices, reportCountOf, restAgentChoiceSchema, restAgentElsewhereSchema, restAgentHoursSchema, restAgentInputSchema, restAgentInvitationMadeSchema, restAgentInvitationSchema, restAgentInvitationStateSchema, restAgentPatchSchema, restAgentProposalSchema, restAgentProposalsSchema, restAgentRunnerSchema, restAgentSchema, restAgentSecretAccessesSchema, restAgentSecretAccessSchema, restAgentSecretInputSchema, restAgentSecretSchema, restAgentSecretsSchema, restAgentSecretValueSchema, restAgentSessionEndInputSchema, restAgentSessionInputSchema, restAgentSessionSchema, restAgentSessionsSchema, restAgentSetupSchema, restAgentStateSchema, restAgentsSchema, restAnswerInputSchema, restArchivedTasksSchema, restArchiveTasksInputSchema, restArtifactInputSchema, restArtifactSchema, restAvatarPartsSchema, restBacklinkSchema, restCategoriesSchema, restCategoryInputSchema, restCategoryPatchSchema, restCategorySchema, restClaimInputSchema, restClaimSchema, restCommentFileSchema, restCommentInputSchema, restCommentSchema, restCommentsSchema, restConnectInputSchema, restConnectionSchema, restConnectRequestSchema, restDecisionBriefSchema, restDecisionDecidersSchema, restDecisionFileSchema, restDecisionInputSchema, restDecisionOptionSchema, restDecisionPatchSchema, restDecisionSchema, restDecisionsSchema, restDocumentFileSchema, restDocumentInputSchema, restDocumentLinkSchema, restDocumentSchema, restDocumentSummarySchema, restDocumentsSchema, restErrorSchema, restEventDataSchema, restEventSchema, restEventsSchema, restFileInputSchema, restFileSchema, restGlanceGoalSchema, restGlanceTaskSchema, restGoalInputSchema, restGoalPatchSchema, restGoalSchema, restGoalsSchema, restHomeSchema, restHomeTileSchema, restListingInputSchema, restListingSchema, restManagerSchema, restMemberInputSchema, restMemberPatchSchema, restMemberSchema, restMembersSchema, restMePatchSchema, restMeSchema, restMyDecisionsSchema, restOrganizationSchema, restPackConnectSchema, restPackConnectStartedSchema, restPackRefusalSchema, restPackTokenInputSchema, restPeopleSchema, restPersonPatchSchema, restPersonSchema, restPersonWorkBriefSchema, restPersonWorkSchema, restProjectGlanceSchema, restProjectIconSchema, restProjectInputSchema, restProjectPatchSchema, restProjectRulesSchema, restProjectSchema, restProjectsSchema, restProviderSchema, restReachedDecisionSchema, restReportInputSchema, restReportSchema, restRulesInputSchema, restRulesPluginSchema, restRulesSchema, restRunBriefSchema, restRunBriefsSchema, restRunEndInputSchema, restRunInputSchema, restRunnerHeartbeatInputSchema, restRunnerHeartbeatSchema, restRunnerWakeSchema, restRunSchema, restRunsSchema, restSessionSchema, restSessionsSchema, restSignalInputSchema, restSignalSchema, restSignalsSchema, restSkillBrowseSchema, restSkillCodeSchema, restSkillFileSchema, restSkillFindSchema, restSkillLoadSchema, restSkillRowsSchema, restSkillSchema, restSkillsSchema, restTaskBriefSchema, restTaskBriefsSchema, restTaskCountsSchema, restTaskInputSchema, restTaskLinkSchema, restTaskPatchSchema, restTaskSchema, restTasksSchema, restTeamInputSchema, restTeamMemberInputSchema, restTeamPatchSchema, restTeamSchema, restTeamsSchema, restTokenCreatedSchema, restTokenInputSchema, restTokenSchema, restTokensSchema, restTranscriptBatchInputSchema, restTranscriptBatchSchema, restTranscriptEventInputSchema, restTranscriptEventSchema, restTranscriptEventsSchema, restTranscriptFileSchema, restTranscriptSealInputSchema, restTranscriptTextSchema, restVersionSchema, restVersionSummarySchema, restVersionsSchema, restWorkBriefSchema, restWorkSchema, restWorkspacePackConnectSchema, restWorkspacePatchSchema, restWorkspaceSchema, restWorkspaceServiceSchema, restWorkspaceServicesSchema, type ServiceProblem, serviceProblem, serviceProblemOf, } from "./schemas.js";
16
+ export { agentAddressOf, agentLoginOf, describeService, deskRemoteOf, fillTemplate, SERVICE_PROVIDERS, type ServiceContext, type ServiceItem, type ServiceNames, type ServiceProvider, serviceAccountOf, serviceNamesOf, serviceProviderOf, } from "./services.js";
16
17
  export { type GuideService, guideServicesOf, SETUP_INSTALL, type SetupGuide, type SetupGuideSection, type SetupGuideStep, type SetupRole, setupCommandOf, setupGuideOf, setupGuideText, setupSentenceOf, } from "./setup-guide.js";
17
18
  export { hasForbiddenCodePoint } from "./text.js";
18
- export { AGENT_STATE_REASONS, AGENT_STATES, type AgentState, type AgentStateReason, ARTIFACT_KINDS, type ArtifactKind, CATEGORY_COLORS, type CategoryColor, COLOR_NAMES, CONSOLE_LANGUAGES, type ColorName, type ConsoleLanguage, EVENT_KINDS, type EventKind, GOAL_STATES, type GoalState, isProviderKey, LINK_SOURCES, type LinkSource, languagesFirst, MEMBERSHIP_SOURCES, type MembershipSource, OPEN_GOAL_STATES, OPEN_TASK_STATES, PACK_CONNECT_ENDINGS, type PackConnectEnding, PEOPLE_VISIBILITIES, PERSON_KINDS, PERSON_ROLES, PERSON_STATUSES, type PeopleVisibility, type PersonKind, type PersonRole, type PersonStatus, PLUGIN_COMMAND_OUTCOMES, PLUGIN_STATES, type PluginCommandOutcome, type PluginState, PROJECT_ICON_TYPES, PROJECT_ROLES, PROJECT_VISIBILITIES, PROVIDER_KEYS, type ProjectIconType, type ProjectRole, type ProjectVisibility, type ProviderKey, RULES_SOURCES, RUN_ENDINGS, RUN_STATUSES, type RulesSource, type RunEnding, type RunStatus, SECRET_ACCESSES, SERVICE_ROLES, SESSION_ENDS, SESSION_KINDS, type SecretAccess, type ServiceRole, type SessionEnd, type SessionKind, SIGNAL_KINDS, SIGNAL_SOURCES, type SignalKind, type SignalSource, SKILLS_STATUSES, type SkillsStatus, TASK_PRIORITIES, TASK_STATES, type TaskPriority, type TaskState, TRANSCRIPT_KINDS, TRANSCRIPT_PICTURE_TYPES, type TranscriptKind, type TranscriptPictureType, WEEK_STARTS, type WeekStart, } from "./vocabulary.js";
19
+ export { AGENT_STATE_REASONS, AGENT_STATES, type AgentState, type AgentStateReason, ARTIFACT_KINDS, type ArtifactKind, CATEGORY_COLORS, type CategoryColor, COLOR_NAMES, CONSOLE_LANGUAGES, type ColorName, type ConsoleLanguage, EVENT_KINDS, type EventKind, FIRST_SIGN_INS, type FirstSignIn, GOAL_STATES, type GoalState, isProviderKey, LINK_SOURCES, type LinkSource, languagesFirst, MEMBERSHIP_SOURCES, type MembershipSource, OPEN_GOAL_STATES, OPEN_TASK_STATES, PACK_CONNECT_ENDINGS, type PackConnectEnding, PEOPLE_VISIBILITIES, PERSON_KINDS, PERSON_ROLES, PERSON_STATUSES, type PeopleVisibility, type PersonKind, type PersonRole, type PersonStatus, PLUGIN_COMMAND_OUTCOMES, PLUGIN_STATES, type PluginCommandOutcome, type PluginState, PROJECT_ICON_TYPES, PROJECT_ROLES, PROJECT_VISIBILITIES, PROVIDER_KEYS, type ProjectIconType, type ProjectRole, type ProjectVisibility, type ProviderKey, RULES_SOURCES, RUN_ENDINGS, RUN_STATUSES, type RulesSource, type RunEnding, type RunStatus, SECRET_ACCESSES, SERVICE_ROLES, SESSION_ENDS, SESSION_KINDS, type SecretAccess, type ServiceRole, type SessionEnd, type SessionKind, SIGNAL_KINDS, SIGNAL_SOURCES, type SignalKind, type SignalSource, SKILLS_STATUSES, type SkillsStatus, TASK_PRIORITIES, TASK_STATES, type TaskPriority, type TaskState, TRANSCRIPT_KINDS, TRANSCRIPT_PICTURE_TYPES, type TranscriptKind, type TranscriptPictureType, WEEK_STARTS, type WeekStart, } from "./vocabulary.js";
19
20
  //# sourceMappingURL=api.d.ts.map