@sayknow-cli/coding-agent 0.5.10 → 0.5.13

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 (31) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/types/config/file-lock.d.ts +8 -0
  3. package/dist/types/config/model-profile-activation.d.ts +3 -1
  4. package/dist/types/config/model-registry.d.ts +3 -0
  5. package/dist/types/config/models-config-schema.d.ts +2 -0
  6. package/dist/types/session-import/redact.d.ts +1 -1
  7. package/dist/types/skc-runtime/ultragoal-runtime.d.ts +13 -1
  8. package/dist/types/skc-runtime/ultragoal-succession.d.ts +251 -0
  9. package/dist/types/skc-runtime/workflow-placeholder.d.ts +6 -0
  10. package/dist/types/tools/ask.d.ts +460 -172
  11. package/package.json +7 -7
  12. package/src/cli/telegram-cli.ts +1 -1
  13. package/src/config/file-lock-gc.ts +39 -2
  14. package/src/config/file-lock.ts +22 -1
  15. package/src/config/model-profile-activation.ts +7 -11
  16. package/src/config/model-registry.ts +192 -44
  17. package/src/config/model-resolver.ts +4 -2
  18. package/src/config/models-config-schema.ts +1 -0
  19. package/src/defaults/skc/skills/deep-interview/SKILL.md +12 -0
  20. package/src/defaults/skc/skills/ultragoal/SKILL.md +3 -0
  21. package/src/modes/components/settings-selector.ts +39 -21
  22. package/src/modes/controllers/selector-controller.ts +35 -15
  23. package/src/modes/rpc/rpc-client.ts +20 -4
  24. package/src/sdk/bus/index.ts +1 -3
  25. package/src/session-import/redact.ts +6 -3
  26. package/src/skc-runtime/state-writer.ts +24 -27
  27. package/src/skc-runtime/ultragoal-runtime.ts +125 -45
  28. package/src/skc-runtime/ultragoal-succession.ts +1667 -0
  29. package/src/skc-runtime/workflow-placeholder.ts +33 -0
  30. package/src/tools/ask.ts +366 -108
  31. package/src/tools/bisect.ts +4 -1
@@ -41,80 +41,456 @@ export declare const askSchema: z.ZodObject<{
41
41
  execution: "execution";
42
42
  }>;
43
43
  }, z.core.$strip>>;
