Repository navigation
Releases
Releases · exlee/rik
rik 0.6.0
Added
- Discover agent skills from
~/.agents/skills,~/.codex/skills, and~/.claude/skills, preferring the first location that defines a given skill name - Add a
skilltool that loads a skill's instructions and its bundled reference files, and advertise the available skills to the agent for both tasks and questions - Preload skills into the agent preamble with
--skills, failing with the full list of available skills when a name is unknown - Close a multiline marker with a delimiter trailing its last content line (
rik: [[ … third line ]]) instead of requiring the delimiter on a line of its own - Remember each completed turn — tasks as a model-written what/why/how summary, questions as the question and its answer — and replay the summaries to later turns as a
Historyblock. Budgeted withmemory-tokens/--memory-tokens(default 32000, 0 disables); on overflow the oldest two thirds are merged into one summary and the newest third follows it - Add a
recalltool so the agent can read a remembered turn in full — request, reasoning, output, or diff — by id. Diffs and raw turn text are held outside the prompt, so the budget covers many more turns - Stop a running task as soon as the user edits the file being worked on, leaving both rik's partial work and the user's edit in place (no revert)
Changed
- Update to
rig-core0.40,toml1, andshlex2, migrating tools to the splitdescription()/parameters()trait methods and the unifiedPromptResponse
v0.5.0
Added
- Supply additional run-wide agent instructions with
-sor--system-prompt - Write question responses back as aligned, 100-column
Q:/A:blocks with thewrite-answersconfig key or--write-answers - Include ignored text files in scans and watch mode with
--no-ignore
Changed
- Replace
marker_limits_edition_rangewith the backward-compatibleedition-constraintspolicy and make post-edit vicinity reconciliation the default - Honor
.gitignore,.ignore, and Git exclude files during scans and watch mode, and skip binary files in scanning, listing, and reading
Fixed
- Preserve edited multiline marker bodies when removing completed marker delimiters
Security
- Update
crossbeam-epochandquinn-prototo releases that address RUSTSEC-2026-0204 and RUSTSEC-2026-0185
v0.4.0
Added
- Select nested model profiles with
--model <profile>or the top-leveldefault_model/default-modelconfig key, with inherited parent settings - Put an instruction after a multi-line opening delimiter or enclose a same-line instruction in matching delimiters
Changed
- Use Escape instead of Space to cancel the current processing loop and report
[user cancel received] - Name dynamic command tools
D<N>after their declaration line number - Return both stdout and stderr from dynamic command tools
- Avoid returning already-known
read_filelines until the file changes or an edit resets the task's read history - Improve runtime tool-call output and show diffs for each successful
edit_filecall
Fixed
- Revert incomplete edits on stream errors instead of continuing marker cleanup
- Reliably remove complete multi-line marker spans, including decorated closing delimiters
- Preserve task markers and report an error when the agent makes no substantive edit
v0.3.0
rik can answer questions now.
Added
- Question mode for read-only answers from markers ending with
?, starting with?, or usingrik?: - Dynamic command tools defined per file with
rik +tool: <command> - In-memory question tracking for watch mode
marker_limits_edition_rangeguardrail for keeping edits scoped to one marker region
Changed
- Process task markers individually and keep question output focused on the answer
- Make halt markers local to their marker
- Improve dynamic-tool, denied-request, and tool-parameter output
- Depend directly on
rig-coreto remove unused integration dependencies
Fixed
- Avoid reverting completed work when the agent uses
send_message - Continue scanning immediately after a multi-line marker
v0.2.1
Added
write_filetool — agents can now create new files (refuses to overwrite existing ones)- Integration tests for
edit_filewith multi-byte (emoji) content
Changed
- Personality adjustments
- Better
write_fileoutput formatting
Fixed
- Fix path traversal vulnerability in
validate_relative_pathfor non-existent paths - Fix: guarantee all markers are removed after agent completes, not just context markers
- Make keyboard Space-bar polling Unix-only (
termiosunavailable on Windows); no-op on non-Unix platforms
v0.2.0
[0.2.0] - 2026-05-30
Added
- Context markers —
rik: /slash-delimited/markers provide extra context to the agent and are auto-removed after completion (no content replacement) - Marker span auto-update — line positions are recalculated after each edit, keeping multi-marker files consistent
- File sandboxing —
read_file,write_file, andlist_filestools are restricted to the current working directory and use relative paths in output - Edit tool path scoping —
edit_filecan only edit the file currently being processed;file_pathargument removed from tool schema - Marker line-range enforcement — edits near a marker are validated against Prolog-style endpoint logic (Q/P matching)
- Personality module — replaces standalone
MoodifyToolwith aMoodenum +moodifyfunction,pre_work/post_workquotes, and MOTD display - Keyboard listener — press Space during watch mode to stop the current processing loop
- RAII file reverter —
FileReverterguard automatically reverts partial edits on early return or cancellation; integrated withDropand Ctrl+C cleanup - Watch mode deduplication — tracks file content hashes to skip unchanged files, eliminating duplicate processing
- Nested bracket balancing — closing delimiters no longer require alias prefix; bracket depth is tracked atomically
Changed
- Improved tool-call logging: human-readable argument formatting for
list_files,read_file, andedit_fileinstead of raw JSON - Personality quote printing no longer uses a random delay (immediate output)
complete_marker.rsmoved fromtools/tosrc/markers.rsas a top-level module- Removed unused
CompleteMarkerToolfrom the tool registry
Fixed
edit_near_markernow correctly checks edit endpoints against each marker line rather than doing range-overlap detectiondiv_ceilpadding in personality box replaced with idiomatic Rust- Multiple clippy warnings resolved (unused imports, unnecessary casts, collapsed else-if chains,
.contains()vs.iter().any())
