@easynet/agent-model 1.0.70 → 1.0.71
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.
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createChatModelFromLlmConfig
|
|
3
3
|
} from "./chunk-6EQCGQTV.js";
|
|
4
|
+
import {
|
|
5
|
+
getChatModelFactory,
|
|
6
|
+
registerChatModelProvider
|
|
7
|
+
} from "./chunk-G7MKWPEI.js";
|
|
4
8
|
import {
|
|
5
9
|
ensureNpmPackageInstalled,
|
|
6
10
|
getInstalledVersion,
|
|
@@ -8,10 +12,6 @@ import {
|
|
|
8
12
|
parseNpmProviderSpec,
|
|
9
13
|
resolveLatestVersionFromRegistry
|
|
10
14
|
} from "./chunk-KE7IMUSA.js";
|
|
11
|
-
import {
|
|
12
|
-
getChatModelFactory,
|
|
13
|
-
registerChatModelProvider
|
|
14
|
-
} from "./chunk-G7MKWPEI.js";
|
|
15
15
|
|
|
16
16
|
// src/extensions/loader.ts
|
|
17
17
|
import { readdirSync, readFileSync, existsSync } from "fs";
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
resolveLlmSectionWithNpm,
|
|
352
352
|
createChatModelWithNpm
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-RRZDREGU.js.map
|
package/dist/cli/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
loadModelConfig
|
|
4
|
+
} from "../chunk-3HA2CHZN.js";
|
|
2
5
|
import {
|
|
3
6
|
buildUnreachableError,
|
|
4
7
|
checkEndpointConnectivity
|
|
5
8
|
} from "../chunk-AUQEXHUP.js";
|
|
6
9
|
import {
|
|
7
10
|
resolveLlmSectionWithNpm
|
|
8
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-RRZDREGU.js";
|
|
9
12
|
import {
|
|
10
13
|
createChatModelFromLlmConfig
|
|
11
14
|
} from "../chunk-6EQCGQTV.js";
|
|
12
|
-
import "../chunk-KE7IMUSA.js";
|
|
13
15
|
import "../chunk-G7MKWPEI.js";
|
|
14
|
-
import {
|
|
15
|
-
loadModelConfig
|
|
16
|
-
} from "../chunk-3HA2CHZN.js";
|
|
17
16
|
import {
|
|
18
17
|
parseLlmSection
|
|
19
18
|
} from "../chunk-SPDXNDDD.js";
|
|
19
|
+
import "../chunk-KE7IMUSA.js";
|
|
20
20
|
|
|
21
21
|
// src/api/create-agent-llm.ts
|
|
22
22
|
import { join } from "path";
|
package/dist/extensions/index.js
CHANGED
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
resolveLLMExtensionPackages,
|
|
10
10
|
resolveLlmSectionWithNpm,
|
|
11
11
|
resolveNpmProvider
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-RRZDREGU.js";
|
|
13
13
|
import "../chunk-6EQCGQTV.js";
|
|
14
|
+
import "../chunk-G7MKWPEI.js";
|
|
15
|
+
import "../chunk-SPDXNDDD.js";
|
|
14
16
|
import {
|
|
15
17
|
NPM_PROTOCOL_PREFIX,
|
|
16
18
|
isNpmProviderSpec,
|
|
17
19
|
parseNpmProviderSpec
|
|
18
20
|
} from "../chunk-KE7IMUSA.js";
|
|
19
|
-
import "../chunk-G7MKWPEI.js";
|
|
20
|
-
import "../chunk-SPDXNDDD.js";
|
|
21
21
|
export {
|
|
22
22
|
NPM_PROTOCOL_PREFIX,
|
|
23
23
|
createChatModelWithNpm,
|
package/dist/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
loadModelConfig
|
|
3
|
+
} from "./chunk-3HA2CHZN.js";
|
|
1
4
|
import {
|
|
2
5
|
buildUnreachableError,
|
|
3
6
|
checkEndpointConnectivity
|
|
4
7
|
} from "./chunk-AUQEXHUP.js";
|
|
5
8
|
import {
|
|
6
9
|
resolveLlmSectionWithNpm
|
|
7
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RRZDREGU.js";
|
|
8
11
|
import {
|
|
9
12
|
createChatModelFromLlmConfig
|
|
10
13
|
} from "./chunk-6EQCGQTV.js";
|
|
14
|
+
import "./chunk-G7MKWPEI.js";
|
|
11
15
|
import {
|
|
12
16
|
parseEmbedSection
|
|
13
17
|
} from "./chunk-MFLWZSWI.js";
|
|
14
|
-
import "./chunk-KE7IMUSA.js";
|
|
15
|
-
import "./chunk-G7MKWPEI.js";
|
|
16
|
-
import {
|
|
17
|
-
loadModelConfig
|
|
18
|
-
} from "./chunk-3HA2CHZN.js";
|
|
19
18
|
import {
|
|
20
19
|
parseLlmSection
|
|
21
20
|
} from "./chunk-SPDXNDDD.js";
|
|
21
|
+
import "./chunk-KE7IMUSA.js";
|
|
22
22
|
|
|
23
23
|
// src/api/create-agent-model-registry.ts
|
|
24
24
|
import { existsSync } from "fs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easynet/agent-model",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.71",
|
|
4
4
|
"description": "Agent LLM: multi-provider, multi-model, simple chat/image API. Consumes agent.yaml llm section.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"zod": "^3.23.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@langchain/core": "
|
|
36
|
-
"@langchain/openai": "
|
|
37
|
-
"langchain": "
|
|
35
|
+
"@langchain/core": "1.1.27",
|
|
36
|
+
"@langchain/openai": "1.2.9",
|
|
37
|
+
"langchain": "1.2.25"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@langchain/core": "1.1.
|
|
41
|
-
"@langchain/openai": "1.2.
|
|
40
|
+
"@langchain/core": "1.1.27",
|
|
41
|
+
"@langchain/openai": "1.2.9",
|
|
42
42
|
"@semantic-release/git": "^10.0.1",
|
|
43
43
|
"@semantic-release/github": "^11.0.0",
|
|
44
44
|
"@types/node": "^22.10.0",
|
|
File without changes
|