todo-agent 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 (55) hide show
  1. todo_agent-0.1.0/.gitignore +275 -0
  2. todo_agent-0.1.0/LICENSE +674 -0
  3. todo_agent-0.1.0/MANIFEST.in +13 -0
  4. todo_agent-0.1.0/Makefile +21 -0
  5. todo_agent-0.1.0/PKG-INFO +282 -0
  6. todo_agent-0.1.0/README.md +230 -0
  7. todo_agent-0.1.0/docs/publishing.md +166 -0
  8. todo_agent-0.1.0/pyproject.toml +135 -0
  9. todo_agent-0.1.0/requirements-dev.txt +30 -0
  10. todo_agent-0.1.0/requirements.txt +6 -0
  11. todo_agent-0.1.0/setup.cfg +4 -0
  12. todo_agent-0.1.0/tests/__init__.py +3 -0
  13. todo_agent-0.1.0/tests/test_core/__init__.py +3 -0
  14. todo_agent-0.1.0/tests/test_core/test_conversation_manager.py +188 -0
  15. todo_agent-0.1.0/tests/test_core/test_todo_manager.py +120 -0
  16. todo_agent-0.1.0/tests/test_infrastructure/__init__.py +3 -0
  17. todo_agent-0.1.0/tests/test_infrastructure/test_config.py +129 -0
  18. todo_agent-0.1.0/tests/test_infrastructure/test_inference.py +189 -0
  19. todo_agent-0.1.0/tests/test_infrastructure/test_llm_client_factory.py +68 -0
  20. todo_agent-0.1.0/tests/test_infrastructure/test_ollama_client.py +152 -0
  21. todo_agent-0.1.0/tests/test_infrastructure/test_openrouter_client.py +309 -0
  22. todo_agent-0.1.0/tests/test_infrastructure/test_todo_shell.py +244 -0
  23. todo_agent-0.1.0/tests/test_infrastructure/test_token_counter.py +286 -0
  24. todo_agent-0.1.0/tests/test_interface/__init__.py +3 -0
  25. todo_agent-0.1.0/tests/test_interface/test_cli.py +341 -0
  26. todo_agent-0.1.0/tests/test_interface/test_tools.py +167 -0
  27. todo_agent-0.1.0/tests/test_logger.py +261 -0
  28. todo_agent-0.1.0/tests/test_main.py +174 -0
  29. todo_agent-0.1.0/todo_agent/__init__.py +14 -0
  30. todo_agent-0.1.0/todo_agent/_version.py +34 -0
  31. todo_agent-0.1.0/todo_agent/core/__init__.py +16 -0
  32. todo_agent-0.1.0/todo_agent/core/conversation_manager.py +310 -0
  33. todo_agent-0.1.0/todo_agent/core/exceptions.py +27 -0
  34. todo_agent-0.1.0/todo_agent/core/todo_manager.py +194 -0
  35. todo_agent-0.1.0/todo_agent/infrastructure/__init__.py +11 -0
  36. todo_agent-0.1.0/todo_agent/infrastructure/config.py +59 -0
  37. todo_agent-0.1.0/todo_agent/infrastructure/inference.py +221 -0
  38. todo_agent-0.1.0/todo_agent/infrastructure/llm_client.py +62 -0
  39. todo_agent-0.1.0/todo_agent/infrastructure/llm_client_factory.py +48 -0
  40. todo_agent-0.1.0/todo_agent/infrastructure/logger.py +128 -0
  41. todo_agent-0.1.0/todo_agent/infrastructure/ollama_client.py +152 -0
  42. todo_agent-0.1.0/todo_agent/infrastructure/openrouter_client.py +173 -0
  43. todo_agent-0.1.0/todo_agent/infrastructure/prompts/system_prompt.txt +51 -0
  44. todo_agent-0.1.0/todo_agent/infrastructure/todo_shell.py +151 -0
  45. todo_agent-0.1.0/todo_agent/infrastructure/token_counter.py +184 -0
  46. todo_agent-0.1.0/todo_agent/interface/__init__.py +10 -0
  47. todo_agent-0.1.0/todo_agent/interface/cli.py +210 -0
  48. todo_agent-0.1.0/todo_agent/interface/tools.py +578 -0
  49. todo_agent-0.1.0/todo_agent/main.py +54 -0
  50. todo_agent-0.1.0/todo_agent.egg-info/PKG-INFO +282 -0
  51. todo_agent-0.1.0/todo_agent.egg-info/SOURCES.txt +53 -0
  52. todo_agent-0.1.0/todo_agent.egg-info/dependency_links.txt +1 -0
  53. todo_agent-0.1.0/todo_agent.egg-info/entry_points.txt +2 -0
  54. todo_agent-0.1.0/todo_agent.egg-info/requires.txt +23 -0
  55. todo_agent-0.1.0/todo_agent.egg-info/top_level.txt +1 -0
