You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: remove dead code and improve unknown command errors (#64)
* chore: remove dead code in auth modules
Remove isAuthenticated() from provider.ts and clearCredentials()
from storage.ts — both exported but never imported anywhere.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: improve error message for unknown subcommands
Replace confusing "too many arguments" error with a clear
"Unknown command" message that lists available subcommands.
Covers all levels: top-level, subcommand groups, nested groups,
and commands with a default subcommand.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: sweep stale test buckets in integration test setup
Previous failed/crashed CI runs left behind tigris-cli-test-* buckets
with no cleanup mechanism. Add a best-effort sweeper in beforeAll that
deletes test buckets older than 2 hours.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: reduce stale bucket sweep threshold to 30 minutes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: use recursive rm for stale bucket sweep
Wildcard `rm t3://bucket/* -f` doesn't match folder markers like
`folder/`, leaving the bucket non-empty and undeletable. Use
`rm t3://bucket -r -f` instead to remove everything including folders.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: use -r -f on bucket contents before deleting bucket
rm -r -f can't be applied directly on a bucket. First recursively
remove all contents (including folder markers) with bucket/*, then
delete the empty bucket.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: pass force flag to removeBucket in delete and rm commands
The force option was not being forwarded to removeBucket, preventing
force-deletion of non-empty buckets.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: only treat implemented commands as known in subcommand check
knownNames included all spec commands regardless of whether they had
implementations. An unimplemented command name would bypass the
"Unknown command" error and silently fall through. Now knownNames
is built from the same implemented-commands filter as the available
list.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments