botnote 0.2.15 → 0.2.17

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.
Files changed (138) hide show
  1. package/README.md +26 -506
  2. package/dist/bin.js +28 -21
  3. package/dist/bin.js.map +1 -1
  4. package/dist/config.d.ts +0 -4
  5. package/dist/config.js +0 -31
  6. package/dist/config.js.map +1 -1
  7. package/dist/mcp/http-client.d.ts +6 -5
  8. package/dist/mcp/http-client.js +28 -4
  9. package/dist/mcp/http-client.js.map +1 -1
  10. package/dist/mcp/server.js +16 -16
  11. package/dist/mcp/server.js.map +1 -1
  12. package/dist/mcp/stdio.d.ts +8 -0
  13. package/dist/mcp/stdio.js +46 -0
  14. package/dist/mcp/stdio.js.map +1 -0
  15. package/package.json +8 -40
  16. package/dist/cli.d.ts +0 -1
  17. package/dist/cli.js +0 -186
  18. package/dist/cli.js.map +0 -1
  19. package/dist/db/client.d.ts +0 -14
  20. package/dist/db/client.js +0 -16
  21. package/dist/db/client.js.map +0 -1
  22. package/dist/db/migrate.d.ts +0 -1
  23. package/dist/db/migrate.js +0 -57
  24. package/dist/db/migrate.js.map +0 -1
  25. package/dist/db/migrations/0001_init.sql +0 -89
  26. package/dist/db/migrations/0002_tasks_due_at.sql +0 -16
  27. package/dist/db/migrations/0003_task_priority_and_sequence.sql +0 -45
  28. package/dist/db/migrations/0004_pinned.sql +0 -8
  29. package/dist/db/migrations/0005_nullable_title_and_parent.sql +0 -5
  30. package/dist/db/migrations/0006_project_color_icon.sql +0 -3
  31. package/dist/db/migrations/0007_tokens.sql +0 -14
  32. package/dist/db/migrations/0008_simplify_kinds_drop_actors.sql +0 -21
  33. package/dist/db/migrations/0009_sessions.sql +0 -14
  34. package/dist/db/migrations/0010_completed_at.sql +0 -17
  35. package/dist/db/migrations/0011_completed_at_backfill_fix.sql +0 -14
  36. package/dist/db/migrations/0012_completed_at_backfill_due.sql +0 -16
  37. package/dist/db/migrations/0013_due_at_noon_utc.sql +0 -13
  38. package/dist/db/migrations/0014_recoverable_api_tokens.sql +0 -3
  39. package/dist/db/migrations/0015_collapse_delayed_archived_statuses.sql +0 -18
  40. package/dist/db/migrations/0016_embedding_settings.sql +0 -23
  41. package/dist/db/migrations/0017_recurrence_rules.sql +0 -55
  42. package/dist/db/migrations/0018_project_archived_at.sql +0 -8
  43. package/dist/db/migrations/0019_project_status.sql +0 -20
  44. package/dist/db/migrations/0020_project_archived_status.sql +0 -20
  45. package/dist/db/migrations/0021_workspace_settings.sql +0 -18
  46. package/dist/db/migrations/0022_recurrence_split.sql +0 -13
  47. package/dist/db/migrations/0023_comment_kind.sql +0 -24
  48. package/dist/db/migrations/0024_memory_access.sql +0 -12
  49. package/dist/db/migrations/0025_soft_delete.sql +0 -12
  50. package/dist/db/migrations/0026_sequence_counter.sql +0 -61
  51. package/dist/db/migrations/0027_self_parent_repair.sql +0 -10
  52. package/dist/db/migrations/0028_workspaces.sql +0 -65
  53. package/dist/db/migrations/0029_drop_global_uniques.sql +0 -38
  54. package/dist/db/migrations/0030_entity_actor_token.sql +0 -12
  55. package/dist/db/migrations/0031_entity_revisions.sql +0 -19
  56. package/dist/db/migrations/0032_touch_respects_explicit_updated_at.sql +0 -18
  57. package/dist/db/schema.d.ts +0 -2023
  58. package/dist/db/schema.js +0 -245
  59. package/dist/db/schema.js.map +0 -1
  60. package/dist/rest/attribution.d.ts +0 -22
  61. package/dist/rest/attribution.js +0 -62
  62. package/dist/rest/attribution.js.map +0 -1
  63. package/dist/rest/auth.d.ts +0 -47
  64. package/dist/rest/auth.js +0 -116
  65. package/dist/rest/auth.js.map +0 -1
  66. package/dist/rest/routes.d.ts +0 -3
  67. package/dist/rest/routes.js +0 -831
  68. package/dist/rest/routes.js.map +0 -1
  69. package/dist/rest/server.d.ts +0 -28
  70. package/dist/rest/server.js +0 -276
  71. package/dist/rest/server.js.map +0 -1
  72. package/dist/service/blockers.d.ts +0 -37
  73. package/dist/service/blockers.js +0 -46
  74. package/dist/service/blockers.js.map +0 -1
  75. package/dist/service/dates.d.ts +0 -19
  76. package/dist/service/dates.js +0 -52
  77. package/dist/service/dates.js.map +0 -1
  78. package/dist/service/embedding.d.ts +0 -75
  79. package/dist/service/embedding.js +0 -318
  80. package/dist/service/embedding.js.map +0 -1
  81. package/dist/service/embedding_settings.d.ts +0 -16
  82. package/dist/service/embedding_settings.js +0 -82
  83. package/dist/service/embedding_settings.js.map +0 -1
  84. package/dist/service/entities.d.ts +0 -96
  85. package/dist/service/entities.js +0 -628
  86. package/dist/service/entities.js.map +0 -1
  87. package/dist/service/feedback.d.ts +0 -13
  88. package/dist/service/feedback.js +0 -50
  89. package/dist/service/feedback.js.map +0 -1
  90. package/dist/service/hierarchy.d.ts +0 -31
  91. package/dist/service/hierarchy.js +0 -76
  92. package/dist/service/hierarchy.js.map +0 -1
  93. package/dist/service/index.d.ts +0 -10
  94. package/dist/service/index.js +0 -10
  95. package/dist/service/index.js.map +0 -1
  96. package/dist/service/locks.d.ts +0 -25
  97. package/dist/service/locks.js +0 -34
  98. package/dist/service/locks.js.map +0 -1
  99. package/dist/service/opening_brief.d.ts +0 -24
  100. package/dist/service/opening_brief.js +0 -210
  101. package/dist/service/opening_brief.js.map +0 -1
  102. package/dist/service/projects.d.ts +0 -9
  103. package/dist/service/projects.js +0 -59
  104. package/dist/service/projects.js.map +0 -1
  105. package/dist/service/recurrence.d.ts +0 -93
  106. package/dist/service/recurrence.js +0 -799
  107. package/dist/service/recurrence.js.map +0 -1
  108. package/dist/service/revisions.d.ts +0 -31
  109. package/dist/service/revisions.js +0 -53
  110. package/dist/service/revisions.js.map +0 -1
  111. package/dist/service/scope.d.ts +0 -14
  112. package/dist/service/scope.js +0 -19
  113. package/dist/service/scope.js.map +0 -1
  114. package/dist/service/search.d.ts +0 -34
  115. package/dist/service/search.js +0 -198
  116. package/dist/service/search.js.map +0 -1
  117. package/dist/service/sessions.d.ts +0 -24
  118. package/dist/service/sessions.js +0 -89
  119. package/dist/service/sessions.js.map +0 -1
  120. package/dist/service/tasks.d.ts +0 -48
  121. package/dist/service/tasks.js +0 -354
  122. package/dist/service/tasks.js.map +0 -1
  123. package/dist/service/tokens.d.ts +0 -21
  124. package/dist/service/tokens.js +0 -71
  125. package/dist/service/tokens.js.map +0 -1
  126. package/dist/service/transfer.d.ts +0 -64
  127. package/dist/service/transfer.js +0 -629
  128. package/dist/service/transfer.js.map +0 -1
  129. package/dist/service/types.d.ts +0 -770
  130. package/dist/service/types.js +0 -272
  131. package/dist/service/types.js.map +0 -1
  132. package/dist/service/workspace_settings.d.ts +0 -9
  133. package/dist/service/workspace_settings.js +0 -49
  134. package/dist/service/workspace_settings.js.map +0 -1
  135. package/web/dist/assets/index-C0u0ZrR4.css +0 -1
  136. package/web/dist/assets/index-CwZxw-xa.js +0 -235
  137. package/web/dist/favicon.svg +0 -13
  138. package/web/dist/index.html +0 -22
@@ -1,770 +0,0 @@
1
- import { z } from "zod";
2
- export declare const EntityKindEnum: z.ZodEnum<["task", "note", "comment", "feedback"]>;
3
- export declare const ActorKindEnum: z.ZodEnum<["human", "agent", "system"]>;
4
- export declare const EdgeKindEnum: z.ZodEnum<["blocks", "references", "parent_of", "supersedes"]>;
5
- export declare const ProjectStatusEnum: z.ZodEnum<["planned", "active", "watching", "paused", "archived"]>;
6
- export declare const PriorityEnum: z.ZodEnum<["urgent", "high", "medium", "low", "none"]>;
7
- export declare const RecurrenceAnchorEnum: z.ZodEnum<["scheduled", "completion"]>;
8
- export declare const RecurrenceFrequencyEnum: z.ZodEnum<["hourly", "daily", "weekly", "monthly", "yearly"]>;
9
- export declare const WeekdayEnum: z.ZodEnum<["MO", "TU", "WE", "TH", "FR", "SA", "SU"]>;
10
- export declare const CanonicalTaskStatusEnum: z.ZodEnum<["open", "in_progress", "done", "rejected"]>;
11
- export declare const TaskStatusEnum: z.ZodEffects<z.ZodEnum<["open", "in_progress", "done", "rejected"]>, "open" | "in_progress" | "done" | "rejected", unknown>;
12
- export declare const Uuid: z.ZodString;
13
- /** Internal write input — used by entities.write(). REST/MCP entry points
14
- * validate against the kind-specific schemas below first. */
15
- export declare const WriteInput: z.ZodObject<{
16
- kind: z.ZodEnum<["task", "note", "comment", "feedback"]>;
17
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- body: z.ZodDefault<z.ZodString>;
20
- tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
21
- status: z.ZodDefault<z.ZodString>;
22
- parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- actorKind: z.ZodDefault<z.ZodEnum<["human", "agent", "system"]>>;
24
- /** Token that authenticated the write. Set by the transport from the
25
- * request credential, never accepted from a request body. */
26
- actorTokenId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
28
- dueAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
29
- priority: z.ZodDefault<z.ZodEnum<["urgent", "high", "medium", "low", "none"]>>;
30
- pinned: z.ZodDefault<z.ZodBoolean>;
31
- /** Explicit completion timestamp; only valid on a task written with status 'done'. */
32
- completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
33
- idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, "strip", z.ZodTypeAny, {
35
- body: string;
36
- status: string;
37
- priority: "none" | "urgent" | "high" | "medium" | "low";
38
- tags: string[];
39
- kind: "task" | "comment" | "note" | "feedback";
40
- actorKind: "human" | "agent" | "system";
41
- metadata: Record<string, unknown>;
42
- pinned: boolean;
43
- dueAt?: Date | null | undefined;
44
- title?: string | null | undefined;
45
- projectId?: string | null | undefined;
46
- actorTokenId?: string | null | undefined;
47
- idempotencyKey?: string | null | undefined;
48
- parentId?: string | null | undefined;
49
- completedAt?: Date | null | undefined;
50
- }, {
51
- kind: "task" | "comment" | "note" | "feedback";
52
- body?: string | undefined;
53
- status?: string | undefined;
54
- priority?: "none" | "urgent" | "high" | "medium" | "low" | undefined;
55
- dueAt?: Date | null | undefined;
56
- title?: string | null | undefined;
57
- projectId?: string | null | undefined;
58
- tags?: string[] | undefined;
59
- actorKind?: "human" | "agent" | "system" | undefined;
60
- actorTokenId?: string | null | undefined;
61
- idempotencyKey?: string | null | undefined;
62
- parentId?: string | null | undefined;
63
- metadata?: Record<string, unknown> | undefined;
64
- pinned?: boolean | undefined;
65
- completedAt?: Date | null | undefined;
66
- }>;
67
- export type WriteInput = z.infer<typeof WriteInput>;
68
- /** Request-derived attribution passed alongside kind-specific create inputs. */
69
- export interface WriteAttribution {
70
- actorTokenId?: string | null;
71
- }
72
- /** Create a task. Title required, body optional, dueAt + priority + status
73
- * apply natively. */
74
- export declare const CreateTaskInput: z.ZodObject<{
75
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
- title: z.ZodString;
77
- body: z.ZodDefault<z.ZodString>;
78
- tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
79
- status: z.ZodDefault<z.ZodEffects<z.ZodEnum<["open", "in_progress", "done", "rejected"]>, "open" | "in_progress" | "done" | "rejected", unknown>>;
80
- parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
- actorKind: z.ZodDefault<z.ZodEnum<["human", "agent", "system"]>>;
82
- metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
83
- dueAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
84
- priority: z.ZodDefault<z.ZodEnum<["urgent", "high", "medium", "low", "none"]>>;
85
- /** Backdated completion timestamp; only valid together with status 'done'. */
86
- completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
87
- idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
- }, "strip", z.ZodTypeAny, {
89
- body: string;
90
- status: "open" | "in_progress" | "done" | "rejected";
91
- priority: "none" | "urgent" | "high" | "medium" | "low";
92
- title: string;
93
- tags: string[];
94
- actorKind: "human" | "agent" | "system";
95
- metadata: Record<string, unknown>;
96
- dueAt?: Date | null | undefined;
97
- projectId?: string | null | undefined;
98
- idempotencyKey?: string | null | undefined;
99
- parentId?: string | null | undefined;
100
- completedAt?: Date | null | undefined;
101
- }, {
102
- title: string;
103
- body?: string | undefined;
104
- status?: unknown;
105
- priority?: "none" | "urgent" | "high" | "medium" | "low" | undefined;
106
- dueAt?: Date | null | undefined;
107
- projectId?: string | null | undefined;
108
- tags?: string[] | undefined;
109
- actorKind?: "human" | "agent" | "system" | undefined;
110
- idempotencyKey?: string | null | undefined;
111
- parentId?: string | null | undefined;
112
- metadata?: Record<string, unknown> | undefined;
113
- completedAt?: Date | null | undefined;
114
- }>;
115
- export type CreateTaskInput = z.infer<typeof CreateTaskInput>;
116
- /** Capture a note. Title is optional (body's first line acts as label).
117
- * Status / due / priority don't apply. parentId links a note to a task. */
118
- export declare const CreateNoteInput: z.ZodObject<{
119
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
120
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
121
- body: z.ZodDefault<z.ZodString>;
122
- tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
123
- parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
- actorKind: z.ZodDefault<z.ZodEnum<["human", "agent", "system"]>>;
125
- metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
126
- pinned: z.ZodDefault<z.ZodBoolean>;
127
- /** Id (or unambiguous prefix) of an existing entity this note replaces.
128
- * A 'supersedes' edge is created and the old entity is downweighted in search. */
129
- supersedes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
- idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
- }, "strip", z.ZodTypeAny, {
132
- body: string;
133
- tags: string[];
134
- actorKind: "human" | "agent" | "system";
135
- metadata: Record<string, unknown>;
136
- pinned: boolean;
137
- title?: string | null | undefined;
138
- projectId?: string | null | undefined;
139
- supersedes?: string | null | undefined;
140
- idempotencyKey?: string | null | undefined;
141
- parentId?: string | null | undefined;
142
- }, {
143
- body?: string | undefined;
144
- title?: string | null | undefined;
145
- projectId?: string | null | undefined;
146
- tags?: string[] | undefined;
147
- supersedes?: string | null | undefined;
148
- actorKind?: "human" | "agent" | "system" | undefined;
149
- idempotencyKey?: string | null | undefined;
150
- parentId?: string | null | undefined;
151
- metadata?: Record<string, unknown> | undefined;
152
- pinned?: boolean | undefined;
153
- }>;
154
- export type CreateNoteInput = z.infer<typeof CreateNoteInput>;
155
- /** Append a comment (worklog entry) to a task or note. Comments are
156
- * append-only: they cannot be updated afterwards, only added or deleted. */
157
- export declare const CreateCommentInput: z.ZodObject<{
158
- body: z.ZodString;
159
- actorKind: z.ZodDefault<z.ZodEnum<["human", "agent", "system"]>>;
160
- metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
161
- idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
162
- }, "strip", z.ZodTypeAny, {
163
- body: string;
164
- actorKind: "human" | "agent" | "system";
165
- metadata: Record<string, unknown>;
166
- idempotencyKey?: string | null | undefined;
167
- }, {
168
- body: string;
169
- actorKind?: "human" | "agent" | "system" | undefined;
170
- idempotencyKey?: string | null | undefined;
171
- metadata?: Record<string, unknown> | undefined;
172
- }>;
173
- export type CreateCommentInput = z.infer<typeof CreateCommentInput>;
174
- export declare const FeedbackCategoryEnum: z.ZodEnum<["bug", "feature", "friction", "idea"]>;
175
- /** Product feedback about botnote itself, filed by agents (or humans) while
176
- * using it: bugs hit, missing features, workflow friction, improvement ideas. */
177
- export declare const CreateFeedbackInput: z.ZodObject<{
178
- category: z.ZodEnum<["bug", "feature", "friction", "idea"]>;
179
- title: z.ZodString;
180
- body: z.ZodDefault<z.ZodString>;
181
- /** Project the reporter was working in when the issue surfaced (context, optional). */
182
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
183
- /** Tool or surface involved, e.g. "search", "opening_brief", "web-ui". */
184
- tool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
185
- actorKind: z.ZodDefault<z.ZodEnum<["human", "agent", "system"]>>;
186
- metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
187
- idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
- }, "strip", z.ZodTypeAny, {
189
- body: string;
190
- title: string;
191
- actorKind: "human" | "agent" | "system";
192
- metadata: Record<string, unknown>;
193
- category: "bug" | "feature" | "friction" | "idea";
194
- projectId?: string | null | undefined;
195
- idempotencyKey?: string | null | undefined;
196
- tool?: string | null | undefined;
197
- }, {
198
- title: string;
199
- category: "bug" | "feature" | "friction" | "idea";
200
- body?: string | undefined;
201
- projectId?: string | null | undefined;
202
- actorKind?: "human" | "agent" | "system" | undefined;
203
- idempotencyKey?: string | null | undefined;
204
- metadata?: Record<string, unknown> | undefined;
205
- tool?: string | null | undefined;
206
- }>;
207
- export type CreateFeedbackInput = z.infer<typeof CreateFeedbackInput>;
208
- export declare const ListFeedbackInput: z.ZodObject<{
209
- category: z.ZodOptional<z.ZodNullable<z.ZodEnum<["bug", "feature", "friction", "idea"]>>>;
210
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["open", "in_progress", "done", "rejected"]>>>;
211
- limit: z.ZodDefault<z.ZodNumber>;
212
- }, "strip", z.ZodTypeAny, {
213
- limit: number;
214
- status?: "open" | "in_progress" | "done" | "rejected" | null | undefined;
215
- category?: "bug" | "feature" | "friction" | "idea" | null | undefined;
216
- }, {
217
- status?: "open" | "in_progress" | "done" | "rejected" | null | undefined;
218
- limit?: number | undefined;
219
- category?: "bug" | "feature" | "friction" | "idea" | null | undefined;
220
- }>;
221
- export type ListFeedbackInput = z.infer<typeof ListFeedbackInput>;
222
- export declare const GetByKeyInput: z.ZodObject<{
223
- projectKey: z.ZodString;
224
- sequenceId: z.ZodNumber;
225
- }, "strip", z.ZodTypeAny, {
226
- sequenceId: number;
227
- projectKey: string;
228
- }, {
229
- sequenceId: number;
230
- projectKey: string;
231
- }>;
232
- export type GetByKeyInput = z.infer<typeof GetByKeyInput>;
233
- export declare const UpdateInput: z.ZodEffects<z.ZodObject<{
234
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
235
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
236
- body: z.ZodOptional<z.ZodString>;
237
- bodyAppend: z.ZodOptional<z.ZodString>;
238
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
239
- status: z.ZodOptional<z.ZodEffects<z.ZodEnum<["open", "in_progress", "done", "rejected"]>, "open" | "in_progress" | "done" | "rejected", unknown>>;
240
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
241
- parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
242
- dueAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
243
- priority: z.ZodOptional<z.ZodEnum<["urgent", "high", "medium", "low", "none"]>>;
244
- pinned: z.ZodOptional<z.ZodBoolean>;
245
- /** Override the completion timestamp of a done task; null clears it. */
246
- completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
247
- recurrenceScope: z.ZodOptional<z.ZodEnum<["this", "future"]>>;
248
- }, "strip", z.ZodTypeAny, {
249
- body?: string | undefined;
250
- status?: "open" | "in_progress" | "done" | "rejected" | undefined;
251
- priority?: "none" | "urgent" | "high" | "medium" | "low" | undefined;
252
- dueAt?: Date | null | undefined;
253
- title?: string | null | undefined;
254
- projectId?: string | null | undefined;
255
- tags?: string[] | undefined;
256
- parentId?: string | null | undefined;
257
- metadata?: Record<string, unknown> | undefined;
258
- pinned?: boolean | undefined;
259
- completedAt?: Date | null | undefined;
260
- bodyAppend?: string | undefined;
261
- recurrenceScope?: "this" | "future" | undefined;
262
- }, {
263
- body?: string | undefined;
264
- status?: unknown;
265
- priority?: "none" | "urgent" | "high" | "medium" | "low" | undefined;
266
- dueAt?: Date | null | undefined;
267
- title?: string | null | undefined;
268
- projectId?: string | null | undefined;
269
- tags?: string[] | undefined;
270
- parentId?: string | null | undefined;
271
- metadata?: Record<string, unknown> | undefined;
272
- pinned?: boolean | undefined;
273
- completedAt?: Date | null | undefined;
274
- bodyAppend?: string | undefined;
275
- recurrenceScope?: "this" | "future" | undefined;
276
- }>, {
277
- body?: string | undefined;
278
- status?: "open" | "in_progress" | "done" | "rejected" | undefined;
279
- priority?: "none" | "urgent" | "high" | "medium" | "low" | undefined;
280
- dueAt?: Date | null | undefined;
281
- title?: string | null | undefined;
282
- projectId?: string | null | undefined;
283
- tags?: string[] | undefined;
284
- parentId?: string | null | undefined;
285
- metadata?: Record<string, unknown> | undefined;
286
- pinned?: boolean | undefined;
287
- completedAt?: Date | null | undefined;
288
- bodyAppend?: string | undefined;
289
- recurrenceScope?: "this" | "future" | undefined;
290
- }, {
291
- body?: string | undefined;
292
- status?: unknown;
293
- priority?: "none" | "urgent" | "high" | "medium" | "low" | undefined;
294
- dueAt?: Date | null | undefined;
295
- title?: string | null | undefined;
296
- projectId?: string | null | undefined;
297
- tags?: string[] | undefined;
298
- parentId?: string | null | undefined;
299
- metadata?: Record<string, unknown> | undefined;
300
- pinned?: boolean | undefined;
301
- completedAt?: Date | null | undefined;
302
- bodyAppend?: string | undefined;
303
- recurrenceScope?: "this" | "future" | undefined;
304
- }>;
305
- export type UpdateInput = z.infer<typeof UpdateInput>;
306
- export declare const RecurrenceInput: z.ZodEffects<z.ZodEffects<z.ZodObject<{
307
- rrule: z.ZodOptional<z.ZodString>;
308
- preset: z.ZodOptional<z.ZodEnum<["hourly", "daily", "weekly", "monthly", "yearly"]>>;
309
- interval: z.ZodDefault<z.ZodNumber>;
310
- byWeekday: z.ZodOptional<z.ZodArray<z.ZodEnum<["MO", "TU", "WE", "TH", "FR", "SA", "SU"]>, "many">>;
311
- byMonthDay: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
312
- bySetPos: z.ZodOptional<z.ZodNumber>;
313
- byMonth: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
314
- until: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
315
- count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
316
- dtstart: z.ZodOptional<z.ZodDate>;
317
- timezone: z.ZodOptional<z.ZodString>;
318
- allDay: z.ZodDefault<z.ZodBoolean>;
319
- anchor: z.ZodDefault<z.ZodEnum<["scheduled", "completion"]>>;
320
- }, "strip", z.ZodTypeAny, {
321
- anchor: "scheduled" | "completion";
322
- interval: number;
323
- allDay: boolean;
324
- rrule?: string | undefined;
325
- dtstart?: Date | undefined;
326
- preset?: "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
327
- byWeekday?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
328
- byMonthDay?: number[] | undefined;
329
- byMonth?: number[] | undefined;
330
- until?: Date | null | undefined;
331
- count?: number | null | undefined;
332
- timezone?: string | undefined;
333
- bySetPos?: number | undefined;
334
- }, {
335
- anchor?: "scheduled" | "completion" | undefined;
336
- rrule?: string | undefined;
337
- dtstart?: Date | undefined;
338
- preset?: "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
339
- interval?: number | undefined;
340
- byWeekday?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
341
- byMonthDay?: number[] | undefined;
342
- byMonth?: number[] | undefined;
343
- until?: Date | null | undefined;
344
- count?: number | null | undefined;
345
- timezone?: string | undefined;
346
- allDay?: boolean | undefined;
347
- bySetPos?: number | undefined;
348
- }>, {
349
- anchor: "scheduled" | "completion";
350
- interval: number;
351
- allDay: boolean;
352
- rrule?: string | undefined;
353
- dtstart?: Date | undefined;
354
- preset?: "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
355
- byWeekday?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
356
- byMonthDay?: number[] | undefined;
357
- byMonth?: number[] | undefined;
358
- until?: Date | null | undefined;
359
- count?: number | null | undefined;
360
- timezone?: string | undefined;
361
- bySetPos?: number | undefined;
362
- }, {
363
- anchor?: "scheduled" | "completion" | undefined;
364
- rrule?: string | undefined;
365
- dtstart?: Date | undefined;
366
- preset?: "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
367
- interval?: number | undefined;
368
- byWeekday?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
369
- byMonthDay?: number[] | undefined;
370
- byMonth?: number[] | undefined;
371
- until?: Date | null | undefined;
372
- count?: number | null | undefined;
373
- timezone?: string | undefined;
374
- allDay?: boolean | undefined;
375
- bySetPos?: number | undefined;
376
- }>, {
377
- anchor: "scheduled" | "completion";
378
- interval: number;
379
- allDay: boolean;
380
- rrule?: string | undefined;
381
- dtstart?: Date | undefined;
382
- preset?: "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
383
- byWeekday?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
384
- byMonthDay?: number[] | undefined;
385
- byMonth?: number[] | undefined;
386
- until?: Date | null | undefined;
387
- count?: number | null | undefined;
388
- timezone?: string | undefined;
389
- bySetPos?: number | undefined;
390
- }, {
391
- anchor?: "scheduled" | "completion" | undefined;
392
- rrule?: string | undefined;
393
- dtstart?: Date | undefined;
394
- preset?: "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
395
- interval?: number | undefined;
396
- byWeekday?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
397
- byMonthDay?: number[] | undefined;
398
- byMonth?: number[] | undefined;
399
- until?: Date | null | undefined;
400
- count?: number | null | undefined;
401
- timezone?: string | undefined;
402
- allDay?: boolean | undefined;
403
- bySetPos?: number | undefined;
404
- }>;
405
- export type RecurrenceInput = z.infer<typeof RecurrenceInput>;
406
- export declare const UpdateRecurrenceInput: z.ZodObject<{
407
- rrule: z.ZodOptional<z.ZodOptional<z.ZodString>>;
408
- preset: z.ZodOptional<z.ZodOptional<z.ZodEnum<["hourly", "daily", "weekly", "monthly", "yearly"]>>>;
409
- interval: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
410
- byWeekday: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<["MO", "TU", "WE", "TH", "FR", "SA", "SU"]>, "many">>>;
411
- byMonthDay: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
412
- bySetPos: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
413
- byMonth: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
414
- until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDate>>>;
415
- count: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
416
- dtstart: z.ZodOptional<z.ZodOptional<z.ZodDate>>;
417
- timezone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
418
- allDay: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
419
- anchor: z.ZodOptional<z.ZodDefault<z.ZodEnum<["scheduled", "completion"]>>>;
420
- } & {
421
- enabled: z.ZodOptional<z.ZodBoolean>;
422
- }, "strip", z.ZodTypeAny, {
423
- anchor?: "scheduled" | "completion" | undefined;
424
- rrule?: string | undefined;
425
- dtstart?: Date | undefined;
426
- preset?: "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
427
- interval?: number | undefined;
428
- byWeekday?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
429
- byMonthDay?: number[] | undefined;
430
- byMonth?: number[] | undefined;
431
- until?: Date | null | undefined;
432
- count?: number | null | undefined;
433
- timezone?: string | undefined;
434
- enabled?: boolean | undefined;
435
- allDay?: boolean | undefined;
436
- bySetPos?: number | undefined;
437
- }, {
438
- anchor?: "scheduled" | "completion" | undefined;
439
- rrule?: string | undefined;
440
- dtstart?: Date | undefined;
441
- preset?: "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
442
- interval?: number | undefined;
443
- byWeekday?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
444
- byMonthDay?: number[] | undefined;
445
- byMonth?: number[] | undefined;
446
- until?: Date | null | undefined;
447
- count?: number | null | undefined;
448
- timezone?: string | undefined;
449
- enabled?: boolean | undefined;
450
- allDay?: boolean | undefined;
451
- bySetPos?: number | undefined;
452
- }>;
453
- export type UpdateRecurrenceInput = z.infer<typeof UpdateRecurrenceInput>;
454
- export declare const StopRecurrenceInput: z.ZodObject<{
455
- reason: z.ZodOptional<z.ZodString>;
456
- }, "strip", z.ZodTypeAny, {
457
- reason?: string | undefined;
458
- }, {
459
- reason?: string | undefined;
460
- }>;
461
- export type StopRecurrenceInput = z.infer<typeof StopRecurrenceInput>;
462
- /** Fork a recurrence series at its current occurrence: freeze the old rule and
463
- * apply a new cadence going forward. No dtstart — the fork point is derived
464
- * from the current occurrence. allDay/timezone/anchor inherit the old rule when
465
- * omitted. */
466
- export declare const SplitRecurrenceInput: z.ZodEffects<z.ZodEffects<z.ZodObject<{
467
- rrule: z.ZodOptional<z.ZodString>;
468
- preset: z.ZodOptional<z.ZodEnum<["hourly", "daily", "weekly", "monthly", "yearly"]>>;
469
- interval: z.ZodDefault<z.ZodNumber>;
470
- byWeekday: z.ZodOptional<z.ZodArray<z.ZodEnum<["MO", "TU", "WE", "TH", "FR", "SA", "SU"]>, "many">>;
471
- byMonthDay: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
472
- bySetPos: z.ZodOptional<z.ZodNumber>;
473
- byMonth: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
474
- until: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
475
- count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
476
- timezone: z.ZodOptional<z.ZodString>;
477
- allDay: z.ZodOptional<z.ZodBoolean>;
478
- anchor: z.ZodOptional<z.ZodEnum<["scheduled", "completion"]>>;
479
- }, "strip", z.ZodTypeAny, {
480
- interval: number;
481
- anchor?: "scheduled" | "completion" | undefined;
482
- rrule?: string | undefined;
483
- preset?: "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
484
- byWeekday?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
485
- byMonthDay?: number[] | undefined;
486
- byMonth?: number[] | undefined;
487
- until?: Date | null | undefined;
488
- count?: number | null | undefined;
489
- timezone?: string | undefined;
490
- allDay?: boolean | undefined;
491
- bySetPos?: number | undefined;
492
- }, {
493
- anchor?: "scheduled" | "completion" | undefined;
494
- rrule?: string | undefined;
495
- preset?: "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
496
- interval?: number | undefined;
497
- byWeekday?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
498
- byMonthDay?: number[] | undefined;
499
- byMonth?: number[] | undefined;
500
- until?: Date | null | undefined;
501
- count?: number | null | undefined;
502
- timezone?: string | undefined;
503
- allDay?: boolean | undefined;
504
- bySetPos?: number | undefined;
505
- }>, {
506
- interval: number;
507
- anchor?: "scheduled" | "completion" | undefined;
508
- rrule?: string | undefined;
509
- preset?: "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
510
- byWeekday?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
511
- byMonthDay?: number[] | undefined;
512
- byMonth?: number[] | undefined;
513
- until?: Date | null | undefined;
514
- count?: number | null | undefined;
515
- timezone?: string | undefined;
516
- allDay?: boolean | undefined;
517
- bySetPos?: number | undefined;
518
- }, {
519
- anchor?: "scheduled" | "completion" | undefined;
520
- rrule?: string | undefined;
521
- preset?: "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
522
- interval?: number | undefined;
523
- byWeekday?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
524
- byMonthDay?: number[] | undefined;
525
- byMonth?: number[] | undefined;
526
- until?: Date | null | undefined;
527
- count?: number | null | undefined;
528
- timezone?: string | undefined;
529
- allDay?: boolean | undefined;
530
- bySetPos?: number | undefined;
531
- }>, {
532
- interval: number;
533
- anchor?: "scheduled" | "completion" | undefined;
534
- rrule?: string | undefined;
535
- preset?: "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
536
- byWeekday?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
537
- byMonthDay?: number[] | undefined;
538
- byMonth?: number[] | undefined;
539
- until?: Date | null | undefined;
540
- count?: number | null | undefined;
541
- timezone?: string | undefined;
542
- allDay?: boolean | undefined;
543
- bySetPos?: number | undefined;
544
- }, {
545
- anchor?: "scheduled" | "completion" | undefined;
546
- rrule?: string | undefined;
547
- preset?: "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
548
- interval?: number | undefined;
549
- byWeekday?: ("MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU")[] | undefined;
550
- byMonthDay?: number[] | undefined;
551
- byMonth?: number[] | undefined;
552
- until?: Date | null | undefined;
553
- count?: number | null | undefined;
554
- timezone?: string | undefined;
555
- allDay?: boolean | undefined;
556
- bySetPos?: number | undefined;
557
- }>;
558
- export type SplitRecurrenceInput = z.infer<typeof SplitRecurrenceInput>;
559
- export declare const SkipOccurrenceInput: z.ZodObject<{
560
- reason: z.ZodOptional<z.ZodString>;
561
- actorKind: z.ZodDefault<z.ZodEnum<["human", "agent", "system"]>>;
562
- }, "strip", z.ZodTypeAny, {
563
- actorKind: "human" | "agent" | "system";
564
- reason?: string | undefined;
565
- }, {
566
- reason?: string | undefined;
567
- actorKind?: "human" | "agent" | "system" | undefined;
568
- }>;
569
- export type SkipOccurrenceInput = z.infer<typeof SkipOccurrenceInput>;
570
- export declare const SearchInput: z.ZodObject<{
571
- query: z.ZodString;
572
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
573
- kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<["task", "note", "comment", "feedback"]>>>;
574
- limit: z.ZodDefault<z.ZodNumber>;
575
- }, "strip", z.ZodTypeAny, {
576
- limit: number;
577
- query: string;
578
- projectId?: string | null | undefined;
579
- kind?: "task" | "comment" | "note" | "feedback" | null | undefined;
580
- }, {
581
- query: string;
582
- projectId?: string | null | undefined;
583
- limit?: number | undefined;
584
- kind?: "task" | "comment" | "note" | "feedback" | null | undefined;
585
- }>;
586
- export type SearchInput = z.infer<typeof SearchInput>;
587
- export declare const RecentInput: z.ZodObject<{
588
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
589
- since: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
590
- kinds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["task", "note", "comment", "feedback"]>, "many">>>;
591
- limit: z.ZodDefault<z.ZodNumber>;
592
- }, "strip", z.ZodTypeAny, {
593
- limit: number;
594
- projectId?: string | null | undefined;
595
- since?: Date | null | undefined;
596
- kinds?: ("task" | "comment" | "note" | "feedback")[] | null | undefined;
597
- }, {
598
- projectId?: string | null | undefined;
599
- limit?: number | undefined;
600
- since?: Date | null | undefined;
601
- kinds?: ("task" | "comment" | "note" | "feedback")[] | null | undefined;
602
- }>;
603
- export type RecentInput = z.infer<typeof RecentInput>;
604
- export declare const TasksRangeInput: z.ZodObject<{
605
- from: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
606
- to: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
607
- projectIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
608
- includeBacklog: z.ZodDefault<z.ZodBoolean>;
609
- includeDone: z.ZodDefault<z.ZodBoolean>;
610
- includeVirtualRecurrences: z.ZodDefault<z.ZodBoolean>;
611
- }, "strip", z.ZodTypeAny, {
612
- includeBacklog: boolean;
613
- includeDone: boolean;
614
- includeVirtualRecurrences: boolean;
615
- projectIds?: string[] | null | undefined;
616
- from?: Date | null | undefined;
617
- to?: Date | null | undefined;
618
- }, {
619
- projectIds?: string[] | null | undefined;
620
- from?: Date | null | undefined;
621
- to?: Date | null | undefined;
622
- includeBacklog?: boolean | undefined;
623
- includeDone?: boolean | undefined;
624
- includeVirtualRecurrences?: boolean | undefined;
625
- }>;
626
- export type TasksRangeInput = z.infer<typeof TasksRangeInput>;
627
- export declare const LinkInput: z.ZodObject<{
628
- fromId: z.ZodString;
629
- toId: z.ZodString;
630
- kind: z.ZodEnum<["blocks", "references", "parent_of", "supersedes"]>;
631
- }, "strip", z.ZodTypeAny, {
632
- kind: "blocks" | "references" | "parent_of" | "supersedes";
633
- fromId: string;
634
- toId: string;
635
- }, {
636
- kind: "blocks" | "references" | "parent_of" | "supersedes";
637
- fromId: string;
638
- toId: string;
639
- }>;
640
- export type LinkInput = z.infer<typeof LinkInput>;
641
- export declare const OpeningBriefInput: z.ZodObject<{
642
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
643
- recentLimit: z.ZodDefault<z.ZodNumber>;
644
- }, "strip", z.ZodTypeAny, {
645
- recentLimit: number;
646
- projectId?: string | null | undefined;
647
- }, {
648
- projectId?: string | null | undefined;
649
- recentLimit?: number | undefined;
650
- }>;
651
- export type OpeningBriefInput = z.infer<typeof OpeningBriefInput>;
652
- export declare const CreateProjectInput: z.ZodObject<{
653
- key: z.ZodString;
654
- name: z.ZodString;
655
- status: z.ZodDefault<z.ZodEnum<["planned", "active", "watching", "paused", "archived"]>>;
656
- color: z.ZodDefault<z.ZodString>;
657
- icon: z.ZodDefault<z.ZodString>;
658
- agentsMd: z.ZodDefault<z.ZodString>;
659
- }, "strict", z.ZodTypeAny, {
660
- status: "archived" | "active" | "planned" | "watching" | "paused";
661
- name: string;
662
- key: string;
663
- color: string;
664
- icon: string;
665
- agentsMd: string;
666
- }, {
667
- name: string;
668
- key: string;
669
- status?: "archived" | "active" | "planned" | "watching" | "paused" | undefined;
670
- color?: string | undefined;
671
- icon?: string | undefined;
672
- agentsMd?: string | undefined;
673
- }>;
674
- export type CreateProjectInput = z.infer<typeof CreateProjectInput>;
675
- export declare const UpdateProjectInput: z.ZodObject<{
676
- name: z.ZodOptional<z.ZodString>;
677
- status: z.ZodOptional<z.ZodEnum<["planned", "active", "watching", "paused", "archived"]>>;
678
- color: z.ZodOptional<z.ZodString>;
679
- icon: z.ZodOptional<z.ZodString>;
680
- agentsMd: z.ZodOptional<z.ZodString>;
681
- }, "strict", z.ZodTypeAny, {
682
- status?: "archived" | "active" | "planned" | "watching" | "paused" | undefined;
683
- name?: string | undefined;
684
- color?: string | undefined;
685
- icon?: string | undefined;
686
- agentsMd?: string | undefined;
687
- }, {
688
- status?: "archived" | "active" | "planned" | "watching" | "paused" | undefined;
689
- name?: string | undefined;
690
- color?: string | undefined;
691
- icon?: string | undefined;
692
- agentsMd?: string | undefined;
693
- }>;
694
- export type UpdateProjectInput = z.infer<typeof UpdateProjectInput>;
695
- export declare const ListProjectsInput: z.ZodObject<{
696
- includeArchived: z.ZodDefault<z.ZodBoolean>;
697
- }, "strip", z.ZodTypeAny, {
698
- includeArchived: boolean;
699
- }, {
700
- includeArchived?: boolean | undefined;
701
- }>;
702
- export type ListProjectsInput = z.infer<typeof ListProjectsInput>;
703
- export declare const CreateTokenInput: z.ZodObject<{
704
- name: z.ZodString;
705
- }, "strip", z.ZodTypeAny, {
706
- name: string;
707
- }, {
708
- name: string;
709
- }>;
710
- export type CreateTokenInput = z.infer<typeof CreateTokenInput>;
711
- export declare const EmbeddingProviderEnum: z.ZodEnum<["openai", "openai_compatible"]>;
712
- export type EmbeddingProvider = z.infer<typeof EmbeddingProviderEnum>;
713
- export declare const UpdateEmbeddingSettingsInput: z.ZodObject<{
714
- enabled: z.ZodOptional<z.ZodBoolean>;
715
- provider: z.ZodOptional<z.ZodEnum<["openai", "openai_compatible"]>>;
716
- model: z.ZodOptional<z.ZodString>;
717
- baseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
718
- apiKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
719
- }, "strip", z.ZodTypeAny, {
720
- baseUrl?: string | null | undefined;
721
- enabled?: boolean | undefined;
722
- provider?: "openai" | "openai_compatible" | undefined;
723
- model?: string | undefined;
724
- apiKey?: string | null | undefined;
725
- }, {
726
- baseUrl?: string | null | undefined;
727
- enabled?: boolean | undefined;
728
- provider?: "openai" | "openai_compatible" | undefined;
729
- model?: string | undefined;
730
- apiKey?: string | null | undefined;
731
- }>;
732
- export type UpdateEmbeddingSettingsInput = z.infer<typeof UpdateEmbeddingSettingsInput>;
733
- export declare const UpdateWorkspaceSettingsInput: z.ZodObject<{
734
- timezone: z.ZodOptional<z.ZodString>;
735
- }, "strip", z.ZodTypeAny, {
736
- timezone?: string | undefined;
737
- }, {
738
- timezone?: string | undefined;
739
- }>;
740
- export type UpdateWorkspaceSettingsInput = z.infer<typeof UpdateWorkspaceSettingsInput>;
741
- export declare const EmbeddingBackfillInput: z.ZodObject<{
742
- limit: z.ZodOptional<z.ZodNumber>;
743
- }, "strip", z.ZodTypeAny, {
744
- limit?: number | undefined;
745
- }, {
746
- limit?: number | undefined;
747
- }>;
748
- export type EmbeddingBackfillInput = z.infer<typeof EmbeddingBackfillInput>;
749
- export declare const ListTagsInput: z.ZodObject<{
750
- projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
751
- }, "strip", z.ZodTypeAny, {
752
- projectId?: string | null | undefined;
753
- }, {
754
- projectId?: string | null | undefined;
755
- }>;
756
- export type ListTagsInput = z.infer<typeof ListTagsInput>;
757
- export declare const GetLinksInput: z.ZodObject<{
758
- id: z.ZodString;
759
- kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<["blocks", "references", "parent_of", "supersedes"]>>>;
760
- direction: z.ZodDefault<z.ZodEnum<["outgoing", "incoming", "both"]>>;
761
- }, "strip", z.ZodTypeAny, {
762
- id: string;
763
- direction: "outgoing" | "incoming" | "both";
764
- kind?: "blocks" | "references" | "parent_of" | "supersedes" | null | undefined;
765
- }, {
766
- id: string;
767
- kind?: "blocks" | "references" | "parent_of" | "supersedes" | null | undefined;
768
- direction?: "outgoing" | "incoming" | "both" | undefined;
769
- }>;
770
- export type GetLinksInput = z.infer<typeof GetLinksInput>;