picoclaw/pkg
0x5487 19c698356c
fix(security): workspace sandbox avoid time-of-check/time-of-use (TOCTOU) races (#464)
* chore: Update default host bindings from 0.0.0.0 to 127.0.0.1 for various services and examples.

* config: Update default host bindings to 0.0.0.0 for improved Docker accessibility and add related documentation.

* refactor: reimplement filesystem tools with `os.OpenRoot` for enhanced security and simplified path validation.

* chore: revert other PR content from this branch

* docs: Update Chinese README.

* docs: Update Chinese README.

* docs: Update Chinese README.

* refactor: Reorder filesystem helper functions, extract directory entry formatting logic, and enhance `WriteFileTool`'s result message.

* feat: Enhance `mkdirAllInRoot` to prevent creating directories over existing files and add tests for directory creation functionality.

* Refactor filesystem tools to use a `fileReadWriter` interface for both host and sandboxed I/O, improving atomic writes and error handling.

* refactor: unify filesystem read/write operations with atomic write guarantees and clearer naming.

* refactor: rename `appendFileWithRW` function to `appendFile`

* refactor: unify filesystem access by introducing a `fileSystem` interface and updating tools to use it directly, removing `os.Root` dependency from `sandboxFs`.

* chore: run make fmt

* fix: `validatePath` now returns an error when the workspace is empty.
2026-02-23 20:09:53 +11:00
..
agent Fix: missing Tavily config in loop.go, and the invalid config param in web_search (#660) 2026-02-23 12:12:34 +08:00
auth feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
bus Prevent panic on publish after MessageBus is closed (#223) 2026-02-16 15:04:25 +08:00
channels feat(linter): Fix govet linter 2026-02-20 22:35:16 +02:00
config feat: integrate Tavily search (#340) 2026-02-23 00:30:14 +08:00
constants refactor: replace bool map with set-style map for internal channels (#472) 2026-02-19 11:48:17 +01:00
cron feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
devices feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
health Add health check endpoints (/health and /ready) for container orchestration liveness and readiness probes. (#104) 2026-02-16 11:53:11 +08:00
heartbeat feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
logger feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
migrate feat(linter): Fix govet linter 2026-02-20 22:35:16 +02:00
providers feat(linter): Fix govet linter 2026-02-20 22:35:16 +02:00
routing feat: add multi-agent routing with declarative bindings 2026-02-13 12:12:33 -03:00
session feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
skills feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
state feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
tools fix(security): workspace sandbox avoid time-of-check/time-of-use (TOCTOU) races (#464) 2026-02-23 20:09:53 +11:00
utils test(tools,utils): add ToolRegistry unit tests and fix Truncate panic on negative maxLen (#517) 2026-02-22 21:40:59 +11:00
voice feat(linter): Fix govet linter 2026-02-20 22:35:16 +02:00