@interf/compiler 0.13.0 → 0.16.0
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 +40 -0
- package/agent-skills/interf-actions/SKILL.md +51 -5
- package/agent-skills/interf-actions/references/cli.md +82 -82
- package/dist/cli/commands/agents.d.ts +2 -0
- package/dist/cli/commands/agents.js +213 -0
- package/dist/cli/commands/compile.js +10 -1
- package/dist/cli/commands/doctor.js +1 -1
- package/dist/cli/commands/login.js +1 -1
- package/dist/cli/commands/logout.js +1 -1
- package/dist/cli/commands/mcp.d.ts +42 -0
- package/dist/cli/commands/mcp.js +239 -0
- package/dist/cli/commands/method.js +1 -1
- package/dist/cli/commands/prep.js +23 -5
- package/dist/cli/commands/reset.js +1 -1
- package/dist/cli/commands/runs.js +1 -1
- package/dist/cli/commands/status.js +1 -1
- package/dist/cli/commands/verify.d.ts +8 -0
- package/dist/cli/commands/{test.js → verify.js} +24 -18
- package/dist/cli/commands/web.js +71 -18
- package/dist/cli/commands/wizard.js +373 -126
- package/dist/cli/index.d.ts +4 -2
- package/dist/cli/index.js +7 -3
- package/dist/compiler-ui/404.html +1 -1
- package/dist/compiler-ui/__next.__PAGE__.txt +2 -2
- package/dist/compiler-ui/__next._full.txt +3 -3
- package/dist/compiler-ui/__next._head.txt +1 -1
- package/dist/compiler-ui/__next._index.txt +2 -2
- package/dist/compiler-ui/__next._tree.txt +2 -2
- package/dist/compiler-ui/_next/static/chunks/{17t-lulmyawg5.js → 0jipmpez3_ehh.js} +16 -16
- package/dist/compiler-ui/_next/static/chunks/{045gole2ojo3g.css → 13awzu4tooflw.css} +1 -1
- package/dist/compiler-ui/_not-found/__next._full.txt +2 -2
- package/dist/compiler-ui/_not-found/__next._head.txt +1 -1
- package/dist/compiler-ui/_not-found/__next._index.txt +2 -2
- package/dist/compiler-ui/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/dist/compiler-ui/_not-found/__next._not-found.txt +1 -1
- package/dist/compiler-ui/_not-found/__next._tree.txt +2 -2
- package/dist/compiler-ui/_not-found.html +1 -1
- package/dist/compiler-ui/_not-found.txt +2 -2
- package/dist/compiler-ui/index.html +1 -1
- package/dist/compiler-ui/index.txt +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/packages/contracts/index.d.ts +2 -1
- package/dist/packages/contracts/index.js +1 -0
- package/dist/packages/contracts/lib/schema.d.ts +102 -8
- package/dist/packages/contracts/lib/schema.js +102 -2
- package/dist/packages/{local-service → engine}/action-definitions.js +8 -1
- package/dist/packages/{local-service → engine}/action-planner.d.ts +1 -1
- package/dist/packages/{local-service → engine}/action-planner.js +1 -1
- package/dist/packages/{agents → engine/agents}/index.d.ts +3 -0
- package/dist/packages/{agents → engine/agents}/index.js +3 -0
- package/dist/packages/{agents → engine/agents}/lib/compiled-bootstrap.js +2 -2
- package/dist/packages/engine/agents/lib/detection.d.ts +13 -0
- package/dist/packages/{agents → engine/agents}/lib/detection.js +11 -0
- package/dist/packages/{agents → engine/agents}/lib/executors.d.ts +2 -2
- package/dist/packages/{agents → engine/agents}/lib/shells.d.ts +4 -4
- package/dist/packages/{agents → engine/agents}/lib/shells.js +8 -8
- package/dist/packages/{agents → engine/agents}/lib/user-config.js +2 -2
- package/dist/packages/engine/agents/registry.d.ts +91 -0
- package/dist/packages/engine/agents/registry.js +321 -0
- package/dist/packages/engine/agents/role-executors.d.ts +35 -0
- package/dist/packages/engine/agents/role-executors.js +88 -0
- package/dist/packages/engine/agents/role-router.d.ts +66 -0
- package/dist/packages/engine/agents/role-router.js +73 -0
- package/dist/packages/{local-service → engine}/client.d.ts +9 -9
- package/dist/packages/{local-service → engine}/client.js +11 -11
- package/dist/packages/{compiler → engine/compile}/artifact-counts.js +1 -1
- package/dist/packages/{compiler → engine/compile}/compiled-pipeline.d.ts +12 -1
- package/dist/packages/{compiler → engine/compile}/compiled-pipeline.js +16 -6
- package/dist/packages/{compiler → engine/compile}/compiled-schema.d.ts +2 -2
- package/dist/packages/{compiler → engine/compile}/compiled-schema.js +4 -4
- package/dist/packages/{compiler → engine/compile}/compiled-stage-plan.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/compiled-stage-plan.js +4 -4
- package/dist/packages/{compiler → engine/compile}/compiled-stage-runner.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/compiled-stage-runner.js +3 -3
- package/dist/packages/{compiler → engine/compile}/compiled-target.d.ts +2 -2
- package/dist/packages/{compiler → engine/compile}/compiled-target.js +2 -2
- package/dist/packages/{compiler → engine/compile}/discovery.js +1 -1
- package/dist/packages/{compiler → engine/compile}/lib/schema.d.ts +4 -4
- package/dist/packages/{compiler → engine/compile}/lib/schema.js +2 -2
- package/dist/packages/{compiler → engine/compile}/method-runs.d.ts +3 -3
- package/dist/packages/{compiler → engine/compile}/method-runs.js +3 -3
- package/dist/packages/{compiler → engine/compile}/runtime-acceptance.js +17 -14
- package/dist/packages/{compiler → engine/compile}/runtime-reconcile.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/runtime-reconcile.js +12 -10
- package/dist/packages/{compiler → engine/compile}/runtime-runs.d.ts +1 -2
- package/dist/packages/{compiler → engine/compile}/runtime-runs.js +3 -43
- package/dist/packages/{compiler → engine/compile}/runtime-types.d.ts +1 -5
- package/dist/packages/{compiler → engine/compile}/runtime.d.ts +2 -2
- package/dist/packages/{compiler → engine/compile}/runtime.js +1 -1
- package/dist/packages/{compiler → engine/compile}/source-files.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/source-files.js +3 -3
- package/dist/packages/{compiler → engine/compile}/state-health.js +2 -2
- package/dist/packages/{compiler → engine/compile}/state-io.js +2 -2
- package/dist/packages/{compiler → engine/compile}/state-view.js +2 -2
- package/dist/packages/{compiler → engine/compile}/validate-compiled.js +2 -2
- package/dist/packages/{compiler → engine/compile}/validate.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/validate.js +3 -3
- package/dist/packages/{execution → engine/execution}/lib/schema.d.ts +2 -22
- package/dist/packages/{execution → engine/execution}/lib/schema.js +2 -2
- package/dist/packages/{local-service → engine}/index.d.ts +4 -4
- package/dist/packages/{local-service → engine}/index.js +2 -2
- package/dist/packages/{local-service → engine}/lib/schema.d.ts +85 -209
- package/dist/packages/{local-service → engine}/lib/schema.js +58 -54
- package/dist/packages/{local-service → engine}/native-run-handlers.d.ts +7 -5
- package/dist/packages/{local-service → engine}/native-run-handlers.js +69 -25
- package/dist/packages/{local-service → engine}/preparation-store.d.ts +16 -4
- package/dist/packages/{local-service → engine}/preparation-store.js +48 -25
- package/dist/packages/{local-service → engine}/readiness-check-draft.d.ts +2 -2
- package/dist/packages/{local-service → engine}/routes.d.ts +30 -1
- package/dist/packages/{local-service → engine}/routes.js +32 -1
- package/dist/packages/{local-service → engine}/run-observability.d.ts +3 -3
- package/dist/packages/{local-service → engine}/run-observability.js +14 -13
- package/dist/packages/{local-service → engine}/runtime-event-applier.d.ts +1 -1
- package/dist/packages/{local-service → engine}/runtime-persistence.d.ts +6 -6
- package/dist/packages/{local-service → engine}/runtime-persistence.js +9 -9
- package/dist/packages/{local-service → engine}/runtime-proposal-helpers.d.ts +1 -1
- package/dist/packages/{local-service → engine}/runtime-proposal-helpers.js +5 -5
- package/dist/packages/{local-service → engine}/runtime-resource-builders.d.ts +6 -6
- package/dist/packages/{local-service → engine}/runtime-resource-builders.js +1 -1
- package/dist/packages/{local-service → engine}/runtime.d.ts +80 -49
- package/dist/packages/{local-service → engine}/runtime.js +177 -179
- package/dist/packages/{local-service → engine}/server.js +276 -14
- package/dist/packages/{testing → engine/verify}/lib/schema.d.ts +1 -1
- package/dist/packages/{testing → engine/verify}/lib/schema.js +1 -1
- package/dist/packages/{testing → engine/verify}/readiness-check-run.d.ts +6 -13
- package/dist/packages/{testing → engine/verify}/readiness-check-run.js +25 -81
- package/dist/packages/{testing → engine/verify}/test-paths.js +2 -2
- package/dist/packages/{testing → engine/verify}/test-sandbox.js +6 -6
- package/dist/packages/{testing → engine/verify}/test-specs.js +1 -1
- package/dist/packages/{testing → engine/verify}/test-targets.js +3 -3
- package/dist/packages/{method-authoring → methods/authoring}/method-authoring.d.ts +11 -3
- package/dist/packages/{method-authoring → methods/authoring}/method-authoring.js +68 -5
- package/dist/packages/{method-authoring → methods/authoring}/method-edit-session.d.ts +2 -2
- package/dist/packages/{method-authoring → methods/authoring}/method-improvement.d.ts +4 -4
- package/dist/packages/{method-authoring → methods/authoring}/method-improvement.js +15 -9
- package/dist/packages/{method-package → methods/package}/builtin-compiled-method.d.ts +1 -1
- package/dist/packages/{method-package → methods/package}/builtin-compiled-method.js +2 -2
- package/dist/packages/{method-package → methods/package}/context-interface.d.ts +1 -1
- package/dist/packages/{method-package → methods/package}/context-interface.js +3 -3
- package/dist/packages/{method-package → methods/package}/interf-method-package.js +3 -2
- package/dist/packages/{method-package → methods/package}/lib/package-root.js +2 -2
- package/dist/packages/{method-package → methods/package}/local-methods.d.ts +8 -2
- package/dist/packages/{method-package → methods/package}/local-methods.js +8 -7
- package/dist/packages/{method-package → methods/package}/method-definitions.d.ts +8 -2
- package/dist/packages/{method-package → methods/package}/method-definitions.js +5 -4
- package/dist/packages/{method-package → methods/package}/method-helpers.d.ts +1 -1
- package/dist/packages/{method-package → methods/package}/method-helpers.js +4 -4
- package/dist/packages/{method-package → methods/package}/method-review-paths.d.ts +1 -1
- package/dist/packages/{method-package → methods/package}/method-review-paths.js +1 -1
- package/dist/packages/{method-package → methods/package}/method-stage-runner.d.ts +4 -9
- package/dist/packages/{method-package → methods/package}/method-stage-runner.js +1 -29
- package/dist/packages/{method-package → methods/package}/user-methods.js +2 -2
- package/dist/packages/{project-model → project}/interf-bootstrap.d.ts +1 -1
- package/dist/packages/{project-model → project}/interf-bootstrap.js +1 -1
- package/dist/packages/{project-model → project}/interf-detect.js +4 -4
- package/dist/packages/{project-model → project}/interf-scaffold.js +7 -7
- package/dist/packages/{project-model → project}/lib/schema.d.ts +2 -2
- package/dist/packages/{project-model → project}/lib/schema.js +1 -1
- package/dist/packages/{project-model → project}/source-config.d.ts +1 -1
- package/dist/packages/{project-model → project}/source-config.js +7 -7
- package/dist/packages/{project-model → project}/source-folders.js +2 -2
- package/package.json +6 -5
- package/dist/cli/commands/test.d.ts +0 -9
- package/dist/packages/agents/lib/detection.d.ts +0 -7
- /package/dist/compiler-ui/_next/static/{C6vVfy3aeYuIO3d2AoNvC → a3UiUF0DiMEbfWy_0gihg}/_buildManifest.js +0 -0
- /package/dist/compiler-ui/_next/static/{C6vVfy3aeYuIO3d2AoNvC → a3UiUF0DiMEbfWy_0gihg}/_clientMiddlewareManifest.js +0 -0
- /package/dist/compiler-ui/_next/static/{C6vVfy3aeYuIO3d2AoNvC → a3UiUF0DiMEbfWy_0gihg}/_ssgManifest.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/file-types.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/file-types.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/filesystem.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/filesystem.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/logger.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/logger.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/naming.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/naming.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/parse.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/parse.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/path-guards.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/path-guards.js +0 -0
- /package/dist/packages/{local-service → engine}/action-definitions.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/action-values.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/action-values.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/agents.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/agents.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/args.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/args.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/chart-guidance.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/chart-guidance.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/compiled-bootstrap.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/constants.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/constants.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution-profile.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution-profile.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/executors.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/logs.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/logs.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/preflight.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/preflight.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/render.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/render.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/schema.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/schema.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/status.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/status.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/types.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/types.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/user-config.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/artifact-counts.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/compiled-compile.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/compiled-compile.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/compiled-paths.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/compiled-paths.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/discovery.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/index.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/index.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/method-primitives.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/method-primitives.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/reset.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/reset.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-acceptance.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-contracts.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-contracts.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-inventory.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-inventory.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-paths.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-paths.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-prompt.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-prompt.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-types.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-artifacts.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-artifacts.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-health.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-io.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-paths.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-paths.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-view.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/validate-compiled.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/validate-helpers.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/validate-helpers.js +0 -0
- /package/dist/packages/{local-service → engine}/connection-config.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/connection-config.js +0 -0
- /package/dist/packages/{execution → engine/execution}/adapters.d.ts +0 -0
- /package/dist/packages/{execution → engine/execution}/adapters.js +0 -0
- /package/dist/packages/{execution → engine/execution}/events.d.ts +0 -0
- /package/dist/packages/{execution → engine/execution}/events.js +0 -0
- /package/dist/packages/{execution → engine/execution}/index.d.ts +0 -0
- /package/dist/packages/{execution → engine/execution}/index.js +0 -0
- /package/dist/packages/{local-service → engine}/instance-paths.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/instance-paths.js +0 -0
- /package/dist/packages/{local-service → engine}/readiness-check-draft.js +0 -0
- /package/dist/packages/{local-service → engine}/runtime-caches.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/runtime-caches.js +0 -0
- /package/dist/packages/{local-service → engine}/runtime-event-applier.js +0 -0
- /package/dist/packages/{local-service → engine}/server.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/service-registry.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/service-registry.js +0 -0
- /package/dist/packages/{testing → engine/verify}/index.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/index.js +0 -0
- /package/dist/packages/{testing → engine/verify}/test-execution.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/test-execution.js +0 -0
- /package/dist/packages/{testing → engine/verify}/test-paths.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/test-profile-presets.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/test-profile-presets.js +0 -0
- /package/dist/packages/{testing → engine/verify}/test-sandbox.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/test-specs.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/test-targets.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/test-types.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/test-types.js +0 -0
- /package/dist/packages/{testing → engine/verify}/test.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/test.js +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/index.d.ts +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/index.js +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/lib/method-edit-utils.d.ts +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/lib/method-edit-utils.js +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/method-edit-session.js +0 -0
- /package/dist/packages/{method-package → methods/package}/interf-method-package.d.ts +0 -0
- /package/dist/packages/{method-package → methods/package}/lib/package-root.d.ts +0 -0
- /package/dist/packages/{method-package → methods/package}/user-methods.d.ts +0 -0
- /package/dist/packages/{project-model → project}/index.d.ts +0 -0
- /package/dist/packages/{project-model → project}/index.js +0 -0
- /package/dist/packages/{project-model → project}/interf-detect.d.ts +0 -0
- /package/dist/packages/{project-model → project}/interf-scaffold.d.ts +0 -0
- /package/dist/packages/{project-model → project}/interf.d.ts +0 -0
- /package/dist/packages/{project-model → project}/interf.js +0 -0
- /package/dist/packages/{project-model → project}/preparation-entries.d.ts +0 -0
- /package/dist/packages/{project-model → project}/preparation-entries.js +0 -0
- /package/dist/packages/{project-model → project}/source-folders.d.ts +0 -0
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { type RuntimeRun, type RuntimeStageContract } from "./lib/schema.js";
|
|
2
|
-
import { type RuntimeRunPatch, type RuntimeStageExecutionOptions
|
|
2
|
+
import { type RuntimeRunPatch, type RuntimeStageExecutionOptions } from "./runtime-types.js";
|
|
3
3
|
export declare function loadRuntimeRun(dirPath: string): RuntimeRun | null;
|
|
4
4
|
export declare function saveRuntimeRun(dirPath: string, run: RuntimeRun): void;
|
|
5
5
|
export declare function writeStageContract(dirPath: string, contract: RuntimeStageContract): string;
|
|
6
6
|
export declare function runExecutorStage(options: RuntimeStageExecutionOptions): Promise<number>;
|
|
7
|
-
export declare function runExecutorSummarizeStage(options: RuntimeSummarizeExecutionOptions): Promise<number>;
|
|
8
7
|
export declare function beginRuntimeRun(dirPath: string, run: RuntimeRun): RuntimeRun;
|
|
9
8
|
export declare function updateRuntimeRun(dirPath: string, patch: RuntimeRunPatch): RuntimeRun | null;
|
|
10
9
|
export declare function markRuntimeRunFailedAfterValidation(dirPath: string, summary: string): RuntimeRun | null;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { appendFileSync, mkdirSync, existsSync, readFileSync, writeFileSync, } from "node:fs";
|
|
2
|
-
import { dirname,
|
|
3
|
-
import chalk from "chalk";
|
|
4
|
-
import { countFilesRecursive } from "../shared/filesystem.js";
|
|
2
|
+
import { dirname, relative } from "node:path";
|
|
5
3
|
import { buildRuntimeExecutorInfo } from "../agents/lib/executors.js";
|
|
6
4
|
import { RuntimeRunSchema, } from "./lib/schema.js";
|
|
7
|
-
import { getMethodStageDefinition, getMethodStagePosition, getMethodStages, } from "
|
|
5
|
+
import { getMethodStageDefinition, getMethodStagePosition, getMethodStages, } from "../../methods/package/method-definitions.js";
|
|
8
6
|
import { archivedStageContractPath, eventLogPath, logsDirPath, promptLogPath, runHistoryPath, runPath, stageContractPath, statusLogPath, } from "./runtime-paths.js";
|
|
9
|
-
import { warnInterf } from "
|
|
7
|
+
import { warnInterf } from "../../contracts/utils/logger.js";
|
|
10
8
|
export function loadRuntimeRun(dirPath) {
|
|
11
9
|
const path = runPath(dirPath);
|
|
12
10
|
if (!existsSync(path))
|
|
@@ -54,44 +52,6 @@ export async function runExecutorStage(options) {
|
|
|
54
52
|
finalizeRuntimeRun(options.compiledPath, code);
|
|
55
53
|
return code;
|
|
56
54
|
}
|
|
57
|
-
export async function runExecutorSummarizeStage(options) {
|
|
58
|
-
const startedRun = startRuntimeRun(options);
|
|
59
|
-
const prompt = options.buildPrompt(startedRun.activeContractPath);
|
|
60
|
-
let lastReported = 0;
|
|
61
|
-
writeRuntimeRunPrompt(options.compiledPath, startedRun.run.run_id, prompt);
|
|
62
|
-
const executionPath = options.executionPath ?? options.compiledPath;
|
|
63
|
-
const progressPromise = options.executor.execute(executionPath, prompt, {
|
|
64
|
-
eventLogPath: eventLogPath(options.compiledPath, startedRun.run.run_id),
|
|
65
|
-
statusLogPath: statusLogPath(options.compiledPath, startedRun.run.run_id),
|
|
66
|
-
completionCheck: options.completionCheck,
|
|
67
|
-
onStatus: options.onStatus,
|
|
68
|
-
});
|
|
69
|
-
const timer = setInterval(() => {
|
|
70
|
-
const currentSummaryCount = countFilesRecursive(join(options.compiledPath, "summaries"));
|
|
71
|
-
const completed = Math.max(0, Math.min(options.targetCount, currentSummaryCount - options.startingSummaryCount));
|
|
72
|
-
if (completed <= lastReported)
|
|
73
|
-
return;
|
|
74
|
-
lastReported = completed;
|
|
75
|
-
updateRuntimeRun(options.compiledPath, {
|
|
76
|
-
counts: {
|
|
77
|
-
...startedRun.run.counts,
|
|
78
|
-
completed_summaries: completed,
|
|
79
|
-
target_summaries: options.targetCount,
|
|
80
|
-
},
|
|
81
|
-
summary: `${options.stageLabel} ${completed}/${options.targetCount} source files into summaries.`,
|
|
82
|
-
});
|
|
83
|
-
console.log(chalk.dim(` STATUS: wrote ${completed}/${options.targetCount} summaries`));
|
|
84
|
-
options.onStatus?.(`STATUS: wrote ${completed}/${options.targetCount} summaries`);
|
|
85
|
-
}, 10000);
|
|
86
|
-
try {
|
|
87
|
-
const code = await progressPromise;
|
|
88
|
-
finalizeRuntimeRun(options.compiledPath, code);
|
|
89
|
-
return code;
|
|
90
|
-
}
|
|
91
|
-
finally {
|
|
92
|
-
clearInterval(timer);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
55
|
export function beginRuntimeRun(dirPath, run) {
|
|
96
56
|
saveRuntimeRun(dirPath, run);
|
|
97
57
|
return run;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type MethodExecutor } from "../agents/lib/executors.js";
|
|
2
2
|
import { type RuntimeRun, type RuntimeStageAcceptance, type RuntimeStageContract, type RuntimeStageInstructions } from "./lib/schema.js";
|
|
3
|
-
import type { MethodId, RuntimeContractType, RuntimeStage } from "
|
|
3
|
+
import type { MethodId, RuntimeContractType, RuntimeStage } from "../../contracts/lib/schema.js";
|
|
4
4
|
export type RuntimeRunStatus = "running" | "succeeded" | "failed";
|
|
5
5
|
export type RuntimeStageContractDraft = Omit<RuntimeStageContract, "kind" | "version" | "generated_at" | "run_id" | "target_type" | "target_name" | "method" | "stage" | "stage_label" | "contract_type" | "executor">;
|
|
6
6
|
export interface RuntimeStageExecutionOptions {
|
|
@@ -19,10 +19,6 @@ export interface RuntimeStageExecutionOptions {
|
|
|
19
19
|
completionCheck?: (() => boolean) | null;
|
|
20
20
|
onStatus?: (line: string) => void;
|
|
21
21
|
}
|
|
22
|
-
export interface RuntimeSummarizeExecutionOptions extends RuntimeStageExecutionOptions {
|
|
23
|
-
startingSummaryCount: number;
|
|
24
|
-
targetCount: number;
|
|
25
|
-
}
|
|
26
22
|
export interface RuntimeStageAcceptanceValidation {
|
|
27
23
|
ok: boolean;
|
|
28
24
|
summary: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type { RuntimeRunPatch, RuntimeRunStatus, RuntimeStageAcceptanceValidation, RuntimeStageContractDraft, RuntimeStageExecutionOptions,
|
|
1
|
+
export type { RuntimeRunPatch, RuntimeRunStatus, RuntimeStageAcceptanceValidation, RuntimeStageContractDraft, RuntimeStageExecutionOptions, RuntimeStageContractOptions, } from "./runtime-types.js";
|
|
2
2
|
export { archivedStageContractPath, eventLogPath, logsDirPath, promptLogPath, runHistoryPath, runPath, stageContractPath, statusLogPath, } from "./runtime-paths.js";
|
|
3
3
|
export { validateStageContractAcceptance } from "./runtime-acceptance.js";
|
|
4
4
|
export { buildStagePrompt } from "./runtime-prompt.js";
|
|
5
5
|
export { buildRuntimeStageContract, } from "./runtime-contracts.js";
|
|
6
|
-
export { beginRuntimeRun, loadRuntimeRun, markRuntimeRunFailedAfterValidation, markRuntimeRunSucceededAfterValidation, runExecutorStage,
|
|
6
|
+
export { beginRuntimeRun, loadRuntimeRun, markRuntimeRunFailedAfterValidation, markRuntimeRunSucceededAfterValidation, runExecutorStage, saveRuntimeRun, updateRuntimeRun, writeStageContract, } from "./runtime-runs.js";
|
|
@@ -2,4 +2,4 @@ export { archivedStageContractPath, eventLogPath, logsDirPath, promptLogPath, ru
|
|
|
2
2
|
export { validateStageContractAcceptance } from "./runtime-acceptance.js";
|
|
3
3
|
export { buildStagePrompt } from "./runtime-prompt.js";
|
|
4
4
|
export { buildRuntimeStageContract, } from "./runtime-contracts.js";
|
|
5
|
-
export { beginRuntimeRun, loadRuntimeRun, markRuntimeRunFailedAfterValidation, markRuntimeRunSucceededAfterValidation, runExecutorStage,
|
|
5
|
+
export { beginRuntimeRun, loadRuntimeRun, markRuntimeRunFailedAfterValidation, markRuntimeRunSucceededAfterValidation, runExecutorStage, saveRuntimeRun, updateRuntimeRun, writeStageContract, } from "./runtime-runs.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type SourceFiles, type SourceSnapshot, type StageInputs } from "
|
|
1
|
+
import { type SourceFiles, type SourceSnapshot, type StageInputs } from "../../contracts/lib/schema.js";
|
|
2
2
|
export declare function buildCompiledSourceFiles(compiledPath: string, sourcePath?: string, generatedAt?: string): SourceFiles;
|
|
3
3
|
export declare function writeCompiledSourceFiles(compiledPath: string, sourcePath?: string, generatedAt?: string): SourceFiles;
|
|
4
4
|
export declare function buildCompiledSourceSnapshot(options: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createHash } from "node:crypto";
|
|
2
2
|
import { existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
3
3
|
import { dirname, resolve } from "node:path";
|
|
4
|
-
import { SourceFilesSchema, SourceSnapshotSchema, StageInputsSchema, } from "
|
|
5
|
-
import { readJsonFileWithSchema } from "
|
|
4
|
+
import { SourceFilesSchema, SourceSnapshotSchema, StageInputsSchema, } from "../../contracts/lib/schema.js";
|
|
5
|
+
import { readJsonFileWithSchema } from "../../contracts/utils/parse.js";
|
|
6
6
|
import { discoverSourceFiles } from "./discovery.js";
|
|
7
7
|
import { compiledRuntimeSourceFilesPath, compiledRuntimeSourceSnapshotPath, compiledRuntimeStageInputsPath, } from "./compiled-paths.js";
|
|
8
|
-
import { resolveSourceInputPath } from "
|
|
8
|
+
import { resolveSourceInputPath } from "../../project/interf-detect.js";
|
|
9
9
|
function shortHash(value, length = 16) {
|
|
10
10
|
return createHash("sha256")
|
|
11
11
|
.update(value)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { basename } from "node:path";
|
|
2
|
-
import { readInterfConfig, resolveSourceFolderPath, } from "
|
|
2
|
+
import { readInterfConfig, resolveSourceFolderPath, } from "../../project/interf-detect.js";
|
|
3
3
|
import { discoverSourceFiles } from "./discovery.js";
|
|
4
4
|
import { loadRuntimeRun } from "./runtime.js";
|
|
5
5
|
import { loadState } from "./state-io.js";
|
|
6
6
|
import { validateCompiled, validateCompiledStage, validateCompiledMethod, } from "./validate.js";
|
|
7
7
|
import { readCompiledSchemaFile } from "./compiled-schema.js";
|
|
8
8
|
import { methodPackagePathForCompiled } from "./compiled-paths.js";
|
|
9
|
-
import { getActiveCompiledMethod, resolveRequiredCompiledMethodFromConfig } from "
|
|
9
|
+
import { getActiveCompiledMethod, resolveRequiredCompiledMethodFromConfig } from "../../methods/package/method-definitions.js";
|
|
10
10
|
import { countCompiledZoneArtifacts } from "./artifact-counts.js";
|
|
11
11
|
export function computeCompiledHealth(dirPath) {
|
|
12
12
|
const now = new Date().toISOString();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, readFileSync, writeFileSync, } from "node:fs";
|
|
2
|
-
import { warnInterf } from "
|
|
3
|
-
import { readJsonFileUnchecked, readJsonFileWithSchema } from "
|
|
2
|
+
import { warnInterf } from "../../contracts/utils/logger.js";
|
|
3
|
+
import { readJsonFileUnchecked, readJsonFileWithSchema } from "../../contracts/utils/parse.js";
|
|
4
4
|
import { CompiledHealthSchema, CompiledStateSchema, CompiledViewSpecSchema, SourceFilesSchema, SourceSnapshotSchema, } from "./lib/schema.js";
|
|
5
5
|
import { emptyCompiledInventory, } from "./runtime-inventory.js";
|
|
6
6
|
import { healthPath, sourceFilesPath, sourceSnapshotPath, statePath, viewSpecPath, } from "./state-paths.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { basename } from "node:path";
|
|
2
|
-
import { readInterfConfig, resolveSourceFolderPath } from "
|
|
2
|
+
import { readInterfConfig, resolveSourceFolderPath } from "../../project/interf-detect.js";
|
|
3
3
|
import { loadCompiledSourceSnapshot, loadCompiledViewSpec, saveCompiledViewSpec, } from "./state-io.js";
|
|
4
4
|
import { methodPackagePathForCompiled } from "./compiled-paths.js";
|
|
5
5
|
import { readCompiledSchemaFile } from "./compiled-schema.js";
|
|
6
|
-
import { getActiveCompiledMethod, resolveRequiredCompiledMethodFromConfig } from "
|
|
6
|
+
import { getActiveCompiledMethod, resolveRequiredCompiledMethodFromConfig } from "../../methods/package/method-definitions.js";
|
|
7
7
|
import { writeCompiledSourceFiles, writeCompiledSourceSnapshot, } from "./source-files.js";
|
|
8
8
|
export function ensureCompiledViewSpec(dirPath) {
|
|
9
9
|
const existing = loadCompiledViewSpec(dirPath);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { existsSync } from "node:fs";
|
|
2
2
|
import { discoverSourceFiles } from "./discovery.js";
|
|
3
3
|
import { METHOD_SCHEMA_FILE, findCompiledSchemaZone, readCompiledSchemaFile, methodSchemaExists, } from "./compiled-schema.js";
|
|
4
|
-
import { resolveSourceFolderPath } from "
|
|
4
|
+
import { resolveSourceFolderPath } from "../../project/interf-detect.js";
|
|
5
5
|
import { compiledInterfConfigPath, methodPackagePathForCompiled } from "./compiled-paths.js";
|
|
6
6
|
import { readCompiledConfig } from "./validate.js";
|
|
7
7
|
import { loadState } from "./state.js";
|
|
8
8
|
import { validateResolvedStageAcceptance, stageRecordFromState } from "./runtime-acceptance.js";
|
|
9
|
-
import { getActiveCompiledMethod, resolveRequiredCompiledMethodFromConfig, } from "
|
|
9
|
+
import { getActiveCompiledMethod, resolveRequiredCompiledMethodFromConfig, } from "../../methods/package/method-definitions.js";
|
|
10
10
|
import { countCompiledZoneArtifacts } from "./artifact-counts.js";
|
|
11
11
|
function methodSchemaPresent(dirPath) {
|
|
12
12
|
return methodSchemaExists(methodPackagePathForCompiled(dirPath));
|
|
@@ -3,9 +3,9 @@ import { basename, dirname, extname, join, resolve } from "node:path";
|
|
|
3
3
|
import { readCompiledSchemaFile } from "./compiled-schema.js";
|
|
4
4
|
import { compiledKnowledgeRootPath } from "./compiled-schema.js";
|
|
5
5
|
import { methodPackagePathForCompiled } from "./compiled-paths.js";
|
|
6
|
-
import { listFilesRecursive } from "
|
|
7
|
-
import { readInterfConfig } from "
|
|
8
|
-
import { parseJsonFrontmatter } from "
|
|
6
|
+
import { listFilesRecursive } from "../../contracts/utils/filesystem.js";
|
|
7
|
+
import { readInterfConfig } from "../../project/interf-detect.js";
|
|
8
|
+
import { parseJsonFrontmatter } from "../../contracts/utils/parse.js";
|
|
9
9
|
import { compiledInterfConfigPath } from "./compiled-paths.js";
|
|
10
10
|
const MIN_ABSTRACT_WORDS = 5;
|
|
11
11
|
const WIKILINK_PATTERN = /!?\[\[([^[\]]+)\]\]/g;
|
|
@@ -155,7 +155,7 @@ export declare const ObservableRunTypeSchema: z.ZodEnum<{
|
|
|
155
155
|
compile: "compile";
|
|
156
156
|
"method-authoring": "method-authoring";
|
|
157
157
|
"method-improvement": "method-improvement";
|
|
158
|
-
|
|
158
|
+
verify: "verify";
|
|
159
159
|
"readiness-check-draft": "readiness-check-draft";
|
|
160
160
|
job: "job";
|
|
161
161
|
}>;
|
|
@@ -222,7 +222,7 @@ export declare const RunObservabilitySchema: z.ZodObject<{
|
|
|
222
222
|
compile: "compile";
|
|
223
223
|
"method-authoring": "method-authoring";
|
|
224
224
|
"method-improvement": "method-improvement";
|
|
225
|
-
|
|
225
|
+
verify: "verify";
|
|
226
226
|
"readiness-check-draft": "readiness-check-draft";
|
|
227
227
|
job: "job";
|
|
228
228
|
}>;
|
|
@@ -307,8 +307,6 @@ export declare const RunObservabilitySchema: z.ZodObject<{
|
|
|
307
307
|
"preparation-config": "preparation-config";
|
|
308
308
|
"compile-run": "compile-run";
|
|
309
309
|
"readiness-checks": "readiness-checks";
|
|
310
|
-
"source-baseline": "source-baseline";
|
|
311
|
-
"portable-context-check": "portable-context-check";
|
|
312
310
|
"checks-current": "checks-current";
|
|
313
311
|
}>;
|
|
314
312
|
ok: z.ZodBoolean;
|
|
@@ -356,8 +354,6 @@ export declare const RunObservabilitySchema: z.ZodObject<{
|
|
|
356
354
|
"preparation-config": "preparation-config";
|
|
357
355
|
"compile-run": "compile-run";
|
|
358
356
|
"readiness-checks": "readiness-checks";
|
|
359
|
-
"source-baseline": "source-baseline";
|
|
360
|
-
"portable-context-check": "portable-context-check";
|
|
361
357
|
"checks-current": "checks-current";
|
|
362
358
|
}>;
|
|
363
359
|
ok: z.ZodBoolean;
|
|
@@ -657,8 +653,6 @@ export declare const ReadinessUpdatedEventSchema: z.ZodObject<{
|
|
|
657
653
|
"preparation-config": "preparation-config";
|
|
658
654
|
"compile-run": "compile-run";
|
|
659
655
|
"readiness-checks": "readiness-checks";
|
|
660
|
-
"source-baseline": "source-baseline";
|
|
661
|
-
"portable-context-check": "portable-context-check";
|
|
662
656
|
"checks-current": "checks-current";
|
|
663
657
|
}>;
|
|
664
658
|
ok: z.ZodBoolean;
|
|
@@ -706,8 +700,6 @@ export declare const ReadinessUpdatedEventSchema: z.ZodObject<{
|
|
|
706
700
|
"preparation-config": "preparation-config";
|
|
707
701
|
"compile-run": "compile-run";
|
|
708
702
|
"readiness-checks": "readiness-checks";
|
|
709
|
-
"source-baseline": "source-baseline";
|
|
710
|
-
"portable-context-check": "portable-context-check";
|
|
711
703
|
"checks-current": "checks-current";
|
|
712
704
|
}>;
|
|
713
705
|
ok: z.ZodBoolean;
|
|
@@ -893,8 +885,6 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
893
885
|
"preparation-config": "preparation-config";
|
|
894
886
|
"compile-run": "compile-run";
|
|
895
887
|
"readiness-checks": "readiness-checks";
|
|
896
|
-
"source-baseline": "source-baseline";
|
|
897
|
-
"portable-context-check": "portable-context-check";
|
|
898
888
|
"checks-current": "checks-current";
|
|
899
889
|
}>;
|
|
900
890
|
ok: z.ZodBoolean;
|
|
@@ -942,8 +932,6 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
942
932
|
"preparation-config": "preparation-config";
|
|
943
933
|
"compile-run": "compile-run";
|
|
944
934
|
"readiness-checks": "readiness-checks";
|
|
945
|
-
"source-baseline": "source-baseline";
|
|
946
|
-
"portable-context-check": "portable-context-check";
|
|
947
935
|
"checks-current": "checks-current";
|
|
948
936
|
}>;
|
|
949
937
|
ok: z.ZodBoolean;
|
|
@@ -1321,8 +1309,6 @@ export declare const CompileRunSchema: z.ZodObject<{
|
|
|
1321
1309
|
"preparation-config": "preparation-config";
|
|
1322
1310
|
"compile-run": "compile-run";
|
|
1323
1311
|
"readiness-checks": "readiness-checks";
|
|
1324
|
-
"source-baseline": "source-baseline";
|
|
1325
|
-
"portable-context-check": "portable-context-check";
|
|
1326
1312
|
"checks-current": "checks-current";
|
|
1327
1313
|
}>;
|
|
1328
1314
|
ok: z.ZodBoolean;
|
|
@@ -1370,8 +1356,6 @@ export declare const CompileRunSchema: z.ZodObject<{
|
|
|
1370
1356
|
"preparation-config": "preparation-config";
|
|
1371
1357
|
"compile-run": "compile-run";
|
|
1372
1358
|
"readiness-checks": "readiness-checks";
|
|
1373
|
-
"source-baseline": "source-baseline";
|
|
1374
|
-
"portable-context-check": "portable-context-check";
|
|
1375
1359
|
"checks-current": "checks-current";
|
|
1376
1360
|
}>;
|
|
1377
1361
|
ok: z.ZodBoolean;
|
|
@@ -1447,8 +1431,6 @@ export declare const CompileRunSchema: z.ZodObject<{
|
|
|
1447
1431
|
"preparation-config": "preparation-config";
|
|
1448
1432
|
"compile-run": "compile-run";
|
|
1449
1433
|
"readiness-checks": "readiness-checks";
|
|
1450
|
-
"source-baseline": "source-baseline";
|
|
1451
|
-
"portable-context-check": "portable-context-check";
|
|
1452
1434
|
"checks-current": "checks-current";
|
|
1453
1435
|
}>;
|
|
1454
1436
|
ok: z.ZodBoolean;
|
|
@@ -1496,8 +1478,6 @@ export declare const CompileRunSchema: z.ZodObject<{
|
|
|
1496
1478
|
"preparation-config": "preparation-config";
|
|
1497
1479
|
"compile-run": "compile-run";
|
|
1498
1480
|
"readiness-checks": "readiness-checks";
|
|
1499
|
-
"source-baseline": "source-baseline";
|
|
1500
|
-
"portable-context-check": "portable-context-check";
|
|
1501
1481
|
"checks-current": "checks-current";
|
|
1502
1482
|
}>;
|
|
1503
1483
|
ok: z.ZodBoolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { RuntimeExecutorInfoSchema, RuntimeStageSchema, MethodIdSchema, ReadinessStateSchema, PreparationNameSchema, } from "
|
|
2
|
+
import { RuntimeExecutorInfoSchema, RuntimeStageSchema, MethodIdSchema, ReadinessStateSchema, PreparationNameSchema, } from "../../../contracts/lib/schema.js";
|
|
3
3
|
const RunIdSchema = z.string().min(1);
|
|
4
4
|
const JsonObjectSchema = z.record(z.string(), z.unknown());
|
|
5
5
|
export const MethodTraceRunStatusSchema = z.enum([
|
|
@@ -72,7 +72,7 @@ export const MethodTraceSchema = z.object({
|
|
|
72
72
|
}).strict();
|
|
73
73
|
export const ObservableRunTypeSchema = z.enum([
|
|
74
74
|
"compile",
|
|
75
|
-
"
|
|
75
|
+
"verify",
|
|
76
76
|
"readiness-check-draft",
|
|
77
77
|
"method-authoring",
|
|
78
78
|
"method-improvement",
|
|
@@ -5,16 +5,16 @@ export * as routes from "./routes.js";
|
|
|
5
5
|
export * as client from "./client.js";
|
|
6
6
|
export * as runtime from "./runtime.js";
|
|
7
7
|
export * as server from "./server.js";
|
|
8
|
-
export type { CompileRunCreateRequest, CompileRunResource, CompileRunSummary, LocalServiceDiscovery, PortableContextMapping, PreparationRunLinkage, PreparationResource, MethodResource, LocalJobAgent, LocalJobEvent, LocalJobEventAppendRequest, LocalJobEventType, LocalJobRunCreateRequest, LocalJobRunResource, LocalJobStatus, LocalRunHandlerResult, LocalJobStep, LocalJobType, LocalServiceConfig, LocalServiceError, LocalServiceHealth, LocalExecutorStatus, ActionClientOrigin, ActionProposalApproval, ActionProposalApprovalRequest, ActionProposalCreateRequest, ActionProposalListResponse, ActionProposalPlan, ActionProposalPlanActionType, ActionProposalResource, ActionProposalStatus, ActionProposalType, MethodChangeResult, PreparationChangeResult, PreparationSetupResult, ResetRequest, ResetResult, PortableContextResource, ReadinessResource, SourceFileResource, ReadinessCheckDraftCreateRequest, ReadinessCheckDraftResult,
|
|
9
|
-
export { CompileRunCreateRequestSchema, CompileRunResourceSchema, CompileRunSummarySchema, LocalServiceDiscoverySchema, PortableContextMappingSchema, PreparationRunLinkageSchema, PreparationResourceSchema, MethodResourceSchema, LocalJobAgentSchema, LocalJobEventAppendRequestSchema, LocalJobEventSchema, LocalJobEventTypeSchema, LocalJobRunCreateRequestSchema, LocalJobRunResourceSchema, LocalJobStatusSchema, LocalRunHandlerResultSchema, LocalJobStepSchema, LocalJobTypeSchema, LocalServiceConfigSchema, LocalServiceErrorSchema, LocalServiceHealthSchema, PortableContextResourceSchema, ReadinessResourceSchema, SourceFileResourceSchema, ReadinessCheckDraftCreateRequestSchema, ReadinessCheckDraftResultSchema,
|
|
8
|
+
export type { CompileRunCreateRequest, CompileRunResource, CompileRunSummary, LocalServiceDiscovery, PortableContextMapping, PreparationRunLinkage, PreparationResource, MethodResource, LocalJobAgent, LocalJobEvent, LocalJobEventAppendRequest, LocalJobEventType, LocalJobRunCreateRequest, LocalJobRunResource, LocalJobStatus, LocalRunHandlerResult, LocalJobStep, LocalJobType, LocalServiceConfig, LocalServiceError, LocalServiceHealth, LocalExecutorStatus, ActionClientOrigin, ActionProposalApproval, ActionProposalApprovalRequest, ActionProposalCreateRequest, ActionProposalListResponse, ActionProposalPlan, ActionProposalPlanActionType, ActionProposalResource, ActionProposalStatus, ActionProposalType, MethodChangeResult, PreparationChangeResult, PreparationSetupResult, ResetRequest, ResetResult, PortableContextResource, ReadinessResource, SourceFileResource, ReadinessCheckDraftCreateRequest, ReadinessCheckDraftResult, VerifyRunCreateRequest, VerifyRunResource, VerifyRunStatus, RunObservabilityListResponse, RunObservabilityResource, MethodAuthoringCreateRequest, MethodAuthoringResult, PreparationListResponse, MethodListResponse, PortableContextListResponse, SourceFileListResponse, OpenPathRequest, OpenPathResponse, WorkspaceFileResource, } from "./lib/schema.js";
|
|
9
|
+
export { CompileRunCreateRequestSchema, CompileRunResourceSchema, CompileRunSummarySchema, LocalServiceDiscoverySchema, PortableContextMappingSchema, PreparationRunLinkageSchema, PreparationResourceSchema, MethodResourceSchema, LocalJobAgentSchema, LocalJobEventAppendRequestSchema, LocalJobEventSchema, LocalJobEventTypeSchema, LocalJobRunCreateRequestSchema, LocalJobRunResourceSchema, LocalJobStatusSchema, LocalRunHandlerResultSchema, LocalJobStepSchema, LocalJobTypeSchema, LocalServiceConfigSchema, LocalServiceErrorSchema, LocalServiceHealthSchema, PortableContextResourceSchema, ReadinessResourceSchema, SourceFileResourceSchema, ReadinessCheckDraftCreateRequestSchema, ReadinessCheckDraftResultSchema, VerifyRunCreateRequestSchema, VerifyRunResourceSchema, VerifyRunStatusSchema, RunObservabilityResourceSchema, RunObservabilityListResponseSchema, LocalExecutorStatusSchema, ActionClientOriginSchema, ActionProposalApprovalRequestSchema, ActionProposalApprovalSchema, ActionProposalCreateRequestSchema, ActionProposalListResponseSchema, ActionProposalPlanSchema, ActionProposalPlanActionTypeSchema, ActionProposalResourceSchema, ActionProposalStatusSchema, ActionProposalTypeSchema, ResetRequestSchema, ResetResultSchema, MethodAuthoringCreateRequestSchema, MethodAuthoringResultSchema, PreparationListResponseSchema, MethodListResponseSchema, PortableContextListResponseSchema, SourceFileListResponseSchema, OpenPathRequestSchema, OpenPathResponseSchema, } from "./lib/schema.js";
|
|
10
10
|
export { LOCAL_SERVICE_DEFAULT_HOST, LOCAL_SERVICE_DEFAULT_PORT, LOCAL_SERVICE_ROUTES, buildLocalServiceUrl, } from "./routes.js";
|
|
11
11
|
export type { ServiceRegistry, ServiceRegistryEntry, ServiceRegistryWorkspace, } from "./lib/schema.js";
|
|
12
12
|
export { ServiceRegistrySchema, ServiceRegistryEntrySchema, ServiceRegistryWorkspaceSchema, } from "./lib/schema.js";
|
|
13
13
|
export { readServiceRegistry, registerServiceLocally, unregisterService, writeServiceRegistry, serviceRegistryPath, } from "./service-registry.js";
|
|
14
14
|
export type { LocalServiceJobSubmission, LocalServiceJobSubmitted, LocalServiceConnection, } from "./client.js";
|
|
15
15
|
export type { LocalCompileRunCancelResult, } from "./client.js";
|
|
16
|
-
export { approveActionProposalInLocalService, cancelLocalCompileRun, configuredLocalServiceUrl, resolveLocalServiceAuthToken, createActionProposalInLocalService, decideActionProposalInLocalService, findLocalService, getLocalJobRun, getLocalCompileRun, getLocalServiceHealth,
|
|
17
|
-
export type { LocalServiceActionPlanningContext, LocalServiceCompileRunContext, LocalServiceJobRunContext, LocalServiceRunHandlers, LocalServiceRuntimeOptions,
|
|
16
|
+
export { approveActionProposalInLocalService, cancelLocalCompileRun, configuredLocalServiceUrl, resolveLocalServiceAuthToken, createActionProposalInLocalService, decideActionProposalInLocalService, findLocalService, getLocalJobRun, getLocalCompileRun, getLocalServiceHealth, getLocalVerifyRun, submitCompileRunToLocalService, submitReadinessCheckDraftToLocalService, submitResetToLocalService, submitVerifyRunToLocalService, submitMethodAuthoringRunToLocalService, waitForLocalJobRun, waitForLocalCompileRun, waitForLocalVerifyRun, } from "./client.js";
|
|
17
|
+
export type { LocalServiceActionPlanningContext, LocalServiceCompileRunContext, LocalServiceJobRunContext, LocalServiceRunHandlers, LocalServiceRuntimeOptions, LocalServiceVerifyRunContext, PreparationContext, } from "./runtime.js";
|
|
18
18
|
export { LocalServiceRuntime, createLocalServiceRuntime, } from "./runtime.js";
|
|
19
19
|
export type { StartedLocalService, StartLocalServiceOptions, } from "./server.js";
|
|
20
20
|
export { createLocalServiceServer, createLocalServiceAuthToken, startLocalService, } from "./server.js";
|
|
@@ -5,11 +5,11 @@ export * as routes from "./routes.js";
|
|
|
5
5
|
export * as client from "./client.js";
|
|
6
6
|
export * as runtime from "./runtime.js";
|
|
7
7
|
export * as server from "./server.js";
|
|
8
|
-
export { CompileRunCreateRequestSchema, CompileRunResourceSchema, CompileRunSummarySchema, LocalServiceDiscoverySchema, PortableContextMappingSchema, PreparationRunLinkageSchema, PreparationResourceSchema, MethodResourceSchema, LocalJobAgentSchema, LocalJobEventAppendRequestSchema, LocalJobEventSchema, LocalJobEventTypeSchema, LocalJobRunCreateRequestSchema, LocalJobRunResourceSchema, LocalJobStatusSchema, LocalRunHandlerResultSchema, LocalJobStepSchema, LocalJobTypeSchema, LocalServiceConfigSchema, LocalServiceErrorSchema, LocalServiceHealthSchema, PortableContextResourceSchema, ReadinessResourceSchema, SourceFileResourceSchema, ReadinessCheckDraftCreateRequestSchema, ReadinessCheckDraftResultSchema,
|
|
8
|
+
export { CompileRunCreateRequestSchema, CompileRunResourceSchema, CompileRunSummarySchema, LocalServiceDiscoverySchema, PortableContextMappingSchema, PreparationRunLinkageSchema, PreparationResourceSchema, MethodResourceSchema, LocalJobAgentSchema, LocalJobEventAppendRequestSchema, LocalJobEventSchema, LocalJobEventTypeSchema, LocalJobRunCreateRequestSchema, LocalJobRunResourceSchema, LocalJobStatusSchema, LocalRunHandlerResultSchema, LocalJobStepSchema, LocalJobTypeSchema, LocalServiceConfigSchema, LocalServiceErrorSchema, LocalServiceHealthSchema, PortableContextResourceSchema, ReadinessResourceSchema, SourceFileResourceSchema, ReadinessCheckDraftCreateRequestSchema, ReadinessCheckDraftResultSchema, VerifyRunCreateRequestSchema, VerifyRunResourceSchema, VerifyRunStatusSchema, RunObservabilityResourceSchema, RunObservabilityListResponseSchema, LocalExecutorStatusSchema, ActionClientOriginSchema, ActionProposalApprovalRequestSchema, ActionProposalApprovalSchema, ActionProposalCreateRequestSchema, ActionProposalListResponseSchema, ActionProposalPlanSchema, ActionProposalPlanActionTypeSchema, ActionProposalResourceSchema, ActionProposalStatusSchema, ActionProposalTypeSchema, ResetRequestSchema, ResetResultSchema, MethodAuthoringCreateRequestSchema, MethodAuthoringResultSchema, PreparationListResponseSchema, MethodListResponseSchema, PortableContextListResponseSchema, SourceFileListResponseSchema, OpenPathRequestSchema, OpenPathResponseSchema, } from "./lib/schema.js";
|
|
9
9
|
export { LOCAL_SERVICE_DEFAULT_HOST, LOCAL_SERVICE_DEFAULT_PORT, LOCAL_SERVICE_ROUTES, buildLocalServiceUrl, } from "./routes.js";
|
|
10
10
|
export { ServiceRegistrySchema, ServiceRegistryEntrySchema, ServiceRegistryWorkspaceSchema, } from "./lib/schema.js";
|
|
11
11
|
export { readServiceRegistry, registerServiceLocally, unregisterService, writeServiceRegistry, serviceRegistryPath, } from "./service-registry.js";
|
|
12
|
-
export { approveActionProposalInLocalService, cancelLocalCompileRun, configuredLocalServiceUrl, resolveLocalServiceAuthToken, createActionProposalInLocalService, decideActionProposalInLocalService, findLocalService, getLocalJobRun, getLocalCompileRun, getLocalServiceHealth,
|
|
12
|
+
export { approveActionProposalInLocalService, cancelLocalCompileRun, configuredLocalServiceUrl, resolveLocalServiceAuthToken, createActionProposalInLocalService, decideActionProposalInLocalService, findLocalService, getLocalJobRun, getLocalCompileRun, getLocalServiceHealth, getLocalVerifyRun, submitCompileRunToLocalService, submitReadinessCheckDraftToLocalService, submitResetToLocalService, submitVerifyRunToLocalService, submitMethodAuthoringRunToLocalService, waitForLocalJobRun, waitForLocalCompileRun, waitForLocalVerifyRun, } from "./client.js";
|
|
13
13
|
export { LocalServiceRuntime, createLocalServiceRuntime, } from "./runtime.js";
|
|
14
14
|
export { createLocalServiceServer, createLocalServiceAuthToken, startLocalService, } from "./server.js";
|
|
15
15
|
export { createNativeLocalServiceRunHandlers, } from "./native-run-handlers.js";
|