gsd-pi 2.49.0 → 2.50.0-dev.d210a87
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 +2 -0
- package/dist/cli.js +26 -0
- package/dist/headless-ui.js +12 -2
- package/dist/headless.js +29 -13
- package/dist/loader.js +4 -0
- package/dist/resource-loader.d.ts +4 -1
- package/dist/resource-loader.js +138 -3
- package/dist/resources/extensions/async-jobs/async-bash-tool.js +3 -1
- package/dist/resources/extensions/bg-shell/interaction.js +3 -1
- package/dist/resources/extensions/bg-shell/process-manager.js +4 -1
- package/dist/resources/extensions/claude-code-cli/partial-builder.js +5 -0
- package/dist/resources/extensions/gsd/auto/infra-errors.js +1 -0
- package/dist/resources/extensions/gsd/auto/phases.js +27 -12
- package/dist/resources/extensions/gsd/auto/resolve.js +2 -2
- package/dist/resources/extensions/gsd/auto/run-unit.js +2 -2
- package/dist/resources/extensions/gsd/auto/session.js +9 -0
- package/dist/resources/extensions/gsd/auto-artifact-paths.js +8 -10
- package/dist/resources/extensions/gsd/auto-dashboard.js +28 -6
- package/dist/resources/extensions/gsd/auto-dispatch.js +113 -74
- package/dist/resources/extensions/gsd/auto-observability.js +54 -0
- package/dist/resources/extensions/gsd/auto-post-unit.js +53 -99
- package/dist/resources/extensions/gsd/auto-prompts.js +155 -17
- package/dist/resources/extensions/gsd/auto-recovery.js +79 -205
- package/dist/resources/extensions/gsd/auto-start.js +4 -31
- package/dist/resources/extensions/gsd/auto-timers.js +2 -2
- package/dist/resources/extensions/gsd/auto-utils.js +20 -0
- package/dist/resources/extensions/gsd/auto-verification.js +4 -7
- package/dist/resources/extensions/gsd/auto-worktree.js +257 -113
- package/dist/resources/extensions/gsd/auto.js +22 -10
- package/dist/resources/extensions/gsd/bootstrap/db-tools.js +89 -0
- package/dist/resources/extensions/gsd/bootstrap/register-hooks.js +24 -1
- package/dist/resources/extensions/gsd/branch-patterns.js +13 -0
- package/dist/resources/extensions/gsd/crash-recovery.js +6 -2
- package/dist/resources/extensions/gsd/custom-execution-policy.js +3 -2
- package/dist/resources/extensions/gsd/custom-verification.js +3 -1
- package/dist/resources/extensions/gsd/custom-workflow-engine.js +3 -2
- package/dist/resources/extensions/gsd/dashboard-overlay.js +4 -0
- package/dist/resources/extensions/gsd/detection.js +589 -3
- package/dist/resources/extensions/gsd/dispatch-guard.js +2 -1
- package/dist/resources/extensions/gsd/docs/preferences-reference.md +15 -0
- package/dist/resources/extensions/gsd/doctor-checks.js +5 -1234
- package/dist/resources/extensions/gsd/doctor-engine-checks.js +168 -0
- package/dist/resources/extensions/gsd/doctor-environment.js +28 -7
- package/dist/resources/extensions/gsd/doctor-git-checks.js +405 -0
- package/dist/resources/extensions/gsd/doctor-global-checks.js +74 -0
- package/dist/resources/extensions/gsd/doctor-runtime-checks.js +600 -0
- package/dist/resources/extensions/gsd/doctor.js +9 -1
- package/dist/resources/extensions/gsd/extension-manifest.json +1 -1
- package/dist/resources/extensions/gsd/files.js +5 -1
- package/dist/resources/extensions/gsd/git-service.js +9 -10
- package/dist/resources/extensions/gsd/gsd-db.js +124 -1
- package/dist/resources/extensions/gsd/guided-flow-queue.js +10 -11
- package/dist/resources/extensions/gsd/guided-flow.js +10 -0
- package/dist/resources/extensions/gsd/init-wizard.js +9 -1
- package/dist/resources/extensions/gsd/markdown-renderer.js +33 -5
- package/dist/resources/extensions/gsd/model-router.js +25 -0
- package/dist/resources/extensions/gsd/notifications.js +23 -0
- package/dist/resources/extensions/gsd/observability-validator.js +422 -0
- package/dist/resources/extensions/gsd/preferences-skills.js +11 -5
- package/dist/resources/extensions/gsd/preferences-types.js +3 -1
- package/dist/resources/extensions/gsd/preferences-validation.js +64 -0
- package/dist/resources/extensions/gsd/preferences.js +3 -0
- package/dist/resources/extensions/gsd/prompts/complete-milestone.md +27 -8
- package/dist/resources/extensions/gsd/prompts/complete-slice.md +9 -8
- package/dist/resources/extensions/gsd/prompts/execute-task.md +16 -13
- package/dist/resources/extensions/gsd/prompts/forensics.md +19 -8
- package/dist/resources/extensions/gsd/prompts/gate-evaluate.md +32 -0
- package/dist/resources/extensions/gsd/prompts/guided-complete-slice.md +1 -1
- package/dist/resources/extensions/gsd/prompts/guided-execute-task.md +1 -1
- package/dist/resources/extensions/gsd/prompts/guided-plan-milestone.md +1 -1
- package/dist/resources/extensions/gsd/prompts/guided-plan-slice.md +1 -1
- package/dist/resources/extensions/gsd/prompts/plan-milestone.md +1 -1
- package/dist/resources/extensions/gsd/prompts/plan-slice.md +8 -3
- package/dist/resources/extensions/gsd/prompts/reassess-roadmap.md +3 -0
- package/dist/resources/extensions/gsd/prompts/replan-slice.md +1 -1
- package/dist/resources/extensions/gsd/prompts/validate-milestone.md +6 -1
- package/dist/resources/extensions/gsd/provider-error-pause.js +8 -0
- package/dist/resources/extensions/gsd/repo-identity.js +29 -0
- package/dist/resources/extensions/gsd/roadmap-mutations.js +110 -0
- package/dist/resources/extensions/gsd/roadmap-slices.js +2 -2
- package/dist/resources/extensions/gsd/rtk-status.js +43 -0
- package/dist/resources/extensions/gsd/rule-registry.js +10 -11
- package/dist/resources/extensions/gsd/session-forensics.js +13 -14
- package/dist/resources/extensions/gsd/session-lock.js +67 -56
- package/dist/resources/extensions/gsd/skill-catalog.js +1026 -0
- package/dist/resources/extensions/gsd/skill-discovery.js +3 -2
- package/dist/resources/extensions/gsd/skill-health.js +2 -2
- package/dist/resources/extensions/gsd/skill-telemetry.js +15 -5
- package/dist/resources/extensions/gsd/state.js +51 -12
- package/dist/resources/extensions/gsd/templates/milestone-summary.md +8 -0
- package/dist/resources/extensions/gsd/templates/milestone-validation.md +12 -0
- package/dist/resources/extensions/gsd/templates/plan.md +16 -0
- package/dist/resources/extensions/gsd/templates/preferences.md +2 -0
- package/dist/resources/extensions/gsd/templates/roadmap.md +13 -0
- package/dist/resources/extensions/gsd/templates/slice-summary.md +9 -0
- package/dist/resources/extensions/gsd/templates/task-plan.md +24 -0
- package/dist/resources/extensions/gsd/tests/dist-redirect.mjs +28 -9
- package/dist/resources/extensions/gsd/tools/plan-slice.js +14 -1
- package/dist/resources/extensions/gsd/tools/validate-milestone.js +3 -3
- package/dist/resources/extensions/gsd/undo.js +8 -7
- package/dist/resources/extensions/gsd/unit-runtime.js +2 -1
- package/dist/resources/extensions/gsd/verdict-parser.js +84 -0
- package/dist/resources/extensions/gsd/verification-gate.js +3 -1
- package/dist/resources/extensions/gsd/worktree-resolver.js +24 -0
- package/dist/resources/extensions/gsd/worktree.js +3 -2
- package/dist/resources/extensions/remote-questions/config.js +3 -5
- package/dist/resources/extensions/search-the-web/native-search.js +8 -3
- package/dist/resources/extensions/search-the-web/tool-search.js +19 -2
- package/dist/resources/extensions/shared/rtk-session-stats.js +189 -0
- package/dist/resources/extensions/shared/rtk.js +100 -0
- package/dist/resources/skills/github-workflows/references/gh/SKILL.md +22 -1
- package/dist/rtk.d.ts +52 -0
- package/dist/rtk.js +332 -0
- package/dist/web/standalone/.next/BUILD_ID +1 -1
- package/dist/web/standalone/.next/app-path-routes-manifest.json +20 -19
- package/dist/web/standalone/.next/build-manifest.json +4 -4
- package/dist/web/standalone/.next/prerender-manifest.json +3 -3
- package/dist/web/standalone/.next/react-loadable-manifest.json +2 -2
- package/dist/web/standalone/.next/required-server-files.json +3 -3
- package/dist/web/standalone/.next/routes-manifest.json +6 -0
- package/dist/web/standalone/.next/server/app/_global-error/page.js +3 -3
- package/dist/web/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.html +2 -2
- package/dist/web/standalone/.next/server/app/_global-error.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found/page.js +2 -2
- package/dist/web/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.html +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.rsc +4 -4
- package/dist/web/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +4 -4
- package/dist/web/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +4 -4
- package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/dist/web/standalone/.next/server/app/api/boot/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/boot/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/boot/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/input/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/input/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/input/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/resize/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/resize/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/resize/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/stream/route.js +2 -2
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/stream/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/stream/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/browse-directories/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/browse-directories/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/browse-directories/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/captures/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/captures/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/captures/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/cleanup/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/cleanup/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/cleanup/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/dev-mode/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/dev-mode/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/dev-mode/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/doctor/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/doctor/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/doctor/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/experimental/route.js +3 -0
- package/dist/web/standalone/.next/server/app/api/experimental/route.js.nft.json +1 -0
- package/dist/web/standalone/.next/server/app/api/experimental/route_client-reference-manifest.js +1 -0
- package/dist/web/standalone/.next/server/app/api/export-data/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/export-data/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/export-data/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/files/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/files/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/files/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/forensics/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/forensics/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/forensics/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/git/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/git/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/git/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/history/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/history/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/history/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/hooks/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/hooks/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/hooks/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/inspect/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/inspect/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/inspect/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/knowledge/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/knowledge/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/knowledge/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/live-state/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/live-state/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/live-state/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/onboarding/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/onboarding/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/onboarding/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/preferences/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/preferences/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/preferences/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/projects/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/recovery/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/recovery/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/recovery/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/remote-questions/route.js +2 -26
- package/dist/web/standalone/.next/server/app/api/remote-questions/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/remote-questions/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/session/browser/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/session/browser/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/session/browser/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/session/command/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/session/command/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/session/command/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/session/events/route.js +2 -2
- package/dist/web/standalone/.next/server/app/api/session/events/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/session/events/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/session/manage/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/session/manage/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/session/manage/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/settings-data/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/settings-data/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/settings-data/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/shutdown/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/shutdown/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/shutdown/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/skill-health/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/skill-health/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/skill-health/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/steer/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/steer/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/steer/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/switch-root/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/switch-root/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/switch-root/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/input/route.js +2 -2
- package/dist/web/standalone/.next/server/app/api/terminal/input/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/input/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/resize/route.js +2 -2
- package/dist/web/standalone/.next/server/app/api/terminal/resize/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/resize/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/sessions/route.js +2 -2
- package/dist/web/standalone/.next/server/app/api/terminal/sessions/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/sessions/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/stream/route.js +4 -4
- package/dist/web/standalone/.next/server/app/api/terminal/stream/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/stream/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/upload/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/upload/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/upload/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/undo/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/undo/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/undo/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/update/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/update/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/update/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/visualizer/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/visualizer/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/visualizer/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/index.html +1 -1
- package/dist/web/standalone/.next/server/app/index.rsc +5 -5
- package/dist/web/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/dist/web/standalone/.next/server/app/index.segments/_full.segment.rsc +5 -5
- package/dist/web/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_index.segment.rsc +4 -4
- package/dist/web/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/dist/web/standalone/.next/server/app/page.js +2 -2
- package/dist/web/standalone/.next/server/app/page.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app-paths-manifest.json +20 -19
- package/dist/web/standalone/.next/server/chunks/2229.js +12 -0
- package/dist/web/standalone/.next/server/chunks/2331.js +25 -0
- package/dist/web/standalone/.next/server/chunks/{741.js → 4741.js} +1 -1
- package/dist/web/standalone/.next/server/chunks/5822.js +2 -0
- package/dist/web/standalone/.next/server/chunks/7471.js +13 -0
- package/dist/web/standalone/.next/server/functions-config-manifest.json +1 -0
- package/dist/web/standalone/.next/server/middleware-build-manifest.js +1 -1
- package/dist/web/standalone/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/dist/web/standalone/.next/server/middleware.js +3 -3
- package/dist/web/standalone/.next/server/next-font-manifest.js +1 -1
- package/dist/web/standalone/.next/server/next-font-manifest.json +1 -1
- package/dist/web/standalone/.next/server/pages/404.html +1 -1
- package/dist/web/standalone/.next/server/pages/500.html +2 -2
- package/dist/web/standalone/.next/server/server-reference-manifest.json +1 -1
- package/dist/web/standalone/.next/server/webpack-runtime.js +1 -1
- package/dist/web/standalone/.next/static/chunks/{485.243af25f0cdf50d6.js → 2008.817d0885545aaea9.js} +6 -6
- package/dist/web/standalone/.next/static/chunks/4024.9ad5def014d90ce4.js +9 -0
- package/dist/web/standalone/.next/static/chunks/app/_global-error/page-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/_not-found/{page-2f24283c162b6ab3.js → page-f2a7482d42a5614b.js} +1 -1
- package/dist/web/standalone/.next/static/chunks/app/api/boot/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/bridge-terminal/input/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/bridge-terminal/resize/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/bridge-terminal/stream/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/browse-directories/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/captures/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/cleanup/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/dev-mode/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/doctor/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/experimental/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/export-data/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/files/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/forensics/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/git/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/history/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/hooks/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/inspect/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/knowledge/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/live-state/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/onboarding/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/preferences/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/projects/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/recovery/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/remote-questions/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/session/browser/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/session/command/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/session/events/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/session/manage/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/settings-data/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/shutdown/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/skill-health/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/steer/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/switch-root/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/terminal/input/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/terminal/resize/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/terminal/sessions/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/terminal/stream/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/terminal/upload/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/undo/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/update/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/api/visualizer/route-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/app/{layout-9ecfd95f343793f0.js → layout-a16c7a7ecdf0c2cf.js} +1 -1
- package/dist/web/standalone/.next/static/chunks/app/page-b950e4e384cc62b3.js +1 -0
- package/dist/web/standalone/.next/static/chunks/main-app-fdab67f7802d7832.js +1 -0
- package/dist/web/standalone/.next/static/chunks/next/dist/client/components/builtin/app-error-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/next/dist/client/components/builtin/forbidden-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/next/dist/client/components/builtin/global-error-459824ffb8c323dd.js +1 -0
- package/dist/web/standalone/.next/static/chunks/next/dist/client/components/builtin/not-found-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/next/dist/client/components/builtin/unauthorized-c4cc189e7b117ea2.js +1 -0
- package/dist/web/standalone/.next/static/chunks/webpack-cfc9a116e6450a6b.js +1 -0
- package/dist/web/standalone/.next/static/css/de141508b083f922.css +1 -0
- package/dist/web/standalone/.next/static/yJIyd5cXPNpmXTv18ZlyC/_buildManifest.js +1 -0
- package/dist/web/standalone/node_modules/node-pty/build/Makefile +2 -2
- package/dist/web/standalone/node_modules/node-pty/build/Release/pty.node +0 -0
- package/dist/web/standalone/node_modules/node-pty/build/pty.target.mk +14 -14
- package/dist/web/standalone/node_modules/node-pty/node-addon-api/node_addon_api.target.mk +14 -14
- package/dist/web/standalone/node_modules/node-pty/node-addon-api/node_addon_api_except.target.mk +14 -14
- package/dist/web/standalone/node_modules/node-pty/node-addon-api/node_addon_api_maybe.target.mk +14 -14
- package/dist/web/standalone/server.js +1 -1
- package/package.json +1 -1
- package/packages/pi-agent-core/dist/agent-loop.d.ts.map +1 -1
- package/packages/pi-agent-core/dist/agent-loop.js +4 -1
- package/packages/pi-agent-core/dist/agent-loop.js.map +1 -1
- package/packages/pi-agent-core/src/agent-loop.ts +4 -1
- package/packages/pi-ai/dist/providers/openai-codex-responses.js +39 -10
- package/packages/pi-ai/dist/providers/openai-codex-responses.js.map +1 -1
- package/packages/pi-ai/dist/types.d.ts +1 -0
- package/packages/pi-ai/dist/types.d.ts.map +1 -1
- package/packages/pi-ai/dist/types.js.map +1 -1
- package/packages/pi-ai/src/providers/openai-codex-responses.ts +39 -8
- package/packages/pi-ai/src/types.ts +1 -1
- package/packages/pi-coding-agent/dist/core/agent-session.d.ts +1 -0
- package/packages/pi-coding-agent/dist/core/agent-session.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/agent-session.js +1 -0
- package/packages/pi-coding-agent/dist/core/agent-session.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/bash-executor.d.ts +3 -1
- package/packages/pi-coding-agent/dist/core/bash-executor.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/bash-executor.js +10 -1
- package/packages/pi-coding-agent/dist/core/bash-executor.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/blob-store.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/blob-store.js +8 -3
- package/packages/pi-coding-agent/dist/core/blob-store.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/discovery-cache.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/discovery-cache.js +9 -2
- package/packages/pi-coding-agent/dist/core/discovery-cache.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/index.d.ts +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/index.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/index.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/runner.d.ts +1 -0
- package/packages/pi-coding-agent/dist/core/extensions/runner.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/runner.js +13 -0
- package/packages/pi-coding-agent/dist/core/extensions/runner.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/types.d.ts +19 -1
- package/packages/pi-coding-agent/dist/core/extensions/types.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/types.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/wrapper.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/extensions/wrapper.js +8 -0
- package/packages/pi-coding-agent/dist/core/extensions/wrapper.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/package-manager.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/package-manager.js +8 -1
- package/packages/pi-coding-agent/dist/core/package-manager.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/retry-handler.js +1 -1
- package/packages/pi-coding-agent/dist/core/retry-handler.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/skills.d.ts +11 -1
- package/packages/pi-coding-agent/dist/core/skills.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/skills.js +30 -8
- package/packages/pi-coding-agent/dist/core/skills.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/slash-commands.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/slash-commands.js +1 -0
- package/packages/pi-coding-agent/dist/core/slash-commands.js.map +1 -1
- package/packages/pi-coding-agent/dist/index.d.ts +2 -2
- package/packages/pi-coding-agent/dist/index.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/index.js +1 -1
- package/packages/pi-coding-agent/dist/index.js.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/components/footer.js +3 -2
- package/packages/pi-coding-agent/dist/modes/interactive/components/footer.js.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/interactive-mode.js +13 -36
- package/packages/pi-coding-agent/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/slash-command-handlers.d.ts +5 -0
- package/packages/pi-coding-agent/dist/modes/interactive/slash-command-handlers.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/slash-command-handlers.js +12 -0
- package/packages/pi-coding-agent/dist/modes/interactive/slash-command-handlers.js.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/theme/themes.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/theme/themes.js +2 -1
- package/packages/pi-coding-agent/dist/modes/interactive/theme/themes.js.map +1 -1
- package/packages/pi-coding-agent/dist/modes/rpc/jsonl.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/modes/rpc/jsonl.js +5 -0
- package/packages/pi-coding-agent/dist/modes/rpc/jsonl.js.map +1 -1
- package/packages/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/modes/rpc/rpc-client.js +0 -1
- package/packages/pi-coding-agent/dist/modes/rpc/rpc-client.js.map +1 -1
- package/packages/pi-coding-agent/dist/modes/rpc/rpc-mode.js +1 -1
- package/packages/pi-coding-agent/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/packages/pi-coding-agent/package.json +1 -1
- package/packages/pi-coding-agent/src/core/agent-session.ts +2 -1
- package/packages/pi-coding-agent/src/core/bash-executor.ts +10 -2
- package/packages/pi-coding-agent/src/core/blob-store.ts +6 -3
- package/packages/pi-coding-agent/src/core/discovery-cache.ts +9 -2
- package/packages/pi-coding-agent/src/core/extensions/index.ts +2 -0
- package/packages/pi-coding-agent/src/core/extensions/runner.ts +18 -0
- package/packages/pi-coding-agent/src/core/extensions/types.ts +21 -0
- package/packages/pi-coding-agent/src/core/extensions/wrapper.ts +9 -0
- package/packages/pi-coding-agent/src/core/package-manager.ts +10 -1
- package/packages/pi-coding-agent/src/core/retry-handler.ts +1 -1
- package/packages/pi-coding-agent/src/core/skills.ts +35 -10
- package/packages/pi-coding-agent/src/core/slash-commands.ts +1 -0
- package/packages/pi-coding-agent/src/index.ts +4 -0
- package/packages/pi-coding-agent/src/modes/interactive/components/footer.ts +3 -2
- package/packages/pi-coding-agent/src/modes/interactive/interactive-mode.ts +13 -36
- package/packages/pi-coding-agent/src/modes/interactive/slash-command-handlers.ts +15 -0
- package/packages/pi-coding-agent/src/modes/interactive/theme/themes.ts +2 -1
- package/packages/pi-coding-agent/src/modes/rpc/jsonl.ts +6 -0
- package/packages/pi-coding-agent/src/modes/rpc/rpc-client.ts +0 -2
- package/packages/pi-coding-agent/src/modes/rpc/rpc-mode.ts +2 -2
- package/pkg/dist/modes/interactive/theme/themes.d.ts.map +1 -1
- package/pkg/dist/modes/interactive/theme/themes.js +2 -1
- package/pkg/dist/modes/interactive/theme/themes.js.map +1 -1
- package/pkg/package.json +1 -1
- package/scripts/postinstall.js +163 -6
- package/src/resources/extensions/async-jobs/async-bash-tool.ts +3 -1
- package/src/resources/extensions/bg-shell/interaction.ts +3 -1
- package/src/resources/extensions/bg-shell/process-manager.ts +4 -1
- package/src/resources/extensions/claude-code-cli/partial-builder.ts +5 -0
- package/src/resources/extensions/claude-code-cli/tests/partial-builder.test.ts +105 -0
- package/src/resources/extensions/gsd/auto/infra-errors.ts +1 -0
- package/src/resources/extensions/gsd/auto/phases.ts +25 -12
- package/src/resources/extensions/gsd/auto/resolve.ts +3 -3
- package/src/resources/extensions/gsd/auto/run-unit.ts +2 -2
- package/src/resources/extensions/gsd/auto/session.ts +11 -0
- package/src/resources/extensions/gsd/auto/types.ts +13 -0
- package/src/resources/extensions/gsd/auto-artifact-paths.ts +19 -21
- package/src/resources/extensions/gsd/auto-dashboard.ts +36 -5
- package/src/resources/extensions/gsd/auto-dispatch.ts +122 -71
- package/src/resources/extensions/gsd/auto-loop.ts +1 -1
- package/src/resources/extensions/gsd/auto-observability.ts +72 -0
- package/src/resources/extensions/gsd/auto-post-unit.ts +73 -110
- package/src/resources/extensions/gsd/auto-prompts.ts +159 -17
- package/src/resources/extensions/gsd/auto-recovery.ts +80 -221
- package/src/resources/extensions/gsd/auto-start.ts +7 -27
- package/src/resources/extensions/gsd/auto-timers.ts +2 -2
- package/src/resources/extensions/gsd/auto-utils.ts +25 -0
- package/src/resources/extensions/gsd/auto-verification.ts +4 -7
- package/src/resources/extensions/gsd/auto-worktree.ts +305 -108
- package/src/resources/extensions/gsd/auto.ts +26 -15
- package/src/resources/extensions/gsd/bootstrap/db-tools.ts +93 -0
- package/src/resources/extensions/gsd/bootstrap/register-hooks.ts +25 -0
- package/src/resources/extensions/gsd/branch-patterns.ts +16 -0
- package/src/resources/extensions/gsd/crash-recovery.ts +6 -2
- package/src/resources/extensions/gsd/custom-execution-policy.ts +3 -2
- package/src/resources/extensions/gsd/custom-verification.ts +3 -1
- package/src/resources/extensions/gsd/custom-workflow-engine.ts +3 -2
- package/src/resources/extensions/gsd/dashboard-overlay.ts +7 -0
- package/src/resources/extensions/gsd/detection.ts +662 -3
- package/src/resources/extensions/gsd/dispatch-guard.ts +2 -1
- package/src/resources/extensions/gsd/docs/preferences-reference.md +15 -0
- package/src/resources/extensions/gsd/doctor-checks.ts +5 -1291
- package/src/resources/extensions/gsd/doctor-engine-checks.ts +182 -0
- package/src/resources/extensions/gsd/doctor-environment.ts +30 -7
- package/src/resources/extensions/gsd/doctor-git-checks.ts +415 -0
- package/src/resources/extensions/gsd/doctor-global-checks.ts +84 -0
- package/src/resources/extensions/gsd/doctor-runtime-checks.ts +626 -0
- package/src/resources/extensions/gsd/doctor.ts +9 -1
- package/src/resources/extensions/gsd/extension-manifest.json +1 -1
- package/src/resources/extensions/gsd/files.ts +6 -1
- package/src/resources/extensions/gsd/git-service.ts +7 -15
- package/src/resources/extensions/gsd/gsd-db.ts +150 -2
- package/src/resources/extensions/gsd/guided-flow-queue.ts +11 -12
- package/src/resources/extensions/gsd/guided-flow.ts +11 -0
- package/src/resources/extensions/gsd/init-wizard.ts +9 -1
- package/src/resources/extensions/gsd/markdown-renderer.ts +37 -4
- package/src/resources/extensions/gsd/model-router.ts +25 -0
- package/src/resources/extensions/gsd/notifications.ts +23 -0
- package/src/resources/extensions/gsd/observability-validator.ts +456 -0
- package/src/resources/extensions/gsd/preferences-skills.ts +11 -5
- package/src/resources/extensions/gsd/preferences-types.ts +25 -1
- package/src/resources/extensions/gsd/preferences-validation.ts +63 -0
- package/src/resources/extensions/gsd/preferences.ts +3 -0
- package/src/resources/extensions/gsd/prompts/complete-milestone.md +27 -8
- package/src/resources/extensions/gsd/prompts/complete-slice.md +9 -8
- package/src/resources/extensions/gsd/prompts/execute-task.md +16 -13
- package/src/resources/extensions/gsd/prompts/forensics.md +19 -8
- package/src/resources/extensions/gsd/prompts/gate-evaluate.md +32 -0
- package/src/resources/extensions/gsd/prompts/guided-complete-slice.md +1 -1
- package/src/resources/extensions/gsd/prompts/guided-execute-task.md +1 -1
- package/src/resources/extensions/gsd/prompts/guided-plan-milestone.md +1 -1
- package/src/resources/extensions/gsd/prompts/guided-plan-slice.md +1 -1
- package/src/resources/extensions/gsd/prompts/plan-milestone.md +1 -1
- package/src/resources/extensions/gsd/prompts/plan-slice.md +8 -3
- package/src/resources/extensions/gsd/prompts/reassess-roadmap.md +3 -0
- package/src/resources/extensions/gsd/prompts/replan-slice.md +1 -1
- package/src/resources/extensions/gsd/prompts/validate-milestone.md +6 -1
- package/src/resources/extensions/gsd/provider-error-pause.ts +9 -0
- package/src/resources/extensions/gsd/repo-identity.ts +28 -0
- package/src/resources/extensions/gsd/roadmap-mutations.ts +134 -0
- package/src/resources/extensions/gsd/roadmap-slices.ts +2 -2
- package/src/resources/extensions/gsd/rtk-status.ts +53 -0
- package/src/resources/extensions/gsd/rule-registry.ts +10 -11
- package/src/resources/extensions/gsd/session-forensics.ts +13 -14
- package/src/resources/extensions/gsd/session-lock.ts +92 -64
- package/src/resources/extensions/gsd/skill-catalog.ts +1085 -0
- package/src/resources/extensions/gsd/skill-discovery.ts +3 -2
- package/src/resources/extensions/gsd/skill-health.ts +2 -2
- package/src/resources/extensions/gsd/skill-telemetry.ts +15 -5
- package/src/resources/extensions/gsd/state.ts +54 -10
- package/src/resources/extensions/gsd/templates/milestone-summary.md +8 -0
- package/src/resources/extensions/gsd/templates/milestone-validation.md +12 -0
- package/src/resources/extensions/gsd/templates/plan.md +16 -0
- package/src/resources/extensions/gsd/templates/preferences.md +2 -0
- package/src/resources/extensions/gsd/templates/roadmap.md +13 -0
- package/src/resources/extensions/gsd/templates/slice-summary.md +9 -0
- package/src/resources/extensions/gsd/templates/task-plan.md +24 -0
- package/src/resources/extensions/gsd/tests/agent-end-retry.test.ts +2 -2
- package/src/resources/extensions/gsd/tests/auto-dashboard.test.ts +16 -0
- package/src/resources/extensions/gsd/tests/auto-lock-creation.test.ts +2 -2
- package/src/resources/extensions/gsd/tests/auto-loop.test.ts +103 -0
- package/src/resources/extensions/gsd/tests/auto-recovery.test.ts +1 -81
- package/src/resources/extensions/gsd/tests/complete-milestone.test.ts +2 -2
- package/src/resources/extensions/gsd/tests/complete-slice.test.ts +2 -2
- package/src/resources/extensions/gsd/tests/complete-task.test.ts +2 -2
- package/src/resources/extensions/gsd/tests/completed-units-metrics-sync.test.ts +9 -12
- package/src/resources/extensions/gsd/tests/crash-recovery.test.ts +5 -3
- package/src/resources/extensions/gsd/tests/custom-verification.test.ts +33 -0
- package/src/resources/extensions/gsd/tests/derive-state-db.test.ts +4 -3
- package/src/resources/extensions/gsd/tests/detection.test.ts +838 -0
- package/src/resources/extensions/gsd/tests/dist-redirect.mjs +28 -9
- package/src/resources/extensions/gsd/tests/doctor-environment.test.ts +115 -1
- package/src/resources/extensions/gsd/tests/doctor-fixlevel.test.ts +65 -1
- package/src/resources/extensions/gsd/tests/doctor-git.test.ts +50 -0
- package/src/resources/extensions/gsd/tests/double-merge-guard.test.ts +97 -0
- package/src/resources/extensions/gsd/tests/gate-dispatch.test.ts +189 -0
- package/src/resources/extensions/gsd/tests/gate-storage.test.ts +156 -0
- package/src/resources/extensions/gsd/tests/git-service.test.ts +49 -0
- package/src/resources/extensions/gsd/tests/gsd-db.test.ts +1 -1
- package/src/resources/extensions/gsd/tests/idle-recovery.test.ts +63 -0
- package/src/resources/extensions/gsd/tests/infra-error.test.ts +12 -2
- package/src/resources/extensions/gsd/tests/journal-integration.test.ts +39 -0
- package/src/resources/extensions/gsd/tests/md-importer.test.ts +1 -1
- package/src/resources/extensions/gsd/tests/memory-store.test.ts +2 -2
- package/src/resources/extensions/gsd/tests/model-router.test.ts +40 -0
- package/src/resources/extensions/gsd/tests/notifications.test.ts +28 -6
- package/src/resources/extensions/gsd/tests/plan-quality-validator.test.ts +474 -0
- package/src/resources/extensions/gsd/tests/preferences.test.ts +50 -0
- package/src/resources/extensions/gsd/tests/quality-gates.test.ts +347 -0
- package/src/resources/extensions/gsd/tests/queue-completed-milestone-perf.test.ts +155 -0
- package/src/resources/extensions/gsd/tests/queue-reorder-e2e.test.ts +40 -0
- package/src/resources/extensions/gsd/tests/reactive-executor.test.ts +6 -6
- package/src/resources/extensions/gsd/tests/replan-slice.test.ts +2 -1
- package/src/resources/extensions/gsd/tests/repo-identity-worktree.test.ts +32 -0
- package/src/resources/extensions/gsd/tests/retry-diagnostic-reasoning.test.ts +161 -0
- package/src/resources/extensions/gsd/tests/retry-state-reset.test.ts +4 -5
- package/src/resources/extensions/gsd/tests/rewrite-count-persist.test.ts +82 -0
- package/src/resources/extensions/gsd/tests/roadmap-slices.test.ts +26 -0
- package/src/resources/extensions/gsd/tests/run-uat.test.ts +166 -16
- package/src/resources/extensions/gsd/tests/session-lock-transient-read.test.ts +223 -0
- package/src/resources/extensions/gsd/tests/sidecar-queue.test.ts +12 -12
- package/src/resources/extensions/gsd/tests/skill-activation.test.ts +44 -4
- package/src/resources/extensions/gsd/tests/skill-catalog.test.ts +193 -0
- package/src/resources/extensions/gsd/tests/terminated-transient.test.ts +24 -0
- package/src/resources/extensions/gsd/tests/tool-naming.test.ts +1 -1
- package/src/resources/extensions/gsd/tests/triage-dispatch.test.ts +2 -2
- package/src/resources/extensions/gsd/tests/validate-milestone.test.ts +2 -1
- package/src/resources/extensions/gsd/tests/verification-gate.test.ts +0 -16
- package/src/resources/extensions/gsd/tests/worktree-resolver.test.ts +67 -0
- package/src/resources/extensions/gsd/tests/worktree-sync-milestones.test.ts +1 -1
- package/src/resources/extensions/gsd/tests/worktree-sync-overwrite-loop.test.ts +204 -0
- package/src/resources/extensions/gsd/tools/plan-slice.ts +16 -0
- package/src/resources/extensions/gsd/tools/validate-milestone.ts +3 -3
- package/src/resources/extensions/gsd/types.ts +32 -0
- package/src/resources/extensions/gsd/undo.ts +8 -7
- package/src/resources/extensions/gsd/unit-runtime.ts +2 -1
- package/src/resources/extensions/gsd/verdict-parser.ts +95 -0
- package/src/resources/extensions/gsd/verification-gate.ts +3 -3
- package/src/resources/extensions/gsd/worktree-resolver.ts +31 -0
- package/src/resources/extensions/gsd/worktree.ts +3 -2
- package/src/resources/extensions/remote-questions/config.ts +3 -5
- package/src/resources/extensions/search-the-web/native-search.ts +8 -3
- package/src/resources/extensions/search-the-web/tool-search.ts +22 -2
- package/src/resources/extensions/shared/rtk-session-stats.ts +249 -0
- package/src/resources/extensions/shared/rtk.ts +120 -0
- package/src/resources/skills/github-workflows/references/gh/SKILL.md +22 -1
- package/dist/resources/extensions/gsd/auto-worktree-sync.js +0 -191
- package/dist/resources/extensions/gsd/resource-version.js +0 -97
- package/dist/web/standalone/.next/server/chunks/229.js +0 -12
- package/dist/web/standalone/.next/server/chunks/441.js +0 -2
- package/dist/web/standalone/.next/server/chunks/471.js +0 -13
- package/dist/web/standalone/.next/static/chunks/4024.11ca5c01938e5948.js +0 -9
- package/dist/web/standalone/.next/static/chunks/app/_global-error/page-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/boot/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/bridge-terminal/input/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/bridge-terminal/resize/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/bridge-terminal/stream/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/browse-directories/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/captures/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/cleanup/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/dev-mode/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/doctor/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/export-data/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/files/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/forensics/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/git/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/history/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/hooks/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/inspect/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/knowledge/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/live-state/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/onboarding/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/preferences/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/projects/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/recovery/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/remote-questions/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/session/browser/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/session/command/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/session/events/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/session/manage/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/settings-data/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/shutdown/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/skill-health/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/steer/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/switch-root/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/terminal/input/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/terminal/resize/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/terminal/sessions/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/terminal/stream/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/terminal/upload/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/undo/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/update/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/api/visualizer/route-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/app/page-12dd5ece0df4badc.js +0 -1
- package/dist/web/standalone/.next/static/chunks/main-app-d3d4c336195465f9.js +0 -1
- package/dist/web/standalone/.next/static/chunks/next/dist/client/components/builtin/app-error-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/next/dist/client/components/builtin/forbidden-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/next/dist/client/components/builtin/global-error-ab5a8926e07ec673.js +0 -1
- package/dist/web/standalone/.next/static/chunks/next/dist/client/components/builtin/not-found-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/next/dist/client/components/builtin/unauthorized-d83ba70a25a85472.js +0 -1
- package/dist/web/standalone/.next/static/chunks/webpack-0a4cd455ec4197d2.js +0 -1
- package/dist/web/standalone/.next/static/css/dd4ae3f58ac9b600.css +0 -1
- package/dist/web/standalone/.next/static/gj-y5hikmhS--NT8Web6M/_buildManifest.js +0 -1
- package/packages/pi-ai/pnpm-lock.yaml +0 -2022
- package/packages/pi-coding-agent/pnpm-lock.yaml +0 -454
- package/src/resources/extensions/gsd/auto-worktree-sync.ts +0 -234
- package/src/resources/extensions/gsd/resource-version.ts +0 -101
- /package/dist/web/standalone/.next/static/{gj-y5hikmhS--NT8Web6M → yJIyd5cXPNpmXTv18ZlyC}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,1026 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GSD Skill Catalog — Curated skill packs mapped to tech stacks.
|
|
3
|
+
*
|
|
4
|
+
* Each pack maps a detected (or user-chosen) tech stack to a skills.sh
|
|
5
|
+
* repo + specific skill names. The init wizard uses this catalog to
|
|
6
|
+
* install relevant skills during project onboarding.
|
|
7
|
+
*
|
|
8
|
+
* Installation is delegated entirely to the skills.sh CLI:
|
|
9
|
+
* npx skills add <repo> --skill <name> --skill <name> -y
|
|
10
|
+
*
|
|
11
|
+
* Skills are installed into ~/.agents/skills/ (the industry-standard
|
|
12
|
+
* ecosystem directory shared across all agents).
|
|
13
|
+
*/
|
|
14
|
+
import { execFile } from "node:child_process";
|
|
15
|
+
import { existsSync } from "node:fs";
|
|
16
|
+
import { join } from "node:path";
|
|
17
|
+
import { homedir } from "node:os";
|
|
18
|
+
import { showNextAction } from "../shared/tui.js";
|
|
19
|
+
// ─── Curated Catalog ──────────────────────────────────────────────────────────
|
|
20
|
+
export const SKILL_CATALOG = [
|
|
21
|
+
// ── Swift (language-level — any Swift project) ────────────────────────────
|
|
22
|
+
{
|
|
23
|
+
label: "SwiftUI",
|
|
24
|
+
description: "SwiftUI layout, navigation, animations, gestures, Liquid Glass",
|
|
25
|
+
repo: "dpearson2699/swift-ios-skills",
|
|
26
|
+
skills: [
|
|
27
|
+
"swiftui-animation",
|
|
28
|
+
"swiftui-gestures",
|
|
29
|
+
"swiftui-layout-components",
|
|
30
|
+
"swiftui-liquid-glass",
|
|
31
|
+
"swiftui-navigation",
|
|
32
|
+
"swiftui-patterns",
|
|
33
|
+
"swiftui-performance",
|
|
34
|
+
"swiftui-uikit-interop",
|
|
35
|
+
],
|
|
36
|
+
matchLanguages: ["swift"],
|
|
37
|
+
matchFiles: ["Package.swift"],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
label: "Swift Core",
|
|
41
|
+
description: "Swift language, concurrency, Codable, Charts, Testing, SwiftData",
|
|
42
|
+
repo: "dpearson2699/swift-ios-skills",
|
|
43
|
+
skills: [
|
|
44
|
+
"swift-codable",
|
|
45
|
+
"swift-charts",
|
|
46
|
+
"swift-concurrency",
|
|
47
|
+
"swift-language",
|
|
48
|
+
"swift-testing",
|
|
49
|
+
"swiftdata",
|
|
50
|
+
],
|
|
51
|
+
matchLanguages: ["swift"],
|
|
52
|
+
matchFiles: ["Package.swift"],
|
|
53
|
+
},
|
|
54
|
+
// ── iOS (Xcode project targeting iphoneos required) ───────────────────────
|
|
55
|
+
{
|
|
56
|
+
label: "iOS App Frameworks",
|
|
57
|
+
description: "App Intents, Widgets, StoreKit, MapKit, Live Activities, push notifications",
|
|
58
|
+
repo: "dpearson2699/swift-ios-skills",
|
|
59
|
+
skills: [
|
|
60
|
+
"alarmkit",
|
|
61
|
+
"app-clips",
|
|
62
|
+
"app-intents",
|
|
63
|
+
"live-activities",
|
|
64
|
+
"mapkit-location",
|
|
65
|
+
"photos-camera-media",
|
|
66
|
+
"push-notifications",
|
|
67
|
+
"storekit",
|
|
68
|
+
"tipkit",
|
|
69
|
+
"widgetkit",
|
|
70
|
+
],
|
|
71
|
+
matchXcodePlatforms: ["iphoneos"],
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
label: "iOS Data Frameworks",
|
|
75
|
+
description: "CloudKit, HealthKit, MusicKit, WeatherKit, Contacts, Calendar",
|
|
76
|
+
repo: "dpearson2699/swift-ios-skills",
|
|
77
|
+
skills: [
|
|
78
|
+
"cloudkit-sync",
|
|
79
|
+
"contacts-framework",
|
|
80
|
+
"eventkit-calendar",
|
|
81
|
+
"healthkit",
|
|
82
|
+
"musickit-audio",
|
|
83
|
+
"passkit-wallet",
|
|
84
|
+
"weatherkit",
|
|
85
|
+
],
|
|
86
|
+
matchXcodePlatforms: ["iphoneos"],
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
label: "iOS AI & ML",
|
|
90
|
+
description: "Core ML, Vision, on-device AI, speech recognition, NLP",
|
|
91
|
+
repo: "dpearson2699/swift-ios-skills",
|
|
92
|
+
skills: [
|
|
93
|
+
"apple-on-device-ai",
|
|
94
|
+
"coreml",
|
|
95
|
+
"natural-language",
|
|
96
|
+
"speech-recognition",
|
|
97
|
+
"vision-framework",
|
|
98
|
+
],
|
|
99
|
+
matchXcodePlatforms: ["iphoneos"],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
label: "iOS Engineering",
|
|
103
|
+
description: "Networking, security, accessibility, localization, Instruments, App Store review",
|
|
104
|
+
repo: "dpearson2699/swift-ios-skills",
|
|
105
|
+
skills: [
|
|
106
|
+
"app-store-review",
|
|
107
|
+
"authentication",
|
|
108
|
+
"background-processing",
|
|
109
|
+
"debugging-instruments",
|
|
110
|
+
"device-integrity",
|
|
111
|
+
"ios-accessibility",
|
|
112
|
+
"ios-localization",
|
|
113
|
+
"ios-networking",
|
|
114
|
+
"ios-security",
|
|
115
|
+
"metrickit-diagnostics",
|
|
116
|
+
],
|
|
117
|
+
matchXcodePlatforms: ["iphoneos"],
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
label: "iOS Hardware",
|
|
121
|
+
description: "Bluetooth, CoreMotion, NFC, PencilKit, RealityKit AR",
|
|
122
|
+
repo: "dpearson2699/swift-ios-skills",
|
|
123
|
+
skills: [
|
|
124
|
+
"core-bluetooth",
|
|
125
|
+
"core-motion",
|
|
126
|
+
"core-nfc",
|
|
127
|
+
"pencilkit-drawing",
|
|
128
|
+
"realitykit-ar",
|
|
129
|
+
],
|
|
130
|
+
matchXcodePlatforms: ["iphoneos"],
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
label: "iOS Platform",
|
|
134
|
+
description: "CallKit, EnergyKit, HomeKit, SharePlay, PermissionKit",
|
|
135
|
+
repo: "dpearson2699/swift-ios-skills",
|
|
136
|
+
skills: [
|
|
137
|
+
"callkit-voip",
|
|
138
|
+
"energykit",
|
|
139
|
+
"homekit-matter",
|
|
140
|
+
"permissionkit",
|
|
141
|
+
"shareplay-activities",
|
|
142
|
+
],
|
|
143
|
+
matchXcodePlatforms: ["iphoneos"],
|
|
144
|
+
},
|
|
145
|
+
// ── React / Next.js ───────────────────────────────────────────────────────
|
|
146
|
+
{
|
|
147
|
+
label: "React & Web Frontend",
|
|
148
|
+
description: "React best practices and composition patterns",
|
|
149
|
+
repo: "vercel-labs/agent-skills",
|
|
150
|
+
skills: [
|
|
151
|
+
"vercel-react-best-practices",
|
|
152
|
+
"vercel-composition-patterns",
|
|
153
|
+
],
|
|
154
|
+
matchLanguages: ["javascript/typescript"],
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
label: "shadcn/ui",
|
|
158
|
+
description: "shadcn/ui component library patterns and usage",
|
|
159
|
+
repo: "shadcn/ui",
|
|
160
|
+
skills: ["shadcn"],
|
|
161
|
+
matchLanguages: ["javascript/typescript"],
|
|
162
|
+
},
|
|
163
|
+
// ── React Native ──────────────────────────────────────────────────────────
|
|
164
|
+
{
|
|
165
|
+
label: "React Native",
|
|
166
|
+
description: "React Native and Expo best practices for performant mobile apps",
|
|
167
|
+
repo: "vercel-labs/agent-skills",
|
|
168
|
+
skills: ["vercel-react-native-skills"],
|
|
169
|
+
matchFiles: ["metro.config.js", "metro.config.ts", "react-native.config.js"],
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
label: "React Native Architecture",
|
|
173
|
+
description: "React Native app architecture, navigation, and cross-platform design patterns",
|
|
174
|
+
repo: "wshobson/agents",
|
|
175
|
+
skills: ["react-native-architecture", "react-native-design"],
|
|
176
|
+
matchFiles: ["metro.config.js", "metro.config.ts", "react-native.config.js"],
|
|
177
|
+
},
|
|
178
|
+
// ── TypeScript & JS Ecosystem (wshobson/agents — 41K combined installs) ──
|
|
179
|
+
{
|
|
180
|
+
label: "TypeScript & JS Development",
|
|
181
|
+
description: "Advanced TypeScript types, Node.js backend, testing, and modern JS patterns",
|
|
182
|
+
repo: "wshobson/agents",
|
|
183
|
+
skills: [
|
|
184
|
+
"typescript-advanced-types",
|
|
185
|
+
"nodejs-backend-patterns",
|
|
186
|
+
"javascript-testing-patterns",
|
|
187
|
+
"modern-javascript-patterns",
|
|
188
|
+
],
|
|
189
|
+
matchLanguages: ["javascript/typescript"],
|
|
190
|
+
},
|
|
191
|
+
// ── React State (wshobson/agents — 8.1K combined installs) ─────────────
|
|
192
|
+
{
|
|
193
|
+
label: "React State & Patterns",
|
|
194
|
+
description: "State management with Zustand, Jotai, React Query, and React modernization",
|
|
195
|
+
repo: "wshobson/agents",
|
|
196
|
+
skills: ["react-state-management", "react-modernization"],
|
|
197
|
+
matchLanguages: ["javascript/typescript"],
|
|
198
|
+
},
|
|
199
|
+
// ── Tailwind CSS (wshobson/agents — 22.8K installs) ───────────────────
|
|
200
|
+
{
|
|
201
|
+
label: "Tailwind CSS",
|
|
202
|
+
description: "Tailwind v4 design system, CVA patterns, and utility-first CSS",
|
|
203
|
+
repo: "wshobson/agents",
|
|
204
|
+
skills: ["tailwind-design-system"],
|
|
205
|
+
matchFiles: [
|
|
206
|
+
"tailwind.config.js",
|
|
207
|
+
"tailwind.config.ts",
|
|
208
|
+
"tailwind.config.mjs",
|
|
209
|
+
"tailwind.config.cjs",
|
|
210
|
+
],
|
|
211
|
+
},
|
|
212
|
+
// ── General Frontend ──────────────────────────────────────────────────────
|
|
213
|
+
{
|
|
214
|
+
label: "Frontend Design & UX",
|
|
215
|
+
description: "Frontend design, accessibility, and browser automation",
|
|
216
|
+
repo: "anthropics/skills",
|
|
217
|
+
skills: ["frontend-design"],
|
|
218
|
+
matchLanguages: ["javascript/typescript"],
|
|
219
|
+
},
|
|
220
|
+
// ── Angular ───────────────────────────────────────────────────────────────
|
|
221
|
+
{
|
|
222
|
+
label: "Angular",
|
|
223
|
+
description: "Angular components, signals, forms, routing, and testing",
|
|
224
|
+
repo: "analogjs/angular-skills",
|
|
225
|
+
skills: [
|
|
226
|
+
"angular-component",
|
|
227
|
+
"angular-signals",
|
|
228
|
+
"angular-forms",
|
|
229
|
+
"angular-routing",
|
|
230
|
+
"angular-testing",
|
|
231
|
+
],
|
|
232
|
+
matchFiles: ["angular.json"],
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
label: "Angular Migration",
|
|
236
|
+
description: "Migrate from AngularJS to Angular with hybrid mode and incremental rewriting",
|
|
237
|
+
repo: "wshobson/agents",
|
|
238
|
+
skills: ["angular-migration"],
|
|
239
|
+
matchFiles: ["angular.json"],
|
|
240
|
+
},
|
|
241
|
+
// ── Vue.js / Nuxt ────────────────────────────────────────────────────────
|
|
242
|
+
{
|
|
243
|
+
label: "Vue.js",
|
|
244
|
+
description: "Vue best practices, Pinia state, Vue Router, and testing",
|
|
245
|
+
repo: "vuejs-ai/skills",
|
|
246
|
+
skills: [
|
|
247
|
+
"vue-best-practices",
|
|
248
|
+
"vue-pinia-best-practices",
|
|
249
|
+
"vue-router-best-practices",
|
|
250
|
+
"vue-testing-best-practices",
|
|
251
|
+
],
|
|
252
|
+
matchFiles: ["nuxt.config.ts", "nuxt.config.js", "vue.config.js", "vue.config.ts", "*.vue"],
|
|
253
|
+
},
|
|
254
|
+
// ── Svelte / SvelteKit ────────────────────────────────────────────────────
|
|
255
|
+
{
|
|
256
|
+
label: "Svelte",
|
|
257
|
+
description: "Svelte code patterns and SvelteKit best practices",
|
|
258
|
+
repo: "sveltejs/ai-tools",
|
|
259
|
+
skills: ["svelte-code-writer", "svelte-core-bestpractices"],
|
|
260
|
+
matchFiles: ["svelte.config.js", "svelte.config.ts"],
|
|
261
|
+
},
|
|
262
|
+
// ── Next.js ───────────────────────────────────────────────────────────────
|
|
263
|
+
{
|
|
264
|
+
label: "Next.js",
|
|
265
|
+
description: "Next.js app router, server components, and deployment patterns",
|
|
266
|
+
repo: "vercel-labs/vercel-plugin",
|
|
267
|
+
skills: ["nextjs"],
|
|
268
|
+
matchFiles: ["next.config.js", "next.config.ts", "next.config.mjs"],
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
label: "Next.js App Router Patterns",
|
|
272
|
+
description: "Next.js 14+ App Router, React Server Components, and streaming",
|
|
273
|
+
repo: "wshobson/agents",
|
|
274
|
+
skills: ["nextjs-app-router-patterns"],
|
|
275
|
+
matchFiles: ["next.config.js", "next.config.ts", "next.config.mjs"],
|
|
276
|
+
},
|
|
277
|
+
// ── Java / Spring Boot ────────────────────────────────────────────────────
|
|
278
|
+
{
|
|
279
|
+
label: "Java & Spring Boot",
|
|
280
|
+
description: "Spring Boot best practices, DI, RESTful APIs, JPA, testing, and security",
|
|
281
|
+
repo: "github/awesome-copilot",
|
|
282
|
+
skills: ["java-springboot"],
|
|
283
|
+
matchFiles: ["dep:spring-boot"],
|
|
284
|
+
},
|
|
285
|
+
// ── .NET / C# ────────────────────────────────────────────────────────────
|
|
286
|
+
{
|
|
287
|
+
label: ".NET & C#",
|
|
288
|
+
description: ".NET best practices, design patterns, and upgrade guidance",
|
|
289
|
+
repo: "github/awesome-copilot",
|
|
290
|
+
skills: ["dotnet-best-practices", "dotnet-design-pattern-review"],
|
|
291
|
+
matchLanguages: ["csharp"],
|
|
292
|
+
matchFiles: ["*.csproj"],
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
label: ".NET Backend Patterns",
|
|
296
|
+
description: ".NET backend architecture, middleware, and production patterns",
|
|
297
|
+
repo: "wshobson/agents",
|
|
298
|
+
skills: ["dotnet-backend-patterns"],
|
|
299
|
+
matchFiles: ["*.csproj", "*.fsproj", "*.sln"],
|
|
300
|
+
},
|
|
301
|
+
// ── Flutter / Dart ────────────────────────────────────────────────────────
|
|
302
|
+
{
|
|
303
|
+
label: "Flutter",
|
|
304
|
+
description: "Flutter layouts, architecture, state management, and testing",
|
|
305
|
+
repo: "flutter/skills",
|
|
306
|
+
skills: [
|
|
307
|
+
"flutter-building-layouts",
|
|
308
|
+
"flutter-architecting-apps",
|
|
309
|
+
"flutter-managing-state",
|
|
310
|
+
"flutter-testing-apps",
|
|
311
|
+
],
|
|
312
|
+
matchLanguages: ["dart/flutter"],
|
|
313
|
+
matchFiles: ["pubspec.yaml"],
|
|
314
|
+
},
|
|
315
|
+
// ── PHP / Laravel ─────────────────────────────────────────────────────────
|
|
316
|
+
{
|
|
317
|
+
label: "PHP & Laravel",
|
|
318
|
+
description: "Laravel patterns, PHP best practices, and testing",
|
|
319
|
+
repo: "jeffallan/claude-skills",
|
|
320
|
+
skills: ["laravel-specialist", "php-pro"],
|
|
321
|
+
matchLanguages: ["php"],
|
|
322
|
+
matchFiles: ["composer.json"],
|
|
323
|
+
},
|
|
324
|
+
// ── Django ────────────────────────────────────────────────────────────────
|
|
325
|
+
{
|
|
326
|
+
label: "Django",
|
|
327
|
+
description: "Django expert patterns, models, views, and middleware",
|
|
328
|
+
repo: "vintasoftware/django-ai-plugins",
|
|
329
|
+
skills: ["django-expert"],
|
|
330
|
+
matchFiles: ["manage.py"],
|
|
331
|
+
},
|
|
332
|
+
// ── Rust ──────────────────────────────────────────────────────────────────
|
|
333
|
+
{
|
|
334
|
+
label: "Rust",
|
|
335
|
+
description: "Rust language patterns and best practices",
|
|
336
|
+
repo: "anthropics/skills",
|
|
337
|
+
skills: ["rust-best-practices"],
|
|
338
|
+
matchLanguages: ["rust"],
|
|
339
|
+
matchFiles: ["Cargo.toml"],
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
label: "Rust Async Patterns",
|
|
343
|
+
description: "Async Rust with Tokio, futures, and proper error handling",
|
|
344
|
+
repo: "wshobson/agents",
|
|
345
|
+
skills: ["rust-async-patterns"],
|
|
346
|
+
matchLanguages: ["rust"],
|
|
347
|
+
matchFiles: ["Cargo.toml"],
|
|
348
|
+
},
|
|
349
|
+
// ── Python ────────────────────────────────────────────────────────────────
|
|
350
|
+
{
|
|
351
|
+
label: "Python",
|
|
352
|
+
description: "Python patterns and best practices",
|
|
353
|
+
repo: "anthropics/skills",
|
|
354
|
+
skills: ["python-best-practices"],
|
|
355
|
+
matchLanguages: ["python"],
|
|
356
|
+
matchFiles: ["pyproject.toml", "setup.py", "requirements.txt"],
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
label: "Python Advanced",
|
|
360
|
+
description: "Python performance, testing, async patterns, and uv package manager",
|
|
361
|
+
repo: "wshobson/agents",
|
|
362
|
+
skills: [
|
|
363
|
+
"python-performance-optimization",
|
|
364
|
+
"python-testing-patterns",
|
|
365
|
+
"async-python-patterns",
|
|
366
|
+
"uv-package-manager",
|
|
367
|
+
],
|
|
368
|
+
matchLanguages: ["python"],
|
|
369
|
+
matchFiles: ["pyproject.toml", "setup.py", "requirements.txt"],
|
|
370
|
+
},
|
|
371
|
+
// FastAPI — detected by scanning requirements.txt / pyproject.toml for the
|
|
372
|
+
// "fastapi" dependency. Uses the "dep:fastapi" synthetic marker from detection.ts.
|
|
373
|
+
{
|
|
374
|
+
label: "FastAPI",
|
|
375
|
+
description: "Production-ready FastAPI projects with async patterns and error handling",
|
|
376
|
+
repo: "wshobson/agents",
|
|
377
|
+
skills: ["fastapi-templates"],
|
|
378
|
+
matchFiles: ["dep:fastapi"],
|
|
379
|
+
},
|
|
380
|
+
// ── Go ────────────────────────────────────────────────────────────────────
|
|
381
|
+
{
|
|
382
|
+
label: "Go",
|
|
383
|
+
description: "Go language patterns and best practices",
|
|
384
|
+
repo: "anthropics/skills",
|
|
385
|
+
skills: ["go-best-practices"],
|
|
386
|
+
matchLanguages: ["go"],
|
|
387
|
+
matchFiles: ["go.mod"],
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
label: "Go Concurrency Patterns",
|
|
391
|
+
description: "Go concurrency with channels, worker pools, and context cancellation",
|
|
392
|
+
repo: "wshobson/agents",
|
|
393
|
+
skills: ["go-concurrency-patterns"],
|
|
394
|
+
matchLanguages: ["go"],
|
|
395
|
+
matchFiles: ["go.mod"],
|
|
396
|
+
},
|
|
397
|
+
// ── Database / ORM ─────────────────────────────────────────────────────────
|
|
398
|
+
{
|
|
399
|
+
label: "Prisma",
|
|
400
|
+
description: "Prisma ORM setup, schema design, client API, and migrations",
|
|
401
|
+
repo: "prisma/skills",
|
|
402
|
+
skills: [
|
|
403
|
+
"prisma-database-setup",
|
|
404
|
+
"prisma-client-api",
|
|
405
|
+
"prisma-cli",
|
|
406
|
+
],
|
|
407
|
+
matchFiles: ["prisma/schema.prisma"],
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
label: "Supabase & Postgres",
|
|
411
|
+
description: "Supabase project setup, auth, Postgres best practices, and Firestore",
|
|
412
|
+
repo: "supabase/agent-skills",
|
|
413
|
+
skills: ["supabase-postgres-best-practices"],
|
|
414
|
+
matchFiles: ["supabase/config.toml"],
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
label: "PostgreSQL Design",
|
|
418
|
+
description: "PostgreSQL table design, indexing strategies, and query optimization",
|
|
419
|
+
repo: "wshobson/agents",
|
|
420
|
+
skills: ["postgresql-table-design"],
|
|
421
|
+
matchFiles: ["supabase/config.toml", "*.sql"],
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
label: "SQL Optimization & Review",
|
|
425
|
+
description: "Universal SQL performance optimization, security (injection prevention), and code review",
|
|
426
|
+
repo: "github/awesome-copilot",
|
|
427
|
+
skills: ["sql-optimization", "sql-code-review"],
|
|
428
|
+
matchFiles: [
|
|
429
|
+
"*.sql",
|
|
430
|
+
"*.sqlite",
|
|
431
|
+
"prisma/schema.prisma",
|
|
432
|
+
"supabase/config.toml",
|
|
433
|
+
"drizzle.config.ts",
|
|
434
|
+
"drizzle.config.js",
|
|
435
|
+
],
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
label: "Redis",
|
|
439
|
+
description: "Redis development patterns and best practices",
|
|
440
|
+
repo: "redis/agent-skills",
|
|
441
|
+
skills: ["redis-development"],
|
|
442
|
+
matchFiles: ["redis.conf"],
|
|
443
|
+
},
|
|
444
|
+
// ── Cloud Platforms ────────────────────────────────────────────────────────
|
|
445
|
+
{
|
|
446
|
+
label: "Firebase",
|
|
447
|
+
description: "Firebase setup, auth, Firestore, hosting, and AI Logic",
|
|
448
|
+
repo: "firebase/agent-skills",
|
|
449
|
+
skills: [
|
|
450
|
+
"firebase-basics",
|
|
451
|
+
"firebase-auth-basics",
|
|
452
|
+
"firebase-firestore-basics",
|
|
453
|
+
"firebase-hosting-basics",
|
|
454
|
+
"firebase-ai-logic",
|
|
455
|
+
],
|
|
456
|
+
matchFiles: ["firebase.json"],
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
label: "Azure",
|
|
460
|
+
description: "Azure deployment, AI services, storage, cost optimization, and diagnostics",
|
|
461
|
+
repo: "microsoft/github-copilot-for-azure",
|
|
462
|
+
skills: [
|
|
463
|
+
"azure-deploy",
|
|
464
|
+
"azure-ai",
|
|
465
|
+
"azure-storage",
|
|
466
|
+
"azure-cost-optimization",
|
|
467
|
+
"azure-diagnostics",
|
|
468
|
+
],
|
|
469
|
+
matchFiles: ["azure-pipelines.yml"],
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
label: "AWS",
|
|
473
|
+
description: "AWS deployment, Lambda, and serverless patterns",
|
|
474
|
+
repo: "awslabs/agent-plugins",
|
|
475
|
+
skills: ["deploy", "aws-lambda", "aws-serverless-deployment"],
|
|
476
|
+
matchFiles: ["cdk.json", "samconfig.toml", "serverless.yml", "serverless.yaml"],
|
|
477
|
+
},
|
|
478
|
+
// ── Container / DevOps ─────────────────────────────────────────────────────
|
|
479
|
+
{
|
|
480
|
+
label: "Docker",
|
|
481
|
+
description: "Multi-stage Dockerfiles, layer optimization, and security hardening",
|
|
482
|
+
repo: "github/awesome-copilot",
|
|
483
|
+
skills: ["multi-stage-dockerfile"],
|
|
484
|
+
matchFiles: ["Dockerfile", "docker-compose.yml", "docker-compose.yaml"],
|
|
485
|
+
},
|
|
486
|
+
// ── Infrastructure as Code ─────────────────────────────────────────────────
|
|
487
|
+
{
|
|
488
|
+
label: "Terraform",
|
|
489
|
+
description: "Terraform style guide, testing, and stack patterns",
|
|
490
|
+
repo: "hashicorp/agent-skills",
|
|
491
|
+
skills: ["terraform-style-guide", "terraform-test", "terraform-stacks"],
|
|
492
|
+
matchFiles: ["main.tf"],
|
|
493
|
+
},
|
|
494
|
+
// ── Android (wshobson/agents — 7K installs) ────────────────────────────────
|
|
495
|
+
{
|
|
496
|
+
label: "Android",
|
|
497
|
+
description: "Android app design following Material Design 3 guidelines",
|
|
498
|
+
repo: "wshobson/agents",
|
|
499
|
+
skills: ["mobile-android-design"],
|
|
500
|
+
matchFiles: ["app/build.gradle", "app/build.gradle.kts"],
|
|
501
|
+
},
|
|
502
|
+
// ── Kubernetes (wshobson/agents — 4 skills) ────────────────────────────────
|
|
503
|
+
{
|
|
504
|
+
label: "Kubernetes",
|
|
505
|
+
description: "K8s manifests, Helm charts, GitOps workflows, and security policies",
|
|
506
|
+
repo: "wshobson/agents",
|
|
507
|
+
skills: [
|
|
508
|
+
"k8s-manifest-generator",
|
|
509
|
+
"helm-chart-scaffolding",
|
|
510
|
+
"gitops-workflow",
|
|
511
|
+
"k8s-security-policies",
|
|
512
|
+
],
|
|
513
|
+
matchFiles: ["Chart.yaml", "kustomization.yaml"],
|
|
514
|
+
},
|
|
515
|
+
// ── CI/CD (wshobson/agents — 3 skills) ─────────────────────────────────────
|
|
516
|
+
{
|
|
517
|
+
label: "CI/CD Automation",
|
|
518
|
+
description: "Pipeline design, GitHub Actions workflows, and secrets management",
|
|
519
|
+
repo: "wshobson/agents",
|
|
520
|
+
skills: [
|
|
521
|
+
"deployment-pipeline-design",
|
|
522
|
+
"github-actions-templates",
|
|
523
|
+
"secrets-management",
|
|
524
|
+
],
|
|
525
|
+
matchFiles: [".github/workflows"],
|
|
526
|
+
},
|
|
527
|
+
// ── Blockchain / Web3 (wshobson/agents — 3 skills) ─────────────────────────
|
|
528
|
+
{
|
|
529
|
+
label: "Blockchain & Web3",
|
|
530
|
+
description: "Solidity security, DeFi protocols, and smart contract testing",
|
|
531
|
+
repo: "wshobson/agents",
|
|
532
|
+
skills: ["solidity-security", "defi-protocol-templates", "web3-testing"],
|
|
533
|
+
matchFiles: ["hardhat.config.js", "hardhat.config.ts", "foundry.toml"],
|
|
534
|
+
},
|
|
535
|
+
// ── Data Engineering (wshobson/agents — 4 skills) ──────────────────────────
|
|
536
|
+
{
|
|
537
|
+
label: "Data Engineering",
|
|
538
|
+
description: "dbt transformations, Airflow DAGs, Spark optimization, and data quality",
|
|
539
|
+
repo: "wshobson/agents",
|
|
540
|
+
skills: [
|
|
541
|
+
"dbt-transformation-patterns",
|
|
542
|
+
"airflow-dag-patterns",
|
|
543
|
+
"spark-optimization",
|
|
544
|
+
"data-quality-frameworks",
|
|
545
|
+
],
|
|
546
|
+
matchFiles: ["dbt_project.yml", "airflow.cfg"],
|
|
547
|
+
},
|
|
548
|
+
// ── Game Development — Unity (wshobson/agents) ─────────────────────────────
|
|
549
|
+
{
|
|
550
|
+
label: "Unity",
|
|
551
|
+
description: "Unity ECS patterns for high-performance game systems",
|
|
552
|
+
repo: "wshobson/agents",
|
|
553
|
+
skills: ["unity-ecs-patterns"],
|
|
554
|
+
matchFiles: ["ProjectSettings/ProjectVersion.txt"],
|
|
555
|
+
},
|
|
556
|
+
// ── Game Development — Godot (wshobson/agents) ─────────────────────────────
|
|
557
|
+
{
|
|
558
|
+
label: "Godot",
|
|
559
|
+
description: "Godot GDScript best practices and scene composition",
|
|
560
|
+
repo: "wshobson/agents",
|
|
561
|
+
skills: ["godot-gdscript-patterns"],
|
|
562
|
+
matchFiles: ["project.godot"],
|
|
563
|
+
},
|
|
564
|
+
// ── Essential (all projects) ────────────────────────────────────────────
|
|
565
|
+
{
|
|
566
|
+
label: "Skill Discovery",
|
|
567
|
+
description: "Find and install new agent skills from the ecosystem",
|
|
568
|
+
repo: "vercel-labs/skills",
|
|
569
|
+
skills: ["find-skills"],
|
|
570
|
+
matchAlways: true,
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
label: "Skill Authoring",
|
|
574
|
+
description: "Create, audit, and refine SKILL.md files",
|
|
575
|
+
repo: "anthropics/skills",
|
|
576
|
+
skills: ["skill-creator"],
|
|
577
|
+
matchAlways: true,
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
label: "Browser Automation",
|
|
581
|
+
description: "Browser automation for web scraping, testing, and interaction",
|
|
582
|
+
repo: "vercel-labs/agent-browser",
|
|
583
|
+
skills: ["agent-browser"],
|
|
584
|
+
matchAlways: true,
|
|
585
|
+
},
|
|
586
|
+
// ── General Tooling ───────────────────────────────────────────────────────
|
|
587
|
+
{
|
|
588
|
+
label: "Document Handling",
|
|
589
|
+
description: "PDF, DOCX, XLSX, PPTX creation and manipulation",
|
|
590
|
+
repo: "anthropics/skills",
|
|
591
|
+
skills: ["pdf", "docx", "xlsx", "pptx"],
|
|
592
|
+
matchAlways: true,
|
|
593
|
+
},
|
|
594
|
+
// ── Code Quality (wshobson/agents — matchAlways) ──────────────────────────
|
|
595
|
+
{
|
|
596
|
+
label: "Code Review & Quality",
|
|
597
|
+
description: "Code review excellence and error handling patterns",
|
|
598
|
+
repo: "wshobson/agents",
|
|
599
|
+
skills: ["code-review-excellence", "error-handling-patterns"],
|
|
600
|
+
matchAlways: true,
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
label: "Git Advanced Workflows",
|
|
604
|
+
description: "Advanced Git rebasing, cherry-picking, bisect, worktrees, and reflog",
|
|
605
|
+
repo: "wshobson/agents",
|
|
606
|
+
skills: ["git-advanced-workflows"],
|
|
607
|
+
matchAlways: true,
|
|
608
|
+
},
|
|
609
|
+
];
|
|
610
|
+
// ─── Greenfield Tech Stack Choices ────────────────────────────────────────────
|
|
611
|
+
/**
|
|
612
|
+
* Tech stack → pack mappings for programmatic use.
|
|
613
|
+
*
|
|
614
|
+
* NOT shown directly to users during init (greenfield installs essentials
|
|
615
|
+
* only and defers stack-specific skills). These mappings are available for:
|
|
616
|
+
* 1. The LLM to install skills after establishing a design
|
|
617
|
+
* 2. The `/gsd skills` command (explicit user request)
|
|
618
|
+
* 3. Re-running brownfield detection after project files are created
|
|
619
|
+
*/
|
|
620
|
+
export const GREENFIELD_STACKS = [
|
|
621
|
+
{
|
|
622
|
+
id: "ios",
|
|
623
|
+
label: "iOS App",
|
|
624
|
+
description: "Full iOS development — SwiftUI, Swift, and all iOS frameworks",
|
|
625
|
+
packs: [
|
|
626
|
+
"SwiftUI",
|
|
627
|
+
"Swift Core",
|
|
628
|
+
"iOS App Frameworks",
|
|
629
|
+
"iOS Data Frameworks",
|
|
630
|
+
"iOS AI & ML",
|
|
631
|
+
"iOS Engineering",
|
|
632
|
+
"iOS Hardware",
|
|
633
|
+
"iOS Platform",
|
|
634
|
+
],
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
id: "swift",
|
|
638
|
+
label: "Swift (non-iOS)",
|
|
639
|
+
description: "Swift packages, server-side Swift, CLI tools, SwiftUI without iOS",
|
|
640
|
+
packs: ["SwiftUI", "Swift Core"],
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
id: "react-web",
|
|
644
|
+
label: "React Web",
|
|
645
|
+
description: "React, Next.js, shadcn/ui, web frontend",
|
|
646
|
+
packs: ["React & Web Frontend", "TypeScript & JS Development", "React State & Patterns", "Tailwind CSS", "shadcn/ui", "Frontend Design & UX"],
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
id: "react-native",
|
|
650
|
+
label: "React Native",
|
|
651
|
+
description: "Cross-platform mobile with React Native",
|
|
652
|
+
packs: ["React Native", "React Native Architecture", "React & Web Frontend", "TypeScript & JS Development"],
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
id: "fullstack-js",
|
|
656
|
+
label: "Full-Stack JavaScript/TypeScript",
|
|
657
|
+
description: "Node.js backend + React frontend",
|
|
658
|
+
packs: ["React & Web Frontend", "TypeScript & JS Development", "React State & Patterns", "Tailwind CSS", "shadcn/ui", "Frontend Design & UX", "Prisma"],
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
id: "rust",
|
|
662
|
+
label: "Rust",
|
|
663
|
+
description: "Systems programming with Rust",
|
|
664
|
+
packs: ["Rust", "Rust Async Patterns"],
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
id: "python",
|
|
668
|
+
label: "Python",
|
|
669
|
+
description: "Python applications, scripts, or ML",
|
|
670
|
+
packs: ["Python", "Python Advanced"],
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
id: "go",
|
|
674
|
+
label: "Go",
|
|
675
|
+
description: "Go services and CLIs",
|
|
676
|
+
packs: ["Go", "Go Concurrency Patterns"],
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
id: "firebase",
|
|
680
|
+
label: "Firebase",
|
|
681
|
+
description: "Firebase backend — auth, Firestore, hosting, AI",
|
|
682
|
+
packs: ["Firebase"],
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
id: "aws",
|
|
686
|
+
label: "AWS",
|
|
687
|
+
description: "AWS deployment, Lambda, serverless",
|
|
688
|
+
packs: ["AWS"],
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
id: "azure",
|
|
692
|
+
label: "Azure",
|
|
693
|
+
description: "Azure deployment, AI, storage, diagnostics",
|
|
694
|
+
packs: ["Azure"],
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
id: "angular",
|
|
698
|
+
label: "Angular",
|
|
699
|
+
description: "Angular components, signals, forms, routing",
|
|
700
|
+
packs: ["Angular", "Angular Migration", "Frontend Design & UX"],
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
id: "vue",
|
|
704
|
+
label: "Vue.js / Nuxt",
|
|
705
|
+
description: "Vue.js with Pinia, Vue Router, and testing",
|
|
706
|
+
packs: ["Vue.js", "Frontend Design & UX"],
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
id: "svelte",
|
|
710
|
+
label: "Svelte / SvelteKit",
|
|
711
|
+
description: "Svelte 5 and SvelteKit patterns",
|
|
712
|
+
packs: ["Svelte", "Tailwind CSS", "Frontend Design & UX"],
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
id: "nextjs",
|
|
716
|
+
label: "Next.js",
|
|
717
|
+
description: "Next.js app router, React, and Vercel deployment",
|
|
718
|
+
packs: ["Next.js", "Next.js App Router Patterns", "React & Web Frontend", "TypeScript & JS Development", "Tailwind CSS", "shadcn/ui"],
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
id: "flutter",
|
|
722
|
+
label: "Flutter",
|
|
723
|
+
description: "Cross-platform Flutter/Dart development",
|
|
724
|
+
packs: ["Flutter"],
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
id: "java",
|
|
728
|
+
label: "Java / Spring Boot",
|
|
729
|
+
description: "Spring Boot APIs, JPA, and testing",
|
|
730
|
+
packs: ["Java & Spring Boot"],
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
id: "dotnet",
|
|
734
|
+
label: ".NET / C#",
|
|
735
|
+
description: "ASP.NET Core, Entity Framework, and design patterns",
|
|
736
|
+
packs: [".NET & C#", ".NET Backend Patterns"],
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
id: "php",
|
|
740
|
+
label: "PHP / Laravel",
|
|
741
|
+
description: "Laravel patterns and PHP best practices",
|
|
742
|
+
packs: ["PHP & Laravel"],
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
id: "django",
|
|
746
|
+
label: "Django",
|
|
747
|
+
description: "Django models, views, middleware, and Celery",
|
|
748
|
+
packs: ["Django", "Python", "Python Advanced"],
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
id: "fastapi",
|
|
752
|
+
label: "FastAPI",
|
|
753
|
+
description: "FastAPI web APIs with async patterns",
|
|
754
|
+
packs: ["FastAPI", "Python", "Python Advanced"],
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
id: "android",
|
|
758
|
+
label: "Android / Kotlin",
|
|
759
|
+
description: "Android app development with Material Design 3",
|
|
760
|
+
packs: ["Android"],
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
id: "kubernetes",
|
|
764
|
+
label: "Kubernetes",
|
|
765
|
+
description: "Kubernetes manifests, Helm charts, and GitOps",
|
|
766
|
+
packs: ["Kubernetes", "Docker"],
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
id: "blockchain",
|
|
770
|
+
label: "Blockchain / Web3",
|
|
771
|
+
description: "Solidity, DeFi protocols, and smart contract testing",
|
|
772
|
+
packs: ["Blockchain & Web3"],
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
id: "data-engineering",
|
|
776
|
+
label: "Data Engineering",
|
|
777
|
+
description: "dbt, Airflow, Spark, and data quality",
|
|
778
|
+
packs: ["Data Engineering", "Python", "Python Advanced"],
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
id: "unity",
|
|
782
|
+
label: "Unity",
|
|
783
|
+
description: "Unity game development with ECS patterns",
|
|
784
|
+
packs: ["Unity"],
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
id: "godot",
|
|
788
|
+
label: "Godot",
|
|
789
|
+
description: "Godot game development with GDScript",
|
|
790
|
+
packs: ["Godot"],
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
id: "other",
|
|
794
|
+
label: "Other / Skip",
|
|
795
|
+
description: "Install skills later with npx skills add",
|
|
796
|
+
packs: [],
|
|
797
|
+
},
|
|
798
|
+
];
|
|
799
|
+
// ─── Detection → Pack Matching ────────────────────────────────────────────────
|
|
800
|
+
/**
|
|
801
|
+
* Match project signals to relevant skill packs.
|
|
802
|
+
* Returns packs in catalog order (not sorted by match type).
|
|
803
|
+
*/
|
|
804
|
+
export function matchPacksForProject(signals) {
|
|
805
|
+
const matched = new Set();
|
|
806
|
+
for (const pack of SKILL_CATALOG) {
|
|
807
|
+
// Language match
|
|
808
|
+
if (pack.matchLanguages && signals.primaryLanguage) {
|
|
809
|
+
if (pack.matchLanguages.includes(signals.primaryLanguage)) {
|
|
810
|
+
matched.add(pack);
|
|
811
|
+
continue;
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
// File match
|
|
815
|
+
if (pack.matchFiles) {
|
|
816
|
+
for (const file of pack.matchFiles) {
|
|
817
|
+
if (signals.detectedFiles.includes(file)) {
|
|
818
|
+
matched.add(pack);
|
|
819
|
+
break;
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
// Xcode platform match (e.g. iOS packs only when SDKROOT = iphoneos)
|
|
824
|
+
if (pack.matchXcodePlatforms && signals.xcodePlatforms.length > 0) {
|
|
825
|
+
const hasMatch = pack.matchXcodePlatforms.some((p) => signals.xcodePlatforms.includes(p));
|
|
826
|
+
if (hasMatch)
|
|
827
|
+
matched.add(pack);
|
|
828
|
+
}
|
|
829
|
+
// Always-include packs (essentials)
|
|
830
|
+
if (pack.matchAlways) {
|
|
831
|
+
matched.add(pack);
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
return [...matched];
|
|
835
|
+
}
|
|
836
|
+
// ─── Installation ─────────────────────────────────────────────────────────────
|
|
837
|
+
/**
|
|
838
|
+
* Install a skill pack via the skills.sh CLI.
|
|
839
|
+
* Runs: npx skills add <repo> --skill <name> ... -y
|
|
840
|
+
*
|
|
841
|
+
* Returns true if installation succeeded.
|
|
842
|
+
*/
|
|
843
|
+
export function installSkillPack(pack) {
|
|
844
|
+
return new Promise((resolve) => {
|
|
845
|
+
// --yes = npx auto-install, -y = skills.sh non-interactive
|
|
846
|
+
const args = ["--yes", "skills", "add", pack.repo];
|
|
847
|
+
for (const skill of pack.skills) {
|
|
848
|
+
args.push("--skill", skill);
|
|
849
|
+
}
|
|
850
|
+
args.push("-y");
|
|
851
|
+
execFile("npx", args, { timeout: 120_000 }, (error) => {
|
|
852
|
+
resolve(!error);
|
|
853
|
+
});
|
|
854
|
+
});
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
* Install multiple packs, batching by repo to minimize npx invocations.
|
|
858
|
+
* Returns the labels of successfully installed packs.
|
|
859
|
+
*/
|
|
860
|
+
export async function installPacksBatched(packs, onProgress) {
|
|
861
|
+
// Group packs by repo
|
|
862
|
+
const byRepo = new Map();
|
|
863
|
+
for (const pack of packs) {
|
|
864
|
+
const entry = byRepo.get(pack.repo) ?? { skills: [], labels: [] };
|
|
865
|
+
entry.skills.push(...pack.skills);
|
|
866
|
+
entry.labels.push(pack.label);
|
|
867
|
+
byRepo.set(pack.repo, entry);
|
|
868
|
+
}
|
|
869
|
+
const installed = [];
|
|
870
|
+
for (const [repo, { skills, labels }] of byRepo) {
|
|
871
|
+
onProgress?.(labels.join(", "));
|
|
872
|
+
const ok = await new Promise((resolve) => {
|
|
873
|
+
// --yes = npx auto-install, -y = skills.sh non-interactive
|
|
874
|
+
const args = ["--yes", "skills", "add", repo];
|
|
875
|
+
for (const skill of skills) {
|
|
876
|
+
args.push("--skill", skill);
|
|
877
|
+
}
|
|
878
|
+
args.push("-y");
|
|
879
|
+
execFile("npx", args, { timeout: 120_000 }, (error) => {
|
|
880
|
+
resolve(!error);
|
|
881
|
+
});
|
|
882
|
+
});
|
|
883
|
+
if (ok)
|
|
884
|
+
installed.push(...labels);
|
|
885
|
+
}
|
|
886
|
+
return installed;
|
|
887
|
+
}
|
|
888
|
+
/**
|
|
889
|
+
* Check if any skills from a pack are already installed.
|
|
890
|
+
*/
|
|
891
|
+
export function isPackInstalled(pack) {
|
|
892
|
+
const skillsDir = join(homedir(), ".agents", "skills");
|
|
893
|
+
if (!existsSync(skillsDir))
|
|
894
|
+
return false;
|
|
895
|
+
return pack.skills.every((name) => existsSync(join(skillsDir, name, "SKILL.md")));
|
|
896
|
+
}
|
|
897
|
+
// ─── Init Wizard Integration ──────────────────────────────────────────────────
|
|
898
|
+
/**
|
|
899
|
+
* Run skill installation step during project init.
|
|
900
|
+
*
|
|
901
|
+
* Brownfield (signals.detectedFiles.length > 0):
|
|
902
|
+
* Auto-detects tech stack → shows matched packs → installs accepted ones.
|
|
903
|
+
*
|
|
904
|
+
* Greenfield (no files detected):
|
|
905
|
+
* Installs essential packs only (find-skills, skill-creator, etc.).
|
|
906
|
+
* Stack-specific skills are deferred — once the LLM establishes a design
|
|
907
|
+
* and creates project files (package.json, firebase.json, etc.), brownfield
|
|
908
|
+
* detection will pick them up on the next `gsd init` or via auto-mode
|
|
909
|
+
* skill discovery.
|
|
910
|
+
*
|
|
911
|
+
* Returns the list of installed pack labels.
|
|
912
|
+
*/
|
|
913
|
+
export async function runSkillInstallStep(ctx, signals) {
|
|
914
|
+
const installed = [];
|
|
915
|
+
const isBrownfield = signals.detectedFiles.length > 0;
|
|
916
|
+
if (isBrownfield) {
|
|
917
|
+
// ── Brownfield: auto-detect and confirm ─────────────────────────────────
|
|
918
|
+
const matched = matchPacksForProject(signals);
|
|
919
|
+
if (matched.length === 0)
|
|
920
|
+
return installed;
|
|
921
|
+
// Filter out already-installed packs
|
|
922
|
+
const toInstall = matched.filter((p) => !isPackInstalled(p));
|
|
923
|
+
if (toInstall.length === 0)
|
|
924
|
+
return installed;
|
|
925
|
+
// Group for display: Swift packs vs iOS packs vs other
|
|
926
|
+
const swiftPacks = toInstall.filter((p) => p.matchLanguages?.includes("swift"));
|
|
927
|
+
const iosPacks = toInstall.filter((p) => p.matchXcodePlatforms?.includes("iphoneos"));
|
|
928
|
+
const otherPacks = toInstall.filter((p) => !swiftPacks.includes(p) && !iosPacks.includes(p));
|
|
929
|
+
const summaryLines = [];
|
|
930
|
+
const hasIOS = signals.xcodePlatforms.includes("iphoneos");
|
|
931
|
+
if (hasIOS) {
|
|
932
|
+
summaryLines.push(`Detected: iOS project (${signals.primaryLanguage ?? "swift"})`);
|
|
933
|
+
}
|
|
934
|
+
else if (signals.xcodePlatforms.length > 0) {
|
|
935
|
+
summaryLines.push(`Detected: ${signals.xcodePlatforms.join(", ")} Xcode project (${signals.primaryLanguage ?? "swift"})`);
|
|
936
|
+
}
|
|
937
|
+
else {
|
|
938
|
+
summaryLines.push(`Detected: ${signals.primaryLanguage ?? "unknown"} project`);
|
|
939
|
+
}
|
|
940
|
+
summaryLines.push("");
|
|
941
|
+
summaryLines.push("Recommended skill packs:");
|
|
942
|
+
if (swiftPacks.length > 0) {
|
|
943
|
+
summaryLines.push(` Swift: ${swiftPacks.map((p) => p.label).join(", ")}`);
|
|
944
|
+
}
|
|
945
|
+
if (iosPacks.length > 0) {
|
|
946
|
+
summaryLines.push(` iOS: ${iosPacks.map((p) => p.label).join(", ")}`);
|
|
947
|
+
}
|
|
948
|
+
for (const p of otherPacks) {
|
|
949
|
+
summaryLines.push(` • ${p.label}: ${p.description}`);
|
|
950
|
+
}
|
|
951
|
+
const totalSkills = toInstall.reduce((n, p) => n + p.skills.length, 0);
|
|
952
|
+
const choice = await showNextAction(ctx, {
|
|
953
|
+
title: "GSD — Install Skills",
|
|
954
|
+
summary: summaryLines,
|
|
955
|
+
actions: [
|
|
956
|
+
{
|
|
957
|
+
id: "install",
|
|
958
|
+
label: "Install recommended skills",
|
|
959
|
+
description: `Install ${totalSkills} skills from ${toInstall.length} pack${toInstall.length > 1 ? "s" : ""} via skills.sh`,
|
|
960
|
+
recommended: true,
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
id: "skip",
|
|
964
|
+
label: "Skip",
|
|
965
|
+
description: "Install skills later with npx skills add",
|
|
966
|
+
},
|
|
967
|
+
],
|
|
968
|
+
notYetMessage: "Run /gsd init when ready.",
|
|
969
|
+
});
|
|
970
|
+
if (choice === "install") {
|
|
971
|
+
const labels = await installPacksBatched(toInstall, (label) => {
|
|
972
|
+
ctx.ui.notify(`Installing ${label} skills...`, "info");
|
|
973
|
+
});
|
|
974
|
+
installed.push(...labels);
|
|
975
|
+
const failed = toInstall.filter((p) => !installed.includes(p.label));
|
|
976
|
+
for (const pack of failed) {
|
|
977
|
+
ctx.ui.notify(`Failed to install ${pack.label} — try manually: npx skills add ${pack.repo}`, "info");
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
else {
|
|
982
|
+
// ── Greenfield: install essentials only ─────────────────────────────────
|
|
983
|
+
// Don't ask the user what tech stack they're building — they may not know
|
|
984
|
+
// yet, especially non-technical users. Install essential packs (discovery,
|
|
985
|
+
// authoring, browser, docs) and let stack-specific skills auto-detect later
|
|
986
|
+
// once the LLM establishes the design and creates project files.
|
|
987
|
+
const essentials = SKILL_CATALOG.filter((p) => p.matchAlways && !isPackInstalled(p));
|
|
988
|
+
if (essentials.length === 0)
|
|
989
|
+
return installed;
|
|
990
|
+
const totalSkills = essentials.reduce((n, p) => n + p.skills.length, 0);
|
|
991
|
+
const choice = await showNextAction(ctx, {
|
|
992
|
+
title: "GSD — Install Essential Skills",
|
|
993
|
+
summary: [
|
|
994
|
+
"GSD will install essential agent skills (skill discovery, authoring,",
|
|
995
|
+
"browser automation, document handling).",
|
|
996
|
+
"",
|
|
997
|
+
"Stack-specific skills (React, Swift, Python, etc.) will be recommended",
|
|
998
|
+
"automatically once your project files are in place.",
|
|
999
|
+
],
|
|
1000
|
+
actions: [
|
|
1001
|
+
{
|
|
1002
|
+
id: "install",
|
|
1003
|
+
label: "Install essentials",
|
|
1004
|
+
description: `Install ${totalSkills} essential skills via skills.sh`,
|
|
1005
|
+
recommended: true,
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
id: "skip",
|
|
1009
|
+
label: "Skip",
|
|
1010
|
+
description: "Install skills later with npx skills add",
|
|
1011
|
+
},
|
|
1012
|
+
],
|
|
1013
|
+
notYetMessage: "Run /gsd init when ready.",
|
|
1014
|
+
});
|
|
1015
|
+
if (choice === "install") {
|
|
1016
|
+
const labels = await installPacksBatched(essentials, (label) => {
|
|
1017
|
+
ctx.ui.notify(`Installing ${label} skills...`, "info");
|
|
1018
|
+
});
|
|
1019
|
+
installed.push(...labels);
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
if (installed.length > 0) {
|
|
1023
|
+
ctx.ui.notify(`Installed: ${installed.join(", ")}`, "info");
|
|
1024
|
+
}
|
|
1025
|
+
return installed;
|
|
1026
|
+
}
|