@agen-ai/agent-orchestration 0.4.0 → 0.4.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/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# @agen-ai/agent-orchestration
|
|
2
2
|
|
|
3
3
|
Optional managed delegation for applications using the AgenAI coding-agent SDK, at coordinated
|
|
4
|
-
version `0.4.0
|
|
5
|
-
`@agen-ai/agent-runtime`. Core runtime consumers do not depend on it.
|
|
4
|
+
source version `0.4.1` (unpublished; the published release is `0.4.0`). This package sits above
|
|
5
|
+
`@agen-ai/agent-runtime`. Core runtime consumers do not depend on it. Current source uses Agent
|
|
6
|
+
Protocol V11; the published `0.4.0` release uses V10. Managed store contract and SQLite format
|
|
7
|
+
remain 3; retained historical requests cannot reconstruct live reply authority.
|
|
6
8
|
|
|
7
9
|
The current implementation provides bounded target catalogs, a pure developer/user policy resolver,
|
|
8
10
|
managed task coordination, a volatile store and host-injected completion delivery. A separately
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AgentRequestResolution } from "@agen-ai/agent-protocol";
|
|
1
2
|
import { z } from "zod/v4";
|
|
2
3
|
import type { DelegationLimits } from "../shared/limits.js";
|
|
3
4
|
import type { DelegationSendTaskInput, DelegationSpawnTaskInput } from "./types.js";
|
|
@@ -6,5 +7,5 @@ export declare function parseSpawnTaskInput(input: unknown, limits: DelegationLi
|
|
|
6
7
|
export declare function parseSendTaskInput(input: unknown, limits: DelegationLimits): DelegationSendTaskInput;
|
|
7
8
|
export declare const parseOperationId: (input: unknown) => string;
|
|
8
9
|
export declare const parseTaskId: (input: unknown) => string;
|
|
9
|
-
export declare const parseRequestResolution: (input: unknown) =>
|
|
10
|
+
export declare const parseRequestResolution: (input: unknown) => AgentRequestResolution;
|
|
10
11
|
//# sourceMappingURL=parse.d.ts.map
|
package/dist/execution/state.js
CHANGED
package/dist/mcp/http.js
CHANGED
|
@@ -5,7 +5,6 @@ class McpHttpError extends Error {
|
|
|
5
5
|
super("The MCP HTTP request is unavailable.");
|
|
6
6
|
this.status = status;
|
|
7
7
|
}
|
|
8
|
-
status;
|
|
9
8
|
}
|
|
10
9
|
function authorizeRequest(request, expectedHost, authorization) {
|
|
11
10
|
if (request.headers.host !== expectedHost || request.headers.origin !== void 0) throw new McpHttpError(403);
|
package/dist/mcp/protocol.js
CHANGED
|
@@ -30,7 +30,7 @@ function mcpTools(binding) {
|
|
|
30
30
|
return tools;
|
|
31
31
|
}
|
|
32
32
|
function createMcpProtocol(context, tools) {
|
|
33
|
-
const protocol = new Server({ name: "agenai_delegation", version: "0.4.
|
|
33
|
+
const protocol = new Server({ name: "agenai_delegation", version: "0.4.1" }, {
|
|
34
34
|
capabilities: { tools: {} },
|
|
35
35
|
...context.binding.instructions ? { instructions: context.binding.instructions.text } : {}
|
|
36
36
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agen-ai/agent-orchestration",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Optional policy-governed managed delegation for the AgenAI coding-agent runtime.",
|
|
6
6
|
"type": "module",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"zod": "4.4.3",
|
|
35
35
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
36
|
-
"@agen-ai/agent-protocol": "^0.4.
|
|
37
|
-
"@agen-ai/
|
|
38
|
-
"@agen-ai/
|
|
36
|
+
"@agen-ai/agent-protocol": "^0.4.1",
|
|
37
|
+
"@agen-ai/validation": "^0.4.1",
|
|
38
|
+
"@agen-ai/agent-runtime": "^0.4.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"tsup": "^8.5.0"
|