@kya-os/contracts 1.7.7 → 1.7.8

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.
@@ -72,8 +72,8 @@ export declare const AuditContextSchema: z.ZodObject<{
72
72
  [k: string]: unknown;
73
73
  };
74
74
  session: {
75
- sessionId: string;
76
75
  audience: string;
76
+ sessionId: string;
77
77
  } & {
78
78
  [k: string]: unknown;
79
79
  };
@@ -89,8 +89,8 @@ export declare const AuditContextSchema: z.ZodObject<{
89
89
  [k: string]: unknown;
90
90
  };
91
91
  session: {
92
- sessionId: string;
93
92
  audience: string;
93
+ sessionId: string;
94
94
  } & {
95
95
  [k: string]: unknown;
96
96
  };
@@ -160,8 +160,8 @@ export declare const AuditEventContextSchema: z.ZodObject<{
160
160
  [k: string]: unknown;
161
161
  };
162
162
  session: {
163
- sessionId: string;
164
163
  audience: string;
164
+ sessionId: string;
165
165
  } & {
166
166
  [k: string]: unknown;
167
167
  };
@@ -175,8 +175,8 @@ export declare const AuditEventContextSchema: z.ZodObject<{
175
175
  [k: string]: unknown;
176
176
  };
177
177
  session: {
178
- sessionId: string;
179
178
  audience: string;
179
+ sessionId: string;
180
180
  } & {
181
181
  [k: string]: unknown;
182
182
  };
@@ -23,16 +23,16 @@ export declare const MCPClientInfoSchema: z.ZodObject<{
23
23
  persistentId: z.ZodOptional<z.ZodString>;
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  name: string;
26
+ title?: string | undefined;
26
27
  version?: string | undefined;
27
28
  platform?: string | undefined;
28
- title?: string | undefined;
29
29
  vendor?: string | undefined;
30
30
  persistentId?: string | undefined;
31
31
  }, {
32
32
  name: string;
33
+ title?: string | undefined;
33
34
  version?: string | undefined;
34
35
  platform?: string | undefined;
35
- title?: string | undefined;
36
36
  vendor?: string | undefined;
37
37
  persistentId?: string | undefined;
38
38
  }>;
