sinapse-ai 5.0.7 → 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 +10 -10
- 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,883 +0,0 @@
|
|
|
1
|
-
<!-- 翻译:zh-CN 原文:/docs/troubleshooting.md 最后同步:2026-02-22 -->
|
|
2
|
-
|
|
3
|
-
# SINAPSE 故障排除指南
|
|
4
|
-
|
|
5
|
-
> 🌐 [EN](../troubleshooting.md) | [PT](../pt/troubleshooting.md) | [ES](../es/troubleshooting.md) | **ZH**
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
这份全面指南可帮助您诊断和解决 SINAPSE 的常见问题。
|
|
10
|
-
|
|
11
|
-
## 目录
|
|
12
|
-
|
|
13
|
-
1. [快速诊断](#快速诊断)
|
|
14
|
-
2. [安装问题](#安装问题)
|
|
15
|
-
3. [元代理问题](#元代理问题)
|
|
16
|
-
4. [内存层问题](#内存层问题)
|
|
17
|
-
5. [性能问题](#性能问题)
|
|
18
|
-
6. [API 和集成问题](#api-和集成问题)
|
|
19
|
-
7. [安全和权限错误](#安全和权限错误)
|
|
20
|
-
8. [平台特定问题](#平台特定问题)
|
|
21
|
-
9. [高级故障排除](#高级故障排除)
|
|
22
|
-
10. [获取帮助](#获取帮助)
|
|
23
|
-
|
|
24
|
-
## 快速诊断
|
|
25
|
-
|
|
26
|
-
### 运行系统医生
|
|
27
|
-
|
|
28
|
-
始终从内置诊断开始:
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
# 基本诊断
|
|
32
|
-
npx @sinapse/sinapse-ai doctor
|
|
33
|
-
|
|
34
|
-
# 自动修复常见问题
|
|
35
|
-
npx @sinapse/sinapse-ai doctor --fix
|
|
36
|
-
|
|
37
|
-
# 详细输出
|
|
38
|
-
npx @sinapse/sinapse-ai doctor --verbose
|
|
39
|
-
|
|
40
|
-
# 检查特定组件
|
|
41
|
-
npx @sinapse/sinapse-ai doctor --component memory-layer
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### 常见快速修复
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
# 清除所有缓存
|
|
48
|
-
*memory clear-cache
|
|
49
|
-
|
|
50
|
-
# 重建内存索引
|
|
51
|
-
*memory rebuild
|
|
52
|
-
|
|
53
|
-
# 重置配置
|
|
54
|
-
*config --reset
|
|
55
|
-
|
|
56
|
-
# 更新到最新版本
|
|
57
|
-
npx @sinapse/sinapse-ai update
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## 安装问题
|
|
61
|
-
|
|
62
|
-
### 问题:找不到 NPX 命令
|
|
63
|
-
|
|
64
|
-
**症状:**
|
|
65
|
-
```
|
|
66
|
-
bash: npx: command not found
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
**解决方案:**
|
|
70
|
-
```bash
|
|
71
|
-
# 检查 npm 版本
|
|
72
|
-
npm --version
|
|
73
|
-
|
|
74
|
-
# 如果 npm < 5.2,全局安装 npx
|
|
75
|
-
npm install -g npx
|
|
76
|
-
|
|
77
|
-
# 或直接使用 npm
|
|
78
|
-
npm exec @sinapse/sinapse-ai init my-project
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
### 问题:安装失败,权限错误
|
|
82
|
-
|
|
83
|
-
**症状:**
|
|
84
|
-
```
|
|
85
|
-
Error: EACCES: permission denied
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
**解决方案:**
|
|
89
|
-
|
|
90
|
-
**选项 1:修复 npm 权限(推荐)**
|
|
91
|
-
```bash
|
|
92
|
-
# 创建 npm 目录
|
|
93
|
-
mkdir ~/.npm-global
|
|
94
|
-
|
|
95
|
-
# 配置 npm
|
|
96
|
-
npm config set prefix '~/.npm-global'
|
|
97
|
-
|
|
98
|
-
# 添加到 PATH(添加到 ~/.bashrc 或 ~/.zshrc)
|
|
99
|
-
export PATH=~/.npm-global/bin:$PATH
|
|
100
|
-
|
|
101
|
-
# 重载 shell
|
|
102
|
-
source ~/.bashrc
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
**选项 2:使用不同的目录**
|
|
106
|
-
```bash
|
|
107
|
-
# 在用户目录中安装
|
|
108
|
-
cd ~
|
|
109
|
-
npx @sinapse/sinapse-ai init my-project
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
### 问题:Node.js 版本错误
|
|
113
|
-
|
|
114
|
-
**症状:**
|
|
115
|
-
```
|
|
116
|
-
Error: Node.js version 18.0.0 or higher required
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
**解决方案:**
|
|
120
|
-
```bash
|
|
121
|
-
# 检查当前版本
|
|
122
|
-
node --version
|
|
123
|
-
|
|
124
|
-
# 更新 Node.js
|
|
125
|
-
# macOS(使用 Homebrew)
|
|
126
|
-
brew upgrade node
|
|
127
|
-
|
|
128
|
-
# Windows(使用 Chocolatey)
|
|
129
|
-
choco upgrade nodejs
|
|
130
|
-
|
|
131
|
-
# Linux(使用 NodeSource)
|
|
132
|
-
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
|
|
133
|
-
sudo apt-get install -y nodejs
|
|
134
|
-
|
|
135
|
-
# 或使用 nvm(Node 版本管理器)
|
|
136
|
-
nvm install 18
|
|
137
|
-
nvm use 18
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
### 问题:安装挂起或超时
|
|
141
|
-
|
|
142
|
-
**症状:**
|
|
143
|
-
- 安装卡在"安装依赖..."
|
|
144
|
-
- 网络超时错误
|
|
145
|
-
|
|
146
|
-
**解决方案:**
|
|
147
|
-
|
|
148
|
-
```bash
|
|
149
|
-
# 使用不同的注册表
|
|
150
|
-
npm config set registry https://registry.npmjs.org/
|
|
151
|
-
|
|
152
|
-
# 清除 npm 缓存
|
|
153
|
-
npm cache clean --force
|
|
154
|
-
|
|
155
|
-
# 增加超时
|
|
156
|
-
npm config set fetch-timeout 60000
|
|
157
|
-
|
|
158
|
-
# 跳过依赖安装
|
|
159
|
-
npx @sinapse/sinapse-ai init my-project --skip-install
|
|
160
|
-
|
|
161
|
-
# 然后手动安装
|
|
162
|
-
cd my-project
|
|
163
|
-
npm install --verbose
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
### 问题:磁盘空间错误
|
|
167
|
-
|
|
168
|
-
**症状:**
|
|
169
|
-
```
|
|
170
|
-
Error: ENOSPC: no space left on device
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
**解决方案:**
|
|
174
|
-
```bash
|
|
175
|
-
# 检查可用空间
|
|
176
|
-
df -h
|
|
177
|
-
|
|
178
|
-
# 清除 npm 缓存
|
|
179
|
-
npm cache clean --force
|
|
180
|
-
|
|
181
|
-
# 删除旧的 node_modules
|
|
182
|
-
find . -name "node_modules" -type d -prune -exec rm -rf '{}' +
|
|
183
|
-
|
|
184
|
-
# 清除临时文件
|
|
185
|
-
# macOS/Linux
|
|
186
|
-
rm -rf /tmp/npm-*
|
|
187
|
-
|
|
188
|
-
# Windows
|
|
189
|
-
rmdir /s %TEMP%\npm-*
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
## 元代理问题
|
|
193
|
-
|
|
194
|
-
### 问题:元代理无法启动
|
|
195
|
-
|
|
196
|
-
**症状:**
|
|
197
|
-
```
|
|
198
|
-
Error: Failed to initialize meta-agent
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
**解决方案:**
|
|
202
|
-
|
|
203
|
-
1. **检查配置:**
|
|
204
|
-
```bash
|
|
205
|
-
# 验证配置存在
|
|
206
|
-
ls -la .sinapse/config.json
|
|
207
|
-
|
|
208
|
-
# 验证配置
|
|
209
|
-
npx @sinapse/sinapse-ai doctor --component config
|
|
210
|
-
|
|
211
|
-
# 如果损坏则重置
|
|
212
|
-
rm .sinapse/config.json
|
|
213
|
-
npx @sinapse/sinapse-ai doctor --fix
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
2. **检查依赖:**
|
|
217
|
-
```bash
|
|
218
|
-
# 重新安装核心依赖
|
|
219
|
-
npm install
|
|
220
|
-
|
|
221
|
-
# 验证代理文件
|
|
222
|
-
ls -la agents/
|
|
223
|
-
```
|
|
224
|
-
|
|
225
|
-
3. **检查环境:**
|
|
226
|
-
```bash
|
|
227
|
-
# 验证环境变量
|
|
228
|
-
cat .env
|
|
229
|
-
|
|
230
|
-
# 确保设置了 API 密钥
|
|
231
|
-
echo "OPENAI_API_KEY=your-key" >> .env
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
### 问题:命令无法识别
|
|
235
|
-
|
|
236
|
-
**症状:**
|
|
237
|
-
```
|
|
238
|
-
Unknown command: *create-agent
|
|
239
|
-
```
|
|
240
|
-
|
|
241
|
-
**解决方案:**
|
|
242
|
-
|
|
243
|
-
1. **验证代理激活:**
|
|
244
|
-
```bash
|
|
245
|
-
# 列出活动代理
|
|
246
|
-
*list-agents --active
|
|
247
|
-
|
|
248
|
-
# 激活元代理
|
|
249
|
-
*activate meta-agent
|
|
250
|
-
|
|
251
|
-
# 验证命令可用性
|
|
252
|
-
*help
|
|
253
|
-
```
|
|
254
|
-
|
|
255
|
-
2. **检查命令语法:**
|
|
256
|
-
```bash
|
|
257
|
-
# 正确的语法使用星号
|
|
258
|
-
*create-agent my-agent # ✓ 正确
|
|
259
|
-
create-agent my-agent # ✗ 错误
|
|
260
|
-
```
|
|
261
|
-
|
|
262
|
-
3. **重载代理:**
|
|
263
|
-
```bash
|
|
264
|
-
# 重载所有代理
|
|
265
|
-
*reload-agents
|
|
266
|
-
|
|
267
|
-
# 或重启元代理
|
|
268
|
-
exit
|
|
269
|
-
npx @sinapse/sinapse-ai
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
### 问题:代理创建失败
|
|
273
|
-
|
|
274
|
-
**症状:**
|
|
275
|
-
```
|
|
276
|
-
Error: Failed to create agent
|
|
277
|
-
```
|
|
278
|
-
|
|
279
|
-
**解决方案:**
|
|
280
|
-
|
|
281
|
-
1. **检查权限:**
|
|
282
|
-
```bash
|
|
283
|
-
# 验证写入权限
|
|
284
|
-
ls -la agents/
|
|
285
|
-
|
|
286
|
-
# 修复权限
|
|
287
|
-
chmod 755 agents/
|
|
288
|
-
```
|
|
289
|
-
|
|
290
|
-
2. **验证代理名称:**
|
|
291
|
-
```bash
|
|
292
|
-
# 有效名称:小写、连字符
|
|
293
|
-
*create-agent my-agent # ✓ 好
|
|
294
|
-
*create-agent MyAgent # ✗ 坏(大写)
|
|
295
|
-
*create-agent my_agent # ✗ 坏(下划线)
|
|
296
|
-
*create-agent my-agent-2 # ✓ 好
|
|
297
|
-
```
|
|
298
|
-
|
|
299
|
-
3. **检查重复:**
|
|
300
|
-
```bash
|
|
301
|
-
# 列出现有代理
|
|
302
|
-
*list-agents
|
|
303
|
-
|
|
304
|
-
# 删除重复的
|
|
305
|
-
rm agents/duplicate-agent.yaml
|
|
306
|
-
```
|
|
307
|
-
|
|
308
|
-
## 内存层问题
|
|
309
|
-
|
|
310
|
-
### 问题:内存搜索返回无结果
|
|
311
|
-
|
|
312
|
-
**症状:**
|
|
313
|
-
- 语义搜索找不到任何内容
|
|
314
|
-
- 模式识别失败
|
|
315
|
-
|
|
316
|
-
**解决方案:**
|
|
317
|
-
|
|
318
|
-
1. **重建内存索引:**
|
|
319
|
-
```bash
|
|
320
|
-
# 清除并重建
|
|
321
|
-
*memory clear-cache
|
|
322
|
-
*memory rebuild --verbose
|
|
323
|
-
|
|
324
|
-
# 等待索引
|
|
325
|
-
# 检查进度
|
|
326
|
-
*memory status
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
2. **验证内存配置:**
|
|
330
|
-
```bash
|
|
331
|
-
# 检查配置
|
|
332
|
-
cat .sinapse/memory-config.json
|
|
333
|
-
|
|
334
|
-
# 重置为默认值
|
|
335
|
-
*memory reset-config
|
|
336
|
-
```
|
|
337
|
-
|
|
338
|
-
3. **检查索引完整性:**
|
|
339
|
-
```bash
|
|
340
|
-
# 运行内存诊断
|
|
341
|
-
*memory diagnose
|
|
342
|
-
|
|
343
|
-
# 如果需要则修复
|
|
344
|
-
*memory repair
|
|
345
|
-
```
|
|
346
|
-
|
|
347
|
-
### 问题:内存层使用过多 RAM
|
|
348
|
-
|
|
349
|
-
**症状:**
|
|
350
|
-
- 高内存使用
|
|
351
|
-
- 系统减速
|
|
352
|
-
|
|
353
|
-
**解决方案:**
|
|
354
|
-
|
|
355
|
-
1. **调整内存设置:**
|
|
356
|
-
```javascript
|
|
357
|
-
// 编辑 .sinapse/memory-config.json
|
|
358
|
-
{
|
|
359
|
-
"maxDocuments": 5000, // 从 10000 减少
|
|
360
|
-
"chunkSize": 256, // 从 512 减少
|
|
361
|
-
"cacheSize": 100, // 从 1000 减少
|
|
362
|
-
"enableCompression": true // 启用压缩
|
|
363
|
-
}
|
|
364
|
-
```
|
|
365
|
-
|
|
366
|
-
2. **清除旧数据:**
|
|
367
|
-
```bash
|
|
368
|
-
# 删除旧条目
|
|
369
|
-
*memory prune --older-than "30 days"
|
|
370
|
-
|
|
371
|
-
# 优化存储
|
|
372
|
-
*memory optimize
|
|
373
|
-
```
|
|
374
|
-
|
|
375
|
-
3. **使用内存限制:**
|
|
376
|
-
```bash
|
|
377
|
-
# 设置内存限制
|
|
378
|
-
export NODE_OPTIONS="--max-old-space-size=1024"
|
|
379
|
-
|
|
380
|
-
# 以有限内存运行
|
|
381
|
-
npx @sinapse/sinapse-ai
|
|
382
|
-
```
|
|
383
|
-
|
|
384
|
-
### 问题:LlamaIndex 错误
|
|
385
|
-
|
|
386
|
-
**症状:**
|
|
387
|
-
```
|
|
388
|
-
Error: LlamaIndex initialization failed
|
|
389
|
-
```
|
|
390
|
-
|
|
391
|
-
**解决方案:**
|
|
392
|
-
|
|
393
|
-
1. **检查 API 密钥:**
|
|
394
|
-
```bash
|
|
395
|
-
# 验证嵌入的 OpenAI 密钥
|
|
396
|
-
echo $OPENAI_API_KEY
|
|
397
|
-
|
|
398
|
-
# 测试 API 访问
|
|
399
|
-
curl https://api.openai.com/v1/models \
|
|
400
|
-
-H "Authorization: Bearer $OPENAI_API_KEY"
|
|
401
|
-
```
|
|
402
|
-
|
|
403
|
-
2. **使用本地嵌入:**
|
|
404
|
-
```javascript
|
|
405
|
-
// .sinapse/memory-config.json
|
|
406
|
-
{
|
|
407
|
-
"embedModel": "local",
|
|
408
|
-
"localModelPath": "./models/embeddings"
|
|
409
|
-
}
|
|
410
|
-
```
|
|
411
|
-
|
|
412
|
-
3. **重新安装 LlamaIndex:**
|
|
413
|
-
```bash
|
|
414
|
-
npm uninstall llamaindex
|
|
415
|
-
npm install llamaindex@latest
|
|
416
|
-
```
|
|
417
|
-
|
|
418
|
-
## 性能问题
|
|
419
|
-
|
|
420
|
-
### 问题:命令执行缓慢
|
|
421
|
-
|
|
422
|
-
**症状:**
|
|
423
|
-
- 命令耗时 > 5 秒
|
|
424
|
-
- UI 响应迟钝
|
|
425
|
-
|
|
426
|
-
**解决方案:**
|
|
427
|
-
|
|
428
|
-
1. **配置文件性能:**
|
|
429
|
-
```bash
|
|
430
|
-
# 启用分析
|
|
431
|
-
*debug enable --profile
|
|
432
|
-
|
|
433
|
-
# 运行缓慢的命令
|
|
434
|
-
*analyze-framework
|
|
435
|
-
|
|
436
|
-
# 查看配置文件
|
|
437
|
-
*debug show-profile
|
|
438
|
-
```
|
|
439
|
-
|
|
440
|
-
2. **优化配置:**
|
|
441
|
-
```javascript
|
|
442
|
-
// .sinapse/config.json
|
|
443
|
-
{
|
|
444
|
-
"performance": {
|
|
445
|
-
"enableCache": true,
|
|
446
|
-
"parallelOperations": 4,
|
|
447
|
-
"lazyLoading": true,
|
|
448
|
-
"indexUpdateFrequency": "hourly"
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
```
|
|
452
|
-
|
|
453
|
-
3. **清理资源:**
|
|
454
|
-
```bash
|
|
455
|
-
# 清除缓存
|
|
456
|
-
*cache clear --all
|
|
457
|
-
|
|
458
|
-
# 删除未使用的代理
|
|
459
|
-
*cleanup-agents
|
|
460
|
-
|
|
461
|
-
# 优化数据库
|
|
462
|
-
*optimize-db
|
|
463
|
-
```
|
|
464
|
-
|
|
465
|
-
### 问题:高 CPU 使用率
|
|
466
|
-
|
|
467
|
-
**症状:**
|
|
468
|
-
- 风扇噪音
|
|
469
|
-
- 系统滞后
|
|
470
|
-
- 任务管理器中 CPU 高
|
|
471
|
-
|
|
472
|
-
**解决方案:**
|
|
473
|
-
|
|
474
|
-
1. **限制并发操作:**
|
|
475
|
-
```bash
|
|
476
|
-
# 设置操作限制
|
|
477
|
-
*config --set performance.maxConcurrent 2
|
|
478
|
-
*config --set performance.cpuThreshold 80
|
|
479
|
-
```
|
|
480
|
-
|
|
481
|
-
2. **禁用实时功能:**
|
|
482
|
-
```bash
|
|
483
|
-
# 禁用实时索引
|
|
484
|
-
*config --set memory.realTimeIndex false
|
|
485
|
-
|
|
486
|
-
# 使用批处理
|
|
487
|
-
*config --set performance.batchMode true
|
|
488
|
-
```
|
|
489
|
-
|
|
490
|
-
3. **检查流氓进程:**
|
|
491
|
-
```bash
|
|
492
|
-
# 列出所有进程
|
|
493
|
-
*debug processes
|
|
494
|
-
|
|
495
|
-
# 杀死卡住的进程
|
|
496
|
-
*debug kill-process <pid>
|
|
497
|
-
```
|
|
498
|
-
|
|
499
|
-
## API 和集成问题
|
|
500
|
-
|
|
501
|
-
### 问题:API 密钥不工作
|
|
502
|
-
|
|
503
|
-
**症状:**
|
|
504
|
-
```
|
|
505
|
-
Error: Invalid API key
|
|
506
|
-
Error: 401 Unauthorized
|
|
507
|
-
```
|
|
508
|
-
|
|
509
|
-
**解决方案:**
|
|
510
|
-
|
|
511
|
-
1. **验证 API 密钥格式:**
|
|
512
|
-
```bash
|
|
513
|
-
# OpenAI
|
|
514
|
-
echo $OPENAI_API_KEY
|
|
515
|
-
# 应以 "sk-" 开头
|
|
516
|
-
|
|
517
|
-
# Anthropic
|
|
518
|
-
echo $ANTHROPIC_API_KEY
|
|
519
|
-
# 应以 "sk-ant-" 开头
|
|
520
|
-
```
|
|
521
|
-
|
|
522
|
-
2. **直接测试 API:**
|
|
523
|
-
```bash
|
|
524
|
-
# 测试 OpenAI
|
|
525
|
-
curl https://api.openai.com/v1/models \
|
|
526
|
-
-H "Authorization: Bearer $OPENAI_API_KEY"
|
|
527
|
-
|
|
528
|
-
# 测试 Anthropic
|
|
529
|
-
curl https://api.anthropic.com/v1/messages \
|
|
530
|
-
-H "x-api-key: $ANTHROPIC_API_KEY" \
|
|
531
|
-
-H "anthropic-version: 2023-06-01"
|
|
532
|
-
```
|
|
533
|
-
|
|
534
|
-
3. **检查速率限制:**
|
|
535
|
-
```bash
|
|
536
|
-
# 查看当前使用情况
|
|
537
|
-
*api-status
|
|
538
|
-
|
|
539
|
-
# 切换到不同的提供商
|
|
540
|
-
*config --set ai.provider anthropic
|
|
541
|
-
```
|
|
542
|
-
|
|
543
|
-
### 问题:网络连接错误
|
|
544
|
-
|
|
545
|
-
**症状:**
|
|
546
|
-
```
|
|
547
|
-
Error: ECONNREFUSED
|
|
548
|
-
Error: getaddrinfo ENOTFOUND
|
|
549
|
-
```
|
|
550
|
-
|
|
551
|
-
**解决方案:**
|
|
552
|
-
|
|
553
|
-
1. **检查代理设置:**
|
|
554
|
-
```bash
|
|
555
|
-
# 企业代理
|
|
556
|
-
export HTTP_PROXY=http://proxy.company.com:8080
|
|
557
|
-
export HTTPS_PROXY=http://proxy.company.com:8080
|
|
558
|
-
|
|
559
|
-
# 测试连接
|
|
560
|
-
curl -I https://api.openai.com
|
|
561
|
-
```
|
|
562
|
-
|
|
563
|
-
2. **使用离线模式:**
|
|
564
|
-
```bash
|
|
565
|
-
# 启用离线模式
|
|
566
|
-
*config --set offline true
|
|
567
|
-
|
|
568
|
-
# 使用本地模型
|
|
569
|
-
*config --set ai.provider local
|
|
570
|
-
```
|
|
571
|
-
|
|
572
|
-
3. **配置超时:**
|
|
573
|
-
```bash
|
|
574
|
-
# 增加超时
|
|
575
|
-
*config --set network.timeout 30000
|
|
576
|
-
*config --set network.retries 3
|
|
577
|
-
```
|
|
578
|
-
|
|
579
|
-
## 安全和权限错误
|
|
580
|
-
|
|
581
|
-
### 问题:权限被拒绝错误
|
|
582
|
-
|
|
583
|
-
**症状:**
|
|
584
|
-
```
|
|
585
|
-
Error: EACCES: permission denied
|
|
586
|
-
Error: Cannot write to file
|
|
587
|
-
```
|
|
588
|
-
|
|
589
|
-
**解决方案:**
|
|
590
|
-
|
|
591
|
-
1. **修复文件权限:**
|
|
592
|
-
```bash
|
|
593
|
-
# 修复项目权限
|
|
594
|
-
chmod -R 755 .
|
|
595
|
-
chmod 600 .env
|
|
596
|
-
|
|
597
|
-
# 修复特定目录
|
|
598
|
-
chmod 755 agents/ tasks/ workflows/
|
|
599
|
-
```
|
|
600
|
-
|
|
601
|
-
2. **检查文件所有权:**
|
|
602
|
-
```bash
|
|
603
|
-
# 查看所有权
|
|
604
|
-
ls -la
|
|
605
|
-
|
|
606
|
-
# 修复所有权(Linux/macOS)
|
|
607
|
-
sudo chown -R $(whoami) .
|
|
608
|
-
```
|
|
609
|
-
|
|
610
|
-
3. **以正确的用户运行:**
|
|
611
|
-
```bash
|
|
612
|
-
# 不要对 npm 使用 sudo
|
|
613
|
-
npm install # ✓ 好
|
|
614
|
-
sudo npm install # ✗ 坏
|
|
615
|
-
```
|
|
616
|
-
|
|
617
|
-
### 问题:敏感数据泄露
|
|
618
|
-
|
|
619
|
-
**症状:**
|
|
620
|
-
- API 密钥在日志中可见
|
|
621
|
-
- 凭证在错误消息中
|
|
622
|
-
|
|
623
|
-
**解决方案:**
|
|
624
|
-
|
|
625
|
-
1. **保护环境变量:**
|
|
626
|
-
```bash
|
|
627
|
-
# 检查 .gitignore
|
|
628
|
-
cat .gitignore | grep .env
|
|
629
|
-
|
|
630
|
-
# 如果缺少则添加
|
|
631
|
-
echo ".env" >> .gitignore
|
|
632
|
-
echo ".sinapse/logs/" >> .gitignore
|
|
633
|
-
```
|
|
634
|
-
|
|
635
|
-
2. **启用安全模式:**
|
|
636
|
-
```bash
|
|
637
|
-
# 启用安全功能
|
|
638
|
-
*config --set security.maskSensitive true
|
|
639
|
-
*config --set security.secureLogging true
|
|
640
|
-
```
|
|
641
|
-
|
|
642
|
-
3. **轮换受损的密钥:**
|
|
643
|
-
```bash
|
|
644
|
-
# 从提供商生成新密钥
|
|
645
|
-
# 更新 .env 文件
|
|
646
|
-
# 清除日志
|
|
647
|
-
rm -rf .sinapse/logs/*
|
|
648
|
-
```
|
|
649
|
-
|
|
650
|
-
## 平台特定问题
|
|
651
|
-
|
|
652
|
-
### Windows 问题
|
|
653
|
-
|
|
654
|
-
#### 问题:路径太长错误
|
|
655
|
-
```
|
|
656
|
-
Error: ENAMETOOLONG
|
|
657
|
-
```
|
|
658
|
-
|
|
659
|
-
**解决方案:**
|
|
660
|
-
```powershell
|
|
661
|
-
# 启用长路径(以管理员身份运行)
|
|
662
|
-
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" `
|
|
663
|
-
-Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
|
|
664
|
-
|
|
665
|
-
# 或使用更短的路径
|
|
666
|
-
cd C:\
|
|
667
|
-
npx @sinapse/sinapse-ai init myapp
|
|
668
|
-
```
|
|
669
|
-
|
|
670
|
-
#### 问题:脚本已禁用
|
|
671
|
-
```
|
|
672
|
-
Error: Scripts is disabled on this system
|
|
673
|
-
```
|
|
674
|
-
|
|
675
|
-
**解决方案:**
|
|
676
|
-
```powershell
|
|
677
|
-
# 以管理员身份运行
|
|
678
|
-
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
|
|
679
|
-
```
|
|
680
|
-
|
|
681
|
-
### macOS 问题
|
|
682
|
-
|
|
683
|
-
#### 问题:命令行工具缺失
|
|
684
|
-
```
|
|
685
|
-
Error: xcrun: error: invalid active developer path
|
|
686
|
-
```
|
|
687
|
-
|
|
688
|
-
**解决方案:**
|
|
689
|
-
```bash
|
|
690
|
-
# 安装 Xcode 命令行工具
|
|
691
|
-
xcode-select --install
|
|
692
|
-
```
|
|
693
|
-
|
|
694
|
-
#### 问题:Gatekeeper 阻止执行
|
|
695
|
-
```
|
|
696
|
-
Error: "@sinapse/sinapse-ai" cannot be opened
|
|
697
|
-
```
|
|
698
|
-
|
|
699
|
-
**解决方案:**
|
|
700
|
-
```bash
|
|
701
|
-
# 允许执行
|
|
702
|
-
sudo spctl --master-disable
|
|
703
|
-
|
|
704
|
-
# 或删除隔离
|
|
705
|
-
xattr -d com.apple.quarantine /usr/local/bin/@sinapse/sinapse-ai
|
|
706
|
-
```
|
|
707
|
-
|
|
708
|
-
### Linux 问题
|
|
709
|
-
|
|
710
|
-
#### 问题:缺少依赖
|
|
711
|
-
```
|
|
712
|
-
Error: libssl.so.1.1: cannot open shared object file
|
|
713
|
-
```
|
|
714
|
-
|
|
715
|
-
**解决方案:**
|
|
716
|
-
```bash
|
|
717
|
-
# Ubuntu/Debian
|
|
718
|
-
sudo apt-get update
|
|
719
|
-
sudo apt-get install libssl-dev
|
|
720
|
-
|
|
721
|
-
# RHEL/CentOS
|
|
722
|
-
sudo yum install openssl-devel
|
|
723
|
-
|
|
724
|
-
# Arch
|
|
725
|
-
sudo pacman -S openssl
|
|
726
|
-
```
|
|
727
|
-
|
|
728
|
-
## 高级故障排除
|
|
729
|
-
|
|
730
|
-
### 启用调试模式
|
|
731
|
-
|
|
732
|
-
```bash
|
|
733
|
-
# 完整的调试输出
|
|
734
|
-
export DEBUG=sinapse:*
|
|
735
|
-
npx @sinapse/sinapse-ai
|
|
736
|
-
|
|
737
|
-
# 特定组件
|
|
738
|
-
export DEBUG=sinapse:memory,sinapse:agent
|
|
739
|
-
```
|
|
740
|
-
|
|
741
|
-
### 分析日志
|
|
742
|
-
|
|
743
|
-
```bash
|
|
744
|
-
# 查看最近的日志
|
|
745
|
-
tail -f .sinapse/logs/sinapse.log
|
|
746
|
-
|
|
747
|
-
# 搜索错误
|
|
748
|
-
grep -i error .sinapse/logs/*.log
|
|
749
|
-
|
|
750
|
-
# 查看结构化日志
|
|
751
|
-
*logs --format json --level error
|
|
752
|
-
```
|
|
753
|
-
|
|
754
|
-
### 创建诊断报告
|
|
755
|
-
|
|
756
|
-
```bash
|
|
757
|
-
# 生成完整诊断
|
|
758
|
-
npx @sinapse/sinapse-ai doctor --report diagnostic.json
|
|
759
|
-
|
|
760
|
-
# 包括系统信息
|
|
761
|
-
npx @sinapse/sinapse-ai info --detailed >> diagnostic.json
|
|
762
|
-
|
|
763
|
-
# 创建支持包
|
|
764
|
-
tar -czf sinapse-support.tar.gz .sinapse/logs diagnostic.json
|
|
765
|
-
```
|
|
766
|
-
|
|
767
|
-
### 性能分析
|
|
768
|
-
|
|
769
|
-
```javascript
|
|
770
|
-
// 在配置中启用分析
|
|
771
|
-
{
|
|
772
|
-
"debug": {
|
|
773
|
-
"profiling": true,
|
|
774
|
-
"profileOutput": ".sinapse/profiles/"
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
```
|
|
778
|
-
|
|
779
|
-
```bash
|
|
780
|
-
# 分析配置文件
|
|
781
|
-
*debug analyze-profile .sinapse/profiles/latest.cpuprofile
|
|
782
|
-
```
|
|
783
|
-
|
|
784
|
-
### 内存转储分析
|
|
785
|
-
|
|
786
|
-
```bash
|
|
787
|
-
# 创建堆快照
|
|
788
|
-
*debug heap-snapshot
|
|
789
|
-
|
|
790
|
-
# 分析内存使用
|
|
791
|
-
*debug memory-report
|
|
792
|
-
|
|
793
|
-
# 查找内存泄漏
|
|
794
|
-
*debug find-leaks
|
|
795
|
-
```
|
|
796
|
-
|
|
797
|
-
## 获取帮助
|
|
798
|
-
|
|
799
|
-
### 寻求帮助前
|
|
800
|
-
|
|
801
|
-
1. **运行诊断:**
|
|
802
|
-
```bash
|
|
803
|
-
npx @sinapse/sinapse-ai doctor --verbose > diagnostic.log
|
|
804
|
-
```
|
|
805
|
-
|
|
806
|
-
2. **收集信息:**
|
|
807
|
-
- Node.js 版本:`node --version`
|
|
808
|
-
- NPM 版本:`npm --version`
|
|
809
|
-
- OS 和版本:`uname -a` 或 `ver`
|
|
810
|
-
- SINAPSE 版本:`npx @sinapse/sinapse-ai version`
|
|
811
|
-
|
|
812
|
-
3. **检查现有问题:**
|
|
813
|
-
- [GitHub Issues](https://github.com/@sinapse/sinapse-ai/@sinapse/sinapse-ai/issues)
|
|
814
|
-
- [讨论](https://github.com/@sinapse/sinapse-ai/@sinapse/sinapse-ai/discussions)
|
|
815
|
-
|
|
816
|
-
### 社区支持
|
|
817
|
-
|
|
818
|
-
- **Discord**:[加入我们的服务器](https://discord.gg/gk8jAdXWmj)
|
|
819
|
-
- `#help` - 常规帮助
|
|
820
|
-
- `#bugs` - 错误报告
|
|
821
|
-
- `#meta-agent` - 元代理特定
|
|
822
|
-
|
|
823
|
-
- **GitHub 讨论**:技术问题和功能请求
|
|
824
|
-
|
|
825
|
-
- **Stack Overflow**:使用 `@sinapse/sinapse-ai` 标签提问
|
|
826
|
-
|
|
827
|
-
### 报告错误
|
|
828
|
-
|
|
829
|
-
创建详细的错误报告:
|
|
830
|
-
|
|
831
|
-
```markdown
|
|
832
|
-
## 环境
|
|
833
|
-
- OS: macOS 13.0
|
|
834
|
-
- Node: 18.17.0
|
|
835
|
-
- SINAPSE: 1.0.0
|
|
836
|
-
|
|
837
|
-
## 重现步骤
|
|
838
|
-
1. 运行 `npx @sinapse/sinapse-ai init test`
|
|
839
|
-
2. 选择"企业"模板
|
|
840
|
-
3. 安装过程中出错
|
|
841
|
-
|
|
842
|
-
## 预期行为
|
|
843
|
-
安装成功完成
|
|
844
|
-
|
|
845
|
-
## 实际行为
|
|
846
|
-
Error: Cannot find module 'inquirer'
|
|
847
|
-
|
|
848
|
-
## 日志
|
|
849
|
-
[附加 diagnostic.log]
|
|
850
|
-
|
|
851
|
-
## 其他上下文
|
|
852
|
-
使用企业代理
|
|
853
|
-
```
|
|
854
|
-
|
|
855
|
-
### 紧急恢复
|
|
856
|
-
|
|
857
|
-
如果一切都失败了:
|
|
858
|
-
|
|
859
|
-
```bash
|
|
860
|
-
# 备份当前状态
|
|
861
|
-
cp -r .sinapse .sinapse.backup
|
|
862
|
-
|
|
863
|
-
# 完全重置
|
|
864
|
-
rm -rf .sinapse node_modules package-lock.json
|
|
865
|
-
npm cache clean --force
|
|
866
|
-
|
|
867
|
-
# 新鲜安装
|
|
868
|
-
npm install
|
|
869
|
-
npx @sinapse/sinapse-ai doctor --fix
|
|
870
|
-
|
|
871
|
-
# 如果需要则恢复数据
|
|
872
|
-
cp .sinapse.backup/memory.db .sinapse/
|
|
873
|
-
```
|
|
874
|
-
|
|
875
|
-
---
|
|
876
|
-
|
|
877
|
-
**记住**:大多数问题可以通过以下方式解决:
|
|
878
|
-
1. `npx @sinapse/sinapse-ai doctor --fix`
|
|
879
|
-
2. 清除缓存
|
|
880
|
-
3. 更新到最新版本
|
|
881
|
-
4. 检查权限
|
|
882
|
-
|
|
883
|
-
有疑问时,社区在这里帮助您!
|