@skillcdn/console 0.5.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/README.md +20 -2
  2. package/dist/agent-page.d.ts.map +1 -1
  3. package/dist/agent-page.js +4 -4
  4. package/dist/agent-page.js.map +1 -1
  5. package/dist/api.d.ts +5 -4
  6. package/dist/api.d.ts.map +1 -1
  7. package/dist/api.js +5 -4
  8. package/dist/api.js.map +1 -1
  9. package/dist/cli/cli.d.ts +32 -0
  10. package/dist/cli/cli.d.ts.map +1 -1
  11. package/dist/cli/cli.js +442 -93
  12. package/dist/cli/cli.js.map +1 -1
  13. package/dist/cli/format.d.ts +6 -2
  14. package/dist/cli/format.d.ts.map +1 -1
  15. package/dist/cli/format.js +25 -3
  16. package/dist/cli/format.js.map +1 -1
  17. package/dist/cli/help.d.ts.map +1 -1
  18. package/dist/cli/help.js +10 -5
  19. package/dist/cli/help.js.map +1 -1
  20. package/dist/cli/machine-check.d.ts +36 -0
  21. package/dist/cli/machine-check.d.ts.map +1 -0
  22. package/dist/cli/machine-check.js +151 -0
  23. package/dist/cli/machine-check.js.map +1 -0
  24. package/dist/cli/runner-host.d.ts +7 -0
  25. package/dist/cli/runner-host.d.ts.map +1 -1
  26. package/dist/cli/runner-host.js +2 -0
  27. package/dist/cli/runner-host.js.map +1 -1
  28. package/dist/cli/secret-notes.d.ts +8 -0
  29. package/dist/cli/secret-notes.d.ts.map +1 -0
  30. package/dist/cli/secret-notes.js +48 -0
  31. package/dist/cli/secret-notes.js.map +1 -0
  32. package/dist/client.d.ts +7 -1
  33. package/dist/client.d.ts.map +1 -1
  34. package/dist/client.js +6 -1
  35. package/dist/client.js.map +1 -1
  36. package/dist/components/agent-page.d.ts +106 -13
  37. package/dist/components/agent-page.d.ts.map +1 -1
  38. package/dist/components/agent-page.js +391 -102
  39. package/dist/components/agent-page.js.map +1 -1
  40. package/dist/components/agents.d.ts.map +1 -1
  41. package/dist/components/agents.js +1 -1
  42. package/dist/components/agents.js.map +1 -1
  43. package/dist/components/board.d.ts.map +1 -1
  44. package/dist/components/board.js +3 -2
  45. package/dist/components/board.js.map +1 -1
  46. package/dist/components/categories.js +1 -1
  47. package/dist/components/categories.js.map +1 -1
  48. package/dist/components/decision-list.d.ts.map +1 -1
  49. package/dist/components/decision-list.js +1 -1
  50. package/dist/components/decision-list.js.map +1 -1
  51. package/dist/components/event-feed.d.ts.map +1 -1
  52. package/dist/components/event-feed.js +3 -2
  53. package/dist/components/event-feed.js.map +1 -1
  54. package/dist/components/goals.d.ts +2 -0
  55. package/dist/components/goals.d.ts.map +1 -1
  56. package/dist/components/goals.js +1 -1
  57. package/dist/components/goals.js.map +1 -1
  58. package/dist/components/home.d.ts.map +1 -1
  59. package/dist/components/home.js +13 -15
  60. package/dist/components/home.js.map +1 -1
  61. package/dist/components/icon.d.ts +31 -0
  62. package/dist/components/icon.d.ts.map +1 -0
  63. package/dist/components/icon.js +169 -0
  64. package/dist/components/icon.js.map +1 -0
  65. package/dist/components/markdown.d.ts +6 -0
  66. package/dist/components/markdown.d.ts.map +1 -1
  67. package/dist/components/markdown.js +10 -2
  68. package/dist/components/markdown.js.map +1 -1
  69. package/dist/components/people.js +1 -1
  70. package/dist/components/people.js.map +1 -1
  71. package/dist/components/plugin-frame.d.ts.map +1 -1
  72. package/dist/components/plugin-frame.js +7 -0
  73. package/dist/components/plugin-frame.js.map +1 -1
  74. package/dist/components/projects.d.ts +17 -4
  75. package/dist/components/projects.d.ts.map +1 -1
  76. package/dist/components/projects.js +25 -6
  77. package/dist/components/projects.js.map +1 -1
  78. package/dist/components/sessions.d.ts.map +1 -1
  79. package/dist/components/sessions.js +3 -2
  80. package/dist/components/sessions.js.map +1 -1
  81. package/dist/components/setup.d.ts.map +1 -1
  82. package/dist/components/setup.js +2 -2
  83. package/dist/components/setup.js.map +1 -1
  84. package/dist/components/shell.d.ts.map +1 -1
  85. package/dist/components/shell.js +3 -2
  86. package/dist/components/shell.js.map +1 -1
  87. package/dist/components/tokens.js +1 -1
  88. package/dist/components/tokens.js.map +1 -1
  89. package/dist/components/ui.d.ts +5 -2
  90. package/dist/components/ui.d.ts.map +1 -1
  91. package/dist/components/ui.js +10 -7
  92. package/dist/components/ui.js.map +1 -1
  93. package/dist/connect-page.js +1 -1
  94. package/dist/connect-page.js.map +1 -1
  95. package/dist/console.css +473 -77
  96. package/dist/console.d.ts.map +1 -1
  97. package/dist/console.js +38 -31
  98. package/dist/console.js.map +1 -1
  99. package/dist/home-tiles.d.ts +24 -33
  100. package/dist/home-tiles.d.ts.map +1 -1
  101. package/dist/home-tiles.js +65 -259
  102. package/dist/home-tiles.js.map +1 -1
  103. package/dist/i18n/en.d.ts +49 -2
  104. package/dist/i18n/en.d.ts.map +1 -1
  105. package/dist/i18n/en.js +126 -3
  106. package/dist/i18n/en.js.map +1 -1
  107. package/dist/i18n/ko.d.ts.map +1 -1
  108. package/dist/i18n/ko.js +197 -79
  109. package/dist/i18n/ko.js.map +1 -1
  110. package/dist/i18n/particles.d.ts +7 -0
  111. package/dist/i18n/particles.d.ts.map +1 -0
  112. package/dist/i18n/particles.js +72 -0
  113. package/dist/i18n/particles.js.map +1 -0
  114. package/dist/icons/glyphs.d.ts +605 -0
  115. package/dist/icons/glyphs.d.ts.map +1 -0
  116. package/dist/icons/glyphs.js +104 -0
  117. package/dist/icons/glyphs.js.map +1 -0
  118. package/dist/icons/index.d.ts +59 -0
  119. package/dist/icons/index.d.ts.map +1 -0
  120. package/dist/icons/index.js +157 -0
  121. package/dist/icons/index.js.map +1 -0
  122. package/dist/index.d.ts +1 -0
  123. package/dist/index.d.ts.map +1 -1
  124. package/dist/index.js +1 -0
  125. package/dist/index.js.map +1 -1
  126. package/dist/limits.d.ts +9 -0
  127. package/dist/limits.d.ts.map +1 -1
  128. package/dist/limits.js +9 -0
  129. package/dist/limits.js.map +1 -1
  130. package/dist/marks.d.ts +9 -0
  131. package/dist/marks.d.ts.map +1 -1
  132. package/dist/marks.js +9 -0
  133. package/dist/marks.js.map +1 -1
  134. package/dist/onboarding.js +3 -3
  135. package/dist/onboarding.js.map +1 -1
  136. package/dist/plugin/manifest.d.ts.map +1 -1
  137. package/dist/plugin/manifest.js +3 -2
  138. package/dist/plugin/manifest.js.map +1 -1
  139. package/dist/plugin/web.d.ts +3 -0
  140. package/dist/plugin/web.d.ts.map +1 -1
  141. package/dist/plugin/web.js +5 -1
  142. package/dist/plugin/web.js.map +1 -1
  143. package/dist/runner/acp.d.ts.map +1 -1
  144. package/dist/runner/acp.js +2 -2
  145. package/dist/runner/acp.js.map +1 -1
  146. package/dist/runner/awake.d.ts +35 -0
  147. package/dist/runner/awake.d.ts.map +1 -0
  148. package/dist/runner/awake.js +95 -0
  149. package/dist/runner/awake.js.map +1 -0
  150. package/dist/runner/claude.d.ts.map +1 -1
  151. package/dist/runner/claude.js +19 -7
  152. package/dist/runner/claude.js.map +1 -1
  153. package/dist/runner/codex.d.ts.map +1 -1
  154. package/dist/runner/codex.js +2 -2
  155. package/dist/runner/codex.js.map +1 -1
  156. package/dist/runner/config.d.ts +5 -0
  157. package/dist/runner/config.d.ts.map +1 -1
  158. package/dist/runner/config.js +9 -0
  159. package/dist/runner/config.js.map +1 -1
  160. package/dist/runner/desk.d.ts.map +1 -1
  161. package/dist/runner/desk.js +5 -6
  162. package/dist/runner/desk.js.map +1 -1
  163. package/dist/runner/runner.d.ts +13 -2
  164. package/dist/runner/runner.d.ts.map +1 -1
  165. package/dist/runner/runner.js +141 -22
  166. package/dist/runner/runner.js.map +1 -1
  167. package/dist/runner/slack.d.ts.map +1 -1
  168. package/dist/runner/slack.js +10 -4
  169. package/dist/runner/slack.js.map +1 -1
  170. package/dist/runner/types.d.ts +15 -0
  171. package/dist/runner/types.d.ts.map +1 -1
  172. package/dist/runner/types.js +9 -0
  173. package/dist/runner/types.js.map +1 -1
  174. package/dist/schemas.d.ts +94 -1
  175. package/dist/schemas.d.ts.map +1 -1
  176. package/dist/schemas.js +81 -5
  177. package/dist/schemas.js.map +1 -1
  178. package/dist/services.d.ts.map +1 -1
  179. package/dist/services.js +9 -5
  180. package/dist/services.js.map +1 -1
  181. package/dist/setup-guide.d.ts +14 -3
  182. package/dist/setup-guide.d.ts.map +1 -1
  183. package/dist/setup-guide.js +41 -37
  184. package/dist/setup-guide.js.map +1 -1
  185. package/dist/tokens.d.ts.map +1 -1
  186. package/dist/tokens.js +5 -1
  187. package/dist/tokens.js.map +1 -1
  188. package/dist/vocabulary.d.ts +7 -0
  189. package/dist/vocabulary.d.ts.map +1 -1
  190. package/dist/vocabulary.js +6 -0
  191. package/dist/vocabulary.js.map +1 -1
  192. package/docs/specs/cli.md +10 -7
  193. package/docs/specs/plugins.md +18 -7
  194. package/docs/specs/rest.md +10 -8
  195. package/docs/specs/runner.md +26 -8
  196. package/package.json +7 -3
  197. package/skills/building-a-console/SKILL.md +2 -2
  198. package/skills/building-a-plugin/SKILL.md +3 -3
  199. package/skills/keeping-a-desk/SKILL.md +2 -2
  200. package/skills/running-an-agent/SKILL.md +47 -57
  201. package/skills/working-the-board/SKILL.md +5 -4
  202. package/skills/working-the-board/references/the-pack.md +1 -1
  203. package/src/agent-page.tsx +13 -1
  204. package/src/api.ts +32 -1
  205. package/src/cli/cli.ts +530 -106
  206. package/src/cli/format.ts +31 -3
  207. package/src/cli/help.ts +12 -4
  208. package/src/cli/machine-check.ts +223 -0
  209. package/src/cli/runner-host.ts +8 -0
  210. package/src/cli/secret-notes.ts +63 -0
  211. package/src/client.ts +23 -0
  212. package/src/components/agent-page.tsx +629 -112
  213. package/src/components/agents.tsx +9 -5
  214. package/src/components/board.tsx +3 -15
  215. package/src/components/categories.tsx +2 -2
  216. package/src/components/decision-list.tsx +11 -7
  217. package/src/components/event-feed.tsx +7 -2
  218. package/src/components/goals.tsx +33 -25
  219. package/src/components/home.tsx +29 -26
  220. package/src/components/icon.tsx +337 -0
  221. package/src/components/markdown.tsx +22 -2
  222. package/src/components/people.tsx +1 -1
  223. package/src/components/plugin-frame.tsx +7 -0
  224. package/src/components/projects.tsx +39 -5
  225. package/src/components/sessions.tsx +2 -13
  226. package/src/components/setup.tsx +2 -2
  227. package/src/components/shell.tsx +3 -20
  228. package/src/components/tokens.tsx +1 -1
  229. package/src/components/ui.tsx +16 -8
  230. package/src/connect-page.tsx +1 -1
  231. package/src/console.tsx +87 -53
  232. package/src/home-tiles.ts +76 -291
  233. package/src/i18n/en.ts +128 -3
  234. package/src/i18n/ko.ts +200 -79
  235. package/src/i18n/particles.ts +79 -0
  236. package/src/icons/glyphs.ts +112 -0
  237. package/src/icons/index.ts +195 -0
  238. package/src/index.ts +7 -0
  239. package/src/limits.ts +9 -0
  240. package/src/marks.ts +12 -0
  241. package/src/onboarding.ts +3 -3
  242. package/src/plugin/manifest.ts +3 -2
  243. package/src/plugin/web.ts +9 -2
  244. package/src/runner/acp.ts +2 -1
  245. package/src/runner/awake.ts +135 -0
  246. package/src/runner/claude.ts +19 -4
  247. package/src/runner/codex.ts +2 -1
  248. package/src/runner/config.ts +9 -0
  249. package/src/runner/desk.ts +5 -6
  250. package/src/runner/runner.ts +183 -23
  251. package/src/runner/slack.ts +10 -4
  252. package/src/runner/types.ts +20 -0
  253. package/src/schemas.ts +94 -3
  254. package/src/services.ts +9 -5
  255. package/src/setup-guide.ts +43 -38
  256. package/src/styles/README.md +5 -4
  257. package/src/styles/base.css +17 -0
  258. package/src/styles/console.css +1 -0
  259. package/src/styles/drawn-by-pages.json +1 -1
  260. package/src/styles/pages/agents.css +103 -1
  261. package/src/styles/pages/board.css +0 -10
  262. package/src/styles/pages/calendar.css +1 -1
  263. package/src/styles/pages/connect.css +0 -10
  264. package/src/styles/pages/decisions.css +3 -1
  265. package/src/styles/pages/feed.css +5 -2
  266. package/src/styles/pages/home.css +5 -0
  267. package/src/styles/pages/roadmap.css +2 -2
  268. package/src/styles/pages/settings.css +11 -0
  269. package/src/styles/pages/task.css +0 -20
  270. package/src/styles/pages/thread.css +1 -1
  271. package/src/styles/parts/calendar.css +1 -1
  272. package/src/styles/parts/callout.css +1 -0
  273. package/src/styles/parts/detail.css +22 -0
  274. package/src/styles/parts/empty.css +2 -0
  275. package/src/styles/parts/eyebrow.css +1 -1
  276. package/src/styles/parts/facts.css +1 -1
  277. package/src/styles/parts/figures.css +1 -1
  278. package/src/styles/parts/form.css +2 -1
  279. package/src/styles/parts/icon.css +191 -0
  280. package/src/styles/parts/input.css +14 -4
  281. package/src/styles/parts/mark.css +36 -0
  282. package/src/styles/parts/menu.css +1 -7
  283. package/src/styles/parts/page.css +1 -1
  284. package/src/styles/parts/panel.css +10 -0
  285. package/src/styles/parts/person.css +5 -2
  286. package/src/styles/parts/progress.css +5 -2
  287. package/src/styles/parts/rows.css +1 -0
  288. package/src/styles/parts/settings.css +5 -0
  289. package/src/styles/parts/stat.css +1 -1
  290. package/src/styles/tokens.css +22 -7
  291. package/src/tokens.ts +5 -1
  292. package/src/vocabulary.ts +9 -0
