agent-code 1.0.2__tar.gz → 1.0.4__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 (31) hide show
  1. agent_code-1.0.4/CHANGELOG.md +52 -0
  2. agent_code-1.0.4/MANIFEST.in +6 -0
  3. {agent_code-1.0.2/src/agent_code.egg-info → agent_code-1.0.4}/PKG-INFO +4 -2
  4. {agent_code-1.0.2 → agent_code-1.0.4}/README.md +469 -467
  5. {agent_code-1.0.2 → agent_code-1.0.4}/pyproject.toml +1 -1
  6. agent_code-1.0.4/src/agent_code/__init__.py +2 -0
  7. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code/agent.py +2328 -2330
  8. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code/skill_manager.py +1485 -1425
  9. {agent_code-1.0.2 → agent_code-1.0.4/src/agent_code.egg-info}/PKG-INFO +4 -2
  10. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code.egg-info/SOURCES.txt +1 -0
  11. agent_code-1.0.2/MANIFEST.in +0 -4
  12. agent_code-1.0.2/src/agent_code/__init__.py +0 -2
  13. {agent_code-1.0.2 → agent_code-1.0.4}/LICENSE +0 -0
  14. {agent_code-1.0.2 → agent_code-1.0.4}/LICENSE-GPL +0 -0
  15. {agent_code-1.0.2 → agent_code-1.0.4}/setup.cfg +0 -0
  16. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code/__main__.py +0 -0
  17. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code/cli.py +0 -0
  18. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code/data/skills/browser/skill.md +0 -0
  19. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code/data/skills/browser/skill.py +0 -0
  20. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code/data/skills/filesystem/skill.md +0 -0
  21. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code/data/skills/filesystem/skill.py +0 -0
  22. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code/data/skills/public_api/skill.md +0 -0
  23. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code/data/skills/public_api/skill.py +0 -0
  24. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code/data/skills/temp_mail/skill.md +0 -0
  25. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code/data/skills/temp_mail/skill.py +0 -0
  26. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code/loader.py +0 -0
  27. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code/paths.py +0 -0
  28. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code.egg-info/dependency_links.txt +0 -0
  29. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code.egg-info/entry_points.txt +0 -0
  30. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code.egg-info/requires.txt +0 -0
  31. {agent_code-1.0.2 → agent_code-1.0.4}/src/agent_code.egg-info/top_level.txt +0 -0
@@ -0,0 +1,52 @@
1
+ # Changelog
2
+
3
+ ## [1.0.4] - 2026-10-09
4
+
5
+ ### Fixed
6
+ - agent.py: make_client passed a callable where the OpenAI SDK
7
+ expected a string; multi-key rotation now works via a property
8
+ override on a subclass instead of a lambda.
9
+ - agent.py: _safe_path used str.startswith() for the workspace jail,
10
+ which let a sibling directory named "workspace-foo" escape. Now
11
+ uses Path.relative_to().
12
+ - agent.py: removed duplicate load_skills / discover_skills; the
13
+ loader is now imported from loader.py (single source of truth).
14
+ - agent.py: removed the six browser_* tools from CORE_SCHEMAS and
15
+ all_callables — the browser skill owns them now, matching the
16
+ 1.0.3 CHANGELOG.
17
+ - agent.py: Skills dialog called self.app._save_disabled_skills(),
18
+ which did not exist. Added the method.
19
+ - agent.py: todo_write schema now describes items (content + enum
20
+ status), so LLMs reliably produce valid input.
21
+ - skill_manager.py: _do_request crashed on empty / 204 responses
22
+ (e.g. DELETE /skills/{name}); now returns {}.
23
+ - skill_manager.py: extract_zip_safe missed Windows-style ".."
24
+ entries and drive letters; now normalizes to PurePosixPath.
25
+ - __init__.py: __version__ was stuck at 1.0.2 while pyproject was
26
+ at 1.0.3. Both are 1.0.4 now.
27
+ - pyproject.toml: added data/site/*.html to package-data.
28
+ - MANIFEST.in: include docs/ and CHANGELOG.md.
29
+
30
+ ### Improved
31
+ - Todo list: header now shows "N/M complete" with a rule.
32
+ - Agent log: boot banner lists keyboard shortcuts.
33
+ - Keyboard shortcuts: Ctrl+L (clear), Ctrl+Enter (send),
34
+ Ctrl+S (save), Ctrl+E (export), Ctrl+K (skills),
35
+ Ctrl+, (settings), F1 (help), Esc (stop running loop).
36
+ - README: replaced the broken docs/skills.html link with a
37
+ pointer to the loader module.
38
+
39
+ ## [1.0.3] - 2026-10-03
40
+
41
+ ### Added
42
+ - skills/browser/ - DrissionPage wrapped as a proper skill folder.
43
+ Six tools: browser_navigate, browser_snapshot, browser_click,
44
+ browser_type, browser_links, browser_scroll, plus /browser-close.
45
+
46
+ ### Fixed
47
+ - terminal.py API-key rotation crashed after 1000 x len(KEYS) requests.
48
+ - terminal.py passed a callable where the OpenAI SDK expects a string.
49
+ - terminal.py /reset printed "memory cleared" but kept no memory.
50
+ - terminal.py shell_run prompted even in readonly mode.
51
+ - terminal.py stray import in the module body.
52
+ - Moved skills/loader.py -> loader.py for clean pip import.
@@ -0,0 +1,6 @@
1
+ include README.md
2
+ include LICENSE
3
+ include LICENSE-GPL
4
+ include CHANGELOG.md
5
+ recursive-include src/agent_code/data *.py *.md *.html
6
+ recursive-include docs *.html *.md
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agent-code
3
- Version: 1.0.2
3
+ Version: 1.0.4
4
4
  Summary: Local AI agent with headless browser, sandboxed shell, and plug-and-play skills
5
5
  Author: minecraftbefile-maker
6
6
  License-Expression: MIT
@@ -205,7 +205,9 @@ Optional `skill.md` frontmatter gives the skill a name, version, and author.
205
205
  Anything after the closing `---` becomes the skill's help page, visible in
206
206
  the Help dialog when the user clicks the skill.
207
207
 
208
- Full developer guide: [`docs/skills.html`](docs/skills.html).
208
+ Full developer guide: read the module docstring in
209
+ [`src/agent_code/loader.py`](src/agent_code/loader.py) — the loader is
210
+ ~200 lines and documents the whole skill contract.
209
211
 
210
212
  ---
211
213