@vibe-hero/server 0.1.0

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 (150) hide show
  1. package/LICENSE +190 -0
  2. package/README.md +151 -0
  3. package/dist/catalog/bundled/claude-code/.gitkeep +0 -0
  4. package/dist/catalog/bundled/claude-code/context-management.yaml +302 -0
  5. package/dist/catalog/bundled/claude-code/planning.yaml +313 -0
  6. package/dist/catalog/bundled/claude-code/subagents.yaml +357 -0
  7. package/dist/catalog/bundled/general/.gitkeep +0 -0
  8. package/dist/catalog/bundled/general/_placeholder.yaml +39 -0
  9. package/dist/catalog/bundled/general/task-decomposition.yaml +390 -0
  10. package/dist/catalog/bundled/index.d.ts +39 -0
  11. package/dist/catalog/bundled/index.d.ts.map +1 -0
  12. package/dist/catalog/bundled/index.js +41 -0
  13. package/dist/catalog/bundled/index.js.map +1 -0
  14. package/dist/catalog/fetcher.d.ts +201 -0
  15. package/dist/catalog/fetcher.d.ts.map +1 -0
  16. package/dist/catalog/fetcher.js +452 -0
  17. package/dist/catalog/fetcher.js.map +1 -0
  18. package/dist/catalog/loader.d.ts +165 -0
  19. package/dist/catalog/loader.d.ts.map +1 -0
  20. package/dist/catalog/loader.js +241 -0
  21. package/dist/catalog/loader.js.map +1 -0
  22. package/dist/catalog/resolve.d.ts +85 -0
  23. package/dist/catalog/resolve.d.ts.map +1 -0
  24. package/dist/catalog/resolve.js +103 -0
  25. package/dist/catalog/resolve.js.map +1 -0
  26. package/dist/cli/getOffer.d.ts +38 -0
  27. package/dist/cli/getOffer.d.ts.map +1 -0
  28. package/dist/cli/getOffer.js +150 -0
  29. package/dist/cli/getOffer.js.map +1 -0
  30. package/dist/cli/index.d.ts +46 -0
  31. package/dist/cli/index.d.ts.map +1 -0
  32. package/dist/cli/index.js +88 -0
  33. package/dist/cli/index.js.map +1 -0
  34. package/dist/config.d.ts +34 -0
  35. package/dist/config.d.ts.map +1 -0
  36. package/dist/config.js +63 -0
  37. package/dist/config.js.map +1 -0
  38. package/dist/engine/elo.d.ts +76 -0
  39. package/dist/engine/elo.d.ts.map +1 -0
  40. package/dist/engine/elo.js +79 -0
  41. package/dist/engine/elo.js.map +1 -0
  42. package/dist/engine/graduation.d.ts +108 -0
  43. package/dist/engine/graduation.d.ts.map +1 -0
  44. package/dist/engine/graduation.js +161 -0
  45. package/dist/engine/graduation.js.map +1 -0
  46. package/dist/engine/lapse.d.ts +80 -0
  47. package/dist/engine/lapse.d.ts.map +1 -0
  48. package/dist/engine/lapse.js +125 -0
  49. package/dist/engine/lapse.js.map +1 -0
  50. package/dist/engine/selection.d.ts +84 -0
  51. package/dist/engine/selection.d.ts.map +1 -0
  52. package/dist/engine/selection.js +119 -0
  53. package/dist/engine/selection.js.map +1 -0
  54. package/dist/grading/deterministic.d.ts +102 -0
  55. package/dist/grading/deterministic.d.ts.map +1 -0
  56. package/dist/grading/deterministic.js +118 -0
  57. package/dist/grading/deterministic.js.map +1 -0
  58. package/dist/grading/freeform.d.ts +64 -0
  59. package/dist/grading/freeform.d.ts.map +1 -0
  60. package/dist/grading/freeform.js +85 -0
  61. package/dist/grading/freeform.js.map +1 -0
  62. package/dist/index.d.ts +52 -0
  63. package/dist/index.d.ts.map +1 -0
  64. package/dist/index.js +91 -0
  65. package/dist/index.js.map +1 -0
  66. package/dist/observation/hookEvents.d.ts +113 -0
  67. package/dist/observation/hookEvents.d.ts.map +1 -0
  68. package/dist/observation/hookEvents.js +170 -0
  69. package/dist/observation/hookEvents.js.map +1 -0
  70. package/dist/observation/offers.d.ts +215 -0
  71. package/dist/observation/offers.d.ts.map +1 -0
  72. package/dist/observation/offers.js +327 -0
  73. package/dist/observation/offers.js.map +1 -0
  74. package/dist/observation/source.d.ts +133 -0
  75. package/dist/observation/source.d.ts.map +1 -0
  76. package/dist/observation/source.js +105 -0
  77. package/dist/observation/source.js.map +1 -0
  78. package/dist/profile/migrate.d.ts +122 -0
  79. package/dist/profile/migrate.d.ts.map +1 -0
  80. package/dist/profile/migrate.js +147 -0
  81. package/dist/profile/migrate.js.map +1 -0
  82. package/dist/profile/store.d.ts +84 -0
  83. package/dist/profile/store.d.ts.map +1 -0
  84. package/dist/profile/store.js +267 -0
  85. package/dist/profile/store.js.map +1 -0
  86. package/dist/schemas/common.d.ts +95 -0
  87. package/dist/schemas/common.d.ts.map +1 -0
  88. package/dist/schemas/common.js +106 -0
  89. package/dist/schemas/common.js.map +1 -0
  90. package/dist/schemas/content.d.ts +828 -0
  91. package/dist/schemas/content.d.ts.map +1 -0
  92. package/dist/schemas/content.js +219 -0
  93. package/dist/schemas/content.js.map +1 -0
  94. package/dist/schemas/profile.d.ts +599 -0
  95. package/dist/schemas/profile.d.ts.map +1 -0
  96. package/dist/schemas/profile.js +177 -0
  97. package/dist/schemas/profile.js.map +1 -0
  98. package/dist/schemas/tools.d.ts +1581 -0
  99. package/dist/schemas/tools.d.ts.map +1 -0
  100. package/dist/schemas/tools.js +286 -0
  101. package/dist/schemas/tools.js.map +1 -0
  102. package/dist/tools/config.d.ts +51 -0
  103. package/dist/tools/config.d.ts.map +1 -0
  104. package/dist/tools/config.js +104 -0
  105. package/dist/tools/config.js.map +1 -0
  106. package/dist/tools/gate.d.ts +50 -0
  107. package/dist/tools/gate.d.ts.map +1 -0
  108. package/dist/tools/gate.js +67 -0
  109. package/dist/tools/gate.js.map +1 -0
  110. package/dist/tools/guidance.d.ts +36 -0
  111. package/dist/tools/guidance.d.ts.map +1 -0
  112. package/dist/tools/guidance.js +117 -0
  113. package/dist/tools/guidance.js.map +1 -0
  114. package/dist/tools/listTopics.d.ts +55 -0
  115. package/dist/tools/listTopics.d.ts.map +1 -0
  116. package/dist/tools/listTopics.js +78 -0
  117. package/dist/tools/listTopics.js.map +1 -0
  118. package/dist/tools/offers.d.ts +60 -0
  119. package/dist/tools/offers.d.ts.map +1 -0
  120. package/dist/tools/offers.js +152 -0
  121. package/dist/tools/offers.js.map +1 -0
  122. package/dist/tools/placeholders.d.ts +27 -0
  123. package/dist/tools/placeholders.d.ts.map +1 -0
  124. package/dist/tools/placeholders.js +49 -0
  125. package/dist/tools/placeholders.js.map +1 -0
  126. package/dist/tools/recordObservation.d.ts +52 -0
  127. package/dist/tools/recordObservation.d.ts.map +1 -0
  128. package/dist/tools/recordObservation.js +87 -0
  129. package/dist/tools/recordObservation.js.map +1 -0
  130. package/dist/tools/startQuiz.d.ts +82 -0
  131. package/dist/tools/startQuiz.d.ts.map +1 -0
  132. package/dist/tools/startQuiz.js +180 -0
  133. package/dist/tools/startQuiz.js.map +1 -0
  134. package/dist/tools/status.d.ts +59 -0
  135. package/dist/tools/status.d.ts.map +1 -0
  136. package/dist/tools/status.js +133 -0
  137. package/dist/tools/status.js.map +1 -0
  138. package/dist/tools/submitAnswer.d.ts +156 -0
  139. package/dist/tools/submitAnswer.d.ts.map +1 -0
  140. package/dist/tools/submitAnswer.js +402 -0
  141. package/dist/tools/submitAnswer.js.map +1 -0
  142. package/dist/tools/types.d.ts +82 -0
  143. package/dist/tools/types.d.ts.map +1 -0
  144. package/dist/tools/types.js +48 -0
  145. package/dist/tools/types.js.map +1 -0
  146. package/dist/tools/us2/standing.d.ts +111 -0
  147. package/dist/tools/us2/standing.d.ts.map +1 -0
  148. package/dist/tools/us2/standing.js +143 -0
  149. package/dist/tools/us2/standing.js.map +1 -0
  150. package/package.json +62 -0
