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.
- scheda-0.10.0/.dockerignore +64 -0
- scheda-0.10.0/CHANGELOG.md +640 -0
- scheda-0.10.0/COMMERCIAL.md +55 -0
- scheda-0.10.0/CONTRIBUTING.md +95 -0
- scheda-0.10.0/Dockerfile +103 -0
- scheda-0.10.0/LICENSE +661 -0
- scheda-0.10.0/MANIFEST.in +23 -0
- scheda-0.10.0/NOTICE +31 -0
- scheda-0.10.0/PKG-INFO +510 -0
- scheda-0.10.0/README.md +481 -0
- scheda-0.10.0/README.zh.md +448 -0
- scheda-0.10.0/SECURITY.md +62 -0
- scheda-0.10.0/deploy/README.md +152 -0
- scheda-0.10.0/deploy/systemd/dsh-kb-refresh.service +80 -0
- scheda-0.10.0/deploy/systemd/dsh-kb-refresh.timer +34 -0
- scheda-0.10.0/deploy/windows/register-refresh-task.ps1 +216 -0
- scheda-0.10.0/docker-compose.yml +102 -0
- scheda-0.10.0/docs/agent-integration.md +178 -0
- scheda-0.10.0/docs/architecture.md +133 -0
- scheda-0.10.0/docs/deployment.md +291 -0
- scheda-0.10.0/docs/design.md +373 -0
- scheda-0.10.0/docs/import.md +125 -0
- scheda-0.10.0/docs/licensing.md +96 -0
- scheda-0.10.0/docs/naming.md +70 -0
- scheda-0.10.0/docs/plugins.md +53 -0
- scheda-0.10.0/docs/publishing.md +92 -0
- scheda-0.10.0/docs/release.md +120 -0
- scheda-0.10.0/docs/semantic-arm.md +227 -0
- scheda-0.10.0/examples/config.json +15 -0
- scheda-0.10.0/examples/demo.sh +89 -0
- scheda-0.10.0/integrations/README.md +26 -0
- scheda-0.10.0/integrations/claude/README.md +36 -0
- scheda-0.10.0/integrations/claude/SKILL.md +35 -0
- scheda-0.10.0/integrations/cline/README.md +26 -0
- scheda-0.10.0/integrations/codex/README.md +28 -0
- scheda-0.10.0/integrations/cursor/README.md +18 -0
- scheda-0.10.0/integrations/cursor/rules.mdc +13 -0
- scheda-0.10.0/integrations/dsh/README.md +24 -0
- scheda-0.10.0/pyproject.toml +54 -0
- scheda-0.10.0/setup.cfg +4 -0
- scheda-0.10.0/shim/README.md +14 -0
- scheda-0.10.0/shim/pyproject.toml +28 -0
- scheda-0.10.0/shim/src/dsh_kb/__init__.py +47 -0
- scheda-0.10.0/src/scheda/__init__.py +17 -0
- scheda-0.10.0/src/scheda/__main__.py +7 -0
- scheda-0.10.0/src/scheda/audit.py +507 -0
- scheda-0.10.0/src/scheda/auth.py +863 -0
- scheda-0.10.0/src/scheda/cli.py +309 -0
- scheda-0.10.0/src/scheda/commands/__init__.py +21 -0
- scheda-0.10.0/src/scheda/commands/common.py +90 -0
- scheda-0.10.0/src/scheda/commands/doctor.py +162 -0
- scheda-0.10.0/src/scheda/commands/init.py +102 -0
- scheda-0.10.0/src/scheda/commands/lifecycle.py +279 -0
- scheda-0.10.0/src/scheda/commands/mcp.py +16 -0
- scheda-0.10.0/src/scheda/commands/query.py +118 -0
- scheda-0.10.0/src/scheda/commands/refresh.py +33 -0
- scheda-0.10.0/src/scheda/commands/status.py +63 -0
- scheda-0.10.0/src/scheda/commands/sync.py +68 -0
- scheda-0.10.0/src/scheda/commands/tools.py +264 -0
- scheda-0.10.0/src/scheda/commands/web.py +29 -0
- scheda-0.10.0/src/scheda/commands/write.py +460 -0
- scheda-0.10.0/src/scheda/config.py +635 -0
- scheda-0.10.0/src/scheda/expansion.py +527 -0
- scheda-0.10.0/src/scheda/image_embed.py +857 -0
- scheda-0.10.0/src/scheda/index.py +1603 -0
- scheda-0.10.0/src/scheda/mcp_server.py +361 -0
- scheda-0.10.0/src/scheda/mirror.py +469 -0
- scheda-0.10.0/src/scheda/platform_fs.py +405 -0
- scheda-0.10.0/src/scheda/plugins.py +271 -0
- scheda-0.10.0/src/scheda/py.typed +0 -0
- scheda-0.10.0/src/scheda/ragcheck.py +929 -0
- scheda-0.10.0/src/scheda/ragvec.py +870 -0
- scheda-0.10.0/src/scheda/service.py +862 -0
- scheda-0.10.0/src/scheda/skills.py +169 -0
- scheda-0.10.0/src/scheda/sources.py +597 -0
- scheda-0.10.0/src/scheda/supersede.py +372 -0
- scheda-0.10.0/src/scheda/webui.py +1379 -0
- scheda-0.10.0/src/scheda.egg-info/PKG-INFO +510 -0
- scheda-0.10.0/src/scheda.egg-info/SOURCES.txt +109 -0
- scheda-0.10.0/src/scheda.egg-info/dependency_links.txt +1 -0
- scheda-0.10.0/src/scheda.egg-info/entry_points.txt +3 -0
- scheda-0.10.0/src/scheda.egg-info/requires.txt +1 -0
- scheda-0.10.0/src/scheda.egg-info/top_level.txt +1 -0
- scheda-0.10.0/tests/__init__.py +14 -0
- scheda-0.10.0/tests/test_architecture.py +123 -0
- scheda-0.10.0/tests/test_audit.py +386 -0
- scheda-0.10.0/tests/test_auth.py +830 -0
- scheda-0.10.0/tests/test_chunk_strategy.py +489 -0
- scheda-0.10.0/tests/test_cli.py +894 -0
- scheda-0.10.0/tests/test_cli_init.py +127 -0
- scheda-0.10.0/tests/test_commands.py +152 -0
- scheda-0.10.0/tests/test_e2e.py +785 -0
- scheda-0.10.0/tests/test_expansion.py +252 -0
- scheda-0.10.0/tests/test_image_arm.py +971 -0
- scheda-0.10.0/tests/test_index_cas.py +574 -0
- scheda-0.10.0/tests/test_index_incremental.py +161 -0
- scheda-0.10.0/tests/test_index_shift.py +52 -0
- scheda-0.10.0/tests/test_index_zone.py +326 -0
- scheda-0.10.0/tests/test_mcp.py +323 -0
- scheda-0.10.0/tests/test_optional_off.py +82 -0
- scheda-0.10.0/tests/test_packaging.py +103 -0
- scheda-0.10.0/tests/test_platform_fs.py +389 -0
- scheda-0.10.0/tests/test_plugins.py +392 -0
- scheda-0.10.0/tests/test_ragcheck.py +1166 -0
- scheda-0.10.0/tests/test_ragvec.py +297 -0
- scheda-0.10.0/tests/test_rename_compat.py +110 -0
- scheda-0.10.0/tests/test_skills.py +121 -0
- scheda-0.10.0/tests/test_sources.py +471 -0
- scheda-0.10.0/tests/test_supersede.py +350 -0
- scheda-0.10.0/tests/test_units.py +196 -0
- 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
|