sinapse-ai 5.0.8 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.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 +2154 -2337
- 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 +13 -11
- 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} +18 -18
- 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,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Internationalization (i18n) for SINAPSE Wizard
|
|
3
3
|
*
|
|
4
|
-
* Supports:
|
|
4
|
+
* Supports: Portuguese (default), English (fallback)
|
|
5
5
|
*
|
|
6
6
|
* @module wizard/i18n
|
|
7
7
|
*/
|
|
@@ -12,13 +12,13 @@ const TRANSLATIONS = {
|
|
|
12
12
|
selectLanguage: 'Select language:',
|
|
13
13
|
|
|
14
14
|
// User Profile (Story 10.2 - Epic 10: User Profile System)
|
|
15
|
-
userProfileQuestion: '
|
|
16
|
-
modoAssistido: '
|
|
17
|
-
modoAssistidoDesc:
|
|
18
|
-
modoAssistidoHint: '
|
|
19
|
-
modoAvancado: '
|
|
20
|
-
modoAvancadoDesc: '
|
|
21
|
-
modoAvancadoHint: '
|
|
15
|
+
userProfileQuestion: 'How would you like to set up SINAPSE?',
|
|
16
|
+
modoAssistido: 'Quick Mode',
|
|
17
|
+
modoAssistidoDesc: 'Automatic setup, zero technical decisions',
|
|
18
|
+
modoAssistidoHint: 'Best for most users — installs everything automatically',
|
|
19
|
+
modoAvancado: 'Custom Mode',
|
|
20
|
+
modoAvancadoDesc: 'Choose tech stack, IDEs, and configurations',
|
|
21
|
+
modoAvancadoHint: 'For developers who want full control',
|
|
22
22
|
userProfileSkipped: 'Using existing user profile',
|
|
23
23
|
languageSkipped: 'Using existing language',
|
|
24
24
|
|
|
@@ -52,9 +52,9 @@ const TRANSLATIONS = {
|
|
|
52
52
|
readyToUse: 'Your SINAPSE project is ready.',
|
|
53
53
|
nextSteps: 'Next steps:',
|
|
54
54
|
quickStart: 'Quick Start:',
|
|
55
|
-
quickStartAgents: 'Talk to your AI agents: @
|
|
56
|
-
quickStartStory: 'Create a story: @
|
|
57
|
-
quickStartHelp: 'Get help: @sinapse-
|
|
55
|
+
quickStartAgents: 'Talk to your AI agents: @developer, @quality-gate, @architect',
|
|
56
|
+
quickStartStory: 'Create a story: @project-lead *create-story',
|
|
57
|
+
quickStartHelp: 'Get help: @sinapse-orqx *help',
|
|
58
58
|
|
|
59
59
|
// Cancellation
|
|
60
60
|
cancelConfirm: 'Cancel installation?',
|
|
@@ -169,14 +169,13 @@ const TRANSLATIONS = {
|
|
|
169
169
|
selectLanguage: 'Selecione o idioma:',
|
|
170
170
|
|
|
171
171
|
// User Profile (Story 10.2 - Epic 10: User Profile System)
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
modoAvancadoHint: 'Você tem acesso direto a todos os agentes',
|
|
172
|
+
userProfileQuestion: 'Como voce gostaria de configurar o SINAPSE?',
|
|
173
|
+
modoAssistido: 'Modo Rapido',
|
|
174
|
+
modoAssistidoDesc: 'Configuracao automatica, zero decisoes tecnicas',
|
|
175
|
+
modoAssistidoHint: 'Melhor para a maioria — instala tudo automaticamente',
|
|
176
|
+
modoAvancado: 'Modo Personalizado',
|
|
177
|
+
modoAvancadoDesc: 'Escolha tech stack, IDEs e configuracoes',
|
|
178
|
+
modoAvancadoHint: 'Para desenvolvedores que querem controle total',
|
|
180
179
|
userProfileSkipped: 'Usando perfil de usuário existente',
|
|
181
180
|
languageSkipped: 'Usando idioma existente',
|
|
182
181
|
|
|
@@ -210,9 +209,9 @@ const TRANSLATIONS = {
|
|
|
210
209
|
readyToUse: 'Seu projeto SINAPSE está pronto.',
|
|
211
210
|
nextSteps: 'Próximos passos:',
|
|
212
211
|
quickStart: 'Início Rápido:',
|
|
213
|
-
quickStartAgents: 'Converse com seus agentes IA: @
|
|
214
|
-
quickStartStory: 'Crie uma story: @
|
|
215
|
-
quickStartHelp: 'Obtenha ajuda: @sinapse-
|
|
212
|
+
quickStartAgents: 'Converse com seus agentes IA: @developer, @quality-gate, @architect',
|
|
213
|
+
quickStartStory: 'Crie uma story: @project-lead *create-story',
|
|
214
|
+
quickStartHelp: 'Obtenha ajuda: @sinapse-orqx *help',
|
|
216
215
|
|
|
217
216
|
// Cancellation
|
|
218
217
|
cancelConfirm: 'Cancelar instalação?',
|
|
@@ -322,166 +321,11 @@ const TRANSLATIONS = {
|
|
|
322
321
|
proNpmInstallFailed: 'npm install @sinapse-fullstack/pro falhou: {message}. Tente manualmente: npm install @sinapse-fullstack/pro',
|
|
323
322
|
},
|
|
324
323
|
|
|
325
|
-
es:
|
|
326
|
-
// Language selection
|
|
327
|
-
selectLanguage: 'Seleccione idioma:',
|
|
328
|
-
|
|
329
|
-
// User Profile (Story 10.2 - Epic 10: User Profile System)
|
|
330
|
-
userProfileQuestion: 'Cuando una IA genera código para ti, ¿cuál de estas opciones te describe mejor?',
|
|
331
|
-
modoAssistido: 'Modo Asistido',
|
|
332
|
-
modoAssistidoDesc: 'No sé evaluar si el código está bien o mal',
|
|
333
|
-
modoAssistidoHint: 'Hablas con Bob, que se encarga de toda la validación',
|
|
334
|
-
modoAvancado: 'Modo Avanzado',
|
|
335
|
-
modoAvancadoDesc: 'Puedo identificar cuando algo está mal y corregirlo',
|
|
336
|
-
modoAvancadoHint: 'Tienes acceso directo a todos los agentes',
|
|
337
|
-
userProfileSkipped: 'Usando perfil de usuario existente',
|
|
338
|
-
languageSkipped: 'Usando idioma existente',
|
|
339
|
-
|
|
340
|
-
// Project type
|
|
341
|
-
projectTypeQuestion: '¿Qué tipo de proyecto estás configurando?',
|
|
342
|
-
greenfield: 'Greenfield',
|
|
343
|
-
greenfieldDesc: 'proyecto nuevo desde cero',
|
|
344
|
-
brownfield: 'Brownfield',
|
|
345
|
-
brownfieldDesc: 'proyecto existente',
|
|
346
|
-
|
|
347
|
-
// IDE selection
|
|
348
|
-
ideQuestion: 'Seleccione IDE(s):',
|
|
349
|
-
ideHint: 'Espacio para seleccionar, Enter para confirmar',
|
|
350
|
-
recommended: 'Recomendado',
|
|
351
|
-
|
|
352
|
-
// Progress messages
|
|
353
|
-
installingCore: 'Instalando SINAPSE core...',
|
|
354
|
-
installingIDE: 'Configurando IDEs...',
|
|
355
|
-
installingDeps: 'Instalando dependencias...',
|
|
356
|
-
configuringEnv: 'Configurando ambiente...',
|
|
357
|
-
validating: 'Validando instalación...',
|
|
358
|
-
|
|
359
|
-
// Status
|
|
360
|
-
success: 'Éxito',
|
|
361
|
-
error: 'Error',
|
|
362
|
-
warning: 'Advertencia',
|
|
363
|
-
skipped: 'Omitido',
|
|
364
|
-
|
|
365
|
-
// Completion
|
|
366
|
-
installComplete: '¡Instalación Completa!',
|
|
367
|
-
readyToUse: 'Tu proyecto SINAPSE está listo.',
|
|
368
|
-
nextSteps: 'Próximos pasos:',
|
|
369
|
-
quickStart: 'Inicio Rápido:',
|
|
370
|
-
quickStartAgents: 'Habla con tus agentes IA: @dev, @qa, @architect',
|
|
371
|
-
quickStartStory: 'Crea una story: @pm *create-story',
|
|
372
|
-
quickStartHelp: 'Obtén ayuda: @sinapse-master *help',
|
|
373
|
-
|
|
374
|
-
// Cancellation
|
|
375
|
-
cancelConfirm: '¿Cancelar instalación?',
|
|
376
|
-
cancelled: 'Instalación cancelada.',
|
|
377
|
-
tryAgain: 'Ejecute `npx sinapse-ai init` para intentar nuevamente.',
|
|
378
|
-
continuing: 'Continuando instalación...',
|
|
379
|
-
|
|
380
|
-
// Pro Installation Wizard (pro-setup.js)
|
|
381
|
-
proWizardTitle: 'Asistente de Instalación SINAPSE Pro',
|
|
382
|
-
proWizardSubtitle: 'Contenido y Funciones Premium',
|
|
383
|
-
proLicenseActivation: 'Activación de Licencia',
|
|
384
|
-
proContentInstallation: 'Instalación del Contenido Pro',
|
|
385
|
-
proVerification: 'Verificación',
|
|
386
|
-
proHowActivate: '¿Cómo te gustaría activar Pro?',
|
|
387
|
-
proLoginOrCreate: 'Iniciar sesión o crear cuenta (Recomendado)',
|
|
388
|
-
proEnterKey: 'Ingresar clave de licencia (legado)',
|
|
389
|
-
proEmailLabel: 'Email:',
|
|
390
|
-
proEmailRequired: 'Email es obligatorio',
|
|
391
|
-
proEmailInvalid: 'Por favor, ingrese una dirección de email válida',
|
|
392
|
-
proVerifyingAccess: 'Verificando tu acceso...',
|
|
393
|
-
proNoAccess: 'No se encontró acceso SINAPSE Pro para este email.',
|
|
394
|
-
proContactSupport: 'Si cree que esto es un error, contacte al soporte:',
|
|
395
|
-
proPurchase: 'Comprar Pro: https://pro.sinapse.ai',
|
|
396
|
-
proEmailNotBuyer: 'Email no encontrado en la lista de compradores Pro.',
|
|
397
|
-
proAccessConfirmedAccount: '¡Acceso Pro confirmado! Cuenta encontrada.',
|
|
398
|
-
proAccessConfirmedCreate: '¡Acceso Pro confirmado! Vamos a crear tu cuenta.',
|
|
399
|
-
proPasswordLabel: 'Contraseña:',
|
|
400
|
-
proPasswordMin: 'La contraseña debe tener al menos {min} caracteres',
|
|
401
|
-
proAuthenticating: 'Autenticando...',
|
|
402
|
-
proAuthSuccess: 'Autenticado exitosamente.',
|
|
403
|
-
proEmailNotVerified: 'Email aún no verificado. Revise su bandeja de entrada y haga clic en el enlace de verificación.',
|
|
404
|
-
proCheckingEvery: '(Verificando cada 5 segundos... tiempo límite de 10 minutos)',
|
|
405
|
-
proEmailVerified: '¡Email verificado!',
|
|
406
|
-
proVerificationTimeout: 'Verificación de email expiró después de 10 minutos.',
|
|
407
|
-
proRunAgain: 'Ejecute el instalador nuevamente para reintentar.',
|
|
408
|
-
proIncorrectPassword: 'Contraseña incorrecta. {remaining} intento(s) restante(s).',
|
|
409
|
-
proMaxAttempts: 'Número máximo de intentos de inicio de sesión alcanzado.',
|
|
410
|
-
proForgotPassword: '¿Olvidó su contraseña? Visite https://sinapse-license-server.vercel.app/reset-password',
|
|
411
|
-
proContactSupportEmail: 'O abra un issue: https://github.com/SinapseAI/sinapse-ai/issues',
|
|
412
|
-
proAuthFailed: 'Error de autenticación: {message}',
|
|
413
|
-
proCreateAccount: 'Cree su cuenta SINAPSE Pro para comenzar.',
|
|
414
|
-
proChoosePassword: 'Elija una contraseña:',
|
|
415
|
-
proConfirmPassword: 'Confirme la contraseña:',
|
|
416
|
-
proPasswordsNoMatch: 'Las contraseñas no coinciden',
|
|
417
|
-
proCreatingAccount: 'Creando cuenta...',
|
|
418
|
-
proAccountCreated: '¡Cuenta creada! Email de verificación enviado.',
|
|
419
|
-
proAccountExists: 'La cuenta ya existe. Cambiando a inicio de sesión...',
|
|
420
|
-
proAccountFailed: 'Error al crear la cuenta: {message}',
|
|
421
|
-
proCheckEmail: 'Por favor, revise su email y haga clic en el enlace de verificación.',
|
|
422
|
-
proWaitingVerification: 'Esperando verificación de email...',
|
|
423
|
-
proAfterVerifying: 'Después de verificar, la instalación continuará automáticamente.',
|
|
424
|
-
proPressResend: '[Presione R para reenviar email de verificación]',
|
|
425
|
-
proVerificationResent: 'Email de verificación reenviado.',
|
|
426
|
-
proCouldNotResend: 'No se pudo reenviar: {message}',
|
|
427
|
-
proRunAgainRetry: 'Ejecute el instalador nuevamente para reintentar la verificación.',
|
|
428
|
-
proValidatingSubscription: 'Validando suscripción Pro...',
|
|
429
|
-
proSubscriptionConfirmed: '¡Suscripción Pro confirmada! Licencia: {key}',
|
|
430
|
-
proNoSubscription: 'No se encontró suscripción Pro activa para este email.',
|
|
431
|
-
proPurchaseAt: 'Compre Pro en https://pro.sinapse.ai',
|
|
432
|
-
proSeatLimit: 'Desactive otro dispositivo o actualice su licencia.',
|
|
433
|
-
proAlreadyActivated: 'Licencia Pro ya activada para esta cuenta.',
|
|
434
|
-
proActivationFailed: 'Error de activación: {message}',
|
|
435
|
-
proEnterKeyPrompt: 'Ingrese su clave de licencia Pro:',
|
|
436
|
-
proKeyRequired: 'Clave de licencia es obligatoria',
|
|
437
|
-
proKeyInvalid: 'Formato inválido. Esperado: PRO-XXXX-XXXX-XXXX-XXXX',
|
|
438
|
-
proKeyValidated: 'Licencia validada: {key}',
|
|
439
|
-
proModuleNotAvailable: 'Módulo de licencia Pro no disponible. Asegúrese de que @sinapse-fullstack/pro esté instalado.',
|
|
440
|
-
proModuleBootstrap: 'Módulo de licencia Pro no encontrado localmente. Instalando @sinapse-fullstack/pro...',
|
|
441
|
-
proServerUnreachable: 'Servidor de licencias inaccesible. Verifique su conexión a internet e intente nuevamente.',
|
|
442
|
-
proVerifyingAccessShort: 'Verificando acceso...',
|
|
443
|
-
proAccessConfirmed: 'Acceso Pro confirmado.',
|
|
444
|
-
proBuyerCheckUnavailable: 'Verificación de comprador no disponible, procediendo con inicio de sesión...',
|
|
445
|
-
proLoginFailedSignup: 'Inicio de sesión fallido, intentando registro...',
|
|
446
|
-
proAccountCreatedVerify: 'Cuenta creada. ¡Email de verificación enviado!',
|
|
447
|
-
proAccountExistsWrongPw: 'La cuenta existe pero la contraseña es incorrecta.',
|
|
448
|
-
proAuthFailedShort: 'Error de autenticación.',
|
|
449
|
-
proValidatingKey: 'Validando licencia {key}...',
|
|
450
|
-
proInvalidKey: 'Clave de licencia inválida.',
|
|
451
|
-
proExpiredKey: 'Clave de licencia expirada.',
|
|
452
|
-
proMaxActivations: 'Número máximo de activaciones alcanzado para esta clave.',
|
|
453
|
-
proRateLimited: 'Demasiadas solicitudes. Espere e intente nuevamente.',
|
|
454
|
-
proValidationFailed: 'Validación de licencia fallida: {message}',
|
|
455
|
-
proInvalidKeyFormat: 'Formato de clave inválido: {key}. Esperado: PRO-XXXX-XXXX-XXXX-XXXX',
|
|
456
|
-
proScaffolding: 'Instalando contenido pro...',
|
|
457
|
-
proScaffoldingProgress: 'Instalando: {message}',
|
|
458
|
-
proContentInstalled: 'Contenido Pro instalado ({count} archivos)',
|
|
459
|
-
proScaffoldFailed: 'Instalación fallida',
|
|
460
|
-
proScaffoldError: 'Error de instalación: {message}',
|
|
461
|
-
proInitPackageJson: 'Inicializando package.json...',
|
|
462
|
-
proPackageJsonCreated: 'package.json creado',
|
|
463
|
-
proPackageJsonFailed: 'Error al crear package.json',
|
|
464
|
-
proInstallingPackage: 'Instalando @sinapse-fullstack/pro...',
|
|
465
|
-
proPackageInstalled: 'Paquete Pro instalado',
|
|
466
|
-
proPackageInstallFailed: 'Error al instalar paquete Pro',
|
|
467
|
-
proScaffolderNotAvailable: 'Scaffolder Pro no disponible. Asegúrese de que @sinapse-fullstack/pro esté instalado.',
|
|
468
|
-
proFilesInstalled: 'Archivos instalados: {count}',
|
|
469
|
-
proSquads: 'Squads: {names}',
|
|
470
|
-
proConfigs: 'Configs: {count} archivos',
|
|
471
|
-
proFeaturesUnlocked: 'Funciones desbloqueadas: {count}',
|
|
472
|
-
proInstallComplete: '¡Instalación de SINAPSE Pro completa!',
|
|
473
|
-
proNeedHelp: '¿Necesita ayuda? Ejecute: npx sinapse-pro recover',
|
|
474
|
-
proCISetEnv: 'Modo CI: Configure las variables SINAPSE_PRO_EMAIL + SINAPSE_PRO_PASSWORD o SINAPSE_PRO_KEY.',
|
|
475
|
-
proVerificationFailed: 'Verificación fallida: {message}',
|
|
476
|
-
proPackageNotFound: 'Paquete Pro no encontrado después de npm install. Verifique la salida de npm.',
|
|
477
|
-
proScaffolderNotFound: 'Módulo scaffolder Pro no encontrado.',
|
|
478
|
-
proNpmInitFailed: 'npm init falló: {message}',
|
|
479
|
-
proNpmInstallFailed: 'npm install @sinapse-fullstack/pro falló: {message}. Intente manualmente: npm install @sinapse-fullstack/pro',
|
|
480
|
-
},
|
|
324
|
+
// es: removed — PT-BR hardcoded as default
|
|
481
325
|
};
|
|
482
326
|
|
|
483
|
-
// Current language (default:
|
|
484
|
-
let currentLanguage = '
|
|
327
|
+
// Current language (default: Portuguese)
|
|
328
|
+
let currentLanguage = 'pt';
|
|
485
329
|
|
|
486
330
|
/**
|
|
487
331
|
* Set current language
|
|
@@ -533,9 +377,8 @@ function tf(key, params = {}) {
|
|
|
533
377
|
*/
|
|
534
378
|
function getLanguageChoices() {
|
|
535
379
|
return [
|
|
536
|
-
{ name: 'English', value: 'en' },
|
|
537
380
|
{ name: 'Português', value: 'pt' },
|
|
538
|
-
{ name: '
|
|
381
|
+
{ name: 'English', value: 'en' },
|
|
539
382
|
];
|
|
540
383
|
}
|
|
541
384
|
|
|
@@ -363,7 +363,7 @@ async function createAntiGravityConfigJson(projectRoot, ideConfig) {
|
|
|
363
363
|
agents: {
|
|
364
364
|
enabled: true,
|
|
365
365
|
directory: ideConfig.specialConfig.agentsFolder,
|
|
366
|
-
default: 'sinapse-
|
|
366
|
+
default: 'sinapse-orqx',
|
|
367
367
|
},
|
|
368
368
|
rules: {
|
|
369
369
|
enabled: true,
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
const inquirer = require('inquirer');
|
|
11
|
+
const os = require('os');
|
|
11
12
|
const path = require('path');
|
|
12
13
|
const fse = require('fs-extra');
|
|
13
14
|
const { execSync } = require('child_process');
|
|
@@ -15,6 +16,7 @@ const { colors } = require('../utils/sinapse-colors');
|
|
|
15
16
|
const {
|
|
16
17
|
getLanguageQuestion,
|
|
17
18
|
getUserProfileQuestion,
|
|
19
|
+
getLLMQuestion,
|
|
18
20
|
getProjectTypeQuestion,
|
|
19
21
|
getIDEQuestions,
|
|
20
22
|
getTechPresetQuestion,
|
|
@@ -115,7 +117,6 @@ async function getExistingUserProfile(targetDir = process.cwd()) {
|
|
|
115
117
|
const LANGUAGE_MAP = {
|
|
116
118
|
en: 'english',
|
|
117
119
|
pt: 'portuguese',
|
|
118
|
-
es: 'spanish',
|
|
119
120
|
};
|
|
120
121
|
|
|
121
122
|
/**
|
|
@@ -232,15 +233,204 @@ function setupCancellationHandler() {
|
|
|
232
233
|
sigintHandlerAdded = true;
|
|
233
234
|
}
|
|
234
235
|
|
|
236
|
+
/**
|
|
237
|
+
* Auto-detect project type based on filesystem markers
|
|
238
|
+
*
|
|
239
|
+
* @param {string} [cwd] - Working directory to inspect
|
|
240
|
+
* @returns {string} 'upgrade' | 'brownfield' | 'greenfield'
|
|
241
|
+
*/
|
|
242
|
+
function detectProjectType(cwd = process.cwd()) {
|
|
243
|
+
if (fse.existsSync(path.join(cwd, '.sinapse-ai'))) {
|
|
244
|
+
return 'upgrade';
|
|
245
|
+
}
|
|
246
|
+
if (fse.existsSync(path.join(cwd, 'package.json'))) {
|
|
247
|
+
return 'brownfield';
|
|
248
|
+
}
|
|
249
|
+
return 'greenfield';
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Auto-detect tech preset based on project files
|
|
254
|
+
*
|
|
255
|
+
* @param {string} [cwd] - Working directory to inspect
|
|
256
|
+
* @returns {string} Detected preset name or 'none'
|
|
257
|
+
*/
|
|
258
|
+
function detectTechPreset(cwd = process.cwd()) {
|
|
259
|
+
// Check package.json for Next.js
|
|
260
|
+
const pkgPath = path.join(cwd, 'package.json');
|
|
261
|
+
if (fse.existsSync(pkgPath)) {
|
|
262
|
+
try {
|
|
263
|
+
const pkg = JSON.parse(fse.readFileSync(pkgPath, 'utf8'));
|
|
264
|
+
const allDeps = {
|
|
265
|
+
...(pkg.dependencies || {}),
|
|
266
|
+
...(pkg.devDependencies || {}),
|
|
267
|
+
};
|
|
268
|
+
if (allDeps['next']) return 'nextjs-react';
|
|
269
|
+
} catch {
|
|
270
|
+
// Ignore parse errors
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
if (fse.existsSync(path.join(cwd, 'go.mod'))) return 'go';
|
|
275
|
+
if (fse.existsSync(path.join(cwd, 'Cargo.toml'))) return 'rust';
|
|
276
|
+
if (fse.existsSync(path.join(cwd, 'pom.xml'))) return 'java';
|
|
277
|
+
if (fse.existsSync(path.join(cwd, 'composer.json'))) return 'php';
|
|
278
|
+
|
|
279
|
+
// Check for .csproj files
|
|
280
|
+
try {
|
|
281
|
+
const entries = fse.readdirSync(cwd);
|
|
282
|
+
if (entries.some((f) => f.endsWith('.csproj'))) return 'csharp';
|
|
283
|
+
} catch {
|
|
284
|
+
// Ignore
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
return 'none';
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Map LLM selection to IDE list for generateIDEConfigs
|
|
292
|
+
*
|
|
293
|
+
* @param {string} selectedLLM - 'claude-code' | 'codex' | 'both'
|
|
294
|
+
* @returns {string[]} IDE identifiers
|
|
295
|
+
*/
|
|
296
|
+
function llmToIDEs(selectedLLM) {
|
|
297
|
+
switch (selectedLLM) {
|
|
298
|
+
case 'claude-code':
|
|
299
|
+
return ['claude-code'];
|
|
300
|
+
case 'codex':
|
|
301
|
+
return ['codex'];
|
|
302
|
+
case 'both':
|
|
303
|
+
return ['claude-code', 'codex'];
|
|
304
|
+
default:
|
|
305
|
+
return ['claude-code'];
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Map LLM selection to a display label for the completion screen
|
|
311
|
+
*
|
|
312
|
+
* @param {string} selectedLLM - 'claude-code' | 'codex' | 'both'
|
|
313
|
+
* @returns {string} Human-readable label
|
|
314
|
+
*/
|
|
315
|
+
function llmLabel(selectedLLM) {
|
|
316
|
+
switch (selectedLLM) {
|
|
317
|
+
case 'claude-code':
|
|
318
|
+
return 'Claude Code';
|
|
319
|
+
case 'codex':
|
|
320
|
+
return 'Codex CLI';
|
|
321
|
+
case 'both':
|
|
322
|
+
return 'Claude Code + Codex CLI';
|
|
323
|
+
default:
|
|
324
|
+
return 'Claude Code';
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* 19 orqx agent definitions to install globally.
|
|
330
|
+
* Each entry maps agent-id to its squad directory name.
|
|
331
|
+
*/
|
|
332
|
+
const GLOBAL_AGENTS = [
|
|
333
|
+
{ id: 'sinapse-orqx', squad: 'sinapse' },
|
|
334
|
+
{ id: 'animations-orqx', squad: 'squad-animations' },
|
|
335
|
+
{ id: 'brand-orqx', squad: 'squad-brand' },
|
|
336
|
+
{ id: 'claude-orqx', squad: 'squad-claude' },
|
|
337
|
+
{ id: 'cloning-orqx', squad: 'squad-cloning' },
|
|
338
|
+
{ id: 'commercial-orqx', squad: 'squad-commercial' },
|
|
339
|
+
{ id: 'content-orqx', squad: 'squad-content' },
|
|
340
|
+
{ id: 'copy-orqx', squad: 'squad-copy' },
|
|
341
|
+
{ id: 'council-orqx', squad: 'squad-council' },
|
|
342
|
+
{ id: 'courses-orqx', squad: 'squad-courses' },
|
|
343
|
+
{ id: 'cyber-orqx', squad: 'squad-cybersecurity' },
|
|
344
|
+
{ id: 'design-orqx', squad: 'squad-design' },
|
|
345
|
+
{ id: 'finance-orqx', squad: 'squad-finance' },
|
|
346
|
+
{ id: 'growth-orqx', squad: 'squad-growth' },
|
|
347
|
+
{ id: 'paidmedia-orqx', squad: 'squad-paidmedia' },
|
|
348
|
+
{ id: 'product-orqx', squad: 'squad-product' },
|
|
349
|
+
{ id: 'research-orqx', squad: 'squad-research' },
|
|
350
|
+
{ id: 'storytelling-orqx', squad: 'squad-storytelling' },
|
|
351
|
+
{ id: 'swarm-orqx', squad: 'squad-claude' },
|
|
352
|
+
];
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Generate the markdown template for a global orqx agent definition.
|
|
356
|
+
*
|
|
357
|
+
* @param {string} agentId - Agent identifier (e.g. 'brand-orqx')
|
|
358
|
+
* @param {string} squadName - Squad directory name (e.g. 'squad-brand')
|
|
359
|
+
* @param {string} homedir - Absolute path to user home directory
|
|
360
|
+
* @returns {string} Markdown content for the agent file
|
|
361
|
+
*/
|
|
362
|
+
function buildAgentTemplate(agentId, squadName, homedir) {
|
|
363
|
+
// Normalise to forward slashes for the template paths (cross-platform readability)
|
|
364
|
+
const agentDefPath = path.join(homedir, '.sinapse', squadName, 'agents', `${agentId}.md`).replace(/\\/g, '/');
|
|
365
|
+
const squadManifestPath = path.join(homedir, '.sinapse', squadName, 'squad.yaml').replace(/\\/g, '/');
|
|
366
|
+
|
|
367
|
+
return [
|
|
368
|
+
'---',
|
|
369
|
+
`name: ${agentId}`,
|
|
370
|
+
`description: "${squadName} orchestrator — routes to specialized agents within the squad"`,
|
|
371
|
+
'tools: [Read, Grep, Glob, Write, Edit, Bash, WebSearch, WebFetch]',
|
|
372
|
+
'---',
|
|
373
|
+
'',
|
|
374
|
+
`# ${agentId}`,
|
|
375
|
+
'',
|
|
376
|
+
'ACTIVATION-NOTICE: This command activates an agent from sinapse.',
|
|
377
|
+
'',
|
|
378
|
+
`CRITICAL: Read the agent definition file at \`${agentDefPath}\` to understand your full operating parameters. Then:`,
|
|
379
|
+
`1. Adopt the persona defined in that file`,
|
|
380
|
+
`2. Load the squad manifest at \`${squadManifestPath}\` for context`,
|
|
381
|
+
'3. Display a greeting showing your agent name, role, and available commands',
|
|
382
|
+
'4. HALT and await user input',
|
|
383
|
+
'',
|
|
384
|
+
].join('\n');
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Install 19 global orqx agent definitions to ~/.claude/agents/
|
|
389
|
+
* Each file is a small markdown that points to the full agent definition
|
|
390
|
+
* inside the user's ~/.sinapse/{squad}/ directory.
|
|
391
|
+
*
|
|
392
|
+
* @returns {Promise<{success: boolean, count: number, errors: string[]}>}
|
|
393
|
+
*/
|
|
394
|
+
async function installGlobalAgents() {
|
|
395
|
+
const homedir = os.homedir();
|
|
396
|
+
const agentsDir = path.join(homedir, '.claude', 'agents');
|
|
397
|
+
const errors = [];
|
|
398
|
+
let count = 0;
|
|
399
|
+
|
|
400
|
+
try {
|
|
401
|
+
await fse.ensureDir(agentsDir);
|
|
402
|
+
} catch (err) {
|
|
403
|
+
return { success: false, count: 0, errors: [`Failed to create ${agentsDir}: ${err.message}`] };
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
for (const agent of GLOBAL_AGENTS) {
|
|
407
|
+
try {
|
|
408
|
+
const content = buildAgentTemplate(agent.id, agent.squad, homedir);
|
|
409
|
+
const filePath = path.join(agentsDir, `${agent.id}.md`);
|
|
410
|
+
await fse.writeFile(filePath, content, 'utf8');
|
|
411
|
+
count++;
|
|
412
|
+
} catch (err) {
|
|
413
|
+
errors.push(`${agent.id}: ${err.message}`);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
return { success: errors.length === 0, count, errors };
|
|
418
|
+
}
|
|
419
|
+
|
|
235
420
|
/**
|
|
236
421
|
* Main wizard execution function
|
|
237
422
|
*
|
|
423
|
+
* Simplified 2-step flow:
|
|
424
|
+
* Step 1: Welcome screen (immersive)
|
|
425
|
+
* Step 2: LLM selection (single question)
|
|
426
|
+
* Everything else is auto-detected.
|
|
427
|
+
*
|
|
238
428
|
* @returns {Promise<Object>} Wizard answers object
|
|
239
429
|
*
|
|
240
430
|
* @example
|
|
241
431
|
* const { runWizard } = require('./src/wizard');
|
|
242
432
|
* const answers = await runWizard();
|
|
243
|
-
* console.log(answers.projectType); // 'greenfield' or '
|
|
433
|
+
* console.log(answers.projectType); // 'greenfield', 'brownfield', or 'upgrade'
|
|
244
434
|
*/
|
|
245
435
|
async function runWizard(options = {}) {
|
|
246
436
|
try {
|
|
@@ -252,81 +442,45 @@ async function runWizard(options = {}) {
|
|
|
252
442
|
showWelcome();
|
|
253
443
|
}
|
|
254
444
|
|
|
255
|
-
//
|
|
256
|
-
|
|
445
|
+
// Hardcode PT-BR as default language
|
|
446
|
+
const language = options.language || 'pt';
|
|
447
|
+
setLanguage(language);
|
|
257
448
|
|
|
258
449
|
let answers = {};
|
|
259
450
|
|
|
451
|
+
// Auto-detect project type and tech preset (always)
|
|
452
|
+
const detectedProjectType = detectProjectType();
|
|
453
|
+
const detectedTechPreset = detectTechPreset();
|
|
454
|
+
|
|
260
455
|
if (options.quiet) {
|
|
261
456
|
// Quiet mode: Skip all prompts, use defaults
|
|
262
|
-
// Story 10.2: Check for existing user_profile (idempotency)
|
|
263
|
-
// Story ACT-12: Language delegated to Claude Code settings.json
|
|
264
|
-
const existingProfile = await getExistingUserProfile();
|
|
265
|
-
const existingLang = await getExistingLanguage();
|
|
266
457
|
answers = {
|
|
267
|
-
language
|
|
268
|
-
userProfile:
|
|
269
|
-
projectType: options.projectType ||
|
|
270
|
-
|
|
271
|
-
|
|
458
|
+
language,
|
|
459
|
+
userProfile: 'bob',
|
|
460
|
+
projectType: options.projectType || detectedProjectType,
|
|
461
|
+
selectedLLM: options.selectedLLM || 'claude-code',
|
|
462
|
+
selectedIDEs: options.ide ? [options.ide] : llmToIDEs(options.selectedLLM || 'claude-code'),
|
|
463
|
+
selectedTechPreset: detectedTechPreset,
|
|
272
464
|
...options, // Merge any other options
|
|
273
465
|
};
|
|
274
466
|
} else {
|
|
275
|
-
// Interactive mode
|
|
276
|
-
//
|
|
277
|
-
// Story ACT-12: Check idempotency via Claude Code settings.json
|
|
278
|
-
let languageAnswer;
|
|
279
|
-
const existingLanguage = await getExistingLanguage();
|
|
280
|
-
|
|
281
|
-
if (existingLanguage) {
|
|
282
|
-
// Idempotent: Use existing language, don't re-ask
|
|
283
|
-
console.log(`\n✓ ${t('languageSkipped') || 'Language already configured'}: ${existingLanguage}\n`);
|
|
284
|
-
languageAnswer = { language: existingLanguage };
|
|
285
|
-
} else {
|
|
286
|
-
languageAnswer = await inquirer.prompt([getLanguageQuestion()]);
|
|
287
|
-
}
|
|
288
|
-
setLanguage(languageAnswer.language);
|
|
467
|
+
// Interactive mode — simplified 2-step flow
|
|
468
|
+
// Step 1: Welcome screen already shown above
|
|
289
469
|
|
|
290
|
-
//
|
|
291
|
-
|
|
292
|
-
let userProfileAnswer = {};
|
|
293
|
-
const existingProfile = await getExistingUserProfile();
|
|
470
|
+
// Step 2: Single question — LLM selection
|
|
471
|
+
const llmAnswer = await inquirer.prompt([getLLMQuestion()]);
|
|
294
472
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
console.log(`\n✓ ${t('userProfileSkipped')}: ${existingProfile}\n`);
|
|
298
|
-
userProfileAnswer = { userProfile: existingProfile };
|
|
299
|
-
} else {
|
|
300
|
-
// New installation: Ask for user profile
|
|
301
|
-
userProfileAnswer = await inquirer.prompt([getUserProfileQuestion()]);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
// Phase 2: Build remaining questions with i18n applied
|
|
305
|
-
const remainingQuestions = [
|
|
306
|
-
getProjectTypeQuestion(),
|
|
307
|
-
...getIDEQuestions(),
|
|
308
|
-
...getTechPresetQuestion(),
|
|
309
|
-
];
|
|
310
|
-
|
|
311
|
-
// Performance tracking (AC: < 100ms per question)
|
|
312
|
-
const startTime = Date.now();
|
|
313
|
-
|
|
314
|
-
// Run wizard with remaining questions
|
|
315
|
-
const remainingAnswers = await inquirer.prompt(remainingQuestions);
|
|
473
|
+
// Derive IDEs from LLM choice
|
|
474
|
+
const selectedIDEs = llmToIDEs(llmAnswer.selectedLLM);
|
|
316
475
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
if (avgTimePerQuestion > 100) {
|
|
326
|
-
console.warn(
|
|
327
|
-
`Warning: Average question response time (${avgTimePerQuestion.toFixed(0)}ms) exceeds 100ms target`,
|
|
328
|
-
);
|
|
329
|
-
}
|
|
476
|
+
answers = {
|
|
477
|
+
language,
|
|
478
|
+
userProfile: 'bob',
|
|
479
|
+
projectType: detectedProjectType,
|
|
480
|
+
selectedLLM: llmAnswer.selectedLLM,
|
|
481
|
+
selectedIDEs,
|
|
482
|
+
selectedTechPreset: detectedTechPreset,
|
|
483
|
+
};
|
|
330
484
|
}
|
|
331
485
|
|
|
332
486
|
// Story 1.4: Install SINAPSE core framework (agents, tasks, workflows, templates)
|
|
@@ -360,6 +514,29 @@ async function runWizard(options = {}) {
|
|
|
360
514
|
answers.sinapseCoreInstalled = false;
|
|
361
515
|
}
|
|
362
516
|
|
|
517
|
+
// Install global orqx agent definitions to ~/.claude/agents/ (only for Claude Code)
|
|
518
|
+
const selectedLLM = answers.selectedLLM || 'claude-code';
|
|
519
|
+
if (selectedLLM === 'claude-code' || selectedLLM === 'both') {
|
|
520
|
+
console.log('\n🤖 Installing global agent definitions...');
|
|
521
|
+
try {
|
|
522
|
+
const globalAgentsResult = await installGlobalAgents();
|
|
523
|
+
if (globalAgentsResult.success) {
|
|
524
|
+
console.log(`✅ Global agents: ${globalAgentsResult.count} installed to ~/.claude/agents/`);
|
|
525
|
+
} else {
|
|
526
|
+
console.log(`⚠️ Global agents: ${globalAgentsResult.count} installed, ${globalAgentsResult.errors.length} errors`);
|
|
527
|
+
globalAgentsResult.errors.forEach((err) => console.warn(` - ${err}`));
|
|
528
|
+
}
|
|
529
|
+
answers.globalAgentsInstalled = globalAgentsResult.count;
|
|
530
|
+
answers.globalAgentsResult = globalAgentsResult;
|
|
531
|
+
} catch (error) {
|
|
532
|
+
console.warn(`⚠️ Global agents installation failed: ${error.message}`);
|
|
533
|
+
answers.globalAgentsInstalled = 0;
|
|
534
|
+
}
|
|
535
|
+
} else {
|
|
536
|
+
console.log('\n🤖 Skipping global Claude agents (Codex-only install)');
|
|
537
|
+
answers.globalAgentsInstalled = 0;
|
|
538
|
+
}
|
|
539
|
+
|
|
363
540
|
// Install Tech Preset if selected
|
|
364
541
|
if (answers.selectedTechPreset && answers.selectedTechPreset !== 'none') {
|
|
365
542
|
console.log('\n📐 Configuring Tech Preset...');
|
|
@@ -426,7 +603,7 @@ async function runWizard(options = {}) {
|
|
|
426
603
|
let techPrefsContent = await fse.readFile(baseFile, 'utf8');
|
|
427
604
|
|
|
428
605
|
// Add active preset marker only if not already present
|
|
429
|
-
const activePresetSection = `\n## Active Preset\n\n**Selected:** \`${answers.selectedTechPreset}\`\n\nThis preset was selected during installation. The @architect and @
|
|
606
|
+
const activePresetSection = `\n## Active Preset\n\n**Selected:** \`${answers.selectedTechPreset}\`\n\nThis preset was selected during installation. The @architect and @developer agents will use these patterns by default.\n`;
|
|
430
607
|
|
|
431
608
|
if (!techPrefsContent.includes('## Active Preset')) {
|
|
432
609
|
// Insert after the first heading
|
|
@@ -946,8 +1123,8 @@ async function runWizard(options = {}) {
|
|
|
946
1123
|
console.log('Installation may be incomplete. Check logs in .sinapse/ directory.');
|
|
947
1124
|
}
|
|
948
1125
|
|
|
949
|
-
// Show completion
|
|
950
|
-
showCompletion();
|
|
1126
|
+
// Show completion with LLM label
|
|
1127
|
+
showCompletion({ llmLabel: llmLabel(answers.selectedLLM), llmValue: answers.selectedLLM });
|
|
951
1128
|
|
|
952
1129
|
return answers;
|
|
953
1130
|
} catch (error) {
|
|
@@ -985,10 +1162,17 @@ async function runWizard(options = {}) {
|
|
|
985
1162
|
|
|
986
1163
|
module.exports = {
|
|
987
1164
|
runWizard,
|
|
988
|
-
//
|
|
1165
|
+
// Exported for testing
|
|
989
1166
|
_testing: {
|
|
990
1167
|
writeClaudeSettings,
|
|
991
1168
|
getExistingLanguage,
|
|
992
1169
|
LANGUAGE_MAP,
|
|
1170
|
+
detectProjectType,
|
|
1171
|
+
detectTechPreset,
|
|
1172
|
+
llmToIDEs,
|
|
1173
|
+
llmLabel,
|
|
1174
|
+
installGlobalAgents,
|
|
1175
|
+
buildAgentTemplate,
|
|
1176
|
+
GLOBAL_AGENTS,
|
|
993
1177
|
},
|
|
994
1178
|
};
|