@lensmcp/protocol-types 1.25.55 → 1.25.56

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/index.d.ts CHANGED
@@ -41,3 +41,7 @@ export * from './lib/overseer-findings.js';
41
41
  export * from './lib/overseer-rounds.js';
42
42
  export * from './lib/goal-design.js';
43
43
  export * from './lib/overseer-messages.js';
44
+ export * from './lib/team-roadmap.js';
45
+ export type { TaskTimePhase, TaskAttempt, TaskTiming } from './lib/task-timing.js';
46
+ export type { ProofFingerprint, ProofEvidence, RuntimeProofIdentity } from './lib/proof.js';
47
+ export type { GoalAdmission, GoalDeliveryPolicy, DeliveryProofRequirement, PackageContract, PackagePublication, PackageCandidate, DeliveryFailureKind, DeliveryFinding, PackageDelivery, DeliveryAssignment, PackageDeliverySummary } from './lib/team-delivery.js';
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";export*from"./lib/schema-version.js";export*from"./lib/source-location.js";export*from"./lib/context.js";export*from"./lib/event.js";export*from"./lib/node.js";export*from"./lib/edge.js";export*from"./lib/attributes.js";export*from"./lib/producer-health.js";export*from"./lib/resources.js";export*from"./lib/tokens.js";export*from"./lib/capture-demand.js";export*from"./lib/bounded-clone.js";export*from"./lib/bounded-map.js";export*from"./lib/flood-guard.js";export*from"./lib/dashboard.js";export*from"./lib/log-query.js";export*from"./lib/error-dismissal.js";export*from"./lib/ai-content.js";export*from"./lib/http-exchange.js";export*from"./lib/ai-call.js";export*from"./lib/ai-call-row.js";export*from"./lib/ai-call-groups.js";export*from"./lib/ai-context.js";export*from"./lib/ai-origins.js";export*from"./lib/ai-playground.js";export*from"./lib/pod-memory.js";export*from"./lib/perf-rules.js";export*from"./lib/sources.js";export*from"./lib/page-visit.js";export*from"./lib/replay.js";export*from"./lib/event-loop.js";export*from"./lib/workspace-actions.js";export*from"./lib/team.js";export*from"./lib/team-review-changes.js";export*from"./lib/goal-outcome.js";export*from"./lib/goal-retro.js";export*from"./lib/team-design.js";export*from"./lib/team-library.js";export*from"./lib/system-report.js";export*from"./lib/overseer-findings.js";export*from"./lib/overseer-rounds.js";export*from"./lib/goal-design.js";export*from"./lib/overseer-messages.js";
1
+ "use strict";export*from"./lib/schema-version.js";export*from"./lib/source-location.js";export*from"./lib/context.js";export*from"./lib/event.js";export*from"./lib/node.js";export*from"./lib/edge.js";export*from"./lib/attributes.js";export*from"./lib/producer-health.js";export*from"./lib/resources.js";export*from"./lib/tokens.js";export*from"./lib/capture-demand.js";export*from"./lib/bounded-clone.js";export*from"./lib/bounded-map.js";export*from"./lib/flood-guard.js";export*from"./lib/dashboard.js";export*from"./lib/log-query.js";export*from"./lib/error-dismissal.js";export*from"./lib/ai-content.js";export*from"./lib/http-exchange.js";export*from"./lib/ai-call.js";export*from"./lib/ai-call-row.js";export*from"./lib/ai-call-groups.js";export*from"./lib/ai-context.js";export*from"./lib/ai-origins.js";export*from"./lib/ai-playground.js";export*from"./lib/pod-memory.js";export*from"./lib/perf-rules.js";export*from"./lib/sources.js";export*from"./lib/page-visit.js";export*from"./lib/replay.js";export*from"./lib/event-loop.js";export*from"./lib/workspace-actions.js";export*from"./lib/team.js";export*from"./lib/team-review-changes.js";export*from"./lib/goal-outcome.js";export*from"./lib/goal-retro.js";export*from"./lib/team-design.js";export*from"./lib/team-library.js";export*from"./lib/system-report.js";export*from"./lib/overseer-findings.js";export*from"./lib/overseer-rounds.js";export*from"./lib/goal-design.js";export*from"./lib/overseer-messages.js";export*from"./lib/team-roadmap.js";
@@ -75,7 +75,8 @@ export interface DashSession {
75
75
  eventCount: number;
76
76
  setupIssues: DashSetupIssue[];
77
77
  }
78
- export type DashServiceState = 'up' | 'starting' | 'idle' | 'down' | 'wedged' | 'crash-looping' | 'unknown';
78
+ /** `parked`: the checkout is a parked on-demand worktree (planning/team/21) — nothing of it runs until it is run. */
79
+ export type DashServiceState = 'up' | 'starting' | 'idle' | 'down' | 'wedged' | 'crash-looping' | 'unknown' | 'parked';
79
80
  /** Aggregates over a sliding window (see `DashKpis.windowSec`). `null` = no samples. */
80
81
  export interface DashWindowStats {
81
82
  count: number;
@@ -277,12 +278,17 @@ export interface DashCluster {
277
278
  * — left out of `worktrees`: `lensmcp instance prune` forgets them and drops the data the lens made for them.
278
279
  */
279
280
  worktreesGone?: number;
280
- /** Set when THIS dashboard is a worktree instance's: whose worktree it is. */
281
+ /**
282
+ * Set when THIS dashboard is a worktree instance's: whose worktree it is. `parked`: an on-demand worktree that is parked
283
+ * — nothing of it runs and its pages show what its last run recorded; it runs from the main checkout's Cluster ›
284
+ * Worktrees (`baseDashboard`) or `lensmcp instance run <name>`.
285
+ */
281
286
  instance?: {
282
287
  name: string;
283
288
  baseKey: string;
284
289
  apex: string;
285
290
  baseDashboard: string;
291
+ parked?: true;
286
292
  };
287
293
  }
288
294
  /** One worktree instance of the project (a git worktree served beside the main checkout under its own hosts). */
@@ -300,7 +306,10 @@ export interface DashWorktree {
300
306
  * Neither stopped nor offline; `lensmcp instance start --name=<name>` serves it on its own. Absent once started.
301
307
  */
302
308
  checkoutOnly?: boolean;
303
- /** Its dashboard's path under the lens host (`/foodguard-gate1`); a checkout only's is the main checkout's. */
309
+ /**
310
+ * Its dashboard's path under the lens host (`/foodguard-gate1`); a checkout only's is the main checkout's. A parked
311
+ * on-demand worktree's opens too: the gateway keeps its dashboard while nothing else of it runs.
312
+ */
304
313
  dashboard: string;
305
314
  /** The checkout, shortened for display (`~/…/fg/gate1`). */
306
315
  root: string;
@@ -960,6 +969,13 @@ export type DashStreamEvent = {
960
969
  type: 'summary';
961
970
  data: DashSummary;
962
971
  }
972
+ /** Small invalidation frame; the roadmap is fetched only after a relevant change. */
973
+ | {
974
+ type: 'roadmap-revision';
975
+ data: {
976
+ stamp: string;
977
+ };
978
+ }
963
979
  /** Every 15 s on every connection — what tells a tab its stream is alive when its page's frames are quiet. */
964
980
  | {
965
981
  type: 'ping';
@@ -971,7 +987,7 @@ export type DashStreamEventType = DashStreamEvent['type'];
971
987
  * `ping` go to every tab, `summary` too (asked or not); `logs-resync` goes with `logs`, and the log backlog is sent
972
988
  * only to a tab that asks for `logs`. A tab that sends no `topics` gets every frame (a UI from before topics).
973
989
  */
974
- export type DashStreamTopic = 'summary' | 'session' | 'cluster' | 'kpis' | 'flows' | 'flow-rev' | 'logs' | 'diagnostics' | 'errors';
990
+ export type DashStreamTopic = 'summary' | 'session' | 'cluster' | 'kpis' | 'flows' | 'flow-rev' | 'logs' | 'diagnostics' | 'errors' | 'roadmap-revision';
975
991
  export declare const DASH_STREAM_TOPICS: readonly DashStreamTopic[];
976
992
  /**
977
993
  * The shell's numbers — the sidebar's badges, the top bar's counters, the scope card — for a tab whose page does not
package/lib/dashboard.js CHANGED
@@ -1 +1 @@
1
- "use strict";export const DASHBOARD_PROTOCOL=1,DASH_PERF_KINDS=["n-plus-one","db-in-loop","render-storm","slow-path","slow-route","slow-query","missing-index","leak","egress-slow","duplicate-requests","perf-rule","db-connection","other"],DASH_STREAM_TOPICS=["summary","session","cluster","kpis","flows","flow-rev","logs","diagnostics","errors"],DASH_AI_TRIGGERS=["auto","click","agent"];
1
+ "use strict";export const DASHBOARD_PROTOCOL=1,DASH_PERF_KINDS=["n-plus-one","db-in-loop","render-storm","slow-path","slow-route","slow-query","missing-index","leak","egress-slow","duplicate-requests","perf-rule","db-connection","other"],DASH_STREAM_TOPICS=["summary","session","cluster","kpis","flows","flow-rev","logs","diagnostics","errors","roadmap-revision"],DASH_AI_TRIGGERS=["auto","click","agent"];
package/lib/proof.d.ts ADDED
@@ -0,0 +1,30 @@
1
+ /** Gateway identity and hashes, never database URLs, credentials or environment values. */
2
+ export interface RuntimeProofIdentity {
3
+ workspaceKey: string;
4
+ name: string;
5
+ candidate: string;
6
+ environmentKeys: string[];
7
+ environmentHash: string;
8
+ configurationHash: string;
9
+ }
10
+ /** Identity of a proof's source and declared execution inputs. Secret values are never retained. */
11
+ export interface ProofFingerprint {
12
+ version: 1;
13
+ key: string;
14
+ candidate: string;
15
+ tree: string;
16
+ repository: string;
17
+ workingDirectory: string;
18
+ invocationHash: string;
19
+ environmentHash: string;
20
+ runtime: string;
21
+ runnerHash: string;
22
+ files: Record<string, string>;
23
+ runtimeBinding?: RuntimeProofIdentity;
24
+ }
25
+ export interface ProofEvidence {
26
+ fingerprint?: ProofFingerprint;
27
+ eligible: boolean;
28
+ reason?: string;
29
+ verifiedAt?: number;
30
+ }
package/lib/proof.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";export{};
@@ -0,0 +1,20 @@
1
+ /** Observed task states, not estimates of model thinking time or CPU usage. */
2
+ export type TaskTimePhase = 'ready' | 'owned' | 'executionQueue' | 'execution' | 'decision' | 'blocked' | 'recovery' | 'ended';
3
+ export interface TaskAttempt {
4
+ generation: number;
5
+ owner: string;
6
+ startedAt: number;
7
+ endedAt?: number;
8
+ outcome?: string;
9
+ }
10
+ export interface TaskTiming {
11
+ /** First instrumentation observation; earlier history is deliberately not reconstructed. */
12
+ observedAt: number;
13
+ at: number;
14
+ phase: TaskTimePhase;
15
+ /** Claimed states are only vouched for through this lease. */
16
+ until?: number;
17
+ endedAt?: number;
18
+ milliseconds: Partial<Record<TaskTimePhase, number>>;
19
+ attempts: TaskAttempt[];
20
+ }
@@ -0,0 +1 @@
1
+ "use strict";export{};
@@ -0,0 +1,124 @@
1
+ import type { DeliveryProfile } from './team-roadmap.js';
2
+ import type { ProofEvidence } from './proof.js';
3
+ import type { CandidateRuntimeRequirement } from './workspace-actions.js';
4
+ /** A deliberate stop in admission; a draining goal retains capacity until held work and jobs settle. */
5
+ export interface GoalAdmission {
6
+ mode: 'draining' | 'paused';
7
+ at: number;
8
+ by: string;
9
+ reason: string;
10
+ }
11
+ /** Pinned by the approved design. Absence preserves the legacy hand-off engine. */
12
+ export interface GoalDeliveryPolicy {
13
+ version: 1;
14
+ profile: DeliveryProfile;
15
+ }
16
+ export interface DeliveryProofRequirement {
17
+ id: string;
18
+ action: 'test' | 'typecheck' | 'lint' | 'build' | 'e2e' | 'verify';
19
+ project: string;
20
+ target?: string;
21
+ files?: string[];
22
+ related?: string[];
23
+ proofFiles?: string[];
24
+ candidateRuntime?: CandidateRuntimeRequirement;
25
+ }
26
+ /** Scope, ownership and proof declared together before independent writers start. */
27
+ export interface PackageContract {
28
+ acceptance: string[];
29
+ testPaths: string[];
30
+ proofs: DeliveryProofRequirement[];
31
+ /** Additional reviews; the normal reviewer and goal-mandated specialists are never removed. */
32
+ reviewRoles?: string[];
33
+ }
34
+ export interface PackagePublication {
35
+ sha: string;
36
+ base: string;
37
+ paths: string[];
38
+ by: string;
39
+ taskId: string;
40
+ at: number;
41
+ }
42
+ export interface PackageCandidate {
43
+ sha: string;
44
+ base: string;
45
+ inputs: string[];
46
+ ref: string;
47
+ root: string;
48
+ worktreeId: string;
49
+ at: number;
50
+ proofs: Array<{
51
+ requirementId: string;
52
+ runId: string;
53
+ state: 'queued' | 'passed' | 'failed' | 'invalid';
54
+ reservedAt?: number;
55
+ supersededAt?: number;
56
+ evidence?: ProofEvidence;
57
+ reason?: string;
58
+ }>;
59
+ reviews: Array<{
60
+ role: string;
61
+ taskId: string;
62
+ state: 'pending' | 'approved' | 'changes-requested';
63
+ by?: string;
64
+ }>;
65
+ supersededAt?: number;
66
+ integratedAt?: number;
67
+ /** Reserved native integration, preventing publication while the Git CAS is in flight. */
68
+ integratingAt?: number;
69
+ }
70
+ export type DeliveryFailureKind = 'product' | 'test' | 'environment' | 'stale';
71
+ export interface DeliveryFinding {
72
+ id: string;
73
+ candidate: string;
74
+ source: string;
75
+ summary: string;
76
+ kind?: DeliveryFailureKind;
77
+ owner?: string;
78
+ repairTask?: string;
79
+ resolvedAt?: number;
80
+ }
81
+ export interface PackageDelivery {
82
+ version: 1;
83
+ contract: PackageContract;
84
+ /** Resolved normal/specialist roles, pinned when the package is declared. */
85
+ reviewRoles: string[];
86
+ testTaskId?: string;
87
+ base: string;
88
+ writersStarted?: boolean;
89
+ implementation?: PackagePublication;
90
+ tests?: PackagePublication;
91
+ candidates: PackageCandidate[];
92
+ current?: string;
93
+ findings: DeliveryFinding[];
94
+ /** One failed repaired revision counts once, even when several checks fail concurrently. */
95
+ failedRepairs: string[];
96
+ diagnosis?: {
97
+ at: number;
98
+ by: string;
99
+ after: string[];
100
+ text: string;
101
+ };
102
+ }
103
+ export interface DeliveryAssignment {
104
+ packageId: string;
105
+ stage: 'implementation' | 'test-author' | 'preliminary-review' | 'final-review' | 'repair';
106
+ candidate?: string;
107
+ failureKind?: DeliveryFailureKind;
108
+ writer?: 'implementation' | 'tests';
109
+ }
110
+ /** Bounded list/read summary; revision history and fingerprints stay behind the package/job handles. */
111
+ export interface PackageDeliverySummary {
112
+ state: 'building' | 'authoring-tests' | 'preparing' | 'verifying' | 'needs-repair' | 'ready' | 'integrating' | 'integrated';
113
+ candidate?: string;
114
+ proofs: {
115
+ passed: number;
116
+ required: number;
117
+ };
118
+ reviews: {
119
+ approved: number;
120
+ required: number;
121
+ };
122
+ unresolvedFindings: number;
123
+ revisions: number;
124
+ }
@@ -0,0 +1 @@
1
+ "use strict";export{};
@@ -0,0 +1,91 @@
1
+ /** Forward delivery planning. Times are UTC milliseconds; estimates are continuous agent-work minutes. */
2
+ export type DeliveryProfile = 'compact' | 'feature' | 'high-risk';
3
+ export interface DurationRange {
4
+ low: number;
5
+ working: number;
6
+ high: number;
7
+ }
8
+ export interface DeliveryResources {
9
+ writers: number;
10
+ checkers: number;
11
+ heavy: number;
12
+ light: number;
13
+ }
14
+ export interface GoalDependency {
15
+ goalId: string;
16
+ output: string;
17
+ revision?: string;
18
+ }
19
+ export interface GoalSchedule {
20
+ goalId: string;
21
+ epicId?: string;
22
+ profile: DeliveryProfile;
23
+ dependencies: GoalDependency[];
24
+ estimate?: DurationRange;
25
+ remaining?: DurationRange;
26
+ priority: number;
27
+ notBefore?: number;
28
+ /** Unknown human decision duration is an explicit blocker, never guessed. */
29
+ humanWait?: boolean;
30
+ resources: DeliveryResources;
31
+ baseline?: {
32
+ start: number;
33
+ finish: number;
34
+ };
35
+ }
36
+ export interface DeliveryEpic {
37
+ id: string;
38
+ title: string;
39
+ description: string;
40
+ createdAt: number;
41
+ }
42
+ export interface AcceptedGoalOutput {
43
+ goalId: string;
44
+ output: string;
45
+ revision: string;
46
+ integratedAt: number;
47
+ }
48
+ export interface DeliveryAudit {
49
+ at: number;
50
+ by: string;
51
+ action: string;
52
+ reason: string;
53
+ goalId?: string;
54
+ }
55
+ export interface DeliveryState {
56
+ version: 1;
57
+ revision: number;
58
+ epics: DeliveryEpic[];
59
+ schedules: GoalSchedule[];
60
+ outputs: AcceptedGoalOutput[];
61
+ audit: DeliveryAudit[];
62
+ }
63
+ export interface RoadmapGoal {
64
+ id: string;
65
+ title: string;
66
+ state: string;
67
+ createdAt: number;
68
+ startedAt?: number;
69
+ completedAt?: number;
70
+ admission?: import('./team-delivery.js').GoalAdmission;
71
+ schedule?: GoalSchedule;
72
+ forecast?: {
73
+ start: DurationRange;
74
+ finish: DurationRange;
75
+ };
76
+ blockers: string[];
77
+ }
78
+ export interface RoadmapAnswer {
79
+ now: number;
80
+ revision: number;
81
+ calendar: 'continuous';
82
+ /** Preview/apply changes compared at the same instant, excluding clock drift. */
83
+ impact?: string[];
84
+ limits: DeliveryResources & {
85
+ goals: number;
86
+ };
87
+ epics: DeliveryEpic[];
88
+ goals: RoadmapGoal[];
89
+ outputs: AcceptedGoalOutput[];
90
+ audit: DeliveryAudit[];
91
+ }
@@ -0,0 +1 @@
1
+ "use strict";export{};
package/lib/team.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  import type { DashTeamTaskDesign } from './goal-design.js';
2
+ import type { TaskTiming } from './task-timing.js';
3
+ import type { GoalAdmission, PackageDeliverySummary } from './team-delivery.js';
2
4
  /**
3
5
  * The Team page (servers/lensmcp-mcp/src/dashboard/team.ts): the repository's agent team as its coordination store
4
6
  * holds it — the agents in their roles, the tasks they take and hand on, each task's work log — and what the person at
@@ -29,6 +31,9 @@ export interface DashTeamLogLine {
29
31
  text: string;
30
32
  }
31
33
  export interface DashTeamTask {
34
+ delivery?: PackageDeliverySummary;
35
+ admission?: GoalAdmission;
36
+ timing?: TaskTiming;
32
37
  id: string;
33
38
  title: string;
34
39
  /** Whole on `/api/team/task`; its first lines on the board. */
@@ -58,6 +63,10 @@ export interface DashTeamTask {
58
63
  outcome?: DashTeamOutcome;
59
64
  /** The session holding it. */
60
65
  owner?: string;
66
+ /** Stable cohesive scope shared by implementation, checks and repairs. */
67
+ packageId?: string;
68
+ /** Earlier task this one repairs, without declaring new scope. */
69
+ repairOf?: string;
61
70
  /** The session that must take it. */
62
71
  to?: string;
63
72
  /** A session id, `user` — the person's tasks (the Team page, an accepted team design) — or `lensmcp`: the team flow's hand-offs, the operator CLI's. */
@@ -418,6 +427,12 @@ export interface DashTeamLimitsAnswer {
418
427
  }
419
428
  /** A goal's plan as it stands (planning/team/16 GS-D1). */
420
429
  export interface DashTeamGoalPlan {
430
+ /** Absent on legacy goals, which retain their accepted elapsed deadline. */
431
+ timePolicy?: 'forecast' | 'deadline';
432
+ forecastAt?: number;
433
+ forecastCheckpointAt?: number;
434
+ /** Pinned budget contract; absent means the legacy task count. */
435
+ units?: 'tasks' | 'packages';
421
436
  /** The tasks of work its agents may make under it — the flow's tests, reviews and rework not counted. */
422
437
  builds: number;
423
438
  hours: number;
@@ -568,7 +583,7 @@ export interface DashTeamHost {
568
583
  rssMb?: number;
569
584
  }
570
585
  /** Why a session ended: closed by itself or the person, its CLI's SessionEnd, a subagent that stopped, its host process gone, a join never used, quiet past the lease with no host to vouch for it. */
571
- export type DashTeamClosedReason = 'closed' | 'session-end' | 'stopped' | 'host-gone' | 'unused' | 'lost';
586
+ export type DashTeamClosedReason = 'closed' | 'session-end' | 'stopped' | 'host-gone' | 'unused' | 'lost' | 'suspended';
572
587
  /** One coordination session: an agent on the team (a role), or one outside it (no role). */
573
588
  export interface DashTeamSession {
574
589
  id: string;
@@ -981,7 +996,8 @@ export interface DashTeamReviewAgent {
981
996
  outcomes: Partial<Record<DashTeamOutcome, number>>;
982
997
  /** Its own transcript, folded — `tail` left out (the zip has its lines in the window). */
983
998
  transcript?: Omit<DashTeamAgentDetail, 'tail'>;
984
- /** Its model usage in the run's window, from its own lines in it — `transcript.usage` is of its whole transcript. */
999
+ /** Usage during recorded task holds, deduplicated by transcript. No hold means unattributed; not zero usage. */
1000
+ usageAttribution?: 'task-holds' | 'unattributed' | 'shared-transcript';
985
1001
  usage?: DashTeamAgentUsage;
986
1002
  }
987
1003
  /** One thing that happened, in time order. */
@@ -1060,6 +1076,10 @@ export interface DashTeamReviewMetrics {
1060
1076
  }
1061
1077
  /** A run's model usage: per client, and both clients' normalized fields summed — never one client's meaning added to another's. */
1062
1078
  export interface DashTeamReviewUsage {
1079
+ /** Older exports may use the whole window; new reports count only recorded task holds. */
1080
+ attribution?: 'task-holds';
1081
+ /** Linked transcripts with no recorded hold for this goal; their tokens are not charged to it. */
1082
+ unattributedTranscripts?: number;
1063
1083
  codex?: DashTeamAgentUsage & {
1064
1084
  agents: number;
1065
1085
  };
@@ -1171,6 +1191,8 @@ export interface DashTeamLaunch {
1171
1191
  /** Its coordination session once it joined (its hooks name the launch), and its client's thread or session id. */
1172
1192
  sessionId?: string;
1173
1193
  threadId?: string;
1194
+ /** Original launch whose native conversation this launch resumes. */
1195
+ resumedFrom?: string;
1174
1196
  /** The newest lines of its output, readable — what it said before it joined, or why it ended. */
1175
1197
  tail?: string[];
1176
1198
  }
@@ -6,7 +6,17 @@ export type WorkspaceActionState = 'queued' | 'running' | 'passed' | 'failed' |
6
6
  * typecheck, a lint, a build.
7
7
  */
8
8
  export type WorkspaceActionLane = 'light' | 'heavy';
9
+ /** An isolated candidate runtime; services and preparation are pinned in the package contract. */
10
+ export interface CandidateRuntimeRequirement {
11
+ services: string[];
12
+ requiredModules?: string[];
13
+ }
9
14
  export interface WorkspaceActionInput {
15
+ candidateRuntime?: CandidateRuntimeRequirement;
16
+ /** When supplied, refuse a different/dirty candidate rather than silently testing the latest checkout. */
17
+ candidate?: string;
18
+ /** Additional ignored fixtures/configuration to fingerprint; tracked inputs already belong to the candidate tree. */
19
+ proofFiles?: string[];
10
20
  action: WorkspaceActionKind;
11
21
  /** The Nx project — absent only for a run over `affected` projects. */
12
22
  project?: string;
@@ -163,6 +173,8 @@ export interface WorkspaceActionCounts {
163
173
  total: number;
164
174
  }
165
175
  export interface WorkspaceActionStep {
176
+ /** The actual executable and arguments; environment values remain private. */
177
+ command?: string[];
166
178
  id: string;
167
179
  /** The project it ran — a run over several projects (`affected`) has one step each. */
168
180
  project?: string;
@@ -255,6 +267,8 @@ export interface WorktreeRunOutcome {
255
267
  }>;
256
268
  }
257
269
  export interface WorkspaceActionRun {
270
+ /** Command success and reusable candidate proof are separate verdicts. */
271
+ proof?: ProofEvidence;
258
272
  runId: string;
259
273
  scope: {
260
274
  workspace: string;
@@ -294,3 +308,4 @@ export interface WorkspaceActionQueue {
294
308
  why?: string;
295
309
  waitedMs?: number;
296
310
  }
311
+ import type { ProofEvidence } from './proof.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lensmcp/protocol-types",
3
- "version": "1.25.55",
3
+ "version": "1.25.56",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",