@lensmcp/protocol-types 1.25.65 → 1.25.66
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/lib/proof.d.ts +3 -0
- package/lib/team.d.ts +2 -0
- package/lib/workspace-actions.d.ts +11 -0
- package/package.json +1 -1
package/lib/proof.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CandidateRuntimePrepare } from './workspace-actions.js';
|
|
1
2
|
/** Gateway identity and hashes, never database URLs, credentials or environment values. */
|
|
2
3
|
export interface RuntimeProofIdentity {
|
|
3
4
|
workspaceKey: string;
|
|
@@ -6,6 +7,8 @@ export interface RuntimeProofIdentity {
|
|
|
6
7
|
environmentKeys: string[];
|
|
7
8
|
environmentHash: string;
|
|
8
9
|
configurationHash: string;
|
|
10
|
+
/** The candidate's own preparation that ran before its services booted (foodguard-235); absent when none was declared. */
|
|
11
|
+
prepare?: CandidateRuntimePrepare;
|
|
9
12
|
}
|
|
10
13
|
/** Identity of a proof's source and declared execution inputs. Secret values are never retained. */
|
|
11
14
|
export interface ProofFingerprint {
|
package/lib/team.d.ts
CHANGED
|
@@ -1205,6 +1205,8 @@ export interface DashTeamLaunch {
|
|
|
1205
1205
|
threadId?: string;
|
|
1206
1206
|
/** Original launch whose native conversation this launch resumes. */
|
|
1207
1207
|
resumedFrom?: string;
|
|
1208
|
+
/** The checkout that conversation ran in, when it continues in this launch's other one (foodguard-241). */
|
|
1209
|
+
movedFrom?: string;
|
|
1208
1210
|
/** The newest lines of its output, readable — what it said before it joined, or why it ended. */
|
|
1209
1211
|
tail?: string[];
|
|
1210
1212
|
}
|
|
@@ -6,10 +6,21 @@ export type WorkspaceActionState = 'queued' | 'running' | 'passed' | 'failed' |
|
|
|
6
6
|
* typecheck, a lint, a build.
|
|
7
7
|
*/
|
|
8
8
|
export type WorkspaceActionLane = 'light' | 'heavy';
|
|
9
|
+
/**
|
|
10
|
+
* The candidate's own preparation of its runtime (issues/closed/foodguard-235): an Nx target in the candidate's
|
|
11
|
+
* committed code, run in the candidate checkout once its instance is prepared and before any service boots — the
|
|
12
|
+
* profile that turns a default-off feature on, typically by writing `.lensmcp/instance.env`. It runs once per candidate
|
|
13
|
+
* runtime and is part of that runtime's frozen identity; Main's and every other instance never run it.
|
|
14
|
+
*/
|
|
15
|
+
export interface CandidateRuntimePrepare {
|
|
16
|
+
project: string;
|
|
17
|
+
target: string;
|
|
18
|
+
}
|
|
9
19
|
/** An isolated candidate runtime; services and preparation are pinned in the package contract. */
|
|
10
20
|
export interface CandidateRuntimeRequirement {
|
|
11
21
|
services: string[];
|
|
12
22
|
requiredModules?: string[];
|
|
23
|
+
prepare?: CandidateRuntimePrepare;
|
|
13
24
|
}
|
|
14
25
|
export interface WorkspaceActionInput {
|
|
15
26
|
candidateRuntime?: CandidateRuntimeRequirement;
|