@xpert-ai/contracts 3.27.0 → 3.29.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/index.cjs.js +862 -198
- package/index.esm.js +818 -199
- package/package.json +1 -1
- package/src/agent/graph.d.ts +5 -0
- package/src/ai/chat-recovery.model.d.ts +1 -0
- package/src/ai/chat.model.d.ts +12 -1
- package/src/ai/computer-codex-isolation.model.d.ts +12 -0
- package/src/ai/conversation-share.model.d.ts +65 -0
- package/src/ai/execution-control-evidence.schema.d.ts +294 -0
- package/src/ai/execution-control.model.d.ts +26 -0
- package/src/ai/execution-observability.model.d.ts +2163 -0
- package/src/ai/index.d.ts +6 -0
- package/src/ai/mcp-execution-control.schema.d.ts +107 -0
- package/src/ai/mcp-operation.model.d.ts +60 -0
- package/src/ai/mcp-task.schema.d.ts +85 -0
- package/src/ai/model-execution-parameters.model.d.ts +46 -0
- package/src/ai/model-execution.model.d.ts +4 -1
- package/src/ai/project-pipeline/operation.schema.d.ts +1987 -2
- package/src/ai/project-task-runtime.model.d.ts +44 -44
- package/src/ai/sandbox-execution-control.schema.d.ts +100 -0
- package/src/ai/thread-activity.model.d.ts +1 -0
- package/src/ai/thread-control-projection.model.d.ts +9 -0
- package/src/ai/thread-control-view.schema.d.ts +97 -0
- package/src/api-key.model.d.ts +3 -1
- package/src/artifact-presentation.model.d.ts +19 -0
- package/src/artifact.model.d.ts +14 -0
- package/src/content-document.model.d.ts +3 -1
- package/src/content-resource.model.d.ts +119 -0
- package/src/desktop-shell.model.d.ts +8 -0
- package/src/execution-control-admission.schema.d.ts +119 -0
- package/src/index.d.ts +9 -0
- package/src/plugin-application.d.ts +18 -0
- package/src/runtime-control.d.ts +9 -0
- package/src/secret-token.model.d.ts +33 -0
- package/src/task-control.model.d.ts +45 -0
- package/src/view-extension/model.d.ts +7 -0
package/package.json
CHANGED
package/src/agent/graph.d.ts
CHANGED
|
@@ -39,6 +39,11 @@ export type TMessageChannel = {
|
|
|
39
39
|
messages: BaseMessage[];
|
|
40
40
|
summary?: string;
|
|
41
41
|
error?: string | null;
|
|
42
|
+
/** Checkpointed input identity; committed with the corresponding messages. */
|
|
43
|
+
inputReceipt?: {
|
|
44
|
+
id: string;
|
|
45
|
+
status: 'pending' | 'consumed';
|
|
46
|
+
};
|
|
42
47
|
};
|
|
43
48
|
export interface IBackendProtocol {
|
|
44
49
|
workingDirectory: string;
|
|
@@ -29,4 +29,5 @@ export type TChatThreadRecovery = {
|
|
|
29
29
|
/** Chat clients consume availability only; diagnostic details stay server-side. */
|
|
30
30
|
export type TChatThreadCapabilities = {
|
|
31
31
|
canRetry: boolean;
|
|
32
|
+
controlView?: import('./thread-control-view.schema').ThreadControlView;
|
|
32
33
|
};
|
package/src/ai/chat.model.d.ts
CHANGED
|
@@ -120,8 +120,19 @@ export type TChatThreadDisplayPause = {
|
|
|
120
120
|
};
|
|
121
121
|
export type TChatThreadRunControl = {
|
|
122
122
|
executionId: string;
|
|
123
|
-
state: 'running' | 'pausing' | 'paused';
|
|
123
|
+
state: 'running' | 'pausing' | 'paused' | 'terminating' | 'settling' | 'input_wait';
|
|
124
|
+
/** Trusted checkpoint node names allowed to finish the current input continuation during pause. */
|
|
125
|
+
inputNodes?: string[];
|
|
126
|
+
/** Saved graph outcome while attached work still lacks settlement evidence. */
|
|
127
|
+
pendingFinish?: {
|
|
128
|
+
status: TChatConversationStatus;
|
|
129
|
+
error?: string | null;
|
|
130
|
+
operation?: TSensitiveOperation | null;
|
|
131
|
+
};
|
|
124
132
|
pauseId?: string;
|
|
133
|
+
/** Fences late finalizers while a resume is claimed but not yet bound to its new execution. */
|
|
134
|
+
resumeClaimed?: boolean;
|
|
135
|
+
resumeClaimId?: string;
|
|
125
136
|
graphRevision?: string;
|
|
126
137
|
checkpoint?: TChatCheckpointReference;
|
|
127
138
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Host-selected Codex execution boundary. This describes policy, not command readiness. */
|
|
2
|
+
export type ComputerCodexIsolationPolicy = {
|
|
3
|
+
provider: 'codex';
|
|
4
|
+
approvalPolicy: 'never';
|
|
5
|
+
commandReadiness: 'verify_before_launch';
|
|
6
|
+
} & ({
|
|
7
|
+
sandboxMode: 'workspace-write';
|
|
8
|
+
enforcement: 'codex';
|
|
9
|
+
} | {
|
|
10
|
+
sandboxMode: 'danger-full-access';
|
|
11
|
+
enforcement: 'computer';
|
|
12
|
+
});
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/** Explicit Artifact source identity for platform-owned conversation snapshots. */
|
|
2
|
+
export declare const CONVERSATION_SHARE_ARTIFACT_SOURCE: {
|
|
3
|
+
readonly pluginName: "@xpert-ai/platform";
|
|
4
|
+
readonly resourceType: "conversation_snapshot";
|
|
5
|
+
};
|
|
6
|
+
/** A share contains inert text only; it never grants access to the original conversation. */
|
|
7
|
+
export type ConversationShareAudience = 'organization' | 'public';
|
|
8
|
+
export interface ConversationShareSnapshot {
|
|
9
|
+
title: string;
|
|
10
|
+
messages: {
|
|
11
|
+
role: 'human' | 'ai';
|
|
12
|
+
text: string;
|
|
13
|
+
}[];
|
|
14
|
+
}
|
|
15
|
+
export interface ConversationSharePreview {
|
|
16
|
+
snapshot: ConversationShareSnapshot;
|
|
17
|
+
digest: string;
|
|
18
|
+
publicSharingEnabled: boolean;
|
|
19
|
+
managementUrl?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ConversationShareCreate {
|
|
22
|
+
threadId: string;
|
|
23
|
+
digest: string;
|
|
24
|
+
audience: ConversationShareAudience;
|
|
25
|
+
expiresInDays: 1 | 7 | 30;
|
|
26
|
+
acknowledgePublic?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface ConversationShareInfo {
|
|
29
|
+
id: string;
|
|
30
|
+
audience: ConversationShareAudience;
|
|
31
|
+
createdAt: string;
|
|
32
|
+
expiresAt: string;
|
|
33
|
+
/** Owner-only URL. Absent when the share is unavailable. */
|
|
34
|
+
url?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface ConversationShareCreated extends ConversationShareInfo {
|
|
37
|
+
url: string;
|
|
38
|
+
}
|
|
39
|
+
export interface SharedConversation extends ConversationShareSnapshot {
|
|
40
|
+
sharedAt: string;
|
|
41
|
+
expiresAt: string;
|
|
42
|
+
audience: ConversationShareAudience;
|
|
43
|
+
}
|
|
44
|
+
export interface ManagedConversationShare extends ConversationShareInfo {
|
|
45
|
+
title: string;
|
|
46
|
+
type: 'conversation';
|
|
47
|
+
status: 'active' | 'expired' | 'unavailable';
|
|
48
|
+
}
|
|
49
|
+
export interface ConversationShareListQuery {
|
|
50
|
+
limit?: number;
|
|
51
|
+
offset?: number;
|
|
52
|
+
search?: string;
|
|
53
|
+
before?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface ConversationShareList {
|
|
56
|
+
items: ManagedConversationShare[];
|
|
57
|
+
total: number;
|
|
58
|
+
totalAll: number;
|
|
59
|
+
/** Server cutoff retained across pagination and bulk revocation. */
|
|
60
|
+
asOf: string;
|
|
61
|
+
}
|
|
62
|
+
export interface ConversationShareRevokeAll {
|
|
63
|
+
confirmation: 'revoke-all';
|
|
64
|
+
before: string;
|
|
65
|
+
}
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
import { z } from 'zod/v3';
|
|
2
|
+
/** Host-assigned attempt identity. A new host boot or execution never inherits an old target. */
|
|
3
|
+
export declare const executionRuntimeTargetSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
4
|
+
version: z.ZodLiteral<1>;
|
|
5
|
+
kind: z.ZodLiteral<"host">;
|
|
6
|
+
generation: z.ZodString;
|
|
7
|
+
hostId: z.ZodString;
|
|
8
|
+
}, "strict", z.ZodTypeAny, {
|
|
9
|
+
kind: "host";
|
|
10
|
+
version: 1;
|
|
11
|
+
generation: string;
|
|
12
|
+
hostId: string;
|
|
13
|
+
}, {
|
|
14
|
+
kind: "host";
|
|
15
|
+
version: 1;
|
|
16
|
+
generation: string;
|
|
17
|
+
hostId: string;
|
|
18
|
+
}>, z.ZodObject<{
|
|
19
|
+
version: z.ZodLiteral<1>;
|
|
20
|
+
kind: z.ZodLiteral<"provider">;
|
|
21
|
+
generation: z.ZodString;
|
|
22
|
+
}, "strict", z.ZodTypeAny, {
|
|
23
|
+
kind: "provider";
|
|
24
|
+
version: 1;
|
|
25
|
+
generation: string;
|
|
26
|
+
}, {
|
|
27
|
+
kind: "provider";
|
|
28
|
+
version: 1;
|
|
29
|
+
generation: string;
|
|
30
|
+
}>]>;
|
|
31
|
+
export type ExecutionRuntimeTarget = z.output<typeof executionRuntimeTargetSchema>;
|
|
32
|
+
export declare function executionRuntimeTargetsEqual(left: ExecutionRuntimeTarget | undefined, right: ExecutionRuntimeTarget | undefined): boolean;
|
|
33
|
+
/** Control acknowledgements never constitute completion evidence. Missing evidence stays unknown. */
|
|
34
|
+
export declare const executionControlEvidenceSchema: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
35
|
+
source: z.ZodLiteral<"unavailable">;
|
|
36
|
+
subject: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
37
|
+
kind: z.ZodLiteral<"execution">;
|
|
38
|
+
id: z.ZodString;
|
|
39
|
+
}, "strict", z.ZodTypeAny, {
|
|
40
|
+
kind: "execution";
|
|
41
|
+
id: string;
|
|
42
|
+
}, {
|
|
43
|
+
kind: "execution";
|
|
44
|
+
id: string;
|
|
45
|
+
}>, z.ZodObject<{
|
|
46
|
+
kind: z.ZodLiteral<"invocation">;
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
}, "strict", z.ZodTypeAny, {
|
|
49
|
+
kind: "invocation";
|
|
50
|
+
id: string;
|
|
51
|
+
}, {
|
|
52
|
+
kind: "invocation";
|
|
53
|
+
id: string;
|
|
54
|
+
}>]>;
|
|
55
|
+
state: z.ZodLiteral<"unknown">;
|
|
56
|
+
reason: z.ZodEnum<["unregistered", "unconfirmed", "unsupported"]>;
|
|
57
|
+
version: z.ZodLiteral<1>;
|
|
58
|
+
observedAt: z.ZodString;
|
|
59
|
+
}, "strict", z.ZodTypeAny, {
|
|
60
|
+
subject: {
|
|
61
|
+
kind: "execution";
|
|
62
|
+
id: string;
|
|
63
|
+
} | {
|
|
64
|
+
kind: "invocation";
|
|
65
|
+
id: string;
|
|
66
|
+
};
|
|
67
|
+
source: "unavailable";
|
|
68
|
+
version: 1;
|
|
69
|
+
state: "unknown";
|
|
70
|
+
reason: "unregistered" | "unconfirmed" | "unsupported";
|
|
71
|
+
observedAt: string;
|
|
72
|
+
}, {
|
|
73
|
+
subject: {
|
|
74
|
+
kind: "execution";
|
|
75
|
+
id: string;
|
|
76
|
+
} | {
|
|
77
|
+
kind: "invocation";
|
|
78
|
+
id: string;
|
|
79
|
+
};
|
|
80
|
+
source: "unavailable";
|
|
81
|
+
version: 1;
|
|
82
|
+
state: "unknown";
|
|
83
|
+
reason: "unregistered" | "unconfirmed" | "unsupported";
|
|
84
|
+
observedAt: string;
|
|
85
|
+
}>, z.ZodObject<{
|
|
86
|
+
source: z.ZodLiteral<"platform">;
|
|
87
|
+
subject: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
88
|
+
kind: z.ZodLiteral<"execution">;
|
|
89
|
+
id: z.ZodString;
|
|
90
|
+
}, "strict", z.ZodTypeAny, {
|
|
91
|
+
kind: "execution";
|
|
92
|
+
id: string;
|
|
93
|
+
}, {
|
|
94
|
+
kind: "execution";
|
|
95
|
+
id: string;
|
|
96
|
+
}>, z.ZodObject<{
|
|
97
|
+
kind: z.ZodLiteral<"invocation">;
|
|
98
|
+
id: z.ZodString;
|
|
99
|
+
}, "strict", z.ZodTypeAny, {
|
|
100
|
+
kind: "invocation";
|
|
101
|
+
id: string;
|
|
102
|
+
}, {
|
|
103
|
+
kind: "invocation";
|
|
104
|
+
id: string;
|
|
105
|
+
}>]>;
|
|
106
|
+
scope: z.ZodLiteral<"owned_subtree">;
|
|
107
|
+
state: z.ZodEnum<["running", "pausing", "paused", "terminating", "settled"]>;
|
|
108
|
+
desired: z.ZodEnum<["running", "paused", "terminated"]>;
|
|
109
|
+
taskId: z.ZodString;
|
|
110
|
+
rootId: z.ZodString;
|
|
111
|
+
revision: z.ZodNumber;
|
|
112
|
+
executionId: z.ZodString;
|
|
113
|
+
threadId: z.ZodString;
|
|
114
|
+
version: z.ZodLiteral<1>;
|
|
115
|
+
observedAt: z.ZodString;
|
|
116
|
+
}, "strict", z.ZodTypeAny, {
|
|
117
|
+
subject: {
|
|
118
|
+
kind: "execution";
|
|
119
|
+
id: string;
|
|
120
|
+
} | {
|
|
121
|
+
kind: "invocation";
|
|
122
|
+
id: string;
|
|
123
|
+
};
|
|
124
|
+
source: "platform";
|
|
125
|
+
version: 1;
|
|
126
|
+
scope: "owned_subtree";
|
|
127
|
+
revision: number;
|
|
128
|
+
state: "running" | "paused" | "pausing" | "terminating" | "settled";
|
|
129
|
+
threadId: string;
|
|
130
|
+
observedAt: string;
|
|
131
|
+
desired: "running" | "paused" | "terminated";
|
|
132
|
+
taskId: string;
|
|
133
|
+
rootId: string;
|
|
134
|
+
executionId: string;
|
|
135
|
+
}, {
|
|
136
|
+
subject: {
|
|
137
|
+
kind: "execution";
|
|
138
|
+
id: string;
|
|
139
|
+
} | {
|
|
140
|
+
kind: "invocation";
|
|
141
|
+
id: string;
|
|
142
|
+
};
|
|
143
|
+
source: "platform";
|
|
144
|
+
version: 1;
|
|
145
|
+
scope: "owned_subtree";
|
|
146
|
+
revision: number;
|
|
147
|
+
state: "running" | "paused" | "pausing" | "terminating" | "settled";
|
|
148
|
+
threadId: string;
|
|
149
|
+
observedAt: string;
|
|
150
|
+
desired: "running" | "paused" | "terminated";
|
|
151
|
+
taskId: string;
|
|
152
|
+
rootId: string;
|
|
153
|
+
executionId: string;
|
|
154
|
+
}>, z.ZodObject<{
|
|
155
|
+
source: z.ZodLiteral<"provider">;
|
|
156
|
+
subject: z.ZodObject<{
|
|
157
|
+
kind: z.ZodLiteral<"invocation">;
|
|
158
|
+
id: z.ZodString;
|
|
159
|
+
}, "strict", z.ZodTypeAny, {
|
|
160
|
+
kind: "invocation";
|
|
161
|
+
id: string;
|
|
162
|
+
}, {
|
|
163
|
+
kind: "invocation";
|
|
164
|
+
id: string;
|
|
165
|
+
}>;
|
|
166
|
+
scope: z.ZodLiteral<"operation">;
|
|
167
|
+
state: z.ZodLiteral<"settled">;
|
|
168
|
+
outcome: z.ZodEnum<["succeeded", "failed", "cancelled"]>;
|
|
169
|
+
sessionId: z.ZodString;
|
|
170
|
+
runId: z.ZodString;
|
|
171
|
+
receiptKey: z.ZodString;
|
|
172
|
+
target: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
173
|
+
version: z.ZodLiteral<1>;
|
|
174
|
+
kind: z.ZodLiteral<"host">;
|
|
175
|
+
generation: z.ZodString;
|
|
176
|
+
hostId: z.ZodString;
|
|
177
|
+
}, "strict", z.ZodTypeAny, {
|
|
178
|
+
kind: "host";
|
|
179
|
+
version: 1;
|
|
180
|
+
generation: string;
|
|
181
|
+
hostId: string;
|
|
182
|
+
}, {
|
|
183
|
+
kind: "host";
|
|
184
|
+
version: 1;
|
|
185
|
+
generation: string;
|
|
186
|
+
hostId: string;
|
|
187
|
+
}>, z.ZodObject<{
|
|
188
|
+
version: z.ZodLiteral<1>;
|
|
189
|
+
kind: z.ZodLiteral<"provider">;
|
|
190
|
+
generation: z.ZodString;
|
|
191
|
+
}, "strict", z.ZodTypeAny, {
|
|
192
|
+
kind: "provider";
|
|
193
|
+
version: 1;
|
|
194
|
+
generation: string;
|
|
195
|
+
}, {
|
|
196
|
+
kind: "provider";
|
|
197
|
+
version: 1;
|
|
198
|
+
generation: string;
|
|
199
|
+
}>]>>;
|
|
200
|
+
version: z.ZodLiteral<1>;
|
|
201
|
+
observedAt: z.ZodString;
|
|
202
|
+
}, "strict", z.ZodTypeAny, {
|
|
203
|
+
subject: {
|
|
204
|
+
kind: "invocation";
|
|
205
|
+
id: string;
|
|
206
|
+
};
|
|
207
|
+
outcome: "succeeded" | "failed" | "cancelled";
|
|
208
|
+
source: "provider";
|
|
209
|
+
version: 1;
|
|
210
|
+
scope: "operation";
|
|
211
|
+
state: "settled";
|
|
212
|
+
runId: string;
|
|
213
|
+
observedAt: string;
|
|
214
|
+
sessionId: string;
|
|
215
|
+
receiptKey: string;
|
|
216
|
+
target?: {
|
|
217
|
+
kind: "host";
|
|
218
|
+
version: 1;
|
|
219
|
+
generation: string;
|
|
220
|
+
hostId: string;
|
|
221
|
+
} | {
|
|
222
|
+
kind: "provider";
|
|
223
|
+
version: 1;
|
|
224
|
+
generation: string;
|
|
225
|
+
} | undefined;
|
|
226
|
+
}, {
|
|
227
|
+
subject: {
|
|
228
|
+
kind: "invocation";
|
|
229
|
+
id: string;
|
|
230
|
+
};
|
|
231
|
+
outcome: "succeeded" | "failed" | "cancelled";
|
|
232
|
+
source: "provider";
|
|
233
|
+
version: 1;
|
|
234
|
+
scope: "operation";
|
|
235
|
+
state: "settled";
|
|
236
|
+
runId: string;
|
|
237
|
+
observedAt: string;
|
|
238
|
+
sessionId: string;
|
|
239
|
+
receiptKey: string;
|
|
240
|
+
target?: {
|
|
241
|
+
kind: "host";
|
|
242
|
+
version: 1;
|
|
243
|
+
generation: string;
|
|
244
|
+
hostId: string;
|
|
245
|
+
} | {
|
|
246
|
+
kind: "provider";
|
|
247
|
+
version: 1;
|
|
248
|
+
generation: string;
|
|
249
|
+
} | undefined;
|
|
250
|
+
}>, z.ZodObject<{
|
|
251
|
+
source: z.ZodLiteral<"host_admission">;
|
|
252
|
+
subject: z.ZodObject<{
|
|
253
|
+
kind: z.ZodLiteral<"invocation">;
|
|
254
|
+
id: z.ZodString;
|
|
255
|
+
}, "strict", z.ZodTypeAny, {
|
|
256
|
+
kind: "invocation";
|
|
257
|
+
id: string;
|
|
258
|
+
}, {
|
|
259
|
+
kind: "invocation";
|
|
260
|
+
id: string;
|
|
261
|
+
}>;
|
|
262
|
+
scope: z.ZodLiteral<"operation">;
|
|
263
|
+
state: z.ZodLiteral<"settled">;
|
|
264
|
+
outcome: z.ZodEnum<["failed", "cancelled"]>;
|
|
265
|
+
reason: z.ZodLiteral<"not_started">;
|
|
266
|
+
version: z.ZodLiteral<1>;
|
|
267
|
+
observedAt: z.ZodString;
|
|
268
|
+
}, "strict", z.ZodTypeAny, {
|
|
269
|
+
subject: {
|
|
270
|
+
kind: "invocation";
|
|
271
|
+
id: string;
|
|
272
|
+
};
|
|
273
|
+
outcome: "failed" | "cancelled";
|
|
274
|
+
source: "host_admission";
|
|
275
|
+
version: 1;
|
|
276
|
+
scope: "operation";
|
|
277
|
+
state: "settled";
|
|
278
|
+
reason: "not_started";
|
|
279
|
+
observedAt: string;
|
|
280
|
+
}, {
|
|
281
|
+
subject: {
|
|
282
|
+
kind: "invocation";
|
|
283
|
+
id: string;
|
|
284
|
+
};
|
|
285
|
+
outcome: "failed" | "cancelled";
|
|
286
|
+
source: "host_admission";
|
|
287
|
+
version: 1;
|
|
288
|
+
scope: "operation";
|
|
289
|
+
state: "settled";
|
|
290
|
+
reason: "not_started";
|
|
291
|
+
observedAt: string;
|
|
292
|
+
}>]>;
|
|
293
|
+
export type ExecutionControlEvidence = z.output<typeof executionControlEvidenceSchema>;
|
|
294
|
+
export declare function unknownExecutionControl(subject: ExecutionControlEvidence['subject'], reason?: 'unregistered' | 'unconfirmed' | 'unsupported'): ExecutionControlEvidence;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IBasePerTenantAndOrganizationEntityModel } from '../base-entity.model';
|
|
2
|
+
/** Lifecycle ownership is assigned by trusted creation code, never inferred from async/background mode. */
|
|
3
|
+
export type TExecutionOwnership = {
|
|
4
|
+
policy: 'attached' | 'detached' | 'shared';
|
|
5
|
+
parentExecutionId?: string;
|
|
6
|
+
rootExecutionId: string;
|
|
7
|
+
};
|
|
8
|
+
export type TExecutionControlIntent = 'running' | 'paused' | 'terminated';
|
|
9
|
+
/** Local tool receipts describe actual calls, not aborted LangChain wrappers. */
|
|
10
|
+
export type TExecutionWorkReceipt = {
|
|
11
|
+
id: string;
|
|
12
|
+
executionId: string;
|
|
13
|
+
settled: boolean;
|
|
14
|
+
};
|
|
15
|
+
/** Internal control facts; public clients receive a separate control view. */
|
|
16
|
+
export interface IExecutionControl extends IBasePerTenantAndOrganizationEntityModel {
|
|
17
|
+
executionId: string;
|
|
18
|
+
threadId: string;
|
|
19
|
+
rootExecutionId: string;
|
|
20
|
+
ownership: TExecutionOwnership;
|
|
21
|
+
ancestors: string[];
|
|
22
|
+
desired: TExecutionControlIntent;
|
|
23
|
+
revision: number;
|
|
24
|
+
graphEnded: boolean;
|
|
25
|
+
work: TExecutionWorkReceipt[];
|
|
26
|
+
}
|