@copilotkit/runtime 1.5.0-tyler-reset-chat.0 → 1.5.1-custom-tag-pre.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 +150 -3
- package/__snapshots__/schema/schema.graphql +8 -9
- package/dist/{chunk-K67A6XOJ.mjs → chunk-3ECBC2K2.mjs} +462 -328
- package/dist/chunk-3ECBC2K2.mjs.map +1 -0
- package/dist/{chunk-QNQ6UT3D.mjs → chunk-5E6LOP76.mjs} +2 -2
- package/dist/{chunk-OKQVDDJ2.mjs → chunk-CLGKEUOA.mjs} +298 -63
- package/dist/chunk-CLGKEUOA.mjs.map +1 -0
- package/dist/{chunk-ZBG4KJW5.mjs → chunk-MKDG5ZHT.mjs} +2 -2
- package/dist/{chunk-AGSBOD2T.mjs → chunk-MYZB2EKG.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-6285d897.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-15d41154.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 +852 -480
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -6
- package/dist/index.mjs.map +1 -1
- package/dist/{langserve-f021ab9c.d.ts → langserve-48e976ac.d.ts} +54 -14
- package/dist/lib/index.d.ts +4 -4
- package/dist/lib/index.js +754 -459
- 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 +78 -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 +78 -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 +78 -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 +78 -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 +298 -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/forwarded-parameters.input.ts +3 -0
- 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 +17 -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 +24 -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 +23 -9
- package/src/service-adapters/openai/openai-assistant-adapter.ts +22 -8
- package/src/service-adapters/unify/unify-adapter.ts +30 -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-QNQ6UT3D.mjs.map → chunk-5E6LOP76.mjs.map} +0 -0
- /package/dist/{chunk-ZBG4KJW5.mjs.map → chunk-MKDG5ZHT.mjs.map} +0 -0
- /package/dist/{chunk-AGSBOD2T.mjs.map → chunk-MYZB2EKG.mjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,162 @@
|
|
|
1
1
|
# @copilotkit/runtime
|
|
2
2
|
|
|
3
|
-
## 1.5.
|
|
3
|
+
## 1.5.1-custom-tag-pre.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 896c825: testing a prerelease
|
|
8
|
+
- 6dfa0d2: - feat: add temperature parameter support for LLM completions
|
|
9
|
+
- Updated dependencies [896c825]
|
|
10
|
+
- @copilotkit/shared@1.5.1-custom-tag-pre.0
|
|
11
|
+
|
|
12
|
+
## 1.5.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- 1b47092: Synchronize LangGraph messages with CopilotKit
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- 1b47092: CoAgents v0.3 prerelease
|
|
21
|
+
- Updated dependencies [1b47092]
|
|
22
|
+
- Updated dependencies [1b47092]
|
|
23
|
+
- @copilotkit/shared@1.5.0
|
|
24
|
+
|
|
25
|
+
## 1.5.0-coagents-v0-3.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
|
6
28
|
|
|
7
|
-
-
|
|
29
|
+
- Synchronize LangGraph messages with CopilotKit
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- e66bce4: CoAgents v0.3 prerelease
|
|
34
|
+
- Updated dependencies
|
|
35
|
+
- Updated dependencies [e66bce4]
|
|
36
|
+
- @copilotkit/shared@1.5.0-coagents-v0-3.0
|
|
37
|
+
|
|
38
|
+
## 1.4.8
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- - Better error handling
|
|
43
|
+
- Introduce new "EmptyLLMAdapter" for when using CoAgents
|
|
44
|
+
- Improve dev console help options
|
|
45
|
+
- Allow CopilotKit remote endpoint without agents
|
|
46
|
+
- 989f159: - fix: allow CopilotKit Remote Endpoint without agents
|
|
47
|
+
- Apply suggestions from code review
|
|
48
|
+
- Updated dependencies
|
|
49
|
+
- @copilotkit/shared@1.4.8
|
|
50
|
+
|
|
51
|
+
## 1.4.8-next.0
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- @copilotkit/shared@1.4.8-next.0
|
|
56
|
+
|
|
57
|
+
## 1.4.7
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- Fix broken build script before release
|
|
62
|
+
- Updated dependencies
|
|
63
|
+
- @copilotkit/shared@1.4.7
|
|
64
|
+
|
|
65
|
+
## 1.4.6
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- .
|
|
70
|
+
|
|
71
|
+
## 1.4.5
|
|
72
|
+
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- testing release workflow
|
|
76
|
+
- Updated dependencies
|
|
77
|
+
- @copilotkit/shared@1.4.5
|
|
78
|
+
|
|
79
|
+
## 1.4.5-next.0
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- testing release workflow
|
|
84
|
+
- Updated dependencies
|
|
85
|
+
- @copilotkit/shared@1.4.5-next.0
|
|
86
|
+
|
|
87
|
+
## 1.4.4
|
|
88
|
+
|
|
89
|
+
### Patch Changes
|
|
90
|
+
|
|
91
|
+
- 665deab: test prerelease
|
|
92
|
+
- 57a6012: test next prerelease automation
|
|
93
|
+
- 7cfc2e7: test prerelease stuff
|
|
94
|
+
- af36f1a: - feat(runtime): readme update
|
|
95
|
+
- @copilotkit/shared@1.4.4
|
|
96
|
+
|
|
97
|
+
## 1.4.4-next.4
|
|
98
|
+
|
|
99
|
+
### Patch Changes
|
|
100
|
+
|
|
101
|
+
- 57a6012: test next prerelease automation
|
|
102
|
+
- @copilotkit/shared@1.4.4-next.4
|
|
103
|
+
|
|
104
|
+
## 1.4.4-next.3
|
|
105
|
+
|
|
106
|
+
### Patch Changes
|
|
107
|
+
|
|
108
|
+
- 7cfc2e7: test prerelease stuff
|
|
109
|
+
- @copilotkit/shared@1.4.4-next.3
|
|
110
|
+
|
|
111
|
+
## 1.4.4-next.2
|
|
112
|
+
|
|
113
|
+
### Patch Changes
|
|
114
|
+
|
|
115
|
+
- 665deab: test prerelease
|
|
116
|
+
- @copilotkit/shared@1.4.4-next.2
|
|
117
|
+
|
|
118
|
+
## 1.4.4-next.1
|
|
119
|
+
|
|
120
|
+
### Patch Changes
|
|
121
|
+
|
|
122
|
+
- af36f1a: - feat(runtime): readme update
|
|
123
|
+
- @copilotkit/shared@1.4.4-next.1
|
|
124
|
+
|
|
125
|
+
## 1.4.4-next.0
|
|
126
|
+
|
|
127
|
+
### Patch Changes
|
|
128
|
+
|
|
129
|
+
- @copilotkit/shared@1.4.4-next.0
|
|
130
|
+
|
|
131
|
+
## 1.4.3
|
|
132
|
+
|
|
133
|
+
### Patch Changes
|
|
134
|
+
|
|
135
|
+
- c296282: - Better error surfacing when using LangGraph Platform streaming
|
|
136
|
+
- Ensure state is immediately set without using flushSync
|
|
137
|
+
- - Better error surfacing when using LangGraph Platform streaming
|
|
138
|
+
- Ensure state is immediately set without using flushSync
|
|
139
|
+
- Updated dependencies [c296282]
|
|
140
|
+
- Updated dependencies
|
|
141
|
+
- @copilotkit/shared@1.4.3
|
|
142
|
+
|
|
143
|
+
## 1.4.3-pre.0
|
|
144
|
+
|
|
145
|
+
### Patch Changes
|
|
146
|
+
|
|
147
|
+
- - Better error surfacing when using LangGraph Platform streaming
|
|
148
|
+
- Ensure state is immediately set without using flushSync
|
|
149
|
+
- Updated dependencies
|
|
150
|
+
- @copilotkit/shared@1.4.3-pre.0
|
|
151
|
+
|
|
152
|
+
## 1.4.2
|
|
8
153
|
|
|
9
154
|
### Patch Changes
|
|
10
155
|
|
|
156
|
+
- - Make sure agent state is set immediately (#1077)
|
|
157
|
+
- Support running an agent without messages (#1075)
|
|
11
158
|
- Updated dependencies
|
|
12
|
-
- @copilotkit/shared@1.
|
|
159
|
+
- @copilotkit/shared@1.4.2
|
|
13
160
|
|
|
14
161
|
## 1.4.1
|
|
15
162
|
|
|
@@ -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!
|
|
@@ -131,6 +126,7 @@ input ForwardedParametersInput {
|
|
|
131
126
|
maxTokens: Float
|
|
132
127
|
model: String
|
|
133
128
|
stop: [String!]
|
|
129
|
+
temperature: Float
|
|
134
130
|
toolChoice: String
|
|
135
131
|
toolChoiceFunctionName: String
|
|
136
132
|
}
|
|
@@ -229,6 +225,7 @@ enum ResponseStatusCode {
|
|
|
229
225
|
input ResultMessageInput {
|
|
230
226
|
actionExecutionId: String!
|
|
231
227
|
actionName: String!
|
|
228
|
+
parentMessageId: String
|
|
232
229
|
result: String!
|
|
233
230
|
}
|
|
234
231
|
|
|
@@ -251,6 +248,7 @@ type SuccessResponseStatus implements BaseResponseStatus {
|
|
|
251
248
|
|
|
252
249
|
input TextMessageInput {
|
|
253
250
|
content: String!
|
|
251
|
+
parentMessageId: String
|
|
254
252
|
role: MessageRole!
|
|
255
253
|
}
|
|
256
254
|
|
|
@@ -258,6 +256,7 @@ type TextMessageOutput implements BaseMessageOutput {
|
|
|
258
256
|
content: [String!]!
|
|
259
257
|
createdAt: DateTimeISO!
|
|
260
258
|
id: String!
|
|
259
|
+
parentMessageId: String
|
|
261
260
|
role: MessageRole!
|
|
262
261
|
status: MessageStatus!
|
|
263
262
|
}
|