deepagents-code 0.0.1__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.
@@ -0,0 +1,235 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
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
+ !libs/cli/frontend/src/lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ .installed.cfg
27
+ *.egg
28
+ MANIFEST
29
+
30
+ # PyInstaller
31
+ # Usually these files are written by a python script from a template
32
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
33
+ *.manifest
34
+ *.spec
35
+
36
+ # Installer logs
37
+ pip-log.txt
38
+ pip-delete-this-directory.txt
39
+
40
+ # Unit test / coverage reports
41
+ htmlcov/
42
+ .tox/
43
+ .nox/
44
+ .coverage
45
+ .coverage.*
46
+ .cache
47
+ nosetests.xml
48
+ coverage.xml
49
+ *.cover
50
+ *.py.cover
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ #Pipfile.lock
97
+
98
+ # UV
99
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ #uv.lock
103
+
104
+ # poetry
105
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
106
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
107
+ # commonly ignored for libraries.
108
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
109
+ #poetry.lock
110
+ #poetry.toml
111
+
112
+ # pdm
113
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
114
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
115
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
116
+ #pdm.lock
117
+ #pdm.toml
118
+ .pdm-python
119
+ .pdm-build/
120
+
121
+ # pixi
122
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
123
+ #pixi.lock
124
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
125
+ # in the .venv directory. It is recommended not to include this directory in version control.
126
+ .pixi
127
+
128
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
129
+ __pypackages__/
130
+
131
+ # Celery stuff
132
+ celerybeat-schedule
133
+ celerybeat.pid
134
+
135
+ # SageMath parsed files
136
+ *.sage.py
137
+
138
+ # Environments
139
+ .env
140
+ .envrc
141
+ .venv
142
+ env/
143
+ venv/
144
+ ENV/
145
+ env.bak/
146
+ venv.bak/
147
+
148
+ # Spyder project settings
149
+ .spyderproject
150
+ .spyproject
151
+
152
+ # Rope project settings
153
+ .ropeproject
154
+
155
+ # mkdocs documentation
156
+ /site
157
+
158
+ # mypy
159
+ .mypy_cache/
160
+ .dmypy.json
161
+ dmypy.json
162
+
163
+ # Pyre type checker
164
+ .pyre/
165
+
166
+ # pytype static type analyzer
167
+ .pytype/
168
+
169
+ # Cython debug symbols
170
+ cython_debug/
171
+
172
+ # PyCharm
173
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
174
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
175
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
176
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
177
+ #.idea/
178
+
179
+ # Abstra
180
+ # Abstra is an AI-powered process automation framework.
181
+ # Ignore directories containing user credentials, local state, and settings.
182
+ # Learn more at https://abstra.io/docs
183
+ .abstra/
184
+
185
+ # Visual Studio Code
186
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
187
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
188
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
189
+ # you could uncomment the following to ignore the entire vscode folder
190
+ # .vscode/
191
+
192
+ # Ruff stuff:
193
+ .ruff_cache/
194
+
195
+ # PyPI configuration file
196
+ .pypirc
197
+
198
+ # Cursor
199
+ # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
200
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
201
+ # refer to https://docs.cursor.com/context/ignore-files
202
+ .cursorignore
203
+ .cursorindexingignore
204
+
205
+ # Marimo
206
+ marimo/_static/
207
+ marimo/_lsp/
208
+ __marimo__/
209
+
210
+ # LangGraph
211
+ .langgraph_api
212
+
213
+ #claude
214
+ .claude
215
+
216
+ # Harbor local job output
217
+ jobs/
218
+
219
+ .idea
220
+ TEXTUAL_REFACTOR_PLAN.md
221
+ libs/cli/TEXTUAL_PROGRESS.md
222
+
223
+ /tmp/
224
+
225
+ # macOS
226
+ .DS_Store
227
+ */tmp/.DS_Store
228
+
229
+ CLAUDE.md
230
+ .worktrees/
231
+
232
+ # Frontend build artifacts (source tree; package data under libs/cli/deepagents_cli/deploy/frontend_dist/ is tracked)
233
+ libs/cli/frontend/node_modules/
234
+ libs/cli/frontend/dist/
235
+ node_modules/
@@ -0,0 +1 @@
1
+ # Changelog
@@ -0,0 +1,49 @@
1
+ .PHONY: format lint type typecheck test tests help lint_package coverage
2
+
3
+ .DEFAULT_GOAL := help
4
+
5
+ .EXPORT_ALL_VARIABLES:
6
+ UV_FROZEN = true
7
+
8
+ TEST_FILE ?= tests/unit_tests/
9
+
10
+ integration_test integration_tests: TEST_FILE=tests/integration_tests/
11
+
12
+ test: ## Run unit tests
13
+ test tests:
14
+ uv run --group test pytest -vvv --disable-socket --allow-unix-socket $(TEST_FILE) \
15
+ --cov=deepagents_code \
16
+ --cov-report=term-missing
17
+
18
+ coverage: ## Run unit tests with coverage
19
+ uv run --group test pytest --cov \
20
+ --cov-report xml \
21
+ --cov-report term-missing:skip-covered \
22
+ $(TEST_FILE)
23
+
24
+ PYTHON_FILES=.
25
+ lint format: PYTHON_FILES=.
26
+ lint_diff format_diff: PYTHON_FILES=$(shell git diff --relative=libs/code --name-only --diff-filter=d main | grep -E '\.py$$|\.ipynb$$')
27
+ lint_package: ## Lint only the package
28
+ lint_package: PYTHON_FILES=deepagents_code
29
+
30
+ lint: ## Run linters and type checker
31
+ lint lint_diff lint_package:
32
+ [ "$(PYTHON_FILES)" = "" ] || uv run --all-groups ruff check $(PYTHON_FILES)
33
+ [ "$(PYTHON_FILES)" = "" ] || uv run --all-groups ruff format $(PYTHON_FILES) --diff
34
+ $(MAKE) type
35
+
36
+ type: ## Run type checker
37
+ type typecheck:
38
+ uv run --all-groups ty check deepagents_code
39
+
40
+ format: ## Run code formatters
41
+ format format_diff:
42
+ [ "$(PYTHON_FILES)" = "" ] || uv run --all-groups ruff format $(PYTHON_FILES)
43
+ [ "$(PYTHON_FILES)" = "" ] || uv run --all-groups ruff check --fix $(PYTHON_FILES)
44
+
45
+ help: ## Show this help message
46
+ @echo "Usage: make [target] [TEST_FILE=path/to/tests/]"
47
+ @echo ""
48
+ @echo "Targets:"
49
+ @awk 'BEGIN {FS = ":.*##"} /^[a-zA-Z_-]+:.*##/ {printf " %-20s %s\n", $$1, $$2}' $(MAKEFILE_LIST)
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: deepagents-code
3
+ Version: 0.0.1
4
+ Summary: Reserved package name for Deep Agents Code.
5
+ Project-URL: Homepage, https://github.com/langchain-ai/deepagents/tree/main/libs/code
6
+ Project-URL: Repository, https://github.com/langchain-ai/deepagents
7
+ License: MIT
8
+ Keywords: agents,ai,code,deepagents
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
18
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
19
+ Requires-Python: <4.0,>=3.11
20
+ Description-Content-Type: text/markdown
21
+
22
+ # deepagents-code
23
+
24
+ `deepagents-code` is a reserved package name for future Deep Agents.
25
+
26
+ This package is currently a minimal placeholder and does not expose runtime functionality beyond version metadata.
@@ -0,0 +1,5 @@
1
+ # deepagents-code
2
+
3
+ `deepagents-code` is a reserved package name for future Deep Agents.
4
+
5
+ This package is currently a minimal placeholder and does not expose runtime functionality beyond version metadata.
@@ -0,0 +1,5 @@
1
+ """Placeholder package for future Deep Agents code capabilities."""
2
+
3
+ from deepagents_code._version import __version__
4
+
5
+ __all__ = ["__version__"]
@@ -0,0 +1,3 @@
1
+ """Version information for `deepagents-code`."""
2
+
3
+ __version__ = "0.0.1" # x-release-please-version
File without changes
@@ -0,0 +1,84 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "deepagents-code"
7
+ description = "Reserved package name for Deep Agents Code."
8
+ license = { text = "MIT" }
9
+ readme = "README.md"
10
+ version = "0.0.1"
11
+ requires-python = ">=3.11,<4.0"
12
+ keywords = ["agents", "ai", "deepagents", "code"]
13
+ classifiers = [
14
+ "Development Status :: 3 - Alpha",
15
+ "Intended Audience :: Developers",
16
+ "License :: OSI Approved :: MIT License",
17
+ "Programming Language :: Python :: 3",
18
+ "Programming Language :: Python :: 3.11",
19
+ "Programming Language :: Python :: 3.12",
20
+ "Programming Language :: Python :: 3.13",
21
+ "Programming Language :: Python :: 3.14",
22
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
23
+ "Topic :: Software Development :: Libraries :: Python Modules",
24
+ ]
25
+ dependencies = []
26
+
27
+ [tool.hatch.build.targets.wheel]
28
+ packages = ["deepagents_code"]
29
+
30
+ [project.urls]
31
+ Homepage = "https://github.com/langchain-ai/deepagents/tree/main/libs/code"
32
+ Repository = "https://github.com/langchain-ai/deepagents"
33
+
34
+ [dependency-groups]
35
+ test = [
36
+ "pytest>=7.3.0,<10.0.0",
37
+ "pytest-cov",
38
+ "pytest-socket",
39
+ "pytest-xdist",
40
+ "pytest-timeout>=2.3.1,<3.0.0",
41
+ "ruff>=0.13.1,<0.16.0",
42
+ "ty>=0.0.1,<1.0.0",
43
+ "twine",
44
+ "build",
45
+ ]
46
+
47
+ [tool.ty.environment]
48
+ python-version = "3.14"
49
+
50
+ [tool.ty.rules]
51
+ division-by-zero = "error"
52
+
53
+ [tool.ruff.format]
54
+ docstring-code-format = true
55
+
56
+ [tool.ruff.lint]
57
+ select = ["ALL"]
58
+ ignore = [
59
+ "COM812",
60
+ "ISC001",
61
+ ]
62
+
63
+ [tool.ruff.lint.pydocstyle]
64
+ convention = "google"
65
+ ignore-var-parameters = true
66
+
67
+ [tool.ruff.lint.flake8-tidy-imports]
68
+ ban-relative-imports = "all"
69
+
70
+ [tool.coverage.run]
71
+ omit = ["tests/*"]
72
+
73
+ [tool.pytest.ini_options]
74
+ addopts = "--strict-markers --strict-config --durations=5"
75
+ testpaths = ["tests"]
76
+ filterwarnings = []
77
+
78
+ [tool.ruff.lint.extend-per-file-ignores]
79
+ "tests/**/*.py" = [
80
+ "S101",
81
+ "D",
82
+ "ANN",
83
+ "INP001",
84
+ ]
@@ -0,0 +1,5 @@
1
+ from deepagents_code import __version__
2
+
3
+
4
+ def test_version() -> None:
5
+ assert __version__ == "0.0.1"