@fitlab-ai/agent-infra 0.9.10 → 0.9.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -9
- package/README.zh-CN.md +19 -9
- package/bin/cli.ts +17 -4
- package/dist/bin/cli.js +19 -4
- package/dist/bin/internal-cli.js +55 -4
- package/dist/lib/agent-client.js +0 -1
- package/dist/lib/agent-clients/adapters/codex-lifecycle/build-identity.js +71 -10
- package/dist/lib/agent-clients/adapters/opencode-sandbox.js +0 -4
- package/dist/lib/agent-clients/adapters/traecli.js +7 -8
- package/dist/lib/agent-clients/config.js +14 -99
- package/dist/lib/agent-clients/reconcile.js +1 -11
- package/dist/lib/agent-clients/schema.js +5 -4
- package/dist/lib/agent-clients/tokens.js +5 -15
- package/dist/lib/decide.js +14 -30
- package/dist/lib/defaults.json +8 -0
- package/dist/lib/git/workflow.js +43 -1
- package/dist/lib/init.js +3 -2
- package/dist/lib/internal/git-workflow.js +8 -1
- package/dist/lib/internal/platform-pr.js +8 -2
- package/dist/lib/internal/release-workflow.js +0 -1
- package/dist/lib/internal/task-delivery.js +59 -0
- package/dist/lib/internal/task-finalization.js +19 -9
- package/dist/lib/internal/task-ledger.js +8 -2
- package/dist/lib/internal/task-lifecycle.js +17 -93
- package/dist/lib/internal/task-orchestration.js +30 -216
- package/dist/lib/internal/task-validate.js +2 -1
- package/dist/lib/merge.js +205 -103
- package/dist/lib/platform/github-client.js +7 -1
- package/dist/lib/platform/pr-checks.js +8 -5
- package/dist/lib/platform/pr-summary.js +12 -8
- package/dist/lib/platform/pull-requests.js +393 -91
- package/dist/lib/platform/verification-required.js +13 -2
- package/dist/lib/platform/verification-sync.js +9 -4
- package/dist/lib/pr-review/evidence-grading.js +12 -4
- package/dist/lib/process-data/normalize.js +2 -9
- package/dist/lib/run/host.js +46 -16
- package/dist/lib/sandbox/agent-client-reconciler.js +4 -12
- package/dist/lib/sandbox/commands/create.js +3 -3
- package/dist/lib/sandbox/commands/enter.js +18 -4
- package/dist/lib/sandbox/config.js +8 -12
- package/dist/lib/sandbox/control/executor.js +131 -39
- package/dist/lib/sandbox/control/lifecycle.js +55 -24
- package/dist/lib/sandbox/control/server.js +18 -16
- package/dist/lib/sandbox/mounts.js +3 -2
- package/dist/lib/sandbox/recovery.js +123 -22
- package/dist/lib/sandbox/workspace-identity.js +14 -0
- package/dist/lib/sandbox/workspace-view.js +8 -9
- package/dist/lib/self-update.js +278 -0
- package/dist/lib/server/process-state.js +2 -2
- package/dist/lib/server/protocol.js +5 -5
- package/dist/lib/task/activity-log.js +4 -1
- package/dist/lib/task/artifact-lifecycle.js +6 -4
- package/dist/lib/task/codex-orchestration.js +1 -1
- package/dist/lib/task/command-options.js +1 -3
- package/dist/lib/task/commands/cat.js +0 -5
- package/dist/lib/task/commands/decisions.js +76 -92
- package/dist/lib/task/commands/files.js +6 -6
- package/dist/lib/task/commands/grep.js +25 -61
- package/dist/lib/task/commands/issue-body.js +6 -6
- package/dist/lib/task/commands/log.js +25 -10
- package/dist/lib/task/commands/show.js +5 -6
- package/dist/lib/task/commands/status.js +8 -8
- package/dist/lib/task/commit-intent.js +100 -0
- package/dist/lib/task/commit-operation.js +181 -91
- package/dist/lib/task/commit-policy.js +1 -1
- package/dist/lib/task/control-authority.js +431 -0
- package/dist/lib/task/create.js +39 -8
- package/dist/lib/task/current-contract.js +35 -0
- package/dist/lib/task/decision-details.js +218 -0
- package/dist/lib/task/decision-intents.js +5 -2
- package/dist/lib/task/delivery-target.js +97 -0
- package/dist/lib/task/delivery.js +153 -0
- package/dist/lib/task/events.js +11 -5
- package/dist/lib/task/human-override.js +5 -2
- package/dist/lib/task/index.js +19 -20
- package/dist/lib/task/ledger-intents.js +8 -9
- package/dist/lib/task/ledger.js +13 -6
- package/dist/lib/task/lifecycle.js +122 -9
- package/dist/lib/task/orchestration.js +105 -75
- package/dist/lib/task/pr-delivery-fact.js +182 -0
- package/dist/lib/task/review-artifacts.js +31 -12
- package/dist/lib/task/review-finalization.js +13 -4
- package/dist/lib/task/review-fingerprint.js +8 -0
- package/dist/lib/task/verification-engine.js +86 -39
- package/dist/lib/task/verification-review.js +2 -2
- package/dist/lib/task/workspace-snapshot.js +5 -11
- package/dist/lib/task/write.js +11 -1
- package/dist/lib/update.js +13 -35
- package/dist/lib/version.js +5 -1
- package/dist/lifecycle-build-manifest.json +3 -3
- package/lib/agent-client.ts +0 -1
- package/lib/agent-clients/adapters/codex-lifecycle/build-identity.ts +105 -10
- package/lib/agent-clients/adapters/codex-lifecycle/manifest-files.json +12 -1
- package/lib/agent-clients/adapters/opencode-sandbox.ts +0 -5
- package/lib/agent-clients/adapters/traecli.ts +7 -8
- package/lib/agent-clients/config.ts +14 -144
- package/lib/agent-clients/reconcile.ts +1 -12
- package/lib/agent-clients/schema.ts +5 -4
- package/lib/agent-clients/tokens.ts +5 -18
- package/lib/decide.ts +12 -22
- package/lib/defaults.json +8 -0
- package/lib/git/workflow.ts +38 -1
- package/lib/init.ts +5 -2
- package/lib/internal/git-workflow.ts +7 -1
- package/lib/internal/platform-pr.ts +8 -1
- package/lib/internal/release-workflow.ts +0 -1
- package/lib/internal/task-delivery.ts +53 -0
- package/lib/internal/task-finalization.ts +27 -13
- package/lib/internal/task-ledger.ts +8 -2
- package/lib/internal/task-lifecycle.ts +33 -76
- package/lib/internal/task-orchestration.ts +33 -190
- package/lib/internal/task-validate.ts +3 -2
- package/lib/merge.ts +236 -120
- package/lib/platform/github-client.ts +8 -1
- package/lib/platform/pr-checks.ts +7 -5
- package/lib/platform/pr-summary.ts +10 -7
- package/lib/platform/pull-requests.ts +425 -87
- package/lib/platform/verification-required.ts +12 -2
- package/lib/platform/verification-sync.ts +9 -4
- package/lib/pr-review/evidence-grading.ts +7 -4
- package/lib/process-data/normalize.ts +2 -8
- package/lib/run/host.ts +63 -14
- package/lib/sandbox/agent-client-reconciler.ts +5 -15
- package/lib/sandbox/commands/create.ts +4 -4
- package/lib/sandbox/commands/enter.ts +24 -4
- package/lib/sandbox/config.ts +9 -14
- package/lib/sandbox/control/container-identity.ts +2 -2
- package/lib/sandbox/control/executor.ts +148 -51
- package/lib/sandbox/control/lifecycle.ts +59 -31
- package/lib/sandbox/control/protocol.ts +1 -3
- package/lib/sandbox/control/server.ts +15 -12
- package/lib/sandbox/control/state.ts +7 -7
- package/lib/sandbox/mounts.ts +4 -3
- package/lib/sandbox/recovery.ts +162 -34
- package/lib/sandbox/tools.ts +1 -1
- package/lib/sandbox/workspace-identity.ts +28 -0
- package/lib/sandbox/workspace-view.ts +14 -10
- package/lib/self-update.ts +341 -0
- package/lib/server/process-state.ts +2 -2
- package/lib/server/protocol.ts +5 -5
- package/lib/task/activity-log.ts +6 -1
- package/lib/task/artifact-lifecycle.ts +7 -5
- package/lib/task/codex-orchestration.ts +2 -1
- package/lib/task/command-options.ts +1 -2
- package/lib/task/commands/cat.ts +0 -4
- package/lib/task/commands/decisions.ts +80 -75
- package/lib/task/commands/files.ts +6 -6
- package/lib/task/commands/grep.ts +23 -51
- package/lib/task/commands/issue-body.ts +6 -6
- package/lib/task/commands/log.ts +22 -10
- package/lib/task/commands/show.ts +5 -6
- package/lib/task/commands/status.ts +8 -8
- package/lib/task/commit-intent.ts +137 -0
- package/lib/task/commit-operation.ts +161 -79
- package/lib/task/commit-policy.ts +1 -2
- package/lib/task/control-authority.ts +563 -0
- package/lib/task/create.ts +40 -10
- package/lib/task/current-contract.ts +49 -0
- package/lib/task/decision-details.ts +280 -0
- package/lib/task/decision-intents.ts +7 -2
- package/lib/task/delivery-target.ts +130 -0
- package/lib/task/delivery.ts +160 -0
- package/lib/task/events.ts +10 -5
- package/lib/task/human-override.ts +5 -2
- package/lib/task/index.ts +19 -20
- package/lib/task/ledger-intents.ts +6 -8
- package/lib/task/ledger.ts +17 -7
- package/lib/task/lifecycle.ts +113 -4
- package/lib/task/orchestration.ts +102 -80
- package/lib/task/pr-delivery-fact.ts +254 -0
- package/lib/task/review-artifacts.ts +53 -15
- package/lib/task/review-finalization.ts +21 -5
- package/lib/task/review-fingerprint.ts +10 -0
- package/lib/task/verification-engine.ts +78 -46
- package/lib/task/verification-review.ts +3 -1
- package/lib/task/workspace-snapshot.ts +4 -13
- package/lib/task/write.ts +20 -1
- package/lib/update.ts +14 -38
- package/lib/version.ts +6 -1
- package/package.json +1 -1
- package/templates/.agents/README.en.md +5 -3
- package/templates/.agents/README.zh-CN.md +5 -3
- package/templates/.agents/rules/README.en.md +4 -2
- package/templates/.agents/rules/README.zh-CN.md +4 -2
- package/templates/.agents/rules/compatibility-policy.en.md +5 -4
- package/templates/.agents/rules/compatibility-policy.zh-CN.md +5 -4
- package/templates/.agents/rules/create-issue.en.md +11 -2
- package/templates/.agents/rules/create-issue.zh-CN.md +24 -2
- package/templates/.agents/rules/human-decision-context.en.md +9 -7
- package/templates/.agents/rules/human-decision-context.zh-CN.md +9 -7
- package/templates/.agents/rules/{issue-fields.github.en.md → issue-fields.en.md} +1 -1
- package/templates/.agents/rules/{issue-fields.github.zh-CN.md → issue-fields.zh-CN.md} +1 -1
- package/templates/.agents/rules/issue-pr-commands.en.md +5 -18
- package/templates/.agents/rules/issue-pr-commands.zh-CN.md +1 -1
- package/templates/.agents/rules/issue-sync.en.md +26 -5
- package/templates/.agents/rules/issue-sync.zh-CN.md +62 -5
- package/templates/.agents/rules/label-milestone-setup.en.md +15 -2
- package/templates/.agents/rules/label-milestone-setup.zh-CN.md +15 -2
- package/templates/.agents/rules/local-artifact-repair.en.md +46 -0
- package/templates/.agents/rules/local-artifact-repair.zh-CN.md +46 -0
- package/templates/.agents/rules/milestone-inference.en.md +12 -2
- package/templates/.agents/rules/milestone-inference.zh-CN.md +25 -3
- package/templates/.agents/rules/next-step-output.en.md +3 -3
- package/templates/.agents/rules/next-step-output.zh-CN.md +3 -3
- package/templates/.agents/rules/no-mid-flow-questions.en.md +1 -1
- package/templates/.agents/rules/no-mid-flow-questions.zh-CN.md +1 -1
- package/templates/.agents/rules/pr-sync.en.md +23 -14
- package/templates/.agents/rules/pr-sync.zh-CN.md +23 -2
- package/templates/.agents/rules/release-commands.en.md +42 -3
- package/templates/.agents/rules/release-commands.zh-CN.md +42 -3
- package/templates/.agents/rules/review-handshake.en.md +1 -1
- package/templates/.agents/rules/review-handshake.zh-CN.md +1 -1
- package/templates/.agents/rules/security-alerts.en.md +17 -2
- package/templates/.agents/rules/security-alerts.zh-CN.md +17 -2
- package/templates/.agents/rules/sync-content-generation.en.md +8 -0
- package/templates/.agents/rules/sync-content-generation.zh-CN.md +8 -0
- package/templates/.agents/rules/task-management.en.md +2 -3
- package/templates/.agents/rules/task-management.zh-CN.md +2 -3
- package/templates/.agents/scripts/security-alerts.github.sh +151 -0
- package/templates/.agents/scripts/security-alerts.sh +31 -0
- package/templates/.agents/skills/analyze-task/SKILL.en.md +4 -3
- package/templates/.agents/skills/analyze-task/SKILL.zh-CN.md +4 -3
- package/templates/.agents/skills/block-task/SKILL.en.md +2 -2
- package/templates/.agents/skills/block-task/SKILL.zh-CN.md +2 -2
- package/templates/.agents/skills/cancel-task/SKILL.en.md +2 -2
- package/templates/.agents/skills/cancel-task/SKILL.zh-CN.md +2 -2
- package/templates/.agents/skills/check-task/SKILL.en.md +2 -2
- package/templates/.agents/skills/check-task/SKILL.zh-CN.md +2 -2
- package/templates/.agents/skills/close-codescan/SKILL.en.md +3 -3
- package/templates/.agents/skills/close-codescan/SKILL.zh-CN.md +3 -3
- package/templates/.agents/skills/close-dependabot/SKILL.en.md +3 -3
- package/templates/.agents/skills/close-dependabot/SKILL.zh-CN.md +3 -3
- package/templates/.agents/skills/code-task/SKILL.en.md +8 -5
- package/templates/.agents/skills/code-task/SKILL.zh-CN.md +9 -6
- package/templates/.agents/skills/commit/SKILL.en.md +30 -10
- package/templates/.agents/skills/commit/SKILL.zh-CN.md +6 -7
- package/templates/.agents/skills/commit/config/verify.json +1 -1
- package/templates/.agents/skills/commit/reference/commit-orchestration.en.md +3 -3
- package/templates/.agents/skills/commit/reference/commit-orchestration.zh-CN.md +3 -3
- package/templates/.agents/skills/commit/reference/pr-summary-sync.en.md +1 -1
- package/templates/.agents/skills/commit/reference/pr-summary-sync.zh-CN.md +1 -1
- package/templates/.agents/skills/commit/reference/task-status-update.en.md +2 -2
- package/templates/.agents/skills/commit/reference/task-status-update.zh-CN.md +2 -2
- package/templates/.agents/skills/complete-manual-validation/SKILL.en.md +7 -6
- package/templates/.agents/skills/complete-manual-validation/SKILL.zh-CN.md +7 -6
- package/templates/.agents/skills/complete-manual-validation/config/verify.en.json +1 -1
- package/templates/.agents/skills/complete-manual-validation/config/verify.zh-CN.json +1 -1
- package/templates/.agents/skills/complete-manual-validation/reference/summary-update.en.md +1 -1
- package/templates/.agents/skills/complete-manual-validation/reference/summary-update.zh-CN.md +1 -1
- package/templates/.agents/skills/complete-task/SKILL.en.md +13 -13
- package/templates/.agents/skills/complete-task/SKILL.zh-CN.md +13 -13
- package/templates/.agents/skills/complete-task/reference/external-delivery.en.md +2 -2
- package/templates/.agents/skills/complete-task/reference/external-delivery.zh-CN.md +2 -2
- package/templates/.agents/skills/create-pr/SKILL.en.md +9 -11
- package/templates/.agents/skills/create-pr/SKILL.zh-CN.md +9 -11
- package/templates/.agents/skills/create-pr/reference/change-report.en.md +9 -4
- package/templates/.agents/skills/create-pr/reference/change-report.zh-CN.md +9 -4
- package/templates/.agents/skills/create-pr/scripts/change-report.mjs +203 -0
- package/templates/.agents/skills/create-release-note/SKILL.en.md +5 -6
- package/templates/.agents/skills/create-release-note/SKILL.zh-CN.md +5 -6
- package/templates/.agents/skills/create-task/SKILL.en.md +2 -1
- package/templates/.agents/skills/create-task/SKILL.zh-CN.md +2 -1
- package/templates/.agents/skills/import-codescan/SKILL.en.md +1 -1
- package/templates/.agents/skills/import-codescan/SKILL.zh-CN.md +1 -1
- package/templates/.agents/skills/import-dependabot/SKILL.en.md +1 -1
- package/templates/.agents/skills/import-dependabot/SKILL.zh-CN.md +1 -1
- package/templates/.agents/skills/import-issue/SKILL.en.md +1 -1
- package/templates/.agents/skills/import-issue/SKILL.zh-CN.md +1 -1
- package/templates/.agents/skills/init-labels/SKILL.en.md +9 -10
- package/templates/.agents/skills/init-labels/SKILL.zh-CN.md +9 -10
- package/templates/.agents/skills/init-labels/scripts/init-labels.github.sh +57 -1
- package/templates/.agents/skills/init-labels/scripts/init-labels.sh +27 -1
- package/templates/.agents/skills/init-milestones/SKILL.en.md +3 -5
- package/templates/.agents/skills/init-milestones/SKILL.zh-CN.md +3 -5
- package/templates/.agents/skills/plan-task/SKILL.en.md +4 -3
- package/templates/.agents/skills/plan-task/SKILL.zh-CN.md +4 -3
- package/templates/.agents/skills/restore-task/SKILL.en.md +1 -1
- package/templates/.agents/skills/restore-task/SKILL.zh-CN.md +1 -1
- package/templates/.agents/skills/review-analysis/SKILL.en.md +8 -5
- package/templates/.agents/skills/review-analysis/SKILL.zh-CN.md +8 -5
- package/templates/.agents/skills/review-analysis/config/verify.en.json +1 -0
- package/templates/.agents/skills/review-analysis/config/verify.zh-CN.json +1 -0
- package/templates/.agents/skills/review-analysis/reference/output-templates.en.md +18 -0
- package/templates/.agents/skills/review-analysis/reference/output-templates.zh-CN.md +18 -0
- package/templates/.agents/skills/review-code/SKILL.en.md +11 -8
- package/templates/.agents/skills/review-code/SKILL.zh-CN.md +11 -8
- package/templates/.agents/skills/review-code/config/verify.en.json +1 -0
- package/templates/.agents/skills/review-code/config/verify.zh-CN.json +1 -0
- package/templates/.agents/skills/review-code/reference/migration-risks.en.md +2 -1
- package/templates/.agents/skills/review-code/reference/migration-risks.zh-CN.md +2 -1
- package/templates/.agents/skills/review-code/reference/output-templates.en.md +19 -1
- package/templates/.agents/skills/review-code/reference/output-templates.zh-CN.md +19 -1
- package/templates/.agents/skills/review-code/reference/report-template.en.md +4 -2
- package/templates/.agents/skills/review-code/reference/report-template.zh-CN.md +4 -2
- package/templates/.agents/skills/review-plan/SKILL.en.md +8 -5
- package/templates/.agents/skills/review-plan/SKILL.zh-CN.md +8 -5
- package/templates/.agents/skills/review-plan/config/verify.en.json +1 -0
- package/templates/.agents/skills/review-plan/config/verify.zh-CN.json +1 -0
- package/templates/.agents/skills/review-plan/reference/output-templates.en.md +18 -0
- package/templates/.agents/skills/review-plan/reference/output-templates.zh-CN.md +18 -0
- package/templates/.agents/skills/review-pr/SKILL.en.md +1 -0
- package/templates/.agents/skills/review-pr/SKILL.zh-CN.md +1 -0
- package/templates/.agents/skills/review-pr/reference/evidence-grading.en.md +2 -2
- package/templates/.agents/skills/review-pr/reference/evidence-grading.zh-CN.md +2 -2
- package/templates/.agents/skills/run-manual-validation/SKILL.en.md +5 -0
- package/templates/.agents/skills/run-manual-validation/SKILL.zh-CN.md +5 -0
- package/templates/.agents/skills/run-task/SKILL.en.md +5 -1
- package/templates/.agents/skills/run-task/SKILL.zh-CN.md +5 -1
- package/templates/.agents/skills/update-agent-infra/SKILL.en.md +2 -2
- package/templates/.agents/skills/update-agent-infra/SKILL.zh-CN.md +2 -2
- package/templates/.agents/skills/update-agent-infra/scripts/sync-templates.js +144 -109
- package/templates/.agents/skills/watch-pr/SKILL.en.md +5 -5
- package/templates/.agents/skills/watch-pr/SKILL.zh-CN.md +5 -5
- package/templates/.agents/templates/task.en.md +6 -2
- package/templates/.agents/templates/task.zh-CN.md +6 -2
- package/templates/.agents/workflows/bug-fix.en.yaml +9 -8
- package/templates/.agents/workflows/bug-fix.zh-CN.yaml +9 -8
- package/templates/.agents/workflows/feature-development.en.yaml +9 -8
- package/templates/.agents/workflows/feature-development.zh-CN.yaml +9 -8
- package/templates/.agents/workflows/refactoring.en.yaml +9 -8
- package/templates/.agents/workflows/refactoring.zh-CN.yaml +9 -8
- package/templates/.claude/commands/analyze-task.en.md +1 -1
- package/templates/.claude/commands/analyze-task.zh-CN.md +1 -1
- package/templates/.claude/commands/block-task.en.md +1 -1
- package/templates/.claude/commands/block-task.zh-CN.md +1 -1
- package/templates/.claude/commands/cancel-task.en.md +1 -1
- package/templates/.claude/commands/cancel-task.zh-CN.md +1 -1
- package/templates/.claude/commands/check-task.en.md +1 -1
- package/templates/.claude/commands/check-task.zh-CN.md +1 -1
- package/templates/.claude/commands/code-task.en.md +1 -1
- package/templates/.claude/commands/code-task.zh-CN.md +1 -1
- package/templates/.claude/commands/commit.en.md +1 -1
- package/templates/.claude/commands/commit.zh-CN.md +1 -1
- package/templates/.claude/commands/complete-manual-validation.en.md +1 -1
- package/templates/.claude/commands/complete-manual-validation.zh-CN.md +1 -1
- package/templates/.claude/commands/complete-task.en.md +1 -1
- package/templates/.claude/commands/complete-task.zh-CN.md +1 -1
- package/templates/.claude/commands/create-pr.en.md +1 -1
- package/templates/.claude/commands/create-pr.zh-CN.md +1 -1
- package/templates/.claude/commands/plan-task.en.md +1 -1
- package/templates/.claude/commands/plan-task.zh-CN.md +1 -1
- package/templates/.claude/commands/review-analysis.en.md +1 -1
- package/templates/.claude/commands/review-analysis.zh-CN.md +1 -1
- package/templates/.claude/commands/review-code.en.md +1 -1
- package/templates/.claude/commands/review-code.zh-CN.md +1 -1
- package/templates/.claude/commands/review-plan.en.md +1 -1
- package/templates/.claude/commands/review-plan.zh-CN.md +1 -1
- package/templates/.claude/commands/run-manual-validation.en.md +1 -1
- package/templates/.claude/commands/run-manual-validation.zh-CN.md +1 -1
- package/templates/.claude/commands/run-task.en.md +1 -1
- package/templates/.claude/commands/run-task.zh-CN.md +1 -1
- package/templates/.claude/commands/watch-pr.en.md +1 -1
- package/templates/.claude/commands/watch-pr.zh-CN.md +1 -1
- package/templates/{.trae/skills → .traecli/commands}/update-agent-infra.en.md +0 -1
- package/templates/{.trae/skills → .traecli/commands}/update-agent-infra.zh-CN.md +0 -1
- package/dist/lib/builtin-tuis.js +0 -40
- package/lib/builtin-tuis.ts +0 -56
- package/templates/.agents/rules/create-issue.github.en.md +0 -14
- package/templates/.agents/rules/create-issue.github.zh-CN.md +0 -27
- package/templates/.agents/rules/issue-pr-commands.github.en.md +0 -34
- package/templates/.agents/rules/issue-pr-commands.github.zh-CN.md +0 -49
- package/templates/.agents/rules/issue-sync.github.en.md +0 -40
- package/templates/.agents/rules/issue-sync.github.zh-CN.md +0 -76
- package/templates/.agents/rules/label-milestone-setup.github.en.md +0 -60
- package/templates/.agents/rules/label-milestone-setup.github.zh-CN.md +0 -60
- package/templates/.agents/rules/milestone-inference.github.en.md +0 -15
- package/templates/.agents/rules/milestone-inference.github.zh-CN.md +0 -27
- package/templates/.agents/rules/pr-checks-commands.github.en.md +0 -18
- package/templates/.agents/rules/pr-checks-commands.github.zh-CN.md +0 -34
- package/templates/.agents/rules/pr-sync.github.en.md +0 -43
- package/templates/.agents/rules/pr-sync.github.zh-CN.md +0 -69
- package/templates/.agents/rules/release-commands.github.en.md +0 -38
- package/templates/.agents/rules/release-commands.github.zh-CN.md +0 -38
- package/templates/.agents/rules/security-alerts.github.en.md +0 -43
- package/templates/.agents/rules/security-alerts.github.zh-CN.md +0 -43
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
#
|
|
4
4
|
# Note: whether a step's `pr_tasks` list counts toward workflow progress follows the "PR path" rule:
|
|
5
5
|
# `.agents/.airc.json:prFlow="required"` always counts; `prFlow="disabled"` never counts;
|
|
6
|
-
# when the field is absent, exclude only if task.md's `
|
|
6
|
+
# when the field is absent, exclude only if task.md's `pr_delivery_fact.state=skipped`, otherwise count
|
|
7
7
|
# (see .agents/skills/complete-task/SKILL.md).
|
|
8
8
|
|
|
9
9
|
name: bug-fix
|
|
@@ -126,6 +126,7 @@ steps:
|
|
|
126
126
|
- Add a regression test that fails without the fix
|
|
127
127
|
- Fix findings from the latest code-review artifact when in fix mode
|
|
128
128
|
- Verify existing tests still pass
|
|
129
|
+
- Create a local checkpoint commit after tests pass
|
|
129
130
|
- Ensure code follows project conventions
|
|
130
131
|
inputs:
|
|
131
132
|
- Approved fix plan
|
|
@@ -177,21 +178,21 @@ steps:
|
|
|
177
178
|
- Code review report
|
|
178
179
|
- Findings list, if any
|
|
179
180
|
|
|
180
|
-
- name:
|
|
181
|
-
description:
|
|
181
|
+
- name: delivery
|
|
182
|
+
description: Deliver the approved checkpoint as a pull request, then complete the task after merge and final gates.
|
|
182
183
|
recommended_agents:
|
|
183
184
|
- claude
|
|
184
185
|
- human
|
|
185
186
|
tasks:
|
|
186
|
-
-
|
|
187
|
-
-
|
|
188
|
-
- Move the task to completed
|
|
187
|
+
- Verify the current HEAD still equals the approved checkpoint
|
|
188
|
+
- Confirm the task-bound delivery remote and base branch remain valid
|
|
189
|
+
- Move the task to completed after PR merge and final gates
|
|
189
190
|
pr_tasks:
|
|
190
191
|
- Create a pull request with a defect-fix description
|
|
191
192
|
- Link the PR to the defect report Issue
|
|
192
193
|
inputs:
|
|
193
|
-
-
|
|
194
|
+
- Approved local checkpoint
|
|
194
195
|
- Task workspace
|
|
195
196
|
outputs:
|
|
196
|
-
- Completed task workspace under .agents/workspace/completed/
|
|
197
197
|
- Pull request (only on the PR path)
|
|
198
|
+
- Completed task workspace under .agents/workspace/completed/ after merge and final gates
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
#
|
|
4
4
|
# 注:步骤中的 `pr_tasks` 列表按「走 PR 路径」判定是否计入工作流进度:
|
|
5
5
|
# `.agents/.airc.json:prFlow="required"` 始终计入;`prFlow="disabled"` 不计入;
|
|
6
|
-
# 字段缺省时仅当 task.md 的 `
|
|
6
|
+
# 字段缺省时仅当 task.md 的 `pr_delivery_fact.state=skipped` 排除,否则计入(详见 .agents/skills/complete-task/SKILL.md)。
|
|
7
7
|
|
|
8
8
|
name: bug-fix
|
|
9
9
|
description: 诊断和修复缺陷的工作流。
|
|
@@ -125,6 +125,7 @@ steps:
|
|
|
125
125
|
- 添加在没有修复时会失败的回归测试
|
|
126
126
|
- 修复最新 code-review 产物中要求处理的问题(如处于修复模式)
|
|
127
127
|
- 验证现有测试仍然通过
|
|
128
|
+
- 测试通过后创建本地 checkpoint commit
|
|
128
129
|
- 确保代码遵循项目规范
|
|
129
130
|
inputs:
|
|
130
131
|
- 已通过审查的修复方案
|
|
@@ -176,21 +177,21 @@ steps:
|
|
|
176
177
|
- 代码审查报告
|
|
177
178
|
- 问题列表(如有)
|
|
178
179
|
|
|
179
|
-
- name:
|
|
180
|
-
description:
|
|
180
|
+
- name: delivery
|
|
181
|
+
description: 将已审查的 checkpoint 交付为 PR,并在合并及最终门禁通过后完成任务。
|
|
181
182
|
recommended_agents:
|
|
182
183
|
- claude
|
|
183
184
|
- human
|
|
184
185
|
tasks:
|
|
185
|
-
-
|
|
186
|
-
-
|
|
187
|
-
-
|
|
186
|
+
- 验证当前 HEAD 仍等于已审查的 checkpoint
|
|
187
|
+
- 确认任务绑定的交付 remote 和目标分支仍有效
|
|
188
|
+
- 在 PR 合并及最终门禁通过后将任务移至已完成
|
|
188
189
|
pr_tasks:
|
|
189
190
|
- 创建包含缺陷修复描述的拉取请求
|
|
190
191
|
- 将 PR 关联到缺陷报告 Issue
|
|
191
192
|
inputs:
|
|
192
|
-
-
|
|
193
|
+
- 已审查的本地 checkpoint
|
|
193
194
|
- 任务文件
|
|
194
195
|
outputs:
|
|
195
|
-
- 已完成的任务文件(位于 .agents/workspace/completed/)
|
|
196
196
|
- 拉取请求(仅走 PR 路径时)
|
|
197
|
+
- 已完成的任务文件(PR 合并和最终门禁通过后)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
#
|
|
4
4
|
# Note: whether a step's `pr_tasks` list counts toward workflow progress follows the "PR path" rule:
|
|
5
5
|
# `.agents/.airc.json:prFlow="required"` always counts; `prFlow="disabled"` never counts;
|
|
6
|
-
# when the field is absent, exclude only if task.md's `
|
|
6
|
+
# when the field is absent, exclude only if task.md's `pr_delivery_fact.state=skipped`, otherwise count
|
|
7
7
|
# (see .agents/skills/complete-task/SKILL.md).
|
|
8
8
|
|
|
9
9
|
name: feature-development
|
|
@@ -126,6 +126,7 @@ steps:
|
|
|
126
126
|
- Write unit tests
|
|
127
127
|
- Write integration tests when applicable
|
|
128
128
|
- Fix findings from the latest code-review artifact when in fix mode
|
|
129
|
+
- Create a local checkpoint commit after tests pass
|
|
129
130
|
- Ensure code follows project conventions
|
|
130
131
|
inputs:
|
|
131
132
|
- Approved technical design
|
|
@@ -177,21 +178,21 @@ steps:
|
|
|
177
178
|
- Code review report
|
|
178
179
|
- Findings to fix
|
|
179
180
|
|
|
180
|
-
- name:
|
|
181
|
-
description:
|
|
181
|
+
- name: delivery
|
|
182
|
+
description: Deliver the approved checkpoint as a pull request, then complete the task after merge and final gates.
|
|
182
183
|
recommended_agents:
|
|
183
184
|
- claude
|
|
184
185
|
- human
|
|
185
186
|
tasks:
|
|
186
|
-
-
|
|
187
|
-
-
|
|
188
|
-
- Move the task to completed
|
|
187
|
+
- Verify the current HEAD still equals the approved checkpoint
|
|
188
|
+
- Confirm the task-bound delivery remote and base branch remain valid
|
|
189
|
+
- Move the task to completed after PR merge and final gates
|
|
189
190
|
pr_tasks:
|
|
190
191
|
- Create a pull request with an appropriate description
|
|
191
192
|
- Link the PR to the related Issue
|
|
192
193
|
inputs:
|
|
193
|
-
-
|
|
194
|
+
- Approved local checkpoint
|
|
194
195
|
- Task workspace
|
|
195
196
|
outputs:
|
|
196
|
-
- Completed task workspace under .agents/workspace/completed/
|
|
197
197
|
- Pull request (only on the PR path)
|
|
198
|
+
- Completed task workspace under .agents/workspace/completed/ after merge and final gates
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
#
|
|
4
4
|
# 注:步骤中的 `pr_tasks` 列表按「走 PR 路径」判定是否计入工作流进度:
|
|
5
5
|
# `.agents/.airc.json:prFlow="required"` 始终计入;`prFlow="disabled"` 不计入;
|
|
6
|
-
# 字段缺省时仅当 task.md 的 `
|
|
6
|
+
# 字段缺省时仅当 task.md 的 `pr_delivery_fact.state=skipped` 排除,否则计入(详见 .agents/skills/complete-task/SKILL.md)。
|
|
7
7
|
|
|
8
8
|
name: feature-development
|
|
9
9
|
description: 开发新功能的端到端工作流。
|
|
@@ -125,6 +125,7 @@ steps:
|
|
|
125
125
|
- 编写单元测试
|
|
126
126
|
- 编写集成测试(如适用)
|
|
127
127
|
- 修复最新 code-review 产物中要求处理的问题(如处于修复模式)
|
|
128
|
+
- 测试通过后创建本地 checkpoint commit
|
|
128
129
|
- 确保代码遵循项目规范
|
|
129
130
|
inputs:
|
|
130
131
|
- 已通过审查的技术设计
|
|
@@ -176,21 +177,21 @@ steps:
|
|
|
176
177
|
- 代码审查报告
|
|
177
178
|
- 待修复问题列表
|
|
178
179
|
|
|
179
|
-
- name:
|
|
180
|
-
description:
|
|
180
|
+
- name: delivery
|
|
181
|
+
description: 将已审查的 checkpoint 交付为 PR,并在合并及最终门禁通过后完成任务。
|
|
181
182
|
recommended_agents:
|
|
182
183
|
- claude
|
|
183
184
|
- human
|
|
184
185
|
tasks:
|
|
185
|
-
-
|
|
186
|
-
-
|
|
187
|
-
-
|
|
186
|
+
- 验证当前 HEAD 仍等于已审查的 checkpoint
|
|
187
|
+
- 确认任务绑定的交付 remote 和目标分支仍有效
|
|
188
|
+
- 在 PR 合并及最终门禁通过后将任务移至已完成
|
|
188
189
|
pr_tasks:
|
|
189
190
|
- 创建包含适当描述的拉取请求
|
|
190
191
|
- 将 PR 关联到相关 Issue
|
|
191
192
|
inputs:
|
|
192
|
-
-
|
|
193
|
+
- 已审查的本地 checkpoint
|
|
193
194
|
- 任务文件
|
|
194
195
|
outputs:
|
|
195
|
-
- 已完成的任务文件(位于 .agents/workspace/completed/)
|
|
196
196
|
- 拉取请求(仅走 PR 路径时)
|
|
197
|
+
- 已完成的任务文件(PR 合并和最终门禁通过后)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
#
|
|
4
4
|
# Note: whether a step's `pr_tasks` list counts toward workflow progress follows the "PR path" rule:
|
|
5
5
|
# `.agents/.airc.json:prFlow="required"` always counts; `prFlow="disabled"` never counts;
|
|
6
|
-
# when the field is absent, exclude only if task.md's `
|
|
6
|
+
# when the field is absent, exclude only if task.md's `pr_delivery_fact.state=skipped`, otherwise count
|
|
7
7
|
# (see .agents/skills/complete-task/SKILL.md).
|
|
8
8
|
|
|
9
9
|
name: refactoring
|
|
@@ -128,6 +128,7 @@ steps:
|
|
|
128
128
|
- Verify tests after each step
|
|
129
129
|
- Fix findings from the latest code-review artifact when in fix mode
|
|
130
130
|
- Update affected docs or comments
|
|
131
|
+
- Create a local checkpoint commit after tests pass
|
|
131
132
|
- Ensure code follows project conventions
|
|
132
133
|
inputs:
|
|
133
134
|
- Approved refactoring plan
|
|
@@ -181,21 +182,21 @@ steps:
|
|
|
181
182
|
- Code review report
|
|
182
183
|
- Findings list, if any
|
|
183
184
|
|
|
184
|
-
- name:
|
|
185
|
-
description:
|
|
185
|
+
- name: delivery
|
|
186
|
+
description: Deliver the approved checkpoint as a pull request, then complete the task after merge and final gates.
|
|
186
187
|
recommended_agents:
|
|
187
188
|
- claude
|
|
188
189
|
- human
|
|
189
190
|
tasks:
|
|
190
|
-
-
|
|
191
|
-
-
|
|
192
|
-
- Move the task to completed
|
|
191
|
+
- Verify the current HEAD still equals the approved checkpoint
|
|
192
|
+
- Confirm the task-bound delivery remote and base branch remain valid
|
|
193
|
+
- Move the task to completed after PR merge and final gates
|
|
193
194
|
pr_tasks:
|
|
194
195
|
- Create a pull request with detailed changes
|
|
195
196
|
- Link the PR to the related Issue
|
|
196
197
|
inputs:
|
|
197
|
-
-
|
|
198
|
+
- Approved local checkpoint
|
|
198
199
|
- Task workspace
|
|
199
200
|
outputs:
|
|
200
|
-
- Completed task workspace under .agents/workspace/completed/
|
|
201
201
|
- Pull request (only on the PR path)
|
|
202
|
+
- Completed task workspace under .agents/workspace/completed/ after merge and final gates
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
#
|
|
4
4
|
# 注:步骤中的 `pr_tasks` 列表按「走 PR 路径」判定是否计入工作流进度:
|
|
5
5
|
# `.agents/.airc.json:prFlow="required"` 始终计入;`prFlow="disabled"` 不计入;
|
|
6
|
-
# 字段缺省时仅当 task.md 的 `
|
|
6
|
+
# 字段缺省时仅当 task.md 的 `pr_delivery_fact.state=skipped` 排除,否则计入(详见 .agents/skills/complete-task/SKILL.md)。
|
|
7
7
|
|
|
8
8
|
name: refactoring
|
|
9
9
|
description: 安全且结构化的代码重构工作流。
|
|
@@ -127,6 +127,7 @@ steps:
|
|
|
127
127
|
- 每步后验证测试通过
|
|
128
128
|
- 修复最新 code-review 产物中要求处理的问题(如处于修复模式)
|
|
129
129
|
- 更新受影响的文档或注释
|
|
130
|
+
- 测试通过后创建本地 checkpoint commit
|
|
130
131
|
- 确保代码遵循项目规范
|
|
131
132
|
inputs:
|
|
132
133
|
- 已通过审查的重构计划
|
|
@@ -180,21 +181,21 @@ steps:
|
|
|
180
181
|
- 代码审查报告
|
|
181
182
|
- 问题列表(如有)
|
|
182
183
|
|
|
183
|
-
- name:
|
|
184
|
-
description:
|
|
184
|
+
- name: delivery
|
|
185
|
+
description: 将已审查的 checkpoint 交付为 PR,并在合并及最终门禁通过后完成任务。
|
|
185
186
|
recommended_agents:
|
|
186
187
|
- claude
|
|
187
188
|
- human
|
|
188
189
|
tasks:
|
|
189
|
-
-
|
|
190
|
-
-
|
|
191
|
-
-
|
|
190
|
+
- 验证当前 HEAD 仍等于已审查的 checkpoint
|
|
191
|
+
- 确认任务绑定的交付 remote 和目标分支仍有效
|
|
192
|
+
- 在 PR 合并及最终门禁通过后将任务移至已完成
|
|
192
193
|
pr_tasks:
|
|
193
194
|
- 创建包含详细变更描述的拉取请求
|
|
194
195
|
- 将 PR 关联到相关 Issue
|
|
195
196
|
inputs:
|
|
196
|
-
-
|
|
197
|
+
- 已审查的本地 checkpoint
|
|
197
198
|
- 任务文件
|
|
198
199
|
outputs:
|
|
199
|
-
- 已完成的任务文件(位于 .agents/workspace/completed/)
|
|
200
200
|
- 拉取请求(仅走 PR 路径时)
|
|
201
|
+
- 已完成的任务文件(PR 合并和最终门禁通过后)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Analyze a task and produce a requirements document"
|
|
3
|
-
usage: "/analyze-task [task
|
|
3
|
+
usage: "/analyze-task [--task <ref> | -t <ref>]"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
Read and execute the analyze-task skill from `.agents/skills/analyze-task/SKILL.md`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Mark PR manual validation as completed and update the summary comment"
|
|
3
|
-
usage: "/complete-manual-validation [task
|
|
3
|
+
usage: "/complete-manual-validation [--task <ref> | -t <ref>] [pr-ref] <verification-summary>"
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "标记 PR 人工验证已完成并更新摘要评论"
|
|
3
|
-
usage: "/complete-manual-validation [task
|
|
3
|
+
usage: "/complete-manual-validation [--task <ref> | -t <ref>] [pr-ref] <verification-summary>"
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Mark a task as completed and archive it"
|
|
3
|
-
usage: "/complete-task [task
|
|
3
|
+
usage: "/complete-task [--task <ref> | -t <ref>] [--skip-pr] [--force]"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
Read and execute the complete-task skill from `.agents/skills/complete-task/SKILL.md`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Create a Pull Request to a target branch"
|
|
3
|
-
usage: "/create-pr [task
|
|
3
|
+
usage: "/create-pr [--task <ref> | -t <ref>] [target-branch]"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
Read and execute the create-pr skill from `.agents/skills/create-pr/SKILL.md`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Review code implementation and output a code review report"
|
|
3
|
-
usage: "/review-code [task
|
|
3
|
+
usage: "/review-code [--task <ref> | -t <ref>]"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
Read and execute the review-code skill from `.agents/skills/review-code/SKILL.md`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Run host-side task validation and record sanitized evidence"
|
|
3
|
-
usage: "/run-manual-validation <
|
|
3
|
+
usage: "/run-manual-validation [--task <ref> | -t <ref>] [--scope snapshot|inplace] [--timeout <ms>] [--format text|json] -- <command...>"
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "运行宿主侧任务校验并记录去敏证据"
|
|
3
|
-
usage: "/run-manual-validation <
|
|
3
|
+
usage: "/run-manual-validation [--task <ref> | -t <ref>] [--scope snapshot|inplace] [--timeout <ms>] [--format text|json] -- <command...>"
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Orchestrate a task lifecycle with fresh isolated agents"
|
|
3
|
-
usage: "/run-task [task
|
|
3
|
+
usage: "/run-task [--task <ref> | -t <ref>] [--executor-model <model> --executor-reasoning-effort <effort> --reviewer-model <model> --reviewer-reasoning-effort <effort>]"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
Read and execute the run-task skill from `.agents/skills/run-task/SKILL.md`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "使用 fresh 隔离 Agent 总控任务生命周期"
|
|
3
|
-
usage: "/run-task [task
|
|
3
|
+
usage: "/run-task [--task <ref> | -t <ref>] [--executor-model <model> --executor-reasoning-effort <effort> --reviewer-model <model> --reviewer-reasoning-effort <effort>]"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
读取并执行 `.agents/skills/run-task/SKILL.md` 中的 run-task 技能。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Watch all checks on a PR and self-heal on failure"
|
|
3
|
-
usage: "/watch-pr [task
|
|
3
|
+
usage: "/watch-pr [--task <ref> | -t <ref>] | [--pr <number>] | [<pr-url>]"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
Read and execute the watch-pr skill from `.agents/skills/watch-pr/SKILL.md`.
|
package/dist/lib/builtin-tuis.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { AGENT_CLIENT_IDS, isAgentClientId } from './agent-clients/types.js';
|
|
2
|
-
import { listAgentClientAdapters } from './agent-clients/registry.js';
|
|
3
|
-
const BUILTIN_TUI_IDS = AGENT_CLIENT_IDS;
|
|
4
|
-
const BUILTIN_TUI_DISPLAY = Object.fromEntries(listAgentClientAdapters().map((adapter) => [adapter.id, adapter.displayName]));
|
|
5
|
-
const BUILTIN_TUI_OWNED_PATH_PREFIXES = Object.fromEntries(listAgentClientAdapters().map((adapter) => [
|
|
6
|
-
adapter.id,
|
|
7
|
-
[...adapter.project.ownedPathPrefixes]
|
|
8
|
-
]));
|
|
9
|
-
function isBuiltinTUIId(value) {
|
|
10
|
-
return isAgentClientId(value);
|
|
11
|
-
}
|
|
12
|
-
function resolveEnabledTUIs(value) {
|
|
13
|
-
// Missing field / null / non-array → full set (backward compat for legacy
|
|
14
|
-
// .airc.json predating the `tuis` field).
|
|
15
|
-
if (!Array.isArray(value))
|
|
16
|
-
return new Set(BUILTIN_TUI_IDS);
|
|
17
|
-
// Empty array is a meaningful, user-set value: "no built-in TUI managed".
|
|
18
|
-
// This supports the customTUI-only project layout.
|
|
19
|
-
const set = new Set();
|
|
20
|
-
for (const v of value) {
|
|
21
|
-
if (isBuiltinTUIId(v))
|
|
22
|
-
set.add(v);
|
|
23
|
-
}
|
|
24
|
-
return set;
|
|
25
|
-
}
|
|
26
|
-
function isPathOwnedByDisabledTUI(rel, enabled) {
|
|
27
|
-
const normalized = String(rel || '').replace(/\\/g, '/').replace(/^\.\//, '');
|
|
28
|
-
for (const tui of BUILTIN_TUI_IDS) {
|
|
29
|
-
if (enabled.has(tui))
|
|
30
|
-
continue;
|
|
31
|
-
for (const prefix of BUILTIN_TUI_OWNED_PATH_PREFIXES[tui]) {
|
|
32
|
-
const trimmed = prefix.replace(/\/$/, '');
|
|
33
|
-
if (normalized === trimmed || normalized.startsWith(prefix))
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
return false;
|
|
38
|
-
}
|
|
39
|
-
export { BUILTIN_TUI_IDS, BUILTIN_TUI_DISPLAY, BUILTIN_TUI_OWNED_PATH_PREFIXES, isBuiltinTUIId, resolveEnabledTUIs, isPathOwnedByDisabledTUI };
|
|
40
|
-
//# sourceMappingURL=builtin-tuis.js.map
|