@workglow/openai 0.3.7 → 0.3.9

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.
@@ -55,6 +55,7 @@ declare const OpenAiProvider_base: new (promiseRunFns?: readonly import("@workgl
55
55
  readonly displayName: string;
56
56
  readonly isLocal: boolean;
57
57
  readonly supportsBrowser: boolean;
58
+ readonly supportsServer: boolean;
58
59
  };
59
60
  /**
60
61
  * Worker-server registration for OpenAI cloud models. Imports `AiProvider`
@@ -1 +1 @@
1
- {"version":3,"file":"OpenAiProvider.d.ts","sourceRoot":"","sources":["../../src/ai/OpenAiProvider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKjD;;;;;;;;GAQG;AACH,qBAAa,cAAe,SAAQ,mBAGlC;IACS,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,UAAU,EAAE,CAEpE;IAED,UAAmB,gBAAgB,IAAI,SAAS;QAAE,MAAM,EAAE,SAAS,UAAU,EAAE,CAAA;KAAE,EAAE,CAElF;CACF"}
1
+ {"version":3,"file":"OpenAiProvider.d.ts","sourceRoot":"","sources":["../../src/ai/OpenAiProvider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKjD;;;;;;;;GAQG;AACH,qBAAa,cAAe,SAAQ,mBAGlC;IACS,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,UAAU,EAAE,CAEpE;IAED,UAAmB,gBAAgB,IAAI,SAAS;QAAE,MAAM,EAAE,SAAS,UAAU,EAAE,CAAA;KAAE,EAAE,CAElF;CACF"}
@@ -55,6 +55,7 @@ declare const OpenAiQueuedProvider_base: new (promiseRunFns?: readonly import("@
55
55
  readonly displayName: string;
56
56
  readonly isLocal: boolean;
57
57
  readonly supportsBrowser: boolean;
58
+ readonly supportsServer: boolean;
58
59
  };
59
60
  /**
60
61
  * Main-thread registration shell for OpenAI. Used both for inline mode
@@ -1 +1 @@
1
- {"version":3,"file":"OpenAiQueuedProvider.d.ts","sourceRoot":"","sources":["../../src/ai/OpenAiQueuedProvider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAM1C;;;;;GAKG;AACH,qBAAa,oBAAqB,SAAQ,yBAGxC;IACS,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,UAAU,EAAE,CAEpE;IAED,UAAmB,gBAAgB,IAAI,SAAS;QAAE,MAAM,EAAE,SAAS,UAAU,EAAE,CAAA;KAAE,EAAE,CAElF;CACF"}
1
+ {"version":3,"file":"OpenAiQueuedProvider.d.ts","sourceRoot":"","sources":["../../src/ai/OpenAiQueuedProvider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAM1C;;;;;GAKG;AACH,qBAAa,oBAAqB,SAAQ,yBAGxC;IACS,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,UAAU,EAAE,CAEpE;IAED,UAAmB,gBAAgB,IAAI,SAAS;QAAE,MAAM,EAAE,SAAS,UAAU,EAAE,CAAA;KAAE,EAAE,CAElF;CACF"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@workglow/openai",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.3.7",
5
+ "version": "0.3.9",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/workglow-dev/libs.git",
@@ -46,11 +46,11 @@
46
46
  "js-tiktoken": "^1.0.16"
47
47
  },
48
48
  "peerDependencies": {
49
- "@workglow/ai": "0.3.7",
50
- "@workglow/job-queue": "0.3.7",
51
- "@workglow/storage": "0.3.7",
52
- "@workglow/task-graph": "0.3.7",
53
- "@workglow/util": "0.3.7"
49
+ "@workglow/ai": "0.3.9",
50
+ "@workglow/job-queue": "0.3.9",
51
+ "@workglow/storage": "0.3.9",
52
+ "@workglow/task-graph": "0.3.9",
53
+ "@workglow/util": "0.3.9"
54
54
  },
55
55
  "peerDependenciesMeta": {
56
56
  "@workglow/ai": {
@@ -70,11 +70,11 @@
70
70
  }
71
71
  },
72
72
  "devDependencies": {
73
- "@workglow/ai": "0.3.7",
74
- "@workglow/job-queue": "0.3.7",
75
- "@workglow/storage": "0.3.7",
76
- "@workglow/task-graph": "0.3.7",
77
- "@workglow/util": "0.3.7"
73
+ "@workglow/ai": "0.3.9",
74
+ "@workglow/job-queue": "0.3.9",
75
+ "@workglow/storage": "0.3.9",
76
+ "@workglow/task-graph": "0.3.9",
77
+ "@workglow/util": "0.3.9"
78
78
  },
79
79
  "files": [
80
80
  "dist",