@hasna/todos 0.3.5 → 0.3.6
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/cli/index.js +3 -6
- package/dist/mcp/index.js +3 -6
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -7137,17 +7137,14 @@ ${text}` }] };
|
|
|
7137
7137
|
return { content: [{ type: "text", text: formatError(e) }], isError: true };
|
|
7138
7138
|
}
|
|
7139
7139
|
});
|
|
7140
|
-
server.tool("sync", "Sync tasks with a Claude Code task list.
|
|
7141
|
-
task_list_id: exports_external.string().
|
|
7140
|
+
server.tool("sync", "Sync tasks with a Claude Code task list. Writes SQLite tasks as JSON files to ~/.claude/tasks/<task_list_id>/ so they appear in Claude Code's native task UI. The task_list_id is your Claude Code session ID (visible in the conversation or via CLAUDE_CODE_SESSION_ID).", {
|
|
7141
|
+
task_list_id: exports_external.string().describe("Claude Code task list ID \u2014 use your session ID"),
|
|
7142
7142
|
project_id: exports_external.string().optional().describe("Limit sync to a project"),
|
|
7143
7143
|
direction: exports_external.enum(["push", "pull", "both"]).optional().describe("Sync direction: push (SQLite->Claude), pull (Claude->SQLite), or both (default)")
|
|
7144
7144
|
}, async ({ task_list_id, project_id, direction }) => {
|
|
7145
7145
|
try {
|
|
7146
7146
|
const resolvedProjectId = project_id ? resolveId(project_id, "projects") : undefined;
|
|
7147
|
-
const taskListId = task_list_id
|
|
7148
|
-
if (!taskListId) {
|
|
7149
|
-
return { content: [{ type: "text", text: "Could not detect task list ID. Pass task_list_id or set CLAUDE_CODE_TASK_LIST_ID." }], isError: true };
|
|
7150
|
-
}
|
|
7147
|
+
const taskListId = task_list_id;
|
|
7151
7148
|
let result;
|
|
7152
7149
|
if (direction === "push") {
|
|
7153
7150
|
result = pushToClaudeTaskList(taskListId, resolvedProjectId);
|
package/dist/mcp/index.js
CHANGED
|
@@ -5041,17 +5041,14 @@ ${text}` }] };
|
|
|
5041
5041
|
return { content: [{ type: "text", text: formatError(e) }], isError: true };
|
|
5042
5042
|
}
|
|
5043
5043
|
});
|
|
5044
|
-
server.tool("sync", "Sync tasks with a Claude Code task list.
|
|
5045
|
-
task_list_id: exports_external.string().
|
|
5044
|
+
server.tool("sync", "Sync tasks with a Claude Code task list. Writes SQLite tasks as JSON files to ~/.claude/tasks/<task_list_id>/ so they appear in Claude Code's native task UI. The task_list_id is your Claude Code session ID (visible in the conversation or via CLAUDE_CODE_SESSION_ID).", {
|
|
5045
|
+
task_list_id: exports_external.string().describe("Claude Code task list ID \u2014 use your session ID"),
|
|
5046
5046
|
project_id: exports_external.string().optional().describe("Limit sync to a project"),
|
|
5047
5047
|
direction: exports_external.enum(["push", "pull", "both"]).optional().describe("Sync direction: push (SQLite->Claude), pull (Claude->SQLite), or both (default)")
|
|
5048
5048
|
}, async ({ task_list_id, project_id, direction }) => {
|
|
5049
5049
|
try {
|
|
5050
5050
|
const resolvedProjectId = project_id ? resolveId(project_id, "projects") : undefined;
|
|
5051
|
-
const taskListId = task_list_id
|
|
5052
|
-
if (!taskListId) {
|
|
5053
|
-
return { content: [{ type: "text", text: "Could not detect task list ID. Pass task_list_id or set CLAUDE_CODE_TASK_LIST_ID." }], isError: true };
|
|
5054
|
-
}
|
|
5051
|
+
const taskListId = task_list_id;
|
|
5055
5052
|
let result;
|
|
5056
5053
|
if (direction === "push") {
|
|
5057
5054
|
result = pushToClaudeTaskList(taskListId, resolvedProjectId);
|