@design.estate/dees-catalog 24.0.2 → 24.2.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 (94) hide show
  1. package/dist_bundle/bundle.js +3782 -2669
  2. package/dist_bundle/bundle.js.map +1 -1
  3. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{addon-fit-XY7VCF6W.js → addon-fit-RDDY6CA4.js} +2 -2
  4. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{addon-search-OQXRIIMV.js → addon-search-UT4OBXLU.js} +2 -2
  5. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{addon-serialize-BV6MHBIQ.js → addon-serialize-U4KTWHZ2.js} +2 -2
  6. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{addon-web-links-IYKN5JS7.js → addon-web-links-QMZRXLUR.js} +2 -2
  7. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-BTYTET7H.js → chunk-347GWLFZ.js} +3 -3
  8. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-MV6OSXZD.js → chunk-AR2XNHGF.js} +2 -1
  9. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-NFVJ3L3L.js → chunk-LFHMAQWF.js} +2 -2
  10. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-4DJP4JAJ.js → chunk-OPVBP4HP.js} +3 -3
  11. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-FUMEXHR4.js → chunk-SSD44HAU.js} +33 -3
  12. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-FUMEXHR4.js.map → chunk-SSD44HAU.js.map} +1 -1
  13. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-K2UNUD5D.js → chunk-YUJKYSDX.js} +19 -19
  14. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-XE2K545Z.js → de-5P7JLMRS.js} +32 -3
  15. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-XE2K545Z.js.map → de-5P7JLMRS.js.map} +1 -1
  16. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-IIOB2SYP.js → dees-modal-PC4PYTOT.js} +4 -4
  17. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-EEY5WEF4.js → dees-workspace-terminal-GFHNW2QR.js} +5 -5
  18. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dist-2OQWGHFH.js → dist-2U2U7ROC.js} +3 -3
  19. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dist-CRWOBKHW.js → dist-4S4PAFPC.js} +3 -3
  20. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dist-J3O6DO5O.js → dist-5P27Y36A.js} +3 -3
  21. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dist-IIHC67RE.js → dist-6GIZONLS.js} +3 -3
  22. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dist-ERBPCUJB.js → dist-CRHDJ3CC.js} +4 -4
  23. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dist-3OMAY2ID.js → dist-OASEKGFQ.js} +3 -3
  24. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dist-FJCH275Q.js → dist-UJJOGV5H.js} +4 -4
  25. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{echarts-Z2APN5DY.js → echarts-QMOTMVTN.js} +2 -2
  26. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{highlightjs-2VS4UD5C.js → highlightjs-CH6EL3U4.js} +2 -2
  27. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{lightweight-charts.production-BYPU2BNH.js → lightweight-charts.production-VKUEJKDY.js} +2 -2
  28. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{xterm-44R3YQOT.js → xterm-KAKUMKDA.js} +2 -2
  29. package/dist_ts_web/00_commitinfo_data.js +1 -1
  30. package/dist_ts_web/elements/00group-dataview/dees-table/dees-table.d.ts +12 -2
  31. package/dist_ts_web/elements/00group-dataview/dees-table/dees-table.demo.js +18 -1
  32. package/dist_ts_web/elements/00group-dataview/dees-table/dees-table.js +54 -10
  33. package/dist_ts_web/elements/00group-dataview/dees-table/styles.js +8 -1
  34. package/dist_ts_web/elements/00group-dataview/dees-table/types.d.ts +8 -0
  35. package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.d.ts +7 -1
  36. package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.js +17 -2
  37. package/dist_ts_web/elements/00group-harness/dees-harness-elicitation-card/dees-harness-elicitation-card.d.ts +79 -0
  38. package/dist_ts_web/elements/00group-harness/dees-harness-elicitation-card/dees-harness-elicitation-card.demo.d.ts +1 -0
  39. package/dist_ts_web/elements/00group-harness/dees-harness-elicitation-card/dees-harness-elicitation-card.demo.js +87 -0
  40. package/dist_ts_web/elements/00group-harness/dees-harness-elicitation-card/dees-harness-elicitation-card.js +995 -0
  41. package/dist_ts_web/elements/00group-harness/dees-harness-elicitation-card/index.d.ts +1 -0
  42. package/dist_ts_web/elements/00group-harness/dees-harness-elicitation-card/index.js +2 -0
  43. package/dist_ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.d.ts +14 -1
  44. package/dist_ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.js +60 -5
  45. package/dist_ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.d.ts +9 -1
  46. package/dist_ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.demo.js +25 -3
  47. package/dist_ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.js +57 -5
  48. package/dist_ts_web/elements/00group-harness/index.d.ts +1 -0
  49. package/dist_ts_web/elements/00group-harness/index.js +2 -1
  50. package/dist_ts_web/elements/00group-harness/interfaces.d.ts +141 -0
  51. package/dist_ts_web/i18n/de.d.ts +116 -0
  52. package/dist_ts_web/i18n/de.js +30 -1
  53. package/dist_ts_web/i18n/messages.d.ts +116 -0
  54. package/dist_ts_web/i18n/messages.js +31 -1
  55. package/package.json +2 -2
  56. package/readme.md +46 -5
  57. package/ts_web/00_commitinfo_data.ts +1 -1
  58. package/ts_web/elements/00group-dataview/dees-table/dees-table.demo.ts +20 -0
  59. package/ts_web/elements/00group-dataview/dees-table/dees-table.ts +50 -9
  60. package/ts_web/elements/00group-dataview/dees-table/styles.ts +7 -0
  61. package/ts_web/elements/00group-dataview/dees-table/types.ts +8 -0
  62. package/ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.ts +11 -0
  63. package/ts_web/elements/00group-harness/dees-harness-elicitation-card/dees-harness-elicitation-card.demo.ts +100 -0
  64. package/ts_web/elements/00group-harness/dees-harness-elicitation-card/dees-harness-elicitation-card.ts +997 -0
  65. package/ts_web/elements/00group-harness/dees-harness-elicitation-card/index.ts +1 -0
  66. package/ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.ts +62 -2
  67. package/ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.demo.ts +24 -2
  68. package/ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.ts +57 -4
  69. package/ts_web/elements/00group-harness/index.ts +1 -0
  70. package/ts_web/elements/00group-harness/interfaces.ts +172 -0
  71. package/ts_web/i18n/de.ts +29 -0
  72. package/ts_web/i18n/messages.ts +30 -0
  73. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{addon-fit-XY7VCF6W.js.map → addon-fit-RDDY6CA4.js.map} +0 -0
  74. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{addon-search-OQXRIIMV.js.map → addon-search-UT4OBXLU.js.map} +0 -0
  75. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{addon-serialize-BV6MHBIQ.js.map → addon-serialize-U4KTWHZ2.js.map} +0 -0
  76. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{addon-web-links-IYKN5JS7.js.map → addon-web-links-QMZRXLUR.js.map} +0 -0
  77. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-BTYTET7H.js.map → chunk-347GWLFZ.js.map} +0 -0
  78. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-MV6OSXZD.js.map → chunk-AR2XNHGF.js.map} +0 -0
  79. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-NFVJ3L3L.js.map → chunk-LFHMAQWF.js.map} +0 -0
  80. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-4DJP4JAJ.js.map → chunk-OPVBP4HP.js.map} +0 -0
  81. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-K2UNUD5D.js.map → chunk-YUJKYSDX.js.map} +0 -0
  82. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-IIOB2SYP.js.map → dees-modal-PC4PYTOT.js.map} +0 -0
  83. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-EEY5WEF4.js.map → dees-workspace-terminal-GFHNW2QR.js.map} +0 -0
  84. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dist-2OQWGHFH.js.map → dist-2U2U7ROC.js.map} +0 -0
  85. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dist-CRWOBKHW.js.map → dist-4S4PAFPC.js.map} +0 -0
  86. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dist-J3O6DO5O.js.map → dist-5P27Y36A.js.map} +0 -0
  87. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dist-IIHC67RE.js.map → dist-6GIZONLS.js.map} +0 -0
  88. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dist-3OMAY2ID.js.map → dist-CRHDJ3CC.js.map} +0 -0
  89. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dist-ERBPCUJB.js.map → dist-OASEKGFQ.js.map} +0 -0
  90. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dist-FJCH275Q.js.map → dist-UJJOGV5H.js.map} +0 -0
  91. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{echarts-Z2APN5DY.js.map → echarts-QMOTMVTN.js.map} +0 -0
  92. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{highlightjs-2VS4UD5C.js.map → highlightjs-CH6EL3U4.js.map} +0 -0
  93. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{lightweight-charts.production-BYPU2BNH.js.map → lightweight-charts.production-VKUEJKDY.js.map} +0 -0
  94. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{xterm-44R3YQOT.js.map → xterm-KAKUMKDA.js.map} +0 -0
