@w6w/embed 0.2.22 → 0.2.23
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/{ModelRoutesManager-BUw_sm-M.js → ModelRoutesManager-Bv6qefnq.js} +2 -2
- package/dist/{ModelRoutesManager-BUw_sm-M.js.map → ModelRoutesManager-Bv6qefnq.js.map} +1 -1
- package/dist/forms.mjs +22 -22
- package/dist/index.mjs +1 -1
- package/dist/lib.mjs +1 -1
- package/dist/lists.mjs +3 -3
- package/dist/{models-bAayQPJ_.js → models-CK1KHd39.js} +146 -105
- package/dist/models-CK1KHd39.js.map +1 -0
- package/dist/repos/models.d.ts +55 -0
- package/dist/repos.mjs +133 -129
- package/dist/workflow-blank-CorOIrSj.js +21 -0
- package/dist/workflow-blank-CorOIrSj.js.map +1 -0
- package/package.json +3 -3
- package/dist/models-bAayQPJ_.js.map +0 -1
- package/dist/workflow-blank-DFpGObrn.js +0 -14
- package/dist/workflow-blank-DFpGObrn.js.map +0 -1
package/dist/repos.mjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var l = (e, t, s) =>
|
|
5
|
-
import { E as
|
|
2
|
+
var M = Object.defineProperty;
|
|
3
|
+
var S = (e, t, s) => t in e ? M(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
|
|
4
|
+
var l = (e, t, s) => S(e, typeof t != "symbol" ? t + "" : t, s);
|
|
5
|
+
import { E as De, H as he, R as Te, S as we, a as Ie, c as _e, b as Pe, d as Ue, f as Be, e as Ne, g as We, h as Le, i as Ve, j as Oe, k as He, l as je, m as Ge, n as ze, o as Ye, p as Je, q as Xe, r as Ze, s as $e, t as et, u as tt, v as st, w as nt, x as at, y as ot, z as ut, A as it, B as rt, C as lt, D as ct, F as yt, G as dt, I as ft, J as gt, K as pt, L as Mt, M as St, N as Ct, O as Kt, P as mt, Q as Qt, T as Et, U as vt, V as At, W as xt, X as Ft, Y as qt, Z as Rt, _ as bt, $ as kt, a0 as Dt, a1 as ht, a2 as Tt, a3 as wt } from "./workflows-BK6IM4if.js";
|
|
6
6
|
import { c as _t, u as Pt, a as Ut, b as Bt, d as Nt, e as Wt, f as Lt, g as Vt, h as Ot, v as Ht, i as jt } from "./spec-export-DGigBUsP.js";
|
|
7
|
-
import { l as zt, r as Yt, s as
|
|
8
|
-
import { e as es, f as ts, g as ss, h as ns, i as as, j as os, b as us, d as
|
|
9
|
-
import { l as fs, s as gs, a as ps, u as
|
|
10
|
-
import { d as qs, e as Rs, f as bs, g as ks, h as
|
|
11
|
-
import { D as Ws, d as Ls, a as Vs, b as Os, g as Hs, l as js, c as Gs, e as zs, u as Ys, f as
|
|
12
|
-
import { b as un, d as rn, e as ln, a as cn, c as yn, f as dn, g as fn, h as gn, j as pn, i as
|
|
13
|
-
import { C as xn, E as Fn, F as qn, I as Rn, d as bn, e as kn, f as
|
|
14
|
-
import { a as na, b as aa, d as oa, c as ua, e as
|
|
15
|
-
import { c as Ea, a as va, b as Aa, d as xa, e as Fa, f as qa, g as Ra, h as ba, i as ka, l as
|
|
16
|
-
import { c as Ga, d as za, l as Ya, a as
|
|
17
|
-
import { l as C } from "./models-
|
|
18
|
-
import { g as
|
|
19
|
-
import { useQuery as a, useQueryClient as
|
|
7
|
+
import { l as zt, r as Yt, s as Jt, a as Xt, w as Zt } from "./step-tests-B4E4W3ly.js";
|
|
8
|
+
import { e as es, f as ts, g as ss, h as ns, i as as, j as os, b as us, d as is, k as rs, u as ls, a as cs, c as ys } from "./apps-CYUgEfGf.js";
|
|
9
|
+
import { l as fs, s as gs, a as ps, u as Ms, b as Ss, c as Cs, d as Ks, e as ms, f as Qs, g as Es, h as vs, i as As, v as xs } from "./vault-BSEWhMYC.js";
|
|
10
|
+
import { d as qs, e as Rs, f as bs, g as ks, h as Ds, u as hs, i as Ts, j as ws, k as Is, b as _s, c as Ps, l as Us, a as Bs } from "./spec-import-SWOonsNr.js";
|
|
11
|
+
import { D as Ws, d as Ls, a as Vs, b as Os, g as Hs, l as js, c as Gs, e as zs, u as Ys, f as Js, h as Xs, i as Zs, j as $s, k as en, m as tn, n as sn, o as nn, p as an } from "./data-stores-UeQvwVCa.js";
|
|
12
|
+
import { b as un, d as rn, e as ln, a as cn, c as yn, f as dn, g as fn, h as gn, j as pn, i as Mn, l as Sn, s as Cn, k as Kn, m as mn, u as Qn, n as En, o as vn } from "./callables-tOlflvbl.js";
|
|
13
|
+
import { C as xn, E as Fn, F as qn, I as Rn, d as bn, e as kn, f as Dn, g as hn, h as Tn, i as wn, j as In, k as _n, l as Pn, m as Un, o as Bn, n as Nn, p as Wn, q as Ln, r as Vn, s as On, t as Hn, v as jn, u as Gn, w as zn, b as Yn, x as Jn, y as Xn, z as Zn, A as $n, a as ea, c as ta } from "./endpoints-DSRo1Lc5.js";
|
|
14
|
+
import { a as na, b as aa, d as oa, c as ua, e as ia, f as ra, g as la, h as ca, l as ya, i as da, j as fa, k as ga, m as pa, n as Ma, u as Sa, o as Ca, p as Ka, q as ma } from "./connections-CzsCyIxY.js";
|
|
15
|
+
import { c as Ea, a as va, b as Aa, d as xa, e as Fa, f as qa, g as Ra, h as ba, i as ka, l as Da, r as ha, s as Ta, t as wa, u as Ia, j as _a, k as Pa, m as Ua, n as Ba, o as Na, p as Wa, q as La, v as Va, w as Oa, x as Ha } from "./credentials-Cn92LGhJ.js";
|
|
16
|
+
import { c as Ga, d as za, l as Ya, a as Ja, r as Xa, s as Za, t as $a, u as eo, b as to, e as so, f as no, g as ao, h as oo, i as uo } from "./api-calls--JHyif6a.js";
|
|
17
|
+
import { l as C } from "./models-CK1KHd39.js";
|
|
18
|
+
import { g as ro, h as lo, d as co, i as yo, j as fo, k as go, m as po, n as Mo, o as So, p as Co, q as Ko, r as mo, s as Qo, t as Eo, v as vo, w as Ao, x as xo, y as Fo, z as qo, A as Ro, B as bo, C as ko, D as Do, b as ho, E as To, F as wo, e as Io, G as _o, a as Po, H as Uo, I as Bo, J as No, K as Wo, c as Lo, u as Vo, L as Oo, M as Ho, f as jo } from "./models-CK1KHd39.js";
|
|
19
|
+
import { useQuery as a, useQueryClient as i, useMutation as u } from "@tanstack/react-query";
|
|
20
20
|
import { ApiError as K } from "@w6w/sdk";
|
|
21
21
|
import { u as n } from "./client-context-CX61Bgw-.js";
|
|
22
|
-
import { r as
|
|
23
|
-
import { SECRET_MASK as
|
|
22
|
+
import { r as zo } from "./fields-DvS8XZFc.js";
|
|
23
|
+
import { SECRET_MASK as Jo } from "@w6w/sdk/console";
|
|
24
24
|
class d extends Error {
|
|
25
25
|
constructor(s) {
|
|
26
26
|
super("This agent changed elsewhere — reload to see the latest version.");
|
|
@@ -32,8 +32,8 @@ class d extends Error {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
function m(e) {
|
|
35
|
-
var o,
|
|
36
|
-
const t = e, s = (t == null ? void 0 : t.revision) ?? ((o = t == null ? void 0 : t.error) == null ? void 0 : o.revision) ?? ((y = (
|
|
35
|
+
var o, r, y;
|
|
36
|
+
const t = e, s = (t == null ? void 0 : t.revision) ?? ((o = t == null ? void 0 : t.error) == null ? void 0 : o.revision) ?? ((y = (r = t == null ? void 0 : t.error) == null ? void 0 : r.details) == null ? void 0 : y.revision);
|
|
37
37
|
return typeof s == "number" ? s : null;
|
|
38
38
|
}
|
|
39
39
|
function V(e) {
|
|
@@ -47,8 +47,8 @@ async function b(e, t, s, o) {
|
|
|
47
47
|
{ ...s, revision: o.revision },
|
|
48
48
|
{ ifUnmodifiedSince: o.updatedAt }
|
|
49
49
|
);
|
|
50
|
-
} catch (
|
|
51
|
-
throw
|
|
50
|
+
} catch (r) {
|
|
51
|
+
throw r instanceof K && r.status === 409 ? new d(r) : r;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
function O(e, t) {
|
|
@@ -76,27 +76,27 @@ function z(e) {
|
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
function Y() {
|
|
79
|
-
const e = n(), t =
|
|
79
|
+
const e = n(), t = i();
|
|
80
80
|
return u({
|
|
81
81
|
mutationFn: (s) => e.agents.create(s),
|
|
82
82
|
onSuccess: () => t.invalidateQueries({ queryKey: ["agents"] })
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
const t = n(), s =
|
|
85
|
+
function J(e) {
|
|
86
|
+
const t = n(), s = i();
|
|
87
87
|
return u({
|
|
88
88
|
mutationFn: (o) => b(t, e, o.patch, o.loaded),
|
|
89
89
|
onSuccess: (o) => (s.setQueryData(f(e), o), s.invalidateQueries({ queryKey: ["agents"] }))
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
|
-
function
|
|
93
|
-
const e = n(), t =
|
|
92
|
+
function X() {
|
|
93
|
+
const e = n(), t = i();
|
|
94
94
|
return u({
|
|
95
95
|
mutationFn: (s) => e.agents.archive(s),
|
|
96
96
|
onSuccess: () => t.invalidateQueries({ queryKey: ["agents"] })
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Z() {
|
|
100
100
|
const e = n();
|
|
101
101
|
return a({ queryKey: v(), queryFn: () => e.skills.list() });
|
|
102
102
|
}
|
|
@@ -143,7 +143,7 @@ function ae() {
|
|
|
143
143
|
});
|
|
144
144
|
}
|
|
145
145
|
function oe() {
|
|
146
|
-
const e = n(), t =
|
|
146
|
+
const e = n(), t = i();
|
|
147
147
|
return u({
|
|
148
148
|
mutationFn: (s) => e.console.storage.settings.patch(s),
|
|
149
149
|
onSuccess: (s) => {
|
|
@@ -158,18 +158,18 @@ function ue() {
|
|
|
158
158
|
queryFn: () => e.console.storage.bindings.list()
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
|
-
const k = (e = !1) => ["skills", { includeArchived: e }],
|
|
162
|
-
function
|
|
161
|
+
const k = (e = !1) => ["skills", { includeArchived: e }], D = (e) => ["skills", e], h = (e) => ["skills", e, "versions"], T = (e = !1) => ["context-collections", { includeArchived: e }], w = (e) => ["context-collections", e], p = (e, t = !1) => ["context-collections", e, "entries", { includeArchived: t }], I = (e = !1) => ["context-entries", { includeArchived: e }], _ = (e) => ["assets", e, "versions"], P = (e, t) => ["assets", e, "versions", t, "files"];
|
|
162
|
+
function ie(e = !1) {
|
|
163
163
|
const t = n();
|
|
164
164
|
return a({
|
|
165
165
|
queryKey: k(e),
|
|
166
166
|
queryFn: () => t.skills.list({ includeArchived: e })
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function re(e) {
|
|
170
170
|
const t = n();
|
|
171
171
|
return a({
|
|
172
|
-
queryKey:
|
|
172
|
+
queryKey: D(e ?? ""),
|
|
173
173
|
enabled: e != null,
|
|
174
174
|
queryFn: () => t.skills.get(e)
|
|
175
175
|
});
|
|
@@ -177,13 +177,13 @@ function ie(e) {
|
|
|
177
177
|
function le(e) {
|
|
178
178
|
const t = n();
|
|
179
179
|
return a({
|
|
180
|
-
queryKey:
|
|
180
|
+
queryKey: h(e ?? ""),
|
|
181
181
|
enabled: e != null,
|
|
182
182
|
queryFn: () => t.skills.versions(e)
|
|
183
183
|
});
|
|
184
184
|
}
|
|
185
185
|
function ce() {
|
|
186
|
-
const e = n(), t =
|
|
186
|
+
const e = n(), t = i();
|
|
187
187
|
return u({
|
|
188
188
|
mutationFn: (s) => e.skills.archive(s),
|
|
189
189
|
onSuccess: () => t.invalidateQueries({ queryKey: ["skills"] })
|
|
@@ -205,7 +205,7 @@ function de(e) {
|
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
207
|
function fe() {
|
|
208
|
-
const e = n(), t =
|
|
208
|
+
const e = n(), t = i();
|
|
209
209
|
return u({
|
|
210
210
|
mutationFn: (s) => e.context.create(s),
|
|
211
211
|
onSuccess: () => t.invalidateQueries({ queryKey: ["context-collections"] })
|
|
@@ -220,7 +220,7 @@ function ge(e, t = !1) {
|
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
function pe() {
|
|
223
|
-
const e = n(), t =
|
|
223
|
+
const e = n(), t = i();
|
|
224
224
|
return u({
|
|
225
225
|
mutationFn: (s) => e.context.entries.update(s.collectionId, s.entryId, s.input, {
|
|
226
226
|
ifUnmodifiedSince: s.ifUnmodifiedSince
|
|
@@ -230,7 +230,7 @@ function pe() {
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function Me(e = !1) {
|
|
234
234
|
const t = n();
|
|
235
235
|
return a({
|
|
236
236
|
queryKey: I(e),
|
|
@@ -241,22 +241,22 @@ function c(e, t = []) {
|
|
|
241
241
|
e.invalidateQueries({ queryKey: ["context-entries"] });
|
|
242
242
|
for (const s of t) e.invalidateQueries({ queryKey: p(s) });
|
|
243
243
|
}
|
|
244
|
-
function
|
|
245
|
-
const e = n(), t =
|
|
244
|
+
function Se() {
|
|
245
|
+
const e = n(), t = i();
|
|
246
246
|
return u({
|
|
247
247
|
mutationFn: (s) => e.contextEntries.create(s),
|
|
248
248
|
onSuccess: (s, o) => c(t, o.collectionIds)
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
251
|
function Ce() {
|
|
252
|
-
const e = n(), t =
|
|
252
|
+
const e = n(), t = i();
|
|
253
253
|
return u({
|
|
254
254
|
mutationFn: (s) => e.contextEntries.addToCollection(s.entryId, s.collectionId),
|
|
255
255
|
onSuccess: (s, o) => c(t, [o.collectionId])
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
258
|
function Ke() {
|
|
259
|
-
const e = n(), t =
|
|
259
|
+
const e = n(), t = i();
|
|
260
260
|
return u({
|
|
261
261
|
mutationFn: (s) => e.contextEntries.removeFromCollection(s.entryId, s.collectionId),
|
|
262
262
|
onSuccess: (s, o) => c(t, [o.collectionId])
|
|
@@ -291,7 +291,7 @@ function ve() {
|
|
|
291
291
|
});
|
|
292
292
|
}
|
|
293
293
|
function Ae() {
|
|
294
|
-
const e = n(), t =
|
|
294
|
+
const e = n(), t = i();
|
|
295
295
|
return u({
|
|
296
296
|
mutationFn: (s) => e.assets.archive(s),
|
|
297
297
|
onSuccess: () => t.invalidateQueries({ queryKey: ["assets"] })
|
|
@@ -310,7 +310,7 @@ function Fe() {
|
|
|
310
310
|
});
|
|
311
311
|
}
|
|
312
312
|
function qe() {
|
|
313
|
-
const e = n(), t =
|
|
313
|
+
const e = n(), t = i();
|
|
314
314
|
return u({
|
|
315
315
|
mutationFn: (s) => e.assets.uploads.finalize(s),
|
|
316
316
|
onSuccess: () => {
|
|
@@ -326,13 +326,13 @@ export {
|
|
|
326
326
|
d as AgentConflictError,
|
|
327
327
|
xn as CALLABLE_DESCRIPTORS,
|
|
328
328
|
Ws as DATA_STORE_MAX_PAGES,
|
|
329
|
-
|
|
329
|
+
De as EMPTY_HISTORY_FILTERS,
|
|
330
330
|
Fn as ENDPOINT_MANIFEST_VERSION,
|
|
331
331
|
qn as FUNCTION_MANIFEST_VERSION,
|
|
332
|
-
|
|
332
|
+
he as HISTORY_PAGE_SIZE,
|
|
333
333
|
Rn as ID_ALPHABET,
|
|
334
334
|
Te as RUN_FAILED_NO_REASON,
|
|
335
|
-
|
|
335
|
+
Jo as SECRET_MASK,
|
|
336
336
|
we as STEP_FAILED_NO_REASON,
|
|
337
337
|
Ie as STEP_PASS_REFRESH_DELAYS_MS,
|
|
338
338
|
F as agentAllContextEntriesKey,
|
|
@@ -360,8 +360,9 @@ export {
|
|
|
360
360
|
fn as callableRoute,
|
|
361
361
|
_e as cancelWorkflowRun,
|
|
362
362
|
Pe as classifyCancelError,
|
|
363
|
-
|
|
364
|
-
lo as
|
|
363
|
+
ro as completeModelRoute,
|
|
364
|
+
lo as completeSupport,
|
|
365
|
+
co as connectionChoices,
|
|
365
366
|
na as connectionDependentsKey,
|
|
366
367
|
aa as connectionKey,
|
|
367
368
|
oa as connectionsForAppKey,
|
|
@@ -371,10 +372,10 @@ export {
|
|
|
371
372
|
T as contextCollectionsKey,
|
|
372
373
|
p as contextEntriesKey,
|
|
373
374
|
H as contextPinState,
|
|
374
|
-
|
|
375
|
+
ia as createConnection,
|
|
375
376
|
Ea as createCredential,
|
|
376
|
-
|
|
377
|
-
|
|
377
|
+
yo as createModelBudget,
|
|
378
|
+
fo as createModelRoute,
|
|
378
379
|
Ga as createSavedTest,
|
|
379
380
|
va as credentialDependentsKey,
|
|
380
381
|
Aa as credentialKey,
|
|
@@ -384,22 +385,23 @@ export {
|
|
|
384
385
|
Vs as dataStoreKey,
|
|
385
386
|
Os as dataStoresKey,
|
|
386
387
|
gn as deleteCallable,
|
|
387
|
-
|
|
388
|
+
ra as deleteConnection,
|
|
388
389
|
qa as deleteCredential,
|
|
389
|
-
|
|
390
|
-
|
|
390
|
+
go as deleteModelBudget,
|
|
391
|
+
po as deleteModelRoute,
|
|
391
392
|
za as deleteSavedTest,
|
|
392
393
|
Ue as describeWorkflowNodes,
|
|
393
394
|
bn as descriptorFor,
|
|
395
|
+
Mo as discoverModels,
|
|
394
396
|
bs as documentKey,
|
|
395
397
|
ks as documentProvenanceState,
|
|
396
|
-
|
|
398
|
+
Ds as documentsKey,
|
|
397
399
|
kn as endpointKey,
|
|
398
|
-
|
|
400
|
+
Dn as endpointsKey,
|
|
399
401
|
Be as filtersFromSearch,
|
|
400
402
|
Ne as filtersToSearch,
|
|
401
403
|
We as findExecution,
|
|
402
|
-
|
|
404
|
+
hn as functionKey,
|
|
403
405
|
Tn as functionsKey,
|
|
404
406
|
ss as getApp,
|
|
405
407
|
ns as getAppActions,
|
|
@@ -414,84 +416,84 @@ export {
|
|
|
414
416
|
In as getFunction,
|
|
415
417
|
Ve as getHistory,
|
|
416
418
|
Oe as getHistoryStats,
|
|
417
|
-
|
|
418
|
-
|
|
419
|
+
So as getModelBudgetUsage,
|
|
420
|
+
Co as getModelUsage,
|
|
419
421
|
He as getRunState,
|
|
420
422
|
je as getRunStateWrites,
|
|
421
423
|
Ge as getWorkflow,
|
|
422
424
|
ze as headerRunEntry,
|
|
423
425
|
Ye as historyKeys,
|
|
424
|
-
|
|
426
|
+
Je as historyRequestQuery,
|
|
425
427
|
ka as invalidateAfterCredentialWrite,
|
|
426
|
-
|
|
428
|
+
Mn as invalidateSavedCallable,
|
|
427
429
|
_n as invokeEndpoint,
|
|
428
430
|
Pn as invokeFunction,
|
|
429
431
|
V as isAgentConflict,
|
|
430
432
|
Un as isEndpointDraft,
|
|
431
|
-
|
|
432
|
-
|
|
433
|
+
Xe as isRunInFlight,
|
|
434
|
+
Ze as latestFixtureInput,
|
|
433
435
|
js as listAllDataStores,
|
|
434
|
-
|
|
436
|
+
Sn as listCallables,
|
|
435
437
|
ya as listConnections,
|
|
436
438
|
da as listConnectionsForApp,
|
|
437
|
-
|
|
439
|
+
Da as listCredentials,
|
|
438
440
|
Gs as listDataStoreEntries,
|
|
439
441
|
zs as listDataStores,
|
|
440
442
|
Bn as listFunctions,
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
443
|
+
Ko as listModelBudgets,
|
|
444
|
+
mo as listModelCatalog,
|
|
445
|
+
Qo as listModelProviders,
|
|
444
446
|
C as listModelRoutes,
|
|
445
447
|
$e as listNodeSamples,
|
|
446
448
|
Ya as listSavedTests,
|
|
447
449
|
fs as listSecrets,
|
|
448
450
|
zt as listStepTests,
|
|
449
451
|
et as listTestInputs,
|
|
450
|
-
|
|
452
|
+
Ja as listTestRuns,
|
|
451
453
|
tt as listWorkflows,
|
|
452
|
-
|
|
454
|
+
Eo as loadAllModelCatalogPages,
|
|
453
455
|
st as mapRunStateToLogSteps,
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
456
|
+
vo as modelBudgetUsageKey,
|
|
457
|
+
Ao as modelBudgetsKey,
|
|
458
|
+
xo as modelCatalogKey,
|
|
459
|
+
Fo as modelProvidersKey,
|
|
460
|
+
qo as modelRoutesKey,
|
|
461
|
+
Ro as modelUsageKey,
|
|
460
462
|
Nn as newCallableId,
|
|
461
463
|
Wn as newId,
|
|
462
|
-
|
|
464
|
+
bo as normaliseRoute,
|
|
463
465
|
nt as pollRunToTerminal,
|
|
464
466
|
j as readyContextEntries,
|
|
465
467
|
Yt as recordStepTestRun,
|
|
466
|
-
|
|
468
|
+
Xa as recordTestRun,
|
|
467
469
|
at as rerunExecution,
|
|
468
|
-
|
|
470
|
+
zo as resolveActionFields,
|
|
469
471
|
ot as resolveHeaderRunInput,
|
|
470
|
-
|
|
472
|
+
ha as rotateCredential,
|
|
471
473
|
ut as runButtonLabel,
|
|
472
|
-
|
|
473
|
-
|
|
474
|
+
it as runLevelErrors,
|
|
475
|
+
rt as runNodeMap,
|
|
474
476
|
lt as runStateKey,
|
|
475
477
|
ct as runStateWritesKey,
|
|
476
478
|
yt as runWorkflow,
|
|
477
479
|
dt as runWorkflowSync,
|
|
478
480
|
ft as runsKey,
|
|
479
481
|
Cn as saveCallable,
|
|
480
|
-
|
|
482
|
+
Jt as saveStepTest,
|
|
481
483
|
gt as saveTestInput,
|
|
482
|
-
|
|
484
|
+
Za as savedTestsKey,
|
|
483
485
|
gs as sealSecret,
|
|
484
486
|
ps as secretsKey,
|
|
485
487
|
Ta as setCredentialStatus,
|
|
486
488
|
pt as shouldContinuePolling,
|
|
487
|
-
|
|
489
|
+
D as skillKey,
|
|
488
490
|
O as skillPinState,
|
|
489
|
-
|
|
491
|
+
h as skillVersionsKey,
|
|
490
492
|
k as skillsKey,
|
|
491
|
-
|
|
492
|
-
|
|
493
|
+
Mt as startRunFromNode,
|
|
494
|
+
St as startWorkflowRun,
|
|
493
495
|
Ct as stepPassRefreshDue,
|
|
494
|
-
|
|
496
|
+
Xt as stepTestsKey,
|
|
495
497
|
R as storageBindingsKey,
|
|
496
498
|
wa as testCredential,
|
|
497
499
|
$a as testRunsKey,
|
|
@@ -499,8 +501,8 @@ export {
|
|
|
499
501
|
b as updateAgent,
|
|
500
502
|
fa as updateConnection,
|
|
501
503
|
Ia as updateCredential,
|
|
502
|
-
|
|
503
|
-
|
|
504
|
+
ko as updateModelBudget,
|
|
505
|
+
Do as updateModelRoute,
|
|
504
506
|
eo as updateSavedTest,
|
|
505
507
|
Re as useAbortAssetUploadMutation,
|
|
506
508
|
Ce as useAddEntryToCollectionMutation,
|
|
@@ -511,14 +513,14 @@ export {
|
|
|
511
513
|
z as useAgentQuery,
|
|
512
514
|
ae as useAgentSettingsQuery,
|
|
513
515
|
$ as useAgentSkillVersionsQuery,
|
|
514
|
-
|
|
516
|
+
Z as useAgentSkillsQuery,
|
|
515
517
|
G as useAgentsQuery,
|
|
516
|
-
|
|
517
|
-
|
|
518
|
+
Me as useAllContextEntriesQuery,
|
|
519
|
+
ho as useAllModelCatalogQuery,
|
|
518
520
|
to as useApiCallsQuery,
|
|
519
521
|
as as useAppActionsQuery,
|
|
520
522
|
os as useAppQuery,
|
|
521
|
-
|
|
523
|
+
X as useArchiveAgent,
|
|
522
524
|
Ae as useArchiveAssetMutation,
|
|
523
525
|
Kn as useArchiveCallableMutation,
|
|
524
526
|
Ys as useArchiveDataStoreMutation,
|
|
@@ -531,10 +533,11 @@ export {
|
|
|
531
533
|
mn as useCallableListQuery,
|
|
532
534
|
Qn as useCallableQuery,
|
|
533
535
|
Qt as useCancelRunMutation,
|
|
536
|
+
To as useCompleteModelRouteMutation,
|
|
534
537
|
ga as useConnectionDependentsQuery,
|
|
535
538
|
pa as useConnectionQuery,
|
|
536
|
-
|
|
537
|
-
|
|
539
|
+
Ma as useConnectionsForAppQuery,
|
|
540
|
+
Sa as useConnectionsQuery,
|
|
538
541
|
Pt as useConstantsQuery,
|
|
539
542
|
de as useContextCollectionQuery,
|
|
540
543
|
ye as useContextCollectionsQuery,
|
|
@@ -542,21 +545,21 @@ export {
|
|
|
542
545
|
Y as useCreateAgent,
|
|
543
546
|
xe as useCreateAssetUploadMutation,
|
|
544
547
|
fe as useCreateContextCollectionMutation,
|
|
545
|
-
|
|
548
|
+
Se as useCreateContextEntryMutation,
|
|
546
549
|
_a as useCreateCredentialMutation,
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
550
|
+
Js as useCreateDataStoreMutation,
|
|
551
|
+
hs as useCreateDocumentMutation,
|
|
552
|
+
wo as useCreateModelBudgetMutation,
|
|
553
|
+
Io as useCreateModelRouteMutation,
|
|
554
|
+
Ms as useCreateSecretMutation,
|
|
555
|
+
Ss as useCreateVarMutation,
|
|
553
556
|
Et as useCreateWorkflowMutation,
|
|
554
557
|
Pa as useCredentialDependentsQuery,
|
|
555
558
|
Ua as useCredentialQuery,
|
|
556
559
|
Ba as useCredentialsQuery,
|
|
557
560
|
so as useDashboardStatsQuery,
|
|
558
|
-
|
|
559
|
-
|
|
561
|
+
Xs as useDataStoreQuery,
|
|
562
|
+
Zs as useDataStoresQuery,
|
|
560
563
|
En as useDeleteCallableMutation,
|
|
561
564
|
Ca as useDeleteConnectionMutation,
|
|
562
565
|
Na as useDeleteCredentialMutation,
|
|
@@ -564,11 +567,12 @@ export {
|
|
|
564
567
|
On as useDeleteEndpointMutation,
|
|
565
568
|
$s as useDeleteEntryMutation,
|
|
566
569
|
Hn as useDeleteFunctionMutation,
|
|
567
|
-
|
|
568
|
-
|
|
570
|
+
_o as useDeleteModelBudgetMutation,
|
|
571
|
+
Po as useDeleteModelRouteMutation,
|
|
569
572
|
Cs as useDeleteSecretMutation,
|
|
570
573
|
Ks as useDeleteVarMutation,
|
|
571
574
|
vt as useDeleteWorkflowMutation,
|
|
575
|
+
Uo as useDiscoverModelsMutation,
|
|
572
576
|
ws as useDocumentQuery,
|
|
573
577
|
Is as useDocumentsQuery,
|
|
574
578
|
ve as useDownloadAssetArchiveMutation,
|
|
@@ -579,27 +583,27 @@ export {
|
|
|
579
583
|
us as useExecutionDetailQuery,
|
|
580
584
|
tn as useExportCsvMutation,
|
|
581
585
|
qe as useFinalizeAssetUploadMutation,
|
|
582
|
-
|
|
586
|
+
is as useFindExecution,
|
|
583
587
|
zn as useFunctionQuery,
|
|
584
588
|
Yn as useFunctionsQuery,
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
589
|
+
Jn as useGuardedSaveEndpointMutation,
|
|
590
|
+
Xn as useGuardedSaveFunctionMutation,
|
|
591
|
+
rs as useHasExecutedQuery,
|
|
588
592
|
ls as useHistoryQuery,
|
|
589
593
|
cs as useHistoryStatsQuery,
|
|
590
594
|
sn as useImportCsvMutation,
|
|
591
595
|
_s as useImportSpecMutation,
|
|
592
596
|
nn as useInsertRowMutation,
|
|
593
|
-
|
|
597
|
+
Zn as useInvokeEndpointMutation,
|
|
594
598
|
$n as useInvokeFunctionMutation,
|
|
595
599
|
Ut as useInvokeVersionMutation,
|
|
596
600
|
At as useLiveRunQuery,
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
601
|
+
Bo as useModelBudgetUsageQuery,
|
|
602
|
+
No as useModelBudgetsQuery,
|
|
603
|
+
Wo as useModelCatalogQuery,
|
|
604
|
+
Lo as useModelProvidersQuery,
|
|
605
|
+
Vo as useModelRoutesQuery,
|
|
606
|
+
Oo as useModelUsageQuery,
|
|
603
607
|
oe as usePatchAgentSettings,
|
|
604
608
|
no as useProjectReliabilityQuery,
|
|
605
609
|
Bt as usePublishMutation,
|
|
@@ -623,9 +627,9 @@ export {
|
|
|
623
627
|
La as useSetCredentialStatusMutation,
|
|
624
628
|
Wt as useSetEnabledMutation,
|
|
625
629
|
an as useSetEntryMutation,
|
|
626
|
-
|
|
630
|
+
re as useSkillQuery,
|
|
627
631
|
le as useSkillVersionsQuery,
|
|
628
|
-
|
|
632
|
+
ie as useSkillsQuery,
|
|
629
633
|
Ps as useSpecPreviewMutation,
|
|
630
634
|
Lt as useSpecQuery,
|
|
631
635
|
kt as useStartRunMutation,
|
|
@@ -634,26 +638,26 @@ export {
|
|
|
634
638
|
Ka as useTestConnectionMutation,
|
|
635
639
|
Va as useTestCredentialMutation,
|
|
636
640
|
uo as useTestRunsQuery,
|
|
637
|
-
|
|
641
|
+
J as useUpdateAgent,
|
|
638
642
|
ma as useUpdateConnectionMutation,
|
|
639
643
|
pe as useUpdateContextEntryMutation,
|
|
640
644
|
Oa as useUpdateCredentialMutation,
|
|
641
645
|
Bs as useUpdateDocumentMutation,
|
|
642
|
-
|
|
643
|
-
|
|
646
|
+
Ho as useUpdateModelBudgetMutation,
|
|
647
|
+
jo as useUpdateModelRouteMutation,
|
|
644
648
|
Es as useUpdateSecretMutation,
|
|
645
649
|
vs as useUpdateVarMutation,
|
|
646
650
|
As as useVarsQuery,
|
|
647
651
|
Vt as useVersionQuery,
|
|
648
652
|
Ot as useVersionsQuery,
|
|
649
|
-
|
|
650
|
-
|
|
653
|
+
Dt as useWorkflowQuery,
|
|
654
|
+
ht as useWorkflowsQuery,
|
|
651
655
|
xs as varsKey,
|
|
652
656
|
Ht as versionKey,
|
|
653
657
|
jt as versionsKey,
|
|
654
658
|
Ha as withCredentialMethods,
|
|
655
659
|
Tt as workflowKey,
|
|
656
|
-
|
|
660
|
+
Zt as workflowStepTestsKey,
|
|
657
661
|
wt as workflowsKey
|
|
658
662
|
};
|
|
659
663
|
//# sourceMappingURL=repos.mjs.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
function n(i) {
|
|
2
|
+
return {
|
|
3
|
+
manifestVersion: "2",
|
|
4
|
+
id: i,
|
|
5
|
+
name: i,
|
|
6
|
+
displayName: "Untitled workflow",
|
|
7
|
+
trigger: { type: "manual" },
|
|
8
|
+
nodes: [
|
|
9
|
+
{
|
|
10
|
+
id: "manual_trigger_1",
|
|
11
|
+
uses: { app: "@w6w/trigger", action: "manual" },
|
|
12
|
+
with: { fields: [] },
|
|
13
|
+
position: { x: 80, y: 80 }
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
n as b
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=workflow-blank-CorOIrSj.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-blank-CorOIrSj.js","sources":["../src/lib/workflow-blank.ts"],"sourcesContent":["/** A fresh, minimal workflow definition for a brand-new id (a new object on every call). */\nexport function blankDefinition(id: string): Record<string, unknown> {\n // Every workflow starts with a manual trigger (rfcs/node-types.md \"Triggers as nodes\"). The\n // `trigger` field says how a run is launched; the canvas draws only the `@w6w/trigger` NODE, so\n // without it a new workflow opened on an empty canvas. The node is an ordinary one — the author\n // can replace it with another trigger or delete it — and is shaped exactly as the editor mints a\n // Manual trigger from the picker (`manual_trigger_1`, `fields: []`, a position).\n return {\n manifestVersion: \"2\",\n id,\n name: id,\n displayName: \"Untitled workflow\",\n trigger: { type: \"manual\" },\n nodes: [\n {\n id: \"manual_trigger_1\",\n uses: { app: \"@w6w/trigger\", action: \"manual\" },\n with: { fields: [] },\n position: { x: 80, y: 80 },\n },\n ],\n };\n}\n"],"names":["blankDefinition","id"],"mappings":"AACO,SAASA,EAAgBC,GAAqC;AAMnE,SAAO;AAAA,IACL,iBAAiB;AAAA,IACjB,IAAAA;AAAA,IACA,MAAMA;AAAA,IACN,aAAa;AAAA,IACb,SAAS,EAAE,MAAM,SAAA;AAAA,IACjB,OAAO;AAAA,MACL;AAAA,QACE,IAAI;AAAA,QACJ,MAAM,EAAE,KAAK,gBAAgB,QAAQ,SAAA;AAAA,QACrC,MAAM,EAAE,QAAQ,GAAC;AAAA,QACjB,UAAU,EAAE,GAAG,IAAI,GAAG,GAAA;AAAA,MAAG;AAAA,IAC3B;AAAA,EACF;AAEJ;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w6w/embed",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.23",
|
|
4
4
|
"description": "Embed w6w's managed editor and providers in a host React app.",
|
|
5
5
|
"license": "FSL-1.1-ALv2",
|
|
6
6
|
"repository": {
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"@tanstack/react-query": "^5.62.7",
|
|
76
76
|
"@w6w/react": "^0.9.15",
|
|
77
77
|
"@w6w/sdk": "^0.9.30",
|
|
78
|
-
"@w6w/expr": "^0.1.
|
|
79
|
-
"@w6w/ui": "^0.2.
|
|
78
|
+
"@w6w/expr": "^0.1.3",
|
|
79
|
+
"@w6w/ui": "^0.2.59",
|
|
80
80
|
"yaml": "^2.4.2"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|