opencode-tsift 0.1.64 → 0.1.66

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.
@@ -1,4 +1,4 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-context-pack -->
1
+ <!-- tsift:opencode-command v=0.1.66 name=tsift-context-pack -->
2
2
  ---
3
3
  description: Build a bounded tsift context pack
4
4
  ---
@@ -1,4 +1,4 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-diff-digest -->
1
+ <!-- tsift:opencode-command v=0.1.66 name=tsift-diff-digest -->
2
2
  ---
3
3
  description: Digest current or requested git diff
4
4
  ---
@@ -1,4 +1,4 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-explain -->
1
+ <!-- tsift:opencode-command v=0.1.66 name=tsift-explain -->
2
2
  ---
3
3
  description: Explain a symbol via callers, callees, and community preview
4
4
  ---
@@ -1,4 +1,4 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-graph -->
1
+ <!-- tsift:opencode-command v=0.1.66 name=tsift-graph -->
2
2
  ---
3
3
  description: Call graph navigation via tsift graph
4
4
  ---
@@ -1,4 +1,4 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-log-digest -->
1
+ <!-- tsift:opencode-command v=0.1.66 name=tsift-log-digest -->
2
2
  ---
3
3
  description: Run a verbose command through the bounded log digest
4
4
  ---
@@ -1,4 +1,4 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-memory-guard -->
1
+ <!-- tsift:opencode-command v=0.1.66 name=tsift-memory-guard -->
2
2
  ---
3
3
  description: Guard a memory or tool payload before model handoff
4
4
  ---
@@ -1,4 +1,4 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-memory-search -->
1
+ <!-- tsift:opencode-command v=0.1.66 name=tsift-memory-search -->
2
2
  ---
3
3
  description: Search first-party tsift memory graph
4
4
  ---
@@ -1,4 +1,4 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-memory-status -->
1
+ <!-- tsift:opencode-command v=0.1.66 name=tsift-memory-status -->
2
2
  ---
3
3
  description: Inspect first-party tsift memory readiness
4
4
  ---
@@ -1,4 +1,4 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-rewrite-run -->
1
+ <!-- tsift:opencode-command v=0.1.66 name=tsift-rewrite-run -->
2
2
  ---
3
3
  description: Run a shell command through tsift rewrite
4
4
  ---
@@ -1,4 +1,4 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-search -->
1
+ <!-- tsift:opencode-command v=0.1.66 name=tsift-search -->
2
2
  ---
3
3
  description: AST-aware content search via tsift search
4
4
  ---
@@ -1,4 +1,4 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-session-review -->
1
+ <!-- tsift:opencode-command v=0.1.66 name=tsift-session-review -->
2
2
  ---
3
3
  description: Summarize bounded agent session context
4
4
  ---
@@ -1,6 +1,6 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-source-read -->
1
+ <!-- tsift:opencode-command v=0.1.66 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> --start <n> --lines <n> --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 a bounded source window with AST symbol metadata, line previews, and expansion commands for before/after/full-file ranges. When `$ARGUMENTS` includes a line range, parse `start` and `lines` from it; otherwise default to `--start 1 --lines 80`. Use the returned `expand` commands to read adjacent ranges instead of re-reading the entire file. Fall back to the raw Read tool only for non-indexed files or binary assets.
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.
@@ -1,4 +1,4 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-status -->
1
+ <!-- tsift:opencode-command v=0.1.66 name=tsift-status -->
2
2
  ---
3
3
  description: Refresh and summarize tsift index status
4
4
  ---
@@ -1,6 +1,6 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-symbol-read -->
1
+ <!-- tsift:opencode-command v=0.1.66 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>' --start <n> --lines <n> --budget normal` when the symbol is not found or when you need raw source without AST context.
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.
@@ -1,4 +1,4 @@
1
- <!-- tsift:opencode-command v=0.1.64 name=tsift-test-digest -->
1
+ <!-- tsift:opencode-command v=0.1.66 name=tsift-test-digest -->
2
2
  ---
3
3
  description: Run tests through the bounded digest runner
4
4
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-tsift",
3
- "version": "0.1.64",
3
+ "version": "0.1.66",
4
4
  "description": "OpenCode command shortcuts for tsift bounded code navigation and session evidence",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",