@@ -0,0 +1 @@
1
+ export * from './dees-harness-elicitation-card.js';
@@ -17,6 +17,7 @@ import { OverlayScrollbarController, overlayScrollbarStyles } from '../../00scro
17
17
  import { scrollEdgeFadeStyles } from '../../00scrolledges.js';
18
18
  import { visuallyHidden } from '../../00visuallyhidden.js';
19
19
  import type {
20
+ IHarnessElicitationRequest,
20
21
  IHarnessMessage,
21
22
  IHarnessMessageViewState,
22
23
  IHarnessPermissionRequest,
@@ -46,6 +47,7 @@ import { harnessTextRollDurationMs, harnessTextRollEasing } from '../harness.tex
46
47
  import { DeesHarnessWorkRun } from '../dees-harness-work-run/dees-harness-work-run.js';
47
48
  import type { DeesHarnessQuestionCard } from '../dees-harness-question-card/dees-harness-question-card.js';
48
49
  import '../dees-harness-question-card/dees-harness-question-card.js';
50
+ import '../dees-harness-elicitation-card/dees-harness-elicitation-card.js';
49
51
  import '../../00group-utility/dees-icon/dees-icon.js';
50
52
 
51
53
  const { repeat } = directives;
@@ -210,6 +212,13 @@ type TTimelineItem =
210
212
  insertionIndex: number;
211
213
  key: string;
212
214
  question: IHarnessQuestionRequest;
215
+ }
216
+ | {
217
+ kind: 'elicitation';
218
+ time: number;
219
+ insertionIndex: number;
220
+ key: string;
221
+ elicitation: IHarnessElicitationRequest;
213
222
  };
214
223
 
215
224
  /**
@@ -251,6 +260,14 @@ export class DeesHarnessMessageList extends DeesElement {
251
260
  @property({ attribute: false })
252
261
  accessor questions: IHarnessQuestionRequest[] = [];
253
262
 
263
+ /**
264
+ * what MCP servers of the session ask the owner for, each pinned to the end while the host
265
+ * keeps it; a card stays mounted while its request does, since what the owner entered lives in
266
+ * the card alone
267
+ */
268
+ @property({ attribute: false })
269
+ accessor elicitations: IHarnessElicitationRequest[] = [];
270
+
254
271
  @property({ type: Boolean, reflect: true })
255
272
  accessor autoFollow: boolean = true;
256
273
 
@@ -788,6 +805,16 @@ export class DeesHarnessMessageList extends DeesElement {
788
805
  question,
789
806
  });
790
807
  }
808
+ // an elicitation waits for the owner as long as the host keeps it: it pins to the end
809
+ for (const elicitation of this.elicitations) {
810
+ items.push({
811
+ kind: 'elicitation' as const,
812
+ time: pinnedRequestTime,
813
+ insertionIndex: items.length,
814
+ key: `elicitation:${elicitation.id}`,
815
+ elicitation,
816
+ });
817
+ }
791
818
  items.sort(byTimelineOrder);
792
819
 
793
820
  // Keep ancillary and legacy-producer chronology fixed, then replace only
@@ -849,6 +876,7 @@ export class DeesHarnessMessageList extends DeesElement {
849
876
  || changedProperties.has('messages')
850
877
  || changedProperties.has('permissions')
851
878
  || changedProperties.has('questions')
879
+ || changedProperties.has('elicitations')
852
880
  || changedProperties.has('toolRegistry')
853
881
  || changedProperties.has('viewState')
854
882
  || changedProperties.has('transcriptKey')
@@ -1129,6 +1157,7 @@ export class DeesHarnessMessageList extends DeesElement {
1129
1157
  private estimatedVirtualHeight(itemArg: TTimelineItem): number {
1130
1158
  if (itemArg.kind === 'permission') return 150;
1131
1159
  if (itemArg.kind === 'question') return 180;
1160
+ if (itemArg.kind === 'elicitation') return 240;
1132
1161
  if (itemArg.kind === 'work') {
1133
1162
  if (!this.workRunOpen(itemArg)) return toolRowHeightPx;
1134
1163
  return itemArg.items.reduce(
@@ -1405,6 +1434,20 @@ export class DeesHarnessMessageList extends DeesElement {
1405
1434
  ></dees-harness-permission-card>
1406
1435
  `;
1407
1436
  }
1437
+ if (itemArg.kind === 'elicitation') {
1438
+ return html`
1439
+ <dees-harness-elicitation-card
1440
+ data-timeline-key=${itemArg.key}
1441
+ ?data-entering=${this.rendersOwnMotion(this.enteringKeys.has(itemArg.key))}
1442
+ @animationend=${this.handleRowMotionEnd}
1443
+ @animationcancel=${this.handleRowMotionEnd}
1444
+ aria-posinset=${logicalIndexArg + 1}
1445
+ aria-setsize=${this.timelineRenderItems.length}
1446
+ .request=${itemArg.elicitation}
1447
+ .busy=${this.permissionsBusy}
1448
+ ></dees-harness-elicitation-card>
1449
+ `;
1450
+ }
1408
1451
  return html`
1409
1452
  <dees-harness-question-card
1410
1453
  data-timeline-key=${itemArg.key}
@@ -2227,7 +2270,13 @@ export class DeesHarnessMessageList extends DeesElement {
2227
2270
  else this.setProgrammaticScrollTop(container, 0);
2228
2271
  }
2229
2272
  }
2230
- if (changedProperties.has('messages') || changedProperties.has('status') || changedProperties.has('permissions') || changedProperties.has('questions')) {
2273
+ if (
2274
+ changedProperties.has('messages')
2275
+ || changedProperties.has('status')
2276
+ || changedProperties.has('permissions')
2277
+ || changedProperties.has('questions')
2278
+ || changedProperties.has('elicitations')
2279
+ ) {
2231
2280
  this.followAfterContentChange();
2232
2281
  }
2233
2282
  if (changedProperties.has('autoFollow')) {
@@ -2242,6 +2291,7 @@ export class DeesHarnessMessageList extends DeesElement {
2242
2291
  || changedProperties.has('messages')
2243
2292
  || changedProperties.has('permissions')
2244
2293
  || changedProperties.has('questions')
2294
+ || changedProperties.has('elicitations')
2245
2295
  ) this.syncScrollEdgeFades();
2246
2296
  if (this.virtualizationActive) {
2247
2297
  this.connectVirtualObservers();
@@ -2551,12 +2601,22 @@ export class DeesHarnessMessageList extends DeesElement {
2551
2601
  ...(focusKey ? [focusKey] : []),
2552
2602
  ...this.activeSelectionKeys(),
2553
2603
  ...this.heldQuestionKeys,
2604
+ ...this.elicitationKeys(),
2554
2605
  ].filter((key, index, keys) => keys.indexOf(key) === index);
2555
2606
  }
2556
2607
 
2608
+ /**
2609
+ * The rows of the elicitations the host keeps: what the owner entered lives in their cards
2610
+ * alone, so they stay mounted while their request does, however far the reader scrolls, and the
2611
+ * transcript holds a change between flowed and virtual rows until they are gone.
2612
+ */
2613
+ private elicitationKeys(): string[] {
2614
+ return this.elicitations.map((request) => `elicitation:${request.id}`);
2615
+ }
2616
+
2557
2617
  private activeTimelineKey(): string | undefined {
2558
2618
  if (this.explicitRetainedVirtualKey) return this.explicitRetainedVirtualKey;
2559
- return this.activeFocusKey() ?? this.activeSelectionKeys()[0];
2619
+ return this.activeFocusKey() ?? this.activeSelectionKeys()[0] ?? this.elicitationKeys()[0];
2560
2620
  }
2561
2621
 
2562
2622
  private activeFocusKey(): string | undefined {
@@ -21,7 +21,7 @@ const demoRows = (): IHarnessSessionRow[] => {
21
21
  tickets: [ticket('AGL-136', 'Session list for every harness'), ticket('AGL-135', 'One list of all sessions')] },
22
22
  { id: 'cad', harness: 'codex', state: 'needs_input', name: 'Move cad chat to the resource list', updatedAt: now - 9 * minute,
23
23
  excerpt: 'cad-chat renders conversations it arranges itself. Keep the resource list there?',
24
- tickets: [ticket('CAD-41', 'Adopt dees-catalog 22')] },
24
+ tickets: [ticket('CAD-41', 'Adopt dees-catalog 22')], nativeWait: { reason: 'approval' } },
25
25
  { id: 'feed', harness: 'claude', state: 'working', name: 'Controller feed for session rows', updatedAt: now - 20_000,
26
26
  excerpt: 'Mapping Codex thread states onto needs input, working and completed…',
27
27
  tickets: [ticket('AGL-137', 'Feed the session list')] },
@@ -60,8 +60,9 @@ const demoRows = (): IHarnessSessionRow[] => {
60
60
  state: 'completed',
61
61
  name,
62
62
  updatedAt: now - (55 + index * 47) * minute,
63
- excerpt: 'Done. The changes are committed and the checks passed.',
63
+ excerpt: index === 1 ? 'Stopped while drafting the second chapter.' : 'Done. The changes are committed and the checks passed.',
64
64
  tickets: key ? [ticket(key, name)] : undefined,
65
+ interrupted: index === 1 ? true : undefined,
65
66
  })),
66
67
  ];
67
68
  };
@@ -178,6 +179,24 @@ class DeesDemoSessionOverview extends DeesElement {
178
179
  updatedAt: Date.now() - (index + 1) * 4 * minute,
179
180
  }))
180
181
  ));
182
+ const notes: IHarnessSessionRow[] = [
183
+ { id: 'wait-approval', harness: 'codex', state: 'needs_input', name: 'Rotate the staging keys', updatedAt: Date.now() - minute,
184
+ nativeWait: { reason: 'approval' } },
185
+ { id: 'wait-input', harness: 'codex', state: 'needs_input', name: 'Pick the release channel', updatedAt: Date.now() - 2 * minute,
186
+ nativeWait: { reason: 'user_input' } },
187
+ { id: 'wait-prompt', harness: 'claude', state: 'needs_input', name: 'Trust the new checkout', updatedAt: Date.now() - 3 * minute,
188
+ nativeWait: { reason: 'native_prompt' } },
189
+ { id: 'wait-unknown', harness: 'codex', state: 'needs_input', name: 'Migrate the build cache', updatedAt: Date.now() - 4 * minute,
190
+ nativeWait: { reason: 'unrecognized' } },
191
+ { id: 'asks-here', harness: 'claude', state: 'needs_input', name: 'Release the major now?', updatedAt: Date.now() - 5 * minute },
192
+ { id: 'working-wait', harness: 'codex', state: 'working', name: 'Reads the logs (its wait is ignored)', updatedAt: Date.now() - 6 * minute,
193
+ nativeWait: { reason: 'approval' } },
194
+ { id: 'interrupted', harness: 'claude', state: 'completed', name: 'Draft the migration guide', updatedAt: Date.now() - 20 * minute,
195
+ interrupted: true },
196
+ { id: 'finished', harness: 'flex', state: 'completed', name: 'Summarise the invoices', updatedAt: Date.now() - 30 * minute },
197
+ { id: 'failed-interrupted', harness: 'opencode', state: 'failed', name: 'Upgrade the bundler (interrupted is ignored)', updatedAt: Date.now() - 40 * minute,
198
+ interrupted: true },
199
+ ];
181
200
  return html`
182
201
  ${demoSection('At sidebar width', 'Every session of every harness in one list, grouped by state. Completed shows its newest three; the rest fold behind “… N more”. Step through what a feed reports and watch rows move between groups.', html`
183
202
  <div class="toolbar">
