@indigoai-us/hq-cli 5.345.117 → 5.345.119

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 (40) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/assets/scaffold/core/scripts/pipeline-conductor.sh +2671 -0
  3. package/assets/scaffold/core/scripts/pipeline-driver.sh +820 -0
  4. package/assets/scaffold/core/scripts/pipeline-envelope.sh +211 -0
  5. package/dist/command-catalog.generated.d.ts +34 -0
  6. package/dist/command-catalog.generated.js +40 -0
  7. package/dist/commands/core-checkpoint-native.d.ts +17 -3
  8. package/dist/commands/core-checkpoint-native.js +48 -8
  9. package/dist/commands/core-derive-trigger-facts-native.js +15 -7
  10. package/dist/commands/core-migrate-policy-triggers-native.js +3 -1
  11. package/dist/commands/core-pipeline-conductor-command.d.ts +5 -0
  12. package/dist/commands/core-pipeline-conductor-command.js +138 -0
  13. package/dist/commands/core-pipeline-conductor-native.d.ts +7 -0
  14. package/dist/commands/core-pipeline-conductor-native.js +2950 -0
  15. package/dist/commands/core-pipeline-driver-native.d.ts +24 -0
  16. package/dist/commands/core-pipeline-driver-native.js +843 -0
  17. package/dist/commands/core-pipeline-driver-process.d.ts +4 -0
  18. package/dist/commands/core-pipeline-driver-process.js +68 -0
  19. package/dist/commands/core-pipeline-envelope-native.d.ts +4 -0
  20. package/dist/commands/core-pipeline-envelope-native.js +87 -0
  21. package/dist/commands/core-policy.js +3 -0
  22. package/dist/commands/core-worker-lint-native.d.ts +0 -1
  23. package/dist/commands/core-worker-lint-native.js +0 -1
  24. package/dist/commands/core-worker-share-native.js +2 -2
  25. package/dist/commands/core-worker-skills-command.d.ts +1 -1
  26. package/dist/commands/core-worker-skills-command.js +3 -20
  27. package/dist/commands/core.d.ts +5 -1
  28. package/dist/commands/core.js +8 -9
  29. package/dist/commands/integrations-core.d.ts +7 -1
  30. package/dist/commands/integrations-core.js +17 -4
  31. package/dist/commands/integrations.js +91 -22
  32. package/dist/commands/storage-gate.d.ts +4 -3
  33. package/dist/commands/storage-gate.js +4 -3
  34. package/dist/fast-scaffold.js +0 -2
  35. package/dist/lib/storage-feature-flag.d.ts +7 -7
  36. package/package.json +1 -1
  37. package/assets/scaffold/core/scripts/lint-shared-worker-skills.sh +0 -197
  38. package/assets/scaffold/core/scripts/share-worker-skill.sh +0 -178
  39. package/dist/commands/core-native-worker-skills-flag.d.ts +0 -4
  40. package/dist/commands/core-native-worker-skills-flag.js +0 -7
@@ -0,0 +1,24 @@
1
+ import { spawnSync } from "node:child_process";
2
+ export declare function scanDriverState(stateDir: string, maxFails: number, hqBin: string, run?: typeof spawnSync): string;
3
+ export declare function checkDriverStall(stateDir: string, stallWindow: number, hqBin: string, run?: typeof spawnSync): string;
4
+ export declare function acquirePipelineDriverLock(driverDir: string, pid: number): {
5
+ acquired: boolean;
6
+ stalePid?: string;
7
+ };
8
+ export declare function releasePipelineDriverLock(driverDir: string): void;
9
+ export declare function pipelineDriverChildEnvironment(base: NodeJS.ProcessEnv, hqRoot?: string): NodeJS.ProcessEnv;
10
+ export declare function failcapExplanation(story: string, phase: string, attempts: string, maxFails: number, earlyExit: boolean, reason: string, decision: string): string;
11
+ export declare function stalledLaneContext(state: string, worker: string): {
12
+ lane: string;
13
+ company: string;
14
+ };
15
+ export declare function pendingLaneQuestion(text: string, lane: string): string;
16
+ export declare function sleep(ms: number, signal?: AbortSignal): Promise<void>;
17
+ export declare function stopDriverLanes(state: string, hq: string, logFile: string, options?: {
18
+ timeoutMs?: number;
19
+ pollMs?: number;
20
+ query?: () => any[];
21
+ stop?: (lane: string) => void;
22
+ }): Promise<boolean>;
23
+ export declare function runPipelineDriverNative(args: string[], hqRoot?: string): Promise<number>;
24
+ //# sourceMappingURL=core-pipeline-driver-native.d.ts.map