@@ -0,0 +1,275 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # setuptools_scm generated files
30
+ todo_agent/_version.py
31
+
32
+ # PyInstaller
33
+ # Usually these files are written by a python script from a template
34
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
35
+ *.manifest
36
+ *.spec
37
+
38
+ # Installer logs
39
+ pip-log.txt
40
+ pip-delete-this-directory.txt
41
+
42
+ # Unit test / coverage reports
43
+ htmlcov/
44
+ .tox/
45
+ .nox/
46
+ .coverage
47
+ .coverage.*
48
+ .cache
49
+ nosetests.xml
50
+ coverage.xml
51
+ *.cover
52
+ *.py,cover
53
+ .hypothesis/
54
+ .pytest_cache/
55
+ cover/
56
+
57
+ # Translations
58
+ *.mo
59
+ *.pot
60
+
61
+ # Django stuff:
62
+ *.log
63
+ local_settings.py
64
+ db.sqlite3
65
+ db.sqlite3-journal
66
+
67
+ # Flask stuff:
68
+ instance/
69
+ .webassets-cache
70
+
71
+ # Scrapy stuff:
72
+ .scrapy
73
+
74
+ # Sphinx documentation
75
+ docs/_build/
76
+
77
+ # PyBuilder
78
+ .pybuilder/
79
+ target/
80
+
81
+ # Jupyter Notebook
82
+ .ipynb_checkpoints
83
+
84
+ # IPython
85
+ profile_default/
86
+ ipython_config.py
87
+
88
+ # pyenv
89
+ # For a library or package, you might want to ignore these files since the code is
90
+ # intended to run in multiple environments; otherwise, check them in:
91
+ # .python-version
92
+
93
+ # pipenv
94
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
95
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
96
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
97
+ # install all needed dependencies.
98
+ #Pipfile.lock
99
+
100
+ # poetry
101
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
102
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
103
+ # commonly ignored for libraries.
104
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
105
+ #poetry.lock
106
+
107
+ # pdm
108
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
109
+ #pdm.lock
110
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
111
+ # in version control.
112
+ # https://pdm.fming.dev/#use-with-ide
113
+ .pdm.toml
114
+
115
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
116
+ __pypackages__/
117
+
118
+ # Celery stuff
119
+ celerybeat-schedule
120
+ celerybeat.pid
121
+
122
+ # SageMath parsed files
123
+ *.sage.py
124
+
125
+ # Environments
126
+ .env
127
+ .venv
128
+ env/
129
+ venv/
130
+ ENV/
131
+ env.bak/
132
+ venv.bak/
133
+
134
+ # Spyder project settings
135
+ .spyderproject
136
+ .spyproject
137
+
138
+ # Rope project settings
139
+ .ropeproject
140
+
141
+ # mkdocs documentation
142
+ /site
143
+
144
+ # mypy
145
+ .mypy_cache/
146
+ .dmypy.json
147
+ dmypy.json
148
+
149
+ # Pyre type checker
150
+ .pyre/
151
+
152
+ # pytype static type analyzer
153
+ .pytype/
154
+
155
+ # Cython debug symbols
156
+ cython_debug/
157
+
158
+ # PyCharm
159
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
160
+ # be added to the global gitignore or merged into this project gitignore. For a PyCharm
161
+ # project, it is recommended to include the following files:
162
+ # .idea/
163
+ # *.iml
164
+ # *.ipr
165
+ # *.iws
166
+ .idea/
167
+ *.iml
168
+ *.ipr
169
+ *.iws
170
+
171
+ # VS Code
172
+ .vscode/
173
+ *.code-workspace
174
+
175
+ # Sublime Text
176
+ *.sublime-project
177
+ *.sublime-workspace
178
+
179
+ # Vim
180
+ *.swp
181
+ *.swo
182
+ *~
183
+
184
+ # Emacs
185
+ *~
186
+ \#*\#
187
+ /.emacs.desktop
188
+ /.emacs.desktop.lock
189
+ *.elc
190
+ auto-save-list
191
+ tramp
192
+ .\#*
193
+
194
+ # macOS
195
+ .DS_Store
196
+ .AppleDouble
197
+ .LSOverride
198
+ Icon
199
+ ._*
200
+ .DocumentRevisions-V100
201
+ .fseventsd
202
+ .Spotlight-V100
203
+ .TemporaryItems
204
+ .Trashes
205
+ .VolumeIcon.icns
206
+ .com.apple.timemachine.donotpresent
207
+ .AppleDB
208
+ .AppleDesktop
209
+ Network Trash Folder
210
+ Temporary Items
211
+ .apdisk
212
+
213
+ # Windows
214
+ Thumbs.db
215
+ Thumbs.db:encryptable
216
+ ehthumbs.db
217
+ ehthumbs_vista.db
218
+ *.tmp
219
+ *.temp
220
+ Desktop.ini
221
+ $RECYCLE.BIN/
222
+ *.cab
223
+ *.msi
224
+ *.msix
225
+ *.msm
226
+ *.msp
227
+ *.lnk
228
+
229
+ # Linux
230
+ *~
231
+ .fuse_hidden*
232
+ .directory
233
+ .Trash-*
234
+ .nfs*
235
+
236
+ # Project-specific patterns
237
+ # Log files
238
+ logs/*.log
239
+ *.log
240
+
241
+ # Configuration files with sensitive data
242
+ config.ini
243
+ .env.local
244
+ .env.production
245
+ .env.staging
246
+
247
+ # Temporary files
248
+ *.tmp
249
+ *.temp
250
+ *.bak
251
+ *.backup
252
+
253
+ # Database files
254
+ *.db
255
+ *.sqlite
256
+ *.sqlite3
257
+
258
+ # API keys and secrets
259
+ secrets.json
260
+ api_keys.json
261
+ credentials.json
262
+
263
+ # Local development files
264
+ local_settings.py
265
+ settings_local.py
266
+
267
+ # Backup files
268
+ *.orig
269
+ *.rej
270
+
271
+ # OS generated files
272
+ .DS_Store?
273
+ ehthumbs.db
274
+ Icon?
275
+ Thumbs.db