@skillcdn/console 0.4.7 → 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 (599) hide show
  1. package/README.md +74 -14
  2. package/SKILLCDN.md +5 -3
  3. package/dist/agent-page.d.ts +44 -0
  4. package/dist/agent-page.d.ts.map +1 -0
  5. package/dist/agent-page.js +415 -0
  6. package/dist/agent-page.js.map +1 -0
  7. package/dist/agent-stream.d.ts +52 -0
  8. package/dist/agent-stream.d.ts.map +1 -0
  9. package/dist/agent-stream.js +155 -0
  10. package/dist/agent-stream.js.map +1 -0
  11. package/dist/api.d.ts +12 -6
  12. package/dist/api.d.ts.map +1 -1
  13. package/dist/api.js +11 -5
  14. package/dist/api.js.map +1 -1
  15. package/dist/avatar.d.ts +137 -0
  16. package/dist/avatar.d.ts.map +1 -0
  17. package/dist/avatar.js +1216 -0
  18. package/dist/avatar.js.map +1 -0
  19. package/dist/charts.d.ts +103 -0
  20. package/dist/charts.d.ts.map +1 -0
  21. package/dist/charts.js +182 -0
  22. package/dist/charts.js.map +1 -0
  23. package/dist/cli/cli.d.ts +39 -1
  24. package/dist/cli/cli.d.ts.map +1 -1
  25. package/dist/cli/cli.js +2424 -296
  26. package/dist/cli/cli.js.map +1 -1
  27. package/dist/cli/command-words.d.ts +20 -0
  28. package/dist/cli/command-words.d.ts.map +1 -0
  29. package/dist/cli/command-words.js +51 -0
  30. package/dist/cli/command-words.js.map +1 -0
  31. package/dist/cli/credentials.d.ts +59 -5
  32. package/dist/cli/credentials.d.ts.map +1 -1
  33. package/dist/cli/credentials.js +128 -16
  34. package/dist/cli/credentials.js.map +1 -1
  35. package/dist/cli/directory.d.ts +19 -4
  36. package/dist/cli/directory.d.ts.map +1 -1
  37. package/dist/cli/directory.js +16 -8
  38. package/dist/cli/directory.js.map +1 -1
  39. package/dist/cli/format.d.ts +91 -8
  40. package/dist/cli/format.d.ts.map +1 -1
  41. package/dist/cli/format.js +386 -57
  42. package/dist/cli/format.js.map +1 -1
  43. package/dist/cli/help.d.ts +13 -4
  44. package/dist/cli/help.d.ts.map +1 -1
  45. package/dist/cli/help.js +202 -62
  46. package/dist/cli/help.js.map +1 -1
  47. package/dist/cli/main.js +94 -0
  48. package/dist/cli/main.js.map +1 -1
  49. package/dist/cli/pack.d.ts +69 -36
  50. package/dist/cli/pack.d.ts.map +1 -1
  51. package/dist/cli/pack.js +241 -188
  52. package/dist/cli/pack.js.map +1 -1
  53. package/dist/cli/plugin-check.d.ts +42 -0
  54. package/dist/cli/plugin-check.d.ts.map +1 -1
  55. package/dist/cli/plugin-check.js +221 -36
  56. package/dist/cli/plugin-check.js.map +1 -1
  57. package/dist/cli/plugin-cli.d.ts +6 -1
  58. package/dist/cli/plugin-cli.d.ts.map +1 -1
  59. package/dist/cli/plugin-cli.js +21 -4
  60. package/dist/cli/plugin-cli.js.map +1 -1
  61. package/dist/cli/plugin-main.js +1 -0
  62. package/dist/cli/plugin-main.js.map +1 -1
  63. package/dist/cli/runner-host.d.ts +36 -0
  64. package/dist/cli/runner-host.d.ts.map +1 -0
  65. package/dist/cli/runner-host.js +154 -0
  66. package/dist/cli/runner-host.js.map +1 -0
  67. package/dist/cli/serve.d.ts +33 -1
  68. package/dist/cli/serve.d.ts.map +1 -1
  69. package/dist/cli/serve.js +275 -6
  70. package/dist/cli/serve.js.map +1 -1
  71. package/dist/cli/setup-machine.d.ts +36 -0
  72. package/dist/cli/setup-machine.d.ts.map +1 -0
  73. package/dist/cli/setup-machine.js +109 -0
  74. package/dist/cli/setup-machine.js.map +1 -0
  75. package/dist/client.d.ts +189 -10
  76. package/dist/client.d.ts.map +1 -1
  77. package/dist/client.js +192 -57
  78. package/dist/client.js.map +1 -1
  79. package/dist/compat.d.ts +1 -1
  80. package/dist/compat.js +2 -2
  81. package/dist/components/agent-page.d.ts +384 -0
  82. package/dist/components/agent-page.d.ts.map +1 -0
  83. package/dist/components/agent-page.js +985 -0
  84. package/dist/components/agent-page.js.map +1 -0
  85. package/dist/components/agents.d.ts +102 -0
  86. package/dist/components/agents.d.ts.map +1 -0
  87. package/dist/components/agents.js +246 -0
  88. package/dist/components/agents.js.map +1 -0
  89. package/dist/components/calendar.d.ts +17 -17
  90. package/dist/components/calendar.d.ts.map +1 -1
  91. package/dist/components/calendar.js +7 -2
  92. package/dist/components/calendar.js.map +1 -1
  93. package/dist/components/charts.d.ts +157 -0
  94. package/dist/components/charts.d.ts.map +1 -0
  95. package/dist/components/charts.js +182 -0
  96. package/dist/components/charts.js.map +1 -0
  97. package/dist/components/comments.d.ts +2 -0
  98. package/dist/components/comments.d.ts.map +1 -1
  99. package/dist/components/comments.js +1 -1
  100. package/dist/components/comments.js.map +1 -1
  101. package/dist/components/connect.d.ts.map +1 -1
  102. package/dist/components/connect.js +7 -2
  103. package/dist/components/connect.js.map +1 -1
  104. package/dist/components/decision-form.d.ts +21 -0
  105. package/dist/components/decision-form.d.ts.map +1 -1
  106. package/dist/components/decision-form.js +20 -6
  107. package/dist/components/decision-form.js.map +1 -1
  108. package/dist/components/decision-list.d.ts +24 -0
  109. package/dist/components/decision-list.d.ts.map +1 -1
  110. package/dist/components/decision-list.js +54 -5
  111. package/dist/components/decision-list.js.map +1 -1
  112. package/dist/components/desk-records.d.ts +102 -0
  113. package/dist/components/desk-records.d.ts.map +1 -0
  114. package/dist/components/desk-records.js +221 -0
  115. package/dist/components/desk-records.js.map +1 -0
  116. package/dist/components/desk.d.ts +85 -0
  117. package/dist/components/desk.d.ts.map +1 -0
  118. package/dist/components/desk.js +135 -0
  119. package/dist/components/desk.js.map +1 -0
  120. package/dist/components/event-feed.d.ts.map +1 -1
  121. package/dist/components/event-feed.js +26 -1
  122. package/dist/components/event-feed.js.map +1 -1
  123. package/dist/components/home.d.ts +12 -1
  124. package/dist/components/home.d.ts.map +1 -1
  125. package/dist/components/home.js +175 -16
  126. package/dist/components/home.js.map +1 -1
  127. package/dist/components/my-decisions.d.ts +5 -0
  128. package/dist/components/my-decisions.d.ts.map +1 -1
  129. package/dist/components/my-decisions.js +3 -3
  130. package/dist/components/my-decisions.js.map +1 -1
  131. package/dist/components/people.d.ts +17 -0
  132. package/dist/components/people.d.ts.map +1 -1
  133. package/dist/components/people.js +55 -19
  134. package/dist/components/people.js.map +1 -1
  135. package/dist/components/picker.d.ts +2 -0
  136. package/dist/components/picker.d.ts.map +1 -1
  137. package/dist/components/picker.js +1 -1
  138. package/dist/components/picker.js.map +1 -1
  139. package/dist/components/pictures.d.ts +38 -10
  140. package/dist/components/pictures.d.ts.map +1 -1
  141. package/dist/components/pictures.js +195 -40
  142. package/dist/components/pictures.js.map +1 -1
  143. package/dist/components/plugin-events.d.ts +29 -0
  144. package/dist/components/plugin-events.d.ts.map +1 -0
  145. package/dist/components/plugin-events.js +139 -0
  146. package/dist/components/plugin-events.js.map +1 -0
  147. package/dist/components/plugin-frame.d.ts.map +1 -1
  148. package/dist/components/plugin-frame.js +14 -37
  149. package/dist/components/plugin-frame.js.map +1 -1
  150. package/dist/components/plugin-settings.d.ts.map +1 -1
  151. package/dist/components/plugin-settings.js +58 -7
  152. package/dist/components/plugin-settings.js.map +1 -1
  153. package/dist/components/projects.d.ts.map +1 -1
  154. package/dist/components/projects.js +30 -10
  155. package/dist/components/projects.js.map +1 -1
  156. package/dist/components/rules.d.ts +8 -10
  157. package/dist/components/rules.d.ts.map +1 -1
  158. package/dist/components/rules.js +36 -14
  159. package/dist/components/rules.js.map +1 -1
  160. package/dist/components/sessions.d.ts.map +1 -1
  161. package/dist/components/sessions.js +8 -4
  162. package/dist/components/sessions.js.map +1 -1
  163. package/dist/components/setup.d.ts +59 -0
  164. package/dist/components/setup.d.ts.map +1 -0
  165. package/dist/components/setup.js +93 -0
  166. package/dist/components/setup.js.map +1 -0
  167. package/dist/components/sign-in.js +1 -1
  168. package/dist/components/sign-in.js.map +1 -1
  169. package/dist/components/task-form.d.ts.map +1 -1
  170. package/dist/components/task-form.js +2 -2
  171. package/dist/components/task-form.js.map +1 -1
  172. package/dist/components/task-list.d.ts +7 -6
  173. package/dist/components/task-list.d.ts.map +1 -1
  174. package/dist/components/task-list.js.map +1 -1
  175. package/dist/components/task-view.d.ts +3 -0
  176. package/dist/components/task-view.d.ts.map +1 -1
  177. package/dist/components/task-view.js +1 -1
  178. package/dist/components/task-view.js.map +1 -1
  179. package/dist/components/ui.d.ts +78 -8
  180. package/dist/components/ui.d.ts.map +1 -1
  181. package/dist/components/ui.js +88 -9
  182. package/dist/components/ui.js.map +1 -1
  183. package/dist/components/work.d.ts +5 -5
  184. package/dist/components/work.d.ts.map +1 -1
  185. package/dist/components/work.js.map +1 -1
  186. package/dist/components/workspace.d.ts +17 -0
  187. package/dist/components/workspace.d.ts.map +1 -1
  188. package/dist/components/workspace.js +129 -2
  189. package/dist/components/workspace.js.map +1 -1
  190. package/dist/connect-page.d.ts.map +1 -1
  191. package/dist/connect-page.js +5 -2
  192. package/dist/connect-page.js.map +1 -1
  193. package/dist/console.css +7551 -4580
  194. package/dist/console.d.ts +20 -0
  195. package/dist/console.d.ts.map +1 -1
  196. package/dist/console.js +331 -57
  197. package/dist/console.js.map +1 -1
  198. package/dist/data.d.ts +22 -1
  199. package/dist/data.d.ts.map +1 -1
  200. package/dist/data.js +62 -34
  201. package/dist/data.js.map +1 -1
  202. package/dist/desk-page.d.ts +38 -0
  203. package/dist/desk-page.d.ts.map +1 -0
  204. package/dist/desk-page.js +184 -0
  205. package/dist/desk-page.js.map +1 -0
  206. package/dist/desk-records-page.d.ts +18 -0
  207. package/dist/desk-records-page.d.ts.map +1 -0
  208. package/dist/desk-records-page.js +130 -0
  209. package/dist/desk-records-page.js.map +1 -0
  210. package/dist/desk-records.d.ts +247 -0
  211. package/dist/desk-records.d.ts.map +1 -0
  212. package/dist/desk-records.js +543 -0
  213. package/dist/desk-records.js.map +1 -0
  214. package/dist/desk.d.ts +122 -0
  215. package/dist/desk.d.ts.map +1 -0
  216. package/dist/desk.js +211 -0
  217. package/dist/desk.js.map +1 -0
  218. package/dist/feed-stream.d.ts +39 -0
  219. package/dist/feed-stream.d.ts.map +1 -0
  220. package/dist/feed-stream.js +117 -0
  221. package/dist/feed-stream.js.map +1 -0
  222. package/dist/glances.d.ts +39 -0
  223. package/dist/glances.d.ts.map +1 -0
  224. package/dist/glances.js +94 -0
  225. package/dist/glances.js.map +1 -0
  226. package/dist/home-tiles.d.ts +69 -5
  227. package/dist/home-tiles.d.ts.map +1 -1
  228. package/dist/home-tiles.js +347 -9
  229. package/dist/home-tiles.js.map +1 -1
  230. package/dist/i18n/en.d.ts +773 -3
  231. package/dist/i18n/en.d.ts.map +1 -1
  232. package/dist/i18n/en.js +770 -9
  233. package/dist/i18n/en.js.map +1 -1
  234. package/dist/i18n/ko.d.ts.map +1 -1
  235. package/dist/i18n/ko.js +736 -9
  236. package/dist/i18n/ko.js.map +1 -1
  237. package/dist/index.d.ts +19 -7
  238. package/dist/index.d.ts.map +1 -1
  239. package/dist/index.js +17 -5
  240. package/dist/index.js.map +1 -1
  241. package/dist/limits.d.ts +67 -0
  242. package/dist/limits.d.ts.map +1 -1
  243. package/dist/limits.js +67 -0
  244. package/dist/limits.js.map +1 -1
  245. package/dist/onboarding.d.ts +21 -0
  246. package/dist/onboarding.d.ts.map +1 -0
  247. package/dist/onboarding.js +43 -0
  248. package/dist/onboarding.js.map +1 -0
  249. package/dist/persona.d.ts +34 -0
  250. package/dist/persona.d.ts.map +1 -0
  251. package/dist/persona.js +71 -0
  252. package/dist/persona.js.map +1 -0
  253. package/dist/plugin/context.d.ts +42 -11
  254. package/dist/plugin/context.d.ts.map +1 -1
  255. package/dist/plugin/limits.d.ts +2 -0
  256. package/dist/plugin/limits.d.ts.map +1 -1
  257. package/dist/plugin/limits.js +2 -0
  258. package/dist/plugin/limits.js.map +1 -1
  259. package/dist/plugin/manifest.d.ts +13 -0
  260. package/dist/plugin/manifest.d.ts.map +1 -1
  261. package/dist/plugin/manifest.js +34 -4
  262. package/dist/plugin/manifest.js.map +1 -1
  263. package/dist/plugin/rest-schemas.d.ts +56 -0
  264. package/dist/plugin/rest-schemas.d.ts.map +1 -1
  265. package/dist/plugin/rest-schemas.js +42 -0
  266. package/dist/plugin/rest-schemas.js.map +1 -1
  267. package/dist/plugin/sandbox.d.ts.map +1 -1
  268. package/dist/plugin/sandbox.js +4 -1
  269. package/dist/plugin/sandbox.js.map +1 -1
  270. package/dist/plugin/testing.d.ts +6 -2
  271. package/dist/plugin/testing.d.ts.map +1 -1
  272. package/dist/plugin/testing.js +52 -10
  273. package/dist/plugin/testing.js.map +1 -1
  274. package/dist/plugin.d.ts +1 -1
  275. package/dist/plugin.d.ts.map +1 -1
  276. package/dist/plugin.js +1 -1
  277. package/dist/plugin.js.map +1 -1
  278. package/dist/records.d.ts +283 -0
  279. package/dist/records.d.ts.map +1 -0
  280. package/dist/records.js +543 -0
  281. package/dist/records.js.map +1 -0
  282. package/dist/router.d.ts +50 -3
  283. package/dist/router.d.ts.map +1 -1
  284. package/dist/router.js +78 -7
  285. package/dist/router.js.map +1 -1
  286. package/dist/routes.d.ts +12 -2
  287. package/dist/routes.d.ts.map +1 -1
  288. package/dist/routes.js +14 -1
  289. package/dist/routes.js.map +1 -1
  290. package/dist/rules.d.ts +30 -11
  291. package/dist/rules.d.ts.map +1 -1
  292. package/dist/rules.js +99 -42
  293. package/dist/rules.js.map +1 -1
  294. package/dist/runner/acp.d.ts +20 -0
  295. package/dist/runner/acp.d.ts.map +1 -0
  296. package/dist/runner/acp.js +1132 -0
  297. package/dist/runner/acp.js.map +1 -0
  298. package/dist/runner/claude.d.ts +13 -0
  299. package/dist/runner/claude.d.ts.map +1 -0
  300. package/dist/runner/claude.js +615 -0
  301. package/dist/runner/claude.js.map +1 -0
  302. package/dist/runner/codex.d.ts +19 -0
  303. package/dist/runner/codex.d.ts.map +1 -0
  304. package/dist/runner/codex.js +597 -0
  305. package/dist/runner/codex.js.map +1 -0
  306. package/dist/runner/config.d.ts +35 -0
  307. package/dist/runner/config.d.ts.map +1 -0
  308. package/dist/runner/config.js +74 -0
  309. package/dist/runner/config.js.map +1 -0
  310. package/dist/runner/desk.d.ts +81 -0
  311. package/dist/runner/desk.d.ts.map +1 -0
  312. package/dist/runner/desk.js +303 -0
  313. package/dist/runner/desk.js.map +1 -0
  314. package/dist/runner/launchd.d.ts +7 -0
  315. package/dist/runner/launchd.d.ts.map +1 -0
  316. package/dist/runner/launchd.js +78 -0
  317. package/dist/runner/launchd.js.map +1 -0
  318. package/dist/runner/message.d.ts +66 -0
  319. package/dist/runner/message.d.ts.map +1 -0
  320. package/dist/runner/message.js +181 -0
  321. package/dist/runner/message.js.map +1 -0
  322. package/dist/runner/modules.d.ts +13 -0
  323. package/dist/runner/modules.d.ts.map +1 -0
  324. package/dist/runner/modules.js +30 -0
  325. package/dist/runner/modules.js.map +1 -0
  326. package/dist/runner/process.d.ts +7 -0
  327. package/dist/runner/process.d.ts.map +1 -0
  328. package/dist/runner/process.js +65 -0
  329. package/dist/runner/process.js.map +1 -0
  330. package/dist/runner/redact.d.ts +48 -0
  331. package/dist/runner/redact.d.ts.map +1 -0
  332. package/dist/runner/redact.js +214 -0
  333. package/dist/runner/redact.js.map +1 -0
  334. package/dist/runner/registry.d.ts +37 -0
  335. package/dist/runner/registry.d.ts.map +1 -0
  336. package/dist/runner/registry.js +26 -0
  337. package/dist/runner/registry.js.map +1 -0
  338. package/dist/runner/runner.d.ts +130 -0
  339. package/dist/runner/runner.d.ts.map +1 -0
  340. package/dist/runner/runner.js +1551 -0
  341. package/dist/runner/runner.js.map +1 -0
  342. package/dist/runner/slack.d.ts +16 -0
  343. package/dist/runner/slack.d.ts.map +1 -0
  344. package/dist/runner/slack.js +157 -0
  345. package/dist/runner/slack.js.map +1 -0
  346. package/dist/runner/systemd-user.d.ts +7 -0
  347. package/dist/runner/systemd-user.d.ts.map +1 -0
  348. package/dist/runner/systemd-user.js +93 -0
  349. package/dist/runner/systemd-user.js.map +1 -0
  350. package/dist/runner/task-scheduler.d.ts +38 -0
  351. package/dist/runner/task-scheduler.d.ts.map +1 -0
  352. package/dist/runner/task-scheduler.js +216 -0
  353. package/dist/runner/task-scheduler.js.map +1 -0
  354. package/dist/runner/types.d.ts +315 -0
  355. package/dist/runner/types.d.ts.map +1 -0
  356. package/dist/runner/types.js +24 -0
  357. package/dist/runner/types.js.map +1 -0
  358. package/dist/runner.d.ts +18 -0
  359. package/dist/runner.d.ts.map +1 -0
  360. package/dist/runner.js +20 -0
  361. package/dist/runner.js.map +1 -0
  362. package/dist/schemas.d.ts +6082 -1295
  363. package/dist/schemas.d.ts.map +1 -1
  364. package/dist/schemas.js +930 -31
  365. package/dist/schemas.js.map +1 -1
  366. package/dist/services.d.ts +110 -0
  367. package/dist/services.d.ts.map +1 -0
  368. package/dist/services.js +305 -0
  369. package/dist/services.js.map +1 -0
  370. package/dist/setup-guide.d.ts +64 -0
  371. package/dist/setup-guide.d.ts.map +1 -0
  372. package/dist/setup-guide.js +256 -0
  373. package/dist/setup-guide.js.map +1 -0
  374. package/dist/setup-page.d.ts +6 -0
  375. package/dist/setup-page.d.ts.map +1 -0
  376. package/dist/setup-page.js +29 -0
  377. package/dist/setup-page.js.map +1 -0
  378. package/dist/sse.d.ts +15 -0
  379. package/dist/sse.d.ts.map +1 -0
  380. package/dist/sse.js +73 -0
  381. package/dist/sse.js.map +1 -0
  382. package/dist/tab-title.d.ts +6 -0
  383. package/dist/tab-title.d.ts.map +1 -0
  384. package/dist/tab-title.js +22 -0
  385. package/dist/tab-title.js.map +1 -0
  386. package/dist/tokens.d.ts.map +1 -1
  387. package/dist/tokens.js +3 -0
  388. package/dist/tokens.js.map +1 -1
  389. package/dist/use-action.d.ts +5 -2
  390. package/dist/use-action.d.ts.map +1 -1
  391. package/dist/use-action.js +6 -1
  392. package/dist/use-action.js.map +1 -1
  393. package/dist/vocabulary.d.ts +84 -4
  394. package/dist/vocabulary.d.ts.map +1 -1
  395. package/dist/vocabulary.js +115 -3
  396. package/dist/vocabulary.js.map +1 -1
  397. package/docs/specs/cli.md +147 -41
  398. package/docs/specs/plugins.md +37 -27
  399. package/docs/specs/records.md +113 -0
  400. package/docs/specs/rest.md +155 -20
  401. package/docs/specs/runner.md +347 -0
  402. package/package.json +12 -3
  403. package/skills/building-a-console/SKILL.md +4 -4
  404. package/skills/building-a-console/references/configuring.md +1 -0
  405. package/skills/building-a-plugin/SKILL.md +7 -7
  406. package/skills/deploying-a-console/SKILL.md +4 -4
  407. package/skills/deploying-a-console/references/resources.md +48 -8
  408. package/skills/deploying-a-console/references/running-it-again.md +3 -2
  409. package/skills/keeping-a-desk/SKILL.md +133 -0
  410. package/skills/keeping-a-desk/collections.md +96 -0
  411. package/skills/planning-the-board/SKILL.md +14 -18
  412. package/skills/planning-the-board/references/a-task.md +2 -2
  413. package/skills/planning-the-board/references/project-rules.md +13 -14
  414. package/skills/planning-the-board/references/setting-up.md +22 -9
  415. package/skills/running-an-agent/SKILL.md +107 -0
  416. package/skills/running-an-agent/references/slack-app.md +61 -0
  417. package/skills/working-the-board/SKILL.md +66 -39
  418. package/skills/working-the-board/references/terms.md +9 -5
  419. package/skills/working-the-board/references/the-pack.md +14 -9
  420. package/skills/working-the-board/references/the-sentence.md +2 -2
  421. package/src/agent-page.tsx +1039 -0
  422. package/src/agent-stream.ts +199 -0
  423. package/src/api.ts +317 -2
  424. package/src/avatar.ts +1506 -0
  425. package/src/charts.ts +250 -0
  426. package/src/cli/cli.ts +3210 -503
  427. package/src/cli/command-words.ts +56 -0
  428. package/src/cli/credentials.ts +188 -16
  429. package/src/cli/directory.ts +28 -10
  430. package/src/cli/format.ts +470 -67
  431. package/src/cli/help.ts +233 -61
  432. package/src/cli/main.ts +89 -0
  433. package/src/cli/pack.ts +332 -263
  434. package/src/cli/plugin-check.ts +275 -34
  435. package/src/cli/plugin-cli.ts +28 -4
  436. package/src/cli/plugin-main.ts +1 -0
  437. package/src/cli/runner-host.ts +188 -0
  438. package/src/cli/serve.ts +320 -5
  439. package/src/cli/setup-machine.ts +153 -0
  440. package/src/client.ts +711 -126
  441. package/src/compat.ts +2 -2
  442. package/src/components/agent-page.tsx +1946 -0
  443. package/src/components/agents.tsx +638 -0
  444. package/src/components/calendar.tsx +74 -53
  445. package/src/components/charts.tsx +680 -0
  446. package/src/components/comments.tsx +3 -0
  447. package/src/components/connect.tsx +37 -2
  448. package/src/components/decision-form.tsx +89 -51
  449. package/src/components/decision-list.tsx +140 -4
  450. package/src/components/desk-records.tsx +724 -0
  451. package/src/components/desk.tsx +471 -0
  452. package/src/components/event-feed.tsx +30 -1
  453. package/src/components/home.tsx +353 -12
  454. package/src/components/my-decisions.tsx +8 -2
  455. package/src/components/people.tsx +300 -203
  456. package/src/components/picker.tsx +3 -1
  457. package/src/components/pictures.tsx +256 -44
  458. package/src/components/plugin-events.ts +159 -0
  459. package/src/components/plugin-frame.tsx +14 -38
  460. package/src/components/plugin-settings.tsx +178 -22
  461. package/src/components/projects.tsx +33 -15
  462. package/src/components/rules.tsx +96 -36
  463. package/src/components/sessions.tsx +7 -4
  464. package/src/components/setup.tsx +252 -0
  465. package/src/components/sign-in.tsx +1 -1
  466. package/src/components/task-form.tsx +11 -2
  467. package/src/components/task-list.tsx +7 -6
  468. package/src/components/task-view.tsx +4 -0
  469. package/src/components/ui.tsx +169 -25
  470. package/src/components/work.tsx +9 -9
  471. package/src/components/workspace.tsx +345 -4
  472. package/src/connect-page.tsx +15 -2
  473. package/src/console.tsx +657 -83
  474. package/src/data.ts +109 -43
  475. package/src/desk-page.tsx +332 -0
  476. package/src/desk-records-page.tsx +256 -0
  477. package/src/desk-records.ts +808 -0
  478. package/src/desk.ts +329 -0
  479. package/src/feed-stream.ts +144 -0
  480. package/src/glances.ts +132 -0
  481. package/src/home-tiles.ts +411 -9
  482. package/src/i18n/en.ts +828 -10
  483. package/src/i18n/ko.ts +792 -10
  484. package/src/index.ts +172 -3
  485. package/src/limits.ts +67 -0
  486. package/src/onboarding.ts +84 -0
  487. package/src/persona.ts +100 -0
  488. package/src/plugin/context.ts +55 -12
  489. package/src/plugin/limits.ts +2 -0
  490. package/src/plugin/manifest.ts +42 -3
  491. package/src/plugin/rest-schemas.ts +46 -0
  492. package/src/plugin/sandbox.ts +4 -1
  493. package/src/plugin/testing.ts +63 -12
  494. package/src/plugin.ts +2 -0
  495. package/src/records.ts +702 -0
  496. package/src/router.ts +120 -10
  497. package/src/routes.ts +17 -1
  498. package/src/rules.ts +109 -44
  499. package/src/runner/acp.ts +1267 -0
  500. package/src/runner/claude.ts +695 -0
  501. package/src/runner/codex.ts +691 -0
  502. package/src/runner/config.ts +97 -0
  503. package/src/runner/desk.ts +377 -0
  504. package/src/runner/launchd.ts +86 -0
  505. package/src/runner/message.ts +232 -0
  506. package/src/runner/modules.ts +30 -0
  507. package/src/runner/process.ts +72 -0
  508. package/src/runner/redact.ts +242 -0
  509. package/src/runner/registry.ts +67 -0
  510. package/src/runner/runner.ts +1879 -0
  511. package/src/runner/slack.ts +180 -0
  512. package/src/runner/systemd-user.ts +103 -0
  513. package/src/runner/task-scheduler.ts +236 -0
  514. package/src/runner/types.ts +334 -0
  515. package/src/runner.ts +110 -0
  516. package/src/schemas.ts +1183 -30
  517. package/src/services.ts +424 -0
  518. package/src/setup-guide.ts +336 -0
  519. package/src/setup-page.tsx +46 -0
  520. package/src/sse.ts +84 -0
  521. package/src/styles/README.md +111 -0
  522. package/src/styles/base.css +130 -0
  523. package/src/styles/console.css +85 -7095
  524. package/src/styles/drawn-by-pages.json +256 -0
  525. package/src/styles/pages/agents.css +1195 -0
  526. package/src/styles/pages/board.css +380 -0
  527. package/src/styles/pages/calendar.css +214 -0
  528. package/src/styles/pages/connect.css +182 -0
  529. package/src/styles/pages/decisions.css +370 -0
  530. package/src/styles/pages/desk.css +126 -0
  531. package/src/styles/pages/documents.css +273 -0
  532. package/src/styles/pages/feed.css +118 -0
  533. package/src/styles/pages/home.css +718 -0
  534. package/src/styles/pages/people.css +90 -0
  535. package/src/styles/pages/plugins.css +212 -0
  536. package/src/styles/pages/roadmap.css +377 -0
  537. package/src/styles/pages/settings.css +171 -0
  538. package/src/styles/pages/shell.css +208 -0
  539. package/src/styles/pages/sign-in.css +178 -0
  540. package/src/styles/pages/task.css +108 -0
  541. package/src/styles/pages/thread.css +331 -0
  542. package/src/styles/pages/work.css +68 -0
  543. package/src/styles/parts/avatar.css +82 -0
  544. package/src/styles/parts/badge.css +227 -0
  545. package/src/styles/parts/bars.css +80 -0
  546. package/src/styles/parts/button.css +99 -0
  547. package/src/styles/parts/calendar.css +547 -0
  548. package/src/styles/parts/callout.css +41 -0
  549. package/src/styles/parts/category.css +8 -0
  550. package/src/styles/parts/chart.css +173 -0
  551. package/src/styles/parts/chip.css +90 -0
  552. package/src/styles/parts/code.css +48 -0
  553. package/src/styles/parts/count.css +27 -0
  554. package/src/styles/parts/crumbs.css +61 -0
  555. package/src/styles/parts/detail.css +110 -0
  556. package/src/styles/parts/empty.css +21 -0
  557. package/src/styles/parts/eyebrow.css +9 -0
  558. package/src/styles/parts/facts.css +147 -0
  559. package/src/styles/parts/figures.css +65 -0
  560. package/src/styles/parts/files.css +38 -0
  561. package/src/styles/parts/filters.css +42 -0
  562. package/src/styles/parts/form.css +109 -0
  563. package/src/styles/parts/frame.css +45 -0
  564. package/src/styles/parts/input.css +243 -0
  565. package/src/styles/parts/legend.css +48 -0
  566. package/src/styles/parts/links.css +37 -0
  567. package/src/styles/parts/mark.css +79 -0
  568. package/src/styles/parts/menu.css +147 -0
  569. package/src/styles/parts/page.css +174 -0
  570. package/src/styles/parts/pager.css +19 -0
  571. package/src/styles/parts/panel.css +33 -0
  572. package/src/styles/parts/person.css +257 -0
  573. package/src/styles/parts/picker.css +185 -0
  574. package/src/styles/parts/progress.css +25 -0
  575. package/src/styles/parts/prose.css +128 -0
  576. package/src/styles/parts/rows.css +63 -0
  577. package/src/styles/parts/series.css +32 -0
  578. package/src/styles/parts/settings.css +101 -0
  579. package/src/styles/parts/share.css +25 -0
  580. package/src/styles/parts/spark.css +23 -0
  581. package/src/styles/parts/spinner.css +29 -0
  582. package/src/styles/parts/stat.css +69 -0
  583. package/src/styles/parts/steps.css +68 -0
  584. package/src/styles/parts/tabs.css +175 -0
  585. package/src/styles/parts/text.css +61 -0
  586. package/src/styles/parts/toggle.css +71 -0
  587. package/src/styles/parts/workers.css +37 -0
  588. package/src/styles/tokens.css +295 -0
  589. package/src/tab-title.ts +25 -0
  590. package/src/tokens.ts +3 -0
  591. package/src/use-action.ts +7 -2
  592. package/src/vocabulary.ts +151 -3
  593. package/template/desk-web/README.md +8 -0
  594. package/template/desk-web/index.html +13 -0
  595. package/template/desk-web/package.json +25 -0
  596. package/template/desk-web/src/main.tsx +24 -0
  597. package/template/desk-web/src/page.tsx +51 -0
  598. package/template/desk-web/tsconfig.json +16 -0
  599. package/template/desk-web/vite.config.ts +15 -0
