vigthoria-cli 1.13.26 → 1.13.30
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 +12 -0
- package/completions/_vigthoria +1 -0
- package/completions/vigthoria.bash +1 -1
- package/completions/vigthoria.fish +1 -0
- package/dist/commands/chat.js +73 -26
- package/dist/commands/config.js +4 -4
- package/dist/commands/creative-registration.d.ts +13 -0
- package/dist/commands/creative-registration.js +88 -0
- package/dist/commands/fork.d.ts +3 -2
- package/dist/commands/fork.js +124 -123
- package/dist/commands/game.d.ts +8 -0
- package/dist/commands/game.js +113 -9
- package/dist/commands/history.d.ts +0 -1
- package/dist/commands/history.js +8 -22
- package/dist/commands/hub.d.ts +20 -0
- package/dist/commands/hub.js +17 -3
- package/dist/commands/preview.js +7 -2
- package/dist/commands/product-run-registration.js +1 -1
- package/dist/commands/replay.d.ts +0 -1
- package/dist/commands/replay.js +10 -19
- package/dist/commands/repo.js +16 -4
- package/dist/commands/update-registration.js +2 -2
- package/dist/commands/workflow.d.ts +4 -0
- package/dist/commands/workflow.js +27 -0
- package/dist/index.js +8 -4
- package/dist/utils/agentRunOutcome.d.ts +7 -0
- package/dist/utils/agentRunOutcome.js +13 -0
- package/dist/utils/api.d.ts +20 -5
- package/dist/utils/api.js +428 -43
- package/dist/utils/command-policy.js +3 -1
- package/dist/utils/config.d.ts +2 -0
- package/dist/utils/config.js +22 -9
- package/dist/utils/frontend-preview-service.d.ts +1 -0
- package/dist/utils/frontend-preview-service.js +54 -5
- package/dist/utils/model-governance.js +23 -14
- package/dist/utils/model-transport-service.js +1 -1
- package/dist/utils/network-policy.js +15 -3
- package/dist/utils/operator-client.js +23 -4
- package/dist/utils/post-write-validator.js +7 -3
- package/dist/utils/preview-screenshot-adapter.d.ts +16 -41
- package/dist/utils/preview-screenshot-adapter.js +273 -64
- package/dist/utils/runtime-capability.d.ts +7 -0
- package/dist/utils/runtime-capability.js +11 -0
- package/dist/utils/runtime-temp.d.ts +5 -2
- package/dist/utils/runtime-temp.js +131 -30
- package/dist/utils/tools.js +1 -1
- package/dist/utils/v3-stream-events.js +10 -2
- package/dist/utils/v3-workspace-service.d.ts +1 -0
- package/dist/utils/v3-workspace-service.js +38 -1
- package/dist/utils/vigflow-client.d.ts +9 -0
- package/dist/utils/vigflow-client.js +48 -2
- package/dist/utils/workspace-reference.d.ts +8 -0
- package/dist/utils/workspace-reference.js +21 -0
- package/install.ps1 +2 -2
- package/install.sh +2 -2
- package/package.json +4 -6
- package/scripts/release/LOCAL_MACHINE_USER_VERIFICATION.md +2 -2
- package/scripts/release/validate-live-service-gates.sh +3 -3
- package/scripts/release/validate-no-go-gates.sh +2 -0
|
@@ -58,8 +58,8 @@ MODELS_RESULT="$LIVE_TMP/models.json" node --input-type=module - <<'EOF'
|
|
|
58
58
|
import fs from 'node:fs';
|
|
59
59
|
const ids = new Set((JSON.parse(fs.readFileSync(process.env.MODELS_RESULT, 'utf8')).data || []).map((model) => model.id || ''));
|
|
60
60
|
const hasRouter = ['Vigthoria-v4-Assistant-9B', 'vigthoria-balanced-4b', 'vigthoria-balanced-4b:latest', 'vigthoria-v3-balanced-4b', 'vigthoria-v3-balanced-4b:latest', 'vigthoria-fast-9b', 'vigthoria-fast-9b:latest'].some((model) => ids.has(model));
|
|
61
|
-
const hasCreative = ['Vigthoria-v4-Creative-27B'
|
|
62
|
-
const hasCode = ids.has('Vigthoria-v4-Code-27B') || [...ids].some((model) => /^vigthoria-v3(?:\.\d+)?-code-35b(?:-|:|$)/.test(model));
|
|
61
|
+
const hasCreative = ['Vigthoria-v4.2-Creative-27B'].some((model) => ids.has(model));
|
|
62
|
+
const hasCode = ids.has('Vigthoria-v4.2-Code-27B') || [...ids].some((model) => /^vigthoria-v3(?:\.\d+)?-code-35b(?:-|:|$)/.test(model));
|
|
63
63
|
if (!hasRouter || !hasCreative || !hasCode) throw new Error(`required model families missing: ${JSON.stringify([...ids].sort())}`);
|
|
64
64
|
console.log('[pass] live model inventory gates');
|
|
65
65
|
EOF
|
|
@@ -85,7 +85,7 @@ done
|
|
|
85
85
|
CREATIVE_RESULT="$LIVE_TMP/creative.json" node --input-type=module - <<'EOF'
|
|
86
86
|
import fs from 'node:fs';
|
|
87
87
|
const result = JSON.parse(fs.readFileSync(process.env.CREATIVE_RESULT, 'utf8'));
|
|
88
|
-
if (result.success !== true || result.model !== 'Vigthoria-v4-Code-27B') throw new Error(`unexpected governance result: ${JSON.stringify(result)}`);
|
|
88
|
+
if (result.success !== true || result.model !== 'Vigthoria-v4.2-Code-27B') throw new Error(`unexpected governance result: ${JSON.stringify(result)}`);
|
|
89
89
|
if (result.metadata?.modelFallback?.reason !== 'governance-blocked-model') throw new Error(`missing governance fallback metadata: ${JSON.stringify(result)}`);
|
|
90
90
|
console.log('[pass] live governance fallback metadata');
|
|
91
91
|
EOF
|
|
@@ -12,6 +12,7 @@ VALIDATION_TMP="$(mktemp -d "$VALIDATION_TEMP_ROOT/run.XXXXXX")"
|
|
|
12
12
|
trap 'rm -rf "$VALIDATION_TMP"' EXIT
|
|
13
13
|
mkdir -p "$VALIDATION_TMP/home"
|
|
14
14
|
mkdir -p "$VALIDATION_TMP/runtime-tmp"
|
|
15
|
+
mkdir -p "$VALIDATION_TMP/test-homes"
|
|
15
16
|
chmod 700 "$VALIDATION_TMP/runtime-tmp"
|
|
16
17
|
|
|
17
18
|
export HOME="$VALIDATION_TMP/home"
|
|
@@ -19,6 +20,7 @@ export USERPROFILE="$HOME"
|
|
|
19
20
|
export TMPDIR="$VALIDATION_TMP/runtime-tmp"
|
|
20
21
|
export TMP="$TMPDIR"
|
|
21
22
|
export TEMP="$TMPDIR"
|
|
23
|
+
export VIGTHORIA_TEST_HOME_ROOT="$VALIDATION_TMP/test-homes"
|
|
22
24
|
export npm_config_cache="$VALIDATION_TMP/npm-cache"
|
|
23
25
|
export npm_config_update_notifier=false
|
|
24
26
|
export VIGTHORIA_NO_BANNER=1
|