@@ -197,6 +216,9 @@ class DeesDemoSessionOverview extends DeesElement {
197
216
  <div class="frame sidebar"><dees-harness-session-list data-motion .rows=${oneOfEach} .completedLimit=${4}></dees-harness-session-list></div>
198
217
  <p class="dees-demo-caption">With reduced motion set in the system, the marks keep their colours and stop moving; the button applies the same rule to this example.</p>
199
218
  `)}
219
+ ${demoSection('Answer in the native client, interrupted', 'A session that waits on something only its own app can answer, such as an approval in Codex or a prompt in Claude Code, says where to answer it after its name; one that waits on a request the host holds says nothing more. A completed session whose last turn was interrupted says so. Each note shows only in its group: a working or failed row ignores both.', html`
220
+ <div class="frame sidebar"><dees-harness-session-list .rows=${notes} .completedLimit=${4}></dees-harness-session-list></div>
221
+ `)}
200
222
  ${demoSection('Loading', 'The first load draws placeholder rows on the columns and heights of the rows that replace them, so nothing moves when the feed answers. They appear only after 200 ms, so a quick load never flashes them; after 10 s the list says it is still loading and the placeholders hold still. Rows already on show stay while more load. Assistive technology hears one loading status; the placeholders are hidden from it.', html`
201
223
  <div class="toolbar">
202
224
  <dees-button size="sm" .pressed=${this.loadOn} @clicked=${() => this.loadOn ? this.finishLoad() : this.load(undefined)}>Loading</dees-button>
@@ -75,7 +75,9 @@ interface IFocusStop {
75
75
  * on a tinted tile and a bolder name, still; working: a slow pulse; failed: red; completed: muted
76
76
  * and still), the name, the first ticket as a chip ("+N" for more), and the age. The latest
77
77
  * message excerpt joins the line only
78
- * while the list's own container is wide. Every row of every group shares one set of column tracks,
78
+ * while the list's own container is wide. A row that needs input only its native client can take
79
+ * (`nativeWait`) says where to give it after its name, and a completed row whose last turn was
80
+ * interrupted (`interrupted`) says so; a row in any other state ignores both. Every row of every group shares one set of column tracks,
79
81
  * so names, excerpts, chips and ages each start on one edge; the name column is as wide as the
80
82
  * longest name up to `--dees-harness-session-name-max` (20rem), and longer names end in an
81
83
  * ellipsis. Under reduced motion the indicator keeps its colour and stops moving.
@@ -264,7 +266,8 @@ export class DeesHarnessSessionList extends DeesElement {
264
266
  grid-column: glyph / age;
265
267
  }
266
268
 
267
- .row:not(:has(.ticket)) .name {
269
+ .row:not(:has(.ticket)) .name,
270
+ .row:not(:has(.ticket)) .nameCell {
268
271
  grid-column: name / age;
269
272
  }
270
273
 
@@ -323,6 +326,40 @@ export class DeesHarnessSessionList extends DeesElement {
323
326
  font-weight: 600;
324
327
  }
325
328
 
329
+ /*
330
+ * A row's note after its name: the name gives way first and keeps a few characters, and the
331
+ * note takes the rest of the cell it needs. The cell takes the name's column, as the name
332
+ * does alone.
333
+ */
334
+ .nameCell {
335
+ display: flex;
336
+ align-items: baseline;
337
+ gap: var(--dees-spacing-xs);
338
+ min-width: 0;
339
+ }
340
+
341
+ .nameCell .name {
342
+ flex: 0 1 auto;
343
+ }
344
+
345
+ .rowNote {
346
+ flex: 0 0 auto;
347
+ max-width: calc(100% - 4ch);
348
+ overflow: hidden;
349
+ font-size: var(--dees-font-caption1-size);
350
+ text-overflow: ellipsis;
351
+ white-space: nowrap;
352
+ }
353
+
354
+ .rowNote.nativeWait {
355
+ color: var(--session-needs-input);
356
+ font-weight: 500;
357
+ }
358
+
359
+ .rowNote.interrupted {
360
+ color: var(--dees-color-text-muted);
361
+ }
362
+
326
363
  .excerpt {
327
364
  display: none;
328
365
  min-width: 0;
@@ -534,7 +571,8 @@ export class DeesHarnessSessionList extends DeesElement {
534
571
  display: block;
535
572
  }
536
573
 
537
- .row:not(:has(.ticket)) .name {
574
+ .row:not(:has(.ticket)) .name,
575
+ .row:not(:has(.ticket)) .nameCell {
538
576
  grid-column: name;
539
577
  }
540
578
 
@@ -761,7 +799,7 @@ export class DeesHarnessSessionList extends DeesElement {
761
799
  >
762
800
  <dees-icon icon=${glyph} iconSize="14" aria-hidden="true"></dees-icon>
763
801
  </span>
764
- <span class="name" title=${rowArg.name}>${rowArg.name}</span>
802
+ ${this.renderName(rowArg, harnessName)}
765
803
  ${rowArg.excerpt ? html`<span class="excerpt">${rowArg.excerpt}</span>` : ''}
766
804
  </button>
767
805
  ${firstTicket
@@ -795,6 +833,21 @@ export class DeesHarnessSessionList extends DeesElement {
795
833
  `;
796
834
  }
797
835
 
836
+ /**
837
+ * The row's name, and after it the note its state takes: where a needs-input row's native client
838
+ * waits for the answer, or that a completed row's last turn was interrupted. A row without one
839
+ * renders its name alone, as before notes existed.
840
+ */
841
+ private renderName(rowArg: IHarnessSessionRow, harnessNameArg: string): TemplateResult {
842
+ const name = html`<span class="name" title=${rowArg.name}>${rowArg.name}</span>`;
843
+ const note = rowArg.state === 'needs_input' && rowArg.nativeWait
844
+ ? html`<span class="rowNote nativeWait">${this.t('sessionlist.nativeWait', { reason: rowArg.nativeWait.reason, harness: harnessNameArg })}</span>`
845
+ : rowArg.state === 'completed' && rowArg.interrupted === true
846
+ ? html`<span class="rowNote interrupted">${this.t('sessionlist.interrupted')}</span>`
847
+ : undefined;
848
+ return note ? html`<span class="nameCell">${name} ${note}</span>` : name;
849
+ }
850
+
798
851
  private select(rowArg: IHarnessSessionRow): void {
799
852
  this.activeKey = rowArg.id;
800
853
  const detail: IHarnessSessionRowEventDetail = { row: rowArg };
@@ -13,6 +13,7 @@ export * from './dees-harness-chat/index.js';
13
13
  export * from './dees-harness-composer/index.js';
14
14
  export * from './dees-harness-content-blocks/index.js';
15
15
  export * from './dees-harness-conversation-picker/index.js';
16
+ export * from './dees-harness-elicitation-card/index.js';
16
17
  export * from './dees-harness-message/index.js';
17
18
  export * from './dees-harness-permission-card/index.js';
18
19
  export * from './dees-harness-question-card/index.js';
@@ -720,6 +720,159 @@ export interface IHarnessPermissionResponseDetail {
720
720
  request: IHarnessPermissionRequest;
721
721
  }
722
722
 
723
+ // ------------------------------------------------------------ elicitations
724
+
725
+ /** The string formats MCP names for a text field; the card checks a value against its format before it sends it. */
726
+ export type THarnessElicitationTextFormat = 'email' | 'uri' | 'date' | 'date-time';
727
+
728
+ interface IHarnessElicitationFieldBase {
729
+ /** the property name the answer carries the value under */
730
+ name: string;
731
+ /** the field's label; unset, its `name` */
732
+ title?: string;
733
+ description?: string;
734
+ /** the answer must carry a value for it */
735
+ required: boolean;
736
+ }
737
+
738
+ /** Text, checked against its `format` and its lengths before it is sent. */
739
+ export interface IHarnessElicitationTextField extends IHarnessElicitationFieldBase {
740
+ kind: 'text';
741
+ format?: THarnessElicitationTextFormat;
742
+ /** in characters (Unicode code points), as JSON Schema counts them, not in UTF-16 code units */
743
+ minLength?: number;
744
+ maxLength?: number;
745
+ default?: string;
746
+ }
747
+
748
+ /** A number, sent as a number. */
749
+ export interface IHarnessElicitationNumberField extends IHarnessElicitationFieldBase {
750
+ kind: 'number';
751
+ /** whole numbers only (JSON Schema `integer`) */
752
+ integer: boolean;
753
+ /** inclusive bounds */
754
+ minimum?: number;
755
+ maximum?: number;
756
+ default?: number;
757
+ }
758
+
759
+ /** A yes or no, sent as a boolean. */
760
+ export interface IHarnessElicitationBooleanField extends IHarnessElicitationFieldBase {
761
+ kind: 'boolean';
762
+ default?: boolean;
763
+ }
764
+
765
+ /** One choice: the value the answer carries, and the label the card shows for it. */
766
+ export interface IHarnessElicitationOption {
767
+ value: string;
768
+ label: string;
769
+ }
770
+
771
+ /** A single choice among strings, sent as the chosen option's `value`. */
772
+ export interface IHarnessElicitationChoiceField extends IHarnessElicitationFieldBase {
773
+ kind: 'choice';
774
+ options: IHarnessElicitationOption[];
775
+ default?: string;
776
+ }
777
+
778
+ /** Several choices among strings, each at most once, sent as the chosen options' values in the order listed. */
779
+ export interface IHarnessElicitationChoicesField extends IHarnessElicitationFieldBase {
780
+ kind: 'choices';
781
+ options: IHarnessElicitationOption[];
782
+ minItems?: number;
783
+ maxItems?: number;
784
+ default?: string[];
785
+ }
786
+
787
+ /** A field of an elicitation form: MCP's flat primitive subset. */
788
+ export type THarnessElicitationField =
789
+ | IHarnessElicitationTextField
790
+ | IHarnessElicitationNumberField
791
+ | IHarnessElicitationBooleanField
792
+ | IHarnessElicitationChoiceField
793
+ | IHarnessElicitationChoicesField;
794
+
795
+ /** A value of a form's field: text or a single choice, a number, a yes or no, or several choices. */
796
+ export type THarnessElicitationValue = string | number | boolean | string[];
797
+
798
+ /** A form's answer: one value per field the owner filled in, by field name; a field left empty is absent. */
799
+ export type THarnessElicitationContent = Record<string, THarnessElicitationValue>;
800
+
801
+ /**
802
+ * Why the host refused the owner's last answer, in the host's words: under the field it names
803
+ * (`field`, a field's `name`), or over the form. Never a value the owner entered.
804
+ */
805
+ export interface IHarnessElicitationRefusal {
806
+ field?: string;
807
+ reason: string;
808
+ }
809
+
810
+ interface IHarnessElicitationRequestBase {
811
+ id: string;
812
+ /** the MCP server that asks, as the harness names it */
813
+ serverName: string;
814
+ /** what the server asks, in its words: shown as plain text */
815
+ message: string;
816
+ /** epoch ms */
817
+ createdAt: number;
818
+ /**
819
+ * set by the host when it refused the last answer: the card asks again, keeping what the owner
820
+ * entered. Each refusal is a new array, even one that reads as the last (the host refused the
821
+ * same way again); the host keeps handing over the same array while the refusal stands.
822
+ */
823
+ refusals?: readonly IHarnessElicitationRefusal[];
824
+ }
825
+
826
+ /** A server asks the owner to fill in a form. */
827
+ export interface IHarnessElicitationFormRequest extends IHarnessElicitationRequestBase {
828
+ mode: 'form';
829
+ /** in the order the server lists them */
830
+ fields: THarnessElicitationField[];
831
+ }
832
+
833
+ /**
834
+ * A server asks the owner to visit an address. The card shows it as text, never opens or fetches
835
+ * it; accepting reports that the owner has done it.
836
+ */
837
+ export interface IHarnessElicitationUrlRequest extends IHarnessElicitationRequestBase {
838
+ mode: 'url';
839
+ url: string;
840
+ }
841
+
842
+ /** A request the host cannot collect, with the host's reason: the owner may only decline or cancel it. */
843
+ export interface IHarnessElicitationUnsupportedRequest extends IHarnessElicitationRequestBase {
844
+ mode: 'unsupported';
845
+ reason: string;
846
+ }
847
+
848
+ /**
849
+ * An MCP server of a session asks the owner for input (MCP elicitation): a form, a visit to an
850
+ * address, or a request the host cannot collect. Renders inline in the transcript like
851
+ * permissions and questions, pinned to its end; the host removes it once answered.
852
+ */
853
+ export type IHarnessElicitationRequest =
854
+ | IHarnessElicitationFormRequest
855
+ | IHarnessElicitationUrlRequest
856
+ | IHarnessElicitationUnsupportedRequest;
857
+
858
+ /**
859
+ * The owner's answer: `accept` sends a form's content or, in URL mode, reports the visit done;
860
+ * `decline` refuses what the server asks; `cancel` dismisses it without a decision.
861
+ */
862
+ export type THarnessElicitationAction = 'accept' | 'decline' | 'cancel';
863
+
864
+ /** Detail of `harness-elicitation-response`: the one event that carries what the owner entered. */
865
+ export interface IHarnessElicitationResponseDetail {
866
+ requestId: string;
867
+ action: THarnessElicitationAction;
868
+ /**
869
+ * with `accept` of a form only: the values the owner filled in, typed (numbers, booleans,
870
+ * lists), an empty optional field absent. For the host's answer to the server alone: keep it
871
+ * out of logs, journals, transcripts and error text
872
+ */
873
+ content?: THarnessElicitationContent;
874
+ }
875
+
723
876
  // ------------------------------------------------------- sessions & status
724
877
 
725
878
  export type THarnessSessionCardState =
@@ -957,6 +1110,18 @@ export type THarnessSessionRowHarness = 'claude' | 'codex' | 'flex' | 'opencode'
957
1110
  /** Which fixed group of `dees-harness-session-list` a row sits in. */
958
1111
  export type THarnessSessionRowState = 'needs_input' | 'working' | 'completed' | 'failed';
959
1112
 
1113
+ /**
1114
+ * What a session waits on that only its native client can answer, so no host can answer it in
1115
+ * its place: an approval (`approval`), input it asked for (`user_input`), a prompt of the client's
1116
+ * own (`native_prompt`), or a wait the host cannot name (`unrecognized`).
1117
+ */
1118
+ export type THarnessSessionRowNativeWaitReason = 'approval' | 'user_input' | 'native_prompt' | 'unrecognized';
1119
+
1120
+ /** A `needs_input` row's wait on its native client: the row says where to answer it. */
1121
+ export interface IHarnessSessionRowNativeWait {
1122
+ reason: THarnessSessionRowNativeWaitReason;
1123
+ }
1124
+
960
1125
  /** A board ticket a session works on, shown as a chip at the end of its row. */
961
1126
  export interface IHarnessSessionRowTicket {
962
1127
  /** Short ticket key, e.g. `AGL-136`. */
@@ -980,6 +1145,13 @@ export interface IHarnessSessionRow {
980
1145
  tickets?: IHarnessSessionRowTicket[];
981
1146
  /** Last activity, epoch milliseconds; orders a group (newest first) and gives the row's age. */
982
1147
  updatedAt: number;
1148
+ /**
1149
+ * The session waits on something only its native client can answer: a `needs_input` row says
1150
+ * where to answer it. Every other state ignores it.
1151
+ */
1152
+ nativeWait?: IHarnessSessionRowNativeWait;
1153
+ /** The session's last turn was interrupted: a `completed` row says so. Every other state ignores it. */
1154
+ interrupted?: boolean;
983
1155
  }
984
1156
 
985
1157
  /** Detail of `harness-session-row-select`, fired on click or Enter/Space. */
package/ts_web/i18n/de.ts CHANGED
@@ -1419,6 +1419,33 @@ export default dcMessages.translation('de', {
1419
1419
  'question.personTooLong': 'Höchstens {max, plural, one {# Zeichen} other {# Zeichen}}; eingegeben sind {count, number}.',
1420
1420
  'question.rejected': 'Nicht ausgeführt. Prüfen Sie die markierten Felder und bestätigen Sie erneut.',
1421
1421
  'question.answerRefused': 'Ihre Antwort wurde nicht gespeichert. Antworten Sie erneut.',
1422
+ 'elicitation.asks': '{server} fragt',
1423
+ 'elicitation.asksUnnamed': 'Ein MCP-Server fragt',
1424
+ 'elicitation.send': 'Senden',
1425
+ 'elicitation.markDone': 'Als erledigt melden',
1426
+ 'elicitation.decline': 'Ablehnen',
1427
+ 'elicitation.cancel': 'Abbrechen',
1428
+ 'elicitation.answered': '{action, select, accept {Angenommen} decline {Abgelehnt} cancel {Abgebrochen} other {Beantwortet}}',
1429
+ 'elicitation.yes': 'Ja',
1430
+ 'elicitation.no': 'Nein',
1431
+ 'elicitation.clear': 'Auswahl aufheben',
1432
+ 'elicitation.missing': 'Füllen Sie die Pflichtfelder aus, um zu senden.',
1433
+ 'elicitation.tooShort': 'Mindestens {min, plural, one {# Zeichen} other {# Zeichen}}; eingegeben sind {count, number}.',
1434
+ 'elicitation.tooLong': 'Höchstens {max, plural, one {# Zeichen} other {# Zeichen}}; eingegeben sind {count, number}.',
1435
+ 'elicitation.format': '{format, select, email {Geben Sie eine E-Mail-Adresse ein.} uri {Geben Sie eine vollständige Adresse ein, etwa https://example.com/pfad.} date {Geben Sie ein Datum als YYYY-MM-DD ein.} dateTime {Geben Sie Datum und Uhrzeit ein, etwa 2026-11-07T14:30:00Z.} other {Geben Sie einen Wert in der verlangten Form ein.}}',
1436
+ 'elicitation.dateHint': 'YYYY-MM-DD',
1437
+ 'elicitation.dateTimeHint': 'YYYY-MM-DDThh:mm:ssZ',
1438
+ 'elicitation.notNumber': 'Geben Sie eine Zahl ein.',
1439
+ 'elicitation.notWhole': 'Geben Sie eine ganze Zahl ein.',
1440
+ 'elicitation.belowMin': 'Geben Sie {min, number} oder mehr ein.',
1441
+ 'elicitation.aboveMax': 'Geben Sie höchstens {max, number} ein.',
1442
+ 'elicitation.tooFewChoices': 'Wählen Sie mindestens {min, plural, one {# Option} other {# Optionen}}.',
1443
+ 'elicitation.tooManyChoices': 'Wählen Sie höchstens {max, plural, one {# Option} other {# Optionen}}.',
1444
+ 'elicitation.urlLabel': 'Adresse',
1445
+ 'elicitation.urlNote': 'Öffnen Sie diese Adresse selbst; sie wird von hier nicht geöffnet. Melden Sie es danach als erledigt.',
1446
+ 'elicitation.hiddenChar': 'Unsichtbares Zeichen {code}',
1447
+ 'elicitation.unsupportedNote': 'Diese Anfrage lässt sich hier nicht beantworten. Lehnen Sie sie ab oder brechen Sie sie ab.',
1448
+ 'elicitation.refused': 'Ihre Antwort wurde nicht angenommen. Prüfen Sie die markierten Felder und senden Sie erneut.',
1422
1449
  'message.usage': '{input, number} ein · {output, number} aus · {total, number} Tokens insgesamt',
1423
1450
  'todos.empty': 'Noch keine Aufgaben.',
1424
1451
  'reasoning.thinking': 'Denkt nach',
@@ -1488,5 +1515,7 @@ export default dcMessages.translation('de', {
1488
1515
  'sessionlist.moreTickets': '+{count, number}',
1489
1516
  'sessionlist.more': '… {count, number} weitere',
1490
1517
  'sessionlist.fewer': 'Weniger anzeigen',
1518
+ 'sessionlist.nativeWait': '{reason, select, approval {In {harness} freigeben} user_input {In {harness} antworten} native_prompt {In {harness} beantworten} unrecognized {Wartet in {harness}} other {Wartet in {harness}}}',
1519
+ 'sessionlist.interrupted': 'Unterbrochen',
1491
1520
  'workspace.confirmClose': '{name} hat nicht gespeicherte Änderungen. Trotzdem schließen?',
1492
1521
  });
@@ -1489,6 +1489,34 @@ export const dcMessages = plugins.smarti18n.defineCatalog({
1489
1489
  'question.personTooLong': { message: 'Use {max, plural, one {# character} other {# characters}} or fewer; this has {count, number}.', description: 'Said on a field whose value is too long to confirm; {max} is the most it takes, {count} how many it has.' },
1490
1490
  'question.rejected': { message: 'Not carried out. Check the marked fields and confirm again.', description: 'Said when the app refused a confirmation because of values entered, and named no reason of its own.' },
1491
1491
  'question.answerRefused': { message: 'Your answer was not saved. Answer again.', description: 'Said over a question when the app refused the answer it was sent, and named no reason of its own; the question waits for an answer again.' },
1492
+ // dees-harness-elicitation-card
1493
+ 'elicitation.asks': { message: '{server} asks', description: 'Over what an MCP server asks the reader for; {server} is the server\'s name as the session names it.' },
1494
+ 'elicitation.asksUnnamed': { message: 'An MCP server asks', description: 'Over what an MCP server asks the reader for, while the server has no name.' },
1495
+ 'elicitation.send': { message: 'Send', description: 'The button that sends what the reader filled in to the MCP server.' },
1496
+ 'elicitation.markDone': { message: 'Mark as done', description: 'The button that tells the MCP server the reader visited the address it asked for.' },
1497
+ 'elicitation.decline': { message: 'Decline', description: 'The button that refuses what the MCP server asks.' },
1498
+ 'elicitation.cancel': { message: 'Cancel', description: 'The button that dismisses what the MCP server asks without a decision.' },
1499
+ 'elicitation.answered': { message: '{action, select, accept {Accepted} decline {Declined} cancel {Cancelled} other {Answered}}', description: 'Said on a request the reader answered, in place of what was entered: how they answered.' },
1500
+ 'elicitation.yes': { message: 'Yes', description: 'The choice that answers a yes-or-no field with yes.' },
1501
+ 'elicitation.no': { message: 'No', description: 'The choice that answers a yes-or-no field with no.' },
1502
+ 'elicitation.clear': { message: 'Clear choice', description: 'The button that takes the choice back from a field that needs none.' },
1503
+ 'elicitation.missing': { message: 'Fill in the required fields to send.', description: 'Said while a required field is empty; the Send button waits for it.' },
1504
+ 'elicitation.tooShort': { message: 'Use at least {min, plural, one {# character} other {# characters}}; this has {count, number}.', description: 'Said on a field whose text is too short; {min} is the least it takes, {count} how many characters it has.' },
1505
+ 'elicitation.tooLong': { message: 'Use {max, plural, one {# character} other {# characters}} or fewer; this has {count, number}.', description: 'Said on a field whose text is too long; {max} is the most it takes, {count} how many characters it has.' },
1506
+ 'elicitation.format': { message: '{format, select, email {Enter an email address.} uri {Enter a full address, such as https://example.com/path.} date {Enter a date as YYYY-MM-DD.} dateTime {Enter a date and time, such as 2026-11-07T14:30:00Z.} other {Enter a value in the form asked for.}}', description: 'Said on a field whose text is not in the form it takes. Keep the patterns and examples as they are: the server reads them.' },
1507
+ 'elicitation.dateHint': { message: 'YYYY-MM-DD', description: 'The placeholder of a date field: the pattern the server reads.' },
1508
+ 'elicitation.dateTimeHint': { message: 'YYYY-MM-DDThh:mm:ssZ', description: 'The placeholder of a date-and-time field: the pattern the server reads. Keep the letters T and Z.' },
1509
+ 'elicitation.notNumber': { message: 'Enter a number.', description: 'Said on a number field whose text is no number.' },
1510
+ 'elicitation.notWhole': { message: 'Enter a whole number.', description: 'Said on a field that takes whole numbers only.' },
1511
+ 'elicitation.belowMin': { message: 'Enter {min, number} or more.', description: 'Said on a number below the least the field takes.' },
1512
+ 'elicitation.aboveMax': { message: 'Enter {max, number} or less.', description: 'Said on a number above the most the field takes.' },
1513
+ 'elicitation.tooFewChoices': { message: 'Choose at least {min, plural, one {# option} other {# options}}.', description: 'Said on a field of several choices with too few chosen.' },
1514
+ 'elicitation.tooManyChoices': { message: 'Choose at most {max, plural, one {# option} other {# options}}.', description: 'Said on a field of several choices with too many chosen.' },
1515
+ 'elicitation.urlLabel': { message: 'Address', description: 'Before the address an MCP server asks the reader to visit.' },
1516
+ 'elicitation.urlNote': { message: 'Open this address yourself; it is not opened from here. Then mark it as done.', description: 'Under the address an MCP server asks the reader to visit: the card never opens it.' },
1517
+ 'elicitation.hiddenChar': { message: 'Invisible character {code}', description: 'The name of a mark that stands in for a character that would not show, such as one that turns text around; {code} is its code point (U+202E).' },
1518
+ 'elicitation.unsupportedNote': { message: 'This request cannot be answered here. Decline or cancel it.', description: 'Under the reason a request cannot be filled in here: only Decline and Cancel answer it.' },
1519
+ 'elicitation.refused': { message: 'Your answer was not taken. Check the marked fields and send again.', description: 'Said over the form when the app refused the last answer at named fields and gave no reason for the whole form.' },
1492
1520
  'message.usage': { message: '{input, number} in · {output, number} out · {total, number} total tokens', description: 'A reply\'s token usage: tokens read, written and in total.' },
1493
1521
 
1494
1522
  // dees-harness-todos, dees-harness-reasoning, dees-harness-status, dees-harness-thread-cut, dees-harness-usage
@@ -1563,6 +1591,8 @@ export const dcMessages = plugins.smarti18n.defineCatalog({
1563
1591
  'sessionlist.moreTickets': { message: '+{count, number}', description: 'The chip\'s count of further tickets.' },
1564
1592
  'sessionlist.more': { message: '… {count, number} more', description: 'The button that shows the folded Completed sessions.' },
1565
1593
  'sessionlist.fewer': { message: 'Show fewer', description: 'The button that folds the Completed sessions again.' },
1594
+ 'sessionlist.nativeWait': { message: '{reason, select, approval {Approve in {harness}} user_input {Reply in {harness}} native_prompt {Answer in {harness}} unrecognized {Waiting in {harness}} other {Waiting in {harness}}}', description: 'On a session that needs input only its own app can take (its native client): where to give it. {harness} is that app (Claude Code, Codex); {reason} what it waits on: an approval, a reply it asked for, a prompt of the app\'s own, or a wait the host cannot name.' },
1595
+ 'sessionlist.interrupted': { message: 'Interrupted', description: 'On a completed session whose last turn was interrupted.' },
1566
1596
  'workspace.confirmClose': { message: '{name} has unsaved changes. Close anyway?', description: 'Asked before an open file with unsaved changes is closed.' },
1567
1597
  },
1568
1598
  });