@bongos/core 1.19.359 → 1.19.361
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 +72 -42
- package/clients/bongos-client/README.md +1 -1
- package/clients/bongos-client/bongos-client.global.js +8 -0
- package/clients/bongos-client/index.cjs +8 -0
- package/clients/bongos-client/index.d.ts +11 -0
- package/clients/bongos-client/index.mjs +8 -0
- package/docs/api/openapi.json +170 -3
- package/docs/api-reference.md +9 -1
- package/docs/file-map.md +2 -0
- package/modules/autonomy/routes/autonomy.js +19 -0
- package/modules/dev-box/app/src/config.js +13 -1
- package/modules/dev-box/app/src/vendor/bongos-client.cjs +8 -0
- package/modules/economy/achievements.js +21 -0
- package/modules/economy/routes/cost.js +16 -0
- package/modules/economy/routes/leaderboard.js +12 -0
- package/modules/ideas/routes/blockers.js +24 -3
- package/modules/ideas/routes/inbox.js +34 -3
- package/modules/lifecycle/closeness-weights.json +64 -0
- package/modules/lifecycle/closeness.js +363 -0
- package/modules/lifecycle/module.json +1 -0
- package/modules/lifecycle/routes/claims.js +22 -0
- package/modules/lifecycle/routes/closeness.js +118 -0
- package/modules/lifecycle/routes/tasks.js +22 -0
- package/modules/lifecycle/routes/versions.js +18 -0
- package/modules/memory/routes/learnings.js +21 -0
- package/modules/platform-identity/platform-identity.js +28 -0
- package/modules/platform-identity/routes/sso.js +4 -0
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/scripts/gds/claude-md-template.js +1 -0
- package/scripts/gds/doc-comment-coverage.js +139 -0
- package/scripts/gds/fitness.js +5 -0
- package/scripts/gds/me.js +10 -1
- package/src/bongos/routes/auth.js +28 -0
- package/src/bongos/routes/builders.js +24 -0
- package/src/bongos/routes/healthz.js +10 -0
- package/src/bongos/routes/me.js +21 -0
- package/src/bongos/routes/optimizer.js +12 -0
- package/src/bongos/routes/public.js +19 -1
- package/src/module-api.js +5 -1
- package/tests/closeness.mjs +324 -0
- package/tests/doc_comment_coverage.mjs +87 -0
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.19.
|
|
6
|
-
"core_contract": "1.19.
|
|
7
|
-
"source_commit": "
|
|
5
|
+
"core_version": "1.19.361",
|
|
6
|
+
"core_contract": "1.19.361",
|
|
7
|
+
"source_commit": "52986b2ce513fb2d4550b8ad303333c6f02daafb",
|
|
8
8
|
"source_ref": "HEAD",
|
|
9
|
-
"built_at": "2026-08-
|
|
9
|
+
"built_at": "2026-08-25T18:21:25.463Z",
|
|
10
10
|
"redaction": {
|
|
11
11
|
"model": "docs-redacted+functional-verbatim",
|
|
12
12
|
"docs_redacted": 330,
|
|
13
13
|
"agent_docs_stubbed": 22,
|
|
14
|
-
"functional_verbatim":
|
|
14
|
+
"functional_verbatim": 1525,
|
|
15
15
|
"rules": 3,
|
|
16
16
|
"gate_literals": 3,
|
|
17
17
|
"gate": "passed"
|
|
18
18
|
},
|
|
19
|
-
"file_count":
|
|
20
|
-
"tree_sha256": "
|
|
19
|
+
"file_count": 1877,
|
|
20
|
+
"tree_sha256": "ec6c330506400cf439253a53651300f6be6176f28375130cc28ba0949823736c",
|
|
21
21
|
"files": [
|
|
22
22
|
{
|
|
23
23
|
"path": ".claude/skills/blocker-review/SKILL.md",
|
|
@@ -347,12 +347,12 @@
|
|
|
347
347
|
{
|
|
348
348
|
"path": "clients/bongos-client/README.md",
|
|
349
349
|
"mode": "0000644",
|
|
350
|
-
"sha256": "
|
|
350
|
+
"sha256": "b94bec08062d2f3374043a6ce93bca31b27073e51da47f9477e67e2602565701"
|
|
351
351
|
},
|
|
352
352
|
{
|
|
353
353
|
"path": "clients/bongos-client/bongos-client.global.js",
|
|
354
354
|
"mode": "0000644",
|
|
355
|
-
"sha256": "
|
|
355
|
+
"sha256": "827ffa492b7035169b0734807208d45dc898d86b7d52570b55f7050d83e0aba3"
|
|
356
356
|
},
|
|
357
357
|
{
|
|
358
358
|
"path": "clients/bongos-client/examples/hello-world.mjs",
|
|
@@ -362,17 +362,17 @@
|
|
|
362
362
|
{
|
|
363
363
|
"path": "clients/bongos-client/index.cjs",
|
|
364
364
|
"mode": "0000644",
|
|
365
|
-
"sha256": "
|
|
365
|
+
"sha256": "7f601b37bb8acad773f55b5e5200cf1efeb40cdcc2694570b58c336cdcf9b3ad"
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
368
|
"path": "clients/bongos-client/index.d.ts",
|
|
369
369
|
"mode": "0000644",
|
|
370
|
-
"sha256": "
|
|
370
|
+
"sha256": "3834aed054469417cecbd8c1786cbc5400ec1a0e7871ac3bc41c8044f2f97aae"
|
|
371
371
|
},
|
|
372
372
|
{
|
|
373
373
|
"path": "clients/bongos-client/index.mjs",
|
|
374
374
|
"mode": "0000644",
|
|
375
|
-
"sha256": "
|
|
375
|
+
"sha256": "d3f455fe0a335606c10ec92fc151f4767bf37d9c40c423f7635c642dd5b1e298"
|
|
376
376
|
},
|
|
377
377
|
{
|
|
378
378
|
"path": "clients/bongos-client/package.json",
|
|
@@ -1452,12 +1452,12 @@
|
|
|
1452
1452
|
{
|
|
1453
1453
|
"path": "docs/api-reference.md",
|
|
1454
1454
|
"mode": "0000644",
|
|
1455
|
-
"sha256": "
|
|
1455
|
+
"sha256": "d076deeab4cc5690b2fd8081b3ea885d2e6c414267ff4cacb43d71e9b3d92d8c"
|
|
1456
1456
|
},
|
|
1457
1457
|
{
|
|
1458
1458
|
"path": "docs/api/openapi.json",
|
|
1459
1459
|
"mode": "0000644",
|
|
1460
|
-
"sha256": "
|
|
1460
|
+
"sha256": "88484f046d52c6ff605fbecd5c32d14542279f487586b8c371de3ce6de50e812"
|
|
1461
1461
|
},
|
|
1462
1462
|
{
|
|
1463
1463
|
"path": "docs/architecture.md",
|
|
@@ -1597,7 +1597,7 @@
|
|
|
1597
1597
|
{
|
|
1598
1598
|
"path": "docs/file-map.md",
|
|
1599
1599
|
"mode": "0000644",
|
|
1600
|
-
"sha256": "
|
|
1600
|
+
"sha256": "1cda168698104ff12fbe75a28a5f76fd11a2d7311c8ba32ba985874dbff65570"
|
|
1601
1601
|
},
|
|
1602
1602
|
{
|
|
1603
1603
|
"path": "docs/handoff-template.md",
|
|
@@ -2537,7 +2537,7 @@
|
|
|
2537
2537
|
{
|
|
2538
2538
|
"path": "modules/autonomy/routes/autonomy.js",
|
|
2539
2539
|
"mode": "0000644",
|
|
2540
|
-
"sha256": "
|
|
2540
|
+
"sha256": "ae9aff3f47f2b5801f9839493549b912424e8b22c153e91afcf3376a1cc4fb4d"
|
|
2541
2541
|
},
|
|
2542
2542
|
{
|
|
2543
2543
|
"path": "modules/builder-settings/CLAUDE.md",
|
|
@@ -2827,7 +2827,7 @@
|
|
|
2827
2827
|
{
|
|
2828
2828
|
"path": "modules/dev-box/app/src/config.js",
|
|
2829
2829
|
"mode": "0000644",
|
|
2830
|
-
"sha256": "
|
|
2830
|
+
"sha256": "689935bb1901be4f31877207e7885be21630b9eafa6afe5fa025b1ff1dce4f83"
|
|
2831
2831
|
},
|
|
2832
2832
|
{
|
|
2833
2833
|
"path": "modules/dev-box/app/src/gds-client.js",
|
|
@@ -2877,7 +2877,7 @@
|
|
|
2877
2877
|
{
|
|
2878
2878
|
"path": "modules/dev-box/app/src/vendor/bongos-client.cjs",
|
|
2879
2879
|
"mode": "0000644",
|
|
2880
|
-
"sha256": "
|
|
2880
|
+
"sha256": "7f601b37bb8acad773f55b5e5200cf1efeb40cdcc2694570b58c336cdcf9b3ad"
|
|
2881
2881
|
},
|
|
2882
2882
|
{
|
|
2883
2883
|
"path": "modules/dev-box/app/test/unit.mjs",
|
|
@@ -3032,7 +3032,7 @@
|
|
|
3032
3032
|
{
|
|
3033
3033
|
"path": "modules/economy/achievements.js",
|
|
3034
3034
|
"mode": "0000644",
|
|
3035
|
-
"sha256": "
|
|
3035
|
+
"sha256": "000cb76c8bfd4a7a6f3544f4fae923691a7596b6caed0af3b324df91ff72dfcb"
|
|
3036
3036
|
},
|
|
3037
3037
|
{
|
|
3038
3038
|
"path": "modules/economy/cost-classify.js",
|
|
@@ -3077,12 +3077,12 @@
|
|
|
3077
3077
|
{
|
|
3078
3078
|
"path": "modules/economy/routes/cost.js",
|
|
3079
3079
|
"mode": "0000644",
|
|
3080
|
-
"sha256": "
|
|
3080
|
+
"sha256": "4113b736359f09d6869795800d52394603823b570263dd1852281b35e6bb2485"
|
|
3081
3081
|
},
|
|
3082
3082
|
{
|
|
3083
3083
|
"path": "modules/economy/routes/leaderboard.js",
|
|
3084
3084
|
"mode": "0000644",
|
|
3085
|
-
"sha256": "
|
|
3085
|
+
"sha256": "e8c6baf3e5bbd54c9dc79f74a9a562a6c550e75952bbd1010a11bd26dec17833"
|
|
3086
3086
|
},
|
|
3087
3087
|
{
|
|
3088
3088
|
"path": "modules/economy/routes/reward.js",
|
|
@@ -3902,12 +3902,12 @@
|
|
|
3902
3902
|
{
|
|
3903
3903
|
"path": "modules/ideas/routes/blockers.js",
|
|
3904
3904
|
"mode": "0000644",
|
|
3905
|
-
"sha256": "
|
|
3905
|
+
"sha256": "61c7692449f16ce103762d703f2eb5b0412cf1ba393d9a4d3724a14830747ab5"
|
|
3906
3906
|
},
|
|
3907
3907
|
{
|
|
3908
3908
|
"path": "modules/ideas/routes/inbox.js",
|
|
3909
3909
|
"mode": "0000644",
|
|
3910
|
-
"sha256": "
|
|
3910
|
+
"sha256": "cfe139439ef93d42718354fd10781e0aa11f5f8a730d64dbf09c7232305daaaf"
|
|
3911
3911
|
},
|
|
3912
3912
|
{
|
|
3913
3913
|
"path": "modules/ideas/routing.js",
|
|
@@ -3934,6 +3934,16 @@
|
|
|
3934
3934
|
"mode": "0000644",
|
|
3935
3935
|
"sha256": "3586cc2aa07913870ad99073c534e70ef2e2c5ff6a5ef2ddeb141cfd397269cd"
|
|
3936
3936
|
},
|
|
3937
|
+
{
|
|
3938
|
+
"path": "modules/lifecycle/closeness-weights.json",
|
|
3939
|
+
"mode": "0000644",
|
|
3940
|
+
"sha256": "76d285de14e43744c5b74fc26c60c48bfc329c297f9b682eaf8abfa69866bc72"
|
|
3941
|
+
},
|
|
3942
|
+
{
|
|
3943
|
+
"path": "modules/lifecycle/closeness.js",
|
|
3944
|
+
"mode": "0000644",
|
|
3945
|
+
"sha256": "f5668020c115a6d356a74603dc4a7229ddfdb8d5015a22f871a35386a869fe58"
|
|
3946
|
+
},
|
|
3937
3947
|
{
|
|
3938
3948
|
"path": "modules/lifecycle/conflict-resolve.js",
|
|
3939
3949
|
"mode": "0000644",
|
|
@@ -4097,7 +4107,7 @@
|
|
|
4097
4107
|
{
|
|
4098
4108
|
"path": "modules/lifecycle/module.json",
|
|
4099
4109
|
"mode": "0000644",
|
|
4100
|
-
"sha256": "
|
|
4110
|
+
"sha256": "30653b4064be8933894679ac4e272711edcc629e151d87017e2b2e45be96d78f"
|
|
4101
4111
|
},
|
|
4102
4112
|
{
|
|
4103
4113
|
"path": "modules/lifecycle/pollers/publish-reconciler.js",
|
|
@@ -4117,7 +4127,12 @@
|
|
|
4117
4127
|
{
|
|
4118
4128
|
"path": "modules/lifecycle/routes/claims.js",
|
|
4119
4129
|
"mode": "0000644",
|
|
4120
|
-
"sha256": "
|
|
4130
|
+
"sha256": "6bc32c6ae4029748d6099701f25fc17d5875b2ff005de5ad2cacbc023092c32c"
|
|
4131
|
+
},
|
|
4132
|
+
{
|
|
4133
|
+
"path": "modules/lifecycle/routes/closeness.js",
|
|
4134
|
+
"mode": "0000644",
|
|
4135
|
+
"sha256": "1950ba9d20f925fa1ecbe7fb37d35a5b80045c556c6f76caa90b82e213b7db88"
|
|
4121
4136
|
},
|
|
4122
4137
|
{
|
|
4123
4138
|
"path": "modules/lifecycle/routes/dependencies.js",
|
|
@@ -4172,12 +4187,12 @@
|
|
|
4172
4187
|
{
|
|
4173
4188
|
"path": "modules/lifecycle/routes/tasks.js",
|
|
4174
4189
|
"mode": "0000644",
|
|
4175
|
-
"sha256": "
|
|
4190
|
+
"sha256": "e27a8ce945d8d7e68d618e60b3cac72af9722588affb876fa22df0f525ec3dc5"
|
|
4176
4191
|
},
|
|
4177
4192
|
{
|
|
4178
4193
|
"path": "modules/lifecycle/routes/versions.js",
|
|
4179
4194
|
"mode": "0000644",
|
|
4180
|
-
"sha256": "
|
|
4195
|
+
"sha256": "77183a22af7bd1f506f2b3d2cba176e89af578ce5aa2da6abe0ee353e3ec8cbd"
|
|
4181
4196
|
},
|
|
4182
4197
|
{
|
|
4183
4198
|
"path": "modules/lifecycle/routes/visuals.js",
|
|
@@ -4252,7 +4267,7 @@
|
|
|
4252
4267
|
{
|
|
4253
4268
|
"path": "modules/memory/routes/learnings.js",
|
|
4254
4269
|
"mode": "0000644",
|
|
4255
|
-
"sha256": "
|
|
4270
|
+
"sha256": "c205d67b5fe840af28cd7f6b9a02fa2f8a8287a992bd009bbcd6f7bcf733043b"
|
|
4256
4271
|
},
|
|
4257
4272
|
{
|
|
4258
4273
|
"path": "modules/memory/routes/memory.js",
|
|
@@ -4397,7 +4412,7 @@
|
|
|
4397
4412
|
{
|
|
4398
4413
|
"path": "modules/platform-identity/platform-identity.js",
|
|
4399
4414
|
"mode": "0000644",
|
|
4400
|
-
"sha256": "
|
|
4415
|
+
"sha256": "8e51d1b28d33534e04dffd0ac139aecb85b9f2a8e1c5a0adbd2847893b650f24"
|
|
4401
4416
|
},
|
|
4402
4417
|
{
|
|
4403
4418
|
"path": "modules/platform-identity/pollers/code-sweep.js",
|
|
@@ -4437,7 +4452,7 @@
|
|
|
4437
4452
|
{
|
|
4438
4453
|
"path": "modules/platform-identity/routes/sso.js",
|
|
4439
4454
|
"mode": "0000644",
|
|
4440
|
-
"sha256": "
|
|
4455
|
+
"sha256": "68f2b69706f30de35c94749e8733a00da2737ecad37e93ea4965c7a45a6d7e5b"
|
|
4441
4456
|
},
|
|
4442
4457
|
{
|
|
4443
4458
|
"path": "modules/platform-identity/tests/platform-identity.mjs",
|
|
@@ -4832,12 +4847,12 @@
|
|
|
4832
4847
|
{
|
|
4833
4848
|
"path": "package-lock.json",
|
|
4834
4849
|
"mode": "0000644",
|
|
4835
|
-
"sha256": "
|
|
4850
|
+
"sha256": "f1a896b55fbf77414ebf57311585f596768d6278a3543e0e3cc2b3b29e9ddc5e"
|
|
4836
4851
|
},
|
|
4837
4852
|
{
|
|
4838
4853
|
"path": "package.json",
|
|
4839
4854
|
"mode": "0000644",
|
|
4840
|
-
"sha256": "
|
|
4855
|
+
"sha256": "dd516fa3534fbadfa1dc22fabae2226206d88e1857b5a346dad8cbfa45c89ca9"
|
|
4841
4856
|
},
|
|
4842
4857
|
{
|
|
4843
4858
|
"path": "public-docs/index.html",
|
|
@@ -5337,7 +5352,7 @@
|
|
|
5337
5352
|
{
|
|
5338
5353
|
"path": "scripts/gds/claude-md-template.js",
|
|
5339
5354
|
"mode": "0000644",
|
|
5340
|
-
"sha256": "
|
|
5355
|
+
"sha256": "68f2c65ac9297328f44927ccb9a40a0fa536b91d9056aaa980a92149a64ce47c"
|
|
5341
5356
|
},
|
|
5342
5357
|
{
|
|
5343
5358
|
"path": "scripts/gds/cleanup-orphans.js",
|
|
@@ -5464,6 +5479,11 @@
|
|
|
5464
5479
|
"mode": "0000644",
|
|
5465
5480
|
"sha256": "9cf6c8ead8129799d17a18eadedf0423828cb457fa07fd317dcf2853254861e9"
|
|
5466
5481
|
},
|
|
5482
|
+
{
|
|
5483
|
+
"path": "scripts/gds/doc-comment-coverage.js",
|
|
5484
|
+
"mode": "0000644",
|
|
5485
|
+
"sha256": "17d0fbc570b6dea3dfcf2425058510cd70b23f066fdf1ed751072852713284a3"
|
|
5486
|
+
},
|
|
5467
5487
|
{
|
|
5468
5488
|
"path": "scripts/gds/docs-entropy.js",
|
|
5469
5489
|
"mode": "0000644",
|
|
@@ -5522,7 +5542,7 @@
|
|
|
5522
5542
|
{
|
|
5523
5543
|
"path": "scripts/gds/fitness.js",
|
|
5524
5544
|
"mode": "0000644",
|
|
5525
|
-
"sha256": "
|
|
5545
|
+
"sha256": "e38069a6eee1072438d745634cdae405c57c20b8261f133d4afa0440b1d3d545"
|
|
5526
5546
|
},
|
|
5527
5547
|
{
|
|
5528
5548
|
"path": "scripts/gds/gate-review.js",
|
|
@@ -5717,7 +5737,7 @@
|
|
|
5717
5737
|
{
|
|
5718
5738
|
"path": "scripts/gds/me.js",
|
|
5719
5739
|
"mode": "0000644",
|
|
5720
|
-
"sha256": "
|
|
5740
|
+
"sha256": "e2591cd7a867120cbf5bda0ba7460508ab0342c3dfcdaecec88a29290fec1566"
|
|
5721
5741
|
},
|
|
5722
5742
|
{
|
|
5723
5743
|
"path": "scripts/gds/memory-map.js",
|
|
@@ -6587,7 +6607,7 @@
|
|
|
6587
6607
|
{
|
|
6588
6608
|
"path": "src/bongos/routes/auth.js",
|
|
6589
6609
|
"mode": "0000644",
|
|
6590
|
-
"sha256": "
|
|
6610
|
+
"sha256": "39392e56faf8fb7efb52686a006d3dd5dbb4b965dd81402d6a4d7a7c173923bb"
|
|
6591
6611
|
},
|
|
6592
6612
|
{
|
|
6593
6613
|
"path": "src/bongos/routes/backup.js",
|
|
@@ -6597,7 +6617,7 @@
|
|
|
6597
6617
|
{
|
|
6598
6618
|
"path": "src/bongos/routes/builders.js",
|
|
6599
6619
|
"mode": "0000644",
|
|
6600
|
-
"sha256": "
|
|
6620
|
+
"sha256": "38760c782a379b7a977b9ed4e0af00726d4080ebedf9ea071cefe8d90ceb69b1"
|
|
6601
6621
|
},
|
|
6602
6622
|
{
|
|
6603
6623
|
"path": "src/bongos/routes/github.js",
|
|
@@ -6607,7 +6627,7 @@
|
|
|
6607
6627
|
{
|
|
6608
6628
|
"path": "src/bongos/routes/healthz.js",
|
|
6609
6629
|
"mode": "0000644",
|
|
6610
|
-
"sha256": "
|
|
6630
|
+
"sha256": "5d22031a1acd21a9a244d9f68809450e811fe6a6c98a2f4e2330452515757c37"
|
|
6611
6631
|
},
|
|
6612
6632
|
{
|
|
6613
6633
|
"path": "src/bongos/routes/instance.js",
|
|
@@ -6627,7 +6647,7 @@
|
|
|
6627
6647
|
{
|
|
6628
6648
|
"path": "src/bongos/routes/me.js",
|
|
6629
6649
|
"mode": "0000644",
|
|
6630
|
-
"sha256": "
|
|
6650
|
+
"sha256": "0006bf8ec2430532a72c194bcc7517b4008d00b8fa4a73e9a77bc2c6a10c6d26"
|
|
6631
6651
|
},
|
|
6632
6652
|
{
|
|
6633
6653
|
"path": "src/bongos/routes/modules.js",
|
|
@@ -6637,12 +6657,12 @@
|
|
|
6637
6657
|
{
|
|
6638
6658
|
"path": "src/bongos/routes/optimizer.js",
|
|
6639
6659
|
"mode": "0000644",
|
|
6640
|
-
"sha256": "
|
|
6660
|
+
"sha256": "22cc9a90dd67c358ec6f23aed86a3053548fbd5f0dfdce09eefc48e215b63a06"
|
|
6641
6661
|
},
|
|
6642
6662
|
{
|
|
6643
6663
|
"path": "src/bongos/routes/public.js",
|
|
6644
6664
|
"mode": "0000644",
|
|
6645
|
-
"sha256": "
|
|
6665
|
+
"sha256": "0127967b6e345e93cb576702f472534d7985d7f2d8a0d7031a865c5c1d815576"
|
|
6646
6666
|
},
|
|
6647
6667
|
{
|
|
6648
6668
|
"path": "src/bongos/routes/security.js",
|
|
@@ -6697,7 +6717,7 @@
|
|
|
6697
6717
|
{
|
|
6698
6718
|
"path": "src/module-api.js",
|
|
6699
6719
|
"mode": "0000644",
|
|
6700
|
-
"sha256": "
|
|
6720
|
+
"sha256": "71ef74c90f0f0d5d092a1c3fa586f564a4fec242da73acf1d310a7323e960cce"
|
|
6701
6721
|
},
|
|
6702
6722
|
{
|
|
6703
6723
|
"path": "src/module-loader/catalog.js",
|
|
@@ -7219,6 +7239,11 @@
|
|
|
7219
7239
|
"mode": "0000644",
|
|
7220
7240
|
"sha256": "6cc4e7e38c26ff13644e714dd4bf76bfe0fbde984df9fd37f6b1695ae990a569"
|
|
7221
7241
|
},
|
|
7242
|
+
{
|
|
7243
|
+
"path": "tests/closeness.mjs",
|
|
7244
|
+
"mode": "0000644",
|
|
7245
|
+
"sha256": "b5c4791d84aa3126714c7b3188320dc4df984e282a086196ded2394f825295d1"
|
|
7246
|
+
},
|
|
7222
7247
|
{
|
|
7223
7248
|
"path": "tests/cloud_bongos_pack.mjs",
|
|
7224
7249
|
"mode": "0000644",
|
|
@@ -7499,6 +7524,11 @@
|
|
|
7499
7524
|
"mode": "0000644",
|
|
7500
7525
|
"sha256": "4e68c67489daa51167b8d738a36f7c0187016b342e8a57731d14241563262878"
|
|
7501
7526
|
},
|
|
7527
|
+
{
|
|
7528
|
+
"path": "tests/doc_comment_coverage.mjs",
|
|
7529
|
+
"mode": "0000644",
|
|
7530
|
+
"sha256": "f51d3c747fbb3201ed3388abb1386d0547c3a3be70d7ad7237b9a0f5fdd2347b"
|
|
7531
|
+
},
|
|
7502
7532
|
{
|
|
7503
7533
|
"path": "tests/docs_entropy.mjs",
|
|
7504
7534
|
"mode": "0000644",
|
|
@@ -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
|
+
- 315 operations across 51 resource groups
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
@@ -252,6 +252,14 @@ function createClient(opts = {}) {
|
|
|
252
252
|
// POST /claims/batch/validate — rank: any-builder — POST /claims/batch/validate
|
|
253
253
|
postClaimsBatchValidate: (args) => request("POST", "/claims/batch/validate", { hasBody: true }, args),
|
|
254
254
|
},
|
|
255
|
+
"closeness": {
|
|
256
|
+
// GET /closeness/for-me — rank: any-builder — GET /closeness/for-me
|
|
257
|
+
getClosenessForMe: (args) => request("GET", "/closeness/for-me", { hasBody: false }, args),
|
|
258
|
+
// GET /closeness/weights — rank: any-builder — GET /closeness/weights
|
|
259
|
+
getClosenessWeights: (args) => request("GET", "/closeness/weights", { hasBody: false }, args),
|
|
260
|
+
// GET /closeness/with/{builderId} — rank: any-builder — GET /closeness/with/:builderId
|
|
261
|
+
getClosenessWithBuilderId: (args) => request("GET", "/closeness/with/{builderId}", { hasBody: false }, args),
|
|
262
|
+
},
|
|
255
263
|
"copyDesk": {
|
|
256
264
|
// POST /copy-desk/flags — rank: any-builder — POST /copy-desk/flags
|
|
257
265
|
postCopyDeskFlags: (args) => request("POST", "/copy-desk/flags", { hasBody: true }, args),
|
|
@@ -251,6 +251,14 @@ function createClient(opts = {}) {
|
|
|
251
251
|
// POST /claims/batch/validate — rank: any-builder — POST /claims/batch/validate
|
|
252
252
|
postClaimsBatchValidate: (args) => request("POST", "/claims/batch/validate", { hasBody: true }, args),
|
|
253
253
|
},
|
|
254
|
+
"closeness": {
|
|
255
|
+
// GET /closeness/for-me — rank: any-builder — GET /closeness/for-me
|
|
256
|
+
getClosenessForMe: (args) => request("GET", "/closeness/for-me", { hasBody: false }, args),
|
|
257
|
+
// GET /closeness/weights — rank: any-builder — GET /closeness/weights
|
|
258
|
+
getClosenessWeights: (args) => request("GET", "/closeness/weights", { hasBody: false }, args),
|
|
259
|
+
// GET /closeness/with/{builderId} — rank: any-builder — GET /closeness/with/:builderId
|
|
260
|
+
getClosenessWithBuilderId: (args) => request("GET", "/closeness/with/{builderId}", { hasBody: false }, args),
|
|
261
|
+
},
|
|
254
262
|
"copyDesk": {
|
|
255
263
|
// POST /copy-desk/flags — rank: any-builder — POST /copy-desk/flags
|
|
256
264
|
postCopyDeskFlags: (args) => request("POST", "/copy-desk/flags", { hasBody: true }, args),
|
|
@@ -35,6 +35,9 @@ export interface GetBuildersIdOnboardingResponse { builder_id: unknown; onboardi
|
|
|
35
35
|
export interface GetBuildersIdProfileResponse { builder: unknown; shipped_count: unknown; recent_ships: unknown; achievements: unknown; cross_project?: unknown }
|
|
36
36
|
export interface GetBuildersMePendingRankChangeResponse { change: unknown; greeting?: unknown }
|
|
37
37
|
export interface GetBuildersRosterResponse { builders: unknown; stale_hours: unknown }
|
|
38
|
+
export interface GetClosenessForMeResponse { closeness: unknown; count: unknown }
|
|
39
|
+
export interface GetClosenessWeightsResponse { weights: unknown; window_days: unknown; note: unknown }
|
|
40
|
+
export interface GetClosenessWithBuilderIdResponse { closeness: unknown; why: unknown }
|
|
38
41
|
export interface GetDiscordChannelsPlanResponse { ok: boolean; guild_id: unknown; op_count: unknown; ops: unknown; warnings: unknown }
|
|
39
42
|
export interface GetDoneWhenPendingReviewResponse { criteria: unknown; count: unknown }
|
|
40
43
|
export interface GetGithubRepoResponse { ok: boolean; repo: unknown; private_deployable: boolean }
|
|
@@ -535,6 +538,14 @@ export interface BongosClient {
|
|
|
535
538
|
/** POST /claims/batch/validate — rank: any-builder */
|
|
536
539
|
postClaimsBatchValidate(args: RequestArgs & { body: PostClaimsBatchValidateRequest }): Promise<ApiResponse>;
|
|
537
540
|
};
|
|
541
|
+
"closeness": {
|
|
542
|
+
/** GET /closeness/for-me — rank: any-builder */
|
|
543
|
+
getClosenessForMe(args?: RequestArgs): Promise<GetClosenessForMeResponse>;
|
|
544
|
+
/** GET /closeness/weights — rank: any-builder */
|
|
545
|
+
getClosenessWeights(args?: RequestArgs): Promise<GetClosenessWeightsResponse>;
|
|
546
|
+
/** GET /closeness/with/{builderId} — rank: any-builder */
|
|
547
|
+
getClosenessWithBuilderId(args?: RequestArgs): Promise<GetClosenessWithBuilderIdResponse>;
|
|
548
|
+
};
|
|
538
549
|
"copyDesk": {
|
|
539
550
|
/** POST /copy-desk/flags — rank: any-builder */
|
|
540
551
|
postCopyDeskFlags(args: RequestArgs & { body: PostCopyDeskFlagsRequest }): Promise<PostCopyDeskFlagsResponse>;
|
|
@@ -248,6 +248,14 @@ export function createClient(opts = {}) {
|
|
|
248
248
|
// POST /claims/batch/validate — rank: any-builder — POST /claims/batch/validate
|
|
249
249
|
postClaimsBatchValidate: (args) => request("POST", "/claims/batch/validate", { hasBody: true }, args),
|
|
250
250
|
},
|
|
251
|
+
"closeness": {
|
|
252
|
+
// GET /closeness/for-me — rank: any-builder — GET /closeness/for-me
|
|
253
|
+
getClosenessForMe: (args) => request("GET", "/closeness/for-me", { hasBody: false }, args),
|
|
254
|
+
// GET /closeness/weights — rank: any-builder — GET /closeness/weights
|
|
255
|
+
getClosenessWeights: (args) => request("GET", "/closeness/weights", { hasBody: false }, args),
|
|
256
|
+
// GET /closeness/with/{builderId} — rank: any-builder — GET /closeness/with/:builderId
|
|
257
|
+
getClosenessWithBuilderId: (args) => request("GET", "/closeness/with/{builderId}", { hasBody: false }, args),
|
|
258
|
+
},
|
|
251
259
|
"copyDesk": {
|
|
252
260
|
// POST /copy-desk/flags — rank: any-builder — POST /copy-desk/flags
|
|
253
261
|
postCopyDeskFlags: (args) => request("POST", "/copy-desk/flags", { hasBody: true }, args),
|
package/docs/api/openapi.json
CHANGED
|
@@ -73,6 +73,10 @@
|
|
|
73
73
|
"name": "claims",
|
|
74
74
|
"description": "Endpoints under `/api/bongos/claims`."
|
|
75
75
|
},
|
|
76
|
+
{
|
|
77
|
+
"name": "closeness",
|
|
78
|
+
"description": "Endpoints under `/api/bongos/closeness`."
|
|
79
|
+
},
|
|
76
80
|
{
|
|
77
81
|
"name": "copy-desk",
|
|
78
82
|
"description": "Endpoints under `/api/bongos/copy-desk`."
|
|
@@ -3195,6 +3199,134 @@
|
|
|
3195
3199
|
]
|
|
3196
3200
|
}
|
|
3197
3201
|
},
|
|
3202
|
+
"/closeness/for-me": {
|
|
3203
|
+
"get": {
|
|
3204
|
+
"operationId": "get_closeness_for_me",
|
|
3205
|
+
"tags": [
|
|
3206
|
+
"closeness"
|
|
3207
|
+
],
|
|
3208
|
+
"summary": "GET /closeness/for-me",
|
|
3209
|
+
"description": ", and OWN-SCOPED — your own graph, never someone else's. Reading another builder's graph would expose who THEY are close to, which is a fact about third parties they did not consent to share.\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
|
|
3210
|
+
"x-rank": "any-builder",
|
|
3211
|
+
"x-source": "modules/lifecycle/routes/closeness.js",
|
|
3212
|
+
"responses": {
|
|
3213
|
+
"200": {
|
|
3214
|
+
"description": "Success.",
|
|
3215
|
+
"content": {
|
|
3216
|
+
"application/json": {
|
|
3217
|
+
"schema": {
|
|
3218
|
+
"$ref": "#/components/schemas/GetClosenessForMeResponse"
|
|
3219
|
+
}
|
|
3220
|
+
}
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3223
|
+
"400": {
|
|
3224
|
+
"$ref": "#/components/responses/BadRequest"
|
|
3225
|
+
},
|
|
3226
|
+
"401": {
|
|
3227
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
3228
|
+
},
|
|
3229
|
+
"403": {
|
|
3230
|
+
"$ref": "#/components/responses/Forbidden"
|
|
3231
|
+
}
|
|
3232
|
+
},
|
|
3233
|
+
"security": [
|
|
3234
|
+
{
|
|
3235
|
+
"builderSession": []
|
|
3236
|
+
}
|
|
3237
|
+
]
|
|
3238
|
+
}
|
|
3239
|
+
},
|
|
3240
|
+
"/closeness/weights": {
|
|
3241
|
+
"get": {
|
|
3242
|
+
"operationId": "get_closeness_weights",
|
|
3243
|
+
"tags": [
|
|
3244
|
+
"closeness"
|
|
3245
|
+
],
|
|
3246
|
+
"summary": "GET /closeness/weights",
|
|
3247
|
+
"description": "the MODEL is not private, and publishing it is the whole point of the weights being data. It describes how the system scores people; a builder ranked by it is entitled to read it.\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
|
|
3248
|
+
"x-rank": "any-builder",
|
|
3249
|
+
"x-source": "modules/lifecycle/routes/closeness.js",
|
|
3250
|
+
"responses": {
|
|
3251
|
+
"200": {
|
|
3252
|
+
"description": "Success.",
|
|
3253
|
+
"content": {
|
|
3254
|
+
"application/json": {
|
|
3255
|
+
"schema": {
|
|
3256
|
+
"$ref": "#/components/schemas/GetClosenessWeightsResponse"
|
|
3257
|
+
}
|
|
3258
|
+
}
|
|
3259
|
+
}
|
|
3260
|
+
},
|
|
3261
|
+
"400": {
|
|
3262
|
+
"$ref": "#/components/responses/BadRequest"
|
|
3263
|
+
},
|
|
3264
|
+
"401": {
|
|
3265
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
3266
|
+
},
|
|
3267
|
+
"403": {
|
|
3268
|
+
"$ref": "#/components/responses/Forbidden"
|
|
3269
|
+
}
|
|
3270
|
+
},
|
|
3271
|
+
"security": [
|
|
3272
|
+
{
|
|
3273
|
+
"builderSession": []
|
|
3274
|
+
}
|
|
3275
|
+
]
|
|
3276
|
+
}
|
|
3277
|
+
},
|
|
3278
|
+
"/closeness/with/{builderId}": {
|
|
3279
|
+
"get": {
|
|
3280
|
+
"operationId": "get_closeness_with_builderId",
|
|
3281
|
+
"tags": [
|
|
3282
|
+
"closeness"
|
|
3283
|
+
],
|
|
3284
|
+
"summary": "GET /closeness/with/:builderId",
|
|
3285
|
+
"description": "One pair — \"why am I close to THEM\", asked directly rather than by paging the graph. Always relative to the CALLER: the pair is (you, them). rank: any-builder.\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
|
|
3286
|
+
"x-rank": "any-builder",
|
|
3287
|
+
"x-source": "modules/lifecycle/routes/closeness.js",
|
|
3288
|
+
"parameters": [
|
|
3289
|
+
{
|
|
3290
|
+
"name": "builderId",
|
|
3291
|
+
"in": "path",
|
|
3292
|
+
"required": true,
|
|
3293
|
+
"schema": {
|
|
3294
|
+
"type": "string"
|
|
3295
|
+
},
|
|
3296
|
+
"description": "Path parameter `builderId`."
|
|
3297
|
+
}
|
|
3298
|
+
],
|
|
3299
|
+
"responses": {
|
|
3300
|
+
"200": {
|
|
3301
|
+
"description": "Success.",
|
|
3302
|
+
"content": {
|
|
3303
|
+
"application/json": {
|
|
3304
|
+
"schema": {
|
|
3305
|
+
"$ref": "#/components/schemas/GetClosenessWithBuilderIdResponse"
|
|
3306
|
+
}
|
|
3307
|
+
}
|
|
3308
|
+
}
|
|
3309
|
+
},
|
|
3310
|
+
"400": {
|
|
3311
|
+
"$ref": "#/components/responses/BadRequest"
|
|
3312
|
+
},
|
|
3313
|
+
"401": {
|
|
3314
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
3315
|
+
},
|
|
3316
|
+
"403": {
|
|
3317
|
+
"$ref": "#/components/responses/Forbidden"
|
|
3318
|
+
},
|
|
3319
|
+
"404": {
|
|
3320
|
+
"$ref": "#/components/responses/NotFound"
|
|
3321
|
+
}
|
|
3322
|
+
},
|
|
3323
|
+
"security": [
|
|
3324
|
+
{
|
|
3325
|
+
"builderSession": []
|
|
3326
|
+
}
|
|
3327
|
+
]
|
|
3328
|
+
}
|
|
3329
|
+
},
|
|
3198
3330
|
"/copy-desk/flags": {
|
|
3199
3331
|
"post": {
|
|
3200
3332
|
"operationId": "post_copy_desk_flags",
|
|
@@ -14620,6 +14752,41 @@
|
|
|
14620
14752
|
"stale_hours"
|
|
14621
14753
|
]
|
|
14622
14754
|
},
|
|
14755
|
+
"GetClosenessForMeResponse": {
|
|
14756
|
+
"type": "object",
|
|
14757
|
+
"properties": {
|
|
14758
|
+
"closeness": {},
|
|
14759
|
+
"count": {}
|
|
14760
|
+
},
|
|
14761
|
+
"required": [
|
|
14762
|
+
"closeness",
|
|
14763
|
+
"count"
|
|
14764
|
+
]
|
|
14765
|
+
},
|
|
14766
|
+
"GetClosenessWeightsResponse": {
|
|
14767
|
+
"type": "object",
|
|
14768
|
+
"properties": {
|
|
14769
|
+
"weights": {},
|
|
14770
|
+
"window_days": {},
|
|
14771
|
+
"note": {}
|
|
14772
|
+
},
|
|
14773
|
+
"required": [
|
|
14774
|
+
"weights",
|
|
14775
|
+
"window_days",
|
|
14776
|
+
"note"
|
|
14777
|
+
]
|
|
14778
|
+
},
|
|
14779
|
+
"GetClosenessWithBuilderIdResponse": {
|
|
14780
|
+
"type": "object",
|
|
14781
|
+
"properties": {
|
|
14782
|
+
"closeness": {},
|
|
14783
|
+
"why": {}
|
|
14784
|
+
},
|
|
14785
|
+
"required": [
|
|
14786
|
+
"closeness",
|
|
14787
|
+
"why"
|
|
14788
|
+
]
|
|
14789
|
+
},
|
|
14623
14790
|
"GetDiscordChannelsPlanResponse": {
|
|
14624
14791
|
"type": "object",
|
|
14625
14792
|
"properties": {
|
|
@@ -19794,9 +19961,9 @@
|
|
|
19794
19961
|
"description": "A required dependency/feature is not configured or is temporarily down."
|
|
19795
19962
|
}
|
|
19796
19963
|
},
|
|
19797
|
-
"x-endpoint-count":
|
|
19798
|
-
"x-schema-count":
|
|
19964
|
+
"x-endpoint-count": 315,
|
|
19965
|
+
"x-schema-count": 353,
|
|
19799
19966
|
"x-undocumented-bodies": 8,
|
|
19800
|
-
"x-response-schemas":
|
|
19967
|
+
"x-response-schemas": 237,
|
|
19801
19968
|
"x-generated-by": "scripts/gds/gen-api-docs.js"
|
|
19802
19969
|
}
|