@yugoo-design/companion 0.1.0-beta.12 → 0.1.0-beta.13
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/README.md +10 -6
- package/package.json +1 -1
- package/payload/desktop-preparation/hosts/workbuddy/design-SKILL.md +16 -3
- package/payload/desktop-preparation/materials.json +5 -5
- package/payload/desktop-preparation/plugin/design-system/skills/design-panel/native-execution.md +26 -4
- package/payload/desktop-preparation/qwenwork-package.mjs +1 -1
- package/payload/desktop-preparation/qwenwork-template/skills/yugoo/native-execution.md +27 -5
- package/payload/desktop-preparation/workbuddy-package.mjs +1 -1
- package/payload/overlays/claude-code/.claude-plugin/plugin.json +1 -1
- package/payload/overlays/claude-code/skills/yugoo/native-execution.md +26 -4
- package/payload/overlays/codex/.codex-plugin/plugin.json +1 -1
- package/payload/overlays/codex/skills/design-panel/native-execution.md +26 -4
- package/payload/overlays/qoder/.qoder-plugin/plugin.json +1 -1
- package/payload/overlays/qoder/skills/yugoo/native-execution.md +26 -4
- package/payload/shared/scripts/{content-archive-ChKG0eA3.mjs → content-archive-CSdtYjTT.mjs} +2 -2
- package/payload/shared/scripts/design.mjs +3 -3
- package/payload/shared/scripts/git-runtime-check.mjs +1 -1
- package/payload/shared/scripts/knowledge-snapshot-query.mjs +1 -1
- package/payload/shared/scripts/{load-C46tLUT4.mjs → load-B1XGiCBF.mjs} +1 -1
- package/payload/shared/scripts/{panel-preview-Cb8owVHh.mjs → panel-preview-DvQDHmsY.mjs} +2 -2
- package/payload/shared/scripts/{server-CxKbY4vh.mjs → server-DZXeZst5.mjs} +3339 -3034
- package/payload/shared/scripts/{studio-content-archive-BMwyZh9-.mjs → studio-content-archive-DbDtTp62.mjs} +3 -3
- package/payload/shared/scripts/{studio-instance-composition-18DCColt.mjs → studio-instance-composition-CweJdRME.mjs} +2 -2
- package/payload/shared/scripts/{studio-instances-Y02vAs6u.mjs → studio-instances-BU8X5uCA.mjs} +2 -2
- package/payload/shared/scripts/{studio-panel-drafts-BUZIydyq.mjs → studio-panel-drafts-5X-jpPZ-.mjs} +3 -3
- package/payload/shared/scripts/{windows-private-storage-C9MEHzjA.mjs → windows-private-storage-lAQSj037.mjs} +1 -1
- package/payload/shared/scripts/workbuddy-panel-service.mjs +1 -1
- package/release-manifest.json +33 -33
- package/payload/shared/scripts/{core-entry-Cfvnjfig.mjs → core-entry-CCOXUWXc.mjs} +2 -2
- package/payload/shared/scripts/{windows-private-storage-BbXmYqAe.mjs → windows-private-storage-Coy_k4ND.mjs} +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Yugoo Design Companion — beta
|
|
2
2
|
|
|
3
|
-
Package: `@yugoo-design/companion@0.1.0-beta.
|
|
3
|
+
Package: `@yugoo-design/companion@0.1.0-beta.13`.
|
|
4
4
|
|
|
5
5
|
Yugoo Design (语构设计系统) is an interactive design plugin for native Agent Hosts.
|
|
6
6
|
It combines domain methods, Design Projects, versioned Design Files and shared
|
|
@@ -21,7 +21,7 @@ selected beta to the exact version and integrity before acquisition; keep the
|
|
|
21
21
|
previous installed version available during updates. Do not substitute `latest`.
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
|
-
ONNXRUNTIME_NODE_INSTALL_CUDA=skip npm install --ignore-scripts=false --save-exact @yugoo-design/companion@0.1.0-beta.
|
|
24
|
+
ONNXRUNTIME_NODE_INSTALL_CUDA=skip npm install --ignore-scripts=false --save-exact @yugoo-design/companion@0.1.0-beta.13 --registry=https://registry.npmjs.org
|
|
25
25
|
npx --no-install design-system --help
|
|
26
26
|
```
|
|
27
27
|
|
|
@@ -38,7 +38,7 @@ allowBuilds:
|
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
|
-
ONNXRUNTIME_NODE_INSTALL_CUDA=skip pnpm add --save-exact @yugoo-design/companion@0.1.0-beta.
|
|
41
|
+
ONNXRUNTIME_NODE_INSTALL_CUDA=skip pnpm add --save-exact @yugoo-design/companion@0.1.0-beta.13 --registry=https://registry.npmjs.org
|
|
42
42
|
pnpm exec design-system --help
|
|
43
43
|
```
|
|
44
44
|
|
|
@@ -86,7 +86,7 @@ process value:
|
|
|
86
86
|
$previousOrtCuda = [Environment]::GetEnvironmentVariable('ONNXRUNTIME_NODE_INSTALL_CUDA', 'Process')
|
|
87
87
|
try {
|
|
88
88
|
$env:ONNXRUNTIME_NODE_INSTALL_CUDA = 'skip'
|
|
89
|
-
npm install --ignore-scripts=false --save-exact @yugoo-design/companion@0.1.0-beta.
|
|
89
|
+
npm install --ignore-scripts=false --save-exact @yugoo-design/companion@0.1.0-beta.13 --registry=https://registry.npmjs.org
|
|
90
90
|
} finally {
|
|
91
91
|
[Environment]::SetEnvironmentVariable('ONNXRUNTIME_NODE_INSTALL_CUDA', $previousOrtCuda, 'Process')
|
|
92
92
|
}
|
|
@@ -108,14 +108,18 @@ to an already published package. Users do not install DSH and Companion separate
|
|
|
108
108
|
| WorkBuddy | `install --host workbuddy`: prepare the stable marketplace and plugin; import or update and enable through the host. |
|
|
109
109
|
| DSH | `install --host dsh`: run the existing plan/apply transaction with the bound aggregate, official CLI/Loader and an explicitly selected existing profile. |
|
|
110
110
|
|
|
111
|
-
For a fresh WorkBuddy installation, use native suite `0.3.
|
|
112
|
-
`--suite-version 0.3.
|
|
111
|
+
For a fresh WorkBuddy installation, use native suite `0.3.26` with
|
|
112
|
+
`--suite-version 0.3.26`, the verified Node executable and a persistent external
|
|
113
113
|
preparation destination. Import the returned `nativeImport.market` directory and
|
|
114
114
|
enable its `yugoo-design` plugin. The fresh market is also named `yugoo-design`;
|
|
115
115
|
no previous test market or preparation receipt is required. An owned update with
|
|
116
116
|
`--previous-receipt` retains its original market name and directory, including
|
|
117
117
|
historical test markets, rather than migrating a registered installation.
|
|
118
118
|
|
|
119
|
+
For QwenWork, use native suite `0.1.2` with `--suite-version 0.1.2`.
|
|
120
|
+
Its suite version advances independently of the WorkBuddy suite and Companion
|
|
121
|
+
npm version; desktop preparation writes that explicit version into the import.
|
|
122
|
+
|
|
119
123
|
Supply the required host inputs shown by `design-system --help`. Without a host,
|
|
120
124
|
the entry returns `host-selection-required`; missing inputs return
|
|
121
125
|
`inputs-required`, both with exit code 2 and no installation attempted. The
|
package/package.json
CHANGED
|
@@ -151,11 +151,24 @@ Only `backgroundReviewReadiness: ready` and `backgroundReviews: true` permit
|
|
|
151
151
|
dispatch. WorkBuddy 5.8.3's public `Agent(run_in_background=true)` can fall back
|
|
152
152
|
to synchronous execution when native background capability is disabled. Do not
|
|
153
153
|
probe it with a real review prompt. Unverified readiness keeps requests pending;
|
|
154
|
-
use the returned content-free `backgroundReviewProtocol.bootstrap` only
|
|
155
|
-
explicit readiness check, then read status
|
|
156
|
-
|
|
154
|
+
use the returned content-free `backgroundReviewProtocol.bootstrap` only when
|
|
155
|
+
`canAttemptReadiness` is true, as one explicit readiness check, then read status
|
|
156
|
+
again. When false, inspect the existing result and reported reason; do not launch
|
|
157
|
+
another probe. A missing native transport observation does not prove synchronous
|
|
158
|
+
execution; a verified synchronous child result cannot prove background readiness.
|
|
159
|
+
Do not change Host settings or repeat an uncertain probe. Proof must be newer than this exact Companion connection
|
|
157
160
|
opening; a historical descriptor from the same session is insufficient.
|
|
158
161
|
|
|
162
|
+
If setup is missing, WorkBuddy 5.8.3's Chinese desktop exposes avatar → 设置 →
|
|
163
|
+
智能体 → 智能体团队管理 → 开启. Ask the user to inspect it and decide whether to
|
|
164
|
+
enable native multi-agent collaboration; never change Host settings or an expert
|
|
165
|
+
manifest yourself. Do not infer the current value from the startup default or a
|
|
166
|
+
synchronous fallback. The switch alone is not a verified background launch, and
|
|
167
|
+
this guide does not require a full Host restart. After normal plugin activation
|
|
168
|
+
or user-controlled setup, use the exact new conversation/connection and its
|
|
169
|
+
actual readiness contract. Foreground design, KAG and main U/S/T remain available
|
|
170
|
+
independently of GRA readiness.
|
|
171
|
+
|
|
159
172
|
When ready, honor the project GRA policy (`off` forbids automatic review) and reuse
|
|
160
173
|
the exact `dispatch:true` prepared IDs. Follow the installed native execution
|
|
161
174
|
reference: launch independent read-only native background reviewers, bind actual
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"LICENSE": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30",
|
|
6
6
|
"NOTICE": "6b4eec391144fcbd96ec7b45a28764ab1932722a96325248377c3e28aac2c62d",
|
|
7
7
|
"THIRD_PARTY_NOTICES.md": "bfcab921c6c15ccc47f9b1a6cc5941675c95962de5ea5b0edc50fbfa2aef136a",
|
|
8
|
-
"hosts/workbuddy/design-SKILL.md": "
|
|
9
|
-
"plugin/design-system/skills/design-panel/native-execution.md": "
|
|
10
|
-
"qwenwork-package.mjs": "
|
|
8
|
+
"hosts/workbuddy/design-SKILL.md": "6f49c7d62a658c86a679dfeff486c9edf11c83095c17d6290ee03ccc933020a6",
|
|
9
|
+
"plugin/design-system/skills/design-panel/native-execution.md": "daa9696fef481bd9da827aba963ee4296eb288d8f72c56494fcc670e29f0e86c",
|
|
10
|
+
"qwenwork-package.mjs": "b43c2e9a7c3476497a3c81e143d36059cf0ce9509536aa882635cb370f2413db",
|
|
11
11
|
"qwenwork-template/.claude-plugin/plugin.json": "7beaf01908b62b4ad6c0a371f09b45cb3236f622910c3769f8b3393e4cacb354",
|
|
12
12
|
"qwenwork-template/.mcp.json": "931fdcd8efa8e0cfe1dbdda225c523d62dbc4bacb5a33d01eebe84933b712353",
|
|
13
13
|
"qwenwork-template/LICENSE": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"qwenwork-template/scripts/windows-private-storage.mjs": "27c3eb052278f0cb2850326e1d0864cfd2f3f6d2b1975ec7c24535ef6251ac94",
|
|
24
24
|
"qwenwork-template/skills/design-component/SKILL.md": "85a1f2a016174787226eaa9e9e6675e86057212d322a65014edd71f3e4861b34",
|
|
25
25
|
"qwenwork-template/skills/yugoo/SKILL.md": "3aedb6739f204c9931cf1d406e5a71d59fc3424875746ee5737e68e5a58236bc",
|
|
26
|
-
"qwenwork-template/skills/yugoo/native-execution.md": "
|
|
26
|
+
"qwenwork-template/skills/yugoo/native-execution.md": "b4cbc2e7621ac8c9a89ad58f05f9a46b3b3ae241b290e7386728cb1a4aa2a8b2",
|
|
27
27
|
"src/browser-access.mjs": "4b64284b9bfaaa32c8502ab00febdda4f8a972f4b41e822d4e708b27e7e3efdf",
|
|
28
28
|
"src/native-hook-transport.mjs": "a5878335c40bc930d28d34e079de09f7628dc0cbcc828a1309826c1829640a83",
|
|
29
29
|
"src/qwenwork-connection.mjs": "850b95ea4f57ccf4e1cb6463f98625b941d74f4df76bc24f05dbdf15b8597b3a",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
"src/workbuddy-relay-probe.mjs": "c5ea46abadbf9dfe265eb40eb81ed08a4f6596dd5f673fd248843e7775160cc4",
|
|
38
38
|
"src/workbuddy-relay-service.mjs": "44d60d6956250417507fb76c71c3030a01bc38e565e4572a761b46f255f8e669",
|
|
39
39
|
"src/workbuddy-ui-probes.mjs": "a91d4651248125769254755bdf66a44bbc9e5a793dad0a137c35acbb10a89a88",
|
|
40
|
-
"workbuddy-package.mjs": "
|
|
40
|
+
"workbuddy-package.mjs": "9ec792fd0c56ccfe76a3cbf6215b38999677b7ce761ab2f9a95698684d6995ca"
|
|
41
41
|
}
|
|
42
42
|
}
|
package/payload/desktop-preparation/plugin/design-system/skills/design-panel/native-execution.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The native Host owns spawning, concurrency, messages, cancellation and permissions. The
|
|
4
4
|
companion owns Design Files, Panels and the existing validation/Git/journal path.
|
|
5
|
-
Do not invoke a second
|
|
5
|
+
Do not invoke a second model client, CLI process or app-server to simulate children;
|
|
6
|
+
for example, a second `codex exec`/`resume` is not native Codex delegation.
|
|
6
7
|
If native delegation is unavailable, report the limitation rather than claim
|
|
7
8
|
fanout succeeded. The Producer may perform the scoped artifact work itself.
|
|
8
9
|
|
|
@@ -190,7 +191,7 @@ settles its Bundle. Do not hide failure by substituting another file.
|
|
|
190
191
|
|
|
191
192
|
## Mapping existing Bundle tool terminology
|
|
192
193
|
|
|
193
|
-
| Bundle operation | Native
|
|
194
|
+
| Bundle operation | Native Host operation |
|
|
194
195
|
| --- | --- |
|
|
195
196
|
| `design_delegate` | Native child spawn, followed by exact run/target registration |
|
|
196
197
|
| `read_skill_resource` | Read the referenced file under returned Bundle resources |
|
|
@@ -269,6 +270,22 @@ structured `agent-output` receipt supplies native status. Externalized/missing
|
|
|
269
270
|
status or newer unbound child activity remains unknown. Do not follow paths in
|
|
270
271
|
tool text, busy-poll, wait for review completion or block the main user task.
|
|
271
272
|
|
|
273
|
+
QwenWork has a separate native background contract. Read its current
|
|
274
|
+
`hostCapabilities.backgroundReviewReadiness` and `backgroundReviewProtocol`;
|
|
275
|
+
only `ready` permits real review dispatch. An explicitly requested content-free
|
|
276
|
+
bootstrap may establish readiness after this exact connection opened, but never
|
|
277
|
+
repeat it automatically or change Host settings. Its structured parent
|
|
278
|
+
`tool_result` must contain `isAsync: true` and `status: "async_launched"`, matched
|
|
279
|
+
to that exact native Agent call and the Host's task descriptor. A textual Agent
|
|
280
|
+
ID, synchronous fallback or older task is insufficient. Each actual review must
|
|
281
|
+
independently satisfy this proof when bound; bootstrap success is not a review
|
|
282
|
+
launch. Bind the actual native `agentId` as `runId`, plus its exact `taskPath` and
|
|
283
|
+
child `transcriptPath`. The QwenWork adapter observes native task status and
|
|
284
|
+
child evidence; do not copy WorkBuddy's version-1 descriptor or `TaskOutput`
|
|
285
|
+
contract, infer completion from the Agent RPC, busy-poll or wait in the foreground.
|
|
286
|
+
Unknown/unreadable native evidence remains unavailable. The installed-version
|
|
287
|
+
contract and limitations live in the QwenWork integration entry.
|
|
288
|
+
|
|
272
289
|
When `design_status` reports `reviewDispatchOwner: "companion"`, or preparation
|
|
273
290
|
returns `dispatchOwner: "companion"`, the service owns background review execution.
|
|
274
291
|
Do not prepare, spawn, bind, follow up, or wait for reviewer children. Continue the
|
|
@@ -328,7 +345,12 @@ the parent need not read or rewrite them. Do not dump Design Files into the pare
|
|
|
328
345
|
|
|
329
346
|
Spawn independent native **background** review children from the main Agent.
|
|
330
347
|
Give each only its review ID, connection path and instructions to read its request
|
|
331
|
-
and submit its own structured result.
|
|
348
|
+
and submit its own structured result. Include that exact review ID literally in
|
|
349
|
+
the native Agent prompt. WorkBuddy and QwenWork verify both the current launch
|
|
350
|
+
boundary and this request assignment on first binding; an old task or READY
|
|
351
|
+
probe cannot become a new Reviewer, even when it belongs to the same session.
|
|
352
|
+
Exact already-bound historical evidence remains readable after reopening.
|
|
353
|
+
Launch independent children together when
|
|
332
354
|
the host supports it. Use one `bindReviewRuns` call with
|
|
333
355
|
`{bindings:[{reviewId,nativeRun},...]}` for the exact native launch results;
|
|
334
356
|
`nativeRun` can contain just the actual `runId` (or, for `host=codex` only, an exact launch reference
|
|
@@ -363,7 +385,7 @@ The reviewers have no authority to edit Design Files or automatically accept
|
|
|
363
385
|
advice. Use `submitReview` for structured result publication, preserving the
|
|
364
386
|
exact review ID/native child binding. Errors return diagnostics for correction.
|
|
365
387
|
Do not force stale results onto newer project evidence. UI reads and polling
|
|
366
|
-
must never launch reviews. Native permission/cancellation remains
|
|
388
|
+
must never launch reviews. Native permission/cancellation remains with the Host.
|
|
367
389
|
|
|
368
390
|
GRA and U/S/T are distinct: U/S/T updates assessment; GRA contributes suggestions
|
|
369
391
|
to the shared advisory inbox. Only a real user acceptance dispatches a scoped
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { readFile, writeFile } from 'node:fs/promises'
|
|
3
3
|
import { join, win32 } from 'node:path'
|
|
4
4
|
export function qwenWorkNativeExecutionReference(shared) {
|
|
5
|
-
return '# QwenWork native execution\n\nRead SKILL.md for exact native task descriptor and user authorization requirements
|
|
5
|
+
return '# QwenWork native execution\n\nRead SKILL.md for exact native task descriptor and user authorization requirements. The shared reference below retains explicit host qualifiers: Codex-only launch references are not QwenWork parameters. Use the QwenWork background contract, never another Host\'s receipt format.\n\n' + shared
|
|
6
6
|
}
|
|
7
7
|
export function validateQwenWorkRuntime(value) {
|
|
8
8
|
if (!value || !['executable', 'worker', 'nodeExecutable'].every(k => typeof value[k] === 'string' && win32.isAbsolute(value[k]) && !/[\r\n\0]/.test(value[k]))) throw Error('QwenWork requires explicit Windows executable, worker and Node paths.')
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# QwenWork native execution
|
|
2
2
|
|
|
3
|
-
Read SKILL.md for exact native task descriptor and user authorization requirements.
|
|
3
|
+
Read SKILL.md for exact native task descriptor and user authorization requirements. The shared reference below retains explicit host qualifiers: Codex-only launch references are not QwenWork parameters. Use the QwenWork background contract, never another Host's receipt format.
|
|
4
4
|
|
|
5
5
|
# Native Design execution
|
|
6
6
|
|
|
7
7
|
The native Host owns spawning, concurrency, messages, cancellation and permissions. The
|
|
8
8
|
companion owns Design Files, Panels and the existing validation/Git/journal path.
|
|
9
|
-
Do not invoke a second
|
|
9
|
+
Do not invoke a second model client, CLI process or app-server to simulate children;
|
|
10
|
+
for example, a second `codex exec`/`resume` is not native Codex delegation.
|
|
10
11
|
If native delegation is unavailable, report the limitation rather than claim
|
|
11
12
|
fanout succeeded. The Producer may perform the scoped artifact work itself.
|
|
12
13
|
|
|
@@ -194,7 +195,7 @@ settles its Bundle. Do not hide failure by substituting another file.
|
|
|
194
195
|
|
|
195
196
|
## Mapping existing Bundle tool terminology
|
|
196
197
|
|
|
197
|
-
| Bundle operation | Native
|
|
198
|
+
| Bundle operation | Native Host operation |
|
|
198
199
|
| --- | --- |
|
|
199
200
|
| `design_delegate` | Native child spawn, followed by exact run/target registration |
|
|
200
201
|
| `read_skill_resource` | Read the referenced file under returned Bundle resources |
|
|
@@ -273,6 +274,22 @@ structured `agent-output` receipt supplies native status. Externalized/missing
|
|
|
273
274
|
status or newer unbound child activity remains unknown. Do not follow paths in
|
|
274
275
|
tool text, busy-poll, wait for review completion or block the main user task.
|
|
275
276
|
|
|
277
|
+
QwenWork has a separate native background contract. Read its current
|
|
278
|
+
`hostCapabilities.backgroundReviewReadiness` and `backgroundReviewProtocol`;
|
|
279
|
+
only `ready` permits real review dispatch. An explicitly requested content-free
|
|
280
|
+
bootstrap may establish readiness after this exact connection opened, but never
|
|
281
|
+
repeat it automatically or change Host settings. Its structured parent
|
|
282
|
+
`tool_result` must contain `isAsync: true` and `status: "async_launched"`, matched
|
|
283
|
+
to that exact native Agent call and the Host's task descriptor. A textual Agent
|
|
284
|
+
ID, synchronous fallback or older task is insufficient. Each actual review must
|
|
285
|
+
independently satisfy this proof when bound; bootstrap success is not a review
|
|
286
|
+
launch. Bind the actual native `agentId` as `runId`, plus its exact `taskPath` and
|
|
287
|
+
child `transcriptPath`. The QwenWork adapter observes native task status and
|
|
288
|
+
child evidence; do not copy WorkBuddy's version-1 descriptor or `TaskOutput`
|
|
289
|
+
contract, infer completion from the Agent RPC, busy-poll or wait in the foreground.
|
|
290
|
+
Unknown/unreadable native evidence remains unavailable. The installed-version
|
|
291
|
+
contract and limitations live in the QwenWork integration entry.
|
|
292
|
+
|
|
276
293
|
When `design_status` reports `reviewDispatchOwner: "companion"`, or preparation
|
|
277
294
|
returns `dispatchOwner: "companion"`, the service owns background review execution.
|
|
278
295
|
Do not prepare, spawn, bind, follow up, or wait for reviewer children. Continue the
|
|
@@ -332,7 +349,12 @@ the parent need not read or rewrite them. Do not dump Design Files into the pare
|
|
|
332
349
|
|
|
333
350
|
Spawn independent native **background** review children from the main Agent.
|
|
334
351
|
Give each only its review ID, connection path and instructions to read its request
|
|
335
|
-
and submit its own structured result.
|
|
352
|
+
and submit its own structured result. Include that exact review ID literally in
|
|
353
|
+
the native Agent prompt. WorkBuddy and QwenWork verify both the current launch
|
|
354
|
+
boundary and this request assignment on first binding; an old task or READY
|
|
355
|
+
probe cannot become a new Reviewer, even when it belongs to the same session.
|
|
356
|
+
Exact already-bound historical evidence remains readable after reopening.
|
|
357
|
+
Launch independent children together when
|
|
336
358
|
the host supports it. Use one `bindReviewRuns` call with
|
|
337
359
|
`{bindings:[{reviewId,nativeRun},...]}` for the exact native launch results;
|
|
338
360
|
`nativeRun` can contain just the actual `runId` (or, for `host=codex` only, an exact launch reference
|
|
@@ -367,7 +389,7 @@ The reviewers have no authority to edit Design Files or automatically accept
|
|
|
367
389
|
advice. Use `submitReview` for structured result publication, preserving the
|
|
368
390
|
exact review ID/native child binding. Errors return diagnostics for correction.
|
|
369
391
|
Do not force stale results onto newer project evidence. UI reads and polling
|
|
370
|
-
must never launch reviews. Native permission/cancellation remains
|
|
392
|
+
must never launch reviews. Native permission/cancellation remains with the Host.
|
|
371
393
|
|
|
372
394
|
GRA and U/S/T are distinct: U/S/T updates assessment; GRA contributes suggestions
|
|
373
395
|
to the shared advisory inbox. Only a real user acceptance dispatches a scoped
|
|
@@ -3,7 +3,7 @@ import { mkdir, writeFile, copyFile } from 'node:fs/promises'
|
|
|
3
3
|
import { join, win32 } from 'node:path'
|
|
4
4
|
import { resolveBrowserAccess } from './src/browser-access.mjs'
|
|
5
5
|
|
|
6
|
-
export const WORKBUDDY_TEST_VERSION = '0.3.
|
|
6
|
+
export const WORKBUDDY_TEST_VERSION = '0.3.26'
|
|
7
7
|
export const WORKBUDDY_TEST_MARKET = 'yugoo-design'
|
|
8
8
|
export const WORKBUDDY_TEST_PLUGIN = 'yugoo-design'
|
|
9
9
|
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The native Host owns spawning, concurrency, messages, cancellation and permissions. The
|
|
4
4
|
companion owns Design Files, Panels and the existing validation/Git/journal path.
|
|
5
|
-
Do not invoke a second
|
|
5
|
+
Do not invoke a second model client, CLI process or app-server to simulate children;
|
|
6
|
+
for example, a second `codex exec`/`resume` is not native Codex delegation.
|
|
6
7
|
If native delegation is unavailable, report the limitation rather than claim
|
|
7
8
|
fanout succeeded. The Producer may perform the scoped artifact work itself.
|
|
8
9
|
|
|
@@ -190,7 +191,7 @@ settles its Bundle. Do not hide failure by substituting another file.
|
|
|
190
191
|
|
|
191
192
|
## Mapping existing Bundle tool terminology
|
|
192
193
|
|
|
193
|
-
| Bundle operation | Native
|
|
194
|
+
| Bundle operation | Native Host operation |
|
|
194
195
|
| --- | --- |
|
|
195
196
|
| `design_delegate` | Native child spawn, followed by exact run/target registration |
|
|
196
197
|
| `read_skill_resource` | Read the referenced file under returned Bundle resources |
|
|
@@ -269,6 +270,22 @@ structured `agent-output` receipt supplies native status. Externalized/missing
|
|
|
269
270
|
status or newer unbound child activity remains unknown. Do not follow paths in
|
|
270
271
|
tool text, busy-poll, wait for review completion or block the main user task.
|
|
271
272
|
|
|
273
|
+
QwenWork has a separate native background contract. Read its current
|
|
274
|
+
`hostCapabilities.backgroundReviewReadiness` and `backgroundReviewProtocol`;
|
|
275
|
+
only `ready` permits real review dispatch. An explicitly requested content-free
|
|
276
|
+
bootstrap may establish readiness after this exact connection opened, but never
|
|
277
|
+
repeat it automatically or change Host settings. Its structured parent
|
|
278
|
+
`tool_result` must contain `isAsync: true` and `status: "async_launched"`, matched
|
|
279
|
+
to that exact native Agent call and the Host's task descriptor. A textual Agent
|
|
280
|
+
ID, synchronous fallback or older task is insufficient. Each actual review must
|
|
281
|
+
independently satisfy this proof when bound; bootstrap success is not a review
|
|
282
|
+
launch. Bind the actual native `agentId` as `runId`, plus its exact `taskPath` and
|
|
283
|
+
child `transcriptPath`. The QwenWork adapter observes native task status and
|
|
284
|
+
child evidence; do not copy WorkBuddy's version-1 descriptor or `TaskOutput`
|
|
285
|
+
contract, infer completion from the Agent RPC, busy-poll or wait in the foreground.
|
|
286
|
+
Unknown/unreadable native evidence remains unavailable. The installed-version
|
|
287
|
+
contract and limitations live in the QwenWork integration entry.
|
|
288
|
+
|
|
272
289
|
When `design_status` reports `reviewDispatchOwner: "companion"`, or preparation
|
|
273
290
|
returns `dispatchOwner: "companion"`, the service owns background review execution.
|
|
274
291
|
Do not prepare, spawn, bind, follow up, or wait for reviewer children. Continue the
|
|
@@ -328,7 +345,12 @@ the parent need not read or rewrite them. Do not dump Design Files into the pare
|
|
|
328
345
|
|
|
329
346
|
Spawn independent native **background** review children from the main Agent.
|
|
330
347
|
Give each only its review ID, connection path and instructions to read its request
|
|
331
|
-
and submit its own structured result.
|
|
348
|
+
and submit its own structured result. Include that exact review ID literally in
|
|
349
|
+
the native Agent prompt. WorkBuddy and QwenWork verify both the current launch
|
|
350
|
+
boundary and this request assignment on first binding; an old task or READY
|
|
351
|
+
probe cannot become a new Reviewer, even when it belongs to the same session.
|
|
352
|
+
Exact already-bound historical evidence remains readable after reopening.
|
|
353
|
+
Launch independent children together when
|
|
332
354
|
the host supports it. Use one `bindReviewRuns` call with
|
|
333
355
|
`{bindings:[{reviewId,nativeRun},...]}` for the exact native launch results;
|
|
334
356
|
`nativeRun` can contain just the actual `runId` (or, for `host=codex` only, an exact launch reference
|
|
@@ -363,7 +385,7 @@ The reviewers have no authority to edit Design Files or automatically accept
|
|
|
363
385
|
advice. Use `submitReview` for structured result publication, preserving the
|
|
364
386
|
exact review ID/native child binding. Errors return diagnostics for correction.
|
|
365
387
|
Do not force stale results onto newer project evidence. UI reads and polling
|
|
366
|
-
must never launch reviews. Native permission/cancellation remains
|
|
388
|
+
must never launch reviews. Native permission/cancellation remains with the Host.
|
|
367
389
|
|
|
368
390
|
GRA and U/S/T are distinct: U/S/T updates assessment; GRA contributes suggestions
|
|
369
391
|
to the shared advisory inbox. Only a real user acceptance dispatches a scoped
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The native Host owns spawning, concurrency, messages, cancellation and permissions. The
|
|
4
4
|
companion owns Design Files, Panels and the existing validation/Git/journal path.
|
|
5
|
-
Do not invoke a second
|
|
5
|
+
Do not invoke a second model client, CLI process or app-server to simulate children;
|
|
6
|
+
for example, a second `codex exec`/`resume` is not native Codex delegation.
|
|
6
7
|
If native delegation is unavailable, report the limitation rather than claim
|
|
7
8
|
fanout succeeded. The Producer may perform the scoped artifact work itself.
|
|
8
9
|
|
|
@@ -190,7 +191,7 @@ settles its Bundle. Do not hide failure by substituting another file.
|
|
|
190
191
|
|
|
191
192
|
## Mapping existing Bundle tool terminology
|
|
192
193
|
|
|
193
|
-
| Bundle operation | Native
|
|
194
|
+
| Bundle operation | Native Host operation |
|
|
194
195
|
| --- | --- |
|
|
195
196
|
| `design_delegate` | Native child spawn, followed by exact run/target registration |
|
|
196
197
|
| `read_skill_resource` | Read the referenced file under returned Bundle resources |
|
|
@@ -269,6 +270,22 @@ structured `agent-output` receipt supplies native status. Externalized/missing
|
|
|
269
270
|
status or newer unbound child activity remains unknown. Do not follow paths in
|
|
270
271
|
tool text, busy-poll, wait for review completion or block the main user task.
|
|
271
272
|
|
|
273
|
+
QwenWork has a separate native background contract. Read its current
|
|
274
|
+
`hostCapabilities.backgroundReviewReadiness` and `backgroundReviewProtocol`;
|
|
275
|
+
only `ready` permits real review dispatch. An explicitly requested content-free
|
|
276
|
+
bootstrap may establish readiness after this exact connection opened, but never
|
|
277
|
+
repeat it automatically or change Host settings. Its structured parent
|
|
278
|
+
`tool_result` must contain `isAsync: true` and `status: "async_launched"`, matched
|
|
279
|
+
to that exact native Agent call and the Host's task descriptor. A textual Agent
|
|
280
|
+
ID, synchronous fallback or older task is insufficient. Each actual review must
|
|
281
|
+
independently satisfy this proof when bound; bootstrap success is not a review
|
|
282
|
+
launch. Bind the actual native `agentId` as `runId`, plus its exact `taskPath` and
|
|
283
|
+
child `transcriptPath`. The QwenWork adapter observes native task status and
|
|
284
|
+
child evidence; do not copy WorkBuddy's version-1 descriptor or `TaskOutput`
|
|
285
|
+
contract, infer completion from the Agent RPC, busy-poll or wait in the foreground.
|
|
286
|
+
Unknown/unreadable native evidence remains unavailable. The installed-version
|
|
287
|
+
contract and limitations live in the QwenWork integration entry.
|
|
288
|
+
|
|
272
289
|
When `design_status` reports `reviewDispatchOwner: "companion"`, or preparation
|
|
273
290
|
returns `dispatchOwner: "companion"`, the service owns background review execution.
|
|
274
291
|
Do not prepare, spawn, bind, follow up, or wait for reviewer children. Continue the
|
|
@@ -328,7 +345,12 @@ the parent need not read or rewrite them. Do not dump Design Files into the pare
|
|
|
328
345
|
|
|
329
346
|
Spawn independent native **background** review children from the main Agent.
|
|
330
347
|
Give each only its review ID, connection path and instructions to read its request
|
|
331
|
-
and submit its own structured result.
|
|
348
|
+
and submit its own structured result. Include that exact review ID literally in
|
|
349
|
+
the native Agent prompt. WorkBuddy and QwenWork verify both the current launch
|
|
350
|
+
boundary and this request assignment on first binding; an old task or READY
|
|
351
|
+
probe cannot become a new Reviewer, even when it belongs to the same session.
|
|
352
|
+
Exact already-bound historical evidence remains readable after reopening.
|
|
353
|
+
Launch independent children together when
|
|
332
354
|
the host supports it. Use one `bindReviewRuns` call with
|
|
333
355
|
`{bindings:[{reviewId,nativeRun},...]}` for the exact native launch results;
|
|
334
356
|
`nativeRun` can contain just the actual `runId` (or, for `host=codex` only, an exact launch reference
|
|
@@ -363,7 +385,7 @@ The reviewers have no authority to edit Design Files or automatically accept
|
|
|
363
385
|
advice. Use `submitReview` for structured result publication, preserving the
|
|
364
386
|
exact review ID/native child binding. Errors return diagnostics for correction.
|
|
365
387
|
Do not force stale results onto newer project evidence. UI reads and polling
|
|
366
|
-
must never launch reviews. Native permission/cancellation remains
|
|
388
|
+
must never launch reviews. Native permission/cancellation remains with the Host.
|
|
367
389
|
|
|
368
390
|
GRA and U/S/T are distinct: U/S/T updates assessment; GRA contributes suggestions
|
|
369
391
|
to the shared advisory inbox. Only a real user acceptance dispatches a scoped
|
|
@@ -6,7 +6,8 @@ Read SKILL.md native execution specifics for Qoder taskPath and agent IDs. The o
|
|
|
6
6
|
|
|
7
7
|
The native Host owns spawning, concurrency, messages, cancellation and permissions. The
|
|
8
8
|
companion owns Design Files, Panels and the existing validation/Git/journal path.
|
|
9
|
-
Do not invoke a second
|
|
9
|
+
Do not invoke a second model client, CLI process or app-server to simulate children;
|
|
10
|
+
for example, a second `qodercli -p`/`resume` is not native Qoder CLI delegation.
|
|
10
11
|
If native delegation is unavailable, report the limitation rather than claim
|
|
11
12
|
fanout succeeded. The Producer may perform the scoped artifact work itself.
|
|
12
13
|
|
|
@@ -194,7 +195,7 @@ settles its Bundle. Do not hide failure by substituting another file.
|
|
|
194
195
|
|
|
195
196
|
## Mapping existing Bundle tool terminology
|
|
196
197
|
|
|
197
|
-
| Bundle operation | Native
|
|
198
|
+
| Bundle operation | Native Host operation |
|
|
198
199
|
| --- | --- |
|
|
199
200
|
| `design_delegate` | Native child spawn, followed by exact run/target registration |
|
|
200
201
|
| `read_skill_resource` | Read the referenced file under returned Bundle resources |
|
|
@@ -273,6 +274,22 @@ structured `agent-output` receipt supplies native status. Externalized/missing
|
|
|
273
274
|
status or newer unbound child activity remains unknown. Do not follow paths in
|
|
274
275
|
tool text, busy-poll, wait for review completion or block the main user task.
|
|
275
276
|
|
|
277
|
+
QwenWork has a separate native background contract. Read its current
|
|
278
|
+
`hostCapabilities.backgroundReviewReadiness` and `backgroundReviewProtocol`;
|
|
279
|
+
only `ready` permits real review dispatch. An explicitly requested content-free
|
|
280
|
+
bootstrap may establish readiness after this exact connection opened, but never
|
|
281
|
+
repeat it automatically or change Host settings. Its structured parent
|
|
282
|
+
`tool_result` must contain `isAsync: true` and `status: "async_launched"`, matched
|
|
283
|
+
to that exact native Agent call and the Host's task descriptor. A textual Agent
|
|
284
|
+
ID, synchronous fallback or older task is insufficient. Each actual review must
|
|
285
|
+
independently satisfy this proof when bound; bootstrap success is not a review
|
|
286
|
+
launch. Bind the actual native `agentId` as `runId`, plus its exact `taskPath` and
|
|
287
|
+
child `transcriptPath`. The QwenWork adapter observes native task status and
|
|
288
|
+
child evidence; do not copy WorkBuddy's version-1 descriptor or `TaskOutput`
|
|
289
|
+
contract, infer completion from the Agent RPC, busy-poll or wait in the foreground.
|
|
290
|
+
Unknown/unreadable native evidence remains unavailable. The installed-version
|
|
291
|
+
contract and limitations live in the QwenWork integration entry.
|
|
292
|
+
|
|
276
293
|
When `design_status` reports `reviewDispatchOwner: "companion"`, or preparation
|
|
277
294
|
returns `dispatchOwner: "companion"`, the service owns background review execution.
|
|
278
295
|
Do not prepare, spawn, bind, follow up, or wait for reviewer children. Continue the
|
|
@@ -332,7 +349,12 @@ the parent need not read or rewrite them. Do not dump Design Files into the pare
|
|
|
332
349
|
|
|
333
350
|
Spawn independent native **background** review children from the main Agent.
|
|
334
351
|
Give each only its review ID, connection path and instructions to read its request
|
|
335
|
-
and submit its own structured result.
|
|
352
|
+
and submit its own structured result. Include that exact review ID literally in
|
|
353
|
+
the native Agent prompt. WorkBuddy and QwenWork verify both the current launch
|
|
354
|
+
boundary and this request assignment on first binding; an old task or READY
|
|
355
|
+
probe cannot become a new Reviewer, even when it belongs to the same session.
|
|
356
|
+
Exact already-bound historical evidence remains readable after reopening.
|
|
357
|
+
Launch independent children together when
|
|
336
358
|
the host supports it. Use one `bindReviewRuns` call with
|
|
337
359
|
`{bindings:[{reviewId,nativeRun},...]}` for the exact native launch results;
|
|
338
360
|
`nativeRun` can contain just the actual `runId` (or, for `host=codex` only, an exact launch reference
|
|
@@ -367,7 +389,7 @@ The reviewers have no authority to edit Design Files or automatically accept
|
|
|
367
389
|
advice. Use `submitReview` for structured result publication, preserving the
|
|
368
390
|
exact review ID/native child binding. Errors return diagnostics for correction.
|
|
369
391
|
Do not force stale results onto newer project evidence. UI reads and polling
|
|
370
|
-
must never launch reviews. Native permission/cancellation remains
|
|
392
|
+
must never launch reviews. Native permission/cancellation remains with the Host.
|
|
371
393
|
|
|
372
394
|
GRA and U/S/T are distinct: U/S/T updates assessment; GRA contributes suggestions
|
|
373
395
|
to the shared advisory inbox. Only a real user acceptance dispatches a scoped
|
package/payload/shared/scripts/{content-archive-ChKG0eA3.mjs → content-archive-CSdtYjTT.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Dt as DesignKitVersion, Et as DesignBundleVersion, at as loadDesignBundle } from "./core-entry-
|
|
2
|
-
import { t as loadStudioKit } from "./load-
|
|
1
|
+
import { Dt as DesignKitVersion, Et as DesignBundleVersion, at as loadDesignBundle } from "./core-entry-CCOXUWXc.mjs";
|
|
2
|
+
import { t as loadStudioKit } from "./load-B1XGiCBF.mjs";
|
|
3
3
|
import { extname, isAbsolute, relative, resolve, sep } from "node:path";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
5
|
//#region packages/studio/src/content-archive.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as __toESM, t as __commonJSMin } from "./rolldown-runtime-CMFfr-1z.mjs";
|
|
2
|
-
import { a as createClaudeTranscript, c as assertCompanionKitContributions, d as requireThreadId, f as notificationErrorResponse, i as resolveCodexMainTranscript, l as createCompanionContentLibrary, n as companionKnowledgeRuntimeUrl, o as companionFs, p as unknownDeliveryError, r as runtime, s as openCompanionProject, t as startCompanion, u as createQwenWorkTranscript } from "./server-
|
|
3
|
-
import { R as validateSkillDesign, X as runDesignProjectCommand, Y as parseDesignCommand, Z as DesignProjectRegistry, gt as PANEL_COMPONENT_CATALOG, ht as GENERATED_COMPONENT_KINDS, mt as COMPONENT_KINDS } from "./core-entry-
|
|
2
|
+
import { a as createClaudeTranscript, c as assertCompanionKitContributions, d as requireThreadId, f as notificationErrorResponse, i as resolveCodexMainTranscript, l as createCompanionContentLibrary, n as companionKnowledgeRuntimeUrl, o as companionFs, p as unknownDeliveryError, r as runtime, s as openCompanionProject, t as startCompanion, u as createQwenWorkTranscript } from "./server-DZXeZst5.mjs";
|
|
3
|
+
import { R as validateSkillDesign, X as runDesignProjectCommand, Y as parseDesignCommand, Z as DesignProjectRegistry, gt as PANEL_COMPONENT_CATALOG, ht as GENERATED_COMPONENT_KINDS, mt as COMPONENT_KINDS } from "./core-entry-CCOXUWXc.mjs";
|
|
4
4
|
import { n as DESIGN_GIT_READ_DESCRIPTION, r as designGitReadArguments, t as DESIGN_GIT_READ_ACTIONS } from "./design-git-read-BUV0s4TT.mjs";
|
|
5
5
|
import { dirname, isAbsolute, join, resolve } from "node:path";
|
|
6
6
|
import { mkdir, readFile, rename, rmdir, writeFile } from "node:fs/promises";
|
|
7
|
-
import { parseArgs } from "node:util";
|
|
8
7
|
import { createHash, randomUUID } from "node:crypto";
|
|
8
|
+
import { parseArgs } from "node:util";
|
|
9
9
|
import { homedir } from "node:os";
|
|
10
10
|
import { fileURLToPath } from "node:url";
|
|
11
11
|
import { startStandaloneCompanion } from "../knowledge/cli-lifecycle.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ot as GitVersioning } from "./core-entry-
|
|
1
|
+
import { Ot as GitVersioning } from "./core-entry-CCOXUWXc.mjs";
|
|
2
2
|
import { i as readDesignGit } from "./design-git-read-BUV0s4TT.mjs";
|
|
3
3
|
import { join, resolve } from "node:path";
|
|
4
4
|
import { mkdir, mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as knowledgeReadResult, E as knowledgeQueryFilters, O as queryKnowledgeSnapshot } from "./core-entry-
|
|
1
|
+
import { D as knowledgeReadResult, E as knowledgeQueryFilters, O as queryKnowledgeSnapshot } from "./core-entry-CCOXUWXc.mjs";
|
|
2
2
|
import { readFile } from "node:fs/promises";
|
|
3
3
|
import { pathToFileURL } from "node:url";
|
|
4
4
|
//#region packages/companion/src/knowledge-snapshot-query.mjs
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { at as loadDesignBundle, ot as loadDesignKit } from "./core-entry-
|
|
1
|
+
import { at as loadDesignBundle, ot as loadDesignKit } from "./core-entry-CCOXUWXc.mjs";
|
|
2
2
|
import { resolve } from "node:path";
|
|
3
3
|
//#region packages/studio/src/load.ts
|
|
4
4
|
/** Studio-owned loading of a Kit from its directory source. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { vt as compileSchema } from "./core-entry-
|
|
2
|
-
import { t as loadStudioKit } from "./load-
|
|
1
|
+
import { vt as compileSchema } from "./core-entry-CCOXUWXc.mjs";
|
|
2
|
+
import { t as loadStudioKit } from "./load-B1XGiCBF.mjs";
|
|
3
3
|
import { isAbsolute, resolve } from "node:path";
|
|
4
4
|
//#region packages/studio/src/panel-preview.ts
|
|
5
5
|
/** Definition-only Panel preview preparation; never writes or runs a Bundle. */
|