@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.
Files changed (36) hide show
  1. package/dist/ai/HfInferenceProvider.d.ts +10 -20
  2. package/dist/ai/HfInferenceProvider.d.ts.map +1 -1
  3. package/dist/ai/HfInferenceQueuedProvider.d.ts +10 -20
  4. package/dist/ai/HfInferenceQueuedProvider.d.ts.map +1 -1
  5. package/dist/ai/common/HFI_Capabilities.d.ts +23 -0
  6. package/dist/ai/common/HFI_Capabilities.d.ts.map +1 -0
  7. package/dist/ai/common/HFI_CapabilitySets.d.ts +25 -0
  8. package/dist/ai/common/HFI_CapabilitySets.d.ts.map +1 -0
  9. package/dist/ai/common/HFI_ImageEdit.d.ts +4 -5
  10. package/dist/ai/common/HFI_ImageEdit.d.ts.map +1 -1
  11. package/dist/ai/common/HFI_ImageGenerate.d.ts +4 -5
  12. package/dist/ai/common/HFI_ImageGenerate.d.ts.map +1 -1
  13. package/dist/ai/common/HFI_JobRunFns.d.ts +2 -3
  14. package/dist/ai/common/HFI_JobRunFns.d.ts.map +1 -1
  15. package/dist/ai/common/HFI_ModelInfo.d.ts.map +1 -1
  16. package/dist/ai/common/HFI_ModelSchema.d.ts +3 -3
  17. package/dist/ai/common/HFI_ModelSearch.d.ts.map +1 -1
  18. package/dist/ai/common/HFI_TextEmbedding.d.ts.map +1 -1
  19. package/dist/ai/common/HFI_TextGeneration.d.ts +2 -3
  20. package/dist/ai/common/HFI_TextGeneration.d.ts.map +1 -1
  21. package/dist/ai/common/HFI_TextRewriter.d.ts +2 -3
  22. package/dist/ai/common/HFI_TextRewriter.d.ts.map +1 -1
  23. package/dist/ai/common/HFI_TextSummary.d.ts +2 -3
  24. package/dist/ai/common/HFI_TextSummary.d.ts.map +1 -1
  25. package/dist/ai/common/HFI_ToolCalling.d.ts +2 -3
  26. package/dist/ai/common/HFI_ToolCalling.d.ts.map +1 -1
  27. package/dist/ai/index.d.ts +25 -0
  28. package/dist/ai/index.d.ts.map +1 -1
  29. package/dist/ai/runtime.d.ts.map +1 -1
  30. package/dist/ai-runtime.d.ts.map +1 -1
  31. package/dist/ai-runtime.js +188 -229
  32. package/dist/ai-runtime.js.map +20 -18
  33. package/dist/ai.d.ts.map +1 -1
  34. package/dist/ai.js +392 -25
  35. package/dist/ai.js.map +18 -5
  36. 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.33",
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.33",
39
- "@workglow/job-queue": "0.2.33",
40
- "@workglow/storage": "0.2.33",
41
- "@workglow/task-graph": "0.2.33",
42
- "@workglow/util": "0.2.33"
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.33",
63
- "@workglow/job-queue": "0.2.33",
64
- "@workglow/storage": "0.2.33",
65
- "@workglow/task-graph": "0.2.33",
66
- "@workglow/util": "0.2.33"
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",