agent-code 1.0.3__tar.gz → 1.0.5__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_code-1.0.5/CHANGELOG.md +69 -0
- agent_code-1.0.5/MANIFEST.in +6 -0
- {agent_code-1.0.3/src/agent_code.egg-info → agent_code-1.0.5}/PKG-INFO +4 -2
- {agent_code-1.0.3 → agent_code-1.0.5}/README.md +469 -467
- {agent_code-1.0.3 → agent_code-1.0.5}/pyproject.toml +1 -1
- agent_code-1.0.5/src/agent_code/__init__.py +2 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code/agent.py +2478 -2330
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code/cli.py +18 -5
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code/paths.py +32 -4
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code/skill_manager.py +1485 -1473
- {agent_code-1.0.3 → agent_code-1.0.5/src/agent_code.egg-info}/PKG-INFO +4 -2
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code.egg-info/SOURCES.txt +1 -0
- agent_code-1.0.3/MANIFEST.in +0 -4
- agent_code-1.0.3/src/agent_code/__init__.py +0 -2
- {agent_code-1.0.3 → agent_code-1.0.5}/LICENSE +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/LICENSE-GPL +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/setup.cfg +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code/__main__.py +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code/data/skills/browser/skill.md +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code/data/skills/browser/skill.py +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code/data/skills/filesystem/skill.md +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code/data/skills/filesystem/skill.py +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code/data/skills/public_api/skill.md +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code/data/skills/public_api/skill.py +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code/data/skills/temp_mail/skill.md +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code/data/skills/temp_mail/skill.py +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code/loader.py +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code.egg-info/dependency_links.txt +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code.egg-info/entry_points.txt +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code.egg-info/requires.txt +0 -0
- {agent_code-1.0.3 → agent_code-1.0.5}/src/agent_code.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [1.0.5] - 2026-10-09
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- Global folder mode: `agent-code run --global` (or
|
|
7
|
+
`AGENT_CODE_GLOBAL=1`, or `"use_global_paths": true` in config)
|
|
8
|
+
uses ~/.agent-code for skills, workspace and chats instead of the
|
|
9
|
+
current working directory.
|
|
10
|
+
- High-risk shell denylist — every command is now allowed except
|
|
11
|
+
shutdown / reboot / disk / bootloader / privilege-escalation /
|
|
12
|
+
account / destructive-delete patterns. Toggle strict mode with
|
|
13
|
+
`"permissive_shell": false` in agent_config.json.
|
|
14
|
+
- Force stop: pressing Stop a second time abandons the running turn
|
|
15
|
+
and re-enables the UI immediately.
|
|
16
|
+
- Paste guard: entry truncates pastes > 20 000 chars.
|
|
17
|
+
- Log guard: lines > 4 000 chars are truncated; widget trimmed to
|
|
18
|
+
the last 2 500 lines so long sessions stay responsive.
|
|
19
|
+
- LLM timeout: 120 s per request (was infinite).
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
- TodoList.write() rejected `todos=` because the signature only
|
|
23
|
+
accepted `items`. It now accepts `todos`, `items` and `tasks`
|
|
24
|
+
aliases, normalizes status synonyms (done → completed,
|
|
25
|
+
active → in_progress), and reports malformed items instead of
|
|
26
|
+
silently dropping them.
|
|
27
|
+
- tool_shell_run: pipes, redirects, `&&` and `;` are now supported
|
|
28
|
+
in permissive mode.
|
|
29
|
+
|
|
30
|
+
## [1.0.4] - 2026-10-09
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
- agent.py: make_client passed a callable where the OpenAI SDK
|
|
34
|
+
expected a string; multi-key rotation now works via a property
|
|
35
|
+
override on a subclass instead of a lambda.
|
|
36
|
+
- agent.py: _safe_path used str.startswith() for the workspace jail,
|
|
37
|
+
which let a sibling directory named "workspace-foo" escape. Now
|
|
38
|
+
uses Path.relative_to().
|
|
39
|
+
- agent.py: removed duplicate load_skills / discover_skills; the
|
|
40
|
+
loader is now imported from loader.py (single source of truth).
|
|
41
|
+
- agent.py: removed the six browser_* tools from CORE_SCHEMAS and
|
|
42
|
+
all_callables — the browser skill owns them now.
|
|
43
|
+
- agent.py: Skills dialog called self.app._save_disabled_skills(),
|
|
44
|
+
which did not exist. Added the method.
|
|
45
|
+
- agent.py: todo_write schema now describes items (content + enum
|
|
46
|
+
status), so LLMs reliably produce valid input.
|
|
47
|
+
- skill_manager.py: _do_request crashed on empty / 204 responses.
|
|
48
|
+
- skill_manager.py: extract_zip_safe missed Windows-style ".."
|
|
49
|
+
entries and drive letters; now normalizes to PurePosixPath.
|
|
50
|
+
- __init__.py: __version__ was stuck at 1.0.2 while pyproject was
|
|
51
|
+
at 1.0.3. Both are 1.0.5 now.
|
|
52
|
+
- pyproject.toml: added data/site/*.html to package-data.
|
|
53
|
+
- MANIFEST.in: include docs/ and CHANGELOG.md.
|
|
54
|
+
|
|
55
|
+
### Improved
|
|
56
|
+
- Todo list: header now shows "N/M complete" with a rule.
|
|
57
|
+
- Agent log: boot banner lists keyboard shortcuts.
|
|
58
|
+
- Keyboard shortcuts: Ctrl+L, Ctrl+Enter, Ctrl+S, Ctrl+E, Ctrl+K,
|
|
59
|
+
Ctrl+,, F1, Esc.
|
|
60
|
+
- README: replaced the broken docs/skills.html link.
|
|
61
|
+
|
|
62
|
+
## [1.0.3] - 2026-10-03
|
|
63
|
+
|
|
64
|
+
### Added
|
|
65
|
+
- skills/browser/ - DrissionPage wrapped as a proper skill folder.
|
|
66
|
+
|
|
67
|
+
### Fixed
|
|
68
|
+
- terminal.py API-key rotation and other small bugs.
|
|
69
|
+
- Moved skills/loader.py -> loader.py for clean pip import.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agent-code
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.5
|
|
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:
|
|
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
|
|