@finalai/agent-definition 0.5.0 → 0.5.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/HOSTING.md +3 -3
- package/dist/compiler-assets/{chunk-OVAUXBQU.ts → chunk-4T2XPIPH.ts} +3 -3
- package/dist/compiler-assets/{chunk-JW4Y5OAP.ts → chunk-BMX2HP6G.ts} +1 -1
- package/dist/compiler-assets/{chunk-GOIK7WNT.ts → chunk-EAEQQT33.ts} +6 -3
- package/dist/compiler-assets/{chunk-ZICJVGG7.ts → chunk-GIRUQ7QF.ts} +2 -2
- package/dist/compiler-assets/{chunk-YOE37BRR.ts → chunk-MBX6PIN7.ts} +2 -2
- package/dist/compiler-assets/{chunk-TFPXCL5W.ts → chunk-O2JWY454.ts} +1 -1
- package/dist/compiler-assets/{chunk-L7E6UQX3.ts → chunk-U3MFLFVF.ts} +2 -2
- package/dist/compiler-assets/{chunk-2LYL3UFK.ts → chunk-VRW24MOJ.ts} +1 -1
- package/dist/compiler-assets/{chunk-V5E4RKG6.ts → chunk-YEKSPL76.ts} +1 -1
- package/dist/compiler-assets/src/authoring/approval.ts +2 -2
- package/dist/compiler-assets/src/authoring/connections.ts +2 -2
- package/dist/compiler-assets/src/authoring/harness.ts +3 -3
- package/dist/compiler-assets/src/authoring/index.ts +6 -6
- package/dist/compiler-assets/src/authoring/sandbox.ts +3 -3
- package/dist/compiler-assets/src/compatibility.ts +2 -2
- package/dist/compiler-assets/src/index.ts +9 -7
- package/dist/compiler-assets/src/manifest.ts +3 -1
- package/dist/compiler-assets/src/resolve.ts +2 -2
- package/dist/compiler-assets/src/runtime/bundle.ts +5 -5
- package/dist/compiler-assets/src/runtime/describe.ts +4 -4
- package/dist/compiler-assets/src/runtime/described.ts +3 -3
- package/dist/compiler-assets/src/runtime/isolate.ts +4 -4
- package/dist/compiler-assets/src/runtime/lower.ts +3 -3
- package/dist/modules/manifest.d.mts +2 -2
- package/dist/modules/manifest.mjs +2 -0
- package/dist/modules/manifest.mjs.map +2 -2
- package/package.json +3 -3
- /package/dist/compiler-assets/{chunk-S5ON7OBR.ts → chunk-LZSLGWS7.ts} +0 -0
package/HOSTING.md
CHANGED
|
@@ -7,13 +7,13 @@ resolve against dev and production configuration without source edits.
|
|
|
7
7
|
## Selecting a deployment
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
export FINAL_API_HOST=https
|
|
11
|
-
export FINAL_API_KEY=<dev-
|
|
10
|
+
export FINAL_API_HOST=https://<dev-agents-api-host>/api
|
|
11
|
+
export FINAL_API_KEY=<dev-api-key>
|
|
12
12
|
pnpm exec final-agents build ./agent
|
|
13
13
|
pnpm exec final-agents publish ./agent --agent my-agent
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Choose production by changing the host and
|
|
16
|
+
Choose production by changing the host and API key. `--host` overrides
|
|
17
17
|
`FINAL_API_HOST`; without either, the existing production default remains. Build
|
|
18
18
|
compiles locally and optionally checks installed-harness compatibility. Publish
|
|
19
19
|
compiles again and sends source/release requests to the selected deployment.
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
lowerSkill,
|
|
9
9
|
lowerTool,
|
|
10
10
|
toJson
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GIRUQ7QF.ts";
|
|
12
12
|
import {
|
|
13
13
|
AUTHORED_SERVER_KEY
|
|
14
14
|
} from "./chunk-NMYHO2QN.ts";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-4ERFBLH7.ts";
|
|
25
25
|
import {
|
|
26
26
|
lowerApproval
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-O2JWY454.ts";
|
|
28
28
|
import {
|
|
29
29
|
ConversationKind,
|
|
30
30
|
ParticipantKind
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
mcpServerBindingSchema,
|
|
34
34
|
providerRefSchema
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-EAEQQT33.ts";
|
|
36
36
|
import {
|
|
37
37
|
TranscriptRole
|
|
38
38
|
} from "./chunk-RWUIMTBI.ts";
|
|
@@ -182,6 +182,9 @@ var mcpServerBindingSchema = discriminatedUnion("kind", [
|
|
|
182
182
|
workerMcpServerBindingSchema,
|
|
183
183
|
httpMcpServerBindingSchema
|
|
184
184
|
]);
|
|
185
|
+
var sandboxCredentialRefSchema = strictObject({
|
|
186
|
+
secretRef: string().min(1).max(256)
|
|
187
|
+
});
|
|
185
188
|
var sandboxBindingSchema = object({
|
|
186
189
|
provider: providerRefSchema,
|
|
187
190
|
// Provider-defined environment options (`computer`: a setup guide reference or
|
|
@@ -241,9 +244,8 @@ var agentManifestSchema = object({
|
|
|
241
244
|
sandboxes: maybeDynamic(record(string(), sandboxBindingSchema)),
|
|
242
245
|
tools: baseToolsSchema,
|
|
243
246
|
toolPolicy: record(string(), nativeEnum(ToolApproval)),
|
|
244
|
-
//
|
|
245
|
-
//
|
|
246
|
-
// binding organization secrets requires an organization admin at publish.
|
|
247
|
+
// Secrets this agent may read, by name (`secrets.get`, MCP `secretKey`,
|
|
248
|
+
// `apiKey({ secret })`). Nothing else is readable.
|
|
247
249
|
secrets: array(string().min(1)).default([]),
|
|
248
250
|
channels: array(channelBindingSchema),
|
|
249
251
|
channelSources: record(string(), object({ path: string(), source: string(), disabled: boolean() })).optional(),
|
|
@@ -318,6 +320,7 @@ export {
|
|
|
318
320
|
workerMcpServerBindingSchema,
|
|
319
321
|
httpMcpServerBindingSchema,
|
|
320
322
|
mcpServerBindingSchema,
|
|
323
|
+
sandboxCredentialRefSchema,
|
|
321
324
|
sandboxBindingSchema,
|
|
322
325
|
baseToolsSchema,
|
|
323
326
|
channelBindingSchema,
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-4ERFBLH7.ts";
|
|
4
4
|
import {
|
|
5
5
|
lowerApproval
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-O2JWY454.ts";
|
|
7
7
|
import {
|
|
8
8
|
toolAnnotationSelectorSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EAEQQT33.ts";
|
|
10
10
|
import {
|
|
11
11
|
jsonSchemaDeclarationError
|
|
12
12
|
} from "./chunk-O3JKMLDP.ts";
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
note,
|
|
14
14
|
sandboxProviderNameOf,
|
|
15
15
|
toJson
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GIRUQ7QF.ts";
|
|
17
17
|
import {
|
|
18
18
|
AGENT_DYNAMIC_PREFIX,
|
|
19
19
|
namedExportName
|
|
20
20
|
} from "./chunk-NMYHO2QN.ts";
|
|
21
21
|
import {
|
|
22
22
|
agentAvatarSchema
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EAEQQT33.ts";
|
|
24
24
|
import {
|
|
25
25
|
hostedBindingRequirementSchema
|
|
26
26
|
} from "./chunk-R4IHPPTB.ts";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
lowerApproval,
|
|
4
4
|
never,
|
|
5
5
|
whenInput
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
} from "../../chunk-O2JWY454.ts";
|
|
7
|
+
import "../../chunk-EAEQQT33.ts";
|
|
8
8
|
import "../../chunk-R4IHPPTB.ts";
|
|
9
9
|
import "../../chunk-FU5VHNO4.ts";
|
|
10
10
|
import "../../chunk-KTBNDKGJ.ts";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defineHostedConnection,
|
|
3
3
|
defineMcpClientConnection
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-BMX2HP6G.ts";
|
|
5
5
|
import "../../chunk-VI5WBWUX.ts";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-EAEQQT33.ts";
|
|
7
7
|
import "../../chunk-36MVFRMA.ts";
|
|
8
8
|
import "../../chunk-XJNO7EHQ.ts";
|
|
9
9
|
import "../../chunk-O3JKMLDP.ts";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
completeHarnessDescription,
|
|
3
3
|
defineHarness
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-U3MFLFVF.ts";
|
|
5
|
+
import "../../chunk-YEKSPL76.ts";
|
|
6
|
+
import "../../chunk-EAEQQT33.ts";
|
|
7
7
|
import "../../chunk-QVHDGZAN.ts";
|
|
8
8
|
import "../../chunk-R4IHPPTB.ts";
|
|
9
9
|
import "../../chunk-FU5VHNO4.ts";
|
|
@@ -2,7 +2,7 @@ import "../../chunk-RMIQJHSL.ts";
|
|
|
2
2
|
import {
|
|
3
3
|
completeHarnessDescription,
|
|
4
4
|
defineHarness
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-U3MFLFVF.ts";
|
|
6
6
|
import {
|
|
7
7
|
HookEvent,
|
|
8
8
|
defineHook
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
defineSandbox,
|
|
16
16
|
defineSandboxProvider,
|
|
17
17
|
harnessHost
|
|
18
|
-
} from "../../chunk-
|
|
18
|
+
} from "../../chunk-LZSLGWS7.ts";
|
|
19
19
|
import "../../chunk-KNFPKVUS.ts";
|
|
20
20
|
import {
|
|
21
21
|
SandboxWire
|
|
22
|
-
} from "../../chunk-
|
|
22
|
+
} from "../../chunk-YEKSPL76.ts";
|
|
23
23
|
import {
|
|
24
24
|
defineSchedule
|
|
25
25
|
} from "../../chunk-7MDGEPFT.ts";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
always,
|
|
38
38
|
never,
|
|
39
39
|
whenInput
|
|
40
|
-
} from "../../chunk-
|
|
40
|
+
} from "../../chunk-O2JWY454.ts";
|
|
41
41
|
import {
|
|
42
42
|
DELETE,
|
|
43
43
|
GET,
|
|
@@ -52,9 +52,9 @@ import "../../chunk-JRKGCYWA.ts";
|
|
|
52
52
|
import {
|
|
53
53
|
defineHostedConnection,
|
|
54
54
|
defineMcpClientConnection
|
|
55
|
-
} from "../../chunk-
|
|
55
|
+
} from "../../chunk-BMX2HP6G.ts";
|
|
56
56
|
import "../../chunk-VI5WBWUX.ts";
|
|
57
|
-
import "../../chunk-
|
|
57
|
+
import "../../chunk-EAEQQT33.ts";
|
|
58
58
|
import {
|
|
59
59
|
TranscriptRole
|
|
60
60
|
} from "../../chunk-RWUIMTBI.ts";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
defineSandbox,
|
|
4
4
|
defineSandboxProvider,
|
|
5
5
|
harnessHost
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-LZSLGWS7.ts";
|
|
7
7
|
import "../../chunk-KNFPKVUS.ts";
|
|
8
8
|
import {
|
|
9
9
|
SandboxWire
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-YEKSPL76.ts";
|
|
11
11
|
import "../../chunk-VI5WBWUX.ts";
|
|
12
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-EAEQQT33.ts";
|
|
13
13
|
import "../../chunk-QVHDGZAN.ts";
|
|
14
14
|
import "../../chunk-R4IHPPTB.ts";
|
|
15
15
|
import "../../chunk-FU5VHNO4.ts";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
SHARED_SCHEMAS,
|
|
4
4
|
deliveredHarnessConfig,
|
|
5
5
|
referencedSharedSchemas
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-YEKSPL76.ts";
|
|
7
7
|
import {
|
|
8
8
|
BaseCapability,
|
|
9
9
|
formatProviderRef
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-EAEQQT33.ts";
|
|
11
11
|
import {
|
|
12
12
|
credentialPolicySchema,
|
|
13
13
|
inferenceKindOfNode
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
resolveManifestDetailed,
|
|
6
6
|
slotKindOf,
|
|
7
7
|
validateSlotValue
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-VRW24MOJ.ts";
|
|
9
9
|
import {
|
|
10
10
|
AGENT_DYNAMIC_PREFIX,
|
|
11
11
|
AUTHORED_SERVER_KEY,
|
|
@@ -15,7 +15,7 @@ import "../chunk-RMIQJHSL.ts";
|
|
|
15
15
|
import {
|
|
16
16
|
completeHarnessDescription,
|
|
17
17
|
defineHarness
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-U3MFLFVF.ts";
|
|
19
19
|
import {
|
|
20
20
|
HookEvent,
|
|
21
21
|
defineHook
|
|
@@ -28,11 +28,11 @@ import {
|
|
|
28
28
|
defineSandbox,
|
|
29
29
|
defineSandboxProvider,
|
|
30
30
|
harnessHost
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-LZSLGWS7.ts";
|
|
32
32
|
import "../chunk-KNFPKVUS.ts";
|
|
33
33
|
import {
|
|
34
34
|
SandboxWire
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-YEKSPL76.ts";
|
|
36
36
|
import {
|
|
37
37
|
defineSchedule
|
|
38
38
|
} from "../chunk-7MDGEPFT.ts";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
always,
|
|
51
51
|
never,
|
|
52
52
|
whenInput
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-O2JWY454.ts";
|
|
54
54
|
import {
|
|
55
55
|
DELETE,
|
|
56
56
|
GET,
|
|
@@ -65,7 +65,7 @@ import "../chunk-JRKGCYWA.ts";
|
|
|
65
65
|
import {
|
|
66
66
|
defineHostedConnection,
|
|
67
67
|
defineMcpClientConnection
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-BMX2HP6G.ts";
|
|
69
69
|
import "../chunk-VI5WBWUX.ts";
|
|
70
70
|
import {
|
|
71
71
|
BaseCapability,
|
|
@@ -92,12 +92,13 @@ import {
|
|
|
92
92
|
mcpServerBindingSchema,
|
|
93
93
|
resolvedAgentManifestSchema,
|
|
94
94
|
sandboxBindingSchema,
|
|
95
|
+
sandboxCredentialRefSchema,
|
|
95
96
|
scheduleDefinitionSchema,
|
|
96
97
|
skillBundleSchema,
|
|
97
98
|
skillFileSchema,
|
|
98
99
|
toolDescriptorSchema,
|
|
99
100
|
workerMcpServerBindingSchema
|
|
100
|
-
} from "../chunk-
|
|
101
|
+
} from "../chunk-EAEQQT33.ts";
|
|
101
102
|
import {
|
|
102
103
|
TranscriptRole
|
|
103
104
|
} from "../chunk-RWUIMTBI.ts";
|
|
@@ -195,6 +196,7 @@ export {
|
|
|
195
196
|
resolveManifestDetailed,
|
|
196
197
|
resolvedAgentManifestSchema,
|
|
197
198
|
sandboxBindingSchema,
|
|
199
|
+
sandboxCredentialRefSchema,
|
|
198
200
|
scheduleDefinitionSchema,
|
|
199
201
|
skillBundleSchema,
|
|
200
202
|
skillFileSchema,
|
|
@@ -24,12 +24,13 @@ import {
|
|
|
24
24
|
mcpServerBindingSchema,
|
|
25
25
|
resolvedAgentManifestSchema,
|
|
26
26
|
sandboxBindingSchema,
|
|
27
|
+
sandboxCredentialRefSchema,
|
|
27
28
|
scheduleDefinitionSchema,
|
|
28
29
|
skillBundleSchema,
|
|
29
30
|
skillFileSchema,
|
|
30
31
|
toolDescriptorSchema,
|
|
31
32
|
workerMcpServerBindingSchema
|
|
32
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-EAEQQT33.ts";
|
|
33
34
|
import {
|
|
34
35
|
DynamicEvent,
|
|
35
36
|
dynamicSlotSchema,
|
|
@@ -68,6 +69,7 @@ export {
|
|
|
68
69
|
mcpServerBindingSchema,
|
|
69
70
|
resolvedAgentManifestSchema,
|
|
70
71
|
sandboxBindingSchema,
|
|
72
|
+
sandboxCredentialRefSchema,
|
|
71
73
|
scheduleDefinitionSchema,
|
|
72
74
|
skillBundleSchema,
|
|
73
75
|
skillFileSchema,
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
resolveManifestDetailed,
|
|
5
5
|
slotKindOf,
|
|
6
6
|
validateSlotValue
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-VRW24MOJ.ts";
|
|
8
|
+
import "../chunk-EAEQQT33.ts";
|
|
9
9
|
import "../chunk-R4IHPPTB.ts";
|
|
10
10
|
import "../chunk-FU5VHNO4.ts";
|
|
11
11
|
import "../chunk-KTXTYIF4.ts";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
combineMcpServers,
|
|
3
3
|
createIsolateRuntime
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-4T2XPIPH.ts";
|
|
5
5
|
import {
|
|
6
6
|
describeBundle,
|
|
7
7
|
needsCombinedMcpServers,
|
|
8
8
|
synthesizedExports
|
|
9
|
-
} from "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
9
|
+
} from "../../chunk-MBX6PIN7.ts";
|
|
10
|
+
import "../../chunk-GIRUQ7QF.ts";
|
|
11
11
|
import {
|
|
12
12
|
COMBINED_MCP_SERVERS_EXPORT,
|
|
13
13
|
namedExportName
|
|
@@ -17,10 +17,10 @@ import "../../chunk-KNFPKVUS.ts";
|
|
|
17
17
|
import {
|
|
18
18
|
registerToolName
|
|
19
19
|
} from "../../chunk-4ERFBLH7.ts";
|
|
20
|
-
import "../../chunk-
|
|
20
|
+
import "../../chunk-O2JWY454.ts";
|
|
21
21
|
import "../../chunk-JRKGCYWA.ts";
|
|
22
22
|
import "../../chunk-VI5WBWUX.ts";
|
|
23
|
-
import "../../chunk-
|
|
23
|
+
import "../../chunk-EAEQQT33.ts";
|
|
24
24
|
import "../../chunk-RWUIMTBI.ts";
|
|
25
25
|
import "../../chunk-36MVFRMA.ts";
|
|
26
26
|
import "../../chunk-XJNO7EHQ.ts";
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
describeDynamic,
|
|
5
5
|
needsCombinedMcpServers,
|
|
6
6
|
synthesizedExports
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-MBX6PIN7.ts";
|
|
8
|
+
import "../../chunk-GIRUQ7QF.ts";
|
|
9
9
|
import {
|
|
10
10
|
COMBINED_MCP_SERVERS_EXPORT
|
|
11
11
|
} from "../../chunk-NMYHO2QN.ts";
|
|
12
12
|
import "../../chunk-4ERFBLH7.ts";
|
|
13
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-O2JWY454.ts";
|
|
14
14
|
import "../../chunk-VI5WBWUX.ts";
|
|
15
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-EAEQQT33.ts";
|
|
16
16
|
import "../../chunk-36MVFRMA.ts";
|
|
17
17
|
import "../../chunk-XJNO7EHQ.ts";
|
|
18
18
|
import "../../chunk-O3JKMLDP.ts";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IssueSeverity
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-GIRUQ7QF.ts";
|
|
4
4
|
import {
|
|
5
5
|
SlotKind
|
|
6
6
|
} from "../../chunk-NMYHO2QN.ts";
|
|
7
7
|
import "../../chunk-4ERFBLH7.ts";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-O2JWY454.ts";
|
|
9
9
|
import "../../chunk-VI5WBWUX.ts";
|
|
10
10
|
import {
|
|
11
11
|
agentAvatarSchema
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-EAEQQT33.ts";
|
|
13
13
|
import "../../chunk-36MVFRMA.ts";
|
|
14
14
|
import "../../chunk-XJNO7EHQ.ts";
|
|
15
15
|
import "../../chunk-O3JKMLDP.ts";
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
combineMcpServers,
|
|
3
3
|
createIsolateRuntime,
|
|
4
4
|
lowerResolvedValue
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-4T2XPIPH.ts";
|
|
6
|
+
import "../../chunk-GIRUQ7QF.ts";
|
|
7
7
|
import "../../chunk-NMYHO2QN.ts";
|
|
8
8
|
import "../../chunk-KMBQVNAJ.ts";
|
|
9
9
|
import "../../chunk-KNFPKVUS.ts";
|
|
10
10
|
import "../../chunk-4ERFBLH7.ts";
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-O2JWY454.ts";
|
|
12
12
|
import "../../chunk-JRKGCYWA.ts";
|
|
13
13
|
import "../../chunk-VI5WBWUX.ts";
|
|
14
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-EAEQQT33.ts";
|
|
15
15
|
import "../../chunk-RWUIMTBI.ts";
|
|
16
16
|
import "../../chunk-36MVFRMA.ts";
|
|
17
17
|
import "../../chunk-XJNO7EHQ.ts";
|
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
toJson,
|
|
18
18
|
toJsonSchema,
|
|
19
19
|
warning
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-GIRUQ7QF.ts";
|
|
21
21
|
import "../../chunk-4ERFBLH7.ts";
|
|
22
|
-
import "../../chunk-
|
|
22
|
+
import "../../chunk-O2JWY454.ts";
|
|
23
23
|
import "../../chunk-VI5WBWUX.ts";
|
|
24
|
-
import "../../chunk-
|
|
24
|
+
import "../../chunk-EAEQQT33.ts";
|
|
25
25
|
import "../../chunk-36MVFRMA.ts";
|
|
26
26
|
import "../../chunk-XJNO7EHQ.ts";
|
|
27
27
|
import "../../chunk-O3JKMLDP.ts";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { BaseCapability, DynamicEvent, InstructionRole, MANIFEST_VERSION, McpServerBindingKind, SandboxAccess, SandboxAttach, ScheduleTarget, ToolApproval, agentAvatarSchema, avatarMediaSchema, agentManifestSchema, baseToolsSchema, bundleSchema, channelBindingSchema, dynamicSlotSchema, emptyManifest, findDynamicSlots, harnessBindingSchema, hookBindingSchema, httpMcpServerBindingSchema, identitySchema, instructionFragmentSchema, isDynamicSlot, mcpAuthSchema, mcpServerBindingSchema, resolvedAgentManifestSchema, sandboxBindingSchema, scheduleDefinitionSchema, skillBundleSchema, skillFileSchema, toolDescriptorSchema, workerMcpServerBindingSchema, } from '@finalai/agent-provider';
|
|
2
|
-
export type { AgentAvatarIface, AvatarMedia, AvatarState, AgentManifestIface, BaseToolsIface, BundleIface, ChannelBindingIface, DynamicSlotIface, DynamicSlotLocationIface, HarnessBindingIface, HookBindingIface, HttpMcpServerBindingIface, IdentityIface, InstructionFragmentIface, McpAuth, McpServerBinding, ResolvedAgentManifestIface, ResolvedSandboxBindingIface, SandboxBindingIface, ScheduleDefinitionIface, SkillBundleIface, ToolDescriptorIface, WorkerMcpServerBindingIface, } from '@finalai/agent-provider';
|
|
1
|
+
export { BaseCapability, DynamicEvent, InstructionRole, MANIFEST_VERSION, McpServerBindingKind, SandboxAccess, SandboxAttach, ScheduleTarget, ToolApproval, agentAvatarSchema, avatarMediaSchema, agentManifestSchema, baseToolsSchema, bundleSchema, channelBindingSchema, dynamicSlotSchema, emptyManifest, findDynamicSlots, harnessBindingSchema, hookBindingSchema, httpMcpServerBindingSchema, identitySchema, instructionFragmentSchema, isDynamicSlot, mcpAuthSchema, mcpServerBindingSchema, resolvedAgentManifestSchema, sandboxBindingSchema, sandboxCredentialRefSchema, scheduleDefinitionSchema, skillBundleSchema, skillFileSchema, toolDescriptorSchema, workerMcpServerBindingSchema, } from '@finalai/agent-provider';
|
|
2
|
+
export type { AgentAvatarIface, AvatarMedia, AvatarState, AgentManifestIface, BaseToolsIface, BundleIface, ChannelBindingIface, DynamicSlotIface, DynamicSlotLocationIface, HarnessBindingIface, HookBindingIface, HttpMcpServerBindingIface, IdentityIface, InstructionFragmentIface, McpAuth, McpServerBinding, ResolvedAgentManifestIface, ResolvedSandboxBindingIface, SandboxBindingIface, SandboxCredentialRefIface, ScheduleDefinitionIface, SkillBundleIface, ToolDescriptorIface, WorkerMcpServerBindingIface, } from '@finalai/agent-provider';
|
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
mcpServerBindingSchema,
|
|
28
28
|
resolvedAgentManifestSchema,
|
|
29
29
|
sandboxBindingSchema,
|
|
30
|
+
sandboxCredentialRefSchema,
|
|
30
31
|
scheduleDefinitionSchema,
|
|
31
32
|
skillBundleSchema,
|
|
32
33
|
skillFileSchema,
|
|
@@ -62,6 +63,7 @@ export {
|
|
|
62
63
|
mcpServerBindingSchema,
|
|
63
64
|
resolvedAgentManifestSchema,
|
|
64
65
|
sandboxBindingSchema,
|
|
66
|
+
sandboxCredentialRefSchema,
|
|
65
67
|
scheduleDefinitionSchema,
|
|
66
68
|
skillBundleSchema,
|
|
67
69
|
skillFileSchema,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/manifest.ts"],
|
|
4
|
-
"sourcesContent": ["// The Agent Manifest lives in the provider contract (harnesses, sandboxes and\n// channels receive it); this package compiles directories into it.\nexport {\n BaseCapability,\n DynamicEvent,\n InstructionRole,\n MANIFEST_VERSION,\n McpServerBindingKind,\n SandboxAccess,\n SandboxAttach,\n ScheduleTarget,\n ToolApproval,\n agentAvatarSchema,\n avatarMediaSchema,\n agentManifestSchema,\n baseToolsSchema,\n bundleSchema,\n channelBindingSchema,\n dynamicSlotSchema,\n emptyManifest,\n findDynamicSlots,\n harnessBindingSchema,\n hookBindingSchema,\n httpMcpServerBindingSchema,\n identitySchema,\n instructionFragmentSchema,\n isDynamicSlot,\n mcpAuthSchema,\n mcpServerBindingSchema,\n resolvedAgentManifestSchema,\n sandboxBindingSchema,\n scheduleDefinitionSchema,\n skillBundleSchema,\n skillFileSchema,\n toolDescriptorSchema,\n workerMcpServerBindingSchema,\n} from '@finalai/agent-provider';\nexport type {\n AgentAvatarIface,\n AvatarMedia,\n AvatarState,\n AgentManifestIface,\n BaseToolsIface,\n BundleIface,\n ChannelBindingIface,\n DynamicSlotIface,\n DynamicSlotLocationIface,\n HarnessBindingIface,\n HookBindingIface,\n HttpMcpServerBindingIface,\n IdentityIface,\n InstructionFragmentIface,\n McpAuth,\n McpServerBinding,\n ResolvedAgentManifestIface,\n ResolvedSandboxBindingIface,\n SandboxBindingIface,\n ScheduleDefinitionIface,\n SkillBundleIface,\n ToolDescriptorIface,\n WorkerMcpServerBindingIface,\n} from '@finalai/agent-provider';\n"],
|
|
5
|
-
"mappings": "AAEA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;",
|
|
4
|
+
"sourcesContent": ["// The Agent Manifest lives in the provider contract (harnesses, sandboxes and\n// channels receive it); this package compiles directories into it.\nexport {\n BaseCapability,\n DynamicEvent,\n InstructionRole,\n MANIFEST_VERSION,\n McpServerBindingKind,\n SandboxAccess,\n SandboxAttach,\n ScheduleTarget,\n ToolApproval,\n agentAvatarSchema,\n avatarMediaSchema,\n agentManifestSchema,\n baseToolsSchema,\n bundleSchema,\n channelBindingSchema,\n dynamicSlotSchema,\n emptyManifest,\n findDynamicSlots,\n harnessBindingSchema,\n hookBindingSchema,\n httpMcpServerBindingSchema,\n identitySchema,\n instructionFragmentSchema,\n isDynamicSlot,\n mcpAuthSchema,\n mcpServerBindingSchema,\n resolvedAgentManifestSchema,\n sandboxBindingSchema,\n sandboxCredentialRefSchema,\n scheduleDefinitionSchema,\n skillBundleSchema,\n skillFileSchema,\n toolDescriptorSchema,\n workerMcpServerBindingSchema,\n} from '@finalai/agent-provider';\nexport type {\n AgentAvatarIface,\n AvatarMedia,\n AvatarState,\n AgentManifestIface,\n BaseToolsIface,\n BundleIface,\n ChannelBindingIface,\n DynamicSlotIface,\n DynamicSlotLocationIface,\n HarnessBindingIface,\n HookBindingIface,\n HttpMcpServerBindingIface,\n IdentityIface,\n InstructionFragmentIface,\n McpAuth,\n McpServerBinding,\n ResolvedAgentManifestIface,\n ResolvedSandboxBindingIface,\n SandboxBindingIface,\n SandboxCredentialRefIface,\n ScheduleDefinitionIface,\n SkillBundleIface,\n ToolDescriptorIface,\n WorkerMcpServerBindingIface,\n} from '@finalai/agent-provider';\n"],
|
|
5
|
+
"mappings": "AAEA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finalai/agent-definition",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Provider-independent agent authoring, manifest schemas, directory compiler, and harness compatibility reports.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"registry": "https://registry.npmjs.org/"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@finalai/agent-protocol": "0.
|
|
79
|
-
"@finalai/agent-provider": "0.5.
|
|
78
|
+
"@finalai/agent-protocol": "0.6.0",
|
|
79
|
+
"@finalai/agent-provider": "0.5.1",
|
|
80
80
|
"ajv": "^8.20.0",
|
|
81
81
|
"ajv-formats": "^3.0.1",
|
|
82
82
|
"croner": "^10.0.1",
|
|
File without changes
|