@skillcdn/console 0.5.0 → 0.5.2

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 (490) hide show
  1. package/README.md +87 -12
  2. package/SKILLCDN.md +3 -3
  3. package/dist/agent-page.d.ts.map +1 -1
  4. package/dist/agent-page.js +7 -6
  5. package/dist/agent-page.js.map +1 -1
  6. package/dist/api.d.ts +9 -7
  7. package/dist/api.d.ts.map +1 -1
  8. package/dist/api.js +8 -6
  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 +58 -2
  15. package/dist/cli/cli.d.ts.map +1 -1
  16. package/dist/cli/cli.js +1742 -472
  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 +70 -9
  31. package/dist/cli/format.d.ts.map +1 -1
  32. package/dist/cli/format.js +267 -40
  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 +101 -58
  37. package/dist/cli/help.js.map +1 -1
  38. package/dist/cli/machine-check.d.ts +36 -0
  39. package/dist/cli/machine-check.d.ts.map +1 -0
  40. package/dist/cli/machine-check.js +151 -0
  41. package/dist/cli/machine-check.js.map +1 -0
  42. package/dist/cli/main.js +76 -2
  43. package/dist/cli/main.js.map +1 -1
  44. package/dist/cli/pack.d.ts +69 -60
  45. package/dist/cli/pack.d.ts.map +1 -1
  46. package/dist/cli/pack.js +241 -270
  47. package/dist/cli/pack.js.map +1 -1
  48. package/dist/cli/plugin-check.d.ts +42 -0
  49. package/dist/cli/plugin-check.d.ts.map +1 -1
  50. package/dist/cli/plugin-check.js +221 -36
  51. package/dist/cli/plugin-check.js.map +1 -1
  52. package/dist/cli/plugin-cli.d.ts +6 -1
  53. package/dist/cli/plugin-cli.d.ts.map +1 -1
  54. package/dist/cli/plugin-cli.js +21 -4
  55. package/dist/cli/plugin-cli.js.map +1 -1
  56. package/dist/cli/plugin-main.js +1 -0
  57. package/dist/cli/plugin-main.js.map +1 -1
  58. package/dist/cli/runner-host.d.ts +7 -0
  59. package/dist/cli/runner-host.d.ts.map +1 -1
  60. package/dist/cli/runner-host.js +2 -0
  61. package/dist/cli/runner-host.js.map +1 -1
  62. package/dist/cli/secret-notes.d.ts +8 -0
  63. package/dist/cli/secret-notes.d.ts.map +1 -0
  64. package/dist/cli/secret-notes.js +48 -0
  65. package/dist/cli/secret-notes.js.map +1 -0
  66. package/dist/cli/serve.d.ts +33 -1
  67. package/dist/cli/serve.d.ts.map +1 -1
  68. package/dist/cli/serve.js +252 -3
  69. package/dist/cli/serve.js.map +1 -1
  70. package/dist/client.d.ts +54 -9
  71. package/dist/client.d.ts.map +1 -1
  72. package/dist/client.js +77 -80
  73. package/dist/client.js.map +1 -1
  74. package/dist/components/agent-page.d.ts +164 -8
  75. package/dist/components/agent-page.d.ts.map +1 -1
  76. package/dist/components/agent-page.js +588 -151
  77. package/dist/components/agent-page.js.map +1 -1
  78. package/dist/components/agents.d.ts.map +1 -1
  79. package/dist/components/agents.js +1 -1
  80. package/dist/components/agents.js.map +1 -1
  81. package/dist/components/board.d.ts.map +1 -1
  82. package/dist/components/board.js +3 -2
  83. package/dist/components/board.js.map +1 -1
  84. package/dist/components/categories.js +1 -1
  85. package/dist/components/categories.js.map +1 -1
  86. package/dist/components/charts.d.ts +157 -0
  87. package/dist/components/charts.d.ts.map +1 -0
  88. package/dist/components/charts.js +182 -0
  89. package/dist/components/charts.js.map +1 -0
  90. package/dist/components/decision-list.d.ts.map +1 -1
  91. package/dist/components/decision-list.js +1 -1
  92. package/dist/components/decision-list.js.map +1 -1
  93. package/dist/components/desk-records.d.ts +102 -0
  94. package/dist/components/desk-records.d.ts.map +1 -0
  95. package/dist/components/desk-records.js +221 -0
  96. package/dist/components/desk-records.js.map +1 -0
  97. package/dist/components/desk.d.ts +85 -0
  98. package/dist/components/desk.d.ts.map +1 -0
  99. package/dist/components/desk.js +135 -0
  100. package/dist/components/desk.js.map +1 -0
  101. package/dist/components/event-feed.d.ts.map +1 -1
  102. package/dist/components/event-feed.js +7 -3
  103. package/dist/components/event-feed.js.map +1 -1
  104. package/dist/components/goals.d.ts +2 -0
  105. package/dist/components/goals.d.ts.map +1 -1
  106. package/dist/components/goals.js +1 -1
  107. package/dist/components/goals.js.map +1 -1
  108. package/dist/components/home.d.ts.map +1 -1
  109. package/dist/components/home.js +14 -6
  110. package/dist/components/home.js.map +1 -1
  111. package/dist/components/icon.d.ts +31 -0
  112. package/dist/components/icon.d.ts.map +1 -0
  113. package/dist/components/icon.js +169 -0
  114. package/dist/components/icon.js.map +1 -0
  115. package/dist/components/markdown.d.ts +6 -0
  116. package/dist/components/markdown.d.ts.map +1 -1
  117. package/dist/components/markdown.js +10 -2
  118. package/dist/components/markdown.js.map +1 -1
  119. package/dist/components/people.js +1 -1
  120. package/dist/components/people.js.map +1 -1
  121. package/dist/components/plugin-frame.d.ts.map +1 -1
  122. package/dist/components/plugin-frame.js +7 -0
  123. package/dist/components/plugin-frame.js.map +1 -1
  124. package/dist/components/plugin-settings.d.ts.map +1 -1
  125. package/dist/components/plugin-settings.js +54 -3
  126. package/dist/components/plugin-settings.js.map +1 -1
  127. package/dist/components/projects.d.ts +17 -4
  128. package/dist/components/projects.d.ts.map +1 -1
  129. package/dist/components/projects.js +51 -12
  130. package/dist/components/projects.js.map +1 -1
  131. package/dist/components/rules.d.ts +8 -10
  132. package/dist/components/rules.d.ts.map +1 -1
  133. package/dist/components/rules.js +35 -13
  134. package/dist/components/rules.js.map +1 -1
  135. package/dist/components/sessions.d.ts.map +1 -1
  136. package/dist/components/sessions.js +3 -2
  137. package/dist/components/sessions.js.map +1 -1
  138. package/dist/components/setup.d.ts +9 -3
  139. package/dist/components/setup.d.ts.map +1 -1
  140. package/dist/components/setup.js +12 -6
  141. package/dist/components/setup.js.map +1 -1
  142. package/dist/components/shell.d.ts.map +1 -1
  143. package/dist/components/shell.js +3 -2
  144. package/dist/components/shell.js.map +1 -1
  145. package/dist/components/tokens.js +1 -1
  146. package/dist/components/tokens.js.map +1 -1
  147. package/dist/components/ui.d.ts +5 -2
  148. package/dist/components/ui.d.ts.map +1 -1
  149. package/dist/components/ui.js +10 -7
  150. package/dist/components/ui.js.map +1 -1
  151. package/dist/connect-page.js +1 -1
  152. package/dist/connect-page.js.map +1 -1
  153. package/dist/console.css +1172 -106
  154. package/dist/console.d.ts +5 -0
  155. package/dist/console.d.ts.map +1 -1
  156. package/dist/console.js +52 -39
  157. package/dist/console.js.map +1 -1
  158. package/dist/data.d.ts.map +1 -1
  159. package/dist/data.js +32 -33
  160. package/dist/data.js.map +1 -1
  161. package/dist/desk-page.d.ts +38 -0
  162. package/dist/desk-page.d.ts.map +1 -0
  163. package/dist/desk-page.js +184 -0
  164. package/dist/desk-page.js.map +1 -0
  165. package/dist/desk-records-page.d.ts +18 -0
  166. package/dist/desk-records-page.d.ts.map +1 -0
  167. package/dist/desk-records-page.js +130 -0
  168. package/dist/desk-records-page.js.map +1 -0
  169. package/dist/desk-records.d.ts +247 -0
  170. package/dist/desk-records.d.ts.map +1 -0
  171. package/dist/desk-records.js +543 -0
  172. package/dist/desk-records.js.map +1 -0
  173. package/dist/desk.d.ts +122 -0
  174. package/dist/desk.d.ts.map +1 -0
  175. package/dist/desk.js +211 -0
  176. package/dist/desk.js.map +1 -0
  177. package/dist/feed-stream.d.ts +39 -0
  178. package/dist/feed-stream.d.ts.map +1 -0
  179. package/dist/feed-stream.js +117 -0
  180. package/dist/feed-stream.js.map +1 -0
  181. package/dist/home-tiles.d.ts +19 -3
  182. package/dist/home-tiles.d.ts.map +1 -1
  183. package/dist/home-tiles.js +147 -42
  184. package/dist/home-tiles.js.map +1 -1
  185. package/dist/i18n/en.d.ts +228 -6
  186. package/dist/i18n/en.d.ts.map +1 -1
  187. package/dist/i18n/en.js +309 -9
  188. package/dist/i18n/en.js.map +1 -1
  189. package/dist/i18n/ko.d.ts.map +1 -1
  190. package/dist/i18n/ko.js +366 -85
  191. package/dist/i18n/ko.js.map +1 -1
  192. package/dist/i18n/particles.d.ts +7 -0
  193. package/dist/i18n/particles.d.ts.map +1 -0
  194. package/dist/i18n/particles.js +72 -0
  195. package/dist/i18n/particles.js.map +1 -0
  196. package/dist/icons/glyphs.d.ts +605 -0
  197. package/dist/icons/glyphs.d.ts.map +1 -0
  198. package/dist/icons/glyphs.js +104 -0
  199. package/dist/icons/glyphs.js.map +1 -0
  200. package/dist/icons/index.d.ts +59 -0
  201. package/dist/icons/index.d.ts.map +1 -0
  202. package/dist/icons/index.js +157 -0
  203. package/dist/icons/index.js.map +1 -0
  204. package/dist/index.d.ts +9 -0
  205. package/dist/index.d.ts.map +1 -1
  206. package/dist/index.js +9 -0
  207. package/dist/index.js.map +1 -1
  208. package/dist/limits.d.ts +20 -0
  209. package/dist/limits.d.ts.map +1 -1
  210. package/dist/limits.js +20 -0
  211. package/dist/limits.js.map +1 -1
  212. package/dist/marks.d.ts +9 -0
  213. package/dist/marks.d.ts.map +1 -1
  214. package/dist/marks.js +9 -0
  215. package/dist/marks.js.map +1 -1
  216. package/dist/onboarding.d.ts +6 -0
  217. package/dist/onboarding.d.ts.map +1 -1
  218. package/dist/onboarding.js +5 -5
  219. package/dist/onboarding.js.map +1 -1
  220. package/dist/plugin/context.d.ts +42 -11
  221. package/dist/plugin/context.d.ts.map +1 -1
  222. package/dist/plugin/limits.d.ts +2 -0
  223. package/dist/plugin/limits.d.ts.map +1 -1
  224. package/dist/plugin/limits.js +2 -0
  225. package/dist/plugin/limits.js.map +1 -1
  226. package/dist/plugin/manifest.d.ts +13 -0
  227. package/dist/plugin/manifest.d.ts.map +1 -1
  228. package/dist/plugin/manifest.js +30 -3
  229. package/dist/plugin/manifest.js.map +1 -1
  230. package/dist/plugin/rest-schemas.d.ts +55 -0
  231. package/dist/plugin/rest-schemas.d.ts.map +1 -1
  232. package/dist/plugin/rest-schemas.js +37 -0
  233. package/dist/plugin/rest-schemas.js.map +1 -1
  234. package/dist/plugin/sandbox.d.ts.map +1 -1
  235. package/dist/plugin/sandbox.js +4 -1
  236. package/dist/plugin/sandbox.js.map +1 -1
  237. package/dist/plugin/testing.d.ts +6 -2
  238. package/dist/plugin/testing.d.ts.map +1 -1
  239. package/dist/plugin/testing.js +52 -10
  240. package/dist/plugin/testing.js.map +1 -1
  241. package/dist/plugin/web.d.ts +3 -0
  242. package/dist/plugin/web.d.ts.map +1 -1
  243. package/dist/plugin/web.js +5 -1
  244. package/dist/plugin/web.js.map +1 -1
  245. package/dist/plugin.d.ts +1 -1
  246. package/dist/plugin.d.ts.map +1 -1
  247. package/dist/plugin.js +1 -1
  248. package/dist/plugin.js.map +1 -1
  249. package/dist/records.d.ts +283 -0
  250. package/dist/records.d.ts.map +1 -0
  251. package/dist/records.js +543 -0
  252. package/dist/records.js.map +1 -0
  253. package/dist/routes.d.ts +3 -1
  254. package/dist/routes.d.ts.map +1 -1
  255. package/dist/routes.js +3 -1
  256. package/dist/routes.js.map +1 -1
  257. package/dist/rules.d.ts +30 -11
  258. package/dist/rules.d.ts.map +1 -1
  259. package/dist/rules.js +98 -45
  260. package/dist/rules.js.map +1 -1
  261. package/dist/runner/acp.d.ts +1 -1
  262. package/dist/runner/acp.d.ts.map +1 -1
  263. package/dist/runner/acp.js +32 -21
  264. package/dist/runner/acp.js.map +1 -1
  265. package/dist/runner/awake.d.ts +35 -0
  266. package/dist/runner/awake.d.ts.map +1 -0
  267. package/dist/runner/awake.js +95 -0
  268. package/dist/runner/awake.js.map +1 -0
  269. package/dist/runner/claude.d.ts +1 -1
  270. package/dist/runner/claude.d.ts.map +1 -1
  271. package/dist/runner/claude.js +100 -18
  272. package/dist/runner/claude.js.map +1 -1
  273. package/dist/runner/codex.d.ts +1 -1
  274. package/dist/runner/codex.d.ts.map +1 -1
  275. package/dist/runner/codex.js +20 -17
  276. package/dist/runner/codex.js.map +1 -1
  277. package/dist/runner/config.d.ts +5 -0
  278. package/dist/runner/config.d.ts.map +1 -1
  279. package/dist/runner/config.js +9 -0
  280. package/dist/runner/config.js.map +1 -1
  281. package/dist/runner/desk.d.ts +43 -2
  282. package/dist/runner/desk.d.ts.map +1 -1
  283. package/dist/runner/desk.js +168 -13
  284. package/dist/runner/desk.js.map +1 -1
  285. package/dist/runner/process.d.ts.map +1 -1
  286. package/dist/runner/process.js +11 -4
  287. package/dist/runner/process.js.map +1 -1
  288. package/dist/runner/redact.d.ts +39 -4
  289. package/dist/runner/redact.d.ts.map +1 -1
  290. package/dist/runner/redact.js +81 -5
  291. package/dist/runner/redact.js.map +1 -1
  292. package/dist/runner/runner.d.ts +28 -3
  293. package/dist/runner/runner.d.ts.map +1 -1
  294. package/dist/runner/runner.js +371 -54
  295. package/dist/runner/runner.js.map +1 -1
  296. package/dist/runner/slack.d.ts.map +1 -1
  297. package/dist/runner/slack.js +10 -4
  298. package/dist/runner/slack.js.map +1 -1
  299. package/dist/runner/task-scheduler.d.ts +20 -0
  300. package/dist/runner/task-scheduler.d.ts.map +1 -1
  301. package/dist/runner/task-scheduler.js +34 -4
  302. package/dist/runner/task-scheduler.js.map +1 -1
  303. package/dist/runner/types.d.ts +51 -1
  304. package/dist/runner/types.d.ts.map +1 -1
  305. package/dist/runner/types.js +26 -0
  306. package/dist/runner/types.js.map +1 -1
  307. package/dist/runner.d.ts +6 -6
  308. package/dist/runner.d.ts.map +1 -1
  309. package/dist/runner.js +5 -5
  310. package/dist/runner.js.map +1 -1
  311. package/dist/schemas.d.ts +603 -6
  312. package/dist/schemas.d.ts.map +1 -1
  313. package/dist/schemas.js +156 -20
  314. package/dist/schemas.js.map +1 -1
  315. package/dist/services.d.ts +22 -5
  316. package/dist/services.d.ts.map +1 -1
  317. package/dist/services.js +41 -17
  318. package/dist/services.js.map +1 -1
  319. package/dist/setup-guide.d.ts +17 -4
  320. package/dist/setup-guide.d.ts.map +1 -1
  321. package/dist/setup-guide.js +48 -41
  322. package/dist/setup-guide.js.map +1 -1
  323. package/dist/tokens.d.ts.map +1 -1
  324. package/dist/tokens.js +5 -1
  325. package/dist/tokens.js.map +1 -1
  326. package/dist/vocabulary.d.ts +21 -3
  327. package/dist/vocabulary.d.ts.map +1 -1
  328. package/dist/vocabulary.js +19 -3
  329. package/dist/vocabulary.js.map +1 -1
  330. package/docs/specs/cli.md +73 -44
  331. package/docs/specs/plugins.md +40 -22
  332. package/docs/specs/records.md +113 -0
  333. package/docs/specs/rest.md +30 -21
  334. package/docs/specs/runner.md +46 -22
  335. package/package.json +11 -2
  336. package/skills/building-a-console/SKILL.md +4 -4
  337. package/skills/building-a-plugin/SKILL.md +6 -6
  338. package/skills/deploying-a-console/SKILL.md +4 -4
  339. package/skills/deploying-a-console/references/resources.md +41 -4
  340. package/skills/deploying-a-console/references/running-it-again.md +3 -2
  341. package/skills/keeping-a-desk/SKILL.md +133 -0
  342. package/skills/keeping-a-desk/collections.md +96 -0
  343. package/skills/planning-the-board/SKILL.md +14 -18
  344. package/skills/planning-the-board/references/a-task.md +2 -2
  345. package/skills/planning-the-board/references/project-rules.md +13 -14
  346. package/skills/planning-the-board/references/setting-up.md +15 -13
  347. package/skills/running-an-agent/SKILL.md +47 -56
  348. package/skills/working-the-board/SKILL.md +63 -44
  349. package/skills/working-the-board/references/terms.md +9 -5
  350. package/skills/working-the-board/references/the-pack.md +12 -10
  351. package/skills/working-the-board/references/the-sentence.md +2 -2
  352. package/src/agent-page.tsx +16 -2
  353. package/src/api.ts +109 -3
  354. package/src/charts.ts +250 -0
  355. package/src/cli/cli.ts +2226 -580
  356. package/src/cli/command-words.ts +56 -0
  357. package/src/cli/credentials.ts +181 -20
  358. package/src/cli/directory.ts +28 -10
  359. package/src/cli/format.ts +332 -49
  360. package/src/cli/help.ts +113 -57
  361. package/src/cli/machine-check.ts +223 -0
  362. package/src/cli/main.ts +72 -2
  363. package/src/cli/pack.ts +333 -372
  364. package/src/cli/plugin-check.ts +275 -34
  365. package/src/cli/plugin-cli.ts +28 -4
  366. package/src/cli/plugin-main.ts +1 -0
  367. package/src/cli/runner-host.ts +8 -0
  368. package/src/cli/secret-notes.ts +63 -0
  369. package/src/cli/serve.ts +295 -2
  370. package/src/client.ts +215 -177
  371. package/src/components/agent-page.tsx +1044 -281
  372. package/src/components/agents.tsx +9 -5
  373. package/src/components/board.tsx +3 -15
  374. package/src/components/categories.tsx +2 -2
  375. package/src/components/charts.tsx +680 -0
  376. package/src/components/decision-list.tsx +11 -7
  377. package/src/components/desk-records.tsx +724 -0
  378. package/src/components/desk.tsx +471 -0
  379. package/src/components/event-feed.tsx +12 -3
  380. package/src/components/goals.tsx +33 -25
  381. package/src/components/home.tsx +42 -6
  382. package/src/components/icon.tsx +337 -0
  383. package/src/components/markdown.tsx +22 -2
  384. package/src/components/people.tsx +1 -1
  385. package/src/components/plugin-frame.tsx +7 -0
  386. package/src/components/plugin-settings.tsx +171 -12
  387. package/src/components/projects.tsx +68 -17
  388. package/src/components/rules.tsx +94 -34
  389. package/src/components/sessions.tsx +2 -13
  390. package/src/components/setup.tsx +20 -5
  391. package/src/components/shell.tsx +3 -20
  392. package/src/components/tokens.tsx +1 -1
  393. package/src/components/ui.tsx +16 -8
  394. package/src/connect-page.tsx +1 -1
  395. package/src/console.tsx +104 -62
  396. package/src/data.ts +37 -34
  397. package/src/desk-page.tsx +332 -0
  398. package/src/desk-records-page.tsx +256 -0
  399. package/src/desk-records.ts +808 -0
  400. package/src/desk.ts +329 -0
  401. package/src/feed-stream.ts +144 -0
  402. package/src/home-tiles.ts +170 -46
  403. package/src/i18n/en.ts +323 -11
  404. package/src/i18n/ko.ts +378 -87
  405. package/src/i18n/particles.ts +79 -0
  406. package/src/icons/glyphs.ts +112 -0
  407. package/src/icons/index.ts +195 -0
  408. package/src/index.ts +125 -0
  409. package/src/limits.ts +20 -0
  410. package/src/marks.ts +12 -0
  411. package/src/onboarding.ts +14 -6
  412. package/src/plugin/context.ts +55 -12
  413. package/src/plugin/limits.ts +2 -0
  414. package/src/plugin/manifest.ts +38 -2
  415. package/src/plugin/rest-schemas.ts +41 -0
  416. package/src/plugin/sandbox.ts +4 -1
  417. package/src/plugin/testing.ts +63 -12
  418. package/src/plugin/web.ts +9 -2
  419. package/src/plugin.ts +2 -0
  420. package/src/records.ts +702 -0
  421. package/src/routes.ts +3 -1
  422. package/src/rules.ts +108 -47
  423. package/src/runner/acp.ts +49 -30
  424. package/src/runner/awake.ts +135 -0
  425. package/src/runner/claude.ts +131 -26
  426. package/src/runner/codex.ts +37 -26
  427. package/src/runner/config.ts +9 -0
  428. package/src/runner/desk.ts +200 -15
  429. package/src/runner/process.ts +11 -4
  430. package/src/runner/redact.ts +92 -6
  431. package/src/runner/runner.ts +457 -56
  432. package/src/runner/slack.ts +10 -4
  433. package/src/runner/task-scheduler.ts +36 -4
  434. package/src/runner/types.ts +67 -1
  435. package/src/runner.ts +27 -2
  436. package/src/schemas.ts +177 -18
  437. package/src/services.ts +55 -16
  438. package/src/setup-guide.ts +49 -40
  439. package/src/styles/README.md +16 -5
  440. package/src/styles/base.css +17 -0
  441. package/src/styles/console.css +10 -0
  442. package/src/styles/drawn-by-pages.json +1 -1
  443. package/src/styles/pages/agents.css +103 -1
  444. package/src/styles/pages/board.css +0 -10
  445. package/src/styles/pages/calendar.css +1 -1
  446. package/src/styles/pages/connect.css +0 -10
  447. package/src/styles/pages/decisions.css +3 -1
  448. package/src/styles/pages/desk.css +126 -0
  449. package/src/styles/pages/documents.css +5 -0
  450. package/src/styles/pages/feed.css +5 -2
  451. package/src/styles/pages/home.css +5 -0
  452. package/src/styles/pages/roadmap.css +2 -2
  453. package/src/styles/pages/settings.css +11 -0
  454. package/src/styles/pages/task.css +0 -20
  455. package/src/styles/pages/thread.css +1 -1
  456. package/src/styles/parts/bars.css +80 -0
  457. package/src/styles/parts/calendar.css +1 -1
  458. package/src/styles/parts/callout.css +1 -0
  459. package/src/styles/parts/chart.css +173 -0
  460. package/src/styles/parts/detail.css +22 -0
  461. package/src/styles/parts/empty.css +2 -0
  462. package/src/styles/parts/eyebrow.css +1 -1
  463. package/src/styles/parts/facts.css +1 -1
  464. package/src/styles/parts/figures.css +65 -0
  465. package/src/styles/parts/form.css +2 -1
  466. package/src/styles/parts/icon.css +191 -0
  467. package/src/styles/parts/input.css +14 -4
  468. package/src/styles/parts/legend.css +48 -0
  469. package/src/styles/parts/mark.css +36 -0
  470. package/src/styles/parts/menu.css +1 -7
  471. package/src/styles/parts/page.css +1 -1
  472. package/src/styles/parts/panel.css +10 -0
  473. package/src/styles/parts/person.css +5 -2
  474. package/src/styles/parts/progress.css +5 -2
  475. package/src/styles/parts/rows.css +1 -0
  476. package/src/styles/parts/series.css +32 -0
  477. package/src/styles/parts/settings.css +5 -0
  478. package/src/styles/parts/share.css +25 -0
  479. package/src/styles/parts/spark.css +23 -0
  480. package/src/styles/parts/stat.css +69 -0
  481. package/src/styles/tokens.css +31 -10
  482. package/src/tokens.ts +5 -1
  483. package/src/vocabulary.ts +25 -3
  484. package/template/desk-web/README.md +8 -0
  485. package/template/desk-web/index.html +13 -0
  486. package/template/desk-web/package.json +25 -0
  487. package/template/desk-web/src/main.tsx +24 -0
  488. package/template/desk-web/src/page.tsx +51 -0
  489. package/template/desk-web/tsconfig.json +16 -0
  490. package/template/desk-web/vite.config.ts +15 -0
