-
Notifications
You must be signed in to change notification settings - Fork 236
feat: Add zcode support #218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| --- | ||
| name: semble-search | ||
| description: Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Grep/Glob/Read for any semantic or exploratory question. | ||
| tools: Bash, Read | ||
| --- | ||
|
|
||
| Use `semble search` to find code by describing what it does or naming a symbol/identifier, instead of grep: | ||
|
|
||
| ```bash | ||
| semble search "authentication flow" ./my-project --max-snippet-lines 10 # first 10 lines only, concise | ||
| semble search "save_pretrained" ./my-project # full chunk content | ||
| semble search "save model to disk" ./my-project --top-k 10 # more results | ||
| ``` | ||
|
|
||
| Results are cached automatically on first run and invalidated when files change. | ||
|
|
||
| Use `--content docs` to search documentation and prose, `--content config` for config files (yaml, toml, etc.), or `--content all` to search code, docs, and config: | ||
|
|
||
| ```bash | ||
| semble search "deployment guide" ./my-project --content docs | ||
| semble search "database host port" ./my-project --content config | ||
| semble search "authentication" ./my-project --content all | ||
| ``` | ||
|
|
||
| Use `semble find-related` to discover code similar to a known location (pass `file_path` and `line` from a prior search result): | ||
|
|
||
| ```bash | ||
| semble find-related src/auth.py 42 ./my-project | ||
| ``` | ||
|
|
||
| `path` defaults to the current directory when omitted; git URLs are accepted. | ||
|
|
||
| If `semble` is not on `$PATH`, use `uvx --from "semble[mcp]" semble` in its place. | ||
|
|
||
| ### Workflow | ||
|
|
||
| 1. Start with `semble search` to find relevant chunks. The index is built and cached automatically. | ||
| 2. Use `--content docs` for documentation, `--content config` for config files, or `--content all` for everything. | ||
| 3. Navigate directly to the returned file and line. Do not re-search or grep for the same content. | ||
| 4. Optionally use `semble find-related` with a promising result's `file_path` and `line` to discover related implementations. | ||
| 5. Use grep only when you need every occurrence of a literal string across the whole repo (e.g., all callers of a renamed function). |
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| __version_triple__ = (0, 4, 1) | ||
| __version_triple__ = (0, 4, 2) | ||
| __version__ = ".".join(map(str, __version_triple__)) |
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When an existing JSON config contains a literal top-level key like
"mcp.servers", this split makesmerge_json_memberlook formcpthenserversinstead of updating that member. The install then writes a second nestedmcp.serverstree and leaves the original entry behind, so callers using literal dotted section names can get duplicate or stale MCP config.