@vocoder/cli 0.10.0 → 0.12.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/dist/lib.d.mts CHANGED
@@ -67,8 +67,6 @@ interface ExtractedString {
67
67
  formality?: "formal" | "informal" | "neutral" | "auto";
68
68
  /** Detected UI role from JSX parent element or prop. e.g. "button_label", "heading", "input_placeholder" */
69
69
  uiRole?: string;
70
- /** Feature area inferred from file path. e.g. "checkout", "auth", "settings" */
71
- featureArea?: string;
72
70
  }
73
71
  declare class StringExtractor {
74
72
  extractFromProject(pattern: string | string[], projectRoot?: string, excludePattern?: string | string[]): Promise<ExtractedString[]>;
@@ -80,12 +78,22 @@ interface LocaleInfo {
80
78
  }
81
79
  type LocalesMap = Record<string, LocaleInfo>;
82
80
  type EffectiveSyncMode = "required" | "best-effort";
81
+ type RequestedSyncMode = "auto" | EffectiveSyncMode;
83
82
  interface SyncPolicyConfig {
84
83
  blockingBranches: string[];
85
84
  blockingMode: EffectiveSyncMode;
86
85
  nonBlockingMode: EffectiveSyncMode;
87
86
  defaultMaxWaitMs: number;
88
87
  }
88
+ interface RepoIdentityPayload {
89
+ repoCanonical?: string;
90
+ repoAppDir?: string;
91
+ commitSha?: string;
92
+ }
93
+ interface LocalConfig {
94
+ apiKey: string;
95
+ apiUrl: string;
96
+ }
89
97
  interface APIProjectConfig {
90
98
  projectName: string;
91
99
  organizationName: string;
@@ -96,6 +104,13 @@ interface APIProjectConfig {
96
104
  primaryBranch?: string;
97
105
  syncPolicy: SyncPolicyConfig;
98
106
  }
107
+ interface TranslationStringEntry {
108
+ key: string;
109
+ text: string;
110
+ context?: string;
111
+ formality?: "formal" | "informal" | "neutral" | "auto";
112
+ uiRole?: string;
113
+ }
99
114
  interface TranslationBatchResponse {
100
115
  batchId: string;
101
116
  newStrings: number;
@@ -134,7 +149,7 @@ interface TranslationSnapshotResponse {
134
149
  }
135
150
  interface LimitErrorResponse {
136
151
  errorCode: "LIMIT_EXCEEDED" | "INSUFFICIENT_CREDITS";
137
- limitType: "organizations" | "projects" | "git_connections" | "members" | "providers" | "translation_chars" | "source_strings" | "credits";
152
+ limitType: "organizations" | "projects" | "git_connections" | "members" | "providers" | "translation_chars" | "source_strings" | "target_locales" | "credits";
138
153
  planId: string;
139
154
  current: number;
140
155
  required: number;
@@ -148,6 +163,38 @@ interface SyncPolicyErrorResponse {
148
163
  boundRepoLabel?: string | null;
149
164
  boundScopePath?: string | null;
150
165
  }
166
+ interface InitStartResponse {
167
+ sessionId: string;
168
+ deviceCode: string;
169
+ verificationUrl: string;
170
+ expiresAt: string;
171
+ poll: {
172
+ token: string;
173
+ intervalSeconds: number;
174
+ };
175
+ }
176
+ type InitStatusResponse = {
177
+ status: "pending";
178
+ pollIntervalSeconds: number;
179
+ expiresAt: string;
180
+ message?: string;
181
+ } | {
182
+ status: "failed";
183
+ message: string;
184
+ } | {
185
+ status: "completed";
186
+ credentials: {
187
+ apiKey: string;
188
+ apiUrl: string;
189
+ organizationId: string;
190
+ organizationName: string;
191
+ projectId: string;
192
+ projectName: string;
193
+ sourceLocale: string;
194
+ targetLocales: string[];
195
+ targetBranches?: string[];
196
+ };
197
+ };
151
198
 
152
199
  type PackageManager = "pnpm" | "npm" | "yarn" | "bun";
153
200
  type DetectedFramework = "nextjs" | "vite" | "remix" | "nuxt" | "sveltekit" | "gatsby" | "angular" | null;
@@ -185,6 +232,313 @@ declare function getPackagesToInstall(detection: LocalDetectionResult): {
185
232
  runtimePackages: string[];
186
233
  };
187
234
 
235
+ declare class VocoderAPIError extends Error {
236
+ readonly status: number;
237
+ readonly payload: unknown;
238
+ readonly limitError: LimitErrorResponse | null;
239
+ readonly syncPolicyError: SyncPolicyErrorResponse | null;
240
+ constructor(params: {
241
+ message: string;
242
+ status: number;
243
+ payload: unknown;
244
+ limitError?: LimitErrorResponse | null;
245
+ syncPolicyError?: SyncPolicyErrorResponse | null;
246
+ });
247
+ }
248
+ declare class VocoderAPI {
249
+ private apiUrl;
250
+ private apiKey;
251
+ constructor(config: LocalConfig);
252
+ private request;
253
+ /**
254
+ * Fetch project configuration from API
255
+ * Project is determined from the API key
256
+ */
257
+ getProjectConfig(): Promise<APIProjectConfig>;
258
+ /**
259
+ * Submit strings for translation
260
+ * Project is determined from the API key
261
+ */
262
+ private stableTextKey;
263
+ private normalizeStringEntries;
264
+ submitTranslation(branch: string, entries: string[] | TranslationStringEntry[], targetLocales: string[], options?: {
265
+ requestedMode?: RequestedSyncMode;
266
+ requestedMaxWaitMs?: number;
267
+ clientRunId?: string;
268
+ force?: boolean;
269
+ /** From vocoder.config.ts — synced to ProjectApp on every push */
270
+ appIndustry?: string;
271
+ }, repoIdentity?: RepoIdentityPayload): Promise<TranslationBatchResponse>;
272
+ /**
273
+ * Check translation status
274
+ */
275
+ getTranslationStatus(batchId: string): Promise<TranslationStatusResponse>;
276
+ getTranslationSnapshot(params: {
277
+ branch: string;
278
+ targetLocales: string[];
279
+ }): Promise<TranslationSnapshotResponse>;
280
+ /**
281
+ * Wait for translation to complete with polling
282
+ */
283
+ waitForCompletion(batchId: string, timeout?: number, onProgress?: (progress: number) => void): Promise<{
284
+ translations: Record<string, Record<string, string>>;
285
+ localeMetadata?: Record<string, {
286
+ nativeName: string;
287
+ dir?: "rtl";
288
+ }>;
289
+ }>;
290
+ startInitSession(input: {
291
+ projectName?: string;
292
+ sourceLocale?: string;
293
+ targetLocales?: string[];
294
+ repoCanonical?: string;
295
+ repoAppDir?: string;
296
+ }): Promise<InitStartResponse>;
297
+ getInitSessionStatus(params: {
298
+ sessionId: string;
299
+ pollToken: string;
300
+ }): Promise<InitStatusResponse>;
301
+ /**
302
+ * Start a CLI auth session. Returns `{ sessionId, verificationUrl, expiresAt }`.
303
+ * `sessionId` is the raw poll token — keep it secret, used for polling.
304
+ */
305
+ startCliAuthSession(callbackPort?: number, repoCanonical?: string): Promise<{
306
+ sessionId: string;
307
+ verificationUrl: string;
308
+ installUrl?: string;
309
+ expiresAt: string;
310
+ }>;
311
+ /**
312
+ * Poll for CLI auth session completion.
313
+ * Returns `{ token }` on success, throws on failure/expiry.
314
+ * The server returns HTTP 202 while still pending.
315
+ */
316
+ pollCliAuthSession(pollToken: string): Promise<{
317
+ status: "pending";
318
+ } | {
319
+ status: "complete";
320
+ token: string;
321
+ organizationId?: string;
322
+ } | {
323
+ status: "failed";
324
+ reason: string;
325
+ }>;
326
+ /**
327
+ * Validate a CLI user token and return the authenticated user's info.
328
+ * Used by the CLI to verify stored credentials on startup.
329
+ */
330
+ getCliUserInfo(userToken: string): Promise<{
331
+ userId: string;
332
+ email: string;
333
+ name: string | null;
334
+ }>;
335
+ /**
336
+ * Revoke the given CLI user token server-side.
337
+ */
338
+ revokeCliToken(userToken: string): Promise<void>;
339
+ listWorkspaces(userToken: string, params?: {
340
+ repo?: string;
341
+ }): Promise<{
342
+ workspaces: Array<{
343
+ id: string;
344
+ name: string;
345
+ planId: string;
346
+ maxProjects: number;
347
+ projectCount: number;
348
+ hasGitHubConnection: boolean;
349
+ connectionLabel: string | null;
350
+ /** null when no `repo` param was provided */
351
+ coversRepo: boolean | null;
352
+ installationConfigureUrl: string | null;
353
+ }>;
354
+ canCreateWorkspace: boolean;
355
+ }>;
356
+ listProjects(userToken: string, organizationId: string): Promise<Array<{
357
+ id: string;
358
+ name: string;
359
+ sourceLocale: string;
360
+ targetLocales: string[];
361
+ targetBranches: string[];
362
+ }>>;
363
+ regenerateProjectApiKey(userToken: string, projectId: string): Promise<{
364
+ apiKey: string;
365
+ }>;
366
+ startCliGitHubInstall(userToken: string, params: {
367
+ organizationId?: string;
368
+ callbackPort?: number;
369
+ }): Promise<{
370
+ installUrl: string;
371
+ }>;
372
+ /**
373
+ * Start the "link existing installation" discovery flow.
374
+ * Unlike startCliGitHubOAuth, this requires no bearer token — the Vocoder
375
+ * account is created from the OAuth code in the callback.
376
+ */
377
+ startCliGitHubLinkSession(sessionId: string, callbackPort?: number): Promise<{
378
+ oauthUrl: string;
379
+ }>;
380
+ startCliGitHubOAuth(userToken: string, params: {
381
+ organizationId?: string;
382
+ callbackPort?: number;
383
+ }): Promise<{
384
+ oauthUrl: string;
385
+ }>;
386
+ getCliGitHubDiscovery(userToken: string): Promise<{
387
+ installations: Array<{
388
+ installationId: number;
389
+ accountLogin: string;
390
+ accountType: string;
391
+ isSuspended: boolean;
392
+ conflictLabel: string | null;
393
+ }>;
394
+ }>;
395
+ claimCliGitHubInstallation(userToken: string, params: {
396
+ installationId: string;
397
+ organizationId: string | null;
398
+ }): Promise<{
399
+ organizationId: string;
400
+ organizationName: string;
401
+ connectionLabel: string;
402
+ repoCount: number;
403
+ }>;
404
+ /**
405
+ * Add a target locale to the project.
406
+ * Idempotent: returns the current list unchanged if the locale is already configured.
407
+ * Project determined from API key.
408
+ *
409
+ * @throws {VocoderAPIError} status 422 for invalid/unsupported locale code
410
+ * @throws {VocoderAPIError} status 403 with limitError.limitType "target_locales" when plan limit reached
411
+ */
412
+ addLocale(locale: string, repoCanonical?: string): Promise<{
413
+ targetLocales: string[];
414
+ }>;
415
+ /**
416
+ * Remove a target locale from the project.
417
+ * Idempotent: returns the current list unchanged if the locale is not configured.
418
+ * Project determined from API key.
419
+ *
420
+ * @throws {VocoderAPIError} on auth or server errors
421
+ */
422
+ removeLocale(locale: string, repoCanonical?: string): Promise<{
423
+ targetLocales: string[];
424
+ }>;
425
+ listLocales(userToken: string): Promise<{
426
+ sourceLocales: Array<{
427
+ code: string;
428
+ name: string;
429
+ nativeName?: string;
430
+ }>;
431
+ targetLocales: Array<{
432
+ code: string;
433
+ name: string;
434
+ nativeName?: string;
435
+ }>;
436
+ }>;
437
+ listCompatibleLocales(userToken: string, sourceLocale: string): Promise<Array<{
438
+ code: string;
439
+ name: string;
440
+ nativeName?: string;
441
+ }>>;
442
+ createProject(userToken: string, params: {
443
+ organizationId: string;
444
+ name: string;
445
+ sourceLocale: string;
446
+ targetLocales: string[];
447
+ targetBranches: string[];
448
+ appDirs: string[];
449
+ repoCanonical?: string;
450
+ }): Promise<{
451
+ projectId: string;
452
+ projectName: string;
453
+ apiKey: string;
454
+ sourceLocale: string;
455
+ targetLocales: string[];
456
+ targetBranches: string[];
457
+ repositoryBound: boolean;
458
+ configureUrl?: string;
459
+ }>;
460
+ /**
461
+ * Look up all project apps for a given repo. Returns info about exact matches,
462
+ * existing apps in other scopes, and whether a whole-repo app exists.
463
+ * No auth required.
464
+ */
465
+ lookupProjectByRepo(params: {
466
+ repoCanonical: string;
467
+ appDir: string;
468
+ }): Promise<{
469
+ exactMatch: {
470
+ projectId: string;
471
+ projectName: string;
472
+ organizationName: string;
473
+ sourceLocale?: string;
474
+ targetBranches?: string[];
475
+ } | null;
476
+ existingApps: Array<{
477
+ appDir: string;
478
+ projectId: string;
479
+ projectName: string;
480
+ organizationName: string;
481
+ }>;
482
+ hasWholeRepoApp: boolean;
483
+ }>;
484
+ /**
485
+ * Add a new ProjectApp to an existing project (monorepo: new app directory).
486
+ * Does not check plan limits — no new project is created.
487
+ */
488
+ createProjectApp(userToken: string, params: {
489
+ projectId: string;
490
+ appDir: string;
491
+ sourceLocale: string;
492
+ targetLocales: string[];
493
+ targetBranches: string[];
494
+ repoCanonical: string;
495
+ }): Promise<{
496
+ appId: string;
497
+ projectId: string;
498
+ projectName: string;
499
+ apiKey: string;
500
+ appDir: string;
501
+ }>;
502
+ }
503
+
504
+ interface AuthData {
505
+ token: string;
506
+ userId: string;
507
+ email: string;
508
+ name: string | null;
509
+ createdAt: string;
510
+ }
511
+ declare function readAuthData(): AuthData | null;
512
+ declare function writeAuthData(data: AuthData): void;
513
+ /**
514
+ * Result of checking a stored CLI auth token against the API:
515
+ * - "valid" — token is good; user info is returned
516
+ * - "expired" — token rejected (non-404); user record still exists → reauth,
517
+ * do NOT run the GitHub App install flow again
518
+ * - "gone" — 404; user record deleted → treat as first-time setup
519
+ * - "none" — no token on disk
520
+ */
521
+ type StoredAuthStatus = {
522
+ status: "valid";
523
+ token: string;
524
+ userId: string;
525
+ email: string;
526
+ name: string | null;
527
+ } | {
528
+ status: "expired";
529
+ } | {
530
+ status: "gone";
531
+ } | {
532
+ status: "none";
533
+ };
534
+ /**
535
+ * Verify the stored CLI auth token. Clears the token on failure.
536
+ * Shared by the CLI (`commands/init.ts`) and the MCP (`tools/project-init.ts`)
537
+ * so reauth detection stays in sync.
538
+ */
539
+ declare function verifyStoredAuth(api: VocoderAPI): Promise<StoredAuthStatus>;
540
+ declare function clearAuthData(): void;
541
+
188
542
  interface SetupSnippets {
189
543
  pluginStep: {
190
544
  file: string;
@@ -209,4 +563,4 @@ declare function getSetupSnippets(params: {
209
563
  targetBranches: string[];
210
564
  }): SetupSnippets;
211
565
 
212
- export { type APIProjectConfig, type DetectedEcosystem, type DetectedFramework, type ExtractedString, type LimitErrorResponse, type LocalDetectionResult, type LocaleInfo, type LocalesMap, type PackageManager, type SetupSnippets, StringExtractor, type SyncPolicyConfig, type SyncPolicyErrorResponse, type TranslationBatchResponse, type TranslationSnapshotResponse, type TranslationStatusResponse, type VocoderConfig, buildInstallCommand, defineConfig, detectLocalEcosystem, getPackagesToInstall, getSetupSnippets, loadVocoderConfig };
566
+ export { type APIProjectConfig, type AuthData, type DetectedEcosystem, type DetectedFramework, type ExtractedString, type LimitErrorResponse, type LocalDetectionResult, type LocaleInfo, type LocalesMap, type PackageManager, type SetupSnippets, type StoredAuthStatus, StringExtractor, type SyncPolicyConfig, type SyncPolicyErrorResponse, type TranslationBatchResponse, type TranslationSnapshotResponse, type TranslationStatusResponse, VocoderAPI, VocoderAPIError, type VocoderConfig, buildInstallCommand, clearAuthData, defineConfig, detectLocalEcosystem, getPackagesToInstall, getSetupSnippets, loadVocoderConfig, readAuthData, verifyStoredAuth, writeAuthData };
package/dist/lib.mjs CHANGED
@@ -1,12 +1,18 @@
1
1
  import { createRequire as __createRequire } from 'module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  StringExtractor,
4
+ VocoderAPI,
5
+ VocoderAPIError,
4
6
  buildInstallCommand,
7
+ clearAuthData,
5
8
  detectLocalEcosystem,
6
9
  getPackagesToInstall,
7
10
  getSetupSnippets,
8
- loadVocoderConfig
9
- } from "./chunk-73U4VZYP.mjs";
11
+ loadVocoderConfig,
12
+ readAuthData,
13
+ verifyStoredAuth,
14
+ writeAuthData
15
+ } from "./chunk-XUCVAFBG.mjs";
10
16
 
11
17
  // ../config/src/index.ts
12
18
  function defineConfig(config) {
@@ -14,11 +20,17 @@ function defineConfig(config) {
14
20
  }
15
21
  export {
16
22
  StringExtractor,
23
+ VocoderAPI,
24
+ VocoderAPIError,
17
25
  buildInstallCommand,
26
+ clearAuthData,
18
27
  defineConfig,
19
28
  detectLocalEcosystem,
20
29
  getPackagesToInstall,
21
30
  getSetupSnippets,
22
- loadVocoderConfig
31
+ loadVocoderConfig,
32
+ readAuthData,
33
+ verifyStoredAuth,
34
+ writeAuthData
23
35
  };
24
36
  //# sourceMappingURL=lib.mjs.map
package/dist/lib.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../../config/src/index.ts"],"sourcesContent":["/**\n * Supported app industry classifications.\n * Set once in vocoder.config.ts; synced to ProjectApp at extraction time.\n * Cannot be edited from the dashboard — config file is the source of truth.\n *\n * Keep in sync with APP_INDUSTRIES in\n * vocoder-app/lib/vocoder/translation/context-constants.ts.\n */\nexport type AppIndustry =\n\t| \"ecommerce\"\n\t| \"saas\"\n\t| \"healthcare\"\n\t| \"fintech\"\n\t| \"gaming\"\n\t| \"education\"\n\t| \"media\"\n\t| \"productivity\";\n\n/**\n * Translation formality level.\n * Can be set project-wide in vocoder.config.ts or overridden per-string\n * via <T formality=\"formal\"> (requires allowAiTranslations plan).\n */\nexport type Formality = \"formal\" | \"informal\" | \"neutral\";\n\nexport interface VocoderConfig {\n\t/** Glob patterns for files to extract strings from. */\n\tinclude?: string[];\n\t/** Glob patterns to exclude. */\n\texclude?: string[];\n\t/**\n\t * Git branches that trigger string extraction and translation.\n\t * Synced to the Vocoder dashboard on each push — change here to update.\n\t */\n\ttargetBranches?: string[];\n\t/**\n\t * Directory to write translated locale files after sync (optional).\n\t * If set, `vocoder sync` writes {locale}.json files to this path.\n\t */\n\tlocalesPath?: string;\n\t/**\n\t * The industry or domain of this application.\n\t * Used to improve translation quality for domain-specific terminology\n\t * and to isolate cache entries by industry in the global translation cache.\n\t * Synced to ProjectApp at extraction time.\n\t */\n\tappIndustry?: AppIndustry;\n\t/**\n\t * Project-wide default formality level for translations.\n\t * Can be overridden per-string via <T formality=\"...\"> on the AI plan.\n\t * Synced to ProjectApp at extraction time.\n\t */\n\tformality?: Formality;\n}\n\n/** Type helper for vocoder.config.ts — provides autocomplete and type checking. */\nexport function defineConfig(config: VocoderConfig): VocoderConfig {\n\treturn config;\n}\n\n/**\n * Canonical translation bundle format shared by the build plugin and CLI.\n * Both read and write this shape — keeps cache files identical regardless of\n * which tool produced them.\n *\n * translations: locale → sourceKey (hash) → translated text\n * config.locales: locale metadata snapshot for the runtime\n */\nexport interface VocoderTranslationData {\n\tconfig: {\n\t\tsourceLocale: string;\n\t\ttargetLocales: string[];\n\t\tlocales: Record<string, {\n\t\t\tnativeName: string;\n\t\t\tdir?: \"rtl\";\n\t\t\tcurrencyCode?: string;\n\t\t\tordinalForms?: { type: \"suffix\"; suffixes: { zero?: string; one?: string; two?: string; few?: string; many?: string; other: string } } | { type: \"word\"; words: Record<string, Record<number, string>> };\n\t\t}>;\n\t};\n\ttranslations: Record<string, Record<string, string>>;\n\tupdatedAt: string | null;\n}\n"],"mappings":";;;;;;;;;;;AAwDO,SAAS,aAAa,QAAsC;AAClE,SAAO;AACR;","names":[]}
1
+ {"version":3,"sources":["../../config/src/index.ts"],"sourcesContent":["/**\n * Supported app industry classifications.\n * Set once in vocoder.config.ts; synced to ProjectApp at extraction time.\n * Cannot be edited from the dashboard — config file is the source of truth.\n *\n * Keep in sync with APP_INDUSTRIES in\n * vocoder-app/lib/vocoder/translation/context-constants.ts.\n */\nexport type AppIndustry =\n\t| \"ecommerce\"\n\t| \"saas\"\n\t| \"healthcare\"\n\t| \"fintech\"\n\t| \"gaming\"\n\t| \"education\"\n\t| \"media\"\n\t| \"productivity\";\n\n/**\n * Translation formality level.\n * Can be set project-wide in vocoder.config.ts or overridden per-string\n * via <T formality=\"formal\"> (requires allowAiTranslations plan).\n */\nexport type Formality = \"formal\" | \"informal\" | \"neutral\";\n\nexport interface VocoderConfig {\n\t/** Glob patterns for files to extract strings from. */\n\tinclude?: string[];\n\t/** Glob patterns to exclude. */\n\texclude?: string[];\n\t/**\n\t * Git branches that trigger string extraction and translation.\n\t * Synced to the Vocoder dashboard on each push — change here to update.\n\t */\n\ttargetBranches?: string[];\n\t/**\n\t * Directory to write translated locale files after sync (optional).\n\t * If set, `vocoder sync` writes {locale}.json files to this path.\n\t */\n\tlocalesPath?: string;\n\t/**\n\t * The industry or domain of this application.\n\t * Used to improve translation quality for domain-specific terminology\n\t * and to isolate cache entries by industry in the global translation cache.\n\t * Synced to ProjectApp at extraction time.\n\t */\n\tappIndustry?: AppIndustry;\n\t/**\n\t * Project-wide default formality level for translations.\n\t * Can be overridden per-string via <T formality=\"...\"> on the AI plan.\n\t * Synced to ProjectApp at extraction time.\n\t */\n\tformality?: Formality;\n}\n\n/** Type helper for vocoder.config.ts — provides autocomplete and type checking. */\nexport function defineConfig(config: VocoderConfig): VocoderConfig {\n\treturn config;\n}\n\n/**\n * Canonical translation bundle format shared by the build plugin and CLI.\n * Both read and write this shape — keeps cache files identical regardless of\n * which tool produced them.\n *\n * translations: locale → sourceKey (hash) → translated text\n * config.locales: locale metadata snapshot for the runtime\n */\nexport interface VocoderTranslationData {\n\tconfig: {\n\t\tsourceLocale: string;\n\t\ttargetLocales: string[];\n\t\tlocales: Record<string, {\n\t\t\tnativeName: string;\n\t\t\tdir?: \"rtl\";\n\t\t\tcurrencyCode?: string;\n\t\t\tordinalForms?: { type: \"suffix\"; suffixes: { zero?: string; one?: string; two?: string; few?: string; many?: string; other: string } } | { type: \"word\"; words: Record<string, Record<number, string>> };\n\t\t}>;\n\t};\n\ttranslations: Record<string, Record<string, string>>;\n\tupdatedAt: string | null;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAwDO,SAAS,aAAa,QAAsC;AAClE,SAAO;AACR;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vocoder/cli",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "CLI tool for Vocoder translation workflow",
5
5
  "files": [
6
6
  "dist"
@@ -51,8 +51,8 @@
51
51
  "tsup": "^8.0.0",
52
52
  "typescript": "^5.4.0",
53
53
  "vitest": "^1.0.0",
54
- "@vocoder/config": "0.10.0",
55
- "@vocoder/extractor": "0.10.0"
54
+ "@vocoder/extractor": "0.12.0",
55
+ "@vocoder/config": "0.12.0"
56
56
  },
57
57
  "engines": {
58
58
  "node": ">=18"