@comfanion/usethis_todo 0.1.15-dev.4 → 0.1.15-dev.5
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/index.ts +1 -16
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -127,22 +127,7 @@ const UsethisTodoPlugin: Plugin = async ({ directory, client }) => {
|
|
|
127
127
|
output.title = "📋 Task details"
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
//
|
|
131
|
-
const writeTools = new Set(["usethis_todo_write", "usethis_todo_update"])
|
|
132
|
-
if (writeTools.has(input.tool) && sessionID) {
|
|
133
|
-
try {
|
|
134
|
-
await (client as any)?.tui?.publish?.({
|
|
135
|
-
body: {
|
|
136
|
-
type: "tui.session.select",
|
|
137
|
-
properties: { sessionID },
|
|
138
|
-
},
|
|
139
|
-
})
|
|
140
|
-
} catch {
|
|
141
|
-
// non-fatal — experimental sidebar refresh
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
// Publish snapshot into chat (fallback when sidebar doesn't refresh)
|
|
130
|
+
// Publish snapshot into chat (sidebar doesn't refresh from plugin writes)
|
|
146
131
|
const publishTools = new Set([
|
|
147
132
|
"usethis_todo_write",
|
|
148
133
|
"usethis_todo_update",
|