@copilotkit/agentcore-runner 1.75.1 → 1.76.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.
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { EventType } from "@ag-ui/client";
|
|
1
|
+
import { BaseEvent } from "@ag-ui/client";
|
|
3
2
|
import { InMemoryAgentRunner } from "@copilotkit/runtime/v2";
|
|
4
3
|
import { Observable } from "rxjs";
|
|
5
4
|
|
|
@@ -19,18 +18,8 @@ import { Observable } from "rxjs";
|
|
|
19
18
|
*/
|
|
20
19
|
declare class AgentCoreRunner extends InMemoryAgentRunner {
|
|
21
20
|
private readonly knownThreadIds;
|
|
22
|
-
run(request: Parameters<InMemoryAgentRunner["run"]>[0]): Observable<
|
|
23
|
-
|
|
24
|
-
timestamp: zod.ZodOptional<zod.ZodNumber>;
|
|
25
|
-
rawEvent: zod.ZodOptional<zod.ZodAny>;
|
|
26
|
-
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
|
|
27
|
-
}, zod.ZodTypeAny, "passthrough">>;
|
|
28
|
-
connect(request: Parameters<InMemoryAgentRunner["connect"]>[0]): Observable<zod.objectOutputType<{
|
|
29
|
-
type: zod.ZodNativeEnum<typeof EventType>;
|
|
30
|
-
timestamp: zod.ZodOptional<zod.ZodNumber>;
|
|
31
|
-
rawEvent: zod.ZodOptional<zod.ZodAny>;
|
|
32
|
-
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
|
|
33
|
-
}, zod.ZodTypeAny, "passthrough">>;
|
|
21
|
+
run(request: Parameters<InMemoryAgentRunner["run"]>[0]): Observable<BaseEvent>;
|
|
22
|
+
connect(request: Parameters<InMemoryAgentRunner["connect"]>[0]): Observable<BaseEvent>;
|
|
34
23
|
}
|
|
35
24
|
//#endregion
|
|
36
25
|
export { AgentCoreRunner };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentcore-runner.d.cts","names":[],"sources":["../src/agentcore-runner.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"agentcore-runner.d.cts","names":[],"sources":["../src/agentcore-runner.ts"],"mappings":";;;;;;;AAyBA;;;;;;;;;;;cAAa,eAAA,SAAwB,mBAAA;EAAA,iBAClB,cAAA;EAER,GAAA,CAAI,OAAA,EAAS,UAAA,CAAW,mBAAA,cAA8B,UAAA,CAAA,SAAA;EAKtD,OAAA,CAAQ,OAAA,EAAS,UAAA,CAAW,mBAAA,kBAAkC,UAAA,CAAA,SAAA;AAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseEvent } from "@ag-ui/client";
|
|
2
2
|
import { InMemoryAgentRunner } from "@copilotkit/runtime/v2";
|
|
3
3
|
import { Observable } from "rxjs";
|
|
4
|
-
import * as zod from "zod";
|
|
5
4
|
|
|
6
5
|
//#region src/agentcore-runner.d.ts
|
|
7
6
|
/**
|
|
@@ -19,18 +18,8 @@ import * as zod from "zod";
|
|
|
19
18
|
*/
|
|
20
19
|
declare class AgentCoreRunner extends InMemoryAgentRunner {
|
|
21
20
|
private readonly knownThreadIds;
|
|
22
|
-
run(request: Parameters<InMemoryAgentRunner["run"]>[0]): Observable<
|
|
23
|
-
|
|
24
|
-
timestamp: zod.ZodOptional<zod.ZodNumber>;
|
|
25
|
-
rawEvent: zod.ZodOptional<zod.ZodAny>;
|
|
26
|
-
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
|
|
27
|
-
}, zod.ZodTypeAny, "passthrough">>;
|
|
28
|
-
connect(request: Parameters<InMemoryAgentRunner["connect"]>[0]): Observable<zod.objectOutputType<{
|
|
29
|
-
type: zod.ZodNativeEnum<typeof EventType>;
|
|
30
|
-
timestamp: zod.ZodOptional<zod.ZodNumber>;
|
|
31
|
-
rawEvent: zod.ZodOptional<zod.ZodAny>;
|
|
32
|
-
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
|
|
33
|
-
}, zod.ZodTypeAny, "passthrough">>;
|
|
21
|
+
run(request: Parameters<InMemoryAgentRunner["run"]>[0]): Observable<BaseEvent>;
|
|
22
|
+
connect(request: Parameters<InMemoryAgentRunner["connect"]>[0]): Observable<BaseEvent>;
|
|
34
23
|
}
|
|
35
24
|
//#endregion
|
|
36
25
|
export { AgentCoreRunner };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentcore-runner.d.mts","names":[],"sources":["../src/agentcore-runner.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"agentcore-runner.d.mts","names":[],"sources":["../src/agentcore-runner.ts"],"mappings":";;;;;;;AAyBA;;;;;;;;;;;cAAa,eAAA,SAAwB,mBAAA;EAAA,iBAClB,cAAA;EAER,GAAA,CAAI,OAAA,EAAS,UAAA,CAAW,mBAAA,cAA8B,UAAA,CAAA,SAAA;EAKtD,OAAA,CAAQ,OAAA,EAAS,UAAA,CAAW,mBAAA,kBAAkC,UAAA,CAAA,SAAA;AAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copilotkit/agentcore-runner",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.76.0",
|
|
4
4
|
"description": "AWS Bedrock AgentCore-compatible agent runner for CopilotKit2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"access": "public"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ag-ui/client": "
|
|
25
|
+
"@ag-ui/client": "1.0.1",
|
|
26
26
|
"rxjs": "7.8.1",
|
|
27
|
-
"@copilotkit/runtime": "1.
|
|
27
|
+
"@copilotkit/runtime": "1.76.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "^22.15.3",
|