@xpert-ai/contracts 3.38.1 → 3.39.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 +150 -22
- package/index.esm.js +134 -23
- package/package.json +2 -2
- package/src/ai/assistant-capability.model.d.ts +21 -0
- package/src/ai/chat.model.d.ts +2 -0
- package/src/ai/conversation-trail.model.d.ts +12 -12
- package/src/ai/execution-activity.model.d.ts +10 -10
- package/src/ai/index.d.ts +1 -1
- package/src/ai/project-pipeline/analytics.d.ts +4 -4
- package/src/ai/project-pipeline/commands.schema.d.ts +17 -11
- package/src/ai/project-pipeline/configuration-declaration.schema.d.ts +6 -6
- package/src/ai/project-pipeline/configuration-form.d.ts +47 -47
- package/src/ai/project-pipeline/configuration.schema.d.ts +8 -8
- package/src/ai/project-pipeline/contribution.schema.d.ts +18 -18
- package/src/ai/project-pipeline/index.d.ts +1 -0
- package/src/ai/project-pipeline/model-usage-statistics.d.ts +2 -2
- package/src/ai/project-pipeline/operation-actions.schema.d.ts +112 -0
- package/src/ai/project-pipeline/operation.schema.d.ts +3 -0
- package/src/ai/project-pipeline/portfolio.schema.d.ts +8 -8
- package/src/ai/project-pipeline/provider-actions.schema.d.ts +74 -74
- package/src/ai/project-pipeline/runtime.schema.d.ts +28 -28
- package/src/ai/project-task-graph.model.d.ts +2 -0
- package/src/ai/project-task-runtime.model.d.ts +39 -35
- package/src/ai/xpert-tool.model.d.ts +3 -3
- package/src/ai/xpert-toolset.model.d.ts +2 -0
- package/src/always-on/agent-output.model.d.ts +8 -7
- package/src/always-on/output-workbench.schema.d.ts +13 -10
- package/src/artifacts/artifact-presentation.model.d.ts +5 -1
- package/src/user-notification.schema.d.ts +689 -97
- package/src/view-extension/index.d.ts +2 -0
- package/src/view-extension/project-workbench.d.ts +5 -0
- package/src/view-extension/workbench-entry.schema.d.ts +218 -0
- package/src/view-extension/workbench.d.ts +2 -0
|
@@ -185,6 +185,10 @@ export declare const projectTaskReviewerSchema: z.ZodObject<{
|
|
|
185
185
|
bindingId: string;
|
|
186
186
|
}>;
|
|
187
187
|
export type ProjectTaskReviewer = z.output<typeof projectTaskReviewerSchema>;
|
|
188
|
+
/** Host-verified review modes advertised after runtime authorization; never an access grant. */
|
|
189
|
+
export interface ProjectTaskRuntimeCapabilities {
|
|
190
|
+
reviewModes: ProjectTaskReviewer['mode'][];
|
|
191
|
+
}
|
|
188
192
|
/** Host-owned identity of a review work item; retries cannot change its candidate. */
|
|
189
193
|
export declare const projectTaskReviewSubjectSchema: z.ZodObject<{
|
|
190
194
|
implementationTaskId: z.ZodString;
|
|
@@ -1258,6 +1262,10 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1258
1262
|
requestId: string;
|
|
1259
1263
|
expectedRevision: number;
|
|
1260
1264
|
instructions: string;
|
|
1265
|
+
target?: {
|
|
1266
|
+
type: "group_member";
|
|
1267
|
+
participantId: string;
|
|
1268
|
+
} | undefined;
|
|
1261
1269
|
purpose?: {
|
|
1262
1270
|
type: "implementation";
|
|
1263
1271
|
reviewer?: {
|
|
@@ -1295,10 +1303,6 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1295
1303
|
candidatePaths?: string[] | undefined;
|
|
1296
1304
|
} | undefined;
|
|
1297
1305
|
bindingId?: string | undefined;
|
|
1298
|
-
target?: {
|
|
1299
|
-
type: "group_member";
|
|
1300
|
-
participantId: string;
|
|
1301
|
-
} | undefined;
|
|
1302
1306
|
reviewAsSubtask?: boolean | undefined;
|
|
1303
1307
|
delivery?: {
|
|
1304
1308
|
mode: "none";
|
|
@@ -1316,6 +1320,10 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1316
1320
|
taskId: string;
|
|
1317
1321
|
requestId: string;
|
|
1318
1322
|
expectedRevision: number;
|
|
1323
|
+
target?: {
|
|
1324
|
+
type: "group_member";
|
|
1325
|
+
participantId: string;
|
|
1326
|
+
} | undefined;
|
|
1319
1327
|
purpose?: {
|
|
1320
1328
|
type: "implementation";
|
|
1321
1329
|
reviewer?: {
|
|
@@ -1353,10 +1361,6 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1353
1361
|
candidatePaths?: string[] | undefined;
|
|
1354
1362
|
} | undefined;
|
|
1355
1363
|
bindingId?: string | undefined;
|
|
1356
|
-
target?: {
|
|
1357
|
-
type: "group_member";
|
|
1358
|
-
participantId: string;
|
|
1359
|
-
} | undefined;
|
|
1360
1364
|
reviewAsSubtask?: boolean | undefined;
|
|
1361
1365
|
delivery?: {
|
|
1362
1366
|
mode: "none";
|
|
@@ -1376,6 +1380,10 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1376
1380
|
requestId: string;
|
|
1377
1381
|
expectedRevision: number;
|
|
1378
1382
|
instructions: string;
|
|
1383
|
+
target?: {
|
|
1384
|
+
type: "group_member";
|
|
1385
|
+
participantId: string;
|
|
1386
|
+
} | undefined;
|
|
1379
1387
|
purpose?: {
|
|
1380
1388
|
type: "implementation";
|
|
1381
1389
|
reviewer?: {
|
|
@@ -1413,10 +1421,6 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1413
1421
|
candidatePaths?: string[] | undefined;
|
|
1414
1422
|
} | undefined;
|
|
1415
1423
|
bindingId?: string | undefined;
|
|
1416
|
-
target?: {
|
|
1417
|
-
type: "group_member";
|
|
1418
|
-
participantId: string;
|
|
1419
|
-
} | undefined;
|
|
1420
1424
|
reviewAsSubtask?: boolean | undefined;
|
|
1421
1425
|
delivery?: {
|
|
1422
1426
|
mode: "none";
|
|
@@ -1434,6 +1438,10 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1434
1438
|
taskId: string;
|
|
1435
1439
|
requestId: string;
|
|
1436
1440
|
expectedRevision: number;
|
|
1441
|
+
target?: {
|
|
1442
|
+
type: "group_member";
|
|
1443
|
+
participantId: string;
|
|
1444
|
+
} | undefined;
|
|
1437
1445
|
purpose?: {
|
|
1438
1446
|
type: "implementation";
|
|
1439
1447
|
reviewer?: {
|
|
@@ -1471,10 +1479,6 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1471
1479
|
candidatePaths?: string[] | undefined;
|
|
1472
1480
|
} | undefined;
|
|
1473
1481
|
bindingId?: string | undefined;
|
|
1474
|
-
target?: {
|
|
1475
|
-
type: "group_member";
|
|
1476
|
-
participantId: string;
|
|
1477
|
-
} | undefined;
|
|
1478
1482
|
reviewAsSubtask?: boolean | undefined;
|
|
1479
1483
|
delivery?: {
|
|
1480
1484
|
mode: "none";
|
|
@@ -1491,9 +1495,6 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1491
1495
|
instructions?: string | undefined;
|
|
1492
1496
|
}>;
|
|
1493
1497
|
export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObject<{
|
|
1494
|
-
taskId: z.ZodString;
|
|
1495
|
-
expectedRevision: z.ZodNumber;
|
|
1496
|
-
bindingId: z.ZodOptional<z.ZodString>;
|
|
1497
1498
|
target: z.ZodOptional<z.ZodObject<{
|
|
1498
1499
|
type: z.ZodLiteral<"group_member">;
|
|
1499
1500
|
participantId: z.ZodString;
|
|
@@ -1504,6 +1505,9 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
1504
1505
|
type: "group_member";
|
|
1505
1506
|
participantId: string;
|
|
1506
1507
|
}>>;
|
|
1508
|
+
taskId: z.ZodString;
|
|
1509
|
+
expectedRevision: z.ZodNumber;
|
|
1510
|
+
bindingId: z.ZodOptional<z.ZodString>;
|
|
1507
1511
|
reviewAsSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
1508
1512
|
delivery: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
1509
1513
|
mode: z.ZodLiteral<"none">;
|
|
@@ -1743,6 +1747,10 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
1743
1747
|
taskId: string;
|
|
1744
1748
|
expectedRevision: number;
|
|
1745
1749
|
instructions: string;
|
|
1750
|
+
target?: {
|
|
1751
|
+
type: "group_member";
|
|
1752
|
+
participantId: string;
|
|
1753
|
+
} | undefined;
|
|
1746
1754
|
purpose?: {
|
|
1747
1755
|
type: "implementation";
|
|
1748
1756
|
reviewer?: {
|
|
@@ -1775,10 +1783,6 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
1775
1783
|
candidatePaths?: string[] | undefined;
|
|
1776
1784
|
} | undefined;
|
|
1777
1785
|
bindingId?: string | undefined;
|
|
1778
|
-
target?: {
|
|
1779
|
-
type: "group_member";
|
|
1780
|
-
participantId: string;
|
|
1781
|
-
} | undefined;
|
|
1782
1786
|
reviewAsSubtask?: boolean | undefined;
|
|
1783
1787
|
delivery?: {
|
|
1784
1788
|
mode: "none";
|
|
@@ -1795,6 +1799,10 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
1795
1799
|
}, {
|
|
1796
1800
|
taskId: string;
|
|
1797
1801
|
expectedRevision: number;
|
|
1802
|
+
target?: {
|
|
1803
|
+
type: "group_member";
|
|
1804
|
+
participantId: string;
|
|
1805
|
+
} | undefined;
|
|
1798
1806
|
purpose?: {
|
|
1799
1807
|
type: "implementation";
|
|
1800
1808
|
reviewer?: {
|
|
@@ -1827,10 +1835,6 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
1827
1835
|
candidatePaths?: string[] | undefined;
|
|
1828
1836
|
} | undefined;
|
|
1829
1837
|
bindingId?: string | undefined;
|
|
1830
|
-
target?: {
|
|
1831
|
-
type: "group_member";
|
|
1832
|
-
participantId: string;
|
|
1833
|
-
} | undefined;
|
|
1834
1838
|
reviewAsSubtask?: boolean | undefined;
|
|
1835
1839
|
delivery?: {
|
|
1836
1840
|
mode: "none";
|
|
@@ -1849,6 +1853,10 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
1849
1853
|
taskId: string;
|
|
1850
1854
|
expectedRevision: number;
|
|
1851
1855
|
instructions: string;
|
|
1856
|
+
target?: {
|
|
1857
|
+
type: "group_member";
|
|
1858
|
+
participantId: string;
|
|
1859
|
+
} | undefined;
|
|
1852
1860
|
purpose?: {
|
|
1853
1861
|
type: "implementation";
|
|
1854
1862
|
reviewer?: {
|
|
@@ -1881,10 +1889,6 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
1881
1889
|
candidatePaths?: string[] | undefined;
|
|
1882
1890
|
} | undefined;
|
|
1883
1891
|
bindingId?: string | undefined;
|
|
1884
|
-
target?: {
|
|
1885
|
-
type: "group_member";
|
|
1886
|
-
participantId: string;
|
|
1887
|
-
} | undefined;
|
|
1888
1892
|
reviewAsSubtask?: boolean | undefined;
|
|
1889
1893
|
delivery?: {
|
|
1890
1894
|
mode: "none";
|
|
@@ -1901,6 +1905,10 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
1901
1905
|
}, {
|
|
1902
1906
|
taskId: string;
|
|
1903
1907
|
expectedRevision: number;
|
|
1908
|
+
target?: {
|
|
1909
|
+
type: "group_member";
|
|
1910
|
+
participantId: string;
|
|
1911
|
+
} | undefined;
|
|
1904
1912
|
purpose?: {
|
|
1905
1913
|
type: "implementation";
|
|
1906
1914
|
reviewer?: {
|
|
@@ -1933,10 +1941,6 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
1933
1941
|
candidatePaths?: string[] | undefined;
|
|
1934
1942
|
} | undefined;
|
|
1935
1943
|
bindingId?: string | undefined;
|
|
1936
|
-
target?: {
|
|
1937
|
-
type: "group_member";
|
|
1938
|
-
participantId: string;
|
|
1939
|
-
} | undefined;
|
|
1940
1944
|
reviewAsSubtask?: boolean | undefined;
|
|
1941
1945
|
delivery?: {
|
|
1942
1946
|
mode: "none";
|
|
@@ -6,9 +6,9 @@ import { DefaultModelRole, LegacyProviderRole } from './default-model-role';
|
|
|
6
6
|
import { TAvatar } from '../types';
|
|
7
7
|
import { IXpertToolset } from './xpert-toolset.model';
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* Optional allowlist for tool details visible to conversation participants.
|
|
10
|
+
* Without a declaration, ordinary tool inputs, results and errors are visible.
|
|
11
|
+
* A declaration exposes only the phases and values it explicitly projects.
|
|
12
12
|
*/
|
|
13
13
|
export interface PublicToolPresentation {
|
|
14
14
|
tool: string;
|
|
@@ -60,6 +60,8 @@ export type TXpertToolset = {
|
|
|
60
60
|
export interface IXpertToolset extends IBasePerWorkspaceEntityModel, TXpertToolset {
|
|
61
61
|
}
|
|
62
62
|
export type TXpertToolsetOptions = {
|
|
63
|
+
/** Explicit workspace connection identity consumed by Assistant capabilities. */
|
|
64
|
+
capabilityBindingKey?: string;
|
|
63
65
|
provider?: IToolProvider;
|
|
64
66
|
baseUrl?: string;
|
|
65
67
|
toolPositions?: Record<string, number>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type OutputWorkbench, type OutputWorkbenchTarget } from './output-workbench.schema';
|
|
2
|
+
export { outputWorkbenchEntry } from './output-workbench.schema';
|
|
2
3
|
export type { OutputWorkbench, OutputWorkbenchTarget } from './output-workbench.schema';
|
|
3
4
|
import { agentOutputReferenceSchema } from './agent-output-reference.schema';
|
|
4
5
|
import { type HumanDecision } from './human-decision.model';
|
|
@@ -245,6 +246,8 @@ export declare const agentOutputPresentationSchema: z.ZodDiscriminatedUnion<"sta
|
|
|
245
246
|
viewKey: z.ZodString;
|
|
246
247
|
selectionId: z.ZodString;
|
|
247
248
|
}, "strict", z.ZodTypeAny, {
|
|
249
|
+
viewKey: string;
|
|
250
|
+
selectionId: string;
|
|
248
251
|
state: "handled" | "pending";
|
|
249
252
|
title: {
|
|
250
253
|
en_US: string;
|
|
@@ -254,9 +257,9 @@ export declare const agentOutputPresentationSchema: z.ZodDiscriminatedUnion<"sta
|
|
|
254
257
|
en_US: string;
|
|
255
258
|
zh_Hans: string;
|
|
256
259
|
};
|
|
260
|
+
}, {
|
|
257
261
|
viewKey: string;
|
|
258
262
|
selectionId: string;
|
|
259
|
-
}, {
|
|
260
263
|
state: "handled" | "pending";
|
|
261
264
|
title: {
|
|
262
265
|
en_US: string;
|
|
@@ -266,8 +269,6 @@ export declare const agentOutputPresentationSchema: z.ZodDiscriminatedUnion<"sta
|
|
|
266
269
|
en_US: string;
|
|
267
270
|
zh_Hans: string;
|
|
268
271
|
};
|
|
269
|
-
viewKey: string;
|
|
270
|
-
selectionId: string;
|
|
271
272
|
}>>;
|
|
272
273
|
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
273
274
|
label: z.ZodObject<{
|
|
@@ -315,6 +316,8 @@ export declare const agentOutputPresentationSchema: z.ZodDiscriminatedUnion<"sta
|
|
|
315
316
|
};
|
|
316
317
|
}[] | undefined;
|
|
317
318
|
workbench?: {
|
|
319
|
+
viewKey: string;
|
|
320
|
+
selectionId: string;
|
|
318
321
|
state: "handled" | "pending";
|
|
319
322
|
title: {
|
|
320
323
|
en_US: string;
|
|
@@ -324,8 +327,6 @@ export declare const agentOutputPresentationSchema: z.ZodDiscriminatedUnion<"sta
|
|
|
324
327
|
en_US: string;
|
|
325
328
|
zh_Hans: string;
|
|
326
329
|
};
|
|
327
|
-
viewKey: string;
|
|
328
|
-
selectionId: string;
|
|
329
330
|
} | undefined;
|
|
330
331
|
decision?: {
|
|
331
332
|
type: "human_decision";
|
|
@@ -355,6 +356,8 @@ export declare const agentOutputPresentationSchema: z.ZodDiscriminatedUnion<"sta
|
|
|
355
356
|
};
|
|
356
357
|
}[] | undefined;
|
|
357
358
|
workbench?: {
|
|
359
|
+
viewKey: string;
|
|
360
|
+
selectionId: string;
|
|
358
361
|
state: "handled" | "pending";
|
|
359
362
|
title: {
|
|
360
363
|
en_US: string;
|
|
@@ -364,8 +367,6 @@ export declare const agentOutputPresentationSchema: z.ZodDiscriminatedUnion<"sta
|
|
|
364
367
|
en_US: string;
|
|
365
368
|
zh_Hans: string;
|
|
366
369
|
};
|
|
367
|
-
viewKey: string;
|
|
368
|
-
selectionId: string;
|
|
369
370
|
} | undefined;
|
|
370
371
|
decision?: {
|
|
371
372
|
type: "human_decision";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod/v3';
|
|
2
|
+
import type { AssistantWorkbenchTarget } from '../view-extension/workbench-entry.schema';
|
|
2
3
|
export declare const outputFieldSchema: z.ZodObject<{
|
|
3
4
|
label: z.ZodObject<{
|
|
4
5
|
en_US: z.ZodString;
|
|
@@ -50,6 +51,8 @@ export declare const outputWorkbenchSchema: z.ZodObject<{
|
|
|
50
51
|
viewKey: z.ZodString;
|
|
51
52
|
selectionId: z.ZodString;
|
|
52
53
|
}, "strict", z.ZodTypeAny, {
|
|
54
|
+
viewKey: string;
|
|
55
|
+
selectionId: string;
|
|
53
56
|
state: "handled" | "pending";
|
|
54
57
|
title: {
|
|
55
58
|
en_US: string;
|
|
@@ -59,9 +62,9 @@ export declare const outputWorkbenchSchema: z.ZodObject<{
|
|
|
59
62
|
en_US: string;
|
|
60
63
|
zh_Hans: string;
|
|
61
64
|
};
|
|
65
|
+
}, {
|
|
62
66
|
viewKey: string;
|
|
63
67
|
selectionId: string;
|
|
64
|
-
}, {
|
|
65
68
|
state: "handled" | "pending";
|
|
66
69
|
title: {
|
|
67
70
|
en_US: string;
|
|
@@ -71,8 +74,6 @@ export declare const outputWorkbenchSchema: z.ZodObject<{
|
|
|
71
74
|
en_US: string;
|
|
72
75
|
zh_Hans: string;
|
|
73
76
|
};
|
|
74
|
-
viewKey: string;
|
|
75
|
-
selectionId: string;
|
|
76
77
|
}>;
|
|
77
78
|
type Label = {
|
|
78
79
|
en_US: string;
|
|
@@ -121,6 +122,11 @@ export declare const outputWorkbenchTargetSchema: z.ZodObject<{
|
|
|
121
122
|
organizationId: z.ZodString;
|
|
122
123
|
projectId: z.ZodNullable<z.ZodString>;
|
|
123
124
|
}, "strict", z.ZodTypeAny, {
|
|
125
|
+
viewKey: string;
|
|
126
|
+
selectionId: string;
|
|
127
|
+
projectId: string | null;
|
|
128
|
+
assistantId: string;
|
|
129
|
+
organizationId: string;
|
|
124
130
|
state: "handled" | "pending";
|
|
125
131
|
title: {
|
|
126
132
|
en_US: string;
|
|
@@ -130,12 +136,12 @@ export declare const outputWorkbenchTargetSchema: z.ZodObject<{
|
|
|
130
136
|
en_US: string;
|
|
131
137
|
zh_Hans: string;
|
|
132
138
|
};
|
|
139
|
+
}, {
|
|
133
140
|
viewKey: string;
|
|
134
141
|
selectionId: string;
|
|
142
|
+
projectId: string | null;
|
|
135
143
|
assistantId: string;
|
|
136
144
|
organizationId: string;
|
|
137
|
-
projectId: string | null;
|
|
138
|
-
}, {
|
|
139
145
|
state: "handled" | "pending";
|
|
140
146
|
title: {
|
|
141
147
|
en_US: string;
|
|
@@ -145,10 +151,7 @@ export declare const outputWorkbenchTargetSchema: z.ZodObject<{
|
|
|
145
151
|
en_US: string;
|
|
146
152
|
zh_Hans: string;
|
|
147
153
|
};
|
|
148
|
-
viewKey: string;
|
|
149
|
-
selectionId: string;
|
|
150
|
-
assistantId: string;
|
|
151
|
-
organizationId: string;
|
|
152
|
-
projectId: string | null;
|
|
153
154
|
}>;
|
|
155
|
+
/** Preserve the source's navigation context independently of its business presentation. */
|
|
156
|
+
export declare function outputWorkbenchEntry(target: OutputWorkbenchTarget): AssistantWorkbenchTarget;
|
|
154
157
|
export {};
|
|
@@ -8,8 +8,12 @@ export interface ArtifactPresentationTarget {
|
|
|
8
8
|
artifactId: string;
|
|
9
9
|
versionId: string;
|
|
10
10
|
}
|
|
11
|
+
/** Trusted opt-in for downloads generated by a viewer. Raw artifact downloads use the link's separate policy. */
|
|
12
|
+
export interface ArtifactDownloadPolicy {
|
|
13
|
+
allowDownloads?: boolean;
|
|
14
|
+
}
|
|
11
15
|
/** Platform-owned envelope; data is parsed by the registered presentation provider. */
|
|
12
|
-
export interface ArtifactPresentation {
|
|
16
|
+
export interface ArtifactPresentation extends ArtifactDownloadPolicy {
|
|
13
17
|
schemaVersion: 1;
|
|
14
18
|
target: ArtifactPresentationTarget;
|
|
15
19
|
title: string;
|