codent 0.1.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 (90) hide show
  1. codent-0.1.0/PKG-INFO +15 -0
  2. codent-0.1.0/codent.egg-info/PKG-INFO +15 -0
  3. codent-0.1.0/codent.egg-info/SOURCES.txt +88 -0
  4. codent-0.1.0/codent.egg-info/dependency_links.txt +1 -0
  5. codent-0.1.0/codent.egg-info/entry_points.txt +2 -0
  6. codent-0.1.0/codent.egg-info/requires.txt +13 -0
  7. codent-0.1.0/codent.egg-info/top_level.txt +4 -0
  8. codent-0.1.0/cont.py +2081 -0
  9. codent-0.1.0/cont_ui/__init__.py +1 -0
  10. codent-0.1.0/cont_ui/frontend.html +1011 -0
  11. codent-0.1.0/cont_ui/server.py +487 -0
  12. codent-0.1.0/cont_watcher.py +647 -0
  13. codent-0.1.0/core/__init__.py +0 -0
  14. codent-0.1.0/core/adaptive_prompt.py +399 -0
  15. codent-0.1.0/core/app.py +1000 -0
  16. codent-0.1.0/core/auto_eval.py +183 -0
  17. codent-0.1.0/core/automations.py +403 -0
  18. codent-0.1.0/core/bridge_server.py +267 -0
  19. codent-0.1.0/core/browser.py +391 -0
  20. codent-0.1.0/core/browser_agent.py +616 -0
  21. codent-0.1.0/core/cli.py +239 -0
  22. codent-0.1.0/core/decomposer.py +244 -0
  23. codent-0.1.0/core/endpoint_discovery.py +101 -0
  24. codent-0.1.0/core/env_snapshot.py +165 -0
  25. codent-0.1.0/core/episodic.py +376 -0
  26. codent-0.1.0/core/escalation.py +415 -0
  27. codent-0.1.0/core/events.py +141 -0
  28. codent-0.1.0/core/file_context.py +191 -0
  29. codent-0.1.0/core/formatters.py +516 -0
  30. codent-0.1.0/core/identity.py +539 -0
  31. codent-0.1.0/core/intent_detection.py +219 -0
  32. codent-0.1.0/core/intent_gate.py +241 -0
  33. codent-0.1.0/core/lmstudio.py +85 -0
  34. codent-0.1.0/core/memory_eviction.py +165 -0
  35. codent-0.1.0/core/memory_gate.py +189 -0
  36. codent-0.1.0/core/memory_store.py +1671 -0
  37. codent-0.1.0/core/model.py +363 -0
  38. codent-0.1.0/core/model_routing.py +148 -0
  39. codent-0.1.0/core/ocr.py +589 -0
  40. codent-0.1.0/core/path_resolution.py +166 -0
  41. codent-0.1.0/core/prefetch.py +542 -0
  42. codent-0.1.0/core/prompt_patches.py +148 -0
  43. codent-0.1.0/core/prompts.py +308 -0
  44. codent-0.1.0/core/recipes.py +754 -0
  45. codent-0.1.0/core/relay.py +454 -0
  46. codent-0.1.0/core/repl.py +1077 -0
  47. codent-0.1.0/core/router.py +242 -0
  48. codent-0.1.0/core/run_logger.py +110 -0
  49. codent-0.1.0/core/runtime.py +3255 -0
  50. codent-0.1.0/core/safety.py +486 -0
  51. codent-0.1.0/core/scheduler.py +117 -0
  52. codent-0.1.0/core/scratchpad.py +180 -0
  53. codent-0.1.0/core/self_improve.py +1213 -0
  54. codent-0.1.0/core/sticky_config.py +73 -0
  55. codent-0.1.0/core/structured_output.py +113 -0
  56. codent-0.1.0/core/system_executor.py +842 -0
  57. codent-0.1.0/core/system_map.py +644 -0
  58. codent-0.1.0/core/task_classifier.py +94 -0
  59. codent-0.1.0/core/teacher.py +370 -0
  60. codent-0.1.0/core/tool_budget.py +237 -0
  61. codent-0.1.0/core/tool_schemas.py +837 -0
  62. codent-0.1.0/core/tools.py +802 -0
  63. codent-0.1.0/core/trace.py +581 -0
  64. codent-0.1.0/core/types.py +77 -0
  65. codent-0.1.0/core/utils.py +128 -0
  66. codent-0.1.0/core/verification.py +409 -0
  67. codent-0.1.0/core/vocabulary.py +120 -0
  68. codent-0.1.0/core/voice.py +715 -0
  69. codent-0.1.0/core/web.py +802 -0
  70. codent-0.1.0/pyproject.toml +28 -0
  71. codent-0.1.0/setup.cfg +4 -0
  72. codent-0.1.0/tests/test_auto_eval.py +221 -0
  73. codent-0.1.0/tests/test_browser.py +183 -0
  74. codent-0.1.0/tests/test_browser_agent.py +131 -0
  75. codent-0.1.0/tests/test_commands_and_teach.py +325 -0
  76. codent-0.1.0/tests/test_cont.py +6 -0
  77. codent-0.1.0/tests/test_corpus_parser.py +33 -0
  78. codent-0.1.0/tests/test_episodic.py +169 -0
  79. codent-0.1.0/tests/test_eviction.py +236 -0
  80. codent-0.1.0/tests/test_formatters.py +229 -0
  81. codent-0.1.0/tests/test_golden.py +891 -0
  82. codent-0.1.0/tests/test_health_report_valid_json.py +629 -0
  83. codent-0.1.0/tests/test_integrity_and_memory_gate.py +2307 -0
  84. codent-0.1.0/tests/test_known_bugs.py +3128 -0
  85. codent-0.1.0/tests/test_model_agnostic.py +308 -0
  86. codent-0.1.0/tests/test_new_tools.py +355 -0
  87. codent-0.1.0/tests/test_recipes.py +309 -0
  88. codent-0.1.0/tests/test_teacher.py +352 -0
  89. codent-0.1.0/tests/test_verification.py +192 -0
  90. codent-0.1.0/tests/test_web_fetch.py +227 -0
codent-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,15 @@
1
+ Metadata-Version: 2.4
2
+ Name: codent
3
+ Version: 0.1.0
4
+ Requires-Python: >=3.10
5
+ Requires-Dist: rich>=13.0
6
+ Requires-Dist: openai>=1.0
7
+ Requires-Dist: httpx>=0.24
8
+ Requires-Dist: requests>=2.28
9
+ Provides-Extra: ocr
10
+ Requires-Dist: easyocr; extra == "ocr"
11
+ Requires-Dist: surya-ocr; extra == "ocr"
12
+ Requires-Dist: pillow; extra == "ocr"
13
+ Provides-Extra: ui
14
+ Requires-Dist: fastapi; extra == "ui"
15
+ Requires-Dist: uvicorn; extra == "ui"
@@ -0,0 +1,15 @@
1
+ Metadata-Version: 2.4
2
+ Name: codent
3
+ Version: 0.1.0
4
+ Requires-Python: >=3.10
5
+ Requires-Dist: rich>=13.0
6
+ Requires-Dist: openai>=1.0
7
+ Requires-Dist: httpx>=0.24
8
+ Requires-Dist: requests>=2.28
9
+ Provides-Extra: ocr
10
+ Requires-Dist: easyocr; extra == "ocr"
11
+ Requires-Dist: surya-ocr; extra == "ocr"
12
+ Requires-Dist: pillow; extra == "ocr"
13
+ Provides-Extra: ui
14
+ Requires-Dist: fastapi; extra == "ui"
15
+ Requires-Dist: uvicorn; extra == "ui"
@@ -0,0 +1,88 @@
1
+ cont.py
2
+ cont_watcher.py
3
+ pyproject.toml
4
+ codent.egg-info/PKG-INFO
5
+ codent.egg-info/SOURCES.txt
6
+ codent.egg-info/dependency_links.txt
7
+ codent.egg-info/entry_points.txt
8
+ codent.egg-info/requires.txt
9
+ codent.egg-info/top_level.txt
10
+ cont_ui/__init__.py
11
+ cont_ui/frontend.html
12
+ cont_ui/server.py
13
+ core/__init__.py
14
+ core/adaptive_prompt.py
15
+ core/app.py
16
+ core/auto_eval.py
17
+ core/automations.py
18
+ core/bridge_server.py
19
+ core/browser.py
20
+ core/browser_agent.py
21
+ core/cli.py
22
+ core/decomposer.py
23
+ core/endpoint_discovery.py
24
+ core/env_snapshot.py
25
+ core/episodic.py
26
+ core/escalation.py
27
+ core/events.py
28
+ core/file_context.py
29
+ core/formatters.py
30
+ core/identity.py
31
+ core/intent_detection.py
32
+ core/intent_gate.py
33
+ core/lmstudio.py
34
+ core/memory_eviction.py
35
+ core/memory_gate.py
36
+ core/memory_store.py
37
+ core/model.py
38
+ core/model_routing.py
39
+ core/ocr.py
40
+ core/path_resolution.py
41
+ core/prefetch.py
42
+ core/prompt_patches.py
43
+ core/prompts.py
44
+ core/recipes.py
45
+ core/relay.py
46
+ core/repl.py
47
+ core/router.py
48
+ core/run_logger.py
49
+ core/runtime.py
50
+ core/safety.py
51
+ core/scheduler.py
52
+ core/scratchpad.py
53
+ core/self_improve.py
54
+ core/sticky_config.py
55
+ core/structured_output.py
56
+ core/system_executor.py
57
+ core/system_map.py
58
+ core/task_classifier.py
59
+ core/teacher.py
60
+ core/tool_budget.py
61
+ core/tool_schemas.py
62
+ core/tools.py
63
+ core/trace.py
64
+ core/types.py
65
+ core/utils.py
66
+ core/verification.py
67
+ core/vocabulary.py
68
+ core/voice.py
69
+ core/web.py
70
+ tests/test_auto_eval.py
71
+ tests/test_browser.py
72
+ tests/test_browser_agent.py
73
+ tests/test_commands_and_teach.py
74
+ tests/test_cont.py
75
+ tests/test_corpus_parser.py
76
+ tests/test_episodic.py
77
+ tests/test_eviction.py
78
+ tests/test_formatters.py
79
+ tests/test_golden.py
80
+ tests/test_health_report_valid_json.py
81
+ tests/test_integrity_and_memory_gate.py
82
+ tests/test_known_bugs.py
83
+ tests/test_model_agnostic.py
84
+ tests/test_new_tools.py
85
+ tests/test_recipes.py
86
+ tests/test_teacher.py
87
+ tests/test_verification.py
88
+ tests/test_web_fetch.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ cont = cont:main
@@ -0,0 +1,13 @@
1
+ rich>=13.0
2
+ openai>=1.0
3
+ httpx>=0.24
4
+ requests>=2.28
5
+
6
+ [ocr]
7
+ easyocr
8
+ surya-ocr
9
+ pillow
10
+
11
+ [ui]
12
+ fastapi
13
+ uvicorn
@@ -0,0 +1,4 @@
1
+ cont
2
+ cont_ui
3
+ cont_watcher
4
+ core