@nylorun/core 0.20.0-beta → 0.22.0-beta
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/CHANGELOG.md +98 -0
- package/README.md +2 -2
- package/dist/compatibility.d.ts +88 -13
- package/dist/compatibility.js +88 -13
- package/dist/contracts.d.ts +1328 -110
- package/dist/contracts.js +563 -163
- package/dist/define.d.ts +15 -13
- package/dist/define.js +11 -8
- package/dist/definition/approval.js +12 -14
- package/dist/definition/assemble.d.ts +6 -10
- package/dist/definition/assemble.js +48 -105
- package/dist/definition/bind-agent.d.ts +3 -4
- package/dist/definition/bind-agent.js +12 -30
- package/dist/definition/binding.d.ts +2 -2
- package/dist/definition/bound.d.ts +10 -10
- package/dist/definition/builder.d.ts +16 -20
- package/dist/definition/builder.js +29 -81
- package/dist/definition/code-tools.d.ts +3 -3
- package/dist/definition/code-tools.js +6 -21
- package/dist/definition/declaration.d.ts +4 -7
- package/dist/definition/declaration.js +29 -99
- package/dist/definition/{tools-capability.d.ts → deferred-tools.d.ts} +3 -13
- package/dist/definition/{tools-capability.js → deferred-tools.js} +2 -18
- package/dist/definition/delegate.d.ts +2 -4
- package/dist/definition/delegate.js +8 -10
- package/dist/definition/from.d.ts +7 -4
- package/dist/definition/from.js +72 -117
- package/dist/definition/helpers.d.ts +0 -7
- package/dist/definition/helpers.js +0 -5
- package/dist/definition/http-tool.d.ts +49 -5
- package/dist/definition/http-tool.js +167 -5
- package/dist/definition/implementations.d.ts +6 -8
- package/dist/definition/manifest.d.ts +11 -5
- package/dist/definition/manifest.js +26 -26
- package/dist/definition/mcp.d.ts +1 -52
- package/dist/definition/mcp.js +0 -52
- package/dist/definition/media-reference.d.ts +23 -0
- package/dist/definition/media-reference.js +26 -0
- package/dist/definition/removed.d.ts +3 -10
- package/dist/definition/removed.js +10 -17
- package/dist/definition/runtime-manifest.d.ts +30 -0
- package/dist/definition/runtime-manifest.js +132 -0
- package/dist/definition/sandbox-tools.d.ts +1 -1
- package/dist/definition/sandbox-tools.js +1 -1
- package/dist/definition/skill-tools.d.ts +13 -7
- package/dist/definition/skill-tools.js +23 -10
- package/dist/definition/trace.d.ts +18 -0
- package/dist/definition/trace.js +42 -0
- package/dist/definition/variant.d.ts +5 -4
- package/dist/definition/variant.js +18 -51
- package/dist/definition/workflow/runnable.js +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/harness-api/entries.d.ts +1 -0
- package/dist/harness-api/entries.js +1 -0
- package/dist/harness-api/gates.d.ts +1 -6
- package/dist/harness-api/gates.js +1 -3
- package/dist/harness-api/harness-api.schema.json +11 -92
- package/dist/harness-api/index.d.ts +2 -2
- package/dist/harness-api/index.js +2 -2
- package/dist/harness-api/mcp.d.ts +0 -4
- package/dist/harness-api/mcp.js +0 -2
- package/dist/harness-api/messages.d.ts +1 -3
- package/dist/harness-api/messages.js +1 -3
- package/dist/harness-api/schema.d.ts +5 -17
- package/dist/harness-api/schema.js +9 -6
- package/dist/index.d.ts +1 -1
- package/dist/manifest-schemas.d.ts +6 -0
- package/dist/manifest-schemas.js +46 -0
- package/dist/schemas/agent-manifest.schema.json +905 -0
- package/dist/schemas/environment-manifest.schema.json +349 -0
- package/dist/types/agent.d.ts +1 -1
- package/dist/types/manifest.d.ts +47 -24
- package/dist/types/model.d.ts +2 -2
- package/dist/types/observe.d.ts +5 -18
- package/dist/types/part.d.ts +25 -0
- package/dist/types/tool.d.ts +1 -1
- package/dist/types/transcript.d.ts +5 -0
- package/dist/utils/definition-files.d.ts +11 -6
- package/dist/utils/definition-files.js +19 -9
- package/dist/utils/runtime-tools.d.ts +19 -0
- package/dist/utils/runtime-tools.js +30 -0
- package/dist/utils/sandbox.d.ts +1 -1
- package/dist/utils/sandbox.js +1 -1
- package/package.json +9 -3
- package/dist/definition/capability.d.ts +0 -43
- package/dist/definition/capability.js +0 -82
- package/dist/definition/sandbox-capability.d.ts +0 -44
- package/dist/definition/sandbox-capability.js +0 -139
- package/dist/types/middleware.d.ts +0 -94
- /package/dist/types/{middleware.js → part.js} +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { SKILLS_MOUNT } from "../utils/definition-files.js";
|
|
2
|
+
import { isSandboxToolName } from "../utils/sandbox.js";
|
|
3
|
+
import { SKILL_TOOL_NAMES } from "./skill-tools.js";
|
|
4
|
+
const MOUNT = new RegExp(`${SKILLS_MOUNT}/([^/@\\s"'\`]+)(?:@[0-9a-f]{12})?/`, "g");
|
|
5
|
+
/**
|
|
6
|
+
* The skill of `manifest` a tool call ran. `load_skill` and `read_skill_resource` name it in their
|
|
7
|
+
* input. A sandbox tool (`bash`, `read`, `grep`, `glob`, …) is matched on the skills' mount path,
|
|
8
|
+
* `/skills/<name>@<hash>/` (or `/skills/<name>/`, before D66), in its input's text: exact for a path argument, and for `bash` only when the
|
|
9
|
+
* command names the path. The first skill of the agent the input names wins.
|
|
10
|
+
*/
|
|
11
|
+
export function skillOfToolCall(manifest, toolName, input) {
|
|
12
|
+
const skills = manifest?.skills;
|
|
13
|
+
if (!skills || toolName === undefined)
|
|
14
|
+
return undefined;
|
|
15
|
+
if (SKILL_TOOL_NAMES.has(toolName)) {
|
|
16
|
+
const name = input?.name;
|
|
17
|
+
return typeof name === "string" && skills[name] !== undefined ? name : undefined;
|
|
18
|
+
}
|
|
19
|
+
if (!isSandboxToolName(toolName))
|
|
20
|
+
return undefined;
|
|
21
|
+
for (const text of strings(input))
|
|
22
|
+
for (const match of text.matchAll(MOUNT))
|
|
23
|
+
if (skills[match[1]] !== undefined)
|
|
24
|
+
return match[1];
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
/** The plugin that brought the skill or MCP server `name` to `manifest`, if one did. */
|
|
28
|
+
export function pluginOf(manifest, what) {
|
|
29
|
+
if (what.skill !== undefined)
|
|
30
|
+
return manifest?.skills?.[what.skill]?.plugin;
|
|
31
|
+
if (what.server !== undefined)
|
|
32
|
+
return manifest?.mcpServers?.[what.server]?.plugin;
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
/** The string values of a tool's input, one level deep: its path, pattern or command. */
|
|
36
|
+
function strings(input) {
|
|
37
|
+
if (typeof input === "string")
|
|
38
|
+
return [input];
|
|
39
|
+
if (!input || typeof input !== "object")
|
|
40
|
+
return [];
|
|
41
|
+
return Object.values(input).filter((value) => typeof value === "string");
|
|
42
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { AgentManifest } from "../types/manifest.js";
|
|
2
2
|
/**
|
|
3
|
-
* Whether `candidate` is a valid turn-manifest variant of the session's pinned
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
3
|
+
* Whether `candidate` is a valid turn-manifest variant of the session's pinned manifest
|
|
4
|
+
* (`loops.md` §3.4). A variant may remove tools (agents used as tools and HTTP tools included),
|
|
5
|
+
* tighten its MCP servers' tool settings (R2b C9, Q18), and change its instructions, name,
|
|
6
|
+
* description and metadata. Its skills and servers are setup: the sandbox holds the skills from
|
|
7
|
+
* the session's start. It never sets `runtime`; the turn runs with the pin's.
|
|
7
8
|
*/
|
|
8
9
|
export declare function isVariantOf(candidate: AgentManifest, pinned: AgentManifest): boolean;
|
|
@@ -8,7 +8,7 @@ function toolsByName(tools) {
|
|
|
8
8
|
map.set(tool.name, tool);
|
|
9
9
|
return map;
|
|
10
10
|
}
|
|
11
|
-
/** Candidate tools
|
|
11
|
+
/** Candidate tools (agents used as tools included) may only be removed, never added or changed. */
|
|
12
12
|
function removeOnlyTools(pinned, candidate) {
|
|
13
13
|
const base = toolsByName(pinned);
|
|
14
14
|
for (const tool of candidate ?? []) {
|
|
@@ -18,15 +18,6 @@ function removeOnlyTools(pinned, candidate) {
|
|
|
18
18
|
}
|
|
19
19
|
return true;
|
|
20
20
|
}
|
|
21
|
-
function removeOnlySkills(pinned, candidate) {
|
|
22
|
-
const base = pinned ?? {};
|
|
23
|
-
for (const [name, skill] of Object.entries(candidate ?? {})) {
|
|
24
|
-
const prior = base[name];
|
|
25
|
-
if (!prior || !same(prior, skill))
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
21
|
/**
|
|
31
22
|
* One tool setting, or the `"*"` entry, only tightened (R2b C9, Q18): `enabled` kept or set to
|
|
32
23
|
* `false`, `approval` and `deferred` kept. Each level of a tool's resolution (its entry, then
|
|
@@ -63,51 +54,27 @@ function tightensServers(pinned, candidate) {
|
|
|
63
54
|
});
|
|
64
55
|
}
|
|
65
56
|
/**
|
|
66
|
-
* Whether `candidate` is a valid turn-manifest variant of the session's pinned
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
57
|
+
* Whether `candidate` is a valid turn-manifest variant of the session's pinned manifest
|
|
58
|
+
* (`loops.md` §3.4). A variant may remove tools (agents used as tools and HTTP tools included),
|
|
59
|
+
* tighten its MCP servers' tool settings (R2b C9, Q18), and change its instructions, name,
|
|
60
|
+
* description and metadata. Its skills and servers are setup: the sandbox holds the skills from
|
|
61
|
+
* the session's start. It never sets `runtime`; the turn runs with the pin's.
|
|
70
62
|
*/
|
|
71
63
|
export function isVariantOf(candidate, pinned) {
|
|
72
64
|
if (candidate.id !== pinned.id)
|
|
73
65
|
return false;
|
|
74
|
-
|
|
75
|
-
if (candidate.manifestSchemaVersion < pinned.manifestSchemaVersion)
|
|
66
|
+
if (candidate.manifestSchemaVersion !== pinned.manifestSchemaVersion)
|
|
76
67
|
return false;
|
|
77
|
-
if (
|
|
68
|
+
if (candidate.runtime !== undefined)
|
|
78
69
|
return false;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
if (!next || !same(next.sandbox, prior.sandbox))
|
|
90
|
-
return false;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
for (const [id, next] of candidateById) {
|
|
94
|
-
const prior = pinnedById.get(id);
|
|
95
|
-
if (!prior)
|
|
96
|
-
return false; // cannot add capabilities
|
|
97
|
-
if (next.type !== prior.type)
|
|
98
|
-
return false;
|
|
99
|
-
if (!removeOnlyTools(prior.tools, next.tools))
|
|
100
|
-
return false;
|
|
101
|
-
if (!removeOnlySkills(prior.skills, next.skills))
|
|
102
|
-
return false;
|
|
103
|
-
// Free: name, description, metadata, instructions (and model once it exists).
|
|
104
|
-
if (!tightensServers(prior.mcpServers, next.mcpServers))
|
|
105
|
-
return false;
|
|
106
|
-
if (!same(next.sandbox, prior.sandbox))
|
|
107
|
-
return false;
|
|
108
|
-
}
|
|
109
|
-
// Dropping a capability is allowed only when it had no MCP / sandbox
|
|
110
|
-
// (those are enforced above). Tools and skills on a dropped capability are
|
|
111
|
-
// removals, which §3.4 permits.
|
|
112
|
-
return true;
|
|
70
|
+
if (!same(candidate.outputSchema, pinned.outputSchema))
|
|
71
|
+
return false;
|
|
72
|
+
// What the agent needs of its Environment was checked when the session opened (D65).
|
|
73
|
+
if (!same(candidate.requires, pinned.requires))
|
|
74
|
+
return false;
|
|
75
|
+
if (!removeOnlyTools(pinned.tools, candidate.tools))
|
|
76
|
+
return false;
|
|
77
|
+
if (!same(candidate.skills, pinned.skills))
|
|
78
|
+
return false;
|
|
79
|
+
return tightensServers(pinned.mcpServers, candidate.mcpServers);
|
|
113
80
|
}
|
|
@@ -60,7 +60,7 @@ export function bindToolNode(tool) {
|
|
|
60
60
|
execute: execute.bind(normalized),
|
|
61
61
|
...(normalized.approval === undefined ? {} : { approval: normalized.approval }),
|
|
62
62
|
...(normalized.effects === undefined ? {} : { effects: normalized.effects }),
|
|
63
|
-
owner: Object.freeze({
|
|
63
|
+
owner: Object.freeze({ partId: "workflow", slot: "tool-node" }),
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
/** Normalize a schema for a workflow tool node (any JSON Schema root type allowed). */
|
package/dist/errors.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Machine-readable error raised by Harness-owned code. */
|
|
2
|
-
export type HarnessErrorCode = "execution.invalid-state" | "execution.invalid-input" | "execution.incompatible" | "execution.record-failed" | "tool.unregistered" | "tool.invalid-binding" | "agent.build-failed" | "agent.lifecycle-sealed" | "context.invalid-item" | "context.invalid-item-type" | "context.invalid-order" | "context.invalid-reason" | "context.invalid-slot" | "interaction.invalid" | "interaction.missing-resume" | "interaction.uncorrelated-resume" | "input.invalid-content" | "output.invalid" | "output.invalid-schema" | "json.invalid-data" | "json.invalid-object" | "
|
|
2
|
+
export type HarnessErrorCode = "execution.invalid-state" | "execution.invalid-input" | "execution.incompatible" | "execution.record-failed" | "tool.unregistered" | "tool.invalid-binding" | "agent.build-failed" | "agent.lifecycle-sealed" | "context.invalid-item" | "context.invalid-item-type" | "context.invalid-order" | "context.invalid-reason" | "context.invalid-slot" | "interaction.invalid" | "interaction.missing-resume" | "interaction.uncorrelated-resume" | "input.invalid-content" | "output.invalid" | "output.invalid-schema" | "json.invalid-data" | "json.invalid-object" | "model.candidate-missing" | "model.adapter-invalid-options" | "model.adapter-invalid-response" | "model.invalid-candidate" | "model.invalid-directive" | "model.unsupported-content" | "model.unsupported-output-schema"
|
|
3
3
|
/** A provider failure the model adapter classified (Model Calls §6.1). */
|
|
4
4
|
| `model.${import("./types/model.js").ModelFailureCode}` | "configuration.duplicate-tool-name" | "configuration.invalid" | "configuration.invalid-instructions" | "configuration.invalid-order" | "configuration.invalid-reason" | "configuration.invalid-slot" | "configuration.invalid-tools" | "configuration.model-selection-conflict" | "response.invalid-replacement" | "tool.invalid" | "tool.invalid-arguments" | "tool.invalid-output" | "tool.invalid-name" | "tool.invalid-schema" | "tool.invalid-tool-result";
|
|
5
5
|
export type HarnessErrorDetails = Readonly<Record<string, string | number | boolean>>;
|
|
@@ -229,6 +229,7 @@ export declare const TranscriptEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
229
229
|
}>;
|
|
230
230
|
tokensBefore: z.ZodNumber;
|
|
231
231
|
tokensAfter: z.ZodNumber;
|
|
232
|
+
files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
232
233
|
}, z.core.$strip>], "kind">;
|
|
233
234
|
/** The prefix every effect id of a segment carries. */
|
|
234
235
|
export declare function effectIdPrefix(turnId: string, segment: number): string;
|
|
@@ -98,6 +98,7 @@ export const TranscriptEntrySchema = z.discriminatedUnion("kind", [
|
|
|
98
98
|
trigger: z.enum(["threshold", "overflow"]),
|
|
99
99
|
tokensBefore: z.number(),
|
|
100
100
|
tokensAfter: z.number(),
|
|
101
|
+
files: z.array(z.string()).optional(),
|
|
101
102
|
}),
|
|
102
103
|
]);
|
|
103
104
|
/** The prefix every effect id of a segment carries. */
|
|
@@ -81,7 +81,6 @@ export type GateErrorBody = z.infer<typeof GateErrorBodySchema>;
|
|
|
81
81
|
export declare const McpServerRefSchema: z.ZodObject<{
|
|
82
82
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
83
83
|
agentId: z.ZodOptional<z.ZodString>;
|
|
84
|
-
capabilityId: z.ZodString;
|
|
85
84
|
serverName: z.ZodString;
|
|
86
85
|
}, z.core.$strip>;
|
|
87
86
|
export type McpServerRef = z.infer<typeof McpServerRefSchema>;
|
|
@@ -90,7 +89,6 @@ export declare const McpServerBodySchema: z.ZodObject<{
|
|
|
90
89
|
server: z.ZodObject<{
|
|
91
90
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
92
91
|
agentId: z.ZodOptional<z.ZodString>;
|
|
93
|
-
capabilityId: z.ZodString;
|
|
94
92
|
serverName: z.ZodString;
|
|
95
93
|
}, z.core.$strip>;
|
|
96
94
|
}, z.core.$strip>;
|
|
@@ -99,7 +97,6 @@ export declare const McpListBodySchema: z.ZodObject<{
|
|
|
99
97
|
server: z.ZodObject<{
|
|
100
98
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
101
99
|
agentId: z.ZodOptional<z.ZodString>;
|
|
102
|
-
capabilityId: z.ZodString;
|
|
103
100
|
serverName: z.ZodString;
|
|
104
101
|
}, z.core.$strip>;
|
|
105
102
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -109,7 +106,6 @@ export declare const ToolCallBodySchema: z.ZodObject<{
|
|
|
109
106
|
server: z.ZodObject<{
|
|
110
107
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
111
108
|
agentId: z.ZodOptional<z.ZodString>;
|
|
112
|
-
capabilityId: z.ZodString;
|
|
113
109
|
serverName: z.ZodString;
|
|
114
110
|
}, z.core.$strip>;
|
|
115
111
|
effectId: z.ZodString;
|
|
@@ -118,7 +114,7 @@ export declare const ToolCallBodySchema: z.ZodObject<{
|
|
|
118
114
|
}, z.core.$strip>;
|
|
119
115
|
export type ToolCallBody = z.infer<typeof ToolCallBodySchema>;
|
|
120
116
|
/**
|
|
121
|
-
* `http-calls`: one call of an HTTP tool, named by its agent
|
|
117
|
+
* `http-calls`: one call of an HTTP tool, named by its agent and tool, or a flow's
|
|
122
118
|
* HTTP stage or verifier by its stage key. The gate finds its URL, method and credential in the
|
|
123
119
|
* session's pinned manifest. A run token's turn is the call's; `turnId` counts only under core's
|
|
124
120
|
* credential.
|
|
@@ -127,7 +123,6 @@ export declare const HttpCallBodySchema: z.ZodObject<{
|
|
|
127
123
|
tool: z.ZodUnion<readonly [z.ZodObject<{
|
|
128
124
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
129
125
|
agentId: z.ZodOptional<z.ZodString>;
|
|
130
|
-
capabilityId: z.ZodString;
|
|
131
126
|
toolName: z.ZodString;
|
|
132
127
|
}, z.core.$strip>, z.ZodObject<{
|
|
133
128
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -66,7 +66,6 @@ export const McpServerRefSchema = z.object({
|
|
|
66
66
|
sessionId: z.string().min(1).optional(),
|
|
67
67
|
/** The agent used as a tool that declares the server; absent for the session's root agent. */
|
|
68
68
|
agentId: z.string().min(1).optional(),
|
|
69
|
-
capabilityId: z.string().min(1),
|
|
70
69
|
serverName: z.string().min(1),
|
|
71
70
|
});
|
|
72
71
|
/** `mcp/connect` and `mcp/close`. */
|
|
@@ -84,7 +83,7 @@ export const ToolCallBodySchema = z.object({
|
|
|
84
83
|
arguments: z.record(z.string(), z.unknown()),
|
|
85
84
|
});
|
|
86
85
|
/**
|
|
87
|
-
* `http-calls`: one call of an HTTP tool, named by its agent
|
|
86
|
+
* `http-calls`: one call of an HTTP tool, named by its agent and tool, or a flow's
|
|
88
87
|
* HTTP stage or verifier by its stage key. The gate finds its URL, method and credential in the
|
|
89
88
|
* session's pinned manifest. A run token's turn is the call's; `turnId` counts only under core's
|
|
90
89
|
* credential.
|
|
@@ -94,7 +93,6 @@ export const HttpCallBodySchema = z.object({
|
|
|
94
93
|
z.object({
|
|
95
94
|
sessionId: z.string().min(1).optional(),
|
|
96
95
|
agentId: z.string().min(1).optional(),
|
|
97
|
-
capabilityId: z.string().min(1),
|
|
98
96
|
toolName: z.string().min(1),
|
|
99
97
|
}),
|
|
100
98
|
z.object({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://docs.nylorun.com/schemas/harness-api/
|
|
4
|
-
"title": "Nylorun Harness API
|
|
3
|
+
"$id": "https://docs.nylorun.com/schemas/harness-api/v3.json",
|
|
4
|
+
"title": "Nylorun Harness API 3",
|
|
5
5
|
"$defs": {
|
|
6
6
|
"EffectIntent": {
|
|
7
7
|
"type": "object",
|
|
@@ -57,9 +57,6 @@
|
|
|
57
57
|
],
|
|
58
58
|
"additionalProperties": false
|
|
59
59
|
},
|
|
60
|
-
"capabilityId": {
|
|
61
|
-
"type": "string"
|
|
62
|
-
},
|
|
63
60
|
"toolName": {
|
|
64
61
|
"type": "string"
|
|
65
62
|
},
|
|
@@ -530,9 +527,6 @@
|
|
|
530
527
|
"agentId": {
|
|
531
528
|
"type": "string"
|
|
532
529
|
},
|
|
533
|
-
"capabilityId": {
|
|
534
|
-
"type": "string"
|
|
535
|
-
},
|
|
536
530
|
"serverName": {
|
|
537
531
|
"type": "string"
|
|
538
532
|
},
|
|
@@ -576,7 +570,6 @@
|
|
|
576
570
|
}
|
|
577
571
|
},
|
|
578
572
|
"required": [
|
|
579
|
-
"capabilityId",
|
|
580
573
|
"serverName",
|
|
581
574
|
"serverToolName",
|
|
582
575
|
"name",
|
|
@@ -593,9 +586,6 @@
|
|
|
593
586
|
"agentId": {
|
|
594
587
|
"type": "string"
|
|
595
588
|
},
|
|
596
|
-
"capabilityId": {
|
|
597
|
-
"type": "string"
|
|
598
|
-
},
|
|
599
589
|
"serverName": {
|
|
600
590
|
"type": "string"
|
|
601
591
|
},
|
|
@@ -604,7 +594,6 @@
|
|
|
604
594
|
}
|
|
605
595
|
},
|
|
606
596
|
"required": [
|
|
607
|
-
"capabilityId",
|
|
608
597
|
"serverName",
|
|
609
598
|
"instructions"
|
|
610
599
|
]
|
|
@@ -926,9 +915,6 @@
|
|
|
926
915
|
"agentId": {
|
|
927
916
|
"type": "string"
|
|
928
917
|
},
|
|
929
|
-
"capabilityId": {
|
|
930
|
-
"type": "string"
|
|
931
|
-
},
|
|
932
918
|
"serverName": {
|
|
933
919
|
"type": "string"
|
|
934
920
|
},
|
|
@@ -972,7 +958,6 @@
|
|
|
972
958
|
}
|
|
973
959
|
},
|
|
974
960
|
"required": [
|
|
975
|
-
"capabilityId",
|
|
976
961
|
"serverName",
|
|
977
962
|
"serverToolName",
|
|
978
963
|
"name",
|
|
@@ -989,9 +974,6 @@
|
|
|
989
974
|
"agentId": {
|
|
990
975
|
"type": "string"
|
|
991
976
|
},
|
|
992
|
-
"capabilityId": {
|
|
993
|
-
"type": "string"
|
|
994
|
-
},
|
|
995
977
|
"serverName": {
|
|
996
978
|
"type": "string"
|
|
997
979
|
},
|
|
@@ -1000,7 +982,6 @@
|
|
|
1000
982
|
}
|
|
1001
983
|
},
|
|
1002
984
|
"required": [
|
|
1003
|
-
"capabilityId",
|
|
1004
985
|
"serverName",
|
|
1005
986
|
"instructions"
|
|
1006
987
|
]
|
|
@@ -1128,17 +1109,12 @@
|
|
|
1128
1109
|
"type": "string",
|
|
1129
1110
|
"minLength": 1
|
|
1130
1111
|
},
|
|
1131
|
-
"capabilityId": {
|
|
1132
|
-
"type": "string",
|
|
1133
|
-
"minLength": 1
|
|
1134
|
-
},
|
|
1135
1112
|
"toolName": {
|
|
1136
1113
|
"type": "string",
|
|
1137
1114
|
"minLength": 1
|
|
1138
1115
|
}
|
|
1139
1116
|
},
|
|
1140
1117
|
"required": [
|
|
1141
|
-
"capabilityId",
|
|
1142
1118
|
"toolName"
|
|
1143
1119
|
]
|
|
1144
1120
|
},
|
|
@@ -1191,17 +1167,12 @@
|
|
|
1191
1167
|
"type": "string",
|
|
1192
1168
|
"minLength": 1
|
|
1193
1169
|
},
|
|
1194
|
-
"capabilityId": {
|
|
1195
|
-
"type": "string",
|
|
1196
|
-
"minLength": 1
|
|
1197
|
-
},
|
|
1198
1170
|
"serverName": {
|
|
1199
1171
|
"type": "string",
|
|
1200
1172
|
"minLength": 1
|
|
1201
1173
|
}
|
|
1202
1174
|
},
|
|
1203
1175
|
"required": [
|
|
1204
|
-
"capabilityId",
|
|
1205
1176
|
"serverName"
|
|
1206
1177
|
]
|
|
1207
1178
|
},
|
|
@@ -1227,17 +1198,12 @@
|
|
|
1227
1198
|
"type": "string",
|
|
1228
1199
|
"minLength": 1
|
|
1229
1200
|
},
|
|
1230
|
-
"capabilityId": {
|
|
1231
|
-
"type": "string",
|
|
1232
|
-
"minLength": 1
|
|
1233
|
-
},
|
|
1234
1201
|
"serverName": {
|
|
1235
1202
|
"type": "string",
|
|
1236
1203
|
"minLength": 1
|
|
1237
1204
|
}
|
|
1238
1205
|
},
|
|
1239
1206
|
"required": [
|
|
1240
|
-
"capabilityId",
|
|
1241
1207
|
"serverName"
|
|
1242
1208
|
]
|
|
1243
1209
|
}
|
|
@@ -1257,17 +1223,12 @@
|
|
|
1257
1223
|
"type": "string",
|
|
1258
1224
|
"minLength": 1
|
|
1259
1225
|
},
|
|
1260
|
-
"capabilityId": {
|
|
1261
|
-
"type": "string",
|
|
1262
|
-
"minLength": 1
|
|
1263
|
-
},
|
|
1264
1226
|
"serverName": {
|
|
1265
1227
|
"type": "string",
|
|
1266
1228
|
"minLength": 1
|
|
1267
1229
|
}
|
|
1268
1230
|
},
|
|
1269
1231
|
"required": [
|
|
1270
|
-
"capabilityId",
|
|
1271
1232
|
"serverName"
|
|
1272
1233
|
]
|
|
1273
1234
|
},
|
|
@@ -1333,17 +1294,12 @@
|
|
|
1333
1294
|
"type": "string",
|
|
1334
1295
|
"minLength": 1
|
|
1335
1296
|
},
|
|
1336
|
-
"capabilityId": {
|
|
1337
|
-
"type": "string",
|
|
1338
|
-
"minLength": 1
|
|
1339
|
-
},
|
|
1340
1297
|
"serverName": {
|
|
1341
1298
|
"type": "string",
|
|
1342
1299
|
"minLength": 1
|
|
1343
1300
|
}
|
|
1344
1301
|
},
|
|
1345
1302
|
"required": [
|
|
1346
|
-
"capabilityId",
|
|
1347
1303
|
"serverName"
|
|
1348
1304
|
]
|
|
1349
1305
|
},
|
|
@@ -1376,9 +1332,6 @@
|
|
|
1376
1332
|
"agentId": {
|
|
1377
1333
|
"type": "string"
|
|
1378
1334
|
},
|
|
1379
|
-
"capabilityId": {
|
|
1380
|
-
"type": "string"
|
|
1381
|
-
},
|
|
1382
1335
|
"serverName": {
|
|
1383
1336
|
"type": "string"
|
|
1384
1337
|
},
|
|
@@ -1387,7 +1340,6 @@
|
|
|
1387
1340
|
}
|
|
1388
1341
|
},
|
|
1389
1342
|
"required": [
|
|
1390
|
-
"capabilityId",
|
|
1391
1343
|
"serverName",
|
|
1392
1344
|
"instructions"
|
|
1393
1345
|
]
|
|
@@ -1411,9 +1363,6 @@
|
|
|
1411
1363
|
"agentId": {
|
|
1412
1364
|
"type": "string"
|
|
1413
1365
|
},
|
|
1414
|
-
"capabilityId": {
|
|
1415
|
-
"type": "string"
|
|
1416
|
-
},
|
|
1417
1366
|
"serverName": {
|
|
1418
1367
|
"type": "string"
|
|
1419
1368
|
},
|
|
@@ -1457,7 +1406,6 @@
|
|
|
1457
1406
|
}
|
|
1458
1407
|
},
|
|
1459
1408
|
"required": [
|
|
1460
|
-
"capabilityId",
|
|
1461
1409
|
"serverName",
|
|
1462
1410
|
"serverToolName",
|
|
1463
1411
|
"name",
|
|
@@ -1474,9 +1422,6 @@
|
|
|
1474
1422
|
"agentId": {
|
|
1475
1423
|
"type": "string"
|
|
1476
1424
|
},
|
|
1477
|
-
"capabilityId": {
|
|
1478
|
-
"type": "string"
|
|
1479
|
-
},
|
|
1480
1425
|
"serverName": {
|
|
1481
1426
|
"type": "string"
|
|
1482
1427
|
},
|
|
@@ -1485,7 +1430,6 @@
|
|
|
1485
1430
|
}
|
|
1486
1431
|
},
|
|
1487
1432
|
"required": [
|
|
1488
|
-
"capabilityId",
|
|
1489
1433
|
"serverName",
|
|
1490
1434
|
"instructions"
|
|
1491
1435
|
]
|
|
@@ -1504,9 +1448,6 @@
|
|
|
1504
1448
|
"agentId": {
|
|
1505
1449
|
"type": "string"
|
|
1506
1450
|
},
|
|
1507
|
-
"capabilityId": {
|
|
1508
|
-
"type": "string"
|
|
1509
|
-
},
|
|
1510
1451
|
"serverName": {
|
|
1511
1452
|
"type": "string"
|
|
1512
1453
|
},
|
|
@@ -1550,7 +1491,6 @@
|
|
|
1550
1491
|
}
|
|
1551
1492
|
},
|
|
1552
1493
|
"required": [
|
|
1553
|
-
"capabilityId",
|
|
1554
1494
|
"serverName",
|
|
1555
1495
|
"serverToolName",
|
|
1556
1496
|
"name",
|
|
@@ -2447,6 +2387,12 @@
|
|
|
2447
2387
|
},
|
|
2448
2388
|
"tokensAfter": {
|
|
2449
2389
|
"type": "number"
|
|
2390
|
+
},
|
|
2391
|
+
"files": {
|
|
2392
|
+
"type": "array",
|
|
2393
|
+
"items": {
|
|
2394
|
+
"type": "string"
|
|
2395
|
+
}
|
|
2450
2396
|
}
|
|
2451
2397
|
},
|
|
2452
2398
|
"required": [
|
|
@@ -2548,7 +2494,7 @@
|
|
|
2548
2494
|
"version": {
|
|
2549
2495
|
"type": "string"
|
|
2550
2496
|
},
|
|
2551
|
-
"
|
|
2497
|
+
"features": {
|
|
2552
2498
|
"type": "object",
|
|
2553
2499
|
"properties": {
|
|
2554
2500
|
"workspace": {},
|
|
@@ -2589,7 +2535,7 @@
|
|
|
2589
2535
|
"api",
|
|
2590
2536
|
"name",
|
|
2591
2537
|
"version",
|
|
2592
|
-
"
|
|
2538
|
+
"features"
|
|
2593
2539
|
],
|
|
2594
2540
|
"additionalProperties": false
|
|
2595
2541
|
},
|
|
@@ -2598,7 +2544,7 @@
|
|
|
2598
2544
|
"properties": {
|
|
2599
2545
|
"api": {
|
|
2600
2546
|
"type": "number",
|
|
2601
|
-
"const":
|
|
2547
|
+
"const": 3
|
|
2602
2548
|
},
|
|
2603
2549
|
"tenantId": {
|
|
2604
2550
|
"type": "string",
|
|
@@ -2830,9 +2776,6 @@
|
|
|
2830
2776
|
"agentId": {
|
|
2831
2777
|
"type": "string"
|
|
2832
2778
|
},
|
|
2833
|
-
"capabilityId": {
|
|
2834
|
-
"type": "string"
|
|
2835
|
-
},
|
|
2836
2779
|
"serverName": {
|
|
2837
2780
|
"type": "string"
|
|
2838
2781
|
},
|
|
@@ -2876,7 +2819,6 @@
|
|
|
2876
2819
|
}
|
|
2877
2820
|
},
|
|
2878
2821
|
"required": [
|
|
2879
|
-
"capabilityId",
|
|
2880
2822
|
"serverName",
|
|
2881
2823
|
"serverToolName",
|
|
2882
2824
|
"name",
|
|
@@ -2893,9 +2835,6 @@
|
|
|
2893
2835
|
"agentId": {
|
|
2894
2836
|
"type": "string"
|
|
2895
2837
|
},
|
|
2896
|
-
"capabilityId": {
|
|
2897
|
-
"type": "string"
|
|
2898
|
-
},
|
|
2899
2838
|
"serverName": {
|
|
2900
2839
|
"type": "string"
|
|
2901
2840
|
},
|
|
@@ -2904,7 +2843,6 @@
|
|
|
2904
2843
|
}
|
|
2905
2844
|
},
|
|
2906
2845
|
"required": [
|
|
2907
|
-
"capabilityId",
|
|
2908
2846
|
"serverName",
|
|
2909
2847
|
"instructions"
|
|
2910
2848
|
]
|
|
@@ -3129,9 +3067,6 @@
|
|
|
3129
3067
|
],
|
|
3130
3068
|
"additionalProperties": false
|
|
3131
3069
|
},
|
|
3132
|
-
"capabilityId": {
|
|
3133
|
-
"type": "string"
|
|
3134
|
-
},
|
|
3135
3070
|
"toolName": {
|
|
3136
3071
|
"type": "string"
|
|
3137
3072
|
},
|
|
@@ -3503,9 +3438,6 @@
|
|
|
3503
3438
|
"agentId": {
|
|
3504
3439
|
"type": "string"
|
|
3505
3440
|
},
|
|
3506
|
-
"capabilityId": {
|
|
3507
|
-
"type": "string"
|
|
3508
|
-
},
|
|
3509
3441
|
"serverName": {
|
|
3510
3442
|
"type": "string"
|
|
3511
3443
|
},
|
|
@@ -3549,7 +3481,6 @@
|
|
|
3549
3481
|
}
|
|
3550
3482
|
},
|
|
3551
3483
|
"required": [
|
|
3552
|
-
"capabilityId",
|
|
3553
3484
|
"serverName",
|
|
3554
3485
|
"serverToolName",
|
|
3555
3486
|
"name",
|
|
@@ -3566,9 +3497,6 @@
|
|
|
3566
3497
|
"agentId": {
|
|
3567
3498
|
"type": "string"
|
|
3568
3499
|
},
|
|
3569
|
-
"capabilityId": {
|
|
3570
|
-
"type": "string"
|
|
3571
|
-
},
|
|
3572
3500
|
"serverName": {
|
|
3573
3501
|
"type": "string"
|
|
3574
3502
|
},
|
|
@@ -3577,7 +3505,6 @@
|
|
|
3577
3505
|
}
|
|
3578
3506
|
},
|
|
3579
3507
|
"required": [
|
|
3580
|
-
"capabilityId",
|
|
3581
3508
|
"serverName",
|
|
3582
3509
|
"instructions"
|
|
3583
3510
|
]
|
|
@@ -3623,9 +3550,6 @@
|
|
|
3623
3550
|
"agentId": {
|
|
3624
3551
|
"type": "string"
|
|
3625
3552
|
},
|
|
3626
|
-
"capabilityId": {
|
|
3627
|
-
"type": "string"
|
|
3628
|
-
},
|
|
3629
3553
|
"serverName": {
|
|
3630
3554
|
"type": "string"
|
|
3631
3555
|
},
|
|
@@ -3669,7 +3593,6 @@
|
|
|
3669
3593
|
}
|
|
3670
3594
|
},
|
|
3671
3595
|
"required": [
|
|
3672
|
-
"capabilityId",
|
|
3673
3596
|
"serverName",
|
|
3674
3597
|
"serverToolName",
|
|
3675
3598
|
"name",
|
|
@@ -3686,9 +3609,6 @@
|
|
|
3686
3609
|
"agentId": {
|
|
3687
3610
|
"type": "string"
|
|
3688
3611
|
},
|
|
3689
|
-
"capabilityId": {
|
|
3690
|
-
"type": "string"
|
|
3691
|
-
},
|
|
3692
3612
|
"serverName": {
|
|
3693
3613
|
"type": "string"
|
|
3694
3614
|
},
|
|
@@ -3697,7 +3617,6 @@
|
|
|
3697
3617
|
}
|
|
3698
3618
|
},
|
|
3699
3619
|
"required": [
|
|
3700
|
-
"capabilityId",
|
|
3701
3620
|
"serverName",
|
|
3702
3621
|
"instructions"
|
|
3703
3622
|
]
|