@copilotkit/runtime 1.4.8-coagents-v0-3.1 → 1.4.8-next.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/CHANGELOG.md +5 -4
- package/__snapshots__/schema/schema.graphql +10 -7
- package/dist/{chunk-FVYNRYIB.mjs → chunk-5KJYPVQJ.mjs} +307 -423
- package/dist/chunk-5KJYPVQJ.mjs.map +1 -0
- package/dist/{chunk-RFF5IIZJ.mjs → chunk-B74M7FXG.mjs} +2 -3
- package/dist/chunk-B74M7FXG.mjs.map +1 -0
- package/dist/{chunk-BACNNHHI.mjs → chunk-CGGI46KC.mjs} +2 -2
- package/dist/{chunk-YFG3Q3YH.mjs → chunk-EU52BTKR.mjs} +2 -2
- package/dist/{chunk-MQJNZYAH.mjs → chunk-KO4QCMY4.mjs} +2 -2
- package/dist/{chunk-2PK2SFRB.mjs → chunk-W7GP2EOT.mjs} +106 -221
- package/dist/chunk-W7GP2EOT.mjs.map +1 -0
- package/dist/{copilot-runtime-b15b683d.d.ts → copilot-runtime-1c5bf72b.d.ts} +2 -2
- package/dist/graphql/types/converted/index.d.ts +1 -1
- package/dist/graphql/types/converted/index.js +1 -2
- package/dist/graphql/types/converted/index.js.map +1 -1
- package/dist/graphql/types/converted/index.mjs +1 -1
- package/dist/{groq-adapter-50aa9621.d.ts → groq-adapter-b6a40422.d.ts} +1 -1
- package/dist/{index-ff3fbc33.d.ts → index-10b1c870.d.ts} +8 -7
- package/dist/index.d.ts +5 -5
- package/dist/index.js +515 -745
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -6
- package/dist/index.mjs.map +1 -1
- package/dist/{langserve-8ec29cba.d.ts → langserve-6245df39.d.ts} +14 -52
- package/dist/lib/index.d.ts +4 -4
- package/dist/lib/index.js +442 -706
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +6 -6
- package/dist/lib/integrations/index.d.ts +4 -4
- package/dist/lib/integrations/index.js +37 -71
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +6 -6
- package/dist/lib/integrations/nest/index.d.ts +3 -3
- package/dist/lib/integrations/nest/index.js +37 -71
- package/dist/lib/integrations/nest/index.js.map +1 -1
- package/dist/lib/integrations/nest/index.mjs +4 -4
- package/dist/lib/integrations/node-express/index.d.ts +3 -3
- package/dist/lib/integrations/node-express/index.js +37 -71
- package/dist/lib/integrations/node-express/index.js.map +1 -1
- package/dist/lib/integrations/node-express/index.mjs +4 -4
- package/dist/lib/integrations/node-http/index.d.ts +3 -3
- package/dist/lib/integrations/node-http/index.js +37 -71
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +3 -3
- package/dist/service-adapters/index.d.ts +36 -5
- package/dist/service-adapters/index.js +106 -219
- package/dist/service-adapters/index.js.map +1 -1
- package/dist/service-adapters/index.mjs +5 -1
- package/package.json +2 -2
- package/src/agents/langgraph/event-source.ts +148 -140
- package/src/agents/langgraph/events.ts +1 -1
- package/src/graphql/inputs/forwarded-parameters.input.ts +3 -0
- package/src/graphql/inputs/message.input.ts +3 -15
- package/src/graphql/resolvers/copilot.resolver.ts +6 -32
- package/src/graphql/types/converted/index.ts +3 -4
- package/src/graphql/types/copilot-response.type.ts +3 -12
- package/src/graphql/types/enums.ts +11 -0
- package/src/lib/runtime/remote-action-constructors.ts +62 -60
- package/src/lib/runtime/remote-actions.ts +0 -1
- package/src/lib/runtime/remote-lg-action.ts +140 -161
- package/src/service-adapters/anthropic/anthropic-adapter.ts +6 -16
- package/src/service-adapters/conversion.ts +1 -2
- package/src/service-adapters/events.ts +52 -111
- package/src/service-adapters/experimental/empty/empty-adapter.ts +33 -0
- package/src/service-adapters/experimental/ollama/ollama-adapter.ts +3 -7
- package/src/service-adapters/groq/groq-adapter.ts +8 -23
- package/src/service-adapters/index.ts +7 -1
- package/src/service-adapters/langchain/utils.ts +31 -49
- package/src/service-adapters/openai/openai-adapter.ts +9 -22
- package/src/service-adapters/openai/openai-assistant-adapter.ts +8 -22
- package/src/service-adapters/unify/unify-adapter.ts +11 -28
- package/dist/chunk-2PK2SFRB.mjs.map +0 -1
- package/dist/chunk-FVYNRYIB.mjs.map +0 -1
- package/dist/chunk-RFF5IIZJ.mjs.map +0 -1
- /package/dist/{chunk-BACNNHHI.mjs.map → chunk-CGGI46KC.mjs.map} +0 -0
- /package/dist/{chunk-YFG3Q3YH.mjs.map → chunk-EU52BTKR.mjs.map} +0 -0
- /package/dist/{chunk-MQJNZYAH.mjs.map → chunk-KO4QCMY4.mjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# @copilotkit/runtime
|
|
2
2
|
|
|
3
|
-
## 1.4.8-
|
|
3
|
+
## 1.4.8-next.1
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
7
|
+
- 1f21f28: - feat: add temperature parameter support for LLM completions
|
|
8
|
+
- 989f159: - fix: allow CopilotKit Remote Endpoint without agents
|
|
9
|
+
- Apply suggestions from code review
|
|
10
|
+
- @copilotkit/shared@1.4.8-next.1
|
|
10
11
|
|
|
11
12
|
## 1.4.8-next.0
|
|
12
13
|
|
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
input ActionExecutionMessageInput {
|
|
7
7
|
arguments: String!
|
|
8
8
|
name: String!
|
|
9
|
-
|
|
10
|
-
scope: String @deprecated(reason: "This field will be removed in a future version")
|
|
9
|
+
scope: ActionExecutionScope!
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
type ActionExecutionMessageOutput implements BaseMessageOutput {
|
|
@@ -15,11 +14,17 @@ type ActionExecutionMessageOutput implements BaseMessageOutput {
|
|
|
15
14
|
createdAt: DateTimeISO!
|
|
16
15
|
id: String!
|
|
17
16
|
name: String!
|
|
18
|
-
|
|
19
|
-
scope: String @deprecated(reason: "This field will be removed in a future version")
|
|
17
|
+
scope: ActionExecutionScope!
|
|
20
18
|
status: MessageStatus!
|
|
21
19
|
}
|
|
22
20
|
|
|
21
|
+
"""The scope of the action"""
|
|
22
|
+
enum ActionExecutionScope {
|
|
23
|
+
client
|
|
24
|
+
passThrough
|
|
25
|
+
server
|
|
26
|
+
}
|
|
27
|
+
|
|
23
28
|
input ActionInput {
|
|
24
29
|
available: ActionInputAvailability
|
|
25
30
|
description: String!
|
|
@@ -126,6 +131,7 @@ input ForwardedParametersInput {
|
|
|
126
131
|
maxTokens: Float
|
|
127
132
|
model: String
|
|
128
133
|
stop: [String!]
|
|
134
|
+
temperature: Float
|
|
129
135
|
toolChoice: String
|
|
130
136
|
toolChoiceFunctionName: String
|
|
131
137
|
}
|
|
@@ -224,7 +230,6 @@ enum ResponseStatusCode {
|
|
|
224
230
|
input ResultMessageInput {
|
|
225
231
|
actionExecutionId: String!
|
|
226
232
|
actionName: String!
|
|
227
|
-
parentMessageId: String
|
|
228
233
|
result: String!
|
|
229
234
|
}
|
|
230
235
|
|
|
@@ -247,7 +252,6 @@ type SuccessResponseStatus implements BaseResponseStatus {
|
|
|
247
252
|
|
|
248
253
|
input TextMessageInput {
|
|
249
254
|
content: String!
|
|
250
|
-
parentMessageId: String
|
|
251
255
|
role: MessageRole!
|
|
252
256
|
}
|
|
253
257
|
|
|
@@ -255,7 +259,6 @@ type TextMessageOutput implements BaseMessageOutput {
|
|
|
255
259
|
content: [String!]!
|
|
256
260
|
createdAt: DateTimeISO!
|
|
257
261
|
id: String!
|
|
258
|
-
parentMessageId: String
|
|
259
262
|
role: MessageRole!
|
|
260
263
|
status: MessageStatus!
|
|
261
264
|
}
|