Files
DocsGPT/application
Alex 1fe6236281 Add code_executor tool to run sandboxed code and persist artifacts
Add a code_executor agent tool with a run_code action that runs agent-provided
code in the per-conversation sandbox session and captures produced files as
artifacts. Inputs are materialized only from artifacts the caller can access
(parent-scoped); produced files are stored under the user's namespace with
server-computed size and sha256, and the storage write is ordered last in the
transaction so a failure cannot orphan bytes. Output is a compact payload with
no raw bytes, and the produced artifact lights up the existing tool artifact
rail. Execution honors a wall-clock timeout and an agent-selectable session TTL
clamped by the global cap, and the action can be gated behind approval.
Tool-call argument logging is redacted so code bodies are not written to logs.
2026-06-24 12:00:09 +01:00
..
2026-06-24 11:56:52 +01:00
2026-05-15 12:23:31 +01:00
2026-06-18 13:35:37 +01:00
2026-06-24 11:56:52 +01:00
2026-04-18 13:13:57 +01:00
2026-06-18 16:21:42 +01:00
2026-03-17 14:27:48 +00:00
2026-04-25 14:57:37 +01:00
2026-04-12 00:07:24 +01:00
2026-06-23 17:11:49 +01:00
2026-06-08 22:02:21 +01:00
2026-05-15 12:23:31 +01:00
2026-06-08 15:07:31 +01:00
2026-06-08 15:07:31 +01:00
2026-04-28 02:27:02 +01:00
2026-05-31 18:00:51 +02:00
2026-06-16 18:08:04 +01:00
2026-05-23 02:39:20 +01:00
2026-06-24 09:28:39 +01:00