@openspecui/core 11.0.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-B-ZjoeVr.d.mts → active-root-config-Ba57tJrq.d.mts} +7 -7
- package/dist/active-root-config.d.mts +4 -4
- package/dist/app-daemon-control.d.mts +10 -10
- package/dist/{cli-projection-CpEtZ-tN.d.mts → cli-projection-CvtX601c.d.mts} +1 -1
- package/dist/cli-projection.d.mts +4 -4
- package/dist/{command-result-DWMmDl6I.mjs → command-result-DbXO8ZgG.mjs} +106 -13
- package/dist/{dashboard-summary-transport-Cv-UaYcc.d.mts → dashboard-summary-transport-edeWQPi7.d.mts} +194 -139
- package/dist/dashboard-summary-transport.d.mts +17 -17
- package/dist/hosted-app.d.mts +17 -17
- package/dist/hosted-contract.d.mts +17 -17
- package/dist/{index-BXSLb96t.d.mts → index-D9qYKNqh.d.mts} +2048 -22
- package/dist/index.d.mts +18 -18
- package/dist/index.mjs +127 -59
- package/dist/{local-download-profiles-C9LmIa9_.d.mts → local-download-profiles-DaFozMhH.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-C_Dvqaej.d.mts → notifications-Dkoh_xrs.d.mts} +1 -1
- 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 +4 -4
- package/dist/openspec-compat.mjs +3 -3
- package/dist/{openspec-projection-DTu73p25.d.mts → openspec-projection-46QLZ6b8.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-Cq5yqzjd.d.mts → opsx-entity-Btqm5OhC.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +6 -6
- package/dist/{opsx-schema-detail-DwKh5cRx.d.mts → opsx-schema-detail-C4VyWZ8B.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +7 -7
- package/dist/{opsx-types-Dxq7Yyjz.d.mts → opsx-types-hVFHL9Cb.d.mts} +2 -2
- package/dist/{planning-cli-projection-pq8vZC1r.mjs → planning-cli-projection-BUU26bEw.mjs} +2 -2
- package/dist/planning-cli-projection.d.mts +17 -17
- package/dist/planning-cli-projection.mjs +3 -3
- package/dist/{schemas-7hc46y5c.d.mts → schemas-Ce7B_SNx.d.mts} +2 -2
- 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 +17 -17
- package/dist/spec-catalog.mjs +2 -2
- package/dist/{store-mutation-protocol-BriXl_0I.d.mts → store-mutation-protocol-DHjp76v0.d.mts} +12 -12
- package/dist/store-mutation-protocol.d.mts +1 -1
- package/dist/{store-types-C4d1cqYC.d.mts → store-types-vKTsXtfb.d.mts} +1 -1
- package/dist/store-types.d.mts +4 -4
- package/dist/task-progress.d.mts +5 -5
- 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-B2F24Dw6.d.mts → terminal-invocation-zNp8J57-.d.mts} +12 -12
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-CLbxLmcj.d.mts → translator-DZO_bY1X.d.mts} +50 -50
- package/dist/translator.d.mts +1 -1
- package/package.json +2 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Ct as
|
|
1
|
+
import { Ct as CliJsonValue, Et as CliDiagnosticFailure, It as CliRootSourceSchema, J as CliApplyInstructions, Lt as CliExecutor, Nt as CliRoot, Ot as CliDiagnosticSchema, Tt as CliDiagnostic, Z as CliArchiveInstructions, at as CliShowSpec, c as CliWorkflowOptions, ct as CliSpecList, dt as CliValidateFindings, et as CliArtifactInstructions, n as CliRootSelector, nn as OpenSpecUIConfig, rt as CliChangeListEntry, vt as CliWorkflowStatus, xt as CliCommandResult } from "./index-D9qYKNqh.mjs";
|
|
2
2
|
import { _ as TranslationCacheSettings } from "./document-translation-CGMD0RLA.mjs";
|
|
3
|
-
import { G as RootContext } from "./active-root-config-
|
|
4
|
-
import { r as CliProjectionCommandEvidence } from "./cli-projection-
|
|
5
|
-
import { g as Spec, l as DeltaSpec, n as ChangeFile, t as Change, v as Task } from "./schemas-
|
|
6
|
-
import { D as SchemaInfo, K as TrackedTaskPhase, P as TemplatesMap, T as SchemaDetail, U as TaskProjections, V as DocumentChecklistSummary, j as TemplateContentMap, k as SchemaResolution, l as ArtifactInstructions, p as ChangeStatus, q as TrackedTaskProgress, s as ArchiveInstructions, t as ApplyInstructions, y as OpsxConfigBundle } from "./opsx-types-
|
|
7
|
-
import { o as OpsxEntityReadOptions, r as OpsxEntityDetail, s as OpsxEntityStage } from "./opsx-entity-
|
|
8
|
-
import { Ot as TranslationLocalCt2Settings, Pt as TranslationLocalSettings, Ut as TranslationOpenAISettings, at as TranslationEngineId, jt as TranslationLocalLlamaSettings, rt as TranslationEngineGlobalSettingsUpdate } from "./translator-
|
|
3
|
+
import { G as RootContext } from "./active-root-config-Ba57tJrq.mjs";
|
|
4
|
+
import { r as CliProjectionCommandEvidence } from "./cli-projection-CvtX601c.mjs";
|
|
5
|
+
import { g as Spec, l as DeltaSpec, n as ChangeFile, t as Change, v as Task } from "./schemas-Ce7B_SNx.mjs";
|
|
6
|
+
import { D as SchemaInfo, K as TrackedTaskPhase, P as TemplatesMap, T as SchemaDetail, U as TaskProjections, V as DocumentChecklistSummary, j as TemplateContentMap, k as SchemaResolution, l as ArtifactInstructions, p as ChangeStatus, q as TrackedTaskProgress, s as ArchiveInstructions, t as ApplyInstructions, y as OpsxConfigBundle } from "./opsx-types-hVFHL9Cb.mjs";
|
|
7
|
+
import { o as OpsxEntityReadOptions, r as OpsxEntityDetail, s as OpsxEntityStage } from "./opsx-entity-Btqm5OhC.mjs";
|
|
8
|
+
import { Ot as TranslationLocalCt2Settings, Pt as TranslationLocalSettings, Ut as TranslationOpenAISettings, at as TranslationEngineId, jt as TranslationLocalLlamaSettings, rt as TranslationEngineGlobalSettingsUpdate } from "./translator-DZO_bY1X.mjs";
|
|
9
9
|
import { d as OpsxTextInputAction, f as OpsxWorkflowId, l as OpsxArtifactInputAction, t as OPSX_ALL_WORKFLOWS, u as OpsxChangeInputAction } from "./opsx-workflows-B72EGtj_.mjs";
|
|
10
10
|
import { i as HostedStoreContentSpecsEnvelopeSchema, n as HostedStoreContentChangesEnvelopeSchema } from "./store-content-projection-BnNYyb0x.mjs";
|
|
11
11
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -15551,19 +15551,21 @@ interface AIToolOption {
|
|
|
15551
15551
|
perSeriesOverrides?: Readonly<Partial<Record<AgentCliSeries, AgentDeliverySeriesOverride>>>;
|
|
15552
15552
|
}
|
|
15553
15553
|
/** Official OpenSpec CLI lines with distinct Agent inventories admitted by this release line. */
|
|
15554
|
-
type AgentCliSeries = '1.
|
|
15554
|
+
type AgentCliSeries = '1.12';
|
|
15555
15555
|
/**
|
|
15556
|
-
* Historical provenance lines for registry facts that predate
|
|
15557
|
-
* (`minCliSeries`, `requiresIdeRestartSince
|
|
15558
|
-
*
|
|
15556
|
+
* Historical provenance lines for registry facts that predate or retire out of the
|
|
15557
|
+
* admitted window (`minCliSeries`, `requiresIdeRestartSince`, and on-disk
|
|
15558
|
+
* `generatedBy` stamps typed at their consumers). Selection math treats them as
|
|
15559
|
+
* ordered history: a provenance line below the admitted line never gates a v12
|
|
15560
|
+
* inventory, and retired admitted lines ('1.10'/'1.11') select no inventory at all.
|
|
15559
15561
|
*/
|
|
15560
|
-
type AgentProvenanceCliSeries = '1.9' | AgentCliSeries;
|
|
15562
|
+
type AgentProvenanceCliSeries = '1.9' | '1.10' | '1.11' | AgentCliSeries;
|
|
15561
15563
|
/**
|
|
15562
15564
|
* Per-series divergence applied when one admitted CLI line pins a different physical
|
|
15563
15565
|
* reality than the newest line. The base registry always mirrors the newest admitted
|
|
15564
|
-
* line (1.
|
|
15565
|
-
*
|
|
15566
|
-
*
|
|
15566
|
+
* line (1.12); an override replaces the listed fields for an older admitted line
|
|
15567
|
+
* when a future release widens the window again. A field explicitly set to
|
|
15568
|
+
* `undefined` clears the newest-line value.
|
|
15567
15569
|
*/
|
|
15568
15570
|
interface AgentDeliverySeriesOverride {
|
|
15569
15571
|
skillsDir?: string;
|
|
@@ -15579,26 +15581,26 @@ declare const SHARED_AGENTS_SKILLS_ROOT = ".agents";
|
|
|
15579
15581
|
declare const SHARED_SKILLS_TARGET_MARKER = ".openspec-target";
|
|
15580
15582
|
/**
|
|
15581
15583
|
* Candidate owners that may render the shared `.agents` skills root, in pinned upstream
|
|
15582
|
-
* registry order (`codex`, `zed`, `agents` on
|
|
15584
|
+
* registry order (`codex`, `zed`, `agents` on the admitted line).
|
|
15583
15585
|
*
|
|
15584
15586
|
* Arbitration is owned by the official CLI and projected by the Server Agent delivery
|
|
15585
15587
|
* service — never by this registry — and follows: the `.openspec-target` marker, then
|
|
15586
15588
|
* the owner inferred from generated invocation syntax, then `agents` when current skills
|
|
15587
|
-
* already exist, then the `codex` fallback. Antigravity
|
|
15588
|
-
* but is adapter-backed and is excluded from
|
|
15589
|
-
* `.agents/workflows` commands root is unaffected
|
|
15589
|
+
* already exist, then the `codex` fallback. Antigravity joined the shared root in
|
|
15590
|
+
* 1.11 (carried forward on 1.12) but is adapter-backed and is excluded from
|
|
15591
|
+
* skills-writer candidacy; its own `.agents/workflows` commands root is unaffected
|
|
15592
|
+
* by that exclusion.
|
|
15590
15593
|
*/
|
|
15591
15594
|
declare const SHARED_AGENTS_SKILLS_OWNER_CANDIDATES: readonly ['codex', 'zed', 'agents'];
|
|
15592
15595
|
/**
|
|
15593
15596
|
* Select the official Agent delivery inventory for one CLI version string.
|
|
15594
15597
|
*
|
|
15595
|
-
* Only a stable, admitted version —
|
|
15596
|
-
*
|
|
15597
|
-
*
|
|
15598
|
-
* page-level version bypass must not manufacture an admitted
|
|
15599
|
-
* CLI the release line refuses to admit. The returned snapshot
|
|
15600
|
-
*
|
|
15601
|
-
* between 1.10 and 1.11).
|
|
15598
|
+
* Only a stable, admitted version — stable 1.12.x on this single-series line —
|
|
15599
|
+
* selects an inventory. Unsupported forms (prereleases, >=1.13, below-range lines
|
|
15600
|
+
* including the retired 1.10/1.11 v11 window and 1.8/1.9) and unparseable output
|
|
15601
|
+
* select none: a page-level version bypass must not manufacture an admitted
|
|
15602
|
+
* inventory for a CLI the release line refuses to admit. The returned snapshot
|
|
15603
|
+
* carries the 1.12 physical reality (which inherits every 1.11 root fact).
|
|
15602
15604
|
*/
|
|
15603
15605
|
declare function selectAgentDeliveryRegistry(cliVersion: string | null): ToolConfig[];
|
|
15604
15606
|
/**
|
|
@@ -15606,9 +15608,10 @@ declare function selectAgentDeliveryRegistry(cliVersion: string | null): ToolCon
|
|
|
15606
15608
|
*
|
|
15607
15609
|
* Delegates to the single compat version parser so the same stdout that classifies a session
|
|
15608
15610
|
* also selects its inventory — two parsers must never disagree at this boundary. Returns
|
|
15609
|
-
* '1.
|
|
15610
|
-
*
|
|
15611
|
-
* unparseable output.
|
|
15611
|
+
* '1.12' only for stable 1.12.x, and null for every non-admitted form: prereleases,
|
|
15612
|
+
* >=1.13, retired below-range lines (including the 1.10/1.11 v11 window and 1.9.x),
|
|
15613
|
+
* or unparseable output. Retired minors stay typed as `AgentProvenanceCliSeries`
|
|
15614
|
+
* history for registry facts and on-disk stamps; they never select an inventory here.
|
|
15612
15615
|
*/
|
|
15613
15616
|
declare function parseOpenSpecCliSeries(cliVersion: string | null): AgentCliSeries | null;
|
|
15614
15617
|
interface ToolConfig extends AIToolOption {}
|
|
@@ -15683,7 +15686,8 @@ type AgentCommandContentCatalog = Readonly<Record<string, Readonly<Partial<Recor
|
|
|
15683
15686
|
* contract when a command template carries no argument placeholder of its own
|
|
15684
15687
|
* (see the pinned upstream `command-generation/adapters/opencode.ts`). OpenSpecUI
|
|
15685
15688
|
* treats this line as generator-owned, so command files may differ by exactly
|
|
15686
|
-
* this line and still be content-current
|
|
15689
|
+
* this line and still be content-current against the admitted 1.12 generator
|
|
15690
|
+
* even when an older line's generator wrote the pre-injection body.
|
|
15687
15691
|
*/
|
|
15688
15692
|
declare const OPENCODE_PROVIDED_ARGUMENTS_LINE = "**Provided arguments**: $ARGUMENTS";
|
|
15689
15693
|
/**
|
|
@@ -15691,8 +15695,8 @@ declare const OPENCODE_PROVIDED_ARGUMENTS_LINE = "**Provided arguments**: $ARGUM
|
|
|
15691
15695
|
*
|
|
15692
15696
|
* Equivalence is exact string equality after BOM/CRLF normalization, plus one
|
|
15693
15697
|
* deliberate tolerance: the OpenCode passthrough line above may appear as a
|
|
15694
|
-
* standalone line on either side, because 1.10+ adapters inject it while
|
|
15695
|
-
*
|
|
15698
|
+
* standalone line on either side, because 1.10+ adapters inject it while pre-1.10
|
|
15699
|
+
* runners did not. A longer body line that merely starts with the
|
|
15696
15700
|
* passthrough text is genuine content, never generator-owned. No other tool or
|
|
15697
15701
|
* difference is tolerated.
|
|
15698
15702
|
*/
|
|
@@ -15725,7 +15729,7 @@ type ToolInitStatus = 'unavailable' | 'uninitialized' | 'partial' | 'initialized
|
|
|
15725
15729
|
type ToolInitReadiness = 'unavailable' | 'uninitialized' | 'partial' | 'initialized';
|
|
15726
15730
|
type ToolInitIssue = 'stale-version' | 'cleanup-needed' | 'migration-required';
|
|
15727
15731
|
/** Pinned source version used when a runtime CLI version is not supplied by the Server owner. */
|
|
15728
|
-
declare const PINNED_AGENT_GENERATOR_VERSION = "1.
|
|
15732
|
+
declare const PINNED_AGENT_GENERATOR_VERSION = "1.12.0";
|
|
15729
15733
|
/** Physical delivery scope of one tool's skills inventory. */
|
|
15730
15734
|
type ToolSkillsScope = {
|
|
15731
15735
|
kind: 'project';
|
|
@@ -15798,8 +15802,8 @@ interface ToolInitProjectionOptions {
|
|
|
15798
15802
|
unavailableCommandTools?: Readonly<Record<string, string>> | null;
|
|
15799
15803
|
/**
|
|
15800
15804
|
* Official inventory for the admitted CLI line. Defaults to the newest supported registry;
|
|
15801
|
-
* the Agent delivery projection passes the version-selected list so
|
|
15802
|
-
* only its own tools' states (no
|
|
15805
|
+
* the Agent delivery projection passes the version-selected list so each admitted session
|
|
15806
|
+
* reports only its own tools' states (no later-line restart facts, no unshipped targets).
|
|
15803
15807
|
*/
|
|
15804
15808
|
registry?: readonly ToolConfig[];
|
|
15805
15809
|
}
|
|
@@ -16225,13 +16229,13 @@ declare const DashboardSummaryProjectionSchema: z.ZodObject<{
|
|
|
16225
16229
|
}, "strip", z.ZodTypeAny, {
|
|
16226
16230
|
id: string;
|
|
16227
16231
|
name: string;
|
|
16228
|
-
requirements: number;
|
|
16229
16232
|
updatedAt: number;
|
|
16233
|
+
requirements: number;
|
|
16230
16234
|
}, {
|
|
16231
16235
|
id: string;
|
|
16232
16236
|
name: string;
|
|
16233
|
-
requirements: number;
|
|
16234
16237
|
updatedAt: number;
|
|
16238
|
+
requirements: number;
|
|
16235
16239
|
}>, "many">;
|
|
16236
16240
|
activeChanges: z.ZodArray<z.ZodObject<{
|
|
16237
16241
|
id: z.ZodString;
|
|
@@ -16739,8 +16743,8 @@ declare const DashboardSummaryProjectionSchema: z.ZodObject<{
|
|
|
16739
16743
|
specifications: {
|
|
16740
16744
|
id: string;
|
|
16741
16745
|
name: string;
|
|
16742
|
-
requirements: number;
|
|
16743
16746
|
updatedAt: number;
|
|
16747
|
+
requirements: number;
|
|
16744
16748
|
}[];
|
|
16745
16749
|
activeChanges: {
|
|
16746
16750
|
id: string;
|
|
@@ -16842,8 +16846,8 @@ declare const DashboardSummaryProjectionSchema: z.ZodObject<{
|
|
|
16842
16846
|
specifications: {
|
|
16843
16847
|
id: string;
|
|
16844
16848
|
name: string;
|
|
16845
|
-
requirements: number;
|
|
16846
16849
|
updatedAt: number;
|
|
16850
|
+
requirements: number;
|
|
16847
16851
|
}[];
|
|
16848
16852
|
activeChanges: {
|
|
16849
16853
|
id: string;
|
|
@@ -17691,13 +17695,13 @@ declare const DashboardOverviewSchema: z.ZodObject<{
|
|
|
17691
17695
|
}, "strip", z.ZodTypeAny, {
|
|
17692
17696
|
id: string;
|
|
17693
17697
|
name: string;
|
|
17694
|
-
requirements: number;
|
|
17695
17698
|
updatedAt: number;
|
|
17699
|
+
requirements: number;
|
|
17696
17700
|
}, {
|
|
17697
17701
|
id: string;
|
|
17698
17702
|
name: string;
|
|
17699
|
-
requirements: number;
|
|
17700
17703
|
updatedAt: number;
|
|
17704
|
+
requirements: number;
|
|
17701
17705
|
}>, "many">;
|
|
17702
17706
|
activeChanges: z.ZodArray<z.ZodObject<{
|
|
17703
17707
|
id: z.ZodString;
|
|
@@ -18951,11 +18955,52 @@ declare const DashboardOverviewSchema: z.ZodObject<{
|
|
|
18951
18955
|
tasksCompleted: number;
|
|
18952
18956
|
taskCompletionPercent: number | null;
|
|
18953
18957
|
};
|
|
18958
|
+
git: {
|
|
18959
|
+
bindingToken: string | null;
|
|
18960
|
+
defaultBranch: string;
|
|
18961
|
+
worktrees: {
|
|
18962
|
+
entries: ({
|
|
18963
|
+
type: "commit";
|
|
18964
|
+
title: string;
|
|
18965
|
+
diff: {
|
|
18966
|
+
files: number;
|
|
18967
|
+
insertions: number;
|
|
18968
|
+
deletions: number;
|
|
18969
|
+
};
|
|
18970
|
+
hash: string;
|
|
18971
|
+
committedAt: number;
|
|
18972
|
+
relatedChanges: string[];
|
|
18973
|
+
} | {
|
|
18974
|
+
type: "uncommitted";
|
|
18975
|
+
updatedAt: number | null;
|
|
18976
|
+
title: string;
|
|
18977
|
+
diff: {
|
|
18978
|
+
files: number;
|
|
18979
|
+
insertions: number;
|
|
18980
|
+
deletions: number;
|
|
18981
|
+
};
|
|
18982
|
+
relatedChanges: string[];
|
|
18983
|
+
})[];
|
|
18984
|
+
path: string;
|
|
18985
|
+
relativePath: string;
|
|
18986
|
+
pathAvailable: boolean;
|
|
18987
|
+
branchName: string;
|
|
18988
|
+
detached: boolean;
|
|
18989
|
+
isCurrent: boolean;
|
|
18990
|
+
ahead: number;
|
|
18991
|
+
behind: number;
|
|
18992
|
+
diff: {
|
|
18993
|
+
files: number;
|
|
18994
|
+
insertions: number;
|
|
18995
|
+
deletions: number;
|
|
18996
|
+
};
|
|
18997
|
+
}[];
|
|
18998
|
+
};
|
|
18954
18999
|
specifications: {
|
|
18955
19000
|
id: string;
|
|
18956
19001
|
name: string;
|
|
18957
|
-
requirements: number;
|
|
18958
19002
|
updatedAt: number;
|
|
19003
|
+
requirements: number;
|
|
18959
19004
|
}[];
|
|
18960
19005
|
activeChanges: {
|
|
18961
19006
|
id: string;
|
|
@@ -19042,47 +19087,6 @@ declare const DashboardOverviewSchema: z.ZodObject<{
|
|
|
19042
19087
|
};
|
|
19043
19088
|
archivedAt: number;
|
|
19044
19089
|
}[];
|
|
19045
|
-
git: {
|
|
19046
|
-
bindingToken: string | null;
|
|
19047
|
-
defaultBranch: string;
|
|
19048
|
-
worktrees: {
|
|
19049
|
-
entries: ({
|
|
19050
|
-
type: "commit";
|
|
19051
|
-
title: string;
|
|
19052
|
-
diff: {
|
|
19053
|
-
files: number;
|
|
19054
|
-
insertions: number;
|
|
19055
|
-
deletions: number;
|
|
19056
|
-
};
|
|
19057
|
-
hash: string;
|
|
19058
|
-
committedAt: number;
|
|
19059
|
-
relatedChanges: string[];
|
|
19060
|
-
} | {
|
|
19061
|
-
type: "uncommitted";
|
|
19062
|
-
updatedAt: number | null;
|
|
19063
|
-
title: string;
|
|
19064
|
-
diff: {
|
|
19065
|
-
files: number;
|
|
19066
|
-
insertions: number;
|
|
19067
|
-
deletions: number;
|
|
19068
|
-
};
|
|
19069
|
-
relatedChanges: string[];
|
|
19070
|
-
})[];
|
|
19071
|
-
path: string;
|
|
19072
|
-
relativePath: string;
|
|
19073
|
-
pathAvailable: boolean;
|
|
19074
|
-
branchName: string;
|
|
19075
|
-
detached: boolean;
|
|
19076
|
-
isCurrent: boolean;
|
|
19077
|
-
ahead: number;
|
|
19078
|
-
behind: number;
|
|
19079
|
-
diff: {
|
|
19080
|
-
files: number;
|
|
19081
|
-
insertions: number;
|
|
19082
|
-
deletions: number;
|
|
19083
|
-
};
|
|
19084
|
-
}[];
|
|
19085
|
-
};
|
|
19086
19090
|
trends: {
|
|
19087
19091
|
specifications: {
|
|
19088
19092
|
value: number;
|
|
@@ -19209,11 +19213,52 @@ declare const DashboardOverviewSchema: z.ZodObject<{
|
|
|
19209
19213
|
tasksCompleted: number;
|
|
19210
19214
|
taskCompletionPercent: number | null;
|
|
19211
19215
|
};
|
|
19216
|
+
git: {
|
|
19217
|
+
bindingToken: string | null;
|
|
19218
|
+
defaultBranch: string;
|
|
19219
|
+
worktrees: {
|
|
19220
|
+
entries: ({
|
|
19221
|
+
type: "commit";
|
|
19222
|
+
title: string;
|
|
19223
|
+
diff: {
|
|
19224
|
+
files: number;
|
|
19225
|
+
insertions: number;
|
|
19226
|
+
deletions: number;
|
|
19227
|
+
};
|
|
19228
|
+
hash: string;
|
|
19229
|
+
committedAt: number;
|
|
19230
|
+
relatedChanges: string[];
|
|
19231
|
+
} | {
|
|
19232
|
+
type: "uncommitted";
|
|
19233
|
+
updatedAt: number | null;
|
|
19234
|
+
title: string;
|
|
19235
|
+
diff: {
|
|
19236
|
+
files: number;
|
|
19237
|
+
insertions: number;
|
|
19238
|
+
deletions: number;
|
|
19239
|
+
};
|
|
19240
|
+
relatedChanges: string[];
|
|
19241
|
+
})[];
|
|
19242
|
+
path: string;
|
|
19243
|
+
relativePath: string;
|
|
19244
|
+
pathAvailable: boolean;
|
|
19245
|
+
branchName: string;
|
|
19246
|
+
detached: boolean;
|
|
19247
|
+
isCurrent: boolean;
|
|
19248
|
+
ahead: number;
|
|
19249
|
+
behind: number;
|
|
19250
|
+
diff: {
|
|
19251
|
+
files: number;
|
|
19252
|
+
insertions: number;
|
|
19253
|
+
deletions: number;
|
|
19254
|
+
};
|
|
19255
|
+
}[];
|
|
19256
|
+
};
|
|
19212
19257
|
specifications: {
|
|
19213
19258
|
id: string;
|
|
19214
19259
|
name: string;
|
|
19215
|
-
requirements: number;
|
|
19216
19260
|
updatedAt: number;
|
|
19261
|
+
requirements: number;
|
|
19217
19262
|
}[];
|
|
19218
19263
|
activeChanges: {
|
|
19219
19264
|
id: string;
|
|
@@ -19300,47 +19345,6 @@ declare const DashboardOverviewSchema: z.ZodObject<{
|
|
|
19300
19345
|
};
|
|
19301
19346
|
archivedAt: number;
|
|
19302
19347
|
}[];
|
|
19303
|
-
git: {
|
|
19304
|
-
bindingToken: string | null;
|
|
19305
|
-
defaultBranch: string;
|
|
19306
|
-
worktrees: {
|
|
19307
|
-
entries: ({
|
|
19308
|
-
type: "commit";
|
|
19309
|
-
title: string;
|
|
19310
|
-
diff: {
|
|
19311
|
-
files: number;
|
|
19312
|
-
insertions: number;
|
|
19313
|
-
deletions: number;
|
|
19314
|
-
};
|
|
19315
|
-
hash: string;
|
|
19316
|
-
committedAt: number;
|
|
19317
|
-
relatedChanges: string[];
|
|
19318
|
-
} | {
|
|
19319
|
-
type: "uncommitted";
|
|
19320
|
-
updatedAt: number | null;
|
|
19321
|
-
title: string;
|
|
19322
|
-
diff: {
|
|
19323
|
-
files: number;
|
|
19324
|
-
insertions: number;
|
|
19325
|
-
deletions: number;
|
|
19326
|
-
};
|
|
19327
|
-
relatedChanges: string[];
|
|
19328
|
-
})[];
|
|
19329
|
-
path: string;
|
|
19330
|
-
relativePath: string;
|
|
19331
|
-
pathAvailable: boolean;
|
|
19332
|
-
branchName: string;
|
|
19333
|
-
detached: boolean;
|
|
19334
|
-
isCurrent: boolean;
|
|
19335
|
-
ahead: number;
|
|
19336
|
-
behind: number;
|
|
19337
|
-
diff: {
|
|
19338
|
-
files: number;
|
|
19339
|
-
insertions: number;
|
|
19340
|
-
deletions: number;
|
|
19341
|
-
};
|
|
19342
|
-
}[];
|
|
19343
|
-
};
|
|
19344
19348
|
trends: {
|
|
19345
19349
|
specifications: {
|
|
19346
19350
|
value: number;
|
|
@@ -68211,7 +68215,7 @@ declare const HostedStoreMutationStartResponseSchema: z.ZodIntersection<z.ZodDis
|
|
|
68211
68215
|
}>;
|
|
68212
68216
|
}, "strip", z.ZodTypeAny, {
|
|
68213
68217
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
68214
|
-
status: "
|
|
68218
|
+
status: "succeeded" | "failed" | "indeterminate";
|
|
68215
68219
|
envUri: string;
|
|
68216
68220
|
observedAt: number;
|
|
68217
68221
|
requestId: string;
|
|
@@ -68232,7 +68236,7 @@ declare const HostedStoreMutationStartResponseSchema: z.ZodIntersection<z.ZodDis
|
|
|
68232
68236
|
storeId?: string | undefined;
|
|
68233
68237
|
}, {
|
|
68234
68238
|
kind: "setup" | "register" | "unregister" | "remove";
|
|
68235
|
-
status: "
|
|
68239
|
+
status: "succeeded" | "failed" | "indeterminate";
|
|
68236
68240
|
envUri: string;
|
|
68237
68241
|
observedAt: number;
|
|
68238
68242
|
requestId: string;
|
|
@@ -68455,6 +68459,40 @@ interface GlobArtifactFile {
|
|
|
68455
68459
|
type: 'file';
|
|
68456
68460
|
content: string;
|
|
68457
68461
|
}
|
|
68462
|
+
/**
|
|
68463
|
+
* Bulk scope a findings request must name explicitly (OpenSpec 1.12 law).
|
|
68464
|
+
*
|
|
68465
|
+
* Upstream rejects `--report findings` without a bulk scope, with an item name, and
|
|
68466
|
+
* with archived+active mixing, so the kernel surface accepts exactly the four valid
|
|
68467
|
+
* scopes and never an item target.
|
|
68468
|
+
*/
|
|
68469
|
+
type OpsxValidationFindingsScope = 'all' | 'changes' | 'specs' | 'archived';
|
|
68470
|
+
/**
|
|
68471
|
+
* Capability-gated `validate --report findings` evidence for the server boundary.
|
|
68472
|
+
*
|
|
68473
|
+
* - `unavailable`: the admitted session derives no `findingsReport` capability, so no
|
|
68474
|
+
* argv was composed at all — a bypassed or retired CLI must learn the refusal here,
|
|
68475
|
+
* never by watching the CLI reject an unknown option.
|
|
68476
|
+
* - `findings`: the filtered findings document. This is a separate evidence transport,
|
|
68477
|
+
* never the validation truth: `summary` and `root` stay full-run values and
|
|
68478
|
+
* `report.returnedItems`/`report.totalItems` distinguish the filtered view from the
|
|
68479
|
+
* run size. The full validate report keeps its own transport and truth ownership.
|
|
68480
|
+
* - `request-failure`: the CLI's typed `invalid_validation_report_request` envelope
|
|
68481
|
+
* (or another diagnostic failure). It is decoded evidence, not a thrown error, so
|
|
68482
|
+
* callers can show the CLI's own fix string.
|
|
68483
|
+
*/
|
|
68484
|
+
type OpsxValidationFindingsProjection = {
|
|
68485
|
+
kind: 'unavailable';
|
|
68486
|
+
capability: 'findingsReport';
|
|
68487
|
+
} | {
|
|
68488
|
+
kind: 'findings';
|
|
68489
|
+
value: CliValidateFindings;
|
|
68490
|
+
evidence: CliProjectionCommandEvidence;
|
|
68491
|
+
} | {
|
|
68492
|
+
kind: 'request-failure';
|
|
68493
|
+
value: CliDiagnosticFailure;
|
|
68494
|
+
evidence: CliProjectionCommandEvidence;
|
|
68495
|
+
};
|
|
68458
68496
|
declare class OpsxKernel {
|
|
68459
68497
|
private readonly projectDir;
|
|
68460
68498
|
private readonly cliExecutor;
|
|
@@ -68577,6 +68615,23 @@ declare class OpsxKernel {
|
|
|
68577
68615
|
value: ChangeStatus[];
|
|
68578
68616
|
evidence: CliProjectionCommandEvidence;
|
|
68579
68617
|
}>;
|
|
68618
|
+
/**
|
|
68619
|
+
* Execute the capability-gated OpenSpec 1.12 findings evidence fetch (one spawn).
|
|
68620
|
+
*
|
|
68621
|
+
* Mirrors the batch status transport's wiring: the derived `findingsReport` capability
|
|
68622
|
+
* is checked before reactive dependencies are touched or any argv is composed, so a
|
|
68623
|
+
* bypassed or retired session receives a typed refusal instead of a `--report findings`
|
|
68624
|
+
* flag it may reject. The argv itself is owned by the contracts executor's gated
|
|
68625
|
+
* `validateFindings` method (defense in depth: the executor refuses again before
|
|
68626
|
+
* composing argv), which also decodes through the findings result schema; the upstream
|
|
68627
|
+
* request error (`invalid_validation_report_request`) stays decoded evidence in
|
|
68628
|
+
* `request-failure`, while an unparseable stdout document or transport failure routes
|
|
68629
|
+
* through the existing `CliProjectionCommandError` path. Findings never replaces the
|
|
68630
|
+
* full validate report as the validation truth source — the kernel keeps no validate
|
|
68631
|
+
* projection here, so this loader is a separate evidence fetch for the server boundary.
|
|
68632
|
+
* The single spawn satisfies the one-admission-slot constraint by construction.
|
|
68633
|
+
*/
|
|
68634
|
+
readValidationFindingsProjection(scope: OpsxValidationFindingsScope): Promise<OpsxValidationFindingsProjection>;
|
|
68580
68635
|
/** Execute one artifact-instructions projection in the caller-owned Work generation. */
|
|
68581
68636
|
readInstructionsProjection(changeId: string, artifact: string, schema?: string): Promise<ArtifactInstructions>;
|
|
68582
68637
|
/** Execute one Apply-instructions projection in the caller-owned Work generation. */
|
|
@@ -68715,8 +68770,8 @@ declare const DashboardSummaryProjectionStateSchema: z.ZodDiscriminatedUnion<"st
|
|
|
68715
68770
|
specifications: {
|
|
68716
68771
|
id: string;
|
|
68717
68772
|
name: string;
|
|
68718
|
-
requirements: number;
|
|
68719
68773
|
updatedAt: number;
|
|
68774
|
+
requirements: number;
|
|
68720
68775
|
}[];
|
|
68721
68776
|
activeChanges: {
|
|
68722
68777
|
id: string;
|
|
@@ -68818,8 +68873,8 @@ declare const DashboardSummaryProjectionStateSchema: z.ZodDiscriminatedUnion<"st
|
|
|
68818
68873
|
specifications: {
|
|
68819
68874
|
id: string;
|
|
68820
68875
|
name: string;
|
|
68821
|
-
requirements: number;
|
|
68822
68876
|
updatedAt: number;
|
|
68877
|
+
requirements: number;
|
|
68823
68878
|
}[];
|
|
68824
68879
|
activeChanges: {
|
|
68825
68880
|
id: string;
|
|
@@ -68932,8 +68987,8 @@ declare const DashboardSummaryProjectionStateSchema: z.ZodDiscriminatedUnion<"st
|
|
|
68932
68987
|
specifications: {
|
|
68933
68988
|
id: string;
|
|
68934
68989
|
name: string;
|
|
68935
|
-
requirements: number;
|
|
68936
68990
|
updatedAt: number;
|
|
68991
|
+
requirements: number;
|
|
68937
68992
|
}[];
|
|
68938
68993
|
activeChanges: {
|
|
68939
68994
|
id: string;
|
|
@@ -69044,8 +69099,8 @@ declare const DashboardSummaryProjectionStateSchema: z.ZodDiscriminatedUnion<"st
|
|
|
69044
69099
|
specifications: {
|
|
69045
69100
|
id: string;
|
|
69046
69101
|
name: string;
|
|
69047
|
-
requirements: number;
|
|
69048
69102
|
updatedAt: number;
|
|
69103
|
+
requirements: number;
|
|
69049
69104
|
}[];
|
|
69050
69105
|
activeChanges: {
|
|
69051
69106
|
id: string;
|
|
@@ -69154,8 +69209,8 @@ declare const DashboardSummaryProjectionStateSchema: z.ZodDiscriminatedUnion<"st
|
|
|
69154
69209
|
specifications: {
|
|
69155
69210
|
id: string;
|
|
69156
69211
|
name: string;
|
|
69157
|
-
requirements: number;
|
|
69158
69212
|
updatedAt: number;
|
|
69213
|
+
requirements: number;
|
|
69159
69214
|
}[];
|
|
69160
69215
|
activeChanges: {
|
|
69161
69216
|
id: string;
|
|
@@ -69257,8 +69312,8 @@ declare const DashboardSummaryProjectionStateSchema: z.ZodDiscriminatedUnion<"st
|
|
|
69257
69312
|
specifications: {
|
|
69258
69313
|
id: string;
|
|
69259
69314
|
name: string;
|
|
69260
|
-
requirements: number;
|
|
69261
69315
|
updatedAt: number;
|
|
69316
|
+
requirements: number;
|
|
69262
69317
|
}[];
|
|
69263
69318
|
activeChanges: {
|
|
69264
69319
|
id: string;
|
|
@@ -69371,8 +69426,8 @@ declare const DashboardSummaryProjectionStateSchema: z.ZodDiscriminatedUnion<"st
|
|
|
69371
69426
|
specifications: {
|
|
69372
69427
|
id: string;
|
|
69373
69428
|
name: string;
|
|
69374
|
-
requirements: number;
|
|
69375
69429
|
updatedAt: number;
|
|
69430
|
+
requirements: number;
|
|
69376
69431
|
}[];
|
|
69377
69432
|
activeChanges: {
|
|
69378
69433
|
id: string;
|
|
@@ -69483,8 +69538,8 @@ declare const DashboardSummaryProjectionStateSchema: z.ZodDiscriminatedUnion<"st
|
|
|
69483
69538
|
specifications: {
|
|
69484
69539
|
id: string;
|
|
69485
69540
|
name: string;
|
|
69486
|
-
requirements: number;
|
|
69487
69541
|
updatedAt: number;
|
|
69542
|
+
requirements: number;
|
|
69488
69543
|
}[];
|
|
69489
69544
|
activeChanges: {
|
|
69490
69545
|
id: string;
|
|
@@ -69750,8 +69805,8 @@ declare const DashboardSummaryProjectionStateSchema: z.ZodDiscriminatedUnion<"st
|
|
|
69750
69805
|
specifications: {
|
|
69751
69806
|
id: string;
|
|
69752
69807
|
name: string;
|
|
69753
|
-
requirements: number;
|
|
69754
69808
|
updatedAt: number;
|
|
69809
|
+
requirements: number;
|
|
69755
69810
|
}[];
|
|
69756
69811
|
activeChanges: {
|
|
69757
69812
|
id: string;
|
|
@@ -69853,8 +69908,8 @@ declare const DashboardSummaryProjectionStateSchema: z.ZodDiscriminatedUnion<"st
|
|
|
69853
69908
|
specifications: {
|
|
69854
69909
|
id: string;
|
|
69855
69910
|
name: string;
|
|
69856
|
-
requirements: number;
|
|
69857
69911
|
updatedAt: number;
|
|
69912
|
+
requirements: number;
|
|
69858
69913
|
}[];
|
|
69859
69914
|
activeChanges: {
|
|
69860
69915
|
id: string;
|
|
@@ -70079,8 +70134,8 @@ declare const DashboardSummaryProjectionStateSchema: z.ZodDiscriminatedUnion<"st
|
|
|
70079
70134
|
specifications: {
|
|
70080
70135
|
id: string;
|
|
70081
70136
|
name: string;
|
|
70082
|
-
requirements: number;
|
|
70083
70137
|
updatedAt: number;
|
|
70138
|
+
requirements: number;
|
|
70084
70139
|
}[];
|
|
70085
70140
|
activeChanges: {
|
|
70086
70141
|
id: string;
|
|
@@ -70209,8 +70264,8 @@ declare const DashboardSummaryProjectionStateSchema: z.ZodDiscriminatedUnion<"st
|
|
|
70209
70264
|
specifications: {
|
|
70210
70265
|
id: string;
|
|
70211
70266
|
name: string;
|
|
70212
|
-
requirements: number;
|
|
70213
70267
|
updatedAt: number;
|
|
70268
|
+
requirements: number;
|
|
70214
70269
|
}[];
|
|
70215
70270
|
activeChanges: {
|
|
70216
70271
|
id: string;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import "./index-
|
|
1
|
+
import "./index-D9qYKNqh.mjs";
|
|
2
2
|
import "./document-translation-CGMD0RLA.mjs";
|
|
3
|
-
import "./sounds-
|
|
4
|
-
import "./notifications-
|
|
5
|
-
import "./active-root-config-
|
|
6
|
-
import "./cli-projection-
|
|
7
|
-
import "./schemas-
|
|
8
|
-
import "./opsx-types-
|
|
9
|
-
import "./opsx-entity-
|
|
10
|
-
import { a as DashboardSummaryInvalidationCauseSchema, c as DashboardSummaryProjectionStateSchema, i as DashboardSummaryInvalidationCause, n as DashboardSummaryIdentitySchema, o as DashboardSummaryInvalidationSchema, r as DashboardSummaryInvalidation, s as DashboardSummaryProjectionState, t as DashboardSummaryIdentity } from "./dashboard-summary-transport-
|
|
3
|
+
import "./sounds-DzDkqTIX.mjs";
|
|
4
|
+
import "./notifications-Dkoh_xrs.mjs";
|
|
5
|
+
import "./active-root-config-Ba57tJrq.mjs";
|
|
6
|
+
import "./cli-projection-CvtX601c.mjs";
|
|
7
|
+
import "./schemas-Ce7B_SNx.mjs";
|
|
8
|
+
import "./opsx-types-hVFHL9Cb.mjs";
|
|
9
|
+
import "./opsx-entity-Btqm5OhC.mjs";
|
|
10
|
+
import { a as DashboardSummaryInvalidationCauseSchema, c as DashboardSummaryProjectionStateSchema, i as DashboardSummaryInvalidationCause, n as DashboardSummaryIdentitySchema, o as DashboardSummaryInvalidationSchema, r as DashboardSummaryInvalidation, s as DashboardSummaryProjectionState, t as DashboardSummaryIdentity } from "./dashboard-summary-transport-edeWQPi7.mjs";
|
|
11
11
|
import "./markdown-facts-CEACwik1.mjs";
|
|
12
12
|
import "./markdown-reading-CsLbxubT.mjs";
|
|
13
13
|
import "./openspec-annotations-8ppmICAU.mjs";
|
|
14
|
-
import "./openspec-projection-
|
|
15
|
-
import "./translator-
|
|
16
|
-
import "./terminal-audio-
|
|
17
|
-
import "./local-download-profiles-
|
|
14
|
+
import "./openspec-projection-46QLZ6b8.mjs";
|
|
15
|
+
import "./translator-DZO_bY1X.mjs";
|
|
16
|
+
import "./terminal-audio-C6kc0fbX.mjs";
|
|
17
|
+
import "./local-download-profiles-DaFozMhH.mjs";
|
|
18
18
|
import "./translation-language-pair-B6A39Cai.mjs";
|
|
19
19
|
import "./opsx-workflows-B72EGtj_.mjs";
|
|
20
20
|
import "./store-content-projection-BnNYyb0x.mjs";
|
|
21
21
|
import "./opsx-display-path-DvvAFlWG.mjs";
|
|
22
|
-
import "./store-mutation-protocol-
|
|
23
|
-
import "./store-types-
|
|
24
|
-
import "./terminal-invocation-
|
|
22
|
+
import "./store-mutation-protocol-DHjp76v0.mjs";
|
|
23
|
+
import "./store-types-vKTsXtfb.mjs";
|
|
24
|
+
import "./terminal-invocation-zNp8J57-.mjs";
|
|
25
25
|
import "./terminal-theme-C7X8pUqT.mjs";
|
|
26
|
-
import "./opsx-schema-detail-
|
|
26
|
+
import "./opsx-schema-detail-C4VyWZ8B.mjs";
|
|
27
27
|
export { DashboardSummaryIdentity, DashboardSummaryIdentitySchema, DashboardSummaryInvalidation, DashboardSummaryInvalidationCause, DashboardSummaryInvalidationCauseSchema, DashboardSummaryInvalidationSchema, DashboardSummaryProjectionState, DashboardSummaryProjectionStateSchema };
|