This commit is contained in:
seb
2026-10-06 03:30:31 +02:00
parent 0369b4e819
commit d5e58e76e1
15 changed files with 103 additions and 196 deletions

View File

@@ -65,11 +65,7 @@ export function deleteVfsFile(vfsRoot, relPath) {
export function createRmTool({ googleAuthId }) {
return defineTool({
name: 'rm',
description:
'Delete a single file from the virtual filesystem (VFS). ' +
'Use this to remove a SKILL file: reset_vfs intentionally preserves skills, so rm is how a skill is ' +
'deleted on purpose. Also use it to drop one unwanted artifact. ' +
'Deletion is immediate and cannot be undone. Use reset_vfs to clear many files or a directory at once.',
description: 'Delete single VFS file (e.g. specific artifact or SKILL file). Irreversible.',
strict: false,
parameters: {
type: 'object',
@@ -78,9 +74,7 @@ export function createRmTool({ googleAuthId }) {
properties: {
filename: {
type: 'string',
description:
'File to delete, relative to the VFS root using forward slashes ' +
'(e.g. "image-pipeline.SKILL", "notes.md", "labels/sheet1.png").',
description: 'VFS file path to delete.',
},
},
},