feat(tools): add minio prefix sync into memory
This commit is contained in:
+47
-1
@@ -27,7 +27,7 @@ Tools are executable capabilities that the AI agent can call to perform actions
|
||||
- **Web**: `web.fetch`, `web.search`
|
||||
- **Browser**: `browser.navigate`, `browser.screenshot`
|
||||
- **Memory**: `memory.read`, `memory.write`, `memory.search`
|
||||
- **MinIO**: `minio.share`, `minio.ingest`
|
||||
- **MinIO**: `minio.share`, `minio.ingest`, `minio.sync`
|
||||
- **Media**: `media.send`, `image.analyze`, `audio.transcribe`
|
||||
- **System**: `system.info`
|
||||
- **Session**: `sessions.list`, `sessions.delete`
|
||||
@@ -1007,6 +1007,52 @@ Read a text-like object from MinIO and write it into a memory namespace.
|
||||
}
|
||||
```
|
||||
|
||||
#### `minio.sync`
|
||||
|
||||
Sync text-like objects from a MinIO prefix into nested memory namespaces.
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "minio.sync",
|
||||
"description": "Sync text-like objects from a MinIO prefix into memory namespaces.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"prefix": {
|
||||
"type": "string",
|
||||
"description": "MinIO object prefix to sync recursively"
|
||||
},
|
||||
"bucket": {
|
||||
"type": "string",
|
||||
"description": "Optional bucket override"
|
||||
},
|
||||
"namespace_base": {
|
||||
"type": "string",
|
||||
"description": "Base memory namespace"
|
||||
},
|
||||
"mode": {
|
||||
"type": "string",
|
||||
"enum": ["append", "replace"],
|
||||
"description": "Write mode per object namespace"
|
||||
},
|
||||
"max_objects": {
|
||||
"type": "number",
|
||||
"description": "Maximum objects to ingest in one run"
|
||||
},
|
||||
"max_chars_per_object": {
|
||||
"type": "number",
|
||||
"description": "Maximum characters per object"
|
||||
},
|
||||
"force": {
|
||||
"type": "boolean",
|
||||
"description": "Override non-text extension/content safety checks"
|
||||
}
|
||||
},
|
||||
"required": ["prefix"]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Media Tools
|
||||
|
||||
#### `media.send`
|
||||
|
||||
@@ -80,6 +80,25 @@
|
||||
],
|
||||
"test_status": "pnpm test:run src/tools/builtin/minio-ingest.test.ts src/tools/policy.test.ts + pnpm typecheck passing"
|
||||
},
|
||||
"minio-prefix-sync-tool": {
|
||||
"status": "completed",
|
||||
"date": "2026-02-16",
|
||||
"updated": "2026-02-16",
|
||||
"summary": "Added `minio.sync` tool to recursively ingest MinIO prefixes into nested memory namespaces with per-run object limits, per-object content limits, extension/content safety checks, and summary output. Registered tool with MinIO+memory runtime, expanded `group:minio` policy coverage, and updated docs/tests.",
|
||||
"files_modified": [
|
||||
"src/tools/builtin/minio-sync.ts",
|
||||
"src/tools/builtin/minio-sync.test.ts",
|
||||
"src/tools/builtin/index.ts",
|
||||
"src/tools/index.ts",
|
||||
"src/daemon/index.ts",
|
||||
"src/tools/policy.ts",
|
||||
"src/tools/policy.test.ts",
|
||||
"README.md",
|
||||
"docs/api/TOOLS.md",
|
||||
"docs/plans/state.json"
|
||||
],
|
||||
"test_status": "pnpm test:run src/tools/builtin/minio-sync.test.ts src/tools/policy.test.ts + pnpm typecheck passing"
|
||||
},
|
||||
"backup-session-summary-audit-trail": {
|
||||
"status": "completed",
|
||||
"date": "2026-02-16",
|
||||
|
||||
Reference in New Issue
Block a user