@software-dlc/cli 0.157.2
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/CHANGELOG.md +11 -0
- package/LICENSE +105 -0
- package/README.md +31 -0
- package/dist/checkout.d.ts +43 -0
- package/dist/checkout.d.ts.map +1 -0
- package/dist/checkout.js +92 -0
- package/dist/checkout.js.map +1 -0
- package/dist/cli-arguments.d.ts +13 -0
- package/dist/cli-arguments.d.ts.map +1 -0
- package/dist/cli-arguments.js +67 -0
- package/dist/cli-arguments.js.map +1 -0
- package/dist/cli-branch-history.d.ts +48 -0
- package/dist/cli-branch-history.d.ts.map +1 -0
- package/dist/cli-branch-history.js +319 -0
- package/dist/cli-branch-history.js.map +1 -0
- package/dist/cli-branches.d.ts +22 -0
- package/dist/cli-branches.d.ts.map +1 -0
- package/dist/cli-branches.js +59 -0
- package/dist/cli-branches.js.map +1 -0
- package/dist/cli-deploy.d.ts +14 -0
- package/dist/cli-deploy.d.ts.map +1 -0
- package/dist/cli-deploy.js +164 -0
- package/dist/cli-deploy.js.map +1 -0
- package/dist/cli-health.d.ts +3 -0
- package/dist/cli-health.d.ts.map +1 -0
- package/dist/cli-health.js +73 -0
- package/dist/cli-health.js.map +1 -0
- package/dist/cli-help.d.ts +21 -0
- package/dist/cli-help.d.ts.map +1 -0
- package/dist/cli-help.js +176 -0
- package/dist/cli-help.js.map +1 -0
- package/dist/cli-login.d.ts +76 -0
- package/dist/cli-login.d.ts.map +1 -0
- package/dist/cli-login.js +634 -0
- package/dist/cli-login.js.map +1 -0
- package/dist/cli-operation.d.ts +2 -0
- package/dist/cli-operation.d.ts.map +1 -0
- package/dist/cli-operation.js +66 -0
- package/dist/cli-operation.js.map +1 -0
- package/dist/cli-org.d.ts +12 -0
- package/dist/cli-org.d.ts.map +1 -0
- package/dist/cli-org.js +218 -0
- package/dist/cli-org.js.map +1 -0
- package/dist/cli-rebuild.d.ts +20 -0
- package/dist/cli-rebuild.d.ts.map +1 -0
- package/dist/cli-rebuild.js +29 -0
- package/dist/cli-rebuild.js.map +1 -0
- package/dist/cli-reset.d.ts +27 -0
- package/dist/cli-reset.d.ts.map +1 -0
- package/dist/cli-reset.js +44 -0
- package/dist/cli-reset.js.map +1 -0
- package/dist/cli-snapshot.d.ts +398 -0
- package/dist/cli-snapshot.d.ts.map +1 -0
- package/dist/cli-snapshot.js +45 -0
- package/dist/cli-snapshot.js.map +1 -0
- package/dist/cli-task-context.d.ts +3 -0
- package/dist/cli-task-context.d.ts.map +1 -0
- package/dist/cli-task-context.js +112 -0
- package/dist/cli-task-context.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +1004 -0
- package/dist/cli.js.map +1 -0
- package/dist/graph-packages-lock.d.ts +169 -0
- package/dist/graph-packages-lock.d.ts.map +1 -0
- package/dist/graph-packages-lock.js +503 -0
- package/dist/graph-packages-lock.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/local/aggregate-preflight.d.ts +12 -0
- package/dist/local/aggregate-preflight.d.ts.map +1 -0
- package/dist/local/aggregate-preflight.js +22 -0
- package/dist/local/aggregate-preflight.js.map +1 -0
- package/dist/local/allow-mcp.d.ts +77 -0
- package/dist/local/allow-mcp.d.ts.map +1 -0
- package/dist/local/allow-mcp.js +394 -0
- package/dist/local/allow-mcp.js.map +1 -0
- package/dist/local/api-client.d.ts +15 -0
- package/dist/local/api-client.d.ts.map +1 -0
- package/dist/local/api-client.js +87 -0
- package/dist/local/api-client.js.map +1 -0
- package/dist/local/app-contract-readers.d.ts +229 -0
- package/dist/local/app-contract-readers.d.ts.map +1 -0
- package/dist/local/app-contract-readers.js +450 -0
- package/dist/local/app-contract-readers.js.map +1 -0
- package/dist/local/app-org-reader.d.ts +21 -0
- package/dist/local/app-org-reader.d.ts.map +1 -0
- package/dist/local/app-org-reader.js +66 -0
- package/dist/local/app-org-reader.js.map +1 -0
- package/dist/local/app-shell-readers.d.ts +96 -0
- package/dist/local/app-shell-readers.d.ts.map +1 -0
- package/dist/local/app-shell-readers.js +381 -0
- package/dist/local/app-shell-readers.js.map +1 -0
- package/dist/local/app-tasks-read.d.ts +202 -0
- package/dist/local/app-tasks-read.d.ts.map +1 -0
- package/dist/local/app-tasks-read.js +290 -0
- package/dist/local/app-tasks-read.js.map +1 -0
- package/dist/local/app-worktrees.d.ts +69 -0
- package/dist/local/app-worktrees.d.ts.map +1 -0
- package/dist/local/app-worktrees.js +554 -0
- package/dist/local/app-worktrees.js.map +1 -0
- package/dist/local/base-sync-manifest.d.ts +12 -0
- package/dist/local/base-sync-manifest.d.ts.map +1 -0
- package/dist/local/base-sync-manifest.js +57 -0
- package/dist/local/base-sync-manifest.js.map +1 -0
- package/dist/local/blast-radius.d.ts +191 -0
- package/dist/local/blast-radius.d.ts.map +1 -0
- package/dist/local/blast-radius.js +585 -0
- package/dist/local/blast-radius.js.map +1 -0
- package/dist/local/canonical.d.ts +2 -0
- package/dist/local/canonical.d.ts.map +1 -0
- package/dist/local/canonical.js +2 -0
- package/dist/local/canonical.js.map +1 -0
- package/dist/local/config.d.ts +22 -0
- package/dist/local/config.d.ts.map +1 -0
- package/dist/local/config.js +57 -0
- package/dist/local/config.js.map +1 -0
- package/dist/local/document-commands.d.ts +163 -0
- package/dist/local/document-commands.d.ts.map +1 -0
- package/dist/local/document-commands.js +620 -0
- package/dist/local/document-commands.js.map +1 -0
- package/dist/local/document-embeds.d.ts +21 -0
- package/dist/local/document-embeds.d.ts.map +1 -0
- package/dist/local/document-embeds.js +38 -0
- package/dist/local/document-embeds.js.map +1 -0
- package/dist/local/environment-context.d.ts +39 -0
- package/dist/local/environment-context.d.ts.map +1 -0
- package/dist/local/environment-context.js +193 -0
- package/dist/local/environment-context.js.map +1 -0
- package/dist/local/environment-exclude.d.ts +7 -0
- package/dist/local/environment-exclude.d.ts.map +1 -0
- package/dist/local/environment-exclude.js +82 -0
- package/dist/local/environment-exclude.js.map +1 -0
- package/dist/local/environment-sidecar.d.ts +126 -0
- package/dist/local/environment-sidecar.d.ts.map +1 -0
- package/dist/local/environment-sidecar.js +442 -0
- package/dist/local/environment-sidecar.js.map +1 -0
- package/dist/local/environment-switch.d.ts +22 -0
- package/dist/local/environment-switch.d.ts.map +1 -0
- package/dist/local/environment-switch.js +385 -0
- package/dist/local/environment-switch.js.map +1 -0
- package/dist/local/exact-remote-projection.d.ts +17 -0
- package/dist/local/exact-remote-projection.d.ts.map +1 -0
- package/dist/local/exact-remote-projection.js +53 -0
- package/dist/local/exact-remote-projection.js.map +1 -0
- package/dist/local/experimental/path-object-store.d.ts +66 -0
- package/dist/local/experimental/path-object-store.d.ts.map +1 -0
- package/dist/local/experimental/path-object-store.js +135 -0
- package/dist/local/experimental/path-object-store.js.map +1 -0
- package/dist/local/external-worktree-binding.d.ts +21 -0
- package/dist/local/external-worktree-binding.d.ts.map +1 -0
- package/dist/local/external-worktree-binding.js +56 -0
- package/dist/local/external-worktree-binding.js.map +1 -0
- package/dist/local/folder-members.d.ts +34 -0
- package/dist/local/folder-members.d.ts.map +1 -0
- package/dist/local/folder-members.js +168 -0
- package/dist/local/folder-members.js.map +1 -0
- package/dist/local/git-ref-authority.d.ts +11 -0
- package/dist/local/git-ref-authority.d.ts.map +1 -0
- package/dist/local/git-ref-authority.js +76 -0
- package/dist/local/git-ref-authority.js.map +1 -0
- package/dist/local/git.d.ts +88 -0
- package/dist/local/git.d.ts.map +1 -0
- package/dist/local/git.js +413 -0
- package/dist/local/git.js.map +1 -0
- package/dist/local/graph-read.d.ts +168 -0
- package/dist/local/graph-read.d.ts.map +1 -0
- package/dist/local/graph-read.js +360 -0
- package/dist/local/graph-read.js.map +1 -0
- package/dist/local/graph-sync.d.ts +39 -0
- package/dist/local/graph-sync.d.ts.map +1 -0
- package/dist/local/graph-sync.js +186 -0
- package/dist/local/graph-sync.js.map +1 -0
- package/dist/local/guide-commands.d.ts +79 -0
- package/dist/local/guide-commands.d.ts.map +1 -0
- package/dist/local/guide-commands.js +247 -0
- package/dist/local/guide-commands.js.map +1 -0
- package/dist/local/health-files.d.ts +24 -0
- package/dist/local/health-files.d.ts.map +1 -0
- package/dist/local/health-files.js +133 -0
- package/dist/local/health-files.js.map +1 -0
- package/dist/local/health-inspection.d.ts +12 -0
- package/dist/local/health-inspection.d.ts.map +1 -0
- package/dist/local/health-inspection.js +407 -0
- package/dist/local/health-inspection.js.map +1 -0
- package/dist/local/health-policy.d.ts +11 -0
- package/dist/local/health-policy.d.ts.map +1 -0
- package/dist/local/health-policy.js +257 -0
- package/dist/local/health-policy.js.map +1 -0
- package/dist/local/health-projection.d.ts +14 -0
- package/dist/local/health-projection.d.ts.map +1 -0
- package/dist/local/health-projection.js +102 -0
- package/dist/local/health-projection.js.map +1 -0
- package/dist/local/health-schema.d.ts +338 -0
- package/dist/local/health-schema.d.ts.map +1 -0
- package/dist/local/health-schema.js +213 -0
- package/dist/local/health-schema.js.map +1 -0
- package/dist/local/health-store.d.ts +61 -0
- package/dist/local/health-store.d.ts.map +1 -0
- package/dist/local/health-store.js +218 -0
- package/dist/local/health-store.js.map +1 -0
- package/dist/local/index.d.ts +66 -0
- package/dist/local/index.d.ts.map +1 -0
- package/dist/local/index.js +66 -0
- package/dist/local/index.js.map +1 -0
- package/dist/local/journey-commands.d.ts +65 -0
- package/dist/local/journey-commands.d.ts.map +1 -0
- package/dist/local/journey-commands.js +138 -0
- package/dist/local/journey-commands.js.map +1 -0
- package/dist/local/local-org-store.d.ts +46 -0
- package/dist/local/local-org-store.d.ts.map +1 -0
- package/dist/local/local-org-store.js +132 -0
- package/dist/local/local-org-store.js.map +1 -0
- package/dist/local/local-org.d.ts +389 -0
- package/dist/local/local-org.d.ts.map +1 -0
- package/dist/local/local-org.js +855 -0
- package/dist/local/local-org.js.map +1 -0
- package/dist/local/media-upload.d.ts +5 -0
- package/dist/local/media-upload.d.ts.map +1 -0
- package/dist/local/media-upload.js +41 -0
- package/dist/local/media-upload.js.map +1 -0
- package/dist/local/operation.d.ts +155 -0
- package/dist/local/operation.d.ts.map +1 -0
- package/dist/local/operation.js +340 -0
- package/dist/local/operation.js.map +1 -0
- package/dist/local/ownership-reader-schema.d.ts +117 -0
- package/dist/local/ownership-reader-schema.d.ts.map +1 -0
- package/dist/local/ownership-reader-schema.js +105 -0
- package/dist/local/ownership-reader-schema.js.map +1 -0
- package/dist/local/ownership-reader-worker.d.ts +2 -0
- package/dist/local/ownership-reader-worker.d.ts.map +1 -0
- package/dist/local/ownership-reader-worker.js +341 -0
- package/dist/local/ownership-reader-worker.js.map +1 -0
- package/dist/local/ownership-reader.d.ts +10 -0
- package/dist/local/ownership-reader.d.ts.map +1 -0
- package/dist/local/ownership-reader.js +93 -0
- package/dist/local/ownership-reader.js.map +1 -0
- package/dist/local/package-uses-check.d.ts +33 -0
- package/dist/local/package-uses-check.d.ts.map +1 -0
- package/dist/local/package-uses-check.js +62 -0
- package/dist/local/package-uses-check.js.map +1 -0
- package/dist/local/pending-recovery.d.ts +22 -0
- package/dist/local/pending-recovery.d.ts.map +1 -0
- package/dist/local/pending-recovery.js +171 -0
- package/dist/local/pending-recovery.js.map +1 -0
- package/dist/local/portable-commit-store.d.ts +28 -0
- package/dist/local/portable-commit-store.d.ts.map +1 -0
- package/dist/local/portable-commit-store.js +187 -0
- package/dist/local/portable-commit-store.js.map +1 -0
- package/dist/local/portable-commit.d.ts +109 -0
- package/dist/local/portable-commit.d.ts.map +1 -0
- package/dist/local/portable-commit.js +209 -0
- package/dist/local/portable-commit.js.map +1 -0
- package/dist/local/portable-remote.d.ts +432 -0
- package/dist/local/portable-remote.d.ts.map +1 -0
- package/dist/local/portable-remote.js +280 -0
- package/dist/local/portable-remote.js.map +1 -0
- package/dist/local/project-deleted.d.ts +4 -0
- package/dist/local/project-deleted.d.ts.map +1 -0
- package/dist/local/project-deleted.js +13 -0
- package/dist/local/project-deleted.js.map +1 -0
- package/dist/local/projection.d.ts +166 -0
- package/dist/local/projection.d.ts.map +1 -0
- package/dist/local/projection.js +709 -0
- package/dist/local/projection.js.map +1 -0
- package/dist/local/read-operation.d.ts +3 -0
- package/dist/local/read-operation.d.ts.map +1 -0
- package/dist/local/read-operation.js +19 -0
- package/dist/local/read-operation.js.map +1 -0
- package/dist/local/rebuild.d.ts +11 -0
- package/dist/local/rebuild.d.ts.map +1 -0
- package/dist/local/rebuild.js +42 -0
- package/dist/local/rebuild.js.map +1 -0
- package/dist/local/remote-base.d.ts +25 -0
- package/dist/local/remote-base.d.ts.map +1 -0
- package/dist/local/remote-base.js +68 -0
- package/dist/local/remote-base.js.map +1 -0
- package/dist/local/save-layout-worker.d.ts +19 -0
- package/dist/local/save-layout-worker.d.ts.map +1 -0
- package/dist/local/save-layout-worker.js +28 -0
- package/dist/local/save-layout-worker.js.map +1 -0
- package/dist/local/save-layout.d.ts +84 -0
- package/dist/local/save-layout.d.ts.map +1 -0
- package/dist/local/save-layout.js +221 -0
- package/dist/local/save-layout.js.map +1 -0
- package/dist/local/scope-impact.d.ts +31 -0
- package/dist/local/scope-impact.d.ts.map +1 -0
- package/dist/local/scope-impact.js +32 -0
- package/dist/local/scope-impact.js.map +1 -0
- package/dist/local/source-evidence/filesystem-worker.d.ts +2 -0
- package/dist/local/source-evidence/filesystem-worker.d.ts.map +1 -0
- package/dist/local/source-evidence/filesystem-worker.js +139 -0
- package/dist/local/source-evidence/filesystem-worker.js.map +1 -0
- package/dist/local/source-evidence/processes.d.ts +20 -0
- package/dist/local/source-evidence/processes.d.ts.map +1 -0
- package/dist/local/source-evidence/processes.js +133 -0
- package/dist/local/source-evidence/processes.js.map +1 -0
- package/dist/local/source-evidence/protocol.d.ts +52 -0
- package/dist/local/source-evidence/protocol.d.ts.map +1 -0
- package/dist/local/source-evidence/protocol.js +72 -0
- package/dist/local/source-evidence/protocol.js.map +1 -0
- package/dist/local/source-evidence/reader.d.ts +14 -0
- package/dist/local/source-evidence/reader.d.ts.map +1 -0
- package/dist/local/source-evidence/reader.js +308 -0
- package/dist/local/source-evidence/reader.js.map +1 -0
- package/dist/local/source-evidence/schema.d.ts +2504 -0
- package/dist/local/source-evidence/schema.d.ts.map +1 -0
- package/dist/local/source-evidence/schema.js +99 -0
- package/dist/local/source-evidence/schema.js.map +1 -0
- package/dist/local/source-policy/loader.d.ts +29 -0
- package/dist/local/source-policy/loader.d.ts.map +1 -0
- package/dist/local/source-policy/loader.js +209 -0
- package/dist/local/source-policy/loader.js.map +1 -0
- package/dist/local/source-policy/process.d.ts +7 -0
- package/dist/local/source-policy/process.d.ts.map +1 -0
- package/dist/local/source-policy/process.js +53 -0
- package/dist/local/source-policy/process.js.map +1 -0
- package/dist/local/source-policy/protocol.d.ts +27 -0
- package/dist/local/source-policy/protocol.d.ts.map +1 -0
- package/dist/local/source-policy/protocol.js +48 -0
- package/dist/local/source-policy/protocol.js.map +1 -0
- package/dist/local/source-policy/worker.d.ts +2 -0
- package/dist/local/source-policy/worker.d.ts.map +1 -0
- package/dist/local/source-policy/worker.js +100 -0
- package/dist/local/source-policy/worker.js.map +1 -0
- package/dist/local/state-directory.d.ts +17 -0
- package/dist/local/state-directory.d.ts.map +1 -0
- package/dist/local/state-directory.js +68 -0
- package/dist/local/state-directory.js.map +1 -0
- package/dist/local/store-database.d.ts +13 -0
- package/dist/local/store-database.d.ts.map +1 -0
- package/dist/local/store-database.js +187 -0
- package/dist/local/store-database.js.map +1 -0
- package/dist/local/store.d.ts +181 -0
- package/dist/local/store.d.ts.map +1 -0
- package/dist/local/store.js +585 -0
- package/dist/local/store.js.map +1 -0
- package/dist/local/sync.d.ts +47 -0
- package/dist/local/sync.d.ts.map +1 -0
- package/dist/local/sync.js +518 -0
- package/dist/local/sync.js.map +1 -0
- package/dist/local/task-context-inspection.d.ts +23 -0
- package/dist/local/task-context-inspection.d.ts.map +1 -0
- package/dist/local/task-context-inspection.js +165 -0
- package/dist/local/task-context-inspection.js.map +1 -0
- package/dist/local/task-context-observations.d.ts +9553 -0
- package/dist/local/task-context-observations.d.ts.map +1 -0
- package/dist/local/task-context-observations.js +232 -0
- package/dist/local/task-context-observations.js.map +1 -0
- package/dist/local/task-context-provider.d.ts +18 -0
- package/dist/local/task-context-provider.d.ts.map +1 -0
- package/dist/local/task-context-provider.js +231 -0
- package/dist/local/task-context-provider.js.map +1 -0
- package/dist/local/task-context-schema.d.ts +847 -0
- package/dist/local/task-context-schema.d.ts.map +1 -0
- package/dist/local/task-context-schema.js +305 -0
- package/dist/local/task-context-schema.js.map +1 -0
- package/dist/local/task-context-source.d.ts +16 -0
- package/dist/local/task-context-source.d.ts.map +1 -0
- package/dist/local/task-context-source.js +45 -0
- package/dist/local/task-context-source.js.map +1 -0
- package/dist/local/task-context.d.ts +14 -0
- package/dist/local/task-context.d.ts.map +1 -0
- package/dist/local/task-context.js +570 -0
- package/dist/local/task-context.js.map +1 -0
- package/dist/local/test-commands.d.ts +71 -0
- package/dist/local/test-commands.d.ts.map +1 -0
- package/dist/local/test-commands.js +292 -0
- package/dist/local/test-commands.js.map +1 -0
- package/dist/local/tree-save.d.ts +117 -0
- package/dist/local/tree-save.d.ts.map +1 -0
- package/dist/local/tree-save.js +615 -0
- package/dist/local/tree-save.js.map +1 -0
- package/dist/local/variants.d.ts +125 -0
- package/dist/local/variants.d.ts.map +1 -0
- package/dist/local/variants.js +267 -0
- package/dist/local/variants.js.map +1 -0
- package/dist/local/workspace-admission.d.ts +61 -0
- package/dist/local/workspace-admission.d.ts.map +1 -0
- package/dist/local/workspace-admission.js +112 -0
- package/dist/local/workspace-admission.js.map +1 -0
- package/dist/local/workspace-authority-guard.d.ts +18 -0
- package/dist/local/workspace-authority-guard.d.ts.map +1 -0
- package/dist/local/workspace-authority-guard.js +69 -0
- package/dist/local/workspace-authority-guard.js.map +1 -0
- package/dist/local/workspace-authority.d.ts +33 -0
- package/dist/local/workspace-authority.d.ts.map +1 -0
- package/dist/local/workspace-authority.js +33 -0
- package/dist/local/workspace-authority.js.map +1 -0
- package/dist/local/workspace-branch-runtime.d.ts +61 -0
- package/dist/local/workspace-branch-runtime.d.ts.map +1 -0
- package/dist/local/workspace-branch-runtime.js +216 -0
- package/dist/local/workspace-branch-runtime.js.map +1 -0
- package/dist/local/workspace-built-content.d.ts +137 -0
- package/dist/local/workspace-built-content.d.ts.map +1 -0
- package/dist/local/workspace-built-content.js +393 -0
- package/dist/local/workspace-built-content.js.map +1 -0
- package/dist/local/workspace-claim-status-read.d.ts +53 -0
- package/dist/local/workspace-claim-status-read.d.ts.map +1 -0
- package/dist/local/workspace-claim-status-read.js +118 -0
- package/dist/local/workspace-claim-status-read.js.map +1 -0
- package/dist/local/workspace-claim-status.d.ts +172 -0
- package/dist/local/workspace-claim-status.d.ts.map +1 -0
- package/dist/local/workspace-claim-status.js +721 -0
- package/dist/local/workspace-claim-status.js.map +1 -0
- package/dist/local/workspace-claim-views.d.ts +45 -0
- package/dist/local/workspace-claim-views.d.ts.map +1 -0
- package/dist/local/workspace-claim-views.js +45 -0
- package/dist/local/workspace-claim-views.js.map +1 -0
- package/dist/local/workspace-cli.d.ts +46 -0
- package/dist/local/workspace-cli.d.ts.map +1 -0
- package/dist/local/workspace-cli.js +1524 -0
- package/dist/local/workspace-cli.js.map +1 -0
- package/dist/local/workspace-commit-resolver.d.ts +19 -0
- package/dist/local/workspace-commit-resolver.d.ts.map +1 -0
- package/dist/local/workspace-commit-resolver.js +47 -0
- package/dist/local/workspace-commit-resolver.js.map +1 -0
- package/dist/local/workspace-decision-store.d.ts +184 -0
- package/dist/local/workspace-decision-store.d.ts.map +1 -0
- package/dist/local/workspace-decision-store.js +510 -0
- package/dist/local/workspace-decision-store.js.map +1 -0
- package/dist/local/workspace-environment-runtime.d.ts +107 -0
- package/dist/local/workspace-environment-runtime.d.ts.map +1 -0
- package/dist/local/workspace-environment-runtime.js +135 -0
- package/dist/local/workspace-environment-runtime.js.map +1 -0
- package/dist/local/workspace-evidence-drop.d.ts +21 -0
- package/dist/local/workspace-evidence-drop.d.ts.map +1 -0
- package/dist/local/workspace-evidence-drop.js +58 -0
- package/dist/local/workspace-evidence-drop.js.map +1 -0
- package/dist/local/workspace-evidence-sign-tool.d.ts +20 -0
- package/dist/local/workspace-evidence-sign-tool.d.ts.map +1 -0
- package/dist/local/workspace-evidence-sign-tool.js +85 -0
- package/dist/local/workspace-evidence-sign-tool.js.map +1 -0
- package/dist/local/workspace-evidence-status.d.ts +89 -0
- package/dist/local/workspace-evidence-status.d.ts.map +1 -0
- package/dist/local/workspace-evidence-status.js +141 -0
- package/dist/local/workspace-evidence-status.js.map +1 -0
- package/dist/local/workspace-evidence.d.ts +145 -0
- package/dist/local/workspace-evidence.d.ts.map +1 -0
- package/dist/local/workspace-evidence.js +347 -0
- package/dist/local/workspace-evidence.js.map +1 -0
- package/dist/local/workspace-graph-store.d.ts +32 -0
- package/dist/local/workspace-graph-store.d.ts.map +1 -0
- package/dist/local/workspace-graph-store.js +249 -0
- package/dist/local/workspace-graph-store.js.map +1 -0
- package/dist/local/workspace-handoff.d.ts +32 -0
- package/dist/local/workspace-handoff.d.ts.map +1 -0
- package/dist/local/workspace-handoff.js +144 -0
- package/dist/local/workspace-handoff.js.map +1 -0
- package/dist/local/workspace-history-journal.d.ts +70 -0
- package/dist/local/workspace-history-journal.d.ts.map +1 -0
- package/dist/local/workspace-history-journal.js +131 -0
- package/dist/local/workspace-history-journal.js.map +1 -0
- package/dist/local/workspace-history-store.d.ts +98 -0
- package/dist/local/workspace-history-store.d.ts.map +1 -0
- package/dist/local/workspace-history-store.js +632 -0
- package/dist/local/workspace-history-store.js.map +1 -0
- package/dist/local/workspace-history-types.d.ts +307 -0
- package/dist/local/workspace-history-types.d.ts.map +1 -0
- package/dist/local/workspace-history-types.js +2 -0
- package/dist/local/workspace-history-types.js.map +1 -0
- package/dist/local/workspace-integration-runtime.d.ts +48 -0
- package/dist/local/workspace-integration-runtime.d.ts.map +1 -0
- package/dist/local/workspace-integration-runtime.js +419 -0
- package/dist/local/workspace-integration-runtime.js.map +1 -0
- package/dist/local/workspace-lock.d.ts +7 -0
- package/dist/local/workspace-lock.d.ts.map +1 -0
- package/dist/local/workspace-lock.js +211 -0
- package/dist/local/workspace-lock.js.map +1 -0
- package/dist/local/workspace-merge.d.ts +77 -0
- package/dist/local/workspace-merge.d.ts.map +1 -0
- package/dist/local/workspace-merge.js +703 -0
- package/dist/local/workspace-merge.js.map +1 -0
- package/dist/local/workspace-mixed-history.d.ts +33 -0
- package/dist/local/workspace-mixed-history.d.ts.map +1 -0
- package/dist/local/workspace-mixed-history.js +107 -0
- package/dist/local/workspace-mixed-history.js.map +1 -0
- package/dist/local/workspace-overlap-allocation.d.ts +33 -0
- package/dist/local/workspace-overlap-allocation.d.ts.map +1 -0
- package/dist/local/workspace-overlap-allocation.js +69 -0
- package/dist/local/workspace-overlap-allocation.js.map +1 -0
- package/dist/local/workspace-overlap-impact.d.ts +46 -0
- package/dist/local/workspace-overlap-impact.d.ts.map +1 -0
- package/dist/local/workspace-overlap-impact.js +162 -0
- package/dist/local/workspace-overlap-impact.js.map +1 -0
- package/dist/local/workspace-overlap.d.ts +109 -0
- package/dist/local/workspace-overlap.d.ts.map +1 -0
- package/dist/local/workspace-overlap.js +327 -0
- package/dist/local/workspace-overlap.js.map +1 -0
- package/dist/local/workspace-paths.d.ts +4 -0
- package/dist/local/workspace-paths.d.ts.map +1 -0
- package/dist/local/workspace-paths.js +8 -0
- package/dist/local/workspace-paths.js.map +1 -0
- package/dist/local/workspace-pick-runtime.d.ts +70 -0
- package/dist/local/workspace-pick-runtime.d.ts.map +1 -0
- package/dist/local/workspace-pick-runtime.js +177 -0
- package/dist/local/workspace-pick-runtime.js.map +1 -0
- package/dist/local/workspace-pick-store.d.ts +33 -0
- package/dist/local/workspace-pick-store.d.ts.map +1 -0
- package/dist/local/workspace-pick-store.js +43 -0
- package/dist/local/workspace-pick-store.js.map +1 -0
- package/dist/local/workspace-pick.d.ts +73 -0
- package/dist/local/workspace-pick.d.ts.map +1 -0
- package/dist/local/workspace-pick.js +253 -0
- package/dist/local/workspace-pick.js.map +1 -0
- package/dist/local/workspace-portable-authoring.d.ts +43 -0
- package/dist/local/workspace-portable-authoring.d.ts.map +1 -0
- package/dist/local/workspace-portable-authoring.js +128 -0
- package/dist/local/workspace-portable-authoring.js.map +1 -0
- package/dist/local/workspace-prune.d.ts +63 -0
- package/dist/local/workspace-prune.d.ts.map +1 -0
- package/dist/local/workspace-prune.js +267 -0
- package/dist/local/workspace-prune.js.map +1 -0
- package/dist/local/workspace-remote-fetch.d.ts +82 -0
- package/dist/local/workspace-remote-fetch.d.ts.map +1 -0
- package/dist/local/workspace-remote-fetch.js +409 -0
- package/dist/local/workspace-remote-fetch.js.map +1 -0
- package/dist/local/workspace-remote-provider.d.ts +97 -0
- package/dist/local/workspace-remote-provider.d.ts.map +1 -0
- package/dist/local/workspace-remote-provider.js +400 -0
- package/dist/local/workspace-remote-provider.js.map +1 -0
- package/dist/local/workspace-remote-pull-request-journal.d.ts +49 -0
- package/dist/local/workspace-remote-pull-request-journal.d.ts.map +1 -0
- package/dist/local/workspace-remote-pull-request-journal.js +63 -0
- package/dist/local/workspace-remote-pull-request-journal.js.map +1 -0
- package/dist/local/workspace-remote-pull-request.d.ts +36 -0
- package/dist/local/workspace-remote-pull-request.d.ts.map +1 -0
- package/dist/local/workspace-remote-pull-request.js +158 -0
- package/dist/local/workspace-remote-pull-request.js.map +1 -0
- package/dist/local/workspace-remote-push.d.ts +88 -0
- package/dist/local/workspace-remote-push.d.ts.map +1 -0
- package/dist/local/workspace-remote-push.js +297 -0
- package/dist/local/workspace-remote-push.js.map +1 -0
- package/dist/local/workspace-remote-topic-journal.d.ts +56 -0
- package/dist/local/workspace-remote-topic-journal.d.ts.map +1 -0
- package/dist/local/workspace-remote-topic-journal.js +121 -0
- package/dist/local/workspace-remote-topic-journal.js.map +1 -0
- package/dist/local/workspace-remote-topic.d.ts +45 -0
- package/dist/local/workspace-remote-topic.d.ts.map +1 -0
- package/dist/local/workspace-remote-topic.js +204 -0
- package/dist/local/workspace-remote-topic.js.map +1 -0
- package/dist/local/workspace-remote-transfer.d.ts +76 -0
- package/dist/local/workspace-remote-transfer.d.ts.map +1 -0
- package/dist/local/workspace-remote-transfer.js +270 -0
- package/dist/local/workspace-remote-transfer.js.map +1 -0
- package/dist/local/workspace-resolution.d.ts +145 -0
- package/dist/local/workspace-resolution.d.ts.map +1 -0
- package/dist/local/workspace-resolution.js +479 -0
- package/dist/local/workspace-resolution.js.map +1 -0
- package/dist/local/workspace-resolver-provider.d.ts +72 -0
- package/dist/local/workspace-resolver-provider.d.ts.map +1 -0
- package/dist/local/workspace-resolver-provider.js +312 -0
- package/dist/local/workspace-resolver-provider.js.map +1 -0
- package/dist/local/workspace-runtime-handoff.d.ts +52 -0
- package/dist/local/workspace-runtime-handoff.d.ts.map +1 -0
- package/dist/local/workspace-runtime-handoff.js +237 -0
- package/dist/local/workspace-runtime-handoff.js.map +1 -0
- package/dist/local/workspace-runtime-lease.d.ts +26 -0
- package/dist/local/workspace-runtime-lease.d.ts.map +1 -0
- package/dist/local/workspace-runtime-lease.js +123 -0
- package/dist/local/workspace-runtime-lease.js.map +1 -0
- package/dist/local/workspace-runtime.d.ts +690 -0
- package/dist/local/workspace-runtime.d.ts.map +1 -0
- package/dist/local/workspace-runtime.js +2124 -0
- package/dist/local/workspace-runtime.js.map +1 -0
- package/dist/local/workspace-scope.d.ts +70 -0
- package/dist/local/workspace-scope.d.ts.map +1 -0
- package/dist/local/workspace-scope.js +206 -0
- package/dist/local/workspace-scope.js.map +1 -0
- package/dist/local/workspace-sources.d.ts +159 -0
- package/dist/local/workspace-sources.d.ts.map +1 -0
- package/dist/local/workspace-sources.js +570 -0
- package/dist/local/workspace-sources.js.map +1 -0
- package/dist/local/workspace-store-database.d.ts +5 -0
- package/dist/local/workspace-store-database.d.ts.map +1 -0
- package/dist/local/workspace-store-database.js +726 -0
- package/dist/local/workspace-store-database.js.map +1 -0
- package/dist/local/workspace-store.d.ts +261 -0
- package/dist/local/workspace-store.d.ts.map +1 -0
- package/dist/local/workspace-store.js +831 -0
- package/dist/local/workspace-store.js.map +1 -0
- package/dist/local/workspace-topology-runtime.d.ts +27 -0
- package/dist/local/workspace-topology-runtime.d.ts.map +1 -0
- package/dist/local/workspace-topology-runtime.js +396 -0
- package/dist/local/workspace-topology-runtime.js.map +1 -0
- package/dist/local/workspace-topology.d.ts +140 -0
- package/dist/local/workspace-topology.d.ts.map +1 -0
- package/dist/local/workspace-topology.js +359 -0
- package/dist/local/workspace-topology.js.map +1 -0
- package/dist/local/workspace-upstream-inspection.d.ts +60 -0
- package/dist/local/workspace-upstream-inspection.d.ts.map +1 -0
- package/dist/local/workspace-upstream-inspection.js +189 -0
- package/dist/local/workspace-upstream-inspection.js.map +1 -0
- package/dist/local/workspace-upstream-runtime.d.ts +91 -0
- package/dist/local/workspace-upstream-runtime.d.ts.map +1 -0
- package/dist/local/workspace-upstream-runtime.js +270 -0
- package/dist/local/workspace-upstream-runtime.js.map +1 -0
- package/dist/local/workspace-upstream-store.d.ts +51 -0
- package/dist/local/workspace-upstream-store.d.ts.map +1 -0
- package/dist/local/workspace-upstream-store.js +475 -0
- package/dist/local/workspace-upstream-store.js.map +1 -0
- package/dist/local/workspace-viewer-server.d.ts +136 -0
- package/dist/local/workspace-viewer-server.d.ts.map +1 -0
- package/dist/local/workspace-viewer-server.js +1097 -0
- package/dist/local/workspace-viewer-server.js.map +1 -0
- package/dist/local/workspace-viewer-snapshot.d.ts +49 -0
- package/dist/local/workspace-viewer-snapshot.d.ts.map +1 -0
- package/dist/local/workspace-viewer-snapshot.js +91 -0
- package/dist/local/workspace-viewer-snapshot.js.map +1 -0
- package/dist/local/worktree-projection.d.ts +76 -0
- package/dist/local/worktree-projection.d.ts.map +1 -0
- package/dist/local/worktree-projection.js +470 -0
- package/dist/local/worktree-projection.js.map +1 -0
- package/dist/mcp/client-identity.d.ts +8 -0
- package/dist/mcp/client-identity.d.ts.map +1 -0
- package/dist/mcp/client-identity.js +33 -0
- package/dist/mcp/client-identity.js.map +1 -0
- package/dist/mcp/graph-to-code.d.ts +53 -0
- package/dist/mcp/graph-to-code.d.ts.map +1 -0
- package/dist/mcp/graph-to-code.js +1624 -0
- package/dist/mcp/graph-to-code.js.map +1 -0
- package/dist/mcp/index.d.ts +3 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +3 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/stdio/graph-to-code.d.ts +3 -0
- package/dist/mcp/stdio/graph-to-code.d.ts.map +1 -0
- package/dist/mcp/stdio/graph-to-code.js +55 -0
- package/dist/mcp/stdio/graph-to-code.js.map +1 -0
- package/dist/mcp/stdio/worktree.d.ts +3 -0
- package/dist/mcp/stdio/worktree.d.ts.map +1 -0
- package/dist/mcp/stdio/worktree.js +67 -0
- package/dist/mcp/stdio/worktree.js.map +1 -0
- package/dist/mcp/worktree-claim-status.d.ts +162 -0
- package/dist/mcp/worktree-claim-status.d.ts.map +1 -0
- package/dist/mcp/worktree-claim-status.js +113 -0
- package/dist/mcp/worktree-claim-status.js.map +1 -0
- package/dist/mcp/worktree-dispatch.d.ts +13 -0
- package/dist/mcp/worktree-dispatch.d.ts.map +1 -0
- package/dist/mcp/worktree-dispatch.js +52 -0
- package/dist/mcp/worktree-dispatch.js.map +1 -0
- package/dist/mcp/worktree-errors.d.ts +15 -0
- package/dist/mcp/worktree-errors.d.ts.map +1 -0
- package/dist/mcp/worktree-errors.js +17 -0
- package/dist/mcp/worktree-errors.js.map +1 -0
- package/dist/mcp/worktree-health.d.ts +12 -0
- package/dist/mcp/worktree-health.d.ts.map +1 -0
- package/dist/mcp/worktree-health.js +32 -0
- package/dist/mcp/worktree-health.js.map +1 -0
- package/dist/mcp/worktree-results.d.ts +15 -0
- package/dist/mcp/worktree-results.d.ts.map +1 -0
- package/dist/mcp/worktree-results.js +12 -0
- package/dist/mcp/worktree-results.js.map +1 -0
- package/dist/mcp/worktree-task-context.d.ts +57 -0
- package/dist/mcp/worktree-task-context.d.ts.map +1 -0
- package/dist/mcp/worktree-task-context.js +45 -0
- package/dist/mcp/worktree-task-context.js.map +1 -0
- package/dist/mcp/worktree-tools.d.ts +2648 -0
- package/dist/mcp/worktree-tools.d.ts.map +1 -0
- package/dist/mcp/worktree-tools.js +192 -0
- package/dist/mcp/worktree-tools.js.map +1 -0
- package/dist/mcp/worktree.d.ts +33 -0
- package/dist/mcp/worktree.d.ts.map +1 -0
- package/dist/mcp/worktree.js +551 -0
- package/dist/mcp/worktree.js.map +1 -0
- package/dist/own-package.d.ts +13 -0
- package/dist/own-package.d.ts.map +1 -0
- package/dist/own-package.js +32 -0
- package/dist/own-package.js.map +1 -0
- package/dist/packages-browse.d.ts +107 -0
- package/dist/packages-browse.d.ts.map +1 -0
- package/dist/packages-browse.js +646 -0
- package/dist/packages-browse.js.map +1 -0
- package/dist/packages-cli.d.ts +8 -0
- package/dist/packages-cli.d.ts.map +1 -0
- package/dist/packages-cli.js +184 -0
- package/dist/packages-cli.js.map +1 -0
- package/dist/packages-uses.d.ts +46 -0
- package/dist/packages-uses.d.ts.map +1 -0
- package/dist/packages-uses.js +737 -0
- package/dist/packages-uses.js.map +1 -0
- package/dist/portable.d.ts +7 -0
- package/dist/portable.d.ts.map +1 -0
- package/dist/portable.js +14 -0
- package/dist/portable.js.map +1 -0
- package/dist/quiet-warnings.d.ts +3 -0
- package/dist/quiet-warnings.d.ts.map +1 -0
- package/dist/quiet-warnings.js +21 -0
- package/dist/quiet-warnings.js.map +1 -0
- package/dist/view-seam.d.ts +62 -0
- package/dist/view-seam.d.ts.map +1 -0
- package/dist/view-seam.js +70 -0
- package/dist/view-seam.js.map +1 -0
- package/generated/graph-packages/index.json +5 -0
- package/graph-packages.lock.json +4 -0
- package/package.json +81 -0
- package/viewer/assets/index-BZKGDARF.css +1 -0
- package/viewer/assets/index-DWu0CbZZ.js +272 -0
- package/viewer/index.html +13 -0
|
@@ -0,0 +1,690 @@
|
|
|
1
|
+
import type { CodeToGraphValidationWarning, NodeOrigin } from '@software-dlc/graph/types';
|
|
2
|
+
import { materializeGraphProjection } from './projection.js';
|
|
3
|
+
import { type EvidenceSignResult, type SourceReferenceSpec } from './workspace-evidence.js';
|
|
4
|
+
import { type SourceEntry } from './workspace-sources.js';
|
|
5
|
+
import { type EvidenceStatusResult } from './workspace-evidence-status.js';
|
|
6
|
+
import { type GitWorktreeContext } from './git.js';
|
|
7
|
+
import { LocalWorkspaceGraphStore } from './workspace-graph-store.js';
|
|
8
|
+
import type { LocalIntegrationQueueEntry, LocalIntegrationRunResult, LocalHandoffApplyRunResult, LocalHandoffPrepareRunResult, LocalHandoffRuntimeInspection, LocalReconciliationResult, LocalWorkspaceCommit } from './workspace-history-types.js';
|
|
9
|
+
import { type BlastRadiusResult } from './blast-radius.js';
|
|
10
|
+
import { type FindResult, type ShowResult } from './graph-read.js';
|
|
11
|
+
import { type SkippedFolderMember } from './folder-members.js';
|
|
12
|
+
import { type VariantsReport } from './variants.js';
|
|
13
|
+
import { type LocalWorkspaceOverlapResult } from './workspace-overlap.js';
|
|
14
|
+
import { type LocalBuiltView, type LocalGate } from './workspace-built-content.js';
|
|
15
|
+
import { type LocalClaimList, type LocalClaimView } from './workspace-claim-views.js';
|
|
16
|
+
import { type ClaimStatus, type ClaimStatusEnvironment, type ClaimStatusResult, type ClaimStatusView } from './workspace-claim-status.js';
|
|
17
|
+
import { type LocalConflictResolutionBudget, type LocalConflictResolver } from './workspace-resolution.js';
|
|
18
|
+
import { LocalWorkspaceStore, type LocalWorkspace, type LocalWorkspaceActorKind, type LocalSourceRepositoryBinding, type LocalSourceEvidenceScope, type LocalWorkspaceCommitSourceContext } from './workspace-store.js';
|
|
19
|
+
import type { LocalDecision } from './workspace-decision-store.js';
|
|
20
|
+
import { type LocalWorkspacePrunePlan, type LocalWorkspacePruneResult } from './workspace-prune.js';
|
|
21
|
+
import { type LocalWorkspaceAuthorityInspection } from './workspace-authority.js';
|
|
22
|
+
import { type LoadedLocalWorkspaceResolver, type LocalWorkspaceResolverStatus } from './workspace-resolver-provider.js';
|
|
23
|
+
import { type LocalWorkspaceRemoteConfiguration, type LocalWorkspaceRemoteDiscovery, type LocalWorkspaceRemoteStatus } from './workspace-remote-provider.js';
|
|
24
|
+
import { type LocalRemoteFetchResult, type LocalRemoteTrackingRef } from './workspace-remote-fetch.js';
|
|
25
|
+
import { type LocalBranchCreationResult, type LocalBranchSelectionResult, type LocalBranchStatus } from './workspace-branch-runtime.js';
|
|
26
|
+
import { type LocalWorkspacePickResult } from './workspace-pick-runtime.js';
|
|
27
|
+
import type { LocalPickEntity } from './workspace-pick.js';
|
|
28
|
+
import { type LocalUpstreamIntegrationResult, type LocalUpstreamRevertResult } from './workspace-upstream-runtime.js';
|
|
29
|
+
import type { LocalUpstreamIntegrationStatus } from './workspace-upstream-inspection.js';
|
|
30
|
+
export type { LocalBranchCreationResult, LocalBranchSelectionResult, LocalBranchStatus } from './workspace-branch-runtime.js';
|
|
31
|
+
export type { LocalUpstreamIntegrationResult, LocalUpstreamRevertResult } from './workspace-upstream-runtime.js';
|
|
32
|
+
export type { LocalUpstreamIntegrationStatus } from './workspace-upstream-inspection.js';
|
|
33
|
+
import { type LocalRemotePushJournal, type LocalRemotePushResult } from './workspace-remote-push.js';
|
|
34
|
+
import { type LocalRemoteTopicJournal, type LocalRemoteTopicResult } from './workspace-remote-topic.js';
|
|
35
|
+
import { type LocalRemotePullRequestJournal, type LocalRemotePullRequestResult } from './workspace-remote-pull-request.js';
|
|
36
|
+
import { type LocalPortableHistoryConversionResult, type LocalPortableHistoryPlan } from './workspace-portable-authoring.js';
|
|
37
|
+
import { type LocalWorkspaceTaskScope } from './workspace-scope.js';
|
|
38
|
+
import { type LocalDocumentEmbedIssue } from './document-embeds.js';
|
|
39
|
+
import { type LocalWorkspaceStorageMode, type LocalWorkspaceTopology } from './workspace-topology.js';
|
|
40
|
+
export type LocalWorkspaceProjectionStatus = {
|
|
41
|
+
version: 1;
|
|
42
|
+
workspace: LocalWorkspace;
|
|
43
|
+
projection_dir: string;
|
|
44
|
+
control_dir: string;
|
|
45
|
+
head_root_hash: string;
|
|
46
|
+
projection_root_hash: string;
|
|
47
|
+
projection_dirty: boolean;
|
|
48
|
+
task_scope: LocalWorkspaceTaskScope | null;
|
|
49
|
+
/**
|
|
50
|
+
* The workspace this one forked from, and whether its head holds commits
|
|
51
|
+
* this one lacks (sdlc integrate reconcile --source brings them in).
|
|
52
|
+
*/
|
|
53
|
+
source?: {
|
|
54
|
+
workspace_id: string;
|
|
55
|
+
head_revision: string;
|
|
56
|
+
behind: boolean;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export type LocalWorkspaceProjectionRecoveryResult = {
|
|
60
|
+
version: 1;
|
|
61
|
+
status: 'unchanged' | 'recovered';
|
|
62
|
+
workspace: LocalWorkspace;
|
|
63
|
+
head_root_hash: string;
|
|
64
|
+
previous_projection_root_hash: string | null;
|
|
65
|
+
discarded_unreadable_projection: boolean;
|
|
66
|
+
};
|
|
67
|
+
export type LocalWorkspaceCommitResult = {
|
|
68
|
+
version: 1;
|
|
69
|
+
status: 'unchanged';
|
|
70
|
+
workspace: LocalWorkspace;
|
|
71
|
+
root_hash: string;
|
|
72
|
+
} | {
|
|
73
|
+
version: 1;
|
|
74
|
+
status: 'committed';
|
|
75
|
+
/**
|
|
76
|
+
* Read first: validation passed (a failure commits nothing and throws),
|
|
77
|
+
* with every warning below and those about the graph's shape (iss-424).
|
|
78
|
+
*/
|
|
79
|
+
validation: {
|
|
80
|
+
status: 'passed' | 'passed_with_warnings';
|
|
81
|
+
warnings: string[];
|
|
82
|
+
};
|
|
83
|
+
workspace: LocalWorkspace;
|
|
84
|
+
commit: LocalWorkspaceCommit;
|
|
85
|
+
source_context: LocalWorkspaceCommitSourceContext | null;
|
|
86
|
+
/** Document embeds this commit leaves pointing at missing entities. */
|
|
87
|
+
document_embed_warnings?: LocalDocumentEmbedIssue[];
|
|
88
|
+
/** Libraries this commit adds or changes that read as built here. */
|
|
89
|
+
library_origin_warnings?: CodeToGraphValidationWarning[];
|
|
90
|
+
};
|
|
91
|
+
export type LocalMultiRepositoryContext = {
|
|
92
|
+
version: 1;
|
|
93
|
+
graph_repository: {
|
|
94
|
+
repository_id: string;
|
|
95
|
+
state_dir: string;
|
|
96
|
+
};
|
|
97
|
+
source_repository: {
|
|
98
|
+
binding: LocalSourceRepositoryBinding | null;
|
|
99
|
+
git_ref: string | null;
|
|
100
|
+
git_head: string;
|
|
101
|
+
git_worktree_path: string;
|
|
102
|
+
};
|
|
103
|
+
graph_workspace: {
|
|
104
|
+
workspace_id: string;
|
|
105
|
+
source_workspace_id: string | null;
|
|
106
|
+
sdlc_branch: string | null;
|
|
107
|
+
fork_revision: string;
|
|
108
|
+
head_revision: string;
|
|
109
|
+
projection_dir: string;
|
|
110
|
+
};
|
|
111
|
+
topology: {
|
|
112
|
+
topology_path: string;
|
|
113
|
+
storage_mode: LocalWorkspaceStorageMode;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
/** What sdlc workspace attach --all-members did for each member of the folder. */
|
|
117
|
+
export type LocalFolderAttachResult = {
|
|
118
|
+
version: 1;
|
|
119
|
+
folder: string;
|
|
120
|
+
source_workspace_id: string;
|
|
121
|
+
head_revision: string;
|
|
122
|
+
attached: Array<{
|
|
123
|
+
name: string;
|
|
124
|
+
path: string;
|
|
125
|
+
workspace_id: string;
|
|
126
|
+
projection_dir: string;
|
|
127
|
+
nodes: number;
|
|
128
|
+
edges: number;
|
|
129
|
+
}>;
|
|
130
|
+
skipped: SkippedFolderMember[];
|
|
131
|
+
/** Attached members whose head lacks the coordinator's head. */
|
|
132
|
+
behind: Array<{
|
|
133
|
+
name: string;
|
|
134
|
+
path: string;
|
|
135
|
+
workspace_id: string;
|
|
136
|
+
head_revision: string;
|
|
137
|
+
/** Run in the member's checkout to bring in the coordinator's commits. */
|
|
138
|
+
catch_up: string;
|
|
139
|
+
}>;
|
|
140
|
+
/** Attached members whose fork binding moved to upstream (realignForkBinding). */
|
|
141
|
+
rebound: Array<{
|
|
142
|
+
name: string;
|
|
143
|
+
path: string;
|
|
144
|
+
from: string;
|
|
145
|
+
to: string;
|
|
146
|
+
}>;
|
|
147
|
+
};
|
|
148
|
+
export declare class LocalWorkspaceRuntime {
|
|
149
|
+
readonly git: GitWorktreeContext;
|
|
150
|
+
readonly state_dir: string;
|
|
151
|
+
readonly store: LocalWorkspaceStore;
|
|
152
|
+
readonly graphs: LocalWorkspaceGraphStore;
|
|
153
|
+
topology: LocalWorkspaceTopology | null;
|
|
154
|
+
private readonly runtime_lease;
|
|
155
|
+
private closed;
|
|
156
|
+
private readonly resolver_store;
|
|
157
|
+
private readonly remote_store;
|
|
158
|
+
private readonly remote_fetcher;
|
|
159
|
+
private readonly remote_pusher;
|
|
160
|
+
private readonly remote_topic_publisher;
|
|
161
|
+
private readonly remote_pull_request_creator;
|
|
162
|
+
private readonly portable_authoring;
|
|
163
|
+
private readonly commits;
|
|
164
|
+
private readonly authority;
|
|
165
|
+
private readonly handoff_runtime;
|
|
166
|
+
private readonly pruner;
|
|
167
|
+
private readonly branch_runtime;
|
|
168
|
+
private readonly integration_runtime;
|
|
169
|
+
private readonly pick_runtime;
|
|
170
|
+
private readonly upstream_runtime;
|
|
171
|
+
private readonly environment_runtime;
|
|
172
|
+
private readonly materialize_projection;
|
|
173
|
+
private constructor();
|
|
174
|
+
static open(input?: {
|
|
175
|
+
cwd?: string;
|
|
176
|
+
state_dir?: string;
|
|
177
|
+
graph_repository_id?: string;
|
|
178
|
+
materialize_projection?: typeof materializeGraphProjection;
|
|
179
|
+
}): Promise<LocalWorkspaceRuntime>;
|
|
180
|
+
close(): void;
|
|
181
|
+
initializeCurrentWorkspace(input?: {
|
|
182
|
+
actor_kind?: LocalWorkspaceActorKind;
|
|
183
|
+
source_repository_association_id?: string;
|
|
184
|
+
source_remote_name?: string;
|
|
185
|
+
storage_mode?: LocalWorkspaceStorageMode;
|
|
186
|
+
}): Promise<LocalWorkspaceProjectionStatus>;
|
|
187
|
+
private registerProjectionAsWorkspace;
|
|
188
|
+
private persistCurrentTopology;
|
|
189
|
+
private bindCurrentSourceRepository;
|
|
190
|
+
/**
|
|
191
|
+
* The remote a new binding takes when none is named: the one the
|
|
192
|
+
* association is bound to from another clone, when this repository has a
|
|
193
|
+
* remote of that identity; else the remote its references are named from
|
|
194
|
+
* (namingRemote), else origin. A binding the repository already has keeps
|
|
195
|
+
* its own remote (bindCurrentSourceRepository).
|
|
196
|
+
*/
|
|
197
|
+
private defaultSourceRemote;
|
|
198
|
+
/**
|
|
199
|
+
* A binding made before init and attach bound the naming remote (2026-10-28)
|
|
200
|
+
* may name a fork's origin while its references name upstream: this moves
|
|
201
|
+
* it to upstream, with the topology of every attached checkout of the
|
|
202
|
+
* repository, so a workspace commit's remote identity names the repository
|
|
203
|
+
* its references name. Only origin gives way, only to upstream, as in
|
|
204
|
+
* repositoryNames, and only for a binding made before that rule, so a
|
|
205
|
+
* remote chosen since is kept. Only the binding row moves: a checkout's
|
|
206
|
+
* topology still naming origin matches it as moved, and opening the
|
|
207
|
+
* checkout rewrites it. Returns the identities it moved between, or null.
|
|
208
|
+
*/
|
|
209
|
+
private realignForkBinding;
|
|
210
|
+
attachCurrentSourceWorkspace(input: {
|
|
211
|
+
source_workspace_id: string;
|
|
212
|
+
expected_source_sdlc_head_commit_id: string;
|
|
213
|
+
source_repository_association_id: string;
|
|
214
|
+
source_remote_name?: string;
|
|
215
|
+
actor_kind?: LocalWorkspaceActorKind;
|
|
216
|
+
storage_mode?: LocalWorkspaceStorageMode;
|
|
217
|
+
task_scope: LocalWorkspaceTaskScope;
|
|
218
|
+
/** Materialize the whole graph rather than only the task scope. */
|
|
219
|
+
full_projection?: boolean;
|
|
220
|
+
}): Promise<LocalWorkspaceProjectionStatus>;
|
|
221
|
+
/**
|
|
222
|
+
* Attaches every other repository of the folder whose home this workspace's
|
|
223
|
+
* checkout belongs to (run in its plan coordinator), each from this
|
|
224
|
+
* workspace's head with its whole-repository scope (repositoryTaskScope).
|
|
225
|
+
* A member that cannot attach now (already attached, no node cites it yet,
|
|
226
|
+
* or attach refuses) is skipped with its reason, so a rerun picks it up.
|
|
227
|
+
*/
|
|
228
|
+
attachFolderMembers(input?: {
|
|
229
|
+
actor_kind?: LocalWorkspaceActorKind;
|
|
230
|
+
storage_mode?: LocalWorkspaceStorageMode;
|
|
231
|
+
full_projection?: boolean;
|
|
232
|
+
}): Promise<LocalFolderAttachResult>;
|
|
233
|
+
getMultiRepositoryContext(): Promise<LocalMultiRepositoryContext>;
|
|
234
|
+
detachCurrentSourceWorkspace(): Promise<{
|
|
235
|
+
version: 1;
|
|
236
|
+
status: 'detached';
|
|
237
|
+
workspace: LocalWorkspace;
|
|
238
|
+
topology_path: string;
|
|
239
|
+
projection_dir: string;
|
|
240
|
+
projection_preserved: true;
|
|
241
|
+
source_binding_removed: boolean;
|
|
242
|
+
}>;
|
|
243
|
+
createChildWorkspace(input: {
|
|
244
|
+
actor_workspace_id: string;
|
|
245
|
+
target_path: string;
|
|
246
|
+
actor_kind?: LocalWorkspaceActorKind;
|
|
247
|
+
task_scope: LocalWorkspaceTaskScope;
|
|
248
|
+
}): Promise<LocalWorkspaceProjectionStatus>;
|
|
249
|
+
listWorkspaces(): LocalWorkspace[];
|
|
250
|
+
/**
|
|
251
|
+
* Replaces a child workspace's declared task scope, for example when a plan
|
|
252
|
+
* grows. The new scope must still cover the workspace's own changes, which
|
|
253
|
+
* are measured from its merge base with its source.
|
|
254
|
+
*/
|
|
255
|
+
replaceTaskScope(input: {
|
|
256
|
+
actor_workspace_id: string;
|
|
257
|
+
workspace_id: string;
|
|
258
|
+
task_scope: LocalWorkspaceTaskScope;
|
|
259
|
+
}): Promise<{
|
|
260
|
+
version: 1;
|
|
261
|
+
workspace_id: string;
|
|
262
|
+
previous_task_scope: LocalWorkspaceTaskScope | null;
|
|
263
|
+
task_scope: LocalWorkspaceTaskScope;
|
|
264
|
+
}>;
|
|
265
|
+
/**
|
|
266
|
+
* Removes one entity file from the current workspace's projection and, when
|
|
267
|
+
* the head has that entity, records the deletion for the next commit, like
|
|
268
|
+
* hosted `sdlc rm`. The commit still enforces the task scope.
|
|
269
|
+
*/
|
|
270
|
+
removeEntity(input: {
|
|
271
|
+
actor_workspace_id: string;
|
|
272
|
+
relative_path: string;
|
|
273
|
+
}): Promise<{
|
|
274
|
+
version: 1;
|
|
275
|
+
workspace_id: string;
|
|
276
|
+
relative_path: string;
|
|
277
|
+
deletion_recorded: boolean;
|
|
278
|
+
}>;
|
|
279
|
+
/**
|
|
280
|
+
* Runs a `sdlc workspace doc` command against the current workspace's
|
|
281
|
+
* projection, under the same authority check and operation lock as `rm`
|
|
282
|
+
* and `commit`, so it never edits a projection another operation is using.
|
|
283
|
+
*/
|
|
284
|
+
withDocumentProjection<T>(input: {
|
|
285
|
+
actor_workspace_id: string;
|
|
286
|
+
operation: string;
|
|
287
|
+
run: (projection_dir: string) => Promise<T>;
|
|
288
|
+
}): Promise<T>;
|
|
289
|
+
/**
|
|
290
|
+
* Writes a workspace commit's graph as a canonical portable graph file, the
|
|
291
|
+
* format `sdlc save --graph-file` reads. Defaults to the workspace head.
|
|
292
|
+
*/
|
|
293
|
+
exportWorkspaceGraph(input: {
|
|
294
|
+
workspace_id: string;
|
|
295
|
+
output_path: string;
|
|
296
|
+
commit_id?: string;
|
|
297
|
+
/** `built` reads each pending claim at its built content. */
|
|
298
|
+
view?: LocalClaimView;
|
|
299
|
+
}): Promise<{
|
|
300
|
+
version: 1;
|
|
301
|
+
view: LocalClaimView;
|
|
302
|
+
workspace_id: string;
|
|
303
|
+
/** The commit read: for the built view, the head the view is taken of. */
|
|
304
|
+
commit_id: string;
|
|
305
|
+
/** The root of the written graph: for the built view, not the commit's. */
|
|
306
|
+
root_hash: string;
|
|
307
|
+
output_path: string;
|
|
308
|
+
marked_for_removal?: LocalBuiltView['marked_for_removal'];
|
|
309
|
+
left_out_orphans?: LocalBuiltView['left_out_orphans'];
|
|
310
|
+
validation?: LocalBuiltView['validation'];
|
|
311
|
+
}>;
|
|
312
|
+
/** The workspace's pending claims: merged under a gate and not landed. */
|
|
313
|
+
listPendingClaims(input: {
|
|
314
|
+
workspace_id: string;
|
|
315
|
+
}): LocalClaimList;
|
|
316
|
+
/**
|
|
317
|
+
* Each node's claim status in a view (`sdlc workspace status`), read from a
|
|
318
|
+
* coordinator's committed head and its pending claims. A plan workspace (one
|
|
319
|
+
* with no active plans under it) reads its coordinator, whose head is what
|
|
320
|
+
* the plans merged into. Source
|
|
321
|
+
* references are checked against `commit` in this checkout's repository.
|
|
322
|
+
* Read-only.
|
|
323
|
+
*/
|
|
324
|
+
workspaceClaimStatus(input: {
|
|
325
|
+
workspace_id: string;
|
|
326
|
+
view?: ClaimStatusView;
|
|
327
|
+
commit?: string;
|
|
328
|
+
environments?: ClaimStatusEnvironment[];
|
|
329
|
+
cites_code?: string[];
|
|
330
|
+
nodes?: string[];
|
|
331
|
+
status?: ClaimStatus;
|
|
332
|
+
stale_only?: boolean;
|
|
333
|
+
behind_only?: boolean;
|
|
334
|
+
}): Promise<ClaimStatusResult & {
|
|
335
|
+
asked_workspace_id?: string;
|
|
336
|
+
}>;
|
|
337
|
+
/**
|
|
338
|
+
* The workspace a claim read answers from: a coordinator has active plans
|
|
339
|
+
* under it and reads itself; a plan reads the coordinator it merges into.
|
|
340
|
+
*/
|
|
341
|
+
private claimReadWorkspace;
|
|
342
|
+
/**
|
|
343
|
+
* `sdlc variants`: each Variant Set in the committed graph with its gap and
|
|
344
|
+
* its sync entities' claim status (docs/specs/graph-variants.md, P3a), and
|
|
345
|
+
* with an environment, its members' forms by claim status. It reads the
|
|
346
|
+
* graph claim status reads, so a plan reads its coordinator. Read-only.
|
|
347
|
+
*/
|
|
348
|
+
workspaceVariants(input: {
|
|
349
|
+
workspace_id: string;
|
|
350
|
+
/** The code the sync entities' references are checked against; main by default. */
|
|
351
|
+
commit?: string;
|
|
352
|
+
environments?: ClaimStatusEnvironment[];
|
|
353
|
+
}): Promise<VariantsReport & {
|
|
354
|
+
workspace_id: string;
|
|
355
|
+
asked_workspace_id?: string;
|
|
356
|
+
}>;
|
|
357
|
+
/**
|
|
358
|
+
* Claim freshness of the nodes and edges with evidence in the current
|
|
359
|
+
* workspace's projection (`sdlc workspace evidence status`): what sign
|
|
360
|
+
* writes, uncommitted edits included. Read-only.
|
|
361
|
+
*/
|
|
362
|
+
workspaceEvidenceStatus(input: {
|
|
363
|
+
actor_workspace_id: string;
|
|
364
|
+
nodes?: string[];
|
|
365
|
+
edges?: string[];
|
|
366
|
+
behind_only?: boolean;
|
|
367
|
+
}): Promise<EvidenceStatusResult>;
|
|
368
|
+
/**
|
|
369
|
+
* `sdlc workspace evidence sign`: pins the selected entities' references to
|
|
370
|
+
* their current object hash in the projection, after verifying each code
|
|
371
|
+
* reference it signs at `commit` (default HEAD). Writes nothing when any
|
|
372
|
+
* does not hold. `changed` selects every node and edge the plan changed
|
|
373
|
+
* since its merge base with the coordinator. A signed entity outside a
|
|
374
|
+
* plan's task scope widens the scope to its meta. Commits nothing.
|
|
375
|
+
* `repository` is the Git repository whose code the references are
|
|
376
|
+
* verified in (default this workspace's own), so a graph that cites
|
|
377
|
+
* another repository signs that repository's references against its code.
|
|
378
|
+
*/
|
|
379
|
+
signEvidence(input: {
|
|
380
|
+
actor_workspace_id: string;
|
|
381
|
+
nodes?: string[];
|
|
382
|
+
edges?: string[];
|
|
383
|
+
references?: string[];
|
|
384
|
+
changed?: boolean;
|
|
385
|
+
commit?: string;
|
|
386
|
+
repository?: string;
|
|
387
|
+
now?: Date;
|
|
388
|
+
}): Promise<EvidenceSignResult>;
|
|
389
|
+
/** signEvidence's work, for a caller already holding the workspace operation lock. */
|
|
390
|
+
private signEvidenceLocked;
|
|
391
|
+
/**
|
|
392
|
+
* `sdlc workspace evidence record`: writes each node's source references
|
|
393
|
+
* (already verified at `commit` by the caller) into the current workspace's
|
|
394
|
+
* projection, as sources.py record does, each replacing a reference of the
|
|
395
|
+
* same identity under any name the repository goes by. With `sign`, signs
|
|
396
|
+
* exactly those references under the same lock, and restores the node
|
|
397
|
+
* files when the sign fails or is refused, so nothing is left recorded
|
|
398
|
+
* unsigned. Refuses, before writing anything, a node with no file in the
|
|
399
|
+
* projection or holding legacy source_evidence. A node whose references
|
|
400
|
+
* would pass 100 is left out and returned under over_limit with the count
|
|
401
|
+
* it would have (sources.py record). Commits nothing.
|
|
402
|
+
*/
|
|
403
|
+
recordSourceReferences(input: {
|
|
404
|
+
actor_workspace_id: string;
|
|
405
|
+
nodes: Record<string, SourceReferenceSpec[]>;
|
|
406
|
+
/** A full commit of `repository`, resolved by the caller. */
|
|
407
|
+
commit: string;
|
|
408
|
+
/** The Git repository whose code the references cite. */
|
|
409
|
+
repository: string;
|
|
410
|
+
sign?: boolean;
|
|
411
|
+
now?: Date;
|
|
412
|
+
}): Promise<{
|
|
413
|
+
workspace_id: string;
|
|
414
|
+
repository: string;
|
|
415
|
+
recorded: string[];
|
|
416
|
+
over_limit: Record<string, number>;
|
|
417
|
+
signed?: EvidenceSignResult;
|
|
418
|
+
}>;
|
|
419
|
+
/**
|
|
420
|
+
* The source references of a workspace's graph as built (`sdlc workspace
|
|
421
|
+
* evidence lookup|check|coverage`): its projection as it stands, so
|
|
422
|
+
* references just recorded count before a commit, with each pending claim
|
|
423
|
+
* at its built content, as sources.py index reads it with
|
|
424
|
+
* owners.built_claims. Only nodes with a pending claim come from the built
|
|
425
|
+
* view: one left out there as an orphan, under a parent never built, still
|
|
426
|
+
* names its files.
|
|
427
|
+
*/
|
|
428
|
+
workspaceSourceIndex(input: {
|
|
429
|
+
workspace_id: string;
|
|
430
|
+
}): Promise<{
|
|
431
|
+
workspace_id: string;
|
|
432
|
+
entries: SourceEntry[];
|
|
433
|
+
nodes: number;
|
|
434
|
+
}>;
|
|
435
|
+
/**
|
|
436
|
+
* What changed repository files reach in a workspace's committed head graph
|
|
437
|
+
* (`sdlc workspace blast-radius`). Read-only: it answers from the head, so
|
|
438
|
+
* uncommitted edits never change the answer. The planned view composes the
|
|
439
|
+
* projection only to say when it differs (`projection_dirty` and a warning);
|
|
440
|
+
* the built view, read by readiness on every landing, skips that compose.
|
|
441
|
+
*/
|
|
442
|
+
workspaceBlastRadius(input: {
|
|
443
|
+
workspace_id: string;
|
|
444
|
+
files: string[];
|
|
445
|
+
/** `built` reads each pending claim at its built content. */
|
|
446
|
+
view?: LocalClaimView;
|
|
447
|
+
}): Promise<BlastRadiusResult>;
|
|
448
|
+
/** `sdlc workspace find`: nodes ranked by the words they match (graph-read.ts). */
|
|
449
|
+
workspaceFind(input: {
|
|
450
|
+
workspace_id: string;
|
|
451
|
+
terms: string[];
|
|
452
|
+
types?: string[];
|
|
453
|
+
origin?: NodeOrigin;
|
|
454
|
+
limit?: number;
|
|
455
|
+
view?: LocalClaimView;
|
|
456
|
+
}): Promise<FindResult>;
|
|
457
|
+
/** `sdlc workspace show`: nodes and edges read compactly with their relations (graph-read.ts). */
|
|
458
|
+
workspaceShow(input: {
|
|
459
|
+
workspace_id: string;
|
|
460
|
+
ids: string[];
|
|
461
|
+
budget?: number | null;
|
|
462
|
+
view?: LocalClaimView;
|
|
463
|
+
}): Promise<ShowResult>;
|
|
464
|
+
/**
|
|
465
|
+
* The graph a read command answers from: the committed head, or the built
|
|
466
|
+
* view, as blast radius reads it, with what blast radius reports beside it.
|
|
467
|
+
*/
|
|
468
|
+
private readGraphForView;
|
|
469
|
+
/** Whether a workspace's projection differs from its committed head graph, with the warning blast radius gives. */
|
|
470
|
+
private projectionDirty;
|
|
471
|
+
/**
|
|
472
|
+
* Compares the committed plans of a coordinator's active child workspaces
|
|
473
|
+
* pairwise. Read-only: it never locks, commits, or moves a workspace.
|
|
474
|
+
*/
|
|
475
|
+
compareChildWorkspacePlans(input: {
|
|
476
|
+
coordinator_workspace_id: string;
|
|
477
|
+
}): Promise<LocalWorkspaceOverlapResult>;
|
|
478
|
+
inspectAuthority(): LocalWorkspaceAuthorityInspection;
|
|
479
|
+
resolverStatus(): Promise<LocalWorkspaceResolverStatus>;
|
|
480
|
+
configureResolver(input: {
|
|
481
|
+
actor_workspace_id: string;
|
|
482
|
+
configuration: unknown;
|
|
483
|
+
}): Promise<LocalWorkspaceResolverStatus>;
|
|
484
|
+
configureResolverFromFile(input: {
|
|
485
|
+
actor_workspace_id: string;
|
|
486
|
+
path: string;
|
|
487
|
+
}): Promise<LocalWorkspaceResolverStatus>;
|
|
488
|
+
clearResolver(input: {
|
|
489
|
+
actor_workspace_id: string;
|
|
490
|
+
}): Promise<LocalWorkspaceResolverStatus>;
|
|
491
|
+
loadResolver(input: {
|
|
492
|
+
actor_workspace_id: string;
|
|
493
|
+
allow_network_resolver: boolean;
|
|
494
|
+
}): Promise<LoadedLocalWorkspaceResolver>;
|
|
495
|
+
listRemotes(): Promise<LocalWorkspaceRemoteStatus[]>;
|
|
496
|
+
inspectRemote(name: string): Promise<LocalWorkspaceRemoteStatus>;
|
|
497
|
+
setRemote(input: {
|
|
498
|
+
actor_workspace_id: string;
|
|
499
|
+
remote: LocalWorkspaceRemoteConfiguration;
|
|
500
|
+
}): Promise<LocalWorkspaceRemoteStatus>;
|
|
501
|
+
removeRemote(input: {
|
|
502
|
+
actor_workspace_id: string;
|
|
503
|
+
name: string;
|
|
504
|
+
}): Promise<{
|
|
505
|
+
version: 1;
|
|
506
|
+
removed: boolean;
|
|
507
|
+
}>;
|
|
508
|
+
discoverRemote(input: {
|
|
509
|
+
actor_workspace_id: string;
|
|
510
|
+
name: string;
|
|
511
|
+
fetch_impl?: typeof fetch;
|
|
512
|
+
timeout_ms?: number;
|
|
513
|
+
}): Promise<LocalWorkspaceRemoteDiscovery>;
|
|
514
|
+
listRemoteTrackingRefs(name?: string): LocalRemoteTrackingRef[];
|
|
515
|
+
listLocalBranches(): LocalBranchStatus[];
|
|
516
|
+
createLocalBranchFromTrackingRef(input: {
|
|
517
|
+
actor_workspace_id: string;
|
|
518
|
+
local_ref: string;
|
|
519
|
+
remote_name: string;
|
|
520
|
+
source_ref: string;
|
|
521
|
+
}): Promise<LocalBranchCreationResult>;
|
|
522
|
+
selectLocalBranch(input: {
|
|
523
|
+
actor_workspace_id: string;
|
|
524
|
+
}): Promise<LocalBranchSelectionResult>;
|
|
525
|
+
integrateBranchUpstream(input: {
|
|
526
|
+
actor_workspace_id: string;
|
|
527
|
+
conflict_resolver?: LocalConflictResolver;
|
|
528
|
+
resolution_budget?: LocalConflictResolutionBudget;
|
|
529
|
+
allow_network_resolver?: boolean;
|
|
530
|
+
}): Promise<LocalUpstreamIntegrationResult>;
|
|
531
|
+
listBranchIntegrationAttempts(local_ref?: string): import("./workspace-history-types.js").LocalBranchIntegrationAttempt[];
|
|
532
|
+
listBranchIntegrationResolutionAttempts(attempt_id: string): import("./workspace-history-types.js").LocalBranchIntegrationResolutionAttempt[];
|
|
533
|
+
listBranchIntegrationRevertAttempts(local_ref?: string): import("./workspace-history-types.js").LocalBranchIntegrationRevertAttempt[];
|
|
534
|
+
inspectBranchUpstream(input: {
|
|
535
|
+
actor_workspace_id: string;
|
|
536
|
+
}): Promise<LocalUpstreamIntegrationStatus>;
|
|
537
|
+
revertBranchUpstream(input: {
|
|
538
|
+
actor_workspace_id: string;
|
|
539
|
+
branch_integration_attempt_id: string;
|
|
540
|
+
message?: string;
|
|
541
|
+
}): Promise<LocalUpstreamRevertResult>;
|
|
542
|
+
fetchRemote(input: {
|
|
543
|
+
actor_workspace_id: string;
|
|
544
|
+
name: string;
|
|
545
|
+
source_ref: string;
|
|
546
|
+
fetch_impl?: typeof fetch;
|
|
547
|
+
timeout_ms?: number;
|
|
548
|
+
}): Promise<LocalRemoteFetchResult>;
|
|
549
|
+
listRemotePushJournals(name?: string): LocalRemotePushJournal[];
|
|
550
|
+
listRemoteTopicJournals(name?: string): LocalRemoteTopicJournal[];
|
|
551
|
+
listRemotePullRequestJournals(name?: string): LocalRemotePullRequestJournal[];
|
|
552
|
+
planPortableHistory(input: {
|
|
553
|
+
actor_workspace_id: string;
|
|
554
|
+
local_commit_id?: string;
|
|
555
|
+
}): Promise<LocalPortableHistoryPlan>;
|
|
556
|
+
convertPortableHistory(input: {
|
|
557
|
+
actor_workspace_id: string;
|
|
558
|
+
local_commit_id?: string;
|
|
559
|
+
identity_file?: unknown;
|
|
560
|
+
base_remote_name?: string;
|
|
561
|
+
base_source_ref?: string;
|
|
562
|
+
}): Promise<LocalPortableHistoryConversionResult>;
|
|
563
|
+
pushRemote(input: {
|
|
564
|
+
actor_workspace_id: string;
|
|
565
|
+
name: string;
|
|
566
|
+
destination_ref: string;
|
|
567
|
+
new_commit_id?: string;
|
|
568
|
+
fetch_impl?: typeof fetch;
|
|
569
|
+
timeout_ms?: number;
|
|
570
|
+
}): Promise<LocalRemotePushResult>;
|
|
571
|
+
publishRemoteTopic(input: {
|
|
572
|
+
actor_workspace_id: string;
|
|
573
|
+
name: string;
|
|
574
|
+
topic_ref: string;
|
|
575
|
+
target_ref: string;
|
|
576
|
+
new_commit_id?: string;
|
|
577
|
+
fetch_impl?: typeof fetch;
|
|
578
|
+
timeout_ms?: number;
|
|
579
|
+
}): Promise<LocalRemoteTopicResult>;
|
|
580
|
+
createRemotePullRequest(input: {
|
|
581
|
+
actor_workspace_id: string;
|
|
582
|
+
name: string;
|
|
583
|
+
source_ref: string;
|
|
584
|
+
target_ref: string;
|
|
585
|
+
title: string;
|
|
586
|
+
description?: string | null;
|
|
587
|
+
fetch_impl?: typeof fetch;
|
|
588
|
+
timeout_ms?: number;
|
|
589
|
+
}): Promise<LocalRemotePullRequestResult>;
|
|
590
|
+
getWorkspaceStatus(workspace_id: string): Promise<LocalWorkspaceProjectionStatus>;
|
|
591
|
+
commitCurrentProjection(input: {
|
|
592
|
+
actor_workspace_id: string;
|
|
593
|
+
message: string;
|
|
594
|
+
evidence_scope?: LocalSourceEvidenceScope;
|
|
595
|
+
}): Promise<LocalWorkspaceCommitResult>;
|
|
596
|
+
enqueueChildCommit(input: {
|
|
597
|
+
actor_workspace_id: string;
|
|
598
|
+
child_workspace_id: string;
|
|
599
|
+
child_commit_id?: string;
|
|
600
|
+
gate?: LocalGate;
|
|
601
|
+
}): Promise<LocalIntegrationQueueEntry>;
|
|
602
|
+
readBuiltView(input: {
|
|
603
|
+
coordinator_workspace_id: string;
|
|
604
|
+
}): Promise<LocalBuiltView>;
|
|
605
|
+
integrateNext(input: {
|
|
606
|
+
actor_workspace_id: string;
|
|
607
|
+
max_retries?: number;
|
|
608
|
+
conflict_resolver?: LocalConflictResolver;
|
|
609
|
+
resolution_budget?: LocalConflictResolutionBudget;
|
|
610
|
+
allow_network_resolver?: boolean;
|
|
611
|
+
}): Promise<LocalIntegrationRunResult>;
|
|
612
|
+
reconcileSource(input: {
|
|
613
|
+
actor_workspace_id: string;
|
|
614
|
+
source_workspace_id: string;
|
|
615
|
+
max_retries?: number;
|
|
616
|
+
conflict_resolver?: LocalConflictResolver;
|
|
617
|
+
resolution_budget?: LocalConflictResolutionBudget;
|
|
618
|
+
allow_network_resolver?: boolean;
|
|
619
|
+
}): Promise<LocalReconciliationResult>;
|
|
620
|
+
prepareHandoff(input: {
|
|
621
|
+
actor_workspace_id: string;
|
|
622
|
+
source_workspace_id: string;
|
|
623
|
+
max_retries?: number;
|
|
624
|
+
conflict_resolver?: LocalConflictResolver;
|
|
625
|
+
resolution_budget?: LocalConflictResolutionBudget;
|
|
626
|
+
allow_network_resolver?: boolean;
|
|
627
|
+
}): Promise<LocalHandoffPrepareRunResult>;
|
|
628
|
+
listHandoffs(actor_workspace_id: string): Promise<LocalHandoffRuntimeInspection[]>;
|
|
629
|
+
inspectHandoff(input: {
|
|
630
|
+
actor_workspace_id: string;
|
|
631
|
+
handoff_id: string;
|
|
632
|
+
}): Promise<LocalHandoffRuntimeInspection>;
|
|
633
|
+
applyHandoff(input: {
|
|
634
|
+
actor_workspace_id: string;
|
|
635
|
+
handoff_id: string;
|
|
636
|
+
}): Promise<LocalHandoffApplyRunResult>;
|
|
637
|
+
/**
|
|
638
|
+
* `sdlc workspace decision reopen`: reopens the Decision and, with
|
|
639
|
+
* `revive_workspace_id`, checks out a new plan workspace at `target_path`
|
|
640
|
+
* that starts at that closed candidate's last head and takes its place.
|
|
641
|
+
*/
|
|
642
|
+
reopenDecision(input: {
|
|
643
|
+
decision_id: string;
|
|
644
|
+
reason: string;
|
|
645
|
+
revive_workspace_id?: string;
|
|
646
|
+
target_path?: string;
|
|
647
|
+
}): Promise<{
|
|
648
|
+
version: 1;
|
|
649
|
+
decision: LocalDecision;
|
|
650
|
+
workspace: LocalWorkspaceProjectionStatus | null;
|
|
651
|
+
}>;
|
|
652
|
+
/**
|
|
653
|
+
* `sdlc workspace pick`: copies chosen entities from another workspace's
|
|
654
|
+
* commit into the acting workspace as one commit with a receipt.
|
|
655
|
+
*/
|
|
656
|
+
pickEntities(input: {
|
|
657
|
+
actor_workspace_id: string;
|
|
658
|
+
source_workspace_id: string;
|
|
659
|
+
source_commit_id?: string;
|
|
660
|
+
selection: LocalPickEntity[];
|
|
661
|
+
with_dependencies?: boolean;
|
|
662
|
+
dry_run?: boolean;
|
|
663
|
+
message?: string;
|
|
664
|
+
}): Promise<LocalWorkspacePickResult>;
|
|
665
|
+
/** The current workspace, authorized to run `sdlc workspace decision`. */
|
|
666
|
+
decisionActor(): Promise<LocalWorkspace>;
|
|
667
|
+
closeWorkspace(input: {
|
|
668
|
+
actor_workspace_id: string;
|
|
669
|
+
workspace_id: string;
|
|
670
|
+
}): Promise<LocalWorkspace>;
|
|
671
|
+
planPrune(input?: {
|
|
672
|
+
min_age_hours?: number;
|
|
673
|
+
}): Promise<LocalWorkspacePrunePlan>;
|
|
674
|
+
applyPrune(input: {
|
|
675
|
+
expected_plan_hash: string;
|
|
676
|
+
min_age_hours?: number;
|
|
677
|
+
}): Promise<LocalWorkspacePruneResult>;
|
|
678
|
+
recoverCurrentProjection(input: {
|
|
679
|
+
actor_workspace_id: string;
|
|
680
|
+
expected_head_commit_id: string;
|
|
681
|
+
expected_projection_root_hash?: string;
|
|
682
|
+
discard_unreadable_projection?: boolean;
|
|
683
|
+
}): Promise<LocalWorkspaceProjectionRecoveryResult>;
|
|
684
|
+
private requireWorkspace;
|
|
685
|
+
private currentActiveWorkspace;
|
|
686
|
+
private commitRoot;
|
|
687
|
+
private readCommitGraph;
|
|
688
|
+
private assertProjectionClean;
|
|
689
|
+
}
|
|
690
|
+
//# sourceMappingURL=workspace-runtime.d.ts.map
|