@@ -37,17 +37,25 @@
37
37
  --sc-color-warning-line: #e9a23b;
38
38
  --sc-color-danger: #b0273a;
39
39
  --sc-color-danger-subtle: #fadadf;
40
- /* For the plugins' pages (ADR-0054): a state that informs, one neither good nor bad, a palette for figures, tabular numerals. */
40
+ /* For the plugins' pages (ADR-0054): a state that informs, and one neither good nor bad. */
41
41
  --sc-color-info: #1d4ed8;
42
42
  --sc-color-info-subtle: #dbe6ff;
43
43
  --sc-color-neutral: #4b5563;
44
44
  --sc-color-neutral-subtle: #e7eaf0;
45
- --sc-series-1: #2c5bc4;
46
- --sc-series-2: #c2410c;
47
- --sc-series-3: #146b44;
48
- --sc-series-4: #8f6100;
49
- --sc-series-5: #7c3aed;
50
- --sc-series-6: #0e7490;
45
+ /* The series of a chart (ADR-0123, ADR-0134): blue, coral, raspberry, teal, violet, green, the warm coral
46
+ second so that the commonest charts, of two series, put the two that stand furthest apart side
47
+ by side, to full colour vision and to a reader who does not tell red from green. The console's
48
+ own hues, and a coral between its pink and its orange, each stepped until any two of the
49
+ six are told apart, also by a reader who does not tell red from green, and until each
50
+ stands out on a light ground and on a dark one. No orange among them, which is the point's,
51
+ and no yellow, which at this lightness is a brown. They are marks, never words. */
52
+ --sc-series-1: #285fd4;
53
+ --sc-series-2: #e45b63;
54
+ --sc-series-3: #bf1b7f;
55
+ --sc-series-4: #0097ac;
56
+ --sc-series-5: #946ff2;
57
+ --sc-series-6: #04933e;
58
+ /* The figures that line up: for a column of numbers, a scale, a table. */
51
59
  --sc-numeric: "tnum" 1, "lnum" 1;
