What happens
The CLI can create buckets, list objects, upload and download, but the only delete is delete-bucket (bucket + all objects). There is no way to remove ONE object. Managing published content assets means retiring a superseded image or video routinely; today the only CLI-shaped option is to destroy the whole bucket. Suggest 'storage delete-object --bucket ' to complete the CRUD set that upload/download/list already imply.
Command
npx @insforge/cli storage delete-object articles/_probe.png --bucket content-assets
Error
error: unknown command 'delete-object'
Expected
The skill's Command Routing table lists 'Storage buckets and objects' as a CLI area, which reads as full object management.
Workaround
DELETE /api/storage/buckets/:bucket/objects/:key with the project API key as a bearer token — returns 200.
Triage finding
Triage judged this fixable.
Add src/commands/storage/delete-object.ts registering delete-object <objectKey> --requiredOption --bucket <name>, mirroring download.ts for URL construction (ossFetch DELETE to /api/storage/buckets/${encodeURIComponent(bucket)}/objects/${encodeURIComponent(objectKey)}) and delete-bucket.ts for the confirm prompt / --yes / --json / trackCommandUsage handling; wire it into src/index.ts next to the other storage registrations, and add the matching bullet to the Storage section of insforge-skills/skills/insforge-cli/SKILL.md; verify by npm run build then upload → list-objects (key present) → delete-object → list-objects (key gone), plus a 404 check on a nonexistent key.
Suggested fix
From automated triage — a starting point, not a verified plan.
Add src/commands/storage/delete-object.ts registering delete-object <objectKey> --requiredOption --bucket <name>, mirroring download.ts for URL construction (ossFetch DELETE to /api/storage/buckets/${encodeURIComponent(bucket)}/objects/${encodeURIComponent(objectKey)}) and delete-bucket.ts for the confirm prompt / --yes / --json / trackCommandUsage handling; wire it into src/index.ts next to the other storage registrations, and add the matching bullet to the Storage section of insforge-skills/skills/insforge-cli/SKILL.md; verify by npm run build then upload → list-objects (key present) → delete-object → list-objects (key gone), plus a 404 check on a nonexistent key.
Component cli · severity minor · CLI 0.2.2 · darwin 25.5.0
Filed automatically from user feedback.
What happens
The CLI can create buckets, list objects, upload and download, but the only delete is delete-bucket (bucket + all objects). There is no way to remove ONE object. Managing published content assets means retiring a superseded image or video routinely; today the only CLI-shaped option is to destroy the whole bucket. Suggest 'storage delete-object --bucket ' to complete the CRUD set that upload/download/list already imply.
Command
Error
Expected
The skill's Command Routing table lists 'Storage buckets and objects' as a CLI area, which reads as full object management.
Workaround
DELETE /api/storage/buckets/:bucket/objects/:key with the project API key as a bearer token — returns 200.
Triage finding
Triage judged this fixable.
Add
src/commands/storage/delete-object.tsregisteringdelete-object <objectKey> --requiredOption --bucket <name>, mirroringdownload.tsfor URL construction (ossFetchDELETE to/api/storage/buckets/${encodeURIComponent(bucket)}/objects/${encodeURIComponent(objectKey)}) anddelete-bucket.tsfor the confirm prompt /--yes/--json/trackCommandUsagehandling; wire it intosrc/index.tsnext to the other storage registrations, and add the matching bullet to the Storage section ofinsforge-skills/skills/insforge-cli/SKILL.md; verify bynpm run buildthen upload →list-objects(key present) →delete-object→list-objects(key gone), plus a 404 check on a nonexistent key.Suggested fix
From automated triage — a starting point, not a verified plan.
Add
src/commands/storage/delete-object.tsregisteringdelete-object <objectKey> --requiredOption --bucket <name>, mirroringdownload.tsfor URL construction (ossFetchDELETE to/api/storage/buckets/${encodeURIComponent(bucket)}/objects/${encodeURIComponent(objectKey)}) anddelete-bucket.tsfor the confirm prompt /--yes/--json/trackCommandUsagehandling; wire it intosrc/index.tsnext to the other storage registrations, and add the matching bullet to the Storage section ofinsforge-skills/skills/insforge-cli/SKILL.md; verify bynpm run buildthen upload →list-objects(key present) →delete-object→list-objects(key gone), plus a 404 check on a nonexistent key.Component
cli· severityminor· CLI0.2.2· darwin 25.5.0Filed automatically from user feedback.