pi-harness-runtime 1.1.421 → 1.1.423

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 (140) hide show
  1. package/index.ts +32 -1
  2. package/package.json +2 -2
  3. package/packages/a2a-adapter/package.json +1 -1
  4. package/packages/agent-policy/package.json +1 -1
  5. package/packages/architecture-generator/package.json +1 -1
  6. package/packages/auth/package.json +1 -1
  7. package/packages/autonomous-refactor/package.json +1 -1
  8. package/packages/autonomous-runtime/package.json +1 -1
  9. package/packages/cache-strategy/package.json +1 -1
  10. package/packages/capability-registry/package.json +1 -1
  11. package/packages/checkpoint/package.json +1 -1
  12. package/packages/cli-plugin-sdk/package.json +1 -1
  13. package/packages/clipboard/package.json +1 -1
  14. package/packages/clipboard-plugin/package.json +1 -1
  15. package/packages/code-generation/package.json +1 -1
  16. package/packages/code-review/package.json +1 -1
  17. package/packages/codex-adapter/package.json +1 -1
  18. package/packages/codex-watcher/package.json +1 -1
  19. package/packages/config-capture/package.json +1 -1
  20. package/packages/connection-runtime/package.json +1 -1
  21. package/packages/context-compiler/package.json +1 -1
  22. package/packages/context-discovery/package.json +1 -1
  23. package/packages/context-manager/package.json +1 -1
  24. package/packages/contracts/dist/approvals.d.ts +70 -183
  25. package/packages/contracts/dist/events.d.ts +83 -57
  26. package/packages/contracts/dist/jobs.d.ts +77 -156
  27. package/packages/contracts/dist/notifications.d.ts +68 -230
  28. package/packages/contracts/dist/projects.d.ts +31 -109
  29. package/packages/contracts/dist/sessions.d.ts +66 -150
  30. package/packages/contracts/package.json +2 -2
  31. package/packages/cookie-sanitizer/package.json +1 -1
  32. package/packages/cost-optimizer/package.json +1 -1
  33. package/packages/dependency-analyzer/package.json +1 -1
  34. package/packages/django-plugin/package.json +1 -1
  35. package/packages/doc-generator/package.json +1 -1
  36. package/packages/durable-review/package.json +1 -1
  37. package/packages/e2e-tester/package.json +1 -1
  38. package/packages/evaluation-engine/package.json +1 -1
  39. package/packages/evaluation-runner/package.json +1 -1
  40. package/packages/event-bus/package.json +1 -1
  41. package/packages/event-sink/package.json +1 -1
  42. package/packages/event-store/package.json +1 -1
  43. package/packages/experience-replay/package.json +1 -1
  44. package/packages/feedback-collector/package.json +1 -1
  45. package/packages/file-copy-helper/package.json +1 -1
  46. package/packages/framework-detector/package.json +1 -1
  47. package/packages/framework-plugin-sdk/package.json +1 -1
  48. package/packages/frappe-plugin/package.json +1 -1
  49. package/packages/generic-web-plugin/package.json +1 -1
  50. package/packages/health-monitor/package.json +1 -1
  51. package/packages/intent-analyzer/package.json +1 -1
  52. package/packages/jev-judge/package.json +1 -1
  53. package/packages/knowledge-graph/package.json +1 -1
  54. package/packages/knowledge-retrieval/package.json +1 -1
  55. package/packages/laravel-plugin/package.json +1 -1
  56. package/packages/learning-engine/package.json +1 -1
  57. package/packages/logging/package.json +1 -1
  58. package/packages/mcp-adapter/package.json +1 -1
  59. package/packages/memory-engine/package.json +1 -1
  60. package/packages/milestone-manager/package.json +1 -1
  61. package/packages/model-registry/package.json +1 -1
  62. package/packages/nextjs-plugin/package.json +1 -1
  63. package/packages/notification/package.json +1 -1
  64. package/packages/observability/package.json +1 -1
  65. package/packages/okf-indexer/package.json +1 -1
  66. package/packages/paperclip-integration/package.json +1 -1
  67. package/packages/performance-optimizer/package.json +1 -1
  68. package/packages/permission-mode/package.json +1 -1
  69. package/packages/privilege-broker/package.json +1 -1
  70. package/packages/project-analyzer/package.json +1 -1
  71. package/packages/project-bootstrap/package.json +1 -1
  72. package/packages/projection-engine/package.json +1 -1
  73. package/packages/prompt-compiler/package.json +1 -1
  74. package/packages/prompt-versioning/package.json +1 -1
  75. package/packages/provider-adapter-sdk/package.json +1 -1
  76. package/packages/provider-router/package.json +1 -1
  77. package/packages/provider-selector/package.json +1 -1
  78. package/packages/providers/package.json +1 -1
  79. package/packages/qdrant-skills/package.json +1 -1
  80. package/packages/quota-manager/package.json +1 -1
  81. package/packages/rate-limiter/package.json +1 -1
  82. package/packages/react-vite-plugin/package.json +1 -1
  83. package/packages/relay/package.json +1 -1
  84. package/packages/release-manager/package.json +1 -1
  85. package/packages/requirement-compiler/package.json +1 -1
  86. package/packages/runtime/package.json +1 -1
  87. package/packages/scheduler/package.json +1 -1
  88. package/packages/scheduler-adapter/package.json +1 -1
  89. package/packages/session/package.json +1 -1
  90. package/packages/session-api/package.json +1 -1
  91. package/packages/session-export/package.json +1 -1
  92. package/packages/shared-context/package.json +1 -1
  93. package/packages/skill-mcp-client/package.json +1 -1
  94. package/packages/skill-registry/package.json +1 -1
  95. package/packages/skills/dist/index.d.ts.map +1 -1
  96. package/packages/skills/dist/index.js +12 -4
  97. package/packages/skills/dist/index.js.map +1 -1
  98. package/packages/skills/dist/sanitize-rules.d.ts +93 -0
  99. package/packages/skills/dist/sanitize-rules.d.ts.map +1 -0
  100. package/packages/skills/dist/sanitize-rules.js +173 -0
  101. package/packages/skills/dist/sanitize-rules.js.map +1 -0
  102. package/packages/skills/dist/sanitize.d.ts +13 -2
  103. package/packages/skills/dist/sanitize.d.ts.map +1 -1
  104. package/packages/skills/dist/sanitize.js +14 -48
  105. package/packages/skills/dist/sanitize.js.map +1 -1
  106. package/packages/skills/dist/vector-schema.d.ts +7 -1
  107. package/packages/skills/dist/vector-schema.d.ts.map +1 -1
  108. package/packages/skills/dist/vector-schema.js +10 -5
  109. package/packages/skills/dist/vector-schema.js.map +1 -1
  110. package/packages/skills/package.json +1 -1
  111. package/packages/skills/src/index.ts +12 -5
  112. package/packages/skills/src/sanitize-rules.ts +218 -0
  113. package/packages/skills/src/sanitize.ts +26 -56
  114. package/packages/skills/src/vector-schema.ts +22 -14
  115. package/packages/skills/test/remote-skills.test.ts +33 -6
  116. package/packages/skills/test/sanitize.test.ts +163 -44
  117. package/packages/sprint-planner/package.json +1 -1
  118. package/packages/subscription-engine/package.json +1 -1
  119. package/packages/task-compiler/package.json +1 -1
  120. package/packages/telegram/package.json +1 -1
  121. package/packages/tencentdb-memory/package.json +1 -1
  122. package/packages/tencentdb-sync/package.json +1 -1
  123. package/packages/test-data-generator/package.json +1 -1
  124. package/packages/test-generator/package.json +1 -1
  125. package/packages/todo-bd-sync/package.json +1 -1
  126. package/packages/token-estimation/package.json +1 -1
  127. package/packages/token-optimizer/package.json +1 -1
  128. package/packages/tooling-preference/package.json +1 -1
  129. package/packages/trajectory/package.json +1 -1
  130. package/packages/tui/package.json +1 -1
  131. package/packages/two-phase-review/package.json +1 -1
  132. package/packages/types/package.json +1 -1
  133. package/packages/voice-api/package.json +1 -1
  134. package/packages/webmcp-tester/package.json +1 -1
  135. package/packages/wiki/package.json +1 -1
  136. package/packages/workflow-events/package.json +1 -1
  137. package/packages/workspace-scanner/package.json +1 -1
  138. package/packages/worktree/package.json +1 -1
  139. package/packages/write-review/package.json +1 -1
  140. package/scripts/sync-to-qdrant.ts +5 -9