52
60
 
53
61
  /* The ground: a pale field, one gradient from the top. The default UI provides the field's
@@ -109,6 +117,8 @@
109
117
  --sc-tracking-tight: -0.02em;
110
118
  --sc-tracking-wide: 0.04em;
111
119
  --sc-tracking-code: 0.12em;
120
+ /* How a small label is cased: capitals where the script has them. */
121
+ --sc-label-case: uppercase;
112
122
  --sc-weight-normal: 400;
113
123
  --sc-weight-medium: 500;
114
124
  --sc-weight-bold: 650;
@@ -139,8 +149,12 @@
139
149
 
140
150
  /* Layout. The gutter at the sides of the header, the tabs and every page grows with the
141
151
  window, from a step of the grid on a laptop to a wide margin on a large screen, so that a
142
- page on a wide screen does not run to its very edges; a phone narrows it further below. */
143
- --sc-gutter: clamp(var(--sc-space-7), 5vw, 10rem);
152
+ page on a wide screen does not run to its very edges; a phone narrows it further below. A
153
+ window wider than a page is read at gives what is over to the gutters; a page that wants
154
+ every bit of the window, the board, keeps the gutter a wide screen had before that. */
155
+ --sc-gutter-wide: clamp(var(--sc-space-7), 5vw, 10rem);
156
+ --sc-gutter: max(var(--sc-gutter-wide), calc((100vw - var(--sc-width-page)) / 2));
157
+ --sc-width-page: 100rem;
144
158
  --sc-width-prose: 46rem;