44
- deepInterview: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
45
- round: z.ZodLiteral<0>;
46
- component: z.ZodLiteral<"review-topology">;
47
- intent_contract: z.ZodObject<{
48
- items: z.ZodArray<z.ZodObject<{
49
- id: z.ZodString;
50
- category: z.ZodEnum<{
51
- surface: "surface";
52
- artifact: "artifact";
53
- integration: "integration";
54
- constraint: "constraint";
55
- }>;
56
- statement: z.ZodString;
57
- }, z.core.$strict>>;
58
- confirmation_options: z.ZodArray<z.ZodString>;
59
- }, z.core.$strict>;
60
- round_id: z.ZodOptional<z.ZodString>;
61
- dimension: z.ZodString;
62
- ambiguity: z.ZodNumber;
63
- confused_terms: z.ZodOptional<z.ZodArray<z.ZodString>>;
64
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
65
- reference_id: z.ZodString;
66
- label: z.ZodString;
67
- origin: z.ZodString;
68
- url: z.ZodOptional<z.ZodString>;
69
- excerpt: z.ZodOptional<z.ZodString>;
70
- }, z.core.$strict>>>;
71
- }, z.core.$strict>, z.ZodObject<{
72
- round: z.ZodNumber;
73
- intent_review: z.ZodObject<{
74
- observed_items: z.ZodArray<z.ZodObject<{
75
- id: z.ZodString;
76
- category: z.ZodEnum<{
77
- surface: "surface";
78
- artifact: "artifact";
79
- integration: "integration";
80
- constraint: "constraint";
81
- }>;
82
- statement: z.ZodString;
83
- }, z.core.$strict>>;
84
- supporting_substitutions: z.ZodArray<z.ZodObject<{
85
- removed_id: z.ZodString;
86
- replacement_ids: z.ZodArray<z.ZodString>;
87
- rationale: z.ZodString;
88
- }, z.core.$strict>>;
89
- approval_options: z.ZodArray<z.ZodString>;
90
- }, z.core.$strict>;
91
- round_id: z.ZodOptional<z.ZodString>;
92
- component: z.ZodString;
93
- dimension: z.ZodString;
94
- ambiguity: z.ZodNumber;
95
- confused_terms: z.ZodOptional<z.ZodArray<z.ZodString>>;
96
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
97
- reference_id: z.ZodString;
98
- label: z.ZodString;
99
- origin: z.ZodString;
100
- url: z.ZodOptional<z.ZodString>;
101
- excerpt: z.ZodOptional<z.ZodString>;
102
- }, z.core.$strict>>>;
103
- }, z.core.$strict>, z.ZodObject<{
104
- round_id: z.ZodOptional<z.ZodString>;
105
- round: z.ZodNumber;
106
- component: z.ZodString;
107
- dimension: z.ZodString;
108
- ambiguity: z.ZodNumber;
109
- confused_terms: z.ZodOptional<z.ZodArray<z.ZodString>>;
110
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
111
- reference_id: z.ZodString;
112
- label: z.ZodString;
113
- origin: z.ZodString;
114
- url: z.ZodOptional<z.ZodString>;
115
- excerpt: z.ZodOptional<z.ZodString>;
116
- }, z.core.$strict>>>;
117
- }, z.core.$strict>]>>;
44
+ deepInterview: z.ZodOptional<z.ZodType<{
45
+ round: 0;
46
+ component: "review-topology";
47
+ intent_contract: {
48
+ items: {
49
+ id: string;
50
+ category: "surface" | "artifact" | "integration" | "constraint";
51
+ statement: string;
52
+ }[];
53
+ confirmation_options: string[];
54
+ };
55
+ dimension: string;
56
+ ambiguity: number;
57
+ round_id?: string | undefined;
58
+ confused_terms?: string[] | undefined;
59
+ references?: {
60
+ reference_id: string;
61
+ label: string;
62
+ origin: string;
63
+ url?: string | undefined;
64
+ excerpt?: string | undefined;
65
+ }[] | undefined;
66
+ } | {
67
+ round: number;
68
+ intent_review: {
69
+ observed_items: {
70
+ id: string;
71
+ category: "surface" | "artifact" | "integration" | "constraint";
72
+ statement: string;
73
+ }[];
74
+ supporting_substitutions: {
75
+ removed_id: string;
76
+ replacement_ids: string[];
77
+ rationale: string;
78
+ }[];
79
+ approval_options: string[];
80
+ };
81
+ component: string;
82
+ dimension: string;
83
+ ambiguity: number;
84
+ round_id?: string | undefined;
85
+ confused_terms?: string[] | undefined;
86
+ references?: {
87
+ reference_id: string;
88
+ label: string;
89
+ origin: string;
90
+ url?: string | undefined;
91
+ excerpt?: string | undefined;
92
+ }[] | undefined;
93
+ } | {
94
+ round: number;
95
+ component: string;
96
+ dimension: string;
97
+ ambiguity: number;
98
+ round_id?: string | undefined;
99
+ confused_terms?: string[] | undefined;
100
+ references?: {
101
+ reference_id: string;
102
+ label: string;
103
+ origin: string;
104
+ url?: string | undefined;
105
+ excerpt?: string | undefined;
106
+ }[] | undefined;
107
+ }, unknown, z.core.$ZodTypeInternals<{
108
+ round: 0;
109
+ component: "review-topology";
110
+ intent_contract: {
111
+ items: {
112
+ id: string;
113
+ category: "surface" | "artifact" | "integration" | "constraint";
114
+ statement: string;
115
+ }[];
116
+ confirmation_options: string[];
117
+ };
118
+ dimension: string;
119
+ ambiguity: number;
120
+ round_id?: string | undefined;
121
+ confused_terms?: string[] | undefined;
122
+ references?: {
123
+ reference_id: string;
124
+ label: string;
125
+ origin: string;
126
+ url?: string | undefined;
127
+ excerpt?: string | undefined;
128
+ }[] | undefined;
129
+ } | {
130
+ round: number;
131
+ intent_review: {
132
+ observed_items: {
133
+ id: string;
134
+ category: "surface" | "artifact" | "integration" | "constraint";
135
+ statement: string;
136
+ }[];
137
+ supporting_substitutions: {
138
+ removed_id: string;
139
+ replacement_ids: string[];
140
+ rationale: string;
141
+ }[];
142
+ approval_options: string[];
143
+ };
144
+ component: string;
145
+ dimension: string;
146
+ ambiguity: number;
147
+ round_id?: string | undefined;
148
+ confused_terms?: string[] | undefined;
149
+ references?: {
150
+ reference_id: string;
151
+ label: string;
152
+ origin: string;
153
+ url?: string | undefined;
154
+ excerpt?: string | undefined;
155
+ }[] | undefined;
156
+ } | {
157
+ round: number;
158
+ component: string;
159
+ dimension: string;
160
+ ambiguity: number;
161
+ round_id?: string | undefined;
162
+ confused_terms?: string[] | undefined;
163
+ references?: {
164
+ reference_id: string;
165
+ label: string;
166
+ origin: string;
167
+ url?: string | undefined;
168
+ excerpt?: string | undefined;
169
+ }[] | undefined;
170
+ }, unknown>>>;
171
+ }, z.core.$strip>>;
172
+ }, z.core.$strip>;
173
+ declare const topologyAskSchema: z.ZodObject<{
174
+ questions: z.ZodArray<z.ZodObject<{
175
+ id: z.ZodString;
176
+ question: z.ZodString;
177
+ options: z.ZodArray<z.ZodObject<{
178
+ label: z.ZodString;
179
+ }, z.core.$strip>>;
180
+ multi: z.ZodOptional<z.ZodBoolean>;
181
+ recommended: z.ZodOptional<z.ZodNumber>;
182
+ workflowGate: z.ZodOptional<z.ZodObject<{
183
+ stage: z.ZodEnum<{
184
+ "deep-interview": "deep-interview";
185
+ ralplan: "ralplan";
186
+ ultragoal: "ultragoal";
187
+ }>;
188
+ kind: z.ZodEnum<{
189
+ question: "question";
190
+ approval: "approval";
191
+ execution: "execution";
192
+ }>;
193
+ }, z.core.$strip>>;
194
+ deepInterview: z.ZodOptional<z.ZodType<{
195
+ round: 0;
196
+ component: "review-topology";
197
+ intent_contract: {
198
+ items: {
199
+ id: string;
200
+ category: "surface" | "artifact" | "integration" | "constraint";
201
+ statement: string;
202
+ }[];
203
+ confirmation_options: string[];
204
+ };
205
+ dimension: string;
206
+ ambiguity: number;
207
+ round_id?: string | undefined;
208
+ confused_terms?: string[] | undefined;
209
+ references?: {
210
+ reference_id: string;
211
+ label: string;
212
+ origin: string;
213
+ url?: string | undefined;
214
+ excerpt?: string | undefined;
215
+ }[] | undefined;
216
+ } | {
217
+ round: number;
218
+ intent_review: {
219
+ observed_items: {
220
+ id: string;
221
+ category: "surface" | "artifact" | "integration" | "constraint";
222
+ statement: string;
223
+ }[];
224
+ supporting_substitutions: {
225
+ removed_id: string;
226
+ replacement_ids: string[];
227
+ rationale: string;
228
+ }[];
229
+ approval_options: string[];
230
+ };
231
+ component: string;
232
+ dimension: string;
233
+ ambiguity: number;
234
+ round_id?: string | undefined;
235
+ confused_terms?: string[] | undefined;
236
+ references?: {
237
+ reference_id: string;
238
+ label: string;
239
+ origin: string;
240
+ url?: string | undefined;
241
+ excerpt?: string | undefined;
242
+ }[] | undefined;
243
+ } | {
244
+ round: number;
245
+ component: string;
246
+ dimension: string;
247
+ ambiguity: number;
248
+ round_id?: string | undefined;
249
+ confused_terms?: string[] | undefined;
250
+ references?: {
251
+ reference_id: string;
252
+ label: string;
253
+ origin: string;
254
+ url?: string | undefined;
255
+ excerpt?: string | undefined;
256
+ }[] | undefined;
257
+ }, unknown, z.core.$ZodTypeInternals<{
258
+ round: 0;
259
+ component: "review-topology";
260
+ intent_contract: {
261
+ items: {
262
+ id: string;
263
+ category: "surface" | "artifact" | "integration" | "constraint";
264
+ statement: string;
265
+ }[];
266
+ confirmation_options: string[];
267
+ };
268
+ dimension: string;
269
+ ambiguity: number;
270
+ round_id?: string | undefined;
271
+ confused_terms?: string[] | undefined;
272
+ references?: {
273
+ reference_id: string;
274
+ label: string;
275
+ origin: string;
276
+ url?: string | undefined;
277
+ excerpt?: string | undefined;
278
+ }[] | undefined;
279
+ } | {
280
+ round: number;
281
+ intent_review: {
282
+ observed_items: {
283
+ id: string;
284
+ category: "surface" | "artifact" | "integration" | "constraint";
285
+ statement: string;
286
+ }[];
287
+ supporting_substitutions: {
288
+ removed_id: string;
289
+ replacement_ids: string[];
290
+ rationale: string;
291
+ }[];
292
+ approval_options: string[];
293
+ };
294
+ component: string;
295
+ dimension: string;
296
+ ambiguity: number;
297
+ round_id?: string | undefined;
298
+ confused_terms?: string[] | undefined;
299
+ references?: {
300
+ reference_id: string;
301
+ label: string;
302
+ origin: string;
303
+ url?: string | undefined;
304
+ excerpt?: string | undefined;
305
+ }[] | undefined;
306
+ } | {
307
+ round: number;
308
+ component: string;
309
+ dimension: string;
310
+ ambiguity: number;
311
+ round_id?: string | undefined;
312
+ confused_terms?: string[] | undefined;
313
+ references?: {
314
+ reference_id: string;
315
+ label: string;
316
+ origin: string;
317
+ url?: string | undefined;
318
+ excerpt?: string | undefined;
319
+ }[] | undefined;
320
+ }, unknown>>>;
321
+ }, z.core.$strip>>;
322
+ }, z.core.$strip>;
323
+ declare const postTopologyAskSchema: z.ZodObject<{
324
+ questions: z.ZodArray<z.ZodObject<{
325
+ id: z.ZodString;
326
+ question: z.ZodString;
327
+ options: z.ZodArray<z.ZodObject<{
328
+ label: z.ZodString;
329
+ }, z.core.$strip>>;
330
+ multi: z.ZodOptional<z.ZodBoolean>;
331
+ recommended: z.ZodOptional<z.ZodNumber>;
332
+ workflowGate: z.ZodOptional<z.ZodObject<{
333
+ stage: z.ZodEnum<{
334
+ "deep-interview": "deep-interview";
335
+ ralplan: "ralplan";
336
+ ultragoal: "ultragoal";
337
+ }>;
338
+ kind: z.ZodEnum<{
339
+ question: "question";
340
+ approval: "approval";
341
+ execution: "execution";
342
+ }>;
343
+ }, z.core.$strip>>;
344
+ deepInterview: z.ZodOptional<z.ZodType<{
345
+ round: 0;
346
+ component: "review-topology";
347
+ intent_contract: {
348
+ items: {
349
+ id: string;
350
+ category: "surface" | "artifact" | "integration" | "constraint";
351
+ statement: string;
352
+ }[];
353
+ confirmation_options: string[];
354
+ };
355
+ dimension: string;
356
+ ambiguity: number;
357
+ round_id?: string | undefined;
358
+ confused_terms?: string[] | undefined;
359
+ references?: {
360
+ reference_id: string;
361
+ label: string;
362
+ origin: string;
363
+ url?: string | undefined;
364
+ excerpt?: string | undefined;
365
+ }[] | undefined;
366
+ } | {
367
+ round: number;
368
+ intent_review: {
369
+ observed_items: {
370
+ id: string;
371
+ category: "surface" | "artifact" | "integration" | "constraint";
372
+ statement: string;
373
+ }[];
374
+ supporting_substitutions: {
375
+ removed_id: string;
376
+ replacement_ids: string[];
377
+ rationale: string;
378
+ }[];
379
+ approval_options: string[];
380
+ };
381
+ component: string;
382
+ dimension: string;
383
+ ambiguity: number;
384
+ round_id?: string | undefined;
385
+ confused_terms?: string[] | undefined;
386
+ references?: {
387
+ reference_id: string;
388
+ label: string;
389
+ origin: string;
390
+ url?: string | undefined;
391
+ excerpt?: string | undefined;
392
+ }[] | undefined;
393
+ } | {
394
+ round: number;
395
+ component: string;
396
+ dimension: string;
397
+ ambiguity: number;
398
+ round_id?: string | undefined;
399
+ confused_terms?: string[] | undefined;
400
+ references?: {
401
+ reference_id: string;
402
+ label: string;
403
+ origin: string;
404
+ url?: string | undefined;
405
+ excerpt?: string | undefined;
406
+ }[] | undefined;
407
+ }, unknown, z.core.$ZodTypeInternals<{
408
+ round: 0;
409
+ component: "review-topology";
410
+ intent_contract: {
411
+ items: {
412
+ id: string;
413
+ category: "surface" | "artifact" | "integration" | "constraint";
414
+ statement: string;
415
+ }[];
416
+ confirmation_options: string[];
417
+ };
418
+ dimension: string;
419
+ ambiguity: number;
420
+ round_id?: string | undefined;
421
+ confused_terms?: string[] | undefined;
422
+ references?: {
423
+ reference_id: string;
424
+ label: string;
425
+ origin: string;
426
+ url?: string | undefined;
427
+ excerpt?: string | undefined;
428
+ }[] | undefined;
429
+ } | {
430
+ round: number;
431
+ intent_review: {
432
+ observed_items: {
433
+ id: string;
434
+ category: "surface" | "artifact" | "integration" | "constraint";
435
+ statement: string;
436
+ }[];
437
+ supporting_substitutions: {
438
+ removed_id: string;
439
+ replacement_ids: string[];
440
+ rationale: string;
441
+ }[];
442
+ approval_options: string[];
443
+ };
444
+ component: string;
445
+ dimension: string;
446
+ ambiguity: number;
447
+ round_id?: string | undefined;
448
+ confused_terms?: string[] | undefined;
449
+ references?: {
450
+ reference_id: string;
451
+ label: string;
452
+ origin: string;
453
+ url?: string | undefined;
454
+ excerpt?: string | undefined;
455
+ }[] | undefined;
456
+ } | {
457
+ round: number;
458
+ component: string;
459
+ dimension: string;
460
+ ambiguity: number;
461
+ round_id?: string | undefined;
462
+ confused_terms?: string[] | undefined;
463
+ references?: {
464
+ reference_id: string;
465
+ label: string;
466
+ origin: string;
467
+ url?: string | undefined;
468
+ excerpt?: string | undefined;
469
+ }[] | undefined;
470
+ }, unknown>>>;
471
+ }, z.core.$strip>>;
472
+ }, z.core.$strip>;
473
+ declare const ordinaryAskSchema: z.ZodObject<{
474
+ questions: z.ZodArray<z.ZodObject<{
475
+ id: z.ZodString;
476
+ question: z.ZodString;
477
+ options: z.ZodArray<z.ZodObject<{
478
+ label: z.ZodString;
479
+ }, z.core.$strip>>;
480
+ multi: z.ZodOptional<z.ZodBoolean>;
481
+ recommended: z.ZodOptional<z.ZodNumber>;
482
+ workflowGate: z.ZodOptional<z.ZodObject<{
483
+ stage: z.ZodEnum<{
484
+ "deep-interview": "deep-interview";
485
+ ralplan: "ralplan";
486
+ ultragoal: "ultragoal";
487
+ }>;
488
+ kind: z.ZodEnum<{
489
+ question: "question";
490
+ approval: "approval";
491
+ execution: "execution";
492
+ }>;
493
+ }, z.core.$strip>>;
118
494
  }, z.core.$strip>>;
119
495
  }, z.core.$strip>;
