@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.
@@ -65,38 +65,38 @@ export declare const AuditContextSchema: z.ZodObject<{
65
65
  */
66
66
  scopeId: z.ZodOptional<z.ZodString>;
67
67
  }, "strip", z.ZodTypeAny, {
68
- requestHash: string;
69
- responseHash: string;
68
+ identity: {
69
+ did: string;
70
+ kid: string;
71
+ } & {
72
+ [k: string]: unknown;
73
+ };
70
74
  session: {
71
75
  audience: string;
72
76
  sessionId: string;
73
77
  } & {
74
78
  [k: string]: unknown;
75
79
  };
80
+ requestHash: string;
81
+ responseHash: string;
76
82
  verified: "yes" | "no";
83
+ scopeId?: string | undefined;
84
+ }, {
77
85
  identity: {
78
86
  did: string;
79
87
  kid: string;
80
88
  } & {
81
89
  [k: string]: unknown;
82
90
  };
83
- scopeId?: string | undefined;
84
- }, {
85
- requestHash: string;
86
- responseHash: string;
87
91
  session: {
88
92
  audience: string;
89
93
  sessionId: string;
90
94
  } & {
91
95
  [k: string]: unknown;
92
96
  };
97
+ requestHash: string;
98
+ responseHash: string;
93
99
  verified: "yes" | "no";
94
- identity: {
95
- did: string;
96
- kid: string;
97
- } & {
98
- [k: string]: unknown;
99
- };
100
100
  scopeId?: string | undefined;
101
101
  }>;
102
102
  export type AuditContext = {
@@ -153,33 +153,33 @@ export declare const AuditEventContextSchema: z.ZodObject<{
153
153
  */
154
154
  eventData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
155
155
  }, "strip", z.ZodTypeAny, {
156
- session: {
157
- audience: string;
158
- sessionId: string;
159
- } & {
160
- [k: string]: unknown;
161
- };
162
156
  identity: {
163
157
  did: string;
164
158
  kid: string;
165
159
  } & {
166
160
  [k: string]: unknown;
167
161
  };
168
- eventType: string;
169
- eventData?: Record<string, unknown> | undefined;
170
- }, {
171
162
  session: {
172
163
  audience: string;
173
164
  sessionId: string;
174
165
  } & {
175
166
  [k: string]: unknown;
176
167
  };
168
+ eventType: string;
169
+ eventData?: Record<string, unknown> | undefined;
170
+ }, {
177
171
  identity: {
178
172
  did: string;
179
173
  kid: string;
180
174
  } & {
181
175
  [k: string]: unknown;
182
176
  };
177
+ session: {
178
+ audience: string;
179
+ sessionId: string;
180
+ } & {
181
+ [k: string]: unknown;
182
+ };
183
183
  eventType: string;
184
184
  eventData?: Record<string, unknown> | undefined;
185
185
  }>;
@@ -93,4 +93,12 @@ export interface MCPIBaseConfig {
93
93
  */
94
94
  serviceEndpoint?: string;
95
95
  };
96
+ /**
97
+ * Enable inline consent UI via MCP Apps extension.
98
+ * When true AND @modelcontextprotocol/ext-apps is available, consent
99
+ * forms render inside the chat client's iframe instead of opening
100
+ * an external browser page.
101
+ * @default false
102
+ */
103
+ inlineConsent?: boolean;
96
104
  }