@@ -5,12 +5,22 @@ import { z } from 'zod';
5
5
  /**
6
6
  * Notification channel
7
7
  */
8
- export declare const NotificationChannel: z.ZodEnum<["telegram", "email", "webhook", "desktop"]>;
8
+ export declare const NotificationChannel: z.ZodEnum<{
9
+ desktop: "desktop";
10
+ email: "email";
11
+ telegram: "telegram";
12
+ webhook: "webhook";
13
+ }>;
9
14
  export type NotificationChannel = z.infer<typeof NotificationChannel>;
10
15
  /**
11
16
  * Notification priority
12
17
  */
13
- export declare const NotificationPriority: z.ZodEnum<["low", "normal", "high", "urgent"]>;
18
+ export declare const NotificationPriority: z.ZodEnum<{
19
+ high: "high";
20
+ low: "low";
21
+ normal: "normal";
22
+ urgent: "urgent";
23
+ }>;
14
24
  export type NotificationPriority = z.infer<typeof NotificationPriority>;
15
25
  /**
16
26
  * Notification definition
@@ -18,8 +28,18 @@ export type NotificationPriority = z.infer<typeof NotificationPriority>;
18
28
  export declare const Notification: z.ZodObject<{
19
29
  id: z.ZodString;
20
30
  event: z.ZodString;
21
- channel: z.ZodEnum<["telegram", "email", "webhook", "desktop"]>;
22
- priority: z.ZodDefault<z.ZodEnum<["low", "normal", "high", "urgent"]>>;
31
+ channel: z.ZodEnum<{
32
+ desktop: "desktop";
33
+ email: "email";
34
+ telegram: "telegram";
35
+ webhook: "webhook";
36
+ }>;
37
+ priority: z.ZodDefault<z.ZodEnum<{
38
+ high: "high";
39
+ low: "low";
40
+ normal: "normal";
41
+ urgent: "urgent";
42
+ }>>;
23
43
  workspaceId: z.ZodOptional<z.ZodString>;
24
44
  sessionId: z.ZodOptional<z.ZodString>;
25
45
  jobId: z.ZodOptional<z.ZodString>;
@@ -31,69 +51,29 @@ export declare const Notification: z.ZodObject<{
31
51
  action: z.ZodString;
32
52
  targetId: z.ZodOptional<z.ZodString>;
33
53
  url: z.ZodOptional<z.ZodString>;
34
- }, "strip", z.ZodTypeAny, {
35
- text: string;
36
- action: string;
37
- targetId?: string | undefined;
38
- url?: string | undefined;
39
- }, {
40
- text: string;
41
- action: string;
42
- targetId?: string | undefined;
43
- url?: string | undefined;
44
- }>, "many">>;
54
+ }, z.core.$strip>>>;
45
55
  sentAt: z.ZodOptional<z.ZodString>;
46
56
  readAt: z.ZodOptional<z.ZodString>;
47
57
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
48
- }, "strip", z.ZodTypeAny, {
49
- id: string;
50
- event: string;
51
- channel: "desktop" | "email" | "telegram" | "webhook";
52
- priority: "high" | "low" | "normal" | "urgent";
53
- workspaceId?: string | undefined;
54
- sessionId?: string | undefined;
55
- jobId?: string | undefined;
56
- title: string;
57
- message: string;
58
- data?: Record<string, unknown> | undefined;
59
- buttons?: {
60
- text: string;
61
- action: string;
62
- targetId?: string | undefined;
63
- url?: string | undefined;
64
- }[] | undefined;
65
- sentAt?: string | undefined;
66
- readAt?: string | undefined;
67
- metadata?: Record<string, unknown> | undefined;
68
- }, {
69
- id: string;
70
- event: string;
71
- channel: "desktop" | "email" | "telegram" | "webhook";
72
- priority?: "high" | "low" | "normal" | "urgent" | undefined;
73
- workspaceId?: string | undefined;
74
- sessionId?: string | undefined;
75
- jobId?: string | undefined;
76
- title: string;
77
- message: string;
78
- data?: Record<string, unknown> | undefined;
79
- buttons?: {
80
- text: string;
81
- action: string;
82
- targetId?: string | undefined;
83
- url?: string | undefined;
84
- }[] | undefined;
85
- sentAt?: string | undefined;
86
- readAt?: string | undefined;
87
- metadata?: Record<string, unknown> | undefined;
88
- }>;
58
+ }, z.core.$strip>;
89
59
  export type Notification = z.infer<typeof Notification>;
90
60
  /**
91
61
  * Notification creation input
92
62
  */
