scheda 0.10.0__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.
Files changed (111) hide show
  1. scheda-0.10.0/.dockerignore +64 -0
  2. scheda-0.10.0/CHANGELOG.md +640 -0
  3. scheda-0.10.0/COMMERCIAL.md +55 -0
  4. scheda-0.10.0/CONTRIBUTING.md +95 -0
  5. scheda-0.10.0/Dockerfile +103 -0
  6. scheda-0.10.0/LICENSE +661 -0
  7. scheda-0.10.0/MANIFEST.in +23 -0
  8. scheda-0.10.0/NOTICE +31 -0
  9. scheda-0.10.0/PKG-INFO +510 -0
  10. scheda-0.10.0/README.md +481 -0
  11. scheda-0.10.0/README.zh.md +448 -0
  12. scheda-0.10.0/SECURITY.md +62 -0
  13. scheda-0.10.0/deploy/README.md +152 -0
  14. scheda-0.10.0/deploy/systemd/dsh-kb-refresh.service +80 -0
  15. scheda-0.10.0/deploy/systemd/dsh-kb-refresh.timer +34 -0
  16. scheda-0.10.0/deploy/windows/register-refresh-task.ps1 +216 -0
  17. scheda-0.10.0/docker-compose.yml +102 -0
  18. scheda-0.10.0/docs/agent-integration.md +178 -0
  19. scheda-0.10.0/docs/architecture.md +133 -0
  20. scheda-0.10.0/docs/deployment.md +291 -0
  21. scheda-0.10.0/docs/design.md +373 -0
  22. scheda-0.10.0/docs/import.md +125 -0
  23. scheda-0.10.0/docs/licensing.md +96 -0
  24. scheda-0.10.0/docs/naming.md +70 -0
  25. scheda-0.10.0/docs/plugins.md +53 -0
  26. scheda-0.10.0/docs/publishing.md +92 -0
  27. scheda-0.10.0/docs/release.md +120 -0
  28. scheda-0.10.0/docs/semantic-arm.md +227 -0
  29. scheda-0.10.0/examples/config.json +15 -0
  30. scheda-0.10.0/examples/demo.sh +89 -0
  31. scheda-0.10.0/integrations/README.md +26 -0
  32. scheda-0.10.0/integrations/claude/README.md +36 -0
  33. scheda-0.10.0/integrations/claude/SKILL.md +35 -0
  34. scheda-0.10.0/integrations/cline/README.md +26 -0
  35. scheda-0.10.0/integrations/codex/README.md +28 -0
  36. scheda-0.10.0/integrations/cursor/README.md +18 -0
  37. scheda-0.10.0/integrations/cursor/rules.mdc +13 -0
  38. scheda-0.10.0/integrations/dsh/README.md +24 -0
  39. scheda-0.10.0/pyproject.toml +54 -0
  40. scheda-0.10.0/setup.cfg +4 -0
  41. scheda-0.10.0/shim/README.md +14 -0
  42. scheda-0.10.0/shim/pyproject.toml +28 -0
  43. scheda-0.10.0/shim/src/dsh_kb/__init__.py +47 -0
  44. scheda-0.10.0/src/scheda/__init__.py +17 -0
  45. scheda-0.10.0/src/scheda/__main__.py +7 -0
  46. scheda-0.10.0/src/scheda/audit.py +507 -0
  47. scheda-0.10.0/src/scheda/auth.py +863 -0
  48. scheda-0.10.0/src/scheda/cli.py +309 -0
  49. scheda-0.10.0/src/scheda/commands/__init__.py +21 -0
  50. scheda-0.10.0/src/scheda/commands/common.py +90 -0
  51. scheda-0.10.0/src/scheda/commands/doctor.py +162 -0
  52. scheda-0.10.0/src/scheda/commands/init.py +102 -0
  53. scheda-0.10.0/src/scheda/commands/lifecycle.py +279 -0
  54. scheda-0.10.0/src/scheda/commands/mcp.py +16 -0
  55. scheda-0.10.0/src/scheda/commands/query.py +118 -0
  56. scheda-0.10.0/src/scheda/commands/refresh.py +33 -0
  57. scheda-0.10.0/src/scheda/commands/status.py +63 -0
  58. scheda-0.10.0/src/scheda/commands/sync.py +68 -0
  59. scheda-0.10.0/src/scheda/commands/tools.py +264 -0
  60. scheda-0.10.0/src/scheda/commands/web.py +29 -0
  61. scheda-0.10.0/src/scheda/commands/write.py +460 -0
  62. scheda-0.10.0/src/scheda/config.py +635 -0
  63. scheda-0.10.0/src/scheda/expansion.py +527 -0
  64. scheda-0.10.0/src/scheda/image_embed.py +857 -0
  65. scheda-0.10.0/src/scheda/index.py +1603 -0
  66. scheda-0.10.0/src/scheda/mcp_server.py +361 -0
  67. scheda-0.10.0/src/scheda/mirror.py +469 -0
  68. scheda-0.10.0/src/scheda/platform_fs.py +405 -0
  69. scheda-0.10.0/src/scheda/plugins.py +271 -0
  70. scheda-0.10.0/src/scheda/py.typed +0 -0
  71. scheda-0.10.0/src/scheda/ragcheck.py +929 -0
  72. scheda-0.10.0/src/scheda/ragvec.py +870 -0
  73. scheda-0.10.0/src/scheda/service.py +862 -0
  74. scheda-0.10.0/src/scheda/skills.py +169 -0
  75. scheda-0.10.0/src/scheda/sources.py +597 -0
  76. scheda-0.10.0/src/scheda/supersede.py +372 -0
  77. scheda-0.10.0/src/scheda/webui.py +1379 -0
  78. scheda-0.10.0/src/scheda.egg-info/PKG-INFO +510 -0
  79. scheda-0.10.0/src/scheda.egg-info/SOURCES.txt +109 -0
  80. scheda-0.10.0/src/scheda.egg-info/dependency_links.txt +1 -0
  81. scheda-0.10.0/src/scheda.egg-info/entry_points.txt +3 -0
  82. scheda-0.10.0/src/scheda.egg-info/requires.txt +1 -0
  83. scheda-0.10.0/src/scheda.egg-info/top_level.txt +1 -0
  84. scheda-0.10.0/tests/__init__.py +14 -0
  85. scheda-0.10.0/tests/test_architecture.py +123 -0
  86. scheda-0.10.0/tests/test_audit.py +386 -0
  87. scheda-0.10.0/tests/test_auth.py +830 -0
  88. scheda-0.10.0/tests/test_chunk_strategy.py +489 -0
  89. scheda-0.10.0/tests/test_cli.py +894 -0
  90. scheda-0.10.0/tests/test_cli_init.py +127 -0
  91. scheda-0.10.0/tests/test_commands.py +152 -0
  92. scheda-0.10.0/tests/test_e2e.py +785 -0
  93. scheda-0.10.0/tests/test_expansion.py +252 -0
  94. scheda-0.10.0/tests/test_image_arm.py +971 -0
  95. scheda-0.10.0/tests/test_index_cas.py +574 -0
  96. scheda-0.10.0/tests/test_index_incremental.py +161 -0
  97. scheda-0.10.0/tests/test_index_shift.py +52 -0
  98. scheda-0.10.0/tests/test_index_zone.py +326 -0
  99. scheda-0.10.0/tests/test_mcp.py +323 -0
  100. scheda-0.10.0/tests/test_optional_off.py +82 -0
  101. scheda-0.10.0/tests/test_packaging.py +103 -0
  102. scheda-0.10.0/tests/test_platform_fs.py +389 -0
  103. scheda-0.10.0/tests/test_plugins.py +392 -0
  104. scheda-0.10.0/tests/test_ragcheck.py +1166 -0
  105. scheda-0.10.0/tests/test_ragvec.py +297 -0
  106. scheda-0.10.0/tests/test_rename_compat.py +110 -0
  107. scheda-0.10.0/tests/test_skills.py +121 -0
  108. scheda-0.10.0/tests/test_sources.py +471 -0
  109. scheda-0.10.0/tests/test_supersede.py +350 -0
  110. scheda-0.10.0/tests/test_units.py +196 -0
  111. scheda-0.10.0/tests/test_webui.py +471 -0
