Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [1.0.9](https://github.com/avoidwork/madz/compare/1.0.8...1.0.9)

- feat: restrict todo tool to ASCII-only key and content [`#171`](https://github.com/avoidwork/madz/pull/171)
- feat: tighten completion directive and add stateful execution [`#169`](https://github.com/avoidwork/madz/pull/169)
- fix: correct TUI Ink API mismatches, key handling, and error handling [`#167`](https://github.com/avoidwork/madz/pull/167)

#### [1.0.8](https://github.com/avoidwork/madz/compare/1.0.7...1.0.8)

> 10 June 2026

- chore: update dependencies and changelog [`#166`](https://github.com/avoidwork/madz/pull/166)
- feat: sync crontab on init and clean test artifacts [`#165`](https://github.com/avoidwork/madz/pull/165)

#### [1.0.7](https://github.com/avoidwork/madz/compare/1.0.5...1.0.7)
Expand Down
6 changes: 3 additions & 3 deletions coverage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
ℹ sessionSearch.js | 97.21 | 75.44 | 89.47 | 64-65 111-112 121 174-175
ℹ skills.js | 79.74 | 86.89 | 44.44 | 23-43 68-100 156-157 184-185 212-220 231-238 258-265 281-283 298-299 396-402
ℹ terminal.js | 93.62 | 81.63 | 77.78 | 38-41 74 102-103 190-191 197-199 205-206 213-214 221-222 224
ℹ todo.js | 99.25 | 93.10 | 88.24 | 28-29
ℹ todo.js | 99.26 | 93.10 | 88.24 | 28-29
ℹ tts.js | 100.00 | 100.00 | 50.00 |
ℹ vision.js | 100.00 | 90.91 | 71.43 |
ℹ web.js | 95.57 | 70.83 | 60.00 | 24-25 39-40 43-45 86-88 123-125 189-191 317-318
Expand All @@ -80,7 +80,7 @@
✖ failing tests:

test at tests/unit/cron_sync.test.js:80:2
✖ adds a job that exists on disk but not in crontab (20.135572ms)
✖ adds a job that exists on disk but not in crontab (28.701324ms)
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

3 !== 0
Expand All @@ -99,7 +99,7 @@ test at tests/unit/cron_sync.test.js:80:2
}

test at tests/unit/tool_todos.test.js:30:2
✖ read returns empty list when no file exists (4.681321ms)
✖ read returns empty list when no file exists (4.671162ms)
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@avoidwork/madz",
"version": "1.0.8",
"version": "1.0.9",
"description": "A personality-driven AI harness channeling Mads Mikkelsen's cinematic soul.",
"keywords": [
"cli",
Expand Down
8 changes: 6 additions & 2 deletions src/tools/todo.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ export const todo = tool(todoImpl, {
.string()
.optional()
.transform((val) => (val !== undefined ? stripNonASCII(val) : undefined))
.describe("Todo key for create, update, complete, and delete actions. MUST use ASCII-only English text."),
.describe(
"Todo key for create, update, complete, and delete actions. MUST use ASCII-only English text.",
),
content: z
.string()
.optional()
Expand Down Expand Up @@ -250,7 +252,9 @@ export function createTodoTool(options = {}) {
.string()
.optional()
.transform((val) => (val !== undefined ? stripNonASCII(val) : undefined))
.describe("Todo key for create, update, complete, and delete actions. MUST use ASCII-only English text."),
.describe(
"Todo key for create, update, complete, and delete actions. MUST use ASCII-only English text.",
),
content: z
.string()
.optional()
Expand Down