{{ message }}
Repository navigation
improvement(sim-cli): publish each command's path aliases and renamed paths in the command inventory - #9251
Merged
Conversation
Contributor
[Medium impact] The PR appears safe to merge; no blocking issues were found. SummaryThe CLI inventory now publishes alternate command spellings for the worker.
No actionable issues found. The full PR diff was reviewed because the current head does not build on the previous review commit. No previous review threads were supplied. Tests were inspected, not run. Reviews (2) · Last reviewed commit: "improvement(sim-cli): publish each comma..." · Reviewed by Greptile |
|
… paths in the command inventory The worker builds its agent grammar from this inventory and did not know that sim runs files mv, workflows folders ls or kb as their commands, or still runs retired paths such as tables count create and workflows deployment list as the commands they were renamed to, so it refused or misread them. Each command now carries the commander aliases of its path segments (pathAliases, aligned with path) and the paths it was renamed from (renamedFrom).
waleedlatif1
force-pushed
the
improvement/cli-inventory-aliases
branch
from
October 20, 2026 19:25
7264686 to
c5aaf7d
Compare
Collaborator
Author
|
@greptile |
Collaborator
Author
|
@cubic-dev-ai review this PR |
Contributor
This branch was previously deployed
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
packages/sim-cli/scripts/print-command-inventory.ts), which the mothership worker builds its agent grammar from, now publishes each command's commander aliases per path segment (pathAliases, aligned withpath) and the retired paths the CLI still runs as that command (renamedFrom)files mv,workflows folders ls,kb …, and renamed paths such astables count createandworkflows deployment listCompanion: simstudioai/mothership#767
Type of Change
Testing
reference.test.ts: the published aliases match the real CLI, andfile mv …sends the same requests asfiles move …through the embedded CLIreference.test.ts: each published renamed path resolves inbuildProgram()to a hidden command running the same operation, andtables count create t1sends the same requests astables rows count t1check:comment-hygieneandcheck:cli-docspasscheck:cli-inventoryandcheck:contract-syncpass against this branch (344 commands)Checklist