stata-code 0.6.1__tar.gz → 0.6.2__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.
- {stata_code-0.6.1 → stata_code-0.6.2}/PKG-INFO +3 -3
- {stata_code-0.6.1 → stata_code-0.6.2}/README.md +2 -2
- {stata_code-0.6.1 → stata_code-0.6.2}/pyproject.toml +1 -1
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/__init__.py +1 -1
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/mcp/server.py +15 -1
- {stata_code-0.6.1 → stata_code-0.6.2}/.gitignore +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/CHANGELOG.md +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/LICENSE +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/LICENSE-POLICY.md +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/PUBLISHING.md +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/SCHEMA.md +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/docs/design/hard_timeout.md +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/examples/01-basic-regression.md +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/examples/02-did-card-krueger.md +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/examples/03-graphs.md +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/examples/04-multi-session.md +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/examples/05-large-matrix.md +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/examples/README.md +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/schema/run_result.schema.json +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/scripts/export_schema.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/core/__init__.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/core/_pool.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/core/_refs.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/core/_runtime.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/core/errors.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/core/log_artifacts.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/core/notebook.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/core/run_index.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/core/runner.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/core/schema.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/kernel/__init__.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/kernel/__main__.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/kernel/assets/logo-32x32.png +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/kernel/assets/logo-64x64.png +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/kernel/assets/logo-svg.svg +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/kernel/kernel.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/mcp/__init__.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/stata_code/mcp/__main__.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/__init__.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/fixtures/.gitkeep +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/test_cancel.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/test_errors.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/test_kernel.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/test_log_artifacts.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/test_mcp.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/test_notebook.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/test_notebook_phase2.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/test_pool.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/test_run_index.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/test_runner.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/test_runtime_discovery.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/test_schema.py +0 -0
- {stata_code-0.6.1 → stata_code-0.6.2}/tests/test_schema_artifact.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stata-code
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.2
|
|
4
4
|
Summary: Agent-native Stata bridge — one core, multiple frontends (MCP, Jupyter, VSCode)
|
|
5
5
|
Project-URL: Homepage, https://github.com/brycewang-stanford/stata-code
|
|
6
6
|
Project-URL: Repository, https://github.com/brycewang-stanford/stata-code
|
|
@@ -37,7 +37,7 @@ Requires-Dist: mcp>=1.27; extra == 'mcp'
|
|
|
37
37
|
Description-Content-Type: text/markdown
|
|
38
38
|
|
|
39
39
|
<p align="center">
|
|
40
|
-
<img src="branding/logo/horizontal@1024.png" alt="stata-code logo" width="520" />
|
|
40
|
+
<img src="https://raw.githubusercontent.com/brycewang-stanford/stata-code/main/branding/logo/horizontal@1024.png" alt="stata-code logo" width="520" />
|
|
41
41
|
</p>
|
|
42
42
|
|
|
43
43
|
<p align="center">
|
|
@@ -59,7 +59,7 @@ Description-Content-Type: text/markdown
|
|
|
59
59
|
[](https://github.com/brycewang-stanford/stata-code)
|
|
60
60
|
|
|
61
61
|
<p align="center">
|
|
62
|
-
<img src="branding/github-instructions.png" alt="stata-code: agent-native Stata bridge — one Python core, multiple frontends (Jupyter kernel, MCP server, VS Code extension)" width="720" />
|
|
62
|
+
<img src="https://raw.githubusercontent.com/brycewang-stanford/stata-code/main/branding/github-instructions.png" alt="stata-code: agent-native Stata bridge — one Python core, multiple frontends (Jupyter kernel, MCP server, VS Code extension)" width="720" />
|
|
63
63
|
</p>
|
|
64
64
|
|
|
65
65
|
> Agent-native Stata bridge — **one Python core, multiple frontends**.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="branding/logo/horizontal@1024.png" alt="stata-code logo" width="520" />
|
|
2
|
+
<img src="https://raw.githubusercontent.com/brycewang-stanford/stata-code/main/branding/logo/horizontal@1024.png" alt="stata-code logo" width="520" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
[](https://github.com/brycewang-stanford/stata-code)
|
|
22
22
|
|
|
23
23
|
<p align="center">
|
|
24
|
-
<img src="branding/github-instructions.png" alt="stata-code: agent-native Stata bridge — one Python core, multiple frontends (Jupyter kernel, MCP server, VS Code extension)" width="720" />
|
|
24
|
+
<img src="https://raw.githubusercontent.com/brycewang-stanford/stata-code/main/branding/github-instructions.png" alt="stata-code: agent-native Stata bridge — one Python core, multiple frontends (Jupyter kernel, MCP server, VS Code extension)" width="720" />
|
|
25
25
|
</p>
|
|
26
26
|
|
|
27
27
|
> Agent-native Stata bridge — **one Python core, multiple frontends**.
|
|
@@ -62,15 +62,29 @@ from stata_code.core._pool import get_default_pool, pool_execute, pool_stata_inf
|
|
|
62
62
|
from stata_code.core._runtime import PystataNotAvailable, is_available
|
|
63
63
|
from stata_code.core.notebook import (
|
|
64
64
|
NotebookError,
|
|
65
|
+
)
|
|
66
|
+
from stata_code.core.notebook import (
|
|
65
67
|
delete_cell as _notebook_delete_cell,
|
|
68
|
+
)
|
|
69
|
+
from stata_code.core.notebook import (
|
|
66
70
|
edit_cell as _notebook_edit_cell,
|
|
71
|
+
)
|
|
72
|
+
from stata_code.core.notebook import (
|
|
67
73
|
get_cell as _notebook_get_cell,
|
|
74
|
+
)
|
|
75
|
+
from stata_code.core.notebook import (
|
|
68
76
|
insert_cell as _notebook_insert_cell,
|
|
77
|
+
)
|
|
78
|
+
from stata_code.core.notebook import (
|
|
69
79
|
locate_cells as _notebook_locate_cells,
|
|
80
|
+
)
|
|
81
|
+
from stata_code.core.notebook import (
|
|
70
82
|
outline_notebook as _notebook_outline,
|
|
71
83
|
)
|
|
72
84
|
from stata_code.core.run_index import (
|
|
73
85
|
RunIndexError,
|
|
86
|
+
)
|
|
87
|
+
from stata_code.core.run_index import (
|
|
74
88
|
list_runs as _list_runs,
|
|
75
89
|
)
|
|
76
90
|
from stata_code.core.runner import (
|
|
@@ -82,7 +96,7 @@ from stata_code.core.runner import (
|
|
|
82
96
|
)
|
|
83
97
|
from stata_code.core.schema import RunResult
|
|
84
98
|
|
|
85
|
-
__version__ = "0.6.
|
|
99
|
+
__version__ = "0.6.2"
|
|
86
100
|
|
|
87
101
|
SERVER_INSTRUCTIONS = (
|
|
88
102
|
"Use stata-code for running and inspecting Stata code. Prefer structuredContent "
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|