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