@openspecui/core 5.0.0 → 6.0.0-beta.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/cli-projection-DxnVGm2B.d.mts +789 -0
- package/dist/cli-projection-vO3-FJg5.mjs +161 -0
- package/dist/cli-projection.d.mts +6 -0
- package/dist/cli-projection.mjs +4 -0
- package/dist/command-result-fkH3Ekdz.d.mts +8477 -0
- package/dist/common-D8YUK9dA.mjs +57 -0
- package/dist/dashboard-summary-transport-CQ4is5_e.d.mts +66227 -0
- package/dist/dashboard-summary-transport-D2VBAIxg.mjs +175 -0
- package/dist/dashboard-summary-transport.d.mts +25 -0
- package/dist/dashboard-summary-transport.mjs +6 -0
- package/dist/{document-translation-D4YK18I3.mjs → document-translation-CeJFGMoy.mjs} +1 -1
- package/dist/{document-translation-7R8cf8_B.d.mts → document-translation-D50BnvVh.d.mts} +2 -2
- package/dist/document-translation.d.mts +1 -1
- package/dist/document-translation.mjs +2 -2
- package/dist/{hosted-app-CzMRiEgY.mjs → hosted-app-BPU4OR41.mjs} +31 -9
- package/dist/hosted-app.d.mts +25 -2
- package/dist/hosted-app.mjs +7 -2
- package/dist/hosted-contract-CcRnb51e.mjs +234 -0
- package/dist/hosted-contract.d.mts +25 -0
- package/dist/hosted-contract.mjs +7 -0
- package/dist/index.d.mts +25 -2686
- package/dist/index.mjs +2114 -1098
- package/dist/{local-download-profiles-caa4PECd.d.mts → local-download-profiles-BL_rtlVM.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/local-download-profiles.mjs +1 -1
- package/dist/markdown-facts.d.mts +1 -1
- package/dist/markdown-facts.mjs +1 -1
- package/dist/{markdown-reading-CgXuXp6s.d.mts → markdown-reading-LUdqfbxH.d.mts} +1 -1
- package/dist/{markdown-reading-DdcB7run.mjs → markdown-reading-mG4OAbDO.mjs} +1 -1
- package/dist/markdown-reading.d.mts +2 -2
- package/dist/markdown-reading.mjs +2 -2
- package/dist/{notifications-AKAcmeKT.mjs → notifications-C2bxAzX_.mjs} +13 -2
- package/dist/{notifications-DZeOl4HV.d.mts → notifications-CgJlLgLO.d.mts} +51 -25
- package/dist/notifications.d.mts +2 -2
- package/dist/notifications.mjs +3 -3
- package/dist/{openspec-annotations-CeXd0JIZ.d.mts → openspec-annotations-C58Aoi-V.d.mts} +2 -2
- package/dist/{openspec-annotations-D_6Pz7k4.mjs → openspec-annotations-DCfqBMal.mjs} +2 -2
- package/dist/openspec-annotations.d.mts +3 -3
- package/dist/openspec-annotations.mjs +3 -3
- package/dist/openspec-compat.d.mts +18 -11
- package/dist/openspec-compat.mjs +20 -13
- package/dist/{openspec-projection-B8s-KWQ7.mjs → openspec-projection-DCgToo0Q.mjs} +2 -2
- package/dist/{openspec-projection-B0ch1rZw.d.mts → openspec-projection-RohNZI4p.d.mts} +3 -3
- package/dist/openspec-projection.d.mts +5 -5
- package/dist/openspec-projection.mjs +4 -4
- package/dist/opsx-display-path.d.mts +1 -1
- package/dist/opsx-display-path.mjs +1 -1
- package/dist/{opsx-entity-DZyl-uhQ.d.mts → opsx-entity-D7kDQsze.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +7 -3
- package/dist/opsx-entity.mjs +1 -1
- package/dist/{opsx-schema-detail-CS0tWa9v.d.mts → opsx-schema-detail-BxDXEwDY.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +8 -4
- package/dist/opsx-schema-detail.mjs +1 -1
- package/dist/opsx-types-BJ8AjhrS.d.mts +3642 -0
- package/dist/opsx-workflows-BvnJqjfL.d.mts +36 -0
- package/dist/opsx-workflows-Ccc6U7IR.mjs +89 -0
- package/dist/opsx-workflows.d.mts +2 -0
- package/dist/opsx-workflows.mjs +3 -0
- package/dist/planning-cli-projection-DIRxeq2H.mjs +421 -0
- package/dist/planning-cli-projection.d.mts +25 -0
- package/dist/planning-cli-projection.mjs +9 -0
- package/dist/schemas-BFroDdOC.mjs +287 -0
- package/dist/{schemas-D01aQnV4.d.mts → schemas-DS-JqAJ2.d.mts} +524 -78
- package/dist/{sounds-kgDn4x8v.d.mts → sounds-qhRgCy0F.d.mts} +12 -12
- package/dist/sounds.d.mts +1 -1
- package/dist/sounds.mjs +1 -1
- package/dist/spec-catalog-ZGuiZ4CE.mjs +901 -0
- package/dist/spec-catalog.d.mts +25 -0
- package/dist/spec-catalog.mjs +6 -0
- package/dist/store-mutation-protocol-5tfs-RmD.d.mts +727 -0
- package/dist/store-mutation-protocol-CSwD-xPO.mjs +63 -0
- package/dist/store-mutation-protocol.d.mts +2 -0
- package/dist/store-mutation-protocol.mjs +4 -0
- package/dist/{store-types-Cu41QSww.mjs → store-types-DlX1REBg.mjs} +39 -18
- package/dist/{store-types-BiE-Ey--.d.mts → store-types-b554wAQJ.d.mts} +22 -12
- package/dist/store-types.d.mts +6 -2
- package/dist/store-types.mjs +2 -2
- package/dist/task-progress-B_IWVXjA.mjs +216 -0
- package/dist/task-progress.d.mts +7 -4
- package/dist/task-progress.mjs +3 -3
- package/dist/{terminal-audio-TBoU2jSK.mjs → terminal-audio-d6KItUeJ.mjs} +1 -1
- package/dist/{terminal-audio-CsuGTNV-.d.mts → terminal-audio-tXDm_EDe.d.mts} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-audio.mjs +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/terminal-control.mjs +1 -1
- package/dist/{terminal-invocation-BlFwKpIc.d.mts → terminal-invocation-BOvxThym.d.mts} +239 -120
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/terminal-invocation.mjs +1 -1
- package/dist/terminal-theme.d.mts +1 -1
- package/dist/terminal-theme.mjs +1 -1
- package/dist/translation-language-pair.d.mts +1 -1
- package/dist/translation-language-pair.mjs +1 -1
- package/dist/{translator-BErXgQxx.d.mts → translator-NKv1wo3o.d.mts} +86 -86
- package/dist/translator.d.mts +1 -1
- package/dist/translator.mjs +1 -1
- package/package.json +55 -7
- package/dist/hosted-app-DHs94gIR.d.mts +0 -43
- package/dist/opsx-types-Dnb06uff.d.mts +0 -402
- package/dist/task-progress-C1TGMbIR.d.mts +0 -24
- package/dist/task-progress-DhHYHnTv.mjs +0 -70
- /package/dist/{local-download-profiles-kpNEcdF_.mjs → local-download-profiles-odzOdf96.mjs} +0 -0
- /package/dist/{markdown-facts-BBCTe_qq.mjs → markdown-facts-BUqLvFRf.mjs} +0 -0
- /package/dist/{markdown-facts-Dk7FKaaT.d.mts → markdown-facts-CCw3QdbM.d.mts} +0 -0
- /package/dist/{opsx-display-path-CUCOrHcM.mjs → opsx-display-path-D13XV20v.mjs} +0 -0
- /package/dist/{opsx-display-path-cIMKa1aw.d.mts → opsx-display-path-RXS5JTbV.d.mts} +0 -0
- /package/dist/{opsx-entity-c7m5CbgU.mjs → opsx-entity-Cn_Zu1J3.mjs} +0 -0
- /package/dist/{opsx-schema-detail-BH82X6aU.mjs → opsx-schema-detail-Beis4Ba2.mjs} +0 -0
- /package/dist/{sounds-CB3ubSnj.mjs → sounds-NXwveBqq.mjs} +0 -0
- /package/dist/{terminal-control-VpTuh17B.mjs → terminal-control-BSAlOTs8.mjs} +0 -0
- /package/dist/{terminal-invocation-C2MCNBhK.mjs → terminal-invocation-0p-j2eSP.mjs} +0 -0
- /package/dist/{terminal-theme-cevliJw2.mjs → terminal-theme-B8iRttTR.mjs} +0 -0
- /package/dist/{terminal-theme-hvQjTsNh.d.mts → terminal-theme-m3MSGJ7U.d.mts} +0 -0
- /package/dist/{translation-language-pair-DZ_WNp_M.mjs → translation-language-pair-Bbhk-LAC.mjs} +0 -0
- /package/dist/{translation-language-pair-DmaOfHqD.d.mts → translation-language-pair-C18GPATW.d.mts} +0 -0
- /package/dist/{translator-DbUT1Ayn.mjs → translator-Cjtv4tya.mjs} +0 -0
package/dist/translator.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as TranslationEngineDependencyStatus, $t as createTranslationEngineLifecycleStatus, A as LocalModelProfileManifestGroupSchema, At as TranslationLocalCt2SettingsUpdateSchema, B as TRANSLATION_ENGINE_IDS, Bt as TranslationModelSearchInput, C as LocalModelLifecycleGroupStateSchema, Ct as TranslationEngineRuntimeState, D as LocalModelProfileManifestFile, Dt as TranslationEngineSettingsKey, E as LocalModelProfileManifest, Et as TranslationEngineRuntimeStatusSchema, F as ManagedLocalCatalogSourceSchema, Ft as TranslationLocalSettingsSchema, G as TranslationDownloadGroupPlan, Gt as TranslationOpenAISettingsUpdateSchema, H as TRANSLATOR_CONTRACT_VERSION, Ht as TranslationModelSearchResult, I as ManagedLocalTranslationEngineId, It as TranslationLocalSettingsUpdateSchema, J as TranslationEngineAssetStateSchema, Jt as TranslatorFactory, K as TranslationDownloadGroupPlanSchema, Kt as Translator, L as SERVICE_TRANSLATION_ENGINE_IDS, Lt as TranslationModelCandidate, M as LocalModelProfileStatus, Mt as TranslationLocalLlamaSettingsSchema, N as LocalModelProfileStatusSchema, Nt as TranslationLocalLlamaSettingsUpdateSchema, O as LocalModelProfileManifestFileSchema, Ot as TranslationLocalCt2Settings, P as ManagedLocalCatalogSource, Pt as TranslationLocalSettings, Q as TranslationEngineDependencyStateSchema, Qt as TranslatorPrepareMonitor, R as ServiceTranslationEngineId, Rt as TranslationModelDownloadPlan, S as LocalModelLifecycleGroupState, St as TranslationEngineRuntime, T as LocalModelProfileLoadStateSchema, Tt as TranslationEngineRuntimeStatus, U as TranslationDownloadFilePlan, Ut as TranslationOpenAISettings, V as TRANSLATION_ENGINE_MANIFESTS, Vt as TranslationModelSearchPhase, W as TranslationDownloadFilePlanSchema, Wt as TranslationOpenAISettingsSchema, X as TranslationEngineAssetStatusSchema, Xt as TranslatorFactoryPrepareOptions, Y as TranslationEngineAssetStatus, Yt as TranslatorFactoryCreateOptions, Z as TranslationEngineDependencyState, Zt as TranslatorOptions, _ as LocalModelCatalogSearchEvent, _t as TranslationEngineLifecycleLogEvent, a as BatchTranslationResult, an as isTranslationEngineDependencyReady, at as TranslationEngineId, b as LocalModelLifecycleFileState, bt as TranslationEngineLifecycleStatusSchema, c as LocalModelAssetLog, cn as BatchTranslationError, ct as TranslationEngineInstallLogEventSchema, d as LocalModelAssetPlanSnapshotSchema, dn as normalizeBatchTranslationError, dt as TranslationEngineKind, en as getManagedLocalTranslationEngineManifest, et as TranslationEngineDependencyStatusSchema, f as LocalModelAssetState, fn as runControlledTranslationTask, ft as TranslationEngineLifecycleContext, g as LocalModelCatalogResult, gt as TranslationEngineLifecycleExitEvent, h as LocalModelCatalogLocalResult, ht as TranslationEngineLifecycleEventSchema, i as BatchTranslateInputSchema, in as isManagedLocalTranslationEngineId, it as TranslationEngineGlobalSettingsUpdateSchema, j as LocalModelProfileManifestSchema, jt as TranslationLocalLlamaSettings, k as LocalModelProfileManifestGroup, kt as TranslationLocalCt2SettingsSchema, l as LocalModelAssetLogSchema, ln as BatchTranslationErrorKind, lt as TranslationEngineInstallLogStream, m as LocalModelCatalogItem, mt as TranslationEngineLifecycleEvent, n as BatchTranslateEventSchema, nn as getTranslationEngineManifest, nt as TranslationEngineGlobalSettingsSchema, o as DEFAULT_BATCH_TRANSLATION_TIMEOUT_MS, on as isTranslationEngineRuntimeReady, ot as TranslationEngineIdSchema, p as LocalModelAssetStateSchema, pt as TranslationEngineLifecycleController, q as TranslationEngineAssetState, qt as TranslatorCreateMonitor, r as BatchTranslateInput, rn as isDirectionalManagedLocalTranslationEngineId, rt as TranslationEngineGlobalSettingsUpdate, s as DEFAULT_TRANSLATION_ENGINE_ID, sn as shouldShowTranslationEngineInstallGate, st as TranslationEngineInstallLogEvent, t as BatchTranslateEvent, tn as getTranslationEngineLifecycleMessage, tt as TranslationEngineGlobalSettings, u as LocalModelAssetPlanSnapshot, un as isBatchTranslationAbort, ut as TranslationEngineInstallLogStreamSchema, v as LocalModelDownloadStatus, vt as TranslationEngineLifecycleStatus, w as LocalModelProfileLoadState, wt as TranslationEngineRuntimeStateSchema, x as LocalModelLifecycleFileStateSchema, xt as TranslationEngineManifest, y as LocalModelDownloadStatusSchema, yt as TranslationEngineLifecycleStatusEvent, z as ServiceTranslationEngineIdSchema, zt as TranslationModelSearchEvent } from "./translator-
|
|
1
|
+
import { $ as TranslationEngineDependencyStatus, $t as createTranslationEngineLifecycleStatus, A as LocalModelProfileManifestGroupSchema, At as TranslationLocalCt2SettingsUpdateSchema, B as TRANSLATION_ENGINE_IDS, Bt as TranslationModelSearchInput, C as LocalModelLifecycleGroupStateSchema, Ct as TranslationEngineRuntimeState, D as LocalModelProfileManifestFile, Dt as TranslationEngineSettingsKey, E as LocalModelProfileManifest, Et as TranslationEngineRuntimeStatusSchema, F as ManagedLocalCatalogSourceSchema, Ft as TranslationLocalSettingsSchema, G as TranslationDownloadGroupPlan, Gt as TranslationOpenAISettingsUpdateSchema, H as TRANSLATOR_CONTRACT_VERSION, Ht as TranslationModelSearchResult, I as ManagedLocalTranslationEngineId, It as TranslationLocalSettingsUpdateSchema, J as TranslationEngineAssetStateSchema, Jt as TranslatorFactory, K as TranslationDownloadGroupPlanSchema, Kt as Translator, L as SERVICE_TRANSLATION_ENGINE_IDS, Lt as TranslationModelCandidate, M as LocalModelProfileStatus, Mt as TranslationLocalLlamaSettingsSchema, N as LocalModelProfileStatusSchema, Nt as TranslationLocalLlamaSettingsUpdateSchema, O as LocalModelProfileManifestFileSchema, Ot as TranslationLocalCt2Settings, P as ManagedLocalCatalogSource, Pt as TranslationLocalSettings, Q as TranslationEngineDependencyStateSchema, Qt as TranslatorPrepareMonitor, R as ServiceTranslationEngineId, Rt as TranslationModelDownloadPlan, S as LocalModelLifecycleGroupState, St as TranslationEngineRuntime, T as LocalModelProfileLoadStateSchema, Tt as TranslationEngineRuntimeStatus, U as TranslationDownloadFilePlan, Ut as TranslationOpenAISettings, V as TRANSLATION_ENGINE_MANIFESTS, Vt as TranslationModelSearchPhase, W as TranslationDownloadFilePlanSchema, Wt as TranslationOpenAISettingsSchema, X as TranslationEngineAssetStatusSchema, Xt as TranslatorFactoryPrepareOptions, Y as TranslationEngineAssetStatus, Yt as TranslatorFactoryCreateOptions, Z as TranslationEngineDependencyState, Zt as TranslatorOptions, _ as LocalModelCatalogSearchEvent, _t as TranslationEngineLifecycleLogEvent, a as BatchTranslationResult, an as isTranslationEngineDependencyReady, at as TranslationEngineId, b as LocalModelLifecycleFileState, bt as TranslationEngineLifecycleStatusSchema, c as LocalModelAssetLog, cn as BatchTranslationError, ct as TranslationEngineInstallLogEventSchema, d as LocalModelAssetPlanSnapshotSchema, dn as normalizeBatchTranslationError, dt as TranslationEngineKind, en as getManagedLocalTranslationEngineManifest, et as TranslationEngineDependencyStatusSchema, f as LocalModelAssetState, fn as runControlledTranslationTask, ft as TranslationEngineLifecycleContext, g as LocalModelCatalogResult, gt as TranslationEngineLifecycleExitEvent, h as LocalModelCatalogLocalResult, ht as TranslationEngineLifecycleEventSchema, i as BatchTranslateInputSchema, in as isManagedLocalTranslationEngineId, it as TranslationEngineGlobalSettingsUpdateSchema, j as LocalModelProfileManifestSchema, jt as TranslationLocalLlamaSettings, k as LocalModelProfileManifestGroup, kt as TranslationLocalCt2SettingsSchema, l as LocalModelAssetLogSchema, ln as BatchTranslationErrorKind, lt as TranslationEngineInstallLogStream, m as LocalModelCatalogItem, mt as TranslationEngineLifecycleEvent, n as BatchTranslateEventSchema, nn as getTranslationEngineManifest, nt as TranslationEngineGlobalSettingsSchema, o as DEFAULT_BATCH_TRANSLATION_TIMEOUT_MS, on as isTranslationEngineRuntimeReady, ot as TranslationEngineIdSchema, p as LocalModelAssetStateSchema, pt as TranslationEngineLifecycleController, q as TranslationEngineAssetState, qt as TranslatorCreateMonitor, r as BatchTranslateInput, rn as isDirectionalManagedLocalTranslationEngineId, rt as TranslationEngineGlobalSettingsUpdate, s as DEFAULT_TRANSLATION_ENGINE_ID, sn as shouldShowTranslationEngineInstallGate, st as TranslationEngineInstallLogEvent, t as BatchTranslateEvent, tn as getTranslationEngineLifecycleMessage, tt as TranslationEngineGlobalSettings, u as LocalModelAssetPlanSnapshot, un as isBatchTranslationAbort, ut as TranslationEngineInstallLogStreamSchema, v as LocalModelDownloadStatus, vt as TranslationEngineLifecycleStatus, w as LocalModelProfileLoadState, wt as TranslationEngineRuntimeStateSchema, x as LocalModelLifecycleFileStateSchema, xt as TranslationEngineManifest, y as LocalModelDownloadStatusSchema, yt as TranslationEngineLifecycleStatusEvent, z as ServiceTranslationEngineIdSchema, zt as TranslationModelSearchEvent } from "./translator-NKv1wo3o.mjs";
|
|
2
2
|
export { BatchTranslateEvent, BatchTranslateEventSchema, BatchTranslateInput, BatchTranslateInputSchema, BatchTranslationError, BatchTranslationErrorKind, BatchTranslationResult, DEFAULT_BATCH_TRANSLATION_TIMEOUT_MS, DEFAULT_TRANSLATION_ENGINE_ID, LocalModelAssetLog, LocalModelAssetLogSchema, LocalModelAssetPlanSnapshot, LocalModelAssetPlanSnapshotSchema, LocalModelAssetState, LocalModelAssetStateSchema, LocalModelCatalogItem, LocalModelCatalogLocalResult, LocalModelCatalogResult, LocalModelCatalogSearchEvent, LocalModelDownloadStatus, LocalModelDownloadStatusSchema, LocalModelLifecycleFileState, LocalModelLifecycleFileStateSchema, LocalModelLifecycleGroupState, LocalModelLifecycleGroupStateSchema, LocalModelProfileLoadState, LocalModelProfileLoadStateSchema, LocalModelProfileManifest, LocalModelProfileManifestFile, LocalModelProfileManifestFileSchema, LocalModelProfileManifestGroup, LocalModelProfileManifestGroupSchema, LocalModelProfileManifestSchema, LocalModelProfileStatus, LocalModelProfileStatusSchema, ManagedLocalCatalogSource, ManagedLocalCatalogSourceSchema, ManagedLocalTranslationEngineId, SERVICE_TRANSLATION_ENGINE_IDS, ServiceTranslationEngineId, ServiceTranslationEngineIdSchema, TRANSLATION_ENGINE_IDS, TRANSLATION_ENGINE_MANIFESTS, TRANSLATOR_CONTRACT_VERSION, TranslationDownloadFilePlan, TranslationDownloadFilePlanSchema, TranslationDownloadGroupPlan, TranslationDownloadGroupPlanSchema, TranslationEngineAssetState, TranslationEngineAssetStateSchema, TranslationEngineAssetStatus, TranslationEngineAssetStatusSchema, TranslationEngineDependencyState, TranslationEngineDependencyStateSchema, TranslationEngineDependencyStatus, TranslationEngineDependencyStatusSchema, TranslationEngineGlobalSettings, TranslationEngineGlobalSettingsSchema, TranslationEngineGlobalSettingsUpdate, TranslationEngineGlobalSettingsUpdateSchema, TranslationEngineId, TranslationEngineIdSchema, TranslationEngineInstallLogEvent, TranslationEngineInstallLogEventSchema, TranslationEngineInstallLogStream, TranslationEngineInstallLogStreamSchema, TranslationEngineKind, TranslationEngineLifecycleContext, TranslationEngineLifecycleController, TranslationEngineLifecycleEvent, TranslationEngineLifecycleEventSchema, TranslationEngineLifecycleExitEvent, TranslationEngineLifecycleLogEvent, TranslationEngineLifecycleStatus, TranslationEngineLifecycleStatusEvent, TranslationEngineLifecycleStatusSchema, TranslationEngineManifest, TranslationEngineRuntime, TranslationEngineRuntimeState, TranslationEngineRuntimeStateSchema, TranslationEngineRuntimeStatus, TranslationEngineRuntimeStatusSchema, TranslationEngineSettingsKey, TranslationLocalCt2Settings, TranslationLocalCt2SettingsSchema, TranslationLocalCt2SettingsUpdateSchema, TranslationLocalLlamaSettings, TranslationLocalLlamaSettingsSchema, TranslationLocalLlamaSettingsUpdateSchema, TranslationLocalSettings, TranslationLocalSettingsSchema, TranslationLocalSettingsUpdateSchema, TranslationModelCandidate, TranslationModelDownloadPlan, TranslationModelSearchEvent, TranslationModelSearchInput, TranslationModelSearchPhase, TranslationModelSearchResult, TranslationOpenAISettings, TranslationOpenAISettingsSchema, TranslationOpenAISettingsUpdateSchema, Translator, TranslatorCreateMonitor, TranslatorFactory, TranslatorFactoryCreateOptions, TranslatorFactoryPrepareOptions, TranslatorOptions, TranslatorPrepareMonitor, createTranslationEngineLifecycleStatus, getManagedLocalTranslationEngineManifest, getTranslationEngineLifecycleMessage, getTranslationEngineManifest, isBatchTranslationAbort, isDirectionalManagedLocalTranslationEngineId, isManagedLocalTranslationEngineId, isTranslationEngineDependencyReady, isTranslationEngineRuntimeReady, normalizeBatchTranslationError, runControlledTranslationTask, shouldShowTranslationEngineInstallGate };
|
package/dist/translator.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
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, r as DEFAULT_BATCH_TRANSLATION_TIMEOUT_MS, 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-
|
|
1
|
+
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, r as DEFAULT_BATCH_TRANSLATION_TIMEOUT_MS, 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-Cjtv4tya.mjs";
|
|
2
2
|
|
|
3
3
|
export { BatchTranslateEventSchema, BatchTranslateInputSchema, DEFAULT_BATCH_TRANSLATION_TIMEOUT_MS, DEFAULT_TRANSLATION_ENGINE_ID, LocalModelAssetLogSchema, LocalModelAssetPlanSnapshotSchema, LocalModelAssetStateSchema, LocalModelDownloadStatusSchema, LocalModelLifecycleFileStateSchema, LocalModelLifecycleGroupStateSchema, LocalModelProfileLoadStateSchema, LocalModelProfileManifestFileSchema, LocalModelProfileManifestGroupSchema, LocalModelProfileManifestSchema, LocalModelProfileStatusSchema, ManagedLocalCatalogSourceSchema, SERVICE_TRANSLATION_ENGINE_IDS, ServiceTranslationEngineIdSchema, TRANSLATION_ENGINE_IDS, TRANSLATION_ENGINE_MANIFESTS, TRANSLATOR_CONTRACT_VERSION, TranslationDownloadFilePlanSchema, TranslationDownloadGroupPlanSchema, TranslationEngineAssetStateSchema, TranslationEngineAssetStatusSchema, TranslationEngineDependencyStateSchema, TranslationEngineDependencyStatusSchema, TranslationEngineGlobalSettingsSchema, TranslationEngineGlobalSettingsUpdateSchema, TranslationEngineIdSchema, TranslationEngineInstallLogEventSchema, TranslationEngineInstallLogStreamSchema, TranslationEngineLifecycleEventSchema, TranslationEngineLifecycleStatusSchema, TranslationEngineRuntimeStateSchema, TranslationEngineRuntimeStatusSchema, TranslationLocalCt2SettingsSchema, TranslationLocalCt2SettingsUpdateSchema, TranslationLocalLlamaSettingsSchema, TranslationLocalLlamaSettingsUpdateSchema, TranslationLocalSettingsSchema, TranslationLocalSettingsUpdateSchema, TranslationOpenAISettingsSchema, TranslationOpenAISettingsUpdateSchema, createTranslationEngineLifecycleStatus, getManagedLocalTranslationEngineManifest, getTranslationEngineLifecycleMessage, getTranslationEngineManifest, isBatchTranslationAbort, isDirectionalManagedLocalTranslationEngineId, isManagedLocalTranslationEngineId, isTranslationEngineDependencyReady, isTranslationEngineRuntimeReady, normalizeBatchTranslationError, runControlledTranslationTask, shouldShowTranslationEngineInstallGate };
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openspecui/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-beta.0",
|
|
4
4
|
"description": "Core OpenSpec adapter and parser",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
5
8
|
"type": "module",
|
|
6
9
|
"main": "./dist/index.mjs",
|
|
7
10
|
"types": "./dist/index.d.mts",
|
|
@@ -18,12 +21,42 @@
|
|
|
18
21
|
"default": "./dist/dashboard-display.mjs",
|
|
19
22
|
"types": "./dist/dashboard-display.d.mts"
|
|
20
23
|
},
|
|
24
|
+
"./dashboard-summary-transport": {
|
|
25
|
+
"development": "./src/dashboard-summary-transport.ts",
|
|
26
|
+
"import": "./dist/dashboard-summary-transport.mjs",
|
|
27
|
+
"default": "./dist/dashboard-summary-transport.mjs",
|
|
28
|
+
"types": "./dist/dashboard-summary-transport.d.mts"
|
|
29
|
+
},
|
|
21
30
|
"./hosted-app": {
|
|
22
31
|
"development": "./src/hosted-app.ts",
|
|
23
32
|
"import": "./dist/hosted-app.mjs",
|
|
24
33
|
"default": "./dist/hosted-app.mjs",
|
|
25
34
|
"types": "./dist/hosted-app.d.mts"
|
|
26
35
|
},
|
|
36
|
+
"./hosted-contract": {
|
|
37
|
+
"development": "./src/hosted-contract.ts",
|
|
38
|
+
"import": "./dist/hosted-contract.mjs",
|
|
39
|
+
"default": "./dist/hosted-contract.mjs",
|
|
40
|
+
"types": "./dist/hosted-contract.d.mts"
|
|
41
|
+
},
|
|
42
|
+
"./cli-projection": {
|
|
43
|
+
"development": "./src/cli-projection.ts",
|
|
44
|
+
"import": "./dist/cli-projection.mjs",
|
|
45
|
+
"default": "./dist/cli-projection.mjs",
|
|
46
|
+
"types": "./dist/cli-projection.d.mts"
|
|
47
|
+
},
|
|
48
|
+
"./planning-cli-projection": {
|
|
49
|
+
"development": "./src/planning-cli-projection.ts",
|
|
50
|
+
"import": "./dist/planning-cli-projection.mjs",
|
|
51
|
+
"default": "./dist/planning-cli-projection.mjs",
|
|
52
|
+
"types": "./dist/planning-cli-projection.d.mts"
|
|
53
|
+
},
|
|
54
|
+
"./store-mutation-protocol": {
|
|
55
|
+
"development": "./src/store-mutation-protocol.ts",
|
|
56
|
+
"import": "./dist/store-mutation-protocol.mjs",
|
|
57
|
+
"default": "./dist/store-mutation-protocol.mjs",
|
|
58
|
+
"types": "./dist/store-mutation-protocol.d.mts"
|
|
59
|
+
},
|
|
27
60
|
"./openspec-compat": {
|
|
28
61
|
"development": "./src/openspec-compat.ts",
|
|
29
62
|
"import": "./dist/openspec-compat.mjs",
|
|
@@ -90,6 +123,12 @@
|
|
|
90
123
|
"default": "./dist/opsx-display-path.mjs",
|
|
91
124
|
"types": "./dist/opsx-display-path.d.mts"
|
|
92
125
|
},
|
|
126
|
+
"./opsx-workflows": {
|
|
127
|
+
"development": "./src/opsx-workflows.ts",
|
|
128
|
+
"import": "./dist/opsx-workflows.mjs",
|
|
129
|
+
"default": "./dist/opsx-workflows.mjs",
|
|
130
|
+
"types": "./dist/opsx-workflows.d.mts"
|
|
131
|
+
},
|
|
93
132
|
"./opsx-entity": {
|
|
94
133
|
"development": "./src/opsx-entity.ts",
|
|
95
134
|
"import": "./dist/opsx-entity.mjs",
|
|
@@ -108,6 +147,12 @@
|
|
|
108
147
|
"default": "./dist/task-progress.mjs",
|
|
109
148
|
"types": "./dist/task-progress.d.mts"
|
|
110
149
|
},
|
|
150
|
+
"./spec-catalog": {
|
|
151
|
+
"development": "./src/spec-catalog.ts",
|
|
152
|
+
"import": "./dist/spec-catalog.mjs",
|
|
153
|
+
"default": "./dist/spec-catalog.mjs",
|
|
154
|
+
"types": "./dist/spec-catalog.d.mts"
|
|
155
|
+
},
|
|
111
156
|
"./notifications": {
|
|
112
157
|
"development": "./src/notifications.ts",
|
|
113
158
|
"import": "./dist/notifications.mjs",
|
|
@@ -145,15 +190,14 @@
|
|
|
145
190
|
"types": "./dist/terminal-control.d.mts"
|
|
146
191
|
}
|
|
147
192
|
},
|
|
148
|
-
"files": [
|
|
149
|
-
"dist"
|
|
150
|
-
],
|
|
151
193
|
"scripts": {
|
|
152
|
-
"build": "tsdown src/index.ts src/dashboard-display.ts src/opsx-display-path.ts src/opsx-entity.ts src/opsx-schema-detail.ts src/task-progress.ts src/hosted-app.ts src/openspec-compat.ts src/store-types.ts src/markdown-facts.ts src/markdown-reading.ts src/document-translation.ts src/translator.ts src/local-download-profiles.ts src/translation-language-pair.ts src/openspec-annotations.ts src/openspec-projection.ts src/notifications.ts src/sounds.ts src/terminal-theme.ts src/terminal-invocation.ts src/terminal-audio.ts src/terminal-control.ts --format esm --dts",
|
|
153
|
-
"dev": "tsdown src/index.ts src/dashboard-display.ts src/opsx-display-path.ts src/opsx-entity.ts src/opsx-schema-detail.ts src/task-progress.ts src/hosted-app.ts src/openspec-compat.ts src/store-types.ts src/markdown-facts.ts src/markdown-reading.ts src/document-translation.ts src/translator.ts src/local-download-profiles.ts src/translation-language-pair.ts src/openspec-annotations.ts src/openspec-projection.ts src/notifications.ts src/sounds.ts src/terminal-theme.ts src/terminal-invocation.ts src/terminal-audio.ts src/terminal-control.ts --format esm --dts --watch",
|
|
194
|
+
"build": "tsdown src/index.ts src/dashboard-display.ts src/dashboard-summary-transport.ts src/cli-projection.ts src/planning-cli-projection.ts src/opsx-display-path.ts src/opsx-workflows.ts src/opsx-entity.ts src/opsx-schema-detail.ts src/task-progress.ts src/spec-catalog.ts src/hosted-app.ts src/hosted-contract.ts src/store-mutation-protocol.ts src/openspec-compat.ts src/store-types.ts src/markdown-facts.ts src/markdown-reading.ts src/document-translation.ts src/translator.ts src/local-download-profiles.ts src/translation-language-pair.ts src/openspec-annotations.ts src/openspec-projection.ts src/notifications.ts src/sounds.ts src/terminal-theme.ts src/terminal-invocation.ts src/terminal-audio.ts src/terminal-control.ts --format esm --dts",
|
|
195
|
+
"dev": "tsdown src/index.ts src/dashboard-display.ts src/dashboard-summary-transport.ts src/cli-projection.ts src/planning-cli-projection.ts src/opsx-display-path.ts src/opsx-workflows.ts src/opsx-entity.ts src/opsx-schema-detail.ts src/task-progress.ts src/spec-catalog.ts src/hosted-app.ts src/hosted-contract.ts src/store-mutation-protocol.ts src/openspec-compat.ts src/store-types.ts src/markdown-facts.ts src/markdown-reading.ts src/document-translation.ts src/translator.ts src/local-download-profiles.ts src/translation-language-pair.ts src/openspec-annotations.ts src/openspec-projection.ts src/notifications.ts src/sounds.ts src/terminal-theme.ts src/terminal-invocation.ts src/terminal-audio.ts src/terminal-control.ts --format esm --dts --watch",
|
|
154
196
|
"test": "vitest run",
|
|
155
197
|
"test:watch": "vitest",
|
|
156
|
-
"typecheck": "tsc --noEmit"
|
|
198
|
+
"typecheck:store-mutation-tests": "tsc -p tsconfig.store-mutation-tests.json --noEmit",
|
|
199
|
+
"typecheck": "tsc --noEmit && tsc -p tsconfig.reactive-context-tests.json --noEmit && tsc -p tsconfig.store-mutation-tests.json --noEmit && tsc -p tsconfig.hosted-contract-tests.json --noEmit && tsc -p tsconfig.cli-projection-tests.json --noEmit",
|
|
200
|
+
"typecheck:hosted-contract-tests": "tsc -p tsconfig.hosted-contract-tests.json --noEmit"
|
|
157
201
|
},
|
|
158
202
|
"dependencies": {
|
|
159
203
|
"@parcel/watcher": "^2.5.1",
|
|
@@ -161,6 +205,7 @@
|
|
|
161
205
|
"mdast-util-gfm": "^3.1.0",
|
|
162
206
|
"mdast-util-to-string": "^4.0.0",
|
|
163
207
|
"micromark-extension-gfm": "^3.0.0",
|
|
208
|
+
"ts-pattern": "5.9.0",
|
|
164
209
|
"yaml": "^2.8.2",
|
|
165
210
|
"zod": "^3.24.1"
|
|
166
211
|
},
|
|
@@ -168,6 +213,9 @@
|
|
|
168
213
|
"@types/mdast": "^4.0.4",
|
|
169
214
|
"@types/unist": "^3.0.3",
|
|
170
215
|
"@vitest/coverage-v8": "^4.1.0",
|
|
216
|
+
"openspec-cli-14": "npm:@fission-ai/openspec@1.4.0",
|
|
217
|
+
"openspec-cli-15": "npm:@fission-ai/openspec@1.5.0",
|
|
218
|
+
"openspec-cli-16": "npm:@fission-ai/openspec@1.6.0",
|
|
171
219
|
"tsdown": "^0.16.6",
|
|
172
220
|
"typescript": "^5.7.2",
|
|
173
221
|
"vitest": "^4.1.0"
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
//#region src/hosted-app.d.ts
|
|
2
|
-
declare const OFFICIAL_APP_BASE_URL = "https://app.openspecui.com";
|
|
3
|
-
declare const HOSTED_SHELL_PROTOCOL_VERSION = 1;
|
|
4
|
-
declare const OPENSPECUI_RUNTIME_CAPABILITIES: readonly ["notifications.subscribe", "config.notifications"];
|
|
5
|
-
type OpenSpecUIRuntimeCapability = (typeof OPENSPECUI_RUNTIME_CAPABILITIES)[number];
|
|
6
|
-
interface HostedBackendHealthResponse {
|
|
7
|
-
status: 'ok';
|
|
8
|
-
projectDir: string;
|
|
9
|
-
projectName: string;
|
|
10
|
-
watcherEnabled: boolean;
|
|
11
|
-
openspecuiVersion: string;
|
|
12
|
-
hostedShellProtocolVersion: typeof HOSTED_SHELL_PROTOCOL_VERSION;
|
|
13
|
-
embeddedUiUrl: string;
|
|
14
|
-
runtimeCapabilities: readonly OpenSpecUIRuntimeCapability[];
|
|
15
|
-
}
|
|
16
|
-
interface BackendHealthPayloadInput {
|
|
17
|
-
projectDir: string;
|
|
18
|
-
projectName: string;
|
|
19
|
-
watcherEnabled: boolean;
|
|
20
|
-
openspecuiVersion: string;
|
|
21
|
-
embeddedUiUrl: string;
|
|
22
|
-
}
|
|
23
|
-
declare function normalizeHostedAppBaseUrl(input: string): string;
|
|
24
|
-
declare function resolveHostedAppBaseUrl(options: {
|
|
25
|
-
override?: string | null;
|
|
26
|
-
configured?: string | null;
|
|
27
|
-
}): string;
|
|
28
|
-
declare function normalizeEmbeddedUiUrl(input: string): string;
|
|
29
|
-
declare function isSupportedEmbeddedUiUrl(input: string): boolean;
|
|
30
|
-
declare function buildHostedLaunchUrl(options: {
|
|
31
|
-
baseUrl: string;
|
|
32
|
-
apiBaseUrl: string;
|
|
33
|
-
}): string;
|
|
34
|
-
declare function buildEmbeddedUiLaunchUrl(options: {
|
|
35
|
-
embeddedUiUrl: string;
|
|
36
|
-
apiBaseUrl: string;
|
|
37
|
-
sessionId: string;
|
|
38
|
-
}): string;
|
|
39
|
-
declare function buildBackendHealthPayload(input: BackendHealthPayloadInput): HostedBackendHealthResponse;
|
|
40
|
-
declare function isBackendHealthRuntimeMetadata(value: unknown): value is HostedBackendHealthResponse;
|
|
41
|
-
declare function isHostedBackendHealthResponse(value: unknown): value is HostedBackendHealthResponse;
|
|
42
|
-
//#endregion
|
|
43
|
-
export { OPENSPECUI_RUNTIME_CAPABILITIES as a, buildEmbeddedUiLaunchUrl as c, isHostedBackendHealthResponse as d, isSupportedEmbeddedUiUrl as f, resolveHostedAppBaseUrl as h, OFFICIAL_APP_BASE_URL as i, buildHostedLaunchUrl as l, normalizeHostedAppBaseUrl as m, HOSTED_SHELL_PROTOCOL_VERSION as n, OpenSpecUIRuntimeCapability as o, normalizeEmbeddedUiUrl as p, HostedBackendHealthResponse as r, buildBackendHealthPayload as s, BackendHealthPayloadInput as t, isBackendHealthRuntimeMetadata as u };
|
|
@@ -1,402 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
|
|
3
|
-
//#region src/opsx-types.d.ts
|
|
4
|
-
/** Check if an outputPath contains glob pattern characters */
|
|
5
|
-
declare function isGlobPattern(pattern: string): boolean;
|
|
6
|
-
declare const ArtifactStatusSchema: z.ZodObject<{
|
|
7
|
-
id: z.ZodString;
|
|
8
|
-
outputPath: z.ZodString;
|
|
9
|
-
status: z.ZodEnum<["done", "ready", "blocked"]>;
|
|
10
|
-
missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11
|
-
relativePath: z.ZodOptional<z.ZodString>;
|
|
12
|
-
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
status: "ready" | "done" | "blocked";
|
|
14
|
-
id: string;
|
|
15
|
-
outputPath: string;
|
|
16
|
-
missingDeps?: string[] | undefined;
|
|
17
|
-
relativePath?: string | undefined;
|
|
18
|
-
}, {
|
|
19
|
-
status: "ready" | "done" | "blocked";
|
|
20
|
-
id: string;
|
|
21
|
-
outputPath: string;
|
|
22
|
-
missingDeps?: string[] | undefined;
|
|
23
|
-
relativePath?: string | undefined;
|
|
24
|
-
}>;
|
|
25
|
-
type ArtifactStatus = z.infer<typeof ArtifactStatusSchema>;
|
|
26
|
-
declare const ChangeStatusSchema: z.ZodObject<{
|
|
27
|
-
changeName: z.ZodString;
|
|
28
|
-
schemaName: z.ZodString;
|
|
29
|
-
isComplete: z.ZodBoolean;
|
|
30
|
-
applyRequires: z.ZodArray<z.ZodString, "many">;
|
|
31
|
-
artifacts: z.ZodArray<z.ZodObject<{
|
|
32
|
-
id: z.ZodString;
|
|
33
|
-
outputPath: z.ZodString;
|
|
34
|
-
status: z.ZodEnum<["done", "ready", "blocked"]>;
|
|
35
|
-
missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
36
|
-
relativePath: z.ZodOptional<z.ZodString>;
|
|
37
|
-
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
status: "ready" | "done" | "blocked";
|
|
39
|
-
id: string;
|
|
40
|
-
outputPath: string;
|
|
41
|
-
missingDeps?: string[] | undefined;
|
|
42
|
-
relativePath?: string | undefined;
|
|
43
|
-
}, {
|
|
44
|
-
status: "ready" | "done" | "blocked";
|
|
45
|
-
id: string;
|
|
46
|
-
outputPath: string;
|
|
47
|
-
missingDeps?: string[] | undefined;
|
|
48
|
-
relativePath?: string | undefined;
|
|
49
|
-
}>, "many">;
|
|
50
|
-
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
changeName: string;
|
|
52
|
-
schemaName: string;
|
|
53
|
-
isComplete: boolean;
|
|
54
|
-
applyRequires: string[];
|
|
55
|
-
artifacts: {
|
|
56
|
-
status: "ready" | "done" | "blocked";
|
|
57
|
-
id: string;
|
|
58
|
-
outputPath: string;
|
|
59
|
-
missingDeps?: string[] | undefined;
|
|
60
|
-
relativePath?: string | undefined;
|
|
61
|
-
}[];
|
|
62
|
-
}, {
|
|
63
|
-
changeName: string;
|
|
64
|
-
schemaName: string;
|
|
65
|
-
isComplete: boolean;
|
|
66
|
-
applyRequires: string[];
|
|
67
|
-
artifacts: {
|
|
68
|
-
status: "ready" | "done" | "blocked";
|
|
69
|
-
id: string;
|
|
70
|
-
outputPath: string;
|
|
71
|
-
missingDeps?: string[] | undefined;
|
|
72
|
-
relativePath?: string | undefined;
|
|
73
|
-
}[];
|
|
74
|
-
}>;
|
|
75
|
-
type ChangeStatus = z.infer<typeof ChangeStatusSchema>;
|
|
76
|
-
declare const DependencyInfoSchema: z.ZodObject<{
|
|
77
|
-
id: z.ZodString;
|
|
78
|
-
done: z.ZodBoolean;
|
|
79
|
-
path: z.ZodString;
|
|
80
|
-
description: z.ZodString;
|
|
81
|
-
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
path: string;
|
|
83
|
-
id: string;
|
|
84
|
-
description: string;
|
|
85
|
-
done: boolean;
|
|
86
|
-
}, {
|
|
87
|
-
path: string;
|
|
88
|
-
id: string;
|
|
89
|
-
description: string;
|
|
90
|
-
done: boolean;
|
|
91
|
-
}>;
|
|
92
|
-
type DependencyInfo = z.infer<typeof DependencyInfoSchema>;
|
|
93
|
-
declare const ApplyTaskSchema: z.ZodObject<{
|
|
94
|
-
id: z.ZodString;
|
|
95
|
-
description: z.ZodString;
|
|
96
|
-
done: z.ZodBoolean;
|
|
97
|
-
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
id: string;
|
|
99
|
-
description: string;
|
|
100
|
-
done: boolean;
|
|
101
|
-
}, {
|
|
102
|
-
id: string;
|
|
103
|
-
description: string;
|
|
104
|
-
done: boolean;
|
|
105
|
-
}>;
|
|
106
|
-
type ApplyTask = z.infer<typeof ApplyTaskSchema>;
|
|
107
|
-
declare const ApplyInstructionsContextFilesSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
|
|
108
|
-
declare const ApplyInstructionsSchema: z.ZodObject<{
|
|
109
|
-
changeName: z.ZodString;
|
|
110
|
-
changeDir: z.ZodString;
|
|
111
|
-
schemaName: z.ZodString;
|
|
112
|
-
contextFiles: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
|
|
113
|
-
progress: z.ZodObject<{
|
|
114
|
-
total: z.ZodNumber;
|
|
115
|
-
complete: z.ZodNumber;
|
|
116
|
-
remaining: z.ZodNumber;
|
|
117
|
-
}, "strip", z.ZodTypeAny, {
|
|
118
|
-
total: number;
|
|
119
|
-
complete: number;
|
|
120
|
-
remaining: number;
|
|
121
|
-
}, {
|
|
122
|
-
total: number;
|
|
123
|
-
complete: number;
|
|
124
|
-
remaining: number;
|
|
125
|
-
}>;
|
|
126
|
-
tasks: z.ZodArray<z.ZodObject<{
|
|
127
|
-
id: z.ZodString;
|
|
128
|
-
description: z.ZodString;
|
|
129
|
-
done: z.ZodBoolean;
|
|
130
|
-
}, "strip", z.ZodTypeAny, {
|
|
131
|
-
id: string;
|
|
132
|
-
description: string;
|
|
133
|
-
done: boolean;
|
|
134
|
-
}, {
|
|
135
|
-
id: string;
|
|
136
|
-
description: string;
|
|
137
|
-
done: boolean;
|
|
138
|
-
}>, "many">;
|
|
139
|
-
state: z.ZodEnum<["blocked", "all_done", "ready"]>;
|
|
140
|
-
missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
141
|
-
instruction: z.ZodString;
|
|
142
|
-
}, "strip", z.ZodTypeAny, {
|
|
143
|
-
progress: {
|
|
144
|
-
total: number;
|
|
145
|
-
complete: number;
|
|
146
|
-
remaining: number;
|
|
147
|
-
};
|
|
148
|
-
state: "ready" | "blocked" | "all_done";
|
|
149
|
-
tasks: {
|
|
150
|
-
id: string;
|
|
151
|
-
description: string;
|
|
152
|
-
done: boolean;
|
|
153
|
-
}[];
|
|
154
|
-
changeName: string;
|
|
155
|
-
schemaName: string;
|
|
156
|
-
changeDir: string;
|
|
157
|
-
contextFiles: Record<string, string[]>;
|
|
158
|
-
instruction: string;
|
|
159
|
-
missingArtifacts?: string[] | undefined;
|
|
160
|
-
}, {
|
|
161
|
-
progress: {
|
|
162
|
-
total: number;
|
|
163
|
-
complete: number;
|
|
164
|
-
remaining: number;
|
|
165
|
-
};
|
|
166
|
-
state: "ready" | "blocked" | "all_done";
|
|
167
|
-
tasks: {
|
|
168
|
-
id: string;
|
|
169
|
-
description: string;
|
|
170
|
-
done: boolean;
|
|
171
|
-
}[];
|
|
172
|
-
changeName: string;
|
|
173
|
-
schemaName: string;
|
|
174
|
-
changeDir: string;
|
|
175
|
-
contextFiles: Record<string, string | string[]>;
|
|
176
|
-
instruction: string;
|
|
177
|
-
missingArtifacts?: string[] | undefined;
|
|
178
|
-
}>;
|
|
179
|
-
type ApplyInstructions = z.infer<typeof ApplyInstructionsSchema>;
|
|
180
|
-
declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
181
|
-
changeName: z.ZodString;
|
|
182
|
-
artifactId: z.ZodString;
|
|
183
|
-
schemaName: z.ZodString;
|
|
184
|
-
changeDir: z.ZodString;
|
|
185
|
-
outputPath: z.ZodString;
|
|
186
|
-
description: z.ZodString;
|
|
187
|
-
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
188
|
-
context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
189
|
-
rules: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
190
|
-
template: z.ZodString;
|
|
191
|
-
dependencies: z.ZodArray<z.ZodObject<{
|
|
192
|
-
id: z.ZodString;
|
|
193
|
-
done: z.ZodBoolean;
|
|
194
|
-
path: z.ZodString;
|
|
195
|
-
description: z.ZodString;
|
|
196
|
-
}, "strip", z.ZodTypeAny, {
|
|
197
|
-
path: string;
|
|
198
|
-
id: string;
|
|
199
|
-
description: string;
|
|
200
|
-
done: boolean;
|
|
201
|
-
}, {
|
|
202
|
-
path: string;
|
|
203
|
-
id: string;
|
|
204
|
-
description: string;
|
|
205
|
-
done: boolean;
|
|
206
|
-
}>, "many">;
|
|
207
|
-
unlocks: z.ZodArray<z.ZodString, "many">;
|
|
208
|
-
}, "strip", z.ZodTypeAny, {
|
|
209
|
-
description: string;
|
|
210
|
-
template: string;
|
|
211
|
-
outputPath: string;
|
|
212
|
-
changeName: string;
|
|
213
|
-
schemaName: string;
|
|
214
|
-
changeDir: string;
|
|
215
|
-
artifactId: string;
|
|
216
|
-
dependencies: {
|
|
217
|
-
path: string;
|
|
218
|
-
id: string;
|
|
219
|
-
description: string;
|
|
220
|
-
done: boolean;
|
|
221
|
-
}[];
|
|
222
|
-
unlocks: string[];
|
|
223
|
-
context?: string | null | undefined;
|
|
224
|
-
instruction?: string | null | undefined;
|
|
225
|
-
rules?: string[] | null | undefined;
|
|
226
|
-
}, {
|
|
227
|
-
description: string;
|
|
228
|
-
template: string;
|
|
229
|
-
outputPath: string;
|
|
230
|
-
changeName: string;
|
|
231
|
-
schemaName: string;
|
|
232
|
-
changeDir: string;
|
|
233
|
-
artifactId: string;
|
|
234
|
-
dependencies: {
|
|
235
|
-
path: string;
|
|
236
|
-
id: string;
|
|
237
|
-
description: string;
|
|
238
|
-
done: boolean;
|
|
239
|
-
}[];
|
|
240
|
-
unlocks: string[];
|
|
241
|
-
context?: string | null | undefined;
|
|
242
|
-
instruction?: string | null | undefined;
|
|
243
|
-
rules?: string[] | null | undefined;
|
|
244
|
-
}>;
|
|
245
|
-
type ArtifactInstructions = z.infer<typeof ArtifactInstructionsSchema>;
|
|
246
|
-
declare const SchemaInfoSchema: z.ZodObject<{
|
|
247
|
-
name: z.ZodString;
|
|
248
|
-
description: z.ZodOptional<z.ZodString>;
|
|
249
|
-
artifacts: z.ZodArray<z.ZodString, "many">;
|
|
250
|
-
source: z.ZodEnum<["project", "user", "package"]>;
|
|
251
|
-
}, "strip", z.ZodTypeAny, {
|
|
252
|
-
source: "project" | "user" | "package";
|
|
253
|
-
name: string;
|
|
254
|
-
artifacts: string[];
|
|
255
|
-
description?: string | undefined;
|
|
256
|
-
}, {
|
|
257
|
-
source: "project" | "user" | "package";
|
|
258
|
-
name: string;
|
|
259
|
-
artifacts: string[];
|
|
260
|
-
description?: string | undefined;
|
|
261
|
-
}>;
|
|
262
|
-
type SchemaInfo = z.infer<typeof SchemaInfoSchema>;
|
|
263
|
-
declare const SchemaResolutionSchema: z.ZodObject<{
|
|
264
|
-
name: z.ZodString;
|
|
265
|
-
source: z.ZodEnum<["project", "user", "package"]>;
|
|
266
|
-
path: z.ZodString;
|
|
267
|
-
displayPath: z.ZodOptional<z.ZodString>;
|
|
268
|
-
shadows: z.ZodArray<z.ZodObject<{
|
|
269
|
-
source: z.ZodEnum<["project", "user", "package"]>;
|
|
270
|
-
path: z.ZodString;
|
|
271
|
-
displayPath: z.ZodOptional<z.ZodString>;
|
|
272
|
-
}, "strip", z.ZodTypeAny, {
|
|
273
|
-
path: string;
|
|
274
|
-
source: "project" | "user" | "package";
|
|
275
|
-
displayPath?: string | undefined;
|
|
276
|
-
}, {
|
|
277
|
-
path: string;
|
|
278
|
-
source: "project" | "user" | "package";
|
|
279
|
-
displayPath?: string | undefined;
|
|
280
|
-
}>, "many">;
|
|
281
|
-
}, "strip", z.ZodTypeAny, {
|
|
282
|
-
path: string;
|
|
283
|
-
source: "project" | "user" | "package";
|
|
284
|
-
name: string;
|
|
285
|
-
shadows: {
|
|
286
|
-
path: string;
|
|
287
|
-
source: "project" | "user" | "package";
|
|
288
|
-
displayPath?: string | undefined;
|
|
289
|
-
}[];
|
|
290
|
-
displayPath?: string | undefined;
|
|
291
|
-
}, {
|
|
292
|
-
path: string;
|
|
293
|
-
source: "project" | "user" | "package";
|
|
294
|
-
name: string;
|
|
295
|
-
shadows: {
|
|
296
|
-
path: string;
|
|
297
|
-
source: "project" | "user" | "package";
|
|
298
|
-
displayPath?: string | undefined;
|
|
299
|
-
}[];
|
|
300
|
-
displayPath?: string | undefined;
|
|
301
|
-
}>;
|
|
302
|
-
type SchemaResolution = z.infer<typeof SchemaResolutionSchema>;
|
|
303
|
-
declare const TemplatesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
304
|
-
path: z.ZodString;
|
|
305
|
-
displayPath: z.ZodOptional<z.ZodString>;
|
|
306
|
-
source: z.ZodEnum<["project", "user", "package"]>;
|
|
307
|
-
}, "strip", z.ZodTypeAny, {
|
|
308
|
-
path: string;
|
|
309
|
-
source: "project" | "user" | "package";
|
|
310
|
-
displayPath?: string | undefined;
|
|
311
|
-
}, {
|
|
312
|
-
path: string;
|
|
313
|
-
source: "project" | "user" | "package";
|
|
314
|
-
displayPath?: string | undefined;
|
|
315
|
-
}>>;
|
|
316
|
-
type TemplatesMap = z.infer<typeof TemplatesSchema>;
|
|
317
|
-
declare const SchemaArtifactSchema: z.ZodObject<{
|
|
318
|
-
id: z.ZodString;
|
|
319
|
-
outputPath: z.ZodString;
|
|
320
|
-
description: z.ZodOptional<z.ZodString>;
|
|
321
|
-
template: z.ZodOptional<z.ZodString>;
|
|
322
|
-
instruction: z.ZodOptional<z.ZodString>;
|
|
323
|
-
requires: z.ZodArray<z.ZodString, "many">;
|
|
324
|
-
}, "strip", z.ZodTypeAny, {
|
|
325
|
-
id: string;
|
|
326
|
-
outputPath: string;
|
|
327
|
-
requires: string[];
|
|
328
|
-
description?: string | undefined;
|
|
329
|
-
template?: string | undefined;
|
|
330
|
-
instruction?: string | undefined;
|
|
331
|
-
}, {
|
|
332
|
-
id: string;
|
|
333
|
-
outputPath: string;
|
|
334
|
-
requires: string[];
|
|
335
|
-
description?: string | undefined;
|
|
336
|
-
template?: string | undefined;
|
|
337
|
-
instruction?: string | undefined;
|
|
338
|
-
}>;
|
|
339
|
-
type SchemaArtifact = z.infer<typeof SchemaArtifactSchema>;
|
|
340
|
-
declare const SchemaDetailSchema: z.ZodObject<{
|
|
341
|
-
name: z.ZodString;
|
|
342
|
-
description: z.ZodOptional<z.ZodString>;
|
|
343
|
-
version: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
344
|
-
artifacts: z.ZodArray<z.ZodObject<{
|
|
345
|
-
id: z.ZodString;
|
|
346
|
-
outputPath: z.ZodString;
|
|
347
|
-
description: z.ZodOptional<z.ZodString>;
|
|
348
|
-
template: z.ZodOptional<z.ZodString>;
|
|
349
|
-
instruction: z.ZodOptional<z.ZodString>;
|
|
350
|
-
requires: z.ZodArray<z.ZodString, "many">;
|
|
351
|
-
}, "strip", z.ZodTypeAny, {
|
|
352
|
-
id: string;
|
|
353
|
-
outputPath: string;
|
|
354
|
-
requires: string[];
|
|
355
|
-
description?: string | undefined;
|
|
356
|
-
template?: string | undefined;
|
|
357
|
-
instruction?: string | undefined;
|
|
358
|
-
}, {
|
|
359
|
-
id: string;
|
|
360
|
-
outputPath: string;
|
|
361
|
-
requires: string[];
|
|
362
|
-
description?: string | undefined;
|
|
363
|
-
template?: string | undefined;
|
|
364
|
-
instruction?: string | undefined;
|
|
365
|
-
}>, "many">;
|
|
366
|
-
applyRequires: z.ZodArray<z.ZodString, "many">;
|
|
367
|
-
applyTracks: z.ZodOptional<z.ZodString>;
|
|
368
|
-
applyInstruction: z.ZodOptional<z.ZodString>;
|
|
369
|
-
}, "strip", z.ZodTypeAny, {
|
|
370
|
-
name: string;
|
|
371
|
-
applyRequires: string[];
|
|
372
|
-
artifacts: {
|
|
373
|
-
id: string;
|
|
374
|
-
outputPath: string;
|
|
375
|
-
requires: string[];
|
|
376
|
-
description?: string | undefined;
|
|
377
|
-
template?: string | undefined;
|
|
378
|
-
instruction?: string | undefined;
|
|
379
|
-
}[];
|
|
380
|
-
description?: string | undefined;
|
|
381
|
-
version?: string | number | undefined;
|
|
382
|
-
applyTracks?: string | undefined;
|
|
383
|
-
applyInstruction?: string | undefined;
|
|
384
|
-
}, {
|
|
385
|
-
name: string;
|
|
386
|
-
applyRequires: string[];
|
|
387
|
-
artifacts: {
|
|
388
|
-
id: string;
|
|
389
|
-
outputPath: string;
|
|
390
|
-
requires: string[];
|
|
391
|
-
description?: string | undefined;
|
|
392
|
-
template?: string | undefined;
|
|
393
|
-
instruction?: string | undefined;
|
|
394
|
-
}[];
|
|
395
|
-
description?: string | undefined;
|
|
396
|
-
version?: string | number | undefined;
|
|
397
|
-
applyTracks?: string | undefined;
|
|
398
|
-
applyInstruction?: string | undefined;
|
|
399
|
-
}>;
|
|
400
|
-
type SchemaDetail = z.infer<typeof SchemaDetailSchema>;
|
|
401
|
-
//#endregion
|
|
402
|
-
export { TemplatesSchema as C, TemplatesMap as S, SchemaDetailSchema as _, ApplyTaskSchema as a, SchemaResolution as b, ArtifactStatus as c, ChangeStatusSchema as d, DependencyInfo as f, SchemaDetail as g, SchemaArtifactSchema as h, ApplyTask as i, ArtifactStatusSchema as l, SchemaArtifact as m, ApplyInstructionsContextFilesSchema as n, ArtifactInstructions as o, DependencyInfoSchema as p, ApplyInstructionsSchema as r, ArtifactInstructionsSchema as s, ApplyInstructions as t, ChangeStatus as u, SchemaInfo as v, isGlobPattern as w, SchemaResolutionSchema as x, SchemaInfoSchema as y };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { g as SchemaDetail } from "./opsx-types-Dnb06uff.mjs";
|
|
2
|
-
import { n as ChangeFile, v as Task } from "./schemas-D01aQnV4.mjs";
|
|
3
|
-
|
|
4
|
-
//#region src/task-progress.d.ts
|
|
5
|
-
interface TaskProgress {
|
|
6
|
-
total: number;
|
|
7
|
-
completed: number;
|
|
8
|
-
}
|
|
9
|
-
interface TaskProjection {
|
|
10
|
-
tasks: Task[];
|
|
11
|
-
progress: TaskProgress;
|
|
12
|
-
}
|
|
13
|
-
interface TaskProjectionOptions {
|
|
14
|
-
schemaDetail?: SchemaDetail | null;
|
|
15
|
-
hasSchemaMetadata?: boolean;
|
|
16
|
-
}
|
|
17
|
-
declare function isMarkdownTaskSourcePath(path: string): boolean;
|
|
18
|
-
declare function parseMarkdownTasks(content: string, options?: {
|
|
19
|
-
initialIndex?: number;
|
|
20
|
-
}): Task[];
|
|
21
|
-
declare function computeTaskProgress(tasks: readonly Pick<Task, 'completed'>[]): TaskProgress;
|
|
22
|
-
declare function projectTasksFromMarkdownFiles(files: readonly ChangeFile[], options?: TaskProjectionOptions): TaskProjection;
|
|
23
|
-
//#endregion
|
|
24
|
-
export { isMarkdownTaskSourcePath as a, computeTaskProgress as i, TaskProjection as n, parseMarkdownTasks as o, TaskProjectionOptions as r, projectTasksFromMarkdownFiles as s, TaskProgress as t };
|