Skip to content

feat: stat, object acl and iam policy#21

Merged
designcode merged 4 commits intomainfrom
feat/stat-object-acl-iam-policy
Feb 18, 2026
Merged

feat: stat, object acl and iam policy#21
designcode merged 4 commits intomainfrom
feat/stat-object-acl-iam-policy

Conversation

@designcode
Copy link
Collaborator

@designcode designcode commented Feb 17, 2026

Note

Medium Risk
Moderate risk due to a broad refactor of CLI routing/help generation and new nested command dispatch logic (including dynamic module imports). New IAM policy management touches auth-dependent flows and could affect user-facing behavior if command/spec wiring is wrong.

Overview
Adds a PR GitHub Action (.github/workflows/pr.yaml) that runs npm ci, build, and tests on pull requests.

Expands the CLI command model from 2-level command/operation to fully nested commands by making CommandSpec recursive, updating specs.yaml from operations to commands, and refactoring src/cli.ts to register/dispatch commands via path parts (including alias arrays), with added command-name validation to mitigate path traversal.

Introduces new user-facing commands: stat now works (overall storage stats with no args, bucket info, or object metadata); objects set updates an object’s access level and optionally renames it; and iam policies adds list/get/create/edit/delete flows (OAuth-only) with interactive selection when the policy ARN isn’t provided and support for document input via file/inline JSON/stdin.

Improves table output to respect terminal width by adding column shrinking/truncation (maxWidth, ellipsis), updates @tigrisdata/iam and @tigrisdata/storage dependencies, removes the unused stub src/lib/_stat.ts, and extends tests to cover the new help output and nested spec lookup (getCommandSpec).

Written by Cursor Bugbot for commit 04b5c7e. This will update automatically on new commits. Configure here.

@designcode designcode force-pushed the feat/stat-object-acl-iam-policy branch from aad5faf to 7208df5 Compare February 18, 2026 08:56
@designcode designcode force-pushed the feat/stat-object-acl-iam-policy branch from 7208df5 to 463a1fd Compare February 18, 2026 10:22
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@designcode designcode force-pushed the feat/stat-object-acl-iam-policy branch from 463a1fd to 04b5c7e Compare February 18, 2026 10:54
@designcode designcode merged commit bea70cd into main Feb 18, 2026
2 checks passed
@designcode designcode deleted the feat/stat-object-acl-iam-policy branch February 18, 2026 12:27
@github-actions
Copy link

🎉 This PR is included in version 2.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments