@openspecui/core 3.6.1 → 3.7.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 (63) hide show
  1. package/dist/document-translation-CEI09yZe.mjs +13 -0
  2. package/dist/document-translation-CuCbRCNb.d.mts +22 -0
  3. package/dist/document-translation.d.mts +2 -0
  4. package/dist/document-translation.mjs +3 -0
  5. package/dist/hosted-app.d.mts +1 -1
  6. package/dist/hosted-app.mjs +1 -1
  7. package/dist/index.d.mts +63 -443
  8. package/dist/index.mjs +47 -62
  9. package/dist/markdown-facts.d.mts +1 -1
  10. package/dist/markdown-facts.mjs +1 -1
  11. package/dist/{markdown-reading-D36W693c.d.mts → markdown-reading-BC6uFgx0.d.mts} +10 -2
  12. package/dist/{markdown-reading-CrchEfoW.mjs → markdown-reading-CsL1q84q.mjs} +23 -4
  13. package/dist/markdown-reading.d.mts +3 -3
  14. package/dist/markdown-reading.mjs +3 -3
  15. package/dist/{notifications-CCV2bgWG.d.mts → notifications-CbKmEdCU.d.mts} +9 -9
  16. package/dist/{notifications-fD-V5hyP.mjs → notifications-DXOoOJ3m.mjs} +2 -2
  17. package/dist/notifications.d.mts +2 -2
  18. package/dist/notifications.mjs +3 -3
  19. package/dist/{openspec-annotations-CJmYcfAu.d.mts → openspec-annotations-DKP1Uuho.d.mts} +2 -2
  20. package/dist/{openspec-annotations-BMy9nWUe.mjs → openspec-annotations-D_xQqQOB.mjs} +2 -2
  21. package/dist/openspec-annotations.d.mts +3 -3
  22. package/dist/openspec-annotations.mjs +3 -3
  23. package/dist/openspec-projection-Co3CUAHe.d.mts +52 -0
  24. package/dist/{openspec-projection-DWqBxedv.mjs → openspec-projection-DLGD1JFD.mjs} +2 -2
  25. package/dist/openspec-projection.d.mts +5 -4
  26. package/dist/openspec-projection.mjs +4 -4
  27. package/dist/opsx-display-path.d.mts +1 -1
  28. package/dist/opsx-display-path.mjs +1 -1
  29. package/dist/opsx-entity-B_Od4N3r.mjs +144 -0
  30. package/dist/opsx-entity-Cz89hbt3.d.mts +453 -0
  31. package/dist/opsx-entity.d.mts +3 -0
  32. package/dist/opsx-entity.mjs +3 -0
  33. package/dist/opsx-schema-detail-Bh-aNaSk.mjs +114 -0
  34. package/dist/opsx-schema-detail-CuDl2xjZ.d.mts +12 -0
  35. package/dist/opsx-schema-detail.d.mts +4 -0
  36. package/dist/opsx-schema-detail.mjs +3 -0
  37. package/dist/{openspec-projection-DmB448No.d.mts → schemas-q7tGvvxx.d.mts} +35 -84
  38. package/dist/{sounds-B0sH3QwE.d.mts → sounds-BORGLPIt.d.mts} +5 -5
  39. package/dist/sounds.d.mts +1 -1
  40. package/dist/sounds.mjs +1 -1
  41. package/dist/{terminal-audio-UEv3j655.mjs → terminal-audio-BiQ9qJJW.mjs} +1 -1
  42. package/dist/{terminal-audio-qSc6nZUI.d.mts → terminal-audio-Dmi6lR7o.d.mts} +2 -2
  43. package/dist/terminal-audio.d.mts +2 -2
  44. package/dist/terminal-audio.mjs +2 -2
  45. package/dist/terminal-control.d.mts +2 -2
  46. package/dist/terminal-control.mjs +1 -1
  47. package/dist/{terminal-invocation-BCqjtd4p.d.mts → terminal-invocation-C733ofmf.d.mts} +36 -36
  48. package/dist/terminal-invocation.d.mts +1 -1
  49. package/dist/terminal-invocation.mjs +1 -1
  50. package/dist/terminal-theme.d.mts +1 -1
  51. package/dist/terminal-theme.mjs +1 -1
  52. package/package.json +15 -3
  53. /package/dist/{hosted-app-DFFffbJc.mjs → hosted-app-Bl5W6LWQ.mjs} +0 -0
  54. /package/dist/{hosted-app-DZrYivji.d.mts → hosted-app-DHrXW3jc.d.mts} +0 -0
  55. /package/dist/{markdown-facts-BmSmZmpB.mjs → markdown-facts-BFqXdPfN.mjs} +0 -0
  56. /package/dist/{markdown-facts-f3kXnqXb.d.mts → markdown-facts-DxElzSsp.d.mts} +0 -0
  57. /package/dist/{opsx-display-path-D4KLYRXQ.mjs → opsx-display-path-BHEPZsJx.mjs} +0 -0
  58. /package/dist/{opsx-display-path-CkV9sq_j.d.mts → opsx-display-path-BKUYCqwP.d.mts} +0 -0
  59. /package/dist/{sounds-BzNKMW05.mjs → sounds-Ctm3QEtf.mjs} +0 -0
  60. /package/dist/{terminal-control-Bxois59k.mjs → terminal-control-CMkG-o9C.mjs} +0 -0
  61. /package/dist/{terminal-invocation-BRCuSBjE.mjs → terminal-invocation-CX1LDM89.mjs} +0 -0
  62. /package/dist/{terminal-theme-CIv3YMfi.mjs → terminal-theme-BOGPIiVm.mjs} +0 -0
  63. /package/dist/{terminal-theme-lPZGfVA_.d.mts → terminal-theme-DdhVuegL.d.mts} +0 -0
package/dist/index.d.mts CHANGED
@@ -1,14 +1,18 @@
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-DZrYivji.mjs";
2
- import { A as Spec, C as DeltaSpec, D as ScenarioStep, E as RequirementSchema, M as Task, N as TaskSchema, O as ScenarioStepKeywordSchema, S as DeltaSchema, T as Requirement, _ as ChangeFileSchema, a as OpenSpecReadingSectionsProjection, b as DeltaOperation, c as ProjectedOpenSpecDocument, d as getOpenSpecReadingSections, f as parseOpenSpecMarkdownToSpec, g as ChangeFile, h as Change, i as OpenSpecProjectionOptions, j as SpecSchema, k as ScenarioStepSchema, 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, v as ChangeSchema, w as DeltaSpecSchema, x as DeltaOperationType, y as Delta } from "./openspec-projection-DmB448No.mjs";
3
- import { a as MarkdownSourceRange, i as MarkdownSourcePoint, n as MarkdownFactKind, o as parseMarkdownFacts, r as MarkdownFactsDocument, s as toMarkdownFactKind, t as MarkdownFact } from "./markdown-facts-f3kXnqXb.mjs";
4
- import { _ as getMarkdownFactSpan, a as MarkdownAnnotationRule, b as trimMarkdownSlice, c as MarkdownProjectionRule, d as MarkdownReadingPlugin, f as buildMarkdownParentMap, g as getMarkdownAnnotationsForFact, h as getMarkdownAnnotation, i as MarkdownAnnotationInput, l as MarkdownReadingDocument, m as createMarkdownReadingDocumentFromFacts, n as MarkdownAnnotationConfidence, o as MarkdownFactSpan, p as createMarkdownReadingDocument, r as MarkdownAnnotationContext, s as MarkdownProjectionContext, t as MarkdownAnnotation, u as MarkdownReadingLookup, v as getMarkdownHeadingEnd, y as getMarkdownHeadingFacts } from "./markdown-reading-D36W693c.mjs";
5
- import { c as OpenSpecScenarioStepKeyword, d as annotateOpenSpecMarkdown, f as builtinOpenSpecReadingPlugin, h as openSpecAnnotationRules, l as OpenSpecSemanticKind, m as getOpenSpecAnnotationsForFact, n as OpenSpecAnnotation, p as getOpenSpecAnnotation, r as OpenSpecAnnotationConfidence, t as AnnotatedOpenSpecDocument, u as annotateOpenSpecFacts } from "./openspec-annotations-CJmYcfAu.mjs";
6
- 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-B0sH3QwE.mjs";
7
- 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-CCV2bgWG.mjs";
8
- import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-qSc6nZUI.mjs";
9
- import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-CkV9sq_j.mjs";
10
- 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-BCqjtd4p.mjs";
11
- 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-lPZGfVA_.mjs";
1
+ import { a as DocumentTranslationDisplayModeSchema, i as DocumentTranslationDisplayMode, n as DocumentTranslationConfig, r as DocumentTranslationConfigSchema, t as DOCUMENT_TRANSLATION_DISPLAY_MODES } from "./document-translation-CuCbRCNb.mjs";
2
+ 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-DHrXW3jc.mjs";
3
+ import { A as SchemaArtifactSchema, C as ArtifactStatus, D as DependencyInfo, E as ChangeStatusSchema, F as SchemaResolution, I as SchemaResolutionSchema, L as TemplatesMap, M as SchemaDetailSchema, N as SchemaInfo, O as DependencyInfoSchema, P as SchemaInfoSchema, R as TemplatesSchema, S as ArtifactInstructionsSchema, T as ChangeStatus, _ as ApplyInstructionsContextFilesSchema, a as OpsxEntityFile, b as ApplyTaskSchema, c as buildOpsxEntityDetail, d as isOpsxGlobPattern, f as normalizeOpsxEntityPath, g as ApplyInstructions, h as parseOpsxEntityMetadata, i as OpsxEntityDiagnostic, j as SchemaDetail, k as SchemaArtifact, 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, v as ApplyInstructionsSchema, w as ArtifactStatusSchema, x as ArtifactInstructions, y as ApplyTask, z as isGlobPattern } from "./opsx-entity-Cz89hbt3.mjs";
4
+ import { _ as SpecSchema, a as Delta, c as DeltaSchema, d as Requirement, f as RequirementSchema, g as Spec, h as ScenarioStepSchema, i as ChangeSchema, l as DeltaSpec, m as ScenarioStepKeywordSchema, n as ChangeFile, o as DeltaOperation, p as ScenarioStep, r as ChangeFileSchema, s as DeltaOperationType, t as Change, u as DeltaSpecSchema, v as Task, y as TaskSchema } from "./schemas-q7tGvvxx.mjs";
5
+ import { a as MarkdownSourceRange, i as MarkdownSourcePoint, n as MarkdownFactKind, o as parseMarkdownFacts, r as MarkdownFactsDocument, s as toMarkdownFactKind, t as MarkdownFact } from "./markdown-facts-DxElzSsp.mjs";
6
+ import { S as trimMarkdownSlice, _ as getMarkdownAnnotationsForFact, a as MarkdownAnnotationRule, b as getMarkdownHeadingFacts, c as MarkdownProjectionRule, d as MarkdownReadingPlugin, f as MarkdownReadingPluginRegistry, g as getMarkdownAnnotation, h as createMarkdownReadingDocumentFromFacts, i as MarkdownAnnotationInput, l as MarkdownReadingDocument, m as createMarkdownReadingDocument, n as MarkdownAnnotationConfidence, o as MarkdownFactSpan, p as buildMarkdownParentMap, r as MarkdownAnnotationContext, s as MarkdownProjectionContext, t as MarkdownAnnotation, u as MarkdownReadingLookup, v as getMarkdownFactSpan, x as sortMarkdownReadingPlugins, y as getMarkdownHeadingEnd } from "./markdown-reading-BC6uFgx0.mjs";
7
+ import { c as OpenSpecScenarioStepKeyword, d as annotateOpenSpecMarkdown, f as builtinOpenSpecReadingPlugin, h as openSpecAnnotationRules, l as OpenSpecSemanticKind, m as getOpenSpecAnnotationsForFact, n as OpenSpecAnnotation, p as getOpenSpecAnnotation, r as OpenSpecAnnotationConfidence, t as AnnotatedOpenSpecDocument, u as annotateOpenSpecFacts } from "./openspec-annotations-DKP1Uuho.mjs";
8
+ 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-Co3CUAHe.mjs";
9
+ 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-BORGLPIt.mjs";
10
+ 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-CbKmEdCU.mjs";
11
+ import { i as TerminalBellSoundSchema, n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSound, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-Dmi6lR7o.mjs";
12
+ import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-BKUYCqwP.mjs";
13
+ 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-C733ofmf.mjs";
14
+ 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-DdhVuegL.mjs";
15
+ import { n as parseOpsxSchemaDetail, t as ParsedOpsxSchemaDetail } from "./opsx-schema-detail-CuDl2xjZ.mjs";
12
16
  import { AsyncLocalStorage } from "node:async_hooks";
13
17
  import { z } from "zod";
14
18
  import { EventEmitter } from "events";
@@ -116,6 +120,7 @@ declare class OpenSpecAdapter {
116
120
  readChange(changeId: string): Promise<Change | null>;
117
121
  readChangeFiles(changeId: string): Promise<ChangeFile[]>;
118
122
  readArchivedChangeFiles(changeId: string): Promise<ChangeFile[]>;
123
+ readEntityDetail(stage: 'change' | 'archive', id: string, options?: OpsxEntityReadOptions): Promise<OpsxEntityDetail | null>;
119
124
  private readFilesUnderRoot;
120
125
  private collectChangeFiles;
121
126
  readChangeRaw(changeId: string): Promise<{
@@ -158,8 +163,8 @@ declare class OpenSpecAdapter {
158
163
  name: string;
159
164
  overview: string;
160
165
  requirements: {
161
- id: string;
162
166
  title: string;
167
+ id: string;
163
168
  text: string;
164
169
  bodyMarkdown: string;
165
170
  scenarios: {
@@ -182,6 +187,10 @@ declare class OpenSpecAdapter {
182
187
  changes: {
183
188
  id: string;
184
189
  name: string;
190
+ progress: {
191
+ completed: number;
192
+ total: number;
193
+ };
185
194
  why: string;
186
195
  whatChanges: string;
187
196
  deltas: {
@@ -189,8 +198,8 @@ declare class OpenSpecAdapter {
189
198
  spec: string;
190
199
  operation: "ADDED" | "MODIFIED" | "REMOVED" | "RENAMED";
191
200
  requirements?: {
192
- id: string;
193
201
  title: string;
202
+ id: string;
194
203
  text: string;
195
204
  bodyMarkdown: string;
196
205
  scenarios: {
@@ -205,8 +214,8 @@ declare class OpenSpecAdapter {
205
214
  }[];
206
215
  }[] | undefined;
207
216
  requirement?: {
208
- id: string;
209
217
  title: string;
218
+ id: string;
210
219
  text: string;
211
220
  bodyMarkdown: string;
212
221
  scenarios: {
@@ -231,10 +240,6 @@ declare class OpenSpecAdapter {
231
240
  completed: boolean;
232
241
  section?: string | undefined;
233
242
  }[];
234
- progress: {
235
- completed: number;
236
- total: number;
237
- };
238
243
  metadata?: {
239
244
  version: string;
240
245
  format: "openspec-change";
@@ -851,7 +856,7 @@ declare const TerminalConfigSchema: z.ZodObject<{
851
856
  lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
852
857
  darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
853
858
  rendererEngine: z.ZodDefault<z.ZodString>;
854
- 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>>;
859
+ 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>>;
855
860
  bellVolume: z.ZodDefault<z.ZodNumber>;
856
861
  }, "strip", z.ZodTypeAny, {
857
862
  fontSize: number;
@@ -863,7 +868,7 @@ declare const TerminalConfigSchema: z.ZodObject<{
863
868
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
864
869
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
865
870
  rendererEngine: string;
866
- 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}`;
871
+ 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}`;
867
872
  bellVolume: number;
868
873
  }, {
869
874
  fontSize?: number | undefined;
@@ -954,7 +959,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
954
959
  lightTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
955
960
  darkTheme: z.ZodDefault<z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>>;
956
961
  rendererEngine: z.ZodDefault<z.ZodString>;
957
- 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>>;
962
+ 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>>;
958
963
  bellVolume: z.ZodDefault<z.ZodNumber>;
959
964
  }, "strip", z.ZodTypeAny, {
960
965
  fontSize: number;
@@ -966,7 +971,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
966
971
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
967
972
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
968
973
  rendererEngine: string;
969
- 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}`;
974
+ 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}`;
970
975
  bellVolume: number;
971
976
  }, {
972
977
  fontSize?: number | undefined;
@@ -999,11 +1004,11 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
999
1004
  }>>;
1000
1005
  /** Notification preferences */
1001
1006
  notifications: z.ZodDefault<z.ZodObject<{
1002
- 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>>;
1007
+ 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>>;
1003
1008
  volume: z.ZodDefault<z.ZodNumber>;
1004
1009
  systemNotificationsEnabled: z.ZodDefault<z.ZodBoolean>;
1005
1010
  }, "strip", z.ZodTypeAny, {
1006
- 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}`;
1011
+ 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}`;
1007
1012
  volume: number;
1008
1013
  systemNotificationsEnabled: boolean;
1009
1014
  }, {
@@ -1011,6 +1016,20 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1011
1016
  volume?: number | undefined;
1012
1017
  systemNotificationsEnabled?: boolean | undefined;
1013
1018
  }>>;
1019
+ /** Browser-side document translation preferences */
1020
+ translation: z.ZodDefault<z.ZodObject<{
1021
+ enabled: z.ZodDefault<z.ZodBoolean>;
1022
+ targetLanguage: z.ZodDefault<z.ZodString>;
1023
+ displayMode: z.ZodDefault<z.ZodEnum<["direct", "bilingual"]>>;
1024
+ }, "strip", z.ZodTypeAny, {
1025
+ enabled: boolean;
1026
+ targetLanguage: string;
1027
+ displayMode: "direct" | "bilingual";
1028
+ }, {
1029
+ enabled?: boolean | undefined;
1030
+ targetLanguage?: string | undefined;
1031
+ displayMode?: "direct" | "bilingual" | undefined;
1032
+ }>>;
1014
1033
  }, "strip", z.ZodTypeAny, {
1015
1034
  terminal: {
1016
1035
  fontSize: number;
@@ -1022,7 +1041,7 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1022
1041
  lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1023
1042
  darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark";
1024
1043
  rendererEngine: string;
1025
- 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}`;
1044
+ 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}`;
1026
1045
  bellVolume: number;
1027
1046
  };
1028
1047
  theme: "light" | "dark" | "system";
@@ -1044,10 +1063,15 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1044
1063
  diffEagerLineBudget: number;
1045
1064
  };
1046
1065
  notifications: {
1047
- 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}`;
1066
+ 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}`;
1048
1067
  volume: number;
1049
1068
  systemNotificationsEnabled: boolean;
1050
1069
  };
1070
+ translation: {
1071
+ enabled: boolean;
1072
+ targetLanguage: string;
1073
+ displayMode: "direct" | "bilingual";
1074
+ };
1051
1075
  }, {
1052
1076
  terminal?: {
1053
1077
  fontSize?: number | undefined;
@@ -1085,6 +1109,11 @@ declare const OpenSpecUIConfigSchema: z.ZodObject<{
1085
1109
  volume?: number | undefined;
1086
1110
  systemNotificationsEnabled?: boolean | undefined;
1087
1111
  } | undefined;
1112
+ translation?: {
1113
+ enabled?: boolean | undefined;
1114
+ targetLanguage?: string | undefined;
1115
+ displayMode?: "direct" | "bilingual" | undefined;
1116
+ } | undefined;
1088
1117
  }>;
1089
1118
  type OpenSpecUIConfig = z.infer<typeof OpenSpecUIConfigSchema>;
1090
1119
  type OpenSpecUIConfigUpdate = {
@@ -1100,6 +1129,7 @@ type OpenSpecUIConfigUpdate = {
1100
1129
  dashboard?: Partial<DashboardConfig>;
1101
1130
  git?: Partial<GitConfig>;
1102
1131
  notifications?: Partial<NotificationSettings>;
1132
+ translation?: Partial<DocumentTranslationConfig>;
1103
1133
  };
1104
1134
  /** 默认配置(静态,用于测试和类型) */
1105
1135
  declare const DEFAULT_CONFIG: OpenSpecUIConfig;
@@ -1480,405 +1510,6 @@ interface DashboardOverview {
1480
1510
  git: DashboardGitSnapshot;
1481
1511
  }
1482
1512
  //#endregion
1483
- //#region src/opsx-types.d.ts
1484
- /** Check if an outputPath contains glob pattern characters */
1485
- declare function isGlobPattern(pattern: string): boolean;
1486
- declare const ArtifactStatusSchema: z.ZodObject<{
1487
- id: z.ZodString;
1488
- outputPath: z.ZodString;
1489
- status: z.ZodEnum<["done", "ready", "blocked"]>;
1490
- missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1491
- relativePath: z.ZodOptional<z.ZodString>;
1492
- }, "strip", z.ZodTypeAny, {
1493
- status: "done" | "ready" | "blocked";
1494
- id: string;
1495
- outputPath: string;
1496
- missingDeps?: string[] | undefined;
1497
- relativePath?: string | undefined;
1498
- }, {
1499
- status: "done" | "ready" | "blocked";
1500
- id: string;
1501
- outputPath: string;
1502
- missingDeps?: string[] | undefined;
1503
- relativePath?: string | undefined;
1504
- }>;
1505
- type ArtifactStatus = z.infer<typeof ArtifactStatusSchema>;
1506
- declare const ChangeStatusSchema: z.ZodObject<{
1507
- changeName: z.ZodString;
1508
- schemaName: z.ZodString;
1509
- isComplete: z.ZodBoolean;
1510
- applyRequires: z.ZodArray<z.ZodString, "many">;
1511
- artifacts: z.ZodArray<z.ZodObject<{
1512
- id: z.ZodString;
1513
- outputPath: z.ZodString;
1514
- status: z.ZodEnum<["done", "ready", "blocked"]>;
1515
- missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1516
- relativePath: z.ZodOptional<z.ZodString>;
1517
- }, "strip", z.ZodTypeAny, {
1518
- status: "done" | "ready" | "blocked";
1519
- id: string;
1520
- outputPath: string;
1521
- missingDeps?: string[] | undefined;
1522
- relativePath?: string | undefined;
1523
- }, {
1524
- status: "done" | "ready" | "blocked";
1525
- id: string;
1526
- outputPath: string;
1527
- missingDeps?: string[] | undefined;
1528
- relativePath?: string | undefined;
1529
- }>, "many">;
1530
- }, "strip", z.ZodTypeAny, {
1531
- changeName: string;
1532
- schemaName: string;
1533
- isComplete: boolean;
1534
- applyRequires: string[];
1535
- artifacts: {
1536
- status: "done" | "ready" | "blocked";
1537
- id: string;
1538
- outputPath: string;
1539
- missingDeps?: string[] | undefined;
1540
- relativePath?: string | undefined;
1541
- }[];
1542
- }, {
1543
- changeName: string;
1544
- schemaName: string;
1545
- isComplete: boolean;
1546
- applyRequires: string[];
1547
- artifacts: {
1548
- status: "done" | "ready" | "blocked";
1549
- id: string;
1550
- outputPath: string;
1551
- missingDeps?: string[] | undefined;
1552
- relativePath?: string | undefined;
1553
- }[];
1554
- }>;
1555
- type ChangeStatus = z.infer<typeof ChangeStatusSchema>;
1556
- declare const DependencyInfoSchema: z.ZodObject<{
1557
- id: z.ZodString;
1558
- done: z.ZodBoolean;
1559
- path: z.ZodString;
1560
- description: z.ZodString;
1561
- }, "strip", z.ZodTypeAny, {
1562
- path: string;
1563
- id: string;
1564
- description: string;
1565
- done: boolean;
1566
- }, {
1567
- path: string;
1568
- id: string;
1569
- description: string;
1570
- done: boolean;
1571
- }>;
1572
- type DependencyInfo = z.infer<typeof DependencyInfoSchema>;
1573
- declare const ApplyTaskSchema: z.ZodObject<{
1574
- id: z.ZodString;
1575
- description: z.ZodString;
1576
- done: z.ZodBoolean;
1577
- }, "strip", z.ZodTypeAny, {
1578
- id: string;
1579
- description: string;
1580
- done: boolean;
1581
- }, {
1582
- id: string;
1583
- description: string;
1584
- done: boolean;
1585
- }>;
1586
- type ApplyTask = z.infer<typeof ApplyTaskSchema>;
1587
- declare const ApplyInstructionsContextFilesSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
1588
- declare const ApplyInstructionsSchema: z.ZodObject<{
1589
- changeName: z.ZodString;
1590
- changeDir: z.ZodString;
1591
- schemaName: z.ZodString;
1592
- contextFiles: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
1593
- progress: z.ZodObject<{
1594
- total: z.ZodNumber;
1595
- complete: z.ZodNumber;
1596
- remaining: z.ZodNumber;
1597
- }, "strip", z.ZodTypeAny, {
1598
- total: number;
1599
- complete: number;
1600
- remaining: number;
1601
- }, {
1602
- total: number;
1603
- complete: number;
1604
- remaining: number;
1605
- }>;
1606
- tasks: z.ZodArray<z.ZodObject<{
1607
- id: z.ZodString;
1608
- description: z.ZodString;
1609
- done: z.ZodBoolean;
1610
- }, "strip", z.ZodTypeAny, {
1611
- id: string;
1612
- description: string;
1613
- done: boolean;
1614
- }, {
1615
- id: string;
1616
- description: string;
1617
- done: boolean;
1618
- }>, "many">;
1619
- state: z.ZodEnum<["blocked", "all_done", "ready"]>;
1620
- missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1621
- instruction: z.ZodString;
1622
- }, "strip", z.ZodTypeAny, {
1623
- tasks: {
1624
- id: string;
1625
- description: string;
1626
- done: boolean;
1627
- }[];
1628
- progress: {
1629
- total: number;
1630
- complete: number;
1631
- remaining: number;
1632
- };
1633
- state: "ready" | "blocked" | "all_done";
1634
- changeName: string;
1635
- schemaName: string;
1636
- changeDir: string;
1637
- contextFiles: Record<string, string[]>;
1638
- instruction: string;
1639
- missingArtifacts?: string[] | undefined;
1640
- }, {
1641
- tasks: {
1642
- id: string;
1643
- description: string;
1644
- done: boolean;
1645
- }[];
1646
- progress: {
1647
- total: number;
1648
- complete: number;
1649
- remaining: number;
1650
- };
1651
- state: "ready" | "blocked" | "all_done";
1652
- changeName: string;
1653
- schemaName: string;
1654
- changeDir: string;
1655
- contextFiles: Record<string, string | string[]>;
1656
- instruction: string;
1657
- missingArtifacts?: string[] | undefined;
1658
- }>;
1659
- type ApplyInstructions = z.infer<typeof ApplyInstructionsSchema>;
1660
- declare const ArtifactInstructionsSchema: z.ZodObject<{
1661
- changeName: z.ZodString;
1662
- artifactId: z.ZodString;
1663
- schemaName: z.ZodString;
1664
- changeDir: z.ZodString;
1665
- outputPath: z.ZodString;
1666
- description: z.ZodString;
1667
- instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1668
- context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1669
- rules: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1670
- template: z.ZodString;
1671
- dependencies: z.ZodArray<z.ZodObject<{
1672
- id: z.ZodString;
1673
- done: z.ZodBoolean;
1674
- path: z.ZodString;
1675
- description: z.ZodString;
1676
- }, "strip", z.ZodTypeAny, {
1677
- path: string;
1678
- id: string;
1679
- description: string;
1680
- done: boolean;
1681
- }, {
1682
- path: string;
1683
- id: string;
1684
- description: string;
1685
- done: boolean;
1686
- }>, "many">;
1687
- unlocks: z.ZodArray<z.ZodString, "many">;
1688
- }, "strip", z.ZodTypeAny, {
1689
- description: string;
1690
- template: string;
1691
- outputPath: string;
1692
- changeName: string;
1693
- schemaName: string;
1694
- changeDir: string;
1695
- artifactId: string;
1696
- dependencies: {
1697
- path: string;
1698
- id: string;
1699
- description: string;
1700
- done: boolean;
1701
- }[];
1702
- unlocks: string[];
1703
- instruction?: string | null | undefined;
1704
- context?: string | null | undefined;
1705
- rules?: string[] | null | undefined;
1706
- }, {
1707
- description: string;
1708
- template: string;
1709
- outputPath: string;
1710
- changeName: string;
1711
- schemaName: string;
1712
- changeDir: string;
1713
- artifactId: string;
1714
- dependencies: {
1715
- path: string;
1716
- id: string;
1717
- description: string;
1718
- done: boolean;
1719
- }[];
1720
- unlocks: string[];
1721
- instruction?: string | null | undefined;
1722
- context?: string | null | undefined;
1723
- rules?: string[] | null | undefined;
1724
- }>;
1725
- type ArtifactInstructions = z.infer<typeof ArtifactInstructionsSchema>;
1726
- declare const SchemaInfoSchema: z.ZodObject<{
1727
- name: z.ZodString;
1728
- description: z.ZodOptional<z.ZodString>;
1729
- artifacts: z.ZodArray<z.ZodString, "many">;
1730
- source: z.ZodEnum<["project", "user", "package"]>;
1731
- }, "strip", z.ZodTypeAny, {
1732
- name: string;
1733
- source: "project" | "user" | "package";
1734
- artifacts: string[];
1735
- description?: string | undefined;
1736
- }, {
1737
- name: string;
1738
- source: "project" | "user" | "package";
1739
- artifacts: string[];
1740
- description?: string | undefined;
1741
- }>;
1742
- type SchemaInfo = z.infer<typeof SchemaInfoSchema>;
1743
- declare const SchemaResolutionSchema: z.ZodObject<{
1744
- name: z.ZodString;
1745
- source: z.ZodEnum<["project", "user", "package"]>;
1746
- path: z.ZodString;
1747
- displayPath: z.ZodOptional<z.ZodString>;
1748
- shadows: z.ZodArray<z.ZodObject<{
1749
- source: z.ZodEnum<["project", "user", "package"]>;
1750
- path: z.ZodString;
1751
- displayPath: z.ZodOptional<z.ZodString>;
1752
- }, "strip", z.ZodTypeAny, {
1753
- path: string;
1754
- source: "project" | "user" | "package";
1755
- displayPath?: string | undefined;
1756
- }, {
1757
- path: string;
1758
- source: "project" | "user" | "package";
1759
- displayPath?: string | undefined;
1760
- }>, "many">;
1761
- }, "strip", z.ZodTypeAny, {
1762
- path: string;
1763
- name: string;
1764
- source: "project" | "user" | "package";
1765
- shadows: {
1766
- path: string;
1767
- source: "project" | "user" | "package";
1768
- displayPath?: string | undefined;
1769
- }[];
1770
- displayPath?: string | undefined;
1771
- }, {
1772
- path: string;
1773
- name: string;
1774
- source: "project" | "user" | "package";
1775
- shadows: {
1776
- path: string;
1777
- source: "project" | "user" | "package";
1778
- displayPath?: string | undefined;
1779
- }[];
1780
- displayPath?: string | undefined;
1781
- }>;
1782
- type SchemaResolution = z.infer<typeof SchemaResolutionSchema>;
1783
- declare const TemplatesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
1784
- path: z.ZodString;
1785
- displayPath: z.ZodOptional<z.ZodString>;
1786
- source: z.ZodEnum<["project", "user", "package"]>;
1787
- }, "strip", z.ZodTypeAny, {
1788
- path: string;
1789
- source: "project" | "user" | "package";
1790
- displayPath?: string | undefined;
1791
- }, {
1792
- path: string;
1793
- source: "project" | "user" | "package";
1794
- displayPath?: string | undefined;
1795
- }>>;
1796
- type TemplatesMap = z.infer<typeof TemplatesSchema>;
1797
- declare const SchemaArtifactSchema: z.ZodObject<{
1798
- id: z.ZodString;
1799
- outputPath: z.ZodString;
1800
- description: z.ZodOptional<z.ZodString>;
1801
- template: z.ZodOptional<z.ZodString>;
1802
- instruction: z.ZodOptional<z.ZodString>;
1803
- requires: z.ZodArray<z.ZodString, "many">;
1804
- }, "strip", z.ZodTypeAny, {
1805
- id: string;
1806
- outputPath: string;
1807
- requires: string[];
1808
- description?: string | undefined;
1809
- template?: string | undefined;
1810
- instruction?: string | undefined;
1811
- }, {
1812
- id: string;
1813
- outputPath: string;
1814
- requires: string[];
1815
- description?: string | undefined;
1816
- template?: string | undefined;
1817
- instruction?: string | undefined;
1818
- }>;
1819
- type SchemaArtifact = z.infer<typeof SchemaArtifactSchema>;
1820
- declare const SchemaDetailSchema: z.ZodObject<{
1821
- name: z.ZodString;
1822
- description: z.ZodOptional<z.ZodString>;
1823
- version: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1824
- artifacts: z.ZodArray<z.ZodObject<{
1825
- id: z.ZodString;
1826
- outputPath: z.ZodString;
1827
- description: z.ZodOptional<z.ZodString>;
1828
- template: z.ZodOptional<z.ZodString>;
1829
- instruction: z.ZodOptional<z.ZodString>;
1830
- requires: z.ZodArray<z.ZodString, "many">;
1831
- }, "strip", z.ZodTypeAny, {
1832
- id: string;
1833
- outputPath: string;
1834
- requires: string[];
1835
- description?: string | undefined;
1836
- template?: string | undefined;
1837
- instruction?: string | undefined;
1838
- }, {
1839
- id: string;
1840
- outputPath: string;
1841
- requires: string[];
1842
- description?: string | undefined;
1843
- template?: string | undefined;
1844
- instruction?: string | undefined;
1845
- }>, "many">;
1846
- applyRequires: z.ZodArray<z.ZodString, "many">;
1847
- applyTracks: z.ZodOptional<z.ZodString>;
1848
- applyInstruction: z.ZodOptional<z.ZodString>;
1849
- }, "strip", z.ZodTypeAny, {
1850
- name: string;
1851
- applyRequires: string[];
1852
- artifacts: {
1853
- id: string;
1854
- outputPath: string;
1855
- requires: string[];
1856
- description?: string | undefined;
1857
- template?: string | undefined;
1858
- instruction?: string | undefined;
1859
- }[];
1860
- description?: string | undefined;
1861
- version?: string | number | undefined;
1862
- applyTracks?: string | undefined;
1863
- applyInstruction?: string | undefined;
1864
- }, {
1865
- name: string;
1866
- applyRequires: string[];
1867
- artifacts: {
1868
- id: string;
1869
- outputPath: string;
1870
- requires: string[];
1871
- description?: string | undefined;
1872
- template?: string | undefined;
1873
- instruction?: string | undefined;
1874
- }[];
1875
- description?: string | undefined;
1876
- version?: string | number | undefined;
1877
- applyTracks?: string | undefined;
1878
- applyInstruction?: string | undefined;
1879
- }>;
1880
- type SchemaDetail = z.infer<typeof SchemaDetailSchema>;
1881
- //#endregion
1882
1513
  //#region src/export-types.d.ts
1883
1514
  /**
1884
1515
  * Complete snapshot of an OpenSpec project for static export
@@ -1981,22 +1612,8 @@ interface ExportSnapshot {
1981
1612
  archives: Array<{
1982
1613
  id: string;
1983
1614
  name: string;
1984
- /** Processed proposal markdown shown by default in static OpenSpecUI. */
1985
- proposal: string;
1986
- /** Original source proposal markdown. */
1987
- sourceProposal?: string;
1988
- tasks?: string;
1989
- sourceTasks?: string;
1990
- design?: string;
1991
- sourceDesign?: string;
1992
- why: string;
1993
- whatChanges: string;
1994
- parsedTasks: Array<{
1995
- id: string;
1996
- text: string;
1997
- completed: boolean;
1998
- section?: string;
1999
- }>;
1615
+ /** Schema-neutral archived entity detail used by archive views, search, and dashboard facts. */
1616
+ entity: OpsxEntityDetail;
2000
1617
  createdAt: number;
2001
1618
  updatedAt: number;
2002
1619
  }>;
@@ -2109,11 +1726,14 @@ type DocumentReadModeV1 = 'source' | 'processed';
2109
1726
  /** Stable identity for the OpenSpec document currently being read. */
2110
1727
  interface DocumentRefV1 {
2111
1728
  stage: 'project' | 'main' | 'change' | 'archive';
2112
- kind: 'project' | 'spec' | 'proposal' | 'design' | 'tasks' | 'delta-spec';
1729
+ kind: 'project' | 'spec' | 'proposal' | 'design' | 'tasks' | 'delta-spec' | 'artifact';
2113
1730
  relativePath: string;
2114
1731
  absolutePath: string;
2115
1732
  specId?: string;
2116
1733
  changeId?: string;
1734
+ schemaName?: string;
1735
+ artifactId?: string;
1736
+ artifactOutputPath?: string;
2117
1737
  }
2118
1738
  /** Context passed to `onReadDocument`. */
2119
1739
  interface ReadDocumentContextV1 {
@@ -2336,4 +1956,4 @@ declare class OpsxKernel {
2336
1956
  private combineSignals;
2337
1957
  }
2338
1958
  //#endregion
2339
- export { type AIToolOption, AI_TOOLS, type AnnotatedOpenSpecDocument, type ApplyInstructions, ApplyInstructionsContextFilesSchema, ApplyInstructionsSchema, type ApplyTask, ApplyTaskSchema, type ArchiveMeta, type ArtifactInstructions, ArtifactInstructionsSchema, type ArtifactStatus, ArtifactStatusSchema, BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BUILTIN_TERMINAL_SPAWN_COMMANDS, type BuiltinSoundId, BuiltinSoundIdSchema, type BuiltinSoundOption, CODE_EDITOR_THEME_VALUES, CUSTOM_SOUND_ADD_VALUE, type Change, type ChangeFile, ChangeFileSchema, type ChangeMeta, ChangeSchema, type ChangeStatus, ChangeStatusSchema, CliExecutor, type CliResult, type CliRunnerAttempt, type CliSniffResult, type CliStreamEvent, type CodeEditorTheme, CodeEditorThemeSchema, ConfigManager, type CustomSoundHash, CustomSoundHashSchema, type CustomSoundId, CustomSoundIdSchema, type CustomSoundMetadata, type CustomSoundMetadataFile, CustomSoundMetadataFileSchema, CustomSoundMetadataSchema, DASHBOARD_METRIC_KEYS, DEFAULT_BELL_SOUND_ID, DEFAULT_CONFIG, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET, DEFAULT_NOTIFICATION_SOUND_ID, DEFAULT_TERMINAL_DARK_THEME, DEFAULT_TERMINAL_LIGHT_THEME, DEFAULT_TERMINAL_THEME_MODE, type DashboardCardAvailability, type DashboardConfig, DashboardConfigSchema, type DashboardGitCommitEntry, type DashboardGitDiffStats, type DashboardGitEntry, type DashboardGitSnapshot, type DashboardGitUncommittedEntry, type DashboardGitWorktree, type DashboardMetricKey, type DashboardOverview, type DashboardSummary, type DashboardTrendKind, type DashboardTrendMeta, type DashboardTrendPoint, type DashboardTriColorTrendPoint, type Delta, type DeltaOperation, DeltaOperationType, DeltaSchema, type DeltaSpec, DeltaSpecSchema, type DependencyInfo, DependencyInfoSchema, type DocumentConsumerV1, type DocumentReadModeV1, type DocumentRefV1, type ExportSnapshot, type FileChangeEvent, type FileChangeType, type GitConfig, GitConfigSchema, type GitEntriesPage, type GitEntryCursor, type GitEntryDetail, type GitEntryFileDiff, type GitEntryFilePatch, type GitEntryFileSource, type GitEntryFileSummary, type GitEntryFiles, type GitEntryPatch, type GitEntrySelector, type GitEntryShell, type GitFileChangeType, type GitPatchFile, type GitPatchState, type GitWorktreeHandoff, type GitWorktreeOverview, type GitWorktreeSummary, HOSTED_SHELL_PROTOCOL_VERSION, type HookDiagnosticLevel, type HookDiagnosticV1, type HookLifecycleV1, type HostedBackendHealthResponse, LEGACY_SOUND_ID_MAP, type MarkdownAnnotation, type MarkdownAnnotationConfidence, type MarkdownAnnotationContext, type MarkdownAnnotationInput, type MarkdownAnnotationRule, type MarkdownFact, type MarkdownFactKind, type MarkdownFactSpan, type MarkdownFactsDocument, MarkdownParser, type MarkdownProjectionContext, type MarkdownProjectionRule, type MarkdownReadingDocument, type MarkdownReadingLookup, type MarkdownReadingPlugin, type MarkdownSourcePoint, type MarkdownSourceRange, NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, type NotificationAction, NotificationActionSchema, type NotificationGroup, type NotificationGroupKey, NotificationGroupKeySchema, type NotificationPublishInput, NotificationPublishInputSchema, type NotificationRecord, NotificationRecordSchema, type NotificationSettings, NotificationSettingsSchema, type NotificationSound, NotificationSoundSchema, type NotificationSource, NotificationSourceSchema, OFFICIAL_APP_BASE_URL, OPENSPECUI_HOOKS_VERSION, OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, OPEN_SPEC_SPEC_PROJECTION_ID, OPSX_AGENT_INVOCATION_MODE_VALUES, type OnReadDocumentHookV1, type OnRunWorkflowHookV1, OpenSpecAdapter, type OpenSpecAnnotation, type OpenSpecAnnotationConfidence, type OpenSpecHeadingSection, type OpenSpecProjectionOptions, type OpenSpecReadingSectionsProjection, type OpenSpecRequirementBlock, type OpenSpecScenarioBlock, type OpenSpecScenarioStepKeyword, type OpenSpecSemanticKind, type OpenSpecUIConfig, OpenSpecUIConfigSchema, type OpenSpecUIConfigUpdate, type OpenSpecUIHooksV1, OpenSpecWatcher, type OpsxAgentInvocationMode, OpsxAgentInvocationModeSchema, type OpsxConfig, OpsxConfigSchema, OpsxKernel, type PathCallback, type ProjectRecoveryStatus, type ProjectResidencyEvictionReason, type ProjectResidencyStatus, ProjectWatcher, type ProjectWatcherReinitializeReason, type ProjectWatcherRuntimeStatus, type ProjectWatcherRuntimeStatusListener, type ProjectedOpenSpecDocument, PtyAttachMessageSchema, PtyBellResponseSchema, PtyBufferResponseSchema, type PtyClientMessage, PtyClientMessageSchema, PtyCloseMessageSchema, PtyCreateMessageSchema, PtyCreatedResponseSchema, PtyErrorCodeSchema, PtyErrorResponseSchema, PtyExitResponseSchema, PtyInputMessageSchema, PtyListMessageSchema, PtyListResponseSchema, PtyOutputResponseSchema, type PtyPlatform, PtyPlatformSchema, PtyProcessTitleResponseSchema, PtyResizeMessageSchema, type PtyServerMessage, PtyServerMessageSchema, type PtySessionInfo, PtyTitleResponseSchema, ReactiveContext, ReactiveState, type ReactiveStateOptions, type ReadDocumentContextV1, type ReadDocumentResultV1, type Requirement, RequirementSchema, type ResolvedCliRunner, type RunWorkflowContextV1, type RunWorkflowInputV1, type RunWorkflowResultV1, SILENT_SOUND_ID, type ScenarioStep, ScenarioStepKeywordSchema, ScenarioStepSchema, type SchemaArtifact, SchemaArtifactSchema, type SchemaDetail, SchemaDetailSchema, type SchemaInfo, SchemaInfoSchema, type SchemaResolution, SchemaResolutionSchema, SoundConfigIdSchema, type SoundId, SoundIdSchema, type Spec, type SpecMeta, SpecSchema, TERMINAL_BELL_SOUND_OPTIONS, TERMINAL_BELL_SOUND_VALUES, TERMINAL_COMMAND_FIELD_TYPE_VALUES, TERMINAL_SHELL_QUOTE_STYLE_VALUES, TERMINAL_THEME_MODE_VALUES, TERMINAL_THEME_VALUES, TOOL_WORKFLOW_TO_SKILL_DIR, type Task, TaskSchema, type TemplateContentMap, type TemplatesMap, TemplatesSchema, type TerminalBellSound, TerminalBellSoundSchema, type TerminalCommandArgument, type TerminalCommandField, TerminalCommandFieldSchema, type TerminalCommandFieldValue, type TerminalCommandFieldValues, type TerminalConfig, TerminalConfigSchema, type TerminalControlEvent, type TerminalControlParseResult, TerminalControlParser, type TerminalInvocationSettings, TerminalInvocationSettingsSchema, type TerminalNotificationEvent, type TerminalNotificationParseResult, TerminalNotificationParser, type TerminalNotificationProtocol, type TerminalProgressState, type TerminalPromptState, type TerminalRendererEngine, TerminalRendererEngineSchema, type TerminalShellDefaults, type TerminalShellProfile, TerminalShellProfileSchema, type TerminalShellQuoteStyle, TerminalShellQuoteStyleSchema, type TerminalSpawnCommand, TerminalSpawnCommandSchema, type TerminalThemeId, type TerminalThemeMode, TerminalThemeModeSchema, TerminalThemeSchema, type TerminalTitleTarget, type ToolConfig, type ToolInitDelivery, type ToolInitState, type ToolInitStatus, type ToolWorkflowId, VIRTUAL_PROJECT_DIRNAME, type ValidationIssue, type ValidationResult, Validator, type WatchEvent, type WatchEventType, type WatcherRuntimeStatus, type WorkflowActionV1, type WorkflowInvocationModeResolutionV1, type WorkflowRequestedModeV1, acquireWatcher, annotateOpenSpecFacts, annotateOpenSpecMarkdown, buildCliRunnerCandidates, buildEmbeddedUiLaunchUrl, buildHostedLaunchUrl, buildMarkdownParentMap, builtinOpenSpecReadingPlugin, clearCache, closeAllProjectWatchers, closeAllWatchers, contextStorage, createCleanCliEnv, createFileChangeObservable, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, createOpenSpecReadingPlugin, customHashFromSoundId, getActiveWatcherCount, getAllToolIds, getAllTools, getAvailableToolIds, getAvailableTools, getBuiltinSoundUrl, getCacheSize, getConfiguredTools, getDefaultCliCommand, getDefaultCliCommandString, getDetectedProjectTools, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, getNotificationGroupKey, getNotificationGroupLabel, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, getProjectWatcher, getTerminalCommandDefaultValues, getToolById, getToolInitStates, getWatchedProjectDir, getWatcherRuntimeStatus, groupNotifications, initWatcherPool, isGlobPattern, isHostedBackendHealthResponse, isSupportedEmbeddedUiUrl, isTerminalRendererEngine, isToolConfigured, isWatcherPoolInitialized, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, normalizeLegacySoundId, openSpecAnnotationRules, parseCliCommand, parseMarkdownFacts, parseOpenSpecMarkdownToSpec, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown, quoteTerminalShellArg, reactiveExists, reactiveReadDir, reactiveReadFile, reactiveStat, renderTerminalCommandArgs, renderTerminalSpawnCommandLine, resolveHostedAppBaseUrl, resolveTerminalShellDefaults, sniffGlobalCli, soundIdFromCustomHash, subscribeWatcherRuntimeStatus, terminalNotificationEventToPublishInput, toMarkdownFactKind, toOpsxDisplayPath, trimMarkdownSlice };
1959
+ export { type AIToolOption, AI_TOOLS, type AnnotatedOpenSpecDocument, type ApplyInstructions, ApplyInstructionsContextFilesSchema, ApplyInstructionsSchema, type ApplyTask, ApplyTaskSchema, type ArchiveMeta, type ArtifactInstructions, ArtifactInstructionsSchema, type ArtifactStatus, ArtifactStatusSchema, BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BUILTIN_TERMINAL_SPAWN_COMMANDS, type BuiltinSoundId, BuiltinSoundIdSchema, type BuiltinSoundOption, CODE_EDITOR_THEME_VALUES, CUSTOM_SOUND_ADD_VALUE, type Change, type ChangeFile, ChangeFileSchema, type ChangeMeta, ChangeSchema, type ChangeStatus, ChangeStatusSchema, CliExecutor, type CliResult, type CliRunnerAttempt, type CliSniffResult, type CliStreamEvent, type CodeEditorTheme, CodeEditorThemeSchema, ConfigManager, type CustomSoundHash, CustomSoundHashSchema, type CustomSoundId, CustomSoundIdSchema, type CustomSoundMetadata, type CustomSoundMetadataFile, CustomSoundMetadataFileSchema, CustomSoundMetadataSchema, DASHBOARD_METRIC_KEYS, DEFAULT_BELL_SOUND_ID, DEFAULT_CONFIG, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET, DEFAULT_NOTIFICATION_SOUND_ID, DEFAULT_TERMINAL_DARK_THEME, DEFAULT_TERMINAL_LIGHT_THEME, DEFAULT_TERMINAL_THEME_MODE, DOCUMENT_TRANSLATION_DISPLAY_MODES, type DashboardCardAvailability, type DashboardConfig, DashboardConfigSchema, type DashboardGitCommitEntry, type DashboardGitDiffStats, type DashboardGitEntry, type DashboardGitSnapshot, type DashboardGitUncommittedEntry, type DashboardGitWorktree, type DashboardMetricKey, type DashboardOverview, type DashboardSummary, type DashboardTrendKind, type DashboardTrendMeta, type DashboardTrendPoint, type DashboardTriColorTrendPoint, type Delta, type DeltaOperation, DeltaOperationType, DeltaSchema, type DeltaSpec, DeltaSpecSchema, type DependencyInfo, DependencyInfoSchema, type DocumentConsumerV1, type DocumentReadModeV1, type DocumentRefV1, type DocumentTranslationConfig, DocumentTranslationConfigSchema, type DocumentTranslationDisplayMode, DocumentTranslationDisplayModeSchema, type ExportSnapshot, type FileChangeEvent, type FileChangeType, type GitConfig, GitConfigSchema, type GitEntriesPage, type GitEntryCursor, type GitEntryDetail, type GitEntryFileDiff, type GitEntryFilePatch, type GitEntryFileSource, type GitEntryFileSummary, type GitEntryFiles, type GitEntryPatch, type GitEntrySelector, type GitEntryShell, type GitFileChangeType, type GitPatchFile, type GitPatchState, type GitWorktreeHandoff, type GitWorktreeOverview, type GitWorktreeSummary, HOSTED_SHELL_PROTOCOL_VERSION, type HookDiagnosticLevel, type HookDiagnosticV1, type HookLifecycleV1, type HostedBackendHealthResponse, LEGACY_SOUND_ID_MAP, type MarkdownAnnotation, type MarkdownAnnotationConfidence, type MarkdownAnnotationContext, type MarkdownAnnotationInput, type MarkdownAnnotationRule, type MarkdownFact, type MarkdownFactKind, type MarkdownFactSpan, type MarkdownFactsDocument, MarkdownParser, type MarkdownProjectionContext, type MarkdownProjectionRule, type MarkdownReadingDocument, type MarkdownReadingLookup, type MarkdownReadingPlugin, MarkdownReadingPluginRegistry, type MarkdownSourcePoint, type MarkdownSourceRange, NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, type NotificationAction, NotificationActionSchema, type NotificationGroup, type NotificationGroupKey, NotificationGroupKeySchema, type NotificationPublishInput, NotificationPublishInputSchema, type NotificationRecord, NotificationRecordSchema, type NotificationSettings, NotificationSettingsSchema, type NotificationSound, NotificationSoundSchema, type NotificationSource, NotificationSourceSchema, OFFICIAL_APP_BASE_URL, OPENSPECUI_HOOKS_VERSION, OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, OPEN_SPEC_SPEC_PROJECTION_ID, OPSX_AGENT_INVOCATION_MODE_VALUES, type OnReadDocumentHookV1, type OnRunWorkflowHookV1, OpenSpecAdapter, type OpenSpecAnnotation, type OpenSpecAnnotationConfidence, type OpenSpecHeadingSection, type OpenSpecProjectionOptions, type OpenSpecReadingSectionsProjection, type OpenSpecRequirementBlock, type OpenSpecScenarioBlock, type OpenSpecScenarioStepKeyword, type OpenSpecSemanticKind, type OpenSpecUIConfig, OpenSpecUIConfigSchema, type OpenSpecUIConfigUpdate, type OpenSpecUIHooksV1, OpenSpecWatcher, type OpsxAgentInvocationMode, OpsxAgentInvocationModeSchema, type OpsxConfig, OpsxConfigSchema, type OpsxEntityArtifact, type OpsxEntityArtifactFile, type OpsxEntityDetail, type OpsxEntityDiagnostic, type OpsxEntityFile, type OpsxEntityReadOptions, type OpsxEntityStage, OpsxKernel, type ParsedOpsxSchemaDetail, type PathCallback, type ProjectRecoveryStatus, type ProjectResidencyEvictionReason, type ProjectResidencyStatus, ProjectWatcher, type ProjectWatcherReinitializeReason, type ProjectWatcherRuntimeStatus, type ProjectWatcherRuntimeStatusListener, type ProjectedOpenSpecDocument, PtyAttachMessageSchema, PtyBellResponseSchema, PtyBufferResponseSchema, type PtyClientMessage, PtyClientMessageSchema, PtyCloseMessageSchema, PtyCreateMessageSchema, PtyCreatedResponseSchema, PtyErrorCodeSchema, PtyErrorResponseSchema, PtyExitResponseSchema, PtyInputMessageSchema, PtyListMessageSchema, PtyListResponseSchema, PtyOutputResponseSchema, type PtyPlatform, PtyPlatformSchema, PtyProcessTitleResponseSchema, PtyResizeMessageSchema, type PtyServerMessage, PtyServerMessageSchema, type PtySessionInfo, PtyTitleResponseSchema, ReactiveContext, ReactiveState, type ReactiveStateOptions, type ReadDocumentContextV1, type ReadDocumentResultV1, type Requirement, RequirementSchema, type ResolvedCliRunner, type RunWorkflowContextV1, type RunWorkflowInputV1, type RunWorkflowResultV1, SILENT_SOUND_ID, type ScenarioStep, ScenarioStepKeywordSchema, ScenarioStepSchema, type SchemaArtifact, SchemaArtifactSchema, type SchemaDetail, SchemaDetailSchema, type SchemaInfo, SchemaInfoSchema, type SchemaResolution, SchemaResolutionSchema, SoundConfigIdSchema, type SoundId, SoundIdSchema, type Spec, type SpecMeta, SpecSchema, TERMINAL_BELL_SOUND_OPTIONS, TERMINAL_BELL_SOUND_VALUES, TERMINAL_COMMAND_FIELD_TYPE_VALUES, TERMINAL_SHELL_QUOTE_STYLE_VALUES, TERMINAL_THEME_MODE_VALUES, TERMINAL_THEME_VALUES, TOOL_WORKFLOW_TO_SKILL_DIR, type Task, TaskSchema, type TemplateContentMap, type TemplatesMap, TemplatesSchema, type TerminalBellSound, TerminalBellSoundSchema, type TerminalCommandArgument, type TerminalCommandField, TerminalCommandFieldSchema, type TerminalCommandFieldValue, type TerminalCommandFieldValues, type TerminalConfig, TerminalConfigSchema, type TerminalControlEvent, type TerminalControlParseResult, TerminalControlParser, type TerminalInvocationSettings, TerminalInvocationSettingsSchema, type TerminalNotificationEvent, type TerminalNotificationParseResult, TerminalNotificationParser, type TerminalNotificationProtocol, type TerminalProgressState, type TerminalPromptState, type TerminalRendererEngine, TerminalRendererEngineSchema, type TerminalShellDefaults, type TerminalShellProfile, TerminalShellProfileSchema, type TerminalShellQuoteStyle, TerminalShellQuoteStyleSchema, type TerminalSpawnCommand, TerminalSpawnCommandSchema, type TerminalThemeId, type TerminalThemeMode, TerminalThemeModeSchema, TerminalThemeSchema, type TerminalTitleTarget, type ToolConfig, type ToolInitDelivery, type ToolInitState, type ToolInitStatus, type ToolWorkflowId, VIRTUAL_PROJECT_DIRNAME, type ValidationIssue, type ValidationResult, Validator, type WatchEvent, type WatchEventType, type WatcherRuntimeStatus, type WorkflowActionV1, type WorkflowInvocationModeResolutionV1, type WorkflowRequestedModeV1, acquireWatcher, annotateOpenSpecFacts, annotateOpenSpecMarkdown, buildCliRunnerCandidates, buildEmbeddedUiLaunchUrl, buildHostedLaunchUrl, buildMarkdownParentMap, buildOpsxEntityDetail, builtinOpenSpecReadingPlugin, clearCache, closeAllProjectWatchers, closeAllWatchers, contextStorage, createCleanCliEnv, createFileChangeObservable, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, createOpenSpecReadingPlugin, customHashFromSoundId, getActiveWatcherCount, getAllToolIds, getAllTools, getAvailableToolIds, getAvailableTools, getBuiltinSoundUrl, getCacheSize, getConfiguredTools, getDefaultCliCommand, getDefaultCliCommandString, getDetectedProjectTools, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, getNotificationGroupKey, getNotificationGroupLabel, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, getProjectWatcher, getTerminalCommandDefaultValues, getToolById, getToolInitStates, getWatchedProjectDir, getWatcherRuntimeStatus, groupNotifications, initWatcherPool, isGlobPattern, isHostedBackendHealthResponse, isOpsxGlobPattern, isSupportedEmbeddedUiUrl, isTerminalRendererEngine, isToolConfigured, isWatcherPoolInitialized, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, normalizeLegacySoundId, normalizeOpsxEntityPath, openSpecAnnotationRules, opsxGlobToRegex, opsxPathMatchesPattern, parseCliCommand, parseMarkdownFacts, parseOpenSpecMarkdownToSpec, parseOpsxEntityMetadata, parseOpsxSchemaDetail, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown, quoteTerminalShellArg, reactiveExists, reactiveReadDir, reactiveReadFile, reactiveStat, renderTerminalCommandArgs, renderTerminalSpawnCommandLine, resolveHostedAppBaseUrl, resolveTerminalShellDefaults, sniffGlobalCli, sortMarkdownReadingPlugins, soundIdFromCustomHash, subscribeWatcherRuntimeStatus, terminalNotificationEventToPublishInput, toMarkdownFactKind, toOpsxDisplayPath, trimMarkdownSlice };