93
63
  export declare const NotificationCreate: z.ZodObject<{
94
64
  event: z.ZodString;
95
- channel: z.ZodDefault<z.ZodEnum<["telegram", "email", "webhook", "desktop"]>>;
96
- priority: z.ZodDefault<z.ZodEnum<["low", "normal", "high", "urgent"]>>;
65
+ channel: z.ZodDefault<z.ZodEnum<{
66
+ desktop: "desktop";
67
+ email: "email";
68
+ telegram: "telegram";
69
+ webhook: "webhook";
70
+ }>>;
71
+ priority: z.ZodDefault<z.ZodEnum<{
72
+ high: "high";
73
+ low: "low";
74
+ normal: "normal";
75
+ urgent: "urgent";
76
+ }>>;
97
77
  workspaceId: z.ZodOptional<z.ZodString>;
98
78
  sessionId: z.ZodOptional<z.ZodString>;
99
79
  jobId: z.ZodOptional<z.ZodString>;
@@ -105,53 +85,9 @@ export declare const NotificationCreate: z.ZodObject<{
105
85
  action: z.ZodString;
106
86
  targetId: z.ZodOptional<z.ZodString>;
107
87
  url: z.ZodOptional<z.ZodString>;
108
- }, "strip", z.ZodTypeAny, {
109
- text: string;
110
- action: string;
111
- targetId?: string | undefined;
112
- url?: string | undefined;
113
- }, {
114
- text: string;
115
- action: string;
116
- targetId?: string | undefined;
117
- url?: string | undefined;
118
- }>, "many">>;
88
+ }, z.core.$strip>>>;
119
89
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
120
- }, "strip", z.ZodTypeAny, {
121
- event: string;
122
- channel: "desktop" | "email" | "telegram" | "webhook";
123
- priority: "high" | "low" | "normal" | "urgent";
124
- workspaceId?: string | undefined;
125
- sessionId?: string | undefined;
126
- jobId?: string | undefined;
127
- title: string;
128
- message: string;
129
- data?: Record<string, unknown> | undefined;
130
- buttons?: {
131
- text: string;
132
- action: string;
133
- targetId?: string | undefined;
134
- url?: string | undefined;
135
- }[] | undefined;
136
- metadata?: Record<string, unknown> | undefined;
137
- }, {
138
- event: string;
139
- channel?: "desktop" | "email" | "telegram" | "webhook" | undefined;
140
- priority?: "high" | "low" | "normal" | "urgent" | undefined;
141
- workspaceId?: string | undefined;
142
- sessionId?: string | undefined;
143
- jobId?: string | undefined;
144
- title: string;
145
- message: string;
146
- data?: Record<string, unknown> | undefined;
147
- buttons?: {
148
- text: string;
149
- action: string;
150
- targetId?: string | undefined;
151
- url?: string | undefined;
152
- }[] | undefined;
153
- metadata?: Record<string, unknown> | undefined;
154
- }>;
90
+ }, z.core.$strip>;
155
91
  export type NotificationCreate = z.infer<typeof NotificationCreate>;
