sinapse-ai 5.0.8 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/CLAUDE.md +1 -1
- package/.claude/rules/agent-authority.md +10 -10
- package/.claude/rules/agent-memory-imports.md +4 -4
- package/.claude/rules/coderabbit-integration.md +4 -4
- package/.claude/rules/ids-principles.md +5 -5
- package/.claude/rules/story-lifecycle.md +15 -15
- package/.claude/rules/workflow-execution.md +11 -11
- package/.sinapse-ai/constitution.md +3 -3
- package/.sinapse-ai/core/code-intel/helpers/dev-helper.js +1 -1
- package/.sinapse-ai/core/code-intel/helpers/qa-helper.js +1 -1
- package/.sinapse-ai/core/code-intel/helpers/story-helper.js +7 -7
- package/.sinapse-ai/core/config/config-loader.js +1 -1
- package/.sinapse-ai/core/docs/session-update-pattern.md +1 -1
- package/.sinapse-ai/core/ids/framework-governor.js +4 -4
- package/.sinapse-ai/core/ids/index.js +1 -1
- package/.sinapse-ai/core/memory/gotchas-memory.js +1 -1
- package/.sinapse-ai/core/orchestration/agent-invoker.js +1 -1
- package/.sinapse-ai/core/orchestration/bob-surface-criteria.yaml +2 -2
- package/.sinapse-ai/core/orchestration/executor-assignment.js +1 -1
- package/.sinapse-ai/core/orchestration/executors/epic-6-executor.js +1 -1
- package/.sinapse-ai/core/orchestration/executors/epic-executor.js +1 -1
- package/.sinapse-ai/core/orchestration/greenfield-handler.js +4 -4
- package/.sinapse-ai/core/orchestration/master-orchestrator.js +1 -1
- package/.sinapse-ai/core/orchestration/skill-dispatcher.js +3 -3
- package/.sinapse-ai/core/orchestration/workflow-executor.js +1 -1
- package/.sinapse-ai/core/quality-gates/layer2-pr-automation.js +3 -3
- package/.sinapse-ai/core/quality-gates/layer3-human-review.js +1 -1
- package/.sinapse-ai/core/quality-gates/quality-gate-config.yaml +1 -1
- package/.sinapse-ai/core/session/context-loader.js +1 -1
- package/.sinapse-ai/data/agent-config-requirements.yaml +3 -3
- package/.sinapse-ai/data/entity-registry.yaml +2126 -2570
- package/.sinapse-ai/data/registry-update-log.jsonl +316 -0
- package/.sinapse-ai/data/sinapse-kb.md +13 -13
- package/.sinapse-ai/data/tech-presets/csharp.md +2 -2
- package/.sinapse-ai/data/tech-presets/go.md +2 -2
- package/.sinapse-ai/data/tech-presets/java.md +2 -2
- package/.sinapse-ai/data/tech-presets/nextjs-react.md +1 -1
- package/.sinapse-ai/data/tech-presets/php.md +2 -2
- package/.sinapse-ai/data/tech-presets/rust.md +2 -2
- package/.sinapse-ai/data/technical-preferences.md +1 -1
- package/.sinapse-ai/data/workflow-chains.yaml +15 -15
- package/.sinapse-ai/development/README.md +1 -1
- package/.sinapse-ai/development/agent-teams/team-qa-focused.yaml +7 -7
- package/.sinapse-ai/development/agents/analyst.md +6 -6
- package/.sinapse-ai/development/agents/architect.md +4 -4
- package/.sinapse-ai/development/agents/data-engineer.md +2 -2
- package/.sinapse-ai/development/agents/{dev.md → developer.md} +7 -7
- package/.sinapse-ai/development/agents/devops.md +4 -4
- package/.sinapse-ai/development/agents/{po → product-lead}/MEMORY.md +3 -3
- package/.sinapse-ai/development/agents/{po.md → product-lead.md} +25 -25
- package/.sinapse-ai/development/agents/{pm → project-lead}/MEMORY.md +2 -2
- package/.sinapse-ai/development/agents/{pm.md → project-lead.md} +15 -15
- package/.sinapse-ai/development/agents/{qa.md → quality-gate.md} +8 -8
- package/.sinapse-ai/development/agents/{sinapse-master.md → sinapse-orqx.md} +12 -12
- package/.sinapse-ai/development/agents/{sm.md → sprint-lead.md} +18 -18
- package/.sinapse-ai/development/agents/squad-creator.md +4 -4
- package/.sinapse-ai/development/agents/ux-design-expert.md +2 -2
- package/.sinapse-ai/development/checklists/brownfield-compatibility-checklist.md +1 -1
- package/.sinapse-ai/development/checklists/memory-audit-checklist.md +1 -1
- package/.sinapse-ai/development/scripts/agent-config-loader.js +1 -1
- package/.sinapse-ai/development/scripts/apply-inline-greeting-all-agents.js +1 -1
- package/.sinapse-ai/development/scripts/audit-agent-config.js +2 -2
- package/.sinapse-ai/development/scripts/batch-update-agents-session-context.js +1 -1
- package/.sinapse-ai/development/scripts/dev-context-loader.js +1 -1
- package/.sinapse-ai/development/scripts/populate-entity-registry.js +2 -2
- package/.sinapse-ai/development/scripts/test-greeting-system.js +4 -4
- package/.sinapse-ai/development/scripts/unified-activation-pipeline.js +2 -2
- package/.sinapse-ai/development/scripts/verify-workflow-gaps.js +9 -9
- package/.sinapse-ai/development/tasks/analyze-cross-artifact.md +1 -1
- package/.sinapse-ai/development/tasks/analyze-project-structure.md +4 -4
- package/.sinapse-ai/development/tasks/apply-qa-fixes.md +1 -1
- package/.sinapse-ai/development/tasks/architect-analyze-impact.md +1 -1
- package/.sinapse-ai/development/tasks/brownfield-create-epic.md +10 -10
- package/.sinapse-ai/development/tasks/brownfield-create-story.md +1 -1
- package/.sinapse-ai/development/tasks/build-autonomous.md +1 -1
- package/.sinapse-ai/development/tasks/cleanup-utilities.md +6 -6
- package/.sinapse-ai/development/tasks/create-agent.md +1 -1
- package/.sinapse-ai/development/tasks/create-brownfield-story.md +4 -4
- package/.sinapse-ai/development/tasks/create-next-story.md +12 -12
- package/.sinapse-ai/development/tasks/create-service.md +2 -2
- package/.sinapse-ai/development/tasks/create-suite.md +1 -1
- package/.sinapse-ai/development/tasks/dev-backlog-debt.md +3 -3
- package/.sinapse-ai/development/tasks/dev-develop-story.md +5 -5
- package/.sinapse-ai/development/tasks/environment-bootstrap.md +2 -2
- package/.sinapse-ai/development/tasks/execute-checklist.md +1 -1
- package/.sinapse-ai/development/tasks/execute-epic-plan.md +11 -11
- package/.sinapse-ai/development/tasks/extract-patterns.md +2 -2
- package/.sinapse-ai/development/tasks/facilitate-brainstorming-session.md +2 -2
- package/.sinapse-ai/development/tasks/github-devops-github-pr-automation.md +1 -1
- package/.sinapse-ai/development/tasks/github-devops-pre-push-quality-gate.md +1 -1
- package/.sinapse-ai/development/tasks/ids-governor.md +3 -3
- package/.sinapse-ai/development/tasks/next.md +2 -2
- package/.sinapse-ai/development/tasks/orchestrate-resume.md +1 -1
- package/.sinapse-ai/development/tasks/orchestrate-status.md +1 -1
- package/.sinapse-ai/development/tasks/orchestrate-stop.md +1 -1
- package/.sinapse-ai/development/tasks/orchestrate.md +1 -1
- package/.sinapse-ai/development/tasks/patterns.md +2 -2
- package/.sinapse-ai/development/tasks/plan-create-context.md +2 -2
- package/.sinapse-ai/development/tasks/plan-execute-subtask.md +3 -3
- package/.sinapse-ai/development/tasks/po-close-story.md +3 -3
- package/.sinapse-ai/development/tasks/project-status.md +2 -2
- package/.sinapse-ai/development/tasks/qa-after-creation.md +2 -2
- package/.sinapse-ai/development/tasks/qa-backlog-add-followup.md +3 -3
- package/.sinapse-ai/development/tasks/qa-create-fix-request.md +8 -8
- package/.sinapse-ai/development/tasks/qa-evidence-requirements.md +1 -1
- package/.sinapse-ai/development/tasks/qa-false-positive-detection.md +1 -1
- package/.sinapse-ai/development/tasks/qa-fix-issues.md +10 -10
- package/.sinapse-ai/development/tasks/qa-gate.md +3 -3
- package/.sinapse-ai/development/tasks/qa-review-build.md +3 -3
- package/.sinapse-ai/development/tasks/qa-review-story.md +2 -2
- package/.sinapse-ai/development/tasks/qa-run-tests.md +1 -1
- package/.sinapse-ai/development/tasks/run-workflow-engine.md +1 -1
- package/.sinapse-ai/development/tasks/run-workflow.md +1 -1
- package/.sinapse-ai/development/tasks/security-scan.md +2 -2
- package/.sinapse-ai/development/tasks/setup-llm-routing.md +1 -1
- package/.sinapse-ai/development/tasks/spec-critique.md +4 -4
- package/.sinapse-ai/development/tasks/spec-gather-requirements.md +4 -4
- package/.sinapse-ai/development/tasks/spec-write-spec.md +2 -2
- package/.sinapse-ai/development/tasks/story-checkpoint.md +3 -3
- package/.sinapse-ai/development/tasks/sync-registry-intel.md +1 -1
- package/.sinapse-ai/development/tasks/validate-agents.md +1 -1
- package/.sinapse-ai/development/tasks/validate-next-story.md +10 -10
- package/.sinapse-ai/development/tasks/validate-workflow.md +1 -1
- package/.sinapse-ai/development/tasks/verify-subtask.md +2 -2
- package/.sinapse-ai/development/templates/code-intel-integration-pattern.md +3 -3
- package/.sinapse-ai/development/templates/subagent-step-prompt.md +2 -2
- package/.sinapse-ai/development/workflows/README.md +2 -2
- package/.sinapse-ai/development/workflows/auto-worktree.yaml +5 -5
- package/.sinapse-ai/development/workflows/brownfield-discovery.yaml +11 -11
- package/.sinapse-ai/development/workflows/brownfield-fullstack.yaml +6 -6
- package/.sinapse-ai/development/workflows/brownfield-service.yaml +5 -5
- package/.sinapse-ai/development/workflows/brownfield-ui.yaml +5 -5
- package/.sinapse-ai/development/workflows/development-cycle.yaml +10 -10
- package/.sinapse-ai/development/workflows/epic-orchestration.yaml +6 -6
- package/.sinapse-ai/development/workflows/greenfield-fullstack.yaml +7 -7
- package/.sinapse-ai/development/workflows/greenfield-service.yaml +5 -5
- package/.sinapse-ai/development/workflows/greenfield-ui.yaml +5 -5
- package/.sinapse-ai/development/workflows/qa-loop.yaml +1 -1
- package/.sinapse-ai/development/workflows/spec-pipeline.yaml +2 -2
- package/.sinapse-ai/development/workflows/story-development-cycle.yaml +1 -1
- package/.sinapse-ai/docs/standards/AGENT-PERSONALIZATION-STANDARD-V1.md +2 -2
- package/.sinapse-ai/docs/standards/OPEN-SOURCE-VS-SERVICE-DIFFERENCES.md +1 -1
- package/.sinapse-ai/docs/standards/QUALITY-GATES-SPECIFICATION.md +1 -1
- package/.sinapse-ai/docs/standards/SINAPSE-LIVRO-DE-OURO-V2.1-COMPLETE.md +6 -6
- package/.sinapse-ai/docs/standards/STANDARDS-INDEX.md +2 -2
- package/.sinapse-ai/docs/standards/STORY-TEMPLATE-V2-SPECIFICATION.md +6 -6
- package/.sinapse-ai/infrastructure/scripts/config-loader.js +2 -2
- package/.sinapse-ai/infrastructure/scripts/gotchas-documenter.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/ide-sync/README.md +3 -3
- package/.sinapse-ai/infrastructure/scripts/ide-sync/gemini-commands.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/ide-sync/index.js +2 -2
- package/.sinapse-ai/infrastructure/scripts/ide-sync/redirect-generator.js +2 -2
- package/.sinapse-ai/infrastructure/scripts/migrate-agent.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/performance-tracker.js +2 -2
- package/.sinapse-ai/infrastructure/scripts/qa-report-generator.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/recovery-tracker.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/rollback-manager.js +1 -1
- package/.sinapse-ai/infrastructure/templates/core-config/core-config-brownfield.tmpl.yaml +1 -1
- package/.sinapse-ai/infrastructure/templates/core-config/core-config-greenfield.tmpl.yaml +1 -1
- package/.sinapse-ai/infrastructure/templates/sinapse-sync.yaml.template +1 -1
- package/.sinapse-ai/install-manifest.yaml +344 -344
- package/.sinapse-ai/monitor/hooks/lib/enrich.py +1 -1
- package/.sinapse-ai/product/checklists/self-critique-checklist.md +1 -1
- package/.sinapse-ai/product/checklists/story-draft-checklist.md +3 -3
- package/.sinapse-ai/product/templates/command-rationalization-matrix.md +3 -3
- package/.sinapse-ai/product/templates/design-story-tmpl.yaml +4 -4
- package/.sinapse-ai/product/templates/ide-rules/antigravity-rules.md +1 -1
- package/.sinapse-ai/product/templates/ide-rules/claude-rules.md +2 -2
- package/.sinapse-ai/product/templates/ide-rules/codex-rules.md +6 -6
- package/.sinapse-ai/product/templates/ide-rules/cursor-rules.md +1 -1
- package/.sinapse-ai/product/templates/personalized-agent-template.md +1 -1
- package/.sinapse-ai/product/templates/personalized-task-template.md +1 -1
- package/.sinapse-ai/product/templates/personalized-template-file.yaml +1 -1
- package/.sinapse-ai/product/templates/personalized-workflow-template.yaml +3 -3
- package/.sinapse-ai/product/templates/story-tmpl.yaml +8 -8
- package/.sinapse-ai/schemas/README.md +15 -15
- package/.sinapse-ai/scripts/diagnostics/health-dashboard/package-lock.json +2 -2
- package/.sinapse-ai/user-guide.md +4 -4
- package/.sinapse-ai/working-in-the-brownfield.md +3 -3
- package/LICENSE +4 -4
- package/README.en.md +6 -6
- package/README.md +8 -8
- package/bin/cli.js +9 -9
- package/bin/sinapse.js +17 -0
- package/docs/00-shared-activation-pipeline.md +16 -16
- package/docs/FEATURE_PROCESS.md +1 -1
- package/docs/ORQX-PLAN.md +264 -0
- package/docs/core-architecture.md +2 -2
- package/docs/en/sinapse-agent-flows/README.md +2 -2
- package/docs/en/sinapse-agent-flows/dev-system.md +2 -2
- package/docs/en/sinapse-agent-flows/pm-system.md +2 -2
- package/docs/en/sinapse-agent-flows/qa-system.md +2 -2
- package/docs/en/sinapse-agent-flows/{sinapse-master-system.md → sinapse-orqx-system.md} +5 -5
- package/docs/en/sinapse-agent-flows/sm-system.md +2 -2
- package/docs/framework/entity-layer-classification.md +2 -2
- package/docs/framework/source-tree.md +17 -17
- package/docs/getting-started.md +13 -13
- package/docs/guides/IDS-CONCEITOS-EXPLICADOS.md +17 -17
- package/docs/guides/MEMORY-INTEGRATION.md +3 -3
- package/docs/guides/MEMORY-INTELLIGENCE-SYSTEM.md +4 -4
- package/docs/guides/ade-guide.md +25 -25
- package/docs/guides/agent-selection-guide.md +36 -36
- package/docs/guides/agents/ANALYST-SYSTEM.md +5 -5
- package/docs/guides/agents/ARCHITECT-SYSTEM.md +9 -9
- package/docs/guides/agents/DATA-ENGINEER-SYSTEM.md +8 -8
- package/docs/guides/agents/DEV-SYSTEM.md +27 -27
- package/docs/guides/agents/DEVOPS-SYSTEM.md +5 -5
- package/docs/guides/agents/PM-SYSTEM.md +24 -24
- package/docs/guides/agents/QA-SYSTEM.md +24 -24
- package/docs/guides/agents/SINAPSE-MASTER-SYSTEM.md +26 -26
- package/docs/guides/agents/SM-SYSTEM.md +31 -31
- package/docs/guides/agents/SQUAD-CREATOR-SYSTEM.md +2 -2
- package/docs/guides/agents/UX-DESIGN-EXPERT-SYSTEM.md +10 -10
- package/docs/guides/agents/traces/00-shared-activation-pipeline.md +16 -16
- package/docs/guides/agents/traces/00-shared-activation-pipeline.v1-act8.md +16 -16
- package/docs/guides/agents/traces/README.md +20 -20
- package/docs/guides/agents/traces/analyst-execution-trace.md +6 -6
- package/docs/guides/agents/traces/architect-execution-trace.md +3 -3
- package/docs/guides/agents/traces/data-engineer-execution-trace.md +4 -4
- package/docs/guides/agents/traces/dev-execution-trace.md +12 -12
- package/docs/guides/agents/traces/devops-execution-trace.md +6 -6
- package/docs/guides/agents/traces/pm-execution-trace.md +14 -14
- package/docs/guides/agents/traces/po-execution-trace.md +17 -17
- package/docs/guides/agents/traces/qa-execution-trace.md +15 -15
- package/docs/guides/agents/traces/{sinapse-master-execution-trace.md → sinapse-orqx-execution-trace.md} +22 -22
- package/docs/guides/agents/traces/sm-execution-trace.md +15 -15
- package/docs/guides/agents/traces/squad-creation-execution-trace.md +9 -9
- package/docs/guides/agents/traces/ux-design-expert-execution-trace.md +4 -4
- package/docs/guides/api-reference.md +27 -27
- package/docs/guides/coderabbit/README.md +9 -9
- package/docs/guides/contextual-greeting-system-guide.md +5 -5
- package/docs/guides/development-setup.md +1 -1
- package/docs/guides/project-status-feature.md +2 -2
- package/docs/guides/quality-dashboard.md +2 -2
- package/docs/guides/quality-gates.md +6 -6
- package/docs/guides/template-engine-v2.md +2 -2
- package/docs/guides/user-guide.md +13 -13
- package/docs/guides/workflows/AUTO-WORKTREE-WORKFLOW.md +3 -3
- package/docs/guides/workflows/BROWNFIELD-DISCOVERY-WORKFLOW.md +6 -6
- package/docs/guides/workflows/BROWNFIELD-FULLSTACK-WORKFLOW.md +30 -30
- package/docs/guides/workflows/BROWNFIELD-SERVICE-WORKFLOW.md +38 -38
- package/docs/guides/workflows/BROWNFIELD-UI-WORKFLOW.md +25 -25
- package/docs/guides/workflows/GREENFIELD-FULLSTACK-WORKFLOW.md +37 -37
- package/docs/guides/workflows/GREENFIELD-SERVICE-WORKFLOW.md +5 -5
- package/docs/guides/workflows/GREENFIELD-UI-WORKFLOW.md +19 -19
- package/docs/guides/workflows/QA-LOOP-WORKFLOW.md +13 -13
- package/docs/guides/workflows/SINAPSE-COMPLETE-CROSS-REFERENCE-ANALYSIS.md +19 -19
- package/docs/guides/workflows/SPEC-PIPELINE-WORKFLOW.md +25 -25
- package/docs/guides/workflows/STORY-DEVELOPMENT-CYCLE-WORKFLOW.md +28 -28
- package/docs/guides/workflows/WORKFLOW-TASK-AGENT-ANALYSIS.md +94 -94
- package/docs/guides/workflows/xref-phase2-templates.md +29 -29
- package/docs/guides/workflows/xref-phase3-scripts.md +33 -33
- package/docs/guides/workflows/xref-phase4-infra.md +2 -2
- package/docs/guides/workflows/xref-phase6-supporting.md +1 -1
- package/docs/guides/workflows-guide.md +2 -2
- package/docs/installation/faq.md +1 -1
- package/docs/installation/troubleshooting.md +2 -2
- package/docs/installation/v4-quick-start.md +2 -2
- package/docs/prd-cli-graph-dashboard.md +1 -1
- package/docs/pt/DOCUMENTATION-ROADMAP.md +1 -1
- package/docs/pt/FEATURE_PROCESS.md +1 -1
- package/docs/pt/README.md +2 -2
- package/docs/pt/agents/archetype-rationale.md +4 -4
- package/docs/pt/agents/persona-definitions.md +9 -9
- package/docs/pt/architecture/ADE-ARCHITECT-HANDOFF.md +15 -15
- package/docs/pt/architecture/ADE-EPIC1-HANDOFF.md +2 -2
- package/docs/pt/architecture/ADE-EPIC2-HANDOFF.md +2 -2
- package/docs/pt/architecture/ADE-EPIC3-HANDOFF.md +8 -8
- package/docs/pt/architecture/ade-architecture.md +4 -4
- package/docs/pt/architecture/adr/adr-hcs-health-check-system.md +3 -3
- package/docs/pt/architecture/agent-config-audit.md +4 -4
- package/docs/pt/architecture/agent-responsibility-matrix.md +20 -20
- package/docs/pt/architecture/agent-tool-integration-guide.md +8 -8
- package/docs/pt/architecture/contribution-workflow-research.md +1 -1
- package/docs/pt/architecture/dashboard-architecture.md +1 -1
- package/docs/pt/architecture/hcs-check-specifications.md +1 -1
- package/docs/pt/architecture/hcs-execution-modes.md +1 -1
- package/docs/pt/architecture/hcs-self-healing-spec.md +1 -1
- package/docs/pt/architecture/high-level-architecture.md +1 -1
- package/docs/pt/architecture/module-system.md +1 -1
- package/docs/pt/architecture/source-tree.md +1 -1
- package/docs/pt/architecture/squad-improvement-recommended-approach.md +2 -2
- package/docs/pt/architecture/utility-integration-guide.md +2 -2
- package/docs/pt/contributing.md +1 -1
- package/docs/pt/core-architecture.md +2 -2
- package/docs/pt/framework/source-tree.md +1 -1
- package/docs/pt/guides/ade-guide.md +25 -25
- package/docs/pt/guides/agent-selection-guide.md +36 -36
- package/docs/pt/guides/api-reference.md +25 -25
- package/docs/pt/guides/contextual-greeting-system-guide.md +5 -5
- package/docs/pt/guides/development-setup.md +1 -1
- package/docs/pt/guides/project-status-feature.md +2 -2
- package/docs/pt/guides/quality-dashboard.md +2 -2
- package/docs/pt/guides/quality-gates.md +6 -6
- package/docs/pt/guides/template-engine-v2.md +2 -2
- package/docs/pt/guides/user-guide.md +8 -8
- package/docs/pt/guides/workflows-guide.md +2 -2
- package/docs/pt/installation/faq.md +1 -1
- package/docs/pt/installation/troubleshooting.md +2 -2
- package/docs/pt/installation/v4-quick-start.md +2 -2
- package/docs/pt/platforms/antigravity.md +9 -9
- package/docs/pt/platforms/cursor.md +15 -15
- package/docs/pt/platforms/gemini-cli.md +3 -3
- package/docs/pt/roadmap.md +1 -1
- package/docs/pt/sinapse-nomenclature-specification.md +15 -15
- package/docs/pt/specifications/docs-agent-technical-specification.md +11 -11
- package/docs/roadmap.md +1 -1
- package/docs/sinapse-agent-flows/README.md +2 -2
- package/docs/sinapse-agent-flows/analyst-system.md +5 -5
- package/docs/sinapse-agent-flows/architect-system.md +9 -9
- package/docs/sinapse-agent-flows/data-engineer-system.md +8 -8
- package/docs/sinapse-agent-flows/dev-system.md +27 -27
- package/docs/sinapse-agent-flows/devops-system.md +5 -5
- package/docs/sinapse-agent-flows/pm-system.md +24 -24
- package/docs/sinapse-agent-flows/qa-system.md +24 -24
- package/docs/sinapse-agent-flows/{sinapse-master-system.md → sinapse-orqx-system.md} +26 -26
- package/docs/sinapse-agent-flows/sm-system.md +31 -31
- package/docs/sinapse-agent-flows/squad-creator-system.md +2 -2
- package/docs/sinapse-agent-flows/ux-design-expert-system.md +10 -10
- package/docs/sinapse-workflows/auto-worktree-workflow.md +3 -3
- package/docs/sinapse-workflows/brownfield-discovery-workflow.md +6 -6
- package/docs/sinapse-workflows/brownfield-fullstack-workflow.md +30 -30
- package/docs/sinapse-workflows/brownfield-service-workflow.md +38 -38
- package/docs/sinapse-workflows/brownfield-ui-workflow.md +25 -25
- package/docs/sinapse-workflows/greenfield-fullstack-workflow.md +37 -37
- package/docs/sinapse-workflows/greenfield-service-workflow.md +5 -5
- package/docs/sinapse-workflows/greenfield-ui-workflow.md +19 -19
- package/docs/sinapse-workflows/qa-loop-workflow.md +13 -13
- package/docs/sinapse-workflows/spec-pipeline-workflow.md +25 -25
- package/docs/sinapse-workflows/story-development-cycle-workflow.md +28 -28
- package/package.json +1 -1
- package/packages/gemini-sinapse-extension/README.md +1 -1
- package/packages/gemini-sinapse-extension/commands/lib/agent-launcher.js +1 -1
- package/packages/gemini-sinapse-extension/commands/{sinapse-master.js → sinapse-orqx.js} +1 -1
- package/packages/gemini-sinapse-extension/extension.json +3 -3
- package/packages/gemini-sinapse-extension/gemini-extension.json +3 -3
- package/packages/installer/src/config/configure-environment.js +2 -2
- package/packages/installer/src/updater/index.js +105 -0
- package/packages/installer/src/wizard/feedback.js +38 -30
- package/packages/installer/src/wizard/i18n.js +25 -182
- package/packages/installer/src/wizard/ide-config-generator.js +1 -1
- package/packages/installer/src/wizard/index.js +253 -69
- package/packages/installer/src/wizard/questions.js +35 -7
- package/packages/installer/tests/unit/artifact-copy-pipeline/artifact-copy-pipeline.test.js +1 -1
- package/packages/sinapse-install/README.md +1 -1
- package/packages/sinapse-install/src/installer.js +1 -1
- package/scripts/package-synapse.js +1 -1
- package/sinapse/agents/{sinapse-master.md → sinapse-orqx.md} +16 -16
- package/sinapse/knowledge-base/cross-squad-patterns.md +1 -1
- package/sinapse/knowledge-base/routing-catalog.md +1 -1
- package/sinapse/squad.yaml +1 -1
- package/sinapse/tasks/compose-multi-squad-plan.md +2 -2
- package/sinapse/tasks/coordinate-cross-squad.md +2 -2
- package/sinapse/tasks/diagnose-and-route.md +2 -2
- package/sinapse/tasks/onboard-user.md +2 -2
- package/sinapse/tasks/resolve-conflict.md +2 -2
- package/sinapse/tasks/squad-status-report.md +2 -2
- package/sinapse/tasks/strategic-brief.md +3 -3
- package/squads/squad-animations/agents/animations-orqx.md +2 -2
- package/squads/squad-brand/agents/brand-creative-engineer.md +1 -1
- package/squads/squad-brand/agents/brand-motion-vfx.md +1 -1
- package/squads/squad-brand/agents/brand-orqx.md +2 -2
- package/squads/squad-brand/agents/brand-sonic-designer.md +1 -1
- package/squads/squad-brand/agents/brand-system-architect.md +1 -1
- package/squads/squad-claude/agents/claude-orqx.md +2 -2
- package/squads/squad-cloning/agents/cloning-orqx.md +3 -3
- package/squads/squad-commercial/agents/commercial-orqx.md +1 -1
- package/squads/squad-commercial/agents/cs-business-auditor.md +1 -1
- package/squads/squad-commercial/agents/cs-client-success.md +1 -1
- package/squads/squad-commercial/agents/cs-crm-specialist.md +1 -1
- package/squads/squad-commercial/agents/cs-funnel-architect.md +1 -1
- package/squads/squad-commercial/agents/cs-lead-generation-strategist.md +1 -1
- package/squads/squad-commercial/agents/cs-offer-designer.md +1 -1
- package/squads/squad-commercial/agents/cs-revops-analyst.md +1 -1
- package/squads/squad-commercial/agents/cs-sales-closer.md +1 -1
- package/squads/squad-commercial/agents/cs-sales-enablement.md +1 -1
- package/squads/squad-commercial/knowledge-base/ai-as-competitive-infrastructure.md +1 -1
- package/squads/squad-content/agents/content-orqx.md +2 -2
- package/squads/squad-content/knowledge-base/ai-leverage-content-framework.md +1 -1
- package/squads/squad-copy/agents/copy-strategist.md +3 -3
- package/squads/squad-copy/knowledge-base/consequence-headline-patterns.md +1 -1
- package/squads/squad-council/agents/council-orqx.md +1 -1
- package/squads/squad-courses/agents/courses-orqx.md +1 -1
- package/squads/squad-cybersecurity/agents/cyber-orqx.md +2 -2
- package/squads/squad-design/agents/design-orqx.md +2 -2
- package/squads/squad-finance/agents/finance-orqx.md +2 -2
- package/squads/squad-growth/agents/growth-orqx.md +2 -2
- package/squads/squad-paidmedia/agents/paidmedia-orqx.md +2 -2
- package/squads/squad-product/agents/product-orqx.md +2 -2
- package/squads/squad-research/agents/research-orqx.md +2 -2
- package/squads/squad-research/tasks/create-executive-briefing.md +1 -1
- package/squads/squad-research/tasks/create-insight-deck.md +1 -1
- package/squads/squad-research/tasks/forecast-industry-trends.md +1 -1
- package/squads/squad-research/tasks/generate-actionable-recommendations.md +2 -2
- package/squads/squad-research/tasks/run-scenario-planning.md +2 -2
- package/squads/squad-research/tasks/synthesize-research-report.md +2 -2
- package/squads/squad-research/tasks/track-emerging-technologies.md +1 -1
- package/squads/squad-storytelling/agents/storytelling-orqx.md +2 -2
- package/docs/es/CHANGELOG.md +0 -117
- package/docs/es/DOCUMENTATION-ROADMAP.md +0 -216
- package/docs/es/ENVIRONMENT.md +0 -140
- package/docs/es/FEATURE_PROCESS.md +0 -99
- package/docs/es/GUIDING-PRINCIPLES.md +0 -101
- package/docs/es/README.md +0 -134
- package/docs/es/agent-reference-guide.md +0 -570
- package/docs/es/agents/archetype-rationale.md +0 -566
- package/docs/es/agents/persona-definitions.md +0 -501
- package/docs/es/api/squads-api.md +0 -753
- package/docs/es/architecture/ADE-AGENT-CHANGES.md +0 -469
- package/docs/es/architecture/ADE-ARCHITECT-HANDOFF.md +0 -338
- package/docs/es/architecture/ADE-EPIC1-HANDOFF.md +0 -85
- package/docs/es/architecture/ADE-EPIC2-HANDOFF.md +0 -106
- package/docs/es/architecture/ADE-EPIC3-HANDOFF.md +0 -327
- package/docs/es/architecture/ARCHITECTURE-INDEX.md +0 -188
- package/docs/es/architecture/ade-architecture.md +0 -586
- package/docs/es/architecture/adr/ADR-COLLAB-1-current-state-audit.md +0 -259
- package/docs/es/architecture/adr/ADR-COLLAB-2-proposed-configuration.md +0 -518
- package/docs/es/architecture/adr/adr-hcs-health-check-system.md +0 -489
- package/docs/es/architecture/adr/adr-isolated-vm-decision.md +0 -70
- package/docs/es/architecture/agent-config-audit.md +0 -222
- package/docs/es/architecture/agent-responsibility-matrix.md +0 -444
- package/docs/es/architecture/agent-tool-integration-guide.md +0 -334
- package/docs/es/architecture/ci-cd.md +0 -151
- package/docs/es/architecture/coding-standards.md +0 -896
- package/docs/es/architecture/contribution-workflow-research.md +0 -376
- package/docs/es/architecture/dashboard-architecture.md +0 -926
- package/docs/es/architecture/dashboard-realtime.md +0 -1253
- package/docs/es/architecture/hcs-check-specifications.md +0 -897
- package/docs/es/architecture/hcs-execution-modes.md +0 -519
- package/docs/es/architecture/hcs-self-healing-spec.md +0 -695
- package/docs/es/architecture/high-level-architecture.md +0 -357
- package/docs/es/architecture/introduction.md +0 -21
- package/docs/es/architecture/mcp-api-keys-management.md +0 -246
- package/docs/es/architecture/mcp-system-diagrams.md +0 -113
- package/docs/es/architecture/module-system.md +0 -382
- package/docs/es/architecture/multi-repo-strategy.md +0 -390
- package/docs/es/architecture/source-tree.md +0 -708
- package/docs/es/architecture/squad-improvement-analysis.md +0 -204
- package/docs/es/architecture/squad-improvement-recommended-approach.md +0 -390
- package/docs/es/architecture/tech-stack.md +0 -806
- package/docs/es/architecture/utility-integration-guide.md +0 -358
- package/docs/es/community/README-community-snippet-core.md +0 -57
- package/docs/es/community/README-community-snippet-mcp.md +0 -49
- package/docs/es/community/README-community-snippet-squads.md +0 -40
- package/docs/es/community.md +0 -227
- package/docs/es/core-architecture.md +0 -229
- package/docs/es/docker-mcp-setup.md +0 -426
- package/docs/es/framework/README.md +0 -99
- package/docs/es/framework/coding-standards.md +0 -892
- package/docs/es/framework/source-tree.md +0 -725
- package/docs/es/framework/tech-stack.md +0 -802
- package/docs/es/getting-started.md +0 -572
- package/docs/es/git-workflow-guide.md +0 -995
- package/docs/es/guides/README.md +0 -133
- package/docs/es/guides/ade-guide.md +0 -452
- package/docs/es/guides/agent-selection-guide.md +0 -295
- package/docs/es/guides/api-reference.md +0 -899
- package/docs/es/guides/build-recovery-guide.md +0 -270
- package/docs/es/guides/contextual-greeting-system-guide.md +0 -387
- package/docs/es/guides/contributing-squads.md +0 -256
- package/docs/es/guides/development-setup.md +0 -1111
- package/docs/es/guides/ide-sync-guide.md +0 -194
- package/docs/es/guides/installation-troubleshooting.md +0 -327
- package/docs/es/guides/llm-routing.md +0 -312
- package/docs/es/guides/mcp/desktop-commander.md +0 -368
- package/docs/es/guides/mcp/docker-gateway-tutorial.md +0 -336
- package/docs/es/guides/mcp-global-setup.md +0 -663
- package/docs/es/guides/permission-modes.md +0 -313
- package/docs/es/guides/project-status-feature.md +0 -473
- package/docs/es/guides/quality-dashboard.md +0 -367
- package/docs/es/guides/quality-gates.md +0 -614
- package/docs/es/guides/security-hardening.md +0 -1359
- package/docs/es/guides/service-discovery.md +0 -524
- package/docs/es/guides/squad-examples/README.md +0 -64
- package/docs/es/guides/squad-migration.md +0 -356
- package/docs/es/guides/squads-guide.md +0 -836
- package/docs/es/guides/squads-overview.md +0 -332
- package/docs/es/guides/template-engine-v2.md +0 -484
- package/docs/es/guides/testing-guide.md +0 -1215
- package/docs/es/guides/user-guide.md +0 -452
- package/docs/es/guides/workflows-guide.md +0 -400
- package/docs/es/how-to-contribute-with-pull-requests.md +0 -160
- package/docs/es/ide-integration.md +0 -425
- package/docs/es/installation/README.md +0 -108
- package/docs/es/installation/faq.md +0 -616
- package/docs/es/installation/linux.md +0 -311
- package/docs/es/installation/macos.md +0 -189
- package/docs/es/installation/troubleshooting.md +0 -735
- package/docs/es/installation/v4-quick-start.md +0 -269
- package/docs/es/installation/windows.md +0 -342
- package/docs/es/meta-agent-commands.md +0 -990
- package/docs/es/migration-guide.md +0 -310
- package/docs/es/npx-install.md +0 -193
- package/docs/es/performance-tuning-guide.md +0 -707
- package/docs/es/platforms/README.md +0 -283
- package/docs/es/platforms/antigravity.md +0 -510
- package/docs/es/platforms/claude-code.md +0 -650
- package/docs/es/platforms/cursor.md +0 -635
- package/docs/es/platforms/gemini-cli.md +0 -483
- package/docs/es/platforms/github-copilot.md +0 -480
- package/docs/es/roadmap.md +0 -119
- package/docs/es/security-best-practices.md +0 -613
- package/docs/es/security.md +0 -124
- package/docs/es/sinapse-agent-flows/README.md +0 -190
- package/docs/es/sinapse-agent-flows/analyst-system.md +0 -36
- package/docs/es/sinapse-agent-flows/architect-system.md +0 -36
- package/docs/es/sinapse-agent-flows/data-engineer-system.md +0 -36
- package/docs/es/sinapse-agent-flows/dev-system.md +0 -36
- package/docs/es/sinapse-agent-flows/devops-system.md +0 -36
- package/docs/es/sinapse-agent-flows/pm-system.md +0 -36
- package/docs/es/sinapse-agent-flows/qa-system.md +0 -36
- package/docs/es/sinapse-agent-flows/sinapse-master-system.md +0 -36
- package/docs/es/sinapse-agent-flows/sm-system.md +0 -36
- package/docs/es/sinapse-agent-flows/squad-creator-system.md +0 -36
- package/docs/es/sinapse-agent-flows/ux-design-expert-system.md +0 -36
- package/docs/es/sinapse-nomenclature-specification.md +0 -673
- package/docs/es/sinapse-workflows/README.md +0 -247
- package/docs/es/sinapse-workflows/auto-worktree-workflow.md +0 -39
- package/docs/es/sinapse-workflows/brownfield-discovery-workflow.md +0 -41
- package/docs/es/sinapse-workflows/brownfield-fullstack-workflow.md +0 -42
- package/docs/es/sinapse-workflows/brownfield-service-workflow.md +0 -43
- package/docs/es/sinapse-workflows/brownfield-ui-workflow.md +0 -42
- package/docs/es/sinapse-workflows/design-system-build-quality-workflow.md +0 -40
- package/docs/es/sinapse-workflows/greenfield-fullstack-workflow.md +0 -44
- package/docs/es/sinapse-workflows/greenfield-service-workflow.md +0 -43
- package/docs/es/sinapse-workflows/greenfield-ui-workflow.md +0 -43
- package/docs/es/sinapse-workflows/qa-loop-workflow.md +0 -39
- package/docs/es/sinapse-workflows/spec-pipeline-workflow.md +0 -40
- package/docs/es/sinapse-workflows/story-development-cycle-workflow.md +0 -42
- package/docs/es/specifications/docs-agent-technical-specification.md +0 -2161
- package/docs/es/troubleshooting.md +0 -887
- package/docs/es/uninstallation.md +0 -556
- package/docs/es/versioning-and-releases.md +0 -146
- package/docs/zh/CHANGELOG.md +0 -191
- package/docs/zh/ENVIRONMENT.md +0 -136
- package/docs/zh/FEATURE_PROCESS.md +0 -92
- package/docs/zh/GLOSSARY.md +0 -179
- package/docs/zh/GUIDING-PRINCIPLES.md +0 -97
- package/docs/zh/README.md +0 -133
- package/docs/zh/TRANSLATION-PLAN.md +0 -508
- package/docs/zh/agent-reference-guide.md +0 -566
- package/docs/zh/agents/archetype-rationale.md +0 -631
- package/docs/zh/agents/persona-definitions.md +0 -560
- package/docs/zh/api/squads-api.md +0 -753
- package/docs/zh/architecture/ADE-ARCHITECT-HANDOFF.md +0 -338
- package/docs/zh/architecture/ADE-EPIC1-HANDOFF.md +0 -85
- package/docs/zh/architecture/ADE-EPIC2-HANDOFF.md +0 -106
- package/docs/zh/architecture/ADE-EPIC3-HANDOFF.md +0 -327
- package/docs/zh/architecture/ARCHITECTURE-INDEX.md +0 -190
- package/docs/zh/architecture/SINAPSE-VISUAL-OVERVIEW.md +0 -595
- package/docs/zh/architecture/ade-architecture.md +0 -474
- package/docs/zh/architecture/adr/ADR-COLLAB-1-current-state-audit.md +0 -259
- package/docs/zh/architecture/adr/ADR-COLLAB-2-proposed-configuration.md +0 -518
- package/docs/zh/architecture/adr/adr-hcs-health-check-system.md +0 -489
- package/docs/zh/architecture/adr/adr-isolated-vm-decision.md +0 -70
- package/docs/zh/architecture/agent-config-audit.md +0 -220
- package/docs/zh/architecture/agent-responsibility-matrix.md +0 -444
- package/docs/zh/architecture/agent-tool-integration-guide.md +0 -336
- package/docs/zh/architecture/ci-cd.md +0 -151
- package/docs/zh/architecture/coding-standards.md +0 -898
- package/docs/zh/architecture/command-authority-matrix.md +0 -18
- package/docs/zh/architecture/contribution-workflow-research.md +0 -376
- package/docs/zh/architecture/dashboard-architecture.md +0 -569
- package/docs/zh/architecture/dashboard-realtime.md +0 -415
- package/docs/zh/architecture/hcs-check-specifications.md +0 -102
- package/docs/zh/architecture/hcs-execution-modes.md +0 -114
- package/docs/zh/architecture/hcs-self-healing-spec.md +0 -148
- package/docs/zh/architecture/high-level-architecture.md +0 -355
- package/docs/zh/architecture/introduction.md +0 -21
- package/docs/zh/architecture/mcp-api-keys-management.md +0 -248
- package/docs/zh/architecture/mcp-system-diagrams.md +0 -113
- package/docs/zh/architecture/module-system.md +0 -382
- package/docs/zh/architecture/multi-repo-strategy.md +0 -237
- package/docs/zh/architecture/source-tree.md +0 -710
- package/docs/zh/architecture/squad-improvement-analysis.md +0 -204
- package/docs/zh/architecture/squad-improvement-recommended-approach.md +0 -390
- package/docs/zh/architecture/tech-stack.md +0 -808
- package/docs/zh/architecture/utility-integration-guide.md +0 -358
- package/docs/zh/code-of-conduct.md +0 -113
- package/docs/zh/community/README-community-snippet-core.md +0 -57
- package/docs/zh/community/README-community-snippet-mcp.md +0 -49
- package/docs/zh/community/README-community-snippet-squads.md +0 -40
- package/docs/zh/community.md +0 -227
- package/docs/zh/contributing.md +0 -581
- package/docs/zh/core-architecture.md +0 -229
- package/docs/zh/docker-mcp-setup.md +0 -226
- package/docs/zh/framework/README.md +0 -97
- package/docs/zh/framework/coding-standards.md +0 -886
- package/docs/zh/framework/source-tree.md +0 -888
- package/docs/zh/framework/tech-stack.md +0 -796
- package/docs/zh/getting-started.md +0 -317
- package/docs/zh/git-workflow-guide.md +0 -988
- package/docs/zh/guides/MEMORY-INTEGRATION.md +0 -497
- package/docs/zh/guides/MEMORY-INTELLIGENCE-SYSTEM.md +0 -1083
- package/docs/zh/guides/MEMORY-SYSTEM.md +0 -1003
- package/docs/zh/guides/README.md +0 -127
- package/docs/zh/guides/ade-guide.md +0 -446
- package/docs/zh/guides/agent-selection-guide.md +0 -289
- package/docs/zh/guides/api-reference.md +0 -427
- package/docs/zh/guides/build-recovery-guide.md +0 -266
- package/docs/zh/guides/contextual-greeting-system-guide.md +0 -381
- package/docs/zh/guides/contributing-squads.md +0 -250
- package/docs/zh/guides/development-setup.md +0 -384
- package/docs/zh/guides/ide-sync-guide.md +0 -193
- package/docs/zh/guides/installation-troubleshooting.md +0 -321
- package/docs/zh/guides/llm-routing.md +0 -306
- package/docs/zh/guides/mcp/desktop-commander.md +0 -368
- package/docs/zh/guides/mcp/docker-gateway-tutorial.md +0 -336
- package/docs/zh/guides/mcp-global-setup.md +0 -696
- package/docs/zh/guides/permission-modes.md +0 -307
- package/docs/zh/guides/project-status-feature.md +0 -467
- package/docs/zh/guides/quality-dashboard.md +0 -361
- package/docs/zh/guides/quality-gates.md +0 -462
- package/docs/zh/guides/security-hardening.md +0 -1055
- package/docs/zh/guides/service-discovery.md +0 -518
- package/docs/zh/guides/squad-examples/README.md +0 -63
- package/docs/zh/guides/squad-migration.md +0 -336
- package/docs/zh/guides/template-engine-v2.md +0 -478
- package/docs/zh/guides/workflows-guide.md +0 -408
- package/docs/zh/how-to-contribute-with-pull-requests.md +0 -158
- package/docs/zh/installation/README.md +0 -106
- package/docs/zh/installation/faq.md +0 -611
- package/docs/zh/installation/linux.md +0 -447
- package/docs/zh/installation/macos.md +0 -187
- package/docs/zh/installation/troubleshooting.md +0 -729
- package/docs/zh/installation/windows.md +0 -475
- package/docs/zh/meta-agent-commands.md +0 -990
- package/docs/zh/security-best-practices.md +0 -610
- package/docs/zh/security.md +0 -124
- package/docs/zh/sinapse-agent-flows/README.md +0 -196
- package/docs/zh/sinapse-agent-flows/analyst-system.md +0 -679
- package/docs/zh/sinapse-agent-flows/architect-system.md +0 -246
- package/docs/zh/sinapse-agent-flows/data-engineer-system.md +0 -418
- package/docs/zh/sinapse-agent-flows/dev-system.md +0 -209
- package/docs/zh/sinapse-agent-flows/devops-system.md +0 -643
- package/docs/zh/sinapse-agent-flows/pm-system.md +0 -733
- package/docs/zh/sinapse-agent-flows/qa-system.md +0 -268
- package/docs/zh/sinapse-agent-flows/sinapse-master-system.md +0 -81
- package/docs/zh/sinapse-agent-flows/sm-system.md +0 -501
- package/docs/zh/sinapse-agent-flows/squad-creator-system.md +0 -704
- package/docs/zh/sinapse-agent-flows/ux-design-expert-system.md +0 -160
- package/docs/zh/sinapse-workflows/README.md +0 -247
- package/docs/zh/sinapse-workflows/auto-worktree-workflow.md +0 -793
- package/docs/zh/sinapse-workflows/brownfield-discovery-workflow.md +0 -915
- package/docs/zh/sinapse-workflows/brownfield-fullstack-workflow.md +0 -764
- package/docs/zh/sinapse-workflows/brownfield-service-workflow.md +0 -812
- package/docs/zh/sinapse-workflows/brownfield-ui-workflow.md +0 -891
- package/docs/zh/sinapse-workflows/design-system-build-quality-workflow.md +0 -845
- package/docs/zh/sinapse-workflows/greenfield-fullstack-workflow.md +0 -796
- package/docs/zh/sinapse-workflows/greenfield-service-workflow.md +0 -786
- package/docs/zh/sinapse-workflows/greenfield-ui-workflow.md +0 -922
- package/docs/zh/sinapse-workflows/qa-loop-workflow.md +0 -1111
- package/docs/zh/sinapse-workflows/spec-pipeline-workflow.md +0 -1031
- package/docs/zh/sinapse-workflows/story-development-cycle-workflow.md +0 -843
- package/docs/zh/troubleshooting.md +0 -883
- package/docs/zh/uninstallation.md +0 -348
- package/docs/zh/versioning-and-releases.md +0 -140
- /package/.sinapse-ai/development/agents/{dev → developer}/MEMORY.md +0 -0
- /package/.sinapse-ai/development/agents/{qa → quality-gate}/MEMORY.md +0 -0
- /package/.sinapse-ai/development/agents/{sm → sprint-lead}/MEMORY.md +0 -0
|
@@ -1,796 +0,0 @@
|
|
|
1
|
-
<!-- 翻译:zh-CN 原文:/docs/framework/tech-stack.md 最后同步:2026-02-22 -->
|
|
2
|
-
|
|
3
|
-
# SINAPSE 技术栈
|
|
4
|
-
|
|
5
|
-
> [EN](../../framework/tech-stack.md) | [PT](../../pt/framework/tech-stack.md) | [ES](../../es/framework/tech-stack.md) | **ZH**
|
|
6
|
-
|
|
7
|
-
**版本:** 1.1
|
|
8
|
-
**最后更新:** 2025-12-14
|
|
9
|
-
**状态:** 官方框架标准
|
|
10
|
-
**迁移通知:** 本文档将于2026年第二季度迁移到 `SinapseAI/sinapse-ai` 仓库(参见 Decision 005)
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## 目录
|
|
15
|
-
|
|
16
|
-
- [概述](#概述)
|
|
17
|
-
- [核心运行时](#核心运行时)
|
|
18
|
-
- [语言与转译器](#语言与转译器)
|
|
19
|
-
- [核心依赖](#核心依赖)
|
|
20
|
-
- [开发工具](#开发工具)
|
|
21
|
-
- [测试框架](#测试框架)
|
|
22
|
-
- [构建与部署](#构建与部署)
|
|
23
|
-
- [外部集成](#外部集成)
|
|
24
|
-
- [未来技术栈(迁移后)](#未来技术栈迁移后)
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
## 概述
|
|
29
|
-
|
|
30
|
-
SINAPSE 基于现代 JavaScript/TypeScript 和 Node.js 运行时构建,针对跨平台 CLI 开发进行了优化,具有交互式用户体验和代理编排能力。
|
|
31
|
-
|
|
32
|
-
**理念:**
|
|
33
|
-
|
|
34
|
-
- 尽可能选择**成熟技术**(经过验证的稳定依赖)
|
|
35
|
-
- 仅在必要时选择**新兴技术**(性能、开发体验改进)
|
|
36
|
-
- 最小化依赖(降低供应链风险)
|
|
37
|
-
- 跨平台优先(Windows、macOS、Linux)
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
## 核心运行时
|
|
42
|
-
|
|
43
|
-
### Node.js
|
|
44
|
-
|
|
45
|
-
```yaml
|
|
46
|
-
Version: 18.0.0+
|
|
47
|
-
LTS: Yes (Active LTS until April 2025)
|
|
48
|
-
Reason: Stable async/await, fetch API, ES2022 support
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
**为什么选择 Node.js 18+:**
|
|
52
|
-
|
|
53
|
-
- 原生 `fetch()` API(无需 axios/node-fetch)
|
|
54
|
-
- ES2022 模块支持(顶层 await)
|
|
55
|
-
- V8 10.2+(性能改进)
|
|
56
|
-
- 活跃的 LTS 支持(安全补丁)
|
|
57
|
-
- 跨平台(Windows/macOS/Linux)
|
|
58
|
-
|
|
59
|
-
**包管理器:**
|
|
60
|
-
|
|
61
|
-
```yaml
|
|
62
|
-
Primary: npm 9.0.0+
|
|
63
|
-
Alternative: yarn/pnpm (user choice)
|
|
64
|
-
Lock File: package-lock.json
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
---
|
|
68
|
-
|
|
69
|
-
## 语言与转译器
|
|
70
|
-
|
|
71
|
-
### JavaScript(主要)
|
|
72
|
-
|
|
73
|
-
```yaml
|
|
74
|
-
Standard: ES2022
|
|
75
|
-
Module System: CommonJS (require/module.exports)
|
|
76
|
-
Future: ESM migration planned (Story 6.2.x)
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
**为什么选择 ES2022:**
|
|
80
|
-
|
|
81
|
-
- 类字段和私有方法
|
|
82
|
-
- 顶层 await
|
|
83
|
-
- 错误原因
|
|
84
|
-
- Array.at() 方法
|
|
85
|
-
- Object.hasOwn()
|
|
86
|
-
|
|
87
|
-
### TypeScript(类型定义)
|
|
88
|
-
|
|
89
|
-
```yaml
|
|
90
|
-
Version: 5.9.3
|
|
91
|
-
Usage: Type definitions only (.d.ts files)
|
|
92
|
-
Compilation: Not used (pure JS runtime)
|
|
93
|
-
Future: Full TypeScript migration considered for Q2 2026
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
**当前 TypeScript 用法:**
|
|
97
|
-
|
|
98
|
-
```typescript
|
|
99
|
-
// index.d.ts - 公共 API 的类型定义
|
|
100
|
-
export interface AgentConfig {
|
|
101
|
-
id: string;
|
|
102
|
-
name: string;
|
|
103
|
-
enabled: boolean;
|
|
104
|
-
dependencies?: string[];
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
export function executeAgent(agentId: string, args: Record<string, any>): Promise<any>;
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
**TypeScript 配置:**
|
|
111
|
-
|
|
112
|
-
```json
|
|
113
|
-
{
|
|
114
|
-
"compilerOptions": {
|
|
115
|
-
"target": "ES2022",
|
|
116
|
-
"module": "commonjs",
|
|
117
|
-
"lib": ["ES2022"],
|
|
118
|
-
"strict": true,
|
|
119
|
-
"esModuleInterop": true,
|
|
120
|
-
"skipLibCheck": true,
|
|
121
|
-
"declaration": true,
|
|
122
|
-
"outDir": "./dist"
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
---
|
|
128
|
-
|
|
129
|
-
## 核心依赖
|
|
130
|
-
|
|
131
|
-
### CLI 与交互式用户体验
|
|
132
|
-
|
|
133
|
-
#### @clack/prompts (^0.11.0)
|
|
134
|
-
|
|
135
|
-
**目的:** 具有精美用户体验的现代 CLI 提示
|
|
136
|
-
**用途:** 交互式向导、用户输入收集
|
|
137
|
-
**原因:** 一流的用户体验、加载动画、进度条
|
|
138
|
-
|
|
139
|
-
```javascript
|
|
140
|
-
import { select, confirm, spinner } from '@clack/prompts';
|
|
141
|
-
|
|
142
|
-
const agent = await select({
|
|
143
|
-
message: 'Select agent:',
|
|
144
|
-
options: [
|
|
145
|
-
{ value: 'dev', label: '💻 Developer' },
|
|
146
|
-
{ value: 'qa', label: '🧪 QA Engineer' },
|
|
147
|
-
],
|
|
148
|
-
});
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
#### chalk (^4.1.2)
|
|
152
|
-
|
|
153
|
-
**目的:** 终端字符串样式
|
|
154
|
-
**用途:** 彩色输出、格式化
|
|
155
|
-
**原因:** 跨平台、零依赖、稳定的 API
|
|
156
|
-
|
|
157
|
-
```javascript
|
|
158
|
-
const chalk = require('chalk');
|
|
159
|
-
console.log(chalk.green('✅ Agent activated successfully'));
|
|
160
|
-
console.log(chalk.red('❌ Task failed'));
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
#### picocolors (^1.1.1)
|
|
164
|
-
|
|
165
|
-
**目的:** 轻量级颜色库(chalk 的更快替代品)
|
|
166
|
-
**用途:** 性能关键的颜色输出
|
|
167
|
-
**原因:** 比 chalk 小14倍,快2倍
|
|
168
|
-
|
|
169
|
-
```javascript
|
|
170
|
-
const pc = require('picocolors');
|
|
171
|
-
console.log(pc.green('✅ Fast output'));
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
#### ora (^5.4.1)
|
|
175
|
-
|
|
176
|
-
**目的:** 终端加载动画
|
|
177
|
-
**用途:** 加载指示器、异步操作
|
|
178
|
-
**原因:** 精美的加载动画、可定制、广泛使用
|
|
179
|
-
|
|
180
|
-
```javascript
|
|
181
|
-
const ora = require('ora');
|
|
182
|
-
const spinner = ora('Loading agent...').start();
|
|
183
|
-
await loadAgent();
|
|
184
|
-
spinner.succeed('Agent loaded');
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
### 文件系统与路径操作
|
|
188
|
-
|
|
189
|
-
#### fs-extra (^11.3.2)
|
|
190
|
-
|
|
191
|
-
**目的:** 增强的文件系统操作
|
|
192
|
-
**用途:** 文件复制、目录创建、JSON 读写
|
|
193
|
-
**原因:** 基于 Promise、比内置 `fs` 提供更多实用工具
|
|
194
|
-
|
|
195
|
-
```javascript
|
|
196
|
-
const fs = require('fs-extra');
|
|
197
|
-
await fs.copy('source', 'dest');
|
|
198
|
-
await fs.ensureDir('path/to/dir');
|
|
199
|
-
await fs.outputJson('config.json', data);
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
#### glob (^11.0.3)
|
|
203
|
-
|
|
204
|
-
**目的:** 文件模式匹配
|
|
205
|
-
**用途:** 按模式查找文件(例如 `*.md`、`**/*.yaml`)
|
|
206
|
-
**原因:** 快速、支持 gitignore 模式
|
|
207
|
-
|
|
208
|
-
```javascript
|
|
209
|
-
const { glob } = require('glob');
|
|
210
|
-
const stories = await glob('docs/stories/**/*.md');
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
### YAML 处理
|
|
214
|
-
|
|
215
|
-
#### yaml (^2.8.1)
|
|
216
|
-
|
|
217
|
-
**目的:** YAML 解析和序列化
|
|
218
|
-
**用途:** 代理配置、工作流、模板
|
|
219
|
-
**原因:** 快速、符合规范、保留注释
|
|
220
|
-
|
|
221
|
-
```javascript
|
|
222
|
-
const YAML = require('yaml');
|
|
223
|
-
const agent = YAML.parse(fs.readFileSync('agent.yaml', 'utf8'));
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
#### js-yaml (^4.1.0)
|
|
227
|
-
|
|
228
|
-
**目的:** 备选 YAML 解析器(遗留支持)
|
|
229
|
-
**用途:** 解析较旧的 YAML 文件
|
|
230
|
-
**原因:** 不同的 API,用于一些遗留代码
|
|
231
|
-
|
|
232
|
-
```javascript
|
|
233
|
-
const yaml = require('js-yaml');
|
|
234
|
-
const doc = yaml.load(fs.readFileSync('config.yaml', 'utf8'));
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
**迁移说明:** 合并为单一 YAML 库(Story 6.2.x)
|
|
238
|
-
|
|
239
|
-
### Markdown 处理
|
|
240
|
-
|
|
241
|
-
#### @kayvan/markdown-tree-parser (^1.5.0)
|
|
242
|
-
|
|
243
|
-
**目的:** 将 markdown 解析为 AST
|
|
244
|
-
**用途:** 故事解析、文档结构分析
|
|
245
|
-
**原因:** 轻量级、快速、支持 GFM
|
|
246
|
-
|
|
247
|
-
```javascript
|
|
248
|
-
const { parseMarkdown } = require('@kayvan/markdown-tree-parser');
|
|
249
|
-
const ast = parseMarkdown(markdownContent);
|
|
250
|
-
```
|
|
251
|
-
|
|
252
|
-
### 进程执行
|
|
253
|
-
|
|
254
|
-
#### execa (^9.6.0)
|
|
255
|
-
|
|
256
|
-
**目的:** 更好的 child_process
|
|
257
|
-
**用途:** 运行 git、npm、外部 CLI 工具
|
|
258
|
-
**原因:** 跨平台、基于 Promise、更好的错误处理
|
|
259
|
-
|
|
260
|
-
```javascript
|
|
261
|
-
const { execa } = require('execa');
|
|
262
|
-
const { stdout } = await execa('git', ['status']);
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
### 命令行解析
|
|
266
|
-
|
|
267
|
-
#### commander (^14.0.1)
|
|
268
|
-
|
|
269
|
-
**目的:** CLI 框架
|
|
270
|
-
**用途:** 解析命令行参数、子命令
|
|
271
|
-
**原因:** 行业标准、功能丰富、TypeScript 支持
|
|
272
|
-
|
|
273
|
-
```javascript
|
|
274
|
-
const { Command } = require('commander');
|
|
275
|
-
const program = new Command();
|
|
276
|
-
|
|
277
|
-
program
|
|
278
|
-
.command('agent <name>')
|
|
279
|
-
.description('Activate an agent')
|
|
280
|
-
.action((name) => {
|
|
281
|
-
console.log(`Activating agent: ${name}`);
|
|
282
|
-
});
|
|
283
|
-
```
|
|
284
|
-
|
|
285
|
-
#### inquirer (^8.2.6)
|
|
286
|
-
|
|
287
|
-
**目的:** 交互式命令行提示
|
|
288
|
-
**用途:** 用户输入收集、向导
|
|
289
|
-
**原因:** 丰富的提示类型、验证支持
|
|
290
|
-
|
|
291
|
-
```javascript
|
|
292
|
-
const inquirer = require('inquirer');
|
|
293
|
-
const answers = await inquirer.prompt([
|
|
294
|
-
{
|
|
295
|
-
type: 'list',
|
|
296
|
-
name: 'agent',
|
|
297
|
-
message: 'Select agent:',
|
|
298
|
-
choices: ['dev', 'qa', 'architect'],
|
|
299
|
-
},
|
|
300
|
-
]);
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
### 沙箱与安全
|
|
304
|
-
|
|
305
|
-
#### isolated-vm (^5.0.4)
|
|
306
|
-
|
|
307
|
-
**目的:** 用于沙箱 JavaScript 执行的 V8 隔离
|
|
308
|
-
**用途:** 安全执行用户脚本、任务执行
|
|
309
|
-
**原因:** 安全隔离、内存限制、超时控制
|
|
310
|
-
|
|
311
|
-
```javascript
|
|
312
|
-
const ivm = require('isolated-vm');
|
|
313
|
-
const isolate = new ivm.Isolate({ memoryLimit: 128 });
|
|
314
|
-
const context = await isolate.createContext();
|
|
315
|
-
```
|
|
316
|
-
|
|
317
|
-
### 验证
|
|
318
|
-
|
|
319
|
-
#### validator (^13.15.15)
|
|
320
|
-
|
|
321
|
-
**目的:** 字符串验证器和清理器
|
|
322
|
-
**用途:** 输入验证(URL、邮箱等)
|
|
323
|
-
**原因:** 全面、经过良好测试、无依赖
|
|
324
|
-
|
|
325
|
-
```javascript
|
|
326
|
-
const validator = require('validator');
|
|
327
|
-
if (validator.isURL(url)) {
|
|
328
|
-
// 有效的 URL
|
|
329
|
-
}
|
|
330
|
-
```
|
|
331
|
-
|
|
332
|
-
#### semver (^7.7.2)
|
|
333
|
-
|
|
334
|
-
**目的:** 语义版本解析和比较
|
|
335
|
-
**用途:** 版本检查、依赖解析
|
|
336
|
-
**原因:** NPM 标准、久经考验
|
|
337
|
-
|
|
338
|
-
```javascript
|
|
339
|
-
const semver = require('semver');
|
|
340
|
-
if (semver.satisfies('1.2.3', '>=1.0.0')) {
|
|
341
|
-
// 版本兼容
|
|
342
|
-
}
|
|
343
|
-
```
|
|
344
|
-
|
|
345
|
-
---
|
|
346
|
-
|
|
347
|
-
## 开发工具
|
|
348
|
-
|
|
349
|
-
### 代码检查
|
|
350
|
-
|
|
351
|
-
#### ESLint (^9.38.0)
|
|
352
|
-
|
|
353
|
-
**目的:** JavaScript/TypeScript 代码检查器
|
|
354
|
-
**配置:** `.eslintrc.json`
|
|
355
|
-
**插件:**
|
|
356
|
-
|
|
357
|
-
- `@typescript-eslint/eslint-plugin` (^8.46.2)
|
|
358
|
-
- `@typescript-eslint/parser` (^8.46.2)
|
|
359
|
-
|
|
360
|
-
**关键规则:**
|
|
361
|
-
|
|
362
|
-
```javascript
|
|
363
|
-
{
|
|
364
|
-
"rules": {
|
|
365
|
-
"no-console": "off", // 允许 CLI 中的 console
|
|
366
|
-
"no-unused-vars": "error",
|
|
367
|
-
"prefer-const": "error",
|
|
368
|
-
"no-var": "error",
|
|
369
|
-
"eqeqeq": ["error", "always"]
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
```
|
|
373
|
-
|
|
374
|
-
### 格式化
|
|
375
|
-
|
|
376
|
-
#### Prettier (^3.5.3)
|
|
377
|
-
|
|
378
|
-
**目的:** 代码格式化器
|
|
379
|
-
**配置:** `.prettierrc`
|
|
380
|
-
|
|
381
|
-
```json
|
|
382
|
-
{
|
|
383
|
-
"printWidth": 100,
|
|
384
|
-
"tabWidth": 2,
|
|
385
|
-
"useTabs": false,
|
|
386
|
-
"semi": true,
|
|
387
|
-
"singleQuote": true,
|
|
388
|
-
"trailingComma": "es5"
|
|
389
|
-
}
|
|
390
|
-
```
|
|
391
|
-
|
|
392
|
-
#### yaml-lint (^1.7.0)
|
|
393
|
-
|
|
394
|
-
**目的:** YAML 文件检查器
|
|
395
|
-
**用途:** 验证代理配置、工作流、模板
|
|
396
|
-
|
|
397
|
-
### Git 钩子
|
|
398
|
-
|
|
399
|
-
#### husky (^9.1.7)
|
|
400
|
-
|
|
401
|
-
**目的:** Git 钩子管理
|
|
402
|
-
**用途:** Pre-commit 代码检查、pre-push 测试
|
|
403
|
-
|
|
404
|
-
```json
|
|
405
|
-
{
|
|
406
|
-
"husky": {
|
|
407
|
-
"hooks": {
|
|
408
|
-
"pre-commit": "lint-staged",
|
|
409
|
-
"pre-push": "npm test"
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
```
|
|
414
|
-
|
|
415
|
-
#### lint-staged (^16.1.1)
|
|
416
|
-
|
|
417
|
-
**目的:** 对暂存文件运行代码检查器
|
|
418
|
-
**配置:**
|
|
419
|
-
|
|
420
|
-
```json
|
|
421
|
-
{
|
|
422
|
-
"lint-staged": {
|
|
423
|
-
"**/*.md": ["prettier --write"],
|
|
424
|
-
"**/*.{js,ts}": ["eslint --fix", "prettier --write"]
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
```
|
|
428
|
-
|
|
429
|
-
---
|
|
430
|
-
|
|
431
|
-
## 测试框架
|
|
432
|
-
|
|
433
|
-
### Jest (^30.2.0)
|
|
434
|
-
|
|
435
|
-
**目的:** 测试框架
|
|
436
|
-
**用途:** 单元测试、集成测试、覆盖率
|
|
437
|
-
|
|
438
|
-
```javascript
|
|
439
|
-
// 示例测试
|
|
440
|
-
describe('AgentExecutor', () => {
|
|
441
|
-
it('should load agent configuration', async () => {
|
|
442
|
-
const agent = await loadAgent('dev');
|
|
443
|
-
expect(agent.name).toBe('developer');
|
|
444
|
-
});
|
|
445
|
-
});
|
|
446
|
-
```
|
|
447
|
-
|
|
448
|
-
**配置:**
|
|
449
|
-
|
|
450
|
-
```json
|
|
451
|
-
{
|
|
452
|
-
"jest": {
|
|
453
|
-
"testEnvironment": "node",
|
|
454
|
-
"coverageThreshold": {
|
|
455
|
-
"global": {
|
|
456
|
-
"branches": 80,
|
|
457
|
-
"functions": 80,
|
|
458
|
-
"lines": 80,
|
|
459
|
-
"statements": 80
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
```
|
|
465
|
-
|
|
466
|
-
#### @types/jest (^30.0.0)
|
|
467
|
-
|
|
468
|
-
**目的:** Jest 的 TypeScript 类型定义
|
|
469
|
-
**用途:** 类型安全的测试编写
|
|
470
|
-
|
|
471
|
-
---
|
|
472
|
-
|
|
473
|
-
## 构建与部署
|
|
474
|
-
|
|
475
|
-
### 版本管理与发布
|
|
476
|
-
|
|
477
|
-
#### semantic-release (^25.0.2)
|
|
478
|
-
|
|
479
|
-
**目的:** 自动化语义版本管理和发布
|
|
480
|
-
**用途:** 自动 NPM 发布、变更日志生成
|
|
481
|
-
|
|
482
|
-
**插件:**
|
|
483
|
-
|
|
484
|
-
- `@semantic-release/changelog` (^6.0.3) - 生成 CHANGELOG.md
|
|
485
|
-
- `@semantic-release/git` (^10.0.1) - 提交发布资产
|
|
486
|
-
|
|
487
|
-
```json
|
|
488
|
-
{
|
|
489
|
-
"release": {
|
|
490
|
-
"branches": ["main"],
|
|
491
|
-
"plugins": [
|
|
492
|
-
"@semantic-release/commit-analyzer",
|
|
493
|
-
"@semantic-release/release-notes-generator",
|
|
494
|
-
"@semantic-release/changelog",
|
|
495
|
-
"@semantic-release/npm",
|
|
496
|
-
"@semantic-release/git"
|
|
497
|
-
]
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
```
|
|
501
|
-
|
|
502
|
-
### 构建脚本
|
|
503
|
-
|
|
504
|
-
```bash
|
|
505
|
-
# 包构建
|
|
506
|
-
npm run build # 构建所有包
|
|
507
|
-
npm run build:agents # 仅构建代理
|
|
508
|
-
npm run build:teams # 仅构建团队
|
|
509
|
-
|
|
510
|
-
# 版本管理
|
|
511
|
-
npm run version:patch # 提升补丁版本
|
|
512
|
-
npm run version:minor # 提升次版本
|
|
513
|
-
npm run version:major # 提升主版本
|
|
514
|
-
|
|
515
|
-
# 发布
|
|
516
|
-
npm run publish:dry-run # 测试发布
|
|
517
|
-
npm run publish:preview # 发布预览标签
|
|
518
|
-
npm run publish:stable # 发布最新标签
|
|
519
|
-
```
|
|
520
|
-
|
|
521
|
-
---
|
|
522
|
-
|
|
523
|
-
## 外部集成
|
|
524
|
-
|
|
525
|
-
### MCP 服务器
|
|
526
|
-
|
|
527
|
-
SINAPSE 与 Model Context Protocol (MCP) 服务器集成:
|
|
528
|
-
|
|
529
|
-
```yaml
|
|
530
|
-
MCP Servers:
|
|
531
|
-
- clickup-direct: ClickUp integration (task management)
|
|
532
|
-
- context7: Documentation lookup
|
|
533
|
-
- exa-direct: Web search
|
|
534
|
-
- desktop-commander: File operations
|
|
535
|
-
- docker-mcp: Docker management
|
|
536
|
-
- ide: VS Code/Cursor integration
|
|
537
|
-
```
|
|
538
|
-
|
|
539
|
-
**配置:** `.claude.json` 或 `.cursor/settings.json`
|
|
540
|
-
|
|
541
|
-
### CLI 工具
|
|
542
|
-
|
|
543
|
-
代理使用的外部 CLI 工具:
|
|
544
|
-
|
|
545
|
-
```yaml
|
|
546
|
-
GitHub CLI (gh):
|
|
547
|
-
Version: 2.x+
|
|
548
|
-
Usage: Repository management, PR creation
|
|
549
|
-
Install: https://cli.github.com
|
|
550
|
-
|
|
551
|
-
Railway CLI (railway):
|
|
552
|
-
Version: 3.x+
|
|
553
|
-
Usage: Deployment automation
|
|
554
|
-
Install: npm i -g @railway/cli
|
|
555
|
-
|
|
556
|
-
Supabase CLI (supabase):
|
|
557
|
-
Version: 1.x+
|
|
558
|
-
Usage: Database migrations, schema management
|
|
559
|
-
Install: npm i -g supabase
|
|
560
|
-
|
|
561
|
-
Git:
|
|
562
|
-
Version: 2.30+
|
|
563
|
-
Usage: Version control
|
|
564
|
-
Required: Yes
|
|
565
|
-
```
|
|
566
|
-
|
|
567
|
-
### 云服务
|
|
568
|
-
|
|
569
|
-
```yaml
|
|
570
|
-
Railway:
|
|
571
|
-
Purpose: Application deployment
|
|
572
|
-
API: Railway CLI
|
|
573
|
-
|
|
574
|
-
Supabase:
|
|
575
|
-
Purpose: PostgreSQL database + Auth
|
|
576
|
-
API: Supabase CLI + REST API
|
|
577
|
-
|
|
578
|
-
GitHub:
|
|
579
|
-
Purpose: Repository hosting, CI/CD
|
|
580
|
-
API: GitHub CLI (gh) + Octokit
|
|
581
|
-
|
|
582
|
-
CodeRabbit:
|
|
583
|
-
Purpose: Automated code review
|
|
584
|
-
API: GitHub App integration
|
|
585
|
-
```
|
|
586
|
-
|
|
587
|
-
---
|
|
588
|
-
|
|
589
|
-
## 未来技术栈(迁移后)
|
|
590
|
-
|
|
591
|
-
**计划于2026年第二至四季度**(仓库重组后):
|
|
592
|
-
|
|
593
|
-
### ESM 迁移
|
|
594
|
-
|
|
595
|
-
```javascript
|
|
596
|
-
// 当前: CommonJS
|
|
597
|
-
const agent = require('./agent');
|
|
598
|
-
module.exports = { executeAgent };
|
|
599
|
-
|
|
600
|
-
// 未来: ES Modules
|
|
601
|
-
import { agent } from './agent.js';
|
|
602
|
-
export { executeAgent };
|
|
603
|
-
```
|
|
604
|
-
|
|
605
|
-
### 完整 TypeScript
|
|
606
|
-
|
|
607
|
-
```typescript
|
|
608
|
-
// 从 JS + .d.ts 迁移到完整 TypeScript
|
|
609
|
-
// 好处: 类型安全、更好的重构、改进的开发体验
|
|
610
|
-
```
|
|
611
|
-
|
|
612
|
-
### 构建工具
|
|
613
|
-
|
|
614
|
-
```yaml
|
|
615
|
-
Bundler: esbuild or tsup
|
|
616
|
-
Reason: Fast builds, tree-shaking, minification
|
|
617
|
-
Target: Single executable CLI (optional)
|
|
618
|
-
```
|
|
619
|
-
|
|
620
|
-
### 测试改进
|
|
621
|
-
|
|
622
|
-
```yaml
|
|
623
|
-
E2E Testing: Playwright (browser automation tests)
|
|
624
|
-
Performance Testing: Benchmark.js (workflow timing)
|
|
625
|
-
```
|
|
626
|
-
|
|
627
|
-
---
|
|
628
|
-
|
|
629
|
-
## 依赖管理
|
|
630
|
-
|
|
631
|
-
### 安全审计
|
|
632
|
-
|
|
633
|
-
```bash
|
|
634
|
-
# 运行安全审计
|
|
635
|
-
npm audit
|
|
636
|
-
|
|
637
|
-
# 自动修复漏洞
|
|
638
|
-
npm audit fix
|
|
639
|
-
|
|
640
|
-
# 检查过时的包
|
|
641
|
-
npm outdated
|
|
642
|
-
```
|
|
643
|
-
|
|
644
|
-
### 更新策略
|
|
645
|
-
|
|
646
|
-
```yaml
|
|
647
|
-
Major Updates: Quarterly review (Q1, Q2, Q3, Q4)
|
|
648
|
-
Security Patches: Immediate (within 48 hours)
|
|
649
|
-
Minor Updates: Monthly review
|
|
650
|
-
Dependency Reduction: Ongoing effort
|
|
651
|
-
```
|
|
652
|
-
|
|
653
|
-
### 依赖树
|
|
654
|
-
|
|
655
|
-
```bash
|
|
656
|
-
# 查看依赖树
|
|
657
|
-
npm ls --depth=2
|
|
658
|
-
|
|
659
|
-
# 查找重复包
|
|
660
|
-
npm dedupe
|
|
661
|
-
|
|
662
|
-
# 分析包大小
|
|
663
|
-
npx cost-of-modules
|
|
664
|
-
```
|
|
665
|
-
|
|
666
|
-
---
|
|
667
|
-
|
|
668
|
-
## 版本兼容性矩阵
|
|
669
|
-
|
|
670
|
-
| 组件 | 版本 | 兼容性 | 说明 |
|
|
671
|
-
| ---- | ---- | ------ | ---- |
|
|
672
|
-
| **Node.js** | 18.0.0+ | 必需 | Active LTS |
|
|
673
|
-
| **npm** | 9.0.0+ | 必需 | 包管理器 |
|
|
674
|
-
| **TypeScript** | 5.9.3 | 推荐 | 类型定义 |
|
|
675
|
-
| **ESLint** | 9.38.0 | 必需 | 代码检查 |
|
|
676
|
-
| **Prettier** | 3.5.3 | 必需 | 格式化 |
|
|
677
|
-
| **Jest** | 30.2.0 | 必需 | 测试 |
|
|
678
|
-
| **Git** | 2.30+ | 必需 | 版本控制 |
|
|
679
|
-
| **GitHub CLI** | 2.x+ | 可选 | 仓库管理 |
|
|
680
|
-
| **Railway CLI** | 3.x+ | 可选 | 部署 |
|
|
681
|
-
| **Supabase CLI** | 1.x+ | 可选 | 数据库管理 |
|
|
682
|
-
|
|
683
|
-
---
|
|
684
|
-
|
|
685
|
-
## 性能考虑
|
|
686
|
-
|
|
687
|
-
### 包大小
|
|
688
|
-
|
|
689
|
-
```bash
|
|
690
|
-
# 生产包大小(压缩后)
|
|
691
|
-
Total: ~5MB (includes all dependencies)
|
|
692
|
-
|
|
693
|
-
# 关键依赖(始终加载):
|
|
694
|
-
- commander: 120KB
|
|
695
|
-
- chalk: 15KB
|
|
696
|
-
- yaml: 85KB
|
|
697
|
-
- fs-extra: 45KB
|
|
698
|
-
|
|
699
|
-
# 可选依赖(延迟加载):
|
|
700
|
-
- inquirer: 650KB (interactive mode only)
|
|
701
|
-
- @clack/prompts: 180KB (wizard mode only)
|
|
702
|
-
```
|
|
703
|
-
|
|
704
|
-
### 启动时间
|
|
705
|
-
|
|
706
|
-
```yaml
|
|
707
|
-
Cold Start: ~200ms (initial load)
|
|
708
|
-
Warm Start: ~50ms (cached modules)
|
|
709
|
-
Yolo Mode: ~100ms (skip validation)
|
|
710
|
-
|
|
711
|
-
Optimization Strategy:
|
|
712
|
-
- Lazy load heavy dependencies
|
|
713
|
-
- Cache parsed YAML configs
|
|
714
|
-
- Use require() conditionally
|
|
715
|
-
```
|
|
716
|
-
|
|
717
|
-
### 内存使用
|
|
718
|
-
|
|
719
|
-
```yaml
|
|
720
|
-
Baseline: 30MB (Node.js + SINAPSE core)
|
|
721
|
-
Agent Execution: +10MB (per agent)
|
|
722
|
-
Story Processing: +20MB (markdown parsing)
|
|
723
|
-
Peak: ~100MB (typical workflow)
|
|
724
|
-
```
|
|
725
|
-
|
|
726
|
-
---
|
|
727
|
-
|
|
728
|
-
## 平台特定说明
|
|
729
|
-
|
|
730
|
-
### Windows
|
|
731
|
-
|
|
732
|
-
```yaml
|
|
733
|
-
Path Separators: Backslash (\) - normalized to forward slash (/)
|
|
734
|
-
Line Endings: CRLF - Git configured for auto conversion
|
|
735
|
-
Shell: PowerShell or CMD - execa handles cross-platform
|
|
736
|
-
Node.js: Windows installer from nodejs.org
|
|
737
|
-
```
|
|
738
|
-
|
|
739
|
-
### macOS
|
|
740
|
-
|
|
741
|
-
```yaml
|
|
742
|
-
Path Separators: Forward slash (/)
|
|
743
|
-
Line Endings: LF
|
|
744
|
-
Shell: zsh (default) or bash
|
|
745
|
-
Node.js: Homebrew (brew install node@18) or nvm
|
|
746
|
-
```
|
|
747
|
-
|
|
748
|
-
### Linux
|
|
749
|
-
|
|
750
|
-
```yaml
|
|
751
|
-
Path Separators: Forward slash (/)
|
|
752
|
-
Line Endings: LF
|
|
753
|
-
Shell: bash (default) or zsh
|
|
754
|
-
Node.js: nvm, apt, yum, or official binaries
|
|
755
|
-
```
|
|
756
|
-
|
|
757
|
-
---
|
|
758
|
-
|
|
759
|
-
## 环境变量
|
|
760
|
-
|
|
761
|
-
```bash
|
|
762
|
-
# SINAPSE 配置
|
|
763
|
-
SINAPSE_DEBUG=true # 启用调试日志
|
|
764
|
-
SINAPSE_CONFIG_PATH=/custom/path # 自定义配置位置
|
|
765
|
-
SINAPSE_YOLO_MODE=true # 强制 yolo 模式
|
|
766
|
-
|
|
767
|
-
# Node.js
|
|
768
|
-
NODE_ENV=production # 生产模式
|
|
769
|
-
NODE_OPTIONS=--max-old-space-size=4096 # 增加内存限制
|
|
770
|
-
|
|
771
|
-
# 外部服务
|
|
772
|
-
CLICKUP_API_KEY=pk_xxx # ClickUp 集成
|
|
773
|
-
GITHUB_TOKEN=ghp_xxx # GitHub API 访问
|
|
774
|
-
RAILWAY_TOKEN=xxx # Railway 部署
|
|
775
|
-
SUPABASE_ACCESS_TOKEN=xxx # Supabase CLI 认证
|
|
776
|
-
```
|
|
777
|
-
|
|
778
|
-
---
|
|
779
|
-
|
|
780
|
-
## 相关文档
|
|
781
|
-
|
|
782
|
-
- [编码标准](./coding-standards.md)
|
|
783
|
-
- [源代码树](./source-tree.md)
|
|
784
|
-
|
|
785
|
-
---
|
|
786
|
-
|
|
787
|
-
## 版本历史
|
|
788
|
-
|
|
789
|
-
| 版本 | 日期 | 变更 | 作者 |
|
|
790
|
-
| ---- | ---- | ---- | ---- |
|
|
791
|
-
| 1.0 | 2025-01-15 | 初始技术栈文档 | Aria (architect) |
|
|
792
|
-
| 1.1 | 2025-12-14 | 更新迁移通知至 SinapseAI/sinapse-ai,semantic-release 至 v25.0.2 [Story 6.10] | Dex (dev) |
|
|
793
|
-
|
|
794
|
-
---
|
|
795
|
-
|
|
796
|
-
_这是官方 SINAPSE 框架标准。所有技术选型必须与此技术栈保持一致。_
|