@@ -50,9 +50,9 @@ export declare const MCPClientSessionInfoSchema: z.ZodObject<{
50
50
  }, "strip", z.ZodTypeAny, {
51
51
  name: string;
52
52
  clientId: string;
53
+ title?: string | undefined;
53
54
  version?: string | undefined;
54
55
  platform?: string | undefined;
55
- title?: string | undefined;
56
56
  vendor?: string | undefined;
57
57
  persistentId?: string | undefined;
58
58
  protocolVersion?: string | undefined;
@@ -60,9 +60,9 @@ export declare const MCPClientSessionInfoSchema: z.ZodObject<{
60
60
  }, {
61
61
  name: string;
62
62
  clientId: string;
63
+ title?: string | undefined;
63
64
  version?: string | undefined;
64
65
  platform?: string | undefined;
65
- title?: string | undefined;
66
66
  vendor?: string | undefined;
67
67
  persistentId?: string | undefined;
68
68
  protocolVersion?: string | undefined;
@@ -84,17 +84,17 @@ export declare const HandshakeRequestSchema: z.ZodObject<{
84
84
  clientId: z.ZodOptional<z.ZodString>;
85
85
  }, "strip", z.ZodTypeAny, {
86
86
  name: string;
87
+ title?: string | undefined;
87
88
  version?: string | undefined;
88
89
  platform?: string | undefined;
89
- title?: string | undefined;
90
90
  vendor?: string | undefined;
91
91
  persistentId?: string | undefined;
92
92
  clientId?: string | undefined;
93
93
  }, {
94
94
  name: string;
95
+ title?: string | undefined;
95
96
  version?: string | undefined;
96
97
  platform?: string | undefined;
97
- title?: string | undefined;
98
98
  vendor?: string | undefined;
99
99
  persistentId?: string | undefined;
100
100
  clientId?: string | undefined;
@@ -102,15 +102,15 @@ export declare const HandshakeRequestSchema: z.ZodObject<{
102
102
  clientProtocolVersion: z.ZodOptional<z.ZodString>;
103
103
  clientCapabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104
104
  }, "strip", z.ZodTypeAny, {
105
- timestamp: number;
106
105
  nonce: string;
107
106
  audience: string;
107
+ timestamp: number;
108
108
  agentDid?: string | undefined;
109
109
  clientInfo?: {
110
110
  name: string;
111
+ title?: string | undefined;
111
112
  version?: string | undefined;
112
113
  platform?: string | undefined;
113
- title?: string | undefined;
114
114
  vendor?: string | undefined;
115
115
  persistentId?: string | undefined;
116
116
  clientId?: string | undefined;
@@ -118,15 +118,15 @@ export declare const HandshakeRequestSchema: z.ZodObject<{
118
118
  clientProtocolVersion?: string | undefined;
119
119
  clientCapabilities?: Record<string, unknown> | undefined;
120
120
  }, {
121
- timestamp: number;
122
121
  nonce: string;
123
122
  audience: string;
123
+ timestamp: number;
124
124
  agentDid?: string | undefined;
125
125
  clientInfo?: {
126
126
  name: string;
127
+ title?: string | undefined;
127
128
  version?: string | undefined;
128
129
  platform?: string | undefined;
129
- title?: string | undefined;
130
130
  vendor?: string | undefined;
131
131
  persistentId?: string | undefined;
132
132
  clientId?: string | undefined;
@@ -160,9 +160,9 @@ export declare const SessionContextSchema: z.ZodObject<{
160
160
  }, "strip", z.ZodTypeAny, {
161
161
  name: string;
162
162
  clientId: string;
163
+ title?: string | undefined;
163
164
  version?: string | undefined;
164
165
  platform?: string | undefined;
165
- title?: string | undefined;
166
166
  vendor?: string | undefined;
167
167
  persistentId?: string | undefined;
168
168
  protocolVersion?: string | undefined;
@@ -170,9 +170,9 @@ export declare const SessionContextSchema: z.ZodObject<{
170
170
  }, {
171
171
  name: string;
172
172
  clientId: string;
173
+ title?: string | undefined;
173
174
  version?: string | undefined;
174
175
  platform?: string | undefined;
175
- title?: string | undefined;
176
176
  vendor?: string | undefined;
177
177
  persistentId?: string | undefined;
178
178
  protocolVersion?: string | undefined;
@@ -204,27 +204,27 @@ export declare const SessionContextSchema: z.ZodObject<{
204
204
  name?: string | undefined;
205
205
  }>>;
206
206
  }, "strip", z.ZodTypeAny, {
207
- ttlMinutes: number;
208
- timestamp: number;
209
207
  nonce: string;
210
208
  audience: string;
209
+ timestamp: number;
211
210
  sessionId: string;
212
211
  createdAt: number;
213
212
  lastActivity: number;
213
+ ttlMinutes: number;
214
214
  identityState: "anonymous" | "authenticated";
215
215
  agentDid?: string | undefined;
216
- serverDid?: string | undefined;
217
216
  clientInfo?: {
218
217
  name: string;
219
218
  clientId: string;
219
+ title?: string | undefined;
220
220
  version?: string | undefined;
221
221
  platform?: string | undefined;
222
- title?: string | undefined;
223
222
  vendor?: string | undefined;
224
223
  persistentId?: string | undefined;
225
224
  protocolVersion?: string | undefined;
226
225
  capabilities?: Record<string, unknown> | undefined;
227
226
  } | undefined;
227
+ serverDid?: string | undefined;
228
228
  clientDid?: string | undefined;
229
229
  userDid?: string | undefined;
230
230
  oauthIdentity?: {
@@ -234,26 +234,26 @@ export declare const SessionContextSchema: z.ZodObject<{
234
234
  name?: string | undefined;
235
235
  } | undefined;
236
236
  }, {
237
- timestamp: number;
238
237
  nonce: string;
239
238
  audience: string;
239
+ timestamp: number;
240
240
  sessionId: string;
241
241
  createdAt: number;
242
242
  lastActivity: number;
243
243
  agentDid?: string | undefined;
244
- serverDid?: string | undefined;
245
- ttlMinutes?: number | undefined;
246
244
  clientInfo?: {
247
245
  name: string;
248
246
  clientId: string;
247
+ title?: string | undefined;
249
248
  version?: string | undefined;
250
249
  platform?: string | undefined;
251
- title?: string | undefined;
252
250
  vendor?: string | undefined;
253
251
  persistentId?: string | undefined;
254
252
  protocolVersion?: string | undefined;
255
253
  capabilities?: Record<string, unknown> | undefined;
256
254
  } | undefined;
255
+ ttlMinutes?: number | undefined;
256
+ serverDid?: string | undefined;
257
257
  clientDid?: string | undefined;
258
258
  userDid?: string | undefined;
259
259
  identityState?: "anonymous" | "authenticated" | undefined;
@@ -346,7 +346,7 @@ export declare const NonceCacheConfigSchema: z.ZodObject<{
346
346
  keyPrefix?: string | undefined;
347
347
  }>>;
348
348
  }, "strip", z.ZodTypeAny, {
349
- type?: "cloudflare-kv" | "memory" | "redis" | "dynamodb" | undefined;
349
+ type?: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | undefined;
350
350
  redis?: {
351
351
  url: string;
352
352
  keyPrefix: string;
@@ -362,7 +362,7 @@ export declare const NonceCacheConfigSchema: z.ZodObject<{
362
362
  namespace: string;
363
363
  } | undefined;
364
364
  }, {
365
- type?: "cloudflare-kv" | "memory" | "redis" | "dynamodb" | undefined;
365
+ type?: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | undefined;
366
366
  redis?: {
367
367
  url: string;
368
368
  keyPrefix?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/contracts",
3
- "version": "1.7.7",
3
+ "version": "1.7.8",
4
4
  "description": "Shared contracts, types, and schemas for MCP-I framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",