claudish 14.29.1 → 14.29.3

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.
package/dist/hooks.d.ts CHANGED
@@ -237,8 +237,14 @@ export interface SessionIdleContext extends BaseContext {
237
237
  readonly turn: {
238
238
  /** 1-based within the session; a re-woken turn keeps its index */
239
239
  index: number;
240
- /** this turn's assistant text */
240
+ /** this turn's assistant text; "" when `answerWithheld` */
241
241
  answer: string;
242
+ /**
243
+ * the turn's prompt went as a task file, and the model's Read tool calls in the main
244
+ * conversation did not return all of it: `answer` is "" whatever the model wrote. Reading
245
+ * it another way (a shell `cat`, a subagent) does not count as reading it.
246
+ */
247
+ answerWithheld: boolean;
242
248
  stopReason: string | null;
243
249
  apiError: boolean;
244
250
  /** this turn was started by an injection */