@copilotkit/runtime 1.5.0-tyler-reset-chat.0 → 1.5.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.
- package/CHANGELOG.md +141 -3
- package/__snapshots__/schema/schema.graphql +7 -9
- package/dist/{chunk-K67A6XOJ.mjs → chunk-25G6SHWM.mjs} +458 -331
- package/dist/chunk-25G6SHWM.mjs.map +1 -0
- package/dist/{chunk-OKQVDDJ2.mjs → chunk-4AYRDPWK.mjs} +285 -63
- package/dist/chunk-4AYRDPWK.mjs.map +1 -0
- package/dist/{chunk-ZBG4KJW5.mjs → chunk-AFKLCW76.mjs} +2 -2
- package/dist/{chunk-AGSBOD2T.mjs → chunk-D6J2N5ZQ.mjs} +2 -2
- package/dist/{chunk-QNQ6UT3D.mjs → chunk-PIUHAIBR.mjs} +2 -2
- package/dist/{chunk-B74M7FXG.mjs → chunk-RFF5IIZJ.mjs} +3 -2
- package/dist/chunk-RFF5IIZJ.mjs.map +1 -0
- package/dist/{copilot-runtime-12e7ac40.d.ts → copilot-runtime-2e46a7b6.d.ts} +2 -2
- package/dist/graphql/types/converted/index.d.ts +1 -1
- package/dist/graphql/types/converted/index.js +2 -1
- package/dist/graphql/types/converted/index.js.map +1 -1
- package/dist/graphql/types/converted/index.mjs +1 -1
- package/dist/{groq-adapter-24abe931.d.ts → groq-adapter-7bf6824b.d.ts} +1 -1
- package/dist/{index-10b1c870.d.ts → index-ff3fbc33.d.ts} +7 -8
- package/dist/index.d.ts +5 -5
- package/dist/index.js +832 -480
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -11
- package/dist/index.mjs.map +1 -1
- package/dist/{langserve-f021ab9c.d.ts → langserve-f318db89.d.ts} +53 -14
- package/dist/lib/index.d.ts +4 -4
- package/dist/lib/index.js +737 -459
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +7 -7
- package/dist/lib/integrations/index.d.ts +4 -4
- package/dist/lib/integrations/index.js +71 -30
- 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 +71 -30
- 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 +71 -30
- 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 +71 -30
- 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 +285 -61
- package/dist/service-adapters/index.js.map +1 -1
- package/dist/service-adapters/index.mjs +5 -1
- package/package.json +4 -4
- package/src/agents/langgraph/event-source.ts +140 -148
- package/src/agents/langgraph/events.ts +1 -1
- package/src/graphql/inputs/message.input.ts +15 -3
- package/src/graphql/resolvers/copilot.resolver.ts +32 -6
- package/src/graphql/types/converted/index.ts +4 -3
- package/src/graphql/types/copilot-response.type.ts +12 -3
- package/src/graphql/types/enums.ts +0 -11
- package/src/lib/runtime/copilot-runtime.ts +1 -7
- package/src/lib/runtime/remote-action-constructors.ts +64 -58
- package/src/lib/runtime/remote-actions.ts +1 -0
- package/src/lib/runtime/remote-lg-action.ts +184 -154
- package/src/service-adapters/anthropic/anthropic-adapter.ts +16 -6
- package/src/service-adapters/conversion.ts +2 -1
- package/src/service-adapters/events.ts +118 -54
- package/src/service-adapters/experimental/empty/empty-adapter.ts +33 -0
- package/src/service-adapters/experimental/ollama/ollama-adapter.ts +7 -3
- package/src/service-adapters/groq/groq-adapter.ts +23 -8
- package/src/service-adapters/index.ts +7 -1
- package/src/service-adapters/langchain/utils.ts +55 -32
- package/src/service-adapters/openai/openai-adapter.ts +22 -9
- package/src/service-adapters/openai/openai-assistant-adapter.ts +22 -8
- package/src/service-adapters/unify/unify-adapter.ts +28 -11
- package/dist/chunk-B74M7FXG.mjs.map +0 -1
- package/dist/chunk-K67A6XOJ.mjs.map +0 -1
- package/dist/chunk-OKQVDDJ2.mjs.map +0 -1
- /package/dist/{chunk-ZBG4KJW5.mjs.map → chunk-AFKLCW76.mjs.map} +0 -0
- /package/dist/{chunk-AGSBOD2T.mjs.map → chunk-D6J2N5ZQ.mjs.map} +0 -0
- /package/dist/{chunk-QNQ6UT3D.mjs.map → chunk-PIUHAIBR.mjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,153 @@
|
|
|
1
1
|
# @copilotkit/runtime
|
|
2
2
|
|
|
3
|
-
## 1.5.0
|
|
3
|
+
## 1.5.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- 1b47092: Synchronize LangGraph messages with CopilotKit
|
|
8
8
|
|
|
9
9
|
### Patch Changes
|
|
10
10
|
|
|
11
|
+
- 1b47092: CoAgents v0.3 prerelease
|
|
12
|
+
- Updated dependencies [1b47092]
|
|
13
|
+
- Updated dependencies [1b47092]
|
|
14
|
+
- @copilotkit/shared@1.5.0
|
|
15
|
+
|
|
16
|
+
## 1.5.0-coagents-v0-3.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- Synchronize LangGraph messages with CopilotKit
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- e66bce4: CoAgents v0.3 prerelease
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
- Updated dependencies [e66bce4]
|
|
27
|
+
- @copilotkit/shared@1.5.0-coagents-v0-3.0
|
|
28
|
+
|
|
29
|
+
## 1.4.8
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- - Better error handling
|
|
34
|
+
- Introduce new "EmptyLLMAdapter" for when using CoAgents
|
|
35
|
+
- Improve dev console help options
|
|
36
|
+
- Allow CopilotKit remote endpoint without agents
|
|
37
|
+
- 989f159: - fix: allow CopilotKit Remote Endpoint without agents
|
|
38
|
+
- Apply suggestions from code review
|
|
39
|
+
- Updated dependencies
|
|
40
|
+
- @copilotkit/shared@1.4.8
|
|
41
|
+
|
|
42
|
+
## 1.4.8-next.0
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- @copilotkit/shared@1.4.8-next.0
|
|
47
|
+
|
|
48
|
+
## 1.4.7
|
|
49
|
+
|
|
50
|
+
### Patch Changes
|
|
51
|
+
|
|
52
|
+
- Fix broken build script before release
|
|
53
|
+
- Updated dependencies
|
|
54
|
+
- @copilotkit/shared@1.4.7
|
|
55
|
+
|
|
56
|
+
## 1.4.6
|
|
57
|
+
|
|
58
|
+
### Patch Changes
|
|
59
|
+
|
|
60
|
+
- .
|
|
61
|
+
|
|
62
|
+
## 1.4.5
|
|
63
|
+
|
|
64
|
+
### Patch Changes
|
|
65
|
+
|
|
66
|
+
- testing release workflow
|
|
67
|
+
- Updated dependencies
|
|
68
|
+
- @copilotkit/shared@1.4.5
|
|
69
|
+
|
|
70
|
+
## 1.4.5-next.0
|
|
71
|
+
|
|
72
|
+
### Patch Changes
|
|
73
|
+
|
|
74
|
+
- testing release workflow
|
|
75
|
+
- Updated dependencies
|
|
76
|
+
- @copilotkit/shared@1.4.5-next.0
|
|
77
|
+
|
|
78
|
+
## 1.4.4
|
|
79
|
+
|
|
80
|
+
### Patch Changes
|
|
81
|
+
|
|
82
|
+
- 665deab: test prerelease
|
|
83
|
+
- 57a6012: test next prerelease automation
|
|
84
|
+
- 7cfc2e7: test prerelease stuff
|
|
85
|
+
- af36f1a: - feat(runtime): readme update
|
|
86
|
+
- @copilotkit/shared@1.4.4
|
|
87
|
+
|
|
88
|
+
## 1.4.4-next.4
|
|
89
|
+
|
|
90
|
+
### Patch Changes
|
|
91
|
+
|
|
92
|
+
- 57a6012: test next prerelease automation
|
|
93
|
+
- @copilotkit/shared@1.4.4-next.4
|
|
94
|
+
|
|
95
|
+
## 1.4.4-next.3
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- 7cfc2e7: test prerelease stuff
|
|
100
|
+
- @copilotkit/shared@1.4.4-next.3
|
|
101
|
+
|
|
102
|
+
## 1.4.4-next.2
|
|
103
|
+
|
|
104
|
+
### Patch Changes
|
|
105
|
+
|
|
106
|
+
- 665deab: test prerelease
|
|
107
|
+
- @copilotkit/shared@1.4.4-next.2
|
|
108
|
+
|
|
109
|
+
## 1.4.4-next.1
|
|
110
|
+
|
|
111
|
+
### Patch Changes
|
|
112
|
+
|
|
113
|
+
- af36f1a: - feat(runtime): readme update
|
|
114
|
+
- @copilotkit/shared@1.4.4-next.1
|
|
115
|
+
|
|
116
|
+
## 1.4.4-next.0
|
|
117
|
+
|
|
118
|
+
### Patch Changes
|
|
119
|
+
|
|
120
|
+
- @copilotkit/shared@1.4.4-next.0
|
|
121
|
+
|
|
122
|
+
## 1.4.3
|
|
123
|
+
|
|
124
|
+
### Patch Changes
|
|
125
|
+
|
|
126
|
+
- c296282: - Better error surfacing when using LangGraph Platform streaming
|
|
127
|
+
- Ensure state is immediately set without using flushSync
|
|
128
|
+
- - Better error surfacing when using LangGraph Platform streaming
|
|
129
|
+
- Ensure state is immediately set without using flushSync
|
|
130
|
+
- Updated dependencies [c296282]
|
|
131
|
+
- Updated dependencies
|
|
132
|
+
- @copilotkit/shared@1.4.3
|
|
133
|
+
|
|
134
|
+
## 1.4.3-pre.0
|
|
135
|
+
|
|
136
|
+
### Patch Changes
|
|
137
|
+
|
|
138
|
+
- - Better error surfacing when using LangGraph Platform streaming
|
|
139
|
+
- Ensure state is immediately set without using flushSync
|
|
140
|
+
- Updated dependencies
|
|
141
|
+
- @copilotkit/shared@1.4.3-pre.0
|
|
142
|
+
|
|
143
|
+
## 1.4.2
|
|
144
|
+
|
|
145
|
+
### Patch Changes
|
|
146
|
+
|
|
147
|
+
- - Make sure agent state is set immediately (#1077)
|
|
148
|
+
- Support running an agent without messages (#1075)
|
|
11
149
|
- Updated dependencies
|
|
12
|
-
- @copilotkit/shared@1.
|
|
150
|
+
- @copilotkit/shared@1.4.2
|
|
13
151
|
|
|
14
152
|
## 1.4.1
|
|
15
153
|
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
input ActionExecutionMessageInput {
|
|
7
7
|
arguments: String!
|
|
8
8
|
name: String!
|
|
9
|
-
|
|
9
|
+
parentMessageId: String
|
|
10
|
+
scope: String @deprecated(reason: "This field will be removed in a future version")
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
type ActionExecutionMessageOutput implements BaseMessageOutput {
|
|
@@ -14,17 +15,11 @@ type ActionExecutionMessageOutput implements BaseMessageOutput {
|
|
|
14
15
|
createdAt: DateTimeISO!
|
|
15
16
|
id: String!
|
|
16
17
|
name: String!
|
|
17
|
-
|
|
18
|
+
parentMessageId: String
|
|
19
|
+
scope: String @deprecated(reason: "This field will be removed in a future version")
|
|
18
20
|
status: MessageStatus!
|
|
19
21
|
}
|
|
20
22
|
|
|
21
|
-
"""The scope of the action"""
|
|
22
|
-
enum ActionExecutionScope {
|
|
23
|
-
client
|
|
24
|
-
passThrough
|
|
25
|
-
server
|
|
26
|
-
}
|
|
27
|
-
|
|
28
23
|
input ActionInput {
|
|
29
24
|
available: ActionInputAvailability
|
|
30
25
|
description: String!
|
|
@@ -229,6 +224,7 @@ enum ResponseStatusCode {
|
|
|
229
224
|
input ResultMessageInput {
|
|
230
225
|
actionExecutionId: String!
|
|
231
226
|
actionName: String!
|
|
227
|
+
parentMessageId: String
|
|
232
228
|
result: String!
|
|
233
229
|
}
|
|
234
230
|
|
|
@@ -251,6 +247,7 @@ type SuccessResponseStatus implements BaseResponseStatus {
|
|
|
251
247
|
|
|
252
248
|
input TextMessageInput {
|
|
253
249
|
content: String!
|
|
250
|
+
parentMessageId: String
|
|
254
251
|
role: MessageRole!
|
|
255
252
|
}
|
|
256
253
|
|
|
@@ -258,6 +255,7 @@ type TextMessageOutput implements BaseMessageOutput {
|
|
|
258
255
|
content: [String!]!
|
|
259
256
|
createdAt: DateTimeISO!
|
|
260
257
|
id: String!
|
|
258
|
+
parentMessageId: String
|
|
261
259
|
role: MessageRole!
|
|
262
260
|
status: MessageStatus!
|
|
263
261
|
}
|