feat(app): add /cd slash command with directory picker#16167
Open
6crucified wants to merge 1 commit intoanomalyco:devfrom
Open
feat(app): add /cd slash command with directory picker#161676crucified wants to merge 1 commit intoanomalyco:devfrom
6crucified wants to merge 1 commit intoanomalyco:devfrom
Conversation
|
I just created a clone and vibecoded a solution just to find you did it a few hours before me 🤣 |
Author
which app did you use? |
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.
Issue for this PR
Closes #15220
Type of change
What does this PR do?
This adds a built-in slash command in the app session command list so it shows up in slash autocomplete.
When selected, opens the existing interactive directory picker and then navigates to the selected directory session route.
This works because slash autocomplete is driven by registered built-in commands, and the directory picker already provides searchable folder selection.
How did you verify your code works?
• Running typecheck in 19 packages
• Remote caching disabled
@opencode-ai/sdk:typecheck: cache hit, replaying logs e874edd17e50382f
opencode:typecheck: cache miss, executing c01d7110d8d58af7
@opencode-ai/sdk:typecheck: $ tsgo --noEmit
@opencode-ai/ui:typecheck: cache miss, executing 7d99ef980ec9ac70
@opencode-ai/console-app:typecheck: cache miss, executing 194ffd7299b685e6
@opencode-ai/desktop-electron:typecheck: cache hit, replaying logs 17fa77d06c9bd1a5
@opencode-ai/desktop-electron:typecheck: $ tsgo -b
@opencode-ai/app:typecheck: cache miss, executing c63fe07a60a2df75
opencode:typecheck: $ tsgo --noEmit
@opencode-ai/ui:typecheck: $ tsgo --noEmit
@opencode-ai/plugin:typecheck: cache hit, replaying logs f4d5dc11cb31e7af
@opencode-ai/plugin:typecheck: $ tsgo --noEmit
@opencode-ai/util:typecheck: cache hit, replaying logs f25ce5293b3b0563
@opencode-ai/util:typecheck: $ tsc --noEmit
@opencode-ai/console-app:typecheck: $ tsgo --noEmit
@opencode-ai/desktop:typecheck: cache hit, replaying logs 2514a24628c1a2ac
@opencode-ai/desktop:typecheck: $ tsgo -b
@opencode-ai/console-core:typecheck: cache hit, replaying logs 42b142a2c3111763
@opencode-ai/console-core:typecheck: $ tsgo --noEmit
@opencode-ai/console-function:typecheck: cache hit, replaying logs 8da7d856c3126fdd
@opencode-ai/console-function:typecheck: $ tsgo --noEmit
@opencode-ai/enterprise:typecheck: cache miss, executing dee1313a1c0f83a7
@opencode-ai/app:typecheck: $ tsgo -b
@opencode-ai/slack:typecheck: cache hit, replaying logs f5dccfa91d2cfcda
@opencode-ai/slack:typecheck: $ tsgo --noEmit
@opencode-ai/enterprise:typecheck: $ tsgo --noEmit
Tasks: 13 successful, 13 total
Cached: 8 cached, 13 total
Time: 3.622s in
Screenshots / recordings
test.mov
Checklist