@bongos/core 1.19.902 → 1.19.903
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 +32 -62
- package/bin/bongos.js +7 -13
- package/docs/module-api-changelog.md +2 -0
- package/docs/recipes/bongos-cli-release.md +3 -2
- package/docs/recipes/instance-first-run.md +1 -2
- package/docs/recipes/local-dev.md +0 -2
- package/modules/hall-ui/public/hall-kit.js +11 -5
- package/modules/hall-ui/public/profile-charts.js +1 -1
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/scripts/gds/api.js +1 -25
- package/scripts/gds/build-cli-package.js +17 -35
- package/scripts/gds/claude-materialize.js +1 -1
- package/scripts/gds/cli-lib.js +5 -127
- package/scripts/gds/go-live.js +1 -1
- package/scripts/gds/login.js +1 -1
- package/scripts/gds/plain-cards.js +0 -8
- package/scripts/gds/ship-land.js +2 -18
- package/src/module-api.js +1 -1
- package/tests/bongos_dispatch.mjs +4 -4
- package/tests/claude_materialize.mjs +1 -1
- package/tests/cli_package.mjs +1 -4
- package/tests/cli_surface.mjs +1 -88
- package/tests/hall_kit_charts.mjs +38 -0
- package/tests/plain_cards.mjs +2 -2
- package/tests/rank_tier_single_source.mjs +3 -5
- package/scripts/gds/box-connect-lib.js +0 -550
- package/scripts/gds/code.js +0 -105
- package/scripts/gds/shell.js +0 -102
- package/tests/bongos_box_connect.mjs +0 -166
- package/tests/box_scope_predicate.mjs +0 -117
- package/tests/cli_box_scope.mjs +0 -92
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.903",
|
|
6
|
+
"core_contract": "1.19.903",
|
|
7
|
+
"source_commit": "53ab83b870bf45e758ab22a2fb93103bfa42e51d",
|
|
8
8
|
"source_ref": "HEAD",
|
|
9
|
-
"built_at": "2026-09-
|
|
9
|
+
"built_at": "2026-09-20T12:28:20.291Z",
|
|
10
10
|
"redaction": {
|
|
11
11
|
"model": "docs-redacted+functional-verbatim",
|
|
12
12
|
"docs_redacted": 502,
|
|
13
13
|
"agent_docs_stubbed": 26,
|
|
14
|
-
"functional_verbatim":
|
|
14
|
+
"functional_verbatim": 2278,
|
|
15
15
|
"rules": 3,
|
|
16
16
|
"gate_literals": 3,
|
|
17
17
|
"gate": "passed"
|
|
18
18
|
},
|
|
19
|
-
"file_count":
|
|
20
|
-
"tree_sha256": "
|
|
19
|
+
"file_count": 2806,
|
|
20
|
+
"tree_sha256": "80c42879b74b051029afdcbf6fdcbbf26804064e32ea7abbcdc58a4fa44811fb",
|
|
21
21
|
"files": [
|
|
22
22
|
{
|
|
23
23
|
"path": ".claude/skills/ask-for-help/SKILL.md",
|
|
@@ -342,7 +342,7 @@
|
|
|
342
342
|
{
|
|
343
343
|
"path": "bin/bongos.js",
|
|
344
344
|
"mode": "0000644",
|
|
345
|
-
"sha256": "
|
|
345
|
+
"sha256": "ba5f4b2a9e61712cd1da655265c8baffcb732b65690fb81297ce5dcf12fa93cf"
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
348
|
"path": "clients/bongos-client/README.md",
|
|
@@ -2632,7 +2632,7 @@
|
|
|
2632
2632
|
{
|
|
2633
2633
|
"path": "docs/module-api-changelog.md",
|
|
2634
2634
|
"mode": "0000644",
|
|
2635
|
-
"sha256": "
|
|
2635
|
+
"sha256": "d6d904e3287c4286cd615dc97eb5d48295c06da5b430cb799aec003a34bdc5a1"
|
|
2636
2636
|
},
|
|
2637
2637
|
{
|
|
2638
2638
|
"path": "docs/modules-contract.md",
|
|
@@ -2742,7 +2742,7 @@
|
|
|
2742
2742
|
{
|
|
2743
2743
|
"path": "docs/recipes/bongos-cli-release.md",
|
|
2744
2744
|
"mode": "0000644",
|
|
2745
|
-
"sha256": "
|
|
2745
|
+
"sha256": "c8e3322e6399678c343bc45456fba2c17d9d0410af225ed7be9f9466414d3d80"
|
|
2746
2746
|
},
|
|
2747
2747
|
{
|
|
2748
2748
|
"path": "docs/recipes/claude-design-loop.md",
|
|
@@ -2777,7 +2777,7 @@
|
|
|
2777
2777
|
{
|
|
2778
2778
|
"path": "docs/recipes/instance-first-run.md",
|
|
2779
2779
|
"mode": "0000644",
|
|
2780
|
-
"sha256": "
|
|
2780
|
+
"sha256": "5d20c34b8d61a72bf19ac18dbcf85545331c94d70634b7806a9d77799852e304"
|
|
2781
2781
|
},
|
|
2782
2782
|
{
|
|
2783
2783
|
"path": "docs/recipes/instance-service-restart.md",
|
|
@@ -2787,7 +2787,7 @@
|
|
|
2787
2787
|
{
|
|
2788
2788
|
"path": "docs/recipes/local-dev.md",
|
|
2789
2789
|
"mode": "0000644",
|
|
2790
|
-
"sha256": "
|
|
2790
|
+
"sha256": "44ab0e2bf513149d530cd7d02d341ec12d4a902e0de8312faaee13f698a99aa0"
|
|
2791
2791
|
},
|
|
2792
2792
|
{
|
|
2793
2793
|
"path": "docs/recipes/managed-settings-remote-control.md",
|
|
@@ -4857,7 +4857,7 @@
|
|
|
4857
4857
|
{
|
|
4858
4858
|
"path": "modules/hall-ui/public/hall-kit.js",
|
|
4859
4859
|
"mode": "0000644",
|
|
4860
|
-
"sha256": "
|
|
4860
|
+
"sha256": "1be3b170f1aff7e830f661c14df487bc30ec33e15499449f68748acad63794f8"
|
|
4861
4861
|
},
|
|
4862
4862
|
{
|
|
4863
4863
|
"path": "modules/hall-ui/public/hall-render.js",
|
|
@@ -5012,7 +5012,7 @@
|
|
|
5012
5012
|
{
|
|
5013
5013
|
"path": "modules/hall-ui/public/profile-charts.js",
|
|
5014
5014
|
"mode": "0000644",
|
|
5015
|
-
"sha256": "
|
|
5015
|
+
"sha256": "456f477da6893e61f66778ea5cb6a15dc3c21ea4038f0a8184a4deca840f237c"
|
|
5016
5016
|
},
|
|
5017
5017
|
{
|
|
5018
5018
|
"path": "modules/hall-ui/public/profile-connections.js",
|
|
@@ -7762,12 +7762,12 @@
|
|
|
7762
7762
|
{
|
|
7763
7763
|
"path": "package-lock.json",
|
|
7764
7764
|
"mode": "0000644",
|
|
7765
|
-
"sha256": "
|
|
7765
|
+
"sha256": "20d17854b6e4522308515c26c6efe033baa02b0d1b86a40c211fddc2b0cecfde"
|
|
7766
7766
|
},
|
|
7767
7767
|
{
|
|
7768
7768
|
"path": "package.json",
|
|
7769
7769
|
"mode": "0000644",
|
|
7770
|
-
"sha256": "
|
|
7770
|
+
"sha256": "8ee9f9ba3532c45ffd794bbdcae1c6d8d38fad130d73cf9c5275787ccfb60e53"
|
|
7771
7771
|
},
|
|
7772
7772
|
{
|
|
7773
7773
|
"path": "public-docs/index.html",
|
|
@@ -7862,7 +7862,7 @@
|
|
|
7862
7862
|
{
|
|
7863
7863
|
"path": "scripts/gds/api.js",
|
|
7864
7864
|
"mode": "0000644",
|
|
7865
|
-
"sha256": "
|
|
7865
|
+
"sha256": "6f6db1b581ac3a56bd8be0c5e8bee7189ee1621608f6c8751f908228c6325b21"
|
|
7866
7866
|
},
|
|
7867
7867
|
{
|
|
7868
7868
|
"path": "scripts/gds/api.ps1",
|
|
@@ -8034,11 +8034,6 @@
|
|
|
8034
8034
|
"mode": "0000644",
|
|
8035
8035
|
"sha256": "9ae0402d6bec0d746ec6b09effe8165a237ed9dc8983de8613b969f82aa3a2c1"
|
|
8036
8036
|
},
|
|
8037
|
-
{
|
|
8038
|
-
"path": "scripts/gds/box-connect-lib.js",
|
|
8039
|
-
"mode": "0000644",
|
|
8040
|
-
"sha256": "dbc4dd22d858a7d17c34ebf211edbd6d885afa39ab7b9e3032a7390cd5526638"
|
|
8041
|
-
},
|
|
8042
8037
|
{
|
|
8043
8038
|
"path": "scripts/gds/box-infra.js",
|
|
8044
8039
|
"mode": "0000644",
|
|
@@ -8072,7 +8067,7 @@
|
|
|
8072
8067
|
{
|
|
8073
8068
|
"path": "scripts/gds/build-cli-package.js",
|
|
8074
8069
|
"mode": "0000644",
|
|
8075
|
-
"sha256": "
|
|
8070
|
+
"sha256": "a7a19db7b156f7e411e2a77146c2f9418b5b9ff7fa52be1e3dca56848307f98d"
|
|
8076
8071
|
},
|
|
8077
8072
|
{
|
|
8078
8073
|
"path": "scripts/gds/bump-version.js",
|
|
@@ -8117,7 +8112,7 @@
|
|
|
8117
8112
|
{
|
|
8118
8113
|
"path": "scripts/gds/claude-materialize.js",
|
|
8119
8114
|
"mode": "0000644",
|
|
8120
|
-
"sha256": "
|
|
8115
|
+
"sha256": "37cbab033c9ba88ae557e8569fcabca9d361b4e26fc335ed5adacddf245ab38d"
|
|
8121
8116
|
},
|
|
8122
8117
|
{
|
|
8123
8118
|
"path": "scripts/gds/claude-md-template.js",
|
|
@@ -8132,18 +8127,13 @@
|
|
|
8132
8127
|
{
|
|
8133
8128
|
"path": "scripts/gds/cli-lib.js",
|
|
8134
8129
|
"mode": "0000644",
|
|
8135
|
-
"sha256": "
|
|
8130
|
+
"sha256": "cbe71309f4e100b096eee7d91b90a4cc9e549caa3df51473f2ca3029ca4c8ba5"
|
|
8136
8131
|
},
|
|
8137
8132
|
{
|
|
8138
8133
|
"path": "scripts/gds/client-baseurl-guard.js",
|
|
8139
8134
|
"mode": "0000644",
|
|
8140
8135
|
"sha256": "8ac4c8909b75aa5e2022a967ba9ac0cbcdac60da9d75757603827b86964c825b"
|
|
8141
8136
|
},
|
|
8142
|
-
{
|
|
8143
|
-
"path": "scripts/gds/code.js",
|
|
8144
|
-
"mode": "0000644",
|
|
8145
|
-
"sha256": "6a726d269ec9a44fac6bdc7bdeb74bafbc2e3f303755296959b3a08642f98943"
|
|
8146
|
-
},
|
|
8147
8137
|
{
|
|
8148
8138
|
"path": "scripts/gds/codemod-rename-src-gds.js",
|
|
8149
8139
|
"mode": "0000644",
|
|
@@ -8457,7 +8447,7 @@
|
|
|
8457
8447
|
{
|
|
8458
8448
|
"path": "scripts/gds/go-live.js",
|
|
8459
8449
|
"mode": "0000644",
|
|
8460
|
-
"sha256": "
|
|
8450
|
+
"sha256": "3ff8b2370bd93c5469708900ba3d36066aa82f4858831ce6e4b1b7e817e29dcb"
|
|
8461
8451
|
},
|
|
8462
8452
|
{
|
|
8463
8453
|
"path": "scripts/gds/goal-names.js",
|
|
@@ -8572,7 +8562,7 @@
|
|
|
8572
8562
|
{
|
|
8573
8563
|
"path": "scripts/gds/login.js",
|
|
8574
8564
|
"mode": "0000644",
|
|
8575
|
-
"sha256": "
|
|
8565
|
+
"sha256": "fcb70ddb8175d4cbbfd3217dcb9352e6280d5597c8caffe88a6399b54041e93b"
|
|
8576
8566
|
},
|
|
8577
8567
|
{
|
|
8578
8568
|
"path": "scripts/gds/main-audit.js",
|
|
@@ -8677,7 +8667,7 @@
|
|
|
8677
8667
|
{
|
|
8678
8668
|
"path": "scripts/gds/plain-cards.js",
|
|
8679
8669
|
"mode": "0000644",
|
|
8680
|
-
"sha256": "
|
|
8670
|
+
"sha256": "e65a6264bbf4e28da17a46c0f8400e53207e141ed57e0e4826d7320f91b25f46"
|
|
8681
8671
|
},
|
|
8682
8672
|
{
|
|
8683
8673
|
"path": "scripts/gds/portability-smoke-art.sh",
|
|
@@ -9084,11 +9074,6 @@
|
|
|
9084
9074
|
"mode": "0000644",
|
|
9085
9075
|
"sha256": "79027b353a20b02c363d691ba30eda7d3456b8a081199ddc2c2559162523d66c"
|
|
9086
9076
|
},
|
|
9087
|
-
{
|
|
9088
|
-
"path": "scripts/gds/shell.js",
|
|
9089
|
-
"mode": "0000644",
|
|
9090
|
-
"sha256": "087def1396283b19cb8a6deea4cc7f362d7a2f164d496a587220f0a48568aae6"
|
|
9091
|
-
},
|
|
9092
9077
|
{
|
|
9093
9078
|
"path": "scripts/gds/ship-check.js",
|
|
9094
9079
|
"mode": "0000644",
|
|
@@ -9142,7 +9127,7 @@
|
|
|
9142
9127
|
{
|
|
9143
9128
|
"path": "scripts/gds/ship-land.js",
|
|
9144
9129
|
"mode": "0000644",
|
|
9145
|
-
"sha256": "
|
|
9130
|
+
"sha256": "1a659cdc35cfda09e6e28cff97313871c648cfca24c08c6c97116e84649e6f67"
|
|
9146
9131
|
},
|
|
9147
9132
|
{
|
|
9148
9133
|
"path": "scripts/gds/ship-memory-sync.js",
|
|
@@ -9777,7 +9762,7 @@
|
|
|
9777
9762
|
{
|
|
9778
9763
|
"path": "src/module-api.js",
|
|
9779
9764
|
"mode": "0000644",
|
|
9780
|
-
"sha256": "
|
|
9765
|
+
"sha256": "565add1bbddcccee0c1b0e3e748b36d607af667350a541338faf48025cbfb904"
|
|
9781
9766
|
},
|
|
9782
9767
|
{
|
|
9783
9768
|
"path": "src/module-loader/catalog.js",
|
|
@@ -10309,11 +10294,6 @@
|
|
|
10309
10294
|
"mode": "0000644",
|
|
10310
10295
|
"sha256": "786a97b9cb24ed38c8703113533d733eb475ed671e3fc5b5ca5ce679b8d4a4a4"
|
|
10311
10296
|
},
|
|
10312
|
-
{
|
|
10313
|
-
"path": "tests/bongos_box_connect.mjs",
|
|
10314
|
-
"mode": "0000644",
|
|
10315
|
-
"sha256": "6ca9d015de848e7a96a47bbe7f12564c7b8f9652339674f5e127068800ebb21c"
|
|
10316
|
-
},
|
|
10317
10297
|
{
|
|
10318
10298
|
"path": "tests/bongos_cli.mjs",
|
|
10319
10299
|
"mode": "0000644",
|
|
@@ -10322,7 +10302,7 @@
|
|
|
10322
10302
|
{
|
|
10323
10303
|
"path": "tests/bongos_dispatch.mjs",
|
|
10324
10304
|
"mode": "0000644",
|
|
10325
|
-
"sha256": "
|
|
10305
|
+
"sha256": "befc2f51a56d220107e825453148203a0cb7d9877bd8ab17bc71c8e93658efee"
|
|
10326
10306
|
},
|
|
10327
10307
|
{
|
|
10328
10308
|
"path": "tests/bongos_downloads.mjs",
|
|
@@ -10389,11 +10369,6 @@
|
|
|
10389
10369
|
"mode": "0000644",
|
|
10390
10370
|
"sha256": "59b8fb0907125768a87a1ee24d74b1e0fa6b3e6ca6bed823fdd4db176e65b03a"
|
|
10391
10371
|
},
|
|
10392
|
-
{
|
|
10393
|
-
"path": "tests/box_scope_predicate.mjs",
|
|
10394
|
-
"mode": "0000644",
|
|
10395
|
-
"sha256": "9dc459d61e6d47311609ff4639bb5ff9c9c36172ef5441204731a4a7818be0cd"
|
|
10396
|
-
},
|
|
10397
10372
|
{
|
|
10398
10373
|
"path": "tests/box_scope_session.mjs",
|
|
10399
10374
|
"mode": "0000644",
|
|
@@ -10562,18 +10537,13 @@
|
|
|
10562
10537
|
{
|
|
10563
10538
|
"path": "tests/claude_materialize.mjs",
|
|
10564
10539
|
"mode": "0000644",
|
|
10565
|
-
"sha256": "
|
|
10540
|
+
"sha256": "60eb54f19f26f3557afd6b12f0f2867208638a2b6547f58abd192b6f07e805c3"
|
|
10566
10541
|
},
|
|
10567
10542
|
{
|
|
10568
10543
|
"path": "tests/clawback_confirmed_backlog.mjs",
|
|
10569
10544
|
"mode": "0000644",
|
|
10570
10545
|
"sha256": "dca080c2976cdde34584a823aaae08d0175f34694c10897adb777a3f0ffb8cab"
|
|
10571
10546
|
},
|
|
10572
|
-
{
|
|
10573
|
-
"path": "tests/cli_box_scope.mjs",
|
|
10574
|
-
"mode": "0000644",
|
|
10575
|
-
"sha256": "b9258f690d5dc7c87bcbb12d510b3071a38669777ae9a92a99e683e76ea15e83"
|
|
10576
|
-
},
|
|
10577
10547
|
{
|
|
10578
10548
|
"path": "tests/cli_dispatcher.mjs",
|
|
10579
10549
|
"mode": "0000644",
|
|
@@ -10592,7 +10562,7 @@
|
|
|
10592
10562
|
{
|
|
10593
10563
|
"path": "tests/cli_package.mjs",
|
|
10594
10564
|
"mode": "0000644",
|
|
10595
|
-
"sha256": "
|
|
10565
|
+
"sha256": "e7839e6ac47b12fe4decd50e31d37fba3bad7ac475e8f24e948bb49b52a3e83e"
|
|
10596
10566
|
},
|
|
10597
10567
|
{
|
|
10598
10568
|
"path": "tests/cli_sessions.mjs",
|
|
@@ -10602,7 +10572,7 @@
|
|
|
10602
10572
|
{
|
|
10603
10573
|
"path": "tests/cli_surface.mjs",
|
|
10604
10574
|
"mode": "0000644",
|
|
10605
|
-
"sha256": "
|
|
10575
|
+
"sha256": "cc10440e148e19a157cd18f0325e121f5492484e09550578e98870dba61090a9"
|
|
10606
10576
|
},
|
|
10607
10577
|
{
|
|
10608
10578
|
"path": "tests/cli_token_reissue.mjs",
|
|
@@ -11627,7 +11597,7 @@
|
|
|
11627
11597
|
{
|
|
11628
11598
|
"path": "tests/hall_kit_charts.mjs",
|
|
11629
11599
|
"mode": "0000644",
|
|
11630
|
-
"sha256": "
|
|
11600
|
+
"sha256": "d9d37e08fb0293f83a7d218edd789de9eb63aca1e9cd7f910c5ffba41639918e"
|
|
11631
11601
|
},
|
|
11632
11602
|
{
|
|
11633
11603
|
"path": "tests/hall_landing_boot.mjs",
|
|
@@ -12527,7 +12497,7 @@
|
|
|
12527
12497
|
{
|
|
12528
12498
|
"path": "tests/plain_cards.mjs",
|
|
12529
12499
|
"mode": "0000644",
|
|
12530
|
-
"sha256": "
|
|
12500
|
+
"sha256": "7549965b77f59c63fc2ac5fe5eb6cb4d292da9140bff5d589c47f99b784ab579"
|
|
12531
12501
|
},
|
|
12532
12502
|
{
|
|
12533
12503
|
"path": "tests/planning_session_skill.mjs",
|
|
@@ -12967,7 +12937,7 @@
|
|
|
12967
12937
|
{
|
|
12968
12938
|
"path": "tests/rank_tier_single_source.mjs",
|
|
12969
12939
|
"mode": "0000644",
|
|
12970
|
-
"sha256": "
|
|
12940
|
+
"sha256": "c6c5832636160010eb44af6a5fb049756d778e413d532643f2d3be4d69651303"
|
|
12971
12941
|
},
|
|
12972
12942
|
{
|
|
12973
12943
|
"path": "tests/rate_limit_public.mjs",
|
package/bin/bongos.js
CHANGED
|
@@ -11,9 +11,10 @@
|
|
|
11
11
|
// code. No auth/API logic lives here; the target scripts already share
|
|
12
12
|
// scripts/gds/cli-lib.js.
|
|
13
13
|
//
|
|
14
|
-
// Phases 2-4 extend this same CLI with
|
|
15
|
-
//
|
|
16
|
-
//
|
|
14
|
+
// Phases 2-4 extend this same CLI with a one-line installer + standalone binary
|
|
15
|
+
// and instance-agnostic `login`/`init`/`upgrade`. (They also added `shell`/`code`,
|
|
16
|
+
// VS Code Remote-SSH into a per-builder dev box; the dev box was retired and
|
|
17
|
+
// those verbs removed with it — task 1003889.)
|
|
17
18
|
|
|
18
19
|
'use strict';
|
|
19
20
|
|
|
@@ -52,8 +53,6 @@ const BUNDLED_RUNNERS = {
|
|
|
52
53
|
// bare laptop has the standalone binary and nothing else (task 1003961).
|
|
53
54
|
'paste-token.js': () => require('../scripts/gds/paste-token.js'),
|
|
54
55
|
'api.js': () => require('../scripts/gds/api.js'),
|
|
55
|
-
'shell.js': () => require('../scripts/gds/shell.js'),
|
|
56
|
-
'code.js': () => require('../scripts/gds/code.js'),
|
|
57
56
|
'init.js': () => require('../scripts/gds/init.js'),
|
|
58
57
|
'onboard.js': () => require('../scripts/gds/onboard.js'),
|
|
59
58
|
};
|
|
@@ -70,7 +69,7 @@ if (VERSION === '0.0.0') { try { VERSION = require('../package.json').version ||
|
|
|
70
69
|
// `script` a file under scripts/gds/ (or api.js for actions with no
|
|
71
70
|
// dedicated builder script yet).
|
|
72
71
|
// `prefixArgs` inserted before the user's args — used to drive the generic
|
|
73
|
-
// api.js caller
|
|
72
|
+
// api.js caller for an action with no dedicated script.
|
|
74
73
|
// `selfHelp` the script prints its own (richer) usage on --help/-h, so the
|
|
75
74
|
// dispatcher forwards the flag instead of answering it (task
|
|
76
75
|
// 1002625). Only set it after verifying the script really does —
|
|
@@ -96,9 +95,6 @@ const VERBS = {
|
|
|
96
95
|
// name, the way claim/ship/release already are (ADR 0104).
|
|
97
96
|
'paste-token': { script: 'paste-token.js', group: 'account', summary: 'Finish re-auth: store the token copied from Settings (bongos paste-token <token>)' },
|
|
98
97
|
doctor: { script: 'doctor.js', group: 'account', summary: 'Check your local toolchain + session' },
|
|
99
|
-
box: { script: 'api.js', prefixArgs: ['POST', '/api/gds/box/ensure'], group: 'account', summary: 'Turn on / wake your cloud dev box' },
|
|
100
|
-
shell: { script: 'shell.js', group: 'account', summary: 'Open a terminal on your dev box (--local for a local clone)' },
|
|
101
|
-
code: { script: 'code.js', group: 'account', summary: 'Open VS Code on your dev box over Remote-SSH (--local for a local clone)' },
|
|
102
98
|
|
|
103
99
|
init: { script: 'init.js', group: 'instance', summary: 'Scaffold a new instance (config + first version + kickoff tasks)' },
|
|
104
100
|
dev: { script: 'dev.js', group: 'instance', summary: 'Run THIS instance locally in one command (Postgres + migrate + server + sign-in)', selfHelp: true },
|
|
@@ -245,12 +241,10 @@ function runBundled(verb, def, forwarded) {
|
|
|
245
241
|
if (!runner) {
|
|
246
242
|
process.stderr.write(
|
|
247
243
|
`bongos: "${verb}" needs the full project (git + a repo clone), which the standalone binary doesn't carry.\n\n` +
|
|
248
|
-
`Get
|
|
244
|
+
`Get a checkout of the project repo, then run it there:\n` +
|
|
249
245
|
` bongos login <instance-url> sign in to an instance\n` +
|
|
250
|
-
` bongos code open VS Code on your cloud dev box (has everything)\n` +
|
|
251
|
-
` bongos shell open a terminal on your cloud dev box\n` +
|
|
252
246
|
` bongos init scaffold a new instance here\n\n` +
|
|
253
|
-
`The standalone binary covers the on-ramp: login,
|
|
247
|
+
`The standalone binary covers the on-ramp: login, init, reauth, paste-token.\n`
|
|
254
248
|
);
|
|
255
249
|
return 2;
|
|
256
250
|
}
|
|
@@ -2278,5 +2278,7 @@ is load-bearing: the script throws rather than guess if it is missing, and
|
|
|
2278
2278
|
landed since 1.19.900 with no explicit bump. run 35494090938. (task 1002620)
|
|
2279
2279
|
1.19.902 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
2280
2280
|
landed since 1.19.901 with no explicit bump. run 35497860558. (task 1002620)
|
|
2281
|
+
1.19.903 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
2282
|
+
landed since 1.19.902 with no explicit bump. run 35510679104. (task 1002620)
|
|
2281
2283
|
---------------------------------------------------------------------------
|
|
2282
2284
|
```
|
|
@@ -30,7 +30,8 @@ brew install example-owner/bongos/bongos # macOS/Linux
|
|
|
30
30
|
scoop bucket add bongos https://github.com/example-owner/scoop-bongos; scoop install bongos
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Then: `bongos login <instance-url>` → `bongos
|
|
33
|
+
Then: `bongos login <instance-url>` → `bongos start`. Writing code needs a checkout of the
|
|
34
|
+
project repo, where the full CLI is installed.
|
|
34
35
|
|
|
35
36
|
## One-time owner setup (tracked as the open blocker on [#1248](https://example.com/builders#/task/1248))
|
|
36
37
|
|
|
@@ -61,6 +62,6 @@ Verify: `curl -fsSL https://example.com/downloads/bongos/version` shows the new
|
|
|
61
62
|
`bin/bongos.js` is one dispatcher with two runtimes ([task 1248](https://example.com/builders#/task/1248)):
|
|
62
63
|
|
|
63
64
|
- **repo / `npm i -g`** → runs under `node`; spawns each sibling `scripts/gds/*.js` (unchanged).
|
|
64
|
-
- **compiled binary** → `process.execPath` is the `bongos` binary (no `node`, no scripts on disk), so it dispatches the **bundled on-ramp verbs in-process**: `login`/`setup`, `reauth`, `
|
|
65
|
+
- **compiled binary** → `process.execPath` is the `bongos` binary (no `node`, no scripts on disk), so it dispatches the **bundled on-ramp verbs in-process**: `login`/`setup`, `reauth`, `paste-token`, `api`, `init`, `onboard`. The heavy work verbs (`ship`/`claim`/`start`/`status`/`recall`/`cost`/`release`/`module`/`package-core`) and `doctor` are **not** bundled — they need a full repo + git to run, and pulling their dependency trees in would bloat the binary. Run those in a clone, where `npm i -g` gives the full CLI. A bare-binary user who invokes one gets a clear "get onto a real environment first" message.
|
|
65
66
|
|
|
66
67
|
Follow-ups (not blocking the first release): SHA-pin `oven-sh/setup-bun`, code-sign the mac/win binaries, and expand the bundled verb set if a self-host workflow needs more offline.
|
|
@@ -48,8 +48,7 @@ npm install
|
|
|
48
48
|
npx bongos dev # Postgres → createdb → migrate → server → sign-in, in one step
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
Full guide: [`docs/recipes/local-dev.md`](local-dev.md) (ADR 0149).
|
|
52
|
-
over running locally? Use `bongos box` + `bongos code`.
|
|
51
|
+
Full guide: [`docs/recipes/local-dev.md`](local-dev.md) (ADR 0149).
|
|
53
52
|
|
|
54
53
|
## Notes
|
|
55
54
|
|
|
@@ -77,8 +77,6 @@ the Client ID + secret to `~/.config/<configDir>/gds-github.json` as
|
|
|
77
77
|
go back to a hosted instance later, `bongos login https://<that-instance>`.
|
|
78
78
|
- **Multiple projects at once** each get their own database + port, so their `bongos dev`
|
|
79
79
|
servers don't collide.
|
|
80
|
-
- **Prefer the cloud?** `bongos box` + `bongos code` give you a remote dev box instead — no
|
|
81
|
-
local database or server to run.
|
|
82
80
|
- **Ready for a real host?** `bongos serve` runs this *same* boot path on a server —
|
|
83
81
|
systemd-supervised, bind address derived from your public origin, no browser needed. See
|
|
84
82
|
[`server-bring-up.md`](server-bring-up.md) ([ADR 0169](../adr/0169-bongos-serve-server-bring-up.md)).
|
|
@@ -1141,7 +1141,13 @@
|
|
|
1141
1141
|
activeDays += 1;
|
|
1142
1142
|
totalShips += c;
|
|
1143
1143
|
}
|
|
1144
|
-
|
|
1144
|
+
// The window's NAME belongs with the window (task 1003621, artist review of 1003583).
|
|
1145
|
+
// The aria summary described it as "the last year" while the caption under the same
|
|
1146
|
+
// grid said "this year" — a rolling 53 weeks and a calendar year are not the same
|
|
1147
|
+
// span, and V3 asks the accessible line and the visible one to state the same fact.
|
|
1148
|
+
// Both now read this.
|
|
1149
|
+
const spanLabel = weeks === 53 ? 'the last year' : `the last ${weeks} week${weeks === 1 ? '' : 's'}`;
|
|
1150
|
+
return { counts, startSun, endOrd, weeks, activeDays, totalShips, spanLabel };
|
|
1145
1151
|
}
|
|
1146
1152
|
|
|
1147
1153
|
// calendarGridHtml(days, opts) — a year of ship-days as a contribution calendar:
|
|
@@ -1168,7 +1174,7 @@
|
|
|
1168
1174
|
function calendarGridHtml(days, opts = {}) {
|
|
1169
1175
|
const win = calendarWindow(days, opts);
|
|
1170
1176
|
if (!win) return ''; // nothing real to draw → caller's empty state
|
|
1171
|
-
const { counts, startSun, endOrd, weeks, activeDays, totalShips } = win;
|
|
1177
|
+
const { counts, startSun, endOrd, weeks, activeDays, totalShips, spanLabel } = win;
|
|
1172
1178
|
const ordToYmd = calOrdToYmd;
|
|
1173
1179
|
|
|
1174
1180
|
// level 0 = empty; 1..5 map to the anti-gaming daily cap (streak.js caps a day at
|
|
@@ -1188,10 +1194,10 @@
|
|
|
1188
1194
|
}
|
|
1189
1195
|
|
|
1190
1196
|
// The window is DESCRIBED, not assumed: a caller passing weeks:6 used to be handed
|
|
1191
|
-
// an aria label saying "over the last year" (task 1003583).
|
|
1192
|
-
|
|
1197
|
+
// an aria label saying "over the last year" (task 1003583). The phrase now comes from
|
|
1198
|
+
// calendarWindow so the caption beneath the grid can say the same words.
|
|
1193
1199
|
const summary = opts.ariaLabel
|
|
1194
|
-
|| `Ships per day over ${
|
|
1200
|
+
|| `Ships per day over ${spanLabel}: ${totalShips} ship${totalShips === 1 ? '' : 's'} across ${activeDays} day${activeDays === 1 ? '' : 's'}.`;
|
|
1195
1201
|
// The legend is aria-hidden: it decorates the bands, it carries no fact the cell
|
|
1196
1202
|
// titles and the summary do not already state in words.
|
|
1197
1203
|
const legend = '<div class="kit-cal__key" aria-hidden="true"><span class="kit-cal__key-label">less</span>'
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
// The scalars in words, in the .pchart__read slot the other figures use for their
|
|
285
285
|
// crosshair readout — here it is static because the calendar's reading is per-cell.
|
|
286
286
|
const read = `Current streak ${cur} day${cur === 1 ? '' : 's'} \u00b7 longest ${lng} \u00b7 `
|
|
287
|
-
+ `${active} day${active === 1 ? '' : 's'} shipped
|
|
287
|
+
+ `${active} day${active === 1 ? '' : 's'} shipped in ${win ? win.spanLabel : 'the last year'}`;
|
|
288
288
|
const html = `<figure class="pchart" id="${esc(id)}">
|
|
289
289
|
<figcaption class="pchart__title">Your shipping year</figcaption>
|
|
290
290
|
<p class="pchart__read">${esc(read)}</p>
|
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bongos/core",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.903",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@bongos/core",
|
|
9
|
-
"version": "1.19.
|
|
9
|
+
"version": "1.19.903",
|
|
10
10
|
"license": "AGPL-3.0-or-later",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"express": "^4.21.2",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bongos/core",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.903",
|
|
4
4
|
"description": "Cloud Bongos — the AI-first build platform core (GDS + platform surfaces + module system), installed as a versioned dependency (ADR 0108).",
|
|
5
5
|
"license": "AGPL-3.0-or-later",
|
|
6
6
|
"main": "src/platform-server.js",
|
package/scripts/gds/api.js
CHANGED
|
@@ -18,9 +18,7 @@
|
|
|
18
18
|
// on a 2xx, 1 on any non-2xx or transport error, 2 on bad invocation.
|
|
19
19
|
|
|
20
20
|
const fs = require('node:fs');
|
|
21
|
-
const { cliClient, arg, stripBom, resolveQuiet,
|
|
22
|
-
instanceDevBoxSupport, devBoxUnavailableMessage } = require('./cli-lib');
|
|
23
|
-
const { plainCardLines } = require('./plain-cards');
|
|
21
|
+
const { cliClient, arg, stripBom, resolveQuiet, cliExit, repairMsysMangledPath } = require('./cli-lib');
|
|
24
22
|
|
|
25
23
|
|
|
26
24
|
(async () => {
|
|
@@ -77,31 +75,9 @@ const { plainCardLines } = require('./plain-cards');
|
|
|
77
75
|
return cliExit(1); // task 1002734: never process.exit() after a request
|
|
78
76
|
}
|
|
79
77
|
if (!quiet) console.error(`${method} ${urlPath} → ${res.status}`);
|
|
80
|
-
// task 1501: on a dev box the baked session is box-scoped (ADR 0053) and every
|
|
81
|
-
// non-bootstrap call (e.g. /me, /inbox) returns 403 box_scope. We pass
|
|
82
|
-
// allowUnauthenticated above (so a 401 stays a plain error, not the setup
|
|
83
|
-
// short-circuit), which ALSO suppresses apiCall's own box_scope guidance — so
|
|
84
|
-
// surface it here. Without this the raw {error:'box_scope'} body was dumped and
|
|
85
|
-
// rank-gated skills (/idea-triage, /blocker-review, …) read the missing `rank`
|
|
86
|
-
// as "pre-rank passthrough" and silently did nothing (reported an empty inbox
|
|
87
|
-
// on a dev box). The guided message tells the builder to /builder-reauth.
|
|
88
|
-
if (isBoxScope(res)) {
|
|
89
|
-
printBoxScopeGuidanceAndExit(); // prints the re-auth guidance + exit(10)
|
|
90
|
-
}
|
|
91
78
|
if (res.data !== undefined && res.data !== null) {
|
|
92
79
|
console.log(JSON.stringify(res.data, null, 2));
|
|
93
80
|
}
|
|
94
|
-
// task 1003730: `bongos box` in the public CLI is this passthrough aimed at
|
|
95
|
-
// POST /box/ensure, so on an instance without the dev-box module a builder got a raw
|
|
96
|
-
// 404 body and no idea why. api.js stays generic — it just adds the one explanation
|
|
97
|
-
// that a /box/ 404 always means — and only for a reader who typed a box command.
|
|
98
|
-
if (res.status === 404 && /^\/api\/(?:bongos\/v1|bongos|gds)\/box\b/.test(urlPath)) {
|
|
99
|
-
const { available } = await instanceDevBoxSupport();
|
|
100
|
-
if (!available) {
|
|
101
|
-
console.error(`\n✖ ${devBoxUnavailableMessage()}`);
|
|
102
|
-
for (const line of plainCardLines('dev_box_unavailable')) console.error(line);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
81
|
// task 1002734: process.exit() here aborted node 5/5 on Windows —
|
|
106
82
|
// "Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c"
|
|
107
83
|
// — AFTER the JSON had already printed, so every caller that checks the exit code
|