156
92
  /**
157
93
  * Notification filter
@@ -160,33 +96,23 @@ export declare const NotificationFilter: z.ZodObject<{
160
96
  workspaceId: z.ZodOptional<z.ZodString>;
161
97
  sessionId: z.ZodOptional<z.ZodString>;
162
98
  jobId: z.ZodOptional<z.ZodString>;
163
- channel: z.ZodOptional<z.ZodEnum<["telegram", "email", "webhook", "desktop"]>>;
164
- priority: z.ZodOptional<z.ZodEnum<["low", "normal", "high", "urgent"]>>;
99
+ channel: z.ZodOptional<z.ZodEnum<{
100
+ desktop: "desktop";
101
+ email: "email";
102
+ telegram: "telegram";
103
+ webhook: "webhook";
104
+ }>>;
105
+ priority: z.ZodOptional<z.ZodEnum<{
106
+ high: "high";
107
+ low: "low";
108
+ normal: "normal";
109
+ urgent: "urgent";
110
+ }>>;
165
111
  since: z.ZodOptional<z.ZodString>;
166
112
  until: z.ZodOptional<z.ZodString>;
167
113
  limit: z.ZodDefault<z.ZodNumber>;
168
114
  cursor: z.ZodOptional<z.ZodString>;
169
- }, "strip", z.ZodTypeAny, {
170
- workspaceId?: string | undefined;
171
- sessionId?: string | undefined;
172
- jobId?: string | undefined;
173
- channel?: "desktop" | "email" | "telegram" | "webhook" | undefined;
174
- priority?: "high" | "low" | "normal" | "urgent" | undefined;
175
- since?: string | undefined;
176
- until?: string | undefined;
177
- limit: number;
178
- cursor?: string | undefined;
179
- }, {
180
- workspaceId?: string | undefined;
181
- sessionId?: string | undefined;
182
- jobId?: string | undefined;
183
- channel?: "desktop" | "email" | "telegram" | "webhook" | undefined;
184
- priority?: "high" | "low" | "normal" | "urgent" | undefined;
185
- since?: string | undefined;
186
- until?: string | undefined;
187
- limit?: number | undefined;
188
- cursor?: string | undefined;
189
- }>;
115
+ }, z.core.$strip>;
190
116
  export type NotificationFilter = z.infer<typeof NotificationFilter>;
191
117
  /**
192
118
  * Notification list response
@@ -195,8 +121,18 @@ export declare const NotificationList: z.ZodObject<{
195
121
  items: z.ZodArray<z.ZodObject<{
196
122
  id: z.ZodString;
197
123
  event: z.ZodString;
198
- channel: z.ZodEnum<["telegram", "email", "webhook", "desktop"]>;
199
- priority: z.ZodDefault<z.ZodEnum<["low", "normal", "high", "urgent"]>>;
124
+ channel: z.ZodEnum<{
125
+ desktop: "desktop";
126
+ email: "email";
127
+ telegram: "telegram";
128
+ webhook: "webhook";
129
+ }>;
130
+ priority: z.ZodDefault<z.ZodEnum<{
131
+ high: "high";
132
+ low: "low";
133
+ normal: "normal";
134
+ urgent: "urgent";
135
+ }>>;
200
136
  workspaceId: z.ZodOptional<z.ZodString>;
201
137
  sessionId: z.ZodOptional<z.ZodString>;
202
138
  jobId: z.ZodOptional<z.ZodString>;
@@ -208,110 +144,12 @@ export declare const NotificationList: z.ZodObject<{
208
144
  action: z.ZodString;
209
145
  targetId: z.ZodOptional<z.ZodString>;
210
146
  url: z.ZodOptional<z.ZodString>;
211
- }, "strip", z.ZodTypeAny, {
212
- text: string;
213
- action: string;
214
- targetId?: string | undefined;
215
- url?: string | undefined;
216
- }, {
217
- text: string;
218
- action: string;
219
- targetId?: string | undefined;
220
- url?: string | undefined;
221
- }>, "many">>;
147
+ }, z.core.$strip>>>;
222
148
  sentAt: z.ZodOptional<z.ZodString>;
223
149
  readAt: z.ZodOptional<z.ZodString>;
224
150
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
225
- }, "strip", z.ZodTypeAny, {
226
- id: string;
227
- event: string;
228
- channel: "desktop" | "email" | "telegram" | "webhook";
229
- priority: "high" | "low" | "normal" | "urgent";
230
- workspaceId?: string | undefined;
231
- sessionId?: string | undefined;
232
- jobId?: string | undefined;
233
- title: string;
234
- message: string;
235
- data?: Record<string, unknown> | undefined;
236
- buttons?: {
237
- text: string;
238
- action: string;
239
- targetId?: string | undefined;
240
- url?: string | undefined;
241
- }[] | undefined;
242
- sentAt?: string | undefined;
243
- readAt?: string | undefined;
244
- metadata?: Record<string, unknown> | undefined;
245
- }, {
246
- id: string;
247
- event: string;
248
- channel: "desktop" | "email" | "telegram" | "webhook";
249
- priority?: "high" | "low" | "normal" | "urgent" | undefined;
250
- workspaceId?: string | undefined;
251
- sessionId?: string | undefined;
252
- jobId?: string | undefined;
253
- title: string;
254
- message: string;
255
- data?: Record<string, unknown> | undefined;
256
- buttons?: {
257
- text: string;
258
- action: string;
259
- targetId?: string | undefined;
260
- url?: string | undefined;
261
- }[] | undefined;
262
- sentAt?: string | undefined;
263
- readAt?: string | undefined;
264
- metadata?: Record<string, unknown> | undefined;
265
- }>, "many">;
151
+ }, z.core.$strip>>;
266
152
  nextCursor: z.ZodOptional<z.ZodString>;
267
153
  total: z.ZodOptional<z.ZodNumber>;
268
- }, "strip", z.ZodTypeAny, {
269
- items: {
270
- id: string;
271
- event: string;
272
- channel: "desktop" | "email" | "telegram" | "webhook";
273
- priority: "high" | "low" | "normal" | "urgent";
274
- workspaceId?: string | undefined;
275
- sessionId?: string | undefined;
276
- jobId?: string | undefined;
277
- title: string;
278
- message: string;
279
- data?: Record<string, unknown> | undefined;
280
- buttons?: {
281
- text: string;
282
- action: string;
283
- targetId?: string | undefined;
284
- url?: string | undefined;
285
- }[] | undefined;
286
- sentAt?: string | undefined;
287
- readAt?: string | undefined;
288
- metadata?: Record<string, unknown> | undefined;
289
- }[];
290
- nextCursor?: string | undefined;
291
- total?: number | undefined;
292
- }, {
293
- items: {
294
- id: string;
295
- event: string;
296
- channel: "desktop" | "email" | "telegram" | "webhook";
297
- priority?: "high" | "low" | "normal" | "urgent" | undefined;
298
- workspaceId?: string | undefined;
299
- sessionId?: string | undefined;
300
- jobId?: string | undefined;
301
- title: string;
302
- message: string;
303
- data?: Record<string, unknown> | undefined;
304
- buttons?: {
305
- text: string;
306
- action: string;
307
- targetId?: string | undefined;
308
- url?: string | undefined;
309
- }[] | undefined;
310
- sentAt?: string | undefined;
311
- readAt?: string | undefined;
312
- metadata?: Record<string, unknown> | undefined;
313
- }[];
314
- nextCursor?: string | undefined;
315
- total?: number | undefined;
316
- }>;
154
+ }, z.core.$strip>;
317
155
  export type NotificationList = z.infer<typeof NotificationList>;
@@ -5,7 +5,11 @@ import { z } from 'zod';
5
5
  /**
6
6
  * Project status
7
7
  */