@@ -0,0 +1,1195 @@
1
+ /* Sources: components/agents.tsx, components/agent-page.tsx, agent-page.tsx, components/setup.tsx, setup-page.tsx */
2
+
3
+ /* An agent account's card (ADR-0084): a person's card, with how the account stands across from
4
+ its name, where every card says it. Where the card leads to the account's page, the name's
5
+ link is drawn over the whole card, and the card answers the pointer and the focus as a tile
6
+ of the front page does. */
7
+
8
+ /* How it stands is above the link that covers the card, so that why it stands so is read where
9
+ the pointer rests on it. */
10
+ .sc-agent-card-state {
11
+ position: relative;
12
+ z-index: 2;
13
+ align-self: start;
14
+ margin-inline-start: auto;
15
+ }
16
+
17
+ .sc-agent-card-link {
18
+ color: inherit;
19
+ text-decoration: none;
20
+ }
21
+
22
+ .sc-agent-card-link::after {
23
+ position: absolute;
24
+ inset: 0;
25
+ z-index: 1;
26
+ border-radius: inherit;
27
+ content: "";
28
+ }
29
+
30
+ .sc-agent-card-link:focus-visible {
31
+ outline: none;
32
+ }
33
+
34
+ .sc-agent-card-linked {
35
+ transition:
36
+ border-color var(--sc-transition),
37
+ background var(--sc-transition),
38
+ box-shadow var(--sc-transition);
39
+ }
40
+
41
+ .sc-agent-card-linked:hover,
42
+ .sc-agent-card-linked:focus-within {
43
+ border-color: var(--sc-color-accent);
44
+ background: var(--sc-glass-surface-hover);
45
+ box-shadow: var(--sc-glass-sheen), var(--sc-glass-lift), var(--sc-glow);
46
+ }
47
+
48
+ .sc-agent-card-linked:hover .sc-agent-card-link {
49
+ color: var(--sc-color-accent);
50
+ }
51
+
52
+ .sc-agent-card-linked:has(.sc-agent-card-link:focus-visible) {
53
+ outline: var(--sc-focus-ring);
54
+ outline-offset: 2px;
55
+ }
56
+
57
+ /* An agent account's picture on its settings, with the way to save it as a file beside it. */
58
+ .sc-agent-picture {
59
+ display: flex;
60
+ flex-wrap: wrap;
61
+ align-items: center;
62
+ gap: var(--sc-space-4);
63
+ margin-bottom: var(--sc-space-4);
64
+ }
65
+
66
+ /* Beside the face while the button has room for its words on one line, under it where not. */
67
+ .sc-agent-picture-what {
68
+ display: grid;
69
+ flex: 1 1 14rem;
70
+ justify-items: start;
71
+ gap: var(--sc-space-1);
72
+ min-width: 0;
73
+ }
74
+
75
+ .sc-agent-picture-what > .sc-field-hint {
76
+ margin: 0;
77
+ }
78
+
79
+ /* The personas an agent account is proposed (ADR-0084): a row of pictures with a name each, one chosen. */
80
+ .sc-agent-proposals {
81
+ min-width: 0;
82
+ margin: 0;
83
+ padding: 0;
84
+ border: 0;
85
+ }
86
+
87
+ .sc-agent-proposal-row {
88
+ display: flex;
89
+ flex-wrap: wrap;
90
+ align-items: center;
91
+ gap: var(--sc-space-3);
92
+ margin-block: var(--sc-space-2);
93
+ }
94
+
95
+ .sc-agent-proposal {
96
+ display: flex;
97
+ flex-direction: column;
98
+ align-items: center;
99
+ gap: var(--sc-space-1);
100
+ min-width: 6.5rem;
101
+ padding: var(--sc-space-3);
102
+ border: var(--sc-border);
103
+ border-radius: var(--sc-radius-lg);
104
+ background: transparent;
105
+ color: inherit;
106
+ font: inherit;
107
+ cursor: pointer;
108
+ }
109
+
110
+ .sc-agent-proposal:hover {
111
+ background: var(--sc-color-bg-inset);
112
+ }
113
+
114
+ .sc-agent-proposal-chosen {
115
+ border-color: var(--sc-color-accent);
116
+ box-shadow: 0 0 0 1px var(--sc-color-accent);
117
+ }
118
+
119
+ .sc-agent-proposal-name {
120
+ font-weight: var(--sc-weight-medium);
121
+ }
122
+
123
+ .sc-agent-proposal-handle {
124
+ color: var(--sc-color-text-muted);
125
+ font-size: var(--sc-text-xs);
126
+ }
127
+
128
+ /* An agent account's page (ADR-0085, ADR-0086): a panel with who it is and how it stands, then
129
+ its views as the console's own sub-tabs. The picture beside the name, the handle beside the
130
+ name as on its card, what it does under them, how it stands under that with its times told
131
+ short, and across from them whom it reports to. */
132
+ .sc-agent-header {
133
+ margin-bottom: var(--sc-space-4);
134
+ }
135
+
136
+ .sc-agent-head {
137
+ display: flex;
138
+ flex-wrap: wrap;
139
+ align-items: center;
140
+ gap: var(--sc-space-4) var(--sc-space-5);
141
+ min-width: 0;
142
+ }
143
+
144
+ .sc-agent-head-who {
145
+ display: grid;
146
+ flex: 1 1 16rem;
147
+ gap: var(--sc-space-1);
148
+ min-width: 0;
149
+ }
150
+
151
+ .sc-agent-head-name {
152
+ display: flex;
153
+ flex-wrap: wrap;
154
+ align-items: baseline;
155
+ gap: var(--sc-space-1) var(--sc-space-2);
156
+ }
157
+
158
+ .sc-agent-head-name .sc-page-title {
159
+ margin: 0;
160
+ overflow-wrap: anywhere;
161
+ }
162
+
163
+ .sc-agent-head-who .sc-lead {
164
+ margin: 0;
165
+ }
166
+
167
+ .sc-agent-head-facts {
168
+ flex: 0 1 auto;
169
+ margin: 0;
170
+ }
171
+
172
+ .sc-agent-state {
173
+ display: inline-flex;
174
+ flex-wrap: wrap;
175
+ align-items: center;
176
+ gap: var(--sc-space-1) var(--sc-space-2);
177
+ }
178
+
179
+ .sc-agent-state-why {
180
+ color: var(--sc-color-text-muted);
181
+ font-size: var(--sc-text-sm);
182
+ }
183
+
184
+ .sc-agent-views {
185
+ margin-bottom: var(--sc-space-5);
186
+ }
187
+
188
+ @media (max-width: 40rem) {
189
+ .sc-agent-head > .sc-avatar {
190
+ width: 4rem;
191
+ height: 4rem;
192
+ }
193
+ }
194
+
195
+ /* What the agent is doing now: the conversation in a pane of its own, with the box to speak in
196
+ at its foot, and beside them, where there is room, the session in a row, what changes how the
197
+ agent stands and what it runs with. */
198
+ .sc-agent-live {
199
+ display: grid;
200
+ grid-template-columns: minmax(0, 1fr);
201
+ align-items: start;
202
+ gap: var(--sc-space-5);
203
+ }
204
+
205
+ @media (min-width: 64rem) {
206
+ .sc-agent-live {
207
+ grid-template-columns: minmax(0, 1fr) var(--sc-width-aside);
208
+ }
209
+
210
+ .sc-agent-live-side {
211
+ position: sticky;
212
+ top: calc(var(--sc-header-height) + var(--sc-space-5));
213
+ }
214
+ }
215
+
216
+ .sc-agent-live-main {
217
+ display: grid;
218
+ grid-template-columns: minmax(0, 1fr);
219
+ gap: var(--sc-space-4);
220
+ min-width: 0;
221
+ }
222
+
223
+ .sc-agent-live-main > .sc-panel {
224
+ margin: 0;
225
+ }
226
+
227
+ .sc-agent-live-lead {
228
+ margin: 0;
229
+ }
230
+
231
+ .sc-agent-live-side {
232
+ display: grid;
233
+ gap: var(--sc-space-4);
234
+ min-width: 0;
235
+ }
236
+
237
+ .sc-agent-live-side > .sc-panel {
238
+ margin: 0;
239
+ }
240
+
241
+ /* A conversation in a pane, as a chat is read: as tall as the window leaves under the header,
242
+ never shorter than a few messages; the conversation scrolls within it, in a column no wider
243
+ than is read with ease, and the box to speak in stays at its foot. The way back to the
244
+ latest floats over the conversation's end while whoever reads is away from it. */
245
+ .sc-chat {
246
+ display: flex;
247
+ flex-direction: column;
248
+ /* From where the pane begins on the page, which the pane measures, to the window's foot:
249
+ the box to speak in is in sight without scrolling. Until it is measured, a guess. */
250
+ --sc-chat-top: 24rem;
251
+
252
+ height: calc(100dvh - var(--sc-chat-top) - var(--sc-space-5));
253
+ min-height: 24rem;
254
+ padding: 0;
255
+ overflow: hidden;
256
+ }
257
+
258
+ .sc-chat-scroll {
259
+ flex: 1 1 auto;
260
+ min-height: 0;
261
+ overflow-y: auto;
262
+ overscroll-behavior: contain;
263
+ }
264
+
265
+ /* Under a finger the page moves on once the conversation stands at its end or its beginning, as
266
+ a finger expects of a page: the pane is nearly as tall as a phone's window, and where it held
267
+ every drag for itself, a finger put down on it reached nothing else of the page, the box to
268
+ speak in below the window's foot among it. */
269
+ @media (pointer: coarse) {
270
+ .sc-chat-scroll {
271
+ overscroll-behavior: auto;
272
+ }
273
+ }
274
+
275
+ .sc-chat-content {
276
+ display: grid;
277
+ grid-template-columns: minmax(0, 1fr);
278
+ gap: var(--sc-space-3);
279
+ max-width: 52rem;
280
+ margin-inline: auto;
281
+ padding: var(--sc-space-5);
282
+ }
283
+
284
+ .sc-chat-content > .sc-field-hint {
285
+ margin: 0;
286
+ }
287
+
288
+ .sc-chat-latest {
289
+ position: relative;
290
+ flex: none;
291
+ height: 0;
292
+ }
293
+
294
+ .sc-chat-latest > .sc-button {
295
+ position: absolute;
296
+ bottom: var(--sc-space-2);
297
+ left: 50%;
298
+ translate: -50% 0;
299
+ }
300
+
301
+ .sc-chat-foot {
302
+ flex: none;
303
+ padding: var(--sc-space-2) var(--sc-space-5) var(--sc-space-4);
304
+ }
305
+
306
+ /* Where the window is narrow, what stands over the pane leaves it little: the pane is as tall as
307
+ the window is under the header, and fills it once the page is scrolled to it. */
308
+ @media (max-width: 40rem) {
309
+ .sc-chat {
310
+ height: calc(100dvh - var(--sc-header-height) - 2.75rem - var(--sc-space-5));
311
+ min-height: 20rem;
312
+ }
313
+
314
+ .sc-chat-content {
315
+ padding: var(--sc-space-4) var(--sc-space-3);
316
+ }
317
+
318
+ .sc-chat-foot {
319
+ padding: var(--sc-space-2) var(--sc-space-3) var(--sc-space-3);
320
+ }
321
+ }
322
+
323
+ /* What a supervisor says to the agent: one box, the files chosen above the words, a chip each,
324
+ a picture shown small in its chip, and under the words the way to choose files and the way
325
+ to send. The box takes the ring of a field while it is written in, and while files are
326
+ dragged over it, which says that it takes them. */
327
+ .sc-signal-composer {
328
+ display: grid;
329
+ grid-template-columns: minmax(0, 1fr);
330
+ gap: var(--sc-space-2);
331
+ width: 100%;
332
+ max-width: 49rem;
333
+ min-width: 0;
334
+ margin: 0 auto;
335
+ }
336
+
337
+ .sc-signal-box {
338
+ display: grid;
339
+ grid-template-columns: minmax(0, 1fr);
340
+ gap: var(--sc-space-2);
341
+ padding: var(--sc-space-2) var(--sc-space-3);
342
+ border: var(--sc-border-strong);
343
+ border-radius: var(--sc-radius-xl);
344
+ background: var(--sc-color-bg-raised);
345
+ transition: border-color var(--sc-transition);
346
+ }
347
+
348
+ .sc-signal-box:focus-within,
349
+ .sc-signal-composer-over > .sc-signal-box {
350
+ outline: var(--sc-focus-ring);
351
+ outline-offset: 0;
352
+ border-color: var(--sc-color-accent);
353
+ }
354
+
355
+ .sc-signal-text {
356
+ width: 100%;
357
+ min-height: 1.75rem;
358
+ padding: var(--sc-space-1);
359
+ border: 0;
360
+ outline: none;
361
+ background: transparent;
362
+ color: var(--sc-color-text);
363
+ font: inherit;
364
+ font-size: var(--sc-text-sm);
365
+ line-height: var(--sc-leading-normal);
366
+ resize: none;
367
+ }
368
+
369
+ .sc-signal-text::placeholder {
370
+ color: var(--sc-color-text-faint);
371
+ }
372
+
373
+ /* A chip of the box gives way to the box: a long name is cut, never the box widened. */
374
+ .sc-signal-files > .sc-chosen-file {
375
+ max-width: 100%;
376
+ min-width: 0;
377
+ }
378
+
379
+ .sc-signal-thumb {
380
+ width: 2rem;
381
+ height: 2rem;
382
+ border-radius: var(--sc-radius-sm);
383
+ object-fit: cover;
384
+ }
385
+
386
+ .sc-signal-file-name {
387
+ flex: 0 1 auto;
388
+ min-width: 0;
389
+ max-width: 16rem;
390
+ overflow: hidden;
391
+ text-overflow: ellipsis;
392
+ white-space: nowrap;
393
+ }
394
+
395
+ .sc-signal-files .sc-muted {
396
+ flex: none;
397
+ }
398
+
399
+ .sc-signal-row {
400
+ display: flex;
401
+ align-items: center;
402
+ justify-content: space-between;
403
+ gap: var(--sc-space-2);
404
+ }
405
+
406
+ .sc-signal-composer > .sc-field-hint,
407
+ .sc-signal-composer > .sc-form-error {
408
+ margin: 0;
409
+ padding-inline: var(--sc-space-3);
410
+ }
411
+
412
+ /* What changes how the agent stands: words for it, the ways in a row, and what each does. */
413
+ .sc-agent-controls {
414
+ display: grid;
415
+ gap: var(--sc-space-3);
416
+ }
417
+
418
+ .sc-agent-controls-ways {
419
+ display: flex;
420
+ flex-wrap: wrap;
421
+ gap: var(--sc-space-2);
422
+ }
423
+
424
+ .sc-agent-controls-says {
425
+ display: grid;
426
+ gap: var(--sc-space-1);
427
+ margin: 0;
428
+ padding: 0;
429
+ color: var(--sc-color-text-muted);
430
+ font-size: var(--sc-text-sm);
431
+ list-style: none;
432
+ }
433
+
434
+ .sc-agent-controls-says b {
435
+ color: var(--sc-color-text);
436
+ font-weight: var(--sc-weight-medium);
437
+ }
438
+
439
+ .sc-agent-controls .sc-field-hint {
440
+ margin: 0;
441
+ }
442
+
443
+ /* The model and the effort an agent runs with: the two side by side, filling the room they have,
444
+ and what the open session runs with under them. */
445
+ .sc-agent-choice {
446
+ display: flex;
447
+ flex-wrap: wrap;
448
+ align-items: end;
449
+ gap: var(--sc-space-3);
450
+ }
451
+
452
+ .sc-agent-choice-field {
453
+ flex: 1 1 9rem;
454
+ min-width: 0;
455
+ }
456
+
457
+ .sc-agent-choice-field .sc-input {
458
+ width: 100%;
459
+ }
460
+
461
+ .sc-agent-choice .sc-field-hint {
462
+ flex-basis: 100%;
463
+ margin: 0;
464
+ }
465
+
466
+ /* A session as a conversation. What the agent was told stands at the right, on the tint of the
467
+ accent, as wide as its words, with who said it under it; what the agent said at the left,
468
+ beside its picture, as prose; a thought and a tool's call are the steps of a turn, rows that
469
+ open, close together under what the agent said, the call with what it answered inside; a
470
+ wake, a status and an error are notes between, quieter, and a hairline says where a turn
471
+ ended. At the foot: the sign that the agent is at work, and what was told and not taken yet.
472
+ What an agent's product printed keeps its spaces and its lines, and wraps rather than widen
473
+ the page. */
474
+ .sc-agent-transcript {
475
+ display: grid;
476
+ grid-template-columns: minmax(0, 1fr);
477
+ gap: var(--sc-space-3);
478
+ min-width: 0;
479
+ }
480
+
481
+ .sc-agent-transcript > .sc-button {
482
+ justify-self: start;
483
+ }
484
+
485
+ .sc-agent-transcript > .sc-callout,
486
+ .sc-agent-transcript > .sc-field-hint {
487
+ margin: 0;
488
+ }
489
+
490
+ .sc-talk {
491
+ display: flex;
492
+ flex-direction: column;
493
+ min-width: 0;
494
+ margin: 0;
495
+ padding: 0;
496
+ list-style: none;
497
+ }
498
+
499
+ .sc-talk-item {
500
+ min-width: 0;
501
+ }
502
+
503
+ .sc-talk-item + .sc-talk-item {
504
+ margin-top: var(--sc-space-4);
505
+ }
506
+
507
+ .sc-talk-item .sc-time {
508
+ flex: none;
509
+ color: var(--sc-color-text-muted);
510
+ font-size: var(--sc-text-xs);
511
+ }
512
+
513
+ .sc-talk-text,
514
+ .sc-talk-code {
515
+ margin: 0;
516
+ font: inherit;
517
+ white-space: pre-wrap;
518
+ overflow-wrap: anywhere;
519
+ }
520
+
521
+ /* What the agent was told. */
522
+ .sc-talk-told {
523
+ display: grid;
524
+ grid-template-columns: minmax(0, 1fr);
525
+ justify-items: end;
526
+ gap: var(--sc-space-1);
527
+ }
528
+
529
+ .sc-talk-bubble {
530
+ display: grid;
531
+ grid-template-columns: minmax(0, 1fr);
532
+ gap: var(--sc-space-2);
533
+ max-width: min(100%, 40rem);
534
+ padding: var(--sc-space-3) var(--sc-space-4);
535
+ border-radius: var(--sc-radius-xl);
536
+ border-end-end-radius: var(--sc-radius-sm);
537
+ background: var(--sc-color-accent-subtle);
538
+ }
539
+
540
+ .sc-talk-meta {
541
+ display: flex;
542
+ flex-wrap: wrap;
543
+ align-items: center;
544
+ justify-content: flex-end;
545
+ gap: var(--sc-space-1) var(--sc-space-2);
546
+ color: var(--sc-color-text-muted);
547
+ font-size: var(--sc-text-xs);
548
+ }
549
+
550
+ .sc-talk-who {
551
+ font-weight: var(--sc-weight-medium);
552
+ }
553
+
554
+ /* What was told and the agent has not taken yet: as it will stand there, on no tint, within a
555
+ dashed line; under the last, when it is read and the way to have it read now. */
556
+ .sc-talk-waiting > .sc-talk-bubble {
557
+ border: var(--sc-border-strong);
558
+ border-style: dashed;
559
+ background: transparent;
560
+ }
561
+
562
+ .sc-talk-wait {
563
+ display: flex;
564
+ flex-wrap: wrap;
565
+ align-items: center;
566
+ justify-content: flex-end;
567
+ gap: var(--sc-space-2);
568
+ margin: var(--sc-space-1) 0 0;
569
+ color: var(--sc-color-text-muted);
570
+ font-size: var(--sc-text-xs);
571
+ }
572
+
573
+ /* What the agent said. */
574
+ .sc-talk-said {
575
+ display: flex;
576
+ align-items: flex-start;
577
+ gap: var(--sc-space-3);
578
+ }
579
+
580
+ .sc-talk-prose {
581
+ display: grid;
582
+ grid-template-columns: minmax(0, 1fr);
583
+ flex: 0 1 44rem;
584
+ gap: var(--sc-space-2);
585
+ min-width: 0;
586
+ line-height: var(--sc-leading-normal);
587
+ }
588
+
589
+ /* When it was said stands at the end of the row, on the first line. */
590
+ .sc-talk-said > .sc-time {
591
+ margin-inline-start: auto;
592
+ padding-top: 0.25rem;
593
+ }
594
+
595
+ /* The steps of a turn stand under what the agent said, in from its picture, and close together. */
596
+ .sc-talk-step {
597
+ margin-inline-start: calc(1.5rem + var(--sc-space-3));
598
+ }
599
+
600
+ .sc-talk-step + .sc-talk-step {
601
+ margin-top: var(--sc-space-1);
602
+ }
603
+
604
+ /* Where the page is narrow, when it was said goes under the words and leaves them the width,
605
+ and the steps take the whole of it. */
606
+ @media (max-width: 40rem) {
607
+ .sc-talk-said {
608
+ flex-wrap: wrap;
609
+ }
610
+
611
+ .sc-talk-prose {
612
+ flex: 1 1 0;
613
+ }
614
+
615
+ .sc-talk-said > .sc-time {
616
+ flex-basis: 100%;
617
+ margin-inline-start: calc(1.5rem + var(--sc-space-3));
618
+ padding-top: 0;
619
+ }
620
+
621
+ .sc-talk-step {
622
+ margin-inline-start: 0;
623
+ }
624
+ }
625
+
626
+ /* A thought and a tool's call: a row that opens, quiet until it is pointed at or open. */
627
+ .sc-talk-tool-fold {
628
+ border-radius: var(--sc-radius-md);
629
+ }
630
+
631
+ .sc-talk-tool-fold[open] {
632
+ background: var(--sc-color-sheet);
633
+ box-shadow: inset 0 0 0 1px var(--sc-color-border);
634
+ }
635
+
636
+ .sc-talk-tool-head {
637
+ display: flex;
638
+ align-items: center;
639
+ gap: var(--sc-space-2);
640
+ min-width: 0;
641
+ padding: var(--sc-space-1) var(--sc-space-2);
642
+ border-radius: var(--sc-radius-md);
643
+ font-size: var(--sc-text-sm);
644
+ cursor: pointer;
645
+ }
646
+
647
+ .sc-talk-tool-head:hover {
648
+ background: var(--sc-color-bg-inset);
649
+ }
650
+
651
+ /* That a call is still running is one word at the row's end, never broken where the row is narrow. */
652
+ .sc-talk-tool-head > .sc-muted {
653
+ flex: none;
654
+ white-space: nowrap;
655
+ }
656
+
657
+ .sc-talk-tool-head:focus-visible {
658
+ outline: var(--sc-focus-ring);
659
+ outline-offset: 2px;
660
+ }
661
+
662
+ .sc-talk-tool-name,
663
+ .sc-talk-kind {
664
+ flex: none;
665
+ color: var(--sc-color-text-muted);
666
+ font-size: var(--sc-text-xs);
667
+ font-weight: var(--sc-weight-bold);
668
+ }
669
+
670
+ .sc-talk-tool-name {
671
+ padding: 0.125rem var(--sc-space-2);
672
+ border-radius: var(--sc-radius-sm);
673
+ background: var(--sc-color-bg-inset);
674
+ font-family: var(--sc-font-mono);
675
+ font-weight: var(--sc-weight-normal);
676
+ }
677
+
678
+ .sc-talk-tool-line {
679
+ flex: 1 1 auto;
680
+ min-width: 0;
681
+ overflow: hidden;
682
+ color: var(--sc-color-text-muted);
683
+ font-family: var(--sc-font-mono);
684
+ font-size: var(--sc-text-xs);
685
+ text-overflow: ellipsis;
686
+ white-space: nowrap;
687
+ }
688
+
689
+ .sc-talk-thought .sc-talk-tool-line {
690
+ font-family: inherit;
691
+ font-size: var(--sc-text-sm);
692
+ font-style: italic;
693
+ }
694
+
695
+ .sc-talk-tool-failed > .sc-talk-tool-fold {
696
+ box-shadow: inset 0 0 0 1px var(--sc-color-danger);
697
+ }
698
+
699
+ .sc-talk-tool-body {
700
+ display: grid;
701
+ grid-template-columns: minmax(0, 1fr);
702
+ gap: var(--sc-space-2);
703
+ padding: var(--sc-space-1) var(--sc-space-3) var(--sc-space-3);
704
+ }
705
+
706
+ .sc-talk-code {
707
+ max-height: 24rem;
708
+ padding: var(--sc-space-2) var(--sc-space-3);
709
+ overflow: auto;
710
+ border-radius: var(--sc-radius-sm);
711
+ background: var(--sc-color-bg-inset);
712
+ font-family: var(--sc-font-mono);
713
+ font-size: var(--sc-text-xs);
714
+ line-height: var(--sc-leading-snug);
715
+ }
716
+
717
+ .sc-talk-code-answer {
718
+ background: transparent;
719
+ box-shadow: inset 0 0 0 1px var(--sc-color-border);
720
+ }
721
+
722
+ .sc-talk-thought .sc-talk-text {
723
+ color: var(--sc-color-text-muted);
724
+ font-size: var(--sc-text-sm);
725
+ }
726
+
727
+ /* A wake, a status, an error: a note between. */
728
+ .sc-talk-note {
729
+ display: grid;
730
+ grid-template-columns: minmax(0, 1fr);
731
+ justify-items: center;
732
+ gap: var(--sc-space-1);
733
+ color: var(--sc-color-text-muted);
734
+ font-size: var(--sc-text-xs);
735
+ }
736
+
737
+ .sc-talk-note-line {
738
+ display: inline-flex;
739
+ flex-wrap: wrap;
740
+ align-items: center;
741
+ justify-content: center;
742
+ gap: var(--sc-space-1) var(--sc-space-2);
743
+ margin: 0;
744
+ color: var(--sc-color-text-muted);
745
+ font-size: var(--sc-text-xs);
746
+ }
747
+
748
+ .sc-talk-bubble .sc-talk-note-line,
749
+ .sc-talk-tool-body .sc-talk-note-line {
750
+ justify-content: flex-start;
751
+ }
752
+
753
+ .sc-talk-told > .sc-talk-note-line {
754
+ justify-content: flex-end;
755
+ }
756
+
757
+ .sc-talk-note-error .sc-talk-note-line,
758
+ .sc-talk-note-error .sc-talk-text,
759
+ .sc-talk-unread {
760
+ color: var(--sc-color-danger);
761
+ }
762
+
763
+ .sc-talk-text-note {
764
+ justify-self: stretch;
765
+ padding: var(--sc-space-2) var(--sc-space-3);
766
+ border-radius: var(--sc-radius-md);
767
+ background: var(--sc-color-bg-inset);
768
+ color: var(--sc-color-text-muted);
769
+ font-size: var(--sc-text-sm);
770
+ }
771
+
772
+ .sc-talk-unseen {
773
+ color: var(--sc-color-text);
774
+ }
775
+
776
+ .sc-talk-cut {
777
+ margin: 0;
778
+ color: var(--sc-color-text-muted);
779
+ font-size: var(--sc-text-xs);
780
+ }
781
+
782
+ /* Where a turn ended: a hairline with how long it took, quieter than a note. */
783
+ .sc-talk-turn {
784
+ display: flex;
785
+ align-items: center;
786
+ gap: var(--sc-space-3);
787
+ }
788
+
789
+ .sc-talk-turn::before,
790
+ .sc-talk-turn::after {
791
+ content: "";
792
+ flex: 1;
793
+ height: 1px;
794
+ background: var(--sc-color-border);
795
+ }
796
+
797
+ .sc-talk-turn > .sc-talk-note-line {
798
+ flex: none;
799
+ color: var(--sc-color-text-faint);
800
+ }
801
+
802
+ /* The sign that the agent is at work: its picture, three dots that rise in turn, and what it is at. */
803
+ .sc-talk-working {
804
+ display: flex;
805
+ align-items: center;
806
+ gap: var(--sc-space-3);
807
+ color: var(--sc-color-text-muted);
808
+ font-size: var(--sc-text-sm);
809
+ }
810
+
811
+ .sc-talk-dots {
812
+ display: inline-flex;
813
+ align-items: center;
814
+ gap: 0.25rem;
815
+ }
816
+
817
+ .sc-talk-dots > span {
818
+ width: 0.375rem;
819
+ height: 0.375rem;
820
+ border-radius: var(--sc-radius-full);
821
+ background: currentcolor;
822
+ opacity: 0.45;
823
+ }
824
+
825
+ @media (prefers-reduced-motion: no-preference) {
826
+ .sc-talk-dots > span {
827
+ animation: sc-talk-dot 1.2s ease-in-out infinite;
828
+ }
829
+
830
+ .sc-talk-dots > span:nth-child(2) {
831
+ animation-delay: 0.15s;
832
+ }
833
+
834
+ .sc-talk-dots > span:nth-child(3) {
835
+ animation-delay: 0.3s;
836
+ }
837
+ }
838
+
839
+ @keyframes sc-talk-dot {
840
+ 0%,
841
+ 60%,
842
+ 100% {
843
+ opacity: 0.3;
844
+ transform: translateY(0);
845
+ }
846
+
847
+ 30% {
848
+ opacity: 1;
849
+ transform: translateY(-0.1875rem);
850
+ }
851
+ }
852
+
853
+ /* The pictures of an event: small, side by side, each opening large over the page. */
854
+ .sc-talk-pictures {
855
+ display: flex;
856
+ flex-wrap: wrap;
857
+ gap: var(--sc-space-2);
858
+ margin: 0;
859
+ padding: 0;
860
+ list-style: none;
861
+ }
862
+
863
+ .sc-talk-pictures img {
864
+ display: block;
865
+ max-width: min(100%, 20rem);
866
+ max-height: 14rem;
867
+ border: var(--sc-border);
868
+ border-radius: var(--sc-radius-md);
869
+ background: var(--sc-color-sheet);
870
+ }
871
+
872
+ .sc-talk-tool > .sc-talk-pictures {
873
+ margin-top: var(--sc-space-2);
874
+ }
875
+
876
+ /* An agent's sessions, a row each that leads to the session: when, how it ended, what it ran and
877
+ where, and how many events it holds at the end. The row answers the pointer as a whole. */
878
+ .sc-agent-session-panel {
879
+ display: grid;
880
+ gap: var(--sc-space-2);
881
+ }
882
+
883
+ .sc-agent-session-panel > .sc-button {
884
+ justify-self: start;
885
+ }
886
+
887
+ .sc-agent-sessions {
888
+ display: grid;
889
+ grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 2fr) auto;
890
+ column-gap: var(--sc-space-4);
891
+ margin: 0;
892
+ padding: 0;
893
+ list-style: none;
894
+ }
895
+
896
+ /* Every row on the columns of the list, so that what each says stands under the same thing above. */
897
+ .sc-agent-session {
898
+ position: relative;
899
+ display: grid;
900
+ grid-column: 1 / -1;
901
+ grid-template-columns: subgrid;
902
+ align-items: center;
903
+ gap: var(--sc-space-1) var(--sc-space-4);
904
+ min-width: 0;
905
+ margin-inline: calc(var(--sc-space-3) * -1);
906
+ padding: var(--sc-space-3);
907
+ border-radius: var(--sc-radius-md);
908
+ transition: background var(--sc-transition);
909
+ }
910
+
911
+ .sc-agent-session + .sc-agent-session::before {
912
+ position: absolute;
913
+ inset: 0 var(--sc-space-3) auto;
914
+ height: 1px;
915
+ background: var(--sc-color-border);
916
+ content: "";
917
+ }
918
+
919
+ .sc-agent-session:hover,
920
+ .sc-agent-session:focus-within {
921
+ background: var(--sc-color-bg-inset);
922
+ }
923
+
924
+ .sc-agent-session-when {
925
+ min-width: 0;
926
+ font-size: var(--sc-text-sm);
927
+ font-weight: var(--sc-weight-medium);
928
+ font-feature-settings: var(--sc-numeric);
929
+ }
930
+
931
+ .sc-agent-session-link {
932
+ color: var(--sc-color-text);
933
+ text-decoration: none;
934
+ }
935
+
936
+ .sc-agent-session-link::after {
937
+ position: absolute;
938
+ inset: 0;
939
+ border-radius: inherit;
940
+ content: "";
941
+ }
942
+
943
+ .sc-agent-session-link:focus-visible {
944
+ outline: none;
945
+ }
946
+
947
+ .sc-agent-session:has(.sc-agent-session-link:focus-visible) {
948
+ outline: var(--sc-focus-ring);
949
+ outline-offset: 0;
950
+ }
951
+
952
+ .sc-agent-session-until {
953
+ color: var(--sc-color-text-muted);
954
+ font-weight: var(--sc-weight-normal);
955
+ }
956
+
957
+ .sc-agent-session-badges {
958
+ display: inline-flex;
959
+ flex-wrap: wrap;
960
+ gap: var(--sc-space-1);
961
+ }
962
+
963
+ .sc-agent-session-facts {
964
+ min-width: 0;
965
+ color: var(--sc-color-text-muted);
966
+ font-size: var(--sc-text-sm);
967
+ overflow-wrap: anywhere;
968
+ }
969
+
970
+ .sc-agent-session-count {
971
+ color: var(--sc-color-text-muted);
972
+ font-size: var(--sc-text-sm);
973
+ font-feature-settings: var(--sc-numeric);
974
+ white-space: nowrap;
975
+ }
976
+
977
+ /* In the narrow column beside a session, and where the window is narrow, a session reads as a
978
+ few lines: when and how it ended, then what it ran. */
979
+ .sc-agent-live-side .sc-agent-sessions {
980
+ grid-template-columns: minmax(0, 1fr) auto;
981
+ }
982
+
983
+ .sc-agent-live-side .sc-agent-session-facts,
984
+ .sc-agent-live-side .sc-agent-session-count {
985
+ grid-column: 1 / -1;
986
+ }
987
+
988
+ @media (max-width: 48rem) {
989
+ .sc-agent-sessions {
990
+ grid-template-columns: minmax(0, 1fr) auto;
991
+ }
992
+
993
+ .sc-agent-session-facts,
994
+ .sc-agent-session-count {
995
+ grid-column: 1 / -1;
996
+ }
997
+ }
998
+
999
+ /* The way back from one session to all of them: the console's crumbs, a mark of the way back before it. */
1000
+ .sc-agent-crumbs a::before {
1001
+ content: "‹ ";
1002
+ }
1003
+
1004
+ .sc-agent-session-panel + .sc-agent-transcript {
1005
+ margin-top: var(--sc-space-4);
1006
+ }
1007
+
1008
+ /* The short lists of the settings, a row each, a hairline between, what is done to it at the end. */
1009
+ .sc-agent-secret-list {
1010
+ display: grid;
1011
+ margin: 0 0 var(--sc-space-3);
1012
+ padding: 0;
1013
+ list-style: none;
1014
+ }
1015
+
1016
+ .sc-agent-secret {
1017
+ display: flex;
1018
+ flex-wrap: wrap;
1019
+ align-items: center;
1020
+ gap: var(--sc-space-1) var(--sc-space-3);
1021
+ min-width: 0;
1022
+ padding-block: var(--sc-space-2);
1023
+ font-size: var(--sc-text-sm);
1024
+ }
1025
+
1026
+ .sc-agent-secret + .sc-agent-secret {
1027
+ border-top: var(--sc-hairline);
1028
+ }
1029
+
1030
+ .sc-agent-secret > code {
1031
+ padding: 0.0625rem var(--sc-space-2);
1032
+ border-radius: var(--sc-radius-sm);
1033
+ background: var(--sc-color-bg-inset);
1034
+ font-size: var(--sc-text-xs);
1035
+ }
1036
+
1037
+ .sc-agent-secret > .sc-muted {
1038
+ font-size: var(--sc-text-xs);
1039
+ }
1040
+
1041
+ .sc-agent-secret > :last-child {
1042
+ margin-left: auto;
1043
+ }
1044
+
1045
+ /* What is kept of the agent: two columns where there is room, each a stack of sections. */
1046
+ .sc-agent-settings {
1047
+ display: grid;
1048
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
1049
+ align-items: start;
1050
+ gap: var(--sc-space-4);
1051
+ }
1052
+
1053
+ .sc-agent-settings > .sc-callout {
1054
+ grid-column: 1 / -1;
1055
+ }
1056
+
1057
+ .sc-agent-settings-column {
1058
+ display: grid;
1059
+ gap: var(--sc-space-4);
1060
+ min-width: 0;
1061
+ }
1062
+
1063
+ .sc-agent-settings-column > .sc-panel {
1064
+ margin: 0;
1065
+ }
1066
+
1067
+ .sc-agent-settings .sc-field-hint {
1068
+ margin-bottom: 0;
1069
+ }
1070
+
1071
+ .sc-agent-secret-form,
1072
+ .sc-agent-persona {
1073
+ display: flex;
1074
+ flex-wrap: wrap;
1075
+ align-items: end;
1076
+ gap: var(--sc-space-2) var(--sc-space-3);
1077
+ }
1078
+
1079
+ .sc-agent-persona .sc-field {
1080
+ flex: 1 1 10rem;
1081
+ min-width: 0;
1082
+ margin: 0;
1083
+ }
1084
+
1085
+ .sc-agent-persona .sc-input {
1086
+ width: 100%;
1087
+ }
1088
+
1089
+ .sc-agent-settings .sc-agent-runner-facts {
1090
+ margin-bottom: var(--sc-space-4);
1091
+ padding-top: 0;
1092
+ border-top: 0;
1093
+ }
1094
+
1095
+ .sc-agents-need-you {
1096
+ margin-bottom: var(--sc-space-5);
1097
+ }
1098
+
1099
+ .sc-agent-need-link {
1100
+ display: inline-flex;
1101
+ align-items: center;
1102
+ gap: var(--sc-space-2);
1103
+ }
1104
+
1105
+ .sc-agent-product {
1106
+ display: inline-flex;
1107
+ flex-wrap: wrap;
1108
+ align-items: center;
1109
+ gap: var(--sc-space-2);
1110
+ }
1111
+
1112
+ /* A secret seeded in one row: its name, its value and the way to seed it. */
1113
+ .sc-agent-secret-form {
1114
+ display: grid;
1115
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
1116
+ }
1117
+
1118
+ .sc-agent-secret-form .sc-input {
1119
+ width: 100%;
1120
+ }
1121
+
1122
+ @media (max-width: 40rem) {
1123
+ .sc-agent-secret-form {
1124
+ grid-template-columns: minmax(0, 1fr) auto;
1125
+ }
1126
+
1127
+ .sc-agent-secret-form > :first-child {
1128
+ grid-column: 1 / -1;
1129
+ }
1130
+ }
1131
+
1132
+ /* The invitation under an agent account, and the guide its code opens (ADR-0088). */
1133
+ .sc-agent-invitation {
1134
+ display: grid;
1135
+ gap: var(--sc-space-3);
1136
+ }
1137
+
1138
+ .sc-agent-invitation > p,
1139
+ .sc-agent-invitation .sc-callout p {
1140
+ margin: 0;
1141
+ }
1142
+
1143
+ .sc-agent-invitation .sc-callout .sc-copyable {
1144
+ margin: var(--sc-space-2) 0 var(--sc-space-3);
1145
+ }
1146
+
1147
+ .sc-agent-invitation-actions {
1148
+ display: flex;
1149
+ flex-wrap: wrap;
1150
+ gap: var(--sc-space-2);
1151
+ }
1152
+
1153
+ /* A line to say or to run breaks between its words, and within one only where it must. */
1154
+ .sc-agent-invitation .sc-code,
1155
+ .sc-setup .sc-code {
1156
+ word-break: normal;
1157
+ overflow-wrap: anywhere;
1158
+ }
1159
+
1160
+ .sc-setup {
1161
+ display: grid;
1162
+ gap: var(--sc-space-4);
1163
+ max-width: 48rem;
1164
+ margin: 0 auto;
1165
+ }
1166
+
1167
+ .sc-setup > p {
1168
+ margin: 0;
1169
+ }
1170
+
1171
+ .sc-setup-head {
1172
+ display: flex;
1173
+ flex-wrap: wrap;
1174
+ align-items: center;
1175
+ gap: var(--sc-space-3);
1176
+ }
1177
+
1178
+ .sc-setup-section .sc-section-title {
1179
+ display: flex;
1180
+ flex-wrap: wrap;
1181
+ align-items: center;
1182
+ gap: var(--sc-space-2);
1183
+ }
1184
+
1185
+ .sc-setup-steps {
1186
+ display: grid;
1187
+ gap: var(--sc-space-3);
1188
+ margin: var(--sc-space-3) 0 0;
1189
+ padding-inline-start: var(--sc-space-5);
1190
+ }
1191
+
1192
+ .sc-setup-steps p {
1193
+ margin: var(--sc-space-1) 0 var(--sc-space-2);
1194
+ overflow-wrap: anywhere;
1195
+ }