feat(desktop): open repository files from message links#2952
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2f0f7fa7ba
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex address that feedback |
|
To use Codex here, create an environment for this repo. |
2f0f7fa to
ddd6682
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ddd668288d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Signed-off-by: kyinhub <kevinpyin@gmail.com>
ddd6682 to
b261069
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b261069307
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
buzz://repoURI contract for hosted repository files and directoriesCloses #2906.
Duplicate search: no overlapping open pull request found; this implements the existing issue above.
URI contract
The parser rejects credentials, ports, extra URI path components, fragments, unknown or duplicate parameters, malformed identifiers, absolute paths, backslashes, control characters, empty components, and
./..traversal.Arbitrary
file://access is deliberately unchanged.Implementation
buzz://repoanchors, including context-menu copy/open behaviorrepoRef/repoPathsearch state into the project routegit ls-treeoutput, safely matches non-ASCII paths, and appends only the exact file or bounded directory descendants outside the normal tree caprefs/heads/,refs/tags/, andrefs/nostr/targets stay on the explicit fetch path; unavailable branches fail instead of silently cloning the default branchThis PR implements the Desktop vertical slice while keeping the URI stable for independent web/mobile adoption.
Testing
buzz://repo,buzz://message, external links, and unsafe schemescargo fmt --checkpnpm typecheckCurrent gate dependency
Current
mainindependently exceeds the existingmanaged_agents/runtime.rsfile-size ratchet after #2176. #2930 restores that gate without changing runtime behavior and has a fully successful GitHub CI run. This PR remains draft until that prerequisite lands and this branch is rebased; no unrelated ratchet workaround is included here.