@dexto/tools-todo 1.6.27 → 1.7.1
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/index.d.cts
CHANGED
|
@@ -17,15 +17,7 @@ declare const TodoToolsConfigSchema: z.ZodObject<{
|
|
|
17
17
|
type: z.ZodLiteral<"todo-tools">;
|
|
18
18
|
maxTodosPerSession: z.ZodDefault<z.ZodNumber>;
|
|
19
19
|
enableEvents: z.ZodDefault<z.ZodBoolean>;
|
|
20
|
-
},
|
|
21
|
-
maxTodosPerSession: number;
|
|
22
|
-
enableEvents: boolean;
|
|
23
|
-
type: "todo-tools";
|
|
24
|
-
}, {
|
|
25
|
-
type: "todo-tools";
|
|
26
|
-
maxTodosPerSession?: number | undefined;
|
|
27
|
-
enableEvents?: boolean | undefined;
|
|
28
|
-
}>;
|
|
20
|
+
}, z.core.$strict>;
|
|
29
21
|
type TodoToolsConfig = z.output<typeof TodoToolsConfigSchema>;
|
|
30
22
|
|
|
31
23
|
declare const todoToolsFactory: ToolFactory<TodoToolsConfig>;
|
|
@@ -183,45 +175,17 @@ declare enum TodoErrorCode {
|
|
|
183
175
|
/**
|
|
184
176
|
* Zod schema for todo_write tool input
|
|
185
177
|
*/
|
|
186
|
-
declare const TodoWriteInputSchema: z.
|
|
178
|
+
declare const TodoWriteInputSchema: z.ZodObject<{
|
|
187
179
|
todos: z.ZodArray<z.ZodObject<{
|
|
188
180
|
content: z.ZodString;
|
|
189
181
|
activeForm: z.ZodString;
|
|
190
|
-
status: z.ZodEnum<
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
},
|
|
196
|
-
|
|
197
|
-
content: string;
|
|
198
|
-
activeForm: string;
|
|
199
|
-
}>, "many">;
|
|
200
|
-
}, "strict", z.ZodTypeAny, {
|
|
201
|
-
todos: {
|
|
202
|
-
status: "pending" | "in_progress" | "completed";
|
|
203
|
-
content: string;
|
|
204
|
-
activeForm: string;
|
|
205
|
-
}[];
|
|
206
|
-
}, {
|
|
207
|
-
todos: {
|
|
208
|
-
status: "pending" | "in_progress" | "completed";
|
|
209
|
-
content: string;
|
|
210
|
-
activeForm: string;
|
|
211
|
-
}[];
|
|
212
|
-
}>, {
|
|
213
|
-
todos: {
|
|
214
|
-
status: "pending" | "in_progress" | "completed";
|
|
215
|
-
content: string;
|
|
216
|
-
activeForm: string;
|
|
217
|
-
}[];
|
|
218
|
-
}, {
|
|
219
|
-
todos: {
|
|
220
|
-
status: "pending" | "in_progress" | "completed";
|
|
221
|
-
content: string;
|
|
222
|
-
activeForm: string;
|
|
223
|
-
}[];
|
|
224
|
-
}>;
|
|
182
|
+
status: z.ZodEnum<{
|
|
183
|
+
pending: "pending";
|
|
184
|
+
in_progress: "in_progress";
|
|
185
|
+
completed: "completed";
|
|
186
|
+
}>;
|
|
187
|
+
}, z.core.$strict>>;
|
|
188
|
+
}, z.core.$strict>;
|
|
225
189
|
/**
|
|
226
190
|
* Create todo_write internal tool
|
|
227
191
|
*/
|
|
@@ -9,45 +9,17 @@ import type { TodoService } from './todo-service.js';
|
|
|
9
9
|
/**
|
|
10
10
|
* Zod schema for todo_write tool input
|
|
11
11
|
*/
|
|
12
|
-
declare const TodoWriteInputSchema: z.
|
|
12
|
+
declare const TodoWriteInputSchema: z.ZodObject<{
|
|
13
13
|
todos: z.ZodArray<z.ZodObject<{
|
|
14
14
|
content: z.ZodString;
|
|
15
15
|
activeForm: z.ZodString;
|
|
16
|
-
status: z.ZodEnum<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
content: string;
|
|
24
|
-
activeForm: string;
|
|
25
|
-
}>, "many">;
|
|
26
|
-
}, "strict", z.ZodTypeAny, {
|
|
27
|
-
todos: {
|
|
28
|
-
status: "pending" | "in_progress" | "completed";
|
|
29
|
-
content: string;
|
|
30
|
-
activeForm: string;
|
|
31
|
-
}[];
|
|
32
|
-
}, {
|
|
33
|
-
todos: {
|
|
34
|
-
status: "pending" | "in_progress" | "completed";
|
|
35
|
-
content: string;
|
|
36
|
-
activeForm: string;
|
|
37
|
-
}[];
|
|
38
|
-
}>, {
|
|
39
|
-
todos: {
|
|
40
|
-
status: "pending" | "in_progress" | "completed";
|
|
41
|
-
content: string;
|
|
42
|
-
activeForm: string;
|
|
43
|
-
}[];
|
|
44
|
-
}, {
|
|
45
|
-
todos: {
|
|
46
|
-
status: "pending" | "in_progress" | "completed";
|
|
47
|
-
content: string;
|
|
48
|
-
activeForm: string;
|
|
49
|
-
}[];
|
|
50
|
-
}>;
|
|
16
|
+
status: z.ZodEnum<{
|
|
17
|
+
pending: "pending";
|
|
18
|
+
in_progress: "in_progress";
|
|
19
|
+
completed: "completed";
|
|
20
|
+
}>;
|
|
21
|
+
}, z.core.$strict>>;
|
|
22
|
+
}, z.core.$strict>;
|
|
51
23
|
/**
|
|
52
24
|
* Create todo_write internal tool
|
|
53
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"todo-write-tool.d.ts","sourceRoot":"","sources":["../src/todo-write-tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AA0BrD;;GAEG;AACH,QAAA,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"todo-write-tool.d.ts","sourceRoot":"","sources":["../src/todo-write-tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AA0BrD;;GAEG;AACH,QAAA,MAAM,oBAAoB;;;;;;;;;;kBAoBrB,CAAC;AAEN;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,EAAE,oBAAoB,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;AAExF,wBAAgB,mBAAmB,CAC/B,cAAc,EAAE,iBAAiB,GAClC,IAAI,CAAC,OAAO,oBAAoB,CAAC,CAwCnC"}
|
|
@@ -13,14 +13,6 @@ export declare const TodoToolsConfigSchema: z.ZodObject<{
|
|
|
13
13
|
type: z.ZodLiteral<"todo-tools">;
|
|
14
14
|
maxTodosPerSession: z.ZodDefault<z.ZodNumber>;
|
|
15
15
|
enableEvents: z.ZodDefault<z.ZodBoolean>;
|
|
16
|
-
},
|
|
17
|
-
maxTodosPerSession: number;
|
|
18
|
-
enableEvents: boolean;
|
|
19
|
-
type: "todo-tools";
|
|
20
|
-
}, {
|
|
21
|
-
type: "todo-tools";
|
|
22
|
-
maxTodosPerSession?: number | undefined;
|
|
23
|
-
enableEvents?: boolean | undefined;
|
|
24
|
-
}>;
|
|
16
|
+
}, z.core.$strict>;
|
|
25
17
|
export type TodoToolsConfig = z.output<typeof TodoToolsConfigSchema>;
|
|
26
18
|
//# sourceMappingURL=tool-factory-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-factory-config.d.ts","sourceRoot":"","sources":["../src/tool-factory-config.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AACH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"tool-factory-config.d.ts","sourceRoot":"","sources":["../src/tool-factory-config.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;kBAcrB,CAAC;AAEd,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dexto/tools-todo",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "Todo/task tracking tools factory for Dexto agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"nanoid": "^5.0.9",
|
|
22
|
-
"zod": "^3.
|
|
23
|
-
"@dexto/agent-config": "1.
|
|
24
|
-
"@dexto/core": "1.
|
|
22
|
+
"zod": "^4.3.6",
|
|
23
|
+
"@dexto/agent-config": "1.7.1",
|
|
24
|
+
"@dexto/core": "1.7.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"tsup": "^8.0.0",
|