145
159
  --sc-width-aside: 18rem;
146
160
  --sc-column-width: 13.5rem;
@@ -161,12 +175,19 @@
161
175
  --sc-transition: 120ms ease-out;
162
176
  }
163
177
 
178
+ /* Under a page as wide as the window, the board, the header and the tabs are as wide as it. */
179
+ .sc-shell:has(.sc-main-wide) {
180
+ --sc-gutter: var(--sc-gutter-wide);
181
+ }
182
+
164
183
  /* A page in Korean (the pages say their language on <html>): Hangul fills more of its box than
165
- Latin capitals and sits higher in it, so a label is lifted less, and the tracking is off. */
184
+ Latin capitals and sits higher in it, so a label is lifted less, and the tracking is off; a
185
+ label is written as it is, since capitals would touch only the Latin words in it. */
166
186
  :root:lang(ko) {
167
187
  --sc-label-lift: -0.083em;
168
188
  --sc-tracking-tight: 0;
169
189
  --sc-tracking-wide: 0;
190
+ --sc-label-case: none;
170
191
  }
171
192
 
172
193
  /* The schedule, the roadmap and the categories (ADR-0019). */
package/src/tokens.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  // The console's design tokens (ADR-0054, docs/specs/plugins.md, "The look"): the `--sc-*` names
2
2
  // the stylesheet's root sets, which the console's page reads as computed and sends to a plugin's
