@skillcdn/console 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. package/README.md +68 -11
  2. package/SKILLCDN.md +3 -3
  3. package/dist/agent-page.d.ts.map +1 -1
  4. package/dist/agent-page.js +3 -2
  5. package/dist/agent-page.js.map +1 -1
  6. package/dist/api.d.ts +7 -6
  7. package/dist/api.d.ts.map +1 -1
  8. package/dist/api.js +6 -5
  9. package/dist/api.js.map +1 -1
  10. package/dist/charts.d.ts +103 -0
  11. package/dist/charts.d.ts.map +1 -0
  12. package/dist/charts.js +182 -0
  13. package/dist/charts.js.map +1 -0
  14. package/dist/cli/cli.d.ts +26 -2
  15. package/dist/cli/cli.d.ts.map +1 -1
  16. package/dist/cli/cli.js +1304 -383
  17. package/dist/cli/cli.js.map +1 -1
  18. package/dist/cli/command-words.d.ts +20 -0
  19. package/dist/cli/command-words.d.ts.map +1 -0
  20. package/dist/cli/command-words.js +51 -0
  21. package/dist/cli/command-words.js.map +1 -0
  22. package/dist/cli/credentials.d.ts +54 -5
  23. package/dist/cli/credentials.d.ts.map +1 -1
  24. package/dist/cli/credentials.js +126 -20
  25. package/dist/cli/credentials.js.map +1 -1
  26. package/dist/cli/directory.d.ts +19 -4
  27. package/dist/cli/directory.d.ts.map +1 -1
  28. package/dist/cli/directory.js +16 -8
  29. package/dist/cli/directory.js.map +1 -1
  30. package/dist/cli/format.d.ts +65 -8
  31. package/dist/cli/format.d.ts.map +1 -1
  32. package/dist/cli/format.js +242 -37
  33. package/dist/cli/format.js.map +1 -1
  34. package/dist/cli/help.d.ts +13 -4
  35. package/dist/cli/help.d.ts.map +1 -1
  36. package/dist/cli/help.js +92 -54
  37. package/dist/cli/help.js.map +1 -1
  38. package/dist/cli/main.js +76 -2
  39. package/dist/cli/main.js.map +1 -1
  40. package/dist/cli/pack.d.ts +69 -60
  41. package/dist/cli/pack.d.ts.map +1 -1
  42. package/dist/cli/pack.js +241 -270
  43. package/dist/cli/pack.js.map +1 -1
  44. package/dist/cli/plugin-check.d.ts +42 -0
  45. package/dist/cli/plugin-check.d.ts.map +1 -1
  46. package/dist/cli/plugin-check.js +221 -36
  47. package/dist/cli/plugin-check.js.map +1 -1
  48. package/dist/cli/plugin-cli.d.ts +6 -1
  49. package/dist/cli/plugin-cli.d.ts.map +1 -1
  50. package/dist/cli/plugin-cli.js +21 -4
  51. package/dist/cli/plugin-cli.js.map +1 -1
  52. package/dist/cli/plugin-main.js +1 -0
  53. package/dist/cli/plugin-main.js.map +1 -1
  54. package/dist/cli/serve.d.ts +33 -1
  55. package/dist/cli/serve.d.ts.map +1 -1
  56. package/dist/cli/serve.js +252 -3
  57. package/dist/cli/serve.js.map +1 -1
  58. package/dist/client.d.ts +48 -9
  59. package/dist/client.d.ts.map +1 -1
  60. package/dist/client.js +72 -80
  61. package/dist/client.js.map +1 -1
  62. package/dist/components/agent-page.d.ts +64 -1
  63. package/dist/components/agent-page.d.ts.map +1 -1
  64. package/dist/components/agent-page.js +244 -96
  65. package/dist/components/agent-page.js.map +1 -1
  66. package/dist/components/charts.d.ts +157 -0
  67. package/dist/components/charts.d.ts.map +1 -0
  68. package/dist/components/charts.js +182 -0
  69. package/dist/components/charts.js.map +1 -0
  70. package/dist/components/desk-records.d.ts +102 -0
  71. package/dist/components/desk-records.d.ts.map +1 -0
  72. package/dist/components/desk-records.js +221 -0
  73. package/dist/components/desk-records.js.map +1 -0
  74. package/dist/components/desk.d.ts +85 -0
  75. package/dist/components/desk.d.ts.map +1 -0
  76. package/dist/components/desk.js +135 -0
  77. package/dist/components/desk.js.map +1 -0
  78. package/dist/components/event-feed.d.ts.map +1 -1
  79. package/dist/components/event-feed.js +4 -1
  80. package/dist/components/event-feed.js.map +1 -1
  81. package/dist/components/home.d.ts.map +1 -1
  82. package/dist/components/home.js +4 -2
  83. package/dist/components/home.js.map +1 -1
  84. package/dist/components/plugin-settings.d.ts.map +1 -1
  85. package/dist/components/plugin-settings.js +54 -3
  86. package/dist/components/plugin-settings.js.map +1 -1
  87. package/dist/components/projects.d.ts.map +1 -1
  88. package/dist/components/projects.js +27 -7
  89. package/dist/components/projects.js.map +1 -1
  90. package/dist/components/rules.d.ts +8 -10
  91. package/dist/components/rules.d.ts.map +1 -1
  92. package/dist/components/rules.js +35 -13
  93. package/dist/components/rules.js.map +1 -1
  94. package/dist/components/setup.d.ts +9 -3
  95. package/dist/components/setup.d.ts.map +1 -1
  96. package/dist/components/setup.js +10 -4
  97. package/dist/components/setup.js.map +1 -1
  98. package/dist/console.css +677 -7
  99. package/dist/console.d.ts +5 -0
  100. package/dist/console.d.ts.map +1 -1
  101. package/dist/console.js +14 -8
  102. package/dist/console.js.map +1 -1
  103. package/dist/data.d.ts.map +1 -1
  104. package/dist/data.js +32 -33
  105. package/dist/data.js.map +1 -1
  106. package/dist/desk-page.d.ts +38 -0
  107. package/dist/desk-page.d.ts.map +1 -0
  108. package/dist/desk-page.js +184 -0
  109. package/dist/desk-page.js.map +1 -0
  110. package/dist/desk-records-page.d.ts +18 -0
  111. package/dist/desk-records-page.d.ts.map +1 -0
  112. package/dist/desk-records-page.js +130 -0
  113. package/dist/desk-records-page.js.map +1 -0
  114. package/dist/desk-records.d.ts +247 -0
  115. package/dist/desk-records.d.ts.map +1 -0
  116. package/dist/desk-records.js +543 -0
  117. package/dist/desk-records.js.map +1 -0
  118. package/dist/desk.d.ts +122 -0
  119. package/dist/desk.d.ts.map +1 -0
  120. package/dist/desk.js +211 -0
  121. package/dist/desk.js.map +1 -0
  122. package/dist/feed-stream.d.ts +39 -0
  123. package/dist/feed-stream.d.ts.map +1 -0
  124. package/dist/feed-stream.js +117 -0
  125. package/dist/feed-stream.js.map +1 -0
  126. package/dist/home-tiles.d.ts +10 -3
  127. package/dist/home-tiles.d.ts.map +1 -1
  128. package/dist/home-tiles.js +54 -31
  129. package/dist/home-tiles.js.map +1 -1
  130. package/dist/i18n/en.d.ts +180 -5
  131. package/dist/i18n/en.d.ts.map +1 -1
  132. package/dist/i18n/en.js +184 -7
  133. package/dist/i18n/en.js.map +1 -1
  134. package/dist/i18n/ko.d.ts.map +1 -1
  135. package/dist/i18n/ko.js +169 -6
  136. package/dist/i18n/ko.js.map +1 -1
  137. package/dist/index.d.ts +8 -0
  138. package/dist/index.d.ts.map +1 -1
  139. package/dist/index.js +8 -0
  140. package/dist/index.js.map +1 -1
  141. package/dist/limits.d.ts +11 -0
  142. package/dist/limits.d.ts.map +1 -1
  143. package/dist/limits.js +11 -0
  144. package/dist/limits.js.map +1 -1
  145. package/dist/onboarding.d.ts +6 -0
  146. package/dist/onboarding.d.ts.map +1 -1
  147. package/dist/onboarding.js +3 -3
  148. package/dist/onboarding.js.map +1 -1
  149. package/dist/plugin/context.d.ts +42 -11
  150. package/dist/plugin/context.d.ts.map +1 -1
  151. package/dist/plugin/limits.d.ts +2 -0
  152. package/dist/plugin/limits.d.ts.map +1 -1
  153. package/dist/plugin/limits.js +2 -0
  154. package/dist/plugin/limits.js.map +1 -1
  155. package/dist/plugin/manifest.d.ts +13 -0
  156. package/dist/plugin/manifest.d.ts.map +1 -1
  157. package/dist/plugin/manifest.js +30 -3
  158. package/dist/plugin/manifest.js.map +1 -1
  159. package/dist/plugin/rest-schemas.d.ts +55 -0
  160. package/dist/plugin/rest-schemas.d.ts.map +1 -1
  161. package/dist/plugin/rest-schemas.js +37 -0
  162. package/dist/plugin/rest-schemas.js.map +1 -1
  163. package/dist/plugin/sandbox.d.ts.map +1 -1
  164. package/dist/plugin/sandbox.js +4 -1
  165. package/dist/plugin/sandbox.js.map +1 -1
  166. package/dist/plugin/testing.d.ts +6 -2
  167. package/dist/plugin/testing.d.ts.map +1 -1
  168. package/dist/plugin/testing.js +52 -10
  169. package/dist/plugin/testing.js.map +1 -1
  170. package/dist/plugin.d.ts +1 -1
  171. package/dist/plugin.d.ts.map +1 -1
  172. package/dist/plugin.js +1 -1
  173. package/dist/plugin.js.map +1 -1
  174. package/dist/records.d.ts +283 -0
  175. package/dist/records.d.ts.map +1 -0
  176. package/dist/records.js +543 -0
  177. package/dist/records.js.map +1 -0
  178. package/dist/routes.d.ts +3 -1
  179. package/dist/routes.d.ts.map +1 -1
  180. package/dist/routes.js +3 -1
  181. package/dist/routes.js.map +1 -1
  182. package/dist/rules.d.ts +30 -11
  183. package/dist/rules.d.ts.map +1 -1
  184. package/dist/rules.js +98 -45
  185. package/dist/rules.js.map +1 -1
  186. package/dist/runner/acp.d.ts +1 -1
  187. package/dist/runner/acp.d.ts.map +1 -1
  188. package/dist/runner/acp.js +31 -20
  189. package/dist/runner/acp.js.map +1 -1
  190. package/dist/runner/claude.d.ts +1 -1
  191. package/dist/runner/claude.d.ts.map +1 -1
  192. package/dist/runner/claude.js +85 -15
  193. package/dist/runner/claude.js.map +1 -1
  194. package/dist/runner/codex.d.ts +1 -1
  195. package/dist/runner/codex.d.ts.map +1 -1
  196. package/dist/runner/codex.js +19 -16
  197. package/dist/runner/codex.js.map +1 -1
  198. package/dist/runner/desk.d.ts +43 -2
  199. package/dist/runner/desk.d.ts.map +1 -1
  200. package/dist/runner/desk.js +166 -10
  201. package/dist/runner/desk.js.map +1 -1
  202. package/dist/runner/process.d.ts.map +1 -1
  203. package/dist/runner/process.js +11 -4
  204. package/dist/runner/process.js.map +1 -1
  205. package/dist/runner/redact.d.ts +39 -4
  206. package/dist/runner/redact.d.ts.map +1 -1
  207. package/dist/runner/redact.js +81 -5
  208. package/dist/runner/redact.js.map +1 -1
  209. package/dist/runner/runner.d.ts +15 -1
  210. package/dist/runner/runner.d.ts.map +1 -1
  211. package/dist/runner/runner.js +231 -33
  212. package/dist/runner/runner.js.map +1 -1
  213. package/dist/runner/task-scheduler.d.ts +20 -0
  214. package/dist/runner/task-scheduler.d.ts.map +1 -1
  215. package/dist/runner/task-scheduler.js +34 -4
  216. package/dist/runner/task-scheduler.js.map +1 -1
  217. package/dist/runner/types.d.ts +36 -1
  218. package/dist/runner/types.d.ts.map +1 -1
  219. package/dist/runner/types.js +17 -0
  220. package/dist/runner/types.js.map +1 -1
  221. package/dist/runner.d.ts +6 -6
  222. package/dist/runner.d.ts.map +1 -1
  223. package/dist/runner.js +5 -5
  224. package/dist/runner.js.map +1 -1
  225. package/dist/schemas.d.ts +509 -5
  226. package/dist/schemas.d.ts.map +1 -1
  227. package/dist/schemas.js +76 -16
  228. package/dist/schemas.js.map +1 -1
  229. package/dist/services.d.ts +22 -5
  230. package/dist/services.d.ts.map +1 -1
  231. package/dist/services.js +35 -15
  232. package/dist/services.js.map +1 -1
  233. package/dist/setup-guide.d.ts +3 -1
  234. package/dist/setup-guide.d.ts.map +1 -1
  235. package/dist/setup-guide.js +7 -4
  236. package/dist/setup-guide.js.map +1 -1
  237. package/dist/vocabulary.d.ts +14 -3
  238. package/dist/vocabulary.d.ts.map +1 -1
  239. package/dist/vocabulary.js +13 -3
  240. package/dist/vocabulary.js.map +1 -1
  241. package/docs/specs/cli.md +64 -38
  242. package/docs/specs/plugins.md +27 -20
  243. package/docs/specs/records.md +113 -0
  244. package/docs/specs/rest.md +20 -13
  245. package/docs/specs/runner.md +23 -17
  246. package/package.json +7 -2
  247. package/skills/building-a-console/SKILL.md +4 -4
  248. package/skills/building-a-plugin/SKILL.md +6 -6
  249. package/skills/deploying-a-console/SKILL.md +4 -4
  250. package/skills/deploying-a-console/references/resources.md +41 -4
  251. package/skills/deploying-a-console/references/running-it-again.md +3 -2
  252. package/skills/keeping-a-desk/SKILL.md +133 -0
  253. package/skills/keeping-a-desk/collections.md +96 -0
  254. package/skills/planning-the-board/SKILL.md +14 -18
  255. package/skills/planning-the-board/references/a-task.md +2 -2
  256. package/skills/planning-the-board/references/project-rules.md +13 -14
  257. package/skills/planning-the-board/references/setting-up.md +15 -13
  258. package/skills/running-an-agent/SKILL.md +10 -9
  259. package/skills/working-the-board/SKILL.md +62 -44
  260. package/skills/working-the-board/references/terms.md +9 -5
  261. package/skills/working-the-board/references/the-pack.md +12 -10
  262. package/skills/working-the-board/references/the-sentence.md +2 -2
  263. package/src/agent-page.tsx +3 -1
  264. package/src/api.ts +77 -2
  265. package/src/charts.ts +250 -0
  266. package/src/cli/cli.ts +1698 -476
  267. package/src/cli/command-words.ts +56 -0
  268. package/src/cli/credentials.ts +181 -20
  269. package/src/cli/directory.ts +28 -10
  270. package/src/cli/format.ts +301 -46
  271. package/src/cli/help.ts +102 -54
  272. package/src/cli/main.ts +72 -2
  273. package/src/cli/pack.ts +333 -372
  274. package/src/cli/plugin-check.ts +275 -34
  275. package/src/cli/plugin-cli.ts +28 -4
  276. package/src/cli/plugin-main.ts +1 -0
  277. package/src/cli/serve.ts +295 -2
  278. package/src/client.ts +192 -177
  279. package/src/components/agent-page.tsx +489 -243
  280. package/src/components/charts.tsx +680 -0
  281. package/src/components/desk-records.tsx +724 -0
  282. package/src/components/desk.tsx +471 -0
  283. package/src/components/event-feed.tsx +5 -1
  284. package/src/components/home.tsx +12 -0
  285. package/src/components/plugin-settings.tsx +171 -12
  286. package/src/components/projects.tsx +29 -12
  287. package/src/components/rules.tsx +94 -34
  288. package/src/components/setup.tsx +18 -3
  289. package/src/console.tsx +17 -9
  290. package/src/data.ts +37 -34
  291. package/src/desk-page.tsx +332 -0
  292. package/src/desk-records-page.tsx +256 -0
  293. package/src/desk-records.ts +808 -0
  294. package/src/desk.ts +329 -0
  295. package/src/feed-stream.ts +144 -0
  296. package/src/home-tiles.ts +55 -35
  297. package/src/i18n/en.ts +196 -9
  298. package/src/i18n/ko.ts +178 -8
  299. package/src/index.ts +118 -0
  300. package/src/limits.ts +11 -0
  301. package/src/onboarding.ts +12 -4
  302. package/src/plugin/context.ts +55 -12
  303. package/src/plugin/limits.ts +2 -0
  304. package/src/plugin/manifest.ts +38 -2
  305. package/src/plugin/rest-schemas.ts +41 -0
  306. package/src/plugin/sandbox.ts +4 -1
  307. package/src/plugin/testing.ts +63 -12
  308. package/src/plugin.ts +2 -0
  309. package/src/records.ts +702 -0
  310. package/src/routes.ts +3 -1
  311. package/src/rules.ts +108 -47
  312. package/src/runner/acp.ts +47 -29
  313. package/src/runner/claude.ts +113 -23
  314. package/src/runner/codex.ts +35 -25
  315. package/src/runner/desk.ts +198 -12
  316. package/src/runner/process.ts +11 -4
  317. package/src/runner/redact.ts +92 -6
  318. package/src/runner/runner.ts +275 -34
  319. package/src/runner/task-scheduler.ts +36 -4
  320. package/src/runner/types.ts +47 -1
  321. package/src/runner.ts +27 -2
  322. package/src/schemas.ts +83 -15
  323. package/src/services.ts +49 -14
  324. package/src/setup-guide.ts +6 -2
  325. package/src/styles/README.md +11 -1
  326. package/src/styles/console.css +9 -0
  327. package/src/styles/pages/desk.css +126 -0
  328. package/src/styles/pages/documents.css +5 -0
  329. package/src/styles/parts/bars.css +80 -0
  330. package/src/styles/parts/chart.css +173 -0
  331. package/src/styles/parts/figures.css +65 -0
  332. package/src/styles/parts/legend.css +48 -0
  333. package/src/styles/parts/series.css +32 -0
  334. package/src/styles/parts/share.css +25 -0
  335. package/src/styles/parts/spark.css +23 -0
  336. package/src/styles/parts/stat.css +69 -0
  337. package/src/styles/tokens.css +13 -7
  338. package/src/vocabulary.ts +16 -3
  339. package/template/desk-web/README.md +8 -0
  340. package/template/desk-web/index.html +13 -0
  341. package/template/desk-web/package.json +25 -0
  342. package/template/desk-web/src/main.tsx +24 -0
  343. package/template/desk-web/src/page.tsx +51 -0
  344. package/template/desk-web/tsconfig.json +16 -0
  345. package/template/desk-web/vite.config.ts +15 -0
package/dist/schemas.d.ts CHANGED
@@ -384,7 +384,9 @@ export type RestWorkspacePatch = z.infer<typeof restWorkspacePatchSchema>;
384
384
  /**
385
385
  * `GET /api/v1/me`: the workspace, who the session cookie says is signed in (or `null`), the
386
386
  * language they chose (or `null`), and the identity providers people sign in through, none
387
- * where nobody can.
387
+ * where nobody can. Nobody signed in is told the workspace's name and its language alone: the
388
+ * most days of a token is `null` then, the skills' source is empty and their address `null`,
389
+ * and everything read as optional is left out.
388
390
  */
389
391
  export declare const restMeSchema: z.ZodMiniObject<{
390
392
  workspace: z.ZodMiniObject<{
@@ -1925,6 +1927,11 @@ export declare const restAgentSchema: z.ZodMiniObject<{
1925
1927
  project: z.ZodMiniString<string>;
1926
1928
  number: z.ZodMiniNumber<number>;
1927
1929
  }, z.core.$strip>>>;
1930
+ firstSignIn: z.ZodMiniOptional<z.ZodMiniEnum<{
1931
+ account: "account";
1932
+ login: "login";
1933
+ member: "member";
1934
+ }>>;
1928
1935
  }, z.core.$strip>;
1929
1936
  export type RestAgent = z.infer<typeof restAgentSchema>;
1930
1937
  /** `GET /api/v1/agents`: the agent accounts the asker may see, by handle. */
@@ -2064,6 +2071,11 @@ export declare const restAgentsSchema: z.ZodMiniObject<{
2064
2071
  project: z.ZodMiniString<string>;
2065
2072
  number: z.ZodMiniNumber<number>;
2066
2073
  }, z.core.$strip>>>;
2074
+ firstSignIn: z.ZodMiniOptional<z.ZodMiniEnum<{
2075
+ account: "account";
2076
+ login: "login";
2077
+ member: "member";
2078
+ }>>;
2067
2079
  }, z.core.$strip>>;
2068
2080
  }, z.core.$strip>;
2069
2081
  export type RestAgents = z.infer<typeof restAgentsSchema>;
@@ -5313,6 +5325,146 @@ export declare const restTaskBriefSchema: z.ZodMiniObject<{
5313
5325
  updatedAt: z.ZodMiniISODateTime;
5314
5326
  }, z.core.$strip>;
5315
5327
  export type RestTaskBrief = z.infer<typeof restTaskBriefSchema>;
5328
+ /**
5329
+ * `GET /api/v1/projects/<key>/tasks?brief=true`: a page of the board as `.../tasks` answers it,
5330
+ * the tasks without their bodies, for whatever lists tasks and shows no body: a listing of
5331
+ * the command, a desk's pages. A console from before the brief form answers the tasks whole,
5332
+ * which reads the same.
5333
+ */
5334
+ export declare const restTaskBriefsSchema: z.ZodMiniObject<{
5335
+ items: z.ZodMiniArray<z.ZodMiniObject<{
5336
+ id: z.ZodMiniUUID;
5337
+ number: z.ZodMiniInt;
5338
+ title: z.ZodMiniString<string>;
5339
+ state: z.ZodMiniEnum<{
5340
+ done: "done";
5341
+ dropped: "dropped";
5342
+ idea: "idea";
5343
+ in_progress: "in_progress";
5344
+ in_review: "in_review";
5345
+ ready: "ready";
5346
+ }>;
5347
+ priority: z.ZodMiniEnum<{
5348
+ high: "high";
5349
+ low: "low";
5350
+ normal: "normal";
5351
+ urgent: "urgent";
5352
+ }>;
5353
+ owner: z.ZodMiniObject<{
5354
+ id: z.ZodMiniUUID;
5355
+ login: z.ZodMiniString<string>;
5356
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
5357
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
5358
+ role: z.ZodMiniEnum<{
5359
+ admin: "admin";
5360
+ member: "member";
5361
+ }>;
5362
+ status: z.ZodMiniEnum<{
5363
+ active: "active";
5364
+ deactivated: "deactivated";
5365
+ }>;
5366
+ source: z.ZodMiniEnum<{
5367
+ domain: "domain";
5368
+ listed: "listed";
5369
+ organization: "organization";
5370
+ }>;
5371
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
5372
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
5373
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
5374
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
5375
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
5376
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
5377
+ agent: "agent";
5378
+ person: "person";
5379
+ }>>;
5380
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
5381
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
5382
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
5383
+ set: z.ZodMiniInt;
5384
+ palette: z.ZodMiniInt;
5385
+ ground: z.ZodMiniInt;
5386
+ form: z.ZodMiniInt;
5387
+ material: z.ZodMiniInt;
5388
+ accent: z.ZodMiniInt;
5389
+ vein: z.ZodMiniInt;
5390
+ }, z.core.$strip>>>;
5391
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
5392
+ }, z.core.$strip>;
5393
+ plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
5394
+ agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
5395
+ workers: z.ZodMiniArray<z.ZodMiniObject<{
5396
+ id: z.ZodMiniUUID;
5397
+ login: z.ZodMiniString<string>;
5398
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
5399
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
5400
+ role: z.ZodMiniEnum<{
5401
+ admin: "admin";
5402
+ member: "member";
5403
+ }>;
5404
+ status: z.ZodMiniEnum<{
5405
+ active: "active";
5406
+ deactivated: "deactivated";
5407
+ }>;
5408
+ source: z.ZodMiniEnum<{
5409
+ domain: "domain";
5410
+ listed: "listed";
5411
+ organization: "organization";
5412
+ }>;
5413
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
5414
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
5415
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
5416
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
5417
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
5418
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
5419
+ agent: "agent";
5420
+ person: "person";
5421
+ }>>;
5422
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
5423
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
5424
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
5425
+ set: z.ZodMiniInt;
5426
+ palette: z.ZodMiniInt;
5427
+ ground: z.ZodMiniInt;
5428
+ form: z.ZodMiniInt;
5429
+ material: z.ZodMiniInt;
5430
+ accent: z.ZodMiniInt;
5431
+ vein: z.ZodMiniInt;
5432
+ }, z.core.$strip>>>;
5433
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
5434
+ }, z.core.$strip>>;
5435
+ parentId: z.ZodMiniNullable<z.ZodMiniUUID>;
5436
+ category: z.ZodMiniNullable<z.ZodMiniObject<{
5437
+ key: z.ZodMiniString<string>;
5438
+ name: z.ZodMiniString<string>;
5439
+ color: z.ZodMiniEnum<{
5440
+ blue: "blue";
5441
+ gray: "gray";
5442
+ green: "green";
5443
+ orange: "orange";
5444
+ pink: "pink";
5445
+ purple: "purple";
5446
+ teal: "teal";
5447
+ yellow: "yellow";
5448
+ }>;
5449
+ }, z.core.$strip>>;
5450
+ goalId: z.ZodMiniNullable<z.ZodMiniUUID>;
5451
+ startsOn: z.ZodMiniNullable<z.ZodMiniISODate>;
5452
+ dueOn: z.ZodMiniNullable<z.ZodMiniISODate>;
5453
+ startedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
5454
+ doneAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
5455
+ archivedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
5456
+ links: z.ZodMiniArray<z.ZodMiniObject<{
5457
+ url: z.ZodMiniString<string>;
5458
+ label: z.ZodMiniNullable<z.ZodMiniString<string>>;
5459
+ }, z.core.$strip>>;
5460
+ openDecisions: z.ZodMiniInt;
5461
+ openRuns: z.ZodMiniInt;
5462
+ createdAt: z.ZodMiniISODateTime;
5463
+ updatedAt: z.ZodMiniISODateTime;
5464
+ }, z.core.$strip>>;
5465
+ more: z.ZodMiniBoolean<boolean>;
5466
+ }, z.core.$strip>;
5467
+ export type RestTaskBriefs = z.infer<typeof restTaskBriefsSchema>;
5316
5468
  /** A decision as the plate's page asks for it: everything but its body. */
5317
5469
  export declare const restDecisionBriefSchema: z.ZodMiniObject<{
5318
5470
  id: z.ZodMiniUUID;
@@ -6572,6 +6724,7 @@ export declare const restEventDataSchema: z.ZodMiniObject<{
6572
6724
  args: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
6573
6725
  capabilities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
6574
6726
  source: z.ZodMiniOptional<z.ZodMiniString<string>>;
6727
+ under: z.ZodMiniOptional<z.ZodMiniString<string>>;
6575
6728
  grantee: z.ZodMiniOptional<z.ZodMiniString<string>>;
6576
6729
  everyone: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
6577
6730
  problem: z.ZodMiniOptional<z.ZodMiniString<string>>;
@@ -6759,6 +6912,7 @@ export declare const restEventSchema: z.ZodMiniObject<{
6759
6912
  args: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
6760
6913
  capabilities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
6761
6914
  source: z.ZodMiniOptional<z.ZodMiniString<string>>;
6915
+ under: z.ZodMiniOptional<z.ZodMiniString<string>>;
6762
6916
  grantee: z.ZodMiniOptional<z.ZodMiniString<string>>;
6763
6917
  everyone: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
6764
6918
  problem: z.ZodMiniOptional<z.ZodMiniString<string>>;
@@ -6958,6 +7112,182 @@ export declare const restRunsSchema: z.ZodMiniObject<{
6958
7112
  more: z.ZodMiniBoolean<boolean>;
6959
7113
  }, z.core.$strip>;
6960
7114
  export type RestRuns = z.infer<typeof restRunsSchema>;
7115
+ /**
7116
+ * A run as a listing asks for it: everything but its reports, of which it says how many. The
7117
+ * reports are what a run says as it goes, and weigh more than the rest of a listing together.
7118
+ * A console from before the brief form (0.5.0) ignores the word and answers the run whole, so
7119
+ * what is read is either: the count where the console counted, the reports where it sent them.
7120
+ */
7121
+ export declare const restRunBriefSchema: z.ZodMiniObject<{
7122
+ id: z.ZodMiniUUID;
7123
+ taskId: z.ZodMiniUUID;
7124
+ taskNumber: z.ZodMiniInt;
7125
+ person: z.ZodMiniObject<{
7126
+ id: z.ZodMiniUUID;
7127
+ login: z.ZodMiniString<string>;
7128
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
7129
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
7130
+ role: z.ZodMiniEnum<{
7131
+ admin: "admin";
7132
+ member: "member";
7133
+ }>;
7134
+ status: z.ZodMiniEnum<{
7135
+ active: "active";
7136
+ deactivated: "deactivated";
7137
+ }>;
7138
+ source: z.ZodMiniEnum<{
7139
+ domain: "domain";
7140
+ listed: "listed";
7141
+ organization: "organization";
7142
+ }>;
7143
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
7144
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
7145
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
7146
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
7147
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
7148
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
7149
+ agent: "agent";
7150
+ person: "person";
7151
+ }>>;
7152
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
7153
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
7154
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
7155
+ set: z.ZodMiniInt;
7156
+ palette: z.ZodMiniInt;
7157
+ ground: z.ZodMiniInt;
7158
+ form: z.ZodMiniInt;
7159
+ material: z.ZodMiniInt;
7160
+ accent: z.ZodMiniInt;
7161
+ vein: z.ZodMiniInt;
7162
+ }, z.core.$strip>>>;
7163
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
7164
+ }, z.core.$strip>;
7165
+ agent: z.ZodMiniString<string>;
7166
+ status: z.ZodMiniEnum<{
7167
+ abandoned: "abandoned";
7168
+ failed: "failed";
7169
+ finished: "finished";
7170
+ running: "running";
7171
+ waiting: "waiting";
7172
+ }>;
7173
+ startedAt: z.ZodMiniISODateTime;
7174
+ endedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
7175
+ lastHeardAt: z.ZodMiniISODateTime;
7176
+ summary: z.ZodMiniNullable<z.ZodMiniString<string>>;
7177
+ artifacts: z.ZodMiniArray<z.ZodMiniObject<{
7178
+ id: z.ZodMiniUUID;
7179
+ kind: z.ZodMiniEnum<{
7180
+ file: "file";
7181
+ link: "link";
7182
+ }>;
7183
+ url: z.ZodMiniNullable<z.ZodMiniString<string>>;
7184
+ label: z.ZodMiniNullable<z.ZodMiniString<string>>;
7185
+ file: z.ZodMiniNullable<z.ZodMiniObject<{
7186
+ name: z.ZodMiniString<string>;
7187
+ size: z.ZodMiniInt;
7188
+ contentType: z.ZodMiniString<string>;
7189
+ sha256: z.ZodMiniString<string>;
7190
+ }, z.core.$strip>>;
7191
+ createdAt: z.ZodMiniISODateTime;
7192
+ }, z.core.$strip>>;
7193
+ waitingFor: z.ZodMiniNullable<z.ZodMiniUUID>;
7194
+ sessionId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
7195
+ reportCount: z.ZodMiniOptional<z.ZodMiniInt>;
7196
+ reports: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
7197
+ id: z.ZodMiniUUID;
7198
+ body: z.ZodMiniString<string>;
7199
+ createdAt: z.ZodMiniISODateTime;
7200
+ }, z.core.$strip>>>;
7201
+ }, z.core.$strip>;
7202
+ export type RestRunBrief = z.infer<typeof restRunBriefSchema>;
7203
+ /** How many reports a run has, as a listing says it: as the console counted them, else as many as it sent. */
7204
+ export declare function reportCountOf(run: RestRunBrief): number;
7205
+ /** `GET /api/v1/projects/<key>/runs?brief=true`: a page of the runs as `.../runs` answers it, without their reports. */
7206
+ export declare const restRunBriefsSchema: z.ZodMiniObject<{
7207
+ items: z.ZodMiniArray<z.ZodMiniObject<{
7208
+ id: z.ZodMiniUUID;
7209
+ taskId: z.ZodMiniUUID;
7210
+ taskNumber: z.ZodMiniInt;
7211
+ person: z.ZodMiniObject<{
7212
+ id: z.ZodMiniUUID;
7213
+ login: z.ZodMiniString<string>;
7214
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
7215
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
7216
+ role: z.ZodMiniEnum<{
7217
+ admin: "admin";
7218
+ member: "member";
7219
+ }>;
7220
+ status: z.ZodMiniEnum<{
7221
+ active: "active";
7222
+ deactivated: "deactivated";
7223
+ }>;
7224
+ source: z.ZodMiniEnum<{
7225
+ domain: "domain";
7226
+ listed: "listed";
7227
+ organization: "organization";
7228
+ }>;
7229
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
7230
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
7231
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
7232
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
7233
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
7234
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
7235
+ agent: "agent";
7236
+ person: "person";
7237
+ }>>;
7238
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
7239
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
7240
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
7241
+ set: z.ZodMiniInt;
7242
+ palette: z.ZodMiniInt;
7243
+ ground: z.ZodMiniInt;
7244
+ form: z.ZodMiniInt;
7245
+ material: z.ZodMiniInt;
7246
+ accent: z.ZodMiniInt;
7247
+ vein: z.ZodMiniInt;
7248
+ }, z.core.$strip>>>;
7249
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
7250
+ }, z.core.$strip>;
7251
+ agent: z.ZodMiniString<string>;
7252
+ status: z.ZodMiniEnum<{
7253
+ abandoned: "abandoned";
7254
+ failed: "failed";
7255
+ finished: "finished";
7256
+ running: "running";
7257
+ waiting: "waiting";
7258
+ }>;
7259
+ startedAt: z.ZodMiniISODateTime;
7260
+ endedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
7261
+ lastHeardAt: z.ZodMiniISODateTime;
7262
+ summary: z.ZodMiniNullable<z.ZodMiniString<string>>;
7263
+ artifacts: z.ZodMiniArray<z.ZodMiniObject<{
7264
+ id: z.ZodMiniUUID;
7265
+ kind: z.ZodMiniEnum<{
7266
+ file: "file";
7267
+ link: "link";
7268
+ }>;
7269
+ url: z.ZodMiniNullable<z.ZodMiniString<string>>;
7270
+ label: z.ZodMiniNullable<z.ZodMiniString<string>>;
7271
+ file: z.ZodMiniNullable<z.ZodMiniObject<{
7272
+ name: z.ZodMiniString<string>;
7273
+ size: z.ZodMiniInt;
7274
+ contentType: z.ZodMiniString<string>;
7275
+ sha256: z.ZodMiniString<string>;
7276
+ }, z.core.$strip>>;
7277
+ createdAt: z.ZodMiniISODateTime;
7278
+ }, z.core.$strip>>;
7279
+ waitingFor: z.ZodMiniNullable<z.ZodMiniUUID>;
7280
+ sessionId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
7281
+ reportCount: z.ZodMiniOptional<z.ZodMiniInt>;
7282
+ reports: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
7283
+ id: z.ZodMiniUUID;
7284
+ body: z.ZodMiniString<string>;
7285
+ createdAt: z.ZodMiniISODateTime;
7286
+ }, z.core.$strip>>>;
7287
+ }, z.core.$strip>>;
7288
+ more: z.ZodMiniBoolean<boolean>;
7289
+ }, z.core.$strip>;
7290
+ export type RestRunBriefs = z.infer<typeof restRunBriefsSchema>;
6961
7291
  /** A file put in a comment, kept as a run's file is; its bytes are at `projectPath(key, "files", <id>)`. */
6962
7292
  export declare const restCommentFileSchema: z.ZodMiniObject<{
6963
7293
  id: z.ZodMiniUUID;
@@ -7274,6 +7604,7 @@ export declare const restEventsSchema: z.ZodMiniObject<{
7274
7604
  args: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
7275
7605
  capabilities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
7276
7606
  source: z.ZodMiniOptional<z.ZodMiniString<string>>;
7607
+ under: z.ZodMiniOptional<z.ZodMiniString<string>>;
7277
7608
  grantee: z.ZodMiniOptional<z.ZodMiniString<string>>;
7278
7609
  everyone: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
7279
7610
  problem: z.ZodMiniOptional<z.ZodMiniString<string>>;
@@ -7390,6 +7721,9 @@ export type RestConnectInput = z.infer<typeof restConnectInputSchema>;
7390
7721
  /**
7391
7722
  * What `POST /api/v1/connect` answers (ADR-0011): the code a person approves, the address of the
7392
7723
  * console's own page for it, and the secret the command claims the token with, shown nowhere.
7724
+ * Bounded, each no wider than the command's credentials file reads back (`cli/credentials.ts`),
7725
+ * since the route answers nobody and the command keeps the answer while it waits (ADR-0129):
7726
+ * a console answers a code of nine characters and a wait of a few seconds.
7393
7727
  */
7394
7728
  export declare const restConnectionSchema: z.ZodMiniObject<{
7395
7729
  code: z.ZodMiniString<string>;
@@ -8606,9 +8940,10 @@ export declare const restRulesPluginSchema: z.ZodMiniObject<{
8606
8940
  }, z.core.$strip>;
8607
8941
  export type RestRulesPlugin = z.infer<typeof restRulesPluginSchema>;
8608
8942
  /**
8609
- * `GET /api/v1/rules`, and each half of a project's (ADR-0023): the rules that hold, and where
8610
- * they come from. `reference`: the console's own, since the organization wrote none;
8611
- * `written`: the page written, with its facts; `none`: a project that adds none.
8943
+ * `GET /api/v1/rules`, and each half of a project's (ADR-0023, ADR-0120): the rules that hold,
8944
+ * and what stands beside the console's. At the workspace, `reference`: the console's rules
8945
+ * alone, since the organization adds nothing; `written`: something is added, on its page. In
8946
+ * a project's own half, `written`: the page the project wrote; `none`: it adds none.
8612
8947
  */
8613
8948
  export declare const restRulesSchema: z.ZodMiniObject<{
8614
8949
  source: z.ZodMiniEnum<{
@@ -8668,6 +9003,61 @@ export declare const restRulesSchema: z.ZodMiniObject<{
8668
9003
  createdAt: z.ZodMiniISODateTime;
8669
9004
  updatedAt: z.ZodMiniISODateTime;
8670
9005
  }, z.core.$strip>>;
9006
+ own: z.ZodMiniOptional<z.ZodMiniString<string>>;
9007
+ added: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
9008
+ body: z.ZodMiniString<string>;
9009
+ page: z.ZodMiniObject<{
9010
+ id: z.ZodMiniUUID;
9011
+ path: z.ZodMiniString<string>;
9012
+ title: z.ZodMiniString<string>;
9013
+ version: z.ZodMiniInt;
9014
+ updatedBy: z.ZodMiniObject<{
9015
+ id: z.ZodMiniUUID;
9016
+ login: z.ZodMiniString<string>;
9017
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
9018
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
9019
+ role: z.ZodMiniEnum<{
9020
+ admin: "admin";
9021
+ member: "member";
9022
+ }>;
9023
+ status: z.ZodMiniEnum<{
9024
+ active: "active";
9025
+ deactivated: "deactivated";
9026
+ }>;
9027
+ source: z.ZodMiniEnum<{
9028
+ domain: "domain";
9029
+ listed: "listed";
9030
+ organization: "organization";
9031
+ }>;
9032
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
9033
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
9034
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
9035
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9036
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9037
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
9038
+ agent: "agent";
9039
+ person: "person";
9040
+ }>>;
9041
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9042
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9043
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
9044
+ set: z.ZodMiniInt;
9045
+ palette: z.ZodMiniInt;
9046
+ ground: z.ZodMiniInt;
9047
+ form: z.ZodMiniInt;
9048
+ material: z.ZodMiniInt;
9049
+ accent: z.ZodMiniInt;
9050
+ vein: z.ZodMiniInt;
9051
+ }, z.core.$strip>>>;
9052
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
9053
+ }, z.core.$strip>;
9054
+ agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
9055
+ plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9056
+ archivedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
9057
+ createdAt: z.ZodMiniISODateTime;
9058
+ updatedAt: z.ZodMiniISODateTime;
9059
+ }, z.core.$strip>;
9060
+ }, z.core.$strip>>>;
8671
9061
  plugins: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
8672
9062
  key: z.ZodMiniString<string>;
8673
9063
  name: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
@@ -8737,6 +9127,61 @@ export declare const restProjectRulesSchema: z.ZodMiniObject<{
8737
9127
  createdAt: z.ZodMiniISODateTime;
8738
9128
  updatedAt: z.ZodMiniISODateTime;
8739
9129
  }, z.core.$strip>>;
9130
+ own: z.ZodMiniOptional<z.ZodMiniString<string>>;
9131
+ added: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
9132
+ body: z.ZodMiniString<string>;
9133
+ page: z.ZodMiniObject<{
9134
+ id: z.ZodMiniUUID;
9135
+ path: z.ZodMiniString<string>;
9136
+ title: z.ZodMiniString<string>;
9137
+ version: z.ZodMiniInt;
9138
+ updatedBy: z.ZodMiniObject<{
9139
+ id: z.ZodMiniUUID;
9140
+ login: z.ZodMiniString<string>;
9141
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
9142
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
9143
+ role: z.ZodMiniEnum<{
9144
+ admin: "admin";
9145
+ member: "member";
9146
+ }>;
9147
+ status: z.ZodMiniEnum<{
9148
+ active: "active";
9149
+ deactivated: "deactivated";
9150
+ }>;
9151
+ source: z.ZodMiniEnum<{
9152
+ domain: "domain";
9153
+ listed: "listed";
9154
+ organization: "organization";
9155
+ }>;
9156
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
9157
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
9158
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
9159
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9160
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9161
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
9162
+ agent: "agent";
9163
+ person: "person";
9164
+ }>>;
9165
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9166
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9167
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
9168
+ set: z.ZodMiniInt;
9169
+ palette: z.ZodMiniInt;
9170
+ ground: z.ZodMiniInt;
9171
+ form: z.ZodMiniInt;
9172
+ material: z.ZodMiniInt;
9173
+ accent: z.ZodMiniInt;
9174
+ vein: z.ZodMiniInt;
9175
+ }, z.core.$strip>>>;
9176
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
9177
+ }, z.core.$strip>;
9178
+ agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
9179
+ plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9180
+ archivedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
9181
+ createdAt: z.ZodMiniISODateTime;
9182
+ updatedAt: z.ZodMiniISODateTime;
9183
+ }, z.core.$strip>;
9184
+ }, z.core.$strip>>>;
8740
9185
  plugins: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
8741
9186
  key: z.ZodMiniString<string>;
8742
9187
  name: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
@@ -8803,6 +9248,61 @@ export declare const restProjectRulesSchema: z.ZodMiniObject<{
8803
9248
  createdAt: z.ZodMiniISODateTime;
8804
9249
  updatedAt: z.ZodMiniISODateTime;
8805
9250
  }, z.core.$strip>>;
9251
+ own: z.ZodMiniOptional<z.ZodMiniString<string>>;
9252
+ added: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
9253
+ body: z.ZodMiniString<string>;
9254
+ page: z.ZodMiniObject<{
9255
+ id: z.ZodMiniUUID;
9256
+ path: z.ZodMiniString<string>;
9257
+ title: z.ZodMiniString<string>;
9258
+ version: z.ZodMiniInt;
9259
+ updatedBy: z.ZodMiniObject<{
9260
+ id: z.ZodMiniUUID;
9261
+ login: z.ZodMiniString<string>;
9262
+ name: z.ZodMiniNullable<z.ZodMiniString<string>>;
9263
+ avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
9264
+ role: z.ZodMiniEnum<{
9265
+ admin: "admin";
9266
+ member: "member";
9267
+ }>;
9268
+ status: z.ZodMiniEnum<{
9269
+ active: "active";
9270
+ deactivated: "deactivated";
9271
+ }>;
9272
+ source: z.ZodMiniEnum<{
9273
+ domain: "domain";
9274
+ listed: "listed";
9275
+ organization: "organization";
9276
+ }>;
9277
+ deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
9278
+ managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
9279
+ teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
9280
+ language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9281
+ email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9282
+ kind: z.ZodMiniOptional<z.ZodMiniEnum<{
9283
+ agent: "agent";
9284
+ person: "person";
9285
+ }>>;
9286
+ handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9287
+ title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9288
+ avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
9289
+ set: z.ZodMiniInt;
9290
+ palette: z.ZodMiniInt;
9291
+ ground: z.ZodMiniInt;
9292
+ form: z.ZodMiniInt;
9293
+ material: z.ZodMiniInt;
9294
+ accent: z.ZodMiniInt;
9295
+ vein: z.ZodMiniInt;
9296
+ }, z.core.$strip>>>;
9297
+ invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
9298
+ }, z.core.$strip>;
9299
+ agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
9300
+ plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
9301
+ archivedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
9302
+ createdAt: z.ZodMiniISODateTime;
9303
+ updatedAt: z.ZodMiniISODateTime;
9304
+ }, z.core.$strip>;
9305
+ }, z.core.$strip>>>;
8806
9306
  plugins: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
8807
9307
  key: z.ZodMiniString<string>;
8808
9308
  name: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
@@ -8820,7 +9320,11 @@ export declare const restProjectRulesSchema: z.ZodMiniObject<{
8820
9320
  }, z.core.$strip>>>;
8821
9321
  }, z.core.$strip>;
8822
9322
  export type RestProjectRules = z.infer<typeof restProjectRulesSchema>;
8823
- /** What `PUT /api/v1/rules` is sent: the rules as they are to be. */
9323
+ /**
9324
+ * What `PUT /api/v1/rules` is sent: what the organization adds, as it is to be. A body that
9325
+ * carries the console's rules whole, as a client of before read them, is taken for what stands
9326
+ * before and after them.
9327
+ */
8824
9328
  export declare const restRulesInputSchema: z.ZodMiniObject<{
8825
9329
  body: z.ZodMiniString<string>;
8826
9330
  baseVersion: z.ZodMiniOptional<z.ZodMiniInt>;