@copilotkitnext/core 0.0.23 → 0.0.24
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/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -636,6 +636,7 @@ declare class ProxiedCopilotRuntimeAgent extends HttpAgent {
|
|
|
636
636
|
abortRun(): void;
|
|
637
637
|
connect(input: RunAgentInput): Observable<BaseEvent>;
|
|
638
638
|
run(input: RunAgentInput): Observable<BaseEvent>;
|
|
639
|
+
clone(): ProxiedCopilotRuntimeAgent;
|
|
639
640
|
private createSingleRouteRequestInit;
|
|
640
641
|
}
|
|
641
642
|
|
package/dist/index.d.ts
CHANGED
|
@@ -636,6 +636,7 @@ declare class ProxiedCopilotRuntimeAgent extends HttpAgent {
|
|
|
636
636
|
abortRun(): void;
|
|
637
637
|
connect(input: RunAgentInput): Observable<BaseEvent>;
|
|
638
638
|
run(input: RunAgentInput): Observable<BaseEvent>;
|
|
639
|
+
clone(): ProxiedCopilotRuntimeAgent;
|
|
639
640
|
private createSingleRouteRequestInit;
|
|
640
641
|
}
|
|
641
642
|
|
package/dist/index.js
CHANGED
|
@@ -132,6 +132,13 @@ var ProxiedCopilotRuntimeAgent = class extends import_client.HttpAgent {
|
|
|
132
132
|
}
|
|
133
133
|
return super.run(input);
|
|
134
134
|
}
|
|
135
|
+
clone() {
|
|
136
|
+
const cloned = super.clone();
|
|
137
|
+
cloned.runtimeUrl = this.runtimeUrl;
|
|
138
|
+
cloned.transport = this.transport;
|
|
139
|
+
cloned.singleEndpointUrl = this.singleEndpointUrl;
|
|
140
|
+
return cloned;
|
|
141
|
+
}
|
|
135
142
|
createSingleRouteRequestInit(input, method, params) {
|
|
136
143
|
if (!this.agentId) {
|
|
137
144
|
throw new Error("ProxiedCopilotRuntimeAgent requires agentId to make runtime requests");
|