@llmnative/agentico 0.22.0 → 0.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -362,21 +362,25 @@ var Le = {
362
362
  routingNotOffered: "Not here",
363
363
  routingOnlyAnchored: "Only on its own page",
364
364
  routingNoRouting: "The app sets no routing: every subagent and tool is offered everywhere.",
365
- routingSubagentsIntro: "A subagent is offered on the paths that trigger it. Click a box to change its paths or the tools it uses.",
365
+ routingSubagentsIntro: "Offered on the paths that trigger it. Click a box to change it.",
366
366
  routingWhere: "Where",
367
367
  routingEverywhere: "Everywhere",
368
368
  routingNowhere: "No path: only when opened from its own page.",
369
369
  routingUses: "Tools",
370
370
  routingNoTools: "No tools",
371
371
  routingModified: "Modified",
372
- routingToolsIntro: "A data-collection tool is used by the subagents shown, or by all of them, and is offered wherever one of them is. Click a box to choose them.",
372
+ routingToolsIntro: "Offered wherever a subagent that uses it is. Click a box to change it.",
373
373
  routingUsedBy: "Used by",
374
374
  routingAllSubagents: "All subagents",
375
375
  routingNoSubagents: "No subagent",
376
- routingPagesIntro: "The context tells the model where the person is. The first rule whose pattern matches the path wins; it comes before what the page itself says.",
376
+ routingPagesIntro: "Context for the model: the first matching rule wins.",
377
377
  routingNoPage: "No rule for this path: no context.",
378
378
  routingTryPath: "Try a path",
379
379
  routingTryPathFeedback: "Query and hash do not count.",
380
+ routingTryPathCount: "{count} of {total} match. Query and hash do not count.",
381
+ routingNoMatch: "Nothing matches this path.",
382
+ routingApplies: "Applies",
383
+ routingOverridden: "Overridden by #{n}",
380
384
  routingOriginDefault: "Default",
381
385
  routingOriginModified: "Modified",
382
386
  routingOriginAdded: "Added",
@@ -527,21 +531,25 @@ var Le = {
527
531
  routingNotOffered: "Non qui",
528
532
  routingOnlyAnchored: "Solo nella sua pagina",
529
533
  routingNoRouting: "L'app non imposta regole: ogni sottoagente e strumento è offerto ovunque.",
530
- routingSubagentsIntro: "Un sottoagente è offerto sui percorsi che lo attivano. Clicca su un riquadro per cambiare i percorsi o gli strumenti che usa.",
534
+ routingSubagentsIntro: "Offerto sui percorsi che lo attivano. Clicca un riquadro per modificarlo.",
531
535
  routingWhere: "Dove si usa",
532
536
  routingEverywhere: "Ovunque",
533
537
  routingNowhere: "Nessun percorso: solo quando lo apre la sua pagina.",
534
538
  routingUses: "Strumenti",
535
539
  routingNoTools: "Nessuno strumento",
536
540
  routingModified: "Modificato",
537
- routingToolsIntro: "Uno strumento di raccolta dati è usato dai sottoagenti indicati, o da tutti, ed è offerto dove lo è uno di loro. Clicca su un riquadro per sceglierli.",
541
+ routingToolsIntro: "Offerto dove lo è un sottoagente che lo usa. Clicca un riquadro per modificarlo.",
538
542
  routingUsedBy: "Usato da",
539
543
  routingAllSubagents: "Tutti i sottoagenti",
540
544
  routingNoSubagents: "Nessun sottoagente",
541
- routingPagesIntro: "Il contesto dice al modello dove si trova la persona. Vale la prima regola il cui pattern corrisponde al percorso; viene prima di quello che dice la pagina stessa.",
545
+ routingPagesIntro: "Contesto per il modello: vale la prima regola che corrisponde.",
542
546
  routingNoPage: "Nessuna regola per questo percorso: nessun contesto.",
543
547
  routingTryPath: "Prova un percorso",
544
548
  routingTryPathFeedback: "Query e hash non contano.",
549
+ routingTryPathCount: "{count} su {total} corrispondono. Query e hash non contano.",
550
+ routingNoMatch: "Niente corrisponde a questo percorso.",
551
+ routingApplies: "Vale",
552
+ routingOverridden: "Superata dalla n. {n}",
545
553
  routingOriginDefault: "Predefinita",
546
554
  routingOriginModified: "Modificata",
547
555
  routingOriginAdded: "Aggiunta",
@@ -692,21 +700,25 @@ var Le = {
692
700
  routingNotOffered: "Nicht hier",
693
701
  routingOnlyAnchored: "Nur auf seiner Seite",
694
702
  routingNoRouting: "Die App legt kein Routing fest: jeder Subagent und jedes Werkzeug wird überall angeboten.",
695
- routingSubagentsIntro: "Ein Subagent wird auf den Pfaden angeboten, die ihn auslösen. Klicke auf eine Karte, um seine Pfade oder Werkzeuge zu ändern.",
703
+ routingSubagentsIntro: "Angeboten auf den Pfaden, die ihn auslösen. Klicke auf eine Karte, um sie zu ändern.",
696
704
  routingWhere: "Wo",
697
705
  routingEverywhere: "Überall",
698
706
  routingNowhere: "Kein Pfad: nur wenn ihn seine Seite öffnet.",
699
707
  routingUses: "Werkzeuge",
700
708
  routingNoTools: "Keine Werkzeuge",
701
709
  routingModified: "Geändert",
702
- routingToolsIntro: "Ein Werkzeug zur Datenerfassung wird von den angezeigten Subagenten oder von allen genutzt und dort angeboten, wo einer von ihnen angeboten wird. Klicke auf eine Karte, um sie zu wählen.",
710
+ routingToolsIntro: "Angeboten, wo ein Subagent angeboten wird, der es nutzt. Klicke auf eine Karte, um sie zu ändern.",
703
711
  routingUsedBy: "Genutzt von",
704
712
  routingAllSubagents: "Alle Subagenten",
705
713
  routingNoSubagents: "Kein Subagent",
706
- routingPagesIntro: "Der Kontext sagt dem Modell, wo die Person ist. Es gilt die erste Regel, deren Muster zum Pfad passt; sie steht vor dem, was die Seite selbst sagt.",
714
+ routingPagesIntro: "Kontext für das Modell: es gilt die erste passende Regel.",
707
715
  routingNoPage: "Keine Regel für diesen Pfad: kein Kontext.",
708
716
  routingTryPath: "Pfad testen",
709
717
  routingTryPathFeedback: "Query und Hash zählen nicht.",
718
+ routingTryPathCount: "{count} von {total} passen. Query und Hash zählen nicht.",
719
+ routingNoMatch: "Nichts passt zu diesem Pfad.",
720
+ routingApplies: "Gilt",
721
+ routingOverridden: "Überdeckt von Nr. {n}",
710
722
  routingOriginDefault: "Standard",
711
723
  routingOriginModified: "Geändert",
712
724
  routingOriginAdded: "Hinzugefügt",
@@ -3886,7 +3898,7 @@ function Nr({ title: e, titleBefore: t, onClose: r, onSave: i, onRestore: a, err
3886
3898
  let c = Q(), [l, u] = H(!1);
3887
3899
  return /* @__PURE__ */ W(x, {
3888
3900
  title: t ? /* @__PURE__ */ G("span", {
3889
- className: "flex items-center gap-3",
3901
+ className: "flex items-center gap-3 [&_form]:m-0",
3890
3902
  children: [t, /* @__PURE__ */ W("span", { children: e })]
3891
3903
  }) : e,
3892
3904
  position: "right",
@@ -3929,54 +3941,7 @@ function Nr({ title: e, titleBefore: t, onClose: r, onSave: i, onRestore: a, err
3929
3941
  })
3930
3942
  });
3931
3943
  }
3932
- function Pr({ t: e }) {
3933
- let { route: t } = $(), n = wr();
3934
- if (!t) return null;
3935
- let r = new Map(n.subagents.map((e) => [e.id, e.label])), o = t.subagentIds.filter((e) => !n.subagents.find((t) => t.id === e)?.onlyWhenAnchored);
3936
- return /* @__PURE__ */ W(a, { children: /* @__PURE__ */ G("dl", {
3937
- className: "grid grid-cols-[8rem_1fr] gap-x-3 gap-y-1 text-sm",
3938
- children: [
3939
- /* @__PURE__ */ W("dt", {
3940
- className: "text-muted-foreground",
3941
- children: e.routingHere
3942
- }),
3943
- /* @__PURE__ */ W("dd", { children: /* @__PURE__ */ W("code", {
3944
- className: "break-all text-xs",
3945
- children: t.path
3946
- }) }),
3947
- /* @__PURE__ */ W("dt", {
3948
- className: "text-muted-foreground",
3949
- children: e.routingContext
3950
- }),
3951
- /* @__PURE__ */ W("dd", {
3952
- className: "whitespace-pre-wrap",
3953
- children: t.context ?? /* @__PURE__ */ W("span", {
3954
- className: "text-muted-foreground",
3955
- children: e.routingNoContext
3956
- })
3957
- }),
3958
- /* @__PURE__ */ W("dt", {
3959
- className: "text-muted-foreground",
3960
- children: e.routingOfferedHere
3961
- }),
3962
- /* @__PURE__ */ G("dd", {
3963
- className: "flex flex-wrap gap-1",
3964
- children: [
3965
- o.length === 0 && /* @__PURE__ */ W("span", {
3966
- className: "text-muted-foreground",
3967
- children: e.routingNone
3968
- }),
3969
- o.map((e) => /* @__PURE__ */ W(i, {
3970
- variant: "success",
3971
- children: r.get(e) ?? e
3972
- }, e)),
3973
- /* @__PURE__ */ W(Or, { names: t.toolNames })
3974
- ]
3975
- })
3976
- ]
3977
- }) });
3978
- }
3979
- function Fr({ t: e, subagent: t, routing: a, defaults: o, modified: s, known: c, onSave: l, onClose: u }) {
3944
+ function Pr({ t: e, subagent: t, routing: a, defaults: o, modified: s, known: c, onSave: l, onClose: u }) {
3980
3945
  let f = a.subagents?.[t.id], p = V(0), m = (e) => ({
3981
3946
  key: p.current++,
3982
3947
  value: e
@@ -4121,23 +4086,81 @@ function Fr({ t: e, subagent: t, routing: a, defaults: o, modified: s, known: c,
4121
4086
  ]
4122
4087
  });
4123
4088
  }
4124
- function Ir({ onStack: e }) {
4125
- let { t, route: n, state: r, known: a, persist: o, notices: s } = Mr(), [c, l] = H(null), u = B(() => Ft(r.routing, a), [r.routing, a]), d = (t) => {
4126
- l(t), e?.(t !== null);
4089
+ function Fr({ text: e }) {
4090
+ return /* @__PURE__ */ W("p", {
4091
+ className: "text-sm text-muted-foreground",
4092
+ children: e
4093
+ });
4094
+ }
4095
+ function Ir() {
4096
+ let { routing: e } = $(), [t, n] = H(!1), [r, i] = H(e.path ?? ""), a = r.trim();
4097
+ return {
4098
+ open: t,
4099
+ path: r,
4100
+ setPath: i,
4101
+ filter: t && a || null,
4102
+ toggle: () => n((e) => !e)
4103
+ };
4104
+ }
4105
+ function Lr({ t: e, intro: t, tryPath: r, children: i }) {
4106
+ return /* @__PURE__ */ G("div", {
4107
+ className: "flex flex-wrap items-center gap-2",
4108
+ children: [
4109
+ /* @__PURE__ */ W("p", {
4110
+ className: "min-w-0 flex-1 text-xs text-muted-foreground",
4111
+ children: t
4112
+ }),
4113
+ /* @__PURE__ */ W(n, {
4114
+ icon: "search",
4115
+ label: e.routingTryPath,
4116
+ variant: r.open ? "primary" : "outline-secondary",
4117
+ ariaLabel: e.routingTryPath,
4118
+ onClick: r.toggle
4119
+ }),
4120
+ i
4121
+ ]
4122
+ });
4123
+ }
4124
+ function Rr({ t: e, tryPath: t, count: n, total: r }) {
4125
+ return t.open ? /* @__PURE__ */ W(h, {
4126
+ appearance: "empty",
4127
+ showNotice: !1,
4128
+ defaultValues: { tryPath: t.path },
4129
+ children: /* @__PURE__ */ W(T, {
4130
+ name: "tryPath",
4131
+ placeholder: "/sites/acme/en/pages/home",
4132
+ feedback: t.filter ? A(e.routingTryPathCount, {
4133
+ count: String(n),
4134
+ total: String(r)
4135
+ }) : e.routingTryPathFeedback,
4136
+ onChange: ({ value: e }) => t.setPath(String(e ?? ""))
4137
+ })
4138
+ }) : null;
4139
+ }
4140
+ function zr({ onStack: e }) {
4141
+ let { t, route: n, state: r, known: a, persist: o, notices: s } = Mr(), c = Ir(), l = c.filter === null ? a.subagents : a.subagents.filter((e) => !e.onlyWhenAnchored && Ct(r.routing.subagents?.[e.id]?.paths, c.filter)), [u, d] = H(null), f = B(() => Ft(r.routing, a), [r.routing, a]), p = (t) => {
4142
+ d(t), e?.(t !== null);
4127
4143
  };
4128
4144
  return /* @__PURE__ */ G("div", {
4129
4145
  className: "space-y-4",
4130
4146
  children: [
4131
4147
  s,
4132
- /* @__PURE__ */ W(Pr, { t }),
4133
- /* @__PURE__ */ W("p", {
4134
- className: "text-xs text-muted-foreground",
4135
- children: t.routingSubagentsIntro
4148
+ /* @__PURE__ */ W(Lr, {
4149
+ t,
4150
+ intro: t.routingSubagentsIntro,
4151
+ tryPath: c
4152
+ }),
4153
+ /* @__PURE__ */ W(Rr, {
4154
+ t,
4155
+ tryPath: c,
4156
+ count: l.length,
4157
+ total: a.subagents.length
4136
4158
  }),
4137
- a.subagents.map((e) => {
4138
- let a = r.routing.subagents?.[e.id]?.paths, o = Et(r.routing, e), s = n ? n.subagentIds.includes(e.id) && !e.onlyWhenAnchored : null;
4159
+ c.filter !== null && l.length === 0 && /* @__PURE__ */ W(Fr, { text: t.routingNoMatch }),
4160
+ l.map((e) => {
4161
+ let a = r.routing.subagents?.[e.id]?.paths, o = Et(r.routing, e), s = n && c.filter === null ? n.subagentIds.includes(e.id) && !e.onlyWhenAnchored : null;
4139
4162
  return /* @__PURE__ */ W(jr, {
4140
- onOpen: r.save ? () => d(e) : null,
4163
+ onOpen: r.save ? () => p(e) : null,
4141
4164
  children: /* @__PURE__ */ G("div", {
4142
4165
  className: "space-y-2",
4143
4166
  children: [
@@ -4201,26 +4224,26 @@ function Ir({ onStack: e }) {
4201
4224
  }),
4202
4225
  /* @__PURE__ */ W(Ar, {
4203
4226
  t,
4204
- issues: u.filter((t) => t.where === "subagent" && t.key === e.id)
4227
+ issues: f.filter((t) => t.where === "subagent" && t.key === e.id)
4205
4228
  })
4206
4229
  ]
4207
4230
  })
4208
4231
  }, e.id);
4209
4232
  }),
4210
- c && /* @__PURE__ */ W(Fr, {
4233
+ u && /* @__PURE__ */ W(Pr, {
4211
4234
  t,
4212
- subagent: c,
4235
+ subagent: u,
4213
4236
  routing: r.routing,
4214
4237
  defaults: r.defaults,
4215
- modified: !!r.changes.subagents?.[c.id],
4238
+ modified: !!r.changes.subagents?.[u.id],
4216
4239
  known: a,
4217
4240
  onSave: o,
4218
- onClose: () => d(null)
4241
+ onClose: () => p(null)
4219
4242
  })
4220
4243
  ]
4221
4244
  });
4222
4245
  }
4223
- function Lr({ t: e, tool: t, routing: n, known: r, onSave: i, onClose: a }) {
4246
+ function Br({ t: e, tool: t, routing: n, known: r, onSave: i, onClose: a }) {
4224
4247
  let o = r.subagents.filter((e) => (n.subagents?.[e.id]?.tools ?? e.crossAgentToolIds ?? []).includes(t.name)).map((e) => e.id), [s, c] = H(!!n.tools?.[t.name]?.everywhere), [l, u] = H(o), [f, p] = H([]), m = B(() => ({
4225
4248
  everywhere: s ? "true" : "",
4226
4249
  users: l
@@ -4279,22 +4302,30 @@ function Lr({ t: e, tool: t, routing: n, known: r, onSave: i, onClose: a }) {
4279
4302
  })]
4280
4303
  });
4281
4304
  }
4282
- function Rr({ onStack: e }) {
4283
- let { t, route: n, state: r, known: a, persist: o, notices: s } = Mr(), [c, l] = H(null), u = (t) => {
4284
- l(t), e?.(t !== null);
4305
+ function Vr({ onStack: e }) {
4306
+ let { t, route: n, state: r, known: a, persist: o, notices: s } = Mr(), c = Ir(), l = B(() => c.filter === null ? null : Dt(r.routing, c.filter, fe()).toolNames, [c.filter, r.routing]), u = l === null ? a.tools : a.tools.filter((e) => l.includes(e.name)), [d, f] = H(null), p = (t) => {
4307
+ f(t), e?.(t !== null);
4285
4308
  };
4286
4309
  return /* @__PURE__ */ G("div", {
4287
4310
  className: "space-y-4",
4288
4311
  children: [
4289
4312
  s,
4290
- /* @__PURE__ */ W("p", {
4291
- className: "text-xs text-muted-foreground",
4292
- children: t.routingToolsIntro
4313
+ /* @__PURE__ */ W(Lr, {
4314
+ t,
4315
+ intro: t.routingToolsIntro,
4316
+ tryPath: c
4317
+ }),
4318
+ /* @__PURE__ */ W(Rr, {
4319
+ t,
4320
+ tryPath: c,
4321
+ count: u.length,
4322
+ total: a.tools.length
4293
4323
  }),
4294
- a.tools.map((e) => {
4295
- let o = !!r.routing.tools?.[e.name]?.everywhere, s = a.subagents.filter((t) => Et(r.routing, t).includes(e.name)), c = n ? n.toolNames.includes(e.name) : null;
4324
+ l !== null && u.length === 0 && /* @__PURE__ */ W(Fr, { text: t.routingNoMatch }),
4325
+ u.map((e) => {
4326
+ let o = !!r.routing.tools?.[e.name]?.everywhere, s = a.subagents.filter((t) => Et(r.routing, t).includes(e.name)), l = n && c.filter === null ? n.toolNames.includes(e.name) : null;
4296
4327
  return /* @__PURE__ */ W(jr, {
4297
- onOpen: r.save ? () => u(e) : null,
4328
+ onOpen: r.save ? () => p(e) : null,
4298
4329
  children: /* @__PURE__ */ G("div", {
4299
4330
  className: "space-y-2",
4300
4331
  children: [
@@ -4313,10 +4344,10 @@ function Rr({ onStack: e }) {
4313
4344
  variant: "warning",
4314
4345
  children: t.routingModified
4315
4346
  }),
4316
- c !== null && /* @__PURE__ */ W(i, {
4317
- variant: c ? "success" : "secondary",
4347
+ l !== null && /* @__PURE__ */ W(i, {
4348
+ variant: l ? "success" : "secondary",
4318
4349
  className: "ml-auto",
4319
- children: c ? t.routingOffered : t.routingNotOffered
4350
+ children: l ? t.routingOffered : t.routingNotOffered
4320
4351
  })
4321
4352
  ]
4322
4353
  }),
@@ -4346,18 +4377,18 @@ function Rr({ onStack: e }) {
4346
4377
  })
4347
4378
  }, e.name);
4348
4379
  }),
4349
- c && /* @__PURE__ */ W(Lr, {
4380
+ d && /* @__PURE__ */ W(Br, {
4350
4381
  t,
4351
- tool: c,
4382
+ tool: d,
4352
4383
  routing: r.routing,
4353
4384
  known: a,
4354
4385
  onSave: o,
4355
- onClose: () => u(null)
4386
+ onClose: () => p(null)
4356
4387
  })
4357
4388
  ]
4358
4389
  });
4359
4390
  }
4360
- function zr(e) {
4391
+ function Hr(e) {
4361
4392
  return {
4362
4393
  id: e?.id ?? "",
4363
4394
  label: e?.label ?? "",
@@ -4367,7 +4398,7 @@ function zr(e) {
4367
4398
  active: e?.disabled ? "" : "true"
4368
4399
  };
4369
4400
  }
4370
- function Br(e) {
4401
+ function Ur(e) {
4371
4402
  let t = (e) => String(e ?? "").trim(), n = t(e.label), r = t(e.flags), i = t(e.context);
4372
4403
  return {
4373
4404
  id: t(e.id),
@@ -4378,13 +4409,13 @@ function Br(e) {
4378
4409
  ...e.active ? {} : { disabled: !0 }
4379
4410
  };
4380
4411
  }
4381
- var Vr = {
4412
+ var Wr = {
4382
4413
  default: "secondary",
4383
4414
  modified: "warning",
4384
4415
  added: "info"
4385
4416
  };
4386
- function Hr({ t: e, rule: t, index: n, pages: i, routing: a, known: o, onSave: s, onClose: c }) {
4387
- let l = ne(), u = B(() => zr(t), [t]), [d, f] = H(u.active), [p, m] = H([]);
4417
+ function Gr({ t: e, rule: t, index: n, pages: i, routing: a, known: o, onSave: s, onClose: c }) {
4418
+ let l = ne(), u = B(() => Hr(t), [t]), [d, f] = H(u.active), [p, m] = H([]);
4388
4419
  return /* @__PURE__ */ G(Nr, {
4389
4420
  title: t ? A(e.routingEditOf, { label: t.label ?? t.id }) : e.routingNewRule,
4390
4421
  titleBefore: /* @__PURE__ */ W(h, {
@@ -4396,12 +4427,14 @@ function Hr({ t: e, rule: t, index: n, pages: i, routing: a, known: o, onSave: s
4396
4427
  valueChecked: "true",
4397
4428
  title: e.routingFieldActiveFeedback,
4398
4429
  ariaLabel: e.routingFieldActive,
4430
+ inheritWrapperClassName: !1,
4431
+ wrapperClassName: "m-0",
4399
4432
  onChange: ({ value: e }) => f(e ? "true" : "")
4400
4433
  })
4401
4434
  }),
4402
4435
  onClose: c,
4403
4436
  onSave: async () => {
4404
- let r = Br({
4437
+ let r = Ur({
4405
4438
  ...u,
4406
4439
  ...l.record ?? {},
4407
4440
  active: d,
@@ -4459,36 +4492,7 @@ function Hr({ t: e, rule: t, index: n, pages: i, routing: a, known: o, onSave: s
4459
4492
  })]
4460
4493
  });
4461
4494
  }
4462
- function Ur({ t: e, pages: t, start: n }) {
4463
- let [r, i] = H(n), a = B(() => r.trim() ? Tt(t, r.trim()) : null, [t, r]);
4464
- return /* @__PURE__ */ G("div", {
4465
- className: "space-y-1",
4466
- children: [/* @__PURE__ */ W(h, {
4467
- appearance: "empty",
4468
- showNotice: !1,
4469
- defaultValues: { path: n },
4470
- children: /* @__PURE__ */ W(T, {
4471
- name: "path",
4472
- label: e.routingTryPath,
4473
- feedback: e.routingTryPathFeedback,
4474
- onChange: ({ value: e }) => i(String(e ?? ""))
4475
- })
4476
- }), r.trim() && /* @__PURE__ */ W("p", {
4477
- className: "text-sm",
4478
- children: a ? /* @__PURE__ */ G(U, { children: [/* @__PURE__ */ W("span", {
4479
- className: "font-medium",
4480
- children: a.rule.label ?? a.rule.id
4481
- }), a.context ? /* @__PURE__ */ W("span", {
4482
- className: "block whitespace-pre-wrap text-xs text-muted-foreground",
4483
- children: a.context
4484
- }) : null] }) : /* @__PURE__ */ W("span", {
4485
- className: "text-muted-foreground",
4486
- children: e.routingNoPage
4487
- })
4488
- })]
4489
- });
4490
- }
4491
- function Wr({ onStack: e }) {
4495
+ function Kr({ onStack: e }) {
4492
4496
  let { t, state: r, known: a, persist: o, notices: s } = Mr(), c = r.pages, l = B(() => Ft({ pages: c }, a), [c, a]), [u, d] = H(null), f = (t) => {
4493
4497
  d(t), e?.(t !== null);
4494
4498
  }, p = () => c.map(({ origin: e, defaultRule: t, ...n }) => n), m = (e) => {
@@ -4499,17 +4503,16 @@ function Wr({ onStack: e }) {
4499
4503
  }, h = (e, t) => {
4500
4504
  let n = p(), [r] = n.splice(e, 1);
4501
4505
  n.splice(e + t, 0, r), m(n);
4502
- }, g = r.path === null ? null : Tt(c, r.path);
4506
+ }, g = r.path === null ? null : Tt(c, r.path), _ = Ir(), v = _.filter === null ? null : Tt(c, _.filter), y = _.filter === null ? null : new Set(c.filter((e) => Tt([e], _.filter)).map((e) => e.id)), b = v ? c.findIndex((e) => e.id === v.rule.id) : -1;
4503
4507
  return /* @__PURE__ */ G("div", {
4504
4508
  className: "space-y-4",
4505
4509
  children: [
4506
4510
  s,
4507
- /* @__PURE__ */ G("div", {
4508
- className: "flex items-start gap-2",
4509
- children: [/* @__PURE__ */ W("p", {
4510
- className: "flex-1 text-xs text-muted-foreground",
4511
- children: t.routingPagesIntro
4512
- }), r.save && /* @__PURE__ */ W(n, {
4511
+ /* @__PURE__ */ W(Lr, {
4512
+ t,
4513
+ intro: t.routingPagesIntro,
4514
+ tryPath: _,
4515
+ children: r.save && /* @__PURE__ */ W(n, {
4513
4516
  icon: "plus",
4514
4517
  label: t.routingNewRule,
4515
4518
  variant: "outline-secondary",
@@ -4517,14 +4520,17 @@ function Wr({ onStack: e }) {
4517
4520
  rule: null,
4518
4521
  index: 0
4519
4522
  })
4520
- })]
4523
+ })
4521
4524
  }),
4522
- /* @__PURE__ */ W(Ur, {
4525
+ /* @__PURE__ */ W(Rr, {
4523
4526
  t,
4524
- pages: c,
4525
- start: r.path ?? ""
4527
+ tryPath: _,
4528
+ count: y?.size ?? 0,
4529
+ total: c.length
4526
4530
  }),
4531
+ y !== null && y.size === 0 && /* @__PURE__ */ W(Fr, { text: t.routingNoMatch }),
4527
4532
  c.map((e, a) => {
4533
+ if (y !== null && !y.has(e.id)) return null;
4528
4534
  let o = {
4529
4535
  default: t.routingOriginDefault,
4530
4536
  modified: t.routingOriginModified,
@@ -4555,18 +4561,27 @@ function Wr({ onStack: e }) {
4555
4561
  children: e.label ?? e.id
4556
4562
  }),
4557
4563
  /* @__PURE__ */ W(i, {
4558
- variant: Vr[e.origin],
4564
+ variant: Wr[e.origin],
4559
4565
  children: o
4560
4566
  }),
4561
4567
  e.disabled && /* @__PURE__ */ W(i, {
4562
4568
  variant: "dark",
4563
4569
  children: t.routingRuleOff
4564
4570
  }),
4565
- g?.rule.id === e.id && /* @__PURE__ */ W(i, {
4571
+ y === null && g?.rule.id === e.id && /* @__PURE__ */ W(i, {
4566
4572
  variant: "success",
4567
4573
  className: "ml-auto",
4568
4574
  children: t.routingHereBadge
4569
- })
4575
+ }),
4576
+ y !== null && (a === b ? /* @__PURE__ */ W(i, {
4577
+ variant: "success",
4578
+ className: "ml-auto",
4579
+ children: t.routingApplies
4580
+ }) : /* @__PURE__ */ W(i, {
4581
+ variant: "secondary",
4582
+ className: "ml-auto",
4583
+ children: A(t.routingOverridden, { n: String(b + 1) })
4584
+ }))
4570
4585
  ]
4571
4586
  }),
4572
4587
  /* @__PURE__ */ G("code", {
@@ -4575,7 +4590,7 @@ function Wr({ onStack: e }) {
4575
4590
  }),
4576
4591
  e.context && /* @__PURE__ */ W("p", {
4577
4592
  className: "whitespace-pre-wrap text-xs text-muted-foreground",
4578
- children: e.context
4593
+ children: a === b && v?.context ? v.context : e.context
4579
4594
  }),
4580
4595
  /* @__PURE__ */ W(Ar, {
4581
4596
  t,
@@ -4623,7 +4638,7 @@ function Wr({ onStack: e }) {
4623
4638
  ]
4624
4639
  }, e.id);
4625
4640
  }),
4626
- u && /* @__PURE__ */ W(Hr, {
4641
+ u && /* @__PURE__ */ W(Gr, {
4627
4642
  t,
4628
4643
  rule: u.rule,
4629
4644
  index: u.index,
@@ -4638,17 +4653,17 @@ function Wr({ onStack: e }) {
4638
4653
  }
4639
4654
  //#endregion
4640
4655
  //#region src/presentation/AgenticoSettingsModal.tsx
4641
- var Gr = [
4656
+ var qr = [
4642
4657
  "low",
4643
4658
  "medium",
4644
4659
  "high",
4645
4660
  "max"
4646
4661
  ];
4647
- function Kr() {
4662
+ function Jr() {
4648
4663
  let { shown: e, connections: t } = Gt();
4649
4664
  return e.length > 0 || !!t || fe().length > 0;
4650
4665
  }
4651
- function qr() {
4666
+ function Yr() {
4652
4667
  let e = Q(), { settings: r, shown: i, connections: a, save: o, isOpen: s, close: c } = Gt(), l = ne(), d = N()?.registry ?? {}, { modelsByProvider: f } = Vn({ unfiltered: !0 }), [p, m] = H(0), [g, _] = H(!1);
4653
4668
  if (!s) return null;
4654
4669
  let v = fe().length > 0, y = Object.keys(d), S = (e) => d[e]?.label ?? e, C = Object.values(f).flat(), T = {
@@ -4722,7 +4737,7 @@ function qr() {
4722
4737
  label: e.settingsReasoningDefault,
4723
4738
  value: ""
4724
4739
  },
4725
- options: Gr.map((e) => ({
4740
+ options: qr.map((e) => ({
4726
4741
  label: T[e],
4727
4742
  value: e
4728
4743
  }))
@@ -4751,15 +4766,15 @@ function qr() {
4751
4766
  }, "chats"),
4752
4767
  v && /* @__PURE__ */ W(O, {
4753
4768
  label: e.settingsSubagents,
4754
- children: /* @__PURE__ */ W(Ir, { onStack: _ })
4769
+ children: /* @__PURE__ */ W(zr, { onStack: _ })
4755
4770
  }, "subagents"),
4756
4771
  v && /* @__PURE__ */ W(O, {
4757
4772
  label: e.settingsTools,
4758
- children: /* @__PURE__ */ W(Rr, { onStack: _ })
4773
+ children: /* @__PURE__ */ W(Vr, { onStack: _ })
4759
4774
  }, "tools"),
4760
4775
  v && /* @__PURE__ */ W(O, {
4761
4776
  label: e.settingsPages,
4762
- children: /* @__PURE__ */ W(Wr, { onStack: _ })
4777
+ children: /* @__PURE__ */ W(Kr, { onStack: _ })
4763
4778
  }, "pages"),
4764
4779
  a && /* @__PURE__ */ W(O, {
4765
4780
  label: e.settingsConnectors,
@@ -4771,7 +4786,7 @@ function qr() {
4771
4786
  }
4772
4787
  //#endregion
4773
4788
  //#region src/presentation/Agentico.tsx
4774
- function Jr(e, t) {
4789
+ function Xr(e, t) {
4775
4790
  return Object.values(e).flat().map((e) => {
4776
4791
  let n = t?.(e.provider, e.providerLabel ?? e.provider);
4777
4792
  return {
@@ -4783,7 +4798,7 @@ function Jr(e, t) {
4783
4798
  };
4784
4799
  });
4785
4800
  }
4786
- function Yr({ task: e, editing: t, onCancelEdit: r, onSendEdit: i }) {
4801
+ function Zr({ task: e, editing: t, onCancelEdit: r, onSendEdit: i }) {
4787
4802
  let a = Q(), [o, s] = H(""), { agent: c, onApplied: u, manualEntry: d } = e, f = c.running;
4788
4803
  R(() => {
4789
4804
  t && s(t.detail ?? "");
@@ -4807,7 +4822,7 @@ function Yr({ task: e, editing: t, onCancelEdit: r, onSendEdit: i }) {
4807
4822
  }).then((e) => {
4808
4823
  e && u(e);
4809
4824
  });
4810
- }, _ = !!d || c.remote && c.remoteModels.length === 0, v = c.alongside && c.remoteModels.some((e) => e.value === c.selectedModel), y = !_ && !c.remote && !v && c.hasProviders && !c.selectedModel, b = _ ? [] : c.remote ? c.remoteModels : c.alongside ? [...c.remoteModels, ...Jr(c.modelsByProvider, c.catalogGroup)] : Jr(c.modelsByProvider);
4825
+ }, _ = !!d || c.remote && c.remoteModels.length === 0, v = c.alongside && c.remoteModels.some((e) => e.value === c.selectedModel), y = !_ && !c.remote && !v && c.hasProviders && !c.selectedModel, b = _ ? [] : c.remote ? c.remoteModels : c.alongside ? [...c.remoteModels, ...Xr(c.modelsByProvider, c.catalogGroup)] : Xr(c.modelsByProvider);
4811
4826
  return /* @__PURE__ */ G(U, { children: [t && /* @__PURE__ */ G("div", {
4812
4827
  className: "mb-2 flex items-center gap-2 text-xs text-muted-foreground",
4813
4828
  children: [
@@ -4848,7 +4863,7 @@ function Yr({ task: e, editing: t, onCancelEdit: r, onSendEdit: i }) {
4848
4863
  maxHeight: 220
4849
4864
  })] });
4850
4865
  }
4851
- function Xr() {
4866
+ function Qr() {
4852
4867
  let { startOrchestrator: e } = $(), t = Q(), [n, r] = H(""), { hasProviders: i, modelsByProvider: a, selectedModel: o, setSelectedModel: s } = Vn(), c = (t) => {
4853
4868
  t.text.trim() && (e(t.text.trim(), {
4854
4869
  attachments: t.files.length > 0 ? t.files : void 0,
@@ -4862,7 +4877,7 @@ function Xr() {
4862
4877
  disabled: !n.trim() || u,
4863
4878
  onSubmit: c,
4864
4879
  attachments: !0,
4865
- models: Jr(a),
4880
+ models: Xr(a),
4866
4881
  selectedModel: o,
4867
4882
  onModelChange: s,
4868
4883
  modelPlaceholder: t.selectModelPlaceholder,
@@ -4870,7 +4885,7 @@ function Xr() {
4870
4885
  maxHeight: 220
4871
4886
  });
4872
4887
  }
4873
- function Zr({ chat: e, onClose: t }) {
4888
+ function $r({ chat: e, onClose: t }) {
4874
4889
  let n = Q(), r = ne();
4875
4890
  return /* @__PURE__ */ W(x, {
4876
4891
  title: n.renameChat,
@@ -4893,7 +4908,7 @@ function Zr({ chat: e, onClose: t }) {
4893
4908
  })
4894
4909
  });
4895
4910
  }
4896
- function Qr(e, t, n = Date.now()) {
4911
+ function ei(e, t, n = Date.now()) {
4897
4912
  let r = Math.round((e - n) / 1e3), i = new Intl.RelativeTimeFormat(t, {
4898
4913
  numeric: "auto",
4899
4914
  style: "short"
@@ -4905,7 +4920,7 @@ function Qr(e, t, n = Date.now()) {
4905
4920
  ]) if (Math.abs(r) >= t) return i.format(Math.round(r / t), e);
4906
4921
  return i.format(0, "minute");
4907
4922
  }
4908
- function $r({ card: e }) {
4923
+ function ti({ card: e }) {
4909
4924
  let t = Q();
4910
4925
  return e.humanSummaryOnly ? /* @__PURE__ */ G("div", {
4911
4926
  className: "space-y-2 rounded-lg border border-border/60 p-3",
@@ -4961,7 +4976,7 @@ function $r({ card: e }) {
4961
4976
  ]
4962
4977
  });
4963
4978
  }
4964
- function ei({ messages: e }) {
4979
+ function ni({ messages: e }) {
4965
4980
  return /* @__PURE__ */ W("div", {
4966
4981
  className: "space-y-2 rounded-lg border border-border/60 p-3",
4967
4982
  children: e.map((e, t) => /* @__PURE__ */ W("p", {
@@ -4970,7 +4985,7 @@ function ei({ messages: e }) {
4970
4985
  }, t))
4971
4986
  });
4972
4987
  }
4973
- function ti({ scopeId: e, currentTaskId: t, open: r, onOpenChange: i, onSelect: a, onNewChat: o, onArchivedCurrent: s }) {
4988
+ function ri({ scopeId: e, currentTaskId: t, open: r, onOpenChange: i, onSelect: a, onNewChat: o, onArchivedCurrent: s }) {
4974
4989
  let c = Q(), { locale: l } = P(), [u, d] = H(""), [f, h] = H(0);
4975
4990
  R(() => Xe(() => h((e) => e + 1)), []);
4976
4991
  let _ = B(() => r ? ut(e) : [], [
@@ -5059,17 +5074,17 @@ function ti({ scopeId: e, currentTaskId: t, open: r, onOpenChange: i, onSelect:
5059
5074
  }), /* @__PURE__ */ W("span", {
5060
5075
  className: "shrink-0 text-xs text-muted-foreground",
5061
5076
  title: `${c.chatStarted.replace("{at}", new Date(ct(e)).toLocaleString(l))} · ${c.chatLastMessage.replace("{at}", new Date(e.savedAt).toLocaleString(l))}`,
5062
- children: Qr(ct(e), l)
5077
+ children: ei(ct(e), l)
5063
5078
  })]
5064
5079
  })
5065
5080
  }, `${e.subagentId}:${e.entityId}`);
5066
5081
  })
5067
- }), v && /* @__PURE__ */ W(Zr, {
5082
+ }), v && /* @__PURE__ */ W($r, {
5068
5083
  chat: v,
5069
5084
  onClose: () => y(null)
5070
5085
  })] });
5071
5086
  }
5072
- function ni({ defaultWidth: e, minWidth: t, maxWidth: r, onWidthChange: i } = {}) {
5087
+ function ii({ defaultWidth: e, minWidth: t, maxWidth: r, onWidthChange: i } = {}) {
5073
5088
  let { task: a, isOpen: o, pendingGoal: s, orchestratorRunId: c, pageContext: l, pageContextCard: u, anchoredUserMessages: d, pendingResume: f, resumeRunId: p, dismissForeignTask: m, resumeEntityChat: h, pendingManualEntry: g, manualEntryRunId: _, startManualEntry: v, pendingExtraDestinations: y, pendingResumeWithAI: b, resumeWithAIRunId: x, pendingStart: C, startRunId: w, scope: T, threadEvents: E } = $(), D = Q(), O = V(null), [k, ee] = H(!1), [te, A] = H(null), [j, M] = H(null);
5074
5089
  R(() => {
5075
5090
  A(null), M(null);
@@ -5081,7 +5096,7 @@ function ni({ defaultWidth: e, minWidth: t, maxWidth: r, onWidthChange: i } = {}
5081
5096
  onWidthChange: i
5082
5097
  }), ne = () => {
5083
5098
  (!a || a.agent.running || a.savedToDisk || window.confirm(D.unsavedConversationConfirm)) && (m(), ee(!1));
5084
- }, P = a ? [...a.precedingActivity ?? [], ...a.agent.activity] : [], re = P.length, ie = Math.max(0, Math.min(a?.panelExtraAnchorIndex ?? re, re)), F = P.slice(0, ie), I = P.slice(ie), L = !!(a && !a.agent.running && a.agent.error), [z, ae, oe] = Zt(), K = Gt(), se = Kr(), ce = V({ at: Date.now() });
5099
+ }, P = a ? [...a.precedingActivity ?? [], ...a.agent.activity] : [], re = P.length, ie = Math.max(0, Math.min(a?.panelExtraAnchorIndex ?? re, re)), F = P.slice(0, ie), I = P.slice(ie), L = !!(a && !a.agent.running && a.agent.error), [z, ae, oe] = Zt(), K = Gt(), se = Jr(), ce = V({ at: Date.now() });
5085
5100
  ce.current.id !== a?.id && (ce.current = {
5086
5101
  id: a?.id,
5087
5102
  at: Date.now()
@@ -5206,7 +5221,7 @@ function ni({ defaultWidth: e, minWidth: t, maxWidth: r, onWidthChange: i } = {}
5206
5221
  className: `p-1 ${z ? "text-primary" : "text-muted-foreground"}`,
5207
5222
  onClick: () => ae(!z)
5208
5223
  }),
5209
- T && /* @__PURE__ */ W(ti, {
5224
+ T && /* @__PURE__ */ W(ri, {
5210
5225
  scopeId: T.id,
5211
5226
  currentTaskId: a?.id ?? null,
5212
5227
  open: k,
@@ -5226,7 +5241,7 @@ function ni({ defaultWidth: e, minWidth: t, maxWidth: r, onWidthChange: i } = {}
5226
5241
  /* @__PURE__ */ W(Ln, {})
5227
5242
  ]
5228
5243
  }),
5229
- /* @__PURE__ */ W(qr, {}),
5244
+ /* @__PURE__ */ W(Yr, {}),
5230
5245
  /* @__PURE__ */ W("div", {
5231
5246
  ref: O,
5232
5247
  className: `flex-1 overflow-y-auto px-3 pb-2 ${Y ? "min-h-24" : "min-h-0"}`,
@@ -5309,7 +5324,7 @@ function ni({ defaultWidth: e, minWidth: t, maxWidth: r, onWidthChange: i } = {}
5309
5324
  })
5310
5325
  ]
5311
5326
  })
5312
- ] }) : d.length > 0 ? /* @__PURE__ */ W(ei, { messages: d }) : u ? /* @__PURE__ */ W($r, { card: u }) : /* @__PURE__ */ W("p", {
5327
+ ] }) : d.length > 0 ? /* @__PURE__ */ W(ni, { messages: d }) : u ? /* @__PURE__ */ W(ti, { card: u }) : /* @__PURE__ */ W("p", {
5313
5328
  className: "text-xs text-muted-foreground",
5314
5329
  children: l ?? D.orchestratorStarterHint
5315
5330
  })
@@ -5347,12 +5362,12 @@ function ni({ defaultWidth: e, minWidth: t, maxWidth: r, onWidthChange: i } = {}
5347
5362
  children: [a?.panelActions && /* @__PURE__ */ W("div", {
5348
5363
  className: "mb-2",
5349
5364
  children: a.panelActions
5350
- }), a ? /* @__PURE__ */ W(Yr, {
5365
+ }), a ? /* @__PURE__ */ W(Zr, {
5351
5366
  task: a,
5352
5367
  editing: te,
5353
5368
  onCancelEdit: () => A(null),
5354
5369
  onSendEdit: (e, t) => ge(e, t)
5355
- }, a.id) : /* @__PURE__ */ W(Xr, {})]
5370
+ }, a.id) : /* @__PURE__ */ W(Qr, {})]
5356
5371
  }),
5357
5372
  j && /* @__PURE__ */ G(S, {
5358
5373
  title: D.rewindTitle,
@@ -5378,13 +5393,13 @@ function ni({ defaultWidth: e, minWidth: t, maxWidth: r, onWidthChange: i } = {}
5378
5393
  }
5379
5394
  //#endregion
5380
5395
  //#region src/presentation/useAgenticoPageContext.ts
5381
- function ri(e, t) {
5396
+ function ai(e, t) {
5382
5397
  let { setPageContext: n } = $(), r = V(crypto.randomUUID()).current;
5383
5398
  R(() => (n(r, e, t ?? null), () => n(r, null)), [e, t]);
5384
5399
  }
5385
5400
  //#endregion
5386
5401
  //#region src/presentation/useSubagentComponentContext.ts
5387
- function ii(e, t, n, r, i = !0, a) {
5402
+ function oi(e, t, n, r, i = !0, a) {
5388
5403
  let { registerComponentAnchor: o } = $(), s = V(crypto.randomUUID()).current, c = V(n);
5389
5404
  c.current = n, R(() => {
5390
5405
  if (i) return o(s, {
@@ -5403,6 +5418,6 @@ function ii(e, t, n, r, i = !0, a) {
5403
5418
  ]);
5404
5419
  }
5405
5420
  //#endregion
5406
- export { On as AGENTICO_MAX_WIDTH, Dn as AGENTICO_MIN_WIDTH, It as AGENTICO_SETTING_KEYS, En as AGENTICO_WIDTH, kn as AGENTICO_WIDTH_STORAGE_KEY, ni as Agentico, Yt as AgenticoProvider, qr as AgenticoSettingsModal, Ln as AgenticoToggle, Lt as DEFAULT_AGENTICO_SETTINGS, oe as DEFAULT_REASONING_PART_ID, ae as DEFAULT_TEXT_PART_ID, Me as JSON_EXPORT_DESTINATION_ID, De as MICRO_PROMPT_REGISTRY, Kt as ORCHESTRATOR_TASK_ID, gt as PREVIEW_LIMIT, ht as PREVIEW_MAX, Ee as SUMMARY_MICRO_PROMPT, ze as agenticoDe, Le as agenticoEn, Re as agenticoIt, J as agenticoPromptsEn, Y as agenticoPromptsIt, yt as agenticoTranslations, Oe as applyMicroPrompts, Vt as browserSettingsStore, at as chatHasPersonMessage, ct as chatStartedAt, ft as chatThreadOf, it as chatTitle, St as compileRoutePattern, ye as configureAgenticoPrompts, He as configureEntityChatStore, he as createCrossAgentTools, le as defineSubagent, Pt as diffAgenticoRouting, pt as earlierSessions, Rt as effectiveSettings, dt as entityChatTaskId, ke as extractErrorMessage, Ae as extractJsonBlock, q as findSubagentManifest, ce as formatQuestionAnswers, Z as getAgenticoPrompts, Ie as getDestinationRegistry, $e as getEntityChat, ur as getSubagentControls, fe as getSubagentRegistry, ar as getSubagentReport, Ue as hasEntityChatBackend, vt as imagePreviews, Ne as jsonExportDestination, ut as listEntityChats, Tt as matchAgenticoPage, Ct as matchesAnyPath, Ot as mergeAgenticoPageRules, kt as mergeAgenticoRouting, se as messagePartsText, Xe as onEntityChatsChange, mt as placeEvents, me as registerCrossAgentTools, Fe as registerDestinations, lr as registerSubagentControls, ir as registerSubagentReports, de as registerSubagents, lt as removeEntityChat, st as renameEntityChat, Te as renderRegistryCli, we as renderSubagentCli, be as resetAgenticoPrompts, Dt as resolveAgenticoRoute, bt as routePathOf, et as saveEntityChat, zt as shownSettings, Et as subagentToolsOf, Ke as syncEntityChats, ge as toJsonSchema, _e as toMcpTool, K as upsertMessagePart, Yn as useAgent, $ as useAgentico, Q as useAgenticoI18n, ri as useAgenticoPageContext, Gt as useAgenticoSettings, ii as useSubagentComponentContext, Ft as validateAgenticoRouting };
5421
+ export { On as AGENTICO_MAX_WIDTH, Dn as AGENTICO_MIN_WIDTH, It as AGENTICO_SETTING_KEYS, En as AGENTICO_WIDTH, kn as AGENTICO_WIDTH_STORAGE_KEY, ii as Agentico, Yt as AgenticoProvider, Yr as AgenticoSettingsModal, Ln as AgenticoToggle, Lt as DEFAULT_AGENTICO_SETTINGS, oe as DEFAULT_REASONING_PART_ID, ae as DEFAULT_TEXT_PART_ID, Me as JSON_EXPORT_DESTINATION_ID, De as MICRO_PROMPT_REGISTRY, Kt as ORCHESTRATOR_TASK_ID, gt as PREVIEW_LIMIT, ht as PREVIEW_MAX, Ee as SUMMARY_MICRO_PROMPT, ze as agenticoDe, Le as agenticoEn, Re as agenticoIt, J as agenticoPromptsEn, Y as agenticoPromptsIt, yt as agenticoTranslations, Oe as applyMicroPrompts, Vt as browserSettingsStore, at as chatHasPersonMessage, ct as chatStartedAt, ft as chatThreadOf, it as chatTitle, St as compileRoutePattern, ye as configureAgenticoPrompts, He as configureEntityChatStore, he as createCrossAgentTools, le as defineSubagent, Pt as diffAgenticoRouting, pt as earlierSessions, Rt as effectiveSettings, dt as entityChatTaskId, ke as extractErrorMessage, Ae as extractJsonBlock, q as findSubagentManifest, ce as formatQuestionAnswers, Z as getAgenticoPrompts, Ie as getDestinationRegistry, $e as getEntityChat, ur as getSubagentControls, fe as getSubagentRegistry, ar as getSubagentReport, Ue as hasEntityChatBackend, vt as imagePreviews, Ne as jsonExportDestination, ut as listEntityChats, Tt as matchAgenticoPage, Ct as matchesAnyPath, Ot as mergeAgenticoPageRules, kt as mergeAgenticoRouting, se as messagePartsText, Xe as onEntityChatsChange, mt as placeEvents, me as registerCrossAgentTools, Fe as registerDestinations, lr as registerSubagentControls, ir as registerSubagentReports, de as registerSubagents, lt as removeEntityChat, st as renameEntityChat, Te as renderRegistryCli, we as renderSubagentCli, be as resetAgenticoPrompts, Dt as resolveAgenticoRoute, bt as routePathOf, et as saveEntityChat, zt as shownSettings, Et as subagentToolsOf, Ke as syncEntityChats, ge as toJsonSchema, _e as toMcpTool, K as upsertMessagePart, Yn as useAgent, $ as useAgentico, Q as useAgenticoI18n, ai as useAgenticoPageContext, Gt as useAgenticoSettings, oi as useSubagentComponentContext, Ft as validateAgenticoRouting };
5407
5422
 
5408
5423
  //# sourceMappingURL=index.mjs.map