@inkeep/ai-sdk-provider 0.34.1 → 0.35.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/dist/index.cjs +10 -12
- package/dist/index.js +10 -12
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -4,12 +4,10 @@ var providerUtils = require('@ai-sdk/provider-utils');
|
|
|
4
4
|
var agentsCore = require('@inkeep/agents-core');
|
|
5
5
|
|
|
6
6
|
var __defProp = Object.defineProperty;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
7
|
var __export = (target, all) => {
|
|
9
8
|
for (var name in all)
|
|
10
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
10
|
};
|
|
12
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
13
11
|
|
|
14
12
|
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/external.js
|
|
15
13
|
var external_exports = {};
|
|
@@ -12745,21 +12743,21 @@ function convertDataOperationToToolEvent(opData) {
|
|
|
12745
12743
|
}
|
|
12746
12744
|
}
|
|
12747
12745
|
var InkeepChatLanguageModel = class {
|
|
12746
|
+
specificationVersion = "v2";
|
|
12747
|
+
defaultObjectGenerationMode = void 0;
|
|
12748
|
+
supportsImageUrls = false;
|
|
12749
|
+
supportedUrls = {};
|
|
12750
|
+
modelId;
|
|
12751
|
+
options;
|
|
12752
|
+
config;
|
|
12753
|
+
get provider() {
|
|
12754
|
+
return this.config.provider;
|
|
12755
|
+
}
|
|
12748
12756
|
constructor(options, config2) {
|
|
12749
|
-
__publicField(this, "specificationVersion", "v2");
|
|
12750
|
-
__publicField(this, "defaultObjectGenerationMode");
|
|
12751
|
-
__publicField(this, "supportsImageUrls", false);
|
|
12752
|
-
__publicField(this, "supportedUrls", {});
|
|
12753
|
-
__publicField(this, "modelId");
|
|
12754
|
-
__publicField(this, "options");
|
|
12755
|
-
__publicField(this, "config");
|
|
12756
12757
|
this.modelId = "inkeep-agent";
|
|
12757
12758
|
this.options = options;
|
|
12758
12759
|
this.config = config2;
|
|
12759
12760
|
}
|
|
12760
|
-
get provider() {
|
|
12761
|
-
return this.config.provider;
|
|
12762
|
-
}
|
|
12763
12761
|
getArgs(options) {
|
|
12764
12762
|
const warnings = [];
|
|
12765
12763
|
return {
|
package/dist/index.js
CHANGED
|
@@ -2,12 +2,10 @@ import { createJsonErrorResponseHandler, postJsonToApi, createJsonResponseHandle
|
|
|
2
2
|
import { StreamEventSchema } from '@inkeep/agents-core';
|
|
3
3
|
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
5
|
var __export = (target, all) => {
|
|
7
6
|
for (var name in all)
|
|
8
7
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
8
|
};
|
|
10
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
11
9
|
|
|
12
10
|
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/external.js
|
|
13
11
|
var external_exports = {};
|
|
@@ -12743,21 +12741,21 @@ function convertDataOperationToToolEvent(opData) {
|
|
|
12743
12741
|
}
|
|
12744
12742
|
}
|
|
12745
12743
|
var InkeepChatLanguageModel = class {
|
|
12744
|
+
specificationVersion = "v2";
|
|
12745
|
+
defaultObjectGenerationMode = void 0;
|
|
12746
|
+
supportsImageUrls = false;
|
|
12747
|
+
supportedUrls = {};
|
|
12748
|
+
modelId;
|
|
12749
|
+
options;
|
|
12750
|
+
config;
|
|
12751
|
+
get provider() {
|
|
12752
|
+
return this.config.provider;
|
|
12753
|
+
}
|
|
12746
12754
|
constructor(options, config2) {
|
|
12747
|
-
__publicField(this, "specificationVersion", "v2");
|
|
12748
|
-
__publicField(this, "defaultObjectGenerationMode");
|
|
12749
|
-
__publicField(this, "supportsImageUrls", false);
|
|
12750
|
-
__publicField(this, "supportedUrls", {});
|
|
12751
|
-
__publicField(this, "modelId");
|
|
12752
|
-
__publicField(this, "options");
|
|
12753
|
-
__publicField(this, "config");
|
|
12754
12755
|
this.modelId = "inkeep-agent";
|
|
12755
12756
|
this.options = options;
|
|
12756
12757
|
this.config = config2;
|
|
12757
12758
|
}
|
|
12758
|
-
get provider() {
|
|
12759
|
-
return this.config.provider;
|
|
12760
|
-
}
|
|
12761
12759
|
getArgs(options) {
|
|
12762
12760
|
const warnings = [];
|
|
12763
12761
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/ai-sdk-provider",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.1",
|
|
4
4
|
"description": "AI SDK provider for Inkeep Agent Framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@ai-sdk/provider": "^2.0.0",
|
|
26
26
|
"@ai-sdk/provider-utils": "^3.0.12",
|
|
27
27
|
"ai": "5.0.11",
|
|
28
|
-
"@inkeep/agents-core": "0.
|
|
28
|
+
"@inkeep/agents-core": "0.35.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^20.11.24",
|