@vinaes/succ 1.3.19
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/LICENSE +87 -0
- package/README.md +588 -0
- package/agents/succ-checkpoint-manager.md +51 -0
- package/agents/succ-code-reviewer.md +181 -0
- package/agents/succ-context-optimizer.md +83 -0
- package/agents/succ-debug.md +224 -0
- package/agents/succ-decision-auditor.md +74 -0
- package/agents/succ-deep-search.md +41 -0
- package/agents/succ-diff-reviewer.md +123 -0
- package/agents/succ-explore.md +83 -0
- package/agents/succ-general.md +109 -0
- package/agents/succ-knowledge-indexer.md +45 -0
- package/agents/succ-knowledge-mapper.md +61 -0
- package/agents/succ-memory-curator.md +43 -0
- package/agents/succ-memory-health-monitor.md +55 -0
- package/agents/succ-pattern-detective.md +62 -0
- package/agents/succ-plan.md +172 -0
- package/agents/succ-quality-improvement-coach.md +63 -0
- package/agents/succ-readiness-improver.md +62 -0
- package/agents/succ-session-handoff-orchestrator.md +54 -0
- package/agents/succ-session-reviewer.md +46 -0
- package/agents/succ-style-tracker.md +73 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +749 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/agents-md.d.ts +16 -0
- package/dist/commands/agents-md.d.ts.map +1 -0
- package/dist/commands/agents-md.js +33 -0
- package/dist/commands/agents-md.js.map +1 -0
- package/dist/commands/analyze-agents.d.ts +20 -0
- package/dist/commands/analyze-agents.d.ts.map +1 -0
- package/dist/commands/analyze-agents.js +305 -0
- package/dist/commands/analyze-agents.js.map +1 -0
- package/dist/commands/analyze-helpers.d.ts +22 -0
- package/dist/commands/analyze-helpers.d.ts.map +1 -0
- package/dist/commands/analyze-helpers.js +38 -0
- package/dist/commands/analyze-helpers.js.map +1 -0
- package/dist/commands/analyze-profile.d.ts +53 -0
- package/dist/commands/analyze-profile.d.ts.map +1 -0
- package/dist/commands/analyze-profile.js +638 -0
- package/dist/commands/analyze-profile.js.map +1 -0
- package/dist/commands/analyze-recursive.d.ts +20 -0
- package/dist/commands/analyze-recursive.d.ts.map +1 -0
- package/dist/commands/analyze-recursive.js +326 -0
- package/dist/commands/analyze-recursive.js.map +1 -0
- package/dist/commands/analyze-utils.d.ts +83 -0
- package/dist/commands/analyze-utils.d.ts.map +1 -0
- package/dist/commands/analyze-utils.js +541 -0
- package/dist/commands/analyze-utils.js.map +1 -0
- package/dist/commands/analyze.d.ts +15 -0
- package/dist/commands/analyze.d.ts.map +1 -0
- package/dist/commands/analyze.js +265 -0
- package/dist/commands/analyze.js.map +1 -0
- package/dist/commands/backfill.d.ts +22 -0
- package/dist/commands/backfill.d.ts.map +1 -0
- package/dist/commands/backfill.js +62 -0
- package/dist/commands/backfill.js.map +1 -0
- package/dist/commands/benchmark-quality.d.ts +18 -0
- package/dist/commands/benchmark-quality.d.ts.map +1 -0
- package/dist/commands/benchmark-quality.js +316 -0
- package/dist/commands/benchmark-quality.js.map +1 -0
- package/dist/commands/benchmark-sqlite-vec.d.ts +12 -0
- package/dist/commands/benchmark-sqlite-vec.d.ts.map +1 -0
- package/dist/commands/benchmark-sqlite-vec.js +281 -0
- package/dist/commands/benchmark-sqlite-vec.js.map +1 -0
- package/dist/commands/benchmark.d.ts +57 -0
- package/dist/commands/benchmark.d.ts.map +1 -0
- package/dist/commands/benchmark.js +682 -0
- package/dist/commands/benchmark.js.map +1 -0
- package/dist/commands/chat.d.ts +14 -0
- package/dist/commands/chat.d.ts.map +1 -0
- package/dist/commands/chat.js +84 -0
- package/dist/commands/chat.js.map +1 -0
- package/dist/commands/checkpoint.d.ts +27 -0
- package/dist/commands/checkpoint.d.ts.map +1 -0
- package/dist/commands/checkpoint.js +181 -0
- package/dist/commands/checkpoint.js.map +1 -0
- package/dist/commands/clear.d.ts +9 -0
- package/dist/commands/clear.d.ts.map +1 -0
- package/dist/commands/clear.js +31 -0
- package/dist/commands/clear.js.map +1 -0
- package/dist/commands/config.d.ts +26 -0
- package/dist/commands/config.d.ts.map +1 -0
- package/dist/commands/config.js +247 -0
- package/dist/commands/config.js.map +1 -0
- package/dist/commands/consolidate.d.ts +21 -0
- package/dist/commands/consolidate.d.ts.map +1 -0
- package/dist/commands/consolidate.js +117 -0
- package/dist/commands/consolidate.js.map +1 -0
- package/dist/commands/daemon.d.ts +48 -0
- package/dist/commands/daemon.d.ts.map +1 -0
- package/dist/commands/daemon.js +218 -0
- package/dist/commands/daemon.js.map +1 -0
- package/dist/commands/embedding.d.ts +26 -0
- package/dist/commands/embedding.d.ts.map +1 -0
- package/dist/commands/embedding.js +168 -0
- package/dist/commands/embedding.js.map +1 -0
- package/dist/commands/graph.d.ts +20 -0
- package/dist/commands/graph.d.ts.map +1 -0
- package/dist/commands/graph.js +128 -0
- package/dist/commands/graph.js.map +1 -0
- package/dist/commands/index-code.d.ts +23 -0
- package/dist/commands/index-code.d.ts.map +1 -0
- package/dist/commands/index-code.js +218 -0
- package/dist/commands/index-code.js.map +1 -0
- package/dist/commands/index.d.ts +23 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/index.js +217 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/commands/init-templates.d.ts +21 -0
- package/dist/commands/init-templates.d.ts.map +1 -0
- package/dist/commands/init-templates.js +487 -0
- package/dist/commands/init-templates.js.map +1 -0
- package/dist/commands/init.d.ts +10 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +865 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/memories.d.ts +47 -0
- package/dist/commands/memories.d.ts.map +1 -0
- package/dist/commands/memories.js +597 -0
- package/dist/commands/memories.js.map +1 -0
- package/dist/commands/migrate.d.ts +19 -0
- package/dist/commands/migrate.d.ts.map +1 -0
- package/dist/commands/migrate.js +154 -0
- package/dist/commands/migrate.js.map +1 -0
- package/dist/commands/prd.d.ts +46 -0
- package/dist/commands/prd.d.ts.map +1 -0
- package/dist/commands/prd.js +378 -0
- package/dist/commands/prd.js.map +1 -0
- package/dist/commands/precompute-context.d.ts +11 -0
- package/dist/commands/precompute-context.d.ts.map +1 -0
- package/dist/commands/precompute-context.js +12 -0
- package/dist/commands/precompute-context.js.map +1 -0
- package/dist/commands/progress.d.ts +16 -0
- package/dist/commands/progress.d.ts.map +1 -0
- package/dist/commands/progress.js +38 -0
- package/dist/commands/progress.js.map +1 -0
- package/dist/commands/reindex.d.ts +17 -0
- package/dist/commands/reindex.d.ts.map +1 -0
- package/dist/commands/reindex.js +83 -0
- package/dist/commands/reindex.js.map +1 -0
- package/dist/commands/retention.d.ts +19 -0
- package/dist/commands/retention.d.ts.map +1 -0
- package/dist/commands/retention.js +162 -0
- package/dist/commands/retention.js.map +1 -0
- package/dist/commands/score.d.ts +10 -0
- package/dist/commands/score.d.ts.map +1 -0
- package/dist/commands/score.js +28 -0
- package/dist/commands/score.js.map +1 -0
- package/dist/commands/search.d.ts +7 -0
- package/dist/commands/search.d.ts.map +1 -0
- package/dist/commands/search.js +89 -0
- package/dist/commands/search.js.map +1 -0
- package/dist/commands/session-summary.d.ts +15 -0
- package/dist/commands/session-summary.d.ts.map +1 -0
- package/dist/commands/session-summary.js +16 -0
- package/dist/commands/session-summary.js.map +1 -0
- package/dist/commands/setup.d.ts +6 -0
- package/dist/commands/setup.d.ts.map +1 -0
- package/dist/commands/setup.js +222 -0
- package/dist/commands/setup.js.map +1 -0
- package/dist/commands/soul.d.ts +9 -0
- package/dist/commands/soul.d.ts.map +1 -0
- package/dist/commands/soul.js +256 -0
- package/dist/commands/soul.js.map +1 -0
- package/dist/commands/stats.d.ts +18 -0
- package/dist/commands/stats.d.ts.map +1 -0
- package/dist/commands/stats.js +138 -0
- package/dist/commands/stats.js.map +1 -0
- package/dist/commands/status.d.ts +2 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +145 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/train-bpe.d.ts +8 -0
- package/dist/commands/train-bpe.d.ts.map +1 -0
- package/dist/commands/train-bpe.js +35 -0
- package/dist/commands/train-bpe.js.map +1 -0
- package/dist/commands/watch.d.ts +22 -0
- package/dist/commands/watch.d.ts.map +1 -0
- package/dist/commands/watch.js +171 -0
- package/dist/commands/watch.js.map +1 -0
- package/dist/daemon/analyzer.d.ts +54 -0
- package/dist/daemon/analyzer.d.ts.map +1 -0
- package/dist/daemon/analyzer.js +362 -0
- package/dist/daemon/analyzer.js.map +1 -0
- package/dist/daemon/client.d.ts +87 -0
- package/dist/daemon/client.d.ts.map +1 -0
- package/dist/daemon/client.js +356 -0
- package/dist/daemon/client.js.map +1 -0
- package/dist/daemon/index.d.ts +12 -0
- package/dist/daemon/index.d.ts.map +1 -0
- package/dist/daemon/index.js +12 -0
- package/dist/daemon/index.js.map +1 -0
- package/dist/daemon/service.d.ts +51 -0
- package/dist/daemon/service.d.ts.map +1 -0
- package/dist/daemon/service.js +1203 -0
- package/dist/daemon/service.js.map +1 -0
- package/dist/daemon/session-processor.d.ts +85 -0
- package/dist/daemon/session-processor.d.ts.map +1 -0
- package/dist/daemon/session-processor.js +571 -0
- package/dist/daemon/session-processor.js.map +1 -0
- package/dist/daemon/sessions.d.ts +62 -0
- package/dist/daemon/sessions.d.ts.map +1 -0
- package/dist/daemon/sessions.js +192 -0
- package/dist/daemon/sessions.js.map +1 -0
- package/dist/daemon/watcher.d.ts +52 -0
- package/dist/daemon/watcher.d.ts.map +1 -0
- package/dist/daemon/watcher.js +363 -0
- package/dist/daemon/watcher.js.map +1 -0
- package/dist/lib/agents-md-generator.d.ts +33 -0
- package/dist/lib/agents-md-generator.d.ts.map +1 -0
- package/dist/lib/agents-md-generator.js +156 -0
- package/dist/lib/agents-md-generator.js.map +1 -0
- package/dist/lib/ai-readiness.d.ts +132 -0
- package/dist/lib/ai-readiness.d.ts.map +1 -0
- package/dist/lib/ai-readiness.js +702 -0
- package/dist/lib/ai-readiness.js.map +1 -0
- package/dist/lib/analyze-state.d.ts +34 -0
- package/dist/lib/analyze-state.d.ts.map +1 -0
- package/dist/lib/analyze-state.js +106 -0
- package/dist/lib/analyze-state.js.map +1 -0
- package/dist/lib/benchmark.d.ts +250 -0
- package/dist/lib/benchmark.d.ts.map +1 -0
- package/dist/lib/benchmark.js +778 -0
- package/dist/lib/benchmark.js.map +1 -0
- package/dist/lib/bm25.d.ts +114 -0
- package/dist/lib/bm25.d.ts.map +1 -0
- package/dist/lib/bm25.js +727 -0
- package/dist/lib/bm25.js.map +1 -0
- package/dist/lib/bpe.d.ts +70 -0
- package/dist/lib/bpe.d.ts.map +1 -0
- package/dist/lib/bpe.js +270 -0
- package/dist/lib/bpe.js.map +1 -0
- package/dist/lib/checkpoint.d.ts +124 -0
- package/dist/lib/checkpoint.d.ts.map +1 -0
- package/dist/lib/checkpoint.js +321 -0
- package/dist/lib/checkpoint.js.map +1 -0
- package/dist/lib/chunker.d.ts +47 -0
- package/dist/lib/chunker.d.ts.map +1 -0
- package/dist/lib/chunker.js +358 -0
- package/dist/lib/chunker.js.map +1 -0
- package/dist/lib/claude-ws-transport.d.ts +76 -0
- package/dist/lib/claude-ws-transport.d.ts.map +1 -0
- package/dist/lib/claude-ws-transport.js +487 -0
- package/dist/lib/claude-ws-transport.js.map +1 -0
- package/dist/lib/compact-briefing.d.ts +22 -0
- package/dist/lib/compact-briefing.d.ts.map +1 -0
- package/dist/lib/compact-briefing.js +180 -0
- package/dist/lib/compact-briefing.js.map +1 -0
- package/dist/lib/config-defaults.d.ts +41 -0
- package/dist/lib/config-defaults.d.ts.map +1 -0
- package/dist/lib/config-defaults.js +99 -0
- package/dist/lib/config-defaults.js.map +1 -0
- package/dist/lib/config-display.d.ts +16 -0
- package/dist/lib/config-display.d.ts.map +1 -0
- package/dist/lib/config-display.js +408 -0
- package/dist/lib/config-display.js.map +1 -0
- package/dist/lib/config-types.d.ts +601 -0
- package/dist/lib/config-types.d.ts.map +1 -0
- package/dist/lib/config-types.js +7 -0
- package/dist/lib/config-types.js.map +1 -0
- package/dist/lib/config-validation.d.ts +19 -0
- package/dist/lib/config-validation.d.ts.map +1 -0
- package/dist/lib/config-validation.js +136 -0
- package/dist/lib/config-validation.js.map +1 -0
- package/dist/lib/config.d.ts +143 -0
- package/dist/lib/config.d.ts.map +1 -0
- package/dist/lib/config.js +689 -0
- package/dist/lib/config.js.map +1 -0
- package/dist/lib/consolidate.d.ts +115 -0
- package/dist/lib/consolidate.d.ts.map +1 -0
- package/dist/lib/consolidate.js +600 -0
- package/dist/lib/consolidate.js.map +1 -0
- package/dist/lib/db/bm25-indexes.d.ts +58 -0
- package/dist/lib/db/bm25-indexes.d.ts.map +1 -0
- package/dist/lib/db/bm25-indexes.js +333 -0
- package/dist/lib/db/bm25-indexes.js.map +1 -0
- package/dist/lib/db/bpe.d.ts +18 -0
- package/dist/lib/db/bpe.d.ts.map +1 -0
- package/dist/lib/db/bpe.js +44 -0
- package/dist/lib/db/bpe.js.map +1 -0
- package/dist/lib/db/connection.d.ts +47 -0
- package/dist/lib/db/connection.d.ts.map +1 -0
- package/dist/lib/db/connection.js +114 -0
- package/dist/lib/db/connection.js.map +1 -0
- package/dist/lib/db/documents.d.ts +58 -0
- package/dist/lib/db/documents.d.ts.map +1 -0
- package/dist/lib/db/documents.js +374 -0
- package/dist/lib/db/documents.js.map +1 -0
- package/dist/lib/db/file-hash.d.ts +26 -0
- package/dist/lib/db/file-hash.d.ts.map +1 -0
- package/dist/lib/db/file-hash.js +56 -0
- package/dist/lib/db/file-hash.js.map +1 -0
- package/dist/lib/db/global-memories.d.ts +62 -0
- package/dist/lib/db/global-memories.d.ts.map +1 -0
- package/dist/lib/db/global-memories.js +173 -0
- package/dist/lib/db/global-memories.js.map +1 -0
- package/dist/lib/db/graph.d.ts +163 -0
- package/dist/lib/db/graph.d.ts.map +1 -0
- package/dist/lib/db/graph.js +488 -0
- package/dist/lib/db/graph.js.map +1 -0
- package/dist/lib/db/helpers.d.ts +13 -0
- package/dist/lib/db/helpers.d.ts.map +1 -0
- package/dist/lib/db/helpers.js +21 -0
- package/dist/lib/db/helpers.js.map +1 -0
- package/dist/lib/db/hybrid-search.d.ts +64 -0
- package/dist/lib/db/hybrid-search.d.ts.map +1 -0
- package/dist/lib/db/hybrid-search.js +549 -0
- package/dist/lib/db/hybrid-search.js.map +1 -0
- package/dist/lib/db/index.d.ts +23 -0
- package/dist/lib/db/index.d.ts.map +1 -0
- package/dist/lib/db/index.js +23 -0
- package/dist/lib/db/index.js.map +1 -0
- package/dist/lib/db/memories.d.ts +174 -0
- package/dist/lib/db/memories.d.ts.map +1 -0
- package/dist/lib/db/memories.js +866 -0
- package/dist/lib/db/memories.js.map +1 -0
- package/dist/lib/db/retention.d.ts +64 -0
- package/dist/lib/db/retention.d.ts.map +1 -0
- package/dist/lib/db/retention.js +115 -0
- package/dist/lib/db/retention.js.map +1 -0
- package/dist/lib/db/schema.d.ts +29 -0
- package/dist/lib/db/schema.d.ts.map +1 -0
- package/dist/lib/db/schema.js +832 -0
- package/dist/lib/db/schema.js.map +1 -0
- package/dist/lib/db/skills.d.ts +65 -0
- package/dist/lib/db/skills.d.ts.map +1 -0
- package/dist/lib/db/skills.js +119 -0
- package/dist/lib/db/skills.js.map +1 -0
- package/dist/lib/db/token-frequency.d.ts +34 -0
- package/dist/lib/db/token-frequency.d.ts.map +1 -0
- package/dist/lib/db/token-frequency.js +92 -0
- package/dist/lib/db/token-frequency.js.map +1 -0
- package/dist/lib/db/token-stats.d.ts +43 -0
- package/dist/lib/db/token-stats.d.ts.map +1 -0
- package/dist/lib/db/token-stats.js +59 -0
- package/dist/lib/db/token-stats.js.map +1 -0
- package/dist/lib/db/types.d.ts +57 -0
- package/dist/lib/db/types.d.ts.map +1 -0
- package/dist/lib/db/types.js +5 -0
- package/dist/lib/db/types.js.map +1 -0
- package/dist/lib/db/web-search-history.d.ts +22 -0
- package/dist/lib/db/web-search-history.d.ts.map +1 -0
- package/dist/lib/db/web-search-history.js +107 -0
- package/dist/lib/db/web-search-history.js.map +1 -0
- package/dist/lib/debug/state.d.ts +17 -0
- package/dist/lib/debug/state.d.ts.map +1 -0
- package/dist/lib/debug/state.js +131 -0
- package/dist/lib/debug/state.js.map +1 -0
- package/dist/lib/debug/types.d.ts +74 -0
- package/dist/lib/debug/types.d.ts.map +1 -0
- package/dist/lib/debug/types.js +85 -0
- package/dist/lib/debug/types.js.map +1 -0
- package/dist/lib/embedding-pool.d.ts +37 -0
- package/dist/lib/embedding-pool.d.ts.map +1 -0
- package/dist/lib/embedding-pool.js +159 -0
- package/dist/lib/embedding-pool.js.map +1 -0
- package/dist/lib/embedding-worker.d.ts +7 -0
- package/dist/lib/embedding-worker.d.ts.map +1 -0
- package/dist/lib/embedding-worker.js +49 -0
- package/dist/lib/embedding-worker.js.map +1 -0
- package/dist/lib/embeddings.d.ts +54 -0
- package/dist/lib/embeddings.d.ts.map +1 -0
- package/dist/lib/embeddings.js +437 -0
- package/dist/lib/embeddings.js.map +1 -0
- package/dist/lib/errors.d.ts +40 -0
- package/dist/lib/errors.d.ts.map +1 -0
- package/dist/lib/errors.js +66 -0
- package/dist/lib/errors.js.map +1 -0
- package/dist/lib/fault-logger.d.ts +35 -0
- package/dist/lib/fault-logger.d.ts.map +1 -0
- package/dist/lib/fault-logger.js +182 -0
- package/dist/lib/fault-logger.js.map +1 -0
- package/dist/lib/graph/centrality.d.ts +34 -0
- package/dist/lib/graph/centrality.d.ts.map +1 -0
- package/dist/lib/graph/centrality.js +76 -0
- package/dist/lib/graph/centrality.js.map +1 -0
- package/dist/lib/graph/cleanup.d.ts +36 -0
- package/dist/lib/graph/cleanup.d.ts.map +1 -0
- package/dist/lib/graph/cleanup.js +96 -0
- package/dist/lib/graph/cleanup.js.map +1 -0
- package/dist/lib/graph/community-detection.d.ts +61 -0
- package/dist/lib/graph/community-detection.d.ts.map +1 -0
- package/dist/lib/graph/community-detection.js +218 -0
- package/dist/lib/graph/community-detection.js.map +1 -0
- package/dist/lib/graph/contextual-proximity.d.ts +41 -0
- package/dist/lib/graph/contextual-proximity.d.ts.map +1 -0
- package/dist/lib/graph/contextual-proximity.js +125 -0
- package/dist/lib/graph/contextual-proximity.js.map +1 -0
- package/dist/lib/graph/llm-relations.d.ts +54 -0
- package/dist/lib/graph/llm-relations.d.ts.map +1 -0
- package/dist/lib/graph/llm-relations.js +265 -0
- package/dist/lib/graph/llm-relations.js.map +1 -0
- package/dist/lib/graph-export.d.ts +13 -0
- package/dist/lib/graph-export.d.ts.map +1 -0
- package/dist/lib/graph-export.js +637 -0
- package/dist/lib/graph-export.js.map +1 -0
- package/dist/lib/graph-scheduler.d.ts +7 -0
- package/dist/lib/graph-scheduler.d.ts.map +1 -0
- package/dist/lib/graph-scheduler.js +21 -0
- package/dist/lib/graph-scheduler.js.map +1 -0
- package/dist/lib/indexer.d.ts +36 -0
- package/dist/lib/indexer.d.ts.map +1 -0
- package/dist/lib/indexer.js +226 -0
- package/dist/lib/indexer.js.map +1 -0
- package/dist/lib/learning-delta.d.ts +35 -0
- package/dist/lib/learning-delta.d.ts.map +1 -0
- package/dist/lib/learning-delta.js +53 -0
- package/dist/lib/learning-delta.js.map +1 -0
- package/dist/lib/llm.d.ts +118 -0
- package/dist/lib/llm.d.ts.map +1 -0
- package/dist/lib/llm.js +439 -0
- package/dist/lib/llm.js.map +1 -0
- package/dist/lib/lock.d.ts +27 -0
- package/dist/lib/lock.d.ts.map +1 -0
- package/dist/lib/lock.js +143 -0
- package/dist/lib/lock.js.map +1 -0
- package/dist/lib/md-fetch.d.ts +61 -0
- package/dist/lib/md-fetch.d.ts.map +1 -0
- package/dist/lib/md-fetch.js +141 -0
- package/dist/lib/md-fetch.js.map +1 -0
- package/dist/lib/mmr.d.ts +29 -0
- package/dist/lib/mmr.d.ts.map +1 -0
- package/dist/lib/mmr.js +89 -0
- package/dist/lib/mmr.js.map +1 -0
- package/dist/lib/onboarding/ai-chat.d.ts +11 -0
- package/dist/lib/onboarding/ai-chat.d.ts.map +1 -0
- package/dist/lib/onboarding/ai-chat.js +85 -0
- package/dist/lib/onboarding/ai-chat.js.map +1 -0
- package/dist/lib/onboarding/index.d.ts +7 -0
- package/dist/lib/onboarding/index.d.ts.map +1 -0
- package/dist/lib/onboarding/index.js +7 -0
- package/dist/lib/onboarding/index.js.map +1 -0
- package/dist/lib/onboarding/wizard.d.ts +11 -0
- package/dist/lib/onboarding/wizard.d.ts.map +1 -0
- package/dist/lib/onboarding/wizard.js +104 -0
- package/dist/lib/onboarding/wizard.js.map +1 -0
- package/dist/lib/ort-provider.d.ts +27 -0
- package/dist/lib/ort-provider.d.ts.map +1 -0
- package/dist/lib/ort-provider.js +83 -0
- package/dist/lib/ort-provider.js.map +1 -0
- package/dist/lib/ort-session.d.ts +32 -0
- package/dist/lib/ort-session.d.ts.map +1 -0
- package/dist/lib/ort-session.js +227 -0
- package/dist/lib/ort-session.js.map +1 -0
- package/dist/lib/patterns.d.ts +43 -0
- package/dist/lib/patterns.d.ts.map +1 -0
- package/dist/lib/patterns.js +395 -0
- package/dist/lib/patterns.js.map +1 -0
- package/dist/lib/prd/codebase-context.d.ts +27 -0
- package/dist/lib/prd/codebase-context.d.ts.map +1 -0
- package/dist/lib/prd/codebase-context.js +420 -0
- package/dist/lib/prd/codebase-context.js.map +1 -0
- package/dist/lib/prd/context.d.ts +24 -0
- package/dist/lib/prd/context.d.ts.map +1 -0
- package/dist/lib/prd/context.js +68 -0
- package/dist/lib/prd/context.js.map +1 -0
- package/dist/lib/prd/executor.d.ts +52 -0
- package/dist/lib/prd/executor.d.ts.map +1 -0
- package/dist/lib/prd/executor.js +154 -0
- package/dist/lib/prd/executor.js.map +1 -0
- package/dist/lib/prd/export.d.ts +40 -0
- package/dist/lib/prd/export.d.ts.map +1 -0
- package/dist/lib/prd/export.js +511 -0
- package/dist/lib/prd/export.js.map +1 -0
- package/dist/lib/prd/gates.d.ts +30 -0
- package/dist/lib/prd/gates.d.ts.map +1 -0
- package/dist/lib/prd/gates.js +100 -0
- package/dist/lib/prd/gates.js.map +1 -0
- package/dist/lib/prd/generate.d.ts +56 -0
- package/dist/lib/prd/generate.d.ts.map +1 -0
- package/dist/lib/prd/generate.js +357 -0
- package/dist/lib/prd/generate.js.map +1 -0
- package/dist/lib/prd/parse.d.ts +21 -0
- package/dist/lib/prd/parse.d.ts.map +1 -0
- package/dist/lib/prd/parse.js +270 -0
- package/dist/lib/prd/parse.js.map +1 -0
- package/dist/lib/prd/prompt-builder.d.ts +18 -0
- package/dist/lib/prd/prompt-builder.d.ts.map +1 -0
- package/dist/lib/prd/prompt-builder.js +61 -0
- package/dist/lib/prd/prompt-builder.js.map +1 -0
- package/dist/lib/prd/runner.d.ts +54 -0
- package/dist/lib/prd/runner.d.ts.map +1 -0
- package/dist/lib/prd/runner.js +563 -0
- package/dist/lib/prd/runner.js.map +1 -0
- package/dist/lib/prd/scheduler.d.ts +27 -0
- package/dist/lib/prd/scheduler.d.ts.map +1 -0
- package/dist/lib/prd/scheduler.js +113 -0
- package/dist/lib/prd/scheduler.js.map +1 -0
- package/dist/lib/prd/state.d.ts +77 -0
- package/dist/lib/prd/state.d.ts.map +1 -0
- package/dist/lib/prd/state.js +253 -0
- package/dist/lib/prd/state.js.map +1 -0
- package/dist/lib/prd/team-runner.d.ts +48 -0
- package/dist/lib/prd/team-runner.d.ts.map +1 -0
- package/dist/lib/prd/team-runner.js +261 -0
- package/dist/lib/prd/team-runner.js.map +1 -0
- package/dist/lib/prd/types.d.ts +169 -0
- package/dist/lib/prd/types.d.ts.map +1 -0
- package/dist/lib/prd/types.js +143 -0
- package/dist/lib/prd/types.js.map +1 -0
- package/dist/lib/prd/worktree.d.ts +54 -0
- package/dist/lib/prd/worktree.d.ts.map +1 -0
- package/dist/lib/prd/worktree.js +255 -0
- package/dist/lib/prd/worktree.js.map +1 -0
- package/dist/lib/precompute-context.d.ts +48 -0
- package/dist/lib/precompute-context.d.ts.map +1 -0
- package/dist/lib/precompute-context.js +265 -0
- package/dist/lib/precompute-context.js.map +1 -0
- package/dist/lib/pricing.d.ts +60 -0
- package/dist/lib/pricing.d.ts.map +1 -0
- package/dist/lib/pricing.js +258 -0
- package/dist/lib/pricing.js.map +1 -0
- package/dist/lib/process-registry.d.ts +30 -0
- package/dist/lib/process-registry.d.ts.map +1 -0
- package/dist/lib/process-registry.js +92 -0
- package/dist/lib/process-registry.js.map +1 -0
- package/dist/lib/progress-log.d.ts +44 -0
- package/dist/lib/progress-log.d.ts.map +1 -0
- package/dist/lib/progress-log.js +58 -0
- package/dist/lib/progress-log.js.map +1 -0
- package/dist/lib/public-api.d.ts +56 -0
- package/dist/lib/public-api.d.ts.map +1 -0
- package/dist/lib/public-api.js +63 -0
- package/dist/lib/public-api.js.map +1 -0
- package/dist/lib/quality.d.ts +66 -0
- package/dist/lib/quality.d.ts.map +1 -0
- package/dist/lib/quality.js +486 -0
- package/dist/lib/quality.js.map +1 -0
- package/dist/lib/query-expansion.d.ts +16 -0
- package/dist/lib/query-expansion.d.ts.map +1 -0
- package/dist/lib/query-expansion.js +53 -0
- package/dist/lib/query-expansion.js.map +1 -0
- package/dist/lib/readiness.d.ts +35 -0
- package/dist/lib/readiness.d.ts.map +1 -0
- package/dist/lib/readiness.js +142 -0
- package/dist/lib/readiness.js.map +1 -0
- package/dist/lib/reference-embeddings.d.ts +39 -0
- package/dist/lib/reference-embeddings.d.ts.map +1 -0
- package/dist/lib/reference-embeddings.js +95 -0
- package/dist/lib/reference-embeddings.js.map +1 -0
- package/dist/lib/reflection-synthesizer.d.ts +27 -0
- package/dist/lib/reflection-synthesizer.d.ts.map +1 -0
- package/dist/lib/reflection-synthesizer.js +149 -0
- package/dist/lib/reflection-synthesizer.js.map +1 -0
- package/dist/lib/retention.d.ts +105 -0
- package/dist/lib/retention.d.ts.map +1 -0
- package/dist/lib/retention.js +246 -0
- package/dist/lib/retention.js.map +1 -0
- package/dist/lib/sensitive-filter.d.ts +34 -0
- package/dist/lib/sensitive-filter.d.ts.map +1 -0
- package/dist/lib/sensitive-filter.js +344 -0
- package/dist/lib/sensitive-filter.js.map +1 -0
- package/dist/lib/session-observations.d.ts +59 -0
- package/dist/lib/session-observations.d.ts.map +1 -0
- package/dist/lib/session-observations.js +128 -0
- package/dist/lib/session-observations.js.map +1 -0
- package/dist/lib/session-summary.d.ts +65 -0
- package/dist/lib/session-summary.d.ts.map +1 -0
- package/dist/lib/session-summary.js +344 -0
- package/dist/lib/session-summary.js.map +1 -0
- package/dist/lib/similarity-worker.d.ts +7 -0
- package/dist/lib/similarity-worker.d.ts.map +1 -0
- package/dist/lib/similarity-worker.js +36 -0
- package/dist/lib/similarity-worker.js.map +1 -0
- package/dist/lib/skills.d.ts +78 -0
- package/dist/lib/skills.d.ts.map +1 -0
- package/dist/lib/skills.js +439 -0
- package/dist/lib/skills.js.map +1 -0
- package/dist/lib/skyll-client.d.ts +59 -0
- package/dist/lib/skyll-client.d.ts.map +1 -0
- package/dist/lib/skyll-client.js +257 -0
- package/dist/lib/skyll-client.js.map +1 -0
- package/dist/lib/storage/backends/interface.d.ts +383 -0
- package/dist/lib/storage/backends/interface.d.ts.map +1 -0
- package/dist/lib/storage/backends/interface.js +12 -0
- package/dist/lib/storage/backends/interface.js.map +1 -0
- package/dist/lib/storage/backends/postgresql.d.ts +454 -0
- package/dist/lib/storage/backends/postgresql.d.ts.map +1 -0
- package/dist/lib/storage/backends/postgresql.js +2528 -0
- package/dist/lib/storage/backends/postgresql.js.map +1 -0
- package/dist/lib/storage/benchmark.d.ts +16 -0
- package/dist/lib/storage/benchmark.d.ts.map +1 -0
- package/dist/lib/storage/benchmark.js +219 -0
- package/dist/lib/storage/benchmark.js.map +1 -0
- package/dist/lib/storage/dispatcher-export.d.ts +108 -0
- package/dist/lib/storage/dispatcher-export.d.ts.map +1 -0
- package/dist/lib/storage/dispatcher-export.js +593 -0
- package/dist/lib/storage/dispatcher-export.js.map +1 -0
- package/dist/lib/storage/dispatcher.d.ts +468 -0
- package/dist/lib/storage/dispatcher.d.ts.map +1 -0
- package/dist/lib/storage/dispatcher.js +1926 -0
- package/dist/lib/storage/dispatcher.js.map +1 -0
- package/dist/lib/storage/index.d.ts +481 -0
- package/dist/lib/storage/index.d.ts.map +1 -0
- package/dist/lib/storage/index.js +727 -0
- package/dist/lib/storage/index.js.map +1 -0
- package/dist/lib/storage/migration/export-import.d.ts +133 -0
- package/dist/lib/storage/migration/export-import.d.ts.map +1 -0
- package/dist/lib/storage/migration/export-import.js +264 -0
- package/dist/lib/storage/migration/export-import.js.map +1 -0
- package/dist/lib/storage/types.d.ts +313 -0
- package/dist/lib/storage/types.d.ts.map +1 -0
- package/dist/lib/storage/types.js +30 -0
- package/dist/lib/storage/types.js.map +1 -0
- package/dist/lib/storage/vector/interface.d.ts +89 -0
- package/dist/lib/storage/vector/interface.d.ts.map +1 -0
- package/dist/lib/storage/vector/interface.js +10 -0
- package/dist/lib/storage/vector/interface.js.map +1 -0
- package/dist/lib/storage/vector/qdrant.d.ts +221 -0
- package/dist/lib/storage/vector/qdrant.d.ts.map +1 -0
- package/dist/lib/storage/vector/qdrant.js +880 -0
- package/dist/lib/storage/vector/qdrant.js.map +1 -0
- package/dist/lib/supersession.d.ts +26 -0
- package/dist/lib/supersession.d.ts.map +1 -0
- package/dist/lib/supersession.js +97 -0
- package/dist/lib/supersession.js.map +1 -0
- package/dist/lib/temporal.d.ts +140 -0
- package/dist/lib/temporal.d.ts.map +1 -0
- package/dist/lib/temporal.js +303 -0
- package/dist/lib/temporal.js.map +1 -0
- package/dist/lib/token-budget.d.ts +79 -0
- package/dist/lib/token-budget.d.ts.map +1 -0
- package/dist/lib/token-budget.js +146 -0
- package/dist/lib/token-budget.js.map +1 -0
- package/dist/lib/token-counter.d.ts +27 -0
- package/dist/lib/token-counter.d.ts.map +1 -0
- package/dist/lib/token-counter.js +52 -0
- package/dist/lib/token-counter.js.map +1 -0
- package/dist/lib/tree-sitter/chunker-ts.d.ts +24 -0
- package/dist/lib/tree-sitter/chunker-ts.d.ts.map +1 -0
- package/dist/lib/tree-sitter/chunker-ts.js +206 -0
- package/dist/lib/tree-sitter/chunker-ts.js.map +1 -0
- package/dist/lib/tree-sitter/extractor.d.ts +43 -0
- package/dist/lib/tree-sitter/extractor.d.ts.map +1 -0
- package/dist/lib/tree-sitter/extractor.js +297 -0
- package/dist/lib/tree-sitter/extractor.js.map +1 -0
- package/dist/lib/tree-sitter/index.d.ts +13 -0
- package/dist/lib/tree-sitter/index.d.ts.map +1 -0
- package/dist/lib/tree-sitter/index.js +14 -0
- package/dist/lib/tree-sitter/index.js.map +1 -0
- package/dist/lib/tree-sitter/parser.d.ts +70 -0
- package/dist/lib/tree-sitter/parser.d.ts.map +1 -0
- package/dist/lib/tree-sitter/parser.js +354 -0
- package/dist/lib/tree-sitter/parser.js.map +1 -0
- package/dist/lib/tree-sitter/public.d.ts +28 -0
- package/dist/lib/tree-sitter/public.d.ts.map +1 -0
- package/dist/lib/tree-sitter/public.js +50 -0
- package/dist/lib/tree-sitter/public.js.map +1 -0
- package/dist/lib/tree-sitter/queries.d.ts +28 -0
- package/dist/lib/tree-sitter/queries.d.ts.map +1 -0
- package/dist/lib/tree-sitter/queries.js +383 -0
- package/dist/lib/tree-sitter/queries.js.map +1 -0
- package/dist/lib/tree-sitter/types.d.ts +69 -0
- package/dist/lib/tree-sitter/types.d.ts.map +1 -0
- package/dist/lib/tree-sitter/types.js +131 -0
- package/dist/lib/tree-sitter/types.js.map +1 -0
- package/dist/lib/working-memory-pipeline.d.ts +118 -0
- package/dist/lib/working-memory-pipeline.d.ts.map +1 -0
- package/dist/lib/working-memory-pipeline.js +344 -0
- package/dist/lib/working-memory-pipeline.js.map +1 -0
- package/dist/mcp/helpers.d.ts +44 -0
- package/dist/mcp/helpers.d.ts.map +1 -0
- package/dist/mcp/helpers.js +244 -0
- package/dist/mcp/helpers.js.map +1 -0
- package/dist/mcp/index.d.ts +10 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +15 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/resources.d.ts +12 -0
- package/dist/mcp/resources.d.ts.map +1 -0
- package/dist/mcp/resources.js +136 -0
- package/dist/mcp/resources.js.map +1 -0
- package/dist/mcp/server.d.ts +22 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +131 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/tools/config.d.ts +10 -0
- package/dist/mcp/tools/config.d.ts.map +1 -0
- package/dist/mcp/tools/config.js +236 -0
- package/dist/mcp/tools/config.js.map +1 -0
- package/dist/mcp/tools/dead-end.d.ts +9 -0
- package/dist/mcp/tools/dead-end.d.ts.map +1 -0
- package/dist/mcp/tools/dead-end.js +137 -0
- package/dist/mcp/tools/dead-end.js.map +1 -0
- package/dist/mcp/tools/debug.d.ts +9 -0
- package/dist/mcp/tools/debug.d.ts.map +1 -0
- package/dist/mcp/tools/debug.js +387 -0
- package/dist/mcp/tools/debug.js.map +1 -0
- package/dist/mcp/tools/graph.d.ts +9 -0
- package/dist/mcp/tools/graph.d.ts.map +1 -0
- package/dist/mcp/tools/graph.js +337 -0
- package/dist/mcp/tools/graph.js.map +1 -0
- package/dist/mcp/tools/indexing.d.ts +12 -0
- package/dist/mcp/tools/indexing.d.ts.map +1 -0
- package/dist/mcp/tools/indexing.js +289 -0
- package/dist/mcp/tools/indexing.js.map +1 -0
- package/dist/mcp/tools/memory.d.ts +14 -0
- package/dist/mcp/tools/memory.d.ts.map +1 -0
- package/dist/mcp/tools/memory.js +1170 -0
- package/dist/mcp/tools/memory.js.map +1 -0
- package/dist/mcp/tools/prd.d.ts +12 -0
- package/dist/mcp/tools/prd.d.ts.map +1 -0
- package/dist/mcp/tools/prd.js +276 -0
- package/dist/mcp/tools/prd.js.map +1 -0
- package/dist/mcp/tools/search.d.ts +9 -0
- package/dist/mcp/tools/search.d.ts.map +1 -0
- package/dist/mcp/tools/search.js +279 -0
- package/dist/mcp/tools/search.js.map +1 -0
- package/dist/mcp/tools/status.d.ts +10 -0
- package/dist/mcp/tools/status.d.ts.map +1 -0
- package/dist/mcp/tools/status.js +296 -0
- package/dist/mcp/tools/status.js.map +1 -0
- package/dist/mcp/tools/web-fetch.d.ts +10 -0
- package/dist/mcp/tools/web-fetch.d.ts.map +1 -0
- package/dist/mcp/tools/web-fetch.js +107 -0
- package/dist/mcp/tools/web-fetch.js.map +1 -0
- package/dist/mcp/tools/web-search.d.ts +14 -0
- package/dist/mcp/tools/web-search.d.ts.map +1 -0
- package/dist/mcp/tools/web-search.js +427 -0
- package/dist/mcp/tools/web-search.js.map +1 -0
- package/dist/mcp/types.d.ts +16 -0
- package/dist/mcp/types.d.ts.map +1 -0
- package/dist/mcp/types.js +5 -0
- package/dist/mcp/types.js.map +1 -0
- package/dist/mcp-server.d.ts +9 -0
- package/dist/mcp-server.d.ts.map +1 -0
- package/dist/mcp-server.js +9 -0
- package/dist/mcp-server.js.map +1 -0
- package/dist/prompts/analyze.d.ts +21 -0
- package/dist/prompts/analyze.d.ts.map +1 -0
- package/dist/prompts/analyze.js +27 -0
- package/dist/prompts/analyze.js.map +1 -0
- package/dist/prompts/briefing.d.ts +27 -0
- package/dist/prompts/briefing.d.ts.map +1 -0
- package/dist/prompts/briefing.js +123 -0
- package/dist/prompts/briefing.js.map +1 -0
- package/dist/prompts/chat.d.ts +8 -0
- package/dist/prompts/chat.d.ts.map +1 -0
- package/dist/prompts/chat.js +39 -0
- package/dist/prompts/chat.js.map +1 -0
- package/dist/prompts/daemon.d.ts +16 -0
- package/dist/prompts/daemon.d.ts.map +1 -0
- package/dist/prompts/daemon.js +46 -0
- package/dist/prompts/daemon.js.map +1 -0
- package/dist/prompts/extraction.d.ts +13 -0
- package/dist/prompts/extraction.d.ts.map +1 -0
- package/dist/prompts/extraction.js +93 -0
- package/dist/prompts/extraction.js.map +1 -0
- package/dist/prompts/index.d.ts +17 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +27 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/prompts/memory.d.ts +11 -0
- package/dist/prompts/memory.d.ts.map +1 -0
- package/dist/prompts/memory.js +23 -0
- package/dist/prompts/memory.js.map +1 -0
- package/dist/prompts/onboarding.d.ts +16 -0
- package/dist/prompts/onboarding.d.ts.map +1 -0
- package/dist/prompts/onboarding.js +183 -0
- package/dist/prompts/onboarding.js.map +1 -0
- package/dist/prompts/prd.d.ts +12 -0
- package/dist/prompts/prd.d.ts.map +1 -0
- package/dist/prompts/prd.js +211 -0
- package/dist/prompts/prd.js.map +1 -0
- package/dist/prompts/quality.d.ts +11 -0
- package/dist/prompts/quality.d.ts.map +1 -0
- package/dist/prompts/quality.js +11 -0
- package/dist/prompts/quality.js.map +1 -0
- package/dist/prompts/skills.d.ts +16 -0
- package/dist/prompts/skills.d.ts.map +1 -0
- package/dist/prompts/skills.js +30 -0
- package/dist/prompts/skills.js.map +1 -0
- package/hooks/succ-post-tool.cjs +227 -0
- package/hooks/succ-pre-tool.cjs +312 -0
- package/hooks/succ-session-end.cjs +85 -0
- package/hooks/succ-session-start.cjs +618 -0
- package/hooks/succ-stop-reflection.cjs +87 -0
- package/hooks/succ-user-prompt.cjs +220 -0
- package/package.json +128 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Functional Source License, Version 1.1, Apache 2.0 Future License
|
|
2
|
+
|
|
3
|
+
## Abbreviation
|
|
4
|
+
|
|
5
|
+
FSL-1.1-Apache-2.0
|
|
6
|
+
|
|
7
|
+
## Notice
|
|
8
|
+
|
|
9
|
+
Copyright 2025 Vinaes Code Ltd.
|
|
10
|
+
|
|
11
|
+
## Terms and Conditions
|
|
12
|
+
|
|
13
|
+
### Licensor ("We")
|
|
14
|
+
|
|
15
|
+
The party offering the Software under these Terms and Conditions.
|
|
16
|
+
|
|
17
|
+
### The Software
|
|
18
|
+
|
|
19
|
+
The "Software" is each version of the software that we make available under
|
|
20
|
+
these Terms and Conditions, as indicated by our inclusion of these Terms and
|
|
21
|
+
Conditions with the Software.
|
|
22
|
+
|
|
23
|
+
### License Grant
|
|
24
|
+
|
|
25
|
+
Subject to your compliance with this License Grant and the Patents,
|
|
26
|
+
Redistribution and Trademark clauses below, we hereby grant you the right to
|
|
27
|
+
use, copy, modify, create derivative works, publicly perform, publicly display
|
|
28
|
+
and redistribute the Software for any Permitted Purpose identified below.
|
|
29
|
+
|
|
30
|
+
### Permitted Purpose
|
|
31
|
+
|
|
32
|
+
A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
|
|
33
|
+
means making the Software available to others as a commercial cloud-hosted
|
|
34
|
+
service that is substantially similar to the functionality of the Software.
|
|
35
|
+
|
|
36
|
+
### Patents
|
|
37
|
+
|
|
38
|
+
To the extent your use for a Permitted Purpose would necessarily infringe our
|
|
39
|
+
patents, the license grant above includes a license under our patents. If you
|
|
40
|
+
make a claim against any party that the Software infringes or contributes to
|
|
41
|
+
the infringement of any patent, then your patent license to the Software ends
|
|
42
|
+
immediately.
|
|
43
|
+
|
|
44
|
+
### Redistribution
|
|
45
|
+
|
|
46
|
+
The Terms and Conditions apply to all copies, modifications and derivatives of
|
|
47
|
+
the Software.
|
|
48
|
+
|
|
49
|
+
If you redistribute any copies, modifications or derivatives of the Software,
|
|
50
|
+
you must include a copy of or a link to these Terms and Conditions and not
|
|
51
|
+
remove any copyright notices provided in or with the Software.
|
|
52
|
+
|
|
53
|
+
### Disclaimer
|
|
54
|
+
|
|
55
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
|
|
56
|
+
IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
|
|
57
|
+
PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
|
|
58
|
+
|
|
59
|
+
IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
|
|
60
|
+
SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
|
|
61
|
+
EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
|
|
62
|
+
|
|
63
|
+
### Trademarks
|
|
64
|
+
|
|
65
|
+
Except for displaying the License Details and identifying us as the origin of
|
|
66
|
+
the Software, you have no right under these Terms and Conditions to use our
|
|
67
|
+
trademarks, trade names, service marks or product names.
|
|
68
|
+
|
|
69
|
+
## Grant of Future License
|
|
70
|
+
|
|
71
|
+
We hereby irrevocably grant you an additional license to use the Software under
|
|
72
|
+
the Apache License, Version 2.0 that is effective on the second anniversary of
|
|
73
|
+
the date we make the Software available. On or after that date, you may use the
|
|
74
|
+
Software under the Apache License, Version 2.0, in which case the following
|
|
75
|
+
will apply:
|
|
76
|
+
|
|
77
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
78
|
+
this file except in compliance with the License.
|
|
79
|
+
|
|
80
|
+
You may obtain a copy of the License at
|
|
81
|
+
|
|
82
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
83
|
+
|
|
84
|
+
Unless required by applicable law or agreed to in writing, software distributed
|
|
85
|
+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
86
|
+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
87
|
+
specific language governing permissions and limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,588 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://img.shields.io/badge/●%20succ-semantic%20memory-3fb950?style=for-the-badge&labelColor=0d1117" alt="succ">
|
|
3
|
+
<br/><br/>
|
|
4
|
+
<em>Semantic Understanding for Code Contexts</em>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="https://www.npmjs.com/package/@vinaes/succ"><img src="https://img.shields.io/npm/v/@vinaes/succ?style=flat-square&color=3fb950" alt="npm"></a>
|
|
9
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/license-FSL--1.1-blue?style=flat-square" alt="license"></a>
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
<p align="center">
|
|
13
|
+
<a href="#quick-start">Quick Start</a> •
|
|
14
|
+
<a href="#features">Features</a> •
|
|
15
|
+
<a href="#commands">Commands</a> •
|
|
16
|
+
<a href="#configuration">Configuration</a> •
|
|
17
|
+
<a href="#documentation">Docs</a>
|
|
18
|
+
</p>
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
> Persistent semantic memory for any MCP-compatible AI editor. Remember decisions, learn from mistakes, never lose context.
|
|
23
|
+
|
|
24
|
+
### Works with
|
|
25
|
+
|
|
26
|
+
| Editor | Setup |
|
|
27
|
+
|--------|-------|
|
|
28
|
+
| **Claude Code** | `succ init` (auto-configured) |
|
|
29
|
+
| **Cursor** | `succ setup cursor` |
|
|
30
|
+
| **Windsurf** | `succ setup windsurf` |
|
|
31
|
+
| **Continue.dev** | `succ setup continue` |
|
|
32
|
+
|
|
33
|
+
See [Editor Guides](docs/editors/index.md) for detailed setup.
|
|
34
|
+
|
|
35
|
+
## Quick Start
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npm install -g @vinaes/succ
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
cd your-project
|
|
43
|
+
succ init
|
|
44
|
+
succ index
|
|
45
|
+
succ index-code
|
|
46
|
+
succ analyze
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
> **That's it.** Claude Code now has persistent memory for your project.
|
|
50
|
+
|
|
51
|
+
## Features
|
|
52
|
+
|
|
53
|
+
| Feature | Description |
|
|
54
|
+
|---------|-------------|
|
|
55
|
+
| **Hybrid Search** | Semantic embeddings + BM25 keyword matching with AST symbol boost |
|
|
56
|
+
| **AST Code Indexing** | Tree-sitter parsing for 21 languages — 13 with full symbol extraction, 8 grammar-only (Swift, Scala, Dart, Bash, Lua, Elixir, Haskell, SQL) |
|
|
57
|
+
| **Brain Vault** | Obsidian-compatible markdown knowledge base |
|
|
58
|
+
| **Persistent Memory** | Decisions, learnings, patterns across sessions |
|
|
59
|
+
| **Cross-Project** | Global memories shared between all projects |
|
|
60
|
+
| **Knowledge Graph** | Link memories, LLM-enriched relations, community detection, centrality |
|
|
61
|
+
| **MCP Native** | 30 tools — Claude uses succ tools directly |
|
|
62
|
+
| **Web Search** | Real-time web search via Perplexity Sonar (quick, quality, deep research) |
|
|
63
|
+
| **Skill Suggestions** | LLM-powered command discovery (opt-in, disabled by default) |
|
|
64
|
+
| **Web Fetch** | Fetch any URL as clean Markdown via md.succ.ai (Readability + Playwright) |
|
|
65
|
+
| **Working Memory** | Priority scoring, validity filtering, diversity, pinned memories |
|
|
66
|
+
| **Dead-End Tracking** | Record failed approaches to prevent retrying |
|
|
67
|
+
| **Debug Sessions** | Structured debugging with hypothesis testing, 13-language instrumentation |
|
|
68
|
+
| **PRD Pipeline** | Generate PRDs, parse into tasks, execute with quality gates |
|
|
69
|
+
| **Team Mode** | Parallel task execution with git worktrees |
|
|
70
|
+
| **Multi-Backend Storage** | SQLite, PostgreSQL, Qdrant — scale from laptop to cloud |
|
|
71
|
+
|
|
72
|
+
<details>
|
|
73
|
+
<summary>All features</summary>
|
|
74
|
+
|
|
75
|
+
- **AST Code Indexing** — Tree-sitter parsing for 21 languages (13 with full symbol extraction + 8 grammar-only); symbol-aware BM25 tokenization boosts function/class names in search results
|
|
76
|
+
- **Web Search** — Real-time search via Perplexity Sonar through OpenRouter (quick $1/MTok, quality $3-15/MTok, deep research); search history tracking with cost auditing
|
|
77
|
+
- **PRD Pipeline** — Generate PRDs from feature descriptions, parse into executable tasks, run with Claude Code agent, export workflow to Obsidian (Mermaid Gantt + dependency DAG)
|
|
78
|
+
- **Team Mode** — Parallel task execution using git worktrees; each worker gets an isolated checkout, results merge via cherry-pick
|
|
79
|
+
- **Quality Gates** — Auto-detected (TypeScript, Go, Python, Rust) or custom; run after each task to verify code quality
|
|
80
|
+
- **Graph Enrichment** — LLM-classified relations (implements, leads_to, contradicts...), contextual proximity, Label Propagation communities, degree centrality with recall boost
|
|
81
|
+
- **Dead-End Tracking** — Record failed approaches; auto-boosted in recall to prevent retrying
|
|
82
|
+
- **AGENTS.md Auto-Export** — Auto-generate editor instructions from decisions, patterns, dead-ends
|
|
83
|
+
- **Learning Delta** — Track knowledge growth per session (memories added, types, quality)
|
|
84
|
+
- **Confidence Retention** — Time-decay scoring with auto-cleanup of low-value memories
|
|
85
|
+
- **Safe Consolidation** — Soft-delete with undo support; no data loss on merge
|
|
86
|
+
- **Skill Discovery** — Auto-suggest relevant skills based on user prompt (opt-in, disabled by default)
|
|
87
|
+
- **Skyll Integration** — Access community skills from [Skyll registry](https://skyll.app) (requires skills.enabled = true)
|
|
88
|
+
- **Soul Document** — Define AI personality and values
|
|
89
|
+
- **Auto-Hooks** — Context injection at session start/end
|
|
90
|
+
- **Idle Reflections** — AI generates insights during idle time
|
|
91
|
+
- **Session Context** — Auto-generated briefings for next session
|
|
92
|
+
- **Sensitive Filter** — Detect and redact PII, API keys, secrets
|
|
93
|
+
- **Quality Scoring** — Local ONNX classification to filter noise
|
|
94
|
+
- **Token Savings** — Track RAG efficiency vs full files
|
|
95
|
+
- **Temporal Awareness** — Time decay, validity periods, point-in-time queries
|
|
96
|
+
- **Unified Daemon** — Single background process for watch, analyze, idle tracking
|
|
97
|
+
- **Watch Mode** — Auto-reindex on file changes via @parcel/watcher
|
|
98
|
+
- **Fast Analyze** — `--fast` mode with fewer agents and smaller context for quick onboarding
|
|
99
|
+
- **Incremental Analyze** — Git-based change detection, skip unchanged agents
|
|
100
|
+
- **Local LLM** — Ollama, LM Studio, llama.cpp support
|
|
101
|
+
- **Sleep Agent** — Offload heavy operations to local LLM
|
|
102
|
+
- **Checkpoints** — Backup and restore full succ state
|
|
103
|
+
- **AI-Readiness Score** — Measure project readiness for AI collaboration
|
|
104
|
+
- **Multiple LLM Backends** — Local (Ollama), OpenRouter, or Claude CLI
|
|
105
|
+
- **Storage Backends** — SQLite (default), PostgreSQL + pgvector, Qdrant
|
|
106
|
+
- **Data Migration** — Export/import JSON, migrate between backends
|
|
107
|
+
|
|
108
|
+
</details>
|
|
109
|
+
|
|
110
|
+
## Claude Code Agents
|
|
111
|
+
|
|
112
|
+
succ ships with 20 specialized agents in `.claude/agents/` that run as subagents inside Claude Code:
|
|
113
|
+
|
|
114
|
+
| Agent | What it does |
|
|
115
|
+
|-------|-------------|
|
|
116
|
+
| `succ-explore` | Codebase exploration powered by semantic search |
|
|
117
|
+
| `succ-plan` | TDD-enforced implementation planning with red-green-refactor cycles |
|
|
118
|
+
| `succ-code-reviewer` | Full code review with OWASP Top 10 checklist — works with any language |
|
|
119
|
+
| `succ-diff-reviewer` | Fast pre-commit diff review for security, bugs, and regressions |
|
|
120
|
+
| `succ-deep-search` | Cross-search memories, brain vault, and code |
|
|
121
|
+
| `succ-memory-curator` | Consolidate, deduplicate, and clean up memories |
|
|
122
|
+
| `succ-memory-health-monitor` | Detect decayed, stale, or low-quality memories |
|
|
123
|
+
| `succ-pattern-detective` | Surface recurring patterns and anti-patterns from sessions |
|
|
124
|
+
| `succ-session-handoff-orchestrator` | Extract summary and briefing at session end |
|
|
125
|
+
| `succ-session-reviewer` | Review past sessions, extract missed learnings |
|
|
126
|
+
| `succ-decision-auditor` | Find contradictions and reversals in architectural decisions |
|
|
127
|
+
| `succ-knowledge-indexer` | Index documentation and code into the knowledge base |
|
|
128
|
+
| `succ-knowledge-mapper` | Maintain knowledge graph, find orphaned memories |
|
|
129
|
+
| `succ-checkpoint-manager` | Create and manage state backups |
|
|
130
|
+
| `succ-context-optimizer` | Optimize what gets preloaded at session start |
|
|
131
|
+
| `succ-quality-improvement-coach` | Analyze memory quality, suggest improvements |
|
|
132
|
+
| `succ-readiness-improver` | Actionable steps to improve AI-readiness score |
|
|
133
|
+
| `succ-general` | General-purpose agent with semantic search, web search, and all tools |
|
|
134
|
+
| `succ-debug` | Structured debugging — hypothesize, instrument, reproduce, fix with dead-end tracking |
|
|
135
|
+
| `succ-style-tracker` | Track communication style changes, update soul.md and brain vault |
|
|
136
|
+
|
|
137
|
+
Agents are auto-discovered by Claude Code from `.claude/agents/` and can be launched via the Task tool with `subagent_type`.
|
|
138
|
+
|
|
139
|
+
## Commands
|
|
140
|
+
|
|
141
|
+
| Command | Description |
|
|
142
|
+
|---------|-------------|
|
|
143
|
+
| `succ init` | Interactive setup wizard |
|
|
144
|
+
| `succ setup <editor>` | Configure MCP for any editor |
|
|
145
|
+
| `succ analyze` | Generate brain vault with Claude agents |
|
|
146
|
+
| `succ index [path]` | Index files for semantic search |
|
|
147
|
+
| `succ search <query>` | Semantic search in brain vault |
|
|
148
|
+
| `succ remember <content>` | Save to memory |
|
|
149
|
+
| `succ memories` | List and search memories |
|
|
150
|
+
| `succ watch` | Watch for changes and auto-reindex |
|
|
151
|
+
| `succ daemon <action>` | Manage unified daemon |
|
|
152
|
+
| `succ prd generate` | Generate PRD from feature description |
|
|
153
|
+
| `succ prd run` | Execute PRD tasks with quality gates |
|
|
154
|
+
| `succ status` | Show index statistics |
|
|
155
|
+
|
|
156
|
+
<details>
|
|
157
|
+
<summary>All commands</summary>
|
|
158
|
+
|
|
159
|
+
| Command | Description |
|
|
160
|
+
|---------|-------------|
|
|
161
|
+
| `succ index-code [path]` | Index source code (AST chunking via tree-sitter) |
|
|
162
|
+
| `succ index --memories` | Re-embed all memories with current embedding model |
|
|
163
|
+
| `succ reindex` | Detect and fix stale/deleted index entries |
|
|
164
|
+
| `succ chat <query>` | RAG chat with context |
|
|
165
|
+
| `succ train-bpe` | Train BPE vocabulary from indexed code |
|
|
166
|
+
| `succ forget` | Delete memories |
|
|
167
|
+
| `succ graph <action>` | Knowledge graph: stats, auto-link, enrich, proximity, communities, centrality |
|
|
168
|
+
| `succ consolidate` | Merge duplicate memories (soft-delete with undo) |
|
|
169
|
+
| `succ agents-md` | Generate .claude/AGENTS.md from memories |
|
|
170
|
+
| `succ progress` | Show learning delta history |
|
|
171
|
+
| `succ retention` | Memory retention analysis and cleanup |
|
|
172
|
+
| `succ soul` | Generate personalized soul.md |
|
|
173
|
+
| `succ config` | Interactive configuration |
|
|
174
|
+
| `succ stats` | Show token savings statistics |
|
|
175
|
+
| `succ checkpoint <action>` | Create, restore, or list checkpoints |
|
|
176
|
+
| `succ score` | Show AI-readiness score |
|
|
177
|
+
| `succ prd parse <file>` | Parse PRD markdown into tasks |
|
|
178
|
+
| `succ prd list` | List all PRDs |
|
|
179
|
+
| `succ prd status [id]` | Show PRD status and tasks |
|
|
180
|
+
| `succ prd archive [id]` | Archive a PRD |
|
|
181
|
+
| `succ prd export [id]` | Export PRD workflow to Obsidian (Mermaid diagrams) |
|
|
182
|
+
| `succ clear` | Clear index and/or memories |
|
|
183
|
+
| `succ benchmark` | Run performance benchmarks |
|
|
184
|
+
| `succ migrate` | Migrate data between storage backends |
|
|
185
|
+
|
|
186
|
+
</details>
|
|
187
|
+
|
|
188
|
+
### succ init
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
succ init # Interactive mode
|
|
192
|
+
succ init --yes # Non-interactive (defaults)
|
|
193
|
+
succ init --force # Reinitialize existing project
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
Creates `.succ/` structure, configures MCP server, sets up hooks.
|
|
197
|
+
|
|
198
|
+
### succ analyze
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
succ analyze # Run via Claude CLI (recommended)
|
|
202
|
+
succ analyze --fast # Fast mode (fewer agents, smaller context)
|
|
203
|
+
succ analyze --force # Force full re-analysis (skip incremental)
|
|
204
|
+
succ analyze --local # Use local LLM (Ollama, LM Studio)
|
|
205
|
+
succ analyze --openrouter # Use OpenRouter API
|
|
206
|
+
succ analyze --background # Run in background
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
Generates brain vault structure:
|
|
210
|
+
|
|
211
|
+
```
|
|
212
|
+
.succ/brain/
|
|
213
|
+
├── CLAUDE.md # Navigation hub
|
|
214
|
+
├── project/ # Project knowledge
|
|
215
|
+
│ ├── technical/ # Architecture, API, Conventions
|
|
216
|
+
│ ├── systems/ # Core systems/modules
|
|
217
|
+
│ ├── strategy/ # Project goals
|
|
218
|
+
│ └── features/ # Implemented features
|
|
219
|
+
├── knowledge/ # Research notes
|
|
220
|
+
└── archive/ # Old/superseded
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
### succ watch
|
|
224
|
+
|
|
225
|
+
```bash
|
|
226
|
+
succ watch # Start watch service (via daemon)
|
|
227
|
+
succ watch --ignore-code # Watch only docs
|
|
228
|
+
succ watch --status # Check watch service status
|
|
229
|
+
succ watch --stop # Stop watch service
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
### succ daemon
|
|
233
|
+
|
|
234
|
+
```bash
|
|
235
|
+
succ daemon status # Show daemon status
|
|
236
|
+
succ daemon sessions # List active Claude Code sessions
|
|
237
|
+
succ daemon start # Start daemon manually
|
|
238
|
+
succ daemon stop # Stop daemon
|
|
239
|
+
succ daemon logs # Show recent logs
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
### succ prd
|
|
243
|
+
|
|
244
|
+
```bash
|
|
245
|
+
succ prd generate "Add JWT authentication" # Generate PRD + parse tasks
|
|
246
|
+
succ prd run # Execute sequentially (default)
|
|
247
|
+
succ prd run --mode team # Execute in parallel (git worktrees)
|
|
248
|
+
succ prd run --mode team --concurrency 5 # Parallel with 5 workers
|
|
249
|
+
succ prd run --resume # Resume interrupted run
|
|
250
|
+
succ prd run --dry-run # Preview execution plan
|
|
251
|
+
succ prd status # Show latest PRD status
|
|
252
|
+
succ prd list # List all PRDs
|
|
253
|
+
succ prd export # Export latest PRD to Obsidian
|
|
254
|
+
succ prd export --all # Export all PRDs
|
|
255
|
+
succ prd export prd_abc123 # Export specific PRD
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
Team mode runs independent tasks in parallel using git worktrees for isolation. Each worker gets its own checkout; results merge via cherry-pick. Quality gates (typecheck, test, lint, build) run automatically after each task.
|
|
259
|
+
|
|
260
|
+
Export generates Obsidian-compatible markdown with Mermaid diagrams (Gantt timeline, dependency DAG), per-task detail pages with gate results, and wiki-links between pages. Output goes to `.succ/brain/prd/`.
|
|
261
|
+
|
|
262
|
+
## Configuration
|
|
263
|
+
|
|
264
|
+
No API key required. Uses local embeddings by default.
|
|
265
|
+
|
|
266
|
+
```json
|
|
267
|
+
{
|
|
268
|
+
"llm": {
|
|
269
|
+
"embeddings": {
|
|
270
|
+
"mode": "local",
|
|
271
|
+
"model": "Xenova/all-MiniLM-L6-v2"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"chunk_size": 500,
|
|
275
|
+
"chunk_overlap": 50
|
|
276
|
+
}
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
<details>
|
|
280
|
+
<summary>Embedding modes</summary>
|
|
281
|
+
|
|
282
|
+
**Local (default):**
|
|
283
|
+
```json
|
|
284
|
+
{
|
|
285
|
+
"llm": { "embeddings": { "mode": "local" } }
|
|
286
|
+
}
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
**Ollama (unified namespace):**
|
|
290
|
+
```json
|
|
291
|
+
{
|
|
292
|
+
"llm": {
|
|
293
|
+
"embeddings": {
|
|
294
|
+
"mode": "api",
|
|
295
|
+
"model": "nomic-embed-text",
|
|
296
|
+
"api_url": "http://localhost:11434/v1/embeddings"
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
**OpenRouter:**
|
|
303
|
+
```json
|
|
304
|
+
{
|
|
305
|
+
"embedding_mode": "openrouter",
|
|
306
|
+
"openrouter_api_key": "sk-or-..."
|
|
307
|
+
}
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
**MRL dimension override (Matryoshka models):**
|
|
311
|
+
```json
|
|
312
|
+
{
|
|
313
|
+
"llm": {
|
|
314
|
+
"embeddings": {
|
|
315
|
+
"mode": "api",
|
|
316
|
+
"model": "nomic-embed-text-v1.5",
|
|
317
|
+
"api_url": "http://localhost:11434/v1/embeddings",
|
|
318
|
+
"dimensions": 256
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
</details>
|
|
325
|
+
|
|
326
|
+
<details>
|
|
327
|
+
<summary>GPU acceleration</summary>
|
|
328
|
+
|
|
329
|
+
succ uses native ONNX Runtime for embedding inference with automatic GPU detection:
|
|
330
|
+
|
|
331
|
+
| Platform | Backend | GPUs |
|
|
332
|
+
|----------|---------|------|
|
|
333
|
+
| Windows | DirectML | AMD, Intel, NVIDIA |
|
|
334
|
+
| Linux | CUDA | NVIDIA |
|
|
335
|
+
| macOS | CoreML | Apple Silicon |
|
|
336
|
+
| Fallback | CPU | Any |
|
|
337
|
+
|
|
338
|
+
GPU is enabled by default. No manual configuration needed — the best available backend is auto-detected.
|
|
339
|
+
|
|
340
|
+
```json
|
|
341
|
+
{
|
|
342
|
+
"gpu_enabled": true,
|
|
343
|
+
"gpu_device": "directml"
|
|
344
|
+
}
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
Set `gpu_device` to override auto-detection: `cuda`, `directml`, `coreml`, or `cpu`.
|
|
348
|
+
|
|
349
|
+
</details>
|
|
350
|
+
|
|
351
|
+
<details>
|
|
352
|
+
<summary>Idle watcher</summary>
|
|
353
|
+
|
|
354
|
+
```json
|
|
355
|
+
{
|
|
356
|
+
"idle_watcher": {
|
|
357
|
+
"enabled": true,
|
|
358
|
+
"idle_minutes": 2,
|
|
359
|
+
"check_interval": 30,
|
|
360
|
+
"min_conversation_length": 5
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
</details>
|
|
366
|
+
|
|
367
|
+
<details>
|
|
368
|
+
<summary>Pre-commit review</summary>
|
|
369
|
+
|
|
370
|
+
Automatically run the `succ-diff-reviewer` agent before every git commit to catch security issues, bugs, and regressions:
|
|
371
|
+
|
|
372
|
+
```json
|
|
373
|
+
{
|
|
374
|
+
"preCommitReview": true
|
|
375
|
+
}
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
When enabled, Claude will run a diff review before each commit. Critical findings block the commit; high findings trigger a warning.
|
|
379
|
+
|
|
380
|
+
Disabled by default. Set via `succ config_set preCommitReview true`.
|
|
381
|
+
|
|
382
|
+
</details>
|
|
383
|
+
|
|
384
|
+
<details>
|
|
385
|
+
<summary>Sleep agent</summary>
|
|
386
|
+
|
|
387
|
+
Offload heavy operations to local LLM:
|
|
388
|
+
|
|
389
|
+
```json
|
|
390
|
+
{
|
|
391
|
+
"idle_reflection": {
|
|
392
|
+
"sleep_agent": {
|
|
393
|
+
"enabled": true,
|
|
394
|
+
"mode": "local",
|
|
395
|
+
"model": "qwen2.5-coder:14b",
|
|
396
|
+
"api_url": "http://localhost:11434/v1"
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
</details>
|
|
403
|
+
|
|
404
|
+
<details>
|
|
405
|
+
<summary>Storage backends</summary>
|
|
406
|
+
|
|
407
|
+
succ supports multiple storage backends for different deployment scenarios:
|
|
408
|
+
|
|
409
|
+
| Setup | Use Case | Requirements |
|
|
410
|
+
|-------|----------|--------------|
|
|
411
|
+
| SQLite + sqlite-vec | Local development (default) | None |
|
|
412
|
+
| PostgreSQL + pgvector | Production/cloud | PostgreSQL 15+ with pgvector |
|
|
413
|
+
| SQLite + Qdrant | Local + powerful vector search | Qdrant server |
|
|
414
|
+
| PostgreSQL + Qdrant | Full production scale | PostgreSQL + Qdrant |
|
|
415
|
+
|
|
416
|
+
**Example: PostgreSQL + pgvector**
|
|
417
|
+
```json
|
|
418
|
+
{
|
|
419
|
+
"storage": {
|
|
420
|
+
"backend": "postgresql",
|
|
421
|
+
"postgresql": {
|
|
422
|
+
"connection_string": "postgresql://user:pass@localhost:5432/succ"
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
**Example: PostgreSQL + Qdrant**
|
|
429
|
+
```json
|
|
430
|
+
{
|
|
431
|
+
"storage": {
|
|
432
|
+
"backend": "postgresql",
|
|
433
|
+
"vector": "qdrant",
|
|
434
|
+
"postgresql": { "connection_string": "postgresql://..." },
|
|
435
|
+
"qdrant": { "url": "http://localhost:6333" }
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
See [Storage Configuration](docs/configuration.md#storage-settings) for all options.
|
|
441
|
+
|
|
442
|
+
</details>
|
|
443
|
+
|
|
444
|
+
<details>
|
|
445
|
+
<summary>LLM Backend Configuration</summary>
|
|
446
|
+
|
|
447
|
+
succ supports multiple LLM backends for operations like analyze, idle reflection, and skill suggestions:
|
|
448
|
+
|
|
449
|
+
```json
|
|
450
|
+
{
|
|
451
|
+
"llm": {
|
|
452
|
+
"type": "local",
|
|
453
|
+
"model": "qwen2.5:7b",
|
|
454
|
+
"local": {
|
|
455
|
+
"endpoint": "http://localhost:11434/v1/chat/completions"
|
|
456
|
+
},
|
|
457
|
+
"openrouter": {
|
|
458
|
+
"model": "anthropic/claude-3-haiku"
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
| Key | Values | Default | Description |
|
|
465
|
+
|-----|--------|---------|-------------|
|
|
466
|
+
| `llm.type` | `local` / `openrouter` / `claude` | `local` | LLM provider |
|
|
467
|
+
| `llm.model` | string | per-type | Model name for the active type |
|
|
468
|
+
| `llm.transport` | `process` / `ws` / `http` | auto | How to talk to the backend |
|
|
469
|
+
|
|
470
|
+
**Transport** auto-selects based on type: `claude` uses `process` (or `ws` for persistent WebSocket), `local`/`openrouter` use `http`.
|
|
471
|
+
|
|
472
|
+
**WebSocket transport** (`transport: "ws"`) keeps a persistent connection to Claude CLI, avoiding process spawn overhead on repeated calls:
|
|
473
|
+
|
|
474
|
+
```json
|
|
475
|
+
{
|
|
476
|
+
"llm": {
|
|
477
|
+
"type": "claude",
|
|
478
|
+
"model": "sonnet",
|
|
479
|
+
"transport": "ws"
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
**Per-backend model overrides** for the fallback chain:
|
|
485
|
+
|
|
486
|
+
```json
|
|
487
|
+
{
|
|
488
|
+
"llm": {
|
|
489
|
+
"type": "claude",
|
|
490
|
+
"model": "sonnet",
|
|
491
|
+
"transport": "ws",
|
|
492
|
+
"local": { "endpoint": "http://localhost:11434/v1/chat/completions", "model": "qwen2.5:7b" },
|
|
493
|
+
"openrouter": { "model": "anthropic/claude-3-haiku" }
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
> Claude backend usage
|
|
499
|
+
|
|
500
|
+
The claude backend integrates with an existing, locally running Claude Code session and is intended only for in-session developer assistance by the same user, including tasks such as file analysis, documentation, indexing, and session summarization.
|
|
501
|
+
|
|
502
|
+
It is not supported for unattended background processing, cloud deployments, or multi-user scenarios. For automated, long-running, or cloud workloads, use the local or openrouter backends instead.
|
|
503
|
+
|
|
504
|
+
</details>
|
|
505
|
+
|
|
506
|
+
<details>
|
|
507
|
+
<summary>Retention policies</summary>
|
|
508
|
+
|
|
509
|
+
```json
|
|
510
|
+
{
|
|
511
|
+
"retention": {
|
|
512
|
+
"enabled": true,
|
|
513
|
+
"decay_rate": 0.01,
|
|
514
|
+
"access_weight": 0.1,
|
|
515
|
+
"keep_threshold": 0.3,
|
|
516
|
+
"delete_threshold": 0.15
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
```
|
|
520
|
+
|
|
521
|
+
</details>
|
|
522
|
+
|
|
523
|
+
## Hybrid Search
|
|
524
|
+
|
|
525
|
+
Combines semantic embeddings with BM25 keyword search. Code search includes AST symbol boost, regex post-filtering, and symbol type filtering (function, method, class, interface, type_alias). Three output modes: `full` (code blocks), `lean` (file+lines), `signatures` (symbol names only).
|
|
526
|
+
|
|
527
|
+
| Aspect | Documents | Code |
|
|
528
|
+
|--------|-----------|------|
|
|
529
|
+
| Tokenizer | Markdown-aware + stemming | Naming convention splitter + AST symbol boost |
|
|
530
|
+
| Stemming | Yes | No |
|
|
531
|
+
| Stop words | Filtered | Kept |
|
|
532
|
+
| Segmentation | Standard | Ronin + BPE |
|
|
533
|
+
| Symbol metadata | N/A | function, class, interface names via tree-sitter |
|
|
534
|
+
|
|
535
|
+
Code tokenizer handles all naming conventions:
|
|
536
|
+
|
|
537
|
+
| Convention | Example | Tokens |
|
|
538
|
+
|------------|---------|--------|
|
|
539
|
+
| camelCase | `getUserName` | get, user, name |
|
|
540
|
+
| PascalCase | `UserService` | user, service |
|
|
541
|
+
| snake_case | `get_user_name` | get, user, name |
|
|
542
|
+
| SCREAMING_SNAKE | `MAX_RETRY_COUNT` | max, retry, count |
|
|
543
|
+
|
|
544
|
+
## Memory System
|
|
545
|
+
|
|
546
|
+
**Local memory** — stored in `.succ/succ.db`, project-specific.
|
|
547
|
+
|
|
548
|
+
**Global memory** — stored in `~/.succ/global.db`, shared across projects.
|
|
549
|
+
|
|
550
|
+
```bash
|
|
551
|
+
succ remember "User prefers TypeScript" --global
|
|
552
|
+
succ memories --global
|
|
553
|
+
```
|
|
554
|
+
|
|
555
|
+
## Architecture
|
|
556
|
+
|
|
557
|
+
```
|
|
558
|
+
your-project/
|
|
559
|
+
├── .claude/
|
|
560
|
+
│ └── settings.json # Claude Code hooks config
|
|
561
|
+
└── .succ/
|
|
562
|
+
├── brain/ # Obsidian-compatible vault
|
|
563
|
+
├── hooks/ # Hook scripts
|
|
564
|
+
├── config.json # Project configuration
|
|
565
|
+
├── soul.md # AI personality
|
|
566
|
+
└── succ.db # Vector database
|
|
567
|
+
|
|
568
|
+
~/.succ/
|
|
569
|
+
├── global.db # Global memories
|
|
570
|
+
└── config.json # Global configuration
|
|
571
|
+
```
|
|
572
|
+
|
|
573
|
+
## Documentation
|
|
574
|
+
|
|
575
|
+
- [Configuration Reference](docs/configuration.md) — All config options with examples
|
|
576
|
+
- [PRD Pipeline](docs/prd.md) — Generate, execute, and verify tasks with quality gates
|
|
577
|
+
- [Storage Backends](docs/storage.md) — SQLite, PostgreSQL, Qdrant setup and benchmarks
|
|
578
|
+
- [Benchmarks](docs/benchmarks.md) — Performance and accuracy metrics
|
|
579
|
+
- [Temporal Awareness](docs/temporal.md) — Time decay, validity periods
|
|
580
|
+
- [Ollama Setup](docs/ollama.md) — Recommended local LLM setup
|
|
581
|
+
- [llama.cpp GPU](docs/llama-cpp.md) — GPU-accelerated embeddings
|
|
582
|
+
- [MCP Integration](docs/mcp.md) — Claude Code tools and resources
|
|
583
|
+
- [Troubleshooting](docs/troubleshooting.md) — Common issues and fixes
|
|
584
|
+
- [Development](docs/development.md) — Contributing and testing
|
|
585
|
+
|
|
586
|
+
## License
|
|
587
|
+
|
|
588
|
+
[FSL-1.1-Apache-2.0](LICENSE) — Free to use, modify, self-host. Commercial cloud hosting restricted until Apache 2.0 date.
|