@dudko.dev/agent-web-ui 0.0.7 → 0.0.8

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 (85) hide show
  1. package/dist/{chunk-3TMUUU3O.js → chunk-ETYLHTPK.js} +11 -1
  2. package/dist/controller.cjs +11 -1
  3. package/dist/controller.js +1 -1
  4. package/dist/index.cjs +11 -1
  5. package/dist/index.d.cts +3 -3
  6. package/dist/index.d.ts +3 -3
  7. package/dist/index.js +1 -1
  8. package/dist/{labels-h-grbo5N.d.ts → labels-CeJMN8NU.d.ts} +1 -1
  9. package/dist/{labels-Dnh2tn8S.d.cts → labels-D-NI4hKW.d.cts} +1 -1
  10. package/dist/locales/be.d.cts +1 -1
  11. package/dist/locales/be.d.ts +1 -1
  12. package/dist/locales/bg.d.cts +1 -1
  13. package/dist/locales/bg.d.ts +1 -1
  14. package/dist/locales/ca.d.cts +1 -1
  15. package/dist/locales/ca.d.ts +1 -1
  16. package/dist/locales/cs.d.cts +1 -1
  17. package/dist/locales/cs.d.ts +1 -1
  18. package/dist/locales/da.d.cts +1 -1
  19. package/dist/locales/da.d.ts +1 -1
  20. package/dist/locales/de.d.cts +1 -1
  21. package/dist/locales/de.d.ts +1 -1
  22. package/dist/locales/el.d.cts +1 -1
  23. package/dist/locales/el.d.ts +1 -1
  24. package/dist/locales/en.d.cts +1 -1
  25. package/dist/locales/en.d.ts +1 -1
  26. package/dist/locales/es-419.d.cts +1 -1
  27. package/dist/locales/es-419.d.ts +1 -1
  28. package/dist/locales/es.d.cts +1 -1
  29. package/dist/locales/es.d.ts +1 -1
  30. package/dist/locales/fi.d.cts +1 -1
  31. package/dist/locales/fi.d.ts +1 -1
  32. package/dist/locales/fr-CA.d.cts +1 -1
  33. package/dist/locales/fr-CA.d.ts +1 -1
  34. package/dist/locales/fr.d.cts +1 -1
  35. package/dist/locales/fr.d.ts +1 -1
  36. package/dist/locales/gn.d.cts +1 -1
  37. package/dist/locales/gn.d.ts +1 -1
  38. package/dist/locales/hr.d.cts +1 -1
  39. package/dist/locales/hr.d.ts +1 -1
  40. package/dist/locales/ht.d.cts +1 -1
  41. package/dist/locales/ht.d.ts +1 -1
  42. package/dist/locales/hu.d.cts +1 -1
  43. package/dist/locales/hu.d.ts +1 -1
  44. package/dist/locales/index.d.cts +1 -1
  45. package/dist/locales/index.d.ts +1 -1
  46. package/dist/locales/it.d.cts +1 -1
  47. package/dist/locales/it.d.ts +1 -1
  48. package/dist/locales/nb.d.cts +1 -1
  49. package/dist/locales/nb.d.ts +1 -1
  50. package/dist/locales/nl.d.cts +1 -1
  51. package/dist/locales/nl.d.ts +1 -1
  52. package/dist/locales/pl.d.cts +1 -1
  53. package/dist/locales/pl.d.ts +1 -1
  54. package/dist/locales/pt-BR.d.cts +1 -1
  55. package/dist/locales/pt-BR.d.ts +1 -1
  56. package/dist/locales/pt.d.cts +1 -1
  57. package/dist/locales/pt.d.ts +1 -1
  58. package/dist/locales/qu.d.cts +1 -1
  59. package/dist/locales/qu.d.ts +1 -1
  60. package/dist/locales/ro.d.cts +1 -1
  61. package/dist/locales/ro.d.ts +1 -1
  62. package/dist/locales/ru.d.cts +1 -1
  63. package/dist/locales/ru.d.ts +1 -1
  64. package/dist/locales/sk.d.cts +1 -1
  65. package/dist/locales/sk.d.ts +1 -1
  66. package/dist/locales/sq.d.cts +1 -1
  67. package/dist/locales/sq.d.ts +1 -1
  68. package/dist/locales/sr-Latn.d.cts +1 -1
  69. package/dist/locales/sr-Latn.d.ts +1 -1
  70. package/dist/locales/sr.d.cts +1 -1
  71. package/dist/locales/sr.d.ts +1 -1
  72. package/dist/locales/sv.d.cts +1 -1
  73. package/dist/locales/sv.d.ts +1 -1
  74. package/dist/locales/tr.d.cts +1 -1
  75. package/dist/locales/tr.d.ts +1 -1
  76. package/dist/locales/uk.d.cts +1 -1
  77. package/dist/locales/uk.d.ts +1 -1
  78. package/dist/pipeline.cjs +1 -0
  79. package/dist/pipeline.d.cts +2 -0
  80. package/dist/pipeline.d.ts +2 -0
  81. package/dist/pipeline.js +1 -0
  82. package/dist/styles.css +4 -0
  83. package/dist/{types-DnBCok3z.d.ts → types-CHFtTZjl.d.cts} +6 -0
  84. package/dist/{types-DnBCok3z.d.cts → types-CHFtTZjl.d.ts} +6 -0
  85. package/package.json +2 -2