package/src/schemas.ts CHANGED
@@ -13,6 +13,7 @@ import {
13
13
  } from "@skillcdn/core";
14
14
  import * as z from "zod/mini";
15
15
  import { isDocumentPath } from "./documents.js";
16
+ import { isIconName } from "./icons/index.js";
16
17
  import {
17
18
  MAX_AGENT_ELSEWHERE,
18
19
  MAX_AGENT_LENGTH,
@@ -46,6 +47,7 @@ import {
46
47
  MAX_RULES_LENGTH,
47
48
  MAX_RUNNER_LINE_LENGTH,
48
49
  MAX_RUNNER_OFFERS,
50
+ MAX_RUNNER_SOURCES,
49
51
  MAX_SEAL_REASON_LENGTH,
50
52
  MAX_SECRET_LENGTH,
51
53
  MAX_SERVICE_PARAMETERS,
@@ -109,6 +111,7 @@ import {
109
111
  TASK_PRIORITIES,
110
112
  TASK_STATES,
111
113
  TRANSCRIPT_KINDS,
114
+ WAKE_SOURCE_STATES,
112
115
  WEEK_STARTS,
113
116
  } from "./vocabulary.js";
114
117
 
@@ -813,6 +816,17 @@ const runnerProduct = z.object({
813
816
  version: z.nullable(runnerLine),
814
817
  tried: z.boolean(),
815
818
  });
819
+ /** A wake source as its runner says it stands: by its module's name, since when, and why where it does not listen. */
820
+ const runnerSource = z.object({
821
+ name: z.string().check(z.regex(/^[a-z][a-z0-9-]{0,39}$/)),
822
+ state: z.enum(WAKE_SOURCE_STATES),
823
+ since: instant,
824
+ why: z.optional(runnerLine),
825
+ });
826
+ /** What an account's own wake to come is called: a short name of lowercase letters, digits and hyphens. */
827
+ const ownWakeKey = z.string().check(z.regex(/^[a-z0-9][a-z0-9-]{0,39}$/));
828
+ /** A signal by its number alone: what an answer names one by where the record holds the rest. */
829
+ const restSignalRef = z.object({ number: z.int().check(z.positive()) });
816
830
  /** What the product offers to choose from, and what the driver can do. */
817
831
  const runnerOffers = z.object({
818
832
  models: z.array(runnerChoice).check(z.maxLength(MAX_RUNNER_OFFERS)),
@@ -841,9 +855,44 @@ export const restRunnerHeartbeatInputSchema = z.object({
841
855
  offers: runnerOffers,
842
856
  /** What the open session runs with; `null` each where the product's own choice stands. */
843
857
  running: z.object({ model: z.nullable(runnerChoice), effort: z.nullable(runnerChoice) }),
858
+ /** The wake sources the runner keeps beside the console's own, and how each stands (ADR-0144); left out by a runner of before. */
859
+ sources: z.optional(z.array(runnerSource).check(z.maxLength(MAX_RUNNER_SOURCES))),
844
860
  });
845
861
  export type RestRunnerHeartbeatInput = z.infer<typeof restRunnerHeartbeatInputSchema>;
846
862
 
863
+ /**
864
+ * A wake an agent account raises for itself (ADR-0145), by its own command: now, or at a moment
865
+ * to come, under a name of which one stands at a time. Its words are the account's own.
866
+ */
867
+ export const restOwnWakeInputSchema = z.object({
868
+ text: z.optional(paragraphs(MAX_SIGNAL_LENGTH)),
869
+ /** When it is raised; left out, now. */
870
+ at: z.optional(instant),
871
+ /** What a wake to come is called: a second under the name takes the first one's place. */
872
+ key: z.optional(ownWakeKey),
873
+ });
874
+ export type RestOwnWakeInput = z.infer<typeof restOwnWakeInputSchema>;
875
+
876
+ /** A wake an agent account keeps for later: what it is called, when it is raised, and its words. */
877
+ export const restOwnWakeSchema = z.object({
878
+ key: z.string(),
879
+ at: instant,
880
+ text: z.string(),
881
+ createdAt: instant,
882
+ });
883
+ export type RestOwnWake = z.infer<typeof restOwnWakeSchema>;
884
+
885
+ /** What raising one answers: the signal, for one raised now; the wake kept, for one to come. */
886
+ export const restOwnWakeRaisedSchema = z.object({
887
+ signal: z.nullable(restSignalRef),
888
+ kept: z.nullable(restOwnWakeSchema),
889
+ });
890
+ export type RestOwnWakeRaised = z.infer<typeof restOwnWakeRaisedSchema>;
891
+
892
+ /** `GET /api/v1/agents/<handle>/wakes`: the wakes the account keeps for later, the soonest first. */
893
+ export const restOwnWakesSchema = z.object({ items: z.array(restOwnWakeSchema) });
894
+ export type RestOwnWakes = z.infer<typeof restOwnWakesSchema>;
895
+
847
896
  /** What the heartbeat is answered: where the account's record of signals stands, what its supervisors chose, and how the console has the agent. */
848
897
  export const restRunnerHeartbeatSchema = z.object({
849
898
  latest: z.int().check(z.gte(0)),
@@ -889,6 +938,21 @@ export const restAgentRunnerSchema = z.object({
889
938
  ),
890
939
  running: z.nullable(restAgentChoiceSchema),
891
940
  settings: restAgentChoiceSchema,
941
+ /**
942
+ * The wake sources its runner keeps beside the console's own, as it last said (ADR-0144);
943
+ * left out where the runner says none. The state is read as a word, so that one a newer
944
+ * runner says is shown as it came.
945
+ */
946
+ sources: z.optional(
947
+ z.array(
948
+ z.object({
949
+ name: z.string(),
950
+ state: z.string(),
951
+ since: instant,
952
+ why: z.optional(z.string()),
953
+ }),
954
+ ),
955
+ ),
892
956
  });
893
957
  export type RestAgentRunner = z.infer<typeof restAgentRunnerSchema>;
894
958
 
@@ -916,8 +980,17 @@ export const restSignalSchema = z.object({
916
980
  });
917
981
  export type RestSignal = z.infer<typeof restSignalSchema>;
918
982
 
919
- /** `GET /api/v1/agents/<handle>/signals?before=&limit=`: the record, the newest first, and whether there is more before. */
920
- export const restSignalsSchema = z.object({ items: z.array(restSignalSchema), more: z.boolean() });
983
+ /**
984
+ * `GET /api/v1/agents/<handle>/signals?before=&limit=`: the record, the newest first, and whether
985
+ * there is more before; and `delivered`, the number of the last signal delivered, every one
986
+ * before it too (ADR-0131), as the account's runner last said, `0` for none: a signal of the
987
+ * record is delivered where its number is no more than that. A console before 0.5.2 leaves it out.
988
+ */
989
+ export const restSignalsSchema = z.object({
990
+ items: z.array(restSignalSchema),
991
+ more: z.boolean(),
992
+ delivered: z.optional(z.int().check(z.gte(0))),
993
+ });
921
994
  export type RestSignals = z.infer<typeof restSignalsSchema>;
922
995
 
923
996
  /**
@@ -1440,6 +1513,14 @@ const projectSymbol = line(MAX_PROJECT_SYMBOL_LENGTH).check(
1440
1513
  z.refine((value) => !/\s/.test(value), "must have no space in it"),
1441
1514
  );
1442
1515
 
1516
+ /**
1517
+ * An icon of the pack by its name (ADR-0142), which a project's mark shows in its symbol's place:
1518
+ * a name of the pack this console was built with, and nothing else.
1519
+ */
1520
+ const projectGlyph = z
1521
+ .string()
1522
+ .check(z.refine((value) => isIconName(value), "must be the name of an icon of the pack"));
1523
+
1443
1524
  /** A project of the workspace, as the asker sees it: with what they are in it. */
1444
1525
  /** A project's own image for its mark: the hash it is kept by, which `projectIconPath` reads it with, and its kind. */
1445
1526
  export const restProjectIconSchema = z.object({
@@ -1472,7 +1553,12 @@ export const restProjectSchema = z.object({
1472
1553
  color: z.nullable(z.enum(COLOR_NAMES)),
1473
1554
  /** The project's mark, a letter or two or a symbol, or `null` for the first letter of its name. */
1474
1555
  symbol: z.nullable(z.string()),
1475
- /** The project's own image for its mark, shown in place of the symbol, or `null` for none. */
1556
+ /**
1557
+ * The icon of the pack the mark shows in the symbol's place (ADR-0142), by its name, or `null`
1558
+ * for none. Left out by a console older than it; a name the reader's pack lacks is read as none.
1559
+ */
1560
+ glyph: z.optional(z.nullable(z.string())),
1561
+ /** The project's own image for its mark, shown in place of the symbol and of the icon, or `null` for none. */
1476
1562
  icon: z.nullable(restProjectIconSchema),
1477
1563
  /** The pack token the project reads a private pack with (ADR-0028): when it was set, never the token; `null` for none. */
1478
1564
  packToken: z.nullable(z.object({ setAt: instant })),
@@ -1503,6 +1589,8 @@ export const restProjectInputSchema = z.object({
1503
1589
  /** Left out or `null`: a colour chosen from the key, and the first letter of the name. */
1504
1590
  color: z.optional(z.nullable(z.enum(COLOR_NAMES))),
1505
1591
  symbol: z.optional(z.nullable(projectSymbol)),
1592
+ /** Left out or `null`: no icon of the pack, and the mark is the symbol. */
1593
+ glyph: z.optional(z.nullable(projectGlyph)),
1506
1594
  });
1507
1595
  export type RestProjectInput = z.infer<typeof restProjectInputSchema>;
1508
1596
 
@@ -1514,6 +1602,7 @@ export const restProjectPatchSchema = z.object({
1514
1602
  skillsAddress: z.optional(z.nullable(skillsAddress)),
1515
1603
  color: z.optional(z.nullable(z.enum(COLOR_NAMES))),
1516
1604
  symbol: z.optional(z.nullable(projectSymbol)),
1605
+ glyph: z.optional(z.nullable(projectGlyph)),
1517
1606
  });
1518
1607
  export type RestProjectPatch = z.infer<typeof restProjectPatchSchema>;
1519
1608
 
@@ -1919,6 +2008,8 @@ const projectRef = z.object({
1919
2008
  name: z.string(),
1920
2009
  color: z.nullable(z.enum(COLOR_NAMES)),
1921
2010
  symbol: z.nullable(z.string()),
2011
+ /** The icon of the pack on the mark, as a project says it; left out by a console older than it. */
2012
+ glyph: z.optional(z.nullable(z.string())),
1922
2013
  icon: z.nullable(restProjectIconSchema),
1923
2014
  });
1924
2015
 
package/src/services.ts CHANGED
@@ -86,9 +86,13 @@ export function fillTemplate(template: string, names: ServiceNames): string | un
86
86
  const called = (account: string | undefined, otherwise: string): string =>
87
87
  account === undefined ? otherwise : `\`${account}\``;
88
88
 
89
- /** What a desk's item says last: the organization's pack may hold the skill for setting a desk up. */
89
+ /**
90
+ * What a desk's item says last: the desk's git is handed the token by the setup's own helper, so
91
+ * that the agent sets none up and no copy is kept by the machine; and the organization's pack
92
+ * may hold the skill for setting a desk up.
93
+ */
90
94
  const DESK_BY_THE_PACK =
91
- 'Where the organization\'s pack has a skill for setting a desk up, go by it: console skills --search "desk setup" --limit 5.';
95
+ "The desk's git takes git.token from your store by itself, so nothing is typed and no helper of the machine keeps a copy. Where the organization's pack has a skill for setting a desk up, go by it: console skills --search \"desk setup\" --limit 5.";
92
96
 
93
97
  /** What a service the account signs in to the console through says last: the sign-in is needed once, at the setup. */
94
98
  const SIGN_IN_AT_HAND =
@@ -265,12 +269,12 @@ const slack: ServiceProvider = {
265
269
  ],
266
270
  onboarding: ({ service, address }) => [
267
271
  {
268
- title: "Join the messenger and say who you are",
269
- body: `Accept the invitation to ${slackPlace(service)} ${address === undefined ? "where one has reached you" : `that came to \`${address}\`, the address you sign in with`}, set your name, your title and your picture (console agent <handle> --avatar <file> writes the file), and say in your profile that you are an agent.`,
272
+ title: "Join the messenger and set your profile",
273
+ body: `Accept the invitation to ${slackPlace(service)} ${address === undefined ? "where one has reached you" : `that came to \`${address}\`, the address you sign in with`}, and set your name, your title and your picture as any member does (console agent <handle> --avatar <file> writes the file).`,
270
274
  },
271
275
  {
272
276
  title: "Connect the messenger to your product, and be woken by it",
273
- body: "Add the messenger's own MCP server to your product, and make the app that wakes you from the manifest your skill carries; keep its tokens in your store.",
277
+ body: `Add the messenger's own MCP server to your product, and make the app that wakes you from the manifest your skill carries; keep its tokens in your store and add "slack" to "wake" in runner.json. The runner takes the change by itself once your turn is over: console agent <handle> then says the source is connected.`,
274
278
  },
275
279
  ],
276
280
  asks: ({ service, names, address }) => [
@@ -1,3 +1,4 @@
1
+ import { en } from "./i18n/en.js";
1
2
  import type { RestAgentSetup, RestWorkspace } from "./schemas.js";
2
3
  import {
3
4
  agentAddressOf,
@@ -10,12 +11,11 @@ import { type ProviderKey, SERVICE_ROLES, type ServiceRole } from "./vocabulary.
10
11
 
11
12
  // The guide an invitation's code opens (ADR-0088): what setting a machine up for one agent
12
13
  // account takes, written for that account and the services of its workspace, in the order it is
13
- // done and by whom. `console agent setup --code` prints it for the agent, and `/setup/<code>`
14
- // shows it to a person: one guide, made here from what the code opens, which is nothing secret.
15
- // It is written in English, as a skill is, for an agent to read as it is. Where the setup needs
16
- // something the agent does not have, the account it signs in with or what that account signs in
17
- // with, the guide has the agent ask the person at the machine for it, in words it can say as
18
- // they are, as the console's other skills have an agent ask (ADR-0094).
14
+ // done and by whom. `/setup/<code>` shows it whole to a person; `console agent setup --code`
15
+ // prints the part of whoever prepares the machine, a person or the session that was given the
16
+ // line, and no more (ADR-0140): the machine is given its least there, and everything after is
17
+ // the agent's own, in its own session. It is written in English, as a skill is, for an agent to
18
+ // read as it is, and says nothing secret.
19
19
 
20
20
  /** How the console's command gets onto a machine. */
21
21
  export const SETUP_INSTALL = "npm i -g @skillcdn/console";
@@ -27,12 +27,21 @@ export function setupCommandOf(origin: string, code: string): string {
27
27
 
28
28
  /**
29
29
  * The sentence said to the agent's product on its machine. It carries the command as written,
30
- * so that the product runs it and reads the guide from the command's own words.
30
+ * so that the product runs it and reads the guide from the command's own words. In English, as
31
+ * the guide is and as the command prints it; a page says it in the language of whoever reads
32
+ * it, from their pack, where this one is the English pack's.
31
33
  */
32
34
  export function setupSentenceOf(command: string): string {
33
- return `Run: ${command} (before it: ${SETUP_INSTALL}), then do what it prints`;
35
+ return en.agents.page.settings.machine.made.line(command, SETUP_INSTALL);
34
36
  }
35
37
 
38
+ /**
39
+ * What a product's browser tool needs, for the products whose tool the package knows: said to
40
+ * the agent where it is told to sign in at pages, and looked for by the setup on the machine.
41
+ */
42
+ export const BROWSER_TOOL_OF_A_PRODUCT =
43
+ 'For Claude Code that tool works in Google Chrome with the Claude in Chrome extension, and is turned on by "browser": "chrome" in runner.json.';
44
+
36
45
  /** Whose part of a setup something is (ADR-0088): whoever prepares the machine, the agent, its manager. */
37
46
  export type SetupRole = "operator" | "agent" | "manager";
38
47
 
@@ -175,42 +184,35 @@ export function setupGuideOf(setup: RestAgentSetup, code: string): SetupGuide {
175
184
  : []),
176
185
  {
177
186
  title: "An OS account of its own",
178
- body: "On the machine, make an OS account for the agent, apart from anyone else's. Whether it holds an administrator's rights is for whoever keeps the machine to say.",
187
+ body: "On a machine that stays on and awake, an OS account for the agent, apart from anyone else's. Whether it holds an administrator's rights is for whoever keeps the machine to say.",
179
188
  },
180
189
  {
181
- title: "Its product and the command",
182
- body: "In that OS account, install the agent's product (Claude Code, Codex or another) and sign it in with the agent's own subscription. Install Node.js 24 or later, and the console's command.",
183
- line: SETUP_INSTALL,
190
+ title: "Its product, signed in",
191
+ body: "In that OS account, the agent's product (Claude Code, Codex or another), signed in with the agent's own subscription. Whatever else the machine needs, the session that is given the line installs itself.",
184
192
  },
185
193
  {
186
194
  title: "The one line",
187
- body: "Open a session of the product there and say this to it, or run the command it names in a terminal yourself. You act as yourself in the console, and never sign in to it on the agent's machine.",
195
+ body: "Open a session of the product there and say this to it. You act as yourself in the console, and never sign in to it on the agent's machine.",
188
196
  line: setupSentenceOf(command),
189
197
  },
190
198
  ];
191
199
 
192
200
  const machine: SetupGuideStep[] = [
193
201
  {
194
- title: "Ask for the sign-in before you go on",
195
- body: `If you are the agent, say this to the person at the machine, in these words or your own, and wait for the answer: "I am setting this machine up as @${account.handle}. The console signs me in as \`${account.login}\` through ${provider}. Is that account there? If it is not, make it now, or tell me to where I may. When the browser opens, sign in as that account yourself, or give me what it signs in with, and I type it." Go on once the account is there. Never sign in as anyone else, and never make up a login: the console takes this one and no other. If nobody is at the machine, ask whom you were set up by, and stop here until they answer.`,
202
+ title: "What the machine needs",
203
+ body: "The command looks at the machine first and names everything that is missing at once: git, the product's command, the browser its browser tool works in. Install each yourself, without asking, and run the line again.",
196
204
  },
197
205
  {
198
- title: "The command asks to be signed in as the account",
199
- body: `After this guide the command goes on by itself, and waits. It opens an address in the machine's browser and prints it with a code: sign in there through ${provider} as \`${account.login}\`, check that the page shows the same code, and say that it is you. On a machine without a screen, open the address in any browser that is signed in as the account. If the page shows another member, sign out there first: nobody else's sign-in answers for the account, and the command gives up a sign-in that is not the account's. A password typed for the account here is the account's from then on: change it where the provider lets you, and keep the new one in your store once the command is signed in (\`console secret <name> --set\`).`,
206
+ title: "The sign-in",
207
+ body: `Then the command opens an address in the machine's browser, prints it with a code, and waits. Say to the person at the machine: "Sign in there through ${provider} as \`${account.login}\`, check that the page shows this code, and say that it is you." They sign in themselves, and no password is written in a chat: a secret the agent is to hold, they seed from their own machine (\`console agent secret ${account.handle} <name>\`). Nobody else's sign-in answers for the account; where the page shows another member, they sign out there first.`,
200
208
  },
201
209
  {
202
- title: "It makes the machine the agent's",
203
- body: "Signed in, it reads the account and the services, writes the desk in the OS account's home from the template, or clones it where the account pushed one before, writes the service that keeps the runner running and starts it, and says the machine and the OS account, which the account's page shows. It needs no administrator's rights, and writes over no file of a desk that is there.",
210
+ title: "What the command does then",
211
+ body: "It writes the desk in the OS account's home from the template, or clones it where the account pushed one before, writes the service that keeps the runner running, starts it, and waits until the agent's first session has begun. It needs no administrator's rights, and writes over no file of a desk that is there.",
204
212
  },
205
213
  {
206
- title: "Check who the command is",
207
- body: `It names @${account.handle}, and no person. From then on the invitation has done its work, and its code opens nothing.`,
208
- line: "console whoami",
209
- },
210
- {
211
- title: "When the services or the account change",
212
- body: "Run this in the desk: it writes what is missing there, writes the service again where it changed, and says the services as they are now.",
213
- line: "console agent setup --refresh",
214
+ title: "Then stop",
215
+ body: `That is the machine prepared. What comes after is the agent's own, done in its own session from its first task: its sign-ins at the services, its tokens, its desk's repository, its profile, its messenger. Do none of it for it. What you change on this machine afterwards, say to it: \`console agent wake me "<what changed>"\`.`,
214
216
  },
215
217
  ];
216
218
 
@@ -223,7 +225,7 @@ export function setupGuideOf(setup: RestAgentSetup, code: string): SetupGuide {
223
225
  const browser: SetupGuideStep[] = [
224
226
  {
225
227
  title: "Use the machine's own browser, and keep it",
226
- body: "Sign in at a service in the ordinary browser of your OS account, with a browser tool of your product that attaches to that browser. A sign-in stays there from one session to the next, as a person's does. A browser a tool starts anew each time keeps none, and a service takes it for a stranger each time and asks again.",
228
+ body: `Sign in at a service in the ordinary browser of your OS account, with a browser tool of your product that attaches to that browser. A sign-in stays there from one session to the next, as a person's does. A browser a tool starts anew each time keeps none, and a service takes it for a stranger each time and asks again. ${BROWSER_TOOL_OF_A_PRODUCT}`,
227
229
  },
228
230
  {
229
231
  title: "Where a sign-in wants a person",
@@ -231,7 +233,7 @@ export function setupGuideOf(setup: RestAgentSetup, code: string): SetupGuide {
231
233
  },
232
234
  {
233
235
  title: "Keep what you sign in with",
234
- body: "A password you chose or were handed goes into your store, with the day it ends where it has one: `console secret <service>.password --set --expires <day>`. Turn on a second step you can answer yourself where the service has one. `console secrets` lists what you keep, by name.",
236
+ body: "A password you chose or were handed goes into your store, with the day it ends where it has one: `console secret <service>.password --set --expires <day>`. Turn on a second step you can answer yourself where the service has one.",
235
237
  },
236
238
  ];
237
239
  const asked: SetupGuideStep[] = described.flatMap((one) =>
@@ -243,16 +245,15 @@ export function setupGuideOf(setup: RestAgentSetup, code: string): SetupGuide {
243
245
  key: "before",
244
246
  who: "operator",
245
247
  title: "Before the line",
246
- about:
247
- "For whoever prepares the machine: a person at its screen, or an agent that administers it.",
248
+ about: "For the person who has the machine prepared: what only a person does.",
248
249
  steps: before,
249
250
  },
250
251
  {
251
252
  key: "machine",
252
- who: "agent",
253
+ who: "operator",
253
254
  title: "On the machine",
254
255
  about:
255
- "For the agent, or whoever runs the command in its OS account. The account is entered through its own sign-in and through nothing else.",
256
+ "For the session that was given the line, or whoever runs the command in the agent's OS account. The account is entered through its own sign-in and through nothing else.",
256
257
  steps: machine,
257
258
  },
258
259
  ...(start.length === 0
@@ -263,7 +264,7 @@ export function setupGuideOf(setup: RestAgentSetup, code: string): SetupGuide {
263
264
  who: "agent" as const,
264
265
  title: "When the agent starts",
265
266
  about:
266
- "What the agent does itself, with its own sign-ins. What it signs in with it keeps in its store (console secret), never in a file or a message.",
267
+ "What the agent does itself, in its own session, as its first task says. What it signs in with it keeps in its store (console secret), never in a file or a message.",
267
268
  steps: start,
268
269
  },
269
270
  ]),
@@ -294,7 +295,6 @@ export function setupGuideOf(setup: RestAgentSetup, code: string): SetupGuide {
294
295
  about: [
295
296
  `This guide sets a machine up for the agent account ${called} of ${workspace.name}, whose console is at ${setup.console.url}. The account signs in there as \`${account.login}\` through ${provider}.`,
296
297
  `The code that opened this guide is an invitation and no credential: it says which account the setup is for, and gives nobody the account. It ends on its day, or when the account's command has signed in.`,
297
- "The skill running-an-agent, shipped with the console's command, says the whole of it for the three who have a part in it: whoever prepares the machine, the agent, and its manager.",
298
298
  ],
299
299
  expiresAt: setup.expiresAt,
300
300
  sections,
@@ -308,8 +308,12 @@ const WHO: Readonly<Record<SetupRole, string>> = {
308
308
  };
309
309
 
310
310
  /**
311
- * The guide as the command prints it: Markdown, every line to run on a line of its own. `moment`
312
- * says the invitation's day as the command says a moment; left out, as the API gives it.
311
+ * The guide as the command prints it (ADR-0140): Markdown, every line to run on a line of its
312
+ * own, and of its sections only those of whoever prepares the machine, since the command is run
313
+ * by them. What the agent does when it starts and what it asks for are the agent's first task,
314
+ * read by the agent in its own session: a session at the machine that read them took them for
315
+ * its own work. `moment` says the invitation's day as the command says a moment; left out, as
316
+ * the API gives it.
313
317
  */
314
318
  export function setupGuideText(
315
319
  guide: SetupGuide,
@@ -322,7 +326,8 @@ export function setupGuideText(
322
326
  `The invitation is good until ${moment(guide.expiresAt)}.`,
323
327
  "",
324
328
  ];
325
- for (const [index, section] of guide.sections.entries()) {
329
+ const own = guide.sections.filter((section) => section.who === "operator");
330
+ for (const [index, section] of own.entries()) {
326
331
  lines.push(`## ${index + 1}. ${section.title} (${WHO[section.who]})`, "", section.about, "");
327
332
  for (const step of section.steps) {
328
333
  lines.push(`- ${step.title}. ${step.body}`);
@@ -62,14 +62,15 @@ A part is a file under `parts/` and a row here, with the classes that are its ow
62
62
  | `avatar` | `sc-avatar*` | `Avatar` | A person's or an agent's picture, `xs` to `xl`. |
63
63
  | `person` | `sc-person*`, `sc-people*` | `PersonChip` | A person: by name in a line (`sc-person`), as a row of a list (`sc-person-row`), as a card with their facts (`sc-person-card`, `sc-person-facts`), cards in a grid (`sc-people`). |
64
64
  | `workers` | `sc-workers*`, `sc-worker*` | `Workers` | The people at work on one thing, as pictures side by side with a count of the rest. |
65
- | `mark` | `sc-mark*` | `ProjectMark` | A project's mark: its image, or its symbol on its colour; `sm`, `md`, `lg`. |
65
+ | `mark` | `sc-mark*` | `ProjectMark` | A project's mark: its image, or its symbol or an icon of the pack on its colour; `sm`, `md`, `lg`. |
66
+ | `icon` | `sc-icon*` | `Icon`, `IconPicker` | A glyph of the icon pack by its name ([ADR-0142](../../../../docs/adr/0142-the-console-has-one-icon-pack-drawn-on-one-grid-and-used-by-name.md)), in the colour of the text it stands in: `xs` a caret beside a word, `sm` in a line of text, `md` by itself, `lg` in an empty state or on a card. `sc-icon-picker` is the way to choose one: the field that shows the choice, and the pack under it, searched by words, in its groups (`sc-icon-grid` of `sc-icon-tile`s). An icon stands beside words or is given a label; it never replaces the words of a button a person has to understand. |
66
67
  | `eyebrow` | `sc-eyebrow*` | | The small capitals over a group. The one label of that kind. |
67
68
  | `progress` | `sc-progress*` | `ProgressBar` | How much of something is done and at work, as a bar with its count. |
68
69
  | `count` | `sc-column-count`, `sc-nav-count` | | A number beside a title or a tab. |
69
70
  | `text` | `sc-muted`, `sc-lead`, `sc-time`, `sc-loading`, `sc-project-key`, `sc-card-number`, `sc-feed-agent`, `sc-visually-hidden` | `Time`, `Day` | The tones of a line of text: quiet (`sc-muted`), the sentence under a title (`sc-lead`), a moment, a key or a number in the mono face, the agent a person acted through, and what only a screen reader is told. |
70
- | `prose` | `sc-prose*` | `Markdown` | What people and agents wrote, rendered: headings, lists, tables, code, pictures. |
71
+ | `prose` | `sc-prose*` | `Markdown` | What people and agents wrote, rendered: headings, lists, tables, code, pictures. What an agent said in a session is read by it too, with a picture named there left a link and never fetched (`picturesAsLinks`). |
71
72
  | `code` | `sc-code*`, `sc-copyable*` | `CopyButton` | A code or a command shown to be read or copied. |
72
- | `panel` | `sc-panel*` | | A pane of the page: every section of a page is one. |
73
+ | `panel` | `sc-panel*` | | A pane of the page: every section of a page is one. `-form` keeps a pane to the width a form is read at; `-form-lead` is a form that stands over a list, as wide as the list under it, with what it holds kept to a form's width. |
73
74
  | `page` | `sc-page*`, `sc-section*` | | A page's head (`sc-page-head` with its title, its lead and its actions) and a section's (`sc-section-head`, `sc-section-title`). |
74
75
  | `facts` | `sc-facts*` | | Facts as names and values: in a pane's column (`sc-facts`), bare (`sc-facts-plain`), on one line (`sc-facts-row`). |
75
76
  | `callout` | `sc-callout*` | `Callout` | A note that must be read: plain, a warning, a danger. |
@@ -78,7 +79,7 @@ A part is a file under `parts/` and a row here, with the classes that are its ow
78
79
  | `steps` | `sc-steps*`, `sc-step*` | | Steps done in order, each with its mark, the next one pointed out. |
79
80
  | `settings` | `sc-settings*` | | Settings as rows: a label, its control, a hint. |
80
81
  | `rows` | `sc-task-row*`, `sc-task-rows*` | `TaskList` | A list as rows, each a link with a title and what is said of it at the end. |
81
- | `detail` | `sc-task-header`, `sc-task-title`, `sc-task-badges`, `sc-task-actions`, `sc-task-main`, `sc-task-body`, `sc-task-aside`, `sc-task-section` | | A page about one thing: its head with the title, the badges and the actions, a main column and an aside. A task, a goal and a document are laid out by it. |
82
+ | `detail` | `sc-task-header`, `sc-task-heading`, `sc-task-parent`, `sc-task-title`, `sc-task-badges`, `sc-task-actions`, `sc-task-main`, `sc-task-body`, `sc-task-aside`, `sc-task-section` | | A page about one thing: its head with the title, the badges and the actions, a main column and an aside. A task, a goal and a document are laid out by it. |
82
83
  | `calendar` | `sc-calendar*` | `Calendar` | A month as a grid of days, with bars across days, dots, a legend and a head. |
83
84
  | `crumbs` | `sc-crumb*`, `sc-doc-crumbs*` | | The way down to where the page is, each step a link. |
84
85
  | `links` | `sc-link*` | | Links as a list, or one with what it leads to. |
@@ -26,6 +26,23 @@ body {
26
26
  line-height: var(--sc-leading-normal);
27
27
  -webkit-font-smoothing: antialiased;
28
28
  text-rendering: optimizeLegibility;
29
+ /* Where a line breaks: no word is left alone on a last line, in whatever holds a sentence. A
30
+ title's lines come out about one length instead, below and in the parts that are titles. */
31
+ text-wrap: pretty;
32
+ }
33
+
34
+ /* What is typed breaks where it is typed, so that a line already written does not move under
35
+ the caret; and what is written out as it was, a log or a block of code, is left as it was. */
36
+ input,
37
+ textarea,
38
+ pre,
39
+ [contenteditable="true"] {
40
+ text-wrap-style: auto;
41
+ }
42
+
43
+ /* A moment is read as one thing: a date or a time is never broken in two. */
44
+ time {
45
+ white-space: nowrap;
29
46
  }
30
47
 
31
48
  /* Korean breaks between any two syllables by default; keeping words whole reads much better. */
@@ -60,6 +60,7 @@
60
60
  @import "./parts/rows.css";
61
61
  @import "./parts/pager.css";
62
62
  @import "./parts/mark.css";
63
+ @import "./parts/icon.css";
63
64
  @import "./parts/progress.css";
64
65
  @import "./parts/toggle.css";
65
66
  @import "./parts/series.css";
@@ -228,7 +228,7 @@
228
228
  "sc-sign-in-stage",
229
229
  "sc-sign-in-title"
230
230
  ],
231
- "task": ["sc-subtasks", "sc-task-parent"],
231
+ "task": ["sc-subtasks"],
232
232
  "thread": [
233
233
  "sc-comment",
234
234
  "sc-comment sc-prose",
@@ -613,7 +613,7 @@
613
613
  }
614
614
 
615
615
  .sc-talk-said > .sc-time {
616
- flex-basis: 100%;
616
+ flex-basis: calc(100% - 1.5rem - var(--sc-space-3));
617
617
  margin-inline-start: calc(1.5rem + var(--sc-space-3));
618
618
  padding-top: 0;
619
619
  }
@@ -654,6 +654,20 @@
654
654
  white-space: nowrap;
655
655
  }
656
656
 
657
+ /* A badge in the row, whose step it is or how it ended, gives way where the row is narrow, after
658
+ the call's line has given all of its own: cut short, so that when it was done stays in the row. */
659
+ .sc-talk-tool-head > .sc-badge {
660
+ display: block;
661
+ flex: 0 1 auto;
662
+ min-width: 0;
663
+ overflow: hidden;
664
+ text-overflow: ellipsis;
665
+ }
666
+
667
+ .sc-talk-tool-head > .sc-talk-tool-line {
668
+ flex-shrink: 100000;
669
+ }
670
+
657
671
  .sc-talk-tool-head:focus-visible {
658
672
  outline: var(--sc-focus-ring);
659
673
  outline-offset: 2px;
@@ -703,6 +717,40 @@
703
717
  padding: var(--sc-space-1) var(--sc-space-3) var(--sc-space-3);
704
718
  }
705
719
 
720
+ /* A sub-agent's row: what it is called, how it stands and when on one line, and under them what
721
+ it is and how much it did. Opened, what it did stands inside it, the whole width of it. */
722
+ .sc-talk-agent-head {
723
+ flex-wrap: wrap;
724
+ align-items: baseline;
725
+ row-gap: 0.125rem;
726
+ }
727
+
728
+ /* A name is read whole where it fits in two lines, and cut after them. */
729
+ .sc-talk-agent-name {
730
+ display: -webkit-box;
731
+ flex: 1 1 0;
732
+ min-width: 0;
733
+ overflow: hidden;
734
+ overflow-wrap: anywhere;
735
+ -webkit-box-orient: vertical;
736
+ -webkit-line-clamp: 2;
737
+ line-clamp: 2;
738
+ }
739
+
740
+ .sc-talk-agent-head > .sc-talk-agent-facts {
741
+ display: flex;
742
+ flex: 1 0 100%;
743
+ flex-wrap: wrap;
744
+ align-items: baseline;
745
+ column-gap: var(--sc-space-2);
746
+ order: 1;
747
+ white-space: normal;
748
+ }
749
+
750
+ .sc-talk-steps > .sc-talk-step {
751
+ margin-inline-start: 0;
752
+ }
753
+
706
754
  .sc-talk-code {
707
755
  max-height: 24rem;
708
756
  padding: var(--sc-space-2) var(--sc-space-3);
@@ -850,6 +898,40 @@
850
898
  }
851
899
  }
852
900
 
901
+ /* The sub-agents at work, under the sign that the agent is: a line each, in from its picture,
902
+ the name first and what it is at after it, under the name where the row is narrow. */
903
+ .sc-talk-working-agents {
904
+ flex-wrap: wrap;
905
+ row-gap: var(--sc-space-1);
906
+ }
907
+
908
+ .sc-talk-agents {
909
+ display: grid;
910
+ flex: 1 0 100%;
911
+ grid-template-columns: minmax(0, 1fr);
912
+ gap: var(--sc-space-1);
913
+ max-width: 40rem;
914
+ margin: 0;
915
+ padding: 0 0 0 calc(1.5rem + var(--sc-space-3));
916
+ list-style: none;
917
+ }
918
+
919
+ .sc-talk-agents-row {
920
+ display: flex;
921
+ flex-wrap: wrap;
922
+ align-items: baseline;
923
+ column-gap: var(--sc-space-3);
924
+ min-width: 0;
925
+ }
926
+
927
+ .sc-talk-agents-row > .sc-talk-agent-name {
928
+ flex: 1 1 10rem;
929
+ }
930
+
931
+ .sc-talk-agents-facts {
932
+ flex: none;
933
+ }
934
+
853
935
  /* The pictures of an event: small, side by side, each opening large over the page. */
854
936
  .sc-talk-pictures {
855
937
  display: flex;
@@ -985,11 +1067,25 @@
985
1067
  grid-column: 1 / -1;
986
1068
  }
987
1069
 
1070
+ /* How it ended stands beside the first line of when, where when takes two. */
1071
+ .sc-agent-live-side .sc-agent-session {
1072
+ align-items: start;
1073
+ }
1074
+
1075
+ /* On a card: why the agent stands as it does, and under it since when. */
1076
+ .sc-agent-card-now {
1077
+ display: grid;
1078
+ }
1079
+
988
1080
  @media (max-width: 48rem) {
989
1081
  .sc-agent-sessions {
990
1082
  grid-template-columns: minmax(0, 1fr) auto;
991
1083
  }
992
1084
 
1085
+ .sc-agent-session {
1086
+ align-items: start;
1087
+ }
1088
+
993
1089
  .sc-agent-session-facts,
994
1090
  .sc-agent-session-count {
995
1091
  grid-column: 1 / -1;
@@ -1086,6 +1182,12 @@
1086
1182
  width: 100%;
1087
1183
  }
1088
1184
 
1185
+ @media (max-width: 40rem) {
1186
+ .sc-agent-persona .sc-field {
1187
+ flex-basis: 100%;
1188
+ }
1189
+ }
1190
+
1089
1191
  .sc-agent-settings .sc-agent-runner-facts {
1090
1192
  margin-bottom: var(--sc-space-4);
1091
1193
  padding-top: 0;
@@ -96,11 +96,6 @@
96
96
  color: var(--sc-color-text);
97
97
  }
98
98
 
99
- .sc-column-toggle svg {
100
- width: 1rem;
101
- height: 1rem;
102
- }
103
-
104
99
  /* A folded column is a strip: the way to open it on top, its name down its length, its count. */
105
100
  /* A folded column is its header alone, the height of a header and as wide as its name: the way
106
101
  to open it, the name and the count in a row, at the top of the board. */
@@ -286,11 +281,6 @@
286
281
  color var(--sc-transition);
287
282
  }
288
283
 
289
- .sc-card-menu-button svg {
290
- width: 1rem;
291
- height: 1rem;
292
- }
293
-
294
284
  /* Shown on the card under the pointer or with the focus, while the menu is open, and on the card
295
285
  in hand, which is the card as it was hovered: its menu's dots, and the room they take. */
296
286
  .sc-drag-ghost .sc-card-menu-button,