@workglow/huggingface-inference 0.2.33 → 0.2.35
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/ai/HfInferenceProvider.d.ts +10 -20
- package/dist/ai/HfInferenceProvider.d.ts.map +1 -1
- package/dist/ai/HfInferenceQueuedProvider.d.ts +10 -20
- package/dist/ai/HfInferenceQueuedProvider.d.ts.map +1 -1
- package/dist/ai/common/HFI_Capabilities.d.ts +23 -0
- package/dist/ai/common/HFI_Capabilities.d.ts.map +1 -0
- package/dist/ai/common/HFI_CapabilitySets.d.ts +25 -0
- package/dist/ai/common/HFI_CapabilitySets.d.ts.map +1 -0
- package/dist/ai/common/HFI_ImageEdit.d.ts +4 -5
- package/dist/ai/common/HFI_ImageEdit.d.ts.map +1 -1
- package/dist/ai/common/HFI_ImageGenerate.d.ts +4 -5
- package/dist/ai/common/HFI_ImageGenerate.d.ts.map +1 -1
- package/dist/ai/common/HFI_JobRunFns.d.ts +2 -3
- package/dist/ai/common/HFI_JobRunFns.d.ts.map +1 -1
- package/dist/ai/common/HFI_ModelInfo.d.ts.map +1 -1
- package/dist/ai/common/HFI_ModelSchema.d.ts +3 -3
- package/dist/ai/common/HFI_ModelSearch.d.ts.map +1 -1
- package/dist/ai/common/HFI_TextEmbedding.d.ts.map +1 -1
- package/dist/ai/common/HFI_TextGeneration.d.ts +2 -3
- package/dist/ai/common/HFI_TextGeneration.d.ts.map +1 -1
- package/dist/ai/common/HFI_TextRewriter.d.ts +2 -3
- package/dist/ai/common/HFI_TextRewriter.d.ts.map +1 -1
- package/dist/ai/common/HFI_TextSummary.d.ts +2 -3
- package/dist/ai/common/HFI_TextSummary.d.ts.map +1 -1
- package/dist/ai/common/HFI_ToolCalling.d.ts +2 -3
- package/dist/ai/common/HFI_ToolCalling.d.ts.map +1 -1
- package/dist/ai/index.d.ts +25 -0
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/runtime.d.ts.map +1 -1
- package/dist/ai-runtime.d.ts.map +1 -1
- package/dist/ai-runtime.js +188 -229
- package/dist/ai-runtime.js.map +20 -18
- package/dist/ai.d.ts.map +1 -1
- package/dist/ai.js +392 -25
- package/dist/ai.js.map +18 -5
- package/package.json +12 -13
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@workglow/huggingface-inference",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.35",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/workglow-dev/libs.git",
|
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
"build-clean": "rm -fr dist/* tsconfig.tsbuildinfo",
|
|
19
19
|
"build-code": "bun build --sourcemap=external --packages=external --root ./src --outdir ./dist ./src/ai.ts ./src/ai-runtime.ts",
|
|
20
20
|
"build-types": "rm -f tsconfig.tsbuildinfo && tsgo",
|
|
21
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
|
|
22
|
-
"test": "bun test"
|
|
21
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
|
|
23
22
|
},
|
|
24
23
|
"exports": {
|
|
25
24
|
"./ai": {
|
|
@@ -35,11 +34,11 @@
|
|
|
35
34
|
"@huggingface/inference": "^4.13.15"
|
|
36
35
|
},
|
|
37
36
|
"peerDependencies": {
|
|
38
|
-
"@workglow/ai": "0.2.
|
|
39
|
-
"@workglow/job-queue": "0.2.
|
|
40
|
-
"@workglow/storage": "0.2.
|
|
41
|
-
"@workglow/task-graph": "0.2.
|
|
42
|
-
"@workglow/util": "0.2.
|
|
37
|
+
"@workglow/ai": "0.2.35",
|
|
38
|
+
"@workglow/job-queue": "0.2.35",
|
|
39
|
+
"@workglow/storage": "0.2.35",
|
|
40
|
+
"@workglow/task-graph": "0.2.35",
|
|
41
|
+
"@workglow/util": "0.2.35"
|
|
43
42
|
},
|
|
44
43
|
"peerDependenciesMeta": {
|
|
45
44
|
"@workglow/ai": {
|
|
@@ -59,11 +58,11 @@
|
|
|
59
58
|
}
|
|
60
59
|
},
|
|
61
60
|
"devDependencies": {
|
|
62
|
-
"@workglow/ai": "0.2.
|
|
63
|
-
"@workglow/job-queue": "0.2.
|
|
64
|
-
"@workglow/storage": "0.2.
|
|
65
|
-
"@workglow/task-graph": "0.2.
|
|
66
|
-
"@workglow/util": "0.2.
|
|
61
|
+
"@workglow/ai": "0.2.35",
|
|
62
|
+
"@workglow/job-queue": "0.2.35",
|
|
63
|
+
"@workglow/storage": "0.2.35",
|
|
64
|
+
"@workglow/task-graph": "0.2.35",
|
|
65
|
+
"@workglow/util": "0.2.35"
|
|
67
66
|
},
|
|
68
67
|
"files": [
|
|
69
68
|
"dist",
|