@@ -0,0 +1,1581 @@
1
+ /**
2
+ * @file MCP tool input/output schemas.
3
+ *
4
+ * One input + output schema per MCP tool. All inputs/outputs are Zod-validated
5
+ * both directions. Every tool (except get_config/save_config) may instead
6
+ * return the {@link SetupRequiredSchema} gate sentinel when `profile.config` is
7
+ * absent (FR-032).
8
+ *
9
+ * Source of truth: specs/001-vibe-hero-mvp/contracts/mcp-tools.md.
10
+ */
11
+ import { z } from "zod";
12
+ /**
13
+ * The setup gate sentinel. Returned by any gated tool when `profile.config` is
14
+ * absent (FR-032). Tool result schemas that can be gated are unioned with this.
15
+ */
16
+ export declare const SetupRequiredSchema: z.ZodObject<{
17
+ status: z.ZodLiteral<"SETUP_REQUIRED">;
18
+ message: z.ZodString;
19
+ setupSkill: z.ZodString;
20
+ }, "strip", z.ZodTypeAny, {
21
+ message: string;
22
+ status: "SETUP_REQUIRED";
23
+ setupSkill: string;
24
+ }, {
25
+ message: string;
26
+ status: "SETUP_REQUIRED";
27
+ setupSkill: string;
28
+ }>;
29
+ /** The SETUP_REQUIRED gate sentinel. */
30
+ export type SetupRequired = z.infer<typeof SetupRequiredSchema>;
31
+ /** Input for `get_status`. */
32
+ export declare const GetStatusInputSchema: z.ZodObject<{
33
+ tool: z.ZodOptional<z.ZodEnum<["claude-code", "codex", "kiro-cli", "kiro-ide"]>>;
34
+ }, "strip", z.ZodTypeAny, {
35
+ tool?: "claude-code" | "codex" | "kiro-cli" | "kiro-ide" | undefined;
36
+ }, {
37
+ tool?: "claude-code" | "codex" | "kiro-cli" | "kiro-ide" | undefined;
38
+ }>;
39
+ export type GetStatusInput = z.infer<typeof GetStatusInputSchema>;
40
+ /** Per-topic standing row in `get_status`. */
41
+ export declare const StatusTopicSchema: z.ZodObject<{
42
+ key: z.ZodString;
43
+ title: z.ZodString;
44
+ tier: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<300>, z.ZodLiteral<400>, z.ZodLiteral<500>]>, z.ZodLiteral<0>]>;
45
+ status: z.ZodEnum<["current", "due_for_review", "not_started"]>;
46
+ ability: z.ZodNumber;
47
+ }, "strip", z.ZodTypeAny, {
48
+ status: "current" | "due_for_review" | "not_started";
49
+ title: string;
50
+ key: string;
51
+ tier: 0 | 400 | 300 | 200 | 100 | 500;
52
+ ability: number;
53
+ }, {
54
+ status: "current" | "due_for_review" | "not_started";
55
+ title: string;
56
+ key: string;
57
+ tier: 0 | 400 | 300 | 200 | 100 | 500;
58
+ ability: number;
59
+ }>;
60
+ export type StatusTopic = z.infer<typeof StatusTopicSchema>;
61
+ /** Result for `get_status`. */
62
+ export declare const GetStatusResultSchema: z.ZodObject<{
63
+ tool: z.ZodEnum<["claude-code", "codex", "kiro-cli", "kiro-ide"]>;
64
+ topics: z.ZodArray<z.ZodObject<{
65
+ key: z.ZodString;
66
+ title: z.ZodString;
67
+ tier: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<300>, z.ZodLiteral<400>, z.ZodLiteral<500>]>, z.ZodLiteral<0>]>;
68
+ status: z.ZodEnum<["current", "due_for_review", "not_started"]>;
69
+ ability: z.ZodNumber;
70
+ }, "strip", z.ZodTypeAny, {
71
+ status: "current" | "due_for_review" | "not_started";
72
+ title: string;
73
+ key: string;
74
+ tier: 0 | 400 | 300 | 200 | 100 | 500;
75
+ ability: number;
76
+ }, {
77
+ status: "current" | "due_for_review" | "not_started";
78
+ title: string;
79
+ key: string;
80
+ tier: 0 | 400 | 300 | 200 | 100 | 500;
81
+ ability: number;
82
+ }>, "many">;
83
+ dueForReview: z.ZodArray<z.ZodString, "many">;
84
+ suggestions: z.ZodArray<z.ZodObject<{
85
+ key: z.ZodString;
86
+ reason: z.ZodString;
87
+ }, "strip", z.ZodTypeAny, {
88
+ key: string;
89
+ reason: string;
90
+ }, {
91
+ key: string;
92
+ reason: string;
93
+ }>, "many">;
94
+ }, "strip", z.ZodTypeAny, {
95
+ tool: "claude-code" | "codex" | "kiro-cli" | "kiro-ide";
96
+ topics: {
97
+ status: "current" | "due_for_review" | "not_started";
98
+ title: string;
99
+ key: string;
100
+ tier: 0 | 400 | 300 | 200 | 100 | 500;
101
+ ability: number;
102
+ }[];
103
+ dueForReview: string[];
104
+ suggestions: {
105
+ key: string;
106
+ reason: string;
107
+ }[];
108
+ }, {
109
+ tool: "claude-code" | "codex" | "kiro-cli" | "kiro-ide";
110
+ topics: {
111
+ status: "current" | "due_for_review" | "not_started";
112
+ title: string;
113
+ key: string;
114
+ tier: 0 | 400 | 300 | 200 | 100 | 500;
115
+ ability: number;
116
+ }[];
117
+ dueForReview: string[];
118
+ suggestions: {
119
+ key: string;
120
+ reason: string;
121
+ }[];
122
+ }>;
123
+ export type GetStatusResult = z.infer<typeof GetStatusResultSchema>;
124
+ /** Output for `get_status` (may be gated). */
125
+ export declare const GetStatusOutputSchema: z.ZodUnion<[z.ZodObject<{
126
+ status: z.ZodLiteral<"SETUP_REQUIRED">;
127
+ message: z.ZodString;
128
+ setupSkill: z.ZodString;
129
+ }, "strip", z.ZodTypeAny, {
130
+ message: string;
131
+ status: "SETUP_REQUIRED";
132
+ setupSkill: string;
133
+ }, {
134
+ message: string;
135
+ status: "SETUP_REQUIRED";
136
+ setupSkill: string;
137
+ }>, z.ZodObject<{
138
+ tool: z.ZodEnum<["claude-code", "codex", "kiro-cli", "kiro-ide"]>;
139
+ topics: z.ZodArray<z.ZodObject<{
140
+ key: z.ZodString;
141
+ title: z.ZodString;
142
+ tier: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<300>, z.ZodLiteral<400>, z.ZodLiteral<500>]>, z.ZodLiteral<0>]>;
143
+ status: z.ZodEnum<["current", "due_for_review", "not_started"]>;
144
+ ability: z.ZodNumber;
145
+ }, "strip", z.ZodTypeAny, {
146
+ status: "current" | "due_for_review" | "not_started";
147
+ title: string;
148
+ key: string;
149
+ tier: 0 | 400 | 300 | 200 | 100 | 500;
150
+ ability: number;
151
+ }, {
152
+ status: "current" | "due_for_review" | "not_started";
153
+ title: string;
154
+ key: string;
155
+ tier: 0 | 400 | 300 | 200 | 100 | 500;
156
+ ability: number;
157
+ }>, "many">;
158
+ dueForReview: z.ZodArray<z.ZodString, "many">;
159
+ suggestions: z.ZodArray<z.ZodObject<{
160
+ key: z.ZodString;
161
+ reason: z.ZodString;
162
+ }, "strip", z.ZodTypeAny, {
163
+ key: string;
164
+ reason: string;
165
+ }, {
166
+ key: string;
167
+ reason: string;
168
+ }>, "many">;
169
+ }, "strip", z.ZodTypeAny, {
170
+ tool: "claude-code" | "codex" | "kiro-cli" | "kiro-ide";
171
+ topics: {
172
+ status: "current" | "due_for_review" | "not_started";
173
+ title: string;
174
+ key: string;
175
+ tier: 0 | 400 | 300 | 200 | 100 | 500;
176
+ ability: number;
177
+ }[];
178
+ dueForReview: string[];
179
+ suggestions: {
180
+ key: string;
181
+ reason: string;
182
+ }[];
183
+ }, {
184
+ tool: "claude-code" | "codex" | "kiro-cli" | "kiro-ide";
185
+ topics: {
186
+ status: "current" | "due_for_review" | "not_started";
187
+ title: string;
188
+ key: string;
189
+ tier: 0 | 400 | 300 | 200 | 100 | 500;
190
+ ability: number;
191
+ }[];
192
+ dueForReview: string[];
193
+ suggestions: {
194
+ key: string;
195
+ reason: string;
196
+ }[];
197
+ }>]>;
198
+ export type GetStatusOutput = z.infer<typeof GetStatusOutputSchema>;
199
+ /** Input for `list_topics`. */
200
+ export declare const ListTopicsInputSchema: z.ZodObject<{
201
+ tool: z.ZodOptional<z.ZodEnum<["claude-code", "codex", "kiro-cli", "kiro-ide"]>>;
202
+ class: z.ZodOptional<z.ZodEnum<["general", "tool"]>>;
203
+ }, "strip", z.ZodTypeAny, {
204
+ tool?: "claude-code" | "codex" | "kiro-cli" | "kiro-ide" | undefined;
205
+ class?: "general" | "tool" | undefined;
206
+ }, {
207
+ tool?: "claude-code" | "codex" | "kiro-cli" | "kiro-ide" | undefined;
208
+ class?: "general" | "tool" | undefined;
209
+ }>;
210
+ export type ListTopicsInput = z.infer<typeof ListTopicsInputSchema>;
211
+ /** One topic row in `list_topics`. */
212
+ export declare const ListTopicsRowSchema: z.ZodObject<{
213
+ key: z.ZodString;
214
+ id: z.ZodString;
215
+ class: z.ZodEnum<["general", "tool"]>;
216
+ title: z.ZodString;
217
+ tiers: z.ZodArray<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<300>, z.ZodLiteral<400>, z.ZodLiteral<500>]>, "many">;
218
+ itemCount: z.ZodNumber;
219
+ }, "strip", z.ZodTypeAny, {
220
+ title: string;
221
+ key: string;
222
+ id: string;
223
+ class: "general" | "tool";
224
+ itemCount: number;
225
+ tiers: (400 | 300 | 200 | 100 | 500)[];
226
+ }, {
227
+ title: string;
228
+ key: string;
229
+ id: string;
230
+ class: "general" | "tool";
231
+ itemCount: number;
232
+ tiers: (400 | 300 | 200 | 100 | 500)[];
233
+ }>;
234
+ export type ListTopicsRow = z.infer<typeof ListTopicsRowSchema>;
235
+ /** Result for `list_topics`. */
236
+ export declare const ListTopicsResultSchema: z.ZodObject<{
237
+ topics: z.ZodArray<z.ZodObject<{
238
+ key: z.ZodString;
239
+ id: z.ZodString;
240
+ class: z.ZodEnum<["general", "tool"]>;
241
+ title: z.ZodString;
242
+ tiers: z.ZodArray<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<300>, z.ZodLiteral<400>, z.ZodLiteral<500>]>, "many">;
243
+ itemCount: z.ZodNumber;
244
+ }, "strip", z.ZodTypeAny, {
245
+ title: string;
246
+ key: string;
247
+ id: string;
248
+ class: "general" | "tool";
249
+ itemCount: number;
250
+ tiers: (400 | 300 | 200 | 100 | 500)[];
251
+ }, {
252
+ title: string;
253
+ key: string;
254
+ id: string;
255
+ class: "general" | "tool";
256
+ itemCount: number;
257
+ tiers: (400 | 300 | 200 | 100 | 500)[];
258
+ }>, "many">;
259
+ catalogVersion: z.ZodString;
260
+ }, "strip", z.ZodTypeAny, {
261
+ topics: {
262
+ title: string;
263
+ key: string;
264
+ id: string;
265
+ class: "general" | "tool";
266
+ itemCount: number;
267
+ tiers: (400 | 300 | 200 | 100 | 500)[];
268
+ }[];
269
+ catalogVersion: string;
270
+ }, {
271
+ topics: {
272
+ title: string;
273
+ key: string;
274
+ id: string;
275
+ class: "general" | "tool";
276
+ itemCount: number;
277
+ tiers: (400 | 300 | 200 | 100 | 500)[];
278
+ }[];
279
+ catalogVersion: string;
280
+ }>;
281
+ export type ListTopicsResult = z.infer<typeof ListTopicsResultSchema>;
282
+ /** Output for `list_topics` (may be gated). */
283
+ export declare const ListTopicsOutputSchema: z.ZodUnion<[z.ZodObject<{
284
+ status: z.ZodLiteral<"SETUP_REQUIRED">;
285
+ message: z.ZodString;
286
+ setupSkill: z.ZodString;
287
+ }, "strip", z.ZodTypeAny, {
288
+ message: string;
289
+ status: "SETUP_REQUIRED";
290
+ setupSkill: string;
291
+ }, {
292
+ message: string;
293
+ status: "SETUP_REQUIRED";
294
+ setupSkill: string;
295
+ }>, z.ZodObject<{
296
+ topics: z.ZodArray<z.ZodObject<{
297
+ key: z.ZodString;
298
+ id: z.ZodString;
299
+ class: z.ZodEnum<["general", "tool"]>;
300
+ title: z.ZodString;
301
+ tiers: z.ZodArray<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<300>, z.ZodLiteral<400>, z.ZodLiteral<500>]>, "many">;
302
+ itemCount: z.ZodNumber;
303
+ }, "strip", z.ZodTypeAny, {
304
+ title: string;
305
+ key: string;
306
+ id: string;
307
+ class: "general" | "tool";
308
+ itemCount: number;
309
+ tiers: (400 | 300 | 200 | 100 | 500)[];
310
+ }, {
311
+ title: string;
312
+ key: string;
313
+ id: string;
314
+ class: "general" | "tool";
315
+ itemCount: number;
316
+ tiers: (400 | 300 | 200 | 100 | 500)[];
317
+ }>, "many">;
318
+ catalogVersion: z.ZodString;
319
+ }, "strip", z.ZodTypeAny, {
320
+ topics: {
321
+ title: string;
322
+ key: string;
323
+ id: string;
324
+ class: "general" | "tool";
325
+ itemCount: number;
326
+ tiers: (400 | 300 | 200 | 100 | 500)[];
327
+ }[];
328
+ catalogVersion: string;
329
+ }, {
330
+ topics: {
331
+ title: string;
332
+ key: string;
333
+ id: string;
334
+ class: "general" | "tool";
335
+ itemCount: number;
336
+ tiers: (400 | 300 | 200 | 100 | 500)[];
337
+ }[];
338
+ catalogVersion: string;
339
+ }>]>;
340
+ export type ListTopicsOutput = z.infer<typeof ListTopicsOutputSchema>;
341
+ /** Input for `get_guidance`. No `key` ⇒ pick weakest/stale for `tool`. */
342
+ export declare const GetGuidanceInputSchema: z.ZodObject<{
343
+ key: z.ZodOptional<z.ZodString>;
344
+ tool: z.ZodOptional<z.ZodEnum<["claude-code", "codex", "kiro-cli", "kiro-ide"]>>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ tool?: "claude-code" | "codex" | "kiro-cli" | "kiro-ide" | undefined;
347
+ key?: string | undefined;
348
+ }, {
349
+ tool?: "claude-code" | "codex" | "kiro-cli" | "kiro-ide" | undefined;
350
+ key?: string | undefined;
351
+ }>;
352
+ export type GetGuidanceInput = z.infer<typeof GetGuidanceInputSchema>;
353
+ /** Result for `get_guidance`. */
354
+ export declare const GetGuidanceResultSchema: z.ZodObject<{
355
+ key: z.ZodString;
356
+ title: z.ZodString;
357
+ currentTier: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<300>, z.ZodLiteral<400>, z.ZodLiteral<500>]>, z.ZodLiteral<0>]>;
358
+ guidance: z.ZodString;
359
+ nextStep: z.ZodObject<{
360
+ action: z.ZodEnum<["quiz", "read"]>;
361
+ detail: z.ZodString;
362
+ }, "strip", z.ZodTypeAny, {
363
+ action: "quiz" | "read";
364
+ detail: string;
365
+ }, {
366
+ action: "quiz" | "read";
367
+ detail: string;
368
+ }>;
369
+ }, "strip", z.ZodTypeAny, {
370
+ title: string;
371
+ currentTier: 0 | 400 | 300 | 200 | 100 | 500;
372
+ key: string;
373
+ guidance: string;
374
+ nextStep: {
375
+ action: "quiz" | "read";
376
+ detail: string;
377
+ };
378
+ }, {
379
+ title: string;
380
+ currentTier: 0 | 400 | 300 | 200 | 100 | 500;
381
+ key: string;
382
+ guidance: string;
383
+ nextStep: {
384
+ action: "quiz" | "read";
385
+ detail: string;
386
+ };
387
+ }>;
388
+ export type GetGuidanceResult = z.infer<typeof GetGuidanceResultSchema>;
389
+ /** Output for `get_guidance` (may be gated). */
390
+ export declare const GetGuidanceOutputSchema: z.ZodUnion<[z.ZodObject<{
391
+ status: z.ZodLiteral<"SETUP_REQUIRED">;
392
+ message: z.ZodString;
393
+ setupSkill: z.ZodString;
394
+ }, "strip", z.ZodTypeAny, {
395
+ message: string;
396
+ status: "SETUP_REQUIRED";
397
+ setupSkill: string;
398
+ }, {
399
+ message: string;
400
+ status: "SETUP_REQUIRED";
401
+ setupSkill: string;
402
+ }>, z.ZodObject<{
403
+ key: z.ZodString;
404
+ title: z.ZodString;
405
+ currentTier: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<300>, z.ZodLiteral<400>, z.ZodLiteral<500>]>, z.ZodLiteral<0>]>;
406
+ guidance: z.ZodString;
407
+ nextStep: z.ZodObject<{
408
+ action: z.ZodEnum<["quiz", "read"]>;
409
+ detail: z.ZodString;
410
+ }, "strip", z.ZodTypeAny, {
411
+ action: "quiz" | "read";
412
+ detail: string;
413
+ }, {
414
+ action: "quiz" | "read";
415
+ detail: string;
416
+ }>;
417
+ }, "strip", z.ZodTypeAny, {
418
+ title: string;
419
+ currentTier: 0 | 400 | 300 | 200 | 100 | 500;
420
+ key: string;
421
+ guidance: string;
422
+ nextStep: {
423
+ action: "quiz" | "read";
424
+ detail: string;
425
+ };
426
+ }, {
427
+ title: string;
428
+ currentTier: 0 | 400 | 300 | 200 | 100 | 500;
429
+ key: string;
430
+ guidance: string;
431
+ nextStep: {
432
+ action: "quiz" | "read";
433
+ detail: string;
434
+ };
435
+ }>]>;
436
+ export type GetGuidanceOutput = z.infer<typeof GetGuidanceOutputSchema>;
437
+ /**
438
+ * Input for `start_quiz`.
439
+ *
440
+ * `allowFreeForm` is the graceful-degradation switch (FR-014, T049): when the
441
+ * host agent cannot judge a free-form answer (no judging capability), the caller
442
+ * passes `false` and the selection EXCLUDES `free_form` items, preferring
443
+ * deterministic ones so the quiz still completes rather than serving an
444
+ * unjudgeable item. It defaults to `true` (free-form judging is available).
445
+ */
446
+ export declare const StartQuizInputSchema: z.ZodObject<{
447
+ key: z.ZodString;
448
+ length: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>;
449
+ allowFreeForm: z.ZodOptional<z.ZodBoolean>;
450
+ }, "strip", z.ZodTypeAny, {
451
+ key: string;
452
+ length?: 5 | 4 | 3 | undefined;
453
+ allowFreeForm?: boolean | undefined;
454
+ }, {
455
+ key: string;
456
+ length?: 5 | 4 | 3 | undefined;
457
+ allowFreeForm?: boolean | undefined;
458
+ }>;
459
+ export type StartQuizInput = z.infer<typeof StartQuizInputSchema>;
460
+ /**
461
+ * An item as presented to the host agent. Deterministic items omit answer keys
462
+ * and rubric/referenceAnswer; `free_form` items include `rubric.criteria` (with
463
+ * ids) AND `referenceAnswer` so the host agent can judge.
464
+ */
465
+ export declare const PresentedItemSchema: z.ZodObject<{
466
+ itemId: z.ZodString;
467
+ tier: z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<300>, z.ZodLiteral<400>, z.ZodLiteral<500>]>;
468
+ type: z.ZodEnum<["multiple_choice", "short_answer", "free_form"]>;
469
+ prompt: z.ZodString;
470
+ choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
471
+ id: z.ZodString;
472
+ text: z.ZodString;
473
+ }, "strip", z.ZodTypeAny, {
474
+ text: string;
475
+ id: string;
476
+ }, {
477
+ text: string;
478
+ id: string;
479
+ }>, "many">>;
480
+ rubric: z.ZodOptional<z.ZodObject<{
481
+ criteria: z.ZodArray<z.ZodObject<{
482
+ id: z.ZodString;
483
+ text: z.ZodString;
484
+ }, "strip", z.ZodTypeAny, {
485
+ text: string;
486
+ id: string;
487
+ }, {
488
+ text: string;
489
+ id: string;
490
+ }>, "many">;
491
+ }, "strip", z.ZodTypeAny, {
492
+ criteria: {
493
+ text: string;
494
+ id: string;
495
+ }[];
496
+ }, {
497
+ criteria: {
498
+ text: string;
499
+ id: string;
500
+ }[];
501
+ }>>;
502
+ referenceAnswer: z.ZodOptional<z.ZodString>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ type: "multiple_choice" | "short_answer" | "free_form";
505
+ itemId: string;
506
+ tier: 400 | 300 | 200 | 100 | 500;
507
+ prompt: string;
508
+ referenceAnswer?: string | undefined;
509
+ choices?: {
510
+ text: string;
511
+ id: string;
512
+ }[] | undefined;
513
+ rubric?: {
514
+ criteria: {
515
+ text: string;
516
+ id: string;
517
+ }[];
518
+ } | undefined;
519
+ }, {
520
+ type: "multiple_choice" | "short_answer" | "free_form";
521
+ itemId: string;
522
+ tier: 400 | 300 | 200 | 100 | 500;
523
+ prompt: string;
524
+ referenceAnswer?: string | undefined;
525
+ choices?: {
526
+ text: string;
527
+ id: string;
528
+ }[] | undefined;
529
+ rubric?: {
530
+ criteria: {
531
+ text: string;
532
+ id: string;
533
+ }[];
534
+ } | undefined;
535
+ }>;
536
+ export type PresentedItem = z.infer<typeof PresentedItemSchema>;
537
+ /** Result for `start_quiz`. */
538
+ export declare const StartQuizResultSchema: z.ZodObject<{
539
+ quizId: z.ZodString;
540
+ items: z.ZodArray<z.ZodObject<{
541
+ itemId: z.ZodString;
542
+ tier: z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<300>, z.ZodLiteral<400>, z.ZodLiteral<500>]>;
543
+ type: z.ZodEnum<["multiple_choice", "short_answer", "free_form"]>;
544
+ prompt: z.ZodString;
545
+ choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
546
+ id: z.ZodString;
547
+ text: z.ZodString;
548
+ }, "strip", z.ZodTypeAny, {
549
+ text: string;
550
+ id: string;
551
+ }, {
552
+ text: string;
553
+ id: string;
554
+ }>, "many">>;
555
+ rubric: z.ZodOptional<z.ZodObject<{
556
+ criteria: z.ZodArray<z.ZodObject<{
557
+ id: z.ZodString;
558
+ text: z.ZodString;
559
+ }, "strip", z.ZodTypeAny, {
560
+ text: string;
561
+ id: string;
562
+ }, {
563
+ text: string;
564
+ id: string;
565
+ }>, "many">;
566
+ }, "strip", z.ZodTypeAny, {
567
+ criteria: {
568
+ text: string;
569
+ id: string;
570
+ }[];
571
+ }, {
572
+ criteria: {
573
+ text: string;
574
+ id: string;
575
+ }[];
576
+ }>>;
577
+ referenceAnswer: z.ZodOptional<z.ZodString>;
578
+ }, "strip", z.ZodTypeAny, {
579
+ type: "multiple_choice" | "short_answer" | "free_form";
580
+ itemId: string;
581
+ tier: 400 | 300 | 200 | 100 | 500;
582
+ prompt: string;
583
+ referenceAnswer?: string | undefined;
584
+ choices?: {
585
+ text: string;
586
+ id: string;
587
+ }[] | undefined;
588
+ rubric?: {
589
+ criteria: {
590
+ text: string;
591
+ id: string;
592
+ }[];
593
+ } | undefined;
594
+ }, {
595
+ type: "multiple_choice" | "short_answer" | "free_form";
596
+ itemId: string;
597
+ tier: 400 | 300 | 200 | 100 | 500;
598
+ prompt: string;
599
+ referenceAnswer?: string | undefined;
600
+ choices?: {
601
+ text: string;
602
+ id: string;
603
+ }[] | undefined;
604
+ rubric?: {
605
+ criteria: {
606
+ text: string;
607
+ id: string;
608
+ }[];
609
+ } | undefined;
610
+ }>, "many">;
611
+ }, "strip", z.ZodTypeAny, {
612
+ items: {
613
+ type: "multiple_choice" | "short_answer" | "free_form";
614
+ itemId: string;
615
+ tier: 400 | 300 | 200 | 100 | 500;
616
+ prompt: string;
617
+ referenceAnswer?: string | undefined;
618
+ choices?: {
619
+ text: string;
620
+ id: string;
621
+ }[] | undefined;
622
+ rubric?: {
623
+ criteria: {
624
+ text: string;
625
+ id: string;
626
+ }[];
627
+ } | undefined;
628
+ }[];
629
+ quizId: string;
630
+ }, {
631
+ items: {
632
+ type: "multiple_choice" | "short_answer" | "free_form";
633
+ itemId: string;
634
+ tier: 400 | 300 | 200 | 100 | 500;
635
+ prompt: string;
636
+ referenceAnswer?: string | undefined;
637
+ choices?: {
638
+ text: string;
639
+ id: string;
640
+ }[] | undefined;
641
+ rubric?: {
642
+ criteria: {
643
+ text: string;
644
+ id: string;
645
+ }[];
646
+ } | undefined;
647
+ }[];
648
+ quizId: string;
649
+ }>;
650
+ export type StartQuizResult = z.infer<typeof StartQuizResultSchema>;
651
+ /** Output for `start_quiz` (may be gated). */
652
+ export declare const StartQuizOutputSchema: z.ZodUnion<[z.ZodObject<{
653
+ status: z.ZodLiteral<"SETUP_REQUIRED">;
654
+ message: z.ZodString;
655
+ setupSkill: z.ZodString;
656
+ }, "strip", z.ZodTypeAny, {
657
+ message: string;
658
+ status: "SETUP_REQUIRED";
659
+ setupSkill: string;
660
+ }, {
661
+ message: string;
662
+ status: "SETUP_REQUIRED";
663
+ setupSkill: string;
664
+ }>, z.ZodObject<{
665
+ quizId: z.ZodString;
666
+ items: z.ZodArray<z.ZodObject<{
667
+ itemId: z.ZodString;
668
+ tier: z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<300>, z.ZodLiteral<400>, z.ZodLiteral<500>]>;
669
+ type: z.ZodEnum<["multiple_choice", "short_answer", "free_form"]>;
670
+ prompt: z.ZodString;
671
+ choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
672
+ id: z.ZodString;
673
+ text: z.ZodString;
674
+ }, "strip", z.ZodTypeAny, {
675
+ text: string;
676
+ id: string;
677
+ }, {
678
+ text: string;
679
+ id: string;
680
+ }>, "many">>;
681
+ rubric: z.ZodOptional<z.ZodObject<{
682
+ criteria: z.ZodArray<z.ZodObject<{
683
+ id: z.ZodString;
684
+ text: z.ZodString;
685
+ }, "strip", z.ZodTypeAny, {
686
+ text: string;
687
+ id: string;
688
+ }, {
689
+ text: string;
690
+ id: string;
691
+ }>, "many">;
692
+ }, "strip", z.ZodTypeAny, {
693
+ criteria: {
694
+ text: string;
695
+ id: string;
696
+ }[];
697
+ }, {
698
+ criteria: {
699
+ text: string;
700
+ id: string;
701
+ }[];
702
+ }>>;
703
+ referenceAnswer: z.ZodOptional<z.ZodString>;
704
+ }, "strip", z.ZodTypeAny, {
705
+ type: "multiple_choice" | "short_answer" | "free_form";
706
+ itemId: string;
707
+ tier: 400 | 300 | 200 | 100 | 500;
708
+ prompt: string;
709
+ referenceAnswer?: string | undefined;
710
+ choices?: {
711
+ text: string;
712
+ id: string;
713
+ }[] | undefined;
714
+ rubric?: {
715
+ criteria: {
716
+ text: string;
717
+ id: string;
718
+ }[];
719
+ } | undefined;
720
+ }, {
721
+ type: "multiple_choice" | "short_answer" | "free_form";
722
+ itemId: string;
723
+ tier: 400 | 300 | 200 | 100 | 500;
724
+ prompt: string;
725
+ referenceAnswer?: string | undefined;
726
+ choices?: {
727
+ text: string;
728
+ id: string;
729
+ }[] | undefined;
730
+ rubric?: {
731
+ criteria: {
732
+ text: string;
733
+ id: string;
734
+ }[];
735
+ } | undefined;
736
+ }>, "many">;
737
+ }, "strip", z.ZodTypeAny, {
738
+ items: {
739
+ type: "multiple_choice" | "short_answer" | "free_form";
740
+ itemId: string;
741
+ tier: 400 | 300 | 200 | 100 | 500;
742
+ prompt: string;
743
+ referenceAnswer?: string | undefined;
744
+ choices?: {
745
+ text: string;
746
+ id: string;
747
+ }[] | undefined;
748
+ rubric?: {
749
+ criteria: {
750
+ text: string;
751
+ id: string;
752
+ }[];
753
+ } | undefined;
754
+ }[];
755
+ quizId: string;
756
+ }, {
757
+ items: {
758
+ type: "multiple_choice" | "short_answer" | "free_form";
759
+ itemId: string;
760
+ tier: 400 | 300 | 200 | 100 | 500;
761
+ prompt: string;
762
+ referenceAnswer?: string | undefined;
763
+ choices?: {
764
+ text: string;
765
+ id: string;
766
+ }[] | undefined;
767
+ rubric?: {
768
+ criteria: {
769
+ text: string;
770
+ id: string;
771
+ }[];
772
+ } | undefined;
773
+ }[];
774
+ quizId: string;
775
+ }>]>;
776
+ export type StartQuizOutput = z.infer<typeof StartQuizOutputSchema>;
777
+ /** Deterministic answer payload (multiple_choice / short_answer). */
778
+ export declare const SubmitAnswerDeterministicInputSchema: z.ZodObject<{
779
+ quizId: z.ZodString;
780
+ itemId: z.ZodString;
781
+ answer: z.ZodObject<{
782
+ choiceId: z.ZodOptional<z.ZodString>;
783
+ text: z.ZodOptional<z.ZodString>;
784
+ }, "strip", z.ZodTypeAny, {
785
+ text?: string | undefined;
786
+ choiceId?: string | undefined;
787
+ }, {
788
+ text?: string | undefined;
789
+ choiceId?: string | undefined;
790
+ }>;
791
+ }, "strip", z.ZodTypeAny, {
792
+ itemId: string;
793
+ quizId: string;
794
+ answer: {
795
+ text?: string | undefined;
796
+ choiceId?: string | undefined;
797
+ };
798
+ }, {
799
+ itemId: string;
800
+ quizId: string;
801
+ answer: {
802
+ text?: string | undefined;
803
+ choiceId?: string | undefined;
804
+ };
805
+ }>;
806
+ export type SubmitAnswerDeterministicInput = z.infer<typeof SubmitAnswerDeterministicInputSchema>;
807
+ /**
808
+ * Free-form per-criterion verdict from the host agent. A single-boolean verdict
809
+ * is rejected as non-conformant (anti-gaming, critique E2): each criterion id
810
+ * must carry its own `met` + `justification`. The MCP computes the score.
811
+ */
812
+ export declare const FreeFormVerdictSchema: z.ZodObject<{
813
+ criteria: z.ZodArray<z.ZodObject<{
814
+ id: z.ZodString;
815
+ met: z.ZodBoolean;
816
+ justification: z.ZodString;
817
+ }, "strip", z.ZodTypeAny, {
818
+ id: string;
819
+ met: boolean;
820
+ justification: string;
821
+ }, {
822
+ id: string;
823
+ met: boolean;
824
+ justification: string;
825
+ }>, "many">;
826
+ }, "strip", z.ZodTypeAny, {
827
+ criteria: {
828
+ id: string;
829
+ met: boolean;
830
+ justification: string;
831
+ }[];
832
+ }, {
833
+ criteria: {
834
+ id: string;
835
+ met: boolean;
836
+ justification: string;
837
+ }[];
838
+ }>;
839
+ export type FreeFormVerdict = z.infer<typeof FreeFormVerdictSchema>;
840
+ /** Free-form answer payload (host-agent verdict). */
841
+ export declare const SubmitAnswerFreeFormInputSchema: z.ZodObject<{
842
+ quizId: z.ZodString;
843
+ itemId: z.ZodString;
844
+ verdict: z.ZodObject<{
845
+ criteria: z.ZodArray<z.ZodObject<{
846
+ id: z.ZodString;
847
+ met: z.ZodBoolean;
848
+ justification: z.ZodString;
849
+ }, "strip", z.ZodTypeAny, {
850
+ id: string;
851
+ met: boolean;
852
+ justification: string;
853
+ }, {
854
+ id: string;
855
+ met: boolean;
856
+ justification: string;
857
+ }>, "many">;
858
+ }, "strip", z.ZodTypeAny, {
859
+ criteria: {
860
+ id: string;
861
+ met: boolean;
862
+ justification: string;
863
+ }[];
864
+ }, {
865
+ criteria: {
866
+ id: string;
867
+ met: boolean;
868
+ justification: string;
869
+ }[];
870
+ }>;
871
+ }, "strip", z.ZodTypeAny, {
872
+ itemId: string;
873
+ quizId: string;
874
+ verdict: {
875
+ criteria: {
876
+ id: string;
877
+ met: boolean;
878
+ justification: string;
879
+ }[];
880
+ };
881
+ }, {
882
+ itemId: string;
883
+ quizId: string;
884
+ verdict: {
885
+ criteria: {
886
+ id: string;
887
+ met: boolean;
888
+ justification: string;
889
+ }[];
890
+ };
891
+ }>;
892
+ export type SubmitAnswerFreeFormInput = z.infer<typeof SubmitAnswerFreeFormInputSchema>;
893
+ /**
894
+ * Input for `submit_answer`: either a deterministic answer or a free-form
895
+ * verdict. Discriminated structurally (presence of `answer` vs. `verdict`).
896
+ */
897
+ export declare const SubmitAnswerInputSchema: z.ZodUnion<[z.ZodObject<{
898
+ quizId: z.ZodString;
899
+ itemId: z.ZodString;
900
+ answer: z.ZodObject<{
901
+ choiceId: z.ZodOptional<z.ZodString>;
902
+ text: z.ZodOptional<z.ZodString>;
903
+ }, "strip", z.ZodTypeAny, {
904
+ text?: string | undefined;
905
+ choiceId?: string | undefined;
906
+ }, {
907
+ text?: string | undefined;
908
+ choiceId?: string | undefined;
909
+ }>;
910
+ }, "strip", z.ZodTypeAny, {
911
+ itemId: string;
912
+ quizId: string;
913
+ answer: {
914
+ text?: string | undefined;
915
+ choiceId?: string | undefined;
916
+ };
917
+ }, {
918
+ itemId: string;
919
+ quizId: string;
920
+ answer: {
921
+ text?: string | undefined;
922
+ choiceId?: string | undefined;
923
+ };
924
+ }>, z.ZodObject<{
925
+ quizId: z.ZodString;
926
+ itemId: z.ZodString;
927
+ verdict: z.ZodObject<{
928
+ criteria: z.ZodArray<z.ZodObject<{
929
+ id: z.ZodString;
930
+ met: z.ZodBoolean;
931
+ justification: z.ZodString;
932
+ }, "strip", z.ZodTypeAny, {
933
+ id: string;
934
+ met: boolean;
935
+ justification: string;
936
+ }, {
937
+ id: string;
938
+ met: boolean;
939
+ justification: string;
940
+ }>, "many">;
941
+ }, "strip", z.ZodTypeAny, {
942
+ criteria: {
943
+ id: string;
944
+ met: boolean;
945
+ justification: string;
946
+ }[];
947
+ }, {
948
+ criteria: {
949
+ id: string;
950
+ met: boolean;
951
+ justification: string;
952
+ }[];
953
+ }>;
954
+ }, "strip", z.ZodTypeAny, {
955
+ itemId: string;
956
+ quizId: string;
957
+ verdict: {
958
+ criteria: {
959
+ id: string;
960
+ met: boolean;
961
+ justification: string;
962
+ }[];
963
+ };
964
+ }, {
965
+ itemId: string;
966
+ quizId: string;
967
+ verdict: {
968
+ criteria: {
969
+ id: string;
970
+ met: boolean;
971
+ justification: string;
972
+ }[];
973
+ };
974
+ }>]>;
975
+ export type SubmitAnswerInput = z.infer<typeof SubmitAnswerInputSchema>;
976
+ /** Result for `submit_answer`. */
977
+ export declare const SubmitAnswerResultSchema: z.ZodObject<{
978
+ grade: z.ZodEnum<["correct", "incorrect"]>;
979
+ score: z.ZodNumber;
980
+ correctAnswer: z.ZodOptional<z.ZodString>;
981
+ guidance: z.ZodString;
982
+ ability: z.ZodObject<{
983
+ before: z.ZodNumber;
984
+ after: z.ZodNumber;
985
+ }, "strip", z.ZodTypeAny, {
986
+ before: number;
987
+ after: number;
988
+ }, {
989
+ before: number;
990
+ after: number;
991
+ }>;
992
+ graduation: z.ZodOptional<z.ZodObject<{
993
+ changed: z.ZodBoolean;
994
+ tier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<300>, z.ZodLiteral<400>, z.ZodLiteral<500>]>>;
995
+ status: z.ZodOptional<z.ZodString>;
996
+ reason: z.ZodOptional<z.ZodString>;
997
+ }, "strip", z.ZodTypeAny, {
998
+ changed: boolean;
999
+ status?: string | undefined;
1000
+ reason?: string | undefined;
1001
+ tier?: 400 | 300 | 200 | 100 | 500 | undefined;
1002
+ }, {
1003
+ changed: boolean;
1004
+ status?: string | undefined;
1005
+ reason?: string | undefined;
1006
+ tier?: 400 | 300 | 200 | 100 | 500 | undefined;
1007
+ }>>;
1008
+ }, "strip", z.ZodTypeAny, {
1009
+ grade: "correct" | "incorrect";
1010
+ score: number;
1011
+ guidance: string;
1012
+ ability: {
1013
+ before: number;
1014
+ after: number;
1015
+ };
1016
+ correctAnswer?: string | undefined;
1017
+ graduation?: {
1018
+ changed: boolean;
1019
+ status?: string | undefined;
1020
+ reason?: string | undefined;
1021
+ tier?: 400 | 300 | 200 | 100 | 500 | undefined;
1022
+ } | undefined;
1023
+ }, {
1024
+ grade: "correct" | "incorrect";
1025
+ score: number;
1026
+ guidance: string;
1027
+ ability: {
1028
+ before: number;
1029
+ after: number;
1030
+ };
1031
+ correctAnswer?: string | undefined;
1032
+ graduation?: {
1033
+ changed: boolean;
1034
+ status?: string | undefined;
1035
+ reason?: string | undefined;
1036
+ tier?: 400 | 300 | 200 | 100 | 500 | undefined;
1037
+ } | undefined;
1038
+ }>;
1039
+ export type SubmitAnswerResult = z.infer<typeof SubmitAnswerResultSchema>;
1040
+ /** Output for `submit_answer` (may be gated). */
1041
+ export declare const SubmitAnswerOutputSchema: z.ZodUnion<[z.ZodObject<{
1042
+ status: z.ZodLiteral<"SETUP_REQUIRED">;
1043
+ message: z.ZodString;
1044
+ setupSkill: z.ZodString;
1045
+ }, "strip", z.ZodTypeAny, {
1046
+ message: string;
1047
+ status: "SETUP_REQUIRED";
1048
+ setupSkill: string;
1049
+ }, {
1050
+ message: string;
1051
+ status: "SETUP_REQUIRED";
1052
+ setupSkill: string;
1053
+ }>, z.ZodObject<{
1054
+ grade: z.ZodEnum<["correct", "incorrect"]>;
1055
+ score: z.ZodNumber;
1056
+ correctAnswer: z.ZodOptional<z.ZodString>;
1057
+ guidance: z.ZodString;
1058
+ ability: z.ZodObject<{
1059
+ before: z.ZodNumber;
1060
+ after: z.ZodNumber;
1061
+ }, "strip", z.ZodTypeAny, {
1062
+ before: number;
1063
+ after: number;
1064
+ }, {
1065
+ before: number;
1066
+ after: number;
1067
+ }>;
1068
+ graduation: z.ZodOptional<z.ZodObject<{
1069
+ changed: z.ZodBoolean;
1070
+ tier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<300>, z.ZodLiteral<400>, z.ZodLiteral<500>]>>;
1071
+ status: z.ZodOptional<z.ZodString>;
1072
+ reason: z.ZodOptional<z.ZodString>;
1073
+ }, "strip", z.ZodTypeAny, {
1074
+ changed: boolean;
1075
+ status?: string | undefined;
1076
+ reason?: string | undefined;
1077
+ tier?: 400 | 300 | 200 | 100 | 500 | undefined;
1078
+ }, {
1079
+ changed: boolean;
1080
+ status?: string | undefined;
1081
+ reason?: string | undefined;
1082
+ tier?: 400 | 300 | 200 | 100 | 500 | undefined;
1083
+ }>>;
1084
+ }, "strip", z.ZodTypeAny, {
1085
+ grade: "correct" | "incorrect";
1086
+ score: number;
1087
+ guidance: string;
1088
+ ability: {
1089
+ before: number;
1090
+ after: number;
1091
+ };
1092
+ correctAnswer?: string | undefined;
1093
+ graduation?: {
1094
+ changed: boolean;
1095
+ status?: string | undefined;
1096
+ reason?: string | undefined;
1097
+ tier?: 400 | 300 | 200 | 100 | 500 | undefined;
1098
+ } | undefined;
1099
+ }, {
1100
+ grade: "correct" | "incorrect";
1101
+ score: number;
1102
+ guidance: string;
1103
+ ability: {
1104
+ before: number;
1105
+ after: number;
1106
+ };
1107
+ correctAnswer?: string | undefined;
1108
+ graduation?: {
1109
+ changed: boolean;
1110
+ status?: string | undefined;
1111
+ reason?: string | undefined;
1112
+ tier?: 400 | 300 | 200 | 100 | 500 | undefined;
1113
+ } | undefined;
1114
+ }>]>;
1115
+ export type SubmitAnswerOutput = z.infer<typeof SubmitAnswerOutputSchema>;
1116
+ /** Input for `save_config`. */
1117
+ export declare const SaveConfigInputSchema: z.ZodObject<{
1118
+ toolsLearning: z.ZodArray<z.ZodEnum<["claude-code", "codex", "kiro-cli", "kiro-ide"]>, "many">;
1119
+ offerCadence: z.ZodEnum<["off", "per_session", "per_topic"]>;
1120
+ proactiveOffers: z.ZodBoolean;
1121
+ quizLength: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>;
1122
+ }, "strip", z.ZodTypeAny, {
1123
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1124
+ offerCadence: "off" | "per_session" | "per_topic";
1125
+ proactiveOffers: boolean;
1126
+ quizLength?: 5 | 4 | 3 | undefined;
1127
+ }, {
1128
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1129
+ offerCadence: "off" | "per_session" | "per_topic";
1130
+ proactiveOffers: boolean;
1131
+ quizLength?: 5 | 4 | 3 | undefined;
1132
+ }>;
1133
+ export type SaveConfigInput = z.infer<typeof SaveConfigInputSchema>;
1134
+ /** Result/output for `save_config` (never gated). */
1135
+ export declare const SaveConfigResultSchema: z.ZodObject<{
1136
+ ok: z.ZodLiteral<true>;
1137
+ config: z.ZodObject<{
1138
+ toolsLearning: z.ZodArray<z.ZodEnum<["claude-code", "codex", "kiro-cli", "kiro-ide"]>, "many">;
1139
+ offerCadence: z.ZodEnum<["off", "per_session", "per_topic"]>;
1140
+ proactiveOffers: z.ZodBoolean;
1141
+ quizLength: z.ZodDefault<z.ZodNumber>;
1142
+ createdAt: z.ZodString;
1143
+ updatedAt: z.ZodString;
1144
+ }, "strip", z.ZodTypeAny, {
1145
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1146
+ offerCadence: "off" | "per_session" | "per_topic";
1147
+ proactiveOffers: boolean;
1148
+ quizLength: number;
1149
+ createdAt: string;
1150
+ updatedAt: string;
1151
+ }, {
1152
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1153
+ offerCadence: "off" | "per_session" | "per_topic";
1154
+ proactiveOffers: boolean;
1155
+ createdAt: string;
1156
+ updatedAt: string;
1157
+ quizLength?: number | undefined;
1158
+ }>;
1159
+ }, "strip", z.ZodTypeAny, {
1160
+ config: {
1161
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1162
+ offerCadence: "off" | "per_session" | "per_topic";
1163
+ proactiveOffers: boolean;
1164
+ quizLength: number;
1165
+ createdAt: string;
1166
+ updatedAt: string;
1167
+ };
1168
+ ok: true;
1169
+ }, {
1170
+ config: {
1171
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1172
+ offerCadence: "off" | "per_session" | "per_topic";
1173
+ proactiveOffers: boolean;
1174
+ createdAt: string;
1175
+ updatedAt: string;
1176
+ quizLength?: number | undefined;
1177
+ };
1178
+ ok: true;
1179
+ }>;
1180
+ export type SaveConfigResult = z.infer<typeof SaveConfigResultSchema>;
1181
+ export declare const SaveConfigOutputSchema: z.ZodObject<{
1182
+ ok: z.ZodLiteral<true>;
1183
+ config: z.ZodObject<{
1184
+ toolsLearning: z.ZodArray<z.ZodEnum<["claude-code", "codex", "kiro-cli", "kiro-ide"]>, "many">;
1185
+ offerCadence: z.ZodEnum<["off", "per_session", "per_topic"]>;
1186
+ proactiveOffers: z.ZodBoolean;
1187
+ quizLength: z.ZodDefault<z.ZodNumber>;
1188
+ createdAt: z.ZodString;
1189
+ updatedAt: z.ZodString;
1190
+ }, "strip", z.ZodTypeAny, {
1191
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1192
+ offerCadence: "off" | "per_session" | "per_topic";
1193
+ proactiveOffers: boolean;
1194
+ quizLength: number;
1195
+ createdAt: string;
1196
+ updatedAt: string;
1197
+ }, {
1198
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1199
+ offerCadence: "off" | "per_session" | "per_topic";
1200
+ proactiveOffers: boolean;
1201
+ createdAt: string;
1202
+ updatedAt: string;
1203
+ quizLength?: number | undefined;
1204
+ }>;
1205
+ }, "strip", z.ZodTypeAny, {
1206
+ config: {
1207
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1208
+ offerCadence: "off" | "per_session" | "per_topic";
1209
+ proactiveOffers: boolean;
1210
+ quizLength: number;
1211
+ createdAt: string;
1212
+ updatedAt: string;
1213
+ };
1214
+ ok: true;
1215
+ }, {
1216
+ config: {
1217
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1218
+ offerCadence: "off" | "per_session" | "per_topic";
1219
+ proactiveOffers: boolean;
1220
+ createdAt: string;
1221
+ updatedAt: string;
1222
+ quizLength?: number | undefined;
1223
+ };
1224
+ ok: true;
1225
+ }>;
1226
+ export type SaveConfigOutput = z.infer<typeof SaveConfigOutputSchema>;
1227
+ /** Input for `get_config`. */
1228
+ export declare const GetConfigInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1229
+ export type GetConfigInput = z.infer<typeof GetConfigInputSchema>;
1230
+ /** Result/output for `get_config` (never gated). */
1231
+ export declare const GetConfigResultSchema: z.ZodObject<{
1232
+ configured: z.ZodBoolean;
1233
+ config: z.ZodOptional<z.ZodObject<{
1234
+ toolsLearning: z.ZodArray<z.ZodEnum<["claude-code", "codex", "kiro-cli", "kiro-ide"]>, "many">;
1235
+ offerCadence: z.ZodEnum<["off", "per_session", "per_topic"]>;
1236
+ proactiveOffers: z.ZodBoolean;
1237
+ quizLength: z.ZodDefault<z.ZodNumber>;
1238
+ createdAt: z.ZodString;
1239
+ updatedAt: z.ZodString;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1242
+ offerCadence: "off" | "per_session" | "per_topic";
1243
+ proactiveOffers: boolean;
1244
+ quizLength: number;
1245
+ createdAt: string;
1246
+ updatedAt: string;
1247
+ }, {
1248
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1249
+ offerCadence: "off" | "per_session" | "per_topic";
1250
+ proactiveOffers: boolean;
1251
+ createdAt: string;
1252
+ updatedAt: string;
1253
+ quizLength?: number | undefined;
1254
+ }>>;
1255
+ }, "strip", z.ZodTypeAny, {
1256
+ configured: boolean;
1257
+ config?: {
1258
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1259
+ offerCadence: "off" | "per_session" | "per_topic";
1260
+ proactiveOffers: boolean;
1261
+ quizLength: number;
1262
+ createdAt: string;
1263
+ updatedAt: string;
1264
+ } | undefined;
1265
+ }, {
1266
+ configured: boolean;
1267
+ config?: {
1268
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1269
+ offerCadence: "off" | "per_session" | "per_topic";
1270
+ proactiveOffers: boolean;
1271
+ createdAt: string;
1272
+ updatedAt: string;
1273
+ quizLength?: number | undefined;
1274
+ } | undefined;
1275
+ }>;
1276
+ export type GetConfigResult = z.infer<typeof GetConfigResultSchema>;
1277
+ export declare const GetConfigOutputSchema: z.ZodObject<{
1278
+ configured: z.ZodBoolean;
1279
+ config: z.ZodOptional<z.ZodObject<{
1280
+ toolsLearning: z.ZodArray<z.ZodEnum<["claude-code", "codex", "kiro-cli", "kiro-ide"]>, "many">;
1281
+ offerCadence: z.ZodEnum<["off", "per_session", "per_topic"]>;
1282
+ proactiveOffers: z.ZodBoolean;
1283
+ quizLength: z.ZodDefault<z.ZodNumber>;
1284
+ createdAt: z.ZodString;
1285
+ updatedAt: z.ZodString;
1286
+ }, "strip", z.ZodTypeAny, {
1287
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1288
+ offerCadence: "off" | "per_session" | "per_topic";
1289
+ proactiveOffers: boolean;
1290
+ quizLength: number;
1291
+ createdAt: string;
1292
+ updatedAt: string;
1293
+ }, {
1294
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1295
+ offerCadence: "off" | "per_session" | "per_topic";
1296
+ proactiveOffers: boolean;
1297
+ createdAt: string;
1298
+ updatedAt: string;
1299
+ quizLength?: number | undefined;
1300
+ }>>;
1301
+ }, "strip", z.ZodTypeAny, {
1302
+ configured: boolean;
1303
+ config?: {
1304
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1305
+ offerCadence: "off" | "per_session" | "per_topic";
1306
+ proactiveOffers: boolean;
1307
+ quizLength: number;
1308
+ createdAt: string;
1309
+ updatedAt: string;
1310
+ } | undefined;
1311
+ }, {
1312
+ configured: boolean;
1313
+ config?: {
1314
+ toolsLearning: ("claude-code" | "codex" | "kiro-cli" | "kiro-ide")[];
1315
+ offerCadence: "off" | "per_session" | "per_topic";
1316
+ proactiveOffers: boolean;
1317
+ createdAt: string;
1318
+ updatedAt: string;
1319
+ quizLength?: number | undefined;
1320
+ } | undefined;
1321
+ }>;
1322
+ export type GetConfigOutput = z.infer<typeof GetConfigOutputSchema>;
1323
+ /** Input for `record_observation`. */
1324
+ export declare const RecordObservationInputSchema: z.ZodObject<{
1325
+ tool: z.ZodEnum<["claude-code", "codex", "kiro-cli", "kiro-ide"]>;
1326
+ signals: z.ZodArray<z.ZodObject<{
1327
+ toolName: z.ZodOptional<z.ZodString>;
1328
+ mcpTool: z.ZodOptional<z.ZodString>;
1329
+ success: z.ZodOptional<z.ZodBoolean>;
1330
+ toolUseId: z.ZodOptional<z.ZodString>;
1331
+ }, "strip", z.ZodTypeAny, {
1332
+ success?: boolean | undefined;
1333
+ toolName?: string | undefined;
1334
+ mcpTool?: string | undefined;
1335
+ toolUseId?: string | undefined;
1336
+ }, {
1337
+ success?: boolean | undefined;
1338
+ toolName?: string | undefined;
1339
+ mcpTool?: string | undefined;
1340
+ toolUseId?: string | undefined;
1341
+ }>, "many">;
1342
+ sessionId: z.ZodString;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ tool: "claude-code" | "codex" | "kiro-cli" | "kiro-ide";
1345
+ sessionId: string;
1346
+ signals: {
1347
+ success?: boolean | undefined;
1348
+ toolName?: string | undefined;
1349
+ mcpTool?: string | undefined;
1350
+ toolUseId?: string | undefined;
1351
+ }[];
1352
+ }, {
1353
+ tool: "claude-code" | "codex" | "kiro-cli" | "kiro-ide";
1354
+ sessionId: string;
1355
+ signals: {
1356
+ success?: boolean | undefined;
1357
+ toolName?: string | undefined;
1358
+ mcpTool?: string | undefined;
1359
+ toolUseId?: string | undefined;
1360
+ }[];
1361
+ }>;
1362
+ export type RecordObservationInput = z.infer<typeof RecordObservationInputSchema>;
1363
+ /** One offer candidate from `record_observation`. */
1364
+ export declare const OfferCandidateSchema: z.ZodObject<{
1365
+ key: z.ZodString;
1366
+ title: z.ZodString;
1367
+ reason: z.ZodString;
1368
+ }, "strip", z.ZodTypeAny, {
1369
+ title: string;
1370
+ key: string;
1371
+ reason: string;
1372
+ }, {
1373
+ title: string;
1374
+ key: string;
1375
+ reason: string;
1376
+ }>;
1377
+ export type OfferCandidate = z.infer<typeof OfferCandidateSchema>;
1378
+ /** Result for `record_observation`. */
1379
+ export declare const RecordObservationResultSchema: z.ZodObject<{
1380
+ offerCandidates: z.ZodArray<z.ZodObject<{
1381
+ key: z.ZodString;
1382
+ title: z.ZodString;
1383
+ reason: z.ZodString;
1384
+ }, "strip", z.ZodTypeAny, {
1385
+ title: string;
1386
+ key: string;
1387
+ reason: string;
1388
+ }, {
1389
+ title: string;
1390
+ key: string;
1391
+ reason: string;
1392
+ }>, "many">;
1393
+ }, "strip", z.ZodTypeAny, {
1394
+ offerCandidates: {
1395
+ title: string;
1396
+ key: string;
1397
+ reason: string;
1398
+ }[];
1399
+ }, {
1400
+ offerCandidates: {
1401
+ title: string;
1402
+ key: string;
1403
+ reason: string;
1404
+ }[];
1405
+ }>;
1406
+ export type RecordObservationResult = z.infer<typeof RecordObservationResultSchema>;
1407
+ /** Output for `record_observation` (may be gated). */
1408
+ export declare const RecordObservationOutputSchema: z.ZodUnion<[z.ZodObject<{
1409
+ status: z.ZodLiteral<"SETUP_REQUIRED">;
1410
+ message: z.ZodString;
1411
+ setupSkill: z.ZodString;
1412
+ }, "strip", z.ZodTypeAny, {
1413
+ message: string;
1414
+ status: "SETUP_REQUIRED";
1415
+ setupSkill: string;
1416
+ }, {
1417
+ message: string;
1418
+ status: "SETUP_REQUIRED";
1419
+ setupSkill: string;
1420
+ }>, z.ZodObject<{
1421
+ offerCandidates: z.ZodArray<z.ZodObject<{
1422
+ key: z.ZodString;
1423
+ title: z.ZodString;
1424
+ reason: z.ZodString;
1425
+ }, "strip", z.ZodTypeAny, {
1426
+ title: string;
1427
+ key: string;
1428
+ reason: string;
1429
+ }, {
1430
+ title: string;
1431
+ key: string;
1432
+ reason: string;
1433
+ }>, "many">;
1434
+ }, "strip", z.ZodTypeAny, {
1435
+ offerCandidates: {
1436
+ title: string;
1437
+ key: string;
1438
+ reason: string;
1439
+ }[];
1440
+ }, {
1441
+ offerCandidates: {
1442
+ title: string;
1443
+ key: string;
1444
+ reason: string;
1445
+ }[];
1446
+ }>]>;
1447
+ export type RecordObservationOutput = z.infer<typeof RecordObservationOutputSchema>;
1448
+ /** Input for `get_offer`. */
1449
+ export declare const GetOfferInputSchema: z.ZodObject<{
1450
+ sessionId: z.ZodString;
1451
+ tool: z.ZodEnum<["claude-code", "codex", "kiro-cli", "kiro-ide"]>;
1452
+ }, "strip", z.ZodTypeAny, {
1453
+ tool: "claude-code" | "codex" | "kiro-cli" | "kiro-ide";
1454
+ sessionId: string;
1455
+ }, {
1456
+ tool: "claude-code" | "codex" | "kiro-cli" | "kiro-ide";
1457
+ sessionId: string;
1458
+ }>;
1459
+ export type GetOfferInput = z.infer<typeof GetOfferInputSchema>;
1460
+ /** Result for `get_offer`. */
1461
+ export declare const GetOfferResultSchema: z.ZodObject<{
1462
+ offer: z.ZodOptional<z.ZodObject<{
1463
+ key: z.ZodString;
1464
+ title: z.ZodString;
1465
+ prompt: z.ZodString;
1466
+ }, "strip", z.ZodTypeAny, {
1467
+ title: string;
1468
+ key: string;
1469
+ prompt: string;
1470
+ }, {
1471
+ title: string;
1472
+ key: string;
1473
+ prompt: string;
1474
+ }>>;
1475
+ suppressed: z.ZodOptional<z.ZodEnum<["cadence", "declined", "offers_off", "no_candidate"]>>;
1476
+ }, "strip", z.ZodTypeAny, {
1477
+ offer?: {
1478
+ title: string;
1479
+ key: string;
1480
+ prompt: string;
1481
+ } | undefined;
1482
+ suppressed?: "cadence" | "declined" | "offers_off" | "no_candidate" | undefined;
1483
+ }, {
1484
+ offer?: {
1485
+ title: string;
1486
+ key: string;
1487
+ prompt: string;
1488
+ } | undefined;
1489
+ suppressed?: "cadence" | "declined" | "offers_off" | "no_candidate" | undefined;
1490
+ }>;
1491
+ export type GetOfferResult = z.infer<typeof GetOfferResultSchema>;
1492
+ /** Output for `get_offer` (may be gated). */
1493
+ export declare const GetOfferOutputSchema: z.ZodUnion<[z.ZodObject<{
1494
+ status: z.ZodLiteral<"SETUP_REQUIRED">;
1495
+ message: z.ZodString;
1496
+ setupSkill: z.ZodString;
1497
+ }, "strip", z.ZodTypeAny, {
1498
+ message: string;
1499
+ status: "SETUP_REQUIRED";
1500
+ setupSkill: string;
1501
+ }, {
1502
+ message: string;
1503
+ status: "SETUP_REQUIRED";
1504
+ setupSkill: string;
1505
+ }>, z.ZodObject<{
1506
+ offer: z.ZodOptional<z.ZodObject<{
1507
+ key: z.ZodString;
1508
+ title: z.ZodString;
1509
+ prompt: z.ZodString;
1510
+ }, "strip", z.ZodTypeAny, {
1511
+ title: string;
1512
+ key: string;
1513
+ prompt: string;
1514
+ }, {
1515
+ title: string;
1516
+ key: string;
1517
+ prompt: string;
1518
+ }>>;
1519
+ suppressed: z.ZodOptional<z.ZodEnum<["cadence", "declined", "offers_off", "no_candidate"]>>;
1520
+ }, "strip", z.ZodTypeAny, {
1521
+ offer?: {
1522
+ title: string;
1523
+ key: string;
1524
+ prompt: string;
1525
+ } | undefined;
1526
+ suppressed?: "cadence" | "declined" | "offers_off" | "no_candidate" | undefined;
1527
+ }, {
1528
+ offer?: {
1529
+ title: string;
1530
+ key: string;
1531
+ prompt: string;
1532
+ } | undefined;
1533
+ suppressed?: "cadence" | "declined" | "offers_off" | "no_candidate" | undefined;
1534
+ }>]>;
1535
+ export type GetOfferOutput = z.infer<typeof GetOfferOutputSchema>;
1536
+ /** Input for `record_offer_response`. */
1537
+ export declare const RecordOfferResponseInputSchema: z.ZodObject<{
1538
+ sessionId: z.ZodString;
1539
+ key: z.ZodString;
1540
+ response: z.ZodEnum<["accept", "decline", "defer"]>;
1541
+ }, "strip", z.ZodTypeAny, {
1542
+ key: string;
1543
+ sessionId: string;
1544
+ response: "accept" | "decline" | "defer";
1545
+ }, {
1546
+ key: string;
1547
+ sessionId: string;
1548
+ response: "accept" | "decline" | "defer";
1549
+ }>;
1550
+ export type RecordOfferResponseInput = z.infer<typeof RecordOfferResponseInputSchema>;
1551
+ /** Result for `record_offer_response`. */
1552
+ export declare const RecordOfferResponseResultSchema: z.ZodObject<{
1553
+ ok: z.ZodLiteral<true>;
1554
+ }, "strip", z.ZodTypeAny, {
1555
+ ok: true;
1556
+ }, {
1557
+ ok: true;
1558
+ }>;
1559
+ export type RecordOfferResponseResult = z.infer<typeof RecordOfferResponseResultSchema>;
1560
+ /** Output for `record_offer_response` (may be gated). */
1561
+ export declare const RecordOfferResponseOutputSchema: z.ZodUnion<[z.ZodObject<{
1562
+ status: z.ZodLiteral<"SETUP_REQUIRED">;
1563
+ message: z.ZodString;
1564
+ setupSkill: z.ZodString;
1565
+ }, "strip", z.ZodTypeAny, {
1566
+ message: string;
1567
+ status: "SETUP_REQUIRED";
1568
+ setupSkill: string;
1569
+ }, {
1570
+ message: string;
1571
+ status: "SETUP_REQUIRED";
1572
+ setupSkill: string;
1573
+ }>, z.ZodObject<{
1574
+ ok: z.ZodLiteral<true>;
1575
+ }, "strip", z.ZodTypeAny, {
1576
+ ok: true;
1577
+ }, {
1578
+ ok: true;
1579
+ }>]>;
1580
+ export type RecordOfferResponseOutput = z.infer<typeof RecordOfferResponseOutputSchema>;
1581
+ //# sourceMappingURL=tools.d.ts.map