botnote 0.1.49 → 0.1.51
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/README.md +39 -0
- package/dist/bin.js +108 -0
- package/dist/bin.js.map +1 -1
- package/dist/cli.js +21 -0
- package/dist/cli.js.map +1 -1
- package/dist/mcp/http-client.d.ts +1 -0
- package/dist/mcp/http-client.js +3 -0
- package/dist/mcp/http-client.js.map +1 -1
- package/dist/mcp/server.js +131 -21
- package/dist/mcp/server.js.map +1 -1
- package/dist/rest/routes.js +11 -1
- package/dist/rest/routes.js.map +1 -1
- package/dist/service/entities.js +10 -5
- package/dist/service/entities.js.map +1 -1
- package/dist/service/types.d.ts +36 -36
- package/package.json +1 -1
package/dist/service/types.d.ts
CHANGED
|
@@ -31,31 +31,31 @@ export declare const WriteInput: z.ZodObject<{
|
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
status: string;
|
|
33
33
|
priority: "none" | "urgent" | "high" | "medium" | "low";
|
|
34
|
-
kind: "task" | "note" | "comment" | "feedback";
|
|
35
|
-
body: string;
|
|
36
34
|
tags: string[];
|
|
35
|
+
kind: "task" | "comment" | "note" | "feedback";
|
|
36
|
+
body: string;
|
|
37
37
|
actorKind: "human" | "agent" | "system";
|
|
38
38
|
metadata: Record<string, unknown>;
|
|
39
39
|
pinned: boolean;
|
|
40
|
-
|
|
40
|
+
dueAt?: Date | null | undefined;
|
|
41
41
|
title?: string | null | undefined;
|
|
42
|
+
projectId?: string | null | undefined;
|
|
42
43
|
idempotencyKey?: string | null | undefined;
|
|
43
44
|
parentId?: string | null | undefined;
|
|
44
|
-
dueAt?: Date | null | undefined;
|
|
45
45
|
completedAt?: Date | null | undefined;
|
|
46
46
|
}, {
|
|
47
|
-
kind: "task" | "
|
|
47
|
+
kind: "task" | "comment" | "note" | "feedback";
|
|
48
48
|
status?: string | undefined;
|
|
49
49
|
priority?: "none" | "urgent" | "high" | "medium" | "low" | undefined;
|
|
50
|
-
|
|
50
|
+
dueAt?: Date | null | undefined;
|
|
51
51
|
title?: string | null | undefined;
|
|
52
|
-
|
|
52
|
+
projectId?: string | null | undefined;
|
|
53
53
|
tags?: string[] | undefined;
|
|
54
|
+
body?: string | undefined;
|
|
54
55
|
actorKind?: "human" | "agent" | "system" | undefined;
|
|
55
56
|
idempotencyKey?: string | null | undefined;
|
|
56
57
|
parentId?: string | null | undefined;
|
|
57
58
|
metadata?: Record<string, unknown> | undefined;
|
|
58
|
-
dueAt?: Date | null | undefined;
|
|
59
59
|
pinned?: boolean | undefined;
|
|
60
60
|
completedAt?: Date | null | undefined;
|
|
61
61
|
}>;
|
|
@@ -80,27 +80,27 @@ export declare const CreateTaskInput: z.ZodObject<{
|
|
|
80
80
|
status: "open" | "in_progress" | "done" | "rejected";
|
|
81
81
|
priority: "none" | "urgent" | "high" | "medium" | "low";
|
|
82
82
|
title: string;
|
|
83
|
-
body: string;
|
|
84
83
|
tags: string[];
|
|
84
|
+
body: string;
|
|
85
85
|
actorKind: "human" | "agent" | "system";
|
|
86
86
|
metadata: Record<string, unknown>;
|
|
87
|
+
dueAt?: Date | null | undefined;
|
|
87
88
|
projectId?: string | null | undefined;
|
|
88
89
|
idempotencyKey?: string | null | undefined;
|
|
89
90
|
parentId?: string | null | undefined;
|
|
90
|
-
dueAt?: Date | null | undefined;
|
|
91
91
|
completedAt?: Date | null | undefined;
|
|
92
92
|
}, {
|
|
93
93
|
title: string;
|
|
94
94
|
status?: unknown;
|
|
95
95
|
priority?: "none" | "urgent" | "high" | "medium" | "low" | undefined;
|
|
96
|
+
dueAt?: Date | null | undefined;
|
|
96
97
|
projectId?: string | null | undefined;
|
|
97
|
-
body?: string | undefined;
|
|
98
98
|
tags?: string[] | undefined;
|
|
99
|
+
body?: string | undefined;
|
|
99
100
|
actorKind?: "human" | "agent" | "system" | undefined;
|
|
100
101
|
idempotencyKey?: string | null | undefined;
|
|
101
102
|
parentId?: string | null | undefined;
|
|
102
103
|
metadata?: Record<string, unknown> | undefined;
|
|
103
|
-
dueAt?: Date | null | undefined;
|
|
104
104
|
completedAt?: Date | null | undefined;
|
|
105
105
|
}>;
|
|
106
106
|
export type CreateTaskInput = z.infer<typeof CreateTaskInput>;
|
|
@@ -120,22 +120,22 @@ export declare const CreateNoteInput: z.ZodObject<{
|
|
|
120
120
|
supersedes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
121
|
idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
|
-
body: string;
|
|
124
123
|
tags: string[];
|
|
124
|
+
body: string;
|
|
125
125
|
actorKind: "human" | "agent" | "system";
|
|
126
126
|
metadata: Record<string, unknown>;
|
|
127
127
|
pinned: boolean;
|
|
128
|
-
supersedes?: string | null | undefined;
|
|
129
|
-
projectId?: string | null | undefined;
|
|
130
128
|
title?: string | null | undefined;
|
|
129
|
+
projectId?: string | null | undefined;
|
|
130
|
+
supersedes?: string | null | undefined;
|
|
131
131
|
idempotencyKey?: string | null | undefined;
|
|
132
132
|
parentId?: string | null | undefined;
|
|
133
133
|
}, {
|
|
134
|
-
supersedes?: string | null | undefined;
|
|
135
|
-
projectId?: string | null | undefined;
|
|
136
134
|
title?: string | null | undefined;
|
|
137
|
-
|
|
135
|
+
projectId?: string | null | undefined;
|
|
138
136
|
tags?: string[] | undefined;
|
|
137
|
+
supersedes?: string | null | undefined;
|
|
138
|
+
body?: string | undefined;
|
|
139
139
|
actorKind?: "human" | "agent" | "system" | undefined;
|
|
140
140
|
idempotencyKey?: string | null | undefined;
|
|
141
141
|
parentId?: string | null | undefined;
|
|
@@ -239,13 +239,13 @@ export declare const UpdateInput: z.ZodEffects<z.ZodObject<{
|
|
|
239
239
|
}, "strip", z.ZodTypeAny, {
|
|
240
240
|
status?: "open" | "in_progress" | "done" | "rejected" | undefined;
|
|
241
241
|
priority?: "none" | "urgent" | "high" | "medium" | "low" | undefined;
|
|
242
|
-
|
|
242
|
+
dueAt?: Date | null | undefined;
|
|
243
243
|
title?: string | null | undefined;
|
|
244
|
-
|
|
244
|
+
projectId?: string | null | undefined;
|
|
245
245
|
tags?: string[] | undefined;
|
|
246
|
+
body?: string | undefined;
|
|
246
247
|
parentId?: string | null | undefined;
|
|
247
248
|
metadata?: Record<string, unknown> | undefined;
|
|
248
|
-
dueAt?: Date | null | undefined;
|
|
249
249
|
pinned?: boolean | undefined;
|
|
250
250
|
completedAt?: Date | null | undefined;
|
|
251
251
|
bodyAppend?: string | undefined;
|
|
@@ -253,13 +253,13 @@ export declare const UpdateInput: z.ZodEffects<z.ZodObject<{
|
|
|
253
253
|
}, {
|
|
254
254
|
status?: unknown;
|
|
255
255
|
priority?: "none" | "urgent" | "high" | "medium" | "low" | undefined;
|
|
256
|
-
|
|
256
|
+
dueAt?: Date | null | undefined;
|
|
257
257
|
title?: string | null | undefined;
|
|
258
|
-
|
|
258
|
+
projectId?: string | null | undefined;
|
|
259
259
|
tags?: string[] | undefined;
|
|
260
|
+
body?: string | undefined;
|
|
260
261
|
parentId?: string | null | undefined;
|
|
261
262
|
metadata?: Record<string, unknown> | undefined;
|
|
262
|
-
dueAt?: Date | null | undefined;
|
|
263
263
|
pinned?: boolean | undefined;
|
|
264
264
|
completedAt?: Date | null | undefined;
|
|
265
265
|
bodyAppend?: string | undefined;
|
|
@@ -267,13 +267,13 @@ export declare const UpdateInput: z.ZodEffects<z.ZodObject<{
|
|
|
267
267
|
}>, {
|
|
268
268
|
status?: "open" | "in_progress" | "done" | "rejected" | undefined;
|
|
269
269
|
priority?: "none" | "urgent" | "high" | "medium" | "low" | undefined;
|
|
270
|
-
|
|
270
|
+
dueAt?: Date | null | undefined;
|
|
271
271
|
title?: string | null | undefined;
|
|
272
|
-
|
|
272
|
+
projectId?: string | null | undefined;
|
|
273
273
|
tags?: string[] | undefined;
|
|
274
|
+
body?: string | undefined;
|
|
274
275
|
parentId?: string | null | undefined;
|
|
275
276
|
metadata?: Record<string, unknown> | undefined;
|
|
276
|
-
dueAt?: Date | null | undefined;
|
|
277
277
|
pinned?: boolean | undefined;
|
|
278
278
|
completedAt?: Date | null | undefined;
|
|
279
279
|
bodyAppend?: string | undefined;
|
|
@@ -281,13 +281,13 @@ export declare const UpdateInput: z.ZodEffects<z.ZodObject<{
|
|
|
281
281
|
}, {
|
|
282
282
|
status?: unknown;
|
|
283
283
|
priority?: "none" | "urgent" | "high" | "medium" | "low" | undefined;
|
|
284
|
-
|
|
284
|
+
dueAt?: Date | null | undefined;
|
|
285
285
|
title?: string | null | undefined;
|
|
286
|
-
|
|
286
|
+
projectId?: string | null | undefined;
|
|
287
287
|
tags?: string[] | undefined;
|
|
288
|
+
body?: string | undefined;
|
|
288
289
|
parentId?: string | null | undefined;
|
|
289
290
|
metadata?: Record<string, unknown> | undefined;
|
|
290
|
-
dueAt?: Date | null | undefined;
|
|
291
291
|
pinned?: boolean | undefined;
|
|
292
292
|
completedAt?: Date | null | undefined;
|
|
293
293
|
bodyAppend?: string | undefined;
|
|
@@ -567,12 +567,12 @@ export declare const SearchInput: z.ZodObject<{
|
|
|
567
567
|
limit: number;
|
|
568
568
|
query: string;
|
|
569
569
|
projectId?: string | null | undefined;
|
|
570
|
-
kind?: "task" | "
|
|
570
|
+
kind?: "task" | "comment" | "note" | "feedback" | null | undefined;
|
|
571
571
|
}, {
|
|
572
572
|
query: string;
|
|
573
|
-
limit?: number | undefined;
|
|
574
573
|
projectId?: string | null | undefined;
|
|
575
|
-
|
|
574
|
+
limit?: number | undefined;
|
|
575
|
+
kind?: "task" | "comment" | "note" | "feedback" | null | undefined;
|
|
576
576
|
}>;
|
|
577
577
|
export type SearchInput = z.infer<typeof SearchInput>;
|
|
578
578
|
export declare const RecentInput: z.ZodObject<{
|
|
@@ -584,12 +584,12 @@ export declare const RecentInput: z.ZodObject<{
|
|
|
584
584
|
limit: number;
|
|
585
585
|
projectId?: string | null | undefined;
|
|
586
586
|
since?: Date | null | undefined;
|
|
587
|
-
kinds?: ("task" | "
|
|
587
|
+
kinds?: ("task" | "comment" | "note" | "feedback")[] | null | undefined;
|
|
588
588
|
}, {
|
|
589
|
-
limit?: number | undefined;
|
|
590
589
|
projectId?: string | null | undefined;
|
|
590
|
+
limit?: number | undefined;
|
|
591
591
|
since?: Date | null | undefined;
|
|
592
|
-
kinds?: ("task" | "
|
|
592
|
+
kinds?: ("task" | "comment" | "note" | "feedback")[] | null | undefined;
|
|
593
593
|
}>;
|
|
594
594
|
export type RecentInput = z.infer<typeof RecentInput>;
|
|
595
595
|
export declare const TasksRangeInput: z.ZodObject<{
|