Expand description
HTTP adapter over zeroclaw_runtime::browse::list_directory.
GET /api/browse?path=<relative-to-shared> returns one level of
children. All walking, containment, and sorting lives in the runtime
browse module; this is request shape → service call → response shape.
Structs§
Functions§
- handle_
agent_ workspace_ delete DELETE /api/agents/{alias}/workspace/pathbody{ path: "<rel>" }.- handle_
agent_ workspace_ list GET /api/agents/{alias}/workspace/list?path=<rel>— one level under<install>/agents/{alias}/workspace/<rel>.- handle_
agent_ workspace_ mkdir POST /api/agents/{alias}/workspace/mkdirbody{ path: "<rel>" }.- handle_
agent_ workspace_ move POST /api/agents/{alias}/workspace/movebody{ from, to }.- handle_
agent_ workspace_ read GET /api/agents/{alias}/workspace/read?path=<rel>— read a single file. Bounded byAGENT_WORKSPACE_READ_CAP.- handle_
browse GET /api/browse?path=<relative-to-shared>- handle_
browse_ mkdir POST /api/browse/mkdir— create a directory under<install>/shared/.- handle_
browse_ rmdir DELETE /api/browse/rmdir— recursively remove a directory under<install>/shared/. Refuses protected top-level entries.