tokenix 0.23.6

Local semantic index CLI for LLM token optimization
[filters.task]
description = "Compact go-task output — strip task headers, keep command results"
match_command = "^task\\b"
strip_ansi = true
strip_lines_matching = [
  "^\\s*$",
  "^task: \\[.*\\] ",
  "^task: Task .* is up to date",
]
truncate_lines_at = 150
max_lines = 50
on_empty = "task: ok"

[[tests.task]]
name = "strips task headers, keeps output"
input = "task: [build] go build ./...\n\ntask: [test] go test ./...\nok  myapp 0.5s\n\ntask: Task \"lint\" is up to date"
expected = "ok  myapp 0.5s"

[[tests.task]]
name = "preserves error output"
input = "task: [build] go build ./...\n./main.go:10: undefined: foo\ntask: Failed to run task \"build\": exit status 1"
expected = "./main.go:10: undefined: foo\ntask: Failed to run task \"build\": exit status 1"

[[tests.task]]
name = "all up to date"
input = "task: Task \"build\" is up to date\ntask: Task \"lint\" is up to date\n"
expected = "task: ok"