llm-exe 3.0.0 → 3.1.0-beta.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/chunk-2BUGTOKA.mjs +7194 -0
- package/dist/chunk-7W6GBE2Y.mjs +39 -0
- package/dist/chunk-PX2FFNZQ.mjs +40 -0
- package/dist/cli/cli.d.mts +1 -0
- package/dist/cli/cli.d.ts +1 -0
- package/dist/cli/cli.js +7090 -0
- package/dist/cli/cli.mjs +251 -0
- package/dist/config/node.d.mts +15 -0
- package/dist/config/node.d.ts +15 -0
- package/dist/config/node.js +6850 -0
- package/dist/config/node.mjs +11 -0
- package/dist/index.d.mts +94 -1160
- package/dist/index.d.ts +94 -1160
- package/dist/index.js +431 -6
- package/dist/index.mjs +503 -7175
- package/dist/types-CDOBItt6.d.mts +1223 -0
- package/dist/types-CDOBItt6.d.ts +1223 -0
- package/package.json +15 -3
- package/readme.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "llm-exe",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.1.0-beta.1",
|
|
4
4
|
"description": "Simplify building LLM-powered apps with easy-to-use base components, supporting text and chat-based prompts with handlebars template engine, output parsers, and flexible function calling capabilities.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -23,10 +23,19 @@
|
|
|
23
23
|
"types": "./dist/index.d.ts",
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
26
27
|
"require": "./dist/index.js",
|
|
27
28
|
"import": "./dist/index.mjs"
|
|
29
|
+
},
|
|
30
|
+
"./node": {
|
|
31
|
+
"types": "./dist/config/node.d.ts",
|
|
32
|
+
"require": "./dist/config/node.js",
|
|
33
|
+
"import": "./dist/config/node.mjs"
|
|
28
34
|
}
|
|
29
35
|
},
|
|
36
|
+
"bin": {
|
|
37
|
+
"llm-exe": "./dist/cli/cli.js"
|
|
38
|
+
},
|
|
30
39
|
"files": [
|
|
31
40
|
"dist"
|
|
32
41
|
],
|
|
@@ -40,9 +49,10 @@
|
|
|
40
49
|
"test-one": "eval $(cat .env) NODE_OPTIONS=--experimental-vm-modules jest --detectOpenHandles --coverage --forceExit --config jest.config.examples.ts examples/helloWorld.test.ts",
|
|
41
50
|
"run-one": "eval $(cat .env) ts-node ./examples/chains/self-refinement/usage.ts",
|
|
42
51
|
"build": "(concurrently \"tsc --p ./tsconfig.json -w\" \"tsc-alias -p tsconfig.json -w\")",
|
|
43
|
-
"build:ci": "tsup src/index.ts --format cjs,esm --dts --clean",
|
|
52
|
+
"build:ci": "tsup src/index.ts src/config/node.ts src/cli/cli.ts --format cjs,esm --dts --clean",
|
|
44
53
|
"build:browser": "tsup src/script.ts --format iife --platform browser --target es6 --sourcemap --clean --external '**'",
|
|
45
|
-
"build:package": "tsup src/index.ts --format cjs,esm --dts --clean --external jsonschema,json-schema-to-ts,exponential-backoff,@aws-sdk/credential-providers,@aws-crypto/sha256-js,@smithy/protocol-http,@smithy/signature-v4",
|
|
54
|
+
"build:package": "tsup src/index.ts src/config/node.ts src/cli/cli.ts --format cjs,esm --dts --clean --external js-yaml,jsonschema,json-schema-to-ts,exponential-backoff,@aws-sdk/credential-providers,@aws-crypto/sha256-js,@smithy/protocol-http,@smithy/signature-v4",
|
|
55
|
+
"check:root-node-free": "node scripts/assert-root-node-free.mjs",
|
|
46
56
|
"build:docs-examples": "./node_modules/.bin/esbuild examples/prompt/index.ts examples/state/index.ts --bundle --outdir=docs/.vitepress/components/examples --platform=node --target=es6 --format=esm",
|
|
47
57
|
"build:watch:docs-examples": "./node_modules/.bin/esbuild examples/prompt/index.ts examples/state/index.ts --watch --bundle --outdir=docs/.vitepress/components/examples --platform=node --target=es6 --format=esm",
|
|
48
58
|
"predocs:build": "npm run build:docs-examples && bash scripts/generate-llms-txt.sh",
|
|
@@ -63,6 +73,7 @@
|
|
|
63
73
|
"@smithy/signature-v4": "5.1.0",
|
|
64
74
|
"exponential-backoff": "3.1.2",
|
|
65
75
|
"handlebars": "4.7.8",
|
|
76
|
+
"js-yaml": "4.1.0",
|
|
66
77
|
"json-schema-to-ts": "3.1.1",
|
|
67
78
|
"jsonschema": "1.5.0",
|
|
68
79
|
"shiki": "^3.8.1",
|
|
@@ -71,6 +82,7 @@
|
|
|
71
82
|
"devDependencies": {
|
|
72
83
|
"@tsconfig/recommended": "1.0.8",
|
|
73
84
|
"@types/jest": "^29.5.14",
|
|
85
|
+
"@types/js-yaml": "^4.0.9",
|
|
74
86
|
"@types/node": "^18.0.0",
|
|
75
87
|
"@types/prettier": "2.6.0",
|
|
76
88
|
"@types/uuid": "10.0.0",
|
package/readme.md
CHANGED
|
@@ -14,7 +14,7 @@ A package that provides simplified base components to make building and maintain
|
|
|
14
14
|
- Allow LLM's to call functions (or call other LLM executors).
|
|
15
15
|
- Not very opinionated. You have control on how you use it.
|
|
16
16
|
|
|
17
|
-

|
|
17
|
+

|
|
18
18
|
|
|
19
19
|
See full docs here: [https://llm-exe.com](https://llm-exe.com)
|
|
20
20
|
|