fix: npx resolution, mount-all, and help improvements#19
Merged
designcode merged 6 commits intomainfrom Apr 23, 2026
Merged
Conversation
npx looks for a bin matching the unscoped package name (agent-shell), not tigris-agent-shell. Added agent-shell as primary bin entry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Group commands into Session, Storage, and Shell categories. Add Tigris commands (presign, snapshot, fork, forks) to help. Link to just-bash supported commands. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Mount all org buckets at /<name> instead of just the first - Start cwd at / so ls shows all buckets - Categorize help into Session, Storage, and Shell sections - Add Tigris commands (presign, snapshot, fork, forks) to help - Dynamic column width in df for long bucket names Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
MantasMiksys
approved these changes
Apr 22, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- presign resolves bucket from current mount based on cwd - Shell passes mount resolver to presign via closure - createTigrisCommands public API unchanged - Normalize // in cwd from just-bash path resolution - Error message when not in a mounted bucket Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d4607d2. Configure here.
In single-bucket mode, use rawPath directly as the object key instead of resolving against cwd which prepends the mount prefix. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
🎉 This PR is included in version 0.5.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
agent-shellbin entry sonpx @tigrisdata/agent-shellresolves correctly (npx looks for the unscoped package name)/<name>instead of just the first. cwd starts at/solsshows all bucketsTest plan
npx @tigrisdata/agent-shelllaunches withoutcommand not foundconfigureorloginmounts all buckets, cwd starts at/lsat/shows all mounted bucketsdfoutput aligns correctly with long bucket nameshelpshows categorized commands with Tigris commands included🤖 Generated with Claude Code
Note
Medium Risk
Changes default mounting/cwd behavior to mount all buckets at
/, which can affect existing workflows and flush semantics. Updatespresignto resolve bucket/key from mounts, which is moderately risky due to path resolution edge cases.Overview
Fixes
npx @tigrisdata/agent-shellexecution by adding anagent-shellbin alias and updating CLI help/README examples to match.Changes interactive
configure/logindefaults to mount all accessible buckets at/<bucket>withcwdstarting at/, and updates output (flushcounts, README). Improves REPL UX with categorizedhelp, dynamicdfcolumn sizing, and normalizesPWDto avoid//paths.Updates
presignto support multi-bucket mode by resolving the target bucket/key from the current working directory and mount table (with newPresignOptions+TigrisShellpath-to-bucket resolver), and wires custom commands directly inTigrisShell.Reviewed by Cursor Bugbot for commit bdcf62e. Bugbot is set up for automated code reviews on this repo. Configure here.