@tiangong-ai/cli 0.0.33 → 0.0.34

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.
@@ -337,6 +337,27 @@ export interface ContextInspection {
337
337
  code: string;
338
338
  message: string;
339
339
  }>;
340
+ setup?: {
341
+ status: "pending" | "applying" | "partially-ready" | "ready" | "blocked";
342
+ currentStep: string | null;
343
+ blocker: {
344
+ code: string;
345
+ step: string;
346
+ reason: string;
347
+ minimumAction: string;
348
+ retryCommand: string;
349
+ diagnostics?: Record<string, unknown>;
350
+ } | null;
351
+ runtime: {
352
+ packageName: "@tiangong-ai/cli";
353
+ packageVersion: string;
354
+ source: "runtime-lock" | "setup-plan";
355
+ };
356
+ next: {
357
+ action: "apply" | "retry" | "doctor" | "inspect";
358
+ retryCommand: string;
359
+ } | null;
360
+ };
340
361
  }
341
362
  export interface DoctorCheck {
342
363
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiangong-ai/cli",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "description": "Tiangong AI command-line interface.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,8 +30,10 @@
30
30
  "typecheck": "tsc --noEmit",
31
31
  "test": "npm run build && node --import tsx --test test/*.test.ts",
32
32
  "test:coverage": "npm run build && node ./scripts/run-test-coverage.cjs",
33
+ "test:container": "node ./scripts/assert-clean-container.mjs && npm run lint && npm run test:coverage",
34
+ "test:clean": "sh ./scripts/test-clean-container.sh",
33
35
  "audit:research-setup-pins": "npm run build && node ./scripts/audit-research-setup-pins.mjs",
34
- "prepush:gate": "npm run lint && npm run test:coverage && docpact validate-config --root . --strict && docpact lint --root . --worktree --mode enforce",
36
+ "prepush:gate": "npm run test:clean && docpact validate-config --root . --strict && docpact lint --root . --worktree --mode enforce",
35
37
  "lint": "npm run lint:format && npm run lint:coverage-guards",
36
38
  "lint:format": "prettier --check \"{src,test,bin,scripts}/**/*.{ts,js,cjs,mjs}\" \"*.{md,json}\" \"docs/**/*.md\" \".docpact/**/*.yaml\" \".github/**/*.yml\"",
37
39
  "lint:coverage-guards": "node ./scripts/assert-no-coverage-ignore.cjs",