@isdk/ai-tool 0.0.2 → 0.0.4
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-PKECBABP.mjs → chunk-ZXBTGYVX.mjs} +114 -127
- package/dist/funcs.js +112 -126
- package/dist/funcs.mjs +2 -2
- package/dist/index.d.mts +25 -1
- package/dist/index.d.ts +25 -1
- package/dist/index.js +114 -126
- package/dist/index.mjs +5 -2
- package/dist/test/util.js +1 -2
- package/dist/test/util.mjs +2 -3
- package/docs/classes/AbortError.md +11 -11
- package/docs/classes/AlreadyExistsError.md +11 -11
- package/docs/classes/BaseError.md +11 -11
- package/docs/classes/ClientTools.md +51 -51
- package/docs/classes/CommonError.md +11 -11
- package/docs/classes/EventClient.md +73 -73
- package/docs/classes/EventServer.md +71 -71
- package/docs/classes/EventToolFunc.md +41 -41
- package/docs/classes/FStringPromptTemplate.md +18 -18
- package/docs/classes/FewShotPromptTemplate.md +22 -22
- package/docs/classes/GolangPromptTemplate.md +18 -18
- package/docs/classes/HFEnvironment.md +9 -9
- package/docs/classes/HFInterpreter.md +17 -17
- package/docs/classes/HFTemplate.md +4 -4
- package/docs/classes/HfPromptTemplate.md +18 -18
- package/docs/classes/NotFoundError.md +11 -11
- package/docs/classes/NotImplementationError.md +11 -11
- package/docs/classes/PromptExampleSelector.md +8 -8
- package/docs/classes/PromptTemplate.md +17 -17
- package/docs/classes/ReadableStreamError.md +11 -11
- package/docs/classes/ResClientTools.md +57 -57
- package/docs/classes/ResServerTools.md +55 -55
- package/docs/classes/SSEChannel.md +15 -15
- package/docs/classes/ServerTools.md +48 -48
- package/docs/classes/ToolFunc.md +38 -38
- package/docs/enums/ErrorCode.md +19 -19
- package/docs/enums/XXHashAlgorithm.md +2 -2
- package/docs/interfaces/AIChatAssistantMessageParam.md +6 -6
- package/docs/interfaces/AIChatContentPartImage.md +2 -2
- package/docs/interfaces/AIChatContentPartText.md +2 -2
- package/docs/interfaces/AIChatMessageParamBase.md +1 -1
- package/docs/interfaces/AIChatMessageToolCall.md +3 -3
- package/docs/interfaces/AIChatSystemMessageParam.md +3 -3
- package/docs/interfaces/AIChatToolMessageParam.md +4 -4
- package/docs/interfaces/AIChatUserMessageParam.md +7 -7
- package/docs/interfaces/AIResult.md +4 -4
- package/docs/interfaces/AIStreamCallbacksAndOptions.md +6 -6
- package/docs/interfaces/AIStreamParser.md +1 -1
- package/docs/interfaces/AIStreamParserOptions.md +1 -1
- package/docs/interfaces/BaseFunc.md +7 -7
- package/docs/interfaces/BaseFuncItem.md +6 -6
- package/docs/interfaces/ClientFuncItem.md +10 -10
- package/docs/interfaces/DotenvExpandOptions.md +3 -3
- package/docs/interfaces/DotenvExpandOutput.md +2 -2
- package/docs/interfaces/EventClientFuncParams.md +4 -4
- package/docs/interfaces/EventServerFuncParams.md +5 -5
- package/docs/interfaces/FewShotPromptTemplateOptions.md +11 -11
- package/docs/interfaces/FuncItem.md +7 -7
- package/docs/interfaces/FuncParam.md +5 -5
- package/docs/interfaces/PromptExampleSelectorOptions.md +2 -2
- package/docs/interfaces/PromptTemplateOptions.md +6 -6
- package/docs/interfaces/RemoteFuncItem.md +10 -10
- package/docs/interfaces/ResClientFuncParams.md +2 -2
- package/docs/interfaces/ResServerFuncParams.md +5 -5
- package/docs/interfaces/SanitizeFilenameOptions.md +2 -2
- package/docs/interfaces/ServerFuncItem.md +11 -11
- package/docs/interfaces/ServerFuncParams.md +2 -2
- package/docs/modules.md +159 -109
- package/package.json +12 -13
- /package/dist/{chunk-EZFPVSGF.mjs → chunk-U5DDQYSF.mjs} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@isdk/ai-tool",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"author": "Riceball LEE <snowyu.lee@gmail.com>",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -31,8 +31,7 @@
|
|
|
31
31
|
"eventsource-parser": "^1.1.2",
|
|
32
32
|
"json-canonicalize": "^1.0.6",
|
|
33
33
|
"load-config-file": "2.0.0-alpha.3",
|
|
34
|
-
"mime-
|
|
35
|
-
"mime-type": "5.0.0-alpha.1",
|
|
34
|
+
"mime-type": "5.0.0-alpha.2",
|
|
36
35
|
"property-manager": "^2.0.0-alpha.5",
|
|
37
36
|
"secondary-cache": "^2.0.0-alpha.5",
|
|
38
37
|
"secure-json-parse": "^2.7.0",
|
|
@@ -45,31 +44,31 @@
|
|
|
45
44
|
"zod-to-json-schema": "^3.23.0"
|
|
46
45
|
},
|
|
47
46
|
"devDependencies": {
|
|
48
|
-
"@antfu/eslint-config": "^2.
|
|
47
|
+
"@antfu/eslint-config": "^2.20.0",
|
|
49
48
|
"@types/jest": "^29.5.12",
|
|
50
|
-
"@types/node": "^20.
|
|
49
|
+
"@types/node": "^20.14.2",
|
|
51
50
|
"@types/uuid": "^9.0.8",
|
|
52
51
|
"@types/xxhashjs": "^0.2.4",
|
|
53
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "^7.12.0",
|
|
54
53
|
"bumpp": "^9.4.1",
|
|
55
54
|
"esbuild-plugin-wasm": "^1.1.0",
|
|
56
55
|
"eslint": "^8.57.0",
|
|
57
56
|
"eslint-config-prettier": "^9.1.0",
|
|
58
57
|
"eslint-plugin-tsdoc": "^0.2.17",
|
|
59
58
|
"eventsource": "^2.0.2",
|
|
60
|
-
"fastify": "^4.
|
|
59
|
+
"fastify": "^4.27.0",
|
|
61
60
|
"onnxruntime-node": "1.18.0",
|
|
62
61
|
"onnxruntime-web": "^1.18.0",
|
|
63
|
-
"prettier": "^3.
|
|
64
|
-
"tsup": "^8.0
|
|
65
|
-
"tsx": "^4.
|
|
66
|
-
"type-fest": "^4.
|
|
62
|
+
"prettier": "^3.3.1",
|
|
63
|
+
"tsup": "^8.1.0",
|
|
64
|
+
"tsx": "^4.13.3",
|
|
65
|
+
"type-fest": "^4.20.0",
|
|
67
66
|
"typedoc": "^0.25.13",
|
|
68
67
|
"typedoc-plugin-markdown": "^3.17.1",
|
|
69
68
|
"typescript": "^5.4.5",
|
|
70
|
-
"vite": "^5.2.
|
|
69
|
+
"vite": "^5.2.13",
|
|
71
70
|
"vite-plugin-wasm": "^3.3.0",
|
|
72
|
-
"vitest": "^1.
|
|
71
|
+
"vitest": "^1.6.0"
|
|
73
72
|
},
|
|
74
73
|
"bug": "https://github.com/isdk/ai-tool.js/issues",
|
|
75
74
|
"description": "AI tools",
|
|
File without changes
|