@comfanion/usethis_todo 0.1.16-dev.11 → 0.1.16-dev.12

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.
Files changed (2) hide show
  1. package/index.ts +0 -29
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -106,35 +106,6 @@ const UsethisTodoPlugin: Plugin = async ({ directory, client }) => {
106
106
  output.title = "Task details"
107
107
  }
108
108
  },
109
-
110
- // Set nicer titles in TUI + track prune state
111
- "tool.execute.after": async (input, output) => {
112
- const ourTools = new Set(["usethis_todo_write", "usethis_todo_read", "usethis_todo_read_five", "usethis_todo_read_by_id"])
113
- if (!ourTools.has(input.tool)) return
114
-
115
- // Update prune state with latest call ID
116
- const sessionID = input.sessionID
117
- if (sessionID) {
118
- const state = pruneStates.get(sessionID) || { lastToolCallId: null }
119
- state.lastToolCallId = input.callID
120
- pruneStates.set(sessionID, state)
121
- }
122
-
123
- const out = output.output || ""
124
-
125
- // Set a nicer title in TUI
126
- if (input.tool === "usethis_todo_write") {
127
- const match = out.match(/\[(\d+)\/(\d+) done/)
128
- output.title = match ? `TODO: ${match[2]} tasks` : "TODO updated"
129
- } else if (input.tool === "usethis_todo_read") {
130
- const match = out.match(/\[(\d+)\/(\d+) done, (\d+) in progress\]/)
131
- output.title = match ? `TODO [${match[1]}/${match[2]} done]` : "TODO list"
132
- } else if (input.tool === "usethis_todo_read_five") {
133
- output.title = "Next 5 tasks"
134
- } else if (input.tool === "usethis_todo_read_by_id") {
135
- output.title = "Task details"
136
- }
137
- },
138
109
  }
139
110
  }
140
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfanion/usethis_todo",
3
- "version": "0.1.16-dev.11",
3
+ "version": "0.1.16-dev.12",
4
4
  "description": "OpenCode plugin: enhanced TODO tools (dual storage + dependency graph)",
5
5
  "type": "module",
6
6
  "main": "./index.ts",