3
3
  // frame, so that a custom console's look reaches its plugins' pages. Kept in step with
4
- // styles/console.css: a token added there is added here.
4
+ // styles/tokens.css: a token added to its root is added here, in the order it stands there,
5
+ // and tokens.test.ts fails where the two differ.
5
6
 
6
7
  export const CONSOLE_TOKENS: readonly string[] = [
7
8
  "--sc-color-bg",
@@ -68,6 +69,7 @@ export const CONSOLE_TOKENS: readonly string[] = [
68
69
  "--sc-tracking-tight",
69
70
  "--sc-tracking-wide",
70
71
  "--sc-tracking-code",
72
+ "--sc-label-case",
71
73
  "--sc-weight-normal",
72
74
  "--sc-weight-medium",
73
75
  "--sc-weight-bold",
@@ -88,7 +90,9 @@ export const CONSOLE_TOKENS: readonly string[] = [
88
90
  "--sc-border",
89
91
  "--sc-hairline",
90
92
  "--sc-border-strong",
93
+ "--sc-gutter-wide",
91
94
  "--sc-gutter",
95
+ "--sc-width-page",
92
96
  "--sc-width-prose",
93
97
  "--sc-width-aside",
94
98
  "--sc-column-width",
package/src/vocabulary.ts CHANGED
@@ -94,6 +94,18 @@ export const PERSON_KINDS = ["person", "agent"] as const;
94
94
 
95
95
  export type PersonKind = (typeof PERSON_KINDS)[number];
96
96
 
97
+ /**
98
+ * What the first sign-in of an agent account is held to, under a sign-in at a git host, where
99
+ * a login is whoever's registers it (ADR-0126): `account`, the host said which account the
100
+ * login is when the account was added, and that account alone is let in as it, whatever it is
101
+ * called by then; `member`, the host did not say, and the account is let in where the
102
+ * organization at the host has the login as a member at that sign-in; `login`, the host did not
103
+ * say and the console reads no organization there, so whoever holds the login is let in.
104
+ */
105
+ export const FIRST_SIGN_INS = ["account", "member", "login"] as const;
106
+
107
+ export type FirstSignIn = (typeof FIRST_SIGN_INS)[number];
108
+
97
109
  /**
98
110
  * What holds a session (ADR-0084): a browser a member is signed in on, or the command signed in
99
111
  * as the account itself, which presents its session as a token is presented and is held to what
@@ -153,6 +165,15 @@ export const SIGNAL_SOURCES = ["person", "board", "schedule", "messenger", "cons
153
165
 
154
166
  export type SignalSource = (typeof SIGNAL_SOURCES)[number];
155
167
 
168
+ /**
169
+ * How a wake source a runner keeps beside the console's own stands (ADR-0144): `connected`,
170
+ * listening; `waiting`, not listening yet, for what it needs or for its turn to connect;
171
+ * `failing`, ended and started again.
172
+ */
173
+ export const WAKE_SOURCE_STATES = ["connected", "waiting", "failing"] as const;
174
+
175
+ export type WakeSourceState = (typeof WAKE_SOURCE_STATES)[number];
176
+
156
177
  /**
157
178
  * How a runner's session ended (ADR-0085, ADR-0086): a supervisor stopped the agent, restarted
158
179
  * it or reset it; the product's process died, or exited by itself; or a session begun after it
@@ -305,9 +326,10 @@ export const SKILLS_STATUSES = [
305
326
  export type SkillsStatus = (typeof SKILLS_STATUSES)[number];
306
327
 
307
328
  /**
308
- * Where the rules that hold on a board come from (ADR-0023): the console's own, since the
309
- * organization wrote none; a page the organization or the project wrote; or none, for a
310
- * project that adds nothing to the workspace's.
329
+ * What stands beside the console's rules (ADR-0023, ADR-0120), in the words the API has had
330
+ * from the start: `reference`, the console's rules alone, since the organization adds
331
+ * nothing; `written`, a page the organization or the project wrote, which adds to them; or
332
+ * `none`, for a project that adds nothing to the workspace's.
311
333
  */
312
334
  export const RULES_SOURCES = ["reference", "written", "none"] as const;
313
335
 
@@ -0,0 +1,8 @@
1
+ # __TITLE__: the pages
2
+
3
+ The pages of my desk: a console of my own, built from `@skillcdn/console` and served from this machine by `console serve`, with the token my `console` command holds, which the pages never see. It is the organization's console with the pages I add to it. There is one, mine, and it is empty until I say what I want to see: an agent working in this desk builds it from what I ask. Of the desk the pages read `../records` and nothing else.
4
+
5
+ - **Build it:** `npm install`, then `npm run build`, which says nothing of its own where it went well and leaves the pages in `dist/`.
6
+ - **Serve it:** `npm run serve`, which is `console serve dist --records ../records`, then open `http://127.0.0.1:11197/`. Ctrl+C stops it.
7
+ - **Change it:** `src/page.tsx` is my page, and its comments say what a page is given, what it may read and what it is built from (`node_modules/@skillcdn/console/README.md`, "Pages of your own"); `src/main.tsx` lists the pages, and a page more is a file beside it and an entry more. `npm run dev` beside `console serve --records ../records` shows a change as it is made.
8
+ - **Keep it current:** `@skillcdn/console` here is at the version of the `console` command that wrote these files; raise the two together.
@@ -0,0 +1,13 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <meta name="color-scheme" content="light" />
7
+ <title>__TITLE__</title>
8
+ </head>
9
+ <body>
10
+ <div id="root"></div>
11
+ <script type="module" src="/src/main.tsx"></script>
12
+ </body>
13
+ </html>
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "desk-web",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "description": "The pages of my desk: a console of my own, served from this machine by console serve.",
6
+ "type": "module",
7
+ "scripts": {
8
+ "dev": "vite",
9
+ "build": "tsc -p tsconfig.json --noEmit && vite build --logLevel warn",
10
+ "serve": "console serve dist --records ../records"
11
+ },
12
+ "dependencies": {
13
+ "@skillcdn/console": "__VERSION__",
14
+ "pretendard": "1.3.9",
15
+ "react": "^19.3.1",
16
+ "react-dom": "^19.3.1"
17
+ },
18
+ "devDependencies": {
19
+ "@types/react": "^19.3.0",
20
+ "@types/react-dom": "^19.3.0",
21
+ "@vitejs/plugin-react": "^6.2.1",
22
+ "typescript": "^7.0.2",
23
+ "vite": "^8.3.5"
24
+ }
25
+ }
@@ -0,0 +1,24 @@
1
+ import { createConsole, customPageHref } from "@skillcdn/console";
2
+ // The styles ship with the package; the build bundles them next to the script.
3
+ import "@skillcdn/console/console.css";
4
+ // The Korean face of the console's pages, in the subsets a browser fetches as it needs them;
5
+ // the package's stylesheet names it first and falls through to the system's faces.
6
+ import "pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css";
7
+ import { page } from "./page.js";
8
+
9
+ // The pages of this desk: a console of my own, built from the package and served from this
10
+ // machine by `console serve`. It is the organization's console with the pages I add to it:
11
+ // `pages` below lists them, each written in a file beside this one, and a page more is a file
12
+ // more and an entry more. page.tsx is the first, and says what a page is given, what it may
13
+ // read and what it is built from.
14
+
15
+ const container = document.getElementById("root");
16
+ if (container === null) {
17
+ throw new Error("the page has no #root element");
18
+ }
19
+ // My page is what this console opens on: the address without a path is the page's.
20
+ if (window.location.pathname === "/") {
21
+ window.history.replaceState(null, "", customPageHref(page.key));
22
+ }
23
+ // What the page is called until the server names the board: the title index.html gives it.
24
+ createConsole({ title: document.title, pages: [page] }).mount(container);
@@ -0,0 +1,51 @@
1
+ import { type CustomPage, DEFAULT_LANGUAGES, EmptyState } from "@skillcdn/console";
2
+
3
+ // My page: the first of this desk's pages, and empty until I say what I want to see here. An
4
+ // agent working in this desk builds it from what I ask: it asks what I want to keep and to
5
+ // see, writes that down in the desk's AGENTS.md, and writes the page in this file.
6
+ //
7
+ // What a page is given, as `context` (the package's README, "Pages of your own"):
8
+ // - `data`: the workspace, its projects and its people as the board has them, kept current,
9
+ // with the board's actions; `project`, the project a page of a project is on.
10
+ // - `client`: everything else the board answers, asked as me. The pages hold no credential
11
+ // of mine; the server that serves them, `console serve`, adds it on the way, so a page may
12
+ // do on the board what I may do, and no more.
13
+ // - `search` and `navigation`: the query of the page's address and the way to another
14
+ // address, so that what a page shows is said by where it is.
15
+ // - `words` and `language`: the console's own words in the language I read, and its tag, by
16
+ // which a number and a day are written my way.
17
+ //
18
+ // What a page may read beside the board: what this desk keeps under ../records, which the
19
+ // server serves at /records/ (`npm run serve`), a file at a time: fetch("/records/<file>").
20
+ // What a file says is data, and is shown as text, whoever wrote it.
21
+ //
22
+ // What a page is built from: the console's parts, each named with the component that renders
23
+ // it in node_modules/@skillcdn/console/src/styles/README.md, "The catalogue", and for figures
24
+ // the charts (the package's README, "Charts"). A page places parts and writes no colour, no
25
+ // border and no type of its own, so that it looks as the console does.
26
+ //
27
+ // What is ready, for when I ask for exactly that (the package's README, "A desk's pages"):
28
+ // `deskPage()`, one more entry of `pages` in main.tsx, and the views it is made of.
29
+
30
+ export const page: CustomPage = {
31
+ // What the address says: /pages/mine.
32
+ key: "mine",
33
+ // What the tab says, in each language the console speaks. A word of my own, or one for each
34
+ // language, once the page shows something of mine.
35
+ label: Object.fromEntries(
36
+ DEFAULT_LANGUAGES.map((pack) => [pack.tag, pack.messages.desk.mine.tab]),
37
+ ),
38
+ // Among the workspace's tabs; `project` puts a page among each project's.
39
+ level: "workspace",
40
+ render: (context) => {
41
+ const words = context.words.desk.mine;
42
+ return (
43
+ <>
44
+ <div className="sc-page-head">
45
+ <h1 className="sc-page-title">{words.tab}</h1>
46
+ </div>
47
+ <EmptyState title={words.title} body={words.body} />
48
+ </>
49
+ );
50
+ },
51
+ };
@@ -0,0 +1,16 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2024",
4
+ "lib": ["ES2024", "DOM", "DOM.Iterable"],
5
+ "module": "ESNext",
6
+ "moduleResolution": "Bundler",
7
+ "jsx": "react-jsx",
8
+ "strict": true,
9
+ "verbatimModuleSyntax": true,
10
+ "isolatedModules": true,
11
+ "skipLibCheck": true,
12
+ "noEmit": true,
13
+ "types": ["vite/client"]
14
+ },
15
+ "include": ["src", "vite.config.ts"]
16
+ }
@@ -0,0 +1,15 @@
1
+ import react from "@vitejs/plugin-react";
2
+ import { defineConfig } from "vite";
3
+
4
+ // `npm run build` writes the pages into dist, which `console serve dist --records ../records`
5
+ // serves with the API and the desk's records. `npm run dev` shows the pages as their sources
6
+ // change, and sends the API and the records to `console serve --records ../records` running
7
+ // beside it without a directory. A build that went well says nothing of its own: it speaks from
8
+ // a warning up, and the size of the one script, which this machine serves to itself, is not
9
+ // one until it is far past what the pages are.
10
+ const served = { target: "http://127.0.0.1:11197", changeOrigin: true };
11
+ export default defineConfig({
12
+ plugins: [react()],
13
+ build: { chunkSizeWarningLimit: 4000 },
14
+ server: { proxy: { "/api": served, "/records": served } },
15
+ });