@kya-os/contracts 1.7.21 → 1.7.23

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.
@@ -48,7 +48,6 @@ export declare const gitHubInstallationSchema: z.ZodObject<{
48
48
  }, "strip", z.ZodTypeAny, {
49
49
  createdAt: string;
50
50
  id: string;
51
- updatedAt: string;
52
51
  installationId: number;
53
52
  account: {
54
53
  type: "User" | "Organization";
@@ -57,11 +56,11 @@ export declare const gitHubInstallationSchema: z.ZodObject<{
57
56
  avatarUrl: string;
58
57
  };
59
58
  permissions: string[];
59
+ updatedAt: string;
60
60
  suspendedAt?: string | null | undefined;
61
61
  }, {
62
62
  createdAt: string;
63
63
  id: string;
64
- updatedAt: string;
65
64
  installationId: number;
66
65
  account: {
67
66
  type: "User" | "Organization";
@@ -70,6 +69,7 @@ export declare const gitHubInstallationSchema: z.ZodObject<{
70
69
  avatarUrl: string;
71
70
  };
72
71
  permissions: string[];
72
+ updatedAt: string;
73
73
  suspendedAt?: string | null | undefined;
74
74
  }>;
75
75
  /**
@@ -154,7 +154,6 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
154
154
  }, "strip", z.ZodTypeAny, {
155
155
  createdAt: string;
156
156
  id: string;
157
- updatedAt: string;
158
157
  installationId: number;
159
158
  account: {
160
159
  type: "User" | "Organization";
@@ -163,11 +162,11 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
163
162
  avatarUrl: string;
164
163
  };
165
164
  permissions: string[];
165
+ updatedAt: string;
166
166
  suspendedAt?: string | null | undefined;
167
167
  }, {
168
168
  createdAt: string;
169
169
  id: string;
170
- updatedAt: string;
171
170
  installationId: number;
172
171
  account: {
173
172
  type: "User" | "Organization";
@@ -176,6 +175,7 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
176
175
  avatarUrl: string;
177
176
  };
178
177
  permissions: string[];
178
+ updatedAt: string;
179
179
  suspendedAt?: string | null | undefined;
180
180
  }>;
181
181
  }, "strip", z.ZodTypeAny, {
@@ -183,7 +183,6 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
183
183
  installation: {
184
184
  createdAt: string;
185
185
  id: string;
186
- updatedAt: string;
187
186
  installationId: number;
188
187
  account: {
189
188
  type: "User" | "Organization";
@@ -192,6 +191,7 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
192
191
  avatarUrl: string;
193
192
  };
194
193
  permissions: string[];
194
+ updatedAt: string;
195
195
  suspendedAt?: string | null | undefined;
196
196
  };
197
197
  }, {
@@ -199,7 +199,6 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
199
199
  installation: {
200
200
  createdAt: string;
201
201
  id: string;
202
- updatedAt: string;
203
202
  installationId: number;
204
203
  account: {
205
204
  type: "User" | "Organization";
@@ -208,6 +207,7 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
208
207
  avatarUrl: string;
209
208
  };
210
209
  permissions: string[];
210
+ updatedAt: string;
211
211
  suspendedAt?: string | null | undefined;
212
212
  };
213
213
  }>;
@@ -244,7 +244,6 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
244
244
  }, "strip", z.ZodTypeAny, {
245
245
  createdAt: string;
246
246
  id: string;
247
- updatedAt: string;
248
247
  installationId: number;
249
248
  account: {
250
249
  type: "User" | "Organization";
@@ -253,11 +252,11 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
253
252
  avatarUrl: string;
254
253
  };
255
254
  permissions: string[];
255
+ updatedAt: string;
256
256
  suspendedAt?: string | null | undefined;
257
257
  }, {
258
258
  createdAt: string;
259
259
  id: string;
260
- updatedAt: string;
261
260
  installationId: number;
262
261
  account: {
263
262
  type: "User" | "Organization";
@@ -266,6 +265,7 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
266
265
  avatarUrl: string;
267
266
  };
268
267
  permissions: string[];
268
+ updatedAt: string;
269
269
  suspendedAt?: string | null | undefined;
270
270
  }>>;
271
271
  repositories: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -292,7 +292,6 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
292
292
  installation?: {
293
293
  createdAt: string;
294
294
  id: string;
295
- updatedAt: string;
296
295
  installationId: number;
297
296
  account: {
298
297
  type: "User" | "Organization";
@@ -301,6 +300,7 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
301
300
  avatarUrl: string;
302
301
  };
303
302
  permissions: string[];
303
+ updatedAt: string;
304
304
  suspendedAt?: string | null | undefined;
305
305
  } | undefined;
306
306
  repositories?: {
@@ -315,7 +315,6 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
315
315
  installation?: {
316
316
  createdAt: string;
317
317
  id: string;
318
- updatedAt: string;
319
318
  installationId: number;
320
319
  account: {
321
320
  type: "User" | "Organization";
@@ -324,6 +323,7 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
324
323
  avatarUrl: string;
325
324
  };
326
325
  permissions: string[];
326
+ updatedAt: string;
327
327
  suspendedAt?: string | null | undefined;
328
328
  } | undefined;
329
329
  repositories?: {
@@ -341,7 +341,6 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
341
341
  installation?: {
342
342
  createdAt: string;
343
343
  id: string;
344
- updatedAt: string;
345
344
  installationId: number;
346
345
  account: {
347
346
  type: "User" | "Organization";
@@ -350,6 +349,7 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
350
349
  avatarUrl: string;
351
350
  };
352
351
  permissions: string[];
352
+ updatedAt: string;
353
353
  suspendedAt?: string | null | undefined;
354
354
  } | undefined;
355
355
  repositories?: {
@@ -367,7 +367,6 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
367
367
  installation?: {
368
368
  createdAt: string;
369
369
  id: string;
370
- updatedAt: string;
371
370
  installationId: number;
372
371
  account: {
373
372
  type: "User" | "Organization";
@@ -376,6 +375,7 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
376
375
  avatarUrl: string;
377
376
  };
378
377
  permissions: string[];
378
+ updatedAt: string;
379
379
  suspendedAt?: string | null | undefined;
380
380
  } | undefined;
381
381
  repositories?: {
@@ -430,8 +430,8 @@ export declare const deployToGitHubRequestSchema: z.ZodObject<{
430
430
  platform: "cloudflare" | "vercel";
431
431
  repoName: string;
432
432
  template: "blank" | "ecommerce" | "hardware-world";
433
- description?: string | undefined;
434
433
  isPrivate?: boolean | undefined;
434
+ description?: string | undefined;
435
435
  }>;
436
436
  /**
437
437
  * Deployed project schema
@@ -716,9 +716,9 @@ export declare const deployedRepositorySchema: z.ZodObject<{
716
716
  createdAt: string;
717
717
  platform: "cloudflare" | "vercel";
718
718
  id: string;
719
- updatedAt: string;
720
719
  projectId: string;
721
720
  installationId: string;
721
+ updatedAt: string;
722
722
  template: "blank" | "ecommerce" | "hardware-world";
723
723
  repoUrl: string;
724
724
  repoFullName: string;
@@ -729,9 +729,9 @@ export declare const deployedRepositorySchema: z.ZodObject<{
729
729
  createdAt: string;
730
730
  platform: "cloudflare" | "vercel";
731
731
  id: string;
732
- updatedAt: string;
733
732
  projectId: string;
734
733
  installationId: string;
734
+ updatedAt: string;
735
735
  template: "blank" | "ecommerce" | "hardware-world";
736
736
  repoUrl: string;
737
737
  repoFullName: string;
@@ -761,9 +761,9 @@ export declare const listDeployedRepositoriesResponseSchema: z.ZodObject<{
761
761
  createdAt: string;
762
762
  platform: "cloudflare" | "vercel";
763
763
  id: string;
764
- updatedAt: string;
765
764
  projectId: string;
766
765
  installationId: string;
766
+ updatedAt: string;
767
767
  template: "blank" | "ecommerce" | "hardware-world";
768
768
  repoUrl: string;
769
769
  repoFullName: string;
@@ -774,9 +774,9 @@ export declare const listDeployedRepositoriesResponseSchema: z.ZodObject<{
774
774
  createdAt: string;
775
775
  platform: "cloudflare" | "vercel";
776
776
  id: string;
777
- updatedAt: string;
778
777
  projectId: string;
779
778
  installationId: string;
779
+ updatedAt: string;
780
780
  template: "blank" | "ecommerce" | "hardware-world";
781
781
  repoUrl: string;
782
782
  repoFullName: string;
@@ -790,9 +790,9 @@ export declare const listDeployedRepositoriesResponseSchema: z.ZodObject<{
790
790
  createdAt: string;
791
791
  platform: "cloudflare" | "vercel";
792
792
  id: string;
793
- updatedAt: string;
794
793
  projectId: string;
795
794
  installationId: string;
795
+ updatedAt: string;
796
796
  template: "blank" | "ecommerce" | "hardware-world";
797
797
  repoUrl: string;
798
798
  repoFullName: string;
@@ -806,9 +806,9 @@ export declare const listDeployedRepositoriesResponseSchema: z.ZodObject<{
806
806
  createdAt: string;
807
807
  platform: "cloudflare" | "vercel";
808
808
  id: string;
809
- updatedAt: string;
810
809
  projectId: string;
811
810
  installationId: string;
811
+ updatedAt: string;
812
812
  template: "blank" | "ecommerce" | "hardware-world";
813
813
  repoUrl: string;
814
814
  repoFullName: string;
@@ -23,15 +23,15 @@ export declare const MCPClientInfoSchema: z.ZodObject<{
23
23
  persistentId: z.ZodOptional<z.ZodString>;
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  name: string;
26
- version?: string | undefined;
27
26
  title?: string | undefined;
27
+ version?: string | undefined;
28
28
  platform?: string | undefined;
29
29
  vendor?: string | undefined;
30
30
  persistentId?: string | undefined;
31
31
  }, {
32
32
  name: string;
33
- version?: string | undefined;
34
33
  title?: string | undefined;
34
+ version?: string | undefined;
35
35
  platform?: string | undefined;
36
36
  vendor?: string | undefined;
37
37
  persistentId?: string | undefined;
@@ -48,20 +48,20 @@ export declare const MCPClientSessionInfoSchema: z.ZodObject<{
48
48
  protocolVersion: z.ZodOptional<z.ZodString>;
49
49
  capabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
50
50
  }, "strip", z.ZodTypeAny, {
51
- clientId: string;
52
51
  name: string;
53
- version?: string | undefined;
52
+ clientId: string;
54
53
  title?: string | undefined;
54
+ version?: string | undefined;
55
55
  platform?: string | undefined;
56
56
  vendor?: string | undefined;
57
57
  persistentId?: string | undefined;
58
58
  protocolVersion?: string | undefined;
59
59
  capabilities?: Record<string, unknown> | undefined;
60
60
  }, {
61
- clientId: string;
62
61
  name: string;
63
- version?: string | undefined;
62
+ clientId: string;
64
63
  title?: string | undefined;
64
+ version?: string | undefined;
65
65
  platform?: string | undefined;
66
66
  vendor?: string | undefined;
67
67
  persistentId?: string | undefined;
@@ -84,20 +84,20 @@ export declare const HandshakeRequestSchema: z.ZodObject<{
84
84
  clientId: z.ZodOptional<z.ZodString>;
85
85
  }, "strip", z.ZodTypeAny, {
86
86
  name: string;
87
- clientId?: string | undefined;
88
- version?: string | undefined;
89
87
  title?: string | undefined;
88
+ version?: string | undefined;
90
89
  platform?: string | undefined;
91
90
  vendor?: string | undefined;
92
91
  persistentId?: string | undefined;
92
+ clientId?: string | undefined;
93
93
  }, {
94
94
  name: string;
95
- clientId?: string | undefined;
96
- version?: string | undefined;
97
95
  title?: string | undefined;
96
+ version?: string | undefined;
98
97
  platform?: string | undefined;
99
98
  vendor?: string | undefined;
100
99
  persistentId?: string | undefined;
100
+ clientId?: string | undefined;
101
101
  }>>;
102
102
  clientProtocolVersion: z.ZodOptional<z.ZodString>;
103
103
  clientCapabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -108,12 +108,12 @@ export declare const HandshakeRequestSchema: z.ZodObject<{
108
108
  agentDid?: string | undefined;
109
109
  clientInfo?: {
110
110
  name: string;
111
- clientId?: string | undefined;
112
- version?: string | undefined;
113
111
  title?: string | undefined;
112
+ version?: string | undefined;
114
113
  platform?: string | undefined;
115
114
  vendor?: string | undefined;
116
115
  persistentId?: string | undefined;
116
+ clientId?: string | undefined;
117
117
  } | undefined;
118
118
  clientProtocolVersion?: string | undefined;
119
119
  clientCapabilities?: Record<string, unknown> | undefined;
@@ -124,12 +124,12 @@ export declare const HandshakeRequestSchema: z.ZodObject<{
124
124
  agentDid?: string | undefined;
125
125
  clientInfo?: {
126
126
  name: string;
127
- clientId?: string | undefined;
128
- version?: string | undefined;
129
127
  title?: string | undefined;
128
+ version?: string | undefined;
130
129
  platform?: string | undefined;
131
130
  vendor?: string | undefined;
132
131
  persistentId?: string | undefined;
132
+ clientId?: string | undefined;
133
133
  } | undefined;
134
134
  clientProtocolVersion?: string | undefined;
135
135
  clientCapabilities?: Record<string, unknown> | undefined;
@@ -158,20 +158,20 @@ export declare const SessionContextSchema: z.ZodObject<{
158
158
  protocolVersion: z.ZodOptional<z.ZodString>;
159
159
  capabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
160
160
  }, "strip", z.ZodTypeAny, {
161
- clientId: string;
162
161
  name: string;
163
- version?: string | undefined;
162
+ clientId: string;
164
163
  title?: string | undefined;
164
+ version?: string | undefined;
165
165
  platform?: string | undefined;
166
166
  vendor?: string | undefined;
167
167
  persistentId?: string | undefined;
168
168
  protocolVersion?: string | undefined;
169
169
  capabilities?: Record<string, unknown> | undefined;
170
170
  }, {
171
- clientId: string;
172
171
  name: string;
173
- version?: string | undefined;
172
+ clientId: string;
174
173
  title?: string | undefined;
174
+ version?: string | undefined;
175
175
  platform?: string | undefined;
176
176
  vendor?: string | undefined;
177
177
  persistentId?: string | undefined;
@@ -195,29 +195,29 @@ export declare const SessionContextSchema: z.ZodObject<{
195
195
  }, "strip", z.ZodTypeAny, {
196
196
  provider: string;
197
197
  subject: string;
198
- email?: string | undefined;
199
198
  name?: string | undefined;
199
+ email?: string | undefined;
200
200
  }, {
201
201
  provider: string;
202
202
  subject: string;
203
- email?: string | undefined;
204
203
  name?: string | undefined;
204
+ email?: string | undefined;
205
205
  }>>;
206
206
  }, "strip", z.ZodTypeAny, {
207
- createdAt: number;
208
207
  nonce: string;
209
208
  audience: string;
210
209
  timestamp: number;
211
210
  sessionId: string;
211
+ createdAt: number;
212
212
  lastActivity: number;
213
213
  ttlMinutes: number;
214
- identityState: "authenticated" | "anonymous";
214
+ identityState: "anonymous" | "authenticated";
215
215
  agentDid?: string | undefined;
216
216
  clientInfo?: {
217
- clientId: string;
218
217
  name: string;
219
- version?: string | undefined;
218
+ clientId: string;
220
219
  title?: string | undefined;
220
+ version?: string | undefined;
221
221
  platform?: string | undefined;
222
222
  vendor?: string | undefined;
223
223
  persistentId?: string | undefined;
@@ -230,22 +230,22 @@ export declare const SessionContextSchema: z.ZodObject<{
230
230
  oauthIdentity?: {
231
231
  provider: string;
232
232
  subject: string;
233
- email?: string | undefined;
234
233
  name?: string | undefined;
234
+ email?: string | undefined;
235
235
  } | undefined;
236
236
  }, {
237
- createdAt: number;
238
237
  nonce: string;
239
238
  audience: string;
240
239
  timestamp: number;
241
240
  sessionId: string;
241
+ createdAt: number;
242
242
  lastActivity: number;
243
243
  agentDid?: string | undefined;
244
244
  clientInfo?: {
245
- clientId: string;
246
245
  name: string;
247
- version?: string | undefined;
246
+ clientId: string;
248
247
  title?: string | undefined;
248
+ version?: string | undefined;
249
249
  platform?: string | undefined;
250
250
  vendor?: string | undefined;
251
251
  persistentId?: string | undefined;
@@ -256,12 +256,12 @@ export declare const SessionContextSchema: z.ZodObject<{
256
256
  serverDid?: string | undefined;
257
257
  clientDid?: string | undefined;
258
258
  userDid?: string | undefined;
259
- identityState?: "authenticated" | "anonymous" | undefined;
259
+ identityState?: "anonymous" | "authenticated" | undefined;
260
260
  oauthIdentity?: {
261
261
  provider: string;
262
262
  subject: string;
263
- email?: string | undefined;
264
263
  name?: string | undefined;
264
+ email?: string | undefined;
265
265
  } | undefined;
266
266
  }>;
267
267
  export declare const NonceCacheEntrySchema: z.ZodObject<{