synthadoc 0.9.1__tar.gz
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.
- synthadoc-0.9.1/.gitattributes +15 -0
- synthadoc-0.9.1/.github/workflows/ci.yml +67 -0
- synthadoc-0.9.1/.github/workflows/publish.yml +33 -0
- synthadoc-0.9.1/.gitignore +28 -0
- synthadoc-0.9.1/CODE_OF_CONDUCT.md +85 -0
- synthadoc-0.9.1/CONTRIBUTING.md +62 -0
- synthadoc-0.9.1/LICENSE +661 -0
- synthadoc-0.9.1/PKG-INFO +1263 -0
- synthadoc-0.9.1/README.md +1202 -0
- synthadoc-0.9.1/VERSION +1 -0
- synthadoc-0.9.1/docs/badges.json +9 -0
- synthadoc-0.9.1/docs/design.md +2777 -0
- synthadoc-0.9.1/docs/media/README.md +8 -0
- synthadoc-0.9.1/docs/media/medium.md +6 -0
- synthadoc-0.9.1/docs/media/youtube.md +6 -0
- synthadoc-0.9.1/docs/png/architecture.png +0 -0
- synthadoc-0.9.1/docs/png/audit-citation.png +0 -0
- synthadoc-0.9.1/docs/png/audit-queries.png +0 -0
- synthadoc-0.9.1/docs/png/cache-perf/cache-read-latency.png +0 -0
- synthadoc-0.9.1/docs/png/cache-perf/cache-vs-nocache-qps.png +0 -0
- synthadoc-0.9.1/docs/png/cache-perf/concurrent-readers.png +0 -0
- synthadoc-0.9.1/docs/png/cache-perf/hit-vs-miss-latency.png +0 -0
- synthadoc-0.9.1/docs/png/claim-level-citation.png +0 -0
- synthadoc-0.9.1/docs/png/cli-gap-detection.png +0 -0
- synthadoc-0.9.1/docs/png/job-list-terminal.png +0 -0
- synthadoc-0.9.1/docs/png/lint-report-adversarial.png +0 -0
- synthadoc-0.9.1/docs/png/page-provenance-line-range.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-audit-cost.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-audit-events.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-audit-history.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-batch-ingest-raw-sources.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-candidates.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-export-kg.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-export-wiki.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-graph-after.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-graph-view.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-jobs-list.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-jobs-modal.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-lifecycle-audit.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-lifecycle-mgmt.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-lint-run.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-query-agent-web-UI.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-query-result.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-ribbon-icon.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-routing-init.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-routing.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-search-live-view.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-serve.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-switch-provider.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-vault-demo.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-wiki-conflict.png +0 -0
- synthadoc-0.9.1/docs/png/synthadoc-wiki-graph.png +0 -0
- synthadoc-0.9.1/docs/png/ui-gap-detection.png +0 -0
- synthadoc-0.9.1/docs/user-quick-start-guide.md +3028 -0
- synthadoc-0.9.1/hooks/README.md +63 -0
- synthadoc-0.9.1/hooks/git-auto-commit.py +79 -0
- synthadoc-0.9.1/obsidian-plugin/__mocks__/obsidian.ts +52 -0
- synthadoc-0.9.1/obsidian-plugin/esbuild.config.mjs +16 -0
- synthadoc-0.9.1/obsidian-plugin/manifest.json +9 -0
- synthadoc-0.9.1/obsidian-plugin/package-lock.json +2157 -0
- synthadoc-0.9.1/obsidian-plugin/package.json +22 -0
- synthadoc-0.9.1/obsidian-plugin/src/api.integration.test.ts +335 -0
- synthadoc-0.9.1/obsidian-plugin/src/api.test.ts +540 -0
- synthadoc-0.9.1/obsidian-plugin/src/api.ts +108 -0
- synthadoc-0.9.1/obsidian-plugin/src/main.test.ts +2556 -0
- synthadoc-0.9.1/obsidian-plugin/src/main.ts +4308 -0
- synthadoc-0.9.1/obsidian-plugin/src/sse.ts +74 -0
- synthadoc-0.9.1/obsidian-plugin/tsconfig.json +16 -0
- synthadoc-0.9.1/obsidian-plugin/vitest.config.ts +23 -0
- synthadoc-0.9.1/obsidian-plugin/vitest.integration.config.ts +17 -0
- synthadoc-0.9.1/pyproject.toml +109 -0
- synthadoc-0.9.1/scripts/bump_version.py +112 -0
- synthadoc-0.9.1/scripts/sync_plugin.py +42 -0
- synthadoc-0.9.1/scripts/update_badges.py +153 -0
- synthadoc-0.9.1/synthadoc/__init__.py +12 -0
- synthadoc-0.9.1/synthadoc/__main__.py +6 -0
- synthadoc-0.9.1/synthadoc/agents/__init__.py +2 -0
- synthadoc-0.9.1/synthadoc/agents/_routing.py +68 -0
- synthadoc-0.9.1/synthadoc/agents/_utils.py +25 -0
- synthadoc-0.9.1/synthadoc/agents/action_agent.py +755 -0
- synthadoc-0.9.1/synthadoc/agents/context_agent.py +131 -0
- synthadoc-0.9.1/synthadoc/agents/export_agent.py +461 -0
- synthadoc-0.9.1/synthadoc/agents/hint_engine.py +167 -0
- synthadoc-0.9.1/synthadoc/agents/hints.json +162 -0
- synthadoc-0.9.1/synthadoc/agents/ingest_agent.py +866 -0
- synthadoc-0.9.1/synthadoc/agents/lint_agent.py +616 -0
- synthadoc-0.9.1/synthadoc/agents/query_agent.py +921 -0
- synthadoc-0.9.1/synthadoc/agents/rewrite_agent.py +48 -0
- synthadoc-0.9.1/synthadoc/agents/scaffold_agent.py +311 -0
- synthadoc-0.9.1/synthadoc/agents/search_decompose_agent.py +66 -0
- synthadoc-0.9.1/synthadoc/agents/skill_agent.py +213 -0
- synthadoc-0.9.1/synthadoc/agents/summarize_agent.py +39 -0
- synthadoc-0.9.1/synthadoc/cli/__init__.py +2 -0
- synthadoc-0.9.1/synthadoc/cli/_http.py +141 -0
- synthadoc-0.9.1/synthadoc/cli/_init.py +213 -0
- synthadoc-0.9.1/synthadoc/cli/_port.py +45 -0
- synthadoc-0.9.1/synthadoc/cli/_utils.py +11 -0
- synthadoc-0.9.1/synthadoc/cli/_wiki.py +85 -0
- synthadoc-0.9.1/synthadoc/cli/audit.py +239 -0
- synthadoc-0.9.1/synthadoc/cli/backup.py +262 -0
- synthadoc-0.9.1/synthadoc/cli/cache.py +47 -0
- synthadoc-0.9.1/synthadoc/cli/candidates.py +253 -0
- synthadoc-0.9.1/synthadoc/cli/context.py +70 -0
- synthadoc-0.9.1/synthadoc/cli/demo.py +177 -0
- synthadoc-0.9.1/synthadoc/cli/export.py +69 -0
- synthadoc-0.9.1/synthadoc/cli/ingest.py +104 -0
- synthadoc-0.9.1/synthadoc/cli/install.py +284 -0
- synthadoc-0.9.1/synthadoc/cli/jobs.py +144 -0
- synthadoc-0.9.1/synthadoc/cli/lifecycle.py +82 -0
- synthadoc-0.9.1/synthadoc/cli/lint.py +246 -0
- synthadoc-0.9.1/synthadoc/cli/logo.py +123 -0
- synthadoc-0.9.1/synthadoc/cli/main.py +128 -0
- synthadoc-0.9.1/synthadoc/cli/plugin.py +251 -0
- synthadoc-0.9.1/synthadoc/cli/query.py +98 -0
- synthadoc-0.9.1/synthadoc/cli/routing.py +98 -0
- synthadoc-0.9.1/synthadoc/cli/scaffold.py +75 -0
- synthadoc-0.9.1/synthadoc/cli/schedule.py +206 -0
- synthadoc-0.9.1/synthadoc/cli/serve.py +366 -0
- synthadoc-0.9.1/synthadoc/cli/status.py +56 -0
- synthadoc-0.9.1/synthadoc/cli/web.py +43 -0
- synthadoc-0.9.1/synthadoc/config.py +503 -0
- synthadoc-0.9.1/synthadoc/core/__init__.py +2 -0
- synthadoc-0.9.1/synthadoc/core/backup_engine.py +185 -0
- synthadoc-0.9.1/synthadoc/core/cache.py +115 -0
- synthadoc-0.9.1/synthadoc/core/cost_guard.py +50 -0
- synthadoc-0.9.1/synthadoc/core/hooks.py +52 -0
- synthadoc-0.9.1/synthadoc/core/logging_config.py +214 -0
- synthadoc-0.9.1/synthadoc/core/orchestrator.py +565 -0
- synthadoc-0.9.1/synthadoc/core/queue.py +262 -0
- synthadoc-0.9.1/synthadoc/core/routing.py +91 -0
- synthadoc-0.9.1/synthadoc/core/scheduler.py +213 -0
- synthadoc-0.9.1/synthadoc/data/obsidian-plugin/main.js +346 -0
- synthadoc-0.9.1/synthadoc/data/obsidian-plugin/manifest.json +9 -0
- synthadoc-0.9.1/synthadoc/demos/__init__.py +2 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/AGENTS.md +16 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/README.md +196 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/ROUTING.md +20 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/_generate_raw_sources.py +275 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/raw_sources/ai-fundamentals-overview.md +53 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/raw_sources/deep-learning-concepts.pptx +0 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/raw_sources/llm-benchmarks-q1-2026.pdf +74 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/raw_sources/model-capabilities-comparison.xlsx +0 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/raw_sources/neural-network-architecture.png +0 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/raw_sources/public-domain/andrej-karpathy-biography.txt +45 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/raw_sources/public-domain/attention-mechanisms.txt +64 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/raw_sources/public-domain/geoffrey-hinton-biography.txt +49 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/raw_sources/public-domain/large-language-models.txt +51 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/raw_sources/public-domain/llm-benchmarks-overview.txt +49 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/raw_sources/public-domain/reinforcement-learning-from-human-feedback.txt +51 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/raw_sources/public-domain/scaling-laws.txt +59 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/raw_sources/public-domain/training-techniques.txt +65 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/raw_sources/public-domain/transformer-architecture.txt +53 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/sources.txt +25 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/wiki/andrej-karpathy.md +61 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/wiki/attention-mechanisms.md +70 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/wiki/dashboard.md +69 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/wiki/early-neural-networks.md +28 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/wiki/geoffrey-hinton.md +59 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/wiki/index.md +38 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/wiki/large-language-models.md +70 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/wiki/llm-benchmarks.md +66 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/wiki/purpose.md +33 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/wiki/reinforcement-learning-from-human-feedback.md +62 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/wiki/scaling-laws.md +60 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/wiki/training-techniques.md +68 -0
- synthadoc-0.9.1/synthadoc/demos/ai-research/wiki/transformer-architecture.md +60 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/.obsidian/app.json +5 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/AGENTS.md +13 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/README.md +349 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/computing-pioneers-timeline.xlsx +0 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/cs-milestones-overview.pptx +0 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/first-compiler-controversy.pdf +74 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/konrad-zuse-z3-computer.md +59 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/public-domain/ceruzzi-history-modern-computing.txt +45 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/public-domain/hopper-biography-usn.txt +39 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/public-domain/leiner-brief-history-internet-2009.txt +43 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/public-domain/mccorduck-machines-who-think.txt +49 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/public-domain/raymond-cathedral-bazaar-1999.txt +43 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/public-domain/riordan-hoddeson-crystal-fire.txt +53 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/public-domain/ritchie-unix-history-1979.txt +39 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/public-domain/turing-wikipedia-cc0.txt +47 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/public-domain/vonneumann-firstdraft-1945.txt +50 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/public-domain/wexelblat-history-of-programming-languages-1981.txt +49 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/quantum-computing-primer.png +0 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/raw_sources/turing-enigma-decryption.pdf +74 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/sources.txt +20 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/wiki/alan-turing.md +36 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/wiki/artificial-intelligence-history.md +44 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/wiki/dashboard.md +82 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/wiki/grace-hopper.md +37 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/wiki/index.md +32 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/wiki/internet-origins.md +38 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/wiki/mechanical-computing.md +26 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/wiki/open-source-movement.md +40 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/wiki/personal-computer-revolution.md +38 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/wiki/programming-languages-overview.md +42 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/wiki/purpose.md +6 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/wiki/transistor-and-microchip.md +40 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/wiki/unix-history.md +38 -0
- synthadoc-0.9.1/synthadoc/demos/history-of-computing/wiki/von-neumann-architecture.md +38 -0
- synthadoc-0.9.1/synthadoc/errors.py +136 -0
- synthadoc-0.9.1/synthadoc/integration/__init__.py +2 -0
- synthadoc-0.9.1/synthadoc/integration/http_server.py +1390 -0
- synthadoc-0.9.1/synthadoc/integration/mcp_server.py +331 -0
- synthadoc-0.9.1/synthadoc/knowledge/synthadoc-export-guide.md +63 -0
- synthadoc-0.9.1/synthadoc/knowledge/synthadoc-ingest-guide.md +84 -0
- synthadoc-0.9.1/synthadoc/knowledge/synthadoc-jobs-guide.md +46 -0
- synthadoc-0.9.1/synthadoc/knowledge/synthadoc-lifecycle.md +116 -0
- synthadoc-0.9.1/synthadoc/knowledge/synthadoc-lint-guide.md +79 -0
- synthadoc-0.9.1/synthadoc/knowledge/synthadoc-overview.md +97 -0
- synthadoc-0.9.1/synthadoc/knowledge/synthadoc-schedule-guide.md +119 -0
- synthadoc-0.9.1/synthadoc/observability/__init__.py +2 -0
- synthadoc-0.9.1/synthadoc/observability/telemetry.py +60 -0
- synthadoc-0.9.1/synthadoc/providers/__init__.py +119 -0
- synthadoc-0.9.1/synthadoc/providers/anthropic.py +79 -0
- synthadoc-0.9.1/synthadoc/providers/base.py +44 -0
- synthadoc-0.9.1/synthadoc/providers/coding_tool.py +355 -0
- synthadoc-0.9.1/synthadoc/providers/ollama.py +67 -0
- synthadoc-0.9.1/synthadoc/providers/openai.py +443 -0
- synthadoc-0.9.1/synthadoc/providers/pricing.py +57 -0
- synthadoc-0.9.1/synthadoc/py.typed +0 -0
- synthadoc-0.9.1/synthadoc/skills/__init__.py +2 -0
- synthadoc-0.9.1/synthadoc/skills/base.py +76 -0
- synthadoc-0.9.1/synthadoc/skills/docx/SKILL.md +27 -0
- synthadoc-0.9.1/synthadoc/skills/docx/scripts/__init__.py +0 -0
- synthadoc-0.9.1/synthadoc/skills/docx/scripts/main.py +21 -0
- synthadoc-0.9.1/synthadoc/skills/image/SKILL.md +35 -0
- synthadoc-0.9.1/synthadoc/skills/image/scripts/__init__.py +0 -0
- synthadoc-0.9.1/synthadoc/skills/image/scripts/main.py +65 -0
- synthadoc-0.9.1/synthadoc/skills/markdown/SKILL.md +28 -0
- synthadoc-0.9.1/synthadoc/skills/markdown/scripts/__init__.py +0 -0
- synthadoc-0.9.1/synthadoc/skills/markdown/scripts/main.py +13 -0
- synthadoc-0.9.1/synthadoc/skills/pdf/SKILL.md +39 -0
- synthadoc-0.9.1/synthadoc/skills/pdf/references/cjk-notes.md +8 -0
- synthadoc-0.9.1/synthadoc/skills/pdf/scripts/__init__.py +0 -0
- synthadoc-0.9.1/synthadoc/skills/pdf/scripts/main.py +89 -0
- synthadoc-0.9.1/synthadoc/skills/pptx/SKILL.md +28 -0
- synthadoc-0.9.1/synthadoc/skills/pptx/scripts/__init__.py +0 -0
- synthadoc-0.9.1/synthadoc/skills/pptx/scripts/main.py +52 -0
- synthadoc-0.9.1/synthadoc/skills/registry.py +157 -0
- synthadoc-0.9.1/synthadoc/skills/url/SKILL.md +31 -0
- synthadoc-0.9.1/synthadoc/skills/url/scripts/__init__.py +0 -0
- synthadoc-0.9.1/synthadoc/skills/url/scripts/main.py +127 -0
- synthadoc-0.9.1/synthadoc/skills/web_search/SKILL.md +53 -0
- synthadoc-0.9.1/synthadoc/skills/web_search/assets/search-providers.json +12 -0
- synthadoc-0.9.1/synthadoc/skills/web_search/scripts/__init__.py +0 -0
- synthadoc-0.9.1/synthadoc/skills/web_search/scripts/fetcher.py +19 -0
- synthadoc-0.9.1/synthadoc/skills/web_search/scripts/main.py +122 -0
- synthadoc-0.9.1/synthadoc/skills/xlsx/SKILL.md +30 -0
- synthadoc-0.9.1/synthadoc/skills/xlsx/scripts/__init__.py +0 -0
- synthadoc-0.9.1/synthadoc/skills/xlsx/scripts/main.py +32 -0
- synthadoc-0.9.1/synthadoc/skills/youtube/SKILL.md +45 -0
- synthadoc-0.9.1/synthadoc/skills/youtube/scripts/__init__.py +0 -0
- synthadoc-0.9.1/synthadoc/skills/youtube/scripts/main.py +177 -0
- synthadoc-0.9.1/synthadoc/storage/__init__.py +2 -0
- synthadoc-0.9.1/synthadoc/storage/log.py +753 -0
- synthadoc-0.9.1/synthadoc/storage/search.py +232 -0
- synthadoc-0.9.1/synthadoc/storage/wiki.py +303 -0
- synthadoc-0.9.1/tests/__init__.py +2 -0
- synthadoc-0.9.1/tests/agents/__init__.py +2 -0
- synthadoc-0.9.1/tests/agents/test_action_agent.py +836 -0
- synthadoc-0.9.1/tests/agents/test_agent_utils.py +75 -0
- synthadoc-0.9.1/tests/agents/test_context_agent.py +119 -0
- synthadoc-0.9.1/tests/agents/test_hint_engine.py +191 -0
- synthadoc-0.9.1/tests/agents/test_ingest_agent.py +1769 -0
- synthadoc-0.9.1/tests/agents/test_ingest_web_search_decomposition.py +219 -0
- synthadoc-0.9.1/tests/agents/test_lint_agent.py +619 -0
- synthadoc-0.9.1/tests/agents/test_query_agent.py +2358 -0
- synthadoc-0.9.1/tests/agents/test_query_stream.py +215 -0
- synthadoc-0.9.1/tests/agents/test_rewrite_agent.py +61 -0
- synthadoc-0.9.1/tests/agents/test_routing.py +85 -0
- synthadoc-0.9.1/tests/agents/test_scaffold_agent.py +287 -0
- synthadoc-0.9.1/tests/agents/test_search_decompose_agent.py +149 -0
- synthadoc-0.9.1/tests/agents/test_summarize_agent.py +68 -0
- synthadoc-0.9.1/tests/cli/__init__.py +2 -0
- synthadoc-0.9.1/tests/cli/test_audit_cli.py +447 -0
- synthadoc-0.9.1/tests/cli/test_backup_cli.py +366 -0
- synthadoc-0.9.1/tests/cli/test_candidates_cli.py +203 -0
- synthadoc-0.9.1/tests/cli/test_cli.py +206 -0
- synthadoc-0.9.1/tests/cli/test_cli_commands.py +256 -0
- synthadoc-0.9.1/tests/cli/test_context_cli.py +60 -0
- synthadoc-0.9.1/tests/cli/test_demo_sync.py +383 -0
- synthadoc-0.9.1/tests/cli/test_export_cli.py +179 -0
- synthadoc-0.9.1/tests/cli/test_http_helpers.py +228 -0
- synthadoc-0.9.1/tests/cli/test_init.py +37 -0
- synthadoc-0.9.1/tests/cli/test_install_port.py +283 -0
- synthadoc-0.9.1/tests/cli/test_jobs_cli.py +94 -0
- synthadoc-0.9.1/tests/cli/test_lint_cli.py +395 -0
- synthadoc-0.9.1/tests/cli/test_logo.py +60 -0
- synthadoc-0.9.1/tests/cli/test_plugin_cli.py +305 -0
- synthadoc-0.9.1/tests/cli/test_query_cli.py +288 -0
- synthadoc-0.9.1/tests/cli/test_routing_cli.py +85 -0
- synthadoc-0.9.1/tests/cli/test_scaffold_cli.py +117 -0
- synthadoc-0.9.1/tests/cli/test_schedule_cli.py +147 -0
- synthadoc-0.9.1/tests/cli/test_serve.py +206 -0
- synthadoc-0.9.1/tests/cli/test_web_cli.py +67 -0
- synthadoc-0.9.1/tests/cli/test_wiki_resolution.py +273 -0
- synthadoc-0.9.1/tests/conftest.py +27 -0
- synthadoc-0.9.1/tests/core/__init__.py +2 -0
- synthadoc-0.9.1/tests/core/test_backup_engine.py +306 -0
- synthadoc-0.9.1/tests/core/test_cache.py +209 -0
- synthadoc-0.9.1/tests/core/test_candidates.py +32 -0
- synthadoc-0.9.1/tests/core/test_cost_guard.py +30 -0
- synthadoc-0.9.1/tests/core/test_hooks.py +73 -0
- synthadoc-0.9.1/tests/core/test_logging_config.py +189 -0
- synthadoc-0.9.1/tests/core/test_orchestrator.py +454 -0
- synthadoc-0.9.1/tests/core/test_orchestrator_cost.py +230 -0
- synthadoc-0.9.1/tests/core/test_queue.py +454 -0
- synthadoc-0.9.1/tests/core/test_routing.py +106 -0
- synthadoc-0.9.1/tests/core/test_scheduler.py +35 -0
- synthadoc-0.9.1/tests/integration/__init__.py +2 -0
- synthadoc-0.9.1/tests/integration/okf_consumer_agent.py +184 -0
- synthadoc-0.9.1/tests/integration/test_http_api.py +805 -0
- synthadoc-0.9.1/tests/integration/test_http_server.py +363 -0
- synthadoc-0.9.1/tests/integration/test_mcp_server.py +635 -0
- synthadoc-0.9.1/tests/integration/test_routing_endpoints.py +140 -0
- synthadoc-0.9.1/tests/integration/test_sse_endpoint.py +195 -0
- synthadoc-0.9.1/tests/live/README.md +167 -0
- synthadoc-0.9.1/tests/live/live_cli_test.py +708 -0
- synthadoc-0.9.1/tests/live/live_mcp_test.py +453 -0
- synthadoc-0.9.1/tests/live/live_plugin_test.py +705 -0
- synthadoc-0.9.1/tests/live/run_all.py +154 -0
- synthadoc-0.9.1/tests/performance/__init__.py +2 -0
- synthadoc-0.9.1/tests/performance/test_citation_perf.py +57 -0
- synthadoc-0.9.1/tests/performance/test_performance.py +264 -0
- synthadoc-0.9.1/tests/performance/test_query_cache_perf.py +682 -0
- synthadoc-0.9.1/tests/performance/test_routing_benchmark.py +95 -0
- synthadoc-0.9.1/tests/providers/__init__.py +2 -0
- synthadoc-0.9.1/tests/providers/test_coding_tool_integration.py +49 -0
- synthadoc-0.9.1/tests/providers/test_coding_tool_providers.py +354 -0
- synthadoc-0.9.1/tests/providers/test_pricing.py +64 -0
- synthadoc-0.9.1/tests/providers/test_providers.py +1296 -0
- synthadoc-0.9.1/tests/providers/test_streaming.py +220 -0
- synthadoc-0.9.1/tests/security/__init__.py +2 -0
- synthadoc-0.9.1/tests/security/test_security.py +124 -0
- synthadoc-0.9.1/tests/skills/__init__.py +2 -0
- synthadoc-0.9.1/tests/skills/test_image_skill.py +88 -0
- synthadoc-0.9.1/tests/skills/test_pdf_skill.py +211 -0
- synthadoc-0.9.1/tests/skills/test_registry.py +175 -0
- synthadoc-0.9.1/tests/skills/test_skill_agent.py +256 -0
- synthadoc-0.9.1/tests/skills/test_skills.py +660 -0
- synthadoc-0.9.1/tests/skills/test_web_search.py +428 -0
- synthadoc-0.9.1/tests/skills/test_youtube_skill.py +303 -0
- synthadoc-0.9.1/tests/storage/__init__.py +2 -0
- synthadoc-0.9.1/tests/storage/test_audit.py +147 -0
- synthadoc-0.9.1/tests/storage/test_db_schema_version.py +22 -0
- synthadoc-0.9.1/tests/storage/test_log.py +319 -0
- synthadoc-0.9.1/tests/storage/test_search.py +530 -0
- synthadoc-0.9.1/tests/storage/test_wiki.py +342 -0
- synthadoc-0.9.1/tests/test_audit_lifecycle.py +97 -0
- synthadoc-0.9.1/tests/test_config.py +278 -0
- synthadoc-0.9.1/tests/test_coverage_boost.py +1679 -0
- synthadoc-0.9.1/tests/test_demo_sync.py +107 -0
- synthadoc-0.9.1/tests/test_errors.py +7 -0
- synthadoc-0.9.1/tests/test_export_agent.py +645 -0
- synthadoc-0.9.1/tests/test_http_export.py +118 -0
- synthadoc-0.9.1/tests/test_http_lifecycle.py +162 -0
- synthadoc-0.9.1/tests/test_http_sessions.py +129 -0
- synthadoc-0.9.1/tests/test_ingest_lifecycle.py +38 -0
- synthadoc-0.9.1/tests/test_lifecycle_cli.py +117 -0
- synthadoc-0.9.1/tests/test_lint_lifecycle.py +159 -0
- synthadoc-0.9.1/tests/test_lint_lifecycle_url.py +140 -0
- synthadoc-0.9.1/tests/test_schedule.py +266 -0
- synthadoc-0.9.1/tests/test_telemetry.py +20 -0
- synthadoc-0.9.1/web-ui/.gitignore +23 -0
- synthadoc-0.9.1/web-ui/README.md +137 -0
- synthadoc-0.9.1/web-ui/dist/assets/hero-bg-Dl_stsKe.png +0 -0
- synthadoc-0.9.1/web-ui/dist/assets/index-BXK6OhWQ.css +1 -0
- synthadoc-0.9.1/web-ui/dist/assets/index-MLeC4_fg.js +39 -0
- synthadoc-0.9.1/web-ui/dist/assets/sidebar-bg-D7cOayr3.png +0 -0
- synthadoc-0.9.1/web-ui/dist/favicon.svg +1 -0
- synthadoc-0.9.1/web-ui/dist/icons.svg +24 -0
- synthadoc-0.9.1/web-ui/dist/index.html +14 -0
- synthadoc-0.9.1/web-ui/eslint.config.js +22 -0
- synthadoc-0.9.1/web-ui/index.html +13 -0
- synthadoc-0.9.1/web-ui/package-lock.json +4202 -0
- synthadoc-0.9.1/web-ui/package.json +32 -0
- synthadoc-0.9.1/web-ui/public/favicon.svg +1 -0
- synthadoc-0.9.1/web-ui/public/icons.svg +24 -0
- synthadoc-0.9.1/web-ui/src/App.css +184 -0
- synthadoc-0.9.1/web-ui/src/App.tsx +87 -0
- synthadoc-0.9.1/web-ui/src/api.ts +174 -0
- synthadoc-0.9.1/web-ui/src/assets/hero-bg.png +0 -0
- synthadoc-0.9.1/web-ui/src/assets/hero.png +0 -0
- synthadoc-0.9.1/web-ui/src/assets/react.svg +1 -0
- synthadoc-0.9.1/web-ui/src/assets/sidebar-bg.png +0 -0
- synthadoc-0.9.1/web-ui/src/assets/vite.svg +1 -0
- synthadoc-0.9.1/web-ui/src/components/ChatWindow.tsx +164 -0
- synthadoc-0.9.1/web-ui/src/components/Hero.tsx +85 -0
- synthadoc-0.9.1/web-ui/src/components/HintChips.tsx +20 -0
- synthadoc-0.9.1/web-ui/src/components/MessageBubble.tsx +139 -0
- synthadoc-0.9.1/web-ui/src/components/SettingsPopover.tsx +61 -0
- synthadoc-0.9.1/web-ui/src/components/Sidebar.tsx +181 -0
- synthadoc-0.9.1/web-ui/src/index.css +691 -0
- synthadoc-0.9.1/web-ui/src/main.tsx +10 -0
- synthadoc-0.9.1/web-ui/src/useQueryHistory.ts +42 -0
- synthadoc-0.9.1/web-ui/src/useQueryStream.ts +174 -0
- synthadoc-0.9.1/web-ui/src/useSession.ts +45 -0
- synthadoc-0.9.1/web-ui/src/useSessions.ts +25 -0
- synthadoc-0.9.1/web-ui/tsconfig.app.json +25 -0
- synthadoc-0.9.1/web-ui/tsconfig.json +7 -0
- synthadoc-0.9.1/web-ui/tsconfig.node.json +24 -0
- synthadoc-0.9.1/web-ui/vite.config.ts +11 -0
- synthadoc-0.9.1/wiki/log.md +2 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Normalize line endings: text files use LF in the repo
|
|
2
|
+
* text=auto eol=lf
|
|
3
|
+
|
|
4
|
+
# Binaries — no conversion
|
|
5
|
+
*.png binary
|
|
6
|
+
*.jpg binary
|
|
7
|
+
*.jpeg binary
|
|
8
|
+
*.gif binary
|
|
9
|
+
*.ico binary
|
|
10
|
+
*.woff binary
|
|
11
|
+
*.woff2 binary
|
|
12
|
+
*.ttf binary
|
|
13
|
+
*.otf binary
|
|
14
|
+
*.eot binary
|
|
15
|
+
*.pdf binary
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
test:
|
|
11
|
+
strategy:
|
|
12
|
+
matrix:
|
|
13
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
14
|
+
python-version: ["3.11", "3.12"]
|
|
15
|
+
runs-on: ${{ matrix.os }}
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
- uses: actions/setup-python@v5
|
|
19
|
+
with:
|
|
20
|
+
python-version: ${{ matrix.python-version }}
|
|
21
|
+
- run: pip install -e ".[dev]"
|
|
22
|
+
- run: python scripts/update_badges.py --check
|
|
23
|
+
- run: pytest --cov=synthadoc --cov-report=term-missing -v
|
|
24
|
+
|
|
25
|
+
coverage-badge:
|
|
26
|
+
needs: test
|
|
27
|
+
runs-on: ubuntu-latest
|
|
28
|
+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
|
29
|
+
permissions:
|
|
30
|
+
contents: write
|
|
31
|
+
steps:
|
|
32
|
+
- uses: actions/checkout@v4
|
|
33
|
+
with:
|
|
34
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
35
|
+
- uses: actions/setup-python@v5
|
|
36
|
+
with:
|
|
37
|
+
python-version: "3.12"
|
|
38
|
+
- run: pip install -e ".[dev]"
|
|
39
|
+
- run: pytest --cov=synthadoc --cov-report=json -q
|
|
40
|
+
- run: python scripts/update_badges.py --coverage-json coverage.json
|
|
41
|
+
- run: |
|
|
42
|
+
git config user.name "github-actions[bot]"
|
|
43
|
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
44
|
+
git add docs/badges.json
|
|
45
|
+
git diff --staged --quiet || git commit -m "ci: update coverage badge"
|
|
46
|
+
git push origin HEAD:badges --force
|
|
47
|
+
|
|
48
|
+
build-plugin-pr:
|
|
49
|
+
runs-on: ubuntu-latest
|
|
50
|
+
steps:
|
|
51
|
+
- uses: actions/checkout@v4
|
|
52
|
+
- uses: actions/setup-node@v4
|
|
53
|
+
with:
|
|
54
|
+
node-version: "20"
|
|
55
|
+
- run: cd obsidian-plugin && npm install && npm run build && npm test
|
|
56
|
+
- run: python scripts/sync_plugin.py
|
|
57
|
+
- name: Fail if compiled plugin files are not committed
|
|
58
|
+
run: |
|
|
59
|
+
if ! git diff --exit-code synthadoc/data/obsidian-plugin/; then
|
|
60
|
+
echo ""
|
|
61
|
+
echo "ERROR: compiled Obsidian plugin files are out of sync."
|
|
62
|
+
echo "Run these locally and commit the result before opening a PR:"
|
|
63
|
+
echo " cd obsidian-plugin && npm run build"
|
|
64
|
+
echo " python scripts/sync_plugin.py"
|
|
65
|
+
echo " git add synthadoc/data/obsidian-plugin/"
|
|
66
|
+
exit 1
|
|
67
|
+
fi
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
build:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v4
|
|
12
|
+
- uses: actions/setup-python@v5
|
|
13
|
+
with:
|
|
14
|
+
python-version: "3.12"
|
|
15
|
+
- run: pip install build
|
|
16
|
+
- run: python -m build
|
|
17
|
+
- uses: actions/upload-artifact@v4
|
|
18
|
+
with:
|
|
19
|
+
name: dist
|
|
20
|
+
path: dist/
|
|
21
|
+
|
|
22
|
+
publish:
|
|
23
|
+
needs: build
|
|
24
|
+
runs-on: ubuntu-latest
|
|
25
|
+
environment: pypi
|
|
26
|
+
permissions:
|
|
27
|
+
id-token: write # required for OIDC trusted publishing
|
|
28
|
+
steps:
|
|
29
|
+
- uses: actions/download-artifact@v4
|
|
30
|
+
with:
|
|
31
|
+
name: dist
|
|
32
|
+
path: dist/
|
|
33
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
__pycache__/
|
|
2
|
+
*.pyc
|
|
3
|
+
.pytest_cache/
|
|
4
|
+
.coverage
|
|
5
|
+
coverage.json
|
|
6
|
+
htmlcov/
|
|
7
|
+
/dist/
|
|
8
|
+
/build/
|
|
9
|
+
*.egg-info/
|
|
10
|
+
.env
|
|
11
|
+
.venv/
|
|
12
|
+
venv/
|
|
13
|
+
node_modules/
|
|
14
|
+
obsidian-plugin/node_modules/
|
|
15
|
+
obsidian-plugin/coverage/
|
|
16
|
+
obsidian-plugin/main.js
|
|
17
|
+
.VSCodeCounter/
|
|
18
|
+
.claude/
|
|
19
|
+
|
|
20
|
+
# synthadoc operational — never commit
|
|
21
|
+
.synthadoc/
|
|
22
|
+
docs/plans/
|
|
23
|
+
docs/blog/
|
|
24
|
+
docs/*.docx
|
|
25
|
+
synthadoc/demos/*/log.md
|
|
26
|
+
|
|
27
|
+
# diagram sources — export to PNG/SVG and commit the image instead
|
|
28
|
+
*.drawio
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
|
|
2
|
+
# Contributor Covenant Code of Conduct
|
|
3
|
+
|
|
4
|
+
## Our Pledge
|
|
5
|
+
|
|
6
|
+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
|
|
7
|
+
|
|
8
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
|
9
|
+
|
|
10
|
+
## Our Standards
|
|
11
|
+
|
|
12
|
+
Examples of behavior that contributes to a positive environment for our community include:
|
|
13
|
+
|
|
14
|
+
* Demonstrating empathy and kindness toward other people
|
|
15
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
16
|
+
* Giving and gracefully accepting constructive feedback
|
|
17
|
+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
|
18
|
+
* Focusing on what is best not just for us as individuals, but for the overall community
|
|
19
|
+
|
|
20
|
+
Examples of unacceptable behavior include:
|
|
21
|
+
|
|
22
|
+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
|
|
23
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
24
|
+
* Public or private harassment
|
|
25
|
+
* Publishing others' private information, such as a physical or email address, without their explicit permission
|
|
26
|
+
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
|
27
|
+
|
|
28
|
+
## Enforcement Responsibilities
|
|
29
|
+
|
|
30
|
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
|
31
|
+
|
|
32
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
|
33
|
+
|
|
34
|
+
## Scope
|
|
35
|
+
|
|
36
|
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
|
37
|
+
|
|
38
|
+
## Enforcement
|
|
39
|
+
|
|
40
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement by opening a [GitHub Issue](https://github.com/axoviq-ai/synthadoc/issues). All complaints will be reviewed and investigated promptly and fairly.
|
|
41
|
+
|
|
42
|
+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
|
43
|
+
|
|
44
|
+
## Enforcement Guidelines
|
|
45
|
+
|
|
46
|
+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
|
|
47
|
+
|
|
48
|
+
### 1. Correction
|
|
49
|
+
|
|
50
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
|
|
51
|
+
|
|
52
|
+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
|
|
53
|
+
|
|
54
|
+
### 2. Warning
|
|
55
|
+
|
|
56
|
+
**Community Impact**: A violation through a single incident or series of actions.
|
|
57
|
+
|
|
58
|
+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
|
|
59
|
+
|
|
60
|
+
### 3. Temporary Ban
|
|
61
|
+
|
|
62
|
+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
|
|
63
|
+
|
|
64
|
+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
|
|
65
|
+
|
|
66
|
+
### 4. Permanent Ban
|
|
67
|
+
|
|
68
|
+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
|
69
|
+
|
|
70
|
+
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
|
71
|
+
|
|
72
|
+
## Attribution
|
|
73
|
+
|
|
74
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
|
75
|
+
|
|
76
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
|
77
|
+
|
|
78
|
+
For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].
|
|
79
|
+
|
|
80
|
+
[homepage]: https://www.contributor-covenant.org
|
|
81
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
|
82
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
|
83
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
|
84
|
+
[translations]: https://www.contributor-covenant.org/translations
|
|
85
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Contributing to Synthadoc
|
|
2
|
+
|
|
3
|
+
Thank you for your interest in contributing!
|
|
4
|
+
|
|
5
|
+
## Licensing and CLA
|
|
6
|
+
|
|
7
|
+
Synthadoc uses a split-licence model:
|
|
8
|
+
|
|
9
|
+
| Component | Licence | What this means |
|
|
10
|
+
|-----------|---------|-----------------|
|
|
11
|
+
| Core server and all other source files | AGPL-3.0-or-later | Modifications must be released under AGPL |
|
|
12
|
+
| `synthadoc/skills/base.py` | Apache-2.0 | Third-party skills may use **any** licence |
|
|
13
|
+
| `synthadoc/providers/base.py` | Apache-2.0 | Third-party providers may use **any** licence |
|
|
14
|
+
|
|
15
|
+
This means you can write and distribute custom skills or LLM providers — open source or commercial — without being bound by the AGPL, as long as you only extend the Apache-2.0 base classes and do not modify the AGPL core.
|
|
16
|
+
|
|
17
|
+
A commercial licence is available separately for enterprise use of the core.
|
|
18
|
+
|
|
19
|
+
To keep dual-licensing viable, **all contributors must sign a Contributor License Agreement (CLA)** before any pull request can be merged. The CLA grants axoviq.com the right to distribute your contribution under both the AGPL and a commercial licence, while you retain your copyright.
|
|
20
|
+
|
|
21
|
+
A CLA bot will automatically request a signature when you open your first pull request.
|
|
22
|
+
|
|
23
|
+
## How to Contribute
|
|
24
|
+
|
|
25
|
+
1. **Open an issue first** for any non-trivial change so we can discuss the approach before you invest time coding.
|
|
26
|
+
2. **Fork** the repository and create a feature branch from `main`.
|
|
27
|
+
3. **Write tests** — new behaviour must be covered; bug fixes should include a regression test.
|
|
28
|
+
4. **Run the test suite** locally before opening a PR:
|
|
29
|
+
```
|
|
30
|
+
pytest
|
|
31
|
+
```
|
|
32
|
+
5. **Add SPDX headers** to any new source files you create:
|
|
33
|
+
```python
|
|
34
|
+
# SPDX-License-Identifier: AGPL-3.0-or-later # for core files
|
|
35
|
+
# SPDX-License-Identifier: Apache-2.0 # for new plugin interface files
|
|
36
|
+
# Copyright (C) 2026 Paul Chen / axoviq.com
|
|
37
|
+
```
|
|
38
|
+
6. **Open a pull request** against `main` with a clear description of what changed and why.
|
|
39
|
+
|
|
40
|
+
## Code Style
|
|
41
|
+
|
|
42
|
+
- Python: follow PEP 8; use `ruff` for linting.
|
|
43
|
+
- TypeScript: follow the existing eslint/prettier config in `obsidian-plugin/`.
|
|
44
|
+
- Keep commits focused; one logical change per commit.
|
|
45
|
+
|
|
46
|
+
## Release checklist
|
|
47
|
+
|
|
48
|
+
- [ ] Update `synthadoc/providers/pricing.py` — verify rates against provider pricing pages, update `_LAST_UPDATED`
|
|
49
|
+
|
|
50
|
+
Pricing sources to check:
|
|
51
|
+
- Anthropic: https://docs.anthropic.com/en/docs/about-claude/pricing
|
|
52
|
+
- OpenAI: https://openai.com/api/pricing/
|
|
53
|
+
- Gemini: https://ai.google.dev/gemini-api/docs/pricing
|
|
54
|
+
- Groq: https://groq.com/pricing
|
|
55
|
+
|
|
56
|
+
## Reporting Bugs
|
|
57
|
+
|
|
58
|
+
Use [GitHub Issues](../../issues). Include steps to reproduce, the full error message, and your OS / Python version.
|
|
59
|
+
|
|
60
|
+
## Security Issues
|
|
61
|
+
|
|
62
|
+
Do **not** open a public issue for security vulnerabilities. Email `security@axoviq.com` instead.
|