@@ -238,6 +238,7 @@ var sentEntryOf = (queued, text) => queued.findIndex(
238
238
  (q) => q.sentTo === "another-tab" && (q.text === text || text.endsWith("…") && q.text.length > text.length && q.text.startsWith(text.slice(0, -1)))
239
239
  );
240
240
  var patchStep = (steps, id, fn) => steps.map((s) => s.id === id ? fn(s) : s);
241
+ var summaryOf = (summary) => typeof summary === "string" && summary.trim() ? { summary: summary.slice(0, 4e3) } : {};
241
242
  var withoutSkillBody = (a) => {
242
243
  if (!a.skill || a.skill.body === void 0) return a;
243
244
  const { body: _body, ...skill } = a.skill;
@@ -323,13 +324,20 @@ var answerQuestion = (state, event) => state.questions?.some((q) => q.id === eve
323
324
  } : state;
324
325
  var patchSubagent = (subagents, id, fn) => subagents.map((s) => s.id === id ? fn(s) : s);
325
326
  var runningStepId = (steps) => [...steps].reverse().find((s) => s.status === "running")?.id;
327
+ var stepPlace = (index, total) => {
328
+ const whole = (n) => typeof n === "number" && Number.isInteger(n);
329
+ if (whole(index) && whole(total) && index >= 1 && total >= index) return `${index}/${total}`;
330
+ if (whole(index) && index >= 0 && total === void 0) return String(index + 1);
331
+ if (whole(index) && index >= 1) return String(index);
332
+ return "?";
333
+ };
326
334
  var applySubagentEvent = (view, event) => {
327
335
  switch (event.type) {
328
336
  case "step.start":
329
337
  return {
330
338
  ...view,
331
339
  steps: view.steps + 1,
332
- activity: `step ${event.index}/${event.total}: ${event.step.description}`,
340
+ activity: `step ${stepPlace(event.index, event.total)}: ${event.step.description}`,
333
341
  // Known only when the child runs with model tiers.
334
342
  ...event.model !== void 0 ? { model: event.model } : {},
335
343
  ...event.tier !== void 0 ? { tier: event.tier } : {}
@@ -517,6 +525,7 @@ var applySubagent = (state, event, ancestors, ctx) => {
517
525
  },
518
526
  ...inner.skill ? { skill: inner.skill } : {},
519
527
  ...inner.rule ? { rule: inner.rule } : {},
528
+ ...summaryOf(inner.summary),
520
529
  ...ctx.remote ? { remote: true } : {},
521
530
  status: "pending"
522
531
  }
@@ -1071,6 +1080,7 @@ var applyEvent = (state, event, ctx) => {
1071
1080
  ...event.app ? { app: event.app } : {},
1072
1081
  ...event.skill ? { skill: event.skill } : {},
1073
1082
  ...event.rule ? { rule: event.rule } : {},
1083
+ ...summaryOf(event.summary),
1074
1084
  // Asked in the tab that runs the tool: shown here, answered there.
1075
1085
  ...ctx.remote ? { remote: true } : {},
1076
1086
  status: "pending"
@@ -703,6 +703,7 @@ var sentEntryOf = (queued, text) => queued.findIndex(
703
703
  (q) => q.sentTo === "another-tab" && (q.text === text || text.endsWith("…") && q.text.length > text.length && q.text.startsWith(text.slice(0, -1)))
704
704
  );
705
705
  var patchStep = (steps, id, fn) => steps.map((s) => s.id === id ? fn(s) : s);
706
+ var summaryOf = (summary) => typeof summary === "string" && summary.trim() ? { summary: summary.slice(0, 4e3) } : {};
706
707
  var withoutSkillBody = (a) => {
707
708
  if (!a.skill || a.skill.body === void 0) return a;
708
709
  const { body: _body, ...skill } = a.skill;
@@ -788,13 +789,20 @@ var answerQuestion = (state, event) => state.questions?.some((q) => q.id === eve
788
789
  } : state;
789
790
  var patchSubagent = (subagents, id, fn) => subagents.map((s) => s.id === id ? fn(s) : s);
790
791
  var runningStepId = (steps) => [...steps].reverse().find((s) => s.status === "running")?.id;
792
+ var stepPlace = (index, total) => {
793
+ const whole = (n) => typeof n === "number" && Number.isInteger(n);
794
+ if (whole(index) && whole(total) && index >= 1 && total >= index) return `${index}/${total}`;
795
+ if (whole(index) && index >= 0 && total === void 0) return String(index + 1);
796
+ if (whole(index) && index >= 1) return String(index);
797
+ return "?";
798
+ };
791
799
  var applySubagentEvent = (view, event) => {
792
800
  switch (event.type) {
793
801
  case "step.start":
794
802
  return {
795
803
  ...view,
796
804
  steps: view.steps + 1,
797
- activity: `step ${event.index}/${event.total}: ${event.step.description}`,
805
+ activity: `step ${stepPlace(event.index, event.total)}: ${event.step.description}`,
798
806
  // Known only when the child runs with model tiers.
799
807
  ...event.model !== void 0 ? { model: event.model } : {},
800
808
  ...event.tier !== void 0 ? { tier: event.tier } : {}
@@ -982,6 +990,7 @@ var applySubagent = (state, event, ancestors, ctx) => {
982
990
  },
983
991
  ...inner.skill ? { skill: inner.skill } : {},
984
992
  ...inner.rule ? { rule: inner.rule } : {},
993
+ ...summaryOf(inner.summary),
985
994
  ...ctx.remote ? { remote: true } : {},
986
995
  status: "pending"
987
996
  }
@@ -1517,6 +1526,7 @@ var applyEvent = (state, event, ctx) => {
1517
1526
  ...event.app ? { app: event.app } : {},
1518
1527
  ...event.skill ? { skill: event.skill } : {},
1519
1528
  ...event.rule ? { rule: event.rule } : {},
1529
+ ...summaryOf(event.summary),
1520
1530
  // Asked in the tab that runs the tool: shown here, answered there.
1521
1531
  ...ctx.remote ? { remote: true } : {},
1522
1532
  status: "pending"
@@ -16,7 +16,7 @@ import {
16
16
  remoteAnswerOf,
17
17
  trackPageFocus,
18
18
  withoutAskOnSend
19
- } from "./chunk-3TMUUU3O.js";
19
+ } from "./chunk-ETYLHTPK.js";
20
20
 
21
21
  // src/remote-controller.ts
22
22
  var createSseParser = (onFrame, onRetry) => {
package/dist/index.cjs CHANGED
@@ -442,6 +442,7 @@ var sentEntryOf = (queued, text2) => queued.findIndex(
442
442
  (q) => q.sentTo === "another-tab" && (q.text === text2 || text2.endsWith("…") && q.text.length > text2.length && q.text.startsWith(text2.slice(0, -1)))
443
443
  );
444
444
  var patchStep = (steps, id, fn) => steps.map((s) => s.id === id ? fn(s) : s);
445
+ var summaryOf = (summary) => typeof summary === "string" && summary.trim() ? { summary: summary.slice(0, 4e3) } : {};
445
446
  var withoutSkillBody = (a) => {
446
447
  if (!a.skill || a.skill.body === void 0) return a;
447
448
  const { body: _body, ...skill } = a.skill;
@@ -527,13 +528,20 @@ var answerQuestion = (state, event) => state.questions?.some((q) => q.id === eve
527
528
  } : state;
528
529
  var patchSubagent = (subagents, id, fn) => subagents.map((s) => s.id === id ? fn(s) : s);
529
530
  var runningStepId = (steps) => [...steps].reverse().find((s) => s.status === "running")?.id;
531
+ var stepPlace = (index, total) => {
532
+ const whole = (n) => typeof n === "number" && Number.isInteger(n);
533
+ if (whole(index) && whole(total) && index >= 1 && total >= index) return `${index}/${total}`;
534
+ if (whole(index) && index >= 0 && total === void 0) return String(index + 1);
535
+ if (whole(index) && index >= 1) return String(index);
536
+ return "?";
537
+ };
530
538
  var applySubagentEvent = (view, event) => {
531
539
  switch (event.type) {
532
540
  case "step.start":
533
541
  return {
534
542
  ...view,
535
543
  steps: view.steps + 1,
536
- activity: `step ${event.index}/${event.total}: ${event.step.description}`,
544
+ activity: `step ${stepPlace(event.index, event.total)}: ${event.step.description}`,
537
545
  // Known only when the child runs with model tiers.
538
546
  ...event.model !== void 0 ? { model: event.model } : {},
539
547
  ...event.tier !== void 0 ? { tier: event.tier } : {}
@@ -721,6 +729,7 @@ var applySubagent = (state, event, ancestors, ctx) => {
721
729
  },
722
730
  ...inner.skill ? { skill: inner.skill } : {},
723
731
  ...inner.rule ? { rule: inner.rule } : {},
732
+ ...summaryOf(inner.summary),
724
733
  ...ctx.remote ? { remote: true } : {},
725
734
  status: "pending"
726
735
  }
@@ -1275,6 +1284,7 @@ var applyEvent = (state, event, ctx) => {
1275
1284
  ...event.app ? { app: event.app } : {},
1276
1285
  ...event.skill ? { skill: event.skill } : {},
1277
1286
  ...event.rule ? { rule: event.rule } : {},
1287
+ ...summaryOf(event.summary),
1278
1288
  // Asked in the tab that runs the tool: shown here, answered there.
1279
1289
  ...ctx.remote ? { remote: true } : {},
1280
1290
  status: "pending"
package/dist/index.d.cts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as Core from '@dudko.dev/agent-web';
2
2
  import { AgentEvent, IUsage, Skill, ToolApprovalRequest, ToolApprovalContext, ToolApprovalDecision } from '@dudko.dev/agent-web';
3
- import { A as AgentUiState, C as ChatAttachment, R as RemoteRunView, L as LessonView, a as ChatMessage, b as ApprovalView, S as SubagentView, i as SubagentNode } from './types-DnBCok3z.cjs';
4
- export { h as AgentStatus, j as AppView, B as BrowserOAuthProvider, k as BrowserOAuthProviderOptions, l as BudgetView, m as CompactionView, n as ConnectedMcp, D as DecisionView, E as ElicitationView, F as FetchView, o as McpAppsConnectionLike, p as McpCatalogEntry, M as McpElicitationFieldSchema, c as McpElicitationHandler, f as McpElicitationOptions, d as McpElicitationRequest, e as McpElicitationResult, g as McpElicitationSchema, q as McpHttpServerConfig, r as McpModule, s as McpOAuthCallback, t as McpOAuthRegistration, u as McpOAuthRegistrationKind, v as McpProtocolMode, w as McpServerInstructions, x as McpServerProtocol, y as McpServerResult, z as MediaView, G as ModelLoadState, Q as QuestionView, H as QueuedMessageView, I as ReplanState, J as SkillConsentView, K as StepEscalationView, N as StepView, T as ToolCallView, O as TranscriptView, U as UserNoteView, W as WrittenFileView } from './types-DnBCok3z.cjs';
5
- export { a as ATTACHMENT_BOUNDS, b as AgentLabels, A as AgentLabelsOverride, c as AttachmentBounds, d as AttachmentFiles, e as AttachmentOverLimit, f as AttachmentTextOptions, g as AttachmentTransform, C as ComposerAttachment, h as ComposerNotice, E as ELICITATION_MAX_OPTIONS, i as ELICITATION_TIMEOUT_MS, j as ELICITATION_VALUE_MAX_CHARS, k as ElicitationControl, l as ElicitationDraft, m as ElicitationDraftValue, n as ElicitationField, o as ElicitationFormOutcome, p as ElicitationIssue, q as ElicitationIssueKind, r as ElicitationLink, s as ElicitationOption, t as ElicitationOutcomeReason, u as ElicitationQueue, v as ElicitationQueueOptions, F as FileKind, I as INPUT_COUNTER_FROM, M as MenuSection, N as NotReadyInput, w as NotReadyIntent, x as NotReadyReason, y as NoticeTexts, P as PendingElicitation, S as SavedAttachments, z as SlashCommand, B as SteerIntent, T as TextExcerpt, W as WaitingSendStep, D as attachmentFileName, G as attachmentKindOf, H as attachmentLabel, J as attachmentOverLimit, K as attachmentRefusal, L as attachmentTransformOf, O as boxLength, Q as createElicitationQueue, R as dataUrlParts, U as defaultLabels, V as defaultNoticeTexts, X as elicitationConnectOptions, Y as elicitationFields, Z as elicitationFormAnswer, _ as elicitationInitialDraft, $ as elicitationLink, a0 as elicitationSettings, a1 as elicitationTimeoutOf, a2 as excerptNote, a3 as fileKindOf, a4 as fileNameOf, a5 as filterCommands, a6 as formatClock, a7 as formatCountdown, a8 as formatElapsed, a9 as freeAttachmentPath, aa as inputCounterShown, ab as insertionFits, ac as isOneCharacter, ad as lineCountOf, ae as longTextName, af as longTextRoute, ag as mediaFamilyOf, ah as menuKeyTarget, ai as menuSections, aj as mergeLabels, ak as messageOverLimit, al as micProblemText, am as notReadyIntent, an as notReadyReason, ao as noticesOf, ap as overflowOf, aq as parseSlash, ar as saveAttachments, as as steerIntent, at as textExcerpt, au as voiceMessageName, av as waitingSendStep, aw as withAttachments } from './labels-Dnh2tn8S.cjs';
3
+ import { A as AgentUiState, C as ChatAttachment, R as RemoteRunView, L as LessonView, a as ChatMessage, b as ApprovalView, S as SubagentView, i as SubagentNode } from './types-CHFtTZjl.cjs';
4
+ export { h as AgentStatus, j as AppView, B as BrowserOAuthProvider, k as BrowserOAuthProviderOptions, l as BudgetView, m as CompactionView, n as ConnectedMcp, D as DecisionView, E as ElicitationView, F as FetchView, o as McpAppsConnectionLike, p as McpCatalogEntry, M as McpElicitationFieldSchema, c as McpElicitationHandler, f as McpElicitationOptions, d as McpElicitationRequest, e as McpElicitationResult, g as McpElicitationSchema, q as McpHttpServerConfig, r as McpModule, s as McpOAuthCallback, t as McpOAuthRegistration, u as McpOAuthRegistrationKind, v as McpProtocolMode, w as McpServerInstructions, x as McpServerProtocol, y as McpServerResult, z as MediaView, G as ModelLoadState, Q as QuestionView, H as QueuedMessageView, I as ReplanState, J as SkillConsentView, K as StepEscalationView, N as StepView, T as ToolCallView, O as TranscriptView, U as UserNoteView, W as WrittenFileView } from './types-CHFtTZjl.cjs';
5
+ export { a as ATTACHMENT_BOUNDS, b as AgentLabels, A as AgentLabelsOverride, c as AttachmentBounds, d as AttachmentFiles, e as AttachmentOverLimit, f as AttachmentTextOptions, g as AttachmentTransform, C as ComposerAttachment, h as ComposerNotice, E as ELICITATION_MAX_OPTIONS, i as ELICITATION_TIMEOUT_MS, j as ELICITATION_VALUE_MAX_CHARS, k as ElicitationControl, l as ElicitationDraft, m as ElicitationDraftValue, n as ElicitationField, o as ElicitationFormOutcome, p as ElicitationIssue, q as ElicitationIssueKind, r as ElicitationLink, s as ElicitationOption, t as ElicitationOutcomeReason, u as ElicitationQueue, v as ElicitationQueueOptions, F as FileKind, I as INPUT_COUNTER_FROM, M as MenuSection, N as NotReadyInput, w as NotReadyIntent, x as NotReadyReason, y as NoticeTexts, P as PendingElicitation, S as SavedAttachments, z as SlashCommand, B as SteerIntent, T as TextExcerpt, W as WaitingSendStep, D as attachmentFileName, G as attachmentKindOf, H as attachmentLabel, J as attachmentOverLimit, K as attachmentRefusal, L as attachmentTransformOf, O as boxLength, Q as createElicitationQueue, R as dataUrlParts, U as defaultLabels, V as defaultNoticeTexts, X as elicitationConnectOptions, Y as elicitationFields, Z as elicitationFormAnswer, _ as elicitationInitialDraft, $ as elicitationLink, a0 as elicitationSettings, a1 as elicitationTimeoutOf, a2 as excerptNote, a3 as fileKindOf, a4 as fileNameOf, a5 as filterCommands, a6 as formatClock, a7 as formatCountdown, a8 as formatElapsed, a9 as freeAttachmentPath, aa as inputCounterShown, ab as insertionFits, ac as isOneCharacter, ad as lineCountOf, ae as longTextName, af as longTextRoute, ag as mediaFamilyOf, ah as menuKeyTarget, ai as menuSections, aj as mergeLabels, ak as messageOverLimit, al as micProblemText, am as notReadyIntent, an as notReadyReason, ao as noticesOf, ap as overflowOf, aq as parseSlash, ar as saveAttachments, as as steerIntent, at as textExcerpt, au as voiceMessageName, av as waitingSendStep, aw as withAttachments } from './labels-D-NI4hKW.cjs';
6
6
  export { G as GeolocationCollect, d as PAGE_CONTEXT_ASK_ON_SEND, e as PAGE_CONTEXT_MAX_CHARS, f as PAGE_CONTEXT_SELECTION_MAX, g as PAGE_CONTEXT_VALUE_MAX, a as PageContext, h as PageContextCollect, b as PageContextCollector, i as PageContextElement, j as PageContextEnv, P as PageContextOptions, k as PageContextValue, l as PageFocusTracker, m as addressWithoutQuery, n as capPageContext, c as createPageContextCollector, o as focusEntries, p as headingsInView, q as isEditableElement, r as isSecretField, s as pageContextOff, u as pageContextRows, v as roundCoordinate, t as trackPageFocus, w as withoutAskOnSend } from './page-context-BAmw4p6d.cjs';
7
7
  export { A as ASK_USER_TOOL_NAME, P as PendingQuestion, a as QUESTION_TIMEOUT_MS, Q as QuestionOutcomeReason, b as QuestionQueue, c as QuestionQueueOptions, d as askUserOutputKept, e as askUserWith, f as createQuestionQueue, q as questionChoiceOf, g as questionOtherOf, h as questionTimeoutOf, w as withoutOwnWords } from './questions-Dw--IEjT.cjs';
8
8
  import './mcp-app.cjs';
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as Core from '@dudko.dev/agent-web';
2
2
  import { AgentEvent, IUsage, Skill, ToolApprovalRequest, ToolApprovalContext, ToolApprovalDecision } from '@dudko.dev/agent-web';
3
- import { A as AgentUiState, C as ChatAttachment, R as RemoteRunView, L as LessonView, a as ChatMessage, b as ApprovalView, S as SubagentView, i as SubagentNode } from './types-DnBCok3z.js';
4
- export { h as AgentStatus, j as AppView, B as BrowserOAuthProvider, k as BrowserOAuthProviderOptions, l as BudgetView, m as CompactionView, n as ConnectedMcp, D as DecisionView, E as ElicitationView, F as FetchView, o as McpAppsConnectionLike, p as McpCatalogEntry, M as McpElicitationFieldSchema, c as McpElicitationHandler, f as McpElicitationOptions, d as McpElicitationRequest, e as McpElicitationResult, g as McpElicitationSchema, q as McpHttpServerConfig, r as McpModule, s as McpOAuthCallback, t as McpOAuthRegistration, u as McpOAuthRegistrationKind, v as McpProtocolMode, w as McpServerInstructions, x as McpServerProtocol, y as McpServerResult, z as MediaView, G as ModelLoadState, Q as QuestionView, H as QueuedMessageView, I as ReplanState, J as SkillConsentView, K as StepEscalationView, N as StepView, T as ToolCallView, O as TranscriptView, U as UserNoteView, W as WrittenFileView } from './types-DnBCok3z.js';
5
- export { a as ATTACHMENT_BOUNDS, b as AgentLabels, A as AgentLabelsOverride, c as AttachmentBounds, d as AttachmentFiles, e as AttachmentOverLimit, f as AttachmentTextOptions, g as AttachmentTransform, C as ComposerAttachment, h as ComposerNotice, E as ELICITATION_MAX_OPTIONS, i as ELICITATION_TIMEOUT_MS, j as ELICITATION_VALUE_MAX_CHARS, k as ElicitationControl, l as ElicitationDraft, m as ElicitationDraftValue, n as ElicitationField, o as ElicitationFormOutcome, p as ElicitationIssue, q as ElicitationIssueKind, r as ElicitationLink, s as ElicitationOption, t as ElicitationOutcomeReason, u as ElicitationQueue, v as ElicitationQueueOptions, F as FileKind, I as INPUT_COUNTER_FROM, M as MenuSection, N as NotReadyInput, w as NotReadyIntent, x as NotReadyReason, y as NoticeTexts, P as PendingElicitation, S as SavedAttachments, z as SlashCommand, B as SteerIntent, T as TextExcerpt, W as WaitingSendStep, D as attachmentFileName, G as attachmentKindOf, H as attachmentLabel, J as attachmentOverLimit, K as attachmentRefusal, L as attachmentTransformOf, O as boxLength, Q as createElicitationQueue, R as dataUrlParts, U as defaultLabels, V as defaultNoticeTexts, X as elicitationConnectOptions, Y as elicitationFields, Z as elicitationFormAnswer, _ as elicitationInitialDraft, $ as elicitationLink, a0 as elicitationSettings, a1 as elicitationTimeoutOf, a2 as excerptNote, a3 as fileKindOf, a4 as fileNameOf, a5 as filterCommands, a6 as formatClock, a7 as formatCountdown, a8 as formatElapsed, a9 as freeAttachmentPath, aa as inputCounterShown, ab as insertionFits, ac as isOneCharacter, ad as lineCountOf, ae as longTextName, af as longTextRoute, ag as mediaFamilyOf, ah as menuKeyTarget, ai as menuSections, aj as mergeLabels, ak as messageOverLimit, al as micProblemText, am as notReadyIntent, an as notReadyReason, ao as noticesOf, ap as overflowOf, aq as parseSlash, ar as saveAttachments, as as steerIntent, at as textExcerpt, au as voiceMessageName, av as waitingSendStep, aw as withAttachments } from './labels-h-grbo5N.js';
3
+ import { A as AgentUiState, C as ChatAttachment, R as RemoteRunView, L as LessonView, a as ChatMessage, b as ApprovalView, S as SubagentView, i as SubagentNode } from './types-CHFtTZjl.js';
4
+ export { h as AgentStatus, j as AppView, B as BrowserOAuthProvider, k as BrowserOAuthProviderOptions, l as BudgetView, m as CompactionView, n as ConnectedMcp, D as DecisionView, E as ElicitationView, F as FetchView, o as McpAppsConnectionLike, p as McpCatalogEntry, M as McpElicitationFieldSchema, c as McpElicitationHandler, f as McpElicitationOptions, d as McpElicitationRequest, e as McpElicitationResult, g as McpElicitationSchema, q as McpHttpServerConfig, r as McpModule, s as McpOAuthCallback, t as McpOAuthRegistration, u as McpOAuthRegistrationKind, v as McpProtocolMode, w as McpServerInstructions, x as McpServerProtocol, y as McpServerResult, z as MediaView, G as ModelLoadState, Q as QuestionView, H as QueuedMessageView, I as ReplanState, J as SkillConsentView, K as StepEscalationView, N as StepView, T as ToolCallView, O as TranscriptView, U as UserNoteView, W as WrittenFileView } from './types-CHFtTZjl.js';
5
+ export { a as ATTACHMENT_BOUNDS, b as AgentLabels, A as AgentLabelsOverride, c as AttachmentBounds, d as AttachmentFiles, e as AttachmentOverLimit, f as AttachmentTextOptions, g as AttachmentTransform, C as ComposerAttachment, h as ComposerNotice, E as ELICITATION_MAX_OPTIONS, i as ELICITATION_TIMEOUT_MS, j as ELICITATION_VALUE_MAX_CHARS, k as ElicitationControl, l as ElicitationDraft, m as ElicitationDraftValue, n as ElicitationField, o as ElicitationFormOutcome, p as ElicitationIssue, q as ElicitationIssueKind, r as ElicitationLink, s as ElicitationOption, t as ElicitationOutcomeReason, u as ElicitationQueue, v as ElicitationQueueOptions, F as FileKind, I as INPUT_COUNTER_FROM, M as MenuSection, N as NotReadyInput, w as NotReadyIntent, x as NotReadyReason, y as NoticeTexts, P as PendingElicitation, S as SavedAttachments, z as SlashCommand, B as SteerIntent, T as TextExcerpt, W as WaitingSendStep, D as attachmentFileName, G as attachmentKindOf, H as attachmentLabel, J as attachmentOverLimit, K as attachmentRefusal, L as attachmentTransformOf, O as boxLength, Q as createElicitationQueue, R as dataUrlParts, U as defaultLabels, V as defaultNoticeTexts, X as elicitationConnectOptions, Y as elicitationFields, Z as elicitationFormAnswer, _ as elicitationInitialDraft, $ as elicitationLink, a0 as elicitationSettings, a1 as elicitationTimeoutOf, a2 as excerptNote, a3 as fileKindOf, a4 as fileNameOf, a5 as filterCommands, a6 as formatClock, a7 as formatCountdown, a8 as formatElapsed, a9 as freeAttachmentPath, aa as inputCounterShown, ab as insertionFits, ac as isOneCharacter, ad as lineCountOf, ae as longTextName, af as longTextRoute, ag as mediaFamilyOf, ah as menuKeyTarget, ai as menuSections, aj as mergeLabels, ak as messageOverLimit, al as micProblemText, am as notReadyIntent, an as notReadyReason, ao as noticesOf, ap as overflowOf, aq as parseSlash, ar as saveAttachments, as as steerIntent, at as textExcerpt, au as voiceMessageName, av as waitingSendStep, aw as withAttachments } from './labels-CeJMN8NU.js';
6
6
  export { G as GeolocationCollect, d as PAGE_CONTEXT_ASK_ON_SEND, e as PAGE_CONTEXT_MAX_CHARS, f as PAGE_CONTEXT_SELECTION_MAX, g as PAGE_CONTEXT_VALUE_MAX, a as PageContext, h as PageContextCollect, b as PageContextCollector, i as PageContextElement, j as PageContextEnv, P as PageContextOptions, k as PageContextValue, l as PageFocusTracker, m as addressWithoutQuery, n as capPageContext, c as createPageContextCollector, o as focusEntries, p as headingsInView, q as isEditableElement, r as isSecretField, s as pageContextOff, u as pageContextRows, v as roundCoordinate, t as trackPageFocus, w as withoutAskOnSend } from './page-context-BAmw4p6d.js';
7
7
  export { A as ASK_USER_TOOL_NAME, P as PendingQuestion, a as QUESTION_TIMEOUT_MS, Q as QuestionOutcomeReason, b as QuestionQueue, c as QuestionQueueOptions, d as askUserOutputKept, e as askUserWith, f as createQuestionQueue, q as questionChoiceOf, g as questionOtherOf, h as questionTimeoutOf, w as withoutOwnWords } from './questions-Dw--IEjT.js';
8
8
  import './mcp-app.js';
package/dist/index.js CHANGED
@@ -64,7 +64,7 @@ import {
64
64
  trackPageFocus,
65
65
  withoutAskOnSend,
66
66
  withoutOwnWords
67
- } from "./chunk-3TMUUU3O.js";
67
+ } from "./chunk-ETYLHTPK.js";
68
68
 
69
69
  // src/composer.ts
70
70
  var parseSlash = (text2) => {
@@ -1,5 +1,5 @@
1
1
  import { ToolApprovalMode, ModelTier, TierReason, EscalationReason, DecisionFallbackReason } from '@dudko.dev/agent-web';
2
- import { A as AgentUiState, M as McpElicitationFieldSchema, c as McpElicitationHandler, d as McpElicitationRequest, e as McpElicitationResult, f as McpElicitationOptions, g as McpElicitationSchema, h as AgentStatus } from './types-DnBCok3z.js';
2
+ import { A as AgentUiState, M as McpElicitationFieldSchema, c as McpElicitationHandler, d as McpElicitationRequest, e as McpElicitationResult, f as McpElicitationOptions, g as McpElicitationSchema, h as AgentStatus } from './types-CHFtTZjl.js';
3
3
  import { McpAppSandboxReason } from './mcp-app.js';
4
4
  import { Q as QuestionOutcomeReason } from './questions-Dw--IEjT.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { ToolApprovalMode, ModelTier, TierReason, EscalationReason, DecisionFallbackReason } from '@dudko.dev/agent-web';
2
- import { A as AgentUiState, M as McpElicitationFieldSchema, c as McpElicitationHandler, d as McpElicitationRequest, e as McpElicitationResult, f as McpElicitationOptions, g as McpElicitationSchema, h as AgentStatus } from './types-DnBCok3z.cjs';
2
+ import { A as AgentUiState, M as McpElicitationFieldSchema, c as McpElicitationHandler, d as McpElicitationRequest, e as McpElicitationResult, f as McpElicitationOptions, g as McpElicitationSchema, h as AgentStatus } from './types-CHFtTZjl.cjs';
3
3
  import { McpAppSandboxReason } from './mcp-app.cjs';
4
4
  import { Q as QuestionOutcomeReason } from './questions-Dw--IEjT.cjs';
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  export { c as catalog } from '../en-CPCAidve.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  export { c as catalog } from '../en-CPCAidve.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -2,7 +2,7 @@ import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { A as AgentLabelCatalog } from '../types-B5cyqkWY.cjs';
3
3
  export { a as AgentLabelEntry, b as AgentLabelKey, c as AgentLabelPlural, d as AgentLabelPluralCategory } from '../types-B5cyqkWY.cjs';
4
4
  import '@dudko.dev/agent-web';
5
- import '../types-DnBCok3z.cjs';
5
+ import '../types-CHFtTZjl.cjs';
6
6
  import '../mcp-app.cjs';
7
7
  import '../mcp-app-policy-DXKQ2jjM.cjs';
8
8
  import '../questions-Dw--IEjT.cjs';
@@ -2,7 +2,7 @@ import { AgentLabelsOverride } from '../index.js';
2
2
  import { A as AgentLabelCatalog } from '../types-BgNjWN5Z.js';
3
3
  export { a as AgentLabelEntry, b as AgentLabelKey, c as AgentLabelPlural, d as AgentLabelPluralCategory } from '../types-BgNjWN5Z.js';
4
4
  import '@dudko.dev/agent-web';
5
- import '../types-DnBCok3z.js';
5
+ import '../types-CHFtTZjl.js';
6
6
  import '../mcp-app.js';
7
7
  import '../mcp-app-policy-DXKQ2jjM.js';
8
8
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.cjs';
2
2
  import { AgentLabelCatalog } from './index.cjs';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.cjs';
4
+ import '../types-CHFtTZjl.cjs';
5
5
  import '../mcp-app.cjs';
6
6
  import '../mcp-app-policy-DXKQ2jjM.cjs';
7
7
  import '../questions-Dw--IEjT.cjs';
@@ -1,7 +1,7 @@
1
1
  import { AgentLabelsOverride } from '../index.js';
2
2
  import { AgentLabelCatalog } from './index.js';
3
3
  import '@dudko.dev/agent-web';
4
- import '../types-DnBCok3z.js';
4
+ import '../types-CHFtTZjl.js';
5
5
  import '../mcp-app.js';
6
6
  import '../mcp-app-policy-DXKQ2jjM.js';
7
7
  import '../questions-Dw--IEjT.js';
package/dist/pipeline.cjs CHANGED
@@ -693,6 +693,7 @@ var defaultPipelineLabels = {
693
693
  activityReplanning: "checking the plan…",
694
694
  activityAnswering: "writing the answer…",
695
695
  activityStep: (index, total, step) => `${index}/${total} ${step}`,
696
+ activityStepAt: (index, step) => `${index} ${step}`,
696
697
  activityTool: (name) => `tool: ${name}`,
697
698
  skippedBy: {
698
699
  maxNodeVisits: "visit limit reached",
@@ -255,6 +255,8 @@ interface PipelineLabels {
255
255
  activityReplanning: string;
256
256
  activityAnswering: string;
257
257
  activityStep: (index: number, total: number, step: string) => string;
258
+ /** A step whose plan length is not known (an older server's event): its 1-based place alone. */
259
+ activityStepAt: (index: number, step: string) => string;
258
260
  activityTool: (name: string) => string;
259
261
  skippedBy: Record<'maxRuns' | 'maxNodeVisits', string>;
260
262
  inspector: string;
@@ -255,6 +255,8 @@ interface PipelineLabels {
255
255
  activityReplanning: string;
256
256
  activityAnswering: string;
257
257
  activityStep: (index: number, total: number, step: string) => string;
258
+ /** A step whose plan length is not known (an older server's event): its 1-based place alone. */
259
+ activityStepAt: (index: number, step: string) => string;
258
260
  activityTool: (name: string) => string;
259
261
  skippedBy: Record<'maxRuns' | 'maxNodeVisits', string>;
260
262
  inspector: string;
package/dist/pipeline.js CHANGED
@@ -627,6 +627,7 @@ var defaultPipelineLabels = {
627
627
  activityReplanning: "checking the plan…",
628
628
  activityAnswering: "writing the answer…",
629
629
  activityStep: (index, total, step) => `${index}/${total} ${step}`,
630
+ activityStepAt: (index, step) => `${index} ${step}`,
630
631
  activityTool: (name) => `tool: ${name}`,
631
632
  skippedBy: {
632
633
  maxNodeVisits: "visit limit reached",
package/dist/styles.css CHANGED
@@ -853,6 +853,10 @@
853
853
  white-space: pre-wrap;
854
854
  word-break: break-word;
855
855
  }
856
+ .awr-approval__summary {
857
+ max-height: 240px;
858
+ overflow: auto;
859
+ }
856
860
  .awr-approval__actions {
857
861
  display: flex;
858
862
  gap: 6px;
@@ -598,6 +598,12 @@ interface ApprovalView {
598
598
  * `<ToolApprovalPrompt>` offers no "Always allow" on it by default.
599
599
  */
600
600
  rule?: string;
601
+ /**
602
+ * The tool's own words about the call (the core's `summary`, `withApprovalSummary`): a write's
603
+ * path and line counts, a commit's message. Plain text from the host: show it as text, in place
604
+ * of the raw input (`<ToolApprovalPrompt>` does).
605
+ */
606
+ summary?: string;
601
607
  }
602
608
  /** What a person is shown of an MCP server's skill (the core's `McpSkillConsentView`). */
603
609
  type SkillConsentView = Omit<McpSkillConsentView, 'body'> & {
@@ -598,6 +598,12 @@ interface ApprovalView {
598
598
  * `<ToolApprovalPrompt>` offers no "Always allow" on it by default.
599
599
  */
600
600
  rule?: string;
601
+ /**
602
+ * The tool's own words about the call (the core's `summary`, `withApprovalSummary`): a write's
603
+ * path and line counts, a commit's message. Plain text from the host: show it as text, in place
604
+ * of the raw input (`<ToolApprovalPrompt>` does).
605
+ */
606
+ summary?: string;
601
607
  }
602
608
  /** What a person is shown of an MCP server's skill (the core's `McpSkillConsentView`). */
603
609
  type SkillConsentView = Omit<McpSkillConsentView, 'body'> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dudko.dev/agent-web-ui",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "private": false,
5
5
  "description": "The framework-free UI logic of @dudko.dev/agent-web, the in-browser LLM agent: the headless reducer that turns the agent's events into UI state, every UI string, the composer's and transcript's pure helpers, voice, saved chats, the sandboxed-frame and MCP Apps security cores, the MCP Apps sandbox page for a server, and the pipeline editor's logic - plus the stylesheets. No React: build a front end for any framework on it.",
6
6
  "type": "module",
@@ -192,7 +192,7 @@
192
192
  "prettier": "^3.10.1",
193
193
  "tsup": "^9.0.0",
194
194
  "typescript": "^6.0.3",
195
- "@dudko.dev/agent-web": "0.0.55",
195
+ "@dudko.dev/agent-web": "0.0.56",
196
196
  "@dudko.dev/test-servers": "0.0.0"
197
197
  },
198
198
  "scripts": {