@bongos/core 1.19.727 → 1.19.728
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 +10 -10
- package/docs/module-api-changelog.md +2 -0
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/src/module-api.js +1 -1
- package/tests/cli_package.mjs +40 -1
package/.bongos-core.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
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.728",
|
|
6
|
+
"core_contract": "1.19.728",
|
|
7
|
+
"source_commit": "06378fe68686262687d6c0a9220a171349fd08c8",
|
|
8
8
|
"source_ref": "HEAD",
|
|
9
|
-
"built_at": "2026-09-
|
|
9
|
+
"built_at": "2026-09-13T15:07:36.492Z",
|
|
10
10
|
"redaction": {
|
|
11
11
|
"model": "docs-redacted+functional-verbatim",
|
|
12
12
|
"docs_redacted": 477,
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"gate": "passed"
|
|
18
18
|
},
|
|
19
19
|
"file_count": 2602,
|
|
20
|
-
"tree_sha256": "
|
|
20
|
+
"tree_sha256": "92181bc6b8bf6edd84603371fa1dff3a7634795709dca0232d22f40c2d105589",
|
|
21
21
|
"files": [
|
|
22
22
|
{
|
|
23
23
|
"path": ".claude/skills/ask-for-help/SKILL.md",
|
|
@@ -2482,7 +2482,7 @@
|
|
|
2482
2482
|
{
|
|
2483
2483
|
"path": "docs/module-api-changelog.md",
|
|
2484
2484
|
"mode": "0000644",
|
|
2485
|
-
"sha256": "
|
|
2485
|
+
"sha256": "aae40418a50dbacd171155a580656c0ff09acdd3ee5a32ff5056dd810f928d92"
|
|
2486
2486
|
},
|
|
2487
2487
|
{
|
|
2488
2488
|
"path": "docs/modules-contract.md",
|
|
@@ -7512,12 +7512,12 @@
|
|
|
7512
7512
|
{
|
|
7513
7513
|
"path": "package-lock.json",
|
|
7514
7514
|
"mode": "0000644",
|
|
7515
|
-
"sha256": "
|
|
7515
|
+
"sha256": "98647626d77d3752e83cb85506424f53b3bc829592fad02cabd79d7890d62cea"
|
|
7516
7516
|
},
|
|
7517
7517
|
{
|
|
7518
7518
|
"path": "package.json",
|
|
7519
7519
|
"mode": "0000644",
|
|
7520
|
-
"sha256": "
|
|
7520
|
+
"sha256": "d184aeeeed9d18bf8d0d0ea577bdce3c578ed9b2c483413f93ee96341de5f9d7"
|
|
7521
7521
|
},
|
|
7522
7522
|
{
|
|
7523
7523
|
"path": "public-docs/index.html",
|
|
@@ -9317,7 +9317,7 @@
|
|
|
9317
9317
|
{
|
|
9318
9318
|
"path": "src/module-api.js",
|
|
9319
9319
|
"mode": "0000644",
|
|
9320
|
-
"sha256": "
|
|
9320
|
+
"sha256": "12f533b8bd9218fb6820687062fc5e6e417ec51dc2dce5bcda46f4d6c55e4454"
|
|
9321
9321
|
},
|
|
9322
9322
|
{
|
|
9323
9323
|
"path": "src/module-loader/catalog.js",
|
|
@@ -9987,7 +9987,7 @@
|
|
|
9987
9987
|
{
|
|
9988
9988
|
"path": "tests/cli_package.mjs",
|
|
9989
9989
|
"mode": "0000644",
|
|
9990
|
-
"sha256": "
|
|
9990
|
+
"sha256": "334c952eadfdd7d5ee467cfd50a9f178a23389e94288cdb6a431c69c6e8e327c"
|
|
9991
9991
|
},
|
|
9992
9992
|
{
|
|
9993
9993
|
"path": "tests/cli_sessions.mjs",
|
|
@@ -1928,5 +1928,7 @@ is load-bearing: the script throws rather than guess if it is missing, and
|
|
|
1928
1928
|
landed since 1.19.725 with no explicit bump. run 34763380132. (task 1002620)
|
|
1929
1929
|
1.19.727 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
1930
1930
|
landed since 1.19.726 with no explicit bump. run 34763937238. (task 1002620)
|
|
1931
|
+
1.19.728 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
1932
|
+
landed since 1.19.727 with no explicit bump. run 34764630913. (task 1002620)
|
|
1931
1933
|
---------------------------------------------------------------------------
|
|
1932
1934
|
```
|
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bongos/core",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.728",
|
|
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.728",
|
|
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.728",
|
|
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/src/module-api.js
CHANGED
|
@@ -71,7 +71,7 @@ const { responsibilityFor, ROLE_RESPONSIBILITIES } = require('./role-responsibil
|
|
|
71
71
|
// there. scripts/gds/bump-version.js still rewrites the literal below; it appends
|
|
72
72
|
// the entry to that file. Look for a version's history there, not here.
|
|
73
73
|
// ---------------------------------------------------------------------------
|
|
74
|
-
const CORE_VERSION = '1.19.
|
|
74
|
+
const CORE_VERSION = '1.19.728'; // CI auto-patch carrier (ADR 0161); changelog: docs/module-api-changelog.md
|
|
75
75
|
|
|
76
76
|
// A namespaced logger so a module's log lines are attributable + consistent.
|
|
77
77
|
// Usage: const log = api.logger('dev-box'); log.info('mounted');
|
package/tests/cli_package.mjs
CHANGED
|
@@ -185,7 +185,13 @@ test('the packed tarball installs and every verb runs with no repo present', (t)
|
|
|
185
185
|
// base or on missing arguments. Failing that way is fine; failing to find a file is not.
|
|
186
186
|
const LOAD_ARGS = {
|
|
187
187
|
login: ['login'],
|
|
188
|
-
|
|
188
|
+
// `--no-open` is load-bearing, not cosmetic (task 1003909). HOME is a throwaway here, so
|
|
189
|
+
// there is no session and reauth takes its no-session path — which launches the builder's
|
|
190
|
+
// default browser at the dead API base (`rundll32 url.dll,FileProtocolHandler` on Windows).
|
|
191
|
+
// Without the flag, every run of this suite pops a connection-refused tab on the machine
|
|
192
|
+
// under test. The flag skips only the spawn: the script still loads, still prints its
|
|
193
|
+
// guidance, still exits 10, so every assertion below is unchanged.
|
|
194
|
+
reauth: ['reauth', '--no-open'],
|
|
189
195
|
setup: ['setup'],
|
|
190
196
|
box: ['box'],
|
|
191
197
|
shell: ['shell'],
|
|
@@ -203,9 +209,42 @@ test('the packed tarball installs and every verb runs with no repo present', (t)
|
|
|
203
209
|
'every advertised verb needs an entry here, or it goes unexercised',
|
|
204
210
|
);
|
|
205
211
|
|
|
212
|
+
// No verb may launch a GUI on the machine running the suite (task 1003909). A script that can
|
|
213
|
+
// spawn a browser has two ways to be safe here, and it must pick one:
|
|
214
|
+
// * it offers an opt-out flag → the LOAD_ARGS entry above passes it, or
|
|
215
|
+
// * it stops short of the launch → STOPS_SHORT_OF_LAUNCH names a marker that must stay absent.
|
|
216
|
+
// Proving it, rather than assuming it, is the point: a verb that starts reaching its launcher
|
|
217
|
+
// fails here instead of on someone's desktop.
|
|
218
|
+
const LAUNCHES_BROWSER = /FileProtocolHandler|xdg-open/;
|
|
219
|
+
const OPT_OUT = '--no-open';
|
|
220
|
+
const STOPS_SHORT_OF_LAUNCH = {
|
|
221
|
+
// `bongos login` opens a browser from inside the device flow, several network steps past the
|
|
222
|
+
// instance-URL prompt — and with empty stdin that prompt is never answered, so the process
|
|
223
|
+
// ends right there. `▸ Connecting to` is the first thing printed once a URL is accepted, so
|
|
224
|
+
// its ABSENCE is the proof this run stopped well short of the launch.
|
|
225
|
+
login: /Connecting to/,
|
|
226
|
+
};
|
|
227
|
+
const mustStopShort = {};
|
|
228
|
+
for (const [verb, args] of Object.entries(LOAD_ARGS)) {
|
|
229
|
+
const src = fs.readFileSync(path.join(REPO_ROOT, 'scripts', 'gds', VERBS[verb].script), 'utf8');
|
|
230
|
+
if (!LAUNCHES_BROWSER.test(src)) continue;
|
|
231
|
+
if (src.includes(OPT_OUT)) {
|
|
232
|
+
assert.ok(args.includes(OPT_OUT),
|
|
233
|
+
`bongos ${verb} can spawn a browser and accepts ${OPT_OUT} — pass it in LOAD_ARGS, or this suite opens a window on the builder's machine`);
|
|
234
|
+
continue;
|
|
235
|
+
}
|
|
236
|
+
assert.ok(STOPS_SHORT_OF_LAUNCH[verb],
|
|
237
|
+
`bongos ${verb} can spawn a browser and has no ${OPT_OUT} — give it one, or add a STOPS_SHORT_OF_LAUNCH entry proving this run never reaches the launch`);
|
|
238
|
+
mustStopShort[verb] = STOPS_SHORT_OF_LAUNCH[verb];
|
|
239
|
+
}
|
|
240
|
+
|
|
206
241
|
for (const [verb, args] of Object.entries(LOAD_ARGS)) {
|
|
207
242
|
const res = runVerb(args);
|
|
208
243
|
const all = `${res.stdout}\n${res.stderr}`;
|
|
244
|
+
if (mustStopShort[verb]) {
|
|
245
|
+
assert.doesNotMatch(all, mustStopShort[verb],
|
|
246
|
+
`bongos ${verb} got past the point where it can spawn a browser on this machine:\n${all}`);
|
|
247
|
+
}
|
|
209
248
|
assert.ok(!/Cannot find module|MODULE_NOT_FOUND|ERR_MODULE_NOT_FOUND/.test(all),
|
|
210
249
|
`bongos ${verb} hit a missing file — the manifest is incomplete:\n${all}`);
|
|
211
250
|
assert.ok(!/ERR_REQUIRE_ESM|SyntaxError|ReferenceError/.test(all),
|