120
496
  export type AskToolInput = z.infer<typeof askSchema>;
@@ -139,116 +515,28 @@ export interface AskToolDetails {
139
515
  results?: QuestionResult[];
140
516
  }
141
517
  type AskParams = AskToolInput;
518
+ type AskParametersSchema = typeof ordinaryAskSchema | typeof askSchema | typeof topologyAskSchema | typeof postTopologyAskSchema;
142
519
  /**
143
520
  * Ask tool for interactive user prompting during execution.
144
521
  *
145
522
  * Allows gathering user preferences, clarifying instructions, and getting decisions
146
523
  * on implementation choices as the agent works.
147
524
  */
148
- export declare class AskTool implements AgentTool<typeof askSchema, AskToolDetails> {
525
+ export declare class AskTool implements AgentTool<AskParametersSchema, AskToolDetails> {
149
526
  #private;
150
527
  private readonly session;
151
528
  readonly name = "ask";
152
529
  readonly label = "Ask";
153
530
  readonly summary = "Ask the user a clarifying question";
154
531
  readonly description: string;
155
- readonly parameters: z.ZodObject<{
156
- questions: z.ZodArray<z.ZodObject<{
157
- id: z.ZodString;
158
- question: z.ZodString;
159
- options: z.ZodArray<z.ZodObject<{
160
- label: z.ZodString;
161
- }, z.core.$strip>>;
162
- multi: z.ZodOptional<z.ZodBoolean>;
163
- recommended: z.ZodOptional<z.ZodNumber>;
164
- workflowGate: z.ZodOptional<z.ZodObject<{
165
- stage: z.ZodEnum<{
166
- "deep-interview": "deep-interview";
167
- ralplan: "ralplan";
168
- ultragoal: "ultragoal";
169
- }>;
170
- kind: z.ZodEnum<{
171
- question: "question";
172
- approval: "approval";
173
- execution: "execution";
174
- }>;
175
- }, z.core.$strip>>;
176
- deepInterview: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
177
- round: z.ZodLiteral<0>;
178
- component: z.ZodLiteral<"review-topology">;
179
- intent_contract: z.ZodObject<{
180
- items: z.ZodArray<z.ZodObject<{
181
- id: z.ZodString;
182
- category: z.ZodEnum<{
183
- surface: "surface";
184
- artifact: "artifact";
185
- integration: "integration";
186
- constraint: "constraint";
187
- }>;
188
- statement: z.ZodString;
189
- }, z.core.$strict>>;
190
- confirmation_options: z.ZodArray<z.ZodString>;
191
- }, z.core.$strict>;
192
- round_id: z.ZodOptional<z.ZodString>;
193
- dimension: z.ZodString;
194
- ambiguity: z.ZodNumber;
195
- confused_terms: z.ZodOptional<z.ZodArray<z.ZodString>>;
196
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
197
- reference_id: z.ZodString;
198
- label: z.ZodString;
199
- origin: z.ZodString;
200
- url: z.ZodOptional<z.ZodString>;
201
- excerpt: z.ZodOptional<z.ZodString>;
202
- }, z.core.$strict>>>;
203
- }, z.core.$strict>, z.ZodObject<{
204
- round: z.ZodNumber;
205
- intent_review: z.ZodObject<{
206
- observed_items: z.ZodArray<z.ZodObject<{
207
- id: z.ZodString;
208
- category: z.ZodEnum<{
209
- surface: "surface";
210
- artifact: "artifact";
211
- integration: "integration";
212
- constraint: "constraint";
213
- }>;
214
- statement: z.ZodString;
215
- }, z.core.$strict>>;
216
- supporting_substitutions: z.ZodArray<z.ZodObject<{
217
- removed_id: z.ZodString;
218
- replacement_ids: z.ZodArray<z.ZodString>;
219
- rationale: z.ZodString;
220
- }, z.core.$strict>>;
221
- approval_options: z.ZodArray<z.ZodString>;
222
- }, z.core.$strict>;
223
- round_id: z.ZodOptional<z.ZodString>;
224
- component: z.ZodString;
225
- dimension: z.ZodString;
226
- ambiguity: z.ZodNumber;
227
- confused_terms: z.ZodOptional<z.ZodArray<z.ZodString>>;
228
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
229
- reference_id: z.ZodString;
230
- label: z.ZodString;
231
- origin: z.ZodString;
232
- url: z.ZodOptional<z.ZodString>;
233
- excerpt: z.ZodOptional<z.ZodString>;
234
- }, z.core.$strict>>>;
235
- }, z.core.$strict>, z.ZodObject<{
236
- round_id: z.ZodOptional<z.ZodString>;
237
- round: z.ZodNumber;
238
- component: z.ZodString;
239
- dimension: z.ZodString;
240
- ambiguity: z.ZodNumber;
241
- confused_terms: z.ZodOptional<z.ZodArray<z.ZodString>>;
242
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
243
- reference_id: z.ZodString;
244
- label: z.ZodString;
245
- origin: z.ZodString;
246
- url: z.ZodOptional<z.ZodString>;
247
- excerpt: z.ZodOptional<z.ZodString>;
248
- }, z.core.$strict>>>;
249
- }, z.core.$strict>]>>;
250
- }, z.core.$strip>>;
251
- }, z.core.$strip>;
532
+ /**
533
+ * Provider-facing metadata authority follows the durable deep-interview stage:
534
+ * Round 0 may lock an intent contract, later rounds may only review it, and a
535
+ * session with no active interview exposes (and accepts) no metadata at all.
536
+ * A host that does not track interview stages at all cannot fail closed on
537
+ * one, so it keeps the complete (still mutually exclusive) metadata union.
538
+ */
539
+ get parameters(): AskParametersSchema;
252
540
  readonly strict = true;
