agent-readable 0.3.0__tar.gz → 0.3.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.
- {agent_readable-0.3.0 → agent_readable-0.3.1}/CHANGELOG.md +11 -1
- {agent_readable-0.3.0 → agent_readable-0.3.1}/PKG-INFO +2 -2
- {agent_readable-0.3.0 → agent_readable-0.3.1}/README.md +1 -1
- {agent_readable-0.3.0 → agent_readable-0.3.1}/docs/getting-started.md +34 -12
- {agent_readable-0.3.0 → agent_readable-0.3.1}/pyproject.toml +1 -1
- {agent_readable-0.3.0 → agent_readable-0.3.1}/.github/workflows/ci.yml +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/.github/workflows/publish.yml +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/.gitignore +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/LICENSE +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/docs/agent_help_vs_help.gif +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/docs/authoring.md +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/docs/benchmark.md +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/docs/examples.md +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/docs/faq.md +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/docs/why.md +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/examples/any_class.py +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/examples/duck_type.py +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/examples/modules_and_functions.py +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/examples/sqlite_connection.py +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/examples/temperature.py +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/scripts/benchmark.py +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/src/agent_readable/__init__.py +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/src/agent_readable/__main__.py +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/src/agent_readable/_model.py +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/src/agent_readable/_protocol.py +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/src/agent_readable/_render.py +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/src/agent_readable/py.typed +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/tests/__init__.py +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/tests/test_cli.py +0 -0
- {agent_readable-0.3.0 → agent_readable-0.3.1}/tests/test_protocol.py +0 -0
|
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.3.1] - 2026-08-23
|
|
11
|
+
|
|
12
|
+
### Documentation
|
|
13
|
+
|
|
14
|
+
- Restructured the getting-started one-off CLI section into two parallel
|
|
15
|
+
series, uv and pip, each with a one-off command and a repeated-use install,
|
|
16
|
+
and added a "Your own project" section for documenting project-local
|
|
17
|
+
targets.
|
|
18
|
+
|
|
10
19
|
## [0.3.0] - 2026-08-23
|
|
11
20
|
|
|
12
21
|
### Added
|
|
@@ -134,7 +143,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
134
143
|
`AgentReadableMixin`, `__agent_notes__` accumulation across the MRO, module
|
|
135
144
|
support, and the `python -m agent_readable` CLI.
|
|
136
145
|
|
|
137
|
-
[Unreleased]: https://github.com/zydo/agent-readable/compare/v0.3.
|
|
146
|
+
[Unreleased]: https://github.com/zydo/agent-readable/compare/v0.3.1...HEAD
|
|
147
|
+
[0.3.1]: https://github.com/zydo/agent-readable/compare/v0.3.0...v0.3.1
|
|
138
148
|
[0.3.0]: https://github.com/zydo/agent-readable/compare/v0.2.1...v0.3.0
|
|
139
149
|
[0.2.1]: https://github.com/zydo/agent-readable/compare/v0.2.0...v0.2.1
|
|
140
150
|
[0.1.2]: https://github.com/zydo/agent-readable/compare/v0.1.1...v0.1.2
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: agent-readable
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: A lightweight Python protocol for agent-oriented documentation
|
|
5
5
|
Project-URL: Repository, https://github.com/zydo/agent-readable
|
|
6
6
|
Project-URL: Issues, https://github.com/zydo/agent-readable/issues
|
|
@@ -46,7 +46,7 @@ npx skills add zydo/skills --skill agent-readable
|
|
|
46
46
|
|
|
47
47
|
## Quickstart
|
|
48
48
|
|
|
49
|
-
See [Getting started](docs/getting-started.md) for installation
|
|
49
|
+
See [Getting started](docs/getting-started.md) for installation and one-off CLI usage in two parallel series — uv and pip.
|
|
50
50
|
|
|
51
51
|
```python
|
|
52
52
|
from agent_readable import agent_help
|
|
@@ -19,7 +19,7 @@ npx skills add zydo/skills --skill agent-readable
|
|
|
19
19
|
|
|
20
20
|
## Quickstart
|
|
21
21
|
|
|
22
|
-
See [Getting started](docs/getting-started.md) for installation
|
|
22
|
+
See [Getting started](docs/getting-started.md) for installation and one-off CLI usage in two parallel series — uv and pip.
|
|
23
23
|
|
|
24
24
|
```python
|
|
25
25
|
from agent_readable import agent_help
|
|
@@ -16,29 +16,35 @@ Requires Python 3.10+. No runtime dependencies.
|
|
|
16
16
|
|
|
17
17
|
## One-off CLI use
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Two parallel series — pick whichever matches your tooling. Each one-off command creates an isolated tool environment on first use, caches it for instant repeat runs, and never touches the current environment. Replace `sqlite3:Connection` with any importable class, module, function, or method.
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
With `uvx`:
|
|
21
|
+
### uv series
|
|
24
22
|
|
|
25
23
|
```bash
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
# One-off — isolated tool environment, cached by uv
|
|
25
|
+
uvx agent-readable sqlite3:Connection
|
|
28
26
|
|
|
29
|
-
|
|
27
|
+
# One-off for a third-party package — --with adds it to the environment
|
|
28
|
+
uvx --with requests agent-readable requests:Session
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
uv tool
|
|
30
|
+
# Repeated use — install once, then run the bare command
|
|
31
|
+
uv tool install agent-readable
|
|
32
|
+
agent-readable sqlite3:Connection
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
### pip series
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
+
# One-off — pipx builds and caches an isolated environment
|
|
38
39
|
pipx run --spec agent-readable agent-readable sqlite3:Connection
|
|
39
|
-
```
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
# Repeated use — install once with pipx (isolated, on PATH)
|
|
42
|
+
pipx install agent-readable
|
|
43
|
+
agent-readable sqlite3:Connection
|
|
44
|
+
|
|
45
|
+
# Plain pip — persistent install into any environment you choose
|
|
46
|
+
pip install agent-readable
|
|
47
|
+
```
|
|
42
48
|
|
|
43
49
|
To let your coding agent automatically call `agent_help()` before using an unfamiliar API, install the companion skill:
|
|
44
50
|
|
|
@@ -46,6 +52,22 @@ To let your coding agent automatically call `agent_help()` before using an unfam
|
|
|
46
52
|
npx skills add zydo/skills --skill agent-readable
|
|
47
53
|
```
|
|
48
54
|
|
|
55
|
+
## Your own project
|
|
56
|
+
|
|
57
|
+
The one-off environments above cannot import your own project's code. Run the CLI from an environment where the project is importable:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
uv add --dev agent-readable
|
|
61
|
+
uv run agent-readable my_package.temperature:CalibratedSensor
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Or with pip, install into the project's environment and run the bare command:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
pip install agent-readable
|
|
68
|
+
agent-readable my_package.temperature:CalibratedSensor
|
|
69
|
+
```
|
|
70
|
+
|
|
49
71
|
## Quickstart
|
|
50
72
|
|
|
51
73
|
`agent_help()` works on any Python class, module, function, or method with no opt-in required. Point it at a stdlib class:
|
|
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
|