8
- export declare const ProjectStatus: z.ZodEnum<["active", "archived", "deleted"]>;
8
+ export declare const ProjectStatus: z.ZodEnum<{
9
+ active: "active";
10
+ archived: "archived";
11
+ deleted: "deleted";
12
+ }>;
9
13
  export type ProjectStatus = z.infer<typeof ProjectStatus>;
10
14
  /**
11
15
  * Project definition
@@ -14,33 +18,17 @@ export declare const Project: z.ZodObject<{
14
18
  id: z.ZodString;
15
19
  name: z.ZodString;
16
20
  path: z.ZodString;
17
- status: z.ZodDefault<z.ZodEnum<["active", "archived", "deleted"]>>;
21
+ status: z.ZodDefault<z.ZodEnum<{
22
+ active: "active";
23
+ archived: "archived";
24
+ deleted: "deleted";
25
+ }>>;
18
26
  workspaceId: z.ZodString;
19
27
  createdAt: z.ZodString;
20
28
  updatedAt: z.ZodString;
21
29
  lastAccessedAt: z.ZodOptional<z.ZodString>;
22
30
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23
- }, "strip", z.ZodTypeAny, {
24
- id: string;
25
- name: string;
26
- path: string;
27
- status: "active" | "archived" | "deleted";
28
- workspaceId: string;
29
- createdAt: string;
30
- updatedAt: string;
31
- lastAccessedAt?: string | undefined;
32
- metadata?: Record<string, unknown> | undefined;
33
- }, {
34
- id: string;
35
- name: string;
36
- path: string;
37
- status?: "active" | "archived" | "deleted" | undefined;
38
- workspaceId: string;
39
- createdAt: string;
40
- updatedAt: string;
41
- lastAccessedAt?: string | undefined;
42
- metadata?: Record<string, unknown> | undefined;
43
- }>;
31
+ }, z.core.$strip>;
44
32
  export type Project = z.infer<typeof Project>;
45
33
  /**
46
34
  * Project creation input
@@ -50,57 +38,35 @@ export declare const ProjectCreate: z.ZodObject<{
50
38
  path: z.ZodString;
51
39
  workspaceId: z.ZodString;
52
40
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
53
- }, "strip", z.ZodTypeAny, {
54
- name: string;
55
- path: string;
56
- workspaceId: string;
57
- metadata?: Record<string, unknown> | undefined;
58
- }, {
59
- name: string;
60
- path: string;
61
- workspaceId: string;
62
- metadata?: Record<string, unknown> | undefined;
63
- }>;
41
+ }, z.core.$strip>;
64
42
  export type ProjectCreate = z.infer<typeof ProjectCreate>;
65
43
  /**
66
44
  * Project update input
67
45
  */
