@xpert-ai/contracts 3.34.0 → 3.36.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/context-event.cjs.default.js +1 -0
- package/context-event.cjs.js +26 -0
- package/context-event.cjs.mjs +2 -0
- package/context-event.d.ts +1 -0
- package/context-event.esm.js +24 -0
- package/index.cjs.default.js +1 -0
- package/index.cjs.js +670 -319
- package/index.cjs.mjs +2 -0
- package/index.esm.js +637 -318
- package/package.json +18 -2
- package/src/agent-event.model.d.ts +88 -0
- package/src/agent-event.schema.d.ts +120 -0
- package/src/agent-plugin.d.ts +4 -29
- package/src/ai/agent-output-delivery.model.d.ts +22 -1
- package/src/ai/agent-runtime.model.d.ts +4 -4
- package/src/ai/assistant-capability.model.d.ts +0 -1
- package/src/ai/assistant-template-manifest.model.d.ts +316 -352
- package/src/ai/assistant-template-overview.model.d.ts +0 -4
- package/src/ai/assistant-template-setup.model.d.ts +8 -8
- package/src/ai/assistant-template.model.d.ts +0 -4
- package/src/ai/bosi.model.d.ts +1 -1
- package/src/ai/chat-activity.model.d.ts +8 -0
- package/src/ai/chat-message.model.d.ts +0 -11
- package/src/ai/chat.model.d.ts +1 -0
- package/src/ai/cli-execution.model.d.ts +88 -0
- package/src/ai/conversation-trail.model.d.ts +274 -274
- package/src/ai/copilot-store.model.d.ts +0 -13
- package/src/ai/evolution/entities.d.ts +164 -0
- package/src/ai/evolution/evaluation.d.ts +7 -0
- package/src/ai/evolution/execution-review.d.ts +68 -0
- package/src/ai/evolution/index.d.ts +2 -0
- package/src/ai/evolution/provider.d.ts +1 -0
- package/src/ai/evolution/target.d.ts +5 -0
- package/src/ai/execution-activity.model.d.ts +362 -362
- package/src/ai/execution-control-evidence.schema.d.ts +22 -22
- package/src/ai/execution-observability.model.d.ts +196 -196
- package/src/ai/execution-source.model.d.ts +45 -0
- package/src/ai/index.d.ts +4 -0
- package/src/ai/mcp-execution-control.schema.d.ts +2 -2
- package/src/ai/middleware.model.d.ts +1 -0
- package/src/ai/model-execution.model.d.ts +7 -108
- package/src/ai/model-replacement.model.d.ts +18 -18
- package/src/ai/project-configuration-view.model.d.ts +78 -0
- package/src/ai/project-pipeline/analytics.d.ts +192 -192
- package/src/ai/project-pipeline/budget.schema.d.ts +38 -0
- package/src/ai/project-pipeline/commands.schema.d.ts +543 -500
- package/src/ai/project-pipeline/configuration-form.d.ts +1980 -1836
- package/src/ai/project-pipeline/configuration.schema.d.ts +450 -413
- package/src/ai/project-pipeline/contribution.schema.d.ts +688 -639
- package/src/ai/project-pipeline/definition.schema.d.ts +400 -356
- package/src/ai/project-pipeline/execution-statistics.d.ts +18 -18
- package/src/ai/project-pipeline/graph.model.d.ts +5 -0
- package/src/ai/project-pipeline/human-wait-statistics.d.ts +2 -2
- package/src/ai/project-pipeline/index.d.ts +1 -0
- package/src/ai/project-pipeline/model-usage-statistics.d.ts +6 -6
- package/src/ai/project-pipeline/node.schema.d.ts +57 -44
- package/src/ai/project-pipeline/operation.schema.d.ts +338 -338
- package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +152 -0
- package/src/ai/project-pipeline/portfolio.schema.d.ts +468 -468
- package/src/ai/project-pipeline/primitives.schema.d.ts +6 -6
- package/src/ai/project-pipeline/projection.schema.d.ts +609 -572
- package/src/ai/project-pipeline/provider-actions.schema.d.ts +112 -112
- package/src/ai/project-pipeline/queue-statistics.d.ts +10 -10
- package/src/ai/project-pipeline/runtime.schema.d.ts +62 -62
- package/src/ai/project-pipeline/statistics.d.ts +100 -100
- package/src/ai/project-task-runtime.model.d.ts +969 -242
- package/src/ai/project-type-configuration.model.d.ts +48 -0
- package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
- package/src/ai/template-installation.model.d.ts +18 -18
- package/src/ai/template-lifecycle.model.d.ts +6 -6
- package/src/ai/thread-control-view.schema.d.ts +4 -4
- package/src/ai/xpert-agent-execution.model.d.ts +4 -0
- package/src/ai/xpert-project-type.model.d.ts +3 -0
- package/src/ai/xpert-project.model.d.ts +4 -1
- package/src/ai/xpert-task.model.d.ts +16 -0
- package/src/ai/xpert.model.d.ts +0 -34
- package/src/ai/xpert.utils.d.ts +0 -1
- package/src/analytics/analysis-evidence.model.d.ts +29 -0
- package/src/analytics/analytics-certification.model.d.ts +17 -0
- package/src/{analytics-definition.model.d.ts → analytics/analytics-definition.model.d.ts} +1 -1
- package/src/{analytics-diagnostic.d.ts → analytics/analytics-diagnostic.d.ts} +8 -8
- package/src/{analytics-query.model.d.ts → analytics/analytics-query.model.d.ts} +9 -1
- package/src/analytics/index.d.ts +7 -0
- package/src/{resource-analysis.model.d.ts → analytics/resource-analysis.model.d.ts} +6 -1
- package/src/app-platform.d.ts +16 -16
- package/src/{artifact-group-reference.model.d.ts → artifacts/artifact-group-reference.model.d.ts} +1 -1
- package/src/{artifact-presentation.model.d.ts → artifacts/artifact-presentation.model.d.ts} +1 -1
- package/src/{artifact-use-grant-command.d.ts → artifacts/artifact-use-grant-command.d.ts} +1 -1
- package/src/{artifact-use-grant.model.d.ts → artifacts/artifact-use-grant.model.d.ts} +2 -2
- package/src/{artifact.model.d.ts → artifacts/artifact.model.d.ts} +2 -2
- package/src/artifacts/index.d.ts +5 -0
- package/src/collaboration.model.d.ts +31 -11
- package/src/{content-document.model.d.ts → content/content-document.model.d.ts} +2 -0
- package/src/{content-resource.model.d.ts → content/content-resource.model.d.ts} +6 -3
- package/src/content/content-transfer.model.d.ts +21 -0
- package/src/content/index.d.ts +4 -0
- package/src/execution-control-admission.schema.d.ts +2 -2
- package/src/index.d.ts +5 -14
- package/src/plugin-management.d.ts +13 -0
- package/src/plugin.d.ts +2 -0
- package/src/user-notification.schema.d.ts +75 -28
- package/src/view-extension/client-commands.d.ts +24 -0
- package/src/view-extension/context-event.d.ts +66 -0
- package/src/view-extension/index.d.ts +1 -0
- /package/src/{analytics-source.model.d.ts → analytics/analytics-source.model.d.ts} +0 -0
- /package/src/{content-reference.model.d.ts → content/content-reference.model.d.ts} +0 -0
package/src/app-platform.d.ts
CHANGED
|
@@ -67,23 +67,23 @@ export declare const appPlatformDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
67
67
|
description: z.ZodOptional<z.ZodString>;
|
|
68
68
|
logo: z.ZodOptional<z.ZodString>;
|
|
69
69
|
}, "strict", z.ZodTypeAny, {
|
|
70
|
-
name?: string;
|
|
71
70
|
description?: string;
|
|
71
|
+
name?: string;
|
|
72
72
|
logo?: string;
|
|
73
73
|
}, {
|
|
74
|
-
name?: string;
|
|
75
74
|
description?: string;
|
|
75
|
+
name?: string;
|
|
76
76
|
logo?: string;
|
|
77
77
|
}>;
|
|
78
78
|
registration: z.ZodObject<{
|
|
79
79
|
role: z.ZodLiteral<"APP_USER">;
|
|
80
80
|
organization: z.ZodLiteral<"per-account">;
|
|
81
81
|
}, "strict", z.ZodTypeAny, {
|
|
82
|
-
organization?: "per-account";
|
|
83
82
|
role?: "APP_USER";
|
|
84
|
-
}, {
|
|
85
83
|
organization?: "per-account";
|
|
84
|
+
}, {
|
|
86
85
|
role?: "APP_USER";
|
|
86
|
+
organization?: "per-account";
|
|
87
87
|
}>;
|
|
88
88
|
apps: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
89
89
|
key: z.ZodString;
|
|
@@ -203,9 +203,9 @@ export declare const appPlatformDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
203
203
|
defaultPlanRef?: string;
|
|
204
204
|
}>;
|
|
205
205
|
}, "strict", z.ZodTypeAny, {
|
|
206
|
-
version?: number;
|
|
207
206
|
key?: string;
|
|
208
207
|
schemaVersion?: 1;
|
|
208
|
+
version?: number;
|
|
209
209
|
apps?: {
|
|
210
210
|
key: string;
|
|
211
211
|
required: boolean;
|
|
@@ -229,13 +229,13 @@ export declare const appPlatformDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
229
229
|
};
|
|
230
230
|
}[];
|
|
231
231
|
branding?: {
|
|
232
|
-
name?: string;
|
|
233
232
|
description?: string;
|
|
233
|
+
name?: string;
|
|
234
234
|
logo?: string;
|
|
235
235
|
};
|
|
236
236
|
registration?: {
|
|
237
|
-
organization?: "per-account";
|
|
238
237
|
role?: "APP_USER";
|
|
238
|
+
organization?: "per-account";
|
|
239
239
|
};
|
|
240
240
|
experience?: {
|
|
241
241
|
navigation?: string[];
|
|
@@ -245,9 +245,9 @@ export declare const appPlatformDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
245
245
|
defaultPlanRef?: string;
|
|
246
246
|
};
|
|
247
247
|
}, {
|
|
248
|
-
version?: number;
|
|
249
248
|
key?: string;
|
|
250
249
|
schemaVersion?: 1;
|
|
250
|
+
version?: number;
|
|
251
251
|
apps?: {
|
|
252
252
|
key?: string;
|
|
253
253
|
enabled?: boolean;
|
|
@@ -271,13 +271,13 @@ export declare const appPlatformDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
271
271
|
};
|
|
272
272
|
}[];
|
|
273
273
|
branding?: {
|
|
274
|
-
name?: string;
|
|
275
274
|
description?: string;
|
|
275
|
+
name?: string;
|
|
276
276
|
logo?: string;
|
|
277
277
|
};
|
|
278
278
|
registration?: {
|
|
279
|
-
organization?: "per-account";
|
|
280
279
|
role?: "APP_USER";
|
|
280
|
+
organization?: "per-account";
|
|
281
281
|
};
|
|
282
282
|
experience?: {
|
|
283
283
|
navigation?: string[];
|
|
@@ -287,9 +287,9 @@ export declare const appPlatformDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
287
287
|
defaultPlanRef?: string;
|
|
288
288
|
};
|
|
289
289
|
}>, {
|
|
290
|
-
version?: number;
|
|
291
290
|
key?: string;
|
|
292
291
|
schemaVersion?: 1;
|
|
292
|
+
version?: number;
|
|
293
293
|
apps?: {
|
|
294
294
|
key: string;
|
|
295
295
|
required: boolean;
|
|
@@ -313,13 +313,13 @@ export declare const appPlatformDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
313
313
|
};
|
|
314
314
|
}[];
|
|
315
315
|
branding?: {
|
|
316
|
-
name?: string;
|
|
317
316
|
description?: string;
|
|
317
|
+
name?: string;
|
|
318
318
|
logo?: string;
|
|
319
319
|
};
|
|
320
320
|
registration?: {
|
|
321
|
-
organization?: "per-account";
|
|
322
321
|
role?: "APP_USER";
|
|
322
|
+
organization?: "per-account";
|
|
323
323
|
};
|
|
324
324
|
experience?: {
|
|
325
325
|
navigation?: string[];
|
|
@@ -329,9 +329,9 @@ export declare const appPlatformDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
329
329
|
defaultPlanRef?: string;
|
|
330
330
|
};
|
|
331
331
|
}, {
|
|
332
|
-
version?: number;
|
|
333
332
|
key?: string;
|
|
334
333
|
schemaVersion?: 1;
|
|
334
|
+
version?: number;
|
|
335
335
|
apps?: {
|
|
336
336
|
key?: string;
|
|
337
337
|
enabled?: boolean;
|
|
@@ -355,13 +355,13 @@ export declare const appPlatformDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
355
355
|
};
|
|
356
356
|
}[];
|
|
357
357
|
branding?: {
|
|
358
|
-
name?: string;
|
|
359
358
|
description?: string;
|
|
359
|
+
name?: string;
|
|
360
360
|
logo?: string;
|
|
361
361
|
};
|
|
362
362
|
registration?: {
|
|
363
|
-
organization?: "per-account";
|
|
364
363
|
role?: "APP_USER";
|
|
364
|
+
organization?: "per-account";
|
|
365
365
|
};
|
|
366
366
|
experience?: {
|
|
367
367
|
navigation?: string[];
|
package/src/{artifact-group-reference.model.d.ts → artifacts/artifact-group-reference.model.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ArtifactLibraryView } from './artifact-presentation.model';
|
|
2
2
|
import type { IArtifactUseGrant } from './artifact-use-grant.model';
|
|
3
|
-
import type { ResourceAnalysisPolicy } from '
|
|
3
|
+
import type { ResourceAnalysisPolicy } from '../analytics/resource-analysis.model';
|
|
4
4
|
/**
|
|
5
5
|
* Client-safe grant projection used by source-management and group acceptance APIs.
|
|
6
6
|
* Contains no source file handles or credentials. It is display/concurrency metadata, not an access token.
|
|
@@ -30,7 +30,7 @@ export interface ArtifactPresentationQuery {
|
|
|
30
30
|
/** Authenticated Project reference viewing does not create or consume a public share. */
|
|
31
31
|
export type ArtifactLibraryContent = {
|
|
32
32
|
kind: 'conversation';
|
|
33
|
-
snapshot: import('
|
|
33
|
+
snapshot: import('../ai/conversation-share.model').ConversationShareSnapshot;
|
|
34
34
|
} | {
|
|
35
35
|
kind: 'presentation';
|
|
36
36
|
presentation: ArtifactPresentation;
|
|
@@ -40,7 +40,7 @@ export type ArtifactUseGrantAuthoringRequest = {
|
|
|
40
40
|
/** Whole-day duration, validated by the authoring adapter before computing expiresAt. */
|
|
41
41
|
days: number;
|
|
42
42
|
/** Explicit proposed analysis scope; omission offers view-only use. */
|
|
43
|
-
analysis?: import('
|
|
43
|
+
analysis?: import('../analytics/resource-analysis.model').ResourceAnalysisPolicy;
|
|
44
44
|
}
|
|
45
45
|
/** Published version whose datasets and sharing eligibility should be described. */
|
|
46
46
|
| {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IBasePerTenantAndOrganizationEntityModel } from '
|
|
2
|
-
import type { ResourceAnalysisPolicy } from '
|
|
1
|
+
import type { IBasePerTenantAndOrganizationEntityModel } from '../base-entity.model';
|
|
2
|
+
import type { ResourceAnalysisPolicy } from '../analytics/resource-analysis.model';
|
|
3
3
|
/**
|
|
4
4
|
* Persisted consent to use one published Artifact version in another group's Project in the same organization.
|
|
5
5
|
* The source manager offers it; the receiving group owner accepts it. Every use rechecks current access.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IBasePerTenantAndOrganizationEntityModel } from '
|
|
2
|
-
import type { I18nObject } from '
|
|
1
|
+
import { IBasePerTenantAndOrganizationEntityModel } from '../base-entity.model';
|
|
2
|
+
import type { I18nObject } from '../i18n.model';
|
|
3
3
|
/**
|
|
4
4
|
* Access policies supported by platform-managed Artifact links.
|
|
5
5
|
*
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { IBasePerTenantAndOrganizationEntityModel } from './base-entity.model';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Selects who owns authoritative content, not a generic merge algorithm.
|
|
4
|
+
* `yjs`: the platform persists/merges CRDT state and the plugin materializes it.
|
|
5
|
+
* `operations`: the domain service commits its own operations; the platform provides
|
|
6
|
+
* authorized sessions, presence and revision invalidation, without accepting content edits.
|
|
7
|
+
*/
|
|
8
|
+
export type CollaborationEngine = 'yjs' | 'operations';
|
|
3
9
|
export type CollaborationDocumentStatus = 'active' | 'archived' | 'deleted';
|
|
4
10
|
export type CollaborationMaterializationStatus = 'ready' | 'pending' | 'failed';
|
|
5
11
|
export type CollaborationActorType = 'user' | 'agent' | 'system';
|
|
@@ -36,9 +42,19 @@ export interface ICollaborationFocus {
|
|
|
36
42
|
elementId?: string | null;
|
|
37
43
|
fieldKey?: string | null;
|
|
38
44
|
}
|
|
39
|
-
/** A text range expressed as Yjs relative positions,
|
|
45
|
+
/** A text range expressed as Yjs relative positions, selected element ids, or a cell range. */
|
|
40
46
|
export interface ICollaborationSelection {
|
|
41
|
-
kind: 'text' | 'elements';
|
|
47
|
+
kind: 'text' | 'elements' | 'cells';
|
|
48
|
+
/** Zero-based, bounded range for operation-backed spreadsheet presence. */
|
|
49
|
+
cells?: {
|
|
50
|
+
sheetId: string;
|
|
51
|
+
startRow: number;
|
|
52
|
+
endRow: number;
|
|
53
|
+
startColumn: number;
|
|
54
|
+
endColumn: number;
|
|
55
|
+
/** Canonical revision whose coordinates this range uses. Absent means unversioned. */
|
|
56
|
+
baseRevision?: number;
|
|
57
|
+
} | null;
|
|
42
58
|
fieldKey?: string | null;
|
|
43
59
|
elementIds?: string[] | null;
|
|
44
60
|
anchorRelativeBase64?: string | null;
|
|
@@ -63,8 +79,9 @@ export interface ICollaborationPresence extends ICollaborationActor {
|
|
|
63
79
|
updatedAt: number;
|
|
64
80
|
}
|
|
65
81
|
/**
|
|
66
|
-
*
|
|
67
|
-
*
|
|
82
|
+
* Platform registration and lifecycle metadata for one collaboration resource.
|
|
83
|
+
* Only `yjs` stores authoritative content here. For `operations`, content and the
|
|
84
|
+
* current revision remain in the domain service; CRDT fields are compatibility placeholders.
|
|
68
85
|
*/
|
|
69
86
|
export interface ICollaborationDocument extends IBasePerTenantAndOrganizationEntityModel {
|
|
70
87
|
/** Provider registered by a plugin, such as `presentation-studio.deck`. */
|
|
@@ -72,18 +89,20 @@ export interface ICollaborationDocument extends IBasePerTenantAndOrganizationEnt
|
|
|
72
89
|
/** Stable business-resource id understood by the provider. */
|
|
73
90
|
resourceId: string;
|
|
74
91
|
engine: CollaborationEngine;
|
|
75
|
-
/**
|
|
92
|
+
/** Provider schema version used to fence sessions; not the platform database schema. */
|
|
76
93
|
schemaVersion: number;
|
|
77
94
|
status: CollaborationDocumentStatus;
|
|
78
|
-
/** Complete Yjs state encoded as a base64 update
|
|
95
|
+
/** Complete Yjs state encoded as a base64 update; empty for `operations`. */
|
|
79
96
|
stateBase64: string;
|
|
80
|
-
/**
|
|
97
|
+
/** Yjs state vector corresponding to `stateBase64`; empty for `operations`. */
|
|
81
98
|
stateVectorBase64: string;
|
|
82
|
-
/**
|
|
99
|
+
/** Yjs update sequence. For `operations`, initialization metadata only; never the live domain revision. */
|
|
83
100
|
sequenceNumber: number;
|
|
101
|
+
/** Accepted Yjs updates; remains zero for `operations`. */
|
|
84
102
|
updateCount: number;
|
|
85
|
-
/** Highest sequence
|
|
103
|
+
/** Highest materialized Yjs sequence; unused by the `operations` content pipeline. */
|
|
86
104
|
materializedSequence: number;
|
|
105
|
+
/** Yjs projection health; `operations` starts ready and has no platform projection. */
|
|
87
106
|
materializationStatus: CollaborationMaterializationStatus;
|
|
88
107
|
lastMaterializationError?: string | null;
|
|
89
108
|
workspaceId?: string | null;
|
|
@@ -99,7 +118,8 @@ export interface ICollaborationUpdate extends IBasePerTenantAndOrganizationEntit
|
|
|
99
118
|
/** Sequence assigned while the document row is locked. */
|
|
100
119
|
sequenceNumber: number;
|
|
101
120
|
updateBase64: string;
|
|
102
|
-
/** SHA-256
|
|
121
|
+
/** SHA-256 deduplication key, unique per document. Ordinary updates hash decoded bytes;
|
|
122
|
+
* schema migrations prefix them with `platform:schema-migration:<targetSchemaVersion>:`. */
|
|
103
123
|
updateHash: string;
|
|
104
124
|
origin?: string | null;
|
|
105
125
|
actorType?: CollaborationActorType | null;
|
|
@@ -99,6 +99,8 @@ export interface TextContentEditorRegistration extends ContentEditorMetadata {
|
|
|
99
99
|
export interface FileContentEditorRegistration extends ContentEditorMetadata {
|
|
100
100
|
kind: 'file';
|
|
101
101
|
concurrency: 'versioned';
|
|
102
|
+
/** Explicit model identity for catalogued files. Owners retain file identity, ACL and CAS writes. */
|
|
103
|
+
resourceType?: import('./content-resource.model').ContentTypeImplementation & import('./content-resource.model').ContentModelIdentity;
|
|
102
104
|
}
|
|
103
105
|
export type ContentEditorRegistration = TextContentEditorRegistration | FileContentEditorRegistration | import('./content-resource.model').ResourceContentEditorRegistration;
|
|
104
106
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { I18nObject } from '
|
|
2
|
-
import type { ArtifactTypeDescriptor } from '
|
|
3
|
-
import type { IconDefinition } from '
|
|
1
|
+
import type { I18nObject } from '../i18n.model';
|
|
2
|
+
import type { ArtifactTypeDescriptor } from '../artifacts/artifact.model';
|
|
3
|
+
import type { IconDefinition } from '../types';
|
|
4
4
|
export type ContentAction = 'rename' | 'move' | 'trash' | 'restore' | 'duplicate';
|
|
5
5
|
export type ContentSourceLocation = {
|
|
6
6
|
kind: 'file';
|
|
@@ -56,6 +56,9 @@ export interface ContentResourceSnapshot extends ContentModelIdentity {
|
|
|
56
56
|
/** Opt in only when all Project readers may read the source even without this provider.
|
|
57
57
|
* Resources with additional native ACLs must omit this field and fail closed offline. */
|
|
58
58
|
offlineAccess?: 'project';
|
|
59
|
+
/** Provider owns persistence for these source/contained paths. Ordinary Workspace
|
|
60
|
+
* writes are rejected; provider Runtime capabilities retain their authorized writer. */
|
|
61
|
+
writeOwnership?: 'provider';
|
|
59
62
|
sourceSync?: {
|
|
60
63
|
status: 'synced' | 'pending' | 'failed';
|
|
61
64
|
revision?: string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { AnalysisEvidenceSnapshot } from '../analytics/analysis-evidence.model';
|
|
2
|
+
import type { ContentSearchProjection } from './content-resource.model';
|
|
3
|
+
/** A fixed, bounded projection obtained by the host from an authorized source.
|
|
4
|
+
* It creates a new editable resource; it never grants source access or implies synchronization. */
|
|
5
|
+
export interface ContentTextTransferSnapshot {
|
|
6
|
+
schema: 'xpert.content-transfer@1';
|
|
7
|
+
source: {
|
|
8
|
+
providerKey: string;
|
|
9
|
+
resourceId: string;
|
|
10
|
+
revision: string;
|
|
11
|
+
title: string;
|
|
12
|
+
};
|
|
13
|
+
sections: ContentSearchProjection['sections'];
|
|
14
|
+
}
|
|
15
|
+
/** Trusted producer output consumed by native Office and Motion adapters. */
|
|
16
|
+
export interface ContentAnalysisTransferSnapshot {
|
|
17
|
+
schema: 'xpert.content-analysis-transfer@1';
|
|
18
|
+
source: ContentTextTransferSnapshot['source'];
|
|
19
|
+
evidence: AnalysisEvidenceSnapshot;
|
|
20
|
+
}
|
|
21
|
+
export type ContentTransferSnapshot = ContentTextTransferSnapshot | ContentAnalysisTransferSnapshot;
|
|
@@ -76,8 +76,8 @@ export declare const executionControlCapabilitiesSchema: z.ZodObject<{
|
|
|
76
76
|
controlContract?: string;
|
|
77
77
|
}>, "many">;
|
|
78
78
|
}, "strict", z.ZodTypeAny, {
|
|
79
|
-
version?: 1;
|
|
80
79
|
validUntil?: number;
|
|
80
|
+
version?: 1;
|
|
81
81
|
protocols?: {
|
|
82
82
|
taskControl?: 2;
|
|
83
83
|
managedQueue?: 3;
|
|
@@ -96,8 +96,8 @@ export declare const executionControlCapabilitiesSchema: z.ZodObject<{
|
|
|
96
96
|
controlContract?: string;
|
|
97
97
|
}[];
|
|
98
98
|
}, {
|
|
99
|
-
version?: 1;
|
|
100
99
|
validUntil?: number;
|
|
100
|
+
version?: 1;
|
|
101
101
|
protocols?: {
|
|
102
102
|
taskControl?: 2;
|
|
103
103
|
managedQueue?: 3;
|
package/src/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './agent-event.model';
|
|
1
2
|
export * from './task-control.model';
|
|
2
3
|
export * from './app-platform';
|
|
3
4
|
export * from './execution-control-admission.schema';
|
|
@@ -47,8 +48,7 @@ export * from './user-directory.model';
|
|
|
47
48
|
export * from './custom-smtp.model';
|
|
48
49
|
export * from './date-picker.model';
|
|
49
50
|
export * from './data-source.model';
|
|
50
|
-
export * from './analytics
|
|
51
|
-
export * from './analytics-source.model';
|
|
51
|
+
export * from './analytics';
|
|
52
52
|
export * from './data-source-type.model';
|
|
53
53
|
export * from './integration.model';
|
|
54
54
|
export * from './integration-sharing.model';
|
|
@@ -64,11 +64,7 @@ export * from './ai/index';
|
|
|
64
64
|
export * from './agent/index';
|
|
65
65
|
export * from './api-key.model';
|
|
66
66
|
export * from './personal-api-key.model';
|
|
67
|
-
export * from './
|
|
68
|
-
export * from './artifact-use-grant.model';
|
|
69
|
-
export * from './artifact-use-grant-command';
|
|
70
|
-
export * from './artifact-group-reference.model';
|
|
71
|
-
export * from './resource-analysis.model';
|
|
67
|
+
export * from './artifacts';
|
|
72
68
|
export * from './business-area.model';
|
|
73
69
|
export * from './collaboration.model';
|
|
74
70
|
export * from './schedule';
|
|
@@ -77,22 +73,17 @@ export * from './plain-object.model';
|
|
|
77
73
|
export * from './plugin';
|
|
78
74
|
export * from './view-extension';
|
|
79
75
|
export * from './runtime-control';
|
|
80
|
-
export type { RuntimeResourceKind, AgentPluginRole, RuntimeResourceCatalogPurpose, RuntimeResourceStatus, RuntimeResourceReference, TemplateAgentSource, RuntimeResourcesSelection, AgentPluginDiagnostic, AgentPluginStorageErrorCode, RuntimeResourceCatalogItem, RuntimeResourceView, RuntimeResourceCatalog, AgentPluginXpertExtension, AgentPluginCommand, AgentPluginCommandPresentation, RuntimeResourceCommand, RuntimeResourceSkillReference, AgentPluginConnectorAuth, AgentPluginConnectorBinding, RuntimeResourceDefinition, RuntimeResourceBindingInput,
|
|
76
|
+
export type { RuntimeResourceKind, AgentPluginRole, RuntimeResourceCatalogPurpose, RuntimeResourceStatus, RuntimeResourceReference, TemplateAgentSource, RuntimeResourcesSelection, AgentPluginDiagnostic, AgentPluginStorageErrorCode, RuntimeResourceCatalogItem, RuntimeResourceView, RuntimeResourceCatalog, AgentPluginXpertExtension, AgentPluginCommand, AgentPluginCommandPresentation, RuntimeResourceCommand, RuntimeResourceSkillReference, AgentPluginConnectorAuth, AgentPluginConnectorBinding, RuntimeResourceDefinition, RuntimeResourceBindingInput, InstalledAgentPlugin } from './agent-plugin';
|
|
81
77
|
export * from './desktop-shell.model';
|
|
82
78
|
export * from './ai/agent-output-delivery.model';
|
|
83
79
|
export * from './ai/execution-activity.model';
|
|
84
80
|
export * from './ai/conversation-trail.model';
|
|
85
81
|
export * from './setup-plugins';
|
|
86
82
|
export * from './default-agent-plugins';
|
|
87
|
-
export * from './content
|
|
88
|
-
export * from './content-reference.model';
|
|
83
|
+
export * from './content';
|
|
89
84
|
export * from './agent-plugin-maintenance';
|
|
90
85
|
export * from './assistant-sharing.model';
|
|
91
|
-
export * from './artifact-presentation.model';
|
|
92
|
-
export * from './analytics-definition.model';
|
|
93
|
-
export * from './analytics-diagnostic';
|
|
94
86
|
export * from './data-retention.model';
|
|
95
|
-
export * from './content-resource.model';
|
|
96
87
|
export * from './ai/mcp-execution-control.schema';
|
|
97
88
|
export * from './ai/thread-control-view.schema';
|
|
98
89
|
export * from './ai/thread-control-projection.model';
|
|
@@ -47,6 +47,19 @@ export interface IPluginUpdateResult extends IPluginInstallResult {
|
|
|
47
47
|
updated: boolean;
|
|
48
48
|
previousVersion?: string;
|
|
49
49
|
}
|
|
50
|
+
/** Installed archive identity and the current process's loaded state; not fleet or business acceptance. */
|
|
51
|
+
export interface IPluginArchiveDeploymentStatus {
|
|
52
|
+
packageName: string;
|
|
53
|
+
expectedVersion: string;
|
|
54
|
+
expectedSha256: string;
|
|
55
|
+
installed: boolean;
|
|
56
|
+
loaded: boolean;
|
|
57
|
+
installedVersion?: string;
|
|
58
|
+
loadedVersion?: string;
|
|
59
|
+
scopeKey?: string;
|
|
60
|
+
runtimeRevision?: string;
|
|
61
|
+
restartRequired: boolean;
|
|
62
|
+
}
|
|
50
63
|
export interface IPluginUninstallResult {
|
|
51
64
|
success: boolean;
|
|
52
65
|
/**
|
package/src/plugin.d.ts
CHANGED
|
@@ -278,6 +278,8 @@ export interface PluginSourceConfig extends PluginCodeSourceConfig {
|
|
|
278
278
|
/** Written by the archive upload endpoint; retained for legacy installation provenance. */
|
|
279
279
|
uploadFileName?: string;
|
|
280
280
|
uploadInstalledAt?: string;
|
|
281
|
+
/** Host-computed SHA-256 of the installed archive; never accepted from client sourceConfig. */
|
|
282
|
+
archiveSha256?: string;
|
|
281
283
|
/** Host-owned immutable installation directory; never supplied as an authorization grant. */
|
|
282
284
|
runtimeName?: string;
|
|
283
285
|
immutableRuntime?: boolean;
|