@everworker/oneringai 0.1.4 → 0.2.1
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/README.md +171 -6
- package/dist/{ImageModel-qNJHPh4q.d.ts → IProvider-DcYJ3YE-.d.ts} +15 -328
- package/dist/{ImageModel-DSY7SNsq.d.cts → IProvider-c4QCbPjn.d.cts} +15 -328
- package/dist/ImageModel-BJ2mVPGV.d.ts +337 -0
- package/dist/ImageModel-BWN6VVS6.d.cts +337 -0
- package/dist/capabilities/agents/index.d.cts +3 -2
- package/dist/capabilities/agents/index.d.ts +3 -2
- package/dist/capabilities/images/index.cjs +8 -1
- package/dist/capabilities/images/index.cjs.map +1 -1
- package/dist/capabilities/images/index.d.cts +2 -2
- package/dist/capabilities/images/index.d.ts +2 -2
- package/dist/capabilities/images/index.js +8 -1
- package/dist/capabilities/images/index.js.map +1 -1
- package/dist/{index-NOV01LWF.d.cts → index-D62LXWdW.d.cts} +18 -6
- package/dist/{index-CEp1H4fV.d.ts → index-DVb6vfA3.d.ts} +18 -6
- package/dist/index.cjs +3438 -1352
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +987 -89
- package/dist/index.d.ts +987 -89
- package/dist/index.js +3404 -1353
- package/dist/index.js.map +1 -1
- package/package.json +14 -4
- package/dist/IProvider-BP49c93d.d.cts +0 -22
- package/dist/IProvider-BP49c93d.d.ts +0 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everworker/oneringai",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Unified AI agent library with multi-vendor support for text generation, image generation, and agentic workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -132,19 +132,24 @@
|
|
|
132
132
|
"clipboardy": "^5.0.2",
|
|
133
133
|
"dotenv": "^17.2.3",
|
|
134
134
|
"eventemitter3": "^5.0.1",
|
|
135
|
+
"exceljs": "^4.4.0",
|
|
135
136
|
"glob": "^10.0.0",
|
|
136
137
|
"jose": "^6.1.3",
|
|
137
138
|
"jsdom": "^27.0.1",
|
|
139
|
+
"officeparser": "^6.0.4",
|
|
138
140
|
"openai": "^6.16.0",
|
|
141
|
+
"pngjs": "^7.0.0",
|
|
139
142
|
"readline-async": "^0.1.0",
|
|
140
143
|
"simple-icons": "^16.7.0",
|
|
141
144
|
"turndown": "^7.2.2",
|
|
145
|
+
"unpdf": "^1.4.0",
|
|
142
146
|
"zod": "^4.3.6"
|
|
143
147
|
},
|
|
144
148
|
"devDependencies": {
|
|
145
149
|
"@faker-js/faker": "^9.9.0",
|
|
146
150
|
"@types/jsdom": "^27.0.0",
|
|
147
151
|
"@types/node": "^20.11.0",
|
|
152
|
+
"@types/pngjs": "^6.0.5",
|
|
148
153
|
"@types/turndown": "^5.0.6",
|
|
149
154
|
"@vitest/coverage-v8": "^1.6.1",
|
|
150
155
|
"eslint": "^8.56.0",
|
|
@@ -154,14 +159,19 @@
|
|
|
154
159
|
"typescript": "^5.3.3",
|
|
155
160
|
"vitest": "^1.2.0"
|
|
156
161
|
},
|
|
162
|
+
"peerDependencies": {
|
|
163
|
+
"@nut-tree-fork/nut-js": ">=4.0.0"
|
|
164
|
+
},
|
|
165
|
+
"peerDependenciesMeta": {
|
|
166
|
+
"@nut-tree-fork/nut-js": {
|
|
167
|
+
"optional": true
|
|
168
|
+
}
|
|
169
|
+
},
|
|
157
170
|
"engines": {
|
|
158
171
|
"node": ">=18.0.0"
|
|
159
172
|
},
|
|
160
173
|
"publishConfig": {
|
|
161
174
|
"access": "public",
|
|
162
175
|
"registry": "https://registry.npmjs.org/"
|
|
163
|
-
},
|
|
164
|
-
"optionalDependencies": {
|
|
165
|
-
"puppeteer": "^24.34.0"
|
|
166
176
|
}
|
|
167
177
|
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base provider interface
|
|
3
|
-
*/
|
|
4
|
-
interface ProviderCapabilities {
|
|
5
|
-
text: boolean;
|
|
6
|
-
images: boolean;
|
|
7
|
-
videos: boolean;
|
|
8
|
-
audio: boolean;
|
|
9
|
-
/** Optional feature flags for specific capabilities */
|
|
10
|
-
features?: Record<string, boolean>;
|
|
11
|
-
}
|
|
12
|
-
interface IProvider {
|
|
13
|
-
readonly name: string;
|
|
14
|
-
readonly vendor?: string;
|
|
15
|
-
readonly capabilities: ProviderCapabilities;
|
|
16
|
-
/**
|
|
17
|
-
* Validate that the provider configuration is correct
|
|
18
|
-
*/
|
|
19
|
-
validateConfig(): Promise<boolean>;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type { IProvider as I, ProviderCapabilities as P };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base provider interface
|
|
3
|
-
*/
|
|
4
|
-
interface ProviderCapabilities {
|
|
5
|
-
text: boolean;
|
|
6
|
-
images: boolean;
|
|
7
|
-
videos: boolean;
|
|
8
|
-
audio: boolean;
|
|
9
|
-
/** Optional feature flags for specific capabilities */
|
|
10
|
-
features?: Record<string, boolean>;
|
|
11
|
-
}
|
|
12
|
-
interface IProvider {
|
|
13
|
-
readonly name: string;
|
|
14
|
-
readonly vendor?: string;
|
|
15
|
-
readonly capabilities: ProviderCapabilities;
|
|
16
|
-
/**
|
|
17
|
-
* Validate that the provider configuration is correct
|
|
18
|
-
*/
|
|
19
|
-
validateConfig(): Promise<boolean>;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type { IProvider as I, ProviderCapabilities as P };
|