@openspecui/core 3.8.0 → 3.10.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.
Files changed (24) hide show
  1. package/dist/{document-translation-BU8CM7oy.d.mts → document-translation-BZ5QKjN0.d.mts} +24 -24
  2. package/dist/document-translation.d.mts +1 -1
  3. package/dist/index.d.mts +54 -54
  4. package/dist/{local-download-profiles-BA0ArrI0.d.mts → local-download-profiles-Qu1932tV.d.mts} +1 -1
  5. package/dist/local-download-profiles.d.mts +2 -2
  6. package/dist/{notifications-DvyoW8gu.d.mts → notifications-D7tcKw71.d.mts} +13 -13
  7. package/dist/notifications.d.mts +2 -2
  8. package/dist/{openspec-projection-BA3r5CYl.d.mts → openspec-projection-Bby9mX80.d.mts} +1 -1
  9. package/dist/openspec-projection.d.mts +2 -2
  10. package/dist/{opsx-entity-pnjptBhO.d.mts → opsx-entity-DUJvjvrv.d.mts} +13 -13
  11. package/dist/opsx-entity.d.mts +2 -2
  12. package/dist/{opsx-schema-detail-X1wHtEmS.d.mts → opsx-schema-detail-CUG4dYdw.d.mts} +1 -1
  13. package/dist/opsx-schema-detail.d.mts +3 -3
  14. package/dist/{schemas-P5NxTHR9.d.mts → schemas-CqgvXgGV.d.mts} +42 -42
  15. package/dist/{sounds-CYknP1uN.d.mts → sounds-DABkmyg9.d.mts} +5 -5
  16. package/dist/sounds.d.mts +1 -1
  17. package/dist/{terminal-audio-DcVgLNsd.d.mts → terminal-audio-CDyXOIWx.d.mts} +2 -2
  18. package/dist/terminal-audio.d.mts +2 -2
  19. package/dist/terminal-control.d.mts +2 -2
  20. package/dist/{terminal-invocation-S8G5xSpv.d.mts → terminal-invocation-BnsT7ae7.d.mts} +91 -91
  21. package/dist/terminal-invocation.d.mts +1 -1
  22. package/dist/{translator-LOd1jBrH.d.mts → translator-C3W7bTIN.d.mts} +41 -41
  23. package/dist/translator.d.mts +1 -1
  24. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { x as SoundId } from "./sounds-CYknP1uN.mjs";
1
+ import { x as SoundId } from "./sounds-DABkmyg9.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
  }, {
@@ -304,7 +304,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
304
304
  href: string;
305
305
  };
306
306
  })[];
307
- level: "error" | "info" | "success" | "warning";
307
+ level: "info" | "success" | "warning" | "error";
308
308
  createdAt?: number | undefined;
309
309
  }, {
310
310
  title: string;
@@ -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";
@@ -340,7 +339,8 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
340
339
  };
341
340
  label?: string | undefined;
342
341
  })[] | undefined;
343
- level?: "error" | "info" | "success" | "warning" | undefined;
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: {
@@ -480,11 +478,11 @@ declare const NotificationRecordSchema: z.ZodObject<{
480
478
  href: string;
481
479
  };
482
480
  })[];
483
- level: "error" | "info" | "success" | "warning";
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?: ({
@@ -518,7 +518,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
518
518
  };
519
519
  label?: string | undefined;
520
520
  })[] | undefined;
521
- level?: "error" | "info" | "success" | "warning" | undefined;
521
+ level?: "info" | "success" | "warning" | "error" | undefined;
522
522
  }>;
523
523
  type NotificationRecord = z.infer<typeof NotificationRecordSchema>;
524
524
  interface NotificationAggregate {
@@ -1,3 +1,3 @@
1
- import "./sounds-CYknP1uN.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-DvyoW8gu.mjs";
1
+ import "./sounds-DABkmyg9.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-D7tcKw71.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 };
@@ -1,4 +1,4 @@
1
- import { g as Spec } from "./schemas-P5NxTHR9.mjs";
1
+ import { g as Spec } from "./schemas-CqgvXgGV.mjs";
2
2
  import { d as MarkdownReadingPlugin, l as MarkdownReadingDocument } from "./markdown-reading-DvLPaaY1.mjs";
3
3
  import { n as OpenSpecAnnotation, t as AnnotatedOpenSpecDocument } from "./openspec-annotations-DVbFBz5J.mjs";
4
4
 
@@ -1,6 +1,6 @@
1
- import "./schemas-P5NxTHR9.mjs";
1
+ import "./schemas-CqgvXgGV.mjs";
2
2
  import "./markdown-facts-DUsbNcjh.mjs";
3
3
  import "./markdown-reading-DvLPaaY1.mjs";
4
4
  import "./openspec-annotations-DVbFBz5J.mjs";
5
- import { a as OpenSpecReadingSectionsProjection, c as ProjectedOpenSpecDocument, d as getOpenSpecReadingSections, f as parseOpenSpecMarkdownToSpec, i as OpenSpecProjectionOptions, l as createOpenSpecReadingPlugin, m as projectOpenSpecMarkdown, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as OpenSpecRequirementBlock, p as projectAnnotatedOpenSpecToSpec, r as OpenSpecHeadingSection, s as OpenSpecScenarioBlock, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, u as getOpenSpecProjectionAnnotation } from "./openspec-projection-BA3r5CYl.mjs";
5
+ import { a as OpenSpecReadingSectionsProjection, c as ProjectedOpenSpecDocument, d as getOpenSpecReadingSections, f as parseOpenSpecMarkdownToSpec, i as OpenSpecProjectionOptions, l as createOpenSpecReadingPlugin, m as projectOpenSpecMarkdown, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as OpenSpecRequirementBlock, p as projectAnnotatedOpenSpecToSpec, r as OpenSpecHeadingSection, s as OpenSpecScenarioBlock, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, u as getOpenSpecProjectionAnnotation } from "./openspec-projection-Bby9mX80.mjs";
6
6
  export { OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, OPEN_SPEC_SPEC_PROJECTION_ID, OpenSpecHeadingSection, OpenSpecProjectionOptions, OpenSpecReadingSectionsProjection, OpenSpecRequirementBlock, OpenSpecScenarioBlock, ProjectedOpenSpecDocument, createOpenSpecReadingPlugin, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, parseOpenSpecMarkdownToSpec, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown };
@@ -1,4 +1,4 @@
1
- import { n as ChangeFile } from "./schemas-P5NxTHR9.mjs";
1
+ import { n as ChangeFile } from "./schemas-CqgvXgGV.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/opsx-types.d.ts
@@ -146,16 +146,16 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
146
146
  complete: number;
147
147
  remaining: number;
148
148
  };
149
+ changeName: string;
150
+ schemaName: string;
151
+ changeDir: string;
152
+ contextFiles: Record<string, string[]>;
149
153
  tasks: {
150
154
  id: string;
151
155
  description: string;
152
156
  done: boolean;
153
157
  }[];
154
158
  state: "ready" | "blocked" | "all_done";
155
- changeName: string;
156
- schemaName: string;
157
- changeDir: string;
158
- contextFiles: Record<string, string[]>;
159
159
  instruction: string;
160
160
  missingArtifacts?: string[] | undefined;
161
161
  }, {
@@ -164,16 +164,16 @@ declare const ApplyInstructionsSchema: z.ZodObject<{
164
164
  complete: number;
165
165
  remaining: number;
166
166
  };
167
+ changeName: string;
168
+ schemaName: string;
169
+ changeDir: string;
170
+ contextFiles: Record<string, string | string[]>;
167
171
  tasks: {
168
172
  id: string;
169
173
  description: string;
170
174
  done: boolean;
171
175
  }[];
172
176
  state: "ready" | "blocked" | "all_done";
173
- changeName: string;
174
- schemaName: string;
175
- changeDir: string;
176
- contextFiles: Record<string, string | string[]>;
177
177
  instruction: string;
178
178
  missingArtifacts?: string[] | undefined;
179
179
  }>;
@@ -250,13 +250,13 @@ declare const SchemaInfoSchema: z.ZodObject<{
250
250
  artifacts: z.ZodArray<z.ZodString, "many">;
251
251
  source: z.ZodEnum<["project", "user", "package"]>;
252
252
  }, "strip", z.ZodTypeAny, {
253
- name: string;
254
253
  source: "project" | "user" | "package";
254
+ name: string;
255
255
  artifacts: string[];
256
256
  description?: string | undefined;
257
257
  }, {
258
- name: string;
259
258
  source: "project" | "user" | "package";
259
+ name: string;
260
260
  artifacts: string[];
261
261
  description?: string | undefined;
262
262
  }>;
@@ -281,8 +281,8 @@ declare const SchemaResolutionSchema: z.ZodObject<{
281
281
  }>, "many">;
282
282
  }, "strip", z.ZodTypeAny, {
283
283
  path: string;
284
- name: string;
285
284
  source: "project" | "user" | "package";
285
+ name: string;
286
286
  shadows: {
287
287
  path: string;
288
288
  source: "project" | "user" | "package";
@@ -291,8 +291,8 @@ declare const SchemaResolutionSchema: z.ZodObject<{
291
291
  displayPath?: string | undefined;
292
292
  }, {
293
293
  path: string;
294
- name: string;
295
294
  source: "project" | "user" | "package";
295
+ name: string;
296
296
  shadows: {
297
297
  path: string;
298
298
  source: "project" | "user" | "package";
@@ -1,3 +1,3 @@
1
- import { a as OpsxEntityFile, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, l as getOpsxEntityMetadataPath, m as opsxPathMatchesPattern, n as OpsxEntityArtifactFile, o as OpsxEntityReadOptions, p as opsxGlobToRegex, r as OpsxEntityDetail, s as OpsxEntityStage, t as OpsxEntityArtifact, u as getOpsxEntityRootRelativePath } from "./opsx-entity-pnjptBhO.mjs";
2
- import "./schemas-P5NxTHR9.mjs";
1
+ import { a as OpsxEntityFile, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, l as getOpsxEntityMetadataPath, m as opsxPathMatchesPattern, n as OpsxEntityArtifactFile, o as OpsxEntityReadOptions, p as opsxGlobToRegex, r as OpsxEntityDetail, s as OpsxEntityStage, t as OpsxEntityArtifact, u as getOpsxEntityRootRelativePath } from "./opsx-entity-DUJvjvrv.mjs";
2
+ import "./schemas-CqgvXgGV.mjs";
3
3
  export { OpsxEntityArtifact, OpsxEntityArtifactFile, OpsxEntityDetail, OpsxEntityDiagnostic, OpsxEntityFile, OpsxEntityReadOptions, OpsxEntityStage, buildOpsxEntityDetail, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, isOpsxGlobPattern, normalizeOpsxEntityPath, opsxGlobToRegex, opsxPathMatchesPattern, parseOpsxEntityMetadata };
@@ -1,4 +1,4 @@
1
- import { i as OpsxEntityDiagnostic, j as SchemaDetail } from "./opsx-entity-pnjptBhO.mjs";
1
+ import { i as OpsxEntityDiagnostic, j as SchemaDetail } from "./opsx-entity-DUJvjvrv.mjs";
2
2
 
3
3
  //#region src/opsx-schema-detail.d.ts
4
4
  interface ParsedOpsxSchemaDetail {
@@ -1,4 +1,4 @@
1
- import "./opsx-entity-pnjptBhO.mjs";
2
- import "./schemas-P5NxTHR9.mjs";
3
- import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-X1wHtEmS.mjs";
1
+ import "./opsx-entity-DUJvjvrv.mjs";
2
+ import "./schemas-CqgvXgGV.mjs";
3
+ import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-CUG4dYdw.mjs";
4
4
  export { ParsedOpsxSchemaDetail, parseOpsxSchemaDetail };
@@ -102,8 +102,8 @@ declare const RequirementSchema: z.ZodObject<{
102
102
  }[] | undefined;
103
103
  }>, "many">;
104
104
  }, "strip", z.ZodTypeAny, {
105
- id: string;
106
105
  title: string;
106
+ id: string;
107
107
  text: string;
108
108
  bodyMarkdown: string;
109
109
  scenarios: {
@@ -117,8 +117,8 @@ declare const RequirementSchema: z.ZodObject<{
117
117
  }[] | undefined;
118
118
  }[];
119
119
  }, {
120
- id: string;
121
120
  title: string;
121
+ id: string;
122
122
  text: string;
123
123
  bodyMarkdown: string;
124
124
  scenarios: {
@@ -199,8 +199,8 @@ declare const SpecSchema: z.ZodObject<{
199
199
  }[] | undefined;
200
200
  }>, "many">;
201
201
  }, "strip", z.ZodTypeAny, {
202
- id: string;
203
202
  title: string;
203
+ id: string;
204
204
  text: string;
205
205
  bodyMarkdown: string;
206
206
  scenarios: {
@@ -214,8 +214,8 @@ declare const SpecSchema: z.ZodObject<{
214
214
  }[] | undefined;
215
215
  }[];
216
216
  }, {
217
- id: string;
218
217
  title: string;
218
+ id: string;
219
219
  text: string;
220
220
  bodyMarkdown: string;
221
221
  scenarios: {
@@ -248,8 +248,8 @@ declare const SpecSchema: z.ZodObject<{
248
248
  name: string;
249
249
  overview: string;
250
250
  requirements: {
251
- id: string;
252
251
  title: string;
252
+ id: string;
253
253
  text: string;
254
254
  bodyMarkdown: string;
255
255
  scenarios: {
@@ -273,8 +273,8 @@ declare const SpecSchema: z.ZodObject<{
273
273
  name: string;
274
274
  overview: string;
275
275
  requirements: {
276
- id: string;
277
276
  title: string;
277
+ id: string;
278
278
  text: string;
279
279
  bodyMarkdown: string;
280
280
  scenarios: {
@@ -362,8 +362,8 @@ declare const DeltaSchema: z.ZodObject<{
362
362
  }[] | undefined;
363
363
  }>, "many">;
364
364
  }, "strip", z.ZodTypeAny, {
365
- id: string;
366
365
  title: string;
366
+ id: string;
367
367
  text: string;
368
368
  bodyMarkdown: string;
369
369
  scenarios: {
@@ -377,8 +377,8 @@ declare const DeltaSchema: z.ZodObject<{
377
377
  }[] | undefined;
378
378
  }[];
379
379
  }, {
380
- id: string;
381
380
  title: string;
381
+ id: string;
382
382
  text: string;
383
383
  bodyMarkdown: string;
384
384
  scenarios: {
@@ -447,8 +447,8 @@ declare const DeltaSchema: z.ZodObject<{
447
447
  }[] | undefined;
448
448
  }>, "many">;
449
449
  }, "strip", z.ZodTypeAny, {
450
- id: string;
451
450
  title: string;
451
+ id: string;
452
452
  text: string;
453
453
  bodyMarkdown: string;
454
454
  scenarios: {
@@ -462,8 +462,8 @@ declare const DeltaSchema: z.ZodObject<{
462
462
  }[] | undefined;
463
463
  }[];
464
464
  }, {
465
- id: string;
466
465
  title: string;
466
+ id: string;
467
467
  text: string;
468
468
  bodyMarkdown: string;
469
469
  scenarios: {
@@ -493,8 +493,8 @@ declare const DeltaSchema: z.ZodObject<{
493
493
  spec: string;
494
494
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
495
495
  requirements?: {
496
- id: string;
497
496
  title: string;
497
+ id: string;
498
498
  text: string;
499
499
  bodyMarkdown: string;
500
500
  scenarios: {
@@ -509,8 +509,8 @@ declare const DeltaSchema: z.ZodObject<{
509
509
  }[];
510
510
  }[] | undefined;
511
511
  requirement?: {
512
- id: string;
513
512
  title: string;
513
+ id: string;
514
514
  text: string;
515
515
  bodyMarkdown: string;
516
516
  scenarios: {
@@ -533,8 +533,8 @@ declare const DeltaSchema: z.ZodObject<{
533
533
  spec: string;
534
534
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
535
535
  requirements?: {
536
- id: string;
537
536
  title: string;
537
+ id: string;
538
538
  text: string;
539
539
  bodyMarkdown: string;
540
540
  scenarios: {
@@ -549,8 +549,8 @@ declare const DeltaSchema: z.ZodObject<{
549
549
  }[];
550
550
  }[] | undefined;
551
551
  requirement?: {
552
- id: string;
553
552
  title: string;
553
+ id: string;
554
554
  text: string;
555
555
  bodyMarkdown: string;
556
556
  scenarios: {
@@ -692,8 +692,8 @@ declare const ChangeSchema: z.ZodObject<{
692
692
  }[] | undefined;
693
693
  }>, "many">;
694
694
  }, "strip", z.ZodTypeAny, {
695
- id: string;
696
695
  title: string;
696
+ id: string;
697
697
  text: string;
698
698
  bodyMarkdown: string;
699
699
  scenarios: {
@@ -707,8 +707,8 @@ declare const ChangeSchema: z.ZodObject<{
707
707
  }[] | undefined;
708
708
  }[];
709
709
  }, {
710
- id: string;
711
710
  title: string;
711
+ id: string;
712
712
  text: string;
713
713
  bodyMarkdown: string;
714
714
  scenarios: {
@@ -777,8 +777,8 @@ declare const ChangeSchema: z.ZodObject<{
777
777
  }[] | undefined;
778
778
  }>, "many">;
779
779
  }, "strip", z.ZodTypeAny, {
780
- id: string;
781
780
  title: string;
781
+ id: string;
782
782
  text: string;
783
783
  bodyMarkdown: string;
784
784
  scenarios: {
@@ -792,8 +792,8 @@ declare const ChangeSchema: z.ZodObject<{
792
792
  }[] | undefined;
793
793
  }[];
794
794
  }, {
795
- id: string;
796
795
  title: string;
796
+ id: string;
797
797
  text: string;
798
798
  bodyMarkdown: string;
799
799
  scenarios: {
@@ -823,8 +823,8 @@ declare const ChangeSchema: z.ZodObject<{
823
823
  spec: string;
824
824
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
825
825
  requirements?: {
826
- id: string;
827
826
  title: string;
827
+ id: string;
828
828
  text: string;
829
829
  bodyMarkdown: string;
830
830
  scenarios: {
@@ -839,8 +839,8 @@ declare const ChangeSchema: z.ZodObject<{
839
839
  }[];
840
840
  }[] | undefined;
841
841
  requirement?: {
842
- id: string;
843
842
  title: string;
843
+ id: string;
844
844
  text: string;
845
845
  bodyMarkdown: string;
846
846
  scenarios: {
@@ -863,8 +863,8 @@ declare const ChangeSchema: z.ZodObject<{
863
863
  spec: string;
864
864
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
865
865
  requirements?: {
866
- id: string;
867
866
  title: string;
867
+ id: string;
868
868
  text: string;
869
869
  bodyMarkdown: string;
870
870
  scenarios: {
@@ -879,8 +879,8 @@ declare const ChangeSchema: z.ZodObject<{
879
879
  }[];
880
880
  }[] | undefined;
881
881
  requirement?: {
882
- id: string;
883
882
  title: string;
883
+ id: string;
884
884
  text: string;
885
885
  bodyMarkdown: string;
886
886
  scenarios: {
@@ -925,11 +925,11 @@ declare const ChangeSchema: z.ZodObject<{
925
925
  total: z.ZodNumber;
926
926
  completed: z.ZodNumber;
927
927
  }, "strip", z.ZodTypeAny, {
928
- completed: number;
929
928
  total: number;
930
- }, {
931
929
  completed: number;
930
+ }, {
932
931
  total: number;
932
+ completed: number;
933
933
  }>;
934
934
  /** Optional design.md content */
935
935
  design: z.ZodOptional<z.ZodString>;
@@ -960,10 +960,16 @@ declare const ChangeSchema: z.ZodObject<{
960
960
  }, "strip", z.ZodTypeAny, {
961
961
  id: string;
962
962
  progress: {
963
- completed: number;
964
963
  total: number;
964
+ completed: number;
965
965
  };
966
966
  name: string;
967
+ tasks: {
968
+ id: string;
969
+ text: string;
970
+ completed: boolean;
971
+ section?: string | undefined;
972
+ }[];
967
973
  why: string;
968
974
  whatChanges: string;
969
975
  deltas: {
@@ -971,8 +977,8 @@ declare const ChangeSchema: z.ZodObject<{
971
977
  spec: string;
972
978
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
973
979
  requirements?: {
974
- id: string;
975
980
  title: string;
981
+ id: string;
976
982
  text: string;
977
983
  bodyMarkdown: string;
978
984
  scenarios: {
@@ -987,8 +993,8 @@ declare const ChangeSchema: z.ZodObject<{
987
993
  }[];
988
994
  }[] | undefined;
989
995
  requirement?: {
990
- id: string;
991
996
  title: string;
997
+ id: string;
992
998
  text: string;
993
999
  bodyMarkdown: string;
994
1000
  scenarios: {
@@ -1007,12 +1013,6 @@ declare const ChangeSchema: z.ZodObject<{
1007
1013
  to: string;
1008
1014
  } | undefined;
1009
1015
  }[];
1010
- tasks: {
1011
- id: string;
1012
- text: string;
1013
- completed: boolean;
1014
- section?: string | undefined;
1015
- }[];
1016
1016
  metadata?: {
1017
1017
  version: string;
1018
1018
  format: "openspec-change";
@@ -1025,10 +1025,16 @@ declare const ChangeSchema: z.ZodObject<{
1025
1025
  }, {
1026
1026
  id: string;
1027
1027
  progress: {
1028
- completed: number;
1029
1028
  total: number;
1029
+ completed: number;
1030
1030
  };
1031
1031
  name: string;
1032
+ tasks: {
1033
+ id: string;
1034
+ text: string;
1035
+ completed: boolean;
1036
+ section?: string | undefined;
1037
+ }[];
1032
1038
  why: string;
1033
1039
  whatChanges: string;
1034
1040
  deltas: {
@@ -1036,8 +1042,8 @@ declare const ChangeSchema: z.ZodObject<{
1036
1042
  spec: string;
1037
1043
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
1038
1044
  requirements?: {
1039
- id: string;
1040
1045
  title: string;
1046
+ id: string;
1041
1047
  text: string;
1042
1048
  bodyMarkdown: string;
1043
1049
  scenarios: {
@@ -1052,8 +1058,8 @@ declare const ChangeSchema: z.ZodObject<{
1052
1058
  }[];
1053
1059
  }[] | undefined;
1054
1060
  requirement?: {
1055
- id: string;
1056
1061
  title: string;
1062
+ id: string;
1057
1063
  text: string;
1058
1064
  bodyMarkdown: string;
1059
1065
  scenarios: {
@@ -1072,12 +1078,6 @@ declare const ChangeSchema: z.ZodObject<{
1072
1078
  to: string;
1073
1079
  } | undefined;
1074
1080
  }[];
1075
- tasks: {
1076
- id: string;
1077
- text: string;
1078
- completed: boolean;
1079
- section?: string | undefined;
1080
- }[];
1081
1081
  metadata?: {
1082
1082
  version?: string | undefined;
1083
1083
  format?: "openspec-change" | undefined;
@@ -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,19 +41,19 @@ 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
  updatedAt: number;
46
47
  name: string;
47
48
  mime: string;
48
49
  size: number;
49
- createdAt: number;
50
50
  }, {
51
+ createdAt: number;
51
52
  id: string;
52
53
  updatedAt: number;
53
54
  name: string;
54
55
  mime: string;
55
56
  size: number;
56
- createdAt: number;
57
57
  }>;
58
58
  type CustomSoundMetadata = z.infer<typeof CustomSoundMetadataSchema>;
59
59
  declare const CustomSoundMetadataFileSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -64,19 +64,19 @@ 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
  updatedAt: number;
69
70
  name: string;
70
71
  mime: string;
71
72
  size: number;
72
- createdAt: number;
73
73
  }, {
74
+ createdAt: number;
74
75
  id: string;
75
76
  updatedAt: number;
76
77
  name: string;
77
78
  mime: string;
78
79
  size: number;
79
- createdAt: number;
80
80
  }>>;
81
81
  type CustomSoundMetadataFile = z.infer<typeof CustomSoundMetadataFileSchema>;
82
82
  declare function soundIdFromCustomHash(hash: CustomSoundHash): CustomSoundId;
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-CYknP1uN.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-DABkmyg9.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-CYknP1uN.mjs";
1
+ import { x as SoundId } from "./sounds-DABkmyg9.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-CYknP1uN.mjs";
2
- import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-DcVgLNsd.mjs";
1
+ import "./sounds-DABkmyg9.mjs";
2
+ import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-CDyXOIWx.mjs";
3
3
  export { TERMINAL_BELL_SOUND_OPTIONS, TERMINAL_BELL_SOUND_VALUES, TerminalBellSound, TerminalBellSoundSchema };
@@ -1,3 +1,3 @@
1
- import "./sounds-CYknP1uN.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-DvyoW8gu.mjs";
1
+ import "./sounds-DABkmyg9.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-D7tcKw71.mjs";
3
3
  export { TerminalControlEvent, TerminalControlParseResult, TerminalControlParser, TerminalNotificationProtocol, TerminalProgressState, TerminalPromptState, TerminalTitleTarget, terminalNotificationEventToPublishInput };