@everworker/oneringai 0.1.0
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/LICENSE +21 -0
- package/README.md +1228 -0
- package/dist/IProvider-BP49c93d.d.cts +22 -0
- package/dist/IProvider-BP49c93d.d.ts +22 -0
- package/dist/ImageModel-B-uH3JEz.d.cts +763 -0
- package/dist/ImageModel-C7EyUfU0.d.ts +763 -0
- package/dist/capabilities/agents/index.cjs +408 -0
- package/dist/capabilities/agents/index.cjs.map +1 -0
- package/dist/capabilities/agents/index.d.cts +3 -0
- package/dist/capabilities/agents/index.d.ts +3 -0
- package/dist/capabilities/agents/index.js +405 -0
- package/dist/capabilities/agents/index.js.map +1 -0
- package/dist/capabilities/images/index.cjs +3583 -0
- package/dist/capabilities/images/index.cjs.map +1 -0
- package/dist/capabilities/images/index.d.cts +2 -0
- package/dist/capabilities/images/index.d.ts +2 -0
- package/dist/capabilities/images/index.js +3556 -0
- package/dist/capabilities/images/index.js.map +1 -0
- package/dist/index-BmOYeqU7.d.ts +1338 -0
- package/dist/index-DCzFlLoN.d.cts +1338 -0
- package/dist/index.cjs +49257 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +12263 -0
- package/dist/index.d.ts +12263 -0
- package/dist/index.js +48953 -0
- package/dist/index.js.map +1 -0
- package/package.json +162 -0
|
@@ -0,0 +1,22 @@
|
|
|
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 };
|
|
@@ -0,0 +1,22 @@
|
|
|
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 };
|