@llmnative/agentico 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +65 -60
- package/dist/index.mjs.map +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +271 -201
- package/dist/server.mjs.map +1 -1
- package/dist/types/backend/agenticoBackend.d.ts +2 -1
- package/dist/types/presentation/AgenticoConnectionsSettings.d.ts +7 -2
- package/dist/types/presentation/AgenticoSettingsContext.d.ts +2 -1
- package/dist/types/server/index.d.ts +2 -2
- package/dist/types/server/memories.d.ts +39 -5
- package/dist/types/server/server.d.ts +12 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -496,7 +496,7 @@ var Ke = {
|
|
|
496
496
|
projectsMemory: "Memory",
|
|
497
497
|
projectsDefaultRunner: "The default one",
|
|
498
498
|
projectsNoMemory: "None",
|
|
499
|
-
projectsReadOnly: "Only who administers the platform changes
|
|
499
|
+
projectsReadOnly: "Only who administers the platform changes the runner; the memory of your namespace is yours to choose.",
|
|
500
500
|
connectionsError: "Something went wrong: {error}",
|
|
501
501
|
harnessGroup: "{provider} · on the runner",
|
|
502
502
|
harnessNoCredit: "The credit of the subscription is over until {at}.",
|
|
@@ -716,7 +716,7 @@ var Ke = {
|
|
|
716
716
|
projectsMemory: "Memoria",
|
|
717
717
|
projectsDefaultRunner: "Quello predefinito",
|
|
718
718
|
projectsNoMemory: "Nessuna",
|
|
719
|
-
projectsReadOnly: "
|
|
719
|
+
projectsReadOnly: "Il runner lo cambia solo chi amministra la piattaforma; la memoria del tuo namespace la scegli tu.",
|
|
720
720
|
connectionsError: "Qualcosa non è andato: {error}",
|
|
721
721
|
harnessGroup: "{provider} · sul runner",
|
|
722
722
|
harnessNoCredit: "Il credito dell’abbonamento è finito fino alle {at}.",
|
|
@@ -936,7 +936,7 @@ var Ke = {
|
|
|
936
936
|
projectsMemory: "Gedächtnis",
|
|
937
937
|
projectsDefaultRunner: "Der Standard",
|
|
938
938
|
projectsNoMemory: "Keines",
|
|
939
|
-
projectsReadOnly: "
|
|
939
|
+
projectsReadOnly: "Den Runner ändert nur, wer die Plattform verwaltet; das Gedächtnis Ihres Namespace wählen Sie selbst.",
|
|
940
940
|
connectionsError: "Etwas ist schiefgelaufen: {error}",
|
|
941
941
|
harnessGroup: "{provider} · auf dem Runner",
|
|
942
942
|
harnessNoCredit: "Das Guthaben des Abonnements ist bis {at} aufgebraucht.",
|
|
@@ -5064,119 +5064,120 @@ function _i(e) {
|
|
|
5064
5064
|
error: r
|
|
5065
5065
|
};
|
|
5066
5066
|
}
|
|
5067
|
-
function vi({ backend: e, me: a }) {
|
|
5068
|
-
let
|
|
5067
|
+
function vi({ backend: e, me: a, cloud: o }) {
|
|
5068
|
+
let s = Q(), { locale: c } = I(), l = a.role === "platform", u = B(() => o?.store ?? e.connections(), [e, o?.store]), [d, f] = H(null), [p, m] = H(null), [h, g] = H(null), [_, v] = H(null), y = R(async () => {
|
|
5069
5069
|
try {
|
|
5070
|
-
|
|
5070
|
+
f((await u.load()).providers.length), l && m(await e.fleet.list()), g(null);
|
|
5071
5071
|
} catch (e) {
|
|
5072
|
-
|
|
5072
|
+
g(gi(e));
|
|
5073
5073
|
}
|
|
5074
5074
|
}, [
|
|
5075
5075
|
e,
|
|
5076
|
-
|
|
5077
|
-
|
|
5076
|
+
u,
|
|
5077
|
+
l
|
|
5078
5078
|
]);
|
|
5079
5079
|
z(() => {
|
|
5080
|
-
|
|
5081
|
-
}, [
|
|
5082
|
-
let
|
|
5083
|
-
|
|
5080
|
+
y();
|
|
5081
|
+
}, [y]);
|
|
5082
|
+
let x = () => {
|
|
5083
|
+
v(null), y();
|
|
5084
5084
|
};
|
|
5085
5085
|
return /* @__PURE__ */ G("div", {
|
|
5086
5086
|
className: "flex flex-col gap-3",
|
|
5087
5087
|
children: [
|
|
5088
5088
|
/* @__PURE__ */ W("p", {
|
|
5089
5089
|
className: "text-sm text-muted-foreground",
|
|
5090
|
-
children:
|
|
5090
|
+
children: s.connectionsIntro
|
|
5091
5091
|
}),
|
|
5092
|
-
|
|
5092
|
+
h && /* @__PURE__ */ W(r, {
|
|
5093
5093
|
variant: "danger",
|
|
5094
|
-
children: N(
|
|
5094
|
+
children: N(s.connectionsError, { error: h })
|
|
5095
5095
|
}),
|
|
5096
5096
|
/* @__PURE__ */ G("div", {
|
|
5097
5097
|
className: "grid gap-3 sm:grid-cols-2",
|
|
5098
5098
|
children: [
|
|
5099
5099
|
/* @__PURE__ */ W(b, {
|
|
5100
5100
|
icon: "cloud",
|
|
5101
|
-
title:
|
|
5102
|
-
description:
|
|
5103
|
-
badge:
|
|
5101
|
+
title: s.cloudTitle,
|
|
5102
|
+
description: s.cloudDescription,
|
|
5103
|
+
badge: d ? /* @__PURE__ */ W(i, {
|
|
5104
5104
|
variant: "success",
|
|
5105
|
-
children: N(
|
|
5105
|
+
children: N(s.cloudConnected, { count: d })
|
|
5106
5106
|
}) : /* @__PURE__ */ W(i, {
|
|
5107
5107
|
variant: "light",
|
|
5108
|
-
children:
|
|
5108
|
+
children: s.cloudNone
|
|
5109
5109
|
}),
|
|
5110
|
-
onClick: () =>
|
|
5110
|
+
onClick: () => v("cloud")
|
|
5111
5111
|
}),
|
|
5112
|
-
|
|
5112
|
+
l && p?.map((e) => /* @__PURE__ */ W(b, {
|
|
5113
5113
|
icon: "server",
|
|
5114
5114
|
title: e.name,
|
|
5115
5115
|
description: e.url,
|
|
5116
5116
|
badge: e.draining ? /* @__PURE__ */ W(i, {
|
|
5117
5117
|
variant: "warning",
|
|
5118
|
-
children:
|
|
5118
|
+
children: s.runnerDraining
|
|
5119
5119
|
}) : e.isDefault ? /* @__PURE__ */ W(i, {
|
|
5120
5120
|
variant: "info",
|
|
5121
|
-
children:
|
|
5121
|
+
children: s.runnerDefault
|
|
5122
5122
|
}) : void 0,
|
|
5123
|
-
onClick: () =>
|
|
5123
|
+
onClick: () => v({ runner: e })
|
|
5124
5124
|
}, e.id)),
|
|
5125
|
-
!
|
|
5125
|
+
!l && a.hasRunner && /* @__PURE__ */ W(b, {
|
|
5126
5126
|
icon: "server",
|
|
5127
|
-
title:
|
|
5128
|
-
description:
|
|
5129
|
-
onClick: () =>
|
|
5127
|
+
title: s.runnerOfProject,
|
|
5128
|
+
description: s.runnerOfProjectDescription,
|
|
5129
|
+
onClick: () => v("mine")
|
|
5130
5130
|
}),
|
|
5131
|
-
|
|
5131
|
+
l && /* @__PURE__ */ W(b, {
|
|
5132
5132
|
icon: "plus",
|
|
5133
5133
|
dashed: !0,
|
|
5134
|
-
title:
|
|
5135
|
-
description:
|
|
5136
|
-
onClick: () =>
|
|
5134
|
+
title: s.runnerAdd,
|
|
5135
|
+
description: s.runnerAddDescription,
|
|
5136
|
+
onClick: () => v("add")
|
|
5137
5137
|
})
|
|
5138
5138
|
]
|
|
5139
5139
|
}),
|
|
5140
|
-
|
|
5141
|
-
title:
|
|
5140
|
+
_ === "cloud" && /* @__PURE__ */ W(S, {
|
|
5141
|
+
title: s.cloudTitle,
|
|
5142
5142
|
size: "xl",
|
|
5143
|
-
onClose:
|
|
5143
|
+
onClose: x,
|
|
5144
5144
|
footer: /* @__PURE__ */ W(n, {
|
|
5145
5145
|
variant: "link",
|
|
5146
|
-
label:
|
|
5147
|
-
onClick:
|
|
5146
|
+
label: s.settingsClose,
|
|
5147
|
+
onClick: x
|
|
5148
5148
|
}),
|
|
5149
5149
|
children: /* @__PURE__ */ W(t, {
|
|
5150
|
-
|
|
5151
|
-
|
|
5150
|
+
...o ?? {},
|
|
5151
|
+
store: u,
|
|
5152
|
+
readOnly: o?.readOnly ?? a.role === "member"
|
|
5152
5153
|
})
|
|
5153
5154
|
}),
|
|
5154
|
-
|
|
5155
|
-
title:
|
|
5155
|
+
_ === "mine" && /* @__PURE__ */ W(S, {
|
|
5156
|
+
title: s.runnerOfProject,
|
|
5156
5157
|
size: "lg",
|
|
5157
|
-
onClose:
|
|
5158
|
+
onClose: x,
|
|
5158
5159
|
footer: /* @__PURE__ */ W(n, {
|
|
5159
5160
|
variant: "link",
|
|
5160
|
-
label:
|
|
5161
|
-
onClick:
|
|
5161
|
+
label: s.settingsClose,
|
|
5162
|
+
onClick: x
|
|
5162
5163
|
}),
|
|
5163
5164
|
children: /* @__PURE__ */ W(q, {
|
|
5164
5165
|
client: e.runner(),
|
|
5165
5166
|
scope: "user",
|
|
5166
|
-
locale:
|
|
5167
|
+
locale: c
|
|
5167
5168
|
})
|
|
5168
5169
|
}),
|
|
5169
|
-
|
|
5170
|
+
_ === "add" && /* @__PURE__ */ W(le, {
|
|
5170
5171
|
fleet: e.fleet,
|
|
5171
|
-
t: ue(
|
|
5172
|
-
locale:
|
|
5173
|
-
onClose:
|
|
5174
|
-
onAdded:
|
|
5172
|
+
t: ue(c),
|
|
5173
|
+
locale: c,
|
|
5174
|
+
onClose: x,
|
|
5175
|
+
onAdded: x
|
|
5175
5176
|
}),
|
|
5176
|
-
|
|
5177
|
+
_ && typeof _ == "object" && /* @__PURE__ */ W(yi, {
|
|
5177
5178
|
backend: e,
|
|
5178
|
-
runner:
|
|
5179
|
-
onClose:
|
|
5179
|
+
runner: _.runner,
|
|
5180
|
+
onClose: x
|
|
5180
5181
|
})
|
|
5181
5182
|
]
|
|
5182
5183
|
});
|
|
@@ -5456,7 +5457,7 @@ function Ci({ backend: e, me: t }) {
|
|
|
5456
5457
|
let [t, n, r] = await Promise.all([
|
|
5457
5458
|
e.projects.list(),
|
|
5458
5459
|
i ? e.fleet.list() : Promise.resolve([]),
|
|
5459
|
-
|
|
5460
|
+
e.memories.list()
|
|
5460
5461
|
]);
|
|
5461
5462
|
o(t.namespaces), c(n), u(r), f(null);
|
|
5462
5463
|
} catch (e) {
|
|
@@ -5499,12 +5500,12 @@ function Ci({ backend: e, me: t }) {
|
|
|
5499
5500
|
className: "font-mono text-xs text-muted-foreground",
|
|
5500
5501
|
children: e.namespace
|
|
5501
5502
|
})]
|
|
5502
|
-
}), i ? /* @__PURE__ */ G(h, {
|
|
5503
|
+
}), i || e.namespace === t.namespace ? /* @__PURE__ */ G(h, {
|
|
5503
5504
|
appearance: "empty",
|
|
5504
5505
|
showNotice: !1,
|
|
5505
5506
|
onSubmit: () => !1,
|
|
5506
5507
|
className: "contents",
|
|
5507
|
-
children: [/* @__PURE__ */ W(E, {
|
|
5508
|
+
children: [i ? /* @__PURE__ */ W(E, {
|
|
5508
5509
|
name: `runner-${e.namespace}`,
|
|
5509
5510
|
label: n.projectsRunner,
|
|
5510
5511
|
defaultValue: e.runner?.id ?? "",
|
|
@@ -5519,6 +5520,9 @@ function Ci({ backend: e, me: t }) {
|
|
|
5519
5520
|
onChange: ({ value: t }) => {
|
|
5520
5521
|
t && m(e.namespace, { runnerId: String(t) });
|
|
5521
5522
|
}
|
|
5523
|
+
}) : /* @__PURE__ */ W("span", {
|
|
5524
|
+
className: "text-sm",
|
|
5525
|
+
children: e.runner?.name ?? n.projectsDefaultRunner
|
|
5522
5526
|
}), /* @__PURE__ */ W(E, {
|
|
5523
5527
|
name: `memory-${e.namespace}`,
|
|
5524
5528
|
label: n.projectsMemory,
|
|
@@ -5673,10 +5677,11 @@ function Ei() {
|
|
|
5673
5677
|
label: e.connectionsTab,
|
|
5674
5678
|
children: /* @__PURE__ */ W(vi, {
|
|
5675
5679
|
backend: s,
|
|
5676
|
-
me: d
|
|
5680
|
+
me: d,
|
|
5681
|
+
...a ? { cloud: a } : {}
|
|
5677
5682
|
})
|
|
5678
5683
|
}, "connections"),
|
|
5679
|
-
s && d
|
|
5684
|
+
s && d && d.role !== "member" && /* @__PURE__ */ W(k, {
|
|
5680
5685
|
label: e.memoryTab,
|
|
5681
5686
|
children: /* @__PURE__ */ W(xi, { backend: s })
|
|
5682
5687
|
}, "memory"),
|