@skillcdn/console 0.6.2 → 0.6.4

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 (253) hide show
  1. package/README.md +16 -9
  2. package/SKILLCDN.md +3 -2
  3. package/dist/agent-page.d.ts +2 -0
  4. package/dist/agent-page.d.ts.map +1 -1
  5. package/dist/agent-page.js +46 -5
  6. package/dist/agent-page.js.map +1 -1
  7. package/dist/agent-state.d.ts +9 -0
  8. package/dist/agent-state.d.ts.map +1 -0
  9. package/dist/agent-state.js +28 -0
  10. package/dist/agent-state.js.map +1 -0
  11. package/dist/api.d.ts +6 -4
  12. package/dist/api.d.ts.map +1 -1
  13. package/dist/api.js +6 -4
  14. package/dist/api.js.map +1 -1
  15. package/dist/cli/cli.d.ts +2 -0
  16. package/dist/cli/cli.d.ts.map +1 -1
  17. package/dist/cli/cli.js +948 -252
  18. package/dist/cli/cli.js.map +1 -1
  19. package/dist/cli/format.d.ts +44 -7
  20. package/dist/cli/format.d.ts.map +1 -1
  21. package/dist/cli/format.js +168 -13
  22. package/dist/cli/format.js.map +1 -1
  23. package/dist/cli/help.d.ts +82 -9
  24. package/dist/cli/help.d.ts.map +1 -1
  25. package/dist/cli/help.js +855 -331
  26. package/dist/cli/help.js.map +1 -1
  27. package/dist/cli/pack.d.ts +13 -12
  28. package/dist/cli/pack.d.ts.map +1 -1
  29. package/dist/cli/pack.js +33 -45
  30. package/dist/cli/pack.js.map +1 -1
  31. package/dist/cli/plugin-cli.d.ts.map +1 -1
  32. package/dist/cli/plugin-cli.js +8 -5
  33. package/dist/cli/plugin-cli.js.map +1 -1
  34. package/dist/cli/runner-files.d.ts +16 -0
  35. package/dist/cli/runner-files.d.ts.map +1 -0
  36. package/dist/cli/runner-files.js +125 -0
  37. package/dist/cli/runner-files.js.map +1 -0
  38. package/dist/cli/runner-host.d.ts +7 -0
  39. package/dist/cli/runner-host.d.ts.map +1 -1
  40. package/dist/cli/runner-host.js +40 -2
  41. package/dist/cli/runner-host.js.map +1 -1
  42. package/dist/cli/skill-path.d.ts +11 -0
  43. package/dist/cli/skill-path.d.ts.map +1 -0
  44. package/dist/cli/skill-path.js +44 -0
  45. package/dist/cli/skill-path.js.map +1 -0
  46. package/dist/client.d.ts +32 -1
  47. package/dist/client.d.ts.map +1 -1
  48. package/dist/client.js +15 -1
  49. package/dist/client.js.map +1 -1
  50. package/dist/components/agent-page.d.ts +93 -6
  51. package/dist/components/agent-page.d.ts.map +1 -1
  52. package/dist/components/agent-page.js +202 -10
  53. package/dist/components/agent-page.js.map +1 -1
  54. package/dist/components/agents.d.ts +6 -6
  55. package/dist/components/agents.d.ts.map +1 -1
  56. package/dist/components/agents.js +16 -9
  57. package/dist/components/agents.js.map +1 -1
  58. package/dist/components/people.d.ts.map +1 -1
  59. package/dist/components/people.js +7 -2
  60. package/dist/components/people.js.map +1 -1
  61. package/dist/components/picker.d.ts +16 -0
  62. package/dist/components/picker.d.ts.map +1 -1
  63. package/dist/components/picker.js +69 -4
  64. package/dist/components/picker.js.map +1 -1
  65. package/dist/console.css +40 -0
  66. package/dist/console.js +2 -2
  67. package/dist/console.js.map +1 -1
  68. package/dist/feed-words.d.ts.map +1 -1
  69. package/dist/feed-words.js +12 -1
  70. package/dist/feed-words.js.map +1 -1
  71. package/dist/i18n/en.d.ts +64 -6
  72. package/dist/i18n/en.d.ts.map +1 -1
  73. package/dist/i18n/en.js +59 -10
  74. package/dist/i18n/en.js.map +1 -1
  75. package/dist/i18n/ko.d.ts.map +1 -1
  76. package/dist/i18n/ko.js +49 -9
  77. package/dist/i18n/ko.js.map +1 -1
  78. package/dist/limits.d.ts +26 -0
  79. package/dist/limits.d.ts.map +1 -1
  80. package/dist/limits.js +26 -0
  81. package/dist/limits.js.map +1 -1
  82. package/dist/onboarding.d.ts +18 -6
  83. package/dist/onboarding.d.ts.map +1 -1
  84. package/dist/onboarding.js +42 -7
  85. package/dist/onboarding.js.map +1 -1
  86. package/dist/plugin/args.d.ts +24 -2
  87. package/dist/plugin/args.d.ts.map +1 -1
  88. package/dist/plugin/args.js +20 -2
  89. package/dist/plugin/args.js.map +1 -1
  90. package/dist/plugin/context.d.ts +39 -7
  91. package/dist/plugin/context.d.ts.map +1 -1
  92. package/dist/plugin/define.d.ts.map +1 -1
  93. package/dist/plugin/define.js +12 -3
  94. package/dist/plugin/define.js.map +1 -1
  95. package/dist/plugin/rest-schemas.d.ts +2 -0
  96. package/dist/plugin/rest-schemas.d.ts.map +1 -1
  97. package/dist/plugin/rest-schemas.js +1 -0
  98. package/dist/plugin/rest-schemas.js.map +1 -1
  99. package/dist/routes.d.ts +2 -0
  100. package/dist/routes.d.ts.map +1 -1
  101. package/dist/routes.js +2 -0
  102. package/dist/routes.js.map +1 -1
  103. package/dist/rules.d.ts +4 -1
  104. package/dist/rules.d.ts.map +1 -1
  105. package/dist/rules.js +5 -2
  106. package/dist/rules.js.map +1 -1
  107. package/dist/runner/acp.d.ts.map +1 -1
  108. package/dist/runner/acp.js +9 -3
  109. package/dist/runner/acp.js.map +1 -1
  110. package/dist/runner/claude.d.ts.map +1 -1
  111. package/dist/runner/claude.js +53 -1
  112. package/dist/runner/claude.js.map +1 -1
  113. package/dist/runner/codex.d.ts.map +1 -1
  114. package/dist/runner/codex.js +18 -3
  115. package/dist/runner/codex.js.map +1 -1
  116. package/dist/runner/config.d.ts +18 -0
  117. package/dist/runner/config.d.ts.map +1 -1
  118. package/dist/runner/config.js +77 -1
  119. package/dist/runner/config.js.map +1 -1
  120. package/dist/runner/desk.d.ts +7 -0
  121. package/dist/runner/desk.d.ts.map +1 -1
  122. package/dist/runner/desk.js +14 -4
  123. package/dist/runner/desk.js.map +1 -1
  124. package/dist/runner/message.d.ts +16 -22
  125. package/dist/runner/message.d.ts.map +1 -1
  126. package/dist/runner/message.js +72 -120
  127. package/dist/runner/message.js.map +1 -1
  128. package/dist/runner/runner.d.ts +41 -1
  129. package/dist/runner/runner.d.ts.map +1 -1
  130. package/dist/runner/runner.js +557 -23
  131. package/dist/runner/runner.js.map +1 -1
  132. package/dist/runner/slack-status.d.ts +19 -0
  133. package/dist/runner/slack-status.d.ts.map +1 -0
  134. package/dist/runner/slack-status.js +332 -0
  135. package/dist/runner/slack-status.js.map +1 -0
  136. package/dist/runner/slack.d.ts.map +1 -1
  137. package/dist/runner/slack.js +258 -59
  138. package/dist/runner/slack.js.map +1 -1
  139. package/dist/runner/types.d.ts +128 -15
  140. package/dist/runner/types.d.ts.map +1 -1
  141. package/dist/runner/types.js.map +1 -1
  142. package/dist/runner/usage.d.ts +6 -1
  143. package/dist/runner/usage.d.ts.map +1 -1
  144. package/dist/runner/usage.js +9 -2
  145. package/dist/runner/usage.js.map +1 -1
  146. package/dist/runner.d.ts +2 -2
  147. package/dist/runner.d.ts.map +1 -1
  148. package/dist/runner.js.map +1 -1
  149. package/dist/schemas.d.ts +635 -6
  150. package/dist/schemas.d.ts.map +1 -1
  151. package/dist/schemas.js +197 -15
  152. package/dist/schemas.js.map +1 -1
  153. package/dist/secret-file.d.ts +21 -0
  154. package/dist/secret-file.d.ts.map +1 -0
  155. package/dist/secret-file.js +59 -0
  156. package/dist/secret-file.js.map +1 -0
  157. package/dist/services.d.ts.map +1 -1
  158. package/dist/services.js +3 -2
  159. package/dist/services.js.map +1 -1
  160. package/dist/setup-guide.d.ts +2 -2
  161. package/dist/setup-guide.d.ts.map +1 -1
  162. package/dist/setup-guide.js +6 -5
  163. package/dist/setup-guide.js.map +1 -1
  164. package/dist/vocabulary.d.ts +17 -2
  165. package/dist/vocabulary.d.ts.map +1 -1
  166. package/dist/vocabulary.js +15 -2
  167. package/dist/vocabulary.js.map +1 -1
  168. package/dist/wake-text.d.ts +43 -0
  169. package/dist/wake-text.d.ts.map +1 -0
  170. package/dist/wake-text.js +115 -0
  171. package/dist/wake-text.js.map +1 -0
  172. package/docs/specs/cli.md +39 -25
  173. package/docs/specs/plugins.md +10 -9
  174. package/docs/specs/rest.md +34 -15
  175. package/docs/specs/runner.md +108 -25
  176. package/docs/start.md +28 -6
  177. package/package.json +3 -3
  178. package/skills/building-a-plugin/SKILL.md +2 -2
  179. package/skills/deploying-a-console/SKILL.md +3 -3
  180. package/skills/deploying-a-console/references/access.md +15 -1
  181. package/skills/deploying-a-console/references/resources.md +2 -2
  182. package/skills/deploying-a-console/scripts/github-app.mjs +593 -0
  183. package/skills/keeping-the-pack/SKILL.md +87 -0
  184. package/skills/planning-the-board/SKILL.md +6 -6
  185. package/skills/planning-the-board/references/a-task.md +1 -1
  186. package/skills/planning-the-board/references/setting-up.md +9 -5
  187. package/skills/running-an-agent/SKILL.md +21 -17
  188. package/skills/running-an-agent/references/preparing-the-machine.md +4 -3
  189. package/skills/running-an-agent/references/several-tasks.md +8 -2
  190. package/skills/running-an-agent/references/slack-app.md +31 -8
  191. package/skills/running-an-agent/references/the-account-and-the-invitation.md +1 -1
  192. package/skills/running-an-agent/references/what-was-not-seen-run-yet.md +3 -1
  193. package/skills/running-an-agent/references/when-the-agent-could-not-go-on.md +4 -4
  194. package/skills/running-an-agent/references/your-first-task.md +11 -5
  195. package/skills/trying-a-console/SKILL.md +136 -0
  196. package/skills/trying-a-console/references/when-it-does-not-go.md +30 -0
  197. package/skills/working-the-board/SKILL.md +6 -6
  198. package/skills/working-the-board/references/terms.md +3 -1
  199. package/skills/working-the-board/references/the-pack.md +14 -7
  200. package/skills/working-the-board/references/what-they-were-told.md +1 -1
  201. package/src/agent-page.tsx +111 -4
  202. package/src/agent-state.ts +33 -0
  203. package/src/api.ts +43 -0
  204. package/src/cli/cli.ts +1190 -313
  205. package/src/cli/format.ts +207 -13
  206. package/src/cli/help.ts +991 -372
  207. package/src/cli/pack.ts +55 -62
  208. package/src/cli/plugin-cli.ts +8 -5
  209. package/src/cli/runner-files.ts +137 -0
  210. package/src/cli/runner-host.ts +48 -2
  211. package/src/cli/skill-path.ts +51 -0
  212. package/src/client.ts +103 -0
  213. package/src/components/agent-page.tsx +446 -20
  214. package/src/components/agents.tsx +27 -28
  215. package/src/components/people.tsx +7 -3
  216. package/src/components/picker.tsx +79 -5
  217. package/src/console.tsx +1 -1
  218. package/src/feed-words.ts +14 -1
  219. package/src/i18n/en.ts +64 -11
  220. package/src/i18n/ko.ts +55 -9
  221. package/src/limits.ts +26 -0
  222. package/src/onboarding.ts +60 -21
  223. package/src/plugin/args.ts +29 -3
  224. package/src/plugin/context.ts +40 -7
  225. package/src/plugin/define.ts +18 -3
  226. package/src/plugin/rest-schemas.ts +3 -0
  227. package/src/routes.ts +2 -0
  228. package/src/rules.ts +5 -2
  229. package/src/runner/acp.ts +9 -3
  230. package/src/runner/claude.ts +58 -1
  231. package/src/runner/codex.ts +18 -3
  232. package/src/runner/config.ts +114 -1
  233. package/src/runner/desk.ts +15 -4
  234. package/src/runner/message.ts +88 -126
  235. package/src/runner/runner.ts +682 -27
  236. package/src/runner/slack-status.ts +423 -0
  237. package/src/runner/slack.ts +310 -67
  238. package/src/runner/types.ts +124 -13
  239. package/src/runner/usage.ts +16 -3
  240. package/src/runner.ts +4 -0
  241. package/src/schemas.ts +245 -13
  242. package/src/secret-file.ts +76 -0
  243. package/src/services.ts +3 -2
  244. package/src/setup-guide.ts +6 -5
  245. package/src/styles/README.md +1 -1
  246. package/src/styles/pages/agents.css +40 -0
  247. package/src/vocabulary.ts +21 -2
  248. package/src/wake-text.ts +133 -0
  249. package/dist/cli/command-words.d.ts +0 -20
  250. package/dist/cli/command-words.d.ts.map +0 -1
  251. package/dist/cli/command-words.js +0 -51
  252. package/dist/cli/command-words.js.map +0 -1
  253. package/src/cli/command-words.ts +0 -56
