vigthoria-cli 1.13.25 → 1.13.29

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.
Files changed (54) hide show
  1. package/dist/commands/chat.js +83 -27
  2. package/dist/commands/config.js +4 -4
  3. package/dist/commands/fork.d.ts +3 -2
  4. package/dist/commands/fork.js +124 -123
  5. package/dist/commands/game.d.ts +8 -0
  6. package/dist/commands/game.js +118 -10
  7. package/dist/commands/history.d.ts +0 -1
  8. package/dist/commands/history.js +8 -22
  9. package/dist/commands/hub.d.ts +20 -0
  10. package/dist/commands/hub.js +17 -3
  11. package/dist/commands/preview.d.ts +1 -0
  12. package/dist/commands/preview.js +36 -15
  13. package/dist/commands/product-run-registration.js +1 -1
  14. package/dist/commands/replay.d.ts +0 -1
  15. package/dist/commands/replay.js +10 -19
  16. package/dist/commands/repo.d.ts +35 -2
  17. package/dist/commands/repo.js +76 -34
  18. package/dist/commands/update-registration.js +4 -3
  19. package/dist/commands/workflow.d.ts +4 -0
  20. package/dist/commands/workflow.js +27 -0
  21. package/dist/index.js +6 -4
  22. package/dist/utils/agentRunOutcome.d.ts +7 -0
  23. package/dist/utils/agentRunOutcome.js +13 -0
  24. package/dist/utils/api.d.ts +20 -5
  25. package/dist/utils/api.js +440 -54
  26. package/dist/utils/command-policy.js +1 -1
  27. package/dist/utils/config.d.ts +2 -0
  28. package/dist/utils/config.js +8 -3
  29. package/dist/utils/frontend-preview-service.d.ts +1 -0
  30. package/dist/utils/frontend-preview-service.js +54 -5
  31. package/dist/utils/model-governance.js +23 -14
  32. package/dist/utils/model-transport-service.js +1 -1
  33. package/dist/utils/network-policy.js +16 -4
  34. package/dist/utils/operator-client.js +23 -4
  35. package/dist/utils/post-write-validator.js +7 -3
  36. package/dist/utils/preview-screenshot-adapter.d.ts +19 -3
  37. package/dist/utils/preview-screenshot-adapter.js +289 -28
  38. package/dist/utils/runtime-capability.d.ts +7 -0
  39. package/dist/utils/runtime-capability.js +11 -0
  40. package/dist/utils/runtime-temp.d.ts +6 -2
  41. package/dist/utils/runtime-temp.js +143 -27
  42. package/dist/utils/tools.js +1 -1
  43. package/dist/utils/v3-stream-events.d.ts +8 -0
  44. package/dist/utils/v3-stream-events.js +70 -0
  45. package/dist/utils/v3-workspace-service.d.ts +1 -0
  46. package/dist/utils/v3-workspace-service.js +38 -1
  47. package/dist/utils/vigflow-client.d.ts +9 -0
  48. package/dist/utils/vigflow-client.js +48 -2
  49. package/dist/utils/workspace-reference.d.ts +8 -0
  50. package/dist/utils/workspace-reference.js +21 -0
  51. package/package.json +4 -6
  52. package/scripts/release/LOCAL_MACHINE_USER_VERIFICATION.md +2 -2
  53. package/scripts/release/validate-live-service-gates.sh +3 -3
  54. package/scripts/release/validate-no-go-gates.sh +2 -0
@@ -10,7 +10,7 @@ Use this checklist on real user machines before and after rollout. The goal is t
10
10
  - [ ] Network access to:
11
11
  - `https://coder.vigthoria.io`
12
12
  - `https://api.vigthoria.io`
13
- - [ ] If running browser runtime proofs: Chrome available for Puppeteer
13
+ - [ ] If running browser runtime proofs: Microsoft Edge, Chrome, or Chromium is installed in a standard OS location
14
14
 
15
15
  Commands:
16
16
 
@@ -131,7 +131,7 @@ These are external dependencies, not CLI code regressions:
131
131
  - Live repo/game/platform E2E requires:
132
132
  - `VIGTHORIA_COMMUNITY_EMAIL`
133
133
  - `VIGTHORIA_COMMUNITY_PASSWORD`
134
- - Browser proof requires Chrome installed for Puppeteer runtime
134
+ - Browser proof requires Microsoft Edge, Chrome, or Chromium in a standard OS installation location; the CLI never downloads a browser
135
135
 
136
136
  ## 9. Rollback Readiness
137
137
 
@@ -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', 'vigthoria-creative-9b-v4', 'vigthoria-creative-9b-v4:latest', 'vigthoria-fast-9b', 'vigthoria-fast-9b:latest'].some((model) => ids.has(model));
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