·
2 commits
to main
since this release
Major Changes
-
#32
625892cThanks @tamimbinhakim! - ctxpeek 1.0 —peekgains a grep mode and edge-case hardening, andget_issueslearns rich filtering plus a read-one mode.peek- Grep mode: pass
queryto find every match inside a named file and get each one back withcontextlines around it. Literal by default;regex: truefor patterns;ignore_case(default true). The search is a deterministic grep scoped to the one file you named — navigation, not a vector store. - Limits:
max_line_lengthtruncates over-long lines (both modes) so a minified/data line can't blow the context window;max_matchescaps grep results with an explicit "+N more" note;n(head mode) is capped. - Edge cases: binary files (NUL byte in the first 8 KB) and empty files are reported, never dumped; no-match queries return a friendly note instead of an error; an invalid regex reports the syntax error. The
~tokensfrontmatter now reflects the returned payload.
get_issues- Filtering:
labels,author,assignee,since, andsort/order(updated/created/comments) on top of the existingstate/type. The REST and GraphQL paths now share one query builder so filters behave identically. - Read one: pass
numberto fetch a single issue/PR's full body plus its firstcommentscomments.
Stabilization: new pure, unit-tested modules (
format/peekText,fetch/issueQuery); the tool surface stays at 10 tools. - Grep mode: pass