@copilotkit/runtime 1.6.0-next.5 → 1.6.0-next.6
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 +9 -0
- package/__snapshots__/schema/schema.graphql +1 -0
- package/dist/{chunk-F6WKKTYT.mjs → chunk-5HTQ3NJN.mjs} +5 -4
- package/dist/chunk-5HTQ3NJN.mjs.map +1 -0
- package/dist/{chunk-7EXH7PVD.mjs → chunk-FZJAYGIR.mjs} +43 -11
- package/dist/chunk-FZJAYGIR.mjs.map +1 -0
- package/dist/{chunk-3C73PW47.mjs → chunk-KOZEUHQH.mjs} +2 -2
- package/dist/{chunk-I6W6FUR5.mjs → chunk-MADVAANL.mjs} +2 -2
- package/dist/{chunk-RG3UJM7Q.mjs → chunk-USK52PF7.mjs} +2 -2
- package/dist/{copilot-runtime-67033bfa.d.ts → copilot-runtime-15bfc4f4.d.ts} +2 -2
- package/dist/graphql/types/converted/index.d.ts +1 -1
- package/dist/{groq-adapter-9d15c927.d.ts → groq-adapter-fb9aa3ab.d.ts} +1 -1
- package/dist/{index-f6d1f30b.d.ts → index-5bec5424.d.ts} +2 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +45 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/{langserve-7cc5be48.d.ts → langserve-6f7af8d3.d.ts} +1 -1
- package/dist/lib/index.d.ts +4 -4
- package/dist/lib/index.js +45 -12
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +5 -5
- package/dist/lib/integrations/index.d.ts +4 -4
- package/dist/lib/integrations/index.js +3 -2
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +5 -5
- package/dist/lib/integrations/nest/index.d.ts +3 -3
- package/dist/lib/integrations/nest/index.js +3 -2
- package/dist/lib/integrations/nest/index.js.map +1 -1
- package/dist/lib/integrations/nest/index.mjs +3 -3
- package/dist/lib/integrations/node-express/index.d.ts +3 -3
- package/dist/lib/integrations/node-express/index.js +3 -2
- package/dist/lib/integrations/node-express/index.js.map +1 -1
- package/dist/lib/integrations/node-express/index.mjs +3 -3
- package/dist/lib/integrations/node-http/index.d.ts +3 -3
- package/dist/lib/integrations/node-http/index.js +3 -2
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +2 -2
- package/dist/service-adapters/index.d.ts +4 -4
- package/dist/service-adapters/index.js +42 -10
- package/dist/service-adapters/index.js.map +1 -1
- package/dist/service-adapters/index.mjs +1 -1
- package/package.json +3 -3
- package/src/graphql/types/enums.ts +1 -0
- package/src/service-adapters/groq/groq-adapter.ts +6 -3
- package/src/service-adapters/openai/openai-adapter.ts +1 -1
- package/src/service-adapters/openai/openai-assistant-adapter.ts +1 -1
- package/src/service-adapters/openai/utils.ts +37 -12
- package/src/service-adapters/unify/unify-adapter.ts +1 -1
- package/dist/chunk-7EXH7PVD.mjs.map +0 -1
- package/dist/chunk-F6WKKTYT.mjs.map +0 -1
- /package/dist/{chunk-3C73PW47.mjs.map → chunk-KOZEUHQH.mjs.map} +0 -0
- /package/dist/{chunk-I6W6FUR5.mjs.map → chunk-MADVAANL.mjs.map} +0 -0
- /package/dist/{chunk-RG3UJM7Q.mjs.map → chunk-USK52PF7.mjs.map} +0 -0
|
@@ -2,21 +2,21 @@ import {
|
|
|
2
2
|
config,
|
|
3
3
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
4
4
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-KOZEUHQH.mjs";
|
|
6
6
|
import {
|
|
7
7
|
copilotRuntimeNestEndpoint
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-USK52PF7.mjs";
|
|
9
9
|
import {
|
|
10
10
|
copilotRuntimeNodeExpressEndpoint
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-MADVAANL.mjs";
|
|
12
12
|
import {
|
|
13
13
|
addCustomHeaderPlugin,
|
|
14
14
|
buildSchema,
|
|
15
15
|
copilotRuntimeNodeHttpEndpoint,
|
|
16
16
|
createContext,
|
|
17
17
|
getCommonConfig
|
|
18
|
-
} from "../../chunk-
|
|
19
|
-
import "../../chunk-
|
|
18
|
+
} from "../../chunk-5HTQ3NJN.mjs";
|
|
19
|
+
import "../../chunk-FZJAYGIR.mjs";
|
|
20
20
|
import "../../chunk-5BIEM2UU.mjs";
|
|
21
21
|
import "../../chunk-RTFJTJMA.mjs";
|
|
22
22
|
import "../../chunk-2OZAGFV3.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as graphql_yoga from 'graphql-yoga';
|
|
2
|
-
import { e as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../../copilot-runtime-
|
|
2
|
+
import { e as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../../copilot-runtime-15bfc4f4.js';
|
|
3
3
|
import '@copilotkit/shared';
|
|
4
|
-
import '../../../langserve-
|
|
5
|
-
import '../../../index-
|
|
4
|
+
import '../../../langserve-6f7af8d3.js';
|
|
5
|
+
import '../../../index-5bec5424.js';
|
|
6
6
|
import '../../../graphql/types/base/index.js';
|
|
7
7
|
import 'rxjs';
|
|
8
8
|
import 'graphql';
|
|
@@ -44,7 +44,7 @@ var require_package = __commonJS({
|
|
|
44
44
|
publishConfig: {
|
|
45
45
|
access: "public"
|
|
46
46
|
},
|
|
47
|
-
version: "1.6.0-next.
|
|
47
|
+
version: "1.6.0-next.6",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -97,7 +97,7 @@ var require_package = __commonJS({
|
|
|
97
97
|
"graphql-yoga": "^5.3.1",
|
|
98
98
|
"groq-sdk": "^0.5.0",
|
|
99
99
|
langchain: "^0.3.3",
|
|
100
|
-
openai: "^4.
|
|
100
|
+
openai: "^4.85.1",
|
|
101
101
|
"partial-json": "^0.1.7",
|
|
102
102
|
pino: "^9.2.0",
|
|
103
103
|
"pino-pretty": "^11.2.1",
|
|
@@ -153,6 +153,7 @@ var MessageRole;
|
|
|
153
153
|
MessageRole2["assistant"] = "assistant";
|
|
154
154
|
MessageRole2["system"] = "system";
|
|
155
155
|
MessageRole2["tool"] = "tool";
|
|
156
|
+
MessageRole2["developer"] = "developer";
|
|
156
157
|
})(MessageRole || (MessageRole = {}));
|
|
157
158
|
var CopilotRequestType;
|
|
158
159
|
(function(CopilotRequestType2) {
|