@qzoft/check-list 1.0.8 → 1.0.9
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/dist/server.js +3 -3
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -44,9 +44,9 @@ registerAppResource(server, 'Task Checklist', uiResourceUri, { description: 'Int
|
|
|
44
44
|
}],
|
|
45
45
|
}));
|
|
46
46
|
registerAppTool(server, 'list_tasks', {
|
|
47
|
-
description: 'Discover and display checklists from markdown files in the project. When the user asks to see tasks in a specific file (e.g. "
|
|
47
|
+
description: 'Discover and display checklists from markdown files in the project. When the user asks to see tasks in a specific file, pass its ABSOLUTE file path as the `file` parameter. IMPORTANT: Always use the full absolute path (e.g. "/Users/me/project/tasks.md" or "C:\\Users\\me\\project\\tasks.md"), never a relative or workspace-relative path. When no file is specified, all markdown files in the project directory are scanned.',
|
|
48
48
|
inputSchema: {
|
|
49
|
-
file: z.string().optional().describe('
|
|
49
|
+
file: z.string().optional().describe('ABSOLUTE path to a specific markdown file (e.g. "/Users/me/project/tasks.md" or "C:\\Users\\me\\project\\tasks.md"). Always use the full absolute path from the file reference. Omit to scan all markdown files in the project directory.'),
|
|
50
50
|
},
|
|
51
51
|
_meta: { ui: { resourceUri: uiResourceUri } },
|
|
52
52
|
}, async ({ file }) => {
|
|
@@ -143,7 +143,7 @@ registerAppTool(server, 'list_tasks', {
|
|
|
143
143
|
registerAppTool(server, 'update_tasks', {
|
|
144
144
|
description: 'Update checkbox states in a project markdown file (auto-saved on toggle)',
|
|
145
145
|
inputSchema: {
|
|
146
|
-
file: z.string().describe('
|
|
146
|
+
file: z.string().describe('ABSOLUTE path to the markdown file (e.g. "/Users/me/project/tasks.md"). Always use the full absolute path.'),
|
|
147
147
|
updates: z.array(z.object({
|
|
148
148
|
line: z.number().describe('0-indexed line number in the markdown file'),
|
|
149
149
|
checked: z.boolean().describe('New checked state for the checkbox'),
|