@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,718 @@
1
+ /* Sources: components/home.tsx */
2
+
3
+ .sc-tile-pane,
4
+ .sc-home-bar {
5
+ position: relative;
6
+ isolation: isolate;
7
+ border: 1px solid var(--sc-color-glass-edge);
8
+ background: var(--sc-glass-surface);
9
+ backdrop-filter: var(--sc-glass-backdrop);
10
+ box-shadow: var(--sc-glass-sheen), var(--sc-glass-lift);
11
+ }
12
+
13
+ /* The front page (ADR-0061): one grid of square cells, each as wide as the page gives it, a
14
+ tile's place and shape numbers on its style. A tile stands where a transform puts it, so that
15
+ it glides to a new place and the frame in it stays loaded. */
16
+
17
+ .sc-home {
18
+ container-type: inline-size;
19
+ }
20
+
21
+ .sc-home-grid {
22
+ --sc-home-columns: 8;
23
+ --sc-home-rows: 1;
24
+ --sc-home-gap: var(--sc-space-4);
25
+ --sc-home-cell: calc(
26
+ (100cqi - (var(--sc-home-columns) - 1) * var(--sc-home-gap)) /
27
+ var(--sc-home-columns)
28
+ );
29
+ --sc-home-step: calc(var(--sc-home-cell) + var(--sc-home-gap));
30
+ position: relative;
31
+ height: calc(var(--sc-home-rows) * var(--sc-home-step) - var(--sc-home-gap));
32
+ row-gap: var(--sc-home-gap);
33
+ margin: 0;
34
+ padding: 0;
35
+ list-style: none;
36
+ }
37
+
38
+ .sc-home-grid[data-columns="4"] {
39
+ --sc-home-gap: var(--sc-space-3);
40
+ }
41
+
42
+ .sc-tile {
43
+ container: sc-tile / size;
44
+ --sc-tile-x: 0;
45
+ --sc-tile-y: 0;
46
+ --sc-tile-w: 1;
47
+ --sc-tile-h: 1;
48
+ --sc-tile-left: 0px;
49
+ --sc-tile-top: 0px;
50
+ --sc-tile-wait: 0ms;
51
+ position: absolute;
52
+ top: 0;
53
+ left: 0;
54
+ width: calc(var(--sc-tile-w) * var(--sc-home-step) - var(--sc-home-gap));
55
+ height: calc(var(--sc-tile-h) * var(--sc-home-step) - var(--sc-home-gap));
56
+ /* The property of its own and not `transform`, which the `scale` of a tile in hand would multiply. */
57
+ translate: calc(var(--sc-tile-x) * var(--sc-home-step))
58
+ calc(var(--sc-tile-y) * var(--sc-home-step));
59
+ }
60
+
61
+ .sc-tile-pane {
62
+ width: 100%;
63
+ height: 100%;
64
+ border-radius: var(--sc-radius-xl);
65
+ transition:
66
+ border-color var(--sc-transition),
67
+ background var(--sc-transition),
68
+ box-shadow var(--sc-transition);
69
+ }
70
+
71
+ /* A project as an icon: its mark and its name in the middle of the cell, what waits in the corner.
72
+ The mark and the room around it follow the cell. What still does not fit stands whole or not at
73
+ all: its row goes to a second column, past the room the tile cuts off, so that no line of words
74
+ is ever cut across. */
75
+ .sc-tile-project {
76
+ --sc-tile-mark: clamp(1.75rem, 47cqh, 3.25rem);
77
+ display: flex;
78
+ flex-flow: column wrap;
79
+ gap: clamp(0.125rem, 4cqh, 0.5rem) var(--sc-space-7);
80
+ align-content: flex-start;
81
+ justify-content: center;
82
+ padding: clamp(0.25rem, 8cqh, 0.75rem);
83
+ overflow: hidden;
84
+ color: var(--sc-color-text);
85
+ text-align: center;
86
+ text-decoration: none;
87
+ }
88
+
89
+ .sc-tile-project > :not(.sc-tile-count) {
90
+ flex: none;
91
+ width: 100%;
92
+ }
93
+
94
+ .sc-tile-mark {
95
+ display: flex;
96
+ justify-content: center;
97
+ }
98
+
99
+ a.sc-tile-project:hover,
100
+ a.sc-tile-project:focus-visible,
101
+ a.sc-tile-glance:hover,
102
+ a.sc-tile-glance:focus-visible {
103
+ border-color: var(--sc-color-accent);
104
+ background: var(--sc-glass-surface-hover);
105
+ color: var(--sc-color-text);
106
+ box-shadow: var(--sc-glass-sheen), var(--sc-glass-lift), var(--sc-glow);
107
+ }
108
+
109
+ .sc-tile-project .sc-mark {
110
+ width: var(--sc-tile-mark);
111
+ height: var(--sc-tile-mark);
112
+ font-size: calc(var(--sc-tile-mark) * 0.42);
113
+ }
114
+
115
+ .sc-tile-name {
116
+ display: -webkit-box;
117
+ max-width: 100%;
118
+ overflow: hidden;
119
+ font-size: var(--sc-text-sm);
120
+ font-weight: var(--sc-weight-medium);
121
+ line-height: var(--sc-leading-snug);
122
+ overflow-wrap: anywhere;
123
+ -webkit-box-orient: vertical;
124
+ -webkit-line-clamp: 2;
125
+ }
126
+
127
+ /* What waits, in the corner: the count a tab shows, where it stands on a tile. */
128
+ .sc-tile-count {
129
+ position: absolute;
130
+ top: var(--sc-space-2);
131
+ right: var(--sc-space-2);
132
+ }
133
+
134
+ /* On a low cell the name keeps to one line, on the lowest in smaller words. */
135
+ @container sc-tile (height < 7.75rem) {
136
+ .sc-tile-project:not(.sc-tile-project-card) .sc-tile-name {
137
+ -webkit-line-clamp: 1;
138
+ }
139
+ }
140
+
141
+ @container sc-tile (height < 5.5rem) {
142
+ .sc-tile-project:not(.sc-tile-project-card) {
143
+ border-radius: var(--sc-radius-lg);
144
+ }
145
+
146
+ .sc-tile-project:not(.sc-tile-project-card) .sc-tile-name {
147
+ font-size: var(--sc-text-xs);
148
+ line-height: var(--sc-leading-tight);
149
+ }
150
+ }
151
+
152
+ /* A project as a card, read from the corner: its name, what it is at a glance, and as much of its
153
+ description as the card has room for, the rows lost from the last up. */
154
+ .sc-tile-project-card {
155
+ --sc-tile-mark: clamp(2.25rem, 22cqh, 3.25rem);
156
+ justify-content: flex-start;
157
+ padding: clamp(0.75rem, 8cqh, 1.25rem);
158
+ text-align: start;
159
+ }
160
+
161
+ .sc-tile-project-card .sc-tile-mark {
162
+ justify-content: flex-start;
163
+ }
164
+
165
+ .sc-tile-project-card .sc-tile-name {
166
+ font-size: var(--sc-text-lg);
167
+ font-weight: var(--sc-weight-bold);
168
+ }
169
+
170
+ .sc-tile-meta {
171
+ display: flex;
172
+ flex-wrap: wrap;
173
+ gap: var(--sc-space-1) var(--sc-space-2);
174
+ align-items: center;
175
+ }
176
+
177
+ .sc-tile-about {
178
+ display: -webkit-box;
179
+ overflow: hidden;
180
+ color: var(--sc-color-text-muted);
181
+ font-size: var(--sc-text-sm);
182
+ -webkit-box-orient: vertical;
183
+ -webkit-line-clamp: 3;
184
+ }
185
+
186
+ @container sc-tile (height < 15rem) {
187
+ .sc-tile-project-card .sc-tile-name {
188
+ -webkit-line-clamp: 1;
189
+ }
190
+
191
+ .sc-tile-about {
192
+ -webkit-line-clamp: 2;
193
+ }
194
+ }
195
+
196
+ @container sc-tile (height < 13rem) {
197
+ .sc-tile-about {
198
+ -webkit-line-clamp: 1;
199
+ }
200
+ }
201
+
202
+ /* A project at a glance (ADR-0105): its name and three figures at the head; under them, or beside
203
+ them on a wide tile, its tasks in progress and its goals ahead, each list under its label. A
204
+ hairline across the tile parts the head from the lists and the lists from each other, and one
205
+ inside a list parts its rows. The page keeps as many rows as the room holds, each whole, by the
206
+ heights the tile's style gives (--sc-glance-*, home.tsx), so that nothing is cut and no room is
207
+ left over. */
208
+ .sc-tile-glance {
209
+ --sc-glance-pad-x: clamp(1rem, 4cqw, 1.5rem);
210
+ --sc-glance-pad-y: clamp(0.875rem, 5cqh, 1.25rem);
211
+ display: flex;
212
+ flex-direction: column;
213
+ gap: var(--sc-space-3);
214
+ padding: var(--sc-glance-pad-y) var(--sc-glance-pad-x);
215
+ overflow: hidden;
216
+ color: var(--sc-color-text);
217
+ text-decoration: none;
218
+ }
219
+
220
+ .sc-glance-lead {
221
+ display: flex;
222
+ flex: none;
223
+ flex-wrap: wrap;
224
+ align-items: center;
225
+ justify-content: space-between;
226
+ gap: var(--sc-space-3) var(--sc-space-5);
227
+ min-width: 0;
228
+ }
229
+
230
+ .sc-glance-who {
231
+ display: flex;
232
+ flex: 1 1 11rem;
233
+ align-items: center;
234
+ gap: var(--sc-space-3);
235
+ min-width: 0;
236
+ }
237
+
238
+ .sc-glance-name {
239
+ display: grid;
240
+ gap: 0.125rem;
241
+ min-width: 0;
242
+ }
243
+
244
+ .sc-tile-glance .sc-tile-name {
245
+ display: block;
246
+ overflow: hidden;
247
+ font-size: var(--sc-text-lg);
248
+ font-weight: var(--sc-weight-bold);
249
+ text-overflow: ellipsis;
250
+ white-space: nowrap;
251
+ }
252
+
253
+ .sc-glance-key {
254
+ overflow: hidden;
255
+ text-overflow: ellipsis;
256
+ white-space: nowrap;
257
+ }
258
+
259
+ /* Three figures side by side, each over its name, the decisions waiting in the colour of a count. */
260
+ .sc-glance-facts {
261
+ display: grid;
262
+ flex: none;
263
+ grid-template-columns: repeat(3, auto);
264
+ gap: var(--sc-space-5);
265
+ margin: 0;
266
+ }
267
+
268
+ .sc-glance-fact {
269
+ display: grid;
270
+ gap: 0.125rem;
271
+ justify-items: start;
272
+ }
273
+
274
+ .sc-glance-fact dt {
275
+ color: var(--sc-color-text-faint);
276
+ font-size: var(--sc-text-xs);
277
+ white-space: nowrap;
278
+ }
279
+
280
+ .sc-glance-fact dd {
281
+ order: -1;
282
+ margin: 0;
283
+ font-size: var(--sc-text-xl);
284
+ font-weight: var(--sc-weight-bold);
285
+ font-feature-settings: var(--sc-numeric);
286
+ line-height: var(--sc-leading-tight);
287
+ }
288
+
289
+ .sc-glance-fact-waiting dd {
290
+ color: var(--sc-color-point);
291
+ }
292
+
293
+ /* The lists, one under the other, under a hairline across the tile; the line is there while a list is. */
294
+ .sc-glance-body {
295
+ display: flex;
296
+ flex: 1 1 0;
297
+ flex-direction: column;
298
+ min-height: 0;
299
+ margin-inline: calc(-1 * var(--sc-glance-pad-x));
300
+ padding: var(--sc-space-3) var(--sc-glance-pad-x) 0;
301
+ overflow: hidden;
302
+ border-top: var(--sc-hairline);
303
+ }
304
+
305
+ .sc-glance-body:empty {
306
+ border-top-color: transparent;
307
+ }
308
+
309
+ .sc-glance-section {
310
+ display: flex;
311
+ flex: none;
312
+ flex-direction: column;
313
+ min-width: 0;
314
+ }
315
+
316
+ .sc-glance-body > .sc-glance-section + .sc-glance-section,
317
+ .sc-glance-column > .sc-glance-section + .sc-glance-section {
318
+ margin: calc(var(--sc-glance-between) / 2) calc(-1 * var(--sc-glance-pad-x)) 0;
319
+ padding: calc(var(--sc-glance-between) / 2 - 1px) var(--sc-glance-pad-x) 0;
320
+ border-top: var(--sc-hairline);
321
+ }
322
+
323
+ .sc-glance-heading {
324
+ display: flex;
325
+ flex: none;
326
+ align-items: center;
327
+ height: var(--sc-glance-heading);
328
+ margin: 0;
329
+ }
330
+
331
+ .sc-glance-rows {
332
+ display: flex;
333
+ flex-direction: column;
334
+ margin: 0;
335
+ padding: 0;
336
+ list-style: none;
337
+ }
338
+
339
+ .sc-glance-row {
340
+ display: flex;
341
+ flex: none;
342
+ align-items: center;
343
+ gap: var(--sc-space-2);
344
+ height: var(--sc-glance-task);
345
+ min-width: 0;
346
+ font-size: var(--sc-text-sm);
347
+ }
348
+
349
+ .sc-glance-row + .sc-glance-row {
350
+ border-top: var(--sc-hairline);
351
+ }
352
+
353
+ .sc-glance-row-main {
354
+ flex: 1;
355
+ min-width: 0;
356
+ overflow: hidden;
357
+ text-overflow: ellipsis;
358
+ white-space: nowrap;
359
+ }
360
+
361
+ .sc-glance-none {
362
+ color: var(--sc-color-text-faint);
363
+ }
364
+
365
+ /* A goal in two lines: its title, its day and how many of its tasks are done, then its bar across. */
366
+ .sc-glance-goal {
367
+ flex-direction: column;
368
+ align-items: stretch;
369
+ justify-content: center;
370
+ gap: var(--sc-space-1);
371
+ height: var(--sc-glance-goal);
372
+ }
373
+
374
+ .sc-glance-goal-line {
375
+ display: flex;
376
+ align-items: baseline;
377
+ gap: var(--sc-space-3);
378
+ min-width: 0;
379
+ }
380
+
381
+ .sc-glance-figure,
382
+ .sc-glance-day {
383
+ flex: none;
384
+ color: var(--sc-color-text-muted);
385
+ font-size: var(--sc-text-xs);
386
+ font-feature-settings: var(--sc-numeric);
387
+ }
388
+
389
+ .sc-glance-day {
390
+ color: var(--sc-color-text-faint);
391
+ }
392
+
393
+ .sc-glance-more {
394
+ display: flex;
395
+ flex: none;
396
+ align-items: center;
397
+ height: var(--sc-glance-more);
398
+ margin: 0;
399
+ color: var(--sc-color-text-faint);
400
+ font-size: var(--sc-text-xs);
401
+ }
402
+
403
+ /* Wide: the head a column of its own, the name at the top and the figures at the foot, and each
404
+ list a column beside it, a hairline down between them. */
405
+ .sc-tile-glance-wide {
406
+ display: grid;
407
+ grid-template-columns: minmax(0, clamp(12rem, 24cqw, 16rem)) minmax(0, 1.3fr) minmax(0, 1fr);
408
+ gap: 0;
409
+ }
410
+
411
+ .sc-tile-glance-wide .sc-glance-lead {
412
+ flex-flow: column nowrap;
413
+ align-items: stretch;
414
+ justify-content: space-between;
415
+ padding-inline-end: var(--sc-glance-pad-x);
416
+ }
417
+
418
+ .sc-tile-glance-wide .sc-glance-who {
419
+ flex: none;
420
+ }
421
+
422
+ /* On a wide tile the head's column has room under the name: what the project is, as much as fits. */
423
+ .sc-glance-about {
424
+ flex: 0 1 auto;
425
+ min-height: 0;
426
+ margin-block: var(--sc-space-3) auto;
427
+ }
428
+
429
+ .sc-glance-column {
430
+ display: flex;
431
+ flex-direction: column;
432
+ min-width: 0;
433
+ min-height: 0;
434
+ padding-inline: var(--sc-glance-pad-x);
435
+ overflow: hidden;
436
+ border-inline-start: var(--sc-hairline);
437
+ }
438
+
439
+ /* A column with nothing in it, while the board is read or where none was given, draws no line
440
+ down an empty tile. */
441
+ .sc-glance-column:empty {
442
+ border-inline-start-color: transparent;
443
+ }
444
+
445
+ .sc-glance-column:last-child {
446
+ padding-inline-end: 0;
447
+ }
448
+
449
+ /* A widget: its name, and its frame filling the cells its size gives it. */
450
+ .sc-tile-widget {
451
+ display: grid;
452
+ grid-template-rows: auto minmax(0, 1fr);
453
+ padding: var(--sc-space-3) var(--sc-space-4);
454
+ overflow: hidden;
455
+ }
456
+
457
+ .sc-tile-title {
458
+ margin: 0 0 var(--sc-space-2);
459
+ overflow: hidden;
460
+ color: var(--sc-color-text-muted);
461
+ font-size: var(--sc-text-sm);
462
+ font-weight: var(--sc-weight-medium);
463
+ text-overflow: ellipsis;
464
+ white-space: nowrap;
465
+ }
466
+
467
+ .sc-tile-widget .sc-plugin-frame-box {
468
+ height: 100%;
469
+ min-height: 0;
470
+ }
471
+
472
+ /* While the page is arranged: the cells show as dots, every tile is a thing to take hold of, and
473
+ what is in a frame stays out of the pointer's way. The bar stays in reach, just under the header
474
+ and above the tiles that pass beneath it. */
475
+ .sc-home-bar {
476
+ position: sticky;
477
+ top: calc(var(--sc-header-height) + 2.75rem + var(--sc-space-3));
478
+ z-index: 2;
479
+ display: flex;
480
+ flex-wrap: wrap;
481
+ gap: var(--sc-space-2) var(--sc-space-4);
482
+ align-items: center;
483
+ justify-content: space-between;
484
+ margin-bottom: var(--sc-space-4);
485
+ padding: var(--sc-space-2) var(--sc-space-2) var(--sc-space-2) var(--sc-space-4);
486
+ border-radius: var(--sc-radius-lg);
487
+ }
488
+
489
+ .sc-home-hint {
490
+ margin: 0;
491
+ color: var(--sc-color-text-muted);
492
+ font-size: var(--sc-text-sm);
493
+ }
494
+
495
+ .sc-home-bar-actions {
496
+ display: flex;
497
+ gap: var(--sc-space-2);
498
+ align-items: center;
499
+ }
500
+
501
+ .sc-home-tray {
502
+ display: flex;
503
+ flex-wrap: wrap;
504
+ gap: var(--sc-space-2);
505
+ align-items: center;
506
+ margin-bottom: var(--sc-space-4);
507
+ }
508
+
509
+ .sc-home-add {
510
+ padding: var(--sc-space-1) var(--sc-space-3);
511
+ border: var(--sc-border);
512
+ border-radius: var(--sc-radius-full);
513
+ background: var(--sc-color-sheet);
514
+ color: var(--sc-color-text);
515
+ font: inherit;
516
+ font-size: var(--sc-text-sm);
517
+ cursor: pointer;
518
+ }
519
+
520
+ .sc-home-add:hover {
521
+ border-color: var(--sc-color-accent);
522
+ }
523
+
524
+ .sc-home-editing .sc-home-grid {
525
+ background-image: radial-gradient(circle, var(--sc-color-text-faint) 1px, transparent 1.5px);
526
+ background-position: calc(var(--sc-home-cell) / 2) calc(var(--sc-home-cell) / 2);
527
+ background-size: var(--sc-home-step) var(--sc-home-step);
528
+ }
529
+
530
+ /* A tile moves with a little give, overshooting its cell and settling on it, and those in the way
531
+ start one after another, each as the wait in its style says. One put down keeps its place above
532
+ the others until it has landed. */
533
+ .sc-home-editing .sc-tile {
534
+ z-index: 1;
535
+ cursor: grab;
536
+ transition:
537
+ translate 360ms cubic-bezier(0.25, 1.35, 0.4, 1) var(--sc-tile-wait),
538
+ scale 160ms ease-out,
539
+ z-index 0s linear 360ms;
540
+ user-select: none;
541
+ }
542
+
543
+ .sc-home-editing .sc-tile:focus-visible {
544
+ outline: var(--sc-focus-ring);
545
+ outline-offset: 2px;
546
+ }
547
+
548
+ .sc-home-editing .sc-tile:hover .sc-tile-pane {
549
+ border-color: var(--sc-color-accent);
550
+ }
551
+
552
+ .sc-home-editing .sc-plugin-frame {
553
+ pointer-events: none;
554
+ }
555
+
556
+ /* A finger resting on a tile is neither selecting its words nor asking for the page's menu. */
557
+ @media (pointer: coarse) {
558
+ .sc-home-editing .sc-tile {
559
+ -webkit-touch-callout: none;
560
+ }
561
+ }
562
+
563
+ /* The tile in hand: lifted off the page, and under the pointer with no delay. */
564
+ .sc-home-editing .sc-tile-held {
565
+ z-index: 10;
566
+ translate: var(--sc-tile-left) var(--sc-tile-top);
567
+ scale: 1.04;
568
+ transition: scale 160ms ease-out;
569
+ }
570
+
571
+ .sc-tile-held .sc-tile-pane {
572
+ box-shadow: var(--sc-glass-sheen), var(--sc-glass-lift), var(--sc-glow);
573
+ }
574
+
575
+ .sc-home-held,
576
+ .sc-home-held .sc-tile,
577
+ .sc-home-held .sc-tile * {
578
+ cursor: grabbing;
579
+ }
580
+
581
+ /* Where it would land: the tile itself, faint, on a pane of the accent's glass, beneath those on
582
+ their way out of it. */
583
+ .sc-home-editing .sc-tile-slot {
584
+ z-index: 0;
585
+ animation: sc-tile-slot-in 160ms ease-out;
586
+ pointer-events: none;
587
+ }
588
+
589
+ .sc-tile-slot .sc-tile-pane {
590
+ border-color: color-mix(in srgb, var(--sc-color-accent-solid) 45%, transparent);
591
+ background: color-mix(in srgb, var(--sc-color-accent-subtle) 50%, transparent);
592
+ box-shadow: none;
593
+ }
594
+
595
+ .sc-tile-slot .sc-tile-pane > * {
596
+ opacity: 0.4;
597
+ }
598
+
599
+ .sc-tile-slot .sc-tile-count {
600
+ display: none;
601
+ }
602
+
603
+ @keyframes sc-tile-slot-in {
604
+ from {
605
+ opacity: 0;
606
+ }
607
+ }
608
+
609
+ /* The ways on a tile while the page is arranged: off the page at its corner, the sizes across. */
610
+ .sc-tile-remove {
611
+ position: absolute;
612
+ top: calc(var(--sc-space-2) * -1);
613
+ left: calc(var(--sc-space-2) * -1);
614
+ z-index: 1;
615
+ display: inline-flex;
616
+ align-items: center;
617
+ justify-content: center;
618
+ width: 1.5rem;
619
+ height: 1.5rem;
620
+ padding: 0;
621
+ border: var(--sc-border);
622
+ border-radius: var(--sc-radius-full);
623
+ background: var(--sc-color-bg-raised);
624
+ color: var(--sc-color-text);
625
+ font-size: var(--sc-text-sm);
626
+ line-height: 1;
627
+ cursor: pointer;
628
+ }
629
+
630
+ .sc-tile-remove:hover {
631
+ border-color: var(--sc-color-accent);
632
+ }
633
+
634
+ /* The sizes stay within their tile, folding onto a second row where a cell is narrower than they
635
+ are, as a project's five are on an icon: what stands beside the tile, and its own way off the
636
+ page, stay in reach. */
637
+ .sc-tile-sizes {
638
+ position: absolute;
639
+ top: var(--sc-space-1);
640
+ right: var(--sc-space-1);
641
+ z-index: 1;
642
+ display: inline-flex;
643
+ flex-wrap: wrap;
644
+ justify-content: flex-end;
645
+ gap: 1px;
646
+ min-inline-size: 0;
647
+ max-width: calc(100% - var(--sc-space-1) * 2);
648
+ margin: 0;
649
+ padding: 1px;
650
+ border: var(--sc-border);
651
+ border-radius: var(--sc-radius-md);
652
+ background: var(--sc-color-bg-raised);
653
+ }
654
+
655
+ .sc-tile-size {
656
+ display: inline-flex;
657
+ align-items: center;
658
+ justify-content: center;
659
+ min-width: 1.5rem;
660
+ height: 1.5rem;
661
+ padding: 0 3px;
662
+ border: 0;
663
+ border-radius: var(--sc-radius-sm);
664
+ background: transparent;
665
+ color: var(--sc-color-text-muted);
666
+ cursor: pointer;
667
+ }
668
+
669
+ .sc-tile-size:hover {
670
+ background: var(--sc-color-bg-inset);
671
+ }
672
+
673
+ .sc-tile-size-on {
674
+ background: var(--sc-color-accent-subtle);
675
+ color: var(--sc-color-accent);
676
+ }
677
+
678
+ /* Under the sizes, a widget's name ends short of them; on small cells a project stands lower. */
679
+ .sc-home-editing .sc-tile-title {
680
+ padding-inline-end: 4.5rem;
681
+ }
682
+
683
+ .sc-home-editing .sc-home-grid[data-columns="4"] .sc-tile-size,
684
+ .sc-home-editing .sc-home-grid[data-columns="6"] .sc-tile-size {
685
+ min-width: 1.25rem;
686
+ height: 1.25rem;
687
+ padding: 0 2px;
688
+ }
689
+
690
+ .sc-home-editing .sc-home-grid[data-columns="4"] .sc-tile-project:not(.sc-tile-project-card),
691
+ .sc-home-editing .sc-home-grid[data-columns="6"] .sc-tile-project:not(.sc-tile-project-card) {
692
+ justify-content: flex-end;
693
+ }
694
+
695
+ /* A glance's figures stand where the sizes do: while the page is arranged, it starts under them. */
696
+ .sc-home-editing .sc-tile-glance {
697
+ padding-top: calc(var(--sc-glance-pad-y) + var(--sc-space-6));
698
+ }
699
+
700
+ /* The size's shape in small: the cells it takes, a few pixels each. */
701
+ .sc-tile-size-glyph {
702
+ display: block;
703
+ width: calc(var(--sc-tile-w) * 2px + 4px);
704
+ height: calc(var(--sc-tile-h) * 2px + 4px);
705
+ border: 1.5px solid currentcolor;
706
+ border-radius: 2px;
707
+ }
708
+
709
+ @media (prefers-reduced-motion: reduce) {
710
+ .sc-home-editing .sc-tile,
711
+ .sc-home-editing .sc-tile-held {
712
+ transition: none;
713
+ }
714
+
715
+ .sc-home-editing .sc-tile-slot {
716
+ animation: none;
717
+ }
718
+ }