@n1creator/openacp-cli 2026.712.12 → 2026.713.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 +1 -1
- package/dist/cli.js +3026 -1610
- package/dist/cli.js.map +1 -1
- package/dist/data/plugin-catalog.json +7 -0
- package/dist/index.d.ts +16 -1
- package/dist/index.js +1579 -517
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1875,6 +1875,8 @@ declare class SpeechService {
|
|
|
1875
1875
|
private sttProviders;
|
|
1876
1876
|
private ttsProviders;
|
|
1877
1877
|
private providerFactory?;
|
|
1878
|
+
private factoryOwnedSTT;
|
|
1879
|
+
private factoryOwnedTTS;
|
|
1878
1880
|
constructor(config: SpeechServiceConfig);
|
|
1879
1881
|
/** Set a factory function that can recreate providers from config (for hot-reload) */
|
|
1880
1882
|
setProviderFactory(factory: ProviderFactory): void;
|
|
@@ -1931,8 +1933,9 @@ declare class GroqSTT implements STTProvider {
|
|
|
1931
1933
|
private defaultModel;
|
|
1932
1934
|
private scopedFetch;
|
|
1933
1935
|
private getScopedFetch?;
|
|
1936
|
+
private endpoint;
|
|
1934
1937
|
readonly name = "groq";
|
|
1935
|
-
constructor(apiKey: string, defaultModel?: string, scopedFetch?: typeof fetch, getScopedFetch?: (() => typeof fetch) | undefined);
|
|
1938
|
+
constructor(apiKey: string, defaultModel?: string, scopedFetch?: typeof fetch, getScopedFetch?: (() => typeof fetch) | undefined, endpoint?: string);
|
|
1936
1939
|
/**
|
|
1937
1940
|
* Transcribes audio using the Groq Whisper API.
|
|
1938
1941
|
*
|
|
@@ -3291,6 +3294,7 @@ type RegisterInput = Omit<PluginEntry, 'installedAt' | 'updatedAt'>;
|
|
|
3291
3294
|
declare class PluginRegistry {
|
|
3292
3295
|
private registryPath;
|
|
3293
3296
|
private data;
|
|
3297
|
+
private pending;
|
|
3294
3298
|
constructor(registryPath: string);
|
|
3295
3299
|
/** Return all installed plugins as a Map. */
|
|
3296
3300
|
list(): Map<string, PluginEntry>;
|
|
@@ -3298,6 +3302,8 @@ declare class PluginRegistry {
|
|
|
3298
3302
|
get(name: string): PluginEntry | undefined;
|
|
3299
3303
|
/** Record a newly installed plugin. Timestamps are set automatically. */
|
|
3300
3304
|
register(name: string, entry: RegisterInput): void;
|
|
3305
|
+
/** Restore an exact pre-transaction entry, including its original timestamps. */
|
|
3306
|
+
restore(name: string, entry: PluginEntry | undefined): void;
|
|
3301
3307
|
/** Remove a plugin from the registry. */
|
|
3302
3308
|
remove(name: string): void;
|
|
3303
3309
|
/** Enable or disable a plugin. Disabled plugins are skipped at boot. */
|
|
@@ -3310,8 +3316,15 @@ declare class PluginRegistry {
|
|
|
3310
3316
|
listBySource(source: PluginEntry['source']): Map<string, PluginEntry>;
|
|
3311
3317
|
/** Load registry data from disk. Silently starts empty if file doesn't exist. */
|
|
3312
3318
|
load(): Promise<void>;
|
|
3319
|
+
/** Read an independent disk snapshot without changing in-memory data or pending writes. */
|
|
3320
|
+
readSnapshot(): Promise<Map<string, PluginEntry>>;
|
|
3321
|
+
private loadDisk;
|
|
3322
|
+
private replayPending;
|
|
3313
3323
|
/** Persist registry data to disk. */
|
|
3314
3324
|
save(): Promise<void>;
|
|
3325
|
+
/** Exact bytes that save() will persist for the current replayed state. */
|
|
3326
|
+
serializeCurrent(): Buffer;
|
|
3327
|
+
private saveUnlocked;
|
|
3315
3328
|
}
|
|
3316
3329
|
|
|
3317
3330
|
/** Options for constructing a LifecycleManager. All fields are optional with sensible defaults. */
|
|
@@ -3362,6 +3375,8 @@ declare class LifecycleManager {
|
|
|
3362
3375
|
settingsManager: SettingsManager | undefined;
|
|
3363
3376
|
private pluginRegistry;
|
|
3364
3377
|
private _instanceRoot;
|
|
3378
|
+
private installRecoveryChecked;
|
|
3379
|
+
private communityRecoveryError;
|
|
3365
3380
|
private contexts;
|
|
3366
3381
|
private loadOrder;
|
|
3367
3382
|
private _loaded;
|