68
46
  export declare const ProjectUpdate: z.ZodObject<{
69
47
  name: z.ZodOptional<z.ZodString>;
70
- status: z.ZodOptional<z.ZodEnum<["active", "archived", "deleted"]>>;
48
+ status: z.ZodOptional<z.ZodEnum<{
49
+ active: "active";
50
+ archived: "archived";
51
+ deleted: "deleted";
52
+ }>>;
71
53
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
72
- }, "strip", z.ZodTypeAny, {
73
- name?: string | undefined;
74
- status?: "active" | "archived" | "deleted" | undefined;
75
- metadata?: Record<string, unknown> | undefined;
76
- }, {
77
- name?: string | undefined;
78
- status?: "active" | "archived" | "deleted" | undefined;
79
- metadata?: Record<string, unknown> | undefined;
80
- }>;
54
+ }, z.core.$strip>;
81
55
  export type ProjectUpdate = z.infer<typeof ProjectUpdate>;
82
56
  /**
83
57
  * Project filter
84
58
  */
85
59
  export declare const ProjectFilter: z.ZodObject<{
86
60
  workspaceId: z.ZodOptional<z.ZodString>;
87
- status: z.ZodOptional<z.ZodEnum<["active", "archived", "deleted"]>>;
61
+ status: z.ZodOptional<z.ZodEnum<{
62
+ active: "active";
63
+ archived: "archived";
64
+ deleted: "deleted";
65
+ }>>;
88
66
  search: z.ZodOptional<z.ZodString>;
89
67
  limit: z.ZodDefault<z.ZodNumber>;
90
68
  cursor: z.ZodOptional<z.ZodString>;
91
- }, "strip", z.ZodTypeAny, {
92
- workspaceId?: string | undefined;
93
- status?: "active" | "archived" | "deleted" | undefined;
94
- search?: string | undefined;
95
- limit: number;
96
- cursor?: string | undefined;
97
- }, {
98
- workspaceId?: string | undefined;
99
- status?: "active" | "archived" | "deleted" | undefined;
100
- search?: string | undefined;
101
- limit?: number | undefined;
102
- cursor?: string | undefined;
103
- }>;
69
+ }, z.core.$strip>;
104
70
  export type ProjectFilter = z.infer<typeof ProjectFilter>;
