@bongos/core 1.21.95 → 1.21.97

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.
package/.bongos-core.json CHANGED
@@ -2,22 +2,22 @@
2
2
  "artifact": "bongos-core",
3
3
  "manifest_schema": 1,
4
4
  "generator": "scripts/gds/package-core.js",
5
- "core_version": "1.21.95",
6
- "core_contract": "1.21.95",
7
- "source_commit": "1895cbf114f5a8932e751d9208a592dfbbf99ff8",
5
+ "core_version": "1.21.97",
6
+ "core_contract": "1.21.97",
7
+ "source_commit": "f75e528433a4bb58d3ecff16d52748224e1ead44",
8
8
  "source_ref": "HEAD",
9
- "built_at": "2026-10-09T08:47:23.210Z",
9
+ "built_at": "2026-10-09T11:00:07.681Z",
10
10
  "redaction": {
11
11
  "model": "docs-redacted+functional-verbatim",
12
12
  "docs_redacted": 590,
13
13
  "agent_docs_stubbed": 28,
14
- "functional_verbatim": 3013,
14
+ "functional_verbatim": 3015,
15
15
  "rules": 3,
16
16
  "gate_literals": 3,
17
17
  "gate": "passed"
18
18
  },
19
- "file_count": 3632,
20
- "tree_sha256": "82e713c766d3a2684a614b15ca98c09c047238193da0dc6be4ab5f95b9dbb975",
19
+ "file_count": 3634,
20
+ "tree_sha256": "793541d379399349b8c170af11e99e5ad63767b300aadd38e0d1dda2cff9af6b",
21
21
  "files": [
22
22
  {
23
23
  "path": ".claude/skills/ask-for-help/SKILL.md",
@@ -312,12 +312,12 @@
312
312
  {
313
313
  "path": "clients/bongos-client/README.md",
314
314
  "mode": "0000644",
315
- "sha256": "ddef69b1dc2ff76269e9f84955ca554ec70f1f18aeb502e408bf20920f694669"
315
+ "sha256": "be92a792c9e31d1e9ed27daa7100b4690d1daf3058696773faa5e027fa1217f9"
316
316
  },
317
317
  {
318
318
  "path": "clients/bongos-client/bongos-client.global.js",
319
319
  "mode": "0000644",
320
- "sha256": "35ac01d598a9ba76e928f115f5de99e952128d37de311e3bab548d9a74bfe53a"
320
+ "sha256": "38ce1804582b7c52760bcef0165d8717b12c63ec07458e758c35cfb15cd825cd"
321
321
  },
322
322
  {
323
323
  "path": "clients/bongos-client/examples/hello-world.mjs",
@@ -327,17 +327,17 @@
327
327
  {
328
328
  "path": "clients/bongos-client/index.cjs",
329
329
  "mode": "0000644",
330
- "sha256": "0793d04a2a43eef50144bc607927c7b3560af4948877926edf24aa3d781e7323"
330
+ "sha256": "9c53971b3f18dd7e4bc98e76259909bfc992a382bc6f8d1e771856ae88908aa9"
331
331
  },
332
332
  {
333
333
  "path": "clients/bongos-client/index.d.ts",
334
334
  "mode": "0000644",
335
- "sha256": "c4708244379cd28709caf48d817266b184ffe18a65f9590bc62c2b1aeb71d824"
335
+ "sha256": "eb0e60d817b14b4e301e0cf1356c2df5b4ee3064b28584cd54552a4db88bdd94"
336
336
  },
337
337
  {
338
338
  "path": "clients/bongos-client/index.mjs",
339
339
  "mode": "0000644",
340
- "sha256": "e143421ec34b742f29a21690b81ed8fdf2b01a7c87d380fcea43a56dbba42465"
340
+ "sha256": "04f464358035a3d57a7840319acce0012ec5585cab9393a9a8b7ada8dc08acd9"
341
341
  },
342
342
  {
343
343
  "path": "clients/bongos-client/package.json",
@@ -2317,12 +2317,12 @@
2317
2317
  {
2318
2318
  "path": "docs/api-reference.md",
2319
2319
  "mode": "0000644",
2320
- "sha256": "3b3f6ed65d2c90fa08c7a2000862c7c9ffd8b7625420f377b52d132d9b17d8d3"
2320
+ "sha256": "ed7f8d58d6d1524cc80208d6658723d77f78edc612315f7c8e81df8ff77639e6"
2321
2321
  },
2322
2322
  {
2323
2323
  "path": "docs/api/openapi.json",
2324
2324
  "mode": "0000644",
2325
- "sha256": "8704ce350de56a1b955a41296cb7fa053128d2b4fc8a76e156a4e8578afef6a3"
2325
+ "sha256": "acaf54cda21cff27530cd05bb9fc18dd1137615e1ac3775aa33021cc739f8163"
2326
2326
  },
2327
2327
  {
2328
2328
  "path": "docs/architecture.md",
@@ -2347,12 +2347,12 @@
2347
2347
  {
2348
2348
  "path": "docs/copy-inventory.md",
2349
2349
  "mode": "0000644",
2350
- "sha256": "d9eb86aa5d3c208883783df0deef2ad776e403fa5896a422d88adc5e11079e6d"
2350
+ "sha256": "844ac9beec1b1063734a0655f917edec1b7ab2b4a6782790a7bb5205dd646c5f"
2351
2351
  },
2352
2352
  {
2353
2353
  "path": "docs/copy-registry.json",
2354
2354
  "mode": "0000644",
2355
- "sha256": "d5af39196ca0a235dcb225c0966f2df4d930417c109298f86e03429cdc4d7a91"
2355
+ "sha256": "cb771de6591f70b7da6039e8e9d7dcb09294970d782e4f3e378605cf2f032d16"
2356
2356
  },
2357
2357
  {
2358
2358
  "path": "docs/design/apex-pass-2-direction.md",
@@ -2432,7 +2432,7 @@
2432
2432
  {
2433
2433
  "path": "docs/design/project-startup-direction.md",
2434
2434
  "mode": "0000644",
2435
- "sha256": "1fc48632ac7af6d55bc62cf0207affb597956c2243febe1faa0b39e22bdef829"
2435
+ "sha256": "d006cb1befb0fa39530e80af237cc5709ad0957cc6c3ece5909ca12dbe770f5d"
2436
2436
  },
2437
2437
  {
2438
2438
  "path": "docs/design/projects-hub-direction-v2.md",
@@ -2862,7 +2862,7 @@
2862
2862
  {
2863
2863
  "path": "docs/module-api-changelog.md",
2864
2864
  "mode": "0000644",
2865
- "sha256": "4b50f866b73e605791b602d3d0dd212aeebc0b406f1f8579a8f3f4625fb9a8f2"
2865
+ "sha256": "9628e711aed84f14b0ec2d47863e16f2fcaf06aeaf9d30304776fd52332084f5"
2866
2866
  },
2867
2867
  {
2868
2868
  "path": "docs/modules-contract.md",
@@ -2952,7 +2952,7 @@
2952
2952
  {
2953
2953
  "path": "docs/page-readings.json",
2954
2954
  "mode": "0000644",
2955
- "sha256": "998e448cf903b275a9c44c0f326197963e83929626cce5dc506e980148690b98"
2955
+ "sha256": "d029f87b4a829519d2dc9e2fdb71f5d411475302124c919701709f9e6fe8f9f7"
2956
2956
  },
2957
2957
  {
2958
2958
  "path": "docs/project-context.template.md",
@@ -8267,7 +8267,7 @@
8267
8267
  {
8268
8268
  "path": "modules/provisioning/github-setup.js",
8269
8269
  "mode": "0000644",
8270
- "sha256": "e97ee19b2ba5e607557d0794e528f2e7e19d68cbe6e208ab88af7a9dba92d06b"
8270
+ "sha256": "78d6aa74315507f0de80b676858fd2c952cdf1e2038b197326bded06b5708170"
8271
8271
  },
8272
8272
  {
8273
8273
  "path": "modules/provisioning/look.js",
@@ -8577,7 +8577,7 @@
8577
8577
  {
8578
8578
  "path": "modules/provisioning/routes/github-setup.js",
8579
8579
  "mode": "0000644",
8580
- "sha256": "652c1aafba1e38ae46b02b54d3e6cfa8c18a0ceadcf8a94ea67d664d773cce85"
8580
+ "sha256": "7d4bd8f7eec5d7f7ca5433a3e0499d53e51553daa3e2fcb1dbac1e346ce90238"
8581
8581
  },
8582
8582
  {
8583
8583
  "path": "modules/provisioning/routes/look.js",
@@ -8587,7 +8587,7 @@
8587
8587
  {
8588
8588
  "path": "modules/provisioning/routes/provisioning.js",
8589
8589
  "mode": "0000644",
8590
- "sha256": "a4ab4c1f5c98f5fe85489f0f2f7e23e6897c178b62f2bcc9b2d9e5502fd26458"
8590
+ "sha256": "336ac83ef1fcdc91416bd6ca4d0cd040a2b926e0b695a9fbd528a5ab262a4974"
8591
8591
  },
8592
8592
  {
8593
8593
  "path": "modules/provisioning/routes/render-standup.js",
@@ -9337,7 +9337,7 @@
9337
9337
  {
9338
9338
  "path": "modules/public-landing/public/projects.html",
9339
9339
  "mode": "0000644",
9340
- "sha256": "99b6553bb9756a91713c0842510d0dc8545111d0366fd59237968df21e69bf99"
9340
+ "sha256": "b74e1e16220642c2a304f7e8cb776e239af14944c1212f4e32a675d840d731e2"
9341
9341
  },
9342
9342
  {
9343
9343
  "path": "modules/public-landing/public/projects.probes.json",
@@ -10117,12 +10117,12 @@
10117
10117
  {
10118
10118
  "path": "package-lock.json",
10119
10119
  "mode": "0000644",
10120
- "sha256": "8a3f6a8660b0f20118070b8adaad21cbbd3866e6a272720b94c2719fafe53b77"
10120
+ "sha256": "6a5e32f5c1227cfa5b6061334c20c2572fc22f1a8e1ce10a4b577f65bef0badf"
10121
10121
  },
10122
10122
  {
10123
10123
  "path": "package.json",
10124
10124
  "mode": "0000644",
10125
- "sha256": "256622b8d3de980cdb9dc368b115d0259af8e192f43d3757fcbc399ea053b00b"
10125
+ "sha256": "302230285ffd66b8975333bc7a96ab9ab33081eb403ca5b69d0b6ceaa5e47d39"
10126
10126
  },
10127
10127
  {
10128
10128
  "path": "public-docs/index.html",
@@ -10142,7 +10142,7 @@
10142
10142
  {
10143
10143
  "path": "release-notes.json",
10144
10144
  "mode": "0000644",
10145
- "sha256": "f0933c625fe42e498bad837a26383cbd38181bb7dba0f02d33457789fdbac345"
10145
+ "sha256": "d2fa549fd1baadbf38fc3fafc5aa26ea3719fa183c9d1cf7a4e990c2e23dd169"
10146
10146
  },
10147
10147
  {
10148
10148
  "path": "scripts/cron/style_guide_audit.sh",
@@ -11157,7 +11157,7 @@
11157
11157
  {
11158
11158
  "path": "scripts/gds/provision-github-setup.js",
11159
11159
  "mode": "0000644",
11160
- "sha256": "aa0927e26143328727f3c752f2ebb337a840ae76bf699bc10930cb6182c51146"
11160
+ "sha256": "03a8b05edf56250283946993eaa429c7063696029fd0f5e23d2e834e90034692"
11161
11161
  },
11162
11162
  {
11163
11163
  "path": "scripts/gds/provision-net.js",
@@ -11207,7 +11207,7 @@
11207
11207
  {
11208
11208
  "path": "scripts/gds/provision.js",
11209
11209
  "mode": "0000644",
11210
- "sha256": "4f4857e34141db1d78cfec4b0b7f735658893aba946f53348c2430fe852b2a93"
11210
+ "sha256": "772a2586d3601723f096f74f9d8aad82d418c5dce4dc9cb8809525ecd4a005ba"
11211
11211
  },
11212
11212
  {
11213
11213
  "path": "scripts/gds/publish-credential-check.js",
@@ -12092,7 +12092,7 @@
12092
12092
  {
12093
12093
  "path": "src/bongos/github-repos.js",
12094
12094
  "mode": "0000644",
12095
- "sha256": "af5600f22a3421c8197e91c77d422e9bca789eb458789924e8d75a00818f314a"
12095
+ "sha256": "c209eae2cd75714bfffd5a0fcd544cc35de5f4693b8794eedc1dcbea44e93740"
12096
12096
  },
12097
12097
  {
12098
12098
  "path": "src/bongos/goal-scope-check.js",
@@ -12302,7 +12302,7 @@
12302
12302
  {
12303
12303
  "path": "src/bongos/routes/github.js",
12304
12304
  "mode": "0000644",
12305
- "sha256": "752056364c7a826bdd4d6da2f14a0ce48284c93621ccdf5bea10bac3bbb2941f"
12305
+ "sha256": "21185f749b018027a291d50db721213142f0b8f550ba5d5c93e8ce7cb3713d36"
12306
12306
  },
12307
12307
  {
12308
12308
  "path": "src/bongos/routes/healthz.js",
@@ -12412,7 +12412,7 @@
12412
12412
  {
12413
12413
  "path": "src/module-api.js",
12414
12414
  "mode": "0000644",
12415
- "sha256": "5cabb78f9a62e76cbe3b084a14f0f4a50c5dc73b9c359cded8b13c64c5158f38"
12415
+ "sha256": "2dde4294248b9f01a6955946bf5dd34a6919519ea31ed3a5161081acb4ca88dc"
12416
12416
  },
12417
12417
  {
12418
12418
  "path": "src/module-loader/catalog.js",
@@ -14042,7 +14042,17 @@
14042
14042
  {
14043
14043
  "path": "tests/github_one_trip.mjs",
14044
14044
  "mode": "0000644",
14045
- "sha256": "b04dbcd87504e696367a03db39c0a3c0ae9b647039ab25b354c89884c74d2ba5"
14045
+ "sha256": "74d7041230f6b0f3370093d8417f61b3557b1b4b408fa56fc07968a5e0187f4d"
14046
+ },
14047
+ {
14048
+ "path": "tests/github_org_account.mjs",
14049
+ "mode": "0000644",
14050
+ "sha256": "576f0f0e5c2cf483ce64de1c444e66999a2a772c5d1cb2b1e56a211549871a6f"
14051
+ },
14052
+ {
14053
+ "path": "tests/github_pick_up.mjs",
14054
+ "mode": "0000644",
14055
+ "sha256": "448de823c452326e4f86bbd3de84180f349f8d81371339590abfae738e1788bf"
14046
14056
  },
14047
14057
  {
14048
14058
  "path": "tests/github_push_ancestry.mjs",
@@ -16432,7 +16442,7 @@
16432
16442
  {
16433
16443
  "path": "tests/projects_hub_pre_uat.mjs",
16434
16444
  "mode": "0000644",
16435
- "sha256": "e580ed2ea20556cc60f4160ace7316e8691b30f020c0701e783811ae0f134860"
16445
+ "sha256": "5a0a072fbb78010e547cd9c177bd2bfb80c0f5ee9e08e16d8b00094a04b2b83e"
16436
16446
  },
16437
16447
  {
16438
16448
  "path": "tests/projects_hub_render_connect.mjs",
@@ -16597,7 +16607,7 @@
16597
16607
  {
16598
16608
  "path": "tests/provisioning_github_app_routes.mjs",
16599
16609
  "mode": "0000644",
16600
- "sha256": "c8969d3782cbc6d9b3b4c776cdf8c3f2e0bc5282d6cb7af3a82c5164034416a1"
16610
+ "sha256": "ffbefb8d490fd5dbb2793c6d82afb60b8b900ce4a053be9d5f8db08cace32feb"
16601
16611
  },
16602
16612
  {
16603
16613
  "path": "tests/provisioning_look.mjs",
@@ -18107,7 +18117,7 @@
18107
18117
  {
18108
18118
  "path": "tests/wizard_github_feedback.mjs",
18109
18119
  "mode": "0000644",
18110
- "sha256": "153932c97b0cfb95c01c19787d7543ce80efe2ef8a8ab813e67c0376b4eb508b"
18120
+ "sha256": "efcdc79ae0d4b2dece25dd483863ce1ad3249f0b836d7e1791c2b61cc4a56939"
18111
18121
  },
18112
18122
  {
18113
18123
  "path": "tests/wizard_intent_resume.mjs",
@@ -5,7 +5,7 @@ A **generated**, zero-dependency typed client for the Bongos API — produced fr
5
5
  by hand; it regenerates when the spec changes, so it can never drift from the routes.
6
6
 
7
7
  - API version: **v1** (served at `/api/bongos/v1`)
8
- - 536 operations across 76 resource groups
8
+ - 539 operations across 76 resource groups
9
9
 
10
10
  ## Use it from your project
11
11
 
@@ -411,6 +411,10 @@ function createClient(opts = {}) {
411
411
  postGateApprovalsPrApprove: (args) => request("POST", "/gate-approvals/{pr}/approve", { hasBody: true }, args),
412
412
  },
413
413
  "github": {
414
+ // GET /github/orgs — rank: any-builder — GET /github/orgs
415
+ getGithubOrgs: (args) => request("GET", "/github/orgs", { hasBody: false }, args),
416
+ // GET /github/orgs/{org} — rank: any-builder — GET /github/orgs/:org
417
+ getGithubOrgsOrg: (args) => request("GET", "/github/orgs/{org}", { hasBody: false }, args),
414
418
  // GET /github/repo — rank: any-builder — GET /github/repo
415
419
  getGithubRepo: (args) => request("GET", "/github/repo", { hasBody: false }, args),
416
420
  // POST /github/repo/visibility — rank: any-builder — POST /github/repo/visibility
@@ -935,6 +939,8 @@ function createClient(opts = {}) {
935
939
  postProvisioningInstancesIdForceTeardown: (args) => request("POST", "/provisioning/instances/{id}/force-teardown", { hasBody: true }, args),
936
940
  // POST /provisioning/instances/{id}/github-app — rank: any-builder — POST /provisioning/instances/:id/github-app
937
941
  postProvisioningInstancesIdGithubApp: (args) => request("POST", "/provisioning/instances/{id}/github-app", { hasBody: true }, args),
942
+ // POST /provisioning/instances/{id}/github-app/pick-up — rank: any-builder — POST /provisioning/instances/:id/github-app/pick-up
943
+ postProvisioningInstancesIdGithubAppPickUp: (args) => request("POST", "/provisioning/instances/{id}/github-app/pick-up", { hasBody: true }, args),
938
944
  // GET /provisioning/instances/{id}/invite-suggestions — rank: any-builder — GET /provisioning/instances/:id/invite-suggestions
939
945
  getProvisioningInstancesIdInviteSuggestions: (args) => request("GET", "/provisioning/instances/{id}/invite-suggestions", { hasBody: false }, args),
940
946
  // DELETE /provisioning/instances/{id}/logo — rank: any-builder — DELETE /provisioning/instances/:id/logo
@@ -410,6 +410,10 @@ function createClient(opts = {}) {
410
410
  postGateApprovalsPrApprove: (args) => request("POST", "/gate-approvals/{pr}/approve", { hasBody: true }, args),
411
411
  },
412
412
  "github": {
413
+ // GET /github/orgs — rank: any-builder — GET /github/orgs
414
+ getGithubOrgs: (args) => request("GET", "/github/orgs", { hasBody: false }, args),
415
+ // GET /github/orgs/{org} — rank: any-builder — GET /github/orgs/:org
416
+ getGithubOrgsOrg: (args) => request("GET", "/github/orgs/{org}", { hasBody: false }, args),
413
417
  // GET /github/repo — rank: any-builder — GET /github/repo
414
418
  getGithubRepo: (args) => request("GET", "/github/repo", { hasBody: false }, args),
415
419
  // POST /github/repo/visibility — rank: any-builder — POST /github/repo/visibility
@@ -934,6 +938,8 @@ function createClient(opts = {}) {
934
938
  postProvisioningInstancesIdForceTeardown: (args) => request("POST", "/provisioning/instances/{id}/force-teardown", { hasBody: true }, args),
935
939
  // POST /provisioning/instances/{id}/github-app — rank: any-builder — POST /provisioning/instances/:id/github-app
936
940
  postProvisioningInstancesIdGithubApp: (args) => request("POST", "/provisioning/instances/{id}/github-app", { hasBody: true }, args),
941
+ // POST /provisioning/instances/{id}/github-app/pick-up — rank: any-builder — POST /provisioning/instances/:id/github-app/pick-up
942
+ postProvisioningInstancesIdGithubAppPickUp: (args) => request("POST", "/provisioning/instances/{id}/github-app/pick-up", { hasBody: true }, args),
937
943
  // GET /provisioning/instances/{id}/invite-suggestions — rank: any-builder — GET /provisioning/instances/:id/invite-suggestions
938
944
  getProvisioningInstancesIdInviteSuggestions: (args) => request("GET", "/provisioning/instances/{id}/invite-suggestions", { hasBody: false }, args),
939
945
  // DELETE /provisioning/instances/{id}/logo — rank: any-builder — DELETE /provisioning/instances/:id/logo
@@ -65,6 +65,7 @@ export interface GetCoreUpgradesResponse { ok: boolean; running: unknown; limit:
65
65
  export interface GetDiscordChannelsPlanResponse { ok: boolean; guild_id: unknown; op_count: unknown; ops: unknown; warnings: unknown }
66
66
  export interface GetDiscordChannelsSnapshotResponse { ok: boolean; guild_id: unknown; config: unknown; warnings: unknown }
67
67
  export interface GetDoneWhenPendingReviewResponse { criteria: unknown; count: unknown }
68
+ export interface GetGithubOrgsOrgResponse { org: unknown }
68
69
  export interface GetGithubRepoResponse { ok: boolean; repo: unknown; private_deployable: boolean }
69
70
  export interface GetGithubReposResponse { repos: unknown }
70
71
  export interface GetGoalTaskRelevancePendingResponse { flags: unknown; count: unknown }
@@ -133,7 +134,7 @@ export interface GetProjectsFeaturedResponse { projects: unknown; page: PageInfo
133
134
  export interface GetProjectsResponse { projects: unknown }
134
135
  export interface GetProvisioningFleetResponse { instances: unknown; capacity: unknown }
135
136
  export interface GetProvisioningGithubAppResumeResponse { ok: boolean; project: unknown }
136
- export interface GetProvisioningGithubAppStatusResponse { ok: boolean; status: unknown; failure: unknown; ready: unknown; terminal: unknown; domain: unknown; instance_status: unknown; app_slug: unknown; checklist: unknown; install_url: unknown; repo: unknown; verifying: unknown }
137
+ export interface GetProvisioningGithubAppStatusResponse { ok: boolean; status: unknown; failure: unknown; ready: unknown; terminal: unknown; domain: unknown; instance_status: unknown; app_slug: unknown; checklist: unknown; install_url: unknown; repo: unknown; verifying: unknown; app_org: unknown; pick_up: unknown }
137
138
  export interface GetProvisioningHealthResponse { module: unknown; ok: boolean; coreVersion: unknown }
138
139
  export interface GetProvisioningInstancesIdEnvManifestResponse { instance: unknown; env_vars: unknown; environments: unknown; values_held: boolean; note: unknown }
139
140
  export interface GetProvisioningInstancesIdInviteSuggestionsResponse { suggested: unknown; seeking: unknown; reason: unknown; unavailable?: unknown }
@@ -328,7 +329,7 @@ export interface PostFeedbackReceiptResponse { ok: boolean; receipt: unknown; hu
328
329
  export interface PostFoundingPlanRequest { days?: Record<string, unknown>; passes?: number; advisors?: string; government?: string; expected_builders?: number; existing?: boolean }
329
330
  export interface PostGithubRepoVisibilityRequest { repo: string; visibility: "public" | "private" }
330
331
  export interface PostGithubRepoVisibilityResponse { ok: boolean; repo: unknown; private_deployable: boolean }
331
- export interface PostGithubReposRequest { name: string }
332
+ export interface PostGithubReposRequest { name: string; org?: string }
332
333
  export interface PostGithubReposResponse { repo: unknown }
333
334
  export interface PostGoalTaskRelevanceIdDecideRequest { decision: "confirmed_gaming" | "false_positive"; note?: string }
334
335
  export interface PostGoalTaskRelevanceIdDecideResponse { ok: boolean; flag: unknown }
@@ -458,7 +459,7 @@ export interface PostProvisioningInstancesIdDomainRequest { domain: string }
458
459
  export interface PostProvisioningInstancesIdDomainResponse { ok: boolean; changed: boolean; queued: unknown; domain: unknown; message: unknown; replaced?: unknown }
459
460
  export interface PostProvisioningInstancesIdEnvManifestRequest { name: string; description?: string; environments?: unknown[]; required?: boolean }
460
461
  export interface PostProvisioningInstancesIdForceTeardownResponse { ok: boolean; queued: unknown; action: unknown; status: unknown; superseded: unknown; message: unknown }
461
- export interface PostProvisioningInstancesIdGithubAppRequest { account?: string }
462
+ export interface PostProvisioningInstancesIdGithubAppRequest { account?: string; org?: string }
462
463
  export interface PostProvisioningInstancesIdGithubAppResponse { state: unknown; account: unknown; post_url: unknown; personal_url: unknown; org_url: unknown; org_login: unknown; manifest: unknown; redirect_url: unknown; expires_at: unknown }
463
464
  export interface PostProvisioningInstancesIdRenderRequest { key: string; owner_id: string; mode: string; service_id?: string; web_plan?: string; db_plan?: string; region?: string; runtime?: string; build_command?: string; start_command?: string; database?: boolean }
464
465
  export interface PostProvisioningInstancesIdRenderResponse { ok: boolean; queued: boolean; action: unknown; mode: unknown; with_setup: boolean; message: unknown }
@@ -919,6 +920,10 @@ export interface BongosClient {
919
920
  postGateApprovalsPrApprove(args?: RequestArgs): Promise<ApiResponse>;
920
921
  };
921
922
  "github": {
923
+ /** GET /github/orgs — rank: any-builder */
924
+ getGithubOrgs(args?: RequestArgs): Promise<ApiResponse>;
925
+ /** GET /github/orgs/{org} — rank: any-builder */
926
+ getGithubOrgsOrg(args?: RequestArgs): Promise<GetGithubOrgsOrgResponse>;
922
927
  /** GET /github/repo — rank: any-builder */
923
928
  getGithubRepo(args?: RequestArgs): Promise<GetGithubRepoResponse>;
924
929
  /** POST /github/repo/visibility — rank: any-builder */
@@ -1443,6 +1448,8 @@ export interface BongosClient {
1443
1448
  postProvisioningInstancesIdForceTeardown(args?: RequestArgs): Promise<PostProvisioningInstancesIdForceTeardownResponse>;
1444
1449
  /** POST /provisioning/instances/{id}/github-app — rank: any-builder */
1445
1450
  postProvisioningInstancesIdGithubApp(args?: RequestArgs & { body?: PostProvisioningInstancesIdGithubAppRequest }): Promise<PostProvisioningInstancesIdGithubAppResponse>;
1451
+ /** POST /provisioning/instances/{id}/github-app/pick-up — rank: any-builder */
1452
+ postProvisioningInstancesIdGithubAppPickUp(args?: RequestArgs): Promise<ApiResponse>;
1446
1453
  /** GET /provisioning/instances/{id}/invite-suggestions — rank: any-builder */
1447
1454
  getProvisioningInstancesIdInviteSuggestions(args?: RequestArgs): Promise<GetProvisioningInstancesIdInviteSuggestionsResponse>;
1448
1455
  /** DELETE /provisioning/instances/{id}/logo — rank: any-builder */
@@ -407,6 +407,10 @@ export function createClient(opts = {}) {
407
407
  postGateApprovalsPrApprove: (args) => request("POST", "/gate-approvals/{pr}/approve", { hasBody: true }, args),
408
408
  },
409
409
  "github": {
410
+ // GET /github/orgs — rank: any-builder — GET /github/orgs
411
+ getGithubOrgs: (args) => request("GET", "/github/orgs", { hasBody: false }, args),
412
+ // GET /github/orgs/{org} — rank: any-builder — GET /github/orgs/:org
413
+ getGithubOrgsOrg: (args) => request("GET", "/github/orgs/{org}", { hasBody: false }, args),
410
414
  // GET /github/repo — rank: any-builder — GET /github/repo
411
415
  getGithubRepo: (args) => request("GET", "/github/repo", { hasBody: false }, args),
412
416
  // POST /github/repo/visibility — rank: any-builder — POST /github/repo/visibility
@@ -931,6 +935,8 @@ export function createClient(opts = {}) {
931
935
  postProvisioningInstancesIdForceTeardown: (args) => request("POST", "/provisioning/instances/{id}/force-teardown", { hasBody: true }, args),
932
936
  // POST /provisioning/instances/{id}/github-app — rank: any-builder — POST /provisioning/instances/:id/github-app
933
937
  postProvisioningInstancesIdGithubApp: (args) => request("POST", "/provisioning/instances/{id}/github-app", { hasBody: true }, args),
938
+ // POST /provisioning/instances/{id}/github-app/pick-up — rank: any-builder — POST /provisioning/instances/:id/github-app/pick-up
939
+ postProvisioningInstancesIdGithubAppPickUp: (args) => request("POST", "/provisioning/instances/{id}/github-app/pick-up", { hasBody: true }, args),
934
940
  // GET /provisioning/instances/{id}/invite-suggestions — rank: any-builder — GET /provisioning/instances/:id/invite-suggestions
935
941
  getProvisioningInstancesIdInviteSuggestions: (args) => request("GET", "/provisioning/instances/{id}/invite-suggestions", { hasBody: false }, args),
936
942
  // DELETE /provisioning/instances/{id}/logo — rank: any-builder — DELETE /provisioning/instances/:id/logo
@@ -6381,6 +6381,89 @@
6381
6381
  ]
6382
6382
  }
6383
6383
  },
6384
+ "/github/orgs": {
6385
+ "get": {
6386
+ "operationId": "get_github_orgs",
6387
+ "tags": [
6388
+ "github"
6389
+ ],
6390
+ "summary": "GET /github/orgs",
6391
+ "description": "the caller's OWN GitHub organisations (task 1004651), for the project page's \"on an organisation\" choice. Each row says whether the caller can make an app there and, when not, why. `listed` says how much GitHub showed this token (github-repos.listUserOrgs): the page always offers a typed name beside the list.\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
6392
+ "x-rank": "any-builder",
6393
+ "x-source": "src/bongos/routes/github.js",
6394
+ "responses": {
6395
+ "200": {
6396
+ "description": "Success."
6397
+ },
6398
+ "400": {
6399
+ "$ref": "#/components/responses/BadRequest"
6400
+ },
6401
+ "401": {
6402
+ "$ref": "#/components/responses/Unauthorized"
6403
+ },
6404
+ "403": {
6405
+ "$ref": "#/components/responses/Forbidden"
6406
+ }
6407
+ },
6408
+ "security": [
6409
+ {
6410
+ "builderSession": []
6411
+ }
6412
+ ]
6413
+ }
6414
+ },
6415
+ "/github/orgs/{org}": {
6416
+ "get": {
6417
+ "operationId": "get_github_orgs_org",
6418
+ "tags": [
6419
+ "github"
6420
+ ],
6421
+ "summary": "GET /github/orgs/:org",
6422
+ "description": "checks ONE organisation name the caller typed, as their own GitHub credential sees it (task 1004651). The name is checked against GitHub's login rules before it reaches a URL.\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
6423
+ "x-rank": "any-builder",
6424
+ "x-source": "src/bongos/routes/github.js",
6425
+ "parameters": [
6426
+ {
6427
+ "name": "org",
6428
+ "in": "path",
6429
+ "required": true,
6430
+ "schema": {
6431
+ "type": "string"
6432
+ },
6433
+ "description": "Path parameter `org`."
6434
+ }
6435
+ ],
6436
+ "responses": {
6437
+ "200": {
6438
+ "description": "Success.",
6439
+ "content": {
6440
+ "application/json": {
6441
+ "schema": {
6442
+ "$ref": "#/components/schemas/GetGithubOrgsOrgResponse"
6443
+ }
6444
+ }
6445
+ }
6446
+ },
6447
+ "400": {
6448
+ "$ref": "#/components/responses/BadRequest"
6449
+ },
6450
+ "401": {
6451
+ "$ref": "#/components/responses/Unauthorized"
6452
+ },
6453
+ "403": {
6454
+ "$ref": "#/components/responses/Forbidden"
6455
+ },
6456
+ "404": {
6457
+ "$ref": "#/components/responses/NotFound"
6458
+ }
6459
+ },
6460
+ "security": [
6461
+ {
6462
+ "builderSession": []
6463
+ }
6464
+ ]
6465
+ }
6466
+ },
6384
6467
  "/github/repo": {
6385
6468
  "get": {
6386
6469
  "operationId": "get_github_repo",
@@ -6511,7 +6594,7 @@
6511
6594
  "github"
6512
6595
  ],
6513
6596
  "summary": "POST /github/repos",
6514
- "description": "creates a repo in the caller's OWN account.\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
6597
+ "description": "creates a repo in the caller's OWN account, or (task 1004651) under an organisation they name in `org`. GitHub decides whether they may; its refusals come back as 409s with the reason, never as a 403 (the page reads a 403 as \"sign in again\").\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
6515
6598
  "x-rank": "any-builder",
6516
6599
  "x-source": "src/bongos/routes/github.js",
6517
6600
  "requestBody": {
@@ -17371,7 +17454,7 @@
17371
17454
  "provisioning"
17372
17455
  ],
17373
17456
  "summary": "POST /provisioning/instances/:id/github-app",
17374
- "description": "POST /provisioning/instances/:id/github-app — mint a GitHub-App-Manifest onboarding link for the caller's OWN instance (task 2080, ADR 0133). rank: any authenticated builder (own resource). Returns the pre-filled manifest + the GitHub form-POST target (personal + org variants) + a one-time `state`; the browser POSTs the manifest to GitHub, the owner approves, and GitHub redirects back to the public callback below. The web tier only RECORDS the attempt (state token) — the control-plane runner does the token exchange + cred placement (trust boundary intact, ADR 0111 §2). Body: { account? ('personal'|'org') }.\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
17457
+ "description": "POST /provisioning/instances/:id/github-app — mint a GitHub-App-Manifest onboarding link for the caller's OWN instance (task 2080, ADR 0133). rank: any authenticated builder (own resource). Returns the pre-filled manifest + the GitHub form-POST target (personal + org variants) + a one-time `state`; the browser POSTs the manifest to GitHub, the owner approves, and GitHub redirects back to the public callback below. The web tier only RECORDS the attempt (state token) — the control-plane runner does the token exchange + cred placement (trust boundary intact, ADR 0111 §2). Body: { account? ('personal'|'org'), org? (a GitHub organisation login) }. A personal or an organisation account (task 1004651): account 'org' makes the app on the organisation the founder chose on the page (`org`), else on the repo's owner. The org name is checked against GitHub's login rules here, never trusted from the page; whether the founder may make an app there is GitHub's to enforce on its own page (this module holds no GitHub token to ask with, ADR 0111 §2). Anything other than account 'org' is the founder's personal account, exactly as before.\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
17375
17458
  "x-rank": "any-builder",
17376
17459
  "x-source": "modules/provisioning/routes/provisioning.js",
17377
17460
  "parameters": [
@@ -17427,6 +17510,51 @@
17427
17510
  ]
17428
17511
  }
17429
17512
  },
17513
+ "/provisioning/instances/{id}/github-app/pick-up": {
17514
+ "post": {
17515
+ "operationId": "post_provisioning_instances_id_github_app_pick_up",
17516
+ "tags": [
17517
+ "provisioning"
17518
+ ],
17519
+ "summary": "POST /provisioning/instances/:id/github-app/pick-up",
17520
+ "description": "POST /provisioning/instances/:id/github-app/pick-up — \"Pick up where it stopped\" and \"Check again\" (task 1004652). It resumes the latest attempt from the step it stopped at, with the app GitHub already made, and never mints a new link: 'convert' puts an approved attempt whose code is still young back in the runner's queue; 'check' records a check request, which re-opens the runner's checking window for sign-in, the install and device flow. Every other pick-up is the page's own ('reopen' and 'fresh' go through the mint route, whose guard reuses or refuses; 'operator' files a blocker), so they are a 409 naming the action. Answers with the fresh read. rank: any authenticated builder (requireBuilder), the project's OWNER only — no Archon override, as with the mint route; anyone else gets the same 404 as a missing project.\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
17521
+ "x-rank": "any-builder",
17522
+ "x-source": "modules/provisioning/routes/github-setup.js",
17523
+ "parameters": [
17524
+ {
17525
+ "name": "id",
17526
+ "in": "path",
17527
+ "required": true,
17528
+ "schema": {
17529
+ "type": "string"
17530
+ },
17531
+ "description": "Path parameter `id`."
17532
+ }
17533
+ ],
17534
+ "responses": {
17535
+ "200": {
17536
+ "description": "Success."
17537
+ },
17538
+ "400": {
17539
+ "$ref": "#/components/responses/BadRequest"
17540
+ },
17541
+ "401": {
17542
+ "$ref": "#/components/responses/Unauthorized"
17543
+ },
17544
+ "403": {
17545
+ "$ref": "#/components/responses/Forbidden"
17546
+ },
17547
+ "404": {
17548
+ "$ref": "#/components/responses/NotFound"
17549
+ }
17550
+ },
17551
+ "security": [
17552
+ {
17553
+ "builderSession": []
17554
+ }
17555
+ ]
17556
+ }
17557
+ },
17430
17558
  "/provisioning/instances/{id}/invite-suggestions": {
17431
17559
  "get": {
17432
17560
  "operationId": "get_provisioning_instances_id_invite_suggestions",
@@ -25946,6 +26074,15 @@
25946
26074
  "count"
25947
26075
  ]
25948
26076
  },
26077
+ "GetGithubOrgsOrgResponse": {
26078
+ "type": "object",
26079
+ "properties": {
26080
+ "org": {}
26081
+ },
26082
+ "required": [
26083
+ "org"
26084
+ ]
26085
+ },
25949
26086
  "GetGithubRepoResponse": {
25950
26087
  "type": "object",
25951
26088
  "properties": {
@@ -26861,7 +26998,9 @@
26861
26998
  "checklist": {},
26862
26999
  "install_url": {},
26863
27000
  "repo": {},
26864
- "verifying": {}
27001
+ "verifying": {},
27002
+ "app_org": {},
27003
+ "pick_up": {}
26865
27004
  },
26866
27005
  "required": [
26867
27006
  "ok",
@@ -26875,7 +27014,9 @@
26875
27014
  "checklist",
26876
27015
  "install_url",
26877
27016
  "repo",
26878
- "verifying"
27017
+ "verifying",
27018
+ "app_org",
27019
+ "pick_up"
26879
27020
  ]
26880
27021
  },
26881
27022
  "GetProvisioningHealthResponse": {
@@ -29810,6 +29951,10 @@
29810
29951
  "name": {
29811
29952
  "type": "string",
29812
29953
  "maxLength": 100
29954
+ },
29955
+ "org": {
29956
+ "type": "string",
29957
+ "maxLength": 39
29813
29958
  }
29814
29959
  },
29815
29960
  "required": [
@@ -32003,6 +32148,10 @@
32003
32148
  "account": {
32004
32149
  "type": "string",
32005
32150
  "maxLength": 12
32151
+ },
32152
+ "org": {
32153
+ "type": "string",
32154
+ "maxLength": 39
32006
32155
  }
32007
32156
  },
32008
32157
  "additionalProperties": false
@@ -34325,9 +34474,9 @@
34325
34474
  "description": "A required dependency/feature is not configured or is temporarily down."
34326
34475
  }
34327
34476
  },
34328
- "x-endpoint-count": 536,
34329
- "x-schema-count": 575,
34477
+ "x-endpoint-count": 539,
34478
+ "x-schema-count": 576,
34330
34479
  "x-undocumented-bodies": 12,
34331
- "x-response-schemas": 381,
34480
+ "x-response-schemas": 382,
34332
34481
  "x-generated-by": "scripts/gds/gen-api-docs.js"
34333
34482
  }