@comfanion/usethis_todo 0.1.13 → 0.1.14
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 +2 -24
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -136,30 +136,8 @@ const UsethisTodoPlugin: Plugin = async ({ directory, client }) => {
|
|
|
136
136
|
output.title = "📋 Task details"
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
//
|
|
140
|
-
|
|
141
|
-
"usethis_todo_write",
|
|
142
|
-
"usethis_todo_update",
|
|
143
|
-
"usethis_todo_read",
|
|
144
|
-
"usethis_todo_read_five",
|
|
145
|
-
"usethis_todo_read_by_id",
|
|
146
|
-
])
|
|
147
|
-
|
|
148
|
-
if (!publishTools.has(input.tool)) return
|
|
149
|
-
|
|
150
|
-
const text = ["## TODO", "", out].join("\n")
|
|
151
|
-
|
|
152
|
-
try {
|
|
153
|
-
await client?.session?.prompt?.({
|
|
154
|
-
path: { id: input.sessionID },
|
|
155
|
-
body: {
|
|
156
|
-
noReply: true,
|
|
157
|
-
parts: [{ type: "text", text }],
|
|
158
|
-
},
|
|
159
|
-
})
|
|
160
|
-
} catch {
|
|
161
|
-
// non-fatal
|
|
162
|
-
}
|
|
139
|
+
// Native storage write handles sidebar updates now (via client.path.get()).
|
|
140
|
+
// The old session.prompt snapshot was causing "table chunks not found" errors.
|
|
163
141
|
},
|
|
164
142
|
}
|
|
165
143
|
}
|