253
541
  /**
254
542
  * These fields are rendered to the user and carry no executable or durable
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@sayknow-cli/coding-agent",
4
- "version": "0.5.10",
4
+ "version": "0.5.13",
5
5
  "description": "Sayknow-CLI CLI with read, bash, edit, write tools and session management",
6
6
  "homepage": "https://sayknow-cli.com",
7
7
  "author": "jaybeyond",
@@ -54,12 +54,12 @@
54
54
  "@agentclientprotocol/sdk": "1.3.0",
55
55
  "@babel/parser": "^7.29.3",
56
56
  "@mozilla/readability": "^0.6.0",
57
- "@sayknow-cli/stats": "0.5.10",
58
- "@sayknow-cli/agent-core": "0.5.10",
59
- "@sayknow-cli/ai": "0.5.10",
60
- "@sayknow-cli/natives": "0.5.10",
61
- "@sayknow-cli/tui": "0.5.10",
62
- "@sayknow-cli/utils": "0.5.10",
57
+ "@sayknow-cli/stats": "0.5.13",
58
+ "@sayknow-cli/agent-core": "0.5.13",
59
+ "@sayknow-cli/ai": "0.5.13",
60
+ "@sayknow-cli/natives": "0.5.13",
61
+ "@sayknow-cli/tui": "0.5.13",
62
+ "@sayknow-cli/utils": "0.5.13",
63
63
  "@puppeteer/browsers": "^2.13.0",
64
64
  "@types/turndown": "5.0.6",
65
65
  "@xterm/headless": "^6.0.0",