gcf-harness-aif-ext 0.8.1 → 0.8.2
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/commands/run.js +3 -1
- package/extension.json +1 -1
- package/package.json +1 -1
package/commands/run.js
CHANGED
|
@@ -25,7 +25,9 @@ function json(res, what) {
|
|
|
25
25
|
try {
|
|
26
26
|
return JSON.parse(res.out);
|
|
27
27
|
} catch (e) {
|
|
28
|
-
|
|
28
|
+
// The core's refusal is the `Error: <message>` line under node's stack, not the stack.
|
|
29
|
+
const why = (res.err || res.out).match(/^\w*Error: (.+)$/m)?.[1] ?? (res.err || res.out);
|
|
30
|
+
throw new Error(`ai-factory gcf ${what} gave no report: ${why.trim()}`, {
|
|
29
31
|
cause: e,
|
|
30
32
|
});
|
|
31
33
|
}
|
package/extension.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/lee-to/ai-factory/2.x/schemas/extension.schema.json",
|
|
3
3
|
"name": "gcf-harness-aif-ext",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.2",
|
|
5
5
|
"description": "GCF orchestration harness for Claude Code: one-command card pipeline, readset guard",
|
|
6
6
|
"skills": [
|
|
7
7
|
"skills/gcf-run",
|