cgh 0.3.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 (74) hide show
  1. cgh-0.3.0/LICENSE +56 -0
  2. cgh-0.3.0/PKG-INFO +1084 -0
  3. cgh-0.3.0/README.md +982 -0
  4. cgh-0.3.0/cgh.egg-info/PKG-INFO +1084 -0
  5. cgh-0.3.0/cgh.egg-info/SOURCES.txt +72 -0
  6. cgh-0.3.0/cgh.egg-info/dependency_links.txt +1 -0
  7. cgh-0.3.0/cgh.egg-info/entry_points.txt +2 -0
  8. cgh-0.3.0/cgh.egg-info/requires.txt +21 -0
  9. cgh-0.3.0/cgh.egg-info/top_level.txt +1 -0
  10. cgh-0.3.0/codegraph/__init__.py +3 -0
  11. cgh-0.3.0/codegraph/__main__.py +414 -0
  12. cgh-0.3.0/codegraph/activity.py +75 -0
  13. cgh-0.3.0/codegraph/auth.py +120 -0
  14. cgh-0.3.0/codegraph/call_log.py +605 -0
  15. cgh-0.3.0/codegraph/cli/__init__.py +52 -0
  16. cgh-0.3.0/codegraph/cli/commands_federate.py +246 -0
  17. cgh-0.3.0/codegraph/cli/commands_graph.py +316 -0
  18. cgh-0.3.0/codegraph/cli/commands_index.py +336 -0
  19. cgh-0.3.0/codegraph/cli/commands_init.py +1042 -0
  20. cgh-0.3.0/codegraph/cli/commands_monitor.py +1433 -0
  21. cgh-0.3.0/codegraph/cli/commands_query.py +336 -0
  22. cgh-0.3.0/codegraph/config.py +378 -0
  23. cgh-0.3.0/codegraph/context_builder.py +494 -0
  24. cgh-0.3.0/codegraph/core/__init__.py +23 -0
  25. cgh-0.3.0/codegraph/core/db.py +131 -0
  26. cgh-0.3.0/codegraph/core/schema.py +162 -0
  27. cgh-0.3.0/codegraph/core/utils.py +63 -0
  28. cgh-0.3.0/codegraph/db.py +7 -0
  29. cgh-0.3.0/codegraph/dead_code.py +106 -0
  30. cgh-0.3.0/codegraph/endpoints.py +208 -0
  31. cgh-0.3.0/codegraph/federation.py +501 -0
  32. cgh-0.3.0/codegraph/fts.py +467 -0
  33. cgh-0.3.0/codegraph/indexer.py +1165 -0
  34. cgh-0.3.0/codegraph/ipc.py +355 -0
  35. cgh-0.3.0/codegraph/memory_index.py +140 -0
  36. cgh-0.3.0/codegraph/module_doc.py +202 -0
  37. cgh-0.3.0/codegraph/parsers/__init__.py +152 -0
  38. cgh-0.3.0/codegraph/parsers/base.py +167 -0
  39. cgh-0.3.0/codegraph/parsers/markdown.py +167 -0
  40. cgh-0.3.0/codegraph/parsers/plaintext.py +215 -0
  41. cgh-0.3.0/codegraph/parsers/python.py +196 -0
  42. cgh-0.3.0/codegraph/parsers/terraform.py +148 -0
  43. cgh-0.3.0/codegraph/parsers/typescript.py +190 -0
  44. cgh-0.3.0/codegraph/parsers/vue.py +543 -0
  45. cgh-0.3.0/codegraph/pattern.py +258 -0
  46. cgh-0.3.0/codegraph/pidfile.py +102 -0
  47. cgh-0.3.0/codegraph/plan_index.py +111 -0
  48. cgh-0.3.0/codegraph/post_commit.py +150 -0
  49. cgh-0.3.0/codegraph/roles.py +235 -0
  50. cgh-0.3.0/codegraph/scan_meta.py +180 -0
  51. cgh-0.3.0/codegraph/schema.py +6 -0
  52. cgh-0.3.0/codegraph/server/__init__.py +459 -0
  53. cgh-0.3.0/codegraph/server/tools_arch.py +226 -0
  54. cgh-0.3.0/codegraph/server/tools_docs.py +218 -0
  55. cgh-0.3.0/codegraph/server/tools_index.py +385 -0
  56. cgh-0.3.0/codegraph/server/tools_knowledge.py +198 -0
  57. cgh-0.3.0/codegraph/server/tools_memory.py +102 -0
  58. cgh-0.3.0/codegraph/server/tools_meta.py +274 -0
  59. cgh-0.3.0/codegraph/server/tools_plans.py +101 -0
  60. cgh-0.3.0/codegraph/server/tools_query.py +429 -0
  61. cgh-0.3.0/codegraph/server/tools_viz.py +484 -0
  62. cgh-0.3.0/codegraph/skill_installer.py +437 -0
  63. cgh-0.3.0/codegraph/skills/cgh-add-dir/SKILL.md +56 -0
  64. cgh-0.3.0/codegraph/skills/cgh-feature-plan/SKILL.md +82 -0
  65. cgh-0.3.0/codegraph/skills/cgh-record-knowledge/SKILL.md +108 -0
  66. cgh-0.3.0/codegraph/skills/cgh-scan-after-pull/SKILL.md +57 -0
  67. cgh-0.3.0/codegraph/skills/cgh-use-codegraph/SKILL.md +54 -0
  68. cgh-0.3.0/codegraph/skills/cgh-use-memory/SKILL.md +79 -0
  69. cgh-0.3.0/codegraph/viz/__init__.py +26 -0
  70. cgh-0.3.0/codegraph/viz/html.py +189 -0
  71. cgh-0.3.0/codegraph/viz/mermaid.py +224 -0
  72. cgh-0.3.0/codegraph/watcher.py +271 -0
  73. cgh-0.3.0/pyproject.toml +63 -0
  74. cgh-0.3.0/setup.cfg +4 -0
