@openspecui/core 11.1.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{active-root-config-CsFtntHf.d.mts → active-root-config-Ba57tJrq.d.mts} +17 -17
- package/dist/active-root-config.d.mts +5 -5
- package/dist/{cli-projection-Dd5Gdqa2.d.mts → cli-projection-CvtX601c.d.mts} +17 -17
- package/dist/cli-projection.d.mts +5 -5
- package/dist/{command-result-DWMmDl6I.mjs → command-result-DbXO8ZgG.mjs} +106 -13
- package/dist/{dashboard-summary-transport-wRH7oVWM.d.mts → dashboard-summary-transport-edeWQPi7.d.mts} +5449 -5394
- package/dist/dashboard-summary-transport.d.mts +18 -18
- package/dist/{document-translation-OvsFNs-H.d.mts → document-translation-CGMD0RLA.d.mts} +102 -102
- package/dist/document-translation.d.mts +1 -1
- package/dist/hosted-app.d.mts +18 -18
- package/dist/hosted-contract.d.mts +18 -18
- package/dist/{index-jbHV-sxg.d.mts → index-D9qYKNqh.d.mts} +2215 -189
- package/dist/index.d.mts +19 -19
- package/dist/index.mjs +127 -59
- package/dist/{local-download-profiles-DXNExauZ.d.mts → local-download-profiles-DaFozMhH.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-B8Ael_hq.d.mts → notifications-Dkoh_xrs.d.mts} +8 -8
- package/dist/notifications.d.mts +2 -2
- package/dist/{openspec-compat-DctIDxRM.mjs → openspec-compat-CpMO8-dz.mjs} +20 -16
- package/dist/openspec-compat.d.mts +5 -5
- package/dist/openspec-compat.mjs +3 -3
- package/dist/{openspec-projection-xOnjhQ7v.d.mts → openspec-projection-46QLZ6b8.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-Dc4XotlR.d.mts → opsx-entity-Btqm5OhC.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +7 -7
- package/dist/{opsx-schema-detail-BJ6wzYhq.d.mts → opsx-schema-detail-C4VyWZ8B.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +8 -8
- package/dist/{opsx-types-CnZ4dsxb.d.mts → opsx-types-hVFHL9Cb.d.mts} +255 -255
- package/dist/{planning-cli-projection-pq8vZC1r.mjs → planning-cli-projection-BUU26bEw.mjs} +2 -2
- package/dist/planning-cli-projection.d.mts +18 -18
- package/dist/planning-cli-projection.mjs +3 -3
- package/dist/{schemas-pfpqDlAd.d.mts → schemas-Ce7B_SNx.d.mts} +208 -208
- package/dist/{sounds-B0GiWqBN.d.mts → sounds-DzDkqTIX.d.mts} +4 -4
- package/dist/sounds.d.mts +1 -1
- package/dist/{spec-catalog-BkX0tZp9.mjs → spec-catalog-DshONoJ9.mjs} +31 -2
- package/dist/spec-catalog.d.mts +18 -18
- package/dist/spec-catalog.mjs +2 -2
- package/dist/{store-mutation-protocol-DXeWtAvN.d.mts → store-mutation-protocol-DHjp76v0.d.mts} +24 -24
- package/dist/store-mutation-protocol.d.mts +1 -1
- package/dist/{store-types-BLW7QE7W.d.mts → store-types-vKTsXtfb.d.mts} +1 -1
- package/dist/store-types.d.mts +5 -5
- package/dist/task-progress.d.mts +6 -6
- package/dist/{terminal-audio-BpfUW_eB.d.mts → terminal-audio-C6kc0fbX.d.mts} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-DROo1wu_.d.mts → terminal-invocation-zNp8J57-.d.mts} +108 -108
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-C5z6a5C4.d.mts → translator-DZO_bY1X.d.mts} +254 -254
- package/dist/translator.d.mts +1 -1
- package/package.json +2 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as isCliBatchStatusEntryFailure, C as CliStoreDoctorSchema, E as CliStoreSchema, M as requireCanonicalOpenSpecSpecId, N as requireOpenSpecEntityRelativePath, O as CliSchemasSuccessSchema, S as CliStoreDoctorEntrySchema, T as CliStoreMutationSchema, _ as specRoutePath, a as SpecDocumentProjectionSchema, b as CliDoctorSchema, c as createStaticSpecCatalogOwnedProjection, d as getSpecCatalogEntry, f as isReferencedSpecIdentity, g as specIdentityKey, h as specIdentityFromRoute, i as SpecCommandEvidenceSchema, j as requireCanonicalOpenSpecEntityId, k as isCliSchemasFailure, l as createStaticSpecCatalogReferenceProjection, m as specDocumentDisplayPath, n as ReferencedSpecIdentitySchema, o as SpecIdentitySchema, p as mergeSpecCatalog, r as SpecCatalogSchema, s as buildSpecCatalog, t as OwnedSpecIdentitySchema, u as createStaticSpecCatalogReferenceSource, v as OpenSpecCliContractExecutor, w as CliStoreListSchema, x as CliStoreCleanupSchema, y as CliContextSchema } from "./spec-catalog-
|
|
1
|
+
import { A as isCliBatchStatusEntryFailure, C as CliStoreDoctorSchema, E as CliStoreSchema, M as requireCanonicalOpenSpecSpecId, N as requireOpenSpecEntityRelativePath, O as CliSchemasSuccessSchema, S as CliStoreDoctorEntrySchema, T as CliStoreMutationSchema, _ as specRoutePath, a as SpecDocumentProjectionSchema, b as CliDoctorSchema, c as createStaticSpecCatalogOwnedProjection, d as getSpecCatalogEntry, f as isReferencedSpecIdentity, g as specIdentityKey, h as specIdentityFromRoute, i as SpecCommandEvidenceSchema, j as requireCanonicalOpenSpecEntityId, k as isCliSchemasFailure, l as createStaticSpecCatalogReferenceProjection, m as specDocumentDisplayPath, n as ReferencedSpecIdentitySchema, o as SpecIdentitySchema, p as mergeSpecCatalog, r as SpecCatalogSchema, s as buildSpecCatalog, t as OwnedSpecIdentitySchema, u as createStaticSpecCatalogReferenceSource, v as OpenSpecCliContractExecutor, w as CliStoreListSchema, x as CliStoreCleanupSchema, y as CliContextSchema } from "./spec-catalog-DshONoJ9.mjs";
|
|
2
2
|
import { _ as isTextLikeMime, a as DeltaSpecSchema, c as ScenarioStepSchema, d as TrackedTaskProgressSchema, f as FILE_PREVIEW_KINDS, g as isTextLikeFile, h as isPreviewableFile, i as DeltaSchema, l as SpecSchema, m as inferFilePreviewKind, n as ChangeSchema, o as RequirementSchema, p as inferFileMime, r as DeltaOperationType, s as ScenarioStepKeywordSchema, t as ChangeFileSchema, u as TaskSchema } from "./schemas-CMThmKx1.mjs";
|
|
3
3
|
import { a as normalizeOpsxEntityPath, c as parseOpsxEntityMetadata, i as isOpsxGlobPattern, n as getOpsxEntityMetadataPath, o as opsxGlobToRegex, r as getOpsxEntityRootRelativePath, s as opsxPathMatchesPattern, t as buildOpsxEntityDetail } from "./opsx-entity-BnO3k48r.mjs";
|
|
4
4
|
import { t as parseOpsxSchemaDetail } from "./opsx-schema-detail-zk8ePaKK.mjs";
|
|
@@ -8,7 +8,7 @@ import { a as getOpenSpecAnnotationsForFact, i as getOpenSpecAnnotation, n as an
|
|
|
8
8
|
import { a as getOpenSpecReadingSections, c as projectOpenSpecMarkdown, i as getOpenSpecProjectionAnnotation, n as OPEN_SPEC_SPEC_PROJECTION_ID, o as parseOpenSpecMarkdownToSpec, r as createOpenSpecReadingPlugin, s as projectAnnotatedOpenSpecToSpec, t as OPEN_SPEC_READING_SECTIONS_PROJECTION_ID } from "./openspec-projection-Cno7FlwE.mjs";
|
|
9
9
|
import { a as isMarkdownTaskSourcePath, c as toggleMarkdownTask, i as deriveTrackedTaskPhase, n as createDocumentChecklistSummary, o as parseMarkdownTasks, r as createTrackedTaskProgress, s as projectTaskProjectionsFromMarkdownFiles, t as createApplyInstructionProgress } from "./task-progress-Bvid_Ws8.mjs";
|
|
10
10
|
import { a as CliRootSchema, i as CliReferenceIndexEntrySchema, n as CliDiagnosticSchema, o as CliRootSourceSchema, r as CliDoctorReferenceEntrySchema, t as CliDiagnosticFailureSchema } from "./common-BRL_34xt.mjs";
|
|
11
|
-
import {
|
|
11
|
+
import { A as isCliValidateFindings, C as CliValidateFindingsResultSchema, E as CliValidateSchema, O as CliWorkflowStatusSchema, T as CliValidateReportSchema, _ as CliShowSpecDocumentSchema, a as CliApplyInstructionsSuccessSchema, c as CliArchiveSchema, f as CliChangeListSchema, i as CliApplyInstructionsSchema, k as CliWorkflowStatusSuccessSchema, l as CliArtifactInstructionsSchema, n as parseCliCommandResult, o as CliArchiveInstructionsSchema, s as CliArchiveInstructionsSuccessSchema, t as CliCommandTransportSchema, u as CliArtifactInstructionsSuccessSchema, v as CliShowSpecSchema, w as CliValidateFindingsSchema, y as CliSpecListSchema } from "./command-result-DbXO8ZgG.mjs";
|
|
12
12
|
import { a as CliProjectionInvalidationCauseSchema, d as toCliProjectionCommandEvidence, f as toCliProjectionFailure, i as CliProjectionFailureSchema, l as cliProjectionStates, n as CliProjectionCommandError, o as CliProjectionNoticeSchema, p as toCliProjectionNotice, r as CliProjectionCommandEvidenceSchema, s as CliProjectionStateNameSchema, t as CliJsonValueSchema, u as createCliProjectionStateSchema } from "./cli-projection-Bc2WVwGj.mjs";
|
|
13
13
|
import { $ as shouldShowTranslationEngineInstallGate, A as TranslationEngineIdSchema, B as TranslationLocalLlamaSettingsUpdateSchema, C as TranslationDownloadGroupPlanSchema, D as TranslationEngineDependencyStatusSchema, E as TranslationEngineDependencyStateSchema, F as TranslationEngineRuntimeStateSchema, G as createTranslationEngineLifecycleStatus, H as TranslationLocalSettingsUpdateSchema, I as TranslationEngineRuntimeStatusSchema, J as getTranslationEngineManifest, K as getManagedLocalTranslationEngineManifest, L as TranslationLocalCt2SettingsSchema, M as TranslationEngineInstallLogStreamSchema, N as TranslationEngineLifecycleEventSchema, O as TranslationEngineGlobalSettingsSchema, P as TranslationEngineLifecycleStatusSchema, Q as isTranslationEngineRuntimeReady, R as TranslationLocalCt2SettingsUpdateSchema, S as TranslationDownloadFilePlanSchema, T as TranslationEngineAssetStatusSchema, U as TranslationOpenAISettingsSchema, V as TranslationLocalSettingsSchema, W as TranslationOpenAISettingsUpdateSchema, X as isManagedLocalTranslationEngineId, Y as isDirectionalManagedLocalTranslationEngineId, Z as isTranslationEngineDependencyReady, _ as SERVICE_TRANSLATION_ENGINE_IDS, a as LocalModelAssetLogSchema, b as TRANSLATION_ENGINE_MANIFESTS, c as LocalModelDownloadStatusSchema, d as LocalModelProfileLoadStateSchema, et as isBatchTranslationAbort, f as LocalModelProfileManifestFileSchema, g as ManagedLocalCatalogSourceSchema, h as LocalModelProfileStatusSchema, i as DEFAULT_TRANSLATION_ENGINE_ID, j as TranslationEngineInstallLogEventSchema, k as TranslationEngineGlobalSettingsUpdateSchema, l as LocalModelLifecycleFileStateSchema, m as LocalModelProfileManifestSchema, n as BatchTranslateInputSchema, nt as runControlledTranslationTask, o as LocalModelAssetPlanSnapshotSchema, p as LocalModelProfileManifestGroupSchema, q as getTranslationEngineLifecycleMessage, s as LocalModelAssetStateSchema, t as BatchTranslateEventSchema, tt as normalizeBatchTranslationError, u as LocalModelLifecycleGroupStateSchema, v as ServiceTranslationEngineIdSchema, w as TranslationEngineAssetStateSchema, x as TRANSLATOR_CONTRACT_VERSION, y as TRANSLATION_ENGINE_IDS, z as TranslationLocalLlamaSettingsSchema } from "./translator-BkNACZ9R.mjs";
|
|
14
14
|
import { a as ActiveRootOfficialConfigSchema, c as MAX_ACTIVE_ROOT_CONTEXT_BYTES, i as ActiveRootMutationSchema, n as patchActiveRootOfficialFields, o as ActiveRootRevisionSchema, r as validateActiveRootRawYaml, s as ActiveRootStructuredUpdateSchema, t as inspectActiveRootOfficialConfig } from "./active-root-config-K_wVeuI3.mjs";
|
|
@@ -16,12 +16,12 @@ import { a as DocumentTranslationDisplayModeSchema, c as TRANSLATION_CACHE_POLIC
|
|
|
16
16
|
import { _ as customHashFromSoundId, a as CustomSoundHashSchema, b as soundIdFromCustomHash, c as CustomSoundMetadataSchema, f as LEGACY_SOUND_ID_MAP, g as SoundVolumeSchema, h as SoundIdSchema, i as CUSTOM_SOUND_ADD_VALUE, l as DEFAULT_BELL_SOUND_ID, m as SoundConfigIdSchema, n as BUILTIN_SOUND_OPTIONS, o as CustomSoundIdSchema, p as SILENT_SOUND_ID, r as BuiltinSoundIdSchema, s as CustomSoundMetadataFileSchema, t as BUILTIN_SOUND_IDS, u as DEFAULT_NOTIFICATION_SOUND_ID, v as getBuiltinSoundUrl, y as normalizeLegacySoundId } from "./sounds-cd9lIDxN.mjs";
|
|
17
17
|
import { n as terminalNotificationEventToPublishInput, t as TerminalControlParser } from "./terminal-control-D893EEN_.mjs";
|
|
18
18
|
import { a as NotificationPublishInputSchema, c as NotificationSoundSchema, h as groupNotifications, i as NotificationGroupKeySchema, l as NotificationSourceSchema, m as getNotificationGroupLabel, n as NOTIFICATION_SOUND_VALUES, o as NotificationRecordSchema, p as getNotificationGroupKey, r as NotificationActionSchema, s as NotificationSettingsSchema, t as NOTIFICATION_SOUND_OPTIONS, u as TerminalNotificationParser } from "./notifications-D6XlgL9b.mjs";
|
|
19
|
-
import { h as parseOpenSpecCliVersion, p as deriveOpenSpecCliCapabilities, u as OPENSPEC_CLI_TARGET_SERIES } from "./openspec-compat-
|
|
19
|
+
import { h as parseOpenSpecCliVersion, p as deriveOpenSpecCliCapabilities, u as OPENSPEC_CLI_TARGET_SERIES } from "./openspec-compat-CpMO8-dz.mjs";
|
|
20
20
|
import { n as TERMINAL_BELL_SOUND_VALUES, r as TerminalBellSoundSchema, t as TERMINAL_BELL_SOUND_OPTIONS } from "./terminal-audio-CLEDFFpW.mjs";
|
|
21
21
|
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-Bse1UdaX.mjs";
|
|
22
22
|
import { i as selectLocalDownloadGroup, n as buildLocalDownloadPlanFromRepositoryFiles, r as buildLocalDownloadPlanFromRuntimeProfileFiles, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-3I8AOUJj.mjs";
|
|
23
23
|
import { n as inferLocalDirectionalModelLanguagePair, t as checkLocalDirectionalModelLanguagePair } from "./translation-language-pair-BTfLQehX.mjs";
|
|
24
|
-
import { C as SchemaResolutionSchema, D as isGlobPattern, E as TemplatesSchema, S as SchemaInfoSchema, T as TemplateContentSchema, _ as OpsxCliEvidenceSchema, a as PlanningCliProjectionDataSchema, b as SchemaArtifactSchema, c as ApplyInstructionsContextFilesSchema, d as ApplyTaskSchema, f as ArchiveInstructionsSchema, g as DependencyInfoSchema, h as ChangeStatusSchema, i as EnvironmentGlobalProjectionStateSchema, l as ApplyInstructionsProjectionSchema, m as ArtifactStatusSchema, n as EnvironmentGlobalFileProjectionStateSchema, o as PlanningCliProjectionSelectorSchema, p as ArtifactInstructionsSchema, r as EnvironmentGlobalProjectionDataSchema, s as PlanningCliProjectionStateSchema, t as EnvironmentGlobalFileProjectionDataSchema, u as ApplyInstructionsSchema, v as OpsxConfigBundleSchema, w as TemplateContentMapSchema, x as SchemaDetailSchema, y as OpsxStatusEvidenceSchema } from "./planning-cli-projection-
|
|
24
|
+
import { C as SchemaResolutionSchema, D as isGlobPattern, E as TemplatesSchema, S as SchemaInfoSchema, T as TemplateContentSchema, _ as OpsxCliEvidenceSchema, a as PlanningCliProjectionDataSchema, b as SchemaArtifactSchema, c as ApplyInstructionsContextFilesSchema, d as ApplyTaskSchema, f as ArchiveInstructionsSchema, g as DependencyInfoSchema, h as ChangeStatusSchema, i as EnvironmentGlobalProjectionStateSchema, l as ApplyInstructionsProjectionSchema, m as ArtifactStatusSchema, n as EnvironmentGlobalFileProjectionStateSchema, o as PlanningCliProjectionSelectorSchema, p as ArtifactInstructionsSchema, r as EnvironmentGlobalProjectionDataSchema, s as PlanningCliProjectionStateSchema, t as EnvironmentGlobalFileProjectionDataSchema, u as ApplyInstructionsSchema, v as OpsxConfigBundleSchema, w as TemplateContentMapSchema, x as SchemaDetailSchema, y as OpsxStatusEvidenceSchema } from "./planning-cli-projection-BUU26bEw.mjs";
|
|
25
25
|
import { a as OPSX_CORE_PROFILE_WORKFLOWS, c as OPSX_WORKFLOW_TO_SKILL_DIR, i as OPSX_COMMAND_CAPABLE_WORKFLOWS, l as isOpsxCoreWorkflowSelection, n as OPSX_ARTIFACT_INPUT_ACTIONS, o as OPSX_TEXT_INPUT_ACTIONS, r as OPSX_CHANGE_INPUT_ACTIONS, s as OPSX_WORKFLOW_LABELS, t as OPSX_ALL_WORKFLOWS } from "./opsx-workflows-BA-46T7_.mjs";
|
|
26
26
|
import { a as DASHBOARD_METRIC_KEYS, c as DashboardSummaryProjectionSchema, i as DashboardSummaryProjectionStateSchema, l as DashboardTrendsProjectionSchema, n as DashboardSummaryInvalidationCauseSchema, o as DashboardGitSnapshotSchema, r as DashboardSummaryInvalidationSchema, s as DashboardOverviewSchema, t as DashboardSummaryIdentitySchema } from "./dashboard-summary-transport-Do8pzSES.mjs";
|
|
27
27
|
import { a as StoreListResultSchema, n as StoreDoctorResultSchema, o as classifyStoreCliResult, s as toStoreFeatureResult } from "./store-types-C87SlrJ3.mjs";
|
|
@@ -6297,25 +6297,28 @@ var RuntimeRootInvalidationRegistry = class {
|
|
|
6297
6297
|
//#endregion
|
|
6298
6298
|
//#region src/agent-delivery-registry.ts
|
|
6299
6299
|
/**
|
|
6300
|
-
* Orthogonal intents (updated 2026-
|
|
6301
|
-
* 1. Preserve the complete pinned OpenSpec 1.
|
|
6300
|
+
* Orthogonal intents (updated 2026-09-03 Asia/Shanghai):
|
|
6301
|
+
* 1. Preserve the complete pinned OpenSpec 1.12 Agent delivery registry in one typed physical owner.
|
|
6302
6302
|
* 2. Co-locate capability, command artifact, invocation, alias, setup, cleanup, and migration metadata.
|
|
6303
6303
|
* 3. Model current/legacy project roots, user-global skill roots, detection paths, and IDE restart facts.
|
|
6304
|
-
* 4.
|
|
6305
|
-
*
|
|
6304
|
+
* 4. Keep the per-series override mechanism available for future widened windows while the
|
|
6305
|
+
* admitted window is the single '1.12' line (every 1.11 physical fact carries forward).
|
|
6306
6306
|
* 5. Declare the shared `.agents` skills-root owner candidate set and its arbitration order as
|
|
6307
6307
|
* metadata only; physical arbitration stays owned by the official CLI and the Server projection.
|
|
6308
|
-
* 6. Select the official inventory
|
|
6308
|
+
* 6. Select the official inventory for the admitted CLI line ('1.12') only; retired minors
|
|
6309
|
+
* ('1.10'/'1.11') stay typed as provenance history and select no inventory.
|
|
6309
6310
|
*
|
|
6310
6311
|
* Original request (2026-08-01): adapt the complete OpenSpec 1.7 Agent delivery protocol for OpenSpecUI 7.
|
|
6311
6312
|
* Original request (2026-08-15): "v9的适配需要同时适配 1.8和1.9。"
|
|
6312
6313
|
* Original request (2026-08-28): "直接将 0.10.0 和 0.11.0 一起适配,然后发布 v11。"
|
|
6314
|
+
* Original request (2026-09-03): "Openspec 1.12.0 刚刚放出来,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进"
|
|
6313
6315
|
*/
|
|
6314
6316
|
function agentCliSeriesOrder(series) {
|
|
6315
6317
|
switch (series) {
|
|
6316
6318
|
case "1.9": return 9;
|
|
6317
6319
|
case "1.10": return 10;
|
|
6318
6320
|
case "1.11": return 11;
|
|
6321
|
+
case "1.12": return 12;
|
|
6319
6322
|
}
|
|
6320
6323
|
}
|
|
6321
6324
|
/** Physical project root shared by Codex, Zed Agent, and the vendor-neutral skills target. */
|
|
@@ -6324,14 +6327,15 @@ const SHARED_AGENTS_SKILLS_ROOT = ".agents";
|
|
|
6324
6327
|
const SHARED_SKILLS_TARGET_MARKER = ".openspec-target";
|
|
6325
6328
|
/**
|
|
6326
6329
|
* Candidate owners that may render the shared `.agents` skills root, in pinned upstream
|
|
6327
|
-
* registry order (`codex`, `zed`, `agents` on
|
|
6330
|
+
* registry order (`codex`, `zed`, `agents` on the admitted line).
|
|
6328
6331
|
*
|
|
6329
6332
|
* Arbitration is owned by the official CLI and projected by the Server Agent delivery
|
|
6330
6333
|
* service — never by this registry — and follows: the `.openspec-target` marker, then
|
|
6331
6334
|
* the owner inferred from generated invocation syntax, then `agents` when current skills
|
|
6332
|
-
* already exist, then the `codex` fallback. Antigravity
|
|
6333
|
-
* but is adapter-backed and is excluded from
|
|
6334
|
-
* `.agents/workflows` commands root is unaffected
|
|
6335
|
+
* already exist, then the `codex` fallback. Antigravity joined the shared root in
|
|
6336
|
+
* 1.11 (carried forward on 1.12) but is adapter-backed and is excluded from
|
|
6337
|
+
* skills-writer candidacy; its own `.agents/workflows` commands root is unaffected
|
|
6338
|
+
* by that exclusion.
|
|
6335
6339
|
*/
|
|
6336
6340
|
const SHARED_AGENTS_SKILLS_OWNER_CANDIDATES = [
|
|
6337
6341
|
"codex",
|
|
@@ -6341,13 +6345,12 @@ const SHARED_AGENTS_SKILLS_OWNER_CANDIDATES = [
|
|
|
6341
6345
|
/**
|
|
6342
6346
|
* Select the official Agent delivery inventory for one CLI version string.
|
|
6343
6347
|
*
|
|
6344
|
-
* Only a stable, admitted version —
|
|
6345
|
-
*
|
|
6346
|
-
*
|
|
6347
|
-
* page-level version bypass must not manufacture an admitted
|
|
6348
|
-
* CLI the release line refuses to admit. The returned snapshot
|
|
6349
|
-
*
|
|
6350
|
-
* between 1.10 and 1.11).
|
|
6348
|
+
* Only a stable, admitted version — stable 1.12.x on this single-series line —
|
|
6349
|
+
* selects an inventory. Unsupported forms (prereleases, >=1.13, below-range lines
|
|
6350
|
+
* including the retired 1.10/1.11 v11 window and 1.8/1.9) and unparseable output
|
|
6351
|
+
* select none: a page-level version bypass must not manufacture an admitted
|
|
6352
|
+
* inventory for a CLI the release line refuses to admit. The returned snapshot
|
|
6353
|
+
* carries the 1.12 physical reality (which inherits every 1.11 root fact).
|
|
6351
6354
|
*/
|
|
6352
6355
|
function selectAgentDeliveryRegistry(cliVersion) {
|
|
6353
6356
|
const series = parseOpenSpecCliSeries(cliVersion);
|
|
@@ -6369,15 +6372,15 @@ function selectAgentDeliveryRegistry(cliVersion) {
|
|
|
6369
6372
|
*
|
|
6370
6373
|
* Delegates to the single compat version parser so the same stdout that classifies a session
|
|
6371
6374
|
* also selects its inventory — two parsers must never disagree at this boundary. Returns
|
|
6372
|
-
* '1.
|
|
6373
|
-
*
|
|
6374
|
-
* unparseable output.
|
|
6375
|
+
* '1.12' only for stable 1.12.x, and null for every non-admitted form: prereleases,
|
|
6376
|
+
* >=1.13, retired below-range lines (including the 1.10/1.11 v11 window and 1.9.x),
|
|
6377
|
+
* or unparseable output. Retired minors stay typed as `AgentProvenanceCliSeries`
|
|
6378
|
+
* history for registry facts and on-disk stamps; they never select an inventory here.
|
|
6375
6379
|
*/
|
|
6376
6380
|
function parseOpenSpecCliSeries(cliVersion) {
|
|
6377
6381
|
const version = parseOpenSpecCliVersion(cliVersion ?? void 0);
|
|
6378
6382
|
if (!version || version.prerelease !== null) return null;
|
|
6379
|
-
if (version.major === 1 && version.minor ===
|
|
6380
|
-
if (version.major === 1 && version.minor === 10) return "1.10";
|
|
6383
|
+
if (version.major === 1 && version.minor === 12) return "1.12";
|
|
6381
6384
|
return null;
|
|
6382
6385
|
}
|
|
6383
6386
|
const CODEX_MANAGED_PROMPTS = {
|
|
@@ -6434,7 +6437,7 @@ const projectCleanup = (...patterns) => ({
|
|
|
6434
6437
|
kind: "project-patterns",
|
|
6435
6438
|
patterns
|
|
6436
6439
|
});
|
|
6437
|
-
/** Complete OpenSpec 1.
|
|
6440
|
+
/** Complete OpenSpec 1.12 Agent delivery registry in official order (the newest admitted line). */
|
|
6438
6441
|
const AGENT_DELIVERY_REGISTRY = [
|
|
6439
6442
|
{
|
|
6440
6443
|
name: "Amazon Q Developer",
|
|
@@ -6466,14 +6469,7 @@ const AGENT_DELIVERY_REGISTRY = [
|
|
|
6466
6469
|
to: ".agents",
|
|
6467
6470
|
needsConsent: false,
|
|
6468
6471
|
timing: "after-generation"
|
|
6469
|
-
}]
|
|
6470
|
-
perSeriesOverrides: { "1.10": {
|
|
6471
|
-
skillsDir: ".agent",
|
|
6472
|
-
legacySkillsDirs: void 0,
|
|
6473
|
-
detectionPaths: void 0,
|
|
6474
|
-
command: command(".agent/workflows/opsx-{workflow}.md", yamlMarkdown("description")),
|
|
6475
|
-
migrations: void 0
|
|
6476
|
-
} }
|
|
6472
|
+
}]
|
|
6477
6473
|
},
|
|
6478
6474
|
{
|
|
6479
6475
|
name: "Auggie (Augment CLI)",
|
|
@@ -6818,6 +6814,16 @@ const AGENT_DELIVERY_REGISTRY = [
|
|
|
6818
6814
|
capability: "adapter-backed",
|
|
6819
6815
|
command: command(".pi/prompts/opsx-{workflow}.md", yamlMarkdown("description"))
|
|
6820
6816
|
},
|
|
6817
|
+
{
|
|
6818
|
+
name: "SourceCraft Code Assistant",
|
|
6819
|
+
value: "codeassistant",
|
|
6820
|
+
minCliSeries: "1.12",
|
|
6821
|
+
available: true,
|
|
6822
|
+
successLabel: "SourceCraft Code Assistant",
|
|
6823
|
+
skillsDir: ".codeassistant",
|
|
6824
|
+
capability: "adapter-backed",
|
|
6825
|
+
command: command(".codeassistant/commands/opsx-{workflow}.md", yamlMarkdown("description"))
|
|
6826
|
+
},
|
|
6821
6827
|
{
|
|
6822
6828
|
name: "Qoder",
|
|
6823
6829
|
value: "qoder",
|
|
@@ -6918,7 +6924,7 @@ function resolveAgentCommandPathTemplate(pathTemplate, workflow) {
|
|
|
6918
6924
|
//#endregion
|
|
6919
6925
|
//#region src/agent-command-content.ts
|
|
6920
6926
|
/**
|
|
6921
|
-
* Orthogonal intents (updated 2026-
|
|
6927
|
+
* Orthogonal intents (updated 2026-09-03 Asia/Shanghai):
|
|
6922
6928
|
* 1. Resolve the running OpenSpec CLI's private command-generation boundary without bundling copied prompts.
|
|
6923
6929
|
* 2. Produce exact per-Agent, per-workflow command contents for physical fingerprint comparison.
|
|
6924
6930
|
* 3. Fail closed when the configured runner has no importable OpenSpec module or compatible generator contract.
|
|
@@ -6930,13 +6936,15 @@ function resolveAgentCommandPathTemplate(pathTemplate, workflow) {
|
|
|
6930
6936
|
|
|
6931
6937
|
* Original request (2026-08-15): "v9的适配需要同时适配 1.8和1.9。"
|
|
6932
6938
|
* Original request (2026-08-28): "直接将 0.10.0 和 0.11.0 一起适配,然后发布 v11。"
|
|
6939
|
+
* Original request (2026-09-03): "Openspec 1.12.0 刚刚放出来,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进"
|
|
6933
6940
|
*/
|
|
6934
6941
|
/**
|
|
6935
6942
|
* Passthrough line the OpenCode adapter injects after the complete `**Input**`
|
|
6936
6943
|
* contract when a command template carries no argument placeholder of its own
|
|
6937
6944
|
* (see the pinned upstream `command-generation/adapters/opencode.ts`). OpenSpecUI
|
|
6938
6945
|
* treats this line as generator-owned, so command files may differ by exactly
|
|
6939
|
-
* this line and still be content-current
|
|
6946
|
+
* this line and still be content-current against the admitted 1.12 generator
|
|
6947
|
+
* even when an older line's generator wrote the pre-injection body.
|
|
6940
6948
|
*/
|
|
6941
6949
|
const OPENCODE_PROVIDED_ARGUMENTS_LINE = "**Provided arguments**: $ARGUMENTS";
|
|
6942
6950
|
/** Normalize checkout artifacts that are not real content drift (UTF-8 BOM, CRLF). */
|
|
@@ -6960,8 +6968,8 @@ function stripInjectedProvidedArgumentsLine(content) {
|
|
|
6960
6968
|
*
|
|
6961
6969
|
* Equivalence is exact string equality after BOM/CRLF normalization, plus one
|
|
6962
6970
|
* deliberate tolerance: the OpenCode passthrough line above may appear as a
|
|
6963
|
-
* standalone line on either side, because 1.10+ adapters inject it while
|
|
6964
|
-
*
|
|
6971
|
+
* standalone line on either side, because 1.10+ adapters inject it while pre-1.10
|
|
6972
|
+
* runners did not. A longer body line that merely starts with the
|
|
6965
6973
|
* passthrough text is genuine content, never generator-owned. No other tool or
|
|
6966
6974
|
* difference is tolerated.
|
|
6967
6975
|
*/
|
|
@@ -7031,21 +7039,23 @@ async function loadOpenSpecAgentCommandContents(cliCommand, workflows) {
|
|
|
7031
7039
|
//#endregion
|
|
7032
7040
|
//#region src/tool-init-state.ts
|
|
7033
7041
|
/**
|
|
7034
|
-
* Orthogonal intents (updated 2026-
|
|
7035
|
-
* 1. Project the unified OpenSpec 1.
|
|
7042
|
+
* Orthogonal intents (updated 2026-09-03 Asia/Shanghai):
|
|
7043
|
+
* 1. Project the unified OpenSpec 1.12 Agent registry into exact skill and command artifact state.
|
|
7036
7044
|
* 2. Report partial, stale-version, cleanup-needed, migration-required, and unavailable states from physical evidence.
|
|
7037
7045
|
* 3. Observe user-global skill roots (e.g. MiniMax Code) without ever cleaning or migrating them here.
|
|
7038
7046
|
* 4. Preserve bounded reactive directory observation and fresh one-shot cache invalidation.
|
|
7039
7047
|
* 5. Expose Codex managed-global-prompt observation without treating those prompts as current commands.
|
|
7040
|
-
* 6. Judge generated-by staleness series-aware:
|
|
7041
|
-
*
|
|
7048
|
+
* 6. Judge generated-by staleness series-aware: only the admitted line (stable 1.12.x) is
|
|
7049
|
+
* current; below-admitted generators (1.11.x, 1.10.x, and older) and unparseable
|
|
7050
|
+
* stamps are stale.
|
|
7042
7051
|
*
|
|
7043
7052
|
* Original request (2026-08-01): adapt the complete OpenSpec 1.7 Agent delivery protocol for OpenSpecUI 7.
|
|
7044
7053
|
* Original request (2026-08-15): "v9的适配需要同时适配 1.8和1.9。"
|
|
7045
7054
|
* Original request (2026-08-28): "直接将 0.10.0 和 0.11.0 一起适配,然后发布 v11。"
|
|
7055
|
+
* Original request (2026-09-03): "Openspec 1.12.0 刚刚放出来,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进"
|
|
7046
7056
|
*/
|
|
7047
7057
|
/** Pinned source version used when a runtime CLI version is not supplied by the Server owner. */
|
|
7048
|
-
const PINNED_AGENT_GENERATOR_VERSION = "1.
|
|
7058
|
+
const PINNED_AGENT_GENERATOR_VERSION = "1.12.0";
|
|
7049
7059
|
/** Resolve the physical skills inventory scope for one registry entry. */
|
|
7050
7060
|
function resolveToolSkillsScope(tool) {
|
|
7051
7061
|
if (tool.globalSkillsDir) return {
|
|
@@ -7211,10 +7221,11 @@ async function areExpectedCommandContentsCurrent(toolId, entries, existingPaths,
|
|
|
7211
7221
|
/**
|
|
7212
7222
|
* Series-aware generator currency.
|
|
7213
7223
|
*
|
|
7214
|
-
* Artifacts whose `generatedBy` stamp names
|
|
7215
|
-
*
|
|
7216
|
-
*
|
|
7217
|
-
* this comparison — it is fallback display only and never fabricates a
|
|
7224
|
+
* Artifacts whose `generatedBy` stamp names the admitted line (stable 1.12.x) are
|
|
7225
|
+
* current; every below-admitted generator (the retired 1.10.x/1.11.x window and
|
|
7226
|
+
* older) plus unparseable or future stamps is stale. The pinned constant never
|
|
7227
|
+
* feeds this comparison — it is fallback display only and never fabricates a
|
|
7228
|
+
* live version.
|
|
7218
7229
|
*/
|
|
7219
7230
|
function isCurrentGeneratedByVersion(version, hasAnyArtifacts) {
|
|
7220
7231
|
if (!hasAnyArtifacts) return true;
|
|
@@ -7283,7 +7294,7 @@ async function collectCleanup(projectDir, tool, projectRootEntries) {
|
|
|
7283
7294
|
kind: projectCleanup$1.paths.length > 0 && globalCleanup ? "mixed" : globalCleanup ? "managed-global-prompts" : "project-artifacts",
|
|
7284
7295
|
paths,
|
|
7285
7296
|
workflows,
|
|
7286
|
-
replacementLabel: globalCleanup?.replacementLabel ?? "OpenSpec 1.
|
|
7297
|
+
replacementLabel: globalCleanup?.replacementLabel ?? "OpenSpec 1.12 Agent delivery"
|
|
7287
7298
|
};
|
|
7288
7299
|
}
|
|
7289
7300
|
async function collectMigrationEvidence(projectDir, tool, projectRootEntries) {
|
|
@@ -7718,22 +7729,25 @@ function snapshotHasAbsolutePath(snapshot) {
|
|
|
7718
7729
|
//#endregion
|
|
7719
7730
|
//#region src/cli-projection-sequence.ts
|
|
7720
7731
|
/**
|
|
7721
|
-
* Orthogonal intents (updated 2026-
|
|
7732
|
+
* Orthogonal intents (updated 2026-09-03 Asia/Shanghai):
|
|
7722
7733
|
* 1. Submit aggregate CLI projection entities lazily while preserving source order.
|
|
7723
7734
|
* 2. Prevent one aggregate read from pre-filling the shared buffered CLI admission queue.
|
|
7724
|
-
* 3. Document that the capability-gated
|
|
7725
|
-
*
|
|
7726
|
-
*
|
|
7735
|
+
* 3. Document that the capability-gated single-spawn commands (the batch status transport
|
|
7736
|
+
* and the OpenSpec 1.12 `validate --report findings` evidence fetch) satisfy the same
|
|
7737
|
+
* one-admission-slot constraint by construction: each is exactly one spawn, so neither
|
|
7738
|
+
* aggregate ever needs a per-entity series for transport admission.
|
|
7727
7739
|
*
|
|
7728
7740
|
* Original request (2026-07-31): "系统性地进行修复,因为List页面也有类似的问题。所有可能其它页面都有类似的问题。"
|
|
7729
7741
|
* Original request (2026-08-28): "直接将 0.10.0 和 0.11.0 一起适配,然后发布 v11。"
|
|
7742
|
+
* Original request (2026-09-03): "Openspec 1.12.0 刚刚放出来,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进"
|
|
7730
7743
|
*/
|
|
7731
7744
|
/**
|
|
7732
7745
|
* Map CLI-backed projection entities in order, admitting only the current entity.
|
|
7733
7746
|
*
|
|
7734
|
-
* A capability-gated single-spawn
|
|
7735
|
-
*
|
|
7736
|
-
* every transport that still spawns per entity must keep submitting
|
|
7747
|
+
* A capability-gated single-spawn command (see `OpsxKernel`'s `status --all` transport
|
|
7748
|
+
* and its findings evidence fetch) is its own serial admission unit and bypasses this
|
|
7749
|
+
* helper legitimately; every transport that still spawns per entity must keep submitting
|
|
7750
|
+
* through it.
|
|
7737
7751
|
*/
|
|
7738
7752
|
async function mapCliProjectionSeries(inputs, project) {
|
|
7739
7753
|
const outputs = [];
|
|
@@ -7744,20 +7758,26 @@ async function mapCliProjectionSeries(inputs, project) {
|
|
|
7744
7758
|
//#endregion
|
|
7745
7759
|
//#region src/opsx-kernel.ts
|
|
7746
7760
|
/**
|
|
7747
|
-
* Orthogonal intents (updated 2026-
|
|
7761
|
+
* Orthogonal intents (updated 2026-09-03 Asia/Shanghai):
|
|
7748
7762
|
* 1. Maintain reactive CLI-backed projections and their direct typed Projection Work readers.
|
|
7749
7763
|
* 2. Share and release per-entity streams through one planning-root kernel lifecycle.
|
|
7750
7764
|
* 3. Keep OpenSpec configuration ownership outside the workflow cache while tracking both YAML filename variants.
|
|
7751
7765
|
* 4. Preserve typed Status and Artifact/Apply/Archive Instructions provenance with the resolved root selector.
|
|
7752
7766
|
* 5. Resolve per-command CLI capabilities once per lifetime and gate version-only selectors behind admission.
|
|
7753
|
-
* 6. Serve the status-list projections through the capability-gated
|
|
7767
|
+
* 6. Serve the status-list projections through the capability-gated batch status transport
|
|
7754
7768
|
* (one `status --all` spawn) with projections, per-change dependencies, and failure evidence
|
|
7755
|
-
* identical to the per-change serial transport;
|
|
7769
|
+
* identical to the per-change serial transport; non-admitted sessions keep the serial path.
|
|
7770
|
+
* 7. Expose the capability-gated OpenSpec 1.12 `validate --report findings` evidence fetch for
|
|
7771
|
+
* the server boundary: findings loads only behind the derived `findingsReport` capability,
|
|
7772
|
+
* routes argv composition through the executor's gated `validateFindings` method, decodes
|
|
7773
|
+
* through its own result schema, and never replaces the full validate report as the
|
|
7774
|
+
* validation truth source.
|
|
7756
7775
|
*
|
|
7757
7776
|
* Original request (2026-07-15): "Planning-root adapters and services consume the CLI-resolved root."
|
|
7758
7777
|
* Original request (2026-07-31): "系统性地进行修复,因为List页面也有类似的问题。所有可能其它页面都有类似的问题。"
|
|
7759
7778
|
* Original request (2026-08-15): "v9的适配需要同时适配 1.8和1.9。"
|
|
7760
7779
|
* Original request (2026-08-28): "直接将 0.10.0 和 0.11.0 一起适配,然后发布 v11。"
|
|
7780
|
+
* Original request (2026-09-03): "Openspec 1.12.0 刚刚放出来,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进"
|
|
7761
7781
|
*/
|
|
7762
7782
|
function toRelativePath(root, absolutePath) {
|
|
7763
7783
|
return relative(root, absolutePath).split(sep).join("/");
|
|
@@ -8585,6 +8605,54 @@ var OpsxKernel = class {
|
|
|
8585
8605
|
evidence: batch.evidence
|
|
8586
8606
|
};
|
|
8587
8607
|
}
|
|
8608
|
+
/**
|
|
8609
|
+
* Execute the capability-gated OpenSpec 1.12 findings evidence fetch (one spawn).
|
|
8610
|
+
*
|
|
8611
|
+
* Mirrors the batch status transport's wiring: the derived `findingsReport` capability
|
|
8612
|
+
* is checked before reactive dependencies are touched or any argv is composed, so a
|
|
8613
|
+
* bypassed or retired session receives a typed refusal instead of a `--report findings`
|
|
8614
|
+
* flag it may reject. The argv itself is owned by the contracts executor's gated
|
|
8615
|
+
* `validateFindings` method (defense in depth: the executor refuses again before
|
|
8616
|
+
* composing argv), which also decodes through the findings result schema; the upstream
|
|
8617
|
+
* request error (`invalid_validation_report_request`) stays decoded evidence in
|
|
8618
|
+
* `request-failure`, while an unparseable stdout document or transport failure routes
|
|
8619
|
+
* through the existing `CliProjectionCommandError` path. Findings never replaces the
|
|
8620
|
+
* full validate report as the validation truth source — the kernel keeps no validate
|
|
8621
|
+
* projection here, so this loader is a separate evidence fetch for the server boundary.
|
|
8622
|
+
* The single spawn satisfies the one-admission-slot constraint by construction.
|
|
8623
|
+
*/
|
|
8624
|
+
async readValidationFindingsProjection(scope) {
|
|
8625
|
+
const capabilities = await this.resolveCliCapabilities();
|
|
8626
|
+
if (!capabilities.findingsReport) return {
|
|
8627
|
+
kind: "unavailable",
|
|
8628
|
+
capability: "findingsReport"
|
|
8629
|
+
};
|
|
8630
|
+
await touchOpsxProjectDeps(this.projectDir);
|
|
8631
|
+
const gated = await this.cliExecutor.contracts.validateFindings({
|
|
8632
|
+
target: scope === "archived" ? { kind: "archived" } : {
|
|
8633
|
+
kind: "scope",
|
|
8634
|
+
scope
|
|
8635
|
+
},
|
|
8636
|
+
capabilities: { findingsReport: capabilities.findingsReport },
|
|
8637
|
+
...this.rootSelector
|
|
8638
|
+
});
|
|
8639
|
+
if (gated.kind === "unavailable") return {
|
|
8640
|
+
kind: "unavailable",
|
|
8641
|
+
capability: "findingsReport"
|
|
8642
|
+
};
|
|
8643
|
+
const result = gated.result;
|
|
8644
|
+
if (!result.data) throw new CliProjectionCommandError(result.contractError || result.stderr.trim() || result.diagnostics.map((diagnostic) => diagnostic.message).join("\n") || `openspec validate --report findings failed (exit ${result.exitCode ?? "null"})`, result);
|
|
8645
|
+
const evidence = toCliProjectionCommandEvidence(result);
|
|
8646
|
+
return isCliValidateFindings(result.data) ? {
|
|
8647
|
+
kind: "findings",
|
|
8648
|
+
value: result.data,
|
|
8649
|
+
evidence
|
|
8650
|
+
} : {
|
|
8651
|
+
kind: "request-failure",
|
|
8652
|
+
value: result.data,
|
|
8653
|
+
evidence
|
|
8654
|
+
};
|
|
8655
|
+
}
|
|
8588
8656
|
/** Execute one artifact-instructions projection in the caller-owned Work generation. */
|
|
8589
8657
|
readInstructionsProjection(changeId, artifact, schema) {
|
|
8590
8658
|
return this.fetchInstructions(changeId, artifact, schema);
|
|
@@ -8925,4 +8993,4 @@ const PtyServerMessageSchema = z.discriminatedUnion("type", [
|
|
|
8925
8993
|
]);
|
|
8926
8994
|
|
|
8927
8995
|
//#endregion
|
|
8928
|
-
export { ACCESS_GATE_CREDENTIAL_BYTES, AI_TOOLS, ActiveRootMutationSchema, ActiveRootOfficialConfigSchema, ActiveRootRevisionSchema, ActiveRootStructuredUpdateSchema, AgentDeliveryModeSchema, AgentDeliveryPolicyUpdateSchema, AgentDeliveryProfileSchema, AgentDeliveryWorkflowSchema, ApplyInstructionsContextFilesSchema, ApplyInstructionsProjectionSchema, ApplyInstructionsSchema, ApplyTaskSchema, ArchiveInstructionsSchema, ArtifactInstructionsSchema, ArtifactStatusSchema, BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BUILTIN_TERMINAL_SPAWN_COMMANDS, BatchTranslateEventSchema, BatchTranslateInputSchema, BuiltinSoundIdSchema, CODE_EDITOR_THEME_VALUES, CUSTOM_SOUND_ADD_VALUE, ChangeFileSchema, ChangeSchema, ChangeStatusSchema, CliApplyInstructionsSchema, CliArchiveInstructionsSchema, CliArchiveSchema, CliArtifactInstructionsSchema, CliChangeListSchema, CliCommandTransportSchema, CliContextSchema, CliDiagnosticFailureSchema, CliDiagnosticSchema, CliDoctorReferenceEntrySchema, CliDoctorSchema, CliExecutor, CliJsonValueSchema, CliProjectionCommandError, CliProjectionCommandEvidenceSchema, CliProjectionFailureSchema, CliProjectionInvalidationCauseSchema, CliProjectionNoticeSchema, CliProjectionStateNameSchema, CliReferenceIndexEntrySchema, CliRootSchema, CliRootSourceSchema, CliShowSpecDocumentSchema, CliShowSpecSchema, CliSpecListSchema, CliStoreCleanupSchema, CliStoreDoctorEntrySchema, CliStoreDoctorSchema, CliStoreListSchema, CliStoreMutationSchema, CliStoreSchema, CliStreamTerminationError, CliValidateReportSchema, CliValidateSchema, CliWorkflowStatusSchema, CodeEditorThemeSchema, ConfigManager, CustomSoundHashSchema, CustomSoundIdSchema, CustomSoundMetadataFileSchema, CustomSoundMetadataSchema, DASHBOARD_METRIC_KEYS, DEFAULT_BELL_SOUND_ID, DEFAULT_CONFIG, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET, DEFAULT_GLOBAL_SETTINGS, DEFAULT_NOTIFICATION_SOUND_ID, DEFAULT_TERMINAL_DARK_THEME, DEFAULT_TERMINAL_LIGHT_THEME, DEFAULT_TERMINAL_THEME_MODE, DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, DEFAULT_TRANSLATION_ENGINE_ID, DOCUMENT_TRANSLATION_DISPLAY_MODES, DashboardConfigSchema, DashboardGitSnapshotSchema, DashboardOverviewSchema, DashboardSummaryIdentitySchema, DashboardSummaryInvalidationCauseSchema, DashboardSummaryInvalidationSchema, DashboardSummaryProjectionSchema, DashboardSummaryProjectionStateSchema, DashboardTrendsProjectionSchema, DeltaOperationType, DeltaSchema, DeltaSpecSchema, DependencyInfoSchema, DocumentTranslationConfigSchema, DocumentTranslationConfigUpdateSchema, DocumentTranslationDisplayModeSchema, DocumentTranslationGlobalSettingsUpdateSchema, EnvironmentDefaultStoreUpdateSchema, EnvironmentGlobalConfigValueSchema, EnvironmentGlobalFileProjectionDataSchema, EnvironmentGlobalFileProjectionStateSchema, EnvironmentGlobalProjectionDataSchema, EnvironmentGlobalProjectionStateSchema, FILE_PREVIEW_KINDS, GitConfigSchema, GlobalSettingsManager, HOSTED_SHELL_PROTOCOL_VERSION, LEGACY_SOUND_ID_MAP, LOCAL_MODEL_PROFILE_DEFINITIONS, LocalModelAssetLogSchema, LocalModelAssetPlanSnapshotSchema, LocalModelAssetStateSchema, LocalModelDownloadStatusSchema, LocalModelLifecycleFileStateSchema, LocalModelLifecycleGroupStateSchema, LocalModelProfileLoadStateSchema, LocalModelProfileManifestFileSchema, LocalModelProfileManifestGroupSchema, LocalModelProfileManifestSchema, LocalModelProfileStatusSchema, MAX_ACTIVE_ROOT_CONTEXT_BYTES, MAX_TRANSLATION_CACHE_ENTRY_LIMIT, MIN_TRANSLATION_CACHE_ENTRY_LIMIT, ManagedLocalCatalogSourceSchema, MarkdownParser, MarkdownReadingPluginRegistry, NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, NotificationActionSchema, NotificationGroupKeySchema, NotificationPublishInputSchema, NotificationRecordSchema, NotificationSettingsSchema, NotificationSoundSchema, NotificationSourceSchema, OFFICIAL_APP_BASE_URL, OPENCODE_PROVIDED_ARGUMENTS_LINE, OPENSPECUI_DOCUMENT_HOOK_VERSION, OPENSPECUI_RUNTIME_CAPABILITIES, OPENSPECUI_WORKFLOW_HOOK_VERSION, OPENSPEC_SPAWN_MODE_ENV, OPEN_SPEC_DATA_DIRECTORY_NAME, OPEN_SPEC_DATA_HOME_OBSERVATION_TARGETS, OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, OPEN_SPEC_SPEC_PROJECTION_ID, OPSX_AGENT_INVOCATION_MODE_VALUES, OPSX_ALL_WORKFLOWS, OPSX_ARTIFACT_INPUT_ACTIONS, OPSX_CHANGE_INPUT_ACTIONS, OPSX_COMMAND_CAPABLE_WORKFLOWS, OPSX_CORE_PROFILE_WORKFLOWS, OPSX_TEXT_INPUT_ACTIONS, OPSX_WORKFLOW_LABELS, OPSX_WORKFLOW_TO_SKILL_DIR, OPSX_WORKFLOW_TO_SKILL_DIR as TOOL_WORKFLOW_TO_SKILL_DIR, OpenSpecAdapter, OpenSpecCliContractExecutor, OpenSpecDataHomeObserver, OpenSpecUIConfigSchema, OpenSpecUIGlobalSettingsSchema, OpenSpecUIGlobalSettingsUpdateSchema, OpenSpecWatcher, OpsxAgentInvocationModeSchema, OpsxCliEvidenceSchema, OpsxConfigBundleSchema, OpsxConfigSchema, OpsxKernel, OpsxStatusEvidenceSchema, OwnedSpecIdentitySchema, PINNED_AGENT_GENERATOR_VERSION, PlanningCliProjectionDataSchema, PlanningCliProjectionSelectorSchema, PlanningCliProjectionStateSchema, PlanningConfigJsonValueSchema, PlanningConfigReferenceSchema, ProjectBindingUpdateSchema, ProjectWatcher, PtyAttachMessageSchema, PtyBellResponseSchema, PtyBufferResponseSchema, PtyClientMessageSchema, PtyCloseMessageSchema, PtyCreateMessageSchema, PtyCreatedResponseSchema, PtyErrorCodeSchema, PtyErrorResponseSchema, PtyExitResponseSchema, PtyInputMessageSchema, PtyListMessageSchema, PtyListResponseSchema, PtyOutputResponseSchema, PtyPlatformSchema, PtyProcessTitleResponseSchema, PtyResizeMessageSchema, PtyServerMessageSchema, PtyTitleResponseSchema, RUNTIME_INVALIDATION_FACETS, ReactiveContext, ReactiveObservationEnvironment, ReactiveState, ReferencedSpecIdentitySchema, RequirementSchema, RuntimeInvalidationIndex, RuntimeRootInvalidationRegistry, SERVE_PRESENTATION_MODES, SERVICE_TRANSLATION_ENGINE_IDS, SHARED_AGENTS_SKILLS_OWNER_CANDIDATES, SHARED_AGENTS_SKILLS_ROOT, SHARED_SKILLS_TARGET_MARKER, SILENT_SOUND_ID, ScenarioStepKeywordSchema, ScenarioStepSchema, SchemaArtifactSchema, SchemaDetailSchema, SchemaInfoSchema, SchemaResolutionSchema, ServePresentationModeSchema, ServiceTranslationEngineIdSchema, SoundConfigIdSchema, SoundIdSchema, SpecCatalogSchema, SpecCommandEvidenceSchema, SpecDocumentProjectionSchema, SpecIdentitySchema, SpecSchema, StoreDoctorResultSchema, StoreListResultSchema, StoreMutationLifecycleEventSchema, StoreMutationResultSchema, StoreMutationSchema, StoreMutationStartResponseSchema, 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, TRANSLATION_CACHE_POLICY_VERSION, TRANSLATION_ENGINE_IDS, TRANSLATION_ENGINE_MANIFESTS, TRANSLATOR_CONTRACT_VERSION, TaskSchema, TemplateContentMapSchema, TemplateContentSchema, TemplatesSchema, TerminalBellSoundSchema, TerminalCommandFieldSchema, TerminalConfigSchema, TerminalControlParser, TerminalCwdTargetSchema, TerminalInvocationSettingsSchema, TerminalNotificationParser, TerminalRendererEngineSchema, TerminalShellProfileSchema, TerminalShellQuoteStyleSchema, TerminalSpawnCommandSchema, TerminalThemeModeSchema, TerminalThemeSchema, TrackedTaskProgressSchema, TranslationCacheEntrySchema, TranslationCacheReadInputSchema, TranslationCacheSettingsSchema, TranslationCacheSettingsUpdateSchema, TranslationCacheStatsSchema, TranslationCacheWriteInputSchema, TranslationDownloadFilePlanSchema, TranslationDownloadGroupPlanSchema, TranslationEngineAssetStateSchema, TranslationEngineAssetStatusSchema, TranslationEngineDependencyStateSchema, TranslationEngineDependencyStatusSchema, TranslationEngineGlobalSettingsSchema, TranslationEngineGlobalSettingsUpdateSchema, TranslationEngineIdSchema, TranslationEngineInstallLogEventSchema, TranslationEngineInstallLogStreamSchema, TranslationEngineLifecycleEventSchema, TranslationEngineLifecycleStatusSchema, TranslationEngineProjectSettingsSchema, TranslationEngineProjectSettingsUpdateSchema, TranslationEngineRuntimeStateSchema, TranslationEngineRuntimeStatusSchema, TranslationLocalCt2SettingsSchema, TranslationLocalCt2SettingsUpdateSchema, TranslationLocalLlamaSettingsSchema, TranslationLocalLlamaSettingsUpdateSchema, TranslationLocalSettingsSchema, TranslationLocalSettingsUpdateSchema, TranslationOpenAISettingsSchema, TranslationOpenAISettingsUpdateSchema, VIRTUAL_PROJECT_DIRNAME, Validator, accessGateFingerprint, acquireWatcher, acquireWatcherRoot, annotateOpenSpecFacts, annotateOpenSpecMarkdown, applyAgentDeliveryPolicy, asEnvUri, buildBackendHealthPayload, buildCliRunnerCandidates, buildEmbeddedUiLaunchUrl, buildHostedLaunchUrl, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, buildMarkdownParentMap, buildOpsxEntityDetail, buildRuntimePackageInstallCommand, buildSpecCatalog, builtinOpenSpecReadingPlugin, checkLocalDirectionalModelLanguagePair, classifyStoreCliResult, clearCache, cliProjectionStates, closeAllProjectWatchers, closeAllWatchers, compareAndWriteAtomicPhysicalReactiveFile, computeEnvUri, constantTimeEqual, contextStorage, createApplyInstructionProgress, createCleanCliEnv, createCliProjectionStateSchema, createDocumentChecklistSummary, createFileChangeObservable, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, createOpenSpecReadingPlugin, createPhysicalReactiveDirectory, createStaticSpecCatalogOwnedProjection, createStaticSpecCatalogReferenceProjection, createStaticSpecCatalogReferenceSource, createToolInitStateProjection, createTrackedTaskProgress, createTranslationEngineLifecycleStatus, customHashFromSoundId, deriveTrackedTaskPhase, detectRuntimePackageManager, generateAccessGateCredential, getActiveWatcherCount, getAllToolIds, getAllTools, getAvailableToolIds, getAvailableTools, getBuiltinSoundUrl, getCacheSize, getConfiguredTools, getDefaultCliCommand, getDefaultCliCommandString, getDefaultGlobalSettingsPath, getDetectedProjectTools, getExternalAgentSkillsObservationRoots, getExternalCodexCommandObservationRoot, getManagedLocalTranslationEngineManifest, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, getNotificationGroupKey, getNotificationGroupLabel, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, getProjectWatcher, getRootContextCliSelector, getSpecCatalogEntry, getTerminalCommandDefaultValues, getToolById, getToolInitStates, getTranslationEngineLifecycleMessage, getTranslationEngineManifest, getWatcherRuntimeStatus, groupNotifications, hasCapability, inferFileMime, inferFilePreviewKind, inferLocalDirectionalModelLanguagePair, inspectActiveRootOfficialConfig, inspectEnvironmentDefaultStore, inspectProjectBinding, isBackendHealthRuntimeMetadata, isBatchTranslationAbort, isDirectionalManagedLocalTranslationEngineId, isEquivalentAgentCommandContent, isGlobPattern, isHostedBackendHealthResponse, isManagedLocalTranslationEngineId, isMarkdownTaskSourcePath, isOpsxCoreWorkflowSelection, isOpsxGlobPattern, isPreviewableFile, isReferencedSpecIdentity, isSupportedEmbeddedUiUrl, isTerminalMutationStatus, isTerminalRendererEngine, isTextLikeFile, isTextLikeMime, isToolConfigured, isTranslationEngineDependencyReady, isTranslationEngineRuntimeReady, isWatcherPoolInitialized, loadOpenSpecAgentCommandContents, mergeSpecCatalog, normalizeAccessGatePassword, normalizeAgentDeliveryPolicy, normalizeBatchTranslationError, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, normalizeLegacySoundId, normalizeOpsxEntityPath, openSpecAnnotationRules, opsxGlobToRegex, opsxPathMatchesPattern, parseCliCommand, parseCliCommandResult, parseMarkdownFacts, parseMarkdownTasks, parseOpenSpecCliSeries, parseOpenSpecMarkdownToSpec, parseOpsxEntityMetadata, parseOpsxSchemaDetail, patchActiveRootOfficialFields, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown, projectTaskProjectionsFromMarkdownFiles, quoteTerminalShellArg, reactiveExists, reactiveReadDir, reactiveReadFile, reactiveStat, redactSnapshotForPublication, removePhysicalReactivePath, renderTerminalCommandArgs, renderTerminalSpawnCommandLine, replaceFileAtomically, requireCanonicalOpenSpecEntityId, requireCanonicalOpenSpecSpecId, requireOpenSpecEntityRelativePath, resolveCommandInvocation, resolveGlobalSkillsInventoryDir, resolveHostedAppBaseUrl, resolveOpenSpecDataScope, resolveOpenSpecSpawnMode, resolveRootContext, resolveRuntimePackageInstallStrategy, resolveTerminalShellDefaults, resolveToolSkillsScope, resolveWindowsCommandInvocation, runControlledTranslationTask, runPhysicalReactivePathMutation, selectAgentDeliveryRegistry, selectLocalDownloadGroup, shouldShowTranslationEngineInstallGate, snapshotHasAbsolutePath, sniffGlobalCli, sortMarkdownReadingPlugins, soundIdFromCustomHash, spawnSafe, specDocumentDisplayPath, specIdentityFromRoute, specIdentityKey, specRoutePath, subscribeWatcherRuntimeStatus, terminalNotificationEventToPublishInput, terminateChildProcessTree, terminateWindowsProcessTreeByIdentity, toCliProjectionCommandEvidence, toCliProjectionFailure, toCliProjectionNotice, toMarkdownFactKind, toOpsxDisplayPath, toPersistedGlobalSettings, toStoreFeatureResult, toggleMarkdownTask, trimMarkdownSlice, updateProjectBindingContent, updateReactiveFileCache, validateActiveRootRawYaml, writeAtomicPhysicalReactiveFile, writePhysicalReactiveFile };
|
|
8996
|
+
export { ACCESS_GATE_CREDENTIAL_BYTES, AI_TOOLS, ActiveRootMutationSchema, ActiveRootOfficialConfigSchema, ActiveRootRevisionSchema, ActiveRootStructuredUpdateSchema, AgentDeliveryModeSchema, AgentDeliveryPolicyUpdateSchema, AgentDeliveryProfileSchema, AgentDeliveryWorkflowSchema, ApplyInstructionsContextFilesSchema, ApplyInstructionsProjectionSchema, ApplyInstructionsSchema, ApplyTaskSchema, ArchiveInstructionsSchema, ArtifactInstructionsSchema, ArtifactStatusSchema, BUILTIN_SOUND_IDS, BUILTIN_SOUND_OPTIONS, BUILTIN_TERMINAL_SPAWN_COMMANDS, BatchTranslateEventSchema, BatchTranslateInputSchema, BuiltinSoundIdSchema, CODE_EDITOR_THEME_VALUES, CUSTOM_SOUND_ADD_VALUE, ChangeFileSchema, ChangeSchema, ChangeStatusSchema, CliApplyInstructionsSchema, CliArchiveInstructionsSchema, CliArchiveSchema, CliArtifactInstructionsSchema, CliChangeListSchema, CliCommandTransportSchema, CliContextSchema, CliDiagnosticFailureSchema, CliDiagnosticSchema, CliDoctorReferenceEntrySchema, CliDoctorSchema, CliExecutor, CliJsonValueSchema, CliProjectionCommandError, CliProjectionCommandEvidenceSchema, CliProjectionFailureSchema, CliProjectionInvalidationCauseSchema, CliProjectionNoticeSchema, CliProjectionStateNameSchema, CliReferenceIndexEntrySchema, CliRootSchema, CliRootSourceSchema, CliShowSpecDocumentSchema, CliShowSpecSchema, CliSpecListSchema, CliStoreCleanupSchema, CliStoreDoctorEntrySchema, CliStoreDoctorSchema, CliStoreListSchema, CliStoreMutationSchema, CliStoreSchema, CliStreamTerminationError, CliValidateFindingsResultSchema, CliValidateFindingsSchema, CliValidateReportSchema, CliValidateSchema, CliWorkflowStatusSchema, CodeEditorThemeSchema, ConfigManager, CustomSoundHashSchema, CustomSoundIdSchema, CustomSoundMetadataFileSchema, CustomSoundMetadataSchema, DASHBOARD_METRIC_KEYS, DEFAULT_BELL_SOUND_ID, DEFAULT_CONFIG, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET, DEFAULT_GLOBAL_SETTINGS, DEFAULT_NOTIFICATION_SOUND_ID, DEFAULT_TERMINAL_DARK_THEME, DEFAULT_TERMINAL_LIGHT_THEME, DEFAULT_TERMINAL_THEME_MODE, DEFAULT_TRANSLATION_CACHE_ENTRY_LIMIT, DEFAULT_TRANSLATION_ENGINE_ID, DOCUMENT_TRANSLATION_DISPLAY_MODES, DashboardConfigSchema, DashboardGitSnapshotSchema, DashboardOverviewSchema, DashboardSummaryIdentitySchema, DashboardSummaryInvalidationCauseSchema, DashboardSummaryInvalidationSchema, DashboardSummaryProjectionSchema, DashboardSummaryProjectionStateSchema, DashboardTrendsProjectionSchema, DeltaOperationType, DeltaSchema, DeltaSpecSchema, DependencyInfoSchema, DocumentTranslationConfigSchema, DocumentTranslationConfigUpdateSchema, DocumentTranslationDisplayModeSchema, DocumentTranslationGlobalSettingsUpdateSchema, EnvironmentDefaultStoreUpdateSchema, EnvironmentGlobalConfigValueSchema, EnvironmentGlobalFileProjectionDataSchema, EnvironmentGlobalFileProjectionStateSchema, EnvironmentGlobalProjectionDataSchema, EnvironmentGlobalProjectionStateSchema, FILE_PREVIEW_KINDS, GitConfigSchema, GlobalSettingsManager, HOSTED_SHELL_PROTOCOL_VERSION, LEGACY_SOUND_ID_MAP, LOCAL_MODEL_PROFILE_DEFINITIONS, LocalModelAssetLogSchema, LocalModelAssetPlanSnapshotSchema, LocalModelAssetStateSchema, LocalModelDownloadStatusSchema, LocalModelLifecycleFileStateSchema, LocalModelLifecycleGroupStateSchema, LocalModelProfileLoadStateSchema, LocalModelProfileManifestFileSchema, LocalModelProfileManifestGroupSchema, LocalModelProfileManifestSchema, LocalModelProfileStatusSchema, MAX_ACTIVE_ROOT_CONTEXT_BYTES, MAX_TRANSLATION_CACHE_ENTRY_LIMIT, MIN_TRANSLATION_CACHE_ENTRY_LIMIT, ManagedLocalCatalogSourceSchema, MarkdownParser, MarkdownReadingPluginRegistry, NOTIFICATION_SOUND_OPTIONS, NOTIFICATION_SOUND_VALUES, NotificationActionSchema, NotificationGroupKeySchema, NotificationPublishInputSchema, NotificationRecordSchema, NotificationSettingsSchema, NotificationSoundSchema, NotificationSourceSchema, OFFICIAL_APP_BASE_URL, OPENCODE_PROVIDED_ARGUMENTS_LINE, OPENSPECUI_DOCUMENT_HOOK_VERSION, OPENSPECUI_RUNTIME_CAPABILITIES, OPENSPECUI_WORKFLOW_HOOK_VERSION, OPENSPEC_SPAWN_MODE_ENV, OPEN_SPEC_DATA_DIRECTORY_NAME, OPEN_SPEC_DATA_HOME_OBSERVATION_TARGETS, OPEN_SPEC_READING_SECTIONS_PROJECTION_ID, OPEN_SPEC_SPEC_PROJECTION_ID, OPSX_AGENT_INVOCATION_MODE_VALUES, OPSX_ALL_WORKFLOWS, OPSX_ARTIFACT_INPUT_ACTIONS, OPSX_CHANGE_INPUT_ACTIONS, OPSX_COMMAND_CAPABLE_WORKFLOWS, OPSX_CORE_PROFILE_WORKFLOWS, OPSX_TEXT_INPUT_ACTIONS, OPSX_WORKFLOW_LABELS, OPSX_WORKFLOW_TO_SKILL_DIR, OPSX_WORKFLOW_TO_SKILL_DIR as TOOL_WORKFLOW_TO_SKILL_DIR, OpenSpecAdapter, OpenSpecCliContractExecutor, OpenSpecDataHomeObserver, OpenSpecUIConfigSchema, OpenSpecUIGlobalSettingsSchema, OpenSpecUIGlobalSettingsUpdateSchema, OpenSpecWatcher, OpsxAgentInvocationModeSchema, OpsxCliEvidenceSchema, OpsxConfigBundleSchema, OpsxConfigSchema, OpsxKernel, OpsxStatusEvidenceSchema, OwnedSpecIdentitySchema, PINNED_AGENT_GENERATOR_VERSION, PlanningCliProjectionDataSchema, PlanningCliProjectionSelectorSchema, PlanningCliProjectionStateSchema, PlanningConfigJsonValueSchema, PlanningConfigReferenceSchema, ProjectBindingUpdateSchema, ProjectWatcher, PtyAttachMessageSchema, PtyBellResponseSchema, PtyBufferResponseSchema, PtyClientMessageSchema, PtyCloseMessageSchema, PtyCreateMessageSchema, PtyCreatedResponseSchema, PtyErrorCodeSchema, PtyErrorResponseSchema, PtyExitResponseSchema, PtyInputMessageSchema, PtyListMessageSchema, PtyListResponseSchema, PtyOutputResponseSchema, PtyPlatformSchema, PtyProcessTitleResponseSchema, PtyResizeMessageSchema, PtyServerMessageSchema, PtyTitleResponseSchema, RUNTIME_INVALIDATION_FACETS, ReactiveContext, ReactiveObservationEnvironment, ReactiveState, ReferencedSpecIdentitySchema, RequirementSchema, RuntimeInvalidationIndex, RuntimeRootInvalidationRegistry, SERVE_PRESENTATION_MODES, SERVICE_TRANSLATION_ENGINE_IDS, SHARED_AGENTS_SKILLS_OWNER_CANDIDATES, SHARED_AGENTS_SKILLS_ROOT, SHARED_SKILLS_TARGET_MARKER, SILENT_SOUND_ID, ScenarioStepKeywordSchema, ScenarioStepSchema, SchemaArtifactSchema, SchemaDetailSchema, SchemaInfoSchema, SchemaResolutionSchema, ServePresentationModeSchema, ServiceTranslationEngineIdSchema, SoundConfigIdSchema, SoundIdSchema, SpecCatalogSchema, SpecCommandEvidenceSchema, SpecDocumentProjectionSchema, SpecIdentitySchema, SpecSchema, StoreDoctorResultSchema, StoreListResultSchema, StoreMutationLifecycleEventSchema, StoreMutationResultSchema, StoreMutationSchema, StoreMutationStartResponseSchema, 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, TRANSLATION_CACHE_POLICY_VERSION, TRANSLATION_ENGINE_IDS, TRANSLATION_ENGINE_MANIFESTS, TRANSLATOR_CONTRACT_VERSION, TaskSchema, TemplateContentMapSchema, TemplateContentSchema, TemplatesSchema, TerminalBellSoundSchema, TerminalCommandFieldSchema, TerminalConfigSchema, TerminalControlParser, TerminalCwdTargetSchema, TerminalInvocationSettingsSchema, TerminalNotificationParser, TerminalRendererEngineSchema, TerminalShellProfileSchema, TerminalShellQuoteStyleSchema, TerminalSpawnCommandSchema, TerminalThemeModeSchema, TerminalThemeSchema, TrackedTaskProgressSchema, TranslationCacheEntrySchema, TranslationCacheReadInputSchema, TranslationCacheSettingsSchema, TranslationCacheSettingsUpdateSchema, TranslationCacheStatsSchema, TranslationCacheWriteInputSchema, TranslationDownloadFilePlanSchema, TranslationDownloadGroupPlanSchema, TranslationEngineAssetStateSchema, TranslationEngineAssetStatusSchema, TranslationEngineDependencyStateSchema, TranslationEngineDependencyStatusSchema, TranslationEngineGlobalSettingsSchema, TranslationEngineGlobalSettingsUpdateSchema, TranslationEngineIdSchema, TranslationEngineInstallLogEventSchema, TranslationEngineInstallLogStreamSchema, TranslationEngineLifecycleEventSchema, TranslationEngineLifecycleStatusSchema, TranslationEngineProjectSettingsSchema, TranslationEngineProjectSettingsUpdateSchema, TranslationEngineRuntimeStateSchema, TranslationEngineRuntimeStatusSchema, TranslationLocalCt2SettingsSchema, TranslationLocalCt2SettingsUpdateSchema, TranslationLocalLlamaSettingsSchema, TranslationLocalLlamaSettingsUpdateSchema, TranslationLocalSettingsSchema, TranslationLocalSettingsUpdateSchema, TranslationOpenAISettingsSchema, TranslationOpenAISettingsUpdateSchema, VIRTUAL_PROJECT_DIRNAME, Validator, accessGateFingerprint, acquireWatcher, acquireWatcherRoot, annotateOpenSpecFacts, annotateOpenSpecMarkdown, applyAgentDeliveryPolicy, asEnvUri, buildBackendHealthPayload, buildCliRunnerCandidates, buildEmbeddedUiLaunchUrl, buildHostedLaunchUrl, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, buildMarkdownParentMap, buildOpsxEntityDetail, buildRuntimePackageInstallCommand, buildSpecCatalog, builtinOpenSpecReadingPlugin, checkLocalDirectionalModelLanguagePair, classifyStoreCliResult, clearCache, cliProjectionStates, closeAllProjectWatchers, closeAllWatchers, compareAndWriteAtomicPhysicalReactiveFile, computeEnvUri, constantTimeEqual, contextStorage, createApplyInstructionProgress, createCleanCliEnv, createCliProjectionStateSchema, createDocumentChecklistSummary, createFileChangeObservable, createMarkdownReadingDocument, createMarkdownReadingDocumentFromFacts, createOpenSpecReadingPlugin, createPhysicalReactiveDirectory, createStaticSpecCatalogOwnedProjection, createStaticSpecCatalogReferenceProjection, createStaticSpecCatalogReferenceSource, createToolInitStateProjection, createTrackedTaskProgress, createTranslationEngineLifecycleStatus, customHashFromSoundId, deriveTrackedTaskPhase, detectRuntimePackageManager, generateAccessGateCredential, getActiveWatcherCount, getAllToolIds, getAllTools, getAvailableToolIds, getAvailableTools, getBuiltinSoundUrl, getCacheSize, getConfiguredTools, getDefaultCliCommand, getDefaultCliCommandString, getDefaultGlobalSettingsPath, getDetectedProjectTools, getExternalAgentSkillsObservationRoots, getExternalCodexCommandObservationRoot, getManagedLocalTranslationEngineManifest, getMarkdownAnnotation, getMarkdownAnnotationsForFact, getMarkdownFactSpan, getMarkdownHeadingEnd, getMarkdownHeadingFacts, getNotificationGroupKey, getNotificationGroupLabel, getOpenSpecAnnotation, getOpenSpecAnnotationsForFact, getOpenSpecProjectionAnnotation, getOpenSpecReadingSections, getOpsxEntityMetadataPath, getOpsxEntityRootRelativePath, getProjectWatcher, getRootContextCliSelector, getSpecCatalogEntry, getTerminalCommandDefaultValues, getToolById, getToolInitStates, getTranslationEngineLifecycleMessage, getTranslationEngineManifest, getWatcherRuntimeStatus, groupNotifications, hasCapability, inferFileMime, inferFilePreviewKind, inferLocalDirectionalModelLanguagePair, inspectActiveRootOfficialConfig, inspectEnvironmentDefaultStore, inspectProjectBinding, isBackendHealthRuntimeMetadata, isBatchTranslationAbort, isCliValidateFindings, isDirectionalManagedLocalTranslationEngineId, isEquivalentAgentCommandContent, isGlobPattern, isHostedBackendHealthResponse, isManagedLocalTranslationEngineId, isMarkdownTaskSourcePath, isOpsxCoreWorkflowSelection, isOpsxGlobPattern, isPreviewableFile, isReferencedSpecIdentity, isSupportedEmbeddedUiUrl, isTerminalMutationStatus, isTerminalRendererEngine, isTextLikeFile, isTextLikeMime, isToolConfigured, isTranslationEngineDependencyReady, isTranslationEngineRuntimeReady, isWatcherPoolInitialized, loadOpenSpecAgentCommandContents, mergeSpecCatalog, normalizeAccessGatePassword, normalizeAgentDeliveryPolicy, normalizeBatchTranslationError, normalizeEmbeddedUiUrl, normalizeHostedAppBaseUrl, normalizeLegacySoundId, normalizeOpsxEntityPath, openSpecAnnotationRules, opsxGlobToRegex, opsxPathMatchesPattern, parseCliCommand, parseCliCommandResult, parseMarkdownFacts, parseMarkdownTasks, parseOpenSpecCliSeries, parseOpenSpecMarkdownToSpec, parseOpsxEntityMetadata, parseOpsxSchemaDetail, patchActiveRootOfficialFields, projectAnnotatedOpenSpecToSpec, projectOpenSpecMarkdown, projectTaskProjectionsFromMarkdownFiles, quoteTerminalShellArg, reactiveExists, reactiveReadDir, reactiveReadFile, reactiveStat, redactSnapshotForPublication, removePhysicalReactivePath, renderTerminalCommandArgs, renderTerminalSpawnCommandLine, replaceFileAtomically, requireCanonicalOpenSpecEntityId, requireCanonicalOpenSpecSpecId, requireOpenSpecEntityRelativePath, resolveCommandInvocation, resolveGlobalSkillsInventoryDir, resolveHostedAppBaseUrl, resolveOpenSpecDataScope, resolveOpenSpecSpawnMode, resolveRootContext, resolveRuntimePackageInstallStrategy, resolveTerminalShellDefaults, resolveToolSkillsScope, resolveWindowsCommandInvocation, runControlledTranslationTask, runPhysicalReactivePathMutation, selectAgentDeliveryRegistry, selectLocalDownloadGroup, shouldShowTranslationEngineInstallGate, snapshotHasAbsolutePath, sniffGlobalCli, sortMarkdownReadingPlugins, soundIdFromCustomHash, spawnSafe, specDocumentDisplayPath, specIdentityFromRoute, specIdentityKey, specRoutePath, subscribeWatcherRuntimeStatus, terminalNotificationEventToPublishInput, terminateChildProcessTree, terminateWindowsProcessTreeByIdentity, toCliProjectionCommandEvidence, toCliProjectionFailure, toCliProjectionNotice, toMarkdownFactKind, toOpsxDisplayPath, toPersistedGlobalSettings, toStoreFeatureResult, toggleMarkdownTask, trimMarkdownSlice, updateProjectBindingContent, updateReactiveFileCache, validateActiveRootRawYaml, writeAtomicPhysicalReactiveFile, writePhysicalReactiveFile };
|
package/dist/{local-download-profiles-DXNExauZ.d.mts → local-download-profiles-DaFozMhH.d.mts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as TranslationDownloadGroupPlan, Rt as TranslationModelDownloadPlan } from "./translator-
|
|
1
|
+
import { G as TranslationDownloadGroupPlan, Rt as TranslationModelDownloadPlan } from "./translator-DZO_bY1X.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/local-download-profiles.d.ts
|
|
4
4
|
declare const LOCAL_MODEL_PROFILE_DEFINITIONS: readonly [{
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./translator-
|
|
2
|
-
import { a as buildLocalDownloadPlanFromRepositoryFiles, i as LocalRuntimeProfileFiles, n as LocalModelProfileId, o as buildLocalDownloadPlanFromRuntimeProfileFiles, r as LocalRepositoryFile, s as selectLocalDownloadGroup, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-
|
|
1
|
+
import "./translator-DZO_bY1X.mjs";
|
|
2
|
+
import { a as buildLocalDownloadPlanFromRepositoryFiles, i as LocalRuntimeProfileFiles, n as LocalModelProfileId, o as buildLocalDownloadPlanFromRuntimeProfileFiles, r as LocalRepositoryFile, s as selectLocalDownloadGroup, t as LOCAL_MODEL_PROFILE_DEFINITIONS } from "./local-download-profiles-DaFozMhH.mjs";
|
|
3
3
|
export { LOCAL_MODEL_PROFILE_DEFINITIONS, LocalModelProfileId, LocalRepositoryFile, LocalRuntimeProfileFiles, buildLocalDownloadPlanFromRepositoryFiles, buildLocalDownloadPlanFromRuntimeProfileFiles, selectLocalDownloadGroup };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as SoundId } from "./sounds-
|
|
1
|
+
import { x as SoundId } from "./sounds-DzDkqTIX.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/terminal-control.d.ts
|
|
@@ -318,7 +318,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
318
318
|
};
|
|
319
319
|
label: string;
|
|
320
320
|
})[];
|
|
321
|
-
level: "
|
|
321
|
+
level: "success" | "error" | "warning" | "info";
|
|
322
322
|
createdAt?: number | undefined;
|
|
323
323
|
}, {
|
|
324
324
|
source: {
|
|
@@ -341,6 +341,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
341
341
|
title?: string | undefined;
|
|
342
342
|
};
|
|
343
343
|
title: string;
|
|
344
|
+
createdAt?: number | undefined;
|
|
344
345
|
body?: string | undefined;
|
|
345
346
|
actions?: ({
|
|
346
347
|
type: "terminal.focus";
|
|
@@ -355,8 +356,7 @@ declare const NotificationPublishInputSchema: z.ZodObject<{
|
|
|
355
356
|
};
|
|
356
357
|
label?: string | undefined;
|
|
357
358
|
})[] | undefined;
|
|
358
|
-
level?: "
|
|
359
|
-
createdAt?: number | undefined;
|
|
359
|
+
level?: "success" | "error" | "warning" | "info" | undefined;
|
|
360
360
|
}>;
|
|
361
361
|
type NotificationPublishInput = z.infer<typeof NotificationPublishInputSchema>;
|
|
362
362
|
declare const NotificationRecordSchema: z.ZodObject<{
|
|
@@ -488,6 +488,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
488
488
|
groupId: string;
|
|
489
489
|
title?: string | undefined;
|
|
490
490
|
};
|
|
491
|
+
createdAt: number;
|
|
491
492
|
title: string;
|
|
492
493
|
body: string;
|
|
493
494
|
actions: ({
|
|
@@ -503,8 +504,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
503
504
|
};
|
|
504
505
|
label: string;
|
|
505
506
|
})[];
|
|
506
|
-
level: "
|
|
507
|
-
createdAt: number;
|
|
507
|
+
level: "success" | "error" | "warning" | "info";
|
|
508
508
|
groupKey: string;
|
|
509
509
|
}, {
|
|
510
510
|
id: string;
|
|
@@ -527,8 +527,8 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
527
527
|
groupId: string;
|
|
528
528
|
title?: string | undefined;
|
|
529
529
|
};
|
|
530
|
-
title: string;
|
|
531
530
|
createdAt: number;
|
|
531
|
+
title: string;
|
|
532
532
|
groupKey: string;
|
|
533
533
|
body?: string | undefined;
|
|
534
534
|
actions?: ({
|
|
@@ -544,7 +544,7 @@ declare const NotificationRecordSchema: z.ZodObject<{
|
|
|
544
544
|
};
|
|
545
545
|
label?: string | undefined;
|
|
546
546
|
})[] | undefined;
|
|
547
|
-
level?: "
|
|
547
|
+
level?: "success" | "error" | "warning" | "info" | undefined;
|
|
548
548
|
}>;
|
|
549
549
|
type NotificationRecord = z.infer<typeof NotificationRecordSchema>;
|
|
550
550
|
interface NotificationAggregate {
|
package/dist/notifications.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./sounds-
|
|
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-
|
|
1
|
+
import "./sounds-DzDkqTIX.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-Dkoh_xrs.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,10 +1,11 @@
|
|
|
1
1
|
//#region src/openspec-compat.ts
|
|
2
2
|
/**
|
|
3
|
-
* Orthogonal intents (updated 2026-
|
|
3
|
+
* Orthogonal intents (updated 2026-09-03 Asia/Shanghai):
|
|
4
4
|
* 1. Encode the shipped OpenSpecUI release line's OpenSpec CLI compatibility law.
|
|
5
5
|
* 2. Classify current, supported non-current, unsupported, and unknown CLI versions.
|
|
6
6
|
* 3. Express the accepted range and the recommended line as separate public facts.
|
|
7
|
-
* 4. Derive per-command capabilities
|
|
7
|
+
* 4. Derive per-command capabilities (including the 1.12 findings report) from the detected
|
|
8
|
+
* admitted CLI version.
|
|
8
9
|
* 5. Re-export the browser-safe contract schemas for renderer evidence boundaries.
|
|
9
10
|
*
|
|
10
11
|
* Original request (2026-07-15): "CLI 1.6 兼容性门禁。"
|
|
@@ -12,24 +13,25 @@
|
|
|
12
13
|
* Original request (2026-08-01): "v7不兼容1.6.x,明确要求必须使用 v1.7.x。"
|
|
13
14
|
* Original request (2026-08-15): "v9的适配需要同时适配 1.8和1.9。"
|
|
14
15
|
* Original request (2026-08-28): "直接将 0.10.0 和 0.11.0 一起适配,然后发布 v11。"
|
|
16
|
+
* Original request (2026-09-03): "Openspec 1.12.0 刚刚放出来,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进"
|
|
15
17
|
*/
|
|
16
|
-
const OPENSPECUI_TARGET_MAJOR =
|
|
17
|
-
const OPENSPEC_CLI_TARGET_SERIES = "1.
|
|
18
|
-
const OPENSPEC_CLI_SUPPORTED_SERIES = ["1.
|
|
19
|
-
const OPENSPEC_CLI_MIN_VERSION = "1.
|
|
20
|
-
const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.
|
|
21
|
-
const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.
|
|
22
|
-
const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.
|
|
23
|
-
const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.
|
|
24
|
-
const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.
|
|
25
|
-
const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.
|
|
18
|
+
const OPENSPECUI_TARGET_MAJOR = 12;
|
|
19
|
+
const OPENSPEC_CLI_TARGET_SERIES = "1.12";
|
|
20
|
+
const OPENSPEC_CLI_SUPPORTED_SERIES = ["1.12"];
|
|
21
|
+
const OPENSPEC_CLI_MIN_VERSION = "1.12.0";
|
|
22
|
+
const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.12.0";
|
|
23
|
+
const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.12.0";
|
|
24
|
+
const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.13.0";
|
|
25
|
+
const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.12.0 <1.13.0";
|
|
26
|
+
const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.12.0 <1.13.0";
|
|
27
|
+
const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.12.*";
|
|
26
28
|
/**
|
|
27
29
|
* Derive command capabilities from one parsed CLI version.
|
|
28
30
|
*
|
|
29
31
|
* Only an admitted version — stable inside the accepted range — can select version-specific
|
|
30
|
-
* capabilities. Unsupported forms (prereleases, >=1.
|
|
32
|
+
* capabilities. Unsupported forms (prereleases, >=1.13, below-range) and unparseable output
|
|
31
33
|
* keep their mismatch evidence and expose no capability, so a page-level version bypass can
|
|
32
|
-
* never manufacture a 1.
|
|
34
|
+
* never manufacture a 1.12 command surface for a CLI the release line does not admit.
|
|
33
35
|
*/
|
|
34
36
|
function deriveOpenSpecCliCapabilities(version) {
|
|
35
37
|
if (!isAdmittedVersion(version)) return {
|
|
@@ -37,7 +39,8 @@ function deriveOpenSpecCliCapabilities(version) {
|
|
|
37
39
|
archivedValidation: false,
|
|
38
40
|
initLanguage: false,
|
|
39
41
|
batchStatus: false,
|
|
40
|
-
requirementDiff: false
|
|
42
|
+
requirementDiff: false,
|
|
43
|
+
findingsReport: false
|
|
41
44
|
};
|
|
42
45
|
const onTargetSeries = isSeries(version, OPENSPEC_CLI_TARGET_SERIES);
|
|
43
46
|
return {
|
|
@@ -45,7 +48,8 @@ function deriveOpenSpecCliCapabilities(version) {
|
|
|
45
48
|
archivedValidation: true,
|
|
46
49
|
initLanguage: true,
|
|
47
50
|
batchStatus: onTargetSeries,
|
|
48
|
-
requirementDiff: onTargetSeries
|
|
51
|
+
requirementDiff: onTargetSeries,
|
|
52
|
+
findingsReport: onTargetSeries
|
|
49
53
|
};
|
|
50
54
|
}
|
|
51
55
|
function parseOpenSpecCliVersion(raw) {
|