@workglow/test 0.0.97 → 0.0.99

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.
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ *
6
+ * Integration tests for the LOCAL_LLAMACPP provider using real GGUF models.
7
+ *
8
+ * These tests download small GGUF models from HuggingFace, generate text, and
9
+ * compute embeddings. They require node-llama-cpp to be installed and a working
10
+ * internet connection for the first run. Downloaded models are cached on disk,
11
+ * so subsequent runs do not re-download.
12
+ *
13
+ * Models used (chosen for minimal size):
14
+ * - Text generation: SmolLM2 135M Instruct Q4_K_M (~85 MB)
15
+ * - Embedding: BGE Small EN v1.5 Q8_0 (~34 MB)
16
+ *
17
+ */
18
+ export {};
19
+ //# sourceMappingURL=LlamaCppProviderIntegration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LlamaCppProviderIntegration.test.d.ts","sourceRoot":"","sources":["../../../src/test/ai-provider/LlamaCppProviderIntegration.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG"}
@@ -1 +1 @@
1
- {"version":3,"file":"genericJobQueueTests.d.ts","sourceRoot":"","sources":["../../../src/test/job-queue/genericJobQueueTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAEL,kBAAkB,EAClB,QAAQ,EACR,GAAG,EAOJ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAIlD,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,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AM,EAAE,OAAO,CAAC;IAClC,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;CAoDnF;AAED,wBAAgB,uBAAuB,CACrC,cAAc,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,EACrE,cAAc,CAAC,EAAE,CACf,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,mBAAmB,EAAE,MAAM,KACxB,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,GAChC,IAAI,CAoxBN"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=HuggingFaceTabularStorage.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HuggingFaceTabularStorage.test.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/HuggingFaceTabularStorage.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1 +1 @@
1
- {"version":3,"file":"genericTabularRepositoryTests.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/genericTabularRepositoryTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIpD,eAAO,MAAM,uBAAuB,2BAA4B,CAAC;AACjE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;CAUc,CAAC;AAE1C,eAAO,MAAM,qBAAqB,iBAAkB,CAAC;AACrD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAagB,CAAC;AAE1C,eAAO,MAAM,6BAA6B,iBAAkB,CAAC;AAC7D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWQ,CAAC;AAE1C,eAAO,MAAM,uBAAuB,iBAAkB,CAAC;AACvD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBc,CAAC;AAE1C,eAAO,MAAM,4BAA4B,iBAAkB,CAAC;AAC5D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;CASS,CAAC;AAE1C,eAAO,MAAM,mBAAmB,iBAAkB,CAAC;AACnD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CASkB,CAAC;AAE1C,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,MAAM,OAAO,CACvC,eAAe,CAAC,OAAO,cAAc,EAAE,OAAO,uBAAuB,CAAC,CACvE,EACD,0BAA0B,CAAC,EAAE,MAAM,OAAO,CACxC,eAAe,CAAC,OAAO,YAAY,EAAE,OAAO,qBAAqB,CAAC,CACnE,EACD,wBAAwB,CAAC,EAAE,MAAM,OAAO,CACtC,eAAe,CAAC,OAAO,cAAc,EAAE,OAAO,uBAAuB,CAAC,CACvE,QAgjCF;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,6BAA6B,EAAE,MAAM,OAAO,CAC1C,eAAe,CAAC,OAAO,mBAAmB,EAAE,OAAO,4BAA4B,CAAC,CACjF,EACD,oBAAoB,EAAE,MAAM,OAAO,CACjC,eAAe,CAAC,OAAO,UAAU,EAAE,OAAO,mBAAmB,CAAC,CAC/D,QAgJF"}
1
+ {"version":3,"file":"genericTabularRepositoryTests.d.ts","sourceRoot":"","sources":["../../../src/test/storage-tabular/genericTabularRepositoryTests.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIpD,eAAO,MAAM,uBAAuB,2BAA4B,CAAC;AACjE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;CAUc,CAAC;AAE1C,eAAO,MAAM,qBAAqB,iBAAkB,CAAC;AACrD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAagB,CAAC;AAE1C,eAAO,MAAM,6BAA6B,iBAAkB,CAAC;AAC7D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWQ,CAAC;AAE1C,eAAO,MAAM,uBAAuB,iBAAkB,CAAC;AACvD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBc,CAAC;AAE1C,eAAO,MAAM,4BAA4B,iBAAkB,CAAC;AAC5D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;CASS,CAAC;AAE1C,eAAO,MAAM,mBAAmB,iBAAkB,CAAC;AACnD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CASkB,CAAC;AAE1C,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,MAAM,OAAO,CACvC,eAAe,CAAC,OAAO,cAAc,EAAE,OAAO,uBAAuB,CAAC,CACvE,EACD,0BAA0B,CAAC,EAAE,MAAM,OAAO,CACxC,eAAe,CAAC,OAAO,YAAY,EAAE,OAAO,qBAAqB,CAAC,CACnE,EACD,wBAAwB,CAAC,EAAE,MAAM,OAAO,CACtC,eAAe,CAAC,OAAO,cAAc,EAAE,OAAO,uBAAuB,CAAC,CACvE,QA4yCF;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,6BAA6B,EAAE,MAAM,OAAO,CAC1C,eAAe,CAAC,OAAO,mBAAmB,EAAE,OAAO,4BAA4B,CAAC,CACjF,EACD,oBAAoB,EAAE,MAAM,OAAO,CACjC,eAAe,CAAC,OAAO,UAAU,EAAE,OAAO,mBAAmB,CAAC,CAC/D,QAqJF"}
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@workglow/test",
3
3
  "type": "module",
4
- "version": "0.0.97",
4
+ "version": "0.0.99",
5
5
  "description": "Testing utilities and test suites for Workglow packages, providing comprehensive testing infrastructure.",
6
6
  "scripts": {
7
7
  "watch": "concurrently -c 'auto' 'bun:watch-*'",
8
- "watch-browser": "bun build --watch --no-clear-screen --target=browser --sourcemap=external --packages=external --outdir ./dist/ ./src/browser.ts",
9
- "watch-node": "bun build --watch --no-clear-screen --target=node --sourcemap=external --packages=external --outdir ./dist/ ./src/node.ts",
10
- "watch-bun": "bun build --watch --no-clear-screen --target=bun --sourcemap=external --packages=external --outdir ./dist/ ./src/bun.ts",
8
+ "watch-browser": "bun build --splitting --watch --no-clear-screen --target=browser --sourcemap=external --packages=external --outdir ./dist/ ./src/browser.ts",
9
+ "watch-node": "bun build --splitting --watch --no-clear-screen --target=node --sourcemap=external --packages=external --outdir ./dist/ ./src/node.ts",
10
+ "watch-bun": "bun build --splitting --watch --no-clear-screen --target=bun --sourcemap=external --packages=external --outdir ./dist/ ./src/bun.ts",
11
11
  "watch-types": "tsc --watch --preserveWatchOutput",
12
12
  "build-package": "bun run build-clean && concurrently -c 'auto' -n 'browser,node,bun,types' 'bun run build-browser' 'bun run build-node' 'bun run build-bun' 'bun run build-types'",
13
13
  "build-clean": "rm -fr dist/*",
14
- "build-browser": "bun build --target=browser --sourcemap=external --packages=external --outdir ./dist/ ./src/browser.ts",
15
- "build-node": "bun build --target=node --sourcemap=external --packages=external --outdir ./dist/ ./src/node.ts",
16
- "build-bun": "bun build --target=bun --sourcemap=external --packages=external --outdir ./dist/ ./src/bun.ts",
14
+ "build-browser": "bun build --splitting --target=browser --sourcemap=external --packages=external --outdir ./dist/ ./src/browser.ts",
15
+ "build-node": "bun build --splitting --target=node --sourcemap=external --packages=external --outdir ./dist/ ./src/node.ts",
16
+ "build-bun": "bun build --splitting --target=bun --sourcemap=external --packages=external --outdir ./dist/ ./src/bun.ts",
17
17
  "build-types": "rm -f tsconfig.tsbuildinfo && tsc",
18
18
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
19
19
  "test": "bun test",
@@ -33,18 +33,18 @@
33
33
  "src/**/*.md"
34
34
  ],
35
35
  "peerDependencies": {
36
- "@workglow/ai": "0.0.97",
37
- "@workglow/ai-provider": "0.0.97",
38
- "@workglow/dataset": "0.0.97",
39
- "@workglow/job-queue": "0.0.97",
40
- "@workglow/storage": "0.0.97",
41
- "@workglow/task-graph": "0.0.97",
42
- "@workglow/tasks": "0.0.97",
43
- "@workglow/util": "0.0.97",
44
- "@workglow/sqlite": "0.0.97",
36
+ "@workglow/ai": "0.0.99",
37
+ "@workglow/ai-provider": "0.0.99",
38
+ "@workglow/dataset": "0.0.99",
39
+ "@workglow/job-queue": "0.0.99",
40
+ "@workglow/storage": "0.0.99",
41
+ "@workglow/task-graph": "0.0.99",
42
+ "@workglow/tasks": "0.0.99",
43
+ "@workglow/util": "0.0.99",
44
+ "@workglow/sqlite": "0.0.99",
45
45
  "@electric-sql/pglite": "^0.3.15",
46
46
  "pg": "^8.18.0",
47
- "@supabase/supabase-js": "=2.96.0"
47
+ "@supabase/supabase-js": "^2.97.0"
48
48
  },
49
49
  "peerDependenciesMeta": {
50
50
  "@workglow/ai": {
@@ -76,21 +76,22 @@
76
76
  }
77
77
  },
78
78
  "devDependencies": {
79
- "@anthropic-ai/sdk": "^0.74.0",
79
+ "@anthropic-ai/sdk": "^0.78.0",
80
80
  "@electric-sql/pglite": "^0.3.15",
81
81
  "@google/generative-ai": "^0.24.1",
82
- "@supabase/supabase-js": "=2.96.0",
82
+ "@supabase/supabase-js": "^2.97.0",
83
83
  "@types/pg": "^8.16.0",
84
- "@workglow/ai": "0.0.97",
85
- "@workglow/ai-provider": "0.0.97",
86
- "@workglow/dataset": "0.0.97",
87
- "@workglow/job-queue": "0.0.97",
88
- "@workglow/sqlite": "0.0.97",
89
- "@workglow/storage": "0.0.97",
90
- "@workglow/task-graph": "0.0.97",
91
- "@workglow/tasks": "0.0.97",
92
- "@workglow/util": "0.0.97",
84
+ "@workglow/ai": "0.0.99",
85
+ "@workglow/ai-provider": "0.0.99",
86
+ "@workglow/dataset": "0.0.99",
87
+ "@workglow/job-queue": "0.0.99",
88
+ "@workglow/sqlite": "0.0.99",
89
+ "@workglow/storage": "0.0.99",
90
+ "@workglow/task-graph": "0.0.99",
91
+ "@workglow/tasks": "0.0.99",
92
+ "@workglow/util": "0.0.99",
93
93
  "fake-indexeddb": "^6.2.4",
94
+ "node-llama-cpp": "^3.16.0",
94
95
  "ollama": "^0.6.3",
95
96
  "openai": "^6.22.0",
96
97
  "pg": "^8.18.0",