@matheuskrumenauer/tanya 0.14.0-beta.0 → 0.15.0-beta.0

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/README.md CHANGED
@@ -296,6 +296,24 @@ up to `TANYA_ESCALATION_CAP` per session.
296
296
  See [docs/routing.md](./docs/routing.md) for schema, examples, context-window
297
297
  guards, per-tool model overrides, and sub-agent model pins.
298
298
 
299
+ ## Live status
300
+
301
+ Interactive `tanya chat` sessions show a compact status footer derived from the
302
+ same events already sent to the human sink:
303
+
304
+ ```text
305
+ [deepseek:deepseek-chat | tool_call | $0.04 | 2 tools | 1 child]
306
+ [awaiting permission: run_shell]
307
+ [escalated deepseek:deepseek-chat->openai:gpt-4.1-mini: parse_failure]
308
+ ```
309
+
310
+ The footer is TTY-only. Piped output, JSONL output, and Cosmo bridge streams stay
311
+ byte-stable and receive no ANSI cursor control bytes. Disable it with
312
+ `TANYA_LIVE_STATUS=0` or the legacy `TANIA_LIVE_STATUS=0` alias.
313
+
314
+ See [docs/live-status.md](./docs/live-status.md) for the surfaced fields,
315
+ streaming strategy, and TTY fallback behavior.
316
+
299
317
  `--verify` adds required verification commands to the run context. Tanya must run and report each exact command before finishing the coding task.
300
318
 
301
319
  `tanya benchmark run --all` currently exercises 27 executable low-to-medium regression fixtures: targeted edits, new files, dependency/lockfile updates, framework-style migrations, failing-test repair, frontend smoke checks, artifact/context reuse, streaming long-tool execution, compaction-boundary recovery, run-history logging, dirty worktrees, report repair, and the CosmoHQ mobile/backend smoke profiles.
@@ -361,36 +379,6 @@ Tanya trims model-visible tokens while keeping state reversible and auditable.
361
379
 
362
380
  See [docs/token-economy.md](./docs/token-economy.md) for the full model, cache locations, and tool-definition knobs.
363
381
 
364
- ## Edit blocks
365
-
366
- `edit_block` applies bounded search/replace edits without falling back to a
367
- full-file rewrite:
368
-
369
- ```json
370
- {
371
- "path": "src/example.ts",
372
- "search": "const state = \"pending\";",
373
- "replace": "const state = \"complete\";",
374
- "expectedCount": 1,
375
- "matchPolicy": "exact"
376
- }
377
- ```
378
-
379
- Exact mode is the default and fails closed when the block is missing, ambiguous,
380
- or appears a different number of times than expected. Fuzzy mode is opt-in via
381
- `matchPolicy: "fuzzy"` and requires an explicit M3 permission allow rule. Fuzzy
382
- recovery only accepts whitespace-normalized or nearby-context candidates with
383
- confidence >= 0.95; otherwise Tanya returns a structured error and asks the
384
- model to re-read the file.
385
-
386
- Successful edit blocks emit before/after hashes and a unified diff. Fuzzy
387
- successes also add candidate metadata to the audit log. The final verifier still
388
- reads the changed workspace independently; edit-block success is not a verifier
389
- pass.
390
-
391
- See [docs/edit-blocks.md](./docs/edit-blocks.md) for the full tool reference,
392
- permission model, confidence threshold, and failure modes.
393
-
394
382
  Context files are generic JSON envelopes for caller-supplied task metadata, artifacts, instructions, and verification commands.
395
383
 
396
384
  ## Current Tools
@@ -405,7 +393,6 @@ Context files are generic JSON envelopes for caller-supplied task metadata, arti
405
393
  - `write_file`
406
394
  - `apply_patch`
407
395
  - `search_replace`
408
- - `edit_block`
409
396
  - `copy_file`
410
397
  - `copy_dir`
411
398
  - `apply_artifact`