@bongos/core 1.21.96 → 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 +39 -34
- package/clients/bongos-client/README.md +1 -1
- package/clients/bongos-client/bongos-client.global.js +2 -0
- package/clients/bongos-client/index.cjs +2 -0
- package/clients/bongos-client/index.d.ts +3 -1
- package/clients/bongos-client/index.mjs +2 -0
- package/docs/api/openapi.json +50 -3
- package/docs/api-reference.md +3 -2
- package/docs/copy-inventory.md +363 -363
- package/docs/copy-registry.json +435 -435
- package/docs/design/project-startup-direction.md +13 -0
- package/docs/module-api-changelog.md +2 -0
- package/docs/page-readings.json +250 -250
- package/modules/provisioning/github-setup.js +73 -4
- package/modules/provisioning/routes/github-setup.js +43 -1
- package/modules/provisioning/routes/provisioning.js +8 -4
- package/modules/public-landing/public/projects.html +185 -30
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/release-notes.json +6 -0
- package/scripts/gds/provision-github-setup.js +29 -9
- package/scripts/gds/provision.js +20 -9
- package/src/module-api.js +1 -1
- package/tests/github_one_trip.mjs +4 -4
- package/tests/github_org_account.mjs +3 -2
- package/tests/github_pick_up.mjs +366 -0
- package/tests/projects_hub_pre_uat.mjs +3 -2
- package/tests/provisioning_github_app_routes.mjs +73 -0
- package/tests/wizard_github_feedback.mjs +95 -29
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.
|
|
6
|
-
"core_contract": "1.21.
|
|
7
|
-
"source_commit": "
|
|
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-
|
|
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":
|
|
14
|
+
"functional_verbatim": 3015,
|
|
15
15
|
"rules": 3,
|
|
16
16
|
"gate_literals": 3,
|
|
17
17
|
"gate": "passed"
|
|
18
18
|
},
|
|
19
|
-
"file_count":
|
|
20
|
-
"tree_sha256": "
|
|
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": "
|
|
315
|
+
"sha256": "be92a792c9e31d1e9ed27daa7100b4690d1daf3058696773faa5e027fa1217f9"
|
|
316
316
|
},
|
|
317
317
|
{
|
|
318
318
|
"path": "clients/bongos-client/bongos-client.global.js",
|
|
319
319
|
"mode": "0000644",
|
|
320
|
-
"sha256": "
|
|
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": "
|
|
330
|
+
"sha256": "9c53971b3f18dd7e4bc98e76259909bfc992a382bc6f8d1e771856ae88908aa9"
|
|
331
331
|
},
|
|
332
332
|
{
|
|
333
333
|
"path": "clients/bongos-client/index.d.ts",
|
|
334
334
|
"mode": "0000644",
|
|
335
|
-
"sha256": "
|
|
335
|
+
"sha256": "eb0e60d817b14b4e301e0cf1356c2df5b4ee3064b28584cd54552a4db88bdd94"
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
338
|
"path": "clients/bongos-client/index.mjs",
|
|
339
339
|
"mode": "0000644",
|
|
340
|
-
"sha256": "
|
|
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": "
|
|
2320
|
+
"sha256": "ed7f8d58d6d1524cc80208d6658723d77f78edc612315f7c8e81df8ff77639e6"
|
|
2321
2321
|
},
|
|
2322
2322
|
{
|
|
2323
2323
|
"path": "docs/api/openapi.json",
|
|
2324
2324
|
"mode": "0000644",
|
|
2325
|
-
"sha256": "
|
|
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": "
|
|
2350
|
+
"sha256": "844ac9beec1b1063734a0655f917edec1b7ab2b4a6782790a7bb5205dd646c5f"
|
|
2351
2351
|
},
|
|
2352
2352
|
{
|
|
2353
2353
|
"path": "docs/copy-registry.json",
|
|
2354
2354
|
"mode": "0000644",
|
|
2355
|
-
"sha256": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
10120
|
+
"sha256": "6a5e32f5c1227cfa5b6061334c20c2572fc22f1a8e1ce10a4b577f65bef0badf"
|
|
10121
10121
|
},
|
|
10122
10122
|
{
|
|
10123
10123
|
"path": "package.json",
|
|
10124
10124
|
"mode": "0000644",
|
|
10125
|
-
"sha256": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
11210
|
+
"sha256": "772a2586d3601723f096f74f9d8aad82d418c5dce4dc9cb8809525ecd4a005ba"
|
|
11211
11211
|
},
|
|
11212
11212
|
{
|
|
11213
11213
|
"path": "scripts/gds/publish-credential-check.js",
|
|
@@ -12412,7 +12412,7 @@
|
|
|
12412
12412
|
{
|
|
12413
12413
|
"path": "src/module-api.js",
|
|
12414
12414
|
"mode": "0000644",
|
|
12415
|
-
"sha256": "
|
|
12415
|
+
"sha256": "2dde4294248b9f01a6955946bf5dd34a6919519ea31ed3a5161081acb4ca88dc"
|
|
12416
12416
|
},
|
|
12417
12417
|
{
|
|
12418
12418
|
"path": "src/module-loader/catalog.js",
|
|
@@ -14042,12 +14042,17 @@
|
|
|
14042
14042
|
{
|
|
14043
14043
|
"path": "tests/github_one_trip.mjs",
|
|
14044
14044
|
"mode": "0000644",
|
|
14045
|
-
"sha256": "
|
|
14045
|
+
"sha256": "74d7041230f6b0f3370093d8417f61b3557b1b4b408fa56fc07968a5e0187f4d"
|
|
14046
14046
|
},
|
|
14047
14047
|
{
|
|
14048
14048
|
"path": "tests/github_org_account.mjs",
|
|
14049
14049
|
"mode": "0000644",
|
|
14050
|
-
"sha256": "
|
|
14050
|
+
"sha256": "576f0f0e5c2cf483ce64de1c444e66999a2a772c5d1cb2b1e56a211549871a6f"
|
|
14051
|
+
},
|
|
14052
|
+
{
|
|
14053
|
+
"path": "tests/github_pick_up.mjs",
|
|
14054
|
+
"mode": "0000644",
|
|
14055
|
+
"sha256": "448de823c452326e4f86bbd3de84180f349f8d81371339590abfae738e1788bf"
|
|
14051
14056
|
},
|
|
14052
14057
|
{
|
|
14053
14058
|
"path": "tests/github_push_ancestry.mjs",
|
|
@@ -16437,7 +16442,7 @@
|
|
|
16437
16442
|
{
|
|
16438
16443
|
"path": "tests/projects_hub_pre_uat.mjs",
|
|
16439
16444
|
"mode": "0000644",
|
|
16440
|
-
"sha256": "
|
|
16445
|
+
"sha256": "5a0a072fbb78010e547cd9c177bd2bfb80c0f5ee9e08e16d8b00094a04b2b83e"
|
|
16441
16446
|
},
|
|
16442
16447
|
{
|
|
16443
16448
|
"path": "tests/projects_hub_render_connect.mjs",
|
|
@@ -16602,7 +16607,7 @@
|
|
|
16602
16607
|
{
|
|
16603
16608
|
"path": "tests/provisioning_github_app_routes.mjs",
|
|
16604
16609
|
"mode": "0000644",
|
|
16605
|
-
"sha256": "
|
|
16610
|
+
"sha256": "ffbefb8d490fd5dbb2793c6d82afb60b8b900ce4a053be9d5f8db08cace32feb"
|
|
16606
16611
|
},
|
|
16607
16612
|
{
|
|
16608
16613
|
"path": "tests/provisioning_look.mjs",
|
|
@@ -18112,7 +18117,7 @@
|
|
|
18112
18117
|
{
|
|
18113
18118
|
"path": "tests/wizard_github_feedback.mjs",
|
|
18114
18119
|
"mode": "0000644",
|
|
18115
|
-
"sha256": "
|
|
18120
|
+
"sha256": "efcdc79ae0d4b2dece25dd483863ce1ad3249f0b836d7e1791c2b61cc4a56939"
|
|
18116
18121
|
},
|
|
18117
18122
|
{
|
|
18118
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
|
-
-
|
|
8
|
+
- 539 operations across 76 resource groups
|
|
9
9
|
|
|
10
10
|
## Use it from your project
|
|
11
11
|
|
|
@@ -939,6 +939,8 @@ function createClient(opts = {}) {
|
|
|
939
939
|
postProvisioningInstancesIdForceTeardown: (args) => request("POST", "/provisioning/instances/{id}/force-teardown", { hasBody: true }, args),
|
|
940
940
|
// POST /provisioning/instances/{id}/github-app — rank: any-builder — POST /provisioning/instances/:id/github-app
|
|
941
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),
|
|
942
944
|
// GET /provisioning/instances/{id}/invite-suggestions — rank: any-builder — GET /provisioning/instances/:id/invite-suggestions
|
|
943
945
|
getProvisioningInstancesIdInviteSuggestions: (args) => request("GET", "/provisioning/instances/{id}/invite-suggestions", { hasBody: false }, args),
|
|
944
946
|
// DELETE /provisioning/instances/{id}/logo — rank: any-builder — DELETE /provisioning/instances/:id/logo
|
|
@@ -938,6 +938,8 @@ function createClient(opts = {}) {
|
|
|
938
938
|
postProvisioningInstancesIdForceTeardown: (args) => request("POST", "/provisioning/instances/{id}/force-teardown", { hasBody: true }, args),
|
|
939
939
|
// POST /provisioning/instances/{id}/github-app — rank: any-builder — POST /provisioning/instances/:id/github-app
|
|
940
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),
|
|
941
943
|
// GET /provisioning/instances/{id}/invite-suggestions — rank: any-builder — GET /provisioning/instances/:id/invite-suggestions
|
|
942
944
|
getProvisioningInstancesIdInviteSuggestions: (args) => request("GET", "/provisioning/instances/{id}/invite-suggestions", { hasBody: false }, args),
|
|
943
945
|
// DELETE /provisioning/instances/{id}/logo — rank: any-builder — DELETE /provisioning/instances/:id/logo
|
|
@@ -134,7 +134,7 @@ export interface GetProjectsFeaturedResponse { projects: unknown; page: PageInfo
|
|
|
134
134
|
export interface GetProjectsResponse { projects: unknown }
|
|
135
135
|
export interface GetProvisioningFleetResponse { instances: unknown; capacity: unknown }
|
|
136
136
|
export interface GetProvisioningGithubAppResumeResponse { ok: boolean; project: 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 }
|
|
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 }
|
|
138
138
|
export interface GetProvisioningHealthResponse { module: unknown; ok: boolean; coreVersion: unknown }
|
|
139
139
|
export interface GetProvisioningInstancesIdEnvManifestResponse { instance: unknown; env_vars: unknown; environments: unknown; values_held: boolean; note: unknown }
|
|
140
140
|
export interface GetProvisioningInstancesIdInviteSuggestionsResponse { suggested: unknown; seeking: unknown; reason: unknown; unavailable?: unknown }
|
|
@@ -1448,6 +1448,8 @@ export interface BongosClient {
|
|
|
1448
1448
|
postProvisioningInstancesIdForceTeardown(args?: RequestArgs): Promise<PostProvisioningInstancesIdForceTeardownResponse>;
|
|
1449
1449
|
/** POST /provisioning/instances/{id}/github-app — rank: any-builder */
|
|
1450
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>;
|
|
1451
1453
|
/** GET /provisioning/instances/{id}/invite-suggestions — rank: any-builder */
|
|
1452
1454
|
getProvisioningInstancesIdInviteSuggestions(args?: RequestArgs): Promise<GetProvisioningInstancesIdInviteSuggestionsResponse>;
|
|
1453
1455
|
/** DELETE /provisioning/instances/{id}/logo — rank: any-builder */
|
|
@@ -935,6 +935,8 @@ export function createClient(opts = {}) {
|
|
|
935
935
|
postProvisioningInstancesIdForceTeardown: (args) => request("POST", "/provisioning/instances/{id}/force-teardown", { hasBody: true }, args),
|
|
936
936
|
// POST /provisioning/instances/{id}/github-app — rank: any-builder — POST /provisioning/instances/:id/github-app
|
|
937
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),
|
|
938
940
|
// GET /provisioning/instances/{id}/invite-suggestions — rank: any-builder — GET /provisioning/instances/:id/invite-suggestions
|
|
939
941
|
getProvisioningInstancesIdInviteSuggestions: (args) => request("GET", "/provisioning/instances/{id}/invite-suggestions", { hasBody: false }, args),
|
|
940
942
|
// DELETE /provisioning/instances/{id}/logo — rank: any-builder — DELETE /provisioning/instances/:id/logo
|
package/docs/api/openapi.json
CHANGED
|
@@ -17510,6 +17510,51 @@
|
|
|
17510
17510
|
]
|
|
17511
17511
|
}
|
|
17512
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
|
+
},
|
|
17513
17558
|
"/provisioning/instances/{id}/invite-suggestions": {
|
|
17514
17559
|
"get": {
|
|
17515
17560
|
"operationId": "get_provisioning_instances_id_invite_suggestions",
|
|
@@ -26954,7 +26999,8 @@
|
|
|
26954
26999
|
"install_url": {},
|
|
26955
27000
|
"repo": {},
|
|
26956
27001
|
"verifying": {},
|
|
26957
|
-
"app_org": {}
|
|
27002
|
+
"app_org": {},
|
|
27003
|
+
"pick_up": {}
|
|
26958
27004
|
},
|
|
26959
27005
|
"required": [
|
|
26960
27006
|
"ok",
|
|
@@ -26969,7 +27015,8 @@
|
|
|
26969
27015
|
"install_url",
|
|
26970
27016
|
"repo",
|
|
26971
27017
|
"verifying",
|
|
26972
|
-
"app_org"
|
|
27018
|
+
"app_org",
|
|
27019
|
+
"pick_up"
|
|
26973
27020
|
]
|
|
26974
27021
|
},
|
|
26975
27022
|
"GetProvisioningHealthResponse": {
|
|
@@ -34427,7 +34474,7 @@
|
|
|
34427
34474
|
"description": "A required dependency/feature is not configured or is temporarily down."
|
|
34428
34475
|
}
|
|
34429
34476
|
},
|
|
34430
|
-
"x-endpoint-count":
|
|
34477
|
+
"x-endpoint-count": 539,
|
|
34431
34478
|
"x-schema-count": 576,
|
|
34432
34479
|
"x-undocumented-bodies": 12,
|
|
34433
34480
|
"x-response-schemas": 382,
|
package/docs/api-reference.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Bongos API reference
|
|
4
4
|
|
|
5
|
-
> **Generated from the live route files** — the route file is authoritative.
|
|
5
|
+
> **Generated from the live route files** — the route file is authoritative. 539 endpoints across 95 route files.
|
|
6
6
|
> Machine-readable spec: [`docs/api/openapi.json`](api/openapi.json) (OpenAPI 3.1). Rendered docs site: **`/docs`** (e.g. `cloudbongos.com/docs`).
|
|
7
7
|
|
|
8
8
|
Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust-boundary-server-enforced-permissions.md)): `public` < `any-builder` < `metic+archon` < `archon`.
|
|
@@ -638,7 +638,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
|
|
|
638
638
|
| POST | `/api/bongos/projects/invite` | `metic+archon` | `client_id`, `github_login` | own-or-metic in effect: where to invite a builder into a project, asked by a `project.curate` holder OR the project's OWN OWNER (task 100… |
|
|
639
639
|
| POST | `/api/bongos/projects/invite-guild` | `metic+archon` | `client_id`, `guild` | own-or-metic in effect, the SAME gate as POST /projects/invite above and for the same reasons (a non-inviter gets that route's unchanged … |
|
|
640
640
|
|
|
641
|
-
## `provisioning` (
|
|
641
|
+
## `provisioning` (46)
|
|
642
642
|
|
|
643
643
|
| Method | Path | Rank | Body | Description |
|
|
644
644
|
|---|---|---|---|---|
|
|
@@ -666,6 +666,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
|
|
|
666
666
|
| DELETE | `/api/bongos/provisioning/instances/:id/env-manifest/:varId` | `any-builder` | — | DELETE — remove one declaration. |
|
|
667
667
|
| POST | `/api/bongos/provisioning/instances/:id/force-teardown` | `metic+archon` | — | POST /provisioning/instances/:id/force-teardown — Archon tears down ANY instance. |
|
|
668
668
|
| POST | `/api/bongos/provisioning/instances/:id/github-app` | `any-builder` | `account`, `org` | POST /provisioning/instances/:id/github-app — mint a GitHub-App-Manifest onboarding link for the caller's OWN instance (task 2080, ADR 01… |
|
|
669
|
+
| POST | `/api/bongos/provisioning/instances/:id/github-app/pick-up` | `any-builder` | — | POST /provisioning/instances/:id/github-app/pick-up — "Pick up where it stopped" and "Check again" (task 1004652). |
|
|
669
670
|
| GET | `/api/bongos/provisioning/instances/:id/invite-suggestions` | `any-builder` | — | ── Who is worth inviting (BV1.R28, task 1002347, goal 1000046 C6) ──────── GET /provisioning/instances/:id/invite-suggestions — turn the … |
|
|
670
671
|
| PUT | `/api/bongos/provisioning/instances/:id/logo` | `any-builder` | `image_b64`, `content_type` | PUT …/logo — rank: any authenticated builder (own resource; archon may change any). |
|
|
671
672
|
| DELETE | `/api/bongos/provisioning/instances/:id/logo` | `any-builder` | validated | DELETE …/logo — rank: any authenticated builder (own resource; archon may change any). |
|