@angelmsger/fx 0.0.0-stage → 0.10.1
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 +296 -0
- package/LICENSE +202 -0
- package/README.md +180 -2
- package/bin/fx.js +17 -0
- package/bin/mcp-stdio.js +7 -0
- package/defaults/tools.yaml +90 -0
- package/dist/adapters/agent-host/extension-hooks.js +123 -0
- package/dist/adapters/agent-host/extension-hooks.js.map +1 -0
- package/dist/adapters/agent-host/host.js +62 -0
- package/dist/adapters/agent-host/host.js.map +1 -0
- package/dist/adapters/agent-host/json-hooks.js +163 -0
- package/dist/adapters/agent-host/json-hooks.js.map +1 -0
- package/dist/adapters/agent-host/json-mcp.js +71 -0
- package/dist/adapters/agent-host/json-mcp.js.map +1 -0
- package/dist/adapters/agent-host/mcp-launch.js +13 -0
- package/dist/adapters/agent-host/mcp-launch.js.map +1 -0
- package/dist/adapters/agent-host/specs.js +184 -0
- package/dist/adapters/agent-host/specs.js.map +1 -0
- package/dist/adapters/agent-host/toml-mcp.js +102 -0
- package/dist/adapters/agent-host/toml-mcp.js.map +1 -0
- package/dist/adapters/calendar/lark-calendar/provider.js +26 -0
- package/dist/adapters/calendar/lark-calendar/provider.js.map +1 -0
- package/dist/adapters/calendar/wecom-calendar/provider.js +29 -0
- package/dist/adapters/calendar/wecom-calendar/provider.js.map +1 -0
- package/dist/adapters/ci/jenkins-cli/ci.js +64 -0
- package/dist/adapters/ci/jenkins-cli/ci.js.map +1 -0
- package/dist/adapters/ci/jenkins-cli/provider.js +28 -0
- package/dist/adapters/ci/jenkins-cli/provider.js.map +1 -0
- package/dist/adapters/ci/jenkins-cli/recipes.js +15 -0
- package/dist/adapters/ci/jenkins-cli/recipes.js.map +1 -0
- package/dist/adapters/clock/system-clock.js +7 -0
- package/dist/adapters/clock/system-clock.js.map +1 -0
- package/dist/adapters/cluster/kubectl/provider.js +54 -0
- package/dist/adapters/cluster/kubectl/provider.js.map +1 -0
- package/dist/adapters/cluster/kubectl/recipes.js +76 -0
- package/dist/adapters/cluster/kubectl/recipes.js.map +1 -0
- package/dist/adapters/code-host/bitbucket-cli/client.js +9 -0
- package/dist/adapters/code-host/bitbucket-cli/client.js.map +1 -0
- package/dist/adapters/code-host/bitbucket-cli/contribution-call.js +32 -0
- package/dist/adapters/code-host/bitbucket-cli/contribution-call.js.map +1 -0
- package/dist/adapters/code-host/bitbucket-cli/provider.js +186 -0
- package/dist/adapters/code-host/bitbucket-cli/provider.js.map +1 -0
- package/dist/adapters/code-host/bitbucket-cli/pull-request-reference.js +46 -0
- package/dist/adapters/code-host/bitbucket-cli/pull-request-reference.js.map +1 -0
- package/dist/adapters/code-host/bitbucket-cli/pull-request.js +114 -0
- package/dist/adapters/code-host/bitbucket-cli/pull-request.js.map +1 -0
- package/dist/adapters/code-host/bitbucket-cli/recipes.js +17 -0
- package/dist/adapters/code-host/bitbucket-cli/recipes.js.map +1 -0
- package/dist/adapters/code-host/bitbucket-cli/repository-identity.js +51 -0
- package/dist/adapters/code-host/bitbucket-cli/repository-identity.js.map +1 -0
- package/dist/adapters/code-host/local-git/import.js +30 -0
- package/dist/adapters/code-host/local-git/import.js.map +1 -0
- package/dist/adapters/code-host/local-git/provider.js +176 -0
- package/dist/adapters/code-host/local-git/provider.js.map +1 -0
- package/dist/adapters/error-tracker/sentry/client.js +53 -0
- package/dist/adapters/error-tracker/sentry/client.js.map +1 -0
- package/dist/adapters/error-tracker/sentry/provider.js +25 -0
- package/dist/adapters/error-tracker/sentry/provider.js.map +1 -0
- package/dist/adapters/error-tracker/sentry/recipes.js +18 -0
- package/dist/adapters/error-tracker/sentry/recipes.js.map +1 -0
- package/dist/adapters/error-tracker/sentry/service.js +26 -0
- package/dist/adapters/error-tracker/sentry/service.js.map +1 -0
- package/dist/adapters/error-tracker/sentry/tracker.js +83 -0
- package/dist/adapters/error-tracker/sentry/tracker.js.map +1 -0
- package/dist/adapters/family/cli.js +159 -0
- package/dist/adapters/family/cli.js.map +1 -0
- package/dist/adapters/family/service-protocol.js +73 -0
- package/dist/adapters/family/service-protocol.js.map +1 -0
- package/dist/adapters/family/service.js +75 -0
- package/dist/adapters/family/service.js.map +1 -0
- package/dist/adapters/fs/directory-replacement.js +80 -0
- package/dist/adapters/fs/directory-replacement.js.map +1 -0
- package/dist/adapters/fs/node-fs.js +223 -0
- package/dist/adapters/fs/node-fs.js.map +1 -0
- package/dist/adapters/fs/snapshot-reader.js +40 -0
- package/dist/adapters/fs/snapshot-reader.js.map +1 -0
- package/dist/adapters/git/contribution-capture.js +148 -0
- package/dist/adapters/git/contribution-capture.js.map +1 -0
- package/dist/adapters/git/contribution-command.js +44 -0
- package/dist/adapters/git/contribution-command.js.map +1 -0
- package/dist/adapters/git/contribution-system-git.js +107 -0
- package/dist/adapters/git/contribution-system-git.js.map +1 -0
- package/dist/adapters/git/contribution-transport.js +148 -0
- package/dist/adapters/git/contribution-transport.js.map +1 -0
- package/dist/adapters/git/contribution-tree.js +73 -0
- package/dist/adapters/git/contribution-tree.js.map +1 -0
- package/dist/adapters/git/system-git.js +170 -0
- package/dist/adapters/git/system-git.js.map +1 -0
- package/dist/adapters/im/lark/provider.js +26 -0
- package/dist/adapters/im/lark/provider.js.map +1 -0
- package/dist/adapters/im/wecom/provider.js +29 -0
- package/dist/adapters/im/wecom/provider.js.map +1 -0
- package/dist/adapters/installer/brew.js +16 -0
- package/dist/adapters/installer/brew.js.map +1 -0
- package/dist/adapters/installer/go.js +16 -0
- package/dist/adapters/installer/go.js.map +1 -0
- package/dist/adapters/installer/manual.js +11 -0
- package/dist/adapters/installer/manual.js.map +1 -0
- package/dist/adapters/installer/npm.js +30 -0
- package/dist/adapters/installer/npm.js.map +1 -0
- package/dist/adapters/issue-tracker/feishu-project/provider.js +40 -0
- package/dist/adapters/issue-tracker/feishu-project/provider.js.map +1 -0
- package/dist/adapters/issue-tracker/jira-cli/provider.js +46 -0
- package/dist/adapters/issue-tracker/jira-cli/provider.js.map +1 -0
- package/dist/adapters/knowledge-base/confluence/provider.js +72 -0
- package/dist/adapters/knowledge-base/confluence/provider.js.map +1 -0
- package/dist/adapters/knowledge-base/lark-wiki/provider.js +30 -0
- package/dist/adapters/knowledge-base/lark-wiki/provider.js.map +1 -0
- package/dist/adapters/log-store/openobserve-cli/provider.js +52 -0
- package/dist/adapters/log-store/openobserve-cli/provider.js.map +1 -0
- package/dist/adapters/log-store/openobserve-cli/recipes.js +16 -0
- package/dist/adapters/log-store/openobserve-cli/recipes.js.map +1 -0
- package/dist/adapters/manifest-source/file.js +108 -0
- package/dist/adapters/manifest-source/file.js.map +1 -0
- package/dist/adapters/manifest-source/git-repo.js +162 -0
- package/dist/adapters/manifest-source/git-repo.js.map +1 -0
- package/dist/adapters/manifest-source/payload.js +41 -0
- package/dist/adapters/manifest-source/payload.js.map +1 -0
- package/dist/adapters/manifest-source/stdin.js +88 -0
- package/dist/adapters/manifest-source/stdin.js.map +1 -0
- package/dist/adapters/meeting/tencent-meeting/provider.js +29 -0
- package/dist/adapters/meeting/tencent-meeting/provider.js.map +1 -0
- package/dist/adapters/metrics/prometheus-cli/provider.js +40 -0
- package/dist/adapters/metrics/prometheus-cli/provider.js.map +1 -0
- package/dist/adapters/metrics/prometheus-cli/recipes.js +17 -0
- package/dist/adapters/metrics/prometheus-cli/recipes.js.map +1 -0
- package/dist/adapters/metrics/prometheus-cli/service.js +34 -0
- package/dist/adapters/metrics/prometheus-cli/service.js.map +1 -0
- package/dist/adapters/platform/template-platform.js +41 -0
- package/dist/adapters/platform/template-platform.js.map +1 -0
- package/dist/adapters/process/deadline-process.js +21 -0
- package/dist/adapters/process/deadline-process.js.map +1 -0
- package/dist/adapters/process/diagnostic-process.js +53 -0
- package/dist/adapters/process/diagnostic-process.js.map +1 -0
- package/dist/adapters/process/executable.js +54 -0
- package/dist/adapters/process/executable.js.map +1 -0
- package/dist/adapters/process/hook-tasks.js +32 -0
- package/dist/adapters/process/hook-tasks.js.map +1 -0
- package/dist/adapters/process/lifecycle-runner.js +110 -0
- package/dist/adapters/process/lifecycle-runner.js.map +1 -0
- package/dist/adapters/process/node-process.js +193 -0
- package/dist/adapters/process/node-process.js.map +1 -0
- package/dist/adapters/process/powershell.js +52 -0
- package/dist/adapters/process/powershell.js.map +1 -0
- package/dist/adapters/process/stdio-bridge.js +31 -0
- package/dist/adapters/process/stdio-bridge.js.map +1 -0
- package/dist/adapters/process/supervision.js +19 -0
- package/dist/adapters/process/supervision.js.map +1 -0
- package/dist/adapters/process/terminate.js +32 -0
- package/dist/adapters/process/terminate.js.map +1 -0
- package/dist/adapters/process/url-opener.js +23 -0
- package/dist/adapters/process/url-opener.js.map +1 -0
- package/dist/adapters/process/watched-process.js +38 -0
- package/dist/adapters/process/watched-process.js.map +1 -0
- package/dist/adapters/prompter/terminal.js +57 -0
- package/dist/adapters/prompter/terminal.js.map +1 -0
- package/dist/adapters/reference/entry.js +19 -0
- package/dist/adapters/reference/entry.js.map +1 -0
- package/dist/adapters/registry/npm-config.js +62 -0
- package/dist/adapters/registry/npm-config.js.map +1 -0
- package/dist/adapters/registry/npm-http.js +36 -0
- package/dist/adapters/registry/npm-http.js.map +1 -0
- package/dist/adapters/registry/npm-registry.js +89 -0
- package/dist/adapters/registry/npm-registry.js.map +1 -0
- package/dist/adapters/registry/registry-policy.js +68 -0
- package/dist/adapters/registry/registry-policy.js.map +1 -0
- package/dist/adapters/task/lark-task/provider.js +26 -0
- package/dist/adapters/task/lark-task/provider.js.map +1 -0
- package/dist/adapters/task/wecom-todo/provider.js +29 -0
- package/dist/adapters/task/wecom-todo/provider.js.map +1 -0
- package/dist/adapters/worklog/jira-worklog/provider.js +56 -0
- package/dist/adapters/worklog/jira-worklog/provider.js.map +1 -0
- package/dist/application/agent/cleanup.js +4 -0
- package/dist/application/agent/cleanup.js.map +1 -0
- package/dist/application/agent/list.js +39 -0
- package/dist/application/agent/list.js.map +1 -0
- package/dist/application/agent/pick.js +91 -0
- package/dist/application/agent/pick.js.map +1 -0
- package/dist/application/agent/workspace-cleanup.js +36 -0
- package/dist/application/agent/workspace-cleanup.js.map +1 -0
- package/dist/application/can.js +94 -0
- package/dist/application/can.js.map +1 -0
- package/dist/application/config/export.js +32 -0
- package/dist/application/config/export.js.map +1 -0
- package/dist/application/config/get.js +21 -0
- package/dist/application/config/get.js.map +1 -0
- package/dist/application/config/import-layer.js +31 -0
- package/dist/application/config/import-layer.js.map +1 -0
- package/dist/application/config/import-registry.js +51 -0
- package/dist/application/config/import-registry.js.map +1 -0
- package/dist/application/config/import.js +144 -0
- package/dist/application/config/import.js.map +1 -0
- package/dist/application/config/keys.js +65 -0
- package/dist/application/config/keys.js.map +1 -0
- package/dist/application/config/list.js +30 -0
- package/dist/application/config/list.js.map +1 -0
- package/dist/application/config/resolve.js +33 -0
- package/dist/application/config/resolve.js.map +1 -0
- package/dist/application/config/set.js +36 -0
- package/dist/application/config/set.js.map +1 -0
- package/dist/application/config/settings.js +38 -0
- package/dist/application/config/settings.js.map +1 -0
- package/dist/application/config/unset.js +31 -0
- package/dist/application/config/unset.js.map +1 -0
- package/dist/application/config/values.js +36 -0
- package/dist/application/config/values.js.map +1 -0
- package/dist/application/contribution/apply-source.js +133 -0
- package/dist/application/contribution/apply-source.js.map +1 -0
- package/dist/application/contribution/collect-input.js +39 -0
- package/dist/application/contribution/collect-input.js.map +1 -0
- package/dist/application/contribution/identity.js +23 -0
- package/dist/application/contribution/identity.js.map +1 -0
- package/dist/application/contribution/plan-existing.js +216 -0
- package/dist/application/contribution/plan-existing.js.map +1 -0
- package/dist/application/contribution/plan-source.js +186 -0
- package/dist/application/contribution/plan-source.js.map +1 -0
- package/dist/application/contribution/push-types.js +4 -0
- package/dist/application/contribution/push-types.js.map +1 -0
- package/dist/application/contribution/push.js +95 -0
- package/dist/application/contribution/push.js.map +1 -0
- package/dist/application/contribution/validate.js +60 -0
- package/dist/application/contribution/validate.js.map +1 -0
- package/dist/application/docs/derive.js +92 -0
- package/dist/application/docs/derive.js.map +1 -0
- package/dist/application/docs/render-regions.js +39 -0
- package/dist/application/docs/render-regions.js.map +1 -0
- package/dist/application/docs/rendered.js +91 -0
- package/dist/application/docs/rendered.js.map +1 -0
- package/dist/application/docs/skill-catalog.js +18 -0
- package/dist/application/docs/skill-catalog.js.map +1 -0
- package/dist/application/docs/template.js +15 -0
- package/dist/application/docs/template.js.map +1 -0
- package/dist/application/doctor/agents.js +33 -0
- package/dist/application/doctor/agents.js.map +1 -0
- package/dist/application/doctor/index.js +147 -0
- package/dist/application/doctor/index.js.map +1 -0
- package/dist/application/doctor/installations.js +29 -0
- package/dist/application/doctor/installations.js.map +1 -0
- package/dist/application/doctor/login.js +106 -0
- package/dist/application/doctor/login.js.map +1 -0
- package/dist/application/doctor/manifest.js +104 -0
- package/dist/application/doctor/manifest.js.map +1 -0
- package/dist/application/doctor/repos.js +36 -0
- package/dist/application/doctor/repos.js.map +1 -0
- package/dist/application/doctor/root.js +25 -0
- package/dist/application/doctor/root.js.map +1 -0
- package/dist/application/doctor/self.js +41 -0
- package/dist/application/doctor/self.js.map +1 -0
- package/dist/application/doctor/tools.js +105 -0
- package/dist/application/doctor/tools.js.map +1 -0
- package/dist/application/doctor/types.js +15 -0
- package/dist/application/doctor/types.js.map +1 -0
- package/dist/application/env/list.js +41 -0
- package/dist/application/env/list.js.map +1 -0
- package/dist/application/env/names.js +19 -0
- package/dist/application/env/names.js.map +1 -0
- package/dist/application/env/scope.js +16 -0
- package/dist/application/env/scope.js.map +1 -0
- package/dist/application/env/show.js +38 -0
- package/dist/application/env/show.js.map +1 -0
- package/dist/application/harness/apply.js +53 -0
- package/dist/application/harness/apply.js.map +1 -0
- package/dist/application/harness/cleanup.js +51 -0
- package/dist/application/harness/cleanup.js.map +1 -0
- package/dist/application/harness/inspect.js +44 -0
- package/dist/application/harness/inspect.js.map +1 -0
- package/dist/application/harness/mcp-readiness-batch.js +28 -0
- package/dist/application/harness/mcp-readiness-batch.js.map +1 -0
- package/dist/application/harness/mcp-readiness.js +96 -0
- package/dist/application/harness/mcp-readiness.js.map +1 -0
- package/dist/application/harness/names.js +16 -0
- package/dist/application/harness/names.js.map +1 -0
- package/dist/application/harness/plan.js +156 -0
- package/dist/application/harness/plan.js.map +1 -0
- package/dist/application/harness/reconcile.js +50 -0
- package/dist/application/harness/reconcile.js.map +1 -0
- package/dist/application/harness/session.js +82 -0
- package/dist/application/harness/session.js.map +1 -0
- package/dist/application/harness/stages.js +114 -0
- package/dist/application/harness/stages.js.map +1 -0
- package/dist/application/harness/targets.js +111 -0
- package/dist/application/harness/targets.js.map +1 -0
- package/dist/application/harness/types.js +10 -0
- package/dist/application/harness/types.js.map +1 -0
- package/dist/application/hook/apply.js +63 -0
- package/dist/application/hook/apply.js.map +1 -0
- package/dist/application/hook/automatic-sync.js +184 -0
- package/dist/application/hook/automatic-sync.js.map +1 -0
- package/dist/application/hook/cleanup.js +46 -0
- package/dist/application/hook/cleanup.js.map +1 -0
- package/dist/application/hook/dispatch-host.js +9 -0
- package/dist/application/hook/dispatch-host.js.map +1 -0
- package/dist/application/hook/dispatch.js +67 -0
- package/dist/application/hook/dispatch.js.map +1 -0
- package/dist/application/hook/observe.js +138 -0
- package/dist/application/hook/observe.js.map +1 -0
- package/dist/application/hook/output.js +11 -0
- package/dist/application/hook/output.js.map +1 -0
- package/dist/application/hook/plan.js +160 -0
- package/dist/application/hook/plan.js.map +1 -0
- package/dist/application/hook/reconcile.js +46 -0
- package/dist/application/hook/reconcile.js.map +1 -0
- package/dist/application/hook/session.js +92 -0
- package/dist/application/hook/session.js.map +1 -0
- package/dist/application/hook/supervisor-report.js +34 -0
- package/dist/application/hook/supervisor-report.js.map +1 -0
- package/dist/application/hook/types.js +3 -0
- package/dist/application/hook/types.js.map +1 -0
- package/dist/application/import.js +228 -0
- package/dist/application/import.js.map +1 -0
- package/dist/application/init/errors.js +135 -0
- package/dist/application/init/errors.js.map +1 -0
- package/dist/application/init/index.js +301 -0
- package/dist/application/init/index.js.map +1 -0
- package/dist/application/init/preview.js +181 -0
- package/dist/application/init/preview.js.map +1 -0
- package/dist/application/init/setup.js +125 -0
- package/dist/application/init/setup.js.map +1 -0
- package/dist/application/init/types.js +4 -0
- package/dist/application/init/types.js.map +1 -0
- package/dist/application/login/collect.js +74 -0
- package/dist/application/login/collect.js.map +1 -0
- package/dist/application/login/command-failure.js +18 -0
- package/dist/application/login/command-failure.js.map +1 -0
- package/dist/application/login/deps.js +6 -0
- package/dist/application/login/deps.js.map +1 -0
- package/dist/application/login/handoff.js +37 -0
- package/dist/application/login/handoff.js.map +1 -0
- package/dist/application/login/run.js +267 -0
- package/dist/application/login/run.js.map +1 -0
- package/dist/application/login/scope-envs.js +17 -0
- package/dist/application/login/scope-envs.js.map +1 -0
- package/dist/application/login/selection.js +16 -0
- package/dist/application/login/selection.js.map +1 -0
- package/dist/application/login/verify.js +131 -0
- package/dist/application/login/verify.js.map +1 -0
- package/dist/application/manifest/context.js +32 -0
- package/dist/application/manifest/context.js.map +1 -0
- package/dist/application/manifest/explain.js +15 -0
- package/dist/application/manifest/explain.js.map +1 -0
- package/dist/application/manifest/lint.js +93 -0
- package/dist/application/manifest/lint.js.map +1 -0
- package/dist/application/manifest/load.js +56 -0
- package/dist/application/manifest/load.js.map +1 -0
- package/dist/application/manifest/locate.js +23 -0
- package/dist/application/manifest/locate.js.map +1 -0
- package/dist/application/manifest/prepare.js +33 -0
- package/dist/application/manifest/prepare.js.map +1 -0
- package/dist/application/manifest/providers.js +36 -0
- package/dist/application/manifest/providers.js.map +1 -0
- package/dist/application/manifest/set.js +74 -0
- package/dist/application/manifest/set.js.map +1 -0
- package/dist/application/manifest/source-error.js +29 -0
- package/dist/application/manifest/source-error.js.map +1 -0
- package/dist/application/manifest/validate.js +83 -0
- package/dist/application/manifest/validate.js.map +1 -0
- package/dist/application/member/list.js +37 -0
- package/dist/application/member/list.js.map +1 -0
- package/dist/application/member/show.js +44 -0
- package/dist/application/member/show.js.map +1 -0
- package/dist/application/member/source.js +15 -0
- package/dist/application/member/source.js.map +1 -0
- package/dist/application/pool.js +19 -0
- package/dist/application/pool.js.map +1 -0
- package/dist/application/preparation.js +92 -0
- package/dist/application/preparation.js.map +1 -0
- package/dist/application/preview-initialization.js +41 -0
- package/dist/application/preview-initialization.js.map +1 -0
- package/dist/application/probe-record/index.js +102 -0
- package/dist/application/probe-record/index.js.map +1 -0
- package/dist/application/probe-record/plan.js +175 -0
- package/dist/application/probe-record/plan.js.map +1 -0
- package/dist/application/probe-record/types.js +4 -0
- package/dist/application/probe-record/types.js.map +1 -0
- package/dist/application/readiness/index.js +207 -0
- package/dist/application/readiness/index.js.map +1 -0
- package/dist/application/readiness/resolve.js +147 -0
- package/dist/application/readiness/resolve.js.map +1 -0
- package/dist/application/readiness/types.js +4 -0
- package/dist/application/readiness/types.js.map +1 -0
- package/dist/application/readiness/verdicts.js +42 -0
- package/dist/application/readiness/verdicts.js.map +1 -0
- package/dist/application/refresh-manifest.js +49 -0
- package/dist/application/refresh-manifest.js.map +1 -0
- package/dist/application/refresh-workspace-manifest.js +27 -0
- package/dist/application/refresh-workspace-manifest.js.map +1 -0
- package/dist/application/release/ci.js +68 -0
- package/dist/application/release/ci.js.map +1 -0
- package/dist/application/release/deps.js +21 -0
- package/dist/application/release/deps.js.map +1 -0
- package/dist/application/release/errors.js +46 -0
- package/dist/application/release/errors.js.map +1 -0
- package/dist/application/release/facts.js +46 -0
- package/dist/application/release/facts.js.map +1 -0
- package/dist/application/release/gates.js +53 -0
- package/dist/application/release/gates.js.map +1 -0
- package/dist/application/release/index.js +139 -0
- package/dist/application/release/index.js.map +1 -0
- package/dist/application/release/merge.js +41 -0
- package/dist/application/release/merge.js.map +1 -0
- package/dist/application/repo/add.js +55 -0
- package/dist/application/repo/add.js.map +1 -0
- package/dist/application/repo/fork.js +56 -0
- package/dist/application/repo/fork.js.map +1 -0
- package/dist/application/repo/list.js +59 -0
- package/dist/application/repo/list.js.map +1 -0
- package/dist/application/repo/open.js +26 -0
- package/dist/application/repo/open.js.map +1 -0
- package/dist/application/repo/remove.js +51 -0
- package/dist/application/repo/remove.js.map +1 -0
- package/dist/application/repo/scope.js +16 -0
- package/dist/application/repo/scope.js.map +1 -0
- package/dist/application/repo/show.js +41 -0
- package/dist/application/repo/show.js.map +1 -0
- package/dist/application/safety/posture.js +31 -0
- package/dist/application/safety/posture.js.map +1 -0
- package/dist/application/safety/replace-files.js +17 -0
- package/dist/application/safety/replace-files.js.map +1 -0
- package/dist/application/safety/trust.js +93 -0
- package/dist/application/safety/trust.js.map +1 -0
- package/dist/application/self/info.js +23 -0
- package/dist/application/self/info.js.map +1 -0
- package/dist/application/self/registry.js +14 -0
- package/dist/application/self/registry.js.map +1 -0
- package/dist/application/self/update.js +61 -0
- package/dist/application/self/update.js.map +1 -0
- package/dist/application/services/command.js +90 -0
- package/dist/application/services/command.js.map +1 -0
- package/dist/application/services/operation.js +127 -0
- package/dist/application/services/operation.js.map +1 -0
- package/dist/application/services/recipes.js +39 -0
- package/dist/application/services/recipes.js.map +1 -0
- package/dist/application/services/stage.js +32 -0
- package/dist/application/services/stage.js.map +1 -0
- package/dist/application/services/types.js +4 -0
- package/dist/application/services/types.js.map +1 -0
- package/dist/application/skill/copies.js +72 -0
- package/dist/application/skill/copies.js.map +1 -0
- package/dist/application/skill/destination.js +31 -0
- package/dist/application/skill/destination.js.map +1 -0
- package/dist/application/skill/fx-copies.js +34 -0
- package/dist/application/skill/fx-copies.js.map +1 -0
- package/dist/application/skill/list.js +57 -0
- package/dist/application/skill/list.js.map +1 -0
- package/dist/application/skill/observe.js +45 -0
- package/dist/application/skill/observe.js.map +1 -0
- package/dist/application/skill/outcome.js +24 -0
- package/dist/application/skill/outcome.js.map +1 -0
- package/dist/application/skill/stage.js +118 -0
- package/dist/application/skill/stage.js.map +1 -0
- package/dist/application/skill/standalone-targets.js +57 -0
- package/dist/application/skill/standalone-targets.js.map +1 -0
- package/dist/application/skill/standalone.js +147 -0
- package/dist/application/skill/standalone.js.map +1 -0
- package/dist/application/skill/targets.js +36 -0
- package/dist/application/skill/targets.js.map +1 -0
- package/dist/application/skill/team-links.js +64 -0
- package/dist/application/skill/team-links.js.map +1 -0
- package/dist/application/skill/tool-skills.js +195 -0
- package/dist/application/skill/tool-skills.js.map +1 -0
- package/dist/application/skill/types.js +4 -0
- package/dist/application/skill/types.js.map +1 -0
- package/dist/application/skill/write-error.js +28 -0
- package/dist/application/skill/write-error.js.map +1 -0
- package/dist/application/status.js +55 -0
- package/dist/application/status.js.map +1 -0
- package/dist/application/sync/checks.js +71 -0
- package/dist/application/sync/checks.js.map +1 -0
- package/dist/application/sync/index.js +238 -0
- package/dist/application/sync/index.js.map +1 -0
- package/dist/application/sync/stages.js +147 -0
- package/dist/application/sync/stages.js.map +1 -0
- package/dist/application/sync/types.js +5 -0
- package/dist/application/sync/types.js.map +1 -0
- package/dist/application/tally.js +66 -0
- package/dist/application/tally.js.map +1 -0
- package/dist/application/tool/audit.js +58 -0
- package/dist/application/tool/audit.js.map +1 -0
- package/dist/application/tool/check.js +80 -0
- package/dist/application/tool/check.js.map +1 -0
- package/dist/application/tool/initialize.js +57 -0
- package/dist/application/tool/initialize.js.map +1 -0
- package/dist/application/tool/install.js +228 -0
- package/dist/application/tool/install.js.map +1 -0
- package/dist/application/tool/installed.js +178 -0
- package/dist/application/tool/installed.js.map +1 -0
- package/dist/application/tool/list.js +38 -0
- package/dist/application/tool/list.js.map +1 -0
- package/dist/application/tool/scope.js +74 -0
- package/dist/application/tool/scope.js.map +1 -0
- package/dist/application/tool/select.js +28 -0
- package/dist/application/tool/select.js.map +1 -0
- package/dist/application/tool/show.js +45 -0
- package/dist/application/tool/show.js.map +1 -0
- package/dist/application/tool/toolchain.js +35 -0
- package/dist/application/tool/toolchain.js.map +1 -0
- package/dist/application/tool/version.js +17 -0
- package/dist/application/tool/version.js.map +1 -0
- package/dist/application/update/check.js +57 -0
- package/dist/application/update/check.js.map +1 -0
- package/dist/application/update/fx.js +51 -0
- package/dist/application/update/fx.js.map +1 -0
- package/dist/application/update/manifest.js +66 -0
- package/dist/application/update/manifest.js.map +1 -0
- package/dist/application/update/notices.js +23 -0
- package/dist/application/update/notices.js.map +1 -0
- package/dist/application/update/policy.js +9 -0
- package/dist/application/update/policy.js.map +1 -0
- package/dist/application/where.js +172 -0
- package/dist/application/where.js.map +1 -0
- package/dist/application/workspace/adopt.js +21 -0
- package/dist/application/workspace/adopt.js.map +1 -0
- package/dist/application/workspace/command-operation.js +45 -0
- package/dist/application/workspace/command-operation.js.map +1 -0
- package/dist/application/workspace/deps.js +6 -0
- package/dist/application/workspace/deps.js.map +1 -0
- package/dist/application/workspace/discover.js +62 -0
- package/dist/application/workspace/discover.js.map +1 -0
- package/dist/application/workspace/guidance.js +24 -0
- package/dist/application/workspace/guidance.js.map +1 -0
- package/dist/application/workspace/health.js +75 -0
- package/dist/application/workspace/health.js.map +1 -0
- package/dist/application/workspace/inspect.js +119 -0
- package/dist/application/workspace/inspect.js.map +1 -0
- package/dist/application/workspace/manage.js +326 -0
- package/dist/application/workspace/manage.js.map +1 -0
- package/dist/application/workspace/operation.js +22 -0
- package/dist/application/workspace/operation.js.map +1 -0
- package/dist/application/workspace/plan.js +61 -0
- package/dist/application/workspace/plan.js.map +1 -0
- package/dist/application/workspace/platforms.js +31 -0
- package/dist/application/workspace/platforms.js.map +1 -0
- package/dist/application/workspace/registry.js +36 -0
- package/dist/application/workspace/registry.js.map +1 -0
- package/dist/application/workspace/resolve.js +105 -0
- package/dist/application/workspace/resolve.js.map +1 -0
- package/dist/application/workspace/resources.js +198 -0
- package/dist/application/workspace/resources.js.map +1 -0
- package/dist/application/workspace/root-entries.js +32 -0
- package/dist/application/workspace/root-entries.js.map +1 -0
- package/dist/application/workspace/scope.js +89 -0
- package/dist/application/workspace/scope.js.map +1 -0
- package/dist/application/workspace/source-preview.js +64 -0
- package/dist/application/workspace/source-preview.js.map +1 -0
- package/dist/application/workspace/validate-layer.js +48 -0
- package/dist/application/workspace/validate-layer.js.map +1 -0
- package/dist/application/workspace-context.js +71 -0
- package/dist/application/workspace-context.js.map +1 -0
- package/dist/cli/base.js +340 -0
- package/dist/cli/base.js.map +1 -0
- package/dist/cli/commands/agent/list.js +17 -0
- package/dist/cli/commands/agent/list.js.map +1 -0
- package/dist/cli/commands/agent/pick.js +22 -0
- package/dist/cli/commands/agent/pick.js.map +1 -0
- package/dist/cli/commands/agent/skills.js +16 -0
- package/dist/cli/commands/agent/skills.js.map +1 -0
- package/dist/cli/commands/agent/unpick.js +23 -0
- package/dist/cli/commands/agent/unpick.js.map +1 -0
- package/dist/cli/commands/aliases.js +15 -0
- package/dist/cli/commands/aliases.js.map +1 -0
- package/dist/cli/commands/can.js +50 -0
- package/dist/cli/commands/can.js.map +1 -0
- package/dist/cli/commands/completion.js +35 -0
- package/dist/cli/commands/completion.js.map +1 -0
- package/dist/cli/commands/config/export.js +46 -0
- package/dist/cli/commands/config/export.js.map +1 -0
- package/dist/cli/commands/config/get.js +31 -0
- package/dist/cli/commands/config/get.js.map +1 -0
- package/dist/cli/commands/config/import.js +47 -0
- package/dist/cli/commands/config/import.js.map +1 -0
- package/dist/cli/commands/config/list.js +20 -0
- package/dist/cli/commands/config/list.js.map +1 -0
- package/dist/cli/commands/config/set.js +25 -0
- package/dist/cli/commands/config/set.js.map +1 -0
- package/dist/cli/commands/config/unset.js +20 -0
- package/dist/cli/commands/config/unset.js.map +1 -0
- package/dist/cli/commands/doctor.js +55 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/env/list.js +15 -0
- package/dist/cli/commands/env/list.js.map +1 -0
- package/dist/cli/commands/env/pick.js +17 -0
- package/dist/cli/commands/env/pick.js.map +1 -0
- package/dist/cli/commands/env/select.js +21 -0
- package/dist/cli/commands/env/select.js.map +1 -0
- package/dist/cli/commands/env/show.js +16 -0
- package/dist/cli/commands/env/show.js.map +1 -0
- package/dist/cli/commands/env/unpick.js +17 -0
- package/dist/cli/commands/env/unpick.js.map +1 -0
- package/dist/cli/commands/hook/disable.js +9 -0
- package/dist/cli/commands/hook/disable.js.map +1 -0
- package/dist/cli/commands/hook/dispatch.js +21 -0
- package/dist/cli/commands/hook/dispatch.js.map +1 -0
- package/dist/cli/commands/hook/enable.js +9 -0
- package/dist/cli/commands/hook/enable.js.map +1 -0
- package/dist/cli/commands/hook/list.js +10 -0
- package/dist/cli/commands/hook/list.js.map +1 -0
- package/dist/cli/commands/index.js +172 -0
- package/dist/cli/commands/index.js.map +1 -0
- package/dist/cli/commands/init.js +67 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/login.js +67 -0
- package/dist/cli/commands/login.js.map +1 -0
- package/dist/cli/commands/manifest/explain.js +27 -0
- package/dist/cli/commands/manifest/explain.js.map +1 -0
- package/dist/cli/commands/manifest/import.js +41 -0
- package/dist/cli/commands/manifest/import.js.map +1 -0
- package/dist/cli/commands/manifest/lint.js +18 -0
- package/dist/cli/commands/manifest/lint.js.map +1 -0
- package/dist/cli/commands/manifest/providers.js +20 -0
- package/dist/cli/commands/manifest/providers.js.map +1 -0
- package/dist/cli/commands/manifest/record-probe.js +39 -0
- package/dist/cli/commands/manifest/record-probe.js.map +1 -0
- package/dist/cli/commands/manifest/render.js +42 -0
- package/dist/cli/commands/manifest/render.js.map +1 -0
- package/dist/cli/commands/manifest/repo-set.js +32 -0
- package/dist/cli/commands/manifest/repo-set.js.map +1 -0
- package/dist/cli/commands/manifest/schema.js +24 -0
- package/dist/cli/commands/manifest/schema.js.map +1 -0
- package/dist/cli/commands/manifest/validate.js +33 -0
- package/dist/cli/commands/manifest/validate.js.map +1 -0
- package/dist/cli/commands/mcp/list.js +17 -0
- package/dist/cli/commands/mcp/list.js.map +1 -0
- package/dist/cli/commands/mcp/show.js +17 -0
- package/dist/cli/commands/mcp/show.js.map +1 -0
- package/dist/cli/commands/member/list.js +22 -0
- package/dist/cli/commands/member/list.js.map +1 -0
- package/dist/cli/commands/member/show.js +22 -0
- package/dist/cli/commands/member/show.js.map +1 -0
- package/dist/cli/commands/release.js +46 -0
- package/dist/cli/commands/release.js.map +1 -0
- package/dist/cli/commands/repo/add.js +29 -0
- package/dist/cli/commands/repo/add.js.map +1 -0
- package/dist/cli/commands/repo/fork.js +19 -0
- package/dist/cli/commands/repo/fork.js.map +1 -0
- package/dist/cli/commands/repo/list.js +43 -0
- package/dist/cli/commands/repo/list.js.map +1 -0
- package/dist/cli/commands/repo/open.js +23 -0
- package/dist/cli/commands/repo/open.js.map +1 -0
- package/dist/cli/commands/repo/pick.js +17 -0
- package/dist/cli/commands/repo/pick.js.map +1 -0
- package/dist/cli/commands/repo/remove.js +19 -0
- package/dist/cli/commands/repo/remove.js.map +1 -0
- package/dist/cli/commands/repo/select.js +21 -0
- package/dist/cli/commands/repo/select.js.map +1 -0
- package/dist/cli/commands/repo/show.js +17 -0
- package/dist/cli/commands/repo/show.js.map +1 -0
- package/dist/cli/commands/repo/unpick.js +17 -0
- package/dist/cli/commands/repo/unpick.js.map +1 -0
- package/dist/cli/commands/selection.js +27 -0
- package/dist/cli/commands/selection.js.map +1 -0
- package/dist/cli/commands/self/info.js +49 -0
- package/dist/cli/commands/self/info.js.map +1 -0
- package/dist/cli/commands/self/update.js +34 -0
- package/dist/cli/commands/self/update.js.map +1 -0
- package/dist/cli/commands/skill/install.js +18 -0
- package/dist/cli/commands/skill/install.js.map +1 -0
- package/dist/cli/commands/skill/path.js +12 -0
- package/dist/cli/commands/skill/path.js.map +1 -0
- package/dist/cli/commands/skill/show.js +10 -0
- package/dist/cli/commands/skill/show.js.map +1 -0
- package/dist/cli/commands/skill/status.js +10 -0
- package/dist/cli/commands/skill/status.js.map +1 -0
- package/dist/cli/commands/skill/uninstall.js +13 -0
- package/dist/cli/commands/skill/uninstall.js.map +1 -0
- package/dist/cli/commands/source/push.js +43 -0
- package/dist/cli/commands/source/push.js.map +1 -0
- package/dist/cli/commands/status.js +86 -0
- package/dist/cli/commands/status.js.map +1 -0
- package/dist/cli/commands/sync.js +40 -0
- package/dist/cli/commands/sync.js.map +1 -0
- package/dist/cli/commands/tool/history.js +34 -0
- package/dist/cli/commands/tool/history.js.map +1 -0
- package/dist/cli/commands/tool/install.js +18 -0
- package/dist/cli/commands/tool/install.js.map +1 -0
- package/dist/cli/commands/tool/inventory.js +23 -0
- package/dist/cli/commands/tool/inventory.js.map +1 -0
- package/dist/cli/commands/tool/list.js +23 -0
- package/dist/cli/commands/tool/list.js.map +1 -0
- package/dist/cli/commands/tool/show.js +25 -0
- package/dist/cli/commands/tool/show.js.map +1 -0
- package/dist/cli/commands/tool/update.js +18 -0
- package/dist/cli/commands/tool/update.js.map +1 -0
- package/dist/cli/commands/where.js +50 -0
- package/dist/cli/commands/where.js.map +1 -0
- package/dist/cli/commands/workspace/list.js +20 -0
- package/dist/cli/commands/workspace/list.js.map +1 -0
- package/dist/cli/commands/workspace/rebind.js +33 -0
- package/dist/cli/commands/workspace/rebind.js.map +1 -0
- package/dist/cli/commands/workspace/relocate.js +21 -0
- package/dist/cli/commands/workspace/relocate.js.map +1 -0
- package/dist/cli/commands/workspace/show.js +22 -0
- package/dist/cli/commands/workspace/show.js.map +1 -0
- package/dist/cli/commands/workspace/unregister.js +19 -0
- package/dist/cli/commands/workspace/unregister.js.map +1 -0
- package/dist/cli/completion.js +217 -0
- package/dist/cli/completion.js.map +1 -0
- package/dist/cli/config-flags.js +18 -0
- package/dist/cli/config-flags.js.map +1 -0
- package/dist/cli/flags.js +95 -0
- package/dist/cli/flags.js.map +1 -0
- package/dist/cli/help.js +69 -0
- package/dist/cli/help.js.map +1 -0
- package/dist/cli/hook-command.js +36 -0
- package/dist/cli/hook-command.js.map +1 -0
- package/dist/cli/hook-entry.js +70 -0
- package/dist/cli/hook-entry.js.map +1 -0
- package/dist/cli/hook-worker.js +18 -0
- package/dist/cli/hook-worker.js.map +1 -0
- package/dist/cli/invocation-format.js +30 -0
- package/dist/cli/invocation-format.js.map +1 -0
- package/dist/cli/main.js +80 -0
- package/dist/cli/main.js.map +1 -0
- package/dist/cli/mcp-stdio.js +7 -0
- package/dist/cli/mcp-stdio.js.map +1 -0
- package/dist/cli/notices.js +55 -0
- package/dist/cli/notices.js.map +1 -0
- package/dist/cli/preparation-view.js +175 -0
- package/dist/cli/preparation-view.js.map +1 -0
- package/dist/cli/release-view.js +91 -0
- package/dist/cli/release-view.js.map +1 -0
- package/dist/cli/render/display.js +88 -0
- package/dist/cli/render/display.js.map +1 -0
- package/dist/cli/render/exceptional.js +60 -0
- package/dist/cli/render/exceptional.js.map +1 -0
- package/dist/cli/render/fields.js +53 -0
- package/dist/cli/render/fields.js.map +1 -0
- package/dist/cli/render/human.js +222 -0
- package/dist/cli/render/human.js.map +1 -0
- package/dist/cli/render/index.js +148 -0
- package/dist/cli/render/index.js.map +1 -0
- package/dist/cli/render/owners.js +20 -0
- package/dist/cli/render/owners.js.map +1 -0
- package/dist/cli/render/report.js +96 -0
- package/dist/cli/render/report.js.map +1 -0
- package/dist/cli/render/status-line.js +177 -0
- package/dist/cli/render/status-line.js.map +1 -0
- package/dist/cli/render/tone.js +69 -0
- package/dist/cli/render/tone.js.map +1 -0
- package/dist/cli/render/width.js +77 -0
- package/dist/cli/render/width.js.map +1 -0
- package/dist/cli/reporter.js +15 -0
- package/dist/cli/reporter.js.map +1 -0
- package/dist/cli/route/index.js +140 -0
- package/dist/cli/route/index.js.map +1 -0
- package/dist/cli/route/retired.js +116 -0
- package/dist/cli/route/retired.js.map +1 -0
- package/dist/cli/route/tokens.js +38 -0
- package/dist/cli/route/tokens.js.map +1 -0
- package/dist/cli/skill-command.js +43 -0
- package/dist/cli/skill-command.js.map +1 -0
- package/dist/cli/source-flags.js +16 -0
- package/dist/cli/source-flags.js.map +1 -0
- package/dist/cli/stdin.js +8 -0
- package/dist/cli/stdin.js.map +1 -0
- package/dist/cli/tool-command.js +38 -0
- package/dist/cli/tool-command.js.map +1 -0
- package/dist/cli/trace.js +35 -0
- package/dist/cli/trace.js.map +1 -0
- package/dist/cli/update-notices.js +31 -0
- package/dist/cli/update-notices.js.map +1 -0
- package/dist/cli/where-flags.js +28 -0
- package/dist/cli/where-flags.js.map +1 -0
- package/dist/cli/workspace-write-policy.js +36 -0
- package/dist/cli/workspace-write-policy.js.map +1 -0
- package/dist/composition/activity.js +20 -0
- package/dist/composition/activity.js.map +1 -0
- package/dist/composition/agent-cleanup.js +14 -0
- package/dist/composition/agent-cleanup.js.map +1 -0
- package/dist/composition/bundled.js +19 -0
- package/dist/composition/bundled.js.map +1 -0
- package/dist/composition/command-wiring.js +206 -0
- package/dist/composition/command-wiring.js.map +1 -0
- package/dist/composition/container.js +159 -0
- package/dist/composition/container.js.map +1 -0
- package/dist/composition/contributions.js +85 -0
- package/dist/composition/contributions.js.map +1 -0
- package/dist/composition/diagnostics.js +21 -0
- package/dist/composition/diagnostics.js.map +1 -0
- package/dist/composition/harness.js +32 -0
- package/dist/composition/harness.js.map +1 -0
- package/dist/composition/hook-entry.js +23 -0
- package/dist/composition/hook-entry.js.map +1 -0
- package/dist/composition/hook-report.js +18 -0
- package/dist/composition/hook-report.js.map +1 -0
- package/dist/composition/hook-wiring.js +106 -0
- package/dist/composition/hook-wiring.js.map +1 -0
- package/dist/composition/hook-worker.js +40 -0
- package/dist/composition/hook-worker.js.map +1 -0
- package/dist/composition/hooks.js +43 -0
- package/dist/composition/hooks.js.map +1 -0
- package/dist/composition/import.js +13 -0
- package/dist/composition/import.js.map +1 -0
- package/dist/composition/lifecycle-handlers.js +21 -0
- package/dist/composition/lifecycle-handlers.js.map +1 -0
- package/dist/composition/manifest-edit.js +7 -0
- package/dist/composition/manifest-edit.js.map +1 -0
- package/dist/composition/manifest-sources.js +35 -0
- package/dist/composition/manifest-sources.js.map +1 -0
- package/dist/composition/mcp-stdio.js +4 -0
- package/dist/composition/mcp-stdio.js.map +1 -0
- package/dist/composition/probe-record.js +14 -0
- package/dist/composition/probe-record.js.map +1 -0
- package/dist/composition/refresh.js +12 -0
- package/dist/composition/refresh.js.map +1 -0
- package/dist/composition/registry.js +140 -0
- package/dist/composition/registry.js.map +1 -0
- package/dist/composition/tool-install.js +7 -0
- package/dist/composition/tool-install.js.map +1 -0
- package/dist/composition/tool-inventory.js +6 -0
- package/dist/composition/tool-inventory.js.map +1 -0
- package/dist/composition/trace.js +8 -0
- package/dist/composition/trace.js.map +1 -0
- package/dist/composition/update.js +13 -0
- package/dist/composition/update.js.map +1 -0
- package/dist/composition/workspace-management.js +21 -0
- package/dist/composition/workspace-management.js.map +1 -0
- package/dist/domain/boundary/scan.js +139 -0
- package/dist/domain/boundary/scan.js.map +1 -0
- package/dist/domain/capability.js +53 -0
- package/dist/domain/capability.js.map +1 -0
- package/dist/domain/config/codec.js +36 -0
- package/dist/domain/config/codec.js.map +1 -0
- package/dist/domain/config/file.js +19 -0
- package/dist/domain/config/file.js.map +1 -0
- package/dist/domain/config/profile.js +15 -0
- package/dist/domain/config/profile.js.map +1 -0
- package/dist/domain/contribution/candidate.js +23 -0
- package/dist/domain/contribution/candidate.js.map +1 -0
- package/dist/domain/contribution/display-paths.js +9 -0
- package/dist/domain/contribution/display-paths.js.map +1 -0
- package/dist/domain/contribution/operation.js +4 -0
- package/dist/domain/contribution/operation.js.map +1 -0
- package/dist/domain/contribution/pending.js +20 -0
- package/dist/domain/contribution/pending.js.map +1 -0
- package/dist/domain/contribution/pull-request.js +4 -0
- package/dist/domain/contribution/pull-request.js.map +1 -0
- package/dist/domain/contribution/remote.js +111 -0
- package/dist/domain/contribution/remote.js.map +1 -0
- package/dist/domain/contribution/selection.js +65 -0
- package/dist/domain/contribution/selection.js.map +1 -0
- package/dist/domain/contribution/snapshot.js +4 -0
- package/dist/domain/contribution/snapshot.js.map +1 -0
- package/dist/domain/deadline.js +17 -0
- package/dist/domain/deadline.js.map +1 -0
- package/dist/domain/diagnostics.js +49 -0
- package/dist/domain/diagnostics.js.map +1 -0
- package/dist/domain/distribution.js +22 -0
- package/dist/domain/distribution.js.map +1 -0
- package/dist/domain/docs/derived.js +13 -0
- package/dist/domain/docs/derived.js.map +1 -0
- package/dist/domain/docs/regions.js +94 -0
- package/dist/domain/docs/regions.js.map +1 -0
- package/dist/domain/docs/skeleton.js +14 -0
- package/dist/domain/docs/skeleton.js.map +1 -0
- package/dist/domain/docs/templates.js +169 -0
- package/dist/domain/docs/templates.js.map +1 -0
- package/dist/domain/errors.js +156 -0
- package/dist/domain/errors.js.map +1 -0
- package/dist/domain/format.js +8 -0
- package/dist/domain/format.js.map +1 -0
- package/dist/domain/fuzzy.js +26 -0
- package/dist/domain/fuzzy.js.map +1 -0
- package/dist/domain/harness/hooks.js +10 -0
- package/dist/domain/harness/hooks.js.map +1 -0
- package/dist/domain/harness/mcp.js +18 -0
- package/dist/domain/harness/mcp.js.map +1 -0
- package/dist/domain/harness/ownership.js +3 -0
- package/dist/domain/harness/ownership.js.map +1 -0
- package/dist/domain/harness/request.js +43 -0
- package/dist/domain/harness/request.js.map +1 -0
- package/dist/domain/harness/rules.js +11 -0
- package/dist/domain/harness/rules.js.map +1 -0
- package/dist/domain/harness/session-start.js +18 -0
- package/dist/domain/harness/session-start.js.map +1 -0
- package/dist/domain/harness/state-recovery.js +28 -0
- package/dist/domain/harness/state-recovery.js.map +1 -0
- package/dist/domain/harness/state.js +4 -0
- package/dist/domain/harness/state.js.map +1 -0
- package/dist/domain/import/fold.js +48 -0
- package/dist/domain/import/fold.js.map +1 -0
- package/dist/domain/import/gitmodules.js +31 -0
- package/dist/domain/import/gitmodules.js.map +1 -0
- package/dist/domain/import/infer.js +95 -0
- package/dist/domain/import/infer.js.map +1 -0
- package/dist/domain/import/render.js +37 -0
- package/dist/domain/import/render.js.map +1 -0
- package/dist/domain/manifest/common.schema.js +51 -0
- package/dist/domain/manifest/common.schema.js.map +1 -0
- package/dist/domain/manifest/decode.js +133 -0
- package/dist/domain/manifest/decode.js.map +1 -0
- package/dist/domain/manifest/document.js +48 -0
- package/dist/domain/manifest/document.js.map +1 -0
- package/dist/domain/manifest/editor.js +173 -0
- package/dist/domain/manifest/editor.js.map +1 -0
- package/dist/domain/manifest/environments.schema.js +61 -0
- package/dist/domain/manifest/environments.schema.js.map +1 -0
- package/dist/domain/manifest/explain.js +102 -0
- package/dist/domain/manifest/explain.js.map +1 -0
- package/dist/domain/manifest/files.js +11 -0
- package/dist/domain/manifest/files.js.map +1 -0
- package/dist/domain/manifest/harness.schema.js +75 -0
- package/dist/domain/manifest/harness.schema.js.map +1 -0
- package/dist/domain/manifest/issues.js +47 -0
- package/dist/domain/manifest/issues.js.map +1 -0
- package/dist/domain/manifest/json-schema.js +24 -0
- package/dist/domain/manifest/json-schema.js.map +1 -0
- package/dist/domain/manifest/lint.js +146 -0
- package/dist/domain/manifest/lint.js.map +1 -0
- package/dist/domain/manifest/loader.js +122 -0
- package/dist/domain/manifest/loader.js.map +1 -0
- package/dist/domain/manifest/local.js +77 -0
- package/dist/domain/manifest/local.js.map +1 -0
- package/dist/domain/manifest/local.schema.js +54 -0
- package/dist/domain/manifest/local.schema.js.map +1 -0
- package/dist/domain/manifest/members.schema.js +82 -0
- package/dist/domain/manifest/members.schema.js.map +1 -0
- package/dist/domain/manifest/overlay.js +167 -0
- package/dist/domain/manifest/overlay.js.map +1 -0
- package/dist/domain/manifest/path-editor.js +98 -0
- package/dist/domain/manifest/path-editor.js.map +1 -0
- package/dist/domain/manifest/providers.js +106 -0
- package/dist/domain/manifest/providers.js.map +1 -0
- package/dist/domain/manifest/quarantine.js +18 -0
- package/dist/domain/manifest/quarantine.js.map +1 -0
- package/dist/domain/manifest/reflect.js +175 -0
- package/dist/domain/manifest/reflect.js.map +1 -0
- package/dist/domain/manifest/rules/environments.js +93 -0
- package/dist/domain/manifest/rules/environments.js.map +1 -0
- package/dist/domain/manifest/rules/harness.js +64 -0
- package/dist/domain/manifest/rules/harness.js.map +1 -0
- package/dist/domain/manifest/rules/members.js +36 -0
- package/dist/domain/manifest/rules/members.js.map +1 -0
- package/dist/domain/manifest/rules/services.js +33 -0
- package/dist/domain/manifest/rules/services.js.map +1 -0
- package/dist/domain/manifest/rules/tools.js +69 -0
- package/dist/domain/manifest/rules/tools.js.map +1 -0
- package/dist/domain/manifest/rules/vectors.js +44 -0
- package/dist/domain/manifest/rules/vectors.js.map +1 -0
- package/dist/domain/manifest/rules/workspace.js +61 -0
- package/dist/domain/manifest/rules/workspace.js.map +1 -0
- package/dist/domain/manifest/service.schema.js +50 -0
- package/dist/domain/manifest/service.schema.js.map +1 -0
- package/dist/domain/manifest/skill-frontmatter.js +21 -0
- package/dist/domain/manifest/skill-frontmatter.js.map +1 -0
- package/dist/domain/manifest/source-repo.js +25 -0
- package/dist/domain/manifest/source-repo.js.map +1 -0
- package/dist/domain/manifest/tools.schema.js +143 -0
- package/dist/domain/manifest/tools.schema.js.map +1 -0
- package/dist/domain/manifest/types.js +4 -0
- package/dist/domain/manifest/types.js.map +1 -0
- package/dist/domain/manifest/versioning.js +64 -0
- package/dist/domain/manifest/versioning.js.map +1 -0
- package/dist/domain/manifest/workspace.schema.js +176 -0
- package/dist/domain/manifest/workspace.schema.js.map +1 -0
- package/dist/domain/members/owners.js +47 -0
- package/dist/domain/members/owners.js.map +1 -0
- package/dist/domain/members/resolve.js +57 -0
- package/dist/domain/members/resolve.js.map +1 -0
- package/dist/domain/obs/confidence.js +11 -0
- package/dist/domain/obs/confidence.js.map +1 -0
- package/dist/domain/obs/coordinate.js +126 -0
- package/dist/domain/obs/coordinate.js.map +1 -0
- package/dist/domain/obs/observation.js +29 -0
- package/dist/domain/obs/observation.js.map +1 -0
- package/dist/domain/obs/probe.js +10 -0
- package/dist/domain/obs/probe.js.map +1 -0
- package/dist/domain/obs/types.js +6 -0
- package/dist/domain/obs/types.js.map +1 -0
- package/dist/domain/path.js +35 -0
- package/dist/domain/path.js.map +1 -0
- package/dist/domain/preparation.js +67 -0
- package/dist/domain/preparation.js.map +1 -0
- package/dist/domain/release/ci.js +89 -0
- package/dist/domain/release/ci.js.map +1 -0
- package/dist/domain/release/deps.js +180 -0
- package/dist/domain/release/deps.js.map +1 -0
- package/dist/domain/release/errors.js +57 -0
- package/dist/domain/release/errors.js.map +1 -0
- package/dist/domain/release/merge.js +65 -0
- package/dist/domain/release/merge.js.map +1 -0
- package/dist/domain/release/policy.js +38 -0
- package/dist/domain/release/policy.js.map +1 -0
- package/dist/domain/release/types.js +17 -0
- package/dist/domain/release/types.js.map +1 -0
- package/dist/domain/release/window.js +28 -0
- package/dist/domain/release/window.js.map +1 -0
- package/dist/domain/report.js +42 -0
- package/dist/domain/report.js.map +1 -0
- package/dist/domain/semver.js +65 -0
- package/dist/domain/semver.js.map +1 -0
- package/dist/domain/setup/failure-case.js +11 -0
- package/dist/domain/setup/failure-case.js.map +1 -0
- package/dist/domain/setup/json-check.js +29 -0
- package/dist/domain/setup/json-check.js.map +1 -0
- package/dist/domain/setup/planner.js +299 -0
- package/dist/domain/setup/planner.js.map +1 -0
- package/dist/domain/setup/public-defaults.js +24 -0
- package/dist/domain/setup/public-defaults.js.map +1 -0
- package/dist/domain/setup/service.js +2 -0
- package/dist/domain/setup/service.js.map +1 -0
- package/dist/domain/setup/types.js +4 -0
- package/dist/domain/setup/types.js.map +1 -0
- package/dist/domain/shell.js +60 -0
- package/dist/domain/shell.js.map +1 -0
- package/dist/domain/skills/frontmatter.js +3 -0
- package/dist/domain/skills/frontmatter.js.map +1 -0
- package/dist/domain/skills/lint.js +25 -0
- package/dist/domain/skills/lint.js.map +1 -0
- package/dist/domain/skills/projection.js +26 -0
- package/dist/domain/skills/projection.js.map +1 -0
- package/dist/domain/sync-selection.js +21 -0
- package/dist/domain/sync-selection.js.map +1 -0
- package/dist/domain/template.js +30 -0
- package/dist/domain/template.js.map +1 -0
- package/dist/domain/toolchain/installation-origin.js +26 -0
- package/dist/domain/toolchain/installation-origin.js.map +1 -0
- package/dist/domain/toolchain/installation.js +3 -0
- package/dist/domain/toolchain/installation.js.map +1 -0
- package/dist/domain/toolchain/resolve.js +90 -0
- package/dist/domain/toolchain/resolve.js.map +1 -0
- package/dist/domain/toolchain/select.js +51 -0
- package/dist/domain/toolchain/select.js.map +1 -0
- package/dist/domain/toolchain/stderr.js +107 -0
- package/dist/domain/toolchain/stderr.js.map +1 -0
- package/dist/domain/toolchain/trust.js +30 -0
- package/dist/domain/toolchain/trust.js.map +1 -0
- package/dist/domain/toolchain/version.js +7 -0
- package/dist/domain/toolchain/version.js.map +1 -0
- package/dist/domain/values.js +23 -0
- package/dist/domain/values.js.map +1 -0
- package/dist/domain/workspace/checkout.js +23 -0
- package/dist/domain/workspace/checkout.js.map +1 -0
- package/dist/domain/workspace/commits.js +4 -0
- package/dist/domain/workspace/commits.js.map +1 -0
- package/dist/domain/workspace/name.js +52 -0
- package/dist/domain/workspace/name.js.map +1 -0
- package/dist/domain/workspace/plan.js +110 -0
- package/dist/domain/workspace/plan.js.map +1 -0
- package/dist/domain/workspace/ref.js +43 -0
- package/dist/domain/workspace/ref.js.map +1 -0
- package/dist/domain/workspace/root-entries.js +34 -0
- package/dist/domain/workspace/root-entries.js.map +1 -0
- package/dist/domain/workspace/state.js +43 -0
- package/dist/domain/workspace/state.js.map +1 -0
- package/dist/domain/workspace/status.js +41 -0
- package/dist/domain/workspace/status.js.map +1 -0
- package/dist/infra/atomic-file.js +35 -0
- package/dist/infra/atomic-file.js.map +1 -0
- package/dist/infra/cache.js +49 -0
- package/dist/infra/cache.js.map +1 -0
- package/dist/infra/config-store.js +77 -0
- package/dist/infra/config-store.js.map +1 -0
- package/dist/infra/contribution-store.js +123 -0
- package/dist/infra/contribution-store.js.map +1 -0
- package/dist/infra/harness-state.js +101 -0
- package/dist/infra/harness-state.js.map +1 -0
- package/dist/infra/home.js +16 -0
- package/dist/infra/home.js.map +1 -0
- package/dist/infra/hook-state.js +62 -0
- package/dist/infra/hook-state.js.map +1 -0
- package/dist/infra/local-store.js +57 -0
- package/dist/infra/local-store.js.map +1 -0
- package/dist/infra/lock.js +116 -0
- package/dist/infra/lock.js.map +1 -0
- package/dist/infra/projection-store.js +135 -0
- package/dist/infra/projection-store.js.map +1 -0
- package/dist/infra/store-parents.js +24 -0
- package/dist/infra/store-parents.js.map +1 -0
- package/dist/infra/stored-shape.js +3 -0
- package/dist/infra/stored-shape.js.map +1 -0
- package/dist/infra/tool-history.js +94 -0
- package/dist/infra/tool-history.js.map +1 -0
- package/dist/infra/trace-file.js +7 -0
- package/dist/infra/trace-file.js.map +1 -0
- package/dist/infra/trust-store.js +67 -0
- package/dist/infra/trust-store.js.map +1 -0
- package/dist/infra/workspace-home.js +15 -0
- package/dist/infra/workspace-home.js.map +1 -0
- package/dist/ports/activity.js +5 -0
- package/dist/ports/activity.js.map +1 -0
- package/dist/ports/agent-cleanup.js +4 -0
- package/dist/ports/agent-cleanup.js.map +1 -0
- package/dist/ports/agent-host.js +4 -0
- package/dist/ports/agent-host.js.map +1 -0
- package/dist/ports/ci.js +4 -0
- package/dist/ports/ci.js.map +1 -0
- package/dist/ports/clock.js +4 -0
- package/dist/ports/clock.js.map +1 -0
- package/dist/ports/cluster.js +3 -0
- package/dist/ports/cluster.js.map +1 -0
- package/dist/ports/code-host.js +6 -0
- package/dist/ports/code-host.js.map +1 -0
- package/dist/ports/contribution-git.js +4 -0
- package/dist/ports/contribution-git.js.map +1 -0
- package/dist/ports/contribution-store.js +4 -0
- package/dist/ports/contribution-store.js.map +1 -0
- package/dist/ports/contribution-transport.js +4 -0
- package/dist/ports/contribution-transport.js.map +1 -0
- package/dist/ports/diagnostics.js +4 -0
- package/dist/ports/diagnostics.js.map +1 -0
- package/dist/ports/error-tracker.js +4 -0
- package/dist/ports/error-tracker.js.map +1 -0
- package/dist/ports/fs.js +5 -0
- package/dist/ports/fs.js.map +1 -0
- package/dist/ports/git.js +6 -0
- package/dist/ports/git.js.map +1 -0
- package/dist/ports/harness-state.js +4 -0
- package/dist/ports/harness-state.js.map +1 -0
- package/dist/ports/hook-handler.js +4 -0
- package/dist/ports/hook-handler.js.map +1 -0
- package/dist/ports/hook-protocol.js +4 -0
- package/dist/ports/hook-protocol.js.map +1 -0
- package/dist/ports/hook-state.js +4 -0
- package/dist/ports/hook-state.js.map +1 -0
- package/dist/ports/hook-tasks.js +4 -0
- package/dist/ports/hook-tasks.js.map +1 -0
- package/dist/ports/identifiers.js +4 -0
- package/dist/ports/identifiers.js.map +1 -0
- package/dist/ports/installer.js +5 -0
- package/dist/ports/installer.js.map +1 -0
- package/dist/ports/lifecycle-runner.js +4 -0
- package/dist/ports/lifecycle-runner.js.map +1 -0
- package/dist/ports/lock.js +4 -0
- package/dist/ports/lock.js.map +1 -0
- package/dist/ports/log-store.js +3 -0
- package/dist/ports/log-store.js.map +1 -0
- package/dist/ports/manifest-source.js +5 -0
- package/dist/ports/manifest-source.js.map +1 -0
- package/dist/ports/mcp-codec.js +4 -0
- package/dist/ports/mcp-codec.js.map +1 -0
- package/dist/ports/metrics.js +3 -0
- package/dist/ports/metrics.js.map +1 -0
- package/dist/ports/platform.js +5 -0
- package/dist/ports/platform.js.map +1 -0
- package/dist/ports/process.js +5 -0
- package/dist/ports/process.js.map +1 -0
- package/dist/ports/projection.js +4 -0
- package/dist/ports/projection.js.map +1 -0
- package/dist/ports/prompter.js +5 -0
- package/dist/ports/prompter.js.map +1 -0
- package/dist/ports/provider.js +6 -0
- package/dist/ports/provider.js.map +1 -0
- package/dist/ports/registry.js +5 -0
- package/dist/ports/registry.js.map +1 -0
- package/dist/ports/replace-files.js +2 -0
- package/dist/ports/replace-files.js.map +1 -0
- package/dist/ports/reporter.js +3 -0
- package/dist/ports/reporter.js.map +1 -0
- package/dist/ports/service-protocol.js +4 -0
- package/dist/ports/service-protocol.js.map +1 -0
- package/dist/ports/snapshot-views.js +4 -0
- package/dist/ports/snapshot-views.js.map +1 -0
- package/dist/ports/stores.js +3 -0
- package/dist/ports/stores.js.map +1 -0
- package/dist/ports/tool-history.js +3 -0
- package/dist/ports/tool-history.js.map +1 -0
- package/package.json +133 -4
- package/skills/fx-workspace/SKILL.md +34 -0
- package/skills/fx-workspace/references/commands.md +477 -0
- package/skills/fx-workspace/references/initialization.md +51 -0
- package/skills/fx-workspace/references/workspace-tasks.md +219 -0
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
# Command reference
|
|
2
|
+
|
|
3
|
+
The generated repository reference is `docs/cli/README.md`; installed commands
|
|
4
|
+
expose the same flags through `fx <command> --help`. The table lists common flags;
|
|
5
|
+
`--dry-run` belongs to write commands. `--details` is a global view option;
|
|
6
|
+
fact queries already return full results.
|
|
7
|
+
|
|
8
|
+
| Flag | Meaning |
|
|
9
|
+
| ------------------------------ | ------------------------------------------------------------------ |
|
|
10
|
+
| `--format json\|ndjson\|human` | output format; agents use `json` |
|
|
11
|
+
| `--details` | full workflow reports; fact queries are already complete |
|
|
12
|
+
| `--fields a,b.c` | keep only these dot paths |
|
|
13
|
+
| `--workspace <name-or-root>` | a registered name or root instead of the workspace containing cwd |
|
|
14
|
+
| `--no-input` | never prompt; a needed answer becomes a structured error |
|
|
15
|
+
| `--yes` | confirm prompts, including trust-on-first-use of manifest commands |
|
|
16
|
+
| `--dry-run` | on write commands: print the plan, change nothing |
|
|
17
|
+
| `--allow-writes` | override read-only posture once |
|
|
18
|
+
| `--quiet` | drop notices and progress (errors stay) |
|
|
19
|
+
|
|
20
|
+
Every `--help` ends with an `AGENT USAGE` block that restates the output
|
|
21
|
+
and error contract.
|
|
22
|
+
|
|
23
|
+
Use a registered name or root directory with `--workspace`; an unknown value
|
|
24
|
+
never selects a different default. When a host truncates a large response, use
|
|
25
|
+
`--fields` on a read-only query to retrieve the required facts. If you capture full
|
|
26
|
+
output, keep it within the task's authorized directory: shell redirection writes a
|
|
27
|
+
file even when the fx command is read-only.
|
|
28
|
+
|
|
29
|
+
## Workflow report views
|
|
30
|
+
|
|
31
|
+
The four workflow reports (`init`, `sync`, `doctor`, `release`) default to compact
|
|
32
|
+
JSON. `output_mode: summary` and `omitted` describe the view; omitted counts are
|
|
33
|
+
not pagination. All warning/failure rows and exact pending command vectors remain.
|
|
34
|
+
`--details` returns the full application result; explicit `--fields` projects it.
|
|
35
|
+
Explicit report projection applies in every format: JSON/NDJSON emit one object;
|
|
36
|
+
human output emits selected key/value pairs. Dotted paths retain flat keys and
|
|
37
|
+
array alignment. Without explicit fields, human/NDJSON defaults are unchanged.
|
|
38
|
+
Fact-query projections still apply per item and retain collection metadata. Error envelopes are never
|
|
39
|
+
projected or compacted.
|
|
40
|
+
|
|
41
|
+
For init/sync/doctor, `preparation` contains `state` (`planned`, `ready`, `incomplete`),
|
|
42
|
+
`next`, `scope`, `completed`, `blockers`, `warnings`, `unchecked`, `next_actions` and `resume`.
|
|
43
|
+
`next.kind` is `review`, `complete`, `act` or `handoff`. Agent `next_actions` exclude
|
|
44
|
+
personal actions (`actor: user`) and the conditional `resume`; use resume only
|
|
45
|
+
after the prerequisites change.
|
|
46
|
+
Initialization summaries retain selected repository, guide and Skill outcomes,
|
|
47
|
+
along with setup results, so callers can verify effects without extra discovery.
|
|
48
|
+
The setup stage retains completed outcomes in summary mode so callers do not
|
|
49
|
+
repeat local side effects while another step needs human input.
|
|
50
|
+
Only required blockers prevent readiness. Actions contain `actor`, `id`, `description`,
|
|
51
|
+
`argv`, `cwd` and `requires_approval`, with optional `env` coordinates for the
|
|
52
|
+
current configuration/home and Agent selection. Preserve these values and use
|
|
53
|
+
the returned exact executable. Credentials are never included.
|
|
54
|
+
Init and sync also identify preview/apply through `operation`. Ready exits 0;
|
|
55
|
+
incomplete preparation exits 12. Fatal failures keep their category exit codes
|
|
56
|
+
and partial stdout. `init --resume --workspace <name>` uses the managed source and
|
|
57
|
+
retains existing selection and work.
|
|
58
|
+
|
|
59
|
+
`self info.bundled_skill_version` identifies the instructions shipped with the
|
|
60
|
+
running executable. `skill status` reports `embedded_version`, installation
|
|
61
|
+
versions and `activation: unverified`. Installation or an environment declaration
|
|
62
|
+
cannot establish native host activation. Commands do not require a Skill-loaded
|
|
63
|
+
handshake; load the bundled task guide when the task needs it.
|
|
64
|
+
|
|
65
|
+
`SKILL_WRITE_DENIED` keeps denied filesystem paths and partial stage evidence.
|
|
66
|
+
Check access before repeating writes. To continue local repository/guide work,
|
|
67
|
+
use `sync --only repos,docs --no-refresh-manifest` in the affected workspace.
|
|
68
|
+
This does not claim the skipped Skill stage is ready or authorize trust changes.
|
|
69
|
+
|
|
70
|
+
## Shapes of the answering commands
|
|
71
|
+
|
|
72
|
+
`workspace list/show` resolves registry facts without requiring a valid manifest.
|
|
73
|
+
Rows include root/source, selection and health. `self info` still reports global
|
|
74
|
+
installation facts when the selected workspace is degraded. Use explicit
|
|
75
|
+
`workspace relocate`, `rebind` or `unregister` plans to change identity or end
|
|
76
|
+
management; these preserve business checkouts and respect owned-resource cleanup.
|
|
77
|
+
|
|
78
|
+
`repo select` / `env select` replace a personal collection. `--all` removes its
|
|
79
|
+
explicit scope and follows future shared entries; `--none` stores an empty set.
|
|
80
|
+
`pick/unpick` retain additive/removal semantics. Selection output reports modes
|
|
81
|
+
and next steps; repository selection is separate from downloading via sync.
|
|
82
|
+
|
|
83
|
+
`status` keeps `{items, has_more}` and adds workspace/root/selection context,
|
|
84
|
+
with `stray_entries` naming root entries that nothing accounts for.
|
|
85
|
+
Items preserve `dirty` as tracked changes and add `uncommitted` for tracked or
|
|
86
|
+
untracked work. Human output includes untracked counts; `--dirty` filters on all
|
|
87
|
+
uncommitted work. Empty results distinguish no declarations, no selected repos
|
|
88
|
+
and no matching uncommitted work.
|
|
89
|
+
|
|
90
|
+
Init accepts `--repos` / `--no-repos` before cloning. Its preview distinguishes
|
|
91
|
+
actual registration from planned effects and states whether source contents
|
|
92
|
+
were inspected; uninspected remote contents are not a validated selection.
|
|
93
|
+
`registered` means registration currently exists, including a successful retry.
|
|
94
|
+
|
|
95
|
+
Profile import merges registrations by name, retains unmentioned workspaces and
|
|
96
|
+
refuses root/source identity changes. Its registration plan and quoted next steps
|
|
97
|
+
identify missing manifest preparation. Use workspace lifecycle commands for
|
|
98
|
+
relocation, rebinding and removal rather than editing an export to remove names.
|
|
99
|
+
|
|
100
|
+
`fx can <capability|tool> [--env <env>]` — one record:
|
|
101
|
+
|
|
102
|
+
| Field | Meaning |
|
|
103
|
+
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
104
|
+
| `status` | `ready`, `missing_tool`, `outdated_tool`, `disabled_tool`, `unconfigured`, `no_access`, `not_covered`, `unknown` |
|
|
105
|
+
| `tool` | the companion tool the provider needs, or `null` when none is required; `provider` and `env` identify the target |
|
|
106
|
+
| `handoff` | pending preparation or human interaction: `summary`, `user_steps[]` (`id`, `kind`, `title`, optional `instructions`, `open`, `command`, `expects.path`, `check`), `command`, `alternatives` |
|
|
107
|
+
| `unfinished` | present when a check gave no answer (its tool did not start, or it outlived its deadline): `id`, `code`, `message` for each. It says nothing about the target either way |
|
|
108
|
+
| `alternatives` | commands that answer part of the question without the tool; for `not_covered`, the reason comes first |
|
|
109
|
+
|
|
110
|
+
A step's `check` says why it is pending. `result: failed` carries the `detail` its
|
|
111
|
+
tool gave and, when the bundled recipe can read it, a `cause`: `credential`
|
|
112
|
+
(authentication was not established), `permission` (it answered no) or `network`
|
|
113
|
+
(a connection could not be completed). The step's `instructions` and `open` then
|
|
114
|
+
already say what resolves that cause. `result: blocked` names in `by` the step it
|
|
115
|
+
waits on; act on that one first. A missing `cause` means the reason is not
|
|
116
|
+
established, which is not evidence against a sign-in: most checks declare no causes.
|
|
117
|
+
Read `detail` and the step's own guidance. A missing `check` comes from an older fx
|
|
118
|
+
or a check that did not run; `fx doctor --tool <tool> [--env <env>]` shows the tool's
|
|
119
|
+
message.
|
|
120
|
+
|
|
121
|
+
A bound provider without a companion tool has no installation or login check;
|
|
122
|
+
`ready` means preparation is complete, not that every repository query will succeed.
|
|
123
|
+
|
|
124
|
+
When a tool has multiple viable platform bindings, `can` returns
|
|
125
|
+
`CAN_AMBIGUOUS` rather than choosing by declaration order. Select a capability
|
|
126
|
+
and environment, or inspect repository platforms through `where`.
|
|
127
|
+
|
|
128
|
+
`fx can` without a target — `items[]`, one per capability a manifest binds, and per
|
|
129
|
+
platform instance for an environment-scoped one:
|
|
130
|
+
|
|
131
|
+
| Field | Meaning |
|
|
132
|
+
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
|
|
133
|
+
| `capability`, `scope` | the name `can` accepts; a `workspace` one is asked as `fx can <capability>`, an `environment` one needs `--env <env>` |
|
|
134
|
+
| `platform` | the platform instance, as `where --platform` names it; `null` for a workspace-scoped capability or when nothing is bound |
|
|
135
|
+
| `provider`, `tool` | what serves it in this workspace; `provider: null` means the manifest binds nothing, `tool: null` that no companion tool is resolved |
|
|
136
|
+
| `desc` | what the capability is for |
|
|
137
|
+
|
|
138
|
+
The list reads bindings only and takes no `--env`: it says who would answer, and
|
|
139
|
+
asking about one capability says whether they can.
|
|
140
|
+
|
|
141
|
+
`fx where <repo> [--env <env>] [--platform <name>] [--no-check] [--probe]` — `items[]`, one per platform and environment:
|
|
142
|
+
|
|
143
|
+
| Field | Meaning |
|
|
144
|
+
| --------------------------------- | -------------------------------------------------------------------------------------------------------------- |
|
|
145
|
+
| `status` | `located` or `not_covered` (the environment has no such platform, or the repository is deliberately uncovered) |
|
|
146
|
+
| `ready` | the `fx can` status for this platform's tool in this environment; `null` under `--no-check` |
|
|
147
|
+
| `handoff`, `unfinished` | as in `fx can`, when `ready` is not `ready` |
|
|
148
|
+
| `command` | a shell line to show the person or run yourself once `ready` says so; `null` when not covered |
|
|
149
|
+
| `url` | the page behind it, when the provider knows one |
|
|
150
|
+
| `confidence` | `verified`, `derived`, `unverified`, `not_covered`, `not_found` — the weakest declared |
|
|
151
|
+
| `notes` | caveats from the manifest, most specific first |
|
|
152
|
+
| `vars` | the merged variables, for composing another query |
|
|
153
|
+
| `outcome`, `suggested_confidence` | with `--probe` (needs `--env`): what the platform said, read-only, and the confidence to record |
|
|
154
|
+
|
|
155
|
+
`located` means the manifest resolved a coordinate, not that the repository runs
|
|
156
|
+
there; an undeclared `confidence` reads `derived`. `where` checks readiness against
|
|
157
|
+
the service unless `--no-check` is given, and `--no-check` does not turn off an
|
|
158
|
+
explicit `--probe`. Pass `--platform` to keep one platform's check from waiting on
|
|
159
|
+
another's. A `not_covered` row states what the manifest covers: its first note is the
|
|
160
|
+
reason, and a note of the environment may follow.
|
|
161
|
+
|
|
162
|
+
`fx member show <query>` — `items[]` of people: `id`, `display`, `email`, `status`, `accounts` (per system), `matched_by`, `via`.
|
|
163
|
+
`fx repo show <repo>` — the resolved entry, disk state and URLs, plus `owners`: `[]` when the members document names nobody, `null` when the workspace has no members document at all, else items of `area`, `lead`, `scenario`, `devLead`, `roles`, every person as `{id, name, email}` (name and email `null` when the id is not in the document, `all` included); `contact` is the project's contact. Its `next_steps` use the canonical repository name and explicit workspace to select an unpicked repository and synchronize missing shared checkouts; inspection itself never changes selection or downloads files.
|
|
164
|
+
|
|
165
|
+
### Diagnostic reports
|
|
166
|
+
|
|
167
|
+
Login and doctor reject unknown explicit tool/environment selectors before setup
|
|
168
|
+
or repair (`TOOL_UNKNOWN` / `ENV_NOT_FOUND`). `login --list` reports conflicting
|
|
169
|
+
expanded setup identities as `step_conflict` notices; executing that plan fails
|
|
170
|
+
with `SETUP_PLAN_CONFLICT`. Inspect the provider recipes rather than retrying the
|
|
171
|
+
same ambiguous setup. Doctor marks its missing verification as incomplete.
|
|
172
|
+
|
|
173
|
+
`fx doctor` returns `preparation`, diagnostic `coverage` (`complete` or `incomplete`),
|
|
174
|
+
`summary {ok, warn, fail}` and `findings[]`. The preparation verdict owns task completion;
|
|
175
|
+
optional host activation can remain unverified. An incomplete verdict exits 12.
|
|
176
|
+
`fx release` retains `ok`, `complete`, summary and findings and exits zero when its
|
|
177
|
+
checklist was produced. Findings carry group, id, level, coverage, message, fix and
|
|
178
|
+
handoff; full results also carry evidence. For `can`, inspect its capability status.
|
|
179
|
+
|
|
180
|
+
Doctor groups are `repos`, `root`, `tools`, `login`, `agents`, `manifest`, `self`,
|
|
181
|
+
`hooks`, `mcp` and `rules`. `root` lists entries at the workspace root that nothing
|
|
182
|
+
accounts for; they warn without affecting preparation. `manifest:docs` checks derived guides;
|
|
183
|
+
`manifest:upstream` checks source updates; `self:version` checks published CLI
|
|
184
|
+
updates. A development build needs no update; an unavailable registry produces
|
|
185
|
+
a warning, with a handoff when configuration is missing.
|
|
186
|
+
|
|
187
|
+
Doctor also returns `repairs`, empty without `--fix`. Summary JSON omits successful
|
|
188
|
+
repair rows; use `--details` to inspect all attempts. Each attempt is
|
|
189
|
+
`{group, status: planned|completed|failed, failure?}`. Failed attempts retain
|
|
190
|
+
structured recovery errors before post-repair findings are collected.
|
|
191
|
+
`completed` means the repair ran, not that the subsequent check passed.
|
|
192
|
+
|
|
193
|
+
`fx release [<repo>...] [--tag] [--only deps,merge,ci,errors] [--env] [--since]
|
|
194
|
+
[--jobs]` covers repositories selected by manifest release policy. Its evidence
|
|
195
|
+
is grouped by check:
|
|
196
|
+
|
|
197
|
+
| Group | Evidence |
|
|
198
|
+
| -------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
|
|
199
|
+
| `merge` | `source`, `target`, `ahead[]`, `behind[]`, `filtered`, `unknown[]` directions; commits have `sha`, `author {id, name}`, `date`, `message` |
|
|
200
|
+
| `deps` | `file`, `offending[] {name, version, section, runtime}` |
|
|
201
|
+
| `ci` | `builds[] {side, env, branch, path, number, status, started_at, url, current}`; null `path` means no declared job |
|
|
202
|
+
| `errors` | `env`, `slug`, `since`, `capped`, `undated`, `issues[] {short_id, title, level, first_seen, last_seen, count, url}` |
|
|
203
|
+
|
|
204
|
+
CI `current` compares build start time with branch-head time. This adapter result
|
|
205
|
+
has no built-commit field, so it is a freshness heuristic, not revision verification.
|
|
206
|
+
Use the companion's SCM/build details when the task requires an exact commit match.
|
|
207
|
+
The full report's merge/dependency/issue evidence is available with `--details`.
|
|
208
|
+
|
|
209
|
+
Uncovered explicit repositories yield `REPO_NOT_COVERED`, unmatched tags
|
|
210
|
+
`TAG_NOT_FOUND`, unknown environments `ENV_NOT_FOUND`, and an empty checklist
|
|
211
|
+
`CHECKLIST_EMPTY`. `--since` accepts windows such as `14d`, `48h` or `2w`;
|
|
212
|
+
invalid windows yield `BAD_SINCE`. Missing platform responses/jobs, undated
|
|
213
|
+
issues and builds that cannot be dated against the branch head warn rather
|
|
214
|
+
than prove readiness. `RELEASE_OK` / `RELEASE_FAILURES` are closing notices;
|
|
215
|
+
inspect report coverage even when the notice says OK.
|
|
216
|
+
|
|
217
|
+
### Update notices
|
|
218
|
+
|
|
219
|
+
`MANIFEST_OUTDATED` suggests `fx sync`; `FX_OUTDATED` suggests updating fx and
|
|
220
|
+
refreshing installed Skill copies. These notices do not change the command result.
|
|
221
|
+
Skill management, self-update, completion and lifecycle dispatch skip these checks.
|
|
222
|
+
|
|
223
|
+
Checks are cached for a day (fx) or an hour (manifest), run with two-second upstream
|
|
224
|
+
deadlines and stay silent on failure. Local cache access and bounded npm Registry discovery are outside that
|
|
225
|
+
deadline. `FX_UPDATE_CHECK=0`, `update_check: false` or `--quiet` disables them;
|
|
226
|
+
doctor then marks those checks as not checked. A failure before configuration is
|
|
227
|
+
loaded performs no update check.
|
|
228
|
+
|
|
229
|
+
`self info` exposes the effective `registry` and `registry_source`. Runtime order
|
|
230
|
+
is optional `FX_REGISTRY`, npm's package-scope setting, then npm's default setting.
|
|
231
|
+
Discovery uses global mode, honoring user/global config and `NPM_CONFIG_USERCONFIG`
|
|
232
|
+
while excluding project npmrc. Invalid chosen settings remain unresolved; internal
|
|
233
|
+
packages never fall back to a public Registry. Historical tarball URLs are not used
|
|
234
|
+
to guess Registry APIs. Metadata authentication is delegated to npm; the existing
|
|
235
|
+
private `FX_REGISTRY_TOKEN` override remains supported when paired with explicit
|
|
236
|
+
`FX_REGISTRY`; it is not applied to an inferred target. Self-update pins only the
|
|
237
|
+
fx package scope, preserving npm's default route for other dependencies.
|
|
238
|
+
|
|
239
|
+
### Initialization and synchronization
|
|
240
|
+
|
|
241
|
+
`fx sync` — `items[]` of repository rows (exceptions only in summary JSON), then `summary` and `stages` (`services`, `docs`, `skills`, `hooks`, `mcp`, `tools`) in the same envelope. Failed repository rows keep the display `error` and a
|
|
242
|
+
`failure` object with `category`, `code`, `message`, `hint`, `next_steps`,
|
|
243
|
+
`retryable` and optional `handoff`. Use that recovery data to decide what to
|
|
244
|
+
retry; the other rows may already have succeeded. Exit zero can accompany
|
|
245
|
+
partial results: inspect `summary.failed`, `summary.unreadable` and stage counts.
|
|
246
|
+
|
|
247
|
+
Interrupted Skill stages retain item `status` and disk `observed` values in
|
|
248
|
+
`stage_details.skills`; package failures retain `tool_install`, including completed,
|
|
249
|
+
failed and not-started rows. `code: null` is not success. A package row with
|
|
250
|
+
`phase: version` and `code: 0` completed installation before verification failed.
|
|
251
|
+
Inspect these records before retrying; cancellation stops execution.
|
|
252
|
+
`stage_details` adds document `files`, Skill `links`/`fx`/`tools`, and tool-check,
|
|
253
|
+
hook and MCP `items` where those stages ran. Rules rows are nested under
|
|
254
|
+
`stage_details.docs.rules.items`. Skill tool rows retain exit `code`, a concise
|
|
255
|
+
`note`, and the companion's structured `failure` when supplied. `code: null`
|
|
256
|
+
means no exit result is available; consult item status and `ran` where supplied.
|
|
257
|
+
A dry run executes no command, but an interrupted process may also lack an exit result. `stages` keeps its existing
|
|
258
|
+
counter shape; details supplement those counts rather than replacing them.
|
|
259
|
+
`fx init` nests this result under `sync`; its `written` field confirms local
|
|
260
|
+
registration work, not complete synchronization or readiness.
|
|
261
|
+
|
|
262
|
+
Document writes use a captured file snapshot. `DOCS_WRITE_CONFLICT` preserves a
|
|
263
|
+
concurrent edit or unsafe path; inspect the path and retry from its current content.
|
|
264
|
+
Each document row has `action` (the plan) and `result` (`planned`, `done`, `skipped`,
|
|
265
|
+
`failed`, `not_started`). On failure, read `files` from partial stdout, or
|
|
266
|
+
`stage_details.docs.files` inside sync and `sync.stage_details.docs.files` inside init. Completed file rows remain in the
|
|
267
|
+
failure summary. Retry the same document operation after resolving the blocker;
|
|
268
|
+
unchanged files are skipped. Approved foreign replacements move the original
|
|
269
|
+
object to a unique sibling `.fx-backup[-N]` before a guarded write.
|
|
270
|
+
|
|
271
|
+
`fx manifest render --check` — exit 11 (`DOCS_STALE`) when the manifest repository's AGENTS.md regions differ from the manifest.
|
|
272
|
+
|
|
273
|
+
`fx hook list` — `items[]` with agent, action, activation, path, context and handoff,
|
|
274
|
+
plus workspace/root, the effective enabled setting, and dated observations.
|
|
275
|
+
`activation: unverified` means native trust/execution has not been established;
|
|
276
|
+
a matching projection alone is not readiness. An observation whose code is
|
|
277
|
+
`HOOK_PHASE_UNREPORTED` names a background phase that never answered, so its
|
|
278
|
+
absence of findings is unknown rather than clean; run its `command` to find out. `fx hook enable [--dry-run]`
|
|
279
|
+
enables this workspace and projects selected hosts. `fx hook disable [--dry-run]`
|
|
280
|
+
disables it and removes owned entries. Global `hooks` / `FX_HOOKS` gates all
|
|
281
|
+
workspaces; local `hooks.enabled` gates one. `agent unpick` remains global and
|
|
282
|
+
adds per-workspace hook cleanup results. Lifecycle dispatch is an internal,
|
|
283
|
+
fail-open host entry and is not a command to run for ordinary diagnostics.
|
|
284
|
+
|
|
285
|
+
## Source contributions and recording
|
|
286
|
+
|
|
287
|
+
`fx source push <paths...> --issue <id> --title <title> [--message] [--new]
|
|
288
|
+
[--pr <id|url>] [--dry-run]` returns one record with workspace, action, files,
|
|
289
|
+
branch, base/tree/commit identities, target, target_branch, planned message/title,
|
|
290
|
+
pull_request, findings, validated, written, fetched and retired operation IDs.
|
|
291
|
+
Nullable fields are explicit. `create`, `update`, `resume`, `associate`, `unchanged`,
|
|
292
|
+
`recover`, `needs-fetch` and `cancelled` are distinct actions. A preview does not
|
|
293
|
+
write Git objects, refs or journals. --pr must resolve to the current repository
|
|
294
|
+
and recorded source/target branches; an arbitrary URL is never used as a request
|
|
295
|
+
destination. Private manifest addresses are permitted, credentials/personnel content
|
|
296
|
+
are rejected, and only selected whole files enter validation and the commit.
|
|
297
|
+
|
|
298
|
+
`fx manifest record-probe <repo> --env <env> --platform <platform>` returns a
|
|
299
|
+
recording record instead of a list. `where --probe --record` is a compatibility entry:
|
|
300
|
+
action (`preview`, `recorded`, `unchanged`, `skipped`), file, scope, path,
|
|
301
|
+
before/after confidence, note, row, written and handoff.
|
|
302
|
+
The row retains the normal where/probe fields and includes probe_template. Dry-run
|
|
303
|
+
sets after to null; only a real definite probe can set verified or not_found.
|
|
304
|
+
Stale documents, aliases/anchors or conflicting writes are refused.
|
|
305
|
+
|
|
306
|
+
## MCP
|
|
307
|
+
|
|
308
|
+
`mcp list` returns `{items, has_more, orphaned}`. `mcp show <name>` returns one
|
|
309
|
+
resource with symbolic bindings, projections and readiness. `can mcp:<name>`
|
|
310
|
+
optionally accepts `--agent <id>`; MCP resources are workspace-scoped, so `--env`
|
|
311
|
+
is not applicable. Use `sync --only mcp` for projection and `doctor` for repair.
|
|
312
|
+
|
|
313
|
+
## Standalone companion Skill
|
|
314
|
+
|
|
315
|
+
`skill path` uses the collection envelope. Each row has an optional `agent`, `path`,
|
|
316
|
+
`status` (`installed`, `not_installed`, `foreign`), `version` (nullable) and
|
|
317
|
+
`version_state` (`matching`, `older`, `newer`, `unknown`, `missing`). `skill status`
|
|
318
|
+
returns `loaded`, `loaded_env`, `loaded_version`, `version_env`, `version_verified`,
|
|
319
|
+
`embedded_version`, `installs` and `next`. The declared loaded flag and declared
|
|
320
|
+
version are separate; neither proves reading. Neither command needs a workspace.
|
|
321
|
+
|
|
322
|
+
Install/uninstall detect agents in the selected scope by default; `--agent`
|
|
323
|
+
accepts repeated or comma-separated IDs. Path/status list all known agents unless
|
|
324
|
+
narrowed. Project detection uses native markers; user detection also recognizes
|
|
325
|
+
agent executables on PATH. `--project` selects cwd; `--dir` selects an independent
|
|
326
|
+
directory and cannot be combined with `--agent` or `--project`.
|
|
327
|
+
|
|
328
|
+
Explicit install refreshes recognized copies to the bundled version, including
|
|
329
|
+
same-version repair or replacing a newer copy. Init/sync never downgrade newer
|
|
330
|
+
copies. Foreign replacements require confirmation and backup. Uninstall removes
|
|
331
|
+
recognized copies after confirmation (`--yes` for noninteractive execution), keeps
|
|
332
|
+
foreign paths and leaves agent selection unchanged; later sync can reinstall a copy.
|
|
333
|
+
|
|
334
|
+
`skill install/uninstall` return collection rows with `action`, `status`, `version`
|
|
335
|
+
and target fields. Status is `planned` for previews; execution distinguishes
|
|
336
|
+
`installed`, `removed`, `not_installed`, `foreign`, `skipped`, `failed` and
|
|
337
|
+
`not_started`. On interruption, stdout retains the partial collection with each
|
|
338
|
+
row's `observed` state and failure envelope; stderr preserves the original error.
|
|
339
|
+
`SKILL_FLAGS`, `SKILL_AGENT` and `SKILL_NO_AGENT` are usage errors.
|
|
340
|
+
`SKILL_SOURCE_PROTECTED` rejects writes through shared manifest paths;
|
|
341
|
+
`SKILL_BUSY` and `SKILL_TARGET_CHANGED` require inspecting/retrying the target.
|
|
342
|
+
|
|
343
|
+
`skill show` is an explicit raw-text exception to structured stdout: it always
|
|
344
|
+
prints the bundled SKILL.md. It makes no network check and emits no discovery hint.
|
|
345
|
+
|
|
346
|
+
## Installation audit and inventory
|
|
347
|
+
|
|
348
|
+
`fx tool history [tool]` returns `{items, has_more: false, scope: "global"}` across FX_HOME. Each
|
|
349
|
+
checkpoint has `id`, `at`, `event` (`started`, `installed`, `finished`), `operation`
|
|
350
|
+
(`init`, `install`, `update`), nullable `workspace`, `name`, `binary`, `via`, `spec`,
|
|
351
|
+
redacted `vector`, nullable `code`, `version_after`, `binary_path`, `failure_code`.
|
|
352
|
+
New checkpoints also carry `installation_origin` and `binary_path_before`; legacy
|
|
353
|
+
records can lack them and never establish original ownership.
|
|
354
|
+
Checkpoints share an operation ID. `code: 0` describes the package manager; a
|
|
355
|
+
null version does not prove readiness. Raw process output is absent.
|
|
356
|
+
|
|
357
|
+
`fx tool inventory` uses the same collection envelope. Rows include `name`, `via`,
|
|
358
|
+
`spec`, `binary`, current `binary_path`, recorded `version_after`, `last_operation`,
|
|
359
|
+
`last_recorded_at`, `installation_origin`, `recorded`, `installed_by`, `required_by`, `unknown_workspaces`, `state`
|
|
360
|
+
and nullable `uninstall_hint`. States are `required`, `unused`, `unknown`,
|
|
361
|
+
`unverified`, `not_on_path`, `changed`, `unscoped`, `external`. Unrecorded known
|
|
362
|
+
executables have null manager/package/version/operation fields; inspection does
|
|
363
|
+
not adopt them. `installed_by` identifies successful operations, not original
|
|
364
|
+
ownership. Only confirmed fx-origin `unused` rows have a removal
|
|
365
|
+
hint; it is never an executable approval. Sync exposes these rows in
|
|
366
|
+
`stage_details.tools.installations` and counts `stages.tools.unused`.
|
|
367
|
+
|
|
368
|
+
## Service preparation
|
|
369
|
+
|
|
370
|
+
Explicit init/sync includes `stages.services` and `stage_details.services.items`.
|
|
371
|
+
Each item has `id`, `tool`, nullable `env`, `status`, `detail` and optional public
|
|
372
|
+
`changes`, structured `failure`, `next_steps`. Status is `configured`, `unchanged`,
|
|
373
|
+
`planned`, `blocked` or `failed`; plan problems remain separate. Public configuration
|
|
374
|
+
success never establishes personal authentication. `sync --only services` selects
|
|
375
|
+
this stage, and `--dry-run` does not write configuration or trust.
|
|
376
|
+
|
|
377
|
+
Family companion setup uses `config set-context` without automatically adding
|
|
378
|
+
`--activate` or `--overwrite`; the first-context default is owned by the companion.
|
|
379
|
+
Inspect `CONFIG_CONTEXT_CONFLICT` differences and the overwrite preview before
|
|
380
|
+
changing existing settings. Session-backed OpenObserve contexts require a new
|
|
381
|
+
context to change their URL/scheme; login uses `auth login --browser`.
|
|
382
|
+
Sentry accepts public workspace URL/org defaults and names the instance with
|
|
383
|
+
`--url`; it never copies existing credentials into shared configuration.
|
|
384
|
+
These bundled service commands need no trust approval. Vectors the team's
|
|
385
|
+
`tools.yaml` patch authors do, and a changed one requires new exact-command trust.
|
|
386
|
+
|
|
387
|
+
## Readiness and recovery
|
|
388
|
+
|
|
389
|
+
`LOGIN_REQUIRED` and non-ready `can`/`where` answers enter this flow.
|
|
390
|
+
|
|
391
|
+
`login --format json` includes `items`, `has_more`, `summary` and `problems`;
|
|
392
|
+
`--list` includes plan problems even with `--quiet`. If a step needs human input
|
|
393
|
+
or a later step throws, read the partial result on stdout as well as the error
|
|
394
|
+
on stderr. Results distinguish `handoff`, `blocked`, `failed` and `not_started`;
|
|
395
|
+
completed steps remain visible. Handoff rows include the required action, and
|
|
396
|
+
service preparation rows retain available `failure` and `next_steps` fields.
|
|
397
|
+
After resolving the blocker, repeat the same invocation: setup verifies current
|
|
398
|
+
state before rerunning actions. Consumers that previously discarded stdout on
|
|
399
|
+
nonzero exit must now parse it when present. `self update` also captures installer
|
|
400
|
+
output so its stdout remains parseable; inspect the returned installer `code`.
|
|
401
|
+
|
|
402
|
+
Retain the original task, repository/environment and readiness query while
|
|
403
|
+
repairing prerequisites. Authorization already given in this session persists;
|
|
404
|
+
perform covered local work without asking again. Readiness and a printed
|
|
405
|
+
handoff never authorize external writes, permission changes or credential
|
|
406
|
+
creation. Cluster/Rancher restrictions apply throughout setup too.
|
|
407
|
+
|
|
408
|
+
If fx itself cannot run, follow the root guide's pre-Skill bootstrap and the
|
|
409
|
+
manifest source README. Inspect the executable/package identity, runtime and
|
|
410
|
+
PATH before reinstalling. A verified local `node <checkout>/bin/fx.js` entry
|
|
411
|
+
can stand in for every `fx` command below. Do not use `fx self update` to
|
|
412
|
+
recover an executable that cannot start.
|
|
413
|
+
|
|
414
|
+
1. **Diagnose the selected prerequisite.** Read status, `handoff.summary`,
|
|
415
|
+
`user_steps` with each step's `check`, `unfinished` and alternatives. Use `fx doctor --tool <tool>` and
|
|
416
|
+
`fx login <tool> --env <env> --dry-run --no-input` for current checks;
|
|
417
|
+
`--list` shows recipes without verifying them. Omit `--env` for an unscoped
|
|
418
|
+
tool. Load the relevant companion Skill for provider-specific setup and
|
|
419
|
+
diagnostics. A failed auth check alone does not identify the root cause.
|
|
420
|
+
2. **Complete authorized local preparation.** For `missing_tool`, use the
|
|
421
|
+
returned install/update command, preview it with `--dry-run`, and inspect
|
|
422
|
+
the manager/package/registry before executing. Check `ran`, `code`, `error`
|
|
423
|
+
and `version_after`; exit zero or a null version is not proof of readiness.
|
|
424
|
+
Fix a confirmed PATH/runtime issue before reinstalling. For pending setup,
|
|
425
|
+
inspect recipes via `login --list` and preview checks; preserve working
|
|
426
|
+
configuration. A `kind: run` step can still open a browser or change remote
|
|
427
|
+
credentials: classify its actual effects using the companion Skill.
|
|
428
|
+
Run `fx login <tool> [--env <env>] --skip-manual --no-input --yes` only when
|
|
429
|
+
all selected run effects are authorized and every patch-supplied run/check
|
|
430
|
+
vector is already trusted or explicitly approved. `--yes` also trusts those
|
|
431
|
+
vectors; it is not just a prompt suppressor. If only part is authorized,
|
|
432
|
+
use the companion's supported scoped operation, keeping the same trust
|
|
433
|
+
boundary. Inspect `failed`, `blocked`, `skipped` rows and setup problems.
|
|
434
|
+
3. **Hand off only the human part.** Prepare supported local configuration and
|
|
435
|
+
start an authorized login flow when useful; leave QR/device/browser consent,
|
|
436
|
+
obtaining access and new vector approval to the person. For manual/file
|
|
437
|
+
steps, use `title`, `instructions`, `open`, `command` and `expects.path` when
|
|
438
|
+
present. The file path is a destination, not permission to fetch or create
|
|
439
|
+
credentials. Ask concisely what they must do, where, why, and name the check
|
|
440
|
+
you will run afterward. Never request tokens in chat. Continue independent
|
|
441
|
+
authorized work while waiting; do not claim the dependent task is complete.
|
|
442
|
+
4. **Verify and resume.** Once local input changes or the person finishes,
|
|
443
|
+
re-run the same scoped `can`/`where` query. Login checks before acting and
|
|
444
|
+
skips already-valid steps; do not reinstall/reinitialize successful setup.
|
|
445
|
+
On `ready`, automatically continue the original task through the companion
|
|
446
|
+
Skill. On the same unchanged failure, diagnose the specific provider error
|
|
447
|
+
or report a concrete blocker and the missing input. Do not loop logins or
|
|
448
|
+
ask for the same authorization again.
|
|
449
|
+
|
|
450
|
+
| Evidence | Next decision |
|
|
451
|
+
| ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
452
|
+
| `INSTALLER_UNAVAILABLE`, missing runtime or manager | Read tool docs/local installation guidance, inspect PATH and available managers, perform authorized local install; ask only for unavailable source or required machine access. |
|
|
453
|
+
| Registry/package unavailable, install `error` or network failure | Check the reported registry/package and connectivity; package publication is not guaranteed. Use a documented local source when available. Retry only after a relevant change or a bounded provider-directed wait. |
|
|
454
|
+
| `unconfigured`, failed configuration/auth check | Read `handoff.user_steps[].check` first. A recognized `permission` or `network` cause does not call for a sign-in. Few checks declare causes, so a missing `cause` is not evidence against a sign-in: keep diagnosing from `detail`, the tool's own error, the step's guidance and scoped doctor details, neither signing in automatically nor ruling out a sign-in the evidence supports. Initialize only missing configuration. |
|
|
455
|
+
| `no_access` from fx | This means the environment is outside personal selection, not a remote permission verdict. Select it only within task scope; remote missing scope/forbidden requires the appropriate access decision. |
|
|
456
|
+
| `not_covered`, `CAPABILITY_UNBOUND`, unresolved recipe/coordinate | Inspect manifest providers/validation and maintain confirmed shared facts within scope. Do not substitute another environment or repeatedly ask for login. |
|
|
457
|
+
| `TOOL_UNDECLARED` | The capability is bound and its provider is known; the tools document does not declare the companion the provider runs. Propose that declaration; do not rebind the capability or install the tool first. |
|
|
458
|
+
| `unknown`, parse error or unexpected failure | With `unfinished`, a check gave no answer: for `TOOL_MISSING` repair the tool, for `PROCESS_TIMEOUT` repeat the scoped query or the returned doctor command, and hand nobody a sign-in for either. Otherwise inspect focused diagnostics and the companion Skill; preserve uncertainty, redact sensitive output, and report an actionable blocker if evidence cannot resolve it. |
|
|
459
|
+
|
|
460
|
+
## Concurrent manifest edits
|
|
461
|
+
|
|
462
|
+
`manifest repo-set` rechecks the captured document under a file lease before
|
|
463
|
+
replacing it. If another writer changed it, the path is not a regular file, or
|
|
464
|
+
its directory is a symbolic link, `MANIFEST_EDIT_CONFLICT` preserves the existing
|
|
465
|
+
content. Inspect the real source path and retry with `--dry-run`; do not remove
|
|
466
|
+
locks or overwrite another edit. An identical edit reports `written: false`.
|
|
467
|
+
|
|
468
|
+
### Existing logins and canonical contexts
|
|
469
|
+
|
|
470
|
+
Updated family companions provide `auth reuse --dry-run` and `auth reuse` for
|
|
471
|
+
associating a verified existing identity with the manifest's named context. Init
|
|
472
|
+
and every explicit `fx sync` invoke this native preparation automatically before
|
|
473
|
+
personal authentication; do not run it by hand inside a workspace.
|
|
474
|
+
It never copies secrets or changes a populated destination identity. Multiple
|
|
475
|
+
identities require `--from-context` after native `config contexts` discovery.
|
|
476
|
+
Keep the final auth check: `unavailable` or `unchanged` does not establish login.
|
|
477
|
+
Treat keychain/network/scope failures as their own recovery, not a login request.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Prepare a workspace
|
|
2
|
+
|
|
3
|
+
Use the supplied manifest and target directory literally, including spaces and
|
|
4
|
+
non-ASCII characters. Keep the executable returned by `self info`; another `fx`
|
|
5
|
+
may be an older installation. Init prepares its own Skill automatically.
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
fx init "<directory>" --from "<source>" --dry-run --format json
|
|
9
|
+
fx init "<directory>" --from "<source>" --format json
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Include `--repos api,web` or `--no-repos` when the task specifies a selection.
|
|
13
|
+
Otherwise use the default. fx derives the registration name; do not rename the
|
|
14
|
+
target to satisfy a name rule.
|
|
15
|
+
|
|
16
|
+
Compare the preview's `root` with the requested target and review its effects.
|
|
17
|
+
Setup entries marked `prepare_if_needed` may execute their `command`;
|
|
18
|
+
`verify_only` entries only check prerequisites and hand unfinished work to its
|
|
19
|
+
owner. Personal authentication is never executed by init, including with `--yes`.
|
|
20
|
+
Use `--yes` when the exact automatic vectors and file replacements are already
|
|
21
|
+
authorized. A remote source not yet inspected is not approval for its commands.
|
|
22
|
+
|
|
23
|
+
Read `preparation.next` and take that branch:
|
|
24
|
+
|
|
25
|
+
| kind | Action |
|
|
26
|
+
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
27
|
+
| `review` | This is a preview; no work was performed. Review the plan, then apply. |
|
|
28
|
+
| `complete` | Required preparation is verified. Continue the user's original task, such as reading their requested sample. No additional setup or diagnostic checklist is needed. |
|
|
29
|
+
| `act` | Run the returned `next_actions` within the task's authorization; retain each action's `argv`, `cwd` and non-secret `env`. |
|
|
30
|
+
| `handoff` | Report the blockers to their owners and wait for the prerequisites to change. Completed setup commands have already been performed; do not invoke them directly again. |
|
|
31
|
+
|
|
32
|
+
`state` is `planned`, `ready` or `incomplete`. Incomplete exits 12 and preserves
|
|
33
|
+
completed work. User actions are marked `actor: user` inside their blocker;
|
|
34
|
+
they are not Agent `next_actions`. Do not run personal login or create operator
|
|
35
|
+
files to get a green result. Optional host activation is separate from preparation.
|
|
36
|
+
|
|
37
|
+
After the person resolves the blockers, run the returned `resume` action. It
|
|
38
|
+
keeps the managed source and selection, verifies again and skips completed work:
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
fx init --resume --workspace <name> --format json
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Use the complete retry returned with an early source error instead when the new
|
|
45
|
+
source was never accepted. Preserve both streams on failure. Default results
|
|
46
|
+
contain the decision and recovery; use `--details` only for a specific missing
|
|
47
|
+
piece of evidence, without repeating a successful write.
|
|
48
|
+
|
|
49
|
+
If fx is absent, install the package/source provided by the team within the
|
|
50
|
+
authorized prefix. npm configuration supplies Registry routing and authentication;
|
|
51
|
+
no separate FX_REGISTRY setup is needed. Verify `self info`, then use this route.
|