105
71
  /**
106
72
  * Project list response
@@ -110,62 +76,18 @@ export declare const ProjectList: z.ZodObject<{
110
76
  id: z.ZodString;
111
77
  name: z.ZodString;
112
78
  path: z.ZodString;
113
- status: z.ZodDefault<z.ZodEnum<["active", "archived", "deleted"]>>;
79
+ status: z.ZodDefault<z.ZodEnum<{
80
+ active: "active";
81
+ archived: "archived";
82
+ deleted: "deleted";
83
+ }>>;
114
84
  workspaceId: z.ZodString;
115
85
  createdAt: z.ZodString;
116
86
  updatedAt: z.ZodString;
117
87
  lastAccessedAt: z.ZodOptional<z.ZodString>;
118
88
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
119
- }, "strip", z.ZodTypeAny, {
120
- id: string;
121
- name: string;
122
- path: string;
123
- status: "active" | "archived" | "deleted";
124
- workspaceId: string;
125
- createdAt: string;
126
- updatedAt: string;
127
- lastAccessedAt?: string | undefined;
128
- metadata?: Record<string, unknown> | undefined;
129
- }, {
130
- id: string;
131
- name: string;
132
- path: string;
133
- status?: "active" | "archived" | "deleted" | undefined;
134
- workspaceId: string;
135
- createdAt: string;
136
- updatedAt: string;
137
- lastAccessedAt?: string | undefined;
138
- metadata?: Record<string, unknown> | undefined;
139
- }>, "many">;
89
+ }, z.core.$strip>>;
140
90
  nextCursor: z.ZodOptional<z.ZodString>;
141
91
  total: z.ZodOptional<z.ZodNumber>;
142
- }, "strip", z.ZodTypeAny, {
143
- items: {
144
- id: string;
145
- name: string;
146
- path: string;
147
- status: "active" | "archived" | "deleted";
148
- workspaceId: string;
149
- createdAt: string;
150
- updatedAt: string;
151
- lastAccessedAt?: string | undefined;
152
- metadata?: Record<string, unknown> | undefined;
153
- }[];
154
- nextCursor?: string | undefined;
155
- total?: number | undefined;
156
- }, {
157
- items: {
158
- id: string;
159
- name: string;
160
- path: string;
161
- status?: "active" | "archived" | "deleted" | undefined;
162
- workspaceId: string;
163
- createdAt: string;
164
- updatedAt: string;
165
- lastAccessedAt?: string | undefined;
166
- metadata?: Record<string, unknown> | undefined;
167
- }[];
168
- nextCursor?: string | undefined;
169
- total?: number | undefined;
170
- }>;
92
+ }, z.core.$strip>;
171
93
  export type ProjectList = z.infer<typeof ProjectList>;