@tangle-network/agent-interface 0.44.0 → 0.46.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/README.md +1 -1
- package/dist/agent-candidate-code-schema.d.ts +1 -0
- package/dist/agent-candidate-execution-plan-schema.d.ts +8 -6
- package/dist/agent-candidate-profile-schema.d.ts +3 -2
- package/dist/agent-candidate-promotion-schema.d.ts +59 -42
- package/dist/agent-candidate-receipt-schema.d.ts +5 -4
- package/dist/agent-candidate-schema-common.js +1 -1
- package/dist/agent-candidate-schema.d.ts +4 -2
- package/dist/agent-execution-preparation.d.ts +27 -26
- package/dist/agent-profile.d.ts +10 -3
- package/dist/agent-profile.js +45 -22
- package/dist/backend-message.d.ts +14 -0
- package/dist/backend-message.js +1 -0
- package/dist/contract-limits.d.ts +26 -0
- package/dist/contract-limits.js +175 -0
- package/dist/environment-exact-process.d.ts +161 -0
- package/dist/environment-exact-process.js +1 -0
- package/dist/environment-profile-capabilities.d.ts +26 -0
- package/dist/environment-profile-capabilities.js +34 -0
- package/dist/environment-provider.d.ts +3 -730
- package/dist/environment-provider.js +3 -245
- package/dist/environment-requests.d.ts +70 -0
- package/dist/environment-requests.js +1 -0
- package/dist/environment-runtime.d.ts +834 -0
- package/dist/environment-runtime.js +228 -0
- package/dist/execution-types.d.ts +47 -0
- package/dist/execution-types.js +1 -0
- package/dist/harness-capabilities.js +5 -0
- package/dist/harness.d.ts +6 -1
- package/dist/harness.js +1 -0
- package/dist/host-services.d.ts +91 -0
- package/dist/host-services.js +1 -0
- package/dist/index.d.ts +10 -617
- package/dist/index.js +10 -125
- package/dist/interaction-answer-validation.d.ts +13 -0
- package/dist/interaction-answer-validation.js +149 -0
- package/dist/interaction-data.d.ts +22 -0
- package/dist/interaction-data.js +46 -0
- package/dist/interaction-envelope.d.ts +258 -0
- package/dist/interaction-envelope.js +245 -0
- package/dist/interaction-fields.d.ts +130 -0
- package/dist/interaction-fields.js +227 -0
- package/dist/interaction-permissions.d.ts +28 -0
- package/dist/interaction-permissions.js +57 -0
- package/dist/interaction-resolution-validation.d.ts +9 -0
- package/dist/interaction-resolution-validation.js +50 -0
- package/dist/interaction-response-validation.d.ts +17 -0
- package/dist/interaction-response-validation.js +102 -0
- package/dist/interaction.d.ts +6 -397
- package/dist/interaction.js +6 -603
- package/dist/mcp.d.ts +38 -0
- package/dist/mcp.js +1 -0
- package/dist/parts.d.ts +104 -0
- package/dist/parts.js +55 -0
- package/dist/portable-context-base.d.ts +82 -0
- package/dist/portable-context-base.js +63 -0
- package/dist/portable-context-continuation.d.ts +168 -0
- package/dist/portable-context-continuation.js +194 -0
- package/dist/portable-context-plan-request.d.ts +86 -0
- package/dist/portable-context-plan-request.js +102 -0
- package/dist/portable-context-plan.d.ts +229 -0
- package/dist/portable-context-plan.js +241 -0
- package/dist/portable-context-shared.d.ts +36 -0
- package/dist/portable-context-shared.js +46 -0
- package/dist/portable-context-transfer.d.ts +319 -0
- package/dist/portable-context-transfer.js +206 -0
- package/dist/portable-context.d.ts +5 -753
- package/dist/portable-context.js +5 -754
- package/dist/profile-diff.js +56 -47
- package/dist/profile-schema.d.ts +1 -0
- package/dist/provider-adapter.d.ts +45 -0
- package/dist/provider-adapter.js +1 -0
- package/dist/provider-config.d.ts +58 -0
- package/dist/provider-config.js +42 -0
- package/dist/runtime-control.d.ts +87 -10
- package/dist/runtime-control.js +159 -38
- package/dist/stream-events.d.ts +55 -0
- package/dist/stream-events.js +1 -0
- package/dist/workspace-branching-shared.d.ts +7 -0
- package/dist/workspace-branching-shared.js +20 -0
- package/dist/workspace-branching.d.ts +4 -254
- package/dist/workspace-branching.js +4 -400
- package/dist/workspace-checkpoint.d.ts +99 -0
- package/dist/workspace-checkpoint.js +169 -0
- package/dist/workspace-cleanup.d.ts +85 -0
- package/dist/workspace-cleanup.js +156 -0
- package/dist/workspace-confidentiality.d.ts +59 -0
- package/dist/workspace-confidentiality.js +123 -0
- package/dist/workspace-fork.d.ts +182 -0
- package/dist/workspace-fork.js +267 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const AgentProfileCapabilitiesSchema: z.ZodObject<{
|
|
3
|
+
namedProfiles: z.ZodBoolean;
|
|
4
|
+
systemPrompt: z.ZodObject<{
|
|
5
|
+
replace: z.ZodBoolean;
|
|
6
|
+
append: z.ZodBoolean;
|
|
7
|
+
}, z.core.$strict>;
|
|
8
|
+
instructions: z.ZodBoolean;
|
|
9
|
+
tools: z.ZodBoolean;
|
|
10
|
+
permissions: z.ZodBoolean;
|
|
11
|
+
mcp: z.ZodBoolean;
|
|
12
|
+
subagents: z.ZodBoolean;
|
|
13
|
+
resources: z.ZodObject<{
|
|
14
|
+
files: z.ZodBoolean;
|
|
15
|
+
instructions: z.ZodBoolean;
|
|
16
|
+
tools: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
skills: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
agents: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
commands: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
}, z.core.$strict>;
|
|
21
|
+
hooks: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
modes: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
runtimeUpdate: z.ZodBoolean;
|
|
24
|
+
validation: z.ZodBoolean;
|
|
25
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
+
}, z.core.$strict>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { boundedIdentifierSchema, CONTRACT_MAX_ARRAY_LENGTH, } from "./contract-limits.js";
|
|
3
|
+
export const AgentProfileCapabilitiesSchema = z.strictObject({
|
|
4
|
+
namedProfiles: z.boolean(),
|
|
5
|
+
/*
|
|
6
|
+
* Replacement and addition are independent provider capabilities. Require
|
|
7
|
+
* both declarations so an omitted bit cannot be mistaken for support.
|
|
8
|
+
*/
|
|
9
|
+
systemPrompt: z.strictObject({
|
|
10
|
+
replace: z.boolean(),
|
|
11
|
+
append: z.boolean(),
|
|
12
|
+
}),
|
|
13
|
+
instructions: z.boolean(),
|
|
14
|
+
tools: z.boolean(),
|
|
15
|
+
permissions: z.boolean(),
|
|
16
|
+
mcp: z.boolean(),
|
|
17
|
+
subagents: z.boolean(),
|
|
18
|
+
resources: z.strictObject({
|
|
19
|
+
files: z.boolean(),
|
|
20
|
+
instructions: z.boolean(),
|
|
21
|
+
tools: z.boolean().optional(),
|
|
22
|
+
skills: z.boolean().optional(),
|
|
23
|
+
agents: z.boolean().optional(),
|
|
24
|
+
commands: z.boolean().optional(),
|
|
25
|
+
}),
|
|
26
|
+
hooks: z.boolean().optional(),
|
|
27
|
+
modes: z.boolean().optional(),
|
|
28
|
+
runtimeUpdate: z.boolean(),
|
|
29
|
+
validation: z.boolean(),
|
|
30
|
+
extensions: z
|
|
31
|
+
.array(boundedIdentifierSchema)
|
|
32
|
+
.max(CONTRACT_MAX_ARRAY_LENGTH)
|
|
33
|
+
.optional(),
|
|
34
|
+
});
|