@finalai/agent-definition 0.1.2 → 0.1.4
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/HOSTING.md +234 -0
- package/README.md +7 -0
- package/dist/compiler-assets/{chunk-TATN3PYK.ts → chunk-2ZRYQO4Q.ts} +4 -4
- package/dist/compiler-assets/{chunk-HGW4YHAY.ts → chunk-3K4C4SVG.ts} +9 -0
- package/dist/compiler-assets/{chunk-7VSSVZM4.ts → chunk-4A66SVBJ.ts} +4 -4
- package/dist/compiler-assets/{chunk-CWWRTRWW.ts → chunk-4E5HECVD.ts} +1 -1
- package/dist/compiler-assets/{chunk-7QP2CKPI.ts → chunk-4X2DS5BR.ts} +1 -1
- package/dist/compiler-assets/{chunk-ZDLVA6XF.ts → chunk-5NTKRRMC.ts} +112 -21
- package/dist/compiler-assets/{chunk-2CZRHOLL.ts → chunk-7XUPKRZU.ts} +1 -1
- package/dist/compiler-assets/{chunk-OWC6SFFF.ts → chunk-APU2VKLW.ts} +52 -12
- package/dist/compiler-assets/{chunk-HFS4KLEL.ts → chunk-D3SB4CCB.ts} +1 -1
- package/dist/compiler-assets/{chunk-HNPUTP35.ts → chunk-GCFSHHH2.ts} +2 -2
- package/dist/compiler-assets/{chunk-5BK6FVRE.ts → chunk-IF6MR7JF.ts} +2 -2
- package/dist/compiler-assets/{chunk-LUSAAV4L.ts → chunk-IZGOMT7K.ts} +2 -2
- package/dist/compiler-assets/{chunk-GTUZOATD.ts → chunk-JGQ2KAN7.ts} +1 -1
- package/dist/compiler-assets/{chunk-NYTOYKKF.ts → chunk-K6D7ZK74.ts} +3 -3
- package/dist/compiler-assets/{chunk-WMXMVFHM.ts → chunk-K7V4IMOB.ts} +3 -3
- package/dist/compiler-assets/{chunk-VHXHUU7L.ts → chunk-LHMUAIYJ.ts} +1 -1
- package/dist/compiler-assets/{chunk-SKTNMUO7.ts → chunk-MSE7X5YG.ts} +25 -2
- package/dist/compiler-assets/chunk-PFLSBTJA.ts +39 -0
- package/dist/compiler-assets/{chunk-XHKPWT3G.ts → chunk-QJ26GEUM.ts} +1 -1
- package/dist/compiler-assets/{chunk-JPY4L2UJ.ts → chunk-RIEMTCTV.ts} +12 -8
- package/dist/compiler-assets/chunk-RMIQJHSL.ts +0 -0
- package/dist/compiler-assets/chunk-TJ536HI4.ts +61 -0
- package/dist/compiler-assets/{chunk-QMWTDPNT.ts → chunk-TJZS457N.ts} +3 -3
- package/dist/compiler-assets/{chunk-JIPNTA56.ts → chunk-TM36NO3C.ts} +1 -1
- package/dist/compiler-assets/{chunk-MZMSKIKU.ts → chunk-UBR53WBH.ts} +33 -8
- package/dist/compiler-assets/chunk-ULI5WWRR.ts +40 -0
- package/dist/compiler-assets/chunk-W6DOJA4W.ts +3763 -0
- package/dist/compiler-assets/{chunk-EVQIK62B.ts → chunk-YW7HDGQA.ts} +11 -7
- package/dist/compiler-assets/{chunk-BLB6JGLO.ts → chunk-YWFGIPHD.ts} +27 -24
- package/dist/compiler-assets/{chunk-QMKWAFVZ.ts → chunk-Z5TO7RSJ.ts} +5 -3
- package/dist/compiler-assets/src/authoring/agent.ts +4 -4
- package/dist/compiler-assets/src/authoring/approval.ts +7 -7
- package/dist/compiler-assets/src/authoring/brand.ts +3 -3
- package/dist/compiler-assets/src/authoring/channels.ts +6 -6
- package/dist/compiler-assets/src/authoring/connections.ts +14 -4
- package/dist/compiler-assets/src/authoring/credentials.ts +7 -6
- package/dist/compiler-assets/src/authoring/dynamic.ts +9 -4
- package/dist/compiler-assets/src/authoring/harness.ts +9 -9
- package/dist/compiler-assets/src/authoring/hooks.ts +10 -8
- package/dist/compiler-assets/src/authoring/index.ts +33 -26
- package/dist/compiler-assets/src/authoring/instructions.ts +10 -5
- package/dist/compiler-assets/src/authoring/sandbox.ts +10 -10
- package/dist/compiler-assets/src/authoring/schedules.ts +4 -4
- package/dist/compiler-assets/src/authoring/skills.ts +4 -4
- package/dist/compiler-assets/src/authoring/tools.ts +10 -8
- package/dist/compiler-assets/src/compatibility.ts +11 -11
- package/dist/compiler-assets/src/hosted-bindings.ts +15 -0
- package/dist/compiler-assets/src/index.ts +54 -41
- package/dist/compiler-assets/src/manifest.ts +8 -4
- package/dist/compiler-assets/src/resolve.ts +5 -5
- package/dist/compiler-assets/src/runtime/bundle.ts +22 -20
- package/dist/compiler-assets/src/runtime/describe.ts +14 -12
- package/dist/compiler-assets/src/runtime/described.ts +19 -12
- package/dist/compiler-assets/src/runtime/isolate.ts +18 -16
- package/dist/compiler-assets/src/runtime/lower.ts +13 -11
- package/dist/compiler-assets/src/runtime/schema-validation.ts +4 -4
- package/dist/compiler-assets/src/runtime/values.ts +2 -2
- package/dist/modules/authoring/agent.d.mts +3 -2
- package/dist/modules/authoring/agent.mjs.map +2 -2
- package/dist/modules/authoring/connections.d.mts +15 -2
- package/dist/modules/authoring/connections.mjs +36 -0
- package/dist/modules/authoring/connections.mjs.map +2 -2
- package/dist/modules/authoring/context.d.mts +3 -1
- package/dist/modules/authoring/context.mjs.map +2 -2
- package/dist/modules/authoring/dynamic.d.mts +3 -1
- package/dist/modules/authoring/dynamic.mjs +19 -1
- package/dist/modules/authoring/dynamic.mjs.map +2 -2
- package/dist/modules/authoring/harness.mjs +2 -0
- package/dist/modules/authoring/harness.mjs.map +2 -2
- package/dist/modules/authoring/hooks.d.mts +2 -1
- package/dist/modules/authoring/hooks.mjs.map +2 -2
- package/dist/modules/authoring/index.d.mts +4 -2
- package/dist/modules/authoring/index.mjs +4 -1
- package/dist/modules/authoring/index.mjs.map +2 -2
- package/dist/modules/authoring/sandbox.d.mts +2 -1
- package/dist/modules/authoring/sandbox.mjs.map +2 -2
- package/dist/modules/compiler/assemble.mjs +6 -1
- package/dist/modules/compiler/assemble.mjs.map +2 -2
- package/dist/modules/compiler/index.d.mts +2 -1
- package/dist/modules/compiler/index.mjs +18 -0
- package/dist/modules/compiler/index.mjs.map +2 -2
- package/dist/modules/compiler/local-isolate.d.mts +2 -1
- package/dist/modules/compiler/local-isolate.mjs +6 -1
- package/dist/modules/compiler/local-isolate.mjs.map +2 -2
- package/dist/modules/hosted-bindings.d.mts +10 -0
- package/dist/modules/hosted-bindings.mjs +36 -0
- package/dist/modules/hosted-bindings.mjs.map +7 -0
- package/dist/modules/index.d.mts +2 -0
- package/dist/modules/index.mjs +2 -0
- package/dist/modules/index.mjs.map +2 -2
- package/dist/modules/manifest.d.mts +2 -2
- package/dist/modules/manifest.mjs +4 -0
- package/dist/modules/manifest.mjs.map +2 -2
- package/dist/modules/resolve.mjs +4 -0
- package/dist/modules/resolve.mjs.map +2 -2
- package/dist/modules/runtime/describe.mjs +25 -4
- package/dist/modules/runtime/describe.mjs.map +2 -2
- package/dist/modules/runtime/described.d.mts +40 -4
- package/dist/modules/runtime/described.mjs +7 -2
- package/dist/modules/runtime/described.mjs.map +2 -2
- package/dist/modules/runtime/isolate.d.mts +2 -0
- package/dist/modules/runtime/isolate.mjs +7 -4
- package/dist/modules/runtime/isolate.mjs.map +2 -2
- package/dist/modules/runtime/lower.mjs +76 -14
- package/dist/modules/runtime/lower.mjs.map +2 -2
- package/dist/modules/runtime/schema-validation.mjs +19 -2
- package/dist/modules/runtime/schema-validation.mjs.map +2 -2
- package/fixtures/assistant/agent/agent.ts +7 -0
- package/package.json +4 -3
- package/dist/compiler-assets/chunk-GNR7XBPN.ts +0 -3364
- package/dist/compiler-assets/chunk-JNJE72EH.ts +0 -10
- package/dist/compiler-assets/chunk-T6WG4L4M.ts +0 -19
- /package/dist/compiler-assets/{chunk-6WR3PGNF.ts → chunk-CIWWFQHL.ts} +0 -0
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
resolvedAgentManifestSchema,
|
|
7
7
|
sandboxBindingSchema,
|
|
8
8
|
skillBundleSchema
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
jsonObjectSchema,
|
|
12
|
-
jsonValueSchema
|
|
13
|
-
} from "./chunk-7QP2CKPI.ts";
|
|
9
|
+
} from "./chunk-APU2VKLW.ts";
|
|
14
10
|
import {
|
|
15
11
|
findDynamicSlots,
|
|
16
12
|
isDynamicSlot
|
|
17
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MSE7X5YG.ts";
|
|
14
|
+
import {
|
|
15
|
+
jsonObjectSchema,
|
|
16
|
+
jsonValueSchema
|
|
17
|
+
} from "./chunk-4X2DS5BR.ts";
|
|
18
18
|
import {
|
|
19
19
|
_null,
|
|
20
20
|
array,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
number,
|
|
23
23
|
record,
|
|
24
24
|
string
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3K4C4SVG.ts";
|
|
26
26
|
|
|
27
27
|
// src/resolve.ts
|
|
28
28
|
var SlotValueKind = /* @__PURE__ */ ((SlotValueKind2) => {
|
|
@@ -157,6 +157,10 @@ var resolveManifestDetailed = async (args) => {
|
|
|
157
157
|
for (const found of slots) {
|
|
158
158
|
const subscribed = found.slot.$dynamic.events.includes(args.event);
|
|
159
159
|
const raw = subscribed ? await args.resolve(found.slot, found.path) : args.previous?.[found.path] ?? null;
|
|
160
|
+
if ((found.slot.$dynamic.requiredBindings?.length ?? 0) > 0 && raw == null)
|
|
161
|
+
throw new Error(
|
|
162
|
+
`Required hosted bindings for ${found.path} did not resolve: ${found.slot.$dynamic.requiredBindings?.map((item) => item.name).join(", ")}`
|
|
163
|
+
);
|
|
160
164
|
if (subscribed) checkEnvironmentProvider(args.manifest, found.path, raw);
|
|
161
165
|
normalized[found.path] = validateSlotValue(found.path, raw) ?? FIELD_DEFAULTS.get(found.path) ?? null;
|
|
162
166
|
values[found.path] = slotKindOf(found.path) === "sandbox-environment" /* SandboxEnvironment */ ? raw : normalized[found.path] ?? null;
|
|
@@ -8,48 +8,48 @@ import {
|
|
|
8
8
|
lowerSkill,
|
|
9
9
|
lowerTool,
|
|
10
10
|
toJson
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5NTKRRMC.ts";
|
|
12
12
|
import {
|
|
13
13
|
AUTHORED_SERVER_KEY
|
|
14
14
|
} from "./chunk-NMYHO2QN.ts";
|
|
15
15
|
import {
|
|
16
16
|
hookHandlersFor
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TJZS457N.ts";
|
|
18
18
|
import {
|
|
19
19
|
unopenedRequestOf
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4E5HECVD.ts";
|
|
21
21
|
import {
|
|
22
22
|
registerToolName,
|
|
23
23
|
toolLabelSchema
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import {
|
|
26
|
-
validateSchemaValue
|
|
27
|
-
} from "./chunk-GNR7XBPN.ts";
|
|
24
|
+
} from "./chunk-2ZRYQO4Q.ts";
|
|
28
25
|
import {
|
|
29
26
|
lowerApproval
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import {
|
|
32
|
-
mcpServerBindingSchema,
|
|
33
|
-
providerRefSchema
|
|
34
|
-
} from "./chunk-OWC6SFFF.ts";
|
|
27
|
+
} from "./chunk-4A66SVBJ.ts";
|
|
35
28
|
import {
|
|
36
29
|
ConversationKind,
|
|
37
30
|
ParticipantKind
|
|
38
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IF6MR7JF.ts";
|
|
39
32
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./chunk-
|
|
33
|
+
mcpServerBindingSchema,
|
|
34
|
+
providerRefSchema
|
|
35
|
+
} from "./chunk-APU2VKLW.ts";
|
|
43
36
|
import {
|
|
44
37
|
TranscriptRole
|
|
45
38
|
} from "./chunk-RWUIMTBI.ts";
|
|
39
|
+
import {
|
|
40
|
+
validateSchemaValue
|
|
41
|
+
} from "./chunk-W6DOJA4W.ts";
|
|
46
42
|
import {
|
|
47
43
|
DynamicEvent
|
|
48
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-MSE7X5YG.ts";
|
|
45
|
+
import {
|
|
46
|
+
jsonObjectSchema,
|
|
47
|
+
jsonValueSchema
|
|
48
|
+
} from "./chunk-4X2DS5BR.ts";
|
|
49
49
|
import {
|
|
50
50
|
authoredKindOf,
|
|
51
51
|
stamp
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-QJ26GEUM.ts";
|
|
53
53
|
import {
|
|
54
54
|
authoredRecordSchema,
|
|
55
55
|
callableSchema,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
isPlainObject,
|
|
62
62
|
messageOf,
|
|
63
63
|
optionalValueSchema
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-TM36NO3C.ts";
|
|
65
65
|
import {
|
|
66
66
|
array,
|
|
67
67
|
boolean,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
number,
|
|
71
71
|
object,
|
|
72
72
|
string
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-3K4C4SVG.ts";
|
|
74
74
|
|
|
75
75
|
// src/runtime/isolate.ts
|
|
76
76
|
var jsonOf = (value, path) => {
|
|
@@ -316,18 +316,20 @@ var createIsolateRuntime = (modules) => {
|
|
|
316
316
|
session: boundary.session,
|
|
317
317
|
messages: boundary.messages,
|
|
318
318
|
channel: boundary.channel,
|
|
319
|
-
secrets: args.secrets
|
|
319
|
+
secrets: args.secrets,
|
|
320
|
+
bindings: args.bindings
|
|
320
321
|
});
|
|
321
322
|
const expected = args.kind === "tool" /* Tool */ ? "tool" /* Tool */ : "connection" /* Connection */;
|
|
322
323
|
return authoredKindOf(result) === expected ? result : fieldOf(result, boundary.name);
|
|
323
324
|
};
|
|
324
325
|
return {
|
|
325
|
-
evaluateApproval: async ({ reference, input, secrets }) => {
|
|
326
|
+
evaluateApproval: async ({ reference, input, secrets, bindings }) => {
|
|
326
327
|
const value = await resolveAuthored({
|
|
327
328
|
exportName: reference.export,
|
|
328
329
|
dynamic: reference.dynamic,
|
|
329
330
|
kind: reference.kind,
|
|
330
|
-
secrets
|
|
331
|
+
secrets,
|
|
332
|
+
bindings
|
|
331
333
|
});
|
|
332
334
|
let policy;
|
|
333
335
|
let validated = input;
|
|
@@ -355,7 +357,8 @@ var createIsolateRuntime = (modules) => {
|
|
|
355
357
|
exportName: args.export,
|
|
356
358
|
dynamic: args.dynamic,
|
|
357
359
|
kind: "tool" /* Tool */,
|
|
358
|
-
secrets: args.ctx.secrets
|
|
360
|
+
secrets: args.ctx.secrets,
|
|
361
|
+
bindings: args.ctx.bindings
|
|
359
362
|
});
|
|
360
363
|
if (args.dynamic != null)
|
|
361
364
|
registerToolName(value, dynamicToolBoundarySchema.parse(args.dynamic).name);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
harnessDescriptionSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RIEMTCTV.ts";
|
|
4
4
|
import {
|
|
5
5
|
bundleRef
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-APU2VKLW.ts";
|
|
7
7
|
import {
|
|
8
8
|
registerPending
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QJ26GEUM.ts";
|
|
10
10
|
|
|
11
11
|
// src/authoring/harness.ts
|
|
12
12
|
var completeHarnessDescription = (authored) => {
|
|
@@ -18,6 +18,8 @@ var completeHarnessDescription = (authored) => {
|
|
|
18
18
|
};
|
|
19
19
|
if (authored.supports?.nativeToolPolicy != null)
|
|
20
20
|
supports.nativeToolPolicy = authored.supports.nativeToolPolicy;
|
|
21
|
+
if (authored.supports?.deferredToolSearch != null)
|
|
22
|
+
supports.deferredToolSearch = authored.supports.deferredToolSearch;
|
|
21
23
|
return harnessDescriptionSchema.parse({
|
|
22
24
|
...authored,
|
|
23
25
|
acp: { transports: authored.acp.transports, mcp: authored.acp.mcp ?? [] },
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defineAgent
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-7XUPKRZU.ts";
|
|
4
|
+
import "../../chunk-QJ26GEUM.ts";
|
|
5
|
+
import "../../chunk-TM36NO3C.ts";
|
|
6
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
7
7
|
import "../../chunk-32O3ODZE.ts";
|
|
8
8
|
export {
|
|
9
9
|
defineAgent
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
lowerApproval,
|
|
4
4
|
never,
|
|
5
5
|
whenInput
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
6
|
+
} from "../../chunk-4A66SVBJ.ts";
|
|
7
|
+
import "../../chunk-APU2VKLW.ts";
|
|
8
|
+
import "../../chunk-MSE7X5YG.ts";
|
|
9
|
+
import "../../chunk-4X2DS5BR.ts";
|
|
10
|
+
import "../../chunk-QJ26GEUM.ts";
|
|
11
|
+
import "../../chunk-TM36NO3C.ts";
|
|
12
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
13
13
|
import "../../chunk-32O3ODZE.ts";
|
|
14
14
|
export {
|
|
15
15
|
always,
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
pendingIndexOf,
|
|
8
8
|
registerPending,
|
|
9
9
|
stamp
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
10
|
+
} from "../../chunk-QJ26GEUM.ts";
|
|
11
|
+
import "../../chunk-TM36NO3C.ts";
|
|
12
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
13
13
|
import "../../chunk-32O3ODZE.ts";
|
|
14
14
|
export {
|
|
15
15
|
AuthoredKind,
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
defineChannel,
|
|
8
8
|
defineProviderChannel,
|
|
9
9
|
disableChannel
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
10
|
+
} from "../../chunk-K7V4IMOB.ts";
|
|
11
|
+
import "../../chunk-IF6MR7JF.ts";
|
|
12
|
+
import "../../chunk-4X2DS5BR.ts";
|
|
13
|
+
import "../../chunk-QJ26GEUM.ts";
|
|
14
|
+
import "../../chunk-TM36NO3C.ts";
|
|
15
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
16
16
|
import "../../chunk-32O3ODZE.ts";
|
|
17
17
|
export {
|
|
18
18
|
DELETE,
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
+
defineHostedConnection,
|
|
2
3
|
defineMcpClientConnection
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-TJ536HI4.ts";
|
|
5
|
+
import "../../chunk-CIWWFQHL.ts";
|
|
6
|
+
import "../../chunk-APU2VKLW.ts";
|
|
7
|
+
import "../../chunk-PFLSBTJA.ts";
|
|
8
|
+
import "../../chunk-ULI5WWRR.ts";
|
|
9
|
+
import "../../chunk-W6DOJA4W.ts";
|
|
10
|
+
import "../../chunk-7WGYG73V.ts";
|
|
11
|
+
import "../../chunk-MSE7X5YG.ts";
|
|
12
|
+
import "../../chunk-4X2DS5BR.ts";
|
|
13
|
+
import "../../chunk-QJ26GEUM.ts";
|
|
14
|
+
import "../../chunk-TM36NO3C.ts";
|
|
15
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
7
16
|
import "../../chunk-32O3ODZE.ts";
|
|
8
17
|
export {
|
|
18
|
+
defineHostedConnection,
|
|
9
19
|
defineMcpClientConnection
|
|
10
20
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
credentials
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-K6D7ZK74.ts";
|
|
4
4
|
import {
|
|
5
5
|
CredentialOwner,
|
|
6
6
|
CredentialPayer,
|
|
7
7
|
defaultOrganizationCredentialPolicy,
|
|
8
8
|
defaultPersonalCredentialPolicy
|
|
9
|
-
} from "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
9
|
+
} from "../../chunk-GCFSHHH2.ts";
|
|
10
|
+
import "../../chunk-MSE7X5YG.ts";
|
|
11
|
+
import "../../chunk-4X2DS5BR.ts";
|
|
12
|
+
import "../../chunk-QJ26GEUM.ts";
|
|
13
|
+
import "../../chunk-TM36NO3C.ts";
|
|
14
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
14
15
|
import "../../chunk-32O3ODZE.ts";
|
|
15
16
|
export {
|
|
16
17
|
CredentialOwner,
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defineDynamic
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-PFLSBTJA.ts";
|
|
4
|
+
import "../../chunk-ULI5WWRR.ts";
|
|
5
|
+
import "../../chunk-W6DOJA4W.ts";
|
|
6
|
+
import "../../chunk-7WGYG73V.ts";
|
|
7
|
+
import "../../chunk-MSE7X5YG.ts";
|
|
8
|
+
import "../../chunk-4X2DS5BR.ts";
|
|
9
|
+
import "../../chunk-QJ26GEUM.ts";
|
|
10
|
+
import "../../chunk-TM36NO3C.ts";
|
|
11
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
7
12
|
import "../../chunk-32O3ODZE.ts";
|
|
8
13
|
export {
|
|
9
14
|
defineDynamic
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
completeHarnessDescription,
|
|
3
3
|
defineHarness
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-Z5TO7RSJ.ts";
|
|
5
|
+
import "../../chunk-RIEMTCTV.ts";
|
|
6
|
+
import "../../chunk-APU2VKLW.ts";
|
|
7
|
+
import "../../chunk-GCFSHHH2.ts";
|
|
8
|
+
import "../../chunk-MSE7X5YG.ts";
|
|
9
|
+
import "../../chunk-4X2DS5BR.ts";
|
|
10
|
+
import "../../chunk-QJ26GEUM.ts";
|
|
11
|
+
import "../../chunk-TM36NO3C.ts";
|
|
12
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
13
13
|
import "../../chunk-32O3ODZE.ts";
|
|
14
14
|
export {
|
|
15
15
|
completeHarnessDescription,
|
|
@@ -5,17 +5,19 @@ import {
|
|
|
5
5
|
defineHook,
|
|
6
6
|
hookHandlersFor,
|
|
7
7
|
normalizeHookKey
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-TJZS457N.ts";
|
|
9
9
|
import {
|
|
10
10
|
toolResultFrom
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-2ZRYQO4Q.ts";
|
|
12
|
+
import "../../chunk-PFLSBTJA.ts";
|
|
13
|
+
import "../../chunk-ULI5WWRR.ts";
|
|
14
|
+
import "../../chunk-W6DOJA4W.ts";
|
|
13
15
|
import "../../chunk-7WGYG73V.ts";
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-MSE7X5YG.ts";
|
|
17
|
+
import "../../chunk-4X2DS5BR.ts";
|
|
18
|
+
import "../../chunk-QJ26GEUM.ts";
|
|
19
|
+
import "../../chunk-TM36NO3C.ts";
|
|
20
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
19
21
|
import "../../chunk-32O3ODZE.ts";
|
|
20
22
|
export {
|
|
21
23
|
HOOK_WILDCARD,
|
|
@@ -1,46 +1,43 @@
|
|
|
1
|
-
import "../../chunk-
|
|
1
|
+
import "../../chunk-RMIQJHSL.ts";
|
|
2
2
|
import {
|
|
3
3
|
completeHarnessDescription,
|
|
4
4
|
defineHarness
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-Z5TO7RSJ.ts";
|
|
6
6
|
import {
|
|
7
7
|
HookEvent,
|
|
8
8
|
defineHook
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-TJZS457N.ts";
|
|
10
10
|
import {
|
|
11
11
|
defineInstructions
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-LHMUAIYJ.ts";
|
|
13
13
|
import {
|
|
14
14
|
baseTools,
|
|
15
15
|
defineSandbox,
|
|
16
16
|
defineSandboxProvider,
|
|
17
17
|
harnessHost
|
|
18
|
-
} from "../../chunk-
|
|
19
|
-
import "../../chunk-
|
|
18
|
+
} from "../../chunk-IZGOMT7K.ts";
|
|
19
|
+
import "../../chunk-4E5HECVD.ts";
|
|
20
20
|
import {
|
|
21
21
|
SandboxWire
|
|
22
|
-
} from "../../chunk-
|
|
22
|
+
} from "../../chunk-RIEMTCTV.ts";
|
|
23
23
|
import {
|
|
24
24
|
defineSchedule
|
|
25
|
-
} from "../../chunk-
|
|
25
|
+
} from "../../chunk-JGQ2KAN7.ts";
|
|
26
26
|
import {
|
|
27
27
|
defineSkill
|
|
28
|
-
} from "../../chunk-
|
|
28
|
+
} from "../../chunk-D3SB4CCB.ts";
|
|
29
29
|
import {
|
|
30
30
|
defineTool,
|
|
31
31
|
toolResultFrom
|
|
32
|
-
} from "../../chunk-
|
|
33
|
-
import "../../chunk-GNR7XBPN.ts";
|
|
34
|
-
import "../../chunk-7WGYG73V.ts";
|
|
32
|
+
} from "../../chunk-2ZRYQO4Q.ts";
|
|
35
33
|
import {
|
|
36
34
|
defineAgent
|
|
37
|
-
} from "../../chunk-
|
|
35
|
+
} from "../../chunk-7XUPKRZU.ts";
|
|
38
36
|
import {
|
|
39
37
|
always,
|
|
40
38
|
never,
|
|
41
39
|
whenInput
|
|
42
|
-
} from "../../chunk-
|
|
43
|
-
import "../../chunk-OWC6SFFF.ts";
|
|
40
|
+
} from "../../chunk-4A66SVBJ.ts";
|
|
44
41
|
import {
|
|
45
42
|
DELETE,
|
|
46
43
|
GET,
|
|
@@ -50,29 +47,37 @@ import {
|
|
|
50
47
|
defineChannel,
|
|
51
48
|
defineProviderChannel,
|
|
52
49
|
disableChannel
|
|
53
|
-
} from "../../chunk-
|
|
54
|
-
import "../../chunk-
|
|
55
|
-
import "../../chunk-7QP2CKPI.ts";
|
|
50
|
+
} from "../../chunk-K7V4IMOB.ts";
|
|
51
|
+
import "../../chunk-IF6MR7JF.ts";
|
|
56
52
|
import {
|
|
53
|
+
defineHostedConnection,
|
|
57
54
|
defineMcpClientConnection
|
|
58
|
-
} from "../../chunk-
|
|
55
|
+
} from "../../chunk-TJ536HI4.ts";
|
|
56
|
+
import "../../chunk-CIWWFQHL.ts";
|
|
57
|
+
import "../../chunk-APU2VKLW.ts";
|
|
59
58
|
import {
|
|
60
59
|
TranscriptRole
|
|
61
60
|
} from "../../chunk-RWUIMTBI.ts";
|
|
62
61
|
import {
|
|
63
62
|
credentials
|
|
64
|
-
} from "../../chunk-
|
|
63
|
+
} from "../../chunk-K6D7ZK74.ts";
|
|
65
64
|
import {
|
|
66
65
|
CredentialOwner,
|
|
67
66
|
CredentialPayer
|
|
68
|
-
} from "../../chunk-
|
|
69
|
-
import "../../chunk-SKTNMUO7.ts";
|
|
67
|
+
} from "../../chunk-GCFSHHH2.ts";
|
|
70
68
|
import {
|
|
71
69
|
defineDynamic
|
|
72
|
-
} from "../../chunk-
|
|
73
|
-
import "../../chunk-
|
|
74
|
-
import "../../chunk-
|
|
75
|
-
import "../../chunk-
|
|
70
|
+
} from "../../chunk-PFLSBTJA.ts";
|
|
71
|
+
import "../../chunk-ULI5WWRR.ts";
|
|
72
|
+
import "../../chunk-W6DOJA4W.ts";
|
|
73
|
+
import "../../chunk-7WGYG73V.ts";
|
|
74
|
+
import {
|
|
75
|
+
requireHostedBinding
|
|
76
|
+
} from "../../chunk-MSE7X5YG.ts";
|
|
77
|
+
import "../../chunk-4X2DS5BR.ts";
|
|
78
|
+
import "../../chunk-QJ26GEUM.ts";
|
|
79
|
+
import "../../chunk-TM36NO3C.ts";
|
|
80
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
76
81
|
import "../../chunk-32O3ODZE.ts";
|
|
77
82
|
export {
|
|
78
83
|
CredentialOwner,
|
|
@@ -94,6 +99,7 @@ export {
|
|
|
94
99
|
defineDynamic,
|
|
95
100
|
defineHarness,
|
|
96
101
|
defineHook,
|
|
102
|
+
defineHostedConnection,
|
|
97
103
|
defineInstructions,
|
|
98
104
|
defineMcpClientConnection,
|
|
99
105
|
defineProviderChannel,
|
|
@@ -105,6 +111,7 @@ export {
|
|
|
105
111
|
disableChannel,
|
|
106
112
|
harnessHost,
|
|
107
113
|
never,
|
|
114
|
+
requireHostedBinding,
|
|
108
115
|
toolResultFrom,
|
|
109
116
|
whenInput
|
|
110
117
|
};
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defineInstructions
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-LHMUAIYJ.ts";
|
|
4
4
|
import {
|
|
5
5
|
defineDynamic
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
6
|
+
} from "../../chunk-PFLSBTJA.ts";
|
|
7
|
+
import "../../chunk-ULI5WWRR.ts";
|
|
8
|
+
import "../../chunk-W6DOJA4W.ts";
|
|
9
|
+
import "../../chunk-7WGYG73V.ts";
|
|
10
|
+
import "../../chunk-MSE7X5YG.ts";
|
|
11
|
+
import "../../chunk-4X2DS5BR.ts";
|
|
12
|
+
import "../../chunk-QJ26GEUM.ts";
|
|
13
|
+
import "../../chunk-TM36NO3C.ts";
|
|
14
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
10
15
|
import "../../chunk-32O3ODZE.ts";
|
|
11
16
|
export {
|
|
12
17
|
defineDynamic,
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
defineSandbox,
|
|
4
4
|
defineSandboxProvider,
|
|
5
5
|
harnessHost
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
} from "../../chunk-IZGOMT7K.ts";
|
|
7
|
+
import "../../chunk-4E5HECVD.ts";
|
|
8
8
|
import {
|
|
9
9
|
SandboxWire
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
10
|
+
} from "../../chunk-RIEMTCTV.ts";
|
|
11
|
+
import "../../chunk-APU2VKLW.ts";
|
|
12
|
+
import "../../chunk-GCFSHHH2.ts";
|
|
13
|
+
import "../../chunk-MSE7X5YG.ts";
|
|
14
|
+
import "../../chunk-4X2DS5BR.ts";
|
|
15
|
+
import "../../chunk-QJ26GEUM.ts";
|
|
16
|
+
import "../../chunk-TM36NO3C.ts";
|
|
17
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
18
18
|
import "../../chunk-32O3ODZE.ts";
|
|
19
19
|
export {
|
|
20
20
|
SandboxWire,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defineSchedule
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-JGQ2KAN7.ts";
|
|
4
|
+
import "../../chunk-QJ26GEUM.ts";
|
|
5
|
+
import "../../chunk-TM36NO3C.ts";
|
|
6
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
7
7
|
import "../../chunk-32O3ODZE.ts";
|
|
8
8
|
export {
|
|
9
9
|
defineSchedule
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defineSkill
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-D3SB4CCB.ts";
|
|
4
|
+
import "../../chunk-QJ26GEUM.ts";
|
|
5
|
+
import "../../chunk-TM36NO3C.ts";
|
|
6
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
7
7
|
import "../../chunk-32O3ODZE.ts";
|
|
8
8
|
export {
|
|
9
9
|
defineSkill
|
|
@@ -3,16 +3,18 @@ import {
|
|
|
3
3
|
registerToolName,
|
|
4
4
|
toolLabelSchema,
|
|
5
5
|
toolResultFrom
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-GNR7XBPN.ts";
|
|
8
|
-
import "../../chunk-7WGYG73V.ts";
|
|
9
|
-
import "../../chunk-7QP2CKPI.ts";
|
|
6
|
+
} from "../../chunk-2ZRYQO4Q.ts";
|
|
10
7
|
import {
|
|
11
8
|
defineDynamic
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
9
|
+
} from "../../chunk-PFLSBTJA.ts";
|
|
10
|
+
import "../../chunk-ULI5WWRR.ts";
|
|
11
|
+
import "../../chunk-W6DOJA4W.ts";
|
|
12
|
+
import "../../chunk-7WGYG73V.ts";
|
|
13
|
+
import "../../chunk-MSE7X5YG.ts";
|
|
14
|
+
import "../../chunk-4X2DS5BR.ts";
|
|
15
|
+
import "../../chunk-QJ26GEUM.ts";
|
|
16
|
+
import "../../chunk-TM36NO3C.ts";
|
|
17
|
+
import "../../chunk-3K4C4SVG.ts";
|
|
16
18
|
import "../../chunk-32O3ODZE.ts";
|
|
17
19
|
export {
|
|
18
20
|
defineDynamic,
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
SHARED_SCHEMAS,
|
|
4
4
|
deliveredHarnessConfig,
|
|
5
5
|
referencedSharedSchemas
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import {
|
|
8
|
-
require_fast_deep_equal
|
|
9
|
-
} from "../chunk-7WGYG73V.ts";
|
|
6
|
+
} from "../chunk-RIEMTCTV.ts";
|
|
10
7
|
import {
|
|
11
8
|
BaseCapability,
|
|
12
9
|
formatProviderRef
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import {
|
|
15
|
-
jsonObjectSchema
|
|
16
|
-
} from "../chunk-7QP2CKPI.ts";
|
|
10
|
+
} from "../chunk-APU2VKLW.ts";
|
|
17
11
|
import {
|
|
18
12
|
credentialPolicySchema,
|
|
19
13
|
inferenceKindOfNode
|
|
20
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-GCFSHHH2.ts";
|
|
15
|
+
import {
|
|
16
|
+
require_fast_deep_equal
|
|
17
|
+
} from "../chunk-7WGYG73V.ts";
|
|
21
18
|
import {
|
|
22
19
|
findDynamicSlots,
|
|
23
20
|
isDynamicSlot
|
|
24
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-MSE7X5YG.ts";
|
|
22
|
+
import {
|
|
23
|
+
jsonObjectSchema
|
|
24
|
+
} from "../chunk-4X2DS5BR.ts";
|
|
25
25
|
import {
|
|
26
26
|
string
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-3K4C4SVG.ts";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__toESM
|