package/dist/schemas.d.ts CHANGED
@@ -342,6 +342,8 @@ export declare const restWorkspaceSchema: z.ZodMiniObject<{
342
342
  packToken: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
343
343
  setAt: z.ZodMiniISODateTime;
344
344
  }, z.core.$strip>>>;
345
+ keeperId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
346
+ roundAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
345
347
  }, z.core.$strip>;
346
348
  peopleVisibility: z.ZodMiniOptional<z.ZodMiniEnum<{
347
349
  everyone: "everyone";
@@ -374,6 +376,8 @@ export declare const restWorkspacePatchSchema: z.ZodMiniObject<{
374
376
  }>>>;
375
377
  handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
376
378
  domain: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
379
+ packKeeperId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
380
+ packRoundAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
377
381
  services: z.ZodMiniOptional<z.ZodMiniObject<{
378
382
  identity: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>>;
379
383
  git: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>>;
@@ -405,6 +409,8 @@ export declare const restMeSchema: z.ZodMiniObject<{
405
409
  packToken: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
406
410
  setAt: z.ZodMiniISODateTime;
407
411
  }, z.core.$strip>>>;
412
+ keeperId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
413
+ roundAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
408
414
  }, z.core.$strip>;
409
415
  peopleVisibility: z.ZodMiniOptional<z.ZodMiniEnum<{
410
416
  everyone: "everyone";
@@ -717,6 +723,7 @@ export declare const restRunnerHeartbeatInputSchema: z.ZodMiniObject<{
717
723
  near: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
718
724
  at: z.ZodMiniISODateTime;
719
725
  }, z.core.$strip>>>;
726
+ reasonAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
720
727
  }, z.core.$strip>;
721
728
  export type RestRunnerHeartbeatInput = z.infer<typeof restRunnerHeartbeatInputSchema>;
722
729
  /**
@@ -873,6 +880,7 @@ export declare const restAgentStateSchema: z.ZodMiniObject<{
873
880
  }>;
874
881
  reason: z.ZodMiniNullable<z.ZodMiniString<string>>;
875
882
  since: z.ZodMiniISODateTime;
883
+ reasonAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
876
884
  heardAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
877
885
  until: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
878
886
  }, z.core.$strip>;
@@ -1786,11 +1794,162 @@ export declare const restAgentSecretAccessesSchema: z.ZodMiniObject<{
1786
1794
  more: z.ZodMiniBoolean<boolean>;
1787
1795
  }, z.core.$strip>;
1788
1796
  export type RestAgentSecretAccesses = z.infer<typeof restAgentSecretAccessesSchema>;
1797
+ /**
1798
+ * What `POST /api/v1/agents/<handle>/secret-offers` is sent (ADR-0169): the name the offerer
1799
+ * proposes, the value, up to `MAX_AGENT_SECRET_BYTES` of UTF-8, what it is for in a line, and
1800
+ * optionally the day the value ends on.
1801
+ */
1802
+ export declare const restAgentSecretOfferInputSchema: z.ZodMiniObject<{
1803
+ name: z.ZodMiniString<string>;
1804
+ value: z.ZodMiniString<string>;
1805
+ note: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1806
+ expiresOn: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODate>>;
1807
+ }, z.core.$strip>;
1808
+ export type RestAgentSecretOfferInput = z.infer<typeof restAgentSecretOfferInputSchema>;
1809
+ /**
1810
+ * A secret offered to an agent account (ADR-0169), as its listing says it: never its value. The
1811
+ * name the offerer proposed, what they said it is for, who offered it and through which agent,
1812
+ * how it stands, until when it waits, and, once the account took it, the name it keeps it under.
1813
+ */
1814
+ export declare const restAgentSecretOfferSchema: z.ZodMiniObject<{
1815
+ id: z.ZodMiniUUID;
1816
+ name: z.ZodMiniString<string>;
1817
+ note: z.ZodMiniNullable<z.ZodMiniString<string>>;
1818
+ by: z.ZodMiniNullable<z.ZodMiniObject<{
1819
+ id: z.ZodMiniUUID;
1820
+ login: z.ZodMiniString<string>;
1821
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
1822
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
1823
+ role: z.ZodMiniEnum<{
1824
+ admin: "admin";
1825
+ member: "member";
1826
+ }>;
1827
+ status: z.ZodMiniEnum<{
1828
+ active: "active";
1829
+ deactivated: "deactivated";
1830
+ }>;
1831
+ source: z.ZodMiniEnum<{
1832
+ domain: "domain";
1833
+ listed: "listed";
1834
+ organization: "organization";
1835
+ }>;
1836
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1837
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1838
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1839
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1840
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1841
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
1842
+ agent: "agent";
1843
+ person: "person";
1844
+ }>>;
1845
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1846
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1847
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
1848
+ set: z.ZodMiniInt;
1849
+ palette: z.ZodMiniInt;
1850
+ ground: z.ZodMiniInt;
1851
+ form: z.ZodMiniInt;
1852
+ material: z.ZodMiniInt;
1853
+ accent: z.ZodMiniInt;
1854
+ vein: z.ZodMiniInt;
1855
+ }, z.core.$strip>>>;
1856
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
1857
+ }, z.core.$strip>>;
1858
+ agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
1859
+ expiresOn: z.ZodMiniNullable<z.ZodMiniISODate>;
1860
+ state: z.ZodMiniEnum<{
1861
+ lapsed: "lapsed";
1862
+ left: "left";
1863
+ taken: "taken";
1864
+ waiting: "waiting";
1865
+ }>;
1866
+ at: z.ZodMiniISODateTime;
1867
+ endsAt: z.ZodMiniISODateTime;
1868
+ decidedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1869
+ takenAs: z.ZodMiniNullable<z.ZodMiniString<string>>;
1870
+ }, z.core.$strip>;
1871
+ export type RestAgentSecretOffer = z.infer<typeof restAgentSecretOfferSchema>;
1872
+ /**
1873
+ * `GET /api/v1/agents/me/secret-offers`, the offers that wait for the account itself, and
1874
+ * `GET /api/v1/agents/<handle>/secret-offers`, the account's record of them for a supervisor,
1875
+ * the newest first.
1876
+ */
1877
+ export declare const restAgentSecretOffersSchema: z.ZodMiniObject<{
1878
+ items: z.ZodMiniArray<z.ZodMiniObject<{
1879
+ id: z.ZodMiniUUID;
1880
+ name: z.ZodMiniString<string>;
1881
+ note: z.ZodMiniNullable<z.ZodMiniString<string>>;
1882
+ by: z.ZodMiniNullable<z.ZodMiniObject<{
1883
+ id: z.ZodMiniUUID;
1884
+ login: z.ZodMiniString<string>;
1885
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
1886
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
1887
+ role: z.ZodMiniEnum<{
1888
+ admin: "admin";
1889
+ member: "member";
1890
+ }>;
1891
+ status: z.ZodMiniEnum<{
1892
+ active: "active";
1893
+ deactivated: "deactivated";
1894
+ }>;
1895
+ source: z.ZodMiniEnum<{
1896
+ domain: "domain";
1897
+ listed: "listed";
1898
+ organization: "organization";
1899
+ }>;
1900
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1901
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
1902
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1903
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1904
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1905
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
1906
+ agent: "agent";
1907
+ person: "person";
1908
+ }>>;
1909
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1910
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
1911
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
1912
+ set: z.ZodMiniInt;
1913
+ palette: z.ZodMiniInt;
1914
+ ground: z.ZodMiniInt;
1915
+ form: z.ZodMiniInt;
1916
+ material: z.ZodMiniInt;
1917
+ accent: z.ZodMiniInt;
1918
+ vein: z.ZodMiniInt;
1919
+ }, z.core.$strip>>>;
1920
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
1921
+ }, z.core.$strip>>;
1922
+ agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
1923
+ expiresOn: z.ZodMiniNullable<z.ZodMiniISODate>;
1924
+ state: z.ZodMiniEnum<{
1925
+ lapsed: "lapsed";
1926
+ left: "left";
1927
+ taken: "taken";
1928
+ waiting: "waiting";
1929
+ }>;
1930
+ at: z.ZodMiniISODateTime;
1931
+ endsAt: z.ZodMiniISODateTime;
1932
+ decidedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
1933
+ takenAs: z.ZodMiniNullable<z.ZodMiniString<string>>;
1934
+ }, z.core.$strip>>;
1935
+ }, z.core.$strip>;
1936
+ export type RestAgentSecretOffers = z.infer<typeof restAgentSecretOffersSchema>;
1937
+ /**
1938
+ * What `POST /api/v1/agents/me/secret-offers/<id>/take` is sent: the name to keep the value
1939
+ * under, where another than the one offered, and whether it takes the place of a secret the
1940
+ * account keeps under that name already.
1941
+ */
1942
+ export declare const restAgentSecretOfferTakeInputSchema: z.ZodMiniObject<{
1943
+ as: z.ZodMiniOptional<z.ZodMiniString<string>>;
1944
+ replace: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
1945
+ }, z.core.$strip>;
1946
+ export type RestAgentSecretOfferTakeInput = z.infer<typeof restAgentSecretOfferTakeInputSchema>;
1789
1947
  /**
1790
1948
  * `GET /api/v1/me/manager`: whom whoever asks reports to, a person or an agent account, `null`
1791
1949
  * for nobody; and the administrators of the workspace, who stand in where there is nobody, or
1792
- * the manager is out (ADR-0084). A manager is whom a member turns to first, not a rule of the
1793
- * board: a decision is addressed to whomever the asker names.
1950
+ * the manager is out (ADR-0084), whoever asks left out where they are one (ADR-0180). A manager
1951
+ * is whom a member turns to first, not a rule of the board: a decision is addressed to whomever
1952
+ * the asker names.
1794
1953
  */
1795
1954
  export declare const restManagerSchema: z.ZodMiniObject<{
1796
1955
  manager: z.ZodMiniNullable<z.ZodMiniObject<{
@@ -1875,6 +2034,438 @@ export declare const restManagerSchema: z.ZodMiniObject<{
1875
2034
  }, z.core.$strip>>;
1876
2035
  }, z.core.$strip>;
1877
2036
  export type RestManager = z.infer<typeof restManagerSchema>;
2037
+ /**
2038
+ * A note on the pack (ADR-0178): what a run showed a skill, or a page of the pack, to lack or to
2039
+ * say wrong, left by whoever met it for whoever keeps the pack; or, with no path, a job of a kind
2040
+ * that comes again for which the pack has no skill. Kept by the console and never in the pack,
2041
+ * which may be public. Who left it and through which agent, the project it was left from where
2042
+ * one was named, how it stands, and, once closed, what became of it and who said so.
2043
+ */
2044
+ export declare const restPackNoteSchema: z.ZodMiniObject<{
2045
+ id: z.ZodMiniUUID;
2046
+ pack: z.ZodMiniNullable<z.ZodMiniString<string>>;
2047
+ path: z.ZodMiniNullable<z.ZodMiniString<string>>;
2048
+ body: z.ZodMiniString<string>;
2049
+ state: z.ZodMiniEnum<{
2050
+ done: "done";
2051
+ dropped: "dropped";
2052
+ open: "open";
2053
+ }>;
2054
+ by: z.ZodMiniNullable<z.ZodMiniObject<{
2055
+ id: z.ZodMiniUUID;
2056
+ login: z.ZodMiniString<string>;
2057
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2058
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2059
+ role: z.ZodMiniEnum<{
2060
+ admin: "admin";
2061
+ member: "member";
2062
+ }>;
2063
+ status: z.ZodMiniEnum<{
2064
+ active: "active";
2065
+ deactivated: "deactivated";
2066
+ }>;
2067
+ source: z.ZodMiniEnum<{
2068
+ domain: "domain";
2069
+ listed: "listed";
2070
+ organization: "organization";
2071
+ }>;
2072
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2073
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2074
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2075
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2076
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2077
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
2078
+ agent: "agent";
2079
+ person: "person";
2080
+ }>>;
2081
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2082
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2083
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
2084
+ set: z.ZodMiniInt;
2085
+ palette: z.ZodMiniInt;
2086
+ ground: z.ZodMiniInt;
2087
+ form: z.ZodMiniInt;
2088
+ material: z.ZodMiniInt;
2089
+ accent: z.ZodMiniInt;
2090
+ vein: z.ZodMiniInt;
2091
+ }, z.core.$strip>>>;
2092
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2093
+ }, z.core.$strip>>;
2094
+ agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
2095
+ project: z.ZodMiniNullable<z.ZodMiniString<string>>;
2096
+ at: z.ZodMiniISODateTime;
2097
+ outcome: z.ZodMiniNullable<z.ZodMiniString<string>>;
2098
+ closedBy: z.ZodMiniNullable<z.ZodMiniObject<{
2099
+ id: z.ZodMiniUUID;
2100
+ login: z.ZodMiniString<string>;
2101
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2102
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2103
+ role: z.ZodMiniEnum<{
2104
+ admin: "admin";
2105
+ member: "member";
2106
+ }>;
2107
+ status: z.ZodMiniEnum<{
2108
+ active: "active";
2109
+ deactivated: "deactivated";
2110
+ }>;
2111
+ source: z.ZodMiniEnum<{
2112
+ domain: "domain";
2113
+ listed: "listed";
2114
+ organization: "organization";
2115
+ }>;
2116
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2117
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2118
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2119
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2120
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2121
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
2122
+ agent: "agent";
2123
+ person: "person";
2124
+ }>>;
2125
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2126
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2127
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
2128
+ set: z.ZodMiniInt;
2129
+ palette: z.ZodMiniInt;
2130
+ ground: z.ZodMiniInt;
2131
+ form: z.ZodMiniInt;
2132
+ material: z.ZodMiniInt;
2133
+ accent: z.ZodMiniInt;
2134
+ vein: z.ZodMiniInt;
2135
+ }, z.core.$strip>>>;
2136
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2137
+ }, z.core.$strip>>;
2138
+ closedAgent: z.ZodMiniNullable<z.ZodMiniString<string>>;
2139
+ closedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2140
+ }, z.core.$strip>;
2141
+ export type RestPackNote = z.infer<typeof restPackNoteSchema>;
2142
+ /**
2143
+ * `GET /api/v1/pack-notes`: a page of the notes the asker reads, the oldest first, everyone's
2144
+ * for whoever keeps the pack and for an administrator (`everyones`), their own for anyone else;
2145
+ * how many of all of them are open; whether a member keeps the pack (`kept`), and who, `null`
2146
+ * for nobody and for a keeper the asker may not see; and the hour of their round, `null` for
2147
+ * none.
2148
+ */
2149
+ export declare const restPackNotesSchema: z.ZodMiniObject<{
2150
+ items: z.ZodMiniArray<z.ZodMiniObject<{
2151
+ id: z.ZodMiniUUID;
2152
+ pack: z.ZodMiniNullable<z.ZodMiniString<string>>;
2153
+ path: z.ZodMiniNullable<z.ZodMiniString<string>>;
2154
+ body: z.ZodMiniString<string>;
2155
+ state: z.ZodMiniEnum<{
2156
+ done: "done";
2157
+ dropped: "dropped";
2158
+ open: "open";
2159
+ }>;
2160
+ by: z.ZodMiniNullable<z.ZodMiniObject<{
2161
+ id: z.ZodMiniUUID;
2162
+ login: z.ZodMiniString<string>;
2163
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2164
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2165
+ role: z.ZodMiniEnum<{
2166
+ admin: "admin";
2167
+ member: "member";
2168
+ }>;
2169
+ status: z.ZodMiniEnum<{
2170
+ active: "active";
2171
+ deactivated: "deactivated";
2172
+ }>;
2173
+ source: z.ZodMiniEnum<{
2174
+ domain: "domain";
2175
+ listed: "listed";
2176
+ organization: "organization";
2177
+ }>;
2178
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2179
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2180
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2181
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2182
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2183
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
2184
+ agent: "agent";
2185
+ person: "person";
2186
+ }>>;
2187
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2188
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2189
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
2190
+ set: z.ZodMiniInt;
2191
+ palette: z.ZodMiniInt;
2192
+ ground: z.ZodMiniInt;
2193
+ form: z.ZodMiniInt;
2194
+ material: z.ZodMiniInt;
2195
+ accent: z.ZodMiniInt;
2196
+ vein: z.ZodMiniInt;
2197
+ }, z.core.$strip>>>;
2198
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2199
+ }, z.core.$strip>>;
2200
+ agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
2201
+ project: z.ZodMiniNullable<z.ZodMiniString<string>>;
2202
+ at: z.ZodMiniISODateTime;
2203
+ outcome: z.ZodMiniNullable<z.ZodMiniString<string>>;
2204
+ closedBy: z.ZodMiniNullable<z.ZodMiniObject<{
2205
+ id: z.ZodMiniUUID;
2206
+ login: z.ZodMiniString<string>;
2207
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2208
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2209
+ role: z.ZodMiniEnum<{
2210
+ admin: "admin";
2211
+ member: "member";
2212
+ }>;
2213
+ status: z.ZodMiniEnum<{
2214
+ active: "active";
2215
+ deactivated: "deactivated";
2216
+ }>;
2217
+ source: z.ZodMiniEnum<{
2218
+ domain: "domain";
2219
+ listed: "listed";
2220
+ organization: "organization";
2221
+ }>;
2222
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2223
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2224
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2225
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2226
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2227
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
2228
+ agent: "agent";
2229
+ person: "person";
2230
+ }>>;
2231
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2232
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2233
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
2234
+ set: z.ZodMiniInt;
2235
+ palette: z.ZodMiniInt;
2236
+ ground: z.ZodMiniInt;
2237
+ form: z.ZodMiniInt;
2238
+ material: z.ZodMiniInt;
2239
+ accent: z.ZodMiniInt;
2240
+ vein: z.ZodMiniInt;
2241
+ }, z.core.$strip>>>;
2242
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2243
+ }, z.core.$strip>>;
2244
+ closedAgent: z.ZodMiniNullable<z.ZodMiniString<string>>;
2245
+ closedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2246
+ }, z.core.$strip>>;
2247
+ open: z.ZodMiniInt;
2248
+ everyones: z.ZodMiniBoolean<boolean>;
2249
+ kept: z.ZodMiniBoolean<boolean>;
2250
+ keeper: z.ZodMiniNullable<z.ZodMiniObject<{
2251
+ id: z.ZodMiniUUID;
2252
+ login: z.ZodMiniString<string>;
2253
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2254
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2255
+ role: z.ZodMiniEnum<{
2256
+ admin: "admin";
2257
+ member: "member";
2258
+ }>;
2259
+ status: z.ZodMiniEnum<{
2260
+ active: "active";
2261
+ deactivated: "deactivated";
2262
+ }>;
2263
+ source: z.ZodMiniEnum<{
2264
+ domain: "domain";
2265
+ listed: "listed";
2266
+ organization: "organization";
2267
+ }>;
2268
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2269
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2270
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2271
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2272
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2273
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
2274
+ agent: "agent";
2275
+ person: "person";
2276
+ }>>;
2277
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2278
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2279
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
2280
+ set: z.ZodMiniInt;
2281
+ palette: z.ZodMiniInt;
2282
+ ground: z.ZodMiniInt;
2283
+ form: z.ZodMiniInt;
2284
+ material: z.ZodMiniInt;
2285
+ accent: z.ZodMiniInt;
2286
+ vein: z.ZodMiniInt;
2287
+ }, z.core.$strip>>>;
2288
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2289
+ }, z.core.$strip>>;
2290
+ roundAt: z.ZodMiniNullable<z.ZodMiniString<string>>;
2291
+ }, z.core.$strip>;
2292
+ export type RestPackNotes = z.infer<typeof restPackNotesSchema>;
2293
+ /**
2294
+ * Whether a note may be on this path: a path of the pack from its root, as the pack's own
2295
+ * reads hold one (`parseRepoPath` of @skillcdn/core), with no slash at either end and no `.`
2296
+ * or `..` among its parts, or `.` alone, a pack that is one skill at its root. A note names
2297
+ * what it is on and reads nothing there, yet what is listed as a path is one.
2298
+ */
2299
+ export declare const isPackNotePath: (path: string) => boolean;
2300
+ /**
2301
+ * What `POST /api/v1/pack-notes` is sent: what the note says; the path of the skill or the page
2302
+ * it is on, left out or `null` for a job no skill fit; and the key of the project it is left
2303
+ * from, where the command names one, whose pack it is then on.
2304
+ */
2305
+ export declare const restPackNoteInputSchema: z.ZodMiniObject<{
2306
+ path: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2307
+ body: z.ZodMiniString<string>;
2308
+ project: z.ZodMiniOptional<z.ZodMiniString<string>>;
2309
+ }, z.core.$strip>;
2310
+ export type RestPackNoteInput = z.infer<typeof restPackNoteInputSchema>;
2311
+ /**
2312
+ * What leaving a note answers: the note, whether a member keeps the pack it waits for (`kept`),
2313
+ * and who, `null` for nobody and for a keeper the asker may not see.
2314
+ */
2315
+ export declare const restPackNoteLeftSchema: z.ZodMiniObject<{
2316
+ note: z.ZodMiniObject<{
2317
+ id: z.ZodMiniUUID;
2318
+ pack: z.ZodMiniNullable<z.ZodMiniString<string>>;
2319
+ path: z.ZodMiniNullable<z.ZodMiniString<string>>;
2320
+ body: z.ZodMiniString<string>;
2321
+ state: z.ZodMiniEnum<{
2322
+ done: "done";
2323
+ dropped: "dropped";
2324
+ open: "open";
2325
+ }>;
2326
+ by: z.ZodMiniNullable<z.ZodMiniObject<{
2327
+ id: z.ZodMiniUUID;
2328
+ login: z.ZodMiniString<string>;
2329
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2330
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2331
+ role: z.ZodMiniEnum<{
2332
+ admin: "admin";
2333
+ member: "member";
2334
+ }>;
2335
+ status: z.ZodMiniEnum<{
2336
+ active: "active";
2337
+ deactivated: "deactivated";
2338
+ }>;
2339
+ source: z.ZodMiniEnum<{
2340
+ domain: "domain";
2341
+ listed: "listed";
2342
+ organization: "organization";
2343
+ }>;
2344
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2345
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2346
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2347
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2348
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2349
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
2350
+ agent: "agent";
2351
+ person: "person";
2352
+ }>>;
2353
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2354
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2355
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
2356
+ set: z.ZodMiniInt;
2357
+ palette: z.ZodMiniInt;
2358
+ ground: z.ZodMiniInt;
2359
+ form: z.ZodMiniInt;
2360
+ material: z.ZodMiniInt;
2361
+ accent: z.ZodMiniInt;
2362
+ vein: z.ZodMiniInt;
2363
+ }, z.core.$strip>>>;
2364
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2365
+ }, z.core.$strip>>;
2366
+ agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
2367
+ project: z.ZodMiniNullable<z.ZodMiniString<string>>;
2368
+ at: z.ZodMiniISODateTime;
2369
+ outcome: z.ZodMiniNullable<z.ZodMiniString<string>>;
2370
+ closedBy: z.ZodMiniNullable<z.ZodMiniObject<{
2371
+ id: z.ZodMiniUUID;
2372
+ login: z.ZodMiniString<string>;
2373
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2374
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2375
+ role: z.ZodMiniEnum<{
2376
+ admin: "admin";
2377
+ member: "member";
2378
+ }>;
2379
+ status: z.ZodMiniEnum<{
2380
+ active: "active";
2381
+ deactivated: "deactivated";
2382
+ }>;
2383
+ source: z.ZodMiniEnum<{
2384
+ domain: "domain";
2385
+ listed: "listed";
2386
+ organization: "organization";
2387
+ }>;
2388
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2389
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2390
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2391
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2392
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2393
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
2394
+ agent: "agent";
2395
+ person: "person";
2396
+ }>>;
2397
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2398
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2399
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
2400
+ set: z.ZodMiniInt;
2401
+ palette: z.ZodMiniInt;
2402
+ ground: z.ZodMiniInt;
2403
+ form: z.ZodMiniInt;
2404
+ material: z.ZodMiniInt;
2405
+ accent: z.ZodMiniInt;
2406
+ vein: z.ZodMiniInt;
2407
+ }, z.core.$strip>>>;
2408
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2409
+ }, z.core.$strip>>;
2410
+ closedAgent: z.ZodMiniNullable<z.ZodMiniString<string>>;
2411
+ closedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2412
+ }, z.core.$strip>;
2413
+ kept: z.ZodMiniBoolean<boolean>;
2414
+ keeper: z.ZodMiniNullable<z.ZodMiniObject<{
2415
+ id: z.ZodMiniUUID;
2416
+ login: z.ZodMiniString<string>;
2417
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
2418
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
2419
+ role: z.ZodMiniEnum<{
2420
+ admin: "admin";
2421
+ member: "member";
2422
+ }>;
2423
+ status: z.ZodMiniEnum<{
2424
+ active: "active";
2425
+ deactivated: "deactivated";
2426
+ }>;
2427
+ source: z.ZodMiniEnum<{
2428
+ domain: "domain";
2429
+ listed: "listed";
2430
+ organization: "organization";
2431
+ }>;
2432
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2433
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
2434
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
2435
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2436
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2437
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
2438
+ agent: "agent";
2439
+ person: "person";
2440
+ }>>;
2441
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2442
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
2443
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
2444
+ set: z.ZodMiniInt;
2445
+ palette: z.ZodMiniInt;
2446
+ ground: z.ZodMiniInt;
2447
+ form: z.ZodMiniInt;
2448
+ material: z.ZodMiniInt;
2449
+ accent: z.ZodMiniInt;
2450
+ vein: z.ZodMiniInt;
2451
+ }, z.core.$strip>>>;
2452
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2453
+ }, z.core.$strip>>;
2454
+ }, z.core.$strip>;
2455
+ export type RestPackNoteLeft = z.infer<typeof restPackNoteLeftSchema>;
2456
+ /**
2457
+ * What `POST /api/v1/pack-notes/<id>/close` is sent: how the note ends, `done` where what it
2458
+ * asked for is in the pack or before a person as a proposal and `dropped` where nothing follows
2459
+ * from it, and what became of it, in a sentence or two.
2460
+ */
2461
+ export declare const restPackNoteCloseInputSchema: z.ZodMiniObject<{
2462
+ state: z.ZodMiniEnum<{
2463
+ done: "done";
2464
+ dropped: "dropped";
2465
+ }>;
2466
+ outcome: z.ZodMiniString<string>;
2467
+ }, z.core.$strip>;
2468
+ export type RestPackNoteCloseInput = z.infer<typeof restPackNoteCloseInputSchema>;
1878
2469
  /**
1879
2470
  * A persona proposed for an agent account (ADR-0084): the seed it was rolled from, a name in the
1880
2471
  * language asked for, the handle the name gives where nobody has it, and the parts of an avatar.
@@ -2054,6 +2645,7 @@ export declare const restAgentSchema: z.ZodMiniObject<{
2054
2645
  }>;
2055
2646
  reason: z.ZodMiniNullable<z.ZodMiniString<string>>;
2056
2647
  since: z.ZodMiniISODateTime;
2648
+ reasonAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
2057
2649
  heardAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2058
2650
  until: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
2059
2651
  }, z.core.$strip>>>;
@@ -2212,6 +2804,7 @@ export declare const restAgentsSchema: z.ZodMiniObject<{
2212
2804
  }>;
2213
2805
  reason: z.ZodMiniNullable<z.ZodMiniString<string>>;
2214
2806
  since: z.ZodMiniISODateTime;
2807
+ reasonAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
2215
2808
  heardAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
2216
2809
  until: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
2217
2810
  }, z.core.$strip>>>;
@@ -2280,8 +2873,9 @@ export type RestAgents = z.infer<typeof restAgentsSchema>;
2280
2873
  /**
2281
2874
  * What `POST /api/v1/agents` is sent, by an administrator: the account the agent will sign in
2282
2875
  * with, at one of the providers the deployment has, as a listing names one; its persona; its
2283
- * manager, whoever makes it where none is named; and the project it starts in. A login a member
2284
- * already carries is made an agent account only where `convert` asks for it, once (ADR-0104).
2876
+ * manager, whoever makes it where none is named. A login a member already carries is made an
2877
+ * agent account only where `convert` asks for it, once (ADR-0104). An account is made in no
2878
+ * project (ADR-0181): it is put in one later, as any member is.
2285
2879
  */
2286
2880
  export declare const restAgentInputSchema: z.ZodMiniObject<{
2287
2881
  host: z.ZodMiniEnum<{
@@ -2303,7 +2897,7 @@ export declare const restAgentInputSchema: z.ZodMiniObject<{
2303
2897
  vein: z.ZodMiniInt;
2304
2898
  }, z.core.$strip>>;
2305
2899
  managerId: z.ZodMiniOptional<z.ZodMiniUUID>;
2306
- project: z.ZodMiniString<string>;
2900
+ project: z.ZodMiniOptional<z.ZodMiniString<string>>;
2307
2901
  convert: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
2308
2902
  }, z.core.$strip>;
2309
2903
  export type RestAgentInput = z.infer<typeof restAgentInputSchema>;
@@ -8853,6 +9447,8 @@ export declare const restWorkspacePackConnectSchema: z.ZodMiniUnion<readonly [z.
8853
9447
  packToken: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
8854
9448
  setAt: z.ZodMiniISODateTime;
8855
9449
  }, z.core.$strip>>>;
9450
+ keeperId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
9451
+ roundAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
8856
9452
  }, z.core.$strip>;
8857
9453
  peopleVisibility: z.ZodMiniOptional<z.ZodMiniEnum<{
8858
9454
  everyone: "everyone";
@@ -9227,6 +9823,20 @@ export declare const restSkillFindSchema: z.ZodMiniObject<{
9227
9823
  source: z.ZodMiniNullable<z.ZodMiniString<string>>;
9228
9824
  }, z.core.$strip>>;
9229
9825
  describedOnly: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
9826
+ match: z.ZodMiniOptional<z.ZodMiniObject<{
9827
+ strength: z.ZodMiniOptional<z.ZodMiniEnum<{
9828
+ close: "close";
9829
+ loose: "loose";
9830
+ }>>;
9831
+ by: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniEnum<{
9832
+ meaning: "meaning";
9833
+ reranker: "reranker";
9834
+ words: "words";
9835
+ }>>>;
9836
+ words: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
9837
+ similarity: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
9838
+ relevance: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
9839
+ }, z.core.$strip>>;
9230
9840
  }, z.core.$strip>, z.ZodMiniObject<{
9231
9841
  kind: z.ZodMiniLiteral<"document">;
9232
9842
  path: z.ZodMiniString<string>;
@@ -9241,6 +9851,20 @@ export declare const restSkillFindSchema: z.ZodMiniObject<{
9241
9851
  }, z.core.$strip>>>;
9242
9852
  overview: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
9243
9853
  derived: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
9854
+ match: z.ZodMiniOptional<z.ZodMiniObject<{
9855
+ strength: z.ZodMiniOptional<z.ZodMiniEnum<{
9856
+ close: "close";
9857
+ loose: "loose";
9858
+ }>>;
9859
+ by: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniEnum<{
9860
+ meaning: "meaning";
9861
+ reranker: "reranker";
9862
+ words: "words";
9863
+ }>>>;
9864
+ words: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
9865
+ similarity: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
9866
+ relevance: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
9867
+ }, z.core.$strip>>;
9244
9868
  }, z.core.$strip>], "kind">>;
9245
9869
  diagnostics: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
9246
9870
  path: z.ZodMiniString<string>;
@@ -10284,7 +10908,12 @@ export declare const restCommentInputSchema: z.ZodMiniObject<{
10284
10908
  body: z.ZodMiniString<string>;
10285
10909
  }, z.core.$strip>;
10286
10910
  export type RestCommentInput = z.infer<typeof restCommentInputSchema>;
10287
- /** What `POST .../runs/<id>/artifacts` is sent: a link to what was made. */
10911
+ /**
10912
+ * What `POST .../runs/<id>/artifacts` is sent: a link to what was made. Over https; over plain
10913
+ * http the console takes an address of its own alone, which a console on one machine is served
10914
+ * at (`http://127.0.0.1:11199`), and refuses any other, so the schema lets both schemes through
10915
+ * and the console says which.
10916
+ */
10288
10917
  export declare const restArtifactInputSchema: z.ZodMiniObject<{
10289
10918
  url: z.ZodMiniString<string>;
10290
10919
  label: z.ZodMiniOptional<z.ZodMiniString<string>>;