opencode-tsift 0.1.63 → 0.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commands/tsift-context-pack.md +1 -1
- package/commands/tsift-diff-digest.md +1 -1
- package/commands/tsift-explain.md +1 -1
- package/commands/tsift-graph.md +1 -1
- package/commands/tsift-log-digest.md +1 -1
- package/commands/tsift-memory-guard.md +1 -1
- package/commands/tsift-memory-search.md +1 -1
- package/commands/tsift-memory-status.md +1 -1
- package/commands/tsift-rewrite-run.md +1 -1
- package/commands/tsift-search.md +1 -1
- package/commands/tsift-session-review.md +1 -1
- package/commands/tsift-source-read.md +2 -2
- package/commands/tsift-status.md +1 -1
- package/commands/tsift-symbol-read.md +2 -2
- package/commands/tsift-test-digest.md +1 -1
- package/package.json +1 -1
package/commands/tsift-graph.md
CHANGED
package/commands/tsift-search.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<!-- tsift:opencode-command v=0.1.
|
|
1
|
+
<!-- tsift:opencode-command v=0.1.65 name=tsift-source-read -->
|
|
2
2
|
---
|
|
3
3
|
description: AST-aware source code reading via tsift source-read
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Read source code using `tsift --envelope source-read <file> --
|
|
6
|
+
Read source code using `tsift --envelope source-read <file> --budget normal`, where `<file>` is `$ARGUMENTS` or the file the user wants to inspect. Prefer this over the raw Read tool for source code files (Rust, TypeScript, JavaScript, Python, Markdown, and other indexed languages). The envelope returns an AST-symbol projection with stable span metadata, `symbol-read` expansion commands for bodies, and `expand.window` commands for literal line previews. When `$ARGUMENTS` includes a line range, pass it as `--start <n> --lines <n>` to bound the AST projection. Add `--style window` only when the user needs numbered source lines. Fall back to the raw Read tool only for non-indexed files or binary assets.
|
package/commands/tsift-status.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<!-- tsift:opencode-command v=0.1.
|
|
1
|
+
<!-- tsift:opencode-command v=0.1.65 name=tsift-symbol-read -->
|
|
2
2
|
---
|
|
3
3
|
description: Read symbol body with AST metadata via tsift symbol-read
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Read the symbol named by `$ARGUMENTS` using `tsift --envelope symbol-read '<symbol>' --budget normal`. Prefer this over reading entire source files when you need a specific function, struct, or type definition. The envelope returns the symbol body, AST span metadata, child references, and expansion commands for graph/source navigation. When `$ARGUMENTS` includes a file hint, pass it as `--file '<path>'` to disambiguate duplicate names. Use the returned `expand` commands to inspect callers, callees, or the full source file. Fall back to `tsift --envelope source-read '<file>' --
|
|
6
|
+
Read the symbol named by `$ARGUMENTS` using `tsift --envelope symbol-read '<symbol>' --budget normal`. Prefer this over reading entire source files when you need a specific function, struct, or type definition. The envelope returns the symbol body, AST span metadata, child references, and expansion commands for graph/source navigation. When `$ARGUMENTS` includes a file hint, pass it as `--file '<path>'` to disambiguate duplicate names. Use the returned `expand` commands to inspect callers, callees, or the full source file. Fall back to `tsift --envelope source-read '<file>' --budget normal` when the symbol is not found, or add `--style window --start <n> --lines <n>` only when you need raw numbered source lines.
|