@openspecui/core 3.5.0 → 3.5.2

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/index.d.mts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { a as buildHostedLaunchUrl, c as normalizeEmbeddedUiUrl, i as buildEmbeddedUiLaunchUrl, l as normalizeHostedAppBaseUrl, n as HostedBackendHealthResponse, o as isHostedBackendHealthResponse, r as OFFICIAL_APP_BASE_URL, s as isSupportedEmbeddedUiUrl, t as HOSTED_SHELL_PROTOCOL_VERSION, u as resolveHostedAppBaseUrl } from "./hosted-app-DaGUbBJn.mjs";
2
- import { D as normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, a as BuiltinSoundOption, b as SoundConfigIdSchema, c as CustomSoundHashSchema, d as CustomSoundMetadata, f as CustomSoundMetadataFile, g as DEFAULT_NOTIFICATION_SOUND_ID, h as DEFAULT_BELL_SOUND_ID, i as BuiltinSoundIdSchema, l as CustomSoundId, m as CustomSoundMetadataSchema, n as BUILTIN_SOUND_OPTIONS, o as CUSTOM_SOUND_ADD_VALUE, p as CustomSoundMetadataFileSchema, r as BuiltinSoundId, s as CustomSoundHash, t as BUILTIN_SOUND_IDS, u as CustomSoundIdSchema, v as LEGACY_SOUND_ID_MAP, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-CxwbTXZS.mjs";
3
- import { A as TerminalNotificationProtocol, D as TerminalControlEvent, E as groupNotifications, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, T as getNotificationGroupLabel, _ as NotificationSource, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, j as TerminalProgressState, k as TerminalControlParser, l as NotificationPublishInput, m as NotificationSettingsSchema, n as NOTIFICATION_SOUND_VALUES, o as NotificationGroup, p as NotificationSettings, r as NotificationAction, s as NotificationGroupKey, t as NOTIFICATION_SOUND_OPTIONS, u as NotificationPublishInputSchema, v as NotificationSourceSchema, w as getNotificationGroupKey, x as TerminalNotificationParser, y as TerminalNotificationEvent } from "./notifications-DOQwtdfS.mjs";
4
- import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-BoSdMyBY.mjs";
2
+ import { D as normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, a as BuiltinSoundOption, b as SoundConfigIdSchema, c as CustomSoundHashSchema, d as CustomSoundMetadata, f as CustomSoundMetadataFile, g as DEFAULT_NOTIFICATION_SOUND_ID, h as DEFAULT_BELL_SOUND_ID, i as BuiltinSoundIdSchema, l as CustomSoundId, m as CustomSoundMetadataSchema, n as BUILTIN_SOUND_OPTIONS, o as CUSTOM_SOUND_ADD_VALUE, p as CustomSoundMetadataFileSchema, r as BuiltinSoundId, s as CustomSoundHash, t as BUILTIN_SOUND_IDS, u as CustomSoundIdSchema, v as LEGACY_SOUND_ID_MAP, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-Bw-sSyFZ.mjs";
3
+ import { A as TerminalNotificationProtocol, D as TerminalControlEvent, E as groupNotifications, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, T as getNotificationGroupLabel, _ as NotificationSource, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, j as TerminalProgressState, k as TerminalControlParser, l as NotificationPublishInput, m as NotificationSettingsSchema, n as NOTIFICATION_SOUND_VALUES, o as NotificationGroup, p as NotificationSettings, r as NotificationAction, s as NotificationGroupKey, t as NOTIFICATION_SOUND_OPTIONS, u as NotificationPublishInputSchema, v as NotificationSourceSchema, w as getNotificationGroupKey, x as TerminalNotificationParser, y as TerminalNotificationEvent } from "./notifications-BWvRNkRJ.mjs";
4
+ import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-8E82E0AM.mjs";
5
5
  import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-CuQyGB_A.mjs";
6
- import { $ as PtyServerMessageSchema, B as PtyCreatedResponseSchema, C as TerminalSpawnCommand, E as getTerminalCommandDefaultValues, F as PtyBufferResponseSchema, G as PtyListMessageSchema, H as PtyErrorResponseSchema, I as PtyClientMessage, J as PtyPlatform, K as PtyListResponseSchema, L as PtyClientMessageSchema, M as resolveTerminalShellDefaults, N as PtyAttachMessageSchema, O as quoteTerminalShellArg, P as PtyBellResponseSchema, Q as PtyServerMessage, R as PtyCloseMessageSchema, S as TerminalShellQuoteStyleSchema, U as PtyExitResponseSchema, V as PtyErrorCodeSchema, W as PtyInputMessageSchema, X as PtyProcessTitleResponseSchema, Y as PtyPlatformSchema, Z as PtyResizeMessageSchema, _ as TerminalShellDefaults, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, et as PtySessionInfo, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, q as PtyOutputResponseSchema, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, tt as PtyTitleResponseSchema, u as TerminalCommandFieldValues, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile, z as PtyCreateMessageSchema } from "./terminal-invocation-BAcs7OE-.mjs";
6
+ import { $ as PtyServerMessageSchema, B as PtyCreatedResponseSchema, C as TerminalSpawnCommand, E as getTerminalCommandDefaultValues, F as PtyBufferResponseSchema, G as PtyListMessageSchema, H as PtyErrorResponseSchema, I as PtyClientMessage, J as PtyPlatform, K as PtyListResponseSchema, L as PtyClientMessageSchema, M as resolveTerminalShellDefaults, N as PtyAttachMessageSchema, O as quoteTerminalShellArg, P as PtyBellResponseSchema, Q as PtyServerMessage, R as PtyCloseMessageSchema, S as TerminalShellQuoteStyleSchema, U as PtyExitResponseSchema, V as PtyErrorCodeSchema, W as PtyInputMessageSchema, X as PtyProcessTitleResponseSchema, Y as PtyPlatformSchema, Z as PtyResizeMessageSchema, _ as TerminalShellDefaults, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, et as PtySessionInfo, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, q as PtyOutputResponseSchema, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, tt as PtyTitleResponseSchema, u as TerminalCommandFieldValues, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile, z as PtyCreateMessageSchema } from "./terminal-invocation-CpdllJff.mjs";
7
7
  import { a as TERMINAL_THEME_VALUES, i as TERMINAL_THEME_MODE_VALUES, n as DEFAULT_TERMINAL_LIGHT_THEME, r as DEFAULT_TERMINAL_THEME_MODE, t as DEFAULT_TERMINAL_DARK_THEME } from "./terminal-theme-wbkK9vVH.mjs";
8
8
  import { AsyncLocalStorage } from "node:async_hooks";
9
9
  import { z } from "zod";
@@ -311,11 +311,11 @@ declare const DeltaSpecSchema: z.ZodObject<{
311
311
  /** Raw markdown content of the delta spec */
312
312
  content: z.ZodString;
313
313
  }, "strip", z.ZodTypeAny, {
314
- specId: string;
315
314
  content: string;
316
- }, {
317
315
  specId: string;
316
+ }, {
318
317
  content: string;
318
+ specId: string;
319
319
  }>;
320
320
  type DeltaSpec = z.infer<typeof DeltaSpecSchema>;
321
321
  /**
@@ -493,11 +493,11 @@ declare const ChangeSchema: z.ZodObject<{
493
493
  /** Raw markdown content of the delta spec */
494
494
  content: z.ZodString;
495
495
  }, "strip", z.ZodTypeAny, {
496
- specId: string;
497
496
  content: string;
498
- }, {
499
497
  specId: string;
498
+ }, {
500
499
  content: string;
500
+ specId: string;
501
501
  }>, "many">>;
502
502
  /** Optional metadata */
503
503
  metadata: z.ZodOptional<z.ZodObject<{
@@ -554,8 +554,8 @@ declare const ChangeSchema: z.ZodObject<{
554
554
  } | undefined;
555
555
  design?: string | undefined;
556
556
  deltaSpecs?: {
557
- specId: string;
558
557
  content: string;
558
+ specId: string;
559
559
  }[] | undefined;
560
560
  }, {
561
561
  id: string;
@@ -601,8 +601,8 @@ declare const ChangeSchema: z.ZodObject<{
601
601
  } | undefined;
602
602
  design?: string | undefined;
603
603
  deltaSpecs?: {
604
- specId: string;
605
604
  content: string;
605
+ specId: string;
606
606
  }[] | undefined;
607
607
  }>;
608
608
  type Change = z.infer<typeof ChangeSchema>;
@@ -808,8 +808,8 @@ declare class OpenSpecAdapter {
808
808
  } | undefined;
809
809
  design?: string | undefined;
810
810
  deltaSpecs?: {
811
- specId: string;
812
811
  content: string;
812
+ specId: string;
813
813
  }[] | undefined;
814
814
  }[];
815
815
  archivedCount: number;
@@ -1418,7 +1418,7 @@ declare const TerminalConfigSchema: z.ZodObject<{
1418
1418
  lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
1419
1419
  darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
1420
1420
  rendererEngine: z.ZodDefault<z.ZodString>;
1421
- bellSound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>>;
1421
+ bellSound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>>;
1422
1422
  bellVolume: z.ZodDefault<z.ZodNumber>;
1423
1423
  }, "strip", z.ZodTypeAny, {
1424
1424
  fontSize: number;
@@ -1430,7 +1430,7 @@ declare const TerminalConfigSchema: z.ZodObject<{
1430
1430
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1431
1431
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1432
1432
  rendererEngine: string;
1433
- bellSound: "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`;
1433
+ bellSound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`;
1434
1434
  bellVolume: number;
1435
1435
  }, {
1436
1436
  fontSize?: number | undefined;
@@ -1521,7 +1521,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1521
1521
  lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
1522
1522
  darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
1523
1523
  rendererEngine: z.ZodDefault<z.ZodString>;
1524
- bellSound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>>;
1524
+ bellSound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>>;
1525
1525
  bellVolume: z.ZodDefault<z.ZodNumber>;
1526
1526
  }, "strip", z.ZodTypeAny, {
1527
1527
  fontSize: number;
@@ -1533,7 +1533,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1533
1533
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1534
1534
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1535
1535
  rendererEngine: string;
1536
- bellSound: "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`;
1536
+ bellSound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`;
1537
1537
  bellVolume: number;
1538
1538
  }, {
1539
1539
  fontSize?: number | undefined;
@@ -1566,11 +1566,11 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1566
1566
  }>>;
1567
1567
  /** Notification preferences */
1568
1568
  notifications: z.ZodDefault<z.ZodObject<{
1569
- sound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>>;
1569
+ sound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>>;
1570
1570
  volume: z.ZodDefault<z.ZodNumber>;
1571
1571
  systemNotificationsEnabled: z.ZodDefault<z.ZodBoolean>;
1572
1572
  }, "strip", z.ZodTypeAny, {
1573
- sound: "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`;
1573
+ sound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`;
1574
1574
  volume: number;
1575
1575
  systemNotificationsEnabled: boolean;
1576
1576
  }, {
@@ -1589,7 +1589,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1589
1589
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1590
1590
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1591
1591
  rendererEngine: string;
1592
- bellSound: "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`;
1592
+ bellSound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`;
1593
1593
  bellVolume: number;
1594
1594
  };
1595
1595
  theme: "light" | "dark" | "system";
@@ -1611,7 +1611,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1611
1611
  diffEagerLineBudget: number;
1612
1612
  };
1613
1613
  notifications: {
1614
- sound: "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`;
1614
+ sound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`;
1615
1615
  volume: number;
1616
1616
  systemNotificationsEnabled: boolean;
1617
1617
  };
@@ -2296,13 +2296,13 @@ declare const SchemaInfoSchema: z.ZodObject<{
2296
2296
  artifacts: z.ZodArray<z.ZodString, "many">;
2297
2297
  source: z.ZodEnum<["project", "user", "package"]>;
2298
2298
  }, "strip", z.ZodTypeAny, {
2299
- name: string;
2300
2299
  source: "project" | "user" | "package";
2300
+ name: string;
2301
2301
  artifacts: string[];
2302
2302
  description?: string | undefined;
2303
2303
  }, {
2304
- name: string;
2305
2304
  source: "project" | "user" | "package";
2305
+ name: string;
2306
2306
  artifacts: string[];
2307
2307
  description?: string | undefined;
2308
2308
  }>;
@@ -2327,8 +2327,8 @@ declare const SchemaResolutionSchema: z.ZodObject<{
2327
2327
  }>, "many">;
2328
2328
  }, "strip", z.ZodTypeAny, {
2329
2329
  path: string;
2330
- name: string;
2331
2330
  source: "project" | "user" | "package";
2331
+ name: string;
2332
2332
  shadows: {
2333
2333
  path: string;
2334
2334
  source: "project" | "user" | "package";
@@ -2337,8 +2337,8 @@ declare const SchemaResolutionSchema: z.ZodObject<{
2337
2337
  displayPath?: string | undefined;
2338
2338
  }, {
2339
2339
  path: string;
2340
- name: string;
2341
2340
  source: "project" | "user" | "package";
2341
+ name: string;
2342
2342
  shadows: {
2343
2343
  path: string;
2344
2344
  source: "project" | "user" | "package";
@@ -1,4 +1,4 @@
1
- import { x as SoundId } from "./sounds-CxwbTXZS.mjs";
1
+ import { x as SoundId } from "./sounds-Bw-sSyFZ.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/terminal-control.d.ts
@@ -54,18 +54,18 @@ declare function terminalNotificationEventToPublishInput(input: {
54
54
  //#endregion
55
55
  //#region src/notifications.d.ts
56
56
  declare const NOTIFICATION_SOUND_VALUES: readonly ["silent", "soft", "clear", "pulse"];
57
- declare const NotificationSoundSchema: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>;
57
+ declare const NotificationSoundSchema: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>;
58
58
  type NotificationSound = SoundId;
59
59
  declare const NOTIFICATION_SOUND_OPTIONS: readonly {
60
60
  id: NotificationSound;
61
61
  label: string;
62
62
  }[];
63
63
  declare const NotificationSettingsSchema: z.ZodObject<{
64
- sound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>>;
64
+ sound: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>>;
65
65
  volume: z.ZodDefault<z.ZodNumber>;
66
66
  systemNotificationsEnabled: z.ZodDefault<z.ZodBoolean>;
67
67
  }, "strip", z.ZodTypeAny, {
68
- sound: "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`;
68
+ sound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`;
69
69
  volume: number;
70
70
  systemNotificationsEnabled: boolean;
71
71
  }, {
@@ -325,7 +325,6 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
325
325
  groupId: string;
326
326
  title?: string | undefined;
327
327
  };
328
- createdAt?: number | undefined;
329
328
  body?: string | undefined;
330
329
  actions?: ({
331
330
  type: "terminal.focus";
@@ -341,6 +340,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
341
340
  label?: string | undefined;
342
341
  })[] | undefined;
343
342
  level?: "info" | "success" | "warning" | "error" | undefined;
343
+ createdAt?: number | undefined;
344
344
  }>;
345
345
  type NotificationPublishInput = z.infer<typeof NotificationPublishInputSchema>;
346
346
  declare const NotificationRecordSchema: z.ZodObject<{
@@ -446,8 +446,6 @@ declare const NotificationRecordSchema: z.ZodObject<{
446
446
  createdAt: z.ZodNumber;
447
447
  groupKey: z.ZodString;
448
448
  }, "strip", z.ZodTypeAny, {
449
- id: string;
450
- createdAt: number;
451
449
  title: string;
452
450
  body: string;
453
451
  source: {
@@ -481,10 +479,10 @@ declare const NotificationRecordSchema: z.ZodObject<{
481
479
  };
482
480
  })[];
483
481
  level: "info" | "success" | "warning" | "error";
482
+ createdAt: number;
483
+ id: string;
484
484
  groupKey: string;
485
485
  }, {
486
- id: string;
487
- createdAt: number;
488
486
  title: string;
489
487
  source: {
490
488
  type: "terminal";
@@ -503,6 +501,8 @@ declare const NotificationRecordSchema: z.ZodObject<{
503
501
  groupId: string;
504
502
  title?: string | undefined;
505
503
  };
504
+ createdAt: number;
505
+ id: string;
506
506
  groupKey: string;
507
507
  body?: string | undefined;
508
508
  actions?: ({
@@ -1,3 +1,3 @@
1
- import "./sounds-CxwbTXZS.mjs";
2
- import { C as getNotificationAggregateKey, E as groupNotifications, P as terminalNotificationEventToPublishInput, S as aggregateNotifications, T as getNotificationGroupLabel, _ as NotificationSource, a as NotificationAggregate, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, k as TerminalControlParser, l as NotificationPublishInput, m as NotificationSettingsSchema, n as NOTIFICATION_SOUND_VALUES, o as NotificationGroup, p as NotificationSettings, r as NotificationAction, s as NotificationGroupKey, t as NOTIFICATION_SOUND_OPTIONS, u as NotificationPublishInputSchema, v as NotificationSourceSchema, w as getNotificationGroupKey, x as TerminalNotificationParser, y as TerminalNotificationEvent } from "./notifications-DOQwtdfS.mjs";
1
+ import "./sounds-Bw-sSyFZ.mjs";
2
+ import { C as getNotificationAggregateKey, E as groupNotifications, P as terminalNotificationEventToPublishInput, S as aggregateNotifications, T as getNotificationGroupLabel, _ as NotificationSource, a as NotificationAggregate, b as TerminalNotificationParseResult, c as NotificationGroupKeySchema, d as NotificationRecord, f as NotificationRecordSchema, g as NotificationSoundSchema, h as NotificationSound, i as NotificationActionSchema, k as TerminalControlParser, l as NotificationPublishInput, m as NotificationSettingsSchema, n as NOTIFICATION_SOUND_VALUES, o as NotificationGroup, p as NotificationSettings, r as NotificationAction, s as NotificationGroupKey, t as NOTIFICATION_SOUND_OPTIONS, u as NotificationPublishInputSchema, v as NotificationSourceSchema, w as getNotificationGroupKey, x as TerminalNotificationParser, y as TerminalNotificationEvent } from "./notifications-BWvRNkRJ.mjs";
3
3
  export { NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, NotificationAction, NotificationActionSchema, NotificationAggregate, NotificationGroup, NotificationGroupKey, NotificationGroupKeySchema, NotificationPublishInput, NotificationPublishInputSchema, NotificationRecord, NotificationRecordSchema, NotificationSettings, NotificationSettingsSchema, NotificationSound, NotificationSoundSchema, NotificationSource, NotificationSourceSchema, TerminalControlParser, TerminalNotificationEvent, TerminalNotificationParseResult, TerminalNotificationParser, aggregateNotifications, getNotificationAggregateKey, getNotificationGroupKey, getNotificationGroupLabel, groupNotifications, terminalNotificationEventToPublishInput };
@@ -23,7 +23,7 @@ declare const LEGACY_SOUND_ID_MAP: {
23
23
  readonly pulse: "builtin:Tink";
24
24
  };
25
25
  declare function normalizeLegacySoundId(value: unknown): unknown;
26
- declare const SoundConfigIdSchema: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>;
26
+ declare const SoundConfigIdSchema: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"silent">, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>;
27
27
  declare const SoundVolumeSchema: z.ZodDefault<z.ZodNumber>;
28
28
  type SoundVolume = z.infer<typeof SoundVolumeSchema>;
29
29
  interface BuiltinSoundOption {
@@ -41,18 +41,18 @@ declare const CustomSoundMetadataSchema: z.ZodObject<{
41
41
  createdAt: z.ZodNumber;
42
42
  updatedAt: z.ZodNumber;
43
43
  }, "strip", z.ZodTypeAny, {
44
+ createdAt: number;
44
45
  id: string;
45
46
  name: string;
46
47
  mime: string;
47
48
  size: number;
48
- createdAt: number;
49
49
  updatedAt: number;
50
50
  }, {
51
+ createdAt: number;
51
52
  id: string;
52
53
  name: string;
53
54
  mime: string;
54
55
  size: number;
55
- createdAt: number;
56
56
  updatedAt: number;
57
57
  }>;
58
58
  type CustomSoundMetadata = z.infer<typeof CustomSoundMetadataSchema>;
@@ -64,18 +64,18 @@ declare const CustomSoundMetadataFileSchema: z.ZodRecord<z.ZodString, z.ZodObjec
64
64
  createdAt: z.ZodNumber;
65
65
  updatedAt: z.ZodNumber;
66
66
  }, "strip", z.ZodTypeAny, {
67
+ createdAt: number;
67
68
  id: string;
68
69
  name: string;
69
70
  mime: string;
70
71
  size: number;
71
- createdAt: number;
72
72
  updatedAt: number;
73
73
  }, {
74
+ createdAt: number;
74
75
  id: string;
75
76
  name: string;
76
77
  mime: string;
77
78
  size: number;
78
- createdAt: number;
79
79
  updatedAt: number;
80
80
  }>>;
81
81
  type CustomSoundMetadataFile = z.infer<typeof CustomSoundMetadataFileSchema>;
package/dist/sounds.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { C as SoundVolume, D as normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, _ as DEFAULT_SOUND_VOLUME, a as BuiltinSoundOption, b as SoundConfigIdSchema, c as CustomSoundHashSchema, d as CustomSoundMetadata, f as CustomSoundMetadataFile, g as DEFAULT_NOTIFICATION_SOUND_ID, h as DEFAULT_BELL_SOUND_ID, i as BuiltinSoundIdSchema, l as CustomSoundId, m as CustomSoundMetadataSchema, n as BUILTIN_SOUND_OPTIONS, o as CUSTOM_SOUND_ADD_VALUE, p as CustomSoundMetadataFileSchema, r as BuiltinSoundId, s as CustomSoundHash, t as BUILTIN_SOUND_IDS, u as CustomSoundIdSchema, v as LEGACY_SOUND_ID_MAP, w as SoundVolumeSchema, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-CxwbTXZS.mjs";
1
+ import { C as SoundVolume, D as normalizeLegacySoundId, E as getBuiltinSoundUrl, O as soundIdFromCustomHash, S as SoundIdSchema, T as customHashFromSoundId, _ as DEFAULT_SOUND_VOLUME, a as BuiltinSoundOption, b as SoundConfigIdSchema, c as CustomSoundHashSchema, d as CustomSoundMetadata, f as CustomSoundMetadataFile, g as DEFAULT_NOTIFICATION_SOUND_ID, h as DEFAULT_BELL_SOUND_ID, i as BuiltinSoundIdSchema, l as CustomSoundId, m as CustomSoundMetadataSchema, n as BUILTIN_SOUND_OPTIONS, o as CUSTOM_SOUND_ADD_VALUE, p as CustomSoundMetadataFileSchema, r as BuiltinSoundId, s as CustomSoundHash, t as BUILTIN_SOUND_IDS, u as CustomSoundIdSchema, v as LEGACY_SOUND_ID_MAP, w as SoundVolumeSchema, x as SoundId, y as SILENT_SOUND_ID } from "./sounds-Bw-sSyFZ.mjs";
2
2
  export { BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BuiltinSoundId, BuiltinSoundIdSchema, BuiltinSoundOption, CUSTOM_SOUND_ADD_VALUE, CustomSoundHash, CustomSoundHashSchema, CustomSoundId, CustomSoundIdSchema, CustomSoundMetadata, CustomSoundMetadataFile, CustomSoundMetadataFileSchema, CustomSoundMetadataSchema, DEFAULT_BELL_SOUND_ID, DEFAULT_NOTIFICATION_SOUND_ID, DEFAULT_SOUND_VOLUME, LEGACY_SOUND_ID_MAP, SILENT_SOUND_ID, SoundConfigIdSchema, SoundId, SoundIdSchema, SoundVolume, SoundVolumeSchema, customHashFromSoundId, getBuiltinSoundUrl, normalizeLegacySoundId, soundIdFromCustomHash };
@@ -1,9 +1,9 @@
1
- import { x as SoundId } from "./sounds-CxwbTXZS.mjs";
1
+ import { x as SoundId } from "./sounds-Bw-sSyFZ.mjs";
2
2
  import * as zod0 from "zod";
3
3
 
4
4
  //#region src/terminal-audio.d.ts
5
5
  declare const TERMINAL_BELL_SOUND_VALUES: readonly ["silent", "bell", "soft", "clear", "pulse"];
6
- declare const TerminalBellSoundSchema: zod0.ZodEffects<zod0.ZodUnion<[zod0.ZodLiteral<"silent">, zod0.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, zod0.ZodType<`custom:${string}`, zod0.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Tink" | "builtin:Blow" | "builtin:Basso" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | `custom:${string}`, unknown>;
6
+ declare const TerminalBellSoundSchema: zod0.ZodEffects<zod0.ZodUnion<[zod0.ZodLiteral<"silent">, zod0.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, zod0.ZodType<`custom:${string}`, zod0.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>;
7
7
  type TerminalBellSound = SoundId;
8
8
  declare const TERMINAL_BELL_SOUND_OPTIONS: readonly {
9
9
  id: TerminalBellSound;
@@ -1,3 +1,3 @@
1
- import "./sounds-CxwbTXZS.mjs";
2
- import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-BoSdMyBY.mjs";
1
+ import "./sounds-Bw-sSyFZ.mjs";
2
+ import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-8E82E0AM.mjs";
3
3
  export { TERMINAL_BELL_SOUND_OPTIONS, TERMINAL_BELL_SOUND_VALUES, TerminalBellSound, TerminalBellSoundSchema };
@@ -1,3 +1,3 @@
1
- import "./sounds-CxwbTXZS.mjs";
2
- import { A as TerminalNotificationProtocol, D as TerminalControlEvent, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, j as TerminalProgressState, k as TerminalControlParser } from "./notifications-DOQwtdfS.mjs";
1
+ import "./sounds-Bw-sSyFZ.mjs";
2
+ import { A as TerminalNotificationProtocol, D as TerminalControlEvent, M as TerminalPromptState, N as TerminalTitleTarget, O as TerminalControlParseResult, P as terminalNotificationEventToPublishInput, j as TerminalProgressState, k as TerminalControlParser } from "./notifications-BWvRNkRJ.mjs";
3
3
  export { TerminalControlEvent, TerminalControlParseResult, TerminalControlParser, TerminalNotificationProtocol, TerminalProgressState, TerminalPromptState, TerminalTitleTarget, terminalNotificationEventToPublishInput };
@@ -13,8 +13,8 @@ declare const PtySessionInfoSchema: z.ZodObject<{
13
13
  closeTip: z.ZodOptional<z.ZodString>;
14
14
  closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
15
15
  }, "strip", z.ZodTypeAny, {
16
- id: string;
17
16
  title: string;
17
+ id: string;
18
18
  command: string;
19
19
  args: string[];
20
20
  platform: "windows" | "macos" | "common";
@@ -23,8 +23,8 @@ declare const PtySessionInfoSchema: z.ZodObject<{
23
23
  closeTip?: string | undefined;
24
24
  closeCallbackUrl?: string | Record<string, string> | undefined;
25
25
  }, {
26
- id: string;
27
26
  title: string;
27
+ id: string;
28
28
  command: string;
29
29
  args: string[];
30
30
  platform: "windows" | "macos" | "common";
@@ -315,8 +315,8 @@ declare const PtyListResponseSchema: z.ZodObject<{
315
315
  closeTip: z.ZodOptional<z.ZodString>;
316
316
  closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
317
317
  }, "strip", z.ZodTypeAny, {
318
- id: string;
319
318
  title: string;
319
+ id: string;
320
320
  command: string;
321
321
  args: string[];
322
322
  platform: "windows" | "macos" | "common";
@@ -325,8 +325,8 @@ declare const PtyListResponseSchema: z.ZodObject<{
325
325
  closeTip?: string | undefined;
326
326
  closeCallbackUrl?: string | Record<string, string> | undefined;
327
327
  }, {
328
- id: string;
329
328
  title: string;
329
+ id: string;
330
330
  command: string;
331
331
  args: string[];
332
332
  platform: "windows" | "macos" | "common";
@@ -338,8 +338,8 @@ declare const PtyListResponseSchema: z.ZodObject<{
338
338
  }, "strip", z.ZodTypeAny, {
339
339
  type: "list";
340
340
  sessions: {
341
- id: string;
342
341
  title: string;
342
+ id: string;
343
343
  command: string;
344
344
  args: string[];
345
345
  platform: "windows" | "macos" | "common";
@@ -351,8 +351,8 @@ declare const PtyListResponseSchema: z.ZodObject<{
351
351
  }, {
352
352
  type: "list";
353
353
  sessions: {
354
- id: string;
355
354
  title: string;
355
+ id: string;
356
356
  command: string;
357
357
  args: string[];
358
358
  platform: "windows" | "macos" | "common";
@@ -463,12 +463,12 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
463
463
  value: number | null;
464
464
  type: "progress";
465
465
  sessionId: string;
466
- state: "set" | "clear" | "warning" | "error" | "indeterminate";
466
+ state: "clear" | "set" | "warning" | "error" | "indeterminate";
467
467
  }, {
468
468
  value: number | null;
469
469
  type: "progress";
470
470
  sessionId: string;
471
- state: "set" | "clear" | "warning" | "error" | "indeterminate";
471
+ state: "clear" | "set" | "warning" | "error" | "indeterminate";
472
472
  }>, z.ZodObject<{
473
473
  type: z.ZodLiteral<"prompt-state">;
474
474
  sessionId: z.ZodString;
@@ -521,8 +521,8 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
521
521
  closeTip: z.ZodOptional<z.ZodString>;
522
522
  closeCallbackUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
523
523
  }, "strip", z.ZodTypeAny, {
524
- id: string;
525
524
  title: string;
525
+ id: string;
526
526
  command: string;
527
527
  args: string[];
528
528
  platform: "windows" | "macos" | "common";
@@ -531,8 +531,8 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
531
531
  closeTip?: string | undefined;
532
532
  closeCallbackUrl?: string | Record<string, string> | undefined;
533
533
  }, {
534
- id: string;
535
534
  title: string;
535
+ id: string;
536
536
  command: string;
537
537
  args: string[];
538
538
  platform: "windows" | "macos" | "common";
@@ -544,8 +544,8 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
544
544
  }, "strip", z.ZodTypeAny, {
545
545
  type: "list";
546
546
  sessions: {
547
- id: string;
548
547
  title: string;
548
+ id: string;
549
549
  command: string;
550
550
  args: string[];
551
551
  platform: "windows" | "macos" | "common";
@@ -557,8 +557,8 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
557
557
  }, {
558
558
  type: "list";
559
559
  sessions: {
560
- id: string;
561
560
  title: string;
561
+ id: string;
562
562
  command: string;
563
563
  args: string[];
564
564
  platform: "windows" | "macos" | "common";
@@ -605,15 +605,15 @@ declare const TerminalShellProfileSchema: z.ZodObject<{
605
605
  source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
606
606
  quoteStyle: z.ZodDefault<z.ZodEnum<["posix", "cmd", "powershell"]>>;
607
607
  }, "strip", z.ZodTypeAny, {
608
- id: string;
609
608
  label: string;
610
609
  source: "custom" | "builtin";
610
+ id: string;
611
611
  command: string;
612
612
  args: string[];
613
613
  quoteStyle: "posix" | "cmd" | "powershell";
614
614
  }, {
615
- id: string;
616
615
  label: string;
616
+ id: string;
617
617
  command: string;
618
618
  source?: "custom" | "builtin" | undefined;
619
619
  args?: string[] | undefined;
@@ -633,17 +633,17 @@ declare const TerminalCommandFieldSchema: z.ZodObject<{
633
633
  }, "strip", z.ZodTypeAny, {
634
634
  options: string[];
635
635
  type: "boolean" | "text" | "textarea" | "select";
636
+ label: string;
636
637
  id: string;
637
638
  required: boolean;
638
- label: string;
639
639
  advanced: boolean;
640
640
  description?: string | undefined;
641
641
  placeholder?: string | undefined;
642
642
  defaultValue?: string | boolean | undefined;
643
643
  }, {
644
644
  type: "boolean" | "text" | "textarea" | "select";
645
- id: string;
646
645
  label: string;
646
+ id: string;
647
647
  options?: string[] | undefined;
648
648
  required?: boolean | undefined;
649
649
  description?: string | undefined;
@@ -1000,17 +1000,17 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1000
1000
  }, "strip", z.ZodTypeAny, {
1001
1001
  options: string[];
1002
1002
  type: "boolean" | "text" | "textarea" | "select";
1003
+ label: string;
1003
1004
  id: string;
1004
1005
  required: boolean;
1005
- label: string;
1006
1006
  advanced: boolean;
1007
1007
  description?: string | undefined;
1008
1008
  placeholder?: string | undefined;
1009
1009
  defaultValue?: string | boolean | undefined;
1010
1010
  }, {
1011
1011
  type: "boolean" | "text" | "textarea" | "select";
1012
- id: string;
1013
1012
  label: string;
1013
+ id: string;
1014
1014
  options?: string[] | undefined;
1015
1015
  required?: boolean | undefined;
1016
1016
  description?: string | undefined;
@@ -1172,9 +1172,9 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1172
1172
  shellProfileId: z.ZodOptional<z.ZodString>;
1173
1173
  source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
1174
1174
  }, "strip", z.ZodTypeAny, {
1175
- id: string;
1176
1175
  label: string;
1177
1176
  source: "custom" | "builtin";
1177
+ id: string;
1178
1178
  command: string;
1179
1179
  args: ({
1180
1180
  value: string;
@@ -1192,9 +1192,9 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1192
1192
  fields: {
1193
1193
  options: string[];
1194
1194
  type: "boolean" | "text" | "textarea" | "select";
1195
+ label: string;
1195
1196
  id: string;
1196
1197
  required: boolean;
1197
- label: string;
1198
1198
  advanced: boolean;
1199
1199
  description?: string | undefined;
1200
1200
  placeholder?: string | undefined;
@@ -1236,8 +1236,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1236
1236
  } | undefined;
1237
1237
  shellProfileId?: string | undefined;
1238
1238
  }, {
1239
- id: string;
1240
1239
  label: string;
1240
+ id: string;
1241
1241
  command: string;
1242
1242
  source?: "custom" | "builtin" | undefined;
1243
1243
  args?: ({
@@ -1256,8 +1256,8 @@ declare const TerminalSpawnCommandSchema: z.ZodObject<{
1256
1256
  description?: string | undefined;
1257
1257
  fields?: {
1258
1258
  type: "boolean" | "text" | "textarea" | "select";
1259
- id: string;
1260
1259
  label: string;
1260
+ id: string;
1261
1261
  options?: string[] | undefined;
1262
1262
  required?: boolean | undefined;
1263
1263
  description?: string | undefined;
@@ -1311,15 +1311,15 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1311
1311
  source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
1312
1312
  quoteStyle: z.ZodDefault<z.ZodEnum<["posix", "cmd", "powershell"]>>;
1313
1313
  }, "strip", z.ZodTypeAny, {
1314
- id: string;
1315
1314
  label: string;
1316
1315
  source: "custom" | "builtin";
1316
+ id: string;
1317
1317
  command: string;
1318
1318
  args: string[];
1319
1319
  quoteStyle: "posix" | "cmd" | "powershell";
1320
1320
  }, {
1321
- id: string;
1322
1321
  label: string;
1322
+ id: string;
1323
1323
  command: string;
1324
1324
  source?: "custom" | "builtin" | undefined;
1325
1325
  args?: string[] | undefined;
@@ -1380,17 +1380,17 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1380
1380
  }, "strip", z.ZodTypeAny, {
1381
1381
  options: string[];
1382
1382
  type: "boolean" | "text" | "textarea" | "select";
1383
+ label: string;
1383
1384
  id: string;
1384
1385
  required: boolean;
1385
- label: string;
1386
1386
  advanced: boolean;
1387
1387
  description?: string | undefined;
1388
1388
  placeholder?: string | undefined;
1389
1389
  defaultValue?: string | boolean | undefined;
1390
1390
  }, {
1391
1391
  type: "boolean" | "text" | "textarea" | "select";
1392
- id: string;
1393
1392
  label: string;
1393
+ id: string;
1394
1394
  options?: string[] | undefined;
1395
1395
  required?: boolean | undefined;
1396
1396
  description?: string | undefined;
@@ -1552,9 +1552,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1552
1552
  shellProfileId: z.ZodOptional<z.ZodString>;
1553
1553
  source: z.ZodDefault<z.ZodEnum<["builtin", "custom"]>>;
1554
1554
  }, "strip", z.ZodTypeAny, {
1555
- id: string;
1556
1555
  label: string;
1557
1556
  source: "custom" | "builtin";
1557
+ id: string;
1558
1558
  command: string;
1559
1559
  args: ({
1560
1560
  value: string;
@@ -1572,9 +1572,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1572
1572
  fields: {
1573
1573
  options: string[];
1574
1574
  type: "boolean" | "text" | "textarea" | "select";
1575
+ label: string;
1575
1576
  id: string;
1576
1577
  required: boolean;
1577
- label: string;
1578
1578
  advanced: boolean;
1579
1579
  description?: string | undefined;
1580
1580
  placeholder?: string | undefined;
@@ -1616,8 +1616,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1616
1616
  } | undefined;
1617
1617
  shellProfileId?: string | undefined;
1618
1618
  }, {
1619
- id: string;
1620
1619
  label: string;
1620
+ id: string;
1621
1621
  command: string;
1622
1622
  source?: "custom" | "builtin" | undefined;
1623
1623
  args?: ({
@@ -1636,8 +1636,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1636
1636
  description?: string | undefined;
1637
1637
  fields?: {
1638
1638
  type: "boolean" | "text" | "textarea" | "select";
1639
- id: string;
1640
1639
  label: string;
1640
+ id: string;
1641
1641
  options?: string[] | undefined;
1642
1642
  required?: boolean | undefined;
1643
1643
  description?: string | undefined;
@@ -1682,17 +1682,17 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1682
1682
  }>, "many">>;
1683
1683
  }, "strip", z.ZodTypeAny, {
1684
1684
  customShellProfiles: {
1685
- id: string;
1686
1685
  label: string;
1687
1686
  source: "custom" | "builtin";
1687
+ id: string;
1688
1688
  command: string;
1689
1689
  args: string[];
1690
1690
  quoteStyle: "posix" | "cmd" | "powershell";
1691
1691
  }[];
1692
1692
  customSpawnCommands: {
1693
- id: string;
1694
1693
  label: string;
1695
1694
  source: "custom" | "builtin";
1695
+ id: string;
1696
1696
  command: string;
1697
1697
  args: ({
1698
1698
  value: string;
@@ -1710,9 +1710,9 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1710
1710
  fields: {
1711
1711
  options: string[];
1712
1712
  type: "boolean" | "text" | "textarea" | "select";
1713
+ label: string;
1713
1714
  id: string;
1714
1715
  required: boolean;
1715
- label: string;
1716
1716
  advanced: boolean;
1717
1717
  description?: string | undefined;
1718
1718
  placeholder?: string | undefined;
@@ -1758,16 +1758,16 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1758
1758
  }, {
1759
1759
  defaultShellProfileId?: string | undefined;
1760
1760
  customShellProfiles?: {
1761
- id: string;
1762
1761
  label: string;
1762
+ id: string;
1763
1763
  command: string;
1764
1764
  source?: "custom" | "builtin" | undefined;
1765
1765
  args?: string[] | undefined;
1766
1766
  quoteStyle?: "posix" | "cmd" | "powershell" | undefined;
1767
1767
  }[] | undefined;
1768
1768
  customSpawnCommands?: {
1769
- id: string;
1770
1769
  label: string;
1770
+ id: string;
1771
1771
  command: string;
1772
1772
  source?: "custom" | "builtin" | undefined;
1773
1773
  args?: ({
@@ -1786,8 +1786,8 @@ declare const TerminalInvocationSettingsSchema: z.ZodObject<{
1786
1786
  description?: string | undefined;
1787
1787
  fields?: {
1788
1788
  type: "boolean" | "text" | "textarea" | "select";
1789
- id: string;
1790
1789
  label: string;
1790
+ id: string;
1791
1791
  options?: string[] | undefined;
1792
1792
  required?: boolean | undefined;
1793
1793
  description?: string | undefined;
@@ -1,2 +1,2 @@
1
- import { A as renderTerminalSpawnCommand, C as TerminalSpawnCommand, D as getTerminalCommandParameters, E as getTerminalCommandDefaultValues, M as resolveTerminalShellDefaults, O as quoteTerminalShellArg, S as TerminalShellQuoteStyleSchema, T as fieldsToTerminalCommandParameters, _ as TerminalShellDefaults, a as TerminalCommandBuilder, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, d as TerminalCommandJsonSchema, f as TerminalCommandJsonSchemaProperty, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, m as TerminalCommandRenderResult, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, o as TerminalCommandBuilderPart, p as TerminalCommandParameters, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, u as TerminalCommandFieldValues, v as TerminalShellEnv, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile } from "./terminal-invocation-BAcs7OE-.mjs";
1
+ import { A as renderTerminalSpawnCommand, C as TerminalSpawnCommand, D as getTerminalCommandParameters, E as getTerminalCommandDefaultValues, M as resolveTerminalShellDefaults, O as quoteTerminalShellArg, S as TerminalShellQuoteStyleSchema, T as fieldsToTerminalCommandParameters, _ as TerminalShellDefaults, a as TerminalCommandBuilder, b as TerminalShellProfileSchema, c as TerminalCommandFieldSchema, d as TerminalCommandJsonSchema, f as TerminalCommandJsonSchemaProperty, g as TerminalInvocationSettingsSchema, h as TerminalInvocationSettings, i as TerminalCommandArgument, j as renderTerminalSpawnCommandLine, k as renderTerminalCommandArgs, l as TerminalCommandFieldValue, m as TerminalCommandRenderResult, n as TERMINAL_COMMAND_FIELD_TYPE_VALUES, o as TerminalCommandBuilderPart, p as TerminalCommandParameters, r as TERMINAL_SHELL_QUOTE_STYLE_VALUES, s as TerminalCommandField, t as BUILTIN_TERMINAL_SPAWN_COMMANDS, u as TerminalCommandFieldValues, v as TerminalShellEnv, w as TerminalSpawnCommandSchema, x as TerminalShellQuoteStyle, y as TerminalShellProfile } from "./terminal-invocation-CpdllJff.mjs";
2
2
  export { BUILTIN_TERMINAL_SPAWN_COMMANDS, TERMINAL_COMMAND_FIELD_TYPE_VALUES, TERMINAL_SHELL_QUOTE_STYLE_VALUES, TerminalCommandArgument, TerminalCommandBuilder, TerminalCommandBuilderPart, TerminalCommandField, TerminalCommandFieldSchema, TerminalCommandFieldValue, TerminalCommandFieldValues, TerminalCommandJsonSchema, TerminalCommandJsonSchemaProperty, TerminalCommandParameters, TerminalCommandRenderResult, TerminalInvocationSettings, TerminalInvocationSettingsSchema, TerminalShellDefaults, TerminalShellEnv, TerminalShellProfile, TerminalShellProfileSchema, TerminalShellQuoteStyle, TerminalShellQuoteStyleSchema, TerminalSpawnCommand, TerminalSpawnCommandSchema, fieldsToTerminalCommandParameters, getTerminalCommandDefaultValues, getTerminalCommandParameters, quoteTerminalShellArg, renderTerminalCommandArgs, renderTerminalSpawnCommand, renderTerminalSpawnCommandLine, resolveTerminalShellDefaults };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openspecui/core",
3
- "version": "3.5.0",
3
+ "version": "3.5.2",
4
4
  "description": "Core OpenSpec adapter and parser",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",