@@ -0,0 +1,64 @@
1
+ # Build-context hygiene. The image needs pyproject.toml + README.md + LICENSE +
2
+ # src/ and nothing else (see Dockerfile): no tests, no docs, no VCS metadata, and
3
+ # above all no local state — a developer's ~/.scheda mirror contains private
4
+ # pages and must never be sent to the daemon or baked into a layer.
5
+
6
+ # --- VCS / CI ---------------------------------------------------------------
7
+ .git
8
+ .gitattributes
9
+ .github
10
+ .gitignore
11
+
12
+ # --- build artifacts --------------------------------------------------------
13
+ build/
14
+ dist/
15
+ *.egg-info
16
+ **/*.egg-info
17
+ src/**/__pycache__
18
+ **/__pycache__
19
+ *.py[cod]
20
+ .pytest_cache/
21
+ .mypy_cache/
22
+ .ruff_cache/
23
+
24
+ # --- not needed to build (and excluded from the image on purpose) -----------
25
+ tests/
26
+ docs/
27
+ scripts/
28
+ examples/
29
+ deploy/
30
+ CHANGELOG.md
31
+ CONTRIBUTING.md
32
+ SECURITY.md
33
+ MANIFEST.in
34
+ *.md
35
+ !README.md
36
+
37
+ # --- local state / secrets --------------------------------------------------
38
+ .selfcheck/
39
+ .kb/
40
+ mirror/
41
+ state/
42
+ logs/
43
+ index/
44
+ config.json
45
+ *.sqlite
46
+ *.sqlite-wal
47
+ *.sqlite-shm
48
+ *.bak
49
+ *.bak-*
50
+ *.experimental-*
51
+ .venv/
52
+ venv/
53
+ .env
54
+ .env.*
55
+ *.pem
56
+ *.key
57
+
58
+ # --- the deploy files themselves are not part of the context ----------------
59
+ # The builder always reads Dockerfile and .dockerignore from the client side, so
60
+ # listing them here keeps them out of the context without breaking the build
61
+ # (they can simply never be COPYed into an image).
62
+ docker-compose.yml
63
+ .dockerignore
64
+ Dockerfile