mirror of
https://github.com/usestrix/strix.git
synced 2026-08-21 02:45:31 +02:00
Every agent-facing tool now has a corresponding directory: the strix-implemented ones already do, and the SDK-provided ones (exec_command/write_stdin shell, apply_patch, view_image) plus the sandbox-CLI agent-browser get README-only stubs. Each README names the implementation source, where the tool is wired up, the strix-specific config it inherits, and the skill that teaches its usage. Listing strix/tools/ now gives a new reader the full agent toolset at a glance. The stub dirs intentionally have no __init__.py — they are not Python packages, just documentation. Nothing in the codebase auto-discovers strix.tools.* as packages (all imports are explicit), so the stubs cannot accidentally affect runtime behavior.
11 lines
430 B
Markdown
11 lines
430 B
Markdown
# apply_patch
|
|
|
|
SDK-provided file patching tool — the agent's only first-class way to edit
|
|
files in the sandbox. Surfaced to the model as `patch` (renamed via
|
|
`_TOOL_NAME_OVERRIDES` in `strix/agents/factory.py`).
|
|
|
|
- **Implementation:** `agents.sandbox.capabilities.tools.apply_patch_tool.ApplyPatchTool`
|
|
(upstream `agents` SDK)
|
|
- **Wired in:** `strix/agents/factory.py` — added per-run via the SDK
|
|
`Filesystem` capability.
|