cgh-0.3.0/LICENSE ADDED
@@ -0,0 +1,56 @@
1
+ ALTIKVA Dual License v1.0
2
+ =========================
3
+
4
+ Copyright (c) 2026 ALTIKVA
5
+
6
+ This software is dual-licensed under your choice of either:
7
+
8
+ - The MIT License (full text below), or
9
+ - The Creative Commons Attribution-NonCommercial-ShareAlike 4.0
10
+ International License (CC BY-NC-SA 4.0), full text at:
11
+ https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode
12
+
13
+ The canonical version of this dual license notice is published at
14
+ https://www.altikva.com/licenses/LICENSE-1.0
15
+
16
+
17
+ ----------------------------------------------------------------------
18
+ MIT License
19
+ ----------------------------------------------------------------------
20
+
21
+ Permission is hereby granted, free of charge, to any person obtaining a copy
22
+ of this software and associated documentation files (the "Software"), to deal
23
+ in the Software without restriction, including without limitation the rights
24
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
25
+ copies of the Software, and to permit persons to whom the Software is
26
+ furnished to do so, subject to the following conditions:
27
+
28
+ The above copyright notice and this permission notice shall be included in all
29
+ copies or substantial portions of the Software.
30
+
31
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
32
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
33
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
34
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
35
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
36
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
37
+ SOFTWARE.
38
+
39
+
40
+ ----------------------------------------------------------------------
41
+ CC BY-NC-SA 4.0 (summary, not a substitute for the canonical text)
42
+ ----------------------------------------------------------------------
43
+
44
+ You are free to:
45
+ - Share: copy and redistribute the material in any medium or format
46
+ - Adapt: remix, transform, and build upon the material
47
+
48
+ Under the following terms:
49
+ - Attribution: you must give appropriate credit, provide a link to
50
+ the license, and indicate if changes were made.
51
+ - NonCommercial: you may not use the material for commercial purposes.
52
+ - ShareAlike: if you remix, transform, or build upon the material,
53
+ you must distribute your contributions under the same license.
54
+
55
+ Full legal text:
56
+ https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode