@bongos/core 1.23.22 → 1.24.2

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 (435) hide show
  1. package/.bongos-core.json +933 -413
  2. package/.claude/skills/blocker-review/SKILL.md +9 -1
  3. package/.claude/skills/blocker-solve/SKILL.md +1 -1
  4. package/.claude/skills/builder-claim/SKILL.md +1 -1
  5. package/.claude/skills/builder-reauth/SKILL.md +1 -1
  6. package/.claude/skills/builder-redteam/SKILL.md +1 -1
  7. package/.claude/skills/builder-sequence/SKILL.md +1 -1
  8. package/.claude/skills/builder-setup/SKILL.md +1 -1
  9. package/.claude/skills/builder-ship/SKILL.md +1 -1
  10. package/.claude/skills/collab-review/SKILL.md +5 -2
  11. package/.claude/skills/design/SKILL.md +1 -1
  12. package/.claude/skills/goal-create/SKILL.md +2 -2
  13. package/.claude/skills/grade-recover/SKILL.md +1 -1
  14. package/.claude/skills/merge-mode/SKILL.md +1 -1
  15. package/.claude/skills/owner-review/SKILL.md +1 -1
  16. package/.claude/skills/planning-session/SKILL.md +11 -11
  17. package/.claude/skills/read-session-export/SKILL.md +1 -1
  18. package/.claude/skills/recall/SKILL.md +1 -1
  19. package/.claude/skills/scan-before-install/SKILL.md +1 -1
  20. package/.claude/skills/session-handoff/SKILL.md +1 -1
  21. package/.claude/skills/strand-fix/SKILL.md +13 -0
  22. package/.claude/skills/worktree-clean/SKILL.md +1 -1
  23. package/AGENTS.md +15 -0
  24. package/GEMINI.md +5 -0
  25. package/clients/bongos-client/README.md +1 -1
  26. package/clients/bongos-client/bongos-client.global.js +96 -0
  27. package/clients/bongos-client/index.cjs +96 -0
  28. package/clients/bongos-client/index.d.ts +155 -4
  29. package/clients/bongos-client/index.mjs +96 -0
  30. package/docs/adr/0054-session-token-reward-cost-plus.md +3 -1
  31. package/docs/adr/0055-server-mediated-branch-publish.md +1 -1
  32. package/docs/adr/0385-money-lives-with-a-processor-credits-stay-a-project-meter.md +12 -1
  33. package/docs/adr/0393-a-platform-account-is-a-person-and-github-is-one-way-in.md +37 -0
  34. package/docs/adr/0394-market-watch-searches-through-the-messages-api-on-the-projects-key-and-runs-from-its-own-poller.md +102 -0
  35. package/docs/adr/0395-a-task-says-what-it-needs-and-lists-show-only-what-you-can-do.md +36 -0
  36. package/docs/adr/0396-google-sign-in-a-stand-in-login-and-a-browser-approved-cli-sign-in.md +41 -0
  37. package/docs/adr/README.md +6 -2
  38. package/docs/api/openapi.json +8651 -5833
  39. package/docs/api-reference.md +66 -10
  40. package/docs/architecture.md +37 -1
  41. package/docs/canonical-permissions.md +1 -1
  42. package/docs/copy-inventory.md +427 -339
  43. package/docs/copy-registry.json +1376 -500
  44. package/docs/file-map.md +1 -0
  45. package/docs/module-api-changelog.md +7 -0
  46. package/docs/onboarding/diagrams/03-drachmae-karma.mmd +3 -3
  47. package/docs/onboarding/diagrams/README.md +1 -1
  48. package/docs/onboarding/drachmae-and-karma.md +15 -15
  49. package/docs/onboarding/primer.md +2 -2
  50. package/docs/page-inventory.json +57 -7
  51. package/docs/page-readings.json +1210 -1027
  52. package/docs/recipes/google-sign-in.md +60 -0
  53. package/docs/recipes/ops-gotchas.md +1 -1
  54. package/migrations/core_282_builders_lower_login_idx.sql +33 -0
  55. package/migrations/core_283_claimable_ignores_page_markers.sql +53 -0
  56. package/migrations/core_283_payout_approvals.sql +183 -0
  57. package/migrations/core_284_payout_gates.sql +179 -0
  58. package/migrations/core_285_task_needs.sql +74 -0
  59. package/modules/ai-studio/billing.js +67 -0
  60. package/modules/ai-studio/context.js +29 -0
  61. package/modules/ai-studio/db.js +172 -0
  62. package/modules/ai-studio/gemini.js +75 -0
  63. package/modules/ai-studio/generate.js +119 -0
  64. package/modules/ai-studio/keys.js +73 -0
  65. package/modules/ai-studio/migrations/ai_studio_001_keys.sql +22 -0
  66. package/modules/ai-studio/migrations/ai_studio_002_ledger.sql +48 -0
  67. package/modules/ai-studio/migrations/ai_studio_003_requests.sql +55 -0
  68. package/modules/ai-studio/openrouter.js +90 -0
  69. package/modules/ai-studio/payments.js +105 -0
  70. package/modules/ai-studio/pricing.js +92 -0
  71. package/modules/ai-studio/routes/ai-studio.js +235 -5
  72. package/modules/ai-studio/studio.js +121 -0
  73. package/modules/autonomy/fence.js +64 -1
  74. package/modules/builder-settings/builder-needs.js +27 -1
  75. package/modules/copy-desk/routes/copy-desk.js +5 -0
  76. package/modules/economy/achievements.js +22 -10
  77. package/modules/economy/cost-classify.js +9 -0
  78. package/modules/economy/cost-write-guard.js +52 -0
  79. package/modules/economy/cost.js +2 -1
  80. package/modules/economy/credits.js +18 -15
  81. package/modules/economy/goal-reward.js +161 -0
  82. package/modules/economy/reward.js +4 -0
  83. package/modules/economy/routes/cost.js +33 -7
  84. package/modules/government/access-routes.js +70 -0
  85. package/modules/government/access.js +88 -0
  86. package/modules/government/asks.js +5 -2
  87. package/modules/government/catalog.js +6 -0
  88. package/modules/government/db.js +72 -0
  89. package/modules/government/docket.js +48 -2
  90. package/modules/government/migrations/government_035_payout_approve.sql +29 -0
  91. package/modules/government/migrations/government_036_access_holders.sql +33 -0
  92. package/modules/government/pollers/board-expiry.js +108 -20
  93. package/modules/government/protected-surfaces.json +1 -0
  94. package/modules/government/routes/government.js +31 -0
  95. package/modules/government/routing.js +49 -7
  96. package/modules/government/waiting.js +78 -0
  97. package/modules/hall-ui/public/ai-studio-lib.js +268 -0
  98. package/modules/hall-ui/public/ai-studio.css +193 -0
  99. package/modules/hall-ui/public/ai-studio.html +98 -0
  100. package/modules/hall-ui/public/ai-studio.js +556 -0
  101. package/modules/hall-ui/public/ai-studio.states.json +94 -0
  102. package/modules/hall-ui/public/blockers-by-person.js +158 -0
  103. package/modules/hall-ui/public/blockers-lib.js +15 -1
  104. package/modules/hall-ui/public/blockers.html +8 -0
  105. package/modules/hall-ui/public/blockers.js +1 -1
  106. package/modules/hall-ui/public/claim-action.js +3 -0
  107. package/modules/hall-ui/public/collab.html +12 -0
  108. package/modules/hall-ui/public/craft-mode.js +4 -1
  109. package/modules/hall-ui/public/criterion-uat-ui.js +4 -1
  110. package/modules/hall-ui/public/drachmae.html +1 -1
  111. package/modules/hall-ui/public/genesis/r5-life-1-primordial-sea.jpg +0 -0
  112. package/modules/hall-ui/public/genesis/r5-life-2-first-cells-cut.webp +0 -0
  113. package/modules/hall-ui/public/genesis/r5-life-2-first-cells.jpg +0 -0
  114. package/modules/hall-ui/public/genesis/r5-life-3-genome-cut.webp +0 -0
  115. package/modules/hall-ui/public/genesis/r5-life-3-genome.jpg +0 -0
  116. package/modules/hall-ui/public/genesis/r5-life-4-membrane-cut.webp +0 -0
  117. package/modules/hall-ui/public/genesis/r5-life-4-membrane.jpg +0 -0
  118. package/modules/hall-ui/public/genesis/r5-life-5-nervous-system-cut.webp +0 -0
  119. package/modules/hall-ui/public/genesis/r5-life-5-nervous-system.jpg +0 -0
  120. package/modules/hall-ui/public/goal-inbox.js +1 -1
  121. package/modules/hall-ui/public/goals-render.js +4 -0
  122. package/modules/hall-ui/public/goals.html +8 -0
  123. package/modules/hall-ui/public/gov-living.js +6 -2
  124. package/modules/hall-ui/public/government-access.js +108 -0
  125. package/modules/hall-ui/public/government.html +21 -0
  126. package/modules/hall-ui/public/hall-ask.css +5 -0
  127. package/modules/hall-ui/public/hall-ask.js +39 -3
  128. package/modules/hall-ui/public/notes-panel.css +20 -0
  129. package/modules/hall-ui/public/notes-panel.js +146 -0
  130. package/modules/hall-ui/public/project-settings.html +1 -1
  131. package/modules/hall-ui/public/project-settings.js +7 -5
  132. package/modules/hall-ui/public/settings-ai-keys.js +124 -0
  133. package/modules/hall-ui/public/settings.html +15 -0
  134. package/modules/hall-ui/public/street-deck.js +12 -3
  135. package/modules/hall-ui/public/studio.css +90 -8
  136. package/modules/hall-ui/public/studio.html +39 -10
  137. package/modules/hall-ui/public/studio.js +148 -18
  138. package/modules/hall-ui/public/task.html +2 -0
  139. package/modules/hall-ui/public/task.js +4 -0
  140. package/modules/hall-ui/public/tweak-editor.js +12 -3
  141. package/modules/hall-ui/public/welcome-boot.css +42 -6
  142. package/modules/hall-ui/public/welcome-boot.js +20 -6
  143. package/modules/hall-ui/public/work.js +20 -0
  144. package/modules/hall-ui/records/ai-studio.md +36 -0
  145. package/modules/hall-ui/records/blockers-people.md +38 -0
  146. package/modules/lifecycle/db-claims.js +32 -4
  147. package/modules/lifecycle/db-goals.js +18 -5
  148. package/modules/lifecycle/db-tasks.js +15 -6
  149. package/modules/lifecycle/done-when.js +23 -1
  150. package/modules/lifecycle/lifecycle.js +5 -0
  151. package/modules/lifecycle/migrations/lifecycle_017_notes.sql +46 -0
  152. package/modules/lifecycle/module.json +2 -1
  153. package/modules/lifecycle/notes.js +219 -0
  154. package/modules/lifecycle/page-notice.js +124 -0
  155. package/modules/lifecycle/page-tweak-artist.js +18 -1
  156. package/modules/lifecycle/publish-reconciler.js +67 -20
  157. package/modules/lifecycle/routes/claims.js +5 -2
  158. package/modules/lifecycle/routes/goals.js +3 -1
  159. package/modules/lifecycle/routes/notes.js +91 -0
  160. package/modules/lifecycle/routes/project-settings.js +43 -35
  161. package/modules/lifecycle/routes/task-route-helpers.js +21 -0
  162. package/modules/lifecycle/routes/task-write-routes.js +21 -3
  163. package/modules/lifecycle/routes/tasks.js +12 -12
  164. package/modules/lifecycle/task-needs-gate.js +70 -0
  165. package/modules/market-watch/CLAUDE.md +15 -0
  166. package/modules/market-watch/db.js +340 -0
  167. package/modules/market-watch/key.js +58 -0
  168. package/modules/market-watch/migrations/market_watch_001_tables.sql +249 -0
  169. package/modules/market-watch/migrations/market_watch_002_run.sql +46 -0
  170. package/modules/market-watch/module.json +26 -0
  171. package/modules/market-watch/pollers/hub-seed.js +54 -0
  172. package/modules/market-watch/pollers/weekly-run.js +100 -0
  173. package/modules/market-watch/research.js +350 -0
  174. package/modules/market-watch/run.js +245 -0
  175. package/modules/market-watch/seed/market-data.json +38 -0
  176. package/modules/market-watch/seed/partners-data.json +497 -0
  177. package/modules/market-watch/seed.js +252 -0
  178. package/modules/market-watch/store.js +230 -0
  179. package/modules/memory/routes/memory.js +14 -2
  180. package/modules/memory/routes/search.js +8 -2
  181. package/modules/platform-identity/account-logins.js +192 -0
  182. package/modules/platform-identity/migrations/platform_identity_034_account_logins.sql +96 -0
  183. package/modules/platform-identity/platform-identity.js +5 -4
  184. package/modules/platform-identity/routes/my-projects.js +6 -0
  185. package/modules/platform-identity/routes/profile.js +18 -0
  186. package/modules/platform-identity/routes/public-profile.js +10 -1
  187. package/modules/platform-identity/routes/sso.js +26 -1
  188. package/modules/platform-identity/tests/platform-identity.mjs +2 -1
  189. package/modules/provisioning/credential-preflight.js +13 -3
  190. package/modules/provisioning/pollers/app-liveness.js +25 -5
  191. package/modules/provisioning/routes/provisioning.js +1 -1
  192. package/modules/provisioning/starter-bundles.js +6 -2
  193. package/modules/public-landing/public/account.html +10 -2
  194. package/modules/public-landing/public/assets/world/r2-bongos-chrome-b.jpg +0 -0
  195. package/modules/public-landing/public/assets/world/r2-bongos-chrome-b.jpg.json +1 -1
  196. package/modules/public-landing/public/assets/world/r2-bongos-chrome-b.webp +0 -0
  197. package/modules/public-landing/public/assets/world/r2-bongos-chrome-b.webp.json +1 -1
  198. package/modules/public-landing/public/assets/world/r2-chrome-blob-one-cut.webp +0 -0
  199. package/modules/public-landing/public/assets/world/r2-chrome-blob-one-cut.webp.json +1 -1
  200. package/modules/public-landing/public/assets/world/r2-chrome-blob-one.jpg +0 -0
  201. package/modules/public-landing/public/assets/world/r2-chrome-blob-one.jpg.json +1 -1
  202. package/modules/public-landing/public/assets/world/r2-chrome-blob-one.webp +0 -0
  203. package/modules/public-landing/public/assets/world/r2-chrome-blob-one.webp.json +1 -1
  204. package/modules/public-landing/public/assets/world/r2-chrome-blobs-set.jpg +0 -0
  205. package/modules/public-landing/public/assets/world/r2-chrome-blobs-set.jpg.json +1 -1
  206. package/modules/public-landing/public/assets/world/r2-chrome-blobs-set.webp +0 -0
  207. package/modules/public-landing/public/assets/world/r2-chrome-blobs-set.webp.json +1 -1
  208. package/modules/public-landing/public/assets/world/r3-frost-bead-cut.webp +0 -0
  209. package/modules/public-landing/public/assets/world/r3-frost-bead-cut.webp.json +1 -1
  210. package/modules/public-landing/public/assets/world/r3-frost-pair-cut.webp +0 -0
  211. package/modules/public-landing/public/assets/world/r3-frost-pair-cut.webp.json +1 -1
  212. package/modules/public-landing/public/assets/world/r3-gold-blob-cut.webp +0 -0
  213. package/modules/public-landing/public/assets/world/r3-gold-blob-cut.webp.json +1 -1
  214. package/modules/public-landing/public/assets/world/r3-gold-pair-cut.webp +0 -0
  215. package/modules/public-landing/public/assets/world/r3-gold-pair-cut.webp.json +1 -1
  216. package/modules/public-landing/public/assets/world/r3-obsidian-blob-cut.webp +0 -0
  217. package/modules/public-landing/public/assets/world/r3-obsidian-blob-cut.webp.json +1 -1
  218. package/modules/public-landing/public/assets/world/r3-obsidian-pair-cut.webp +0 -0
  219. package/modules/public-landing/public/assets/world/r3-obsidian-pair-cut.webp.json +1 -1
  220. package/modules/public-landing/public/assets/world/r3-space-nebula.jpg +0 -0
  221. package/modules/public-landing/public/assets/world/r3-space-nebula.jpg.json +1 -1
  222. package/modules/public-landing/public/assets/world/r4-card-chrome.jpg +0 -0
  223. package/modules/public-landing/public/assets/world/r4-card-chrome.jpg.json +1 -1
  224. package/modules/public-landing/public/assets/world/r4-card-nebula.jpg +0 -0
  225. package/modules/public-landing/public/assets/world/r4-card-nebula.jpg.json +1 -1
  226. package/modules/public-landing/public/assets/world/r5-life-1-primordial-sea.jpg +0 -0
  227. package/modules/public-landing/public/assets/world/r5-life-1-primordial-sea.jpg.json +1 -1
  228. package/modules/public-landing/public/assets/world/r5-life-2-first-cells-cut.webp +0 -0
  229. package/modules/public-landing/public/assets/world/r5-life-2-first-cells-cut.webp.json +1 -1
  230. package/modules/public-landing/public/assets/world/r5-life-2-first-cells.jpg +0 -0
  231. package/modules/public-landing/public/assets/world/r5-life-2-first-cells.jpg.json +1 -1
  232. package/modules/public-landing/public/assets/world/r5-life-3-genome-cut.webp +0 -0
  233. package/modules/public-landing/public/assets/world/r5-life-3-genome-cut.webp.json +1 -1
  234. package/modules/public-landing/public/assets/world/r5-life-3-genome.jpg +0 -0
  235. package/modules/public-landing/public/assets/world/r5-life-3-genome.jpg.json +1 -1
  236. package/modules/public-landing/public/assets/world/r5-life-4-membrane-cut.webp +0 -0
  237. package/modules/public-landing/public/assets/world/r5-life-4-membrane-cut.webp.json +1 -1
  238. package/modules/public-landing/public/assets/world/r5-life-4-membrane.jpg +0 -0
  239. package/modules/public-landing/public/assets/world/r5-life-4-membrane.jpg.json +1 -1
  240. package/modules/public-landing/public/assets/world/r5-life-5-nervous-system-cut.webp +0 -0
  241. package/modules/public-landing/public/assets/world/r5-life-5-nervous-system-cut.webp.json +1 -1
  242. package/modules/public-landing/public/assets/world/r5-life-5-nervous-system.jpg +0 -0
  243. package/modules/public-landing/public/assets/world/r5-life-5-nervous-system.jpg.json +1 -1
  244. package/modules/public-landing/public/community.html +1 -1
  245. package/modules/public-landing/public/connections.html +2 -2
  246. package/modules/public-landing/public/guild.html +1 -1
  247. package/modules/public-landing/public/invitations.html +2 -2
  248. package/modules/public-landing/public/projects.html +5 -5
  249. package/modules/raise/views/nda.html +2 -0
  250. package/modules/specialities/db.js +32 -1
  251. package/modules/specialities/routes/specialities.js +10 -6
  252. package/modules/status-ui/public/index.html +1 -1
  253. package/package-lock.json +2 -2
  254. package/package.json +1 -1
  255. package/release-notes.json +230 -0
  256. package/scripts/bongos/autobongos-tweak-lane.js +46 -1
  257. package/scripts/bongos/backfill-subagent-rewards.js +2 -2
  258. package/scripts/bongos/claim.js +22 -1
  259. package/scripts/bongos/db-backup-nightly.sh +29 -0
  260. package/scripts/bongos/deploy-divergence.js +7 -0
  261. package/scripts/bongos/doc-cli-guard.js +6 -0
  262. package/scripts/bongos/fitness.js +3 -2
  263. package/scripts/bongos/gen-diagrams.js +3 -3
  264. package/scripts/bongos/government-walk.js +3 -0
  265. package/scripts/bongos/lib.sh +4 -5
  266. package/scripts/bongos/migration-namespace.js +13 -1
  267. package/scripts/bongos/plain-cards.js +4 -0
  268. package/scripts/bongos/provision-github-setup.js +3 -1
  269. package/scripts/bongos/provision-units.js +6 -1
  270. package/scripts/bongos/publish-manifest.js +3 -0
  271. package/scripts/bongos/release.js +2 -0
  272. package/scripts/bongos/run-unit-tests.js +268 -82
  273. package/scripts/bongos/seed-tasks.example.json +56 -0
  274. package/scripts/bongos/seed-tasks.js +222 -0
  275. package/scripts/bongos/seed-verify-criteria.js +1 -2
  276. package/scripts/bongos/ship-finish.js +2 -0
  277. package/scripts/bongos/ship-resume.js +2 -0
  278. package/scripts/bongos/strand-lease.js +250 -0
  279. package/scripts/bongos/strand-watch.js +26 -5
  280. package/scripts/bongos/version-literal-guard.js +2 -2
  281. package/scripts/discord/post.js +4 -3
  282. package/scripts/gds/seed-tasks.js +7 -0
  283. package/scripts/gds/{build-bongos.js → strand-lease.js} +3 -3
  284. package/scripts/hall-preview/server.js +21 -0
  285. package/src/bongos/auth-config.js +29 -1
  286. package/src/bongos/auth-discord.js +3 -3
  287. package/src/bongos/auth-github.js +3 -6
  288. package/src/bongos/auth-google.js +217 -0
  289. package/src/bongos/device-approval.js +140 -0
  290. package/src/bongos/llm-pricing.js +17 -1
  291. package/src/bongos/metrics.js +48 -2
  292. package/src/bongos/middleware/rate-limit.js +30 -11
  293. package/src/bongos/module-scope-map.js +12 -1
  294. package/src/bongos/optimizer.js +15 -1
  295. package/src/bongos/payout-approvals.js +342 -0
  296. package/src/bongos/payout-gates.js +364 -0
  297. package/src/bongos/prelaunch-gate.js +7 -9
  298. package/src/bongos/prelaunch-switch.js +20 -0
  299. package/src/bongos/route-rank-check.js +7 -0
  300. package/src/bongos/routes/auth-google.js +246 -0
  301. package/src/bongos/routes/auth.js +38 -1
  302. package/src/bongos/routes/backup.js +33 -9
  303. package/src/bongos/routes/builders.js +57 -30
  304. package/src/bongos/routes/github.js +9 -0
  305. package/src/bongos/routes/me.js +18 -0
  306. package/src/bongos/routes/my-payouts.js +133 -0
  307. package/src/bongos/routes/payout-approvals.js +312 -0
  308. package/src/bongos/routes/payout-gates.js +179 -0
  309. package/src/bongos/routes.js +15 -1
  310. package/src/bongos/secret-box.js +18 -3
  311. package/src/bongos/serve-internal.js +47 -19
  312. package/src/bongos/sign-in-pages.js +138 -0
  313. package/src/bongos/task-needs.js +146 -0
  314. package/src/bongos-downloads.js +18 -1
  315. package/src/instance-config.js +28 -0
  316. package/src/module-api.js +14 -1
  317. package/tests/access_holders.mjs +214 -0
  318. package/tests/account_logins.mjs +326 -0
  319. package/tests/account_logins_db.mjs +161 -0
  320. package/tests/ai_studio_billing.mjs +253 -0
  321. package/tests/ai_studio_generate.mjs +282 -0
  322. package/tests/ai_studio_keys.mjs +159 -0
  323. package/tests/ai_studio_requests.mjs +319 -0
  324. package/tests/auth_backchannel_logout_route.mjs +201 -0
  325. package/tests/auto_satisfy_criteria.mjs +10 -1
  326. package/tests/autobongos_tweak_lane.mjs +144 -0
  327. package/tests/autobongos_tweak_pin_identity.mjs +137 -0
  328. package/tests/backfill_subagent_rewards.mjs +17 -1
  329. package/tests/backup_trigger_lock.mjs +119 -0
  330. package/tests/blockers_people.mjs +198 -0
  331. package/tests/bounded_rate_maps.mjs +184 -0
  332. package/tests/claimable_blocker_status.mjs +1 -1
  333. package/tests/claims_batch_routes.mjs +421 -0
  334. package/tests/config_read_cache.mjs +171 -0
  335. package/tests/copy_desk_page_editor.mjs +12 -0
  336. package/tests/cost_write_guard.mjs +200 -0
  337. package/tests/craft_achievements.mjs +33 -10
  338. package/tests/criterion_goal_attach.mjs +1 -1
  339. package/tests/db_backup_nightly.mjs +73 -1
  340. package/tests/deploy_divergence_line.mjs +7 -0
  341. package/tests/effective_visibility_predicate.mjs +12 -0
  342. package/tests/fitness.mjs +19 -0
  343. package/tests/fixtures/seed-tasks/bongos-v1-idea-routing.json +256 -0
  344. package/tests/fixtures/seed-tasks/bv1-profiles.json +592 -0
  345. package/tests/fixtures/seed-tasks/bv2-ideator-surface.json +373 -0
  346. package/tests/fixtures/seed-tasks/fake-api.mjs +80 -0
  347. package/tests/github_one_trip.mjs +34 -0
  348. package/tests/github_repo_visibility.mjs +20 -0
  349. package/tests/goal_achievement.mjs +30 -1
  350. package/tests/goal_achievement_reward.mjs +205 -0
  351. package/tests/goal_sort_staleness.mjs +2 -1
  352. package/tests/goal_tier.mjs +11 -1
  353. package/tests/google_fonts_nonblocking.mjs +84 -0
  354. package/tests/google_sign_in.mjs +401 -0
  355. package/tests/government_board_expiry.mjs +94 -0
  356. package/tests/government_board_membership.mjs +4 -1
  357. package/tests/government_protected_surfaces.mjs +1 -1
  358. package/tests/government_routes.mjs +1 -1
  359. package/tests/government_seed.mjs +1 -0
  360. package/tests/hall_ai_studio.mjs +347 -0
  361. package/tests/hall_page_gate_map.mjs +3 -0
  362. package/tests/hall_studio_home.mjs +61 -2
  363. package/tests/home_attention_cards.mjs +1 -1
  364. package/tests/human_signal.mjs +141 -0
  365. package/tests/install_script_reader.mjs +51 -0
  366. package/tests/integration_fixture_ids.mjs +82 -0
  367. package/tests/invite_expiry_db.mjs +13 -1
  368. package/tests/lib_sh_resolution.mjs +0 -4
  369. package/tests/market_watch_data.mjs +244 -0
  370. package/tests/market_watch_data_db.mjs +308 -0
  371. package/tests/market_watch_module.mjs +114 -0
  372. package/tests/market_watch_run.mjs +503 -0
  373. package/tests/metrics.mjs +124 -0
  374. package/tests/migration_namespace.mjs +14 -0
  375. package/tests/module_api.mjs +2 -0
  376. package/tests/module_loader.mjs +1 -1
  377. package/tests/notes.mjs +182 -0
  378. package/tests/own_scope_guard.mjs +5 -0
  379. package/tests/page_tweak_marker_sql.mjs +76 -0
  380. package/tests/page_tweak_no_block.mjs +135 -0
  381. package/tests/page_tweak_notice.mjs +103 -0
  382. package/tests/payout_approvals.mjs +253 -0
  383. package/tests/payout_approvals_db.mjs +106 -0
  384. package/tests/payout_gates.mjs +322 -0
  385. package/tests/payout_gates_db.mjs +113 -0
  386. package/tests/planning_session_skill.mjs +13 -3
  387. package/tests/project_settings_page.mjs +29 -5
  388. package/tests/project_settings_spend_cap_route.mjs +235 -0
  389. package/tests/promotion_sweep.mjs +29 -1
  390. package/tests/provision.mjs +3 -2
  391. package/tests/provisioning_app_status.mjs +18 -0
  392. package/tests/provisioning_credential_preflight.mjs +53 -0
  393. package/tests/provisioning_env_manifest_edit_delete.mjs +223 -0
  394. package/tests/publish_reconciler_overlap.mjs +60 -0
  395. package/tests/rank_change_broadcast_port.mjs +151 -0
  396. package/tests/seed_tasks.mjs +176 -0
  397. package/tests/seed_verify_criteria.mjs +2 -6
  398. package/tests/site_classified_once.mjs +142 -0
  399. package/tests/speciality_db_shape.mjs +23 -0
  400. package/tests/speciality_session_skills.mjs +48 -2
  401. package/tests/strand_lease.mjs +249 -0
  402. package/tests/strand_watch.mjs +10 -0
  403. package/tests/task_criteria_routes.mjs +275 -0
  404. package/tests/task_criteria_unlink_db.mjs +123 -0
  405. package/tests/task_needs.mjs +233 -0
  406. package/tests/task_needs_db.mjs +110 -0
  407. package/tests/unit_runner_serial.mjs +266 -43
  408. package/tests/version_literals.mjs +5 -7
  409. package/tests/welcome_boot.mjs +16 -5
  410. package/tests/welcome_boot_browser.mjs +36 -4
  411. package/docs/recipes/bongos-cli-release.md +0 -66
  412. package/scripts/bongos/backfill-disciplines.js +0 -144
  413. package/scripts/bongos/backfill-session-earnings.js +0 -123
  414. package/scripts/bongos/backfill-session-types.js +0 -87
  415. package/scripts/bongos/build-bongos.js +0 -94
  416. package/scripts/bongos/cleanup-orphans.js +0 -74
  417. package/scripts/bongos/seed-bongos-v1-idea-routing-tasks.js +0 -152
  418. package/scripts/bongos/seed-bv1-profiles-tasks.js +0 -135
  419. package/scripts/bongos/seed-bv2-ideator-surface-tasks.js +0 -390
  420. package/scripts/bongos/smoke-batch-claim.sh +0 -238
  421. package/scripts/bongos/smoke-batch-release.sh +0 -316
  422. package/scripts/bongos/smoke-claim-consistency.sh +0 -222
  423. package/scripts/bongos/smoke-dependencies.sh +0 -143
  424. package/scripts/gds/backfill-disciplines.js +0 -7
  425. package/scripts/gds/backfill-session-earnings.js +0 -7
  426. package/scripts/gds/backfill-session-types.js +0 -7
  427. package/scripts/gds/cleanup-orphans.js +0 -7
  428. package/scripts/gds/seed-bongos-v1-idea-routing-tasks.js +0 -6
  429. package/scripts/gds/seed-bv1-profiles-tasks.js +0 -6
  430. package/scripts/gds/seed-bv2-ideator-surface-tasks.js +0 -6
  431. package/scripts/gds/smoke-batch-claim.sh +0 -8
  432. package/scripts/gds/smoke-batch-release.sh +0 -8
  433. package/scripts/gds/smoke-claim-consistency.sh +0 -8
  434. package/scripts/gds/smoke-dependencies.sh +0 -8
  435. package/tests/smoke_dependencies_witness.mjs +0 -46
@@ -124,8 +124,30 @@ function createClient(opts = {}) {
124
124
  postAgentsNameInvoke: (args) => request("POST", "/agents/{name}/invoke", { hasBody: true }, args),
125
125
  },
126
126
  "aiStudio": {
127
+ // GET /ai-studio/balance — rank: any-builder — GET /ai-studio/balance
128
+ getAiStudioBalance: (args) => request("GET", "/ai-studio/balance", { hasBody: false }, args),
129
+ // GET /ai-studio/files/{id} — rank: any-builder — GET /ai-studio/files/:id
130
+ getAiStudioFilesId: (args) => request("GET", "/ai-studio/files/{id}", { hasBody: false }, args),
131
+ // GET /ai-studio/keys — rank: any-builder — GET /ai-studio/keys
132
+ getAiStudioKeys: (args) => request("GET", "/ai-studio/keys", { hasBody: false }, args),
133
+ // DELETE /ai-studio/keys/{provider} — rank: any-builder — DELETE /ai-studio/keys/:provider
134
+ deleteAiStudioKeysProvider: (args) => request("DELETE", "/ai-studio/keys/{provider}", { hasBody: false }, args),
135
+ // PUT /ai-studio/keys/{provider} — rank: any-builder — PUT /ai-studio/keys/:provider
136
+ putAiStudioKeysProvider: (args) => request("PUT", "/ai-studio/keys/{provider}", { hasBody: true }, args),
137
+ // GET /ai-studio/requests — rank: any-builder — GET /ai-studio/requests
138
+ getAiStudioRequests: (args) => request("GET", "/ai-studio/requests", { hasBody: false }, args),
139
+ // POST /ai-studio/requests — rank: any-builder — POST /ai-studio/requests
140
+ postAiStudioRequests: (args) => request("POST", "/ai-studio/requests", { hasBody: true }, args),
141
+ // GET /ai-studio/requests/{id} — rank: any-builder — GET /ai-studio/requests/:id
142
+ getAiStudioRequestsId: (args) => request("GET", "/ai-studio/requests/{id}", { hasBody: false }, args),
127
143
  // GET /ai-studio/status — rank: any-builder — GET /ai-studio/status
128
144
  getAiStudioStatus: (args) => request("GET", "/ai-studio/status", { hasBody: false }, args),
145
+ // POST /ai-studio/topup — rank: any-builder — POST /ai-studio/topup
146
+ postAiStudioTopup: (args) => request("POST", "/ai-studio/topup", { hasBody: true }, args),
147
+ // GET /ai-studio/topup/quote — rank: any-builder — GET /ai-studio/topup/quote
148
+ getAiStudioTopupQuote: (args) => request("GET", "/ai-studio/topup/quote", { hasBody: false }, args),
149
+ // POST /ai-studio/uploads — rank: any-builder — POST /ai-studio/uploads
150
+ postAiStudioUploads: (args) => request("POST", "/ai-studio/uploads", { hasBody: true }, args),
129
151
  },
130
152
  "analytics": {
131
153
  // GET /analytics/builder/{id} — rank: any-builder — GET /analytics/builder/:id
@@ -144,6 +166,10 @@ function createClient(opts = {}) {
144
166
  postAuthBackchannelLogout: (args) => request("POST", "/auth/backchannel-logout", { hasBody: true }, args),
145
167
  // POST /auth/cli-token/issue — rank: any-builder — POST /auth/cli-token/issue
146
168
  postAuthCliTokenIssue: (args) => request("POST", "/auth/cli-token/issue", { hasBody: true }, args),
169
+ // GET /auth/device — rank: public — GET /auth/device
170
+ getAuthDevice: (args) => request("GET", "/auth/device", { hasBody: false }, args),
171
+ // POST /auth/device/approve — rank: any-builder — POST /auth/device/approve
172
+ postAuthDeviceApprove: (args) => request("POST", "/auth/device/approve", { hasBody: true }, args),
147
173
  // POST /auth/device/exchange — rank: public — POST /auth/device/exchange
148
174
  postAuthDeviceExchange: (args) => request("POST", "/auth/device/exchange", { hasBody: true }, args),
149
175
  // POST /auth/device/poll — rank: public — POST /auth/device/poll
@@ -156,6 +182,10 @@ function createClient(opts = {}) {
156
182
  getAuthDiscordStart: (args) => request("GET", "/auth/discord/start", { hasBody: false }, args),
157
183
  // POST /auth/discord/unlink — rank: any-builder — POST /auth/discord/unlink
158
184
  postAuthDiscordUnlink: (args) => request("POST", "/auth/discord/unlink", { hasBody: true }, args),
185
+ // GET /auth/google/callback — rank: public — GET /auth/google/callback
186
+ getAuthGoogleCallback: (args) => request("GET", "/auth/google/callback", { hasBody: false }, args),
187
+ // GET /auth/google/start — rank: public — GET /auth/google/start
188
+ getAuthGoogleStart: (args) => request("GET", "/auth/google/start", { hasBody: false }, args),
159
189
  // POST /auth/logout — rank: any-builder — POST /auth/logout
160
190
  postAuthLogout: (args) => request("POST", "/auth/logout", { hasBody: true }, args),
161
191
  // POST /auth/revoke — rank: archon — POST /auth/revoke
@@ -232,6 +262,8 @@ function createClient(opts = {}) {
232
262
  getBuildersIdActivity: (args) => request("GET", "/builders/{id}/activity", { hasBody: false }, args),
233
263
  // PATCH /builders/{id}/budget — rank: metic+archon — PATCH /builders/:id/budget
234
264
  patchBuildersIdBudget: (args) => request("PATCH", "/builders/{id}/budget", { hasBody: true }, args),
265
+ // PATCH /builders/{id}/capabilities — rank: archon — PATCH /builders/:id/capabilities
266
+ patchBuildersIdCapabilities: (args) => request("PATCH", "/builders/{id}/capabilities", { hasBody: true }, args),
235
267
  // GET /builders/{id}/onboarding — rank: public — GET /builders/:id/onboarding
236
268
  getBuildersIdOnboarding: (args) => request("GET", "/builders/{id}/onboarding", { hasBody: false }, args),
237
269
  // GET /builders/{id}/profile — rank: public — GET /builders/:id/profile
@@ -508,6 +540,12 @@ function createClient(opts = {}) {
508
540
  getGoalsSuggestions: (args) => request("GET", "/goals/suggestions", { hasBody: false }, args),
509
541
  },
510
542
  "government": {
543
+ // GET /government/access — rank: any-builder — GET /government/access
544
+ getGovernmentAccess: (args) => request("GET", "/government/access", { hasBody: false }, args),
545
+ // POST /government/access/{accessKey}/holders — rank: archon — POST /government/access/:accessKey/holders
546
+ postGovernmentAccessAccessKeyHolders: (args) => request("POST", "/government/access/{accessKey}/holders", { hasBody: true }, args),
547
+ // DELETE /government/access/{accessKey}/holders/{builderId} — rank: archon — DELETE /government/access/:accessKey/holders/:builderId
548
+ deleteGovernmentAccessAccessKeyHoldersBuilderId: (args) => request("DELETE", "/government/access/{accessKey}/holders/{builderId}", { hasBody: false }, args),
511
549
  // PUT /government/asks/{matterId} — rank: any-builder — PUT /government/asks/:matterId
512
550
  putGovernmentAsksMatterId: (args) => request("PUT", "/government/asks/{matterId}", { hasBody: true }, args),
513
551
  // POST /government/asks/{matterId}/pass — rank: any-builder — POST /government/asks/:matterId/pass
@@ -524,6 +562,10 @@ function createClient(opts = {}) {
524
562
  postGovernmentAssignments: (args) => request("POST", "/government/assignments", { hasBody: true }, args),
525
563
  // DELETE /government/assignments/{builderId}/{rankKey} — rank: archon — DELETE /government/assignments/:builderId/:rankKey
526
564
  deleteGovernmentAssignmentsBuilderIdRankKey: (args) => request("DELETE", "/government/assignments/{builderId}/{rankKey}", { hasBody: false }, args),
565
+ // GET /government/blockers/for-me — rank: any-builder — GET /government/blockers/for-me
566
+ getGovernmentBlockersForMe: (args) => request("GET", "/government/blockers/for-me", { hasBody: false }, args),
567
+ // GET /government/blockers/people — rank: any-builder — GET /government/blockers/people
568
+ getGovernmentBlockersPeople: (args) => request("GET", "/government/blockers/people", { hasBody: false }, args),
527
569
  // POST /government/board/charter — rank: metic+archon — POST /government/board/charter
528
570
  postGovernmentBoardCharter: (args) => request("POST", "/government/board/charter", { hasBody: true }, args),
529
571
  // POST /government/board/decision-rules — rank: metic+archon — POST /government/board/decision-rules
@@ -744,6 +786,8 @@ function createClient(opts = {}) {
744
786
  deleteMeFilterViewsId: (args) => request("DELETE", "/me/filter-views/{id}", { hasBody: false }, args),
745
787
  // PATCH /me/filter-views/{id} — rank: any-builder — PATCH /me/filter-views/:id
746
788
  patchMeFilterViewsId: (args) => request("PATCH", "/me/filter-views/{id}", { hasBody: true }, args),
789
+ // POST /me/guardian-cosigns — rank: any-builder — POST /me/guardian-cosigns
790
+ postMeGuardianCosigns: (args) => request("POST", "/me/guardian-cosigns", { hasBody: true }, args),
747
791
  // GET /me/guild-engagements — rank: any-builder — GET /me/guild-engagements
748
792
  getMeGuildEngagements: (args) => request("GET", "/me/guild-engagements", { hasBody: false }, args),
749
793
  // GET /me/guild-requests — rank: any-builder — GET /me/guild-requests
@@ -778,6 +822,12 @@ function createClient(opts = {}) {
778
822
  postMePasskeysRemove: (args) => request("POST", "/me/passkeys/remove", { hasBody: true }, args),
779
823
  // POST /me/passkeys/rename — rank: any-builder — POST /me/passkeys/rename
780
824
  postMePasskeysRename: (args) => request("POST", "/me/passkeys/rename", { hasBody: true }, args),
825
+ // POST /me/payout-age — rank: any-builder — POST /me/payout-age
826
+ postMePayoutAge: (args) => request("POST", "/me/payout-age", { hasBody: true }, args),
827
+ // POST /me/payout-freezes/{id}/appeal — rank: any-builder — POST /me/payout-freezes/:id/appeal
828
+ postMePayoutFreezesIdAppeal: (args) => request("POST", "/me/payout-freezes/{id}/appeal", { hasBody: true }, args),
829
+ // GET /me/payouts — rank: any-builder — GET /me/payouts
830
+ getMePayouts: (args) => request("GET", "/me/payouts", { hasBody: false }, args),
781
831
  // PATCH /me/profile — rank: any-builder — PATCH /me/profile
782
832
  patchMeProfile: (args) => request("PATCH", "/me/profile", { hasBody: true }, args),
783
833
  // GET /me/profile-nudge — rank: any-builder — GET /me/profile-nudge
@@ -796,6 +846,8 @@ function createClient(opts = {}) {
796
846
  postMeSessionsRevoke: (args) => request("POST", "/me/sessions/revoke", { hasBody: true }, args),
797
847
  // POST /me/sessions/revoke-all — rank: any-builder — POST /me/sessions/revoke-all
798
848
  postMeSessionsRevokeAll: (args) => request("POST", "/me/sessions/revoke-all", { hasBody: true }, args),
849
+ // GET /me/sign-in-methods — rank: any-builder — GET /me/sign-in-methods
850
+ getMeSignInMethods: (args) => request("GET", "/me/sign-in-methods", { hasBody: false }, args),
799
851
  // GET /me/skill-prefs — rank: any-builder — GET /me/skill-prefs
800
852
  getMeSkillPrefs: (args) => request("GET", "/me/skill-prefs", { hasBody: false }, args),
801
853
  // PATCH /me/skill-prefs — rank: any-builder — PATCH /me/skill-prefs
@@ -875,6 +927,16 @@ function createClient(opts = {}) {
875
927
  // POST /my-projects/join — rank: any-builder — POST /my-projects/join
876
928
  postMyProjectsJoin: (args) => request("POST", "/my-projects/join", { hasBody: true }, args),
877
929
  },
930
+ "notes": {
931
+ // GET /notes — rank: any-builder — GET /notes
932
+ getNotes: (args) => request("GET", "/notes", { hasBody: false }, args),
933
+ // POST /notes — rank: any-builder — POST /notes
934
+ postNotes: (args) => request("POST", "/notes", { hasBody: true }, args),
935
+ // DELETE /notes/{id} — rank: any-builder — DELETE /notes/:id
936
+ deleteNotesId: (args) => request("DELETE", "/notes/{id}", { hasBody: false }, args),
937
+ // PATCH /notes/{id} — rank: any-builder — PATCH /notes/:id
938
+ patchNotesId: (args) => request("PATCH", "/notes/{id}", { hasBody: true }, args),
939
+ },
878
940
  "npmRelease": {
879
941
  // DELETE /npm-release/preview — rank: any-builder — DELETE /npm-release/preview
880
942
  deleteNpmReleasePreview: (args) => request("DELETE", "/npm-release/preview", { hasBody: false }, args),
@@ -921,6 +983,40 @@ function createClient(opts = {}) {
921
983
  // GET /page-notes/site — rank: any-builder — GET /page-notes/site
922
984
  getPageNotesSite: (args) => request("GET", "/page-notes/site", { hasBody: false }, args),
923
985
  },
986
+ "payouts": {
987
+ // POST /payouts/age-records — rank: archon — POST /payouts/age-records
988
+ postPayoutsAgeRecords: (args) => request("POST", "/payouts/age-records", { hasBody: true }, args),
989
+ // GET /payouts/approvals — rank: archon — GET /payouts/approvals
990
+ getPayoutsApprovals: (args) => request("GET", "/payouts/approvals", { hasBody: false }, args),
991
+ // POST /payouts/approve — rank: archon — POST /payouts/approve
992
+ postPayoutsApprove: (args) => request("POST", "/payouts/approve", { hasBody: true }, args),
993
+ // POST /payouts/contracts — rank: archon — POST /payouts/contracts
994
+ postPayoutsContracts: (args) => request("POST", "/payouts/contracts", { hasBody: true }, args),
995
+ // POST /payouts/freezes — rank: archon — POST /payouts/freezes
996
+ postPayoutsFreezes: (args) => request("POST", "/payouts/freezes", { hasBody: true }, args),
997
+ // POST /payouts/freezes/{id}/decide — rank: archon — POST /payouts/freezes/:id/decide
998
+ postPayoutsFreezesIdDecide: (args) => request("POST", "/payouts/freezes/{id}/decide", { hasBody: true }, args),
999
+ // GET /payouts/gates/{builderId} — rank: archon — GET /payouts/gates/:builderId
1000
+ getPayoutsGatesBuilderId: (args) => request("GET", "/payouts/gates/{builderId}", { hasBody: false }, args),
1001
+ // POST /payouts/grants — rank: archon — POST /payouts/grants
1002
+ postPayoutsGrants: (args) => request("POST", "/payouts/grants", { hasBody: true }, args),
1003
+ // POST /payouts/guardians — rank: archon — POST /payouts/guardians
1004
+ postPayoutsGuardians: (args) => request("POST", "/payouts/guardians", { hasBody: true }, args),
1005
+ // GET /payouts/rules — rank: archon — GET /payouts/rules
1006
+ getPayoutsRules: (args) => request("GET", "/payouts/rules", { hasBody: false }, args),
1007
+ // POST /payouts/rules — rank: archon — POST /payouts/rules
1008
+ postPayoutsRules: (args) => request("POST", "/payouts/rules", { hasBody: true }, args),
1009
+ // POST /payouts/rules/{id}/narrow — rank: archon — POST /payouts/rules/:id/narrow
1010
+ postPayoutsRulesIdNarrow: (args) => request("POST", "/payouts/rules/{id}/narrow", { hasBody: true }, args),
1011
+ // POST /payouts/rules/{id}/revoke — rank: archon — POST /payouts/rules/:id/revoke
1012
+ postPayoutsRulesIdRevoke: (args) => request("POST", "/payouts/rules/{id}/revoke", { hasBody: true }, args),
1013
+ // POST /payouts/rules/{id}/runs — rank: archon — POST /payouts/rules/:id/runs
1014
+ postPayoutsRulesIdRuns: (args) => request("POST", "/payouts/rules/{id}/runs", { hasBody: true }, args),
1015
+ // POST /payouts/rules/{id}/runs/{runKey}/hold — rank: archon — POST /payouts/rules/:id/runs/:runKey/hold
1016
+ postPayoutsRulesIdRunsRunKeyHold: (args) => request("POST", "/payouts/rules/{id}/runs/{runKey}/hold", { hasBody: true }, args),
1017
+ // POST /payouts/screenings — rank: archon — POST /payouts/screenings
1018
+ postPayoutsScreenings: (args) => request("POST", "/payouts/screenings", { hasBody: true }, args),
1019
+ },
924
1020
  "profiles": {
925
1021
  // GET /profiles/{handle} — rank: public — GET /profiles/:handle
926
1022
  getProfilesHandle: (args) => request("GET", "/profiles/{handle}", { hasBody: false }, args),
@@ -6,6 +6,7 @@ export declare const DEFAULT_BASE_URL: string;
6
6
  // Request-body + shared types, generated from the OpenAPI components.schemas.
7
7
  export interface ApiErrorObject { code: string; message: string; details?: unknown }
8
8
  export interface DeleteAgentsNameResponse { ok: boolean; deleted: unknown }
9
+ export interface DeleteAiStudioKeysProviderResponse { key: unknown; removed: unknown }
9
10
  export interface DeleteBlockersIdLinkTaskIdResponse { ok: boolean; unlinked: boolean; released: unknown }
10
11
  export interface DeleteConnectionsIdResponse { outcome: unknown }
11
12
  export interface DeleteDependenciesResponse { ok: boolean }
@@ -19,6 +20,7 @@ export interface DeleteGuildsSlugResponse { outcome: unknown }
19
20
  export interface DeleteInboxIdSparkResponse { idea: unknown; sparked: boolean; unchanged: boolean }
20
21
  export interface DeleteMeFilterViewsIdResponse { page: unknown; views: unknown }
21
22
  export interface DeleteMemoryFileResponse { deleted: boolean; builder_id: unknown; path: unknown }
23
+ export interface DeleteNotesIdResponse { ok: boolean }
22
24
  export interface DeleteProvisioningInstancesIdEnvManifestVarIdResponse { ok: boolean; removed: boolean; message: unknown }
23
25
  export interface DeleteSpecialitiesIdDocumentsDocIdResponse { ok: boolean }
24
26
  export interface DeleteTasksIdCriteriaCriterionIdResponse { ok: boolean; removed: unknown }
@@ -33,7 +35,12 @@ export interface GetAchievementsResponse { achievements: unknown }
33
35
  export interface GetAgentRunsIdResponse { ok: boolean; run: unknown }
34
36
  export interface GetAgentsNameResponse { ok: boolean; agent: unknown }
35
37
  export interface GetAgentsResponse { ok: boolean; agents: unknown; counts: unknown; vocabulary: unknown }
38
+ export interface GetAiStudioBalanceResponse { payments: unknown; test_mode: boolean; price_multiplier: unknown; max_cost_micro: unknown; balance: unknown; ledger: unknown }
39
+ export interface GetAiStudioKeysResponse { storage_configured: unknown; keys: unknown }
40
+ export interface GetAiStudioRequestsIdResponse { request: unknown }
41
+ export interface GetAiStudioRequestsResponse { requests: unknown }
36
42
  export interface GetAiStudioStatusResponse { ok: boolean; module: unknown }
43
+ export interface GetAiStudioTopupQuoteResponse { quote: unknown; min_micro: unknown; max_micro: unknown }
37
44
  export interface GetArtistGateResponse { ok: boolean; mode: unknown; since: unknown; holds: boolean; truncated: unknown; reviews: unknown; halt: unknown }
38
45
  export interface GetAuditLogResponse { rows: unknown; page: unknown }
39
46
  export interface GetAuthWebAdmissionStatusResponse { admitted: boolean }
@@ -111,6 +118,7 @@ export interface GetMeGuildsResponse { guilds: unknown; count: unknown }
111
118
  export interface GetMePasskeysResponse { passkeys: unknown }
112
119
  export interface GetMeRecentShipsResponse { ships: unknown; total: unknown }
113
120
  export interface GetMeSessionsResponse { sessions: unknown }
121
+ export interface GetMeSignInMethodsResponse { methods: unknown; providers: unknown }
114
122
  export interface GetMeSkillPrefsResponse { prefs: unknown; effective: unknown; defaults: unknown; known_skills: unknown; allowed_models: unknown }
115
123
  export interface GetMeSoundPrefsResponse { prefs: unknown; effective: unknown; effective_map: unknown; volume: unknown; defaults: unknown; known_sounds: unknown }
116
124
  export interface GetMeSpecialitiesResponse { adoptions: unknown }
@@ -125,11 +133,15 @@ export interface GetModulesResponse { modules: unknown; scope: unknown; own_buil
125
133
  export interface GetModulesSubmissionsResponse { submissions: unknown }
126
134
  export interface GetMyProjectsInvitesResponse { invites: unknown }
127
135
  export interface GetMyProjectsResponse { owned: unknown; building: unknown; applied: unknown }
136
+ export interface GetNotesResponse { count: unknown; groups: unknown; kinds: unknown }
128
137
  export interface GetOverrideRequestsResponse { requests: unknown }
129
138
  export interface GetPageNotesIdResponse { note: unknown; images: unknown; ideas: unknown }
130
139
  export interface GetPageNotesIdeasResponse { page_path: unknown; ideas: unknown }
131
140
  export interface GetPageNotesResponse { page_id: unknown; notes: unknown }
132
141
  export interface GetPageNotesSiteResponse { notes: unknown }
142
+ export interface GetPayoutsApprovalsResponse { approvals: unknown }
143
+ export interface GetPayoutsGatesBuilderIdResponse { gate: unknown }
144
+ export interface GetPayoutsRulesResponse { rules: unknown }
133
145
  export interface GetProfilesHandleResponse { account: unknown; cross_project: unknown }
134
146
  export interface GetProjectManageLinkResponse { ok: boolean; link: unknown }
135
147
  export interface GetProjectSettingsResponse { rows: unknown }
@@ -209,6 +221,8 @@ export interface PatchAccessRequestsIdResponse { ok: boolean; request: unknown;
209
221
  export interface PatchAgentsNameResponse { ok: boolean; agent: unknown }
210
222
  export interface PatchBuildersIdBudgetRequest { monthly_budget_usd?: unknown }
211
223
  export interface PatchBuildersIdBudgetResponse { builder: unknown }
224
+ export interface PatchBuildersIdCapabilitiesRequest { server: boolean }
225
+ export interface PatchBuildersIdCapabilitiesResponse { builder: unknown }
212
226
  export interface PatchBuildersIdRankRequest { rank: string }
213
227
  export interface PatchBuildersIdRankResponse { builder: unknown; previous_rank: unknown; direction: unknown; credit_delta: unknown; broadcast: unknown }
214
228
  export interface PatchBuildersIdStatusRequest { status: "active" | "inactive"; reason?: string }
@@ -243,6 +257,8 @@ export interface PatchMeProfileRequest { display_name?: unknown; bio?: unknown;
243
257
  export interface PatchMeProfileResponse { display_name: unknown; bio: unknown; links: unknown }
244
258
  export interface PatchMeSkillPrefsResponse { prefs: unknown; effective: unknown; defaults: unknown; known_skills: unknown; allowed_models: unknown }
245
259
  export interface PatchMeSoundPrefsResponse { prefs: unknown; effective: unknown; effective_map: unknown; volume: unknown; defaults: unknown; known_sounds: unknown }
260
+ export interface PatchNotesIdRequest { kind: string }
261
+ export interface PatchNotesIdResponse { ok: boolean; note: unknown }
246
262
  export interface PatchPageNotesIdRequest { body_md: string }
247
263
  export interface PatchPageNotesIdResponse { ok: boolean; updated_at: unknown }
248
264
  export interface PatchProjectSettingsRotDaysRequest { days: number }
@@ -266,7 +282,7 @@ export interface PatchSpecialitiesIdRequest { name?: string; summary?: string; c
266
282
  export interface PatchSpecialitiesIdResponse { speciality: unknown }
267
283
  export interface PatchTaskRecommendationsIdRequest { status: "declined" | "withdrawn" }
268
284
  export interface PatchTaskRecommendationsIdResponse { ok: boolean; recommendation: unknown }
269
- export interface PatchTasksIdRequest { kind?: string; discipline?: string; requires_rank?: string; module_key?: string; goal_id?: number; parent_task_id?: StringifiableId; parallel_safe?: unknown; newcomer_friendly?: boolean; xenos_claimable?: boolean; security_sensitive?: boolean; automation_tag?: string; needs_migration?: boolean; description?: string; title?: string; priority?: unknown; value_summary?: string; status?: unknown }
285
+ export interface PatchTasksIdRequest { kind?: string; discipline?: string; requires_rank?: string; module_key?: string; goal_id?: number; parent_task_id?: StringifiableId; parallel_safe?: unknown; newcomer_friendly?: boolean; xenos_claimable?: boolean; security_sensitive?: boolean; automation_tag?: string; needs?: unknown; needs_migration?: boolean; description?: string; title?: string; priority?: unknown; value_summary?: string; status?: unknown }
270
286
  export interface PostAccessRequestsInviteRequest { github_login: string; note?: string }
271
287
  export interface PostAccessRequestsInviteResponse { ok: boolean; already_invited?: boolean; github_login?: unknown; request?: unknown }
272
288
  export interface PostAccessRequestsRequest { github_login: string; display_name?: string; note?: string }
@@ -276,9 +292,16 @@ export interface PostAgentsNameEnableResponse { ok: boolean; agent: unknown }
276
292
  export interface PostAgentsNameInvokeRequest { input?: string }
277
293
  export interface PostAgentsNameInvokeResponse { ok: boolean; run_id: unknown; poll: unknown; message: unknown }
278
294
  export interface PostAgentsResponse { ok: boolean; agent: unknown }
295
+ export interface PostAiStudioRequestsRequest { prompt: string; file_ids: unknown[]; pay_with?: "own" | "ours" }
296
+ export interface PostAiStudioRequestsResponse { request: unknown }
297
+ export interface PostAiStudioTopupRequest { amount_usd: number }
298
+ export interface PostAiStudioTopupResponse { topup: unknown; balance: unknown }
299
+ export interface PostAiStudioUploadsRequest { content_type: string; data: string; name?: string }
300
+ export interface PostAiStudioUploadsResponse { file: unknown }
279
301
  export interface PostAuthBackchannelLogoutRequest { logout_token: string }
280
302
  export interface PostAuthBackchannelLogoutResponse { ok: boolean }
281
303
  export interface PostAuthCliTokenIssueResponse { ok: boolean; token: unknown; expires_at: unknown; builder_login: unknown; api_base: unknown; paste_command: unknown }
304
+ export interface PostAuthDeviceApproveRequest { user_code: string; decision: "approve" | "deny" }
282
305
  export interface PostAuthDeviceExchangeRequest { assertion: string }
283
306
  export interface PostAuthDeviceExchangeResponse { token: unknown; builder: unknown }
284
307
  export interface PostAuthDevicePollRequest { device_code: string }
@@ -309,7 +332,7 @@ export interface PostClaimsBatchValidateRequest { task_ids: unknown[] }
309
332
  export interface PostClaimsIdReleaseOnBehalfRequest { reason: string }
310
333
  export interface PostClaimsIdResolveRequest { outcome: "shipped" | "abandoned" | "partial"; notes_md?: string; value_summary?: string; verification?: Record<string, unknown>; force?: boolean; committed_files?: string[]; sandbox_review?: Record<string, unknown>; resolver_worktree?: string }
311
334
  export interface PostClaimsRequest { task_id: StringifiableId; worktree_name?: string; head_sha?: string; bind_session?: boolean; enforce_touches?: boolean; auto_pickup?: boolean }
312
- export interface PostClaimsResponse { claim: unknown; task: unknown; just_unlocked: unknown; overlap_warning: unknown; sibling_overlap_warning: unknown; reward: unknown }
335
+ export interface PostClaimsResponse { claim: unknown; task: unknown; just_unlocked: unknown; overlap_warning: unknown; sibling_overlap_warning: unknown; page_notice: unknown; reward: unknown }
313
336
  export interface PostConnectionsIdAcceptResponse { status: unknown }
314
337
  export interface PostConnectionsRequest { handle: string; note?: string }
315
338
  export interface PostConnectionsResponse { status: unknown }
@@ -369,7 +392,7 @@ export interface PostGoalsIdRequestsRequest { note?: string }
369
392
  export interface PostGoalsIdRequestsResponse { ok: boolean; request: unknown }
370
393
  export interface PostGoalsIdScopeRequest { add: string[] }
371
394
  export interface PostGoalsIdScopeResponse { ok: boolean; goal: unknown }
372
- export interface PostGoalsIdTasksRequest { title: string; description?: string; touches: string[]; est_minutes?: number; priority?: number; kind?: string; discipline?: string; value_summary?: string; parent_task_id?: number }
395
+ export interface PostGoalsIdTasksRequest { title: string; description?: string; touches: string[]; est_minutes?: number; priority?: number; kind?: string; discipline?: string; value_summary?: string; parent_task_id?: number; needs?: unknown }
373
396
  export interface PostGoalsIdTasksResponse { ok: boolean; task: unknown; goal_id: unknown; parent_task_id: unknown; credits_reward: unknown; requires_rank: unknown }
374
397
  export interface PostGoalsIdTransferRequest { builder_id?: StringifiableId }
375
398
  export interface PostGoalsIdTransferResponse { ok: boolean; goal: unknown; changed: boolean }
@@ -442,6 +465,8 @@ export interface PostMeAnthropicLinkRequest { anthropic_email: string; anthropic
442
465
  export interface PostMeAnthropicLinkResponse { linked: unknown }
443
466
  export interface PostMeFilterViewsRequest { page: string; name: string; values: Record<string, unknown>; is_default?: boolean }
444
467
  export interface PostMeFilterViewsResponse { page: unknown; view: unknown; views: unknown }
468
+ export interface PostMeGuardianCosignsRequest { approval_id?: StringifiableId; rule_id?: StringifiableId; run_key?: unknown }
469
+ export interface PostMeGuardianCosignsResponse { cosigns: unknown }
445
470
  export interface PostMeHowtoReadRequest { steps?: unknown[]; all?: boolean; how?: string }
446
471
  export interface PostMeHowtoResetRequest { steps?: unknown[]; all?: boolean }
447
472
  export interface PostMePasskeysRegisterOptionsResponse { options: unknown }
@@ -451,6 +476,10 @@ export interface PostMePasskeysRemoveRequest { credential_id?: StringifiableId }
451
476
  export interface PostMePasskeysRemoveResponse { ok: boolean }
452
477
  export interface PostMePasskeysRenameRequest { credential_id?: StringifiableId; nickname?: unknown }
453
478
  export interface PostMePasskeysRenameResponse { ok: boolean }
479
+ export interface PostMePayoutAgeRequest { tier: unknown }
480
+ export interface PostMePayoutAgeResponse { record: unknown }
481
+ export interface PostMePayoutFreezesIdAppealRequest { statement: unknown }
482
+ export interface PostMePayoutFreezesIdAppealResponse { event: unknown }
454
483
  export interface PostMeSessionsRevokeAllResponse { ok: boolean; revoked: unknown }
455
484
  export interface PostMeSessionsRevokeRequest { session_id?: StringifiableId }
456
485
  export interface PostMeSessionsRevokeResponse { ok: boolean; revoked: unknown }
@@ -471,6 +500,8 @@ export interface PostMyProjectsClientIdLeaveResponse { ok: boolean; left: unknow
471
500
  export interface PostMyProjectsInvitesClientIdDeclineResponse { ok: boolean; accepted: boolean }
472
501
  export interface PostMyProjectsJoinRequest { origin: string; note?: string; guild?: string }
473
502
  export interface PostMyProjectsJoinResponse { ok: boolean; status: unknown; project: unknown; message: unknown }
503
+ export interface PostNotesRequest { body: string; kind?: string; task_id?: number; goal_id?: number }
504
+ export interface PostNotesResponse { ok: boolean; note: unknown }
474
505
  export interface PostNpmReleasePreviewRequest { version: string }
475
506
  export interface PostNpmReleaseReleaseRequest { version: string }
476
507
  export interface PostOverrideRequestsIdDecideRequest { decision: string; note?: string }
@@ -481,6 +512,28 @@ export interface PostPageNotesIdeasRequest { page_id: string; page_path?: string
481
512
  export interface PostPageNotesIdeasResponse { ideas: unknown; split_by: unknown }
482
513
  export interface PostPageNotesRequest { page_id: string; page_path?: string; page_title?: string }
483
514
  export interface PostPageNotesResponse { note: unknown; images: unknown }
515
+ export interface PostPayoutsAgeRecordsRequest { builder_id: StringifiableId; tier: unknown }
516
+ export interface PostPayoutsAgeRecordsResponse { record: unknown }
517
+ export interface PostPayoutsApproveRequest { recipient_id?: StringifiableId; amount_cents?: unknown; currency?: unknown; note?: unknown }
518
+ export interface PostPayoutsApproveResponse { approval: unknown }
519
+ export interface PostPayoutsFreezesIdDecideRequest { decision: unknown; statement: unknown }
520
+ export interface PostPayoutsFreezesIdDecideResponse { event: unknown }
521
+ export interface PostPayoutsFreezesRequest { builder_id: StringifiableId; notice_text: unknown; owed_cents?: unknown }
522
+ export interface PostPayoutsFreezesResponse { freeze: unknown }
523
+ export interface PostPayoutsGuardiansRequest { builder_id: StringifiableId; guardian_id: StringifiableId; guardian_account?: unknown; active: unknown }
524
+ export interface PostPayoutsGuardiansResponse { record: unknown }
525
+ export interface PostPayoutsRulesIdNarrowRequest { terms: unknown; note?: unknown }
526
+ export interface PostPayoutsRulesIdNarrowResponse { approval: unknown }
527
+ export interface PostPayoutsRulesIdRevokeRequest { note?: unknown }
528
+ export interface PostPayoutsRulesIdRevokeResponse { approval: unknown }
529
+ export interface PostPayoutsRulesIdRunsRequest { run_key?: unknown; payouts?: unknown; note?: unknown }
530
+ export interface PostPayoutsRulesIdRunsResponse { approval: unknown; pays_from: unknown }
531
+ export interface PostPayoutsRulesIdRunsRunKeyHoldRequest { note?: unknown }
532
+ export interface PostPayoutsRulesIdRunsRunKeyHoldResponse { approval: unknown }
533
+ export interface PostPayoutsRulesRequest { terms: unknown; note?: unknown }
534
+ export interface PostPayoutsRulesResponse { approval: unknown }
535
+ export interface PostPayoutsScreeningsRequest { builder_id: StringifiableId; result: unknown; reference?: unknown; valid_days?: unknown }
536
+ export interface PostPayoutsScreeningsResponse { record: unknown }
484
537
  export interface PostProjectsInviteGuildRequest { client_id: string; guild: string }
485
538
  export interface PostProjectsInviteGuildResponse { invited: boolean; guild: unknown; invites: unknown; count: unknown }
486
539
  export interface PostProjectsInviteRequest { client_id: string; github_login: string }
@@ -601,7 +654,7 @@ export interface PostTasksIdVisualsSlotResponse { ok: boolean; slot: unknown; vi
601
654
  export interface PostTasksIdVoteRequest { vote: -1 | 0 | 1 }
602
655
  export interface PostTasksIdVoteResponse { ok: boolean; task_id: unknown; my_vote: unknown; net_votes: unknown; total_votes: unknown }
603
656
  export interface PostTasksNewcomerRestockResponse { ok: boolean; stamped: unknown; results: unknown }
604
- export interface PostTasksRequest { version_id: string; title: string; description?: string; status?: string; touches?: string[]; est_minutes?: number; est_cost_usd?: number; manual_degree?: number; priority?: number; automation_tag?: string; credits_reward?: number; source?: string; source_ref?: string; value_summary?: string; kind?: string; discipline?: string; parallel_safe?: unknown; newcomer_friendly?: boolean; security_sensitive?: boolean; requires_rank?: string; auto_detect_touches?: boolean; criterion_ids?: unknown[]; module_key?: string; goal_id?: number }
657
+ export interface PostTasksRequest { version_id: string; title: string; description?: string; status?: string; touches?: string[]; est_minutes?: number; est_cost_usd?: number; manual_degree?: number; priority?: number; automation_tag?: string; credits_reward?: number; source?: string; source_ref?: string; value_summary?: string; kind?: string; discipline?: string; parallel_safe?: unknown; newcomer_friendly?: boolean; security_sensitive?: boolean; requires_rank?: string; needs?: unknown; auto_detect_touches?: boolean; criterion_ids?: unknown[]; module_key?: string; goal_id?: number }
605
658
  export interface PostTasksResponse { task: unknown; needs_migration: unknown; criteria: unknown; idempotent: boolean }
606
659
  export interface PostVersionsIdCloseRequest { reason?: string; dispositions?: Record<string, unknown> }
607
660
  export interface PostVersionsIdCloseResponse { ok: boolean; version: unknown; applied: unknown; promoted: unknown; carried: unknown }
@@ -609,6 +662,8 @@ export interface PostVersionsIdDoneWhenRequest { criterion_id: string; criterion
609
662
  export interface PostVersionsIdDoneWhenResponse { ok: boolean; criterion: unknown }
610
663
  export interface PostVersionsRequest { id: string; name: string; status?: string; done_when?: string; scope_doc_path?: string; criteria?: unknown[]; first_goal?: Record<string, unknown> }
611
664
  export interface PostVersionsResponse { version: unknown; goal: unknown; criteria: unknown }
665
+ export interface PutAiStudioKeysProviderRequest { key: string }
666
+ export interface PutAiStudioKeysProviderResponse { key: unknown }
612
667
  export interface PutAutonomyMeGoalsRequest { goal_ids: unknown }
613
668
  export interface PutAutonomyMeGoalsResponse { goals: unknown }
614
669
  export interface PutCopyDeskPagesPageIdDraftRequest { reading_hash: string; lines: unknown[] }
@@ -687,8 +742,30 @@ export interface BongosClient {
687
742
  postAgentsNameInvoke(args?: RequestArgs & { body?: PostAgentsNameInvokeRequest }): Promise<PostAgentsNameInvokeResponse>;
688
743
  };
689
744
  "aiStudio": {
745
+ /** GET /ai-studio/balance — rank: any-builder */
746
+ getAiStudioBalance(args?: RequestArgs): Promise<GetAiStudioBalanceResponse>;
747
+ /** GET /ai-studio/files/{id} — rank: any-builder */
748
+ getAiStudioFilesId(args?: RequestArgs): Promise<ApiResponse>;
749
+ /** GET /ai-studio/keys — rank: any-builder */
750
+ getAiStudioKeys(args?: RequestArgs): Promise<GetAiStudioKeysResponse>;
751
+ /** DELETE /ai-studio/keys/{provider} — rank: any-builder */
752
+ deleteAiStudioKeysProvider(args?: RequestArgs): Promise<DeleteAiStudioKeysProviderResponse>;
753
+ /** PUT /ai-studio/keys/{provider} — rank: any-builder */
754
+ putAiStudioKeysProvider(args: RequestArgs & { body: PutAiStudioKeysProviderRequest }): Promise<PutAiStudioKeysProviderResponse>;
755
+ /** GET /ai-studio/requests — rank: any-builder */
756
+ getAiStudioRequests(args?: RequestArgs): Promise<GetAiStudioRequestsResponse>;
757
+ /** POST /ai-studio/requests — rank: any-builder */
758
+ postAiStudioRequests(args: RequestArgs & { body: PostAiStudioRequestsRequest }): Promise<PostAiStudioRequestsResponse>;
759
+ /** GET /ai-studio/requests/{id} — rank: any-builder */
760
+ getAiStudioRequestsId(args?: RequestArgs): Promise<GetAiStudioRequestsIdResponse>;
690
761
  /** GET /ai-studio/status — rank: any-builder */
691
762
  getAiStudioStatus(args?: RequestArgs): Promise<GetAiStudioStatusResponse>;
763
+ /** POST /ai-studio/topup — rank: any-builder */
764
+ postAiStudioTopup(args: RequestArgs & { body: PostAiStudioTopupRequest }): Promise<PostAiStudioTopupResponse>;
765
+ /** GET /ai-studio/topup/quote — rank: any-builder */
766
+ getAiStudioTopupQuote(args?: RequestArgs): Promise<GetAiStudioTopupQuoteResponse>;
767
+ /** POST /ai-studio/uploads — rank: any-builder */
768
+ postAiStudioUploads(args: RequestArgs & { body: PostAiStudioUploadsRequest }): Promise<PostAiStudioUploadsResponse>;
692
769
  };
693
770
  "analytics": {
694
771
  /** GET /analytics/builder/{id} — rank: any-builder */
@@ -707,6 +784,10 @@ export interface BongosClient {
707
784
  postAuthBackchannelLogout(args: RequestArgs & { body: PostAuthBackchannelLogoutRequest }): Promise<PostAuthBackchannelLogoutResponse>;
708
785
  /** POST /auth/cli-token/issue — rank: any-builder */
709
786
  postAuthCliTokenIssue(args?: RequestArgs): Promise<PostAuthCliTokenIssueResponse>;
787
+ /** GET /auth/device — rank: public */
788
+ getAuthDevice(args?: RequestArgs): Promise<ApiResponse>;
789
+ /** POST /auth/device/approve — rank: any-builder */
790
+ postAuthDeviceApprove(args: RequestArgs & { body: PostAuthDeviceApproveRequest }): Promise<ApiResponse>;
710
791
  /** POST /auth/device/exchange — rank: public */
711
792
  postAuthDeviceExchange(args: RequestArgs & { body: PostAuthDeviceExchangeRequest }): Promise<PostAuthDeviceExchangeResponse>;
712
793
  /** POST /auth/device/poll — rank: public */
@@ -719,6 +800,10 @@ export interface BongosClient {
719
800
  getAuthDiscordStart(args?: RequestArgs): Promise<ApiResponse>;
720
801
  /** POST /auth/discord/unlink — rank: any-builder */
721
802
  postAuthDiscordUnlink(args?: RequestArgs): Promise<PostAuthDiscordUnlinkResponse>;
803
+ /** GET /auth/google/callback — rank: public */
804
+ getAuthGoogleCallback(args?: RequestArgs): Promise<ApiResponse>;
805
+ /** GET /auth/google/start — rank: public */
806
+ getAuthGoogleStart(args?: RequestArgs): Promise<ApiResponse>;
722
807
  /** POST /auth/logout — rank: any-builder */
723
808
  postAuthLogout(args?: RequestArgs): Promise<PostAuthLogoutResponse>;
724
809
  /** POST /auth/revoke — rank: archon */
@@ -795,6 +880,8 @@ export interface BongosClient {
795
880
  getBuildersIdActivity(args?: RequestArgs): Promise<GetBuildersIdActivityResponse>;
796
881
  /** PATCH /builders/{id}/budget — rank: metic+archon */
797
882
  patchBuildersIdBudget(args?: RequestArgs & { body?: PatchBuildersIdBudgetRequest }): Promise<PatchBuildersIdBudgetResponse>;
883
+ /** PATCH /builders/{id}/capabilities — rank: archon */
884
+ patchBuildersIdCapabilities(args: RequestArgs & { body: PatchBuildersIdCapabilitiesRequest }): Promise<PatchBuildersIdCapabilitiesResponse>;
798
885
  /** GET /builders/{id}/onboarding — rank: public */
799
886
  getBuildersIdOnboarding(args?: RequestArgs): Promise<GetBuildersIdOnboardingResponse>;
800
887
  /** GET /builders/{id}/profile — rank: public */
@@ -1071,6 +1158,12 @@ export interface BongosClient {
1071
1158
  getGoalsSuggestions(args?: RequestArgs): Promise<ApiResponse>;
1072
1159
  };
1073
1160
  "government": {
1161
+ /** GET /government/access — rank: any-builder */
1162
+ getGovernmentAccess(args?: RequestArgs): Promise<ApiResponse>;
1163
+ /** POST /government/access/{accessKey}/holders — rank: archon */
1164
+ postGovernmentAccessAccessKeyHolders(args?: RequestArgs): Promise<ApiResponse>;
1165
+ /** DELETE /government/access/{accessKey}/holders/{builderId} — rank: archon */
1166
+ deleteGovernmentAccessAccessKeyHoldersBuilderId(args?: RequestArgs): Promise<ApiResponse>;
1074
1167
  /** PUT /government/asks/{matterId} — rank: any-builder */
1075
1168
  putGovernmentAsksMatterId(args?: RequestArgs): Promise<PutGovernmentAsksMatterIdResponse>;
1076
1169
  /** POST /government/asks/{matterId}/pass — rank: any-builder */
@@ -1087,6 +1180,10 @@ export interface BongosClient {
1087
1180
  postGovernmentAssignments(args: RequestArgs & { body: PostGovernmentAssignmentsRequest }): Promise<ApiResponse>;
1088
1181
  /** DELETE /government/assignments/{builderId}/{rankKey} — rank: archon */
1089
1182
  deleteGovernmentAssignmentsBuilderIdRankKey(args?: RequestArgs): Promise<DeleteGovernmentAssignmentsBuilderIdRankKeyResponse>;
1183
+ /** GET /government/blockers/for-me — rank: any-builder */
1184
+ getGovernmentBlockersForMe(args?: RequestArgs): Promise<ApiResponse>;
1185
+ /** GET /government/blockers/people — rank: any-builder */
1186
+ getGovernmentBlockersPeople(args?: RequestArgs): Promise<ApiResponse>;
1090
1187
  /** POST /government/board/charter — rank: metic+archon */
1091
1188
  postGovernmentBoardCharter(args?: RequestArgs & { body?: PostGovernmentBoardCharterRequest }): Promise<PostGovernmentBoardCharterResponse>;
1092
1189
  /** POST /government/board/decision-rules — rank: metic+archon */
@@ -1307,6 +1404,8 @@ export interface BongosClient {
1307
1404
  deleteMeFilterViewsId(args?: RequestArgs): Promise<DeleteMeFilterViewsIdResponse>;
1308
1405
  /** PATCH /me/filter-views/{id} — rank: any-builder */
1309
1406
  patchMeFilterViewsId(args: RequestArgs & { body: PatchMeFilterViewsIdRequest }): Promise<PatchMeFilterViewsIdResponse>;
1407
+ /** POST /me/guardian-cosigns — rank: any-builder */
1408
+ postMeGuardianCosigns(args?: RequestArgs & { body?: PostMeGuardianCosignsRequest }): Promise<PostMeGuardianCosignsResponse>;
1310
1409
  /** GET /me/guild-engagements — rank: any-builder */
1311
1410
  getMeGuildEngagements(args?: RequestArgs): Promise<GetMeGuildEngagementsResponse>;
1312
1411
  /** GET /me/guild-requests — rank: any-builder */
@@ -1341,6 +1440,12 @@ export interface BongosClient {
1341
1440
  postMePasskeysRemove(args?: RequestArgs & { body?: PostMePasskeysRemoveRequest }): Promise<PostMePasskeysRemoveResponse>;
1342
1441
  /** POST /me/passkeys/rename — rank: any-builder */
1343
1442
  postMePasskeysRename(args?: RequestArgs & { body?: PostMePasskeysRenameRequest }): Promise<PostMePasskeysRenameResponse>;
1443
+ /** POST /me/payout-age — rank: any-builder */
1444
+ postMePayoutAge(args: RequestArgs & { body: PostMePayoutAgeRequest }): Promise<PostMePayoutAgeResponse>;
1445
+ /** POST /me/payout-freezes/{id}/appeal — rank: any-builder */
1446
+ postMePayoutFreezesIdAppeal(args: RequestArgs & { body: PostMePayoutFreezesIdAppealRequest }): Promise<PostMePayoutFreezesIdAppealResponse>;
1447
+ /** GET /me/payouts — rank: any-builder */
1448
+ getMePayouts(args?: RequestArgs): Promise<ApiResponse>;
1344
1449
  /** PATCH /me/profile — rank: any-builder */
1345
1450
  patchMeProfile(args?: RequestArgs & { body?: PatchMeProfileRequest }): Promise<PatchMeProfileResponse>;
1346
1451
  /** GET /me/profile-nudge — rank: any-builder */
@@ -1359,6 +1464,8 @@ export interface BongosClient {
1359
1464
  postMeSessionsRevoke(args?: RequestArgs & { body?: PostMeSessionsRevokeRequest }): Promise<PostMeSessionsRevokeResponse>;
1360
1465
  /** POST /me/sessions/revoke-all — rank: any-builder */
1361
1466
  postMeSessionsRevokeAll(args?: RequestArgs): Promise<PostMeSessionsRevokeAllResponse>;
1467
+ /** GET /me/sign-in-methods — rank: any-builder */
1468
+ getMeSignInMethods(args?: RequestArgs): Promise<GetMeSignInMethodsResponse>;
1362
1469
  /** GET /me/skill-prefs — rank: any-builder */
1363
1470
  getMeSkillPrefs(args?: RequestArgs): Promise<GetMeSkillPrefsResponse>;
1364
1471
  /** PATCH /me/skill-prefs — rank: any-builder */
@@ -1438,6 +1545,16 @@ export interface BongosClient {
1438
1545
  /** POST /my-projects/join — rank: any-builder */
1439
1546
  postMyProjectsJoin(args: RequestArgs & { body: PostMyProjectsJoinRequest }): Promise<PostMyProjectsJoinResponse>;
1440
1547
  };
1548
+ "notes": {
1549
+ /** GET /notes — rank: any-builder */
1550
+ getNotes(args?: RequestArgs): Promise<GetNotesResponse>;
1551
+ /** POST /notes — rank: any-builder */
1552
+ postNotes(args: RequestArgs & { body: PostNotesRequest }): Promise<PostNotesResponse>;
1553
+ /** DELETE /notes/{id} — rank: any-builder */
1554
+ deleteNotesId(args?: RequestArgs): Promise<DeleteNotesIdResponse>;
1555
+ /** PATCH /notes/{id} — rank: any-builder */
1556
+ patchNotesId(args: RequestArgs & { body: PatchNotesIdRequest }): Promise<PatchNotesIdResponse>;
1557
+ };
1441
1558
  "npmRelease": {
1442
1559
  /** DELETE /npm-release/preview — rank: any-builder */
1443
1560
  deleteNpmReleasePreview(args?: RequestArgs): Promise<ApiResponse>;
@@ -1484,6 +1601,40 @@ export interface BongosClient {
1484
1601
  /** GET /page-notes/site — rank: any-builder */
1485
1602
  getPageNotesSite(args?: RequestArgs): Promise<GetPageNotesSiteResponse>;
1486
1603
  };
1604
+ "payouts": {
1605
+ /** POST /payouts/age-records — rank: archon */
1606
+ postPayoutsAgeRecords(args: RequestArgs & { body: PostPayoutsAgeRecordsRequest }): Promise<PostPayoutsAgeRecordsResponse>;
1607
+ /** GET /payouts/approvals — rank: archon */
1608
+ getPayoutsApprovals(args?: RequestArgs): Promise<GetPayoutsApprovalsResponse>;
1609
+ /** POST /payouts/approve — rank: archon */
1610
+ postPayoutsApprove(args?: RequestArgs & { body?: PostPayoutsApproveRequest }): Promise<PostPayoutsApproveResponse>;
1611
+ /** POST /payouts/contracts — rank: archon */
1612
+ postPayoutsContracts(args?: RequestArgs): Promise<ApiResponse>;
1613
+ /** POST /payouts/freezes — rank: archon */
1614
+ postPayoutsFreezes(args: RequestArgs & { body: PostPayoutsFreezesRequest }): Promise<PostPayoutsFreezesResponse>;
1615
+ /** POST /payouts/freezes/{id}/decide — rank: archon */
1616
+ postPayoutsFreezesIdDecide(args: RequestArgs & { body: PostPayoutsFreezesIdDecideRequest }): Promise<PostPayoutsFreezesIdDecideResponse>;
1617
+ /** GET /payouts/gates/{builderId} — rank: archon */
1618
+ getPayoutsGatesBuilderId(args?: RequestArgs): Promise<GetPayoutsGatesBuilderIdResponse>;
1619
+ /** POST /payouts/grants — rank: archon */
1620
+ postPayoutsGrants(args?: RequestArgs): Promise<ApiResponse>;
1621
+ /** POST /payouts/guardians — rank: archon */
1622
+ postPayoutsGuardians(args: RequestArgs & { body: PostPayoutsGuardiansRequest }): Promise<PostPayoutsGuardiansResponse>;
1623
+ /** GET /payouts/rules — rank: archon */
1624
+ getPayoutsRules(args?: RequestArgs): Promise<GetPayoutsRulesResponse>;
1625
+ /** POST /payouts/rules — rank: archon */
1626
+ postPayoutsRules(args: RequestArgs & { body: PostPayoutsRulesRequest }): Promise<PostPayoutsRulesResponse>;
1627
+ /** POST /payouts/rules/{id}/narrow — rank: archon */
1628
+ postPayoutsRulesIdNarrow(args: RequestArgs & { body: PostPayoutsRulesIdNarrowRequest }): Promise<PostPayoutsRulesIdNarrowResponse>;
1629
+ /** POST /payouts/rules/{id}/revoke — rank: archon */
1630
+ postPayoutsRulesIdRevoke(args?: RequestArgs & { body?: PostPayoutsRulesIdRevokeRequest }): Promise<PostPayoutsRulesIdRevokeResponse>;
1631
+ /** POST /payouts/rules/{id}/runs — rank: archon */
1632
+ postPayoutsRulesIdRuns(args?: RequestArgs & { body?: PostPayoutsRulesIdRunsRequest }): Promise<PostPayoutsRulesIdRunsResponse>;
1633
+ /** POST /payouts/rules/{id}/runs/{runKey}/hold — rank: archon */
1634
+ postPayoutsRulesIdRunsRunKeyHold(args?: RequestArgs & { body?: PostPayoutsRulesIdRunsRunKeyHoldRequest }): Promise<PostPayoutsRulesIdRunsRunKeyHoldResponse>;
1635
+ /** POST /payouts/screenings — rank: archon */
1636
+ postPayoutsScreenings(args: RequestArgs & { body: PostPayoutsScreeningsRequest }): Promise<PostPayoutsScreeningsResponse>;
1637
+ };
1487
1638
  "profiles": {
1488
1639
  /** GET /profiles/{handle} — rank: public */
1489
1640
  getProfilesHandle(args?: RequestArgs): Promise<GetProfilesHandleResponse>;