@aiwg/cockpit 2026.10.5 → 2026.10.6
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/bridge/src/server.mjs +9 -4
- package/bridge/src/smoke.mjs +2 -2
- package/desktop/README.md +15 -0
- package/package.json +1 -1
- package/web/dist/assets/index-B825efxi.js +312 -0
- package/web/dist/index.html +1 -1
- package/web/dist/assets/index-qcfb1J2u.js +0 -312
package/bridge/src/server.mjs
CHANGED
|
@@ -100,11 +100,16 @@ function allowedExecutorTarget(target, executorUrl = executorRequestContext.getS
|
|
|
100
100
|
const url = parseExecutorUrl(target);
|
|
101
101
|
// The operator-configured origin is the allowlist, including scheme and port.
|
|
102
102
|
// AgentCards and request data cannot add destinations to it.
|
|
103
|
-
const
|
|
104
|
-
if (url.origin !== origin) {
|
|
103
|
+
const configured = parseExecutorUrl(executorUrl);
|
|
104
|
+
if (url.origin !== configured.origin) {
|
|
105
105
|
throw executorAuthError('executor_target_refused', 'outbound target is outside the configured executor origin');
|
|
106
106
|
}
|
|
107
|
-
|
|
107
|
+
// Keep the outgoing authority visibly rooted in operator configuration.
|
|
108
|
+
// Only path/query/fragment come from the checked target, never its origin.
|
|
109
|
+
configured.pathname = url.pathname;
|
|
110
|
+
configured.search = url.search;
|
|
111
|
+
configured.hash = url.hash;
|
|
112
|
+
return configured;
|
|
108
113
|
}
|
|
109
114
|
|
|
110
115
|
async function executorFetch(target, init = {}, executorUrl = executorRequestContext.getStore()?.executorOrigin ?? EXECUTOR_URL, hasFallback = false) {
|
|
@@ -3534,7 +3539,7 @@ export function createBridge({
|
|
|
3534
3539
|
// ambiguous name is operator-correctable input, never a Bridge 502.
|
|
3535
3540
|
if (!type || !name) return json(res, 400, { error: 'type_name_or_path_required' });
|
|
3536
3541
|
try {
|
|
3537
|
-
return json(res, 200, { type, name, body: await runAiwg(['show', type, name]) });
|
|
3542
|
+
return json(res, 200, { type, name, body: await runAiwg(['show', type, name, '--body']) });
|
|
3538
3543
|
} catch (e) {
|
|
3539
3544
|
const detail = String(e?.message ?? e);
|
|
3540
3545
|
const ambiguous = /ambiguous/i.test(detail);
|
package/bridge/src/smoke.mjs
CHANGED
|
@@ -20,8 +20,8 @@ export function createSmokeCliFixture(calls = []) {
|
|
|
20
20
|
if (JSON.stringify(args) === JSON.stringify(['discover', 'deploy production', '--json', '--limit', '4'])) {
|
|
21
21
|
return JSON.stringify({ results: [{ id: 'smoke:flow-deploy-to-production', name: 'flow-deploy-to-production', type: 'skill', path: SKILL_PATH }] });
|
|
22
22
|
}
|
|
23
|
-
if (JSON.stringify(args) === JSON.stringify(['show', 'skill', 'flow-deploy-to-production'])) return readFile(SKILL_PATH, 'utf8');
|
|
24
|
-
if (JSON.stringify(args) === JSON.stringify(['show', 'agent', '__definitely_not_a_real_artifact__'])) throw new Error('artifact not found: smoke missing-artifact fixture');
|
|
23
|
+
if (JSON.stringify(args) === JSON.stringify(['show', 'skill', 'flow-deploy-to-production', '--body'])) return readFile(SKILL_PATH, 'utf8');
|
|
24
|
+
if (JSON.stringify(args) === JSON.stringify(['show', 'agent', '__definitely_not_a_real_artifact__', '--body'])) throw new Error('artifact not found: smoke missing-artifact fixture');
|
|
25
25
|
throw new Error(`Unexpected smoke CLI command: ${JSON.stringify(args)}`);
|
|
26
26
|
};
|
|
27
27
|
}
|
package/desktop/README.md
CHANGED
|
@@ -77,6 +77,21 @@ with `RUSTSEC-2024-0429` still reported. The alpha also requires Rust 1.95.
|
|
|
77
77
|
No released Tauri line can remove the advisory until Wry ships a WebKitGTK 6
|
|
78
78
|
(GTK4) backend.
|
|
79
79
|
|
|
80
|
+
Re-check 2026-10-22 (#3413, GHSA-wrw7-89jp-8q8g): `cargo tree --locked -i
|
|
81
|
+
glib` still resolves `glib 0.18.5`. The locked chain includes `tauri 2.11.5`
|
|
82
|
+
→ `tauri-runtime-wry 2.11.4` → `wry 0.55.1` → `webkit2gtk 2.0.2` /
|
|
83
|
+
`gtk 0.18.2` → `glib 0.18.5`; Tauri also depends directly on GTK 0.18.
|
|
84
|
+
`cargo update --dry-run` offers `tauri 2.12.5`,
|
|
85
|
+
`tauri-runtime-wry 2.12.3`, and `wry 0.57.0`, but all three still declare
|
|
86
|
+
`gtk ^0.18`, and WebKitGTK 2.0.2 requires `glib ^0.18.0`.
|
|
87
|
+
`cargo update -p glib --precise 0.20.0 --dry-run` fails because GTK 0.18.2
|
|
88
|
+
requires `glib ^0.18`. GTK 0.19.0 is published with `glib ^0.22`, but the
|
|
89
|
+
current Tauri/Wry constraints cannot select it. Remediation requires an
|
|
90
|
+
upstream stable Tauri/runtime/Wry release that removes every GTK 0.18 and
|
|
91
|
+
WebKitGTK 2.0 dependency in favor of bindings using `glib >=0.20`; no such
|
|
92
|
+
compatible stable release is available. The Rust manifest and lockfile remain
|
|
93
|
+
unchanged, and the Linux bundle hold remains in force.
|
|
94
|
+
|
|
80
95
|
## Why a token file (not a socket handshake)
|
|
81
96
|
|
|
82
97
|
The runtime file is the cross-platform handshake every shell shares (see
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiwg/cockpit",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.6",
|
|
4
4
|
"description": "AIWG Cockpit — UX-first control plane over AIWG + multi-stack agentic sessions. Opt-in, separately published; NOT shipped in the base aiwg npm package (guarded by test/smoke/cockpit-base-footprint.test.js).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|