@xpert-ai/contracts 3.18.6 → 3.19.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 +1001 -222
- package/index.esm.js +982 -223
- package/package.json +3 -3
- package/src/agent-plugin.d.ts +192 -0
- package/src/ai/assistant-configuration.model.d.ts +45 -0
- package/src/ai/assistant-order.d.ts +5 -0
- package/src/ai/assistant-trigger.model.d.ts +56 -0
- package/src/ai/chat-activity.model.d.ts +14 -0
- package/src/ai/chat-message.model.d.ts +10 -1
- package/src/ai/chat-task-summary.model.d.ts +4 -3
- package/src/ai/chat.model.d.ts +100 -13
- package/src/ai/clawxpert-conversation-scope.model.d.ts +2 -0
- package/src/ai/evolution/baseline.d.ts +40 -0
- package/src/ai/evolution/change.d.ts +53 -0
- package/src/ai/evolution/index.d.ts +1 -0
- package/src/ai/evolution/persistence.d.ts +2 -0
- package/src/ai/evolution/provider.d.ts +1 -1
- package/src/ai/index.d.ts +9 -0
- package/src/ai/knowledge-keyword-analyzer.model.d.ts +18 -0
- package/src/ai/knowledgebase.model.d.ts +5 -0
- package/src/ai/mcp-publication.model.d.ts +1 -1
- package/src/ai/middleware.model.d.ts +1 -0
- package/src/ai/mobile.model.d.ts +5 -0
- package/src/ai/project-selection.model.d.ts +9 -0
- package/src/ai/project-task-graph.model.d.ts +58 -0
- package/src/ai/project-task-schedule.d.ts +24 -0
- package/src/ai/prompt-workflow-capabilities.model.d.ts +15 -0
- package/src/ai/prompt-workflow.model.d.ts +13 -0
- package/src/ai/sandbox-file-output.model.d.ts +9 -0
- package/src/ai/xpert-agent-execution.model.d.ts +33 -0
- package/src/ai/xpert-chat.model.d.ts +2 -0
- package/src/ai/xpert-marketplace.model.d.ts +5 -0
- package/src/ai/xpert-project-type.model.d.ts +56 -0
- package/src/ai/xpert-project.model.d.ts +25 -1
- package/src/ai/xpert-template.model.d.ts +30 -0
- package/src/ai/xpert-tool-mcp.model.d.ts +15 -1
- package/src/ai/xpert-workflow.model.d.ts +15 -1
- package/src/ai/xpert.model.d.ts +15 -1
- package/src/desktop-shell.model.d.ts +159 -0
- package/src/index.d.ts +4 -0
- package/src/integration.model.d.ts +19 -0
- package/src/plugin.d.ts +26 -7
- package/src/tag-entity.model.d.ts +1 -1
- package/src/view-extension/index.d.ts +2 -0
- package/src/view-extension/model.d.ts +20 -1
- package/src/view-extension/workbench-open.d.ts +10 -0
- package/src/view-extension/workbench.d.ts +2 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
export type ShellState = 'pending' | 'running' | 'cancel_requested' | 'succeeded' | 'failed' | 'cancelled' | 'timed_out' | 'rejected' | 'unknown';
|
|
2
|
+
export interface ShellSettings {
|
|
3
|
+
name: string;
|
|
4
|
+
shell: '/bin/zsh' | '/bin/bash';
|
|
5
|
+
cwd: string;
|
|
6
|
+
path: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ShellExecInput {
|
|
9
|
+
action: 'exec';
|
|
10
|
+
command: string;
|
|
11
|
+
cwd?: string;
|
|
12
|
+
timeout_sec?: number;
|
|
13
|
+
}
|
|
14
|
+
export type ShellInput = ShellExecInput | {
|
|
15
|
+
action: 'status';
|
|
16
|
+
operationId: string;
|
|
17
|
+
cursor?: number;
|
|
18
|
+
} | {
|
|
19
|
+
action: 'cancel';
|
|
20
|
+
operationId: string;
|
|
21
|
+
};
|
|
22
|
+
export interface ShellScope {
|
|
23
|
+
tenantId: string;
|
|
24
|
+
organizationId: string;
|
|
25
|
+
userId: string;
|
|
26
|
+
}
|
|
27
|
+
export interface ShellDeviceInfo {
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
platform: string;
|
|
31
|
+
shell: string;
|
|
32
|
+
}
|
|
33
|
+
export interface ShellChunk {
|
|
34
|
+
seq: number;
|
|
35
|
+
stream: 'stdout' | 'stderr';
|
|
36
|
+
data: string;
|
|
37
|
+
}
|
|
38
|
+
export interface ShellResult {
|
|
39
|
+
operationId: string;
|
|
40
|
+
executionTarget: 'desktop';
|
|
41
|
+
device: ShellDeviceInfo;
|
|
42
|
+
cwd: string;
|
|
43
|
+
state: ShellState;
|
|
44
|
+
stdout: string;
|
|
45
|
+
stderr: string;
|
|
46
|
+
exitCode: number | null;
|
|
47
|
+
signal?: string;
|
|
48
|
+
nextCursor: number;
|
|
49
|
+
truncated: boolean;
|
|
50
|
+
error?: {
|
|
51
|
+
code: string;
|
|
52
|
+
message: string;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
interface WireBase {
|
|
56
|
+
version: 1;
|
|
57
|
+
operationId: string;
|
|
58
|
+
connectionEpoch: string;
|
|
59
|
+
}
|
|
60
|
+
export interface ShellExecCommand extends WireBase {
|
|
61
|
+
type: 'exec';
|
|
62
|
+
grantId: string;
|
|
63
|
+
argsHash: string;
|
|
64
|
+
command: string;
|
|
65
|
+
cwd: string;
|
|
66
|
+
timeoutSec: number;
|
|
67
|
+
deadline: number;
|
|
68
|
+
}
|
|
69
|
+
export interface ShellCancelCommand extends WireBase {
|
|
70
|
+
type: 'cancel';
|
|
71
|
+
reason?: 'cancelled' | 'timed_out';
|
|
72
|
+
}
|
|
73
|
+
export type ShellCommand = ShellExecCommand | ShellCancelCommand;
|
|
74
|
+
export interface ShellOutputReport extends WireBase {
|
|
75
|
+
type: 'output';
|
|
76
|
+
state: 'running';
|
|
77
|
+
seq: number;
|
|
78
|
+
stream: 'stdout' | 'stderr';
|
|
79
|
+
data: string;
|
|
80
|
+
}
|
|
81
|
+
export interface ShellStateReport extends WireBase {
|
|
82
|
+
type: 'state';
|
|
83
|
+
state: ShellState;
|
|
84
|
+
seq: number;
|
|
85
|
+
exitCode: number | null;
|
|
86
|
+
signal?: string;
|
|
87
|
+
truncated: boolean;
|
|
88
|
+
errorCode?: string;
|
|
89
|
+
}
|
|
90
|
+
export type ShellReport = ShellOutputReport | ShellStateReport;
|
|
91
|
+
export interface IDesktopShellDevice extends ShellScope {
|
|
92
|
+
id: string;
|
|
93
|
+
installationId: string;
|
|
94
|
+
name: string;
|
|
95
|
+
platform: string;
|
|
96
|
+
shell: string;
|
|
97
|
+
cwd: string;
|
|
98
|
+
enabled: boolean;
|
|
99
|
+
credentialHash: string;
|
|
100
|
+
credentialExpiresAt: Date;
|
|
101
|
+
connectionEpoch: string | null;
|
|
102
|
+
leaseExpiresAt: Date | null;
|
|
103
|
+
}
|
|
104
|
+
export interface IDesktopShellGrant extends ShellScope {
|
|
105
|
+
operation: ShellOperationAuthorization | null;
|
|
106
|
+
id: string;
|
|
107
|
+
deviceId: string;
|
|
108
|
+
assistantId: string;
|
|
109
|
+
threadId: string | null;
|
|
110
|
+
enabled: boolean;
|
|
111
|
+
expiresAt: Date;
|
|
112
|
+
}
|
|
113
|
+
export interface IDesktopShellOperation extends ShellScope {
|
|
114
|
+
id: string;
|
|
115
|
+
deviceId: string;
|
|
116
|
+
grantId: string;
|
|
117
|
+
threadId: string;
|
|
118
|
+
runId: string;
|
|
119
|
+
toolCallId: string;
|
|
120
|
+
argsHash: string;
|
|
121
|
+
command: string;
|
|
122
|
+
cwd: string;
|
|
123
|
+
timeoutSec: number;
|
|
124
|
+
deadline: Date;
|
|
125
|
+
state: ShellState;
|
|
126
|
+
output: ShellChunk[];
|
|
127
|
+
outputBytes: number;
|
|
128
|
+
seq: number;
|
|
129
|
+
exitCode: number | null;
|
|
130
|
+
signal: string | null;
|
|
131
|
+
truncated: boolean;
|
|
132
|
+
errorCode: string | null;
|
|
133
|
+
}
|
|
134
|
+
export type ShellPolicy = 'ask' | 'allow' | 'deny';
|
|
135
|
+
export interface ShellPreparationRequest {
|
|
136
|
+
kind: 'desktop-shell';
|
|
137
|
+
assistantId: string;
|
|
138
|
+
threadId: string;
|
|
139
|
+
runId: string;
|
|
140
|
+
toolCallId: string;
|
|
141
|
+
command: string;
|
|
142
|
+
cwd?: string;
|
|
143
|
+
timeoutSec: number;
|
|
144
|
+
}
|
|
145
|
+
export interface ShellOperationAuthorization {
|
|
146
|
+
runId: string;
|
|
147
|
+
toolCallId: string;
|
|
148
|
+
argsHash: string;
|
|
149
|
+
decision: 'pending' | 'approved' | 'rejected';
|
|
150
|
+
}
|
|
151
|
+
export interface ShellPreparation {
|
|
152
|
+
kind: 'desktop-shell';
|
|
153
|
+
grantId: string;
|
|
154
|
+
deviceName: string;
|
|
155
|
+
cwd: string;
|
|
156
|
+
decision: 'pending' | 'approved';
|
|
157
|
+
expiresAt: number;
|
|
158
|
+
}
|
|
159
|
+
export {};
|
package/src/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from './types';
|
|
2
|
+
export * from './ai/project-task-graph.model';
|
|
3
|
+
export * from './ai/project-task-schedule';
|
|
2
4
|
export * from './utils';
|
|
3
5
|
export type { I18nObject, I18nText } from './i18n.model';
|
|
4
6
|
export { resolveI18nText } from './i18n.model';
|
|
@@ -60,3 +62,5 @@ export * from './plain-object.model';
|
|
|
60
62
|
export * from './plugin';
|
|
61
63
|
export * from './view-extension';
|
|
62
64
|
export * from './runtime-control';
|
|
65
|
+
export type { RuntimeResourceKind, RuntimeResourceStatus, RuntimeResourceReference, RuntimeResourcesSelection, AgentPluginDiagnostic, RuntimeResourceCatalogItem, RuntimeResourceView, RuntimeResourceCatalog, AgentPluginXpertExtension, AgentPluginConnectorAuth, AgentPluginConnectorBinding, RuntimeResourceDefinition, RuntimeResourceBindingInput, WorkspaceAgentPlugin, WorkspaceAgentPluginOptions, WorkspaceAgentPluginAddInput, WorkspaceAgentPluginAddResult } from './agent-plugin';
|
|
66
|
+
export * from './desktop-shell.model';
|
|
@@ -110,6 +110,8 @@ export type TIntegrationProvider = {
|
|
|
110
110
|
* authorization links, without the host hard-coding provider names.
|
|
111
111
|
*/
|
|
112
112
|
setup?: {
|
|
113
|
+
/** The provider implements the server-side QR authorization lifecycle. */
|
|
114
|
+
qrAuthorization?: boolean;
|
|
113
115
|
/**
|
|
114
116
|
* When true, the host runs the provider's `validateConfig` after an
|
|
115
117
|
* existing integration is loaded and after save/upsert succeeds. Use this
|
|
@@ -126,3 +128,20 @@ export type TIntegrationProvider = {
|
|
|
126
128
|
};
|
|
127
129
|
pro?: boolean;
|
|
128
130
|
};
|
|
131
|
+
/** Public QR setup data; provider device codes and credentials stay on the server. */
|
|
132
|
+
export interface TIntegrationQrSession {
|
|
133
|
+
id: string;
|
|
134
|
+
authorizationUrl: string;
|
|
135
|
+
expiresAt: number;
|
|
136
|
+
intervalSeconds: number;
|
|
137
|
+
}
|
|
138
|
+
export type TIntegrationQrStatus = 'waiting' | 'authorized' | 'expired' | 'denied' | 'failed';
|
|
139
|
+
/** Stable setup failures; clients translate these codes instead of parsing server messages. */
|
|
140
|
+
export type TIntegrationQrErrorCode = 'INTEGRATION_QR_BUSY' | 'TRIGGER_DRAFT_CONFLICT' | 'TRIGGER_PUBLISH_REQUIRED';
|
|
141
|
+
export interface TIntegrationQrResult {
|
|
142
|
+
status: TIntegrationQrStatus;
|
|
143
|
+
}
|
|
144
|
+
export type TIntegrationQrCreateInput = Pick<IIntegration, 'name' | 'description' | 'avatar'>;
|
|
145
|
+
export type TIntegrationQrCompletion = Pick<IIntegration, 'id' | 'name' | 'slug' | 'provider'> & {
|
|
146
|
+
outcome: 'created' | 'reused';
|
|
147
|
+
};
|
package/src/plugin.d.ts
CHANGED
|
@@ -147,16 +147,20 @@ export interface PluginMarketplaceAppModelRequirements {
|
|
|
147
147
|
embeddingLabel?: string | I18nObject;
|
|
148
148
|
visionLabel?: string | I18nObject;
|
|
149
149
|
}
|
|
150
|
+
export interface PluginMarketplaceAppAssistantDefinition {
|
|
151
|
+
key: string;
|
|
152
|
+
templateKey: string;
|
|
153
|
+
primaryAgentKey: string;
|
|
154
|
+
title?: string | I18nObject;
|
|
155
|
+
}
|
|
150
156
|
/** Portable independent Assistant topology owned by a trusted App. Instance IDs are host-managed. */
|
|
151
157
|
export interface PluginMarketplaceAppAssistantSuite {
|
|
152
158
|
version: string;
|
|
153
159
|
coordinatorAgentKey: string;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
title?: string | I18nObject;
|
|
159
|
-
}>;
|
|
160
|
+
/** Published Assistants connected to the coordinator as required External Xperts. */
|
|
161
|
+
roles: PluginMarketplaceAppAssistantDefinition[];
|
|
162
|
+
/** Published in the same workspace without granting coordinator delegation. */
|
|
163
|
+
standaloneAssistants?: PluginMarketplaceAppAssistantDefinition[];
|
|
160
164
|
}
|
|
161
165
|
/**
|
|
162
166
|
* Declarative, host-owned initialization contract for a trusted plugin App.
|
|
@@ -170,7 +174,8 @@ export interface PluginMarketplaceAppConfig {
|
|
|
170
174
|
mode: 'dedicated';
|
|
171
175
|
name: string | I18nObject;
|
|
172
176
|
description?: string | I18nObject;
|
|
173
|
-
|
|
177
|
+
/** New app workspaces are private. Legacy 'organization' is accepted but does not grant sharing. */
|
|
178
|
+
sharing?: 'private' | 'organization';
|
|
174
179
|
};
|
|
175
180
|
knowledgebases?: PluginMarketplaceAppKnowledgebaseConfig[];
|
|
176
181
|
modelRequirements?: PluginMarketplaceAppModelRequirements;
|
|
@@ -440,6 +445,8 @@ export interface XpertTemplatePluginDependencies {
|
|
|
440
445
|
toolsets?: XpertTemplatePluginToolsetDependency[];
|
|
441
446
|
}
|
|
442
447
|
export interface PluginMarketplaceContribution {
|
|
448
|
+
/** Project types defined by an App, separate from installation configuration. */
|
|
449
|
+
projectTypes?: import('./ai/xpert-project-type.model').XpertProjectTypeDefinition[];
|
|
443
450
|
id?: string;
|
|
444
451
|
type: PluginMarketplaceContributionType;
|
|
445
452
|
name: string;
|
|
@@ -462,6 +469,12 @@ export interface PluginMarketplaceTrialShortcut {
|
|
|
462
469
|
}
|
|
463
470
|
export declare const PLUGIN_MARKETPLACE_CATEGORIES: readonly ["featured", "business-operations", "communication", "creativity", "data-analytics", "developer-tools", "education-research", "finance", "productivity", "research", "security", "travel", "sales", "other"];
|
|
464
471
|
export type PluginMarketplaceCategory = (typeof PLUGIN_MARKETPLACE_CATEGORIES)[number];
|
|
472
|
+
/**
|
|
473
|
+
* Technical subcategories used by the plugin marketplace.
|
|
474
|
+
* marketplace.category describes the business-facing group; marketplace.subcategory describes the technical type.
|
|
475
|
+
*/
|
|
476
|
+
export declare const PLUGIN_MARKETPLACE_SUBCATEGORIES: readonly ["connector", "middleware", "integration", "database", "tools", "model", "vlm", "vector-store", "doc-source", "datasource", "agent", "set"];
|
|
477
|
+
export type PluginMarketplaceSubcategory = (typeof PLUGIN_MARKETPLACE_SUBCATEGORIES)[number];
|
|
465
478
|
export interface PluginTargetAppMarketplaceMetadata {
|
|
466
479
|
contents?: PluginMarketplaceContribution[];
|
|
467
480
|
category?: PluginMarketplaceCategory;
|
|
@@ -650,6 +663,10 @@ export interface PluginMarketplaceItemSource {
|
|
|
650
663
|
packageName?: string | null;
|
|
651
664
|
}
|
|
652
665
|
export interface PluginMarketplaceItem {
|
|
666
|
+
/** A card projection; fetch the plugin endpoint before displaying full contents/actions. */
|
|
667
|
+
summary?: boolean;
|
|
668
|
+
/** Content hash of an embedded icon served by the authenticated marketplace assets endpoint. */
|
|
669
|
+
iconAsset?: string;
|
|
653
670
|
name: string;
|
|
654
671
|
packageName?: string | null;
|
|
655
672
|
displayName?: I18nObject | string;
|
|
@@ -913,6 +930,8 @@ export interface PluginResourceInstallXpertInput {
|
|
|
913
930
|
}
|
|
914
931
|
export interface XpertTemplateInstallInput {
|
|
915
932
|
workspaceId: string;
|
|
933
|
+
/** Optional Assistant capability IDs selected for this installation. */
|
|
934
|
+
capabilities?: string[];
|
|
916
935
|
basic?: {
|
|
917
936
|
name?: string;
|
|
918
937
|
title?: string;
|
|
@@ -12,7 +12,7 @@ export interface ITag extends IBasePerTenantAndOrganizationEntityModel {
|
|
|
12
12
|
isActive?: boolean;
|
|
13
13
|
isSystem?: boolean;
|
|
14
14
|
}
|
|
15
|
-
export type TagTarget = TagCategoryEnum | 'knowledgebase' | 'people' | 'integration';
|
|
15
|
+
export type TagTarget = TagCategoryEnum | 'knowledgebase' | 'prompt_workflow' | 'people' | 'integration';
|
|
16
16
|
export declare function getTagTargets(tag: ITag): TagTarget[];
|
|
17
17
|
export interface ITagUsage {
|
|
18
18
|
target: TagTarget;
|
|
@@ -134,8 +134,18 @@ export interface XpertViewActivation {
|
|
|
134
134
|
requiredFeatures?: string[];
|
|
135
135
|
}
|
|
136
136
|
export interface XpertWorkbenchViewOptions {
|
|
137
|
+
/**
|
|
138
|
+
* @deprecated Use the manifest's `visible` field for visibility and `openMode`
|
|
139
|
+
* for initial tab behavior. Retained for compatibility; false hides the view.
|
|
140
|
+
*/
|
|
137
141
|
fixed?: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Initial tab behavior; defaults to auto. On-demand views open through a
|
|
144
|
+
* menu, navigation or live Agent request. This does not grant view access.
|
|
145
|
+
*/
|
|
146
|
+
openMode?: 'auto' | 'on-demand';
|
|
138
147
|
menu?: {
|
|
148
|
+
/** Controls the manual entry only; does not disable the view or navigation. */
|
|
139
149
|
enabled?: boolean;
|
|
140
150
|
label?: string | I18nObject;
|
|
141
151
|
order?: number;
|
|
@@ -326,8 +336,12 @@ export declare const ASSISTANT_CHAT_SEND_MESSAGE_COMMAND = "assistant.chat.send_
|
|
|
326
336
|
export declare const ASSISTANT_CONTEXT_SET_COMMAND = "assistant.context.set";
|
|
327
337
|
export declare const WORKBENCH_FILE_OPEN_COMMAND = "workbench.file.open";
|
|
328
338
|
export declare const WORKBENCH_NAVIGATION_OPEN_COMMAND = "workbench.navigation.open";
|
|
339
|
+
export declare const WORKBENCH_AGENT_EVOLUTION_TARGET = "agent-evolution.target";
|
|
340
|
+
export declare const WORKBENCH_AGENT_EVOLUTION_CHANGE_TARGET = "agent-evolution.change";
|
|
329
341
|
export declare const WORKBENCH_KNOWLEDGEBASE_DOCUMENTS_TARGET = "knowledgebase.documents";
|
|
330
342
|
export declare const WORKBENCH_ASSISTANT_CONVERSATION_TARGET = "assistant.conversation";
|
|
343
|
+
/** Inspect an exact execution; embedded clients may open it without changing the active conversation. */
|
|
344
|
+
export declare const WORKBENCH_ASSISTANT_EXECUTION_TARGET = "assistant.execution";
|
|
331
345
|
/** Opens the current Assistant inside a Project-scoped workbench route. */
|
|
332
346
|
export declare const WORKBENCH_ASSISTANT_PROJECT_TARGET = "assistant.project";
|
|
333
347
|
export declare const WORKBENCH_EXTENSION_VIEW_TARGET = "workbench.view";
|
|
@@ -368,9 +382,12 @@ export interface WorkbenchOpenFile {
|
|
|
368
382
|
previewUrl?: string;
|
|
369
383
|
evidence?: WorkbenchOpenFileEvidence;
|
|
370
384
|
}
|
|
371
|
-
export type WorkbenchNavigationOpenTarget = typeof WORKBENCH_KNOWLEDGEBASE_DOCUMENTS_TARGET | typeof WORKBENCH_ASSISTANT_CONVERSATION_TARGET | typeof WORKBENCH_ASSISTANT_PROJECT_TARGET | typeof WORKBENCH_EXTENSION_VIEW_TARGET;
|
|
385
|
+
export type WorkbenchNavigationOpenTarget = typeof WORKBENCH_AGENT_EVOLUTION_TARGET | typeof WORKBENCH_AGENT_EVOLUTION_CHANGE_TARGET | typeof WORKBENCH_KNOWLEDGEBASE_DOCUMENTS_TARGET | typeof WORKBENCH_ASSISTANT_CONVERSATION_TARGET | typeof WORKBENCH_ASSISTANT_EXECUTION_TARGET | typeof WORKBENCH_ASSISTANT_PROJECT_TARGET | typeof WORKBENCH_EXTENSION_VIEW_TARGET;
|
|
372
386
|
export interface WorkbenchNavigationOpenPayload {
|
|
373
387
|
target: WorkbenchNavigationOpenTarget;
|
|
388
|
+
targetId?: string;
|
|
389
|
+
/** Exact evolution request to select on the existing evaluation page. */
|
|
390
|
+
changeId?: string;
|
|
374
391
|
knowledgebaseId?: string;
|
|
375
392
|
documentId?: string;
|
|
376
393
|
parentId?: string;
|
|
@@ -413,6 +430,8 @@ export interface WorkbenchAssistantConversationResolution {
|
|
|
413
430
|
export interface WorkbenchAssistantProjectOpenRequest {
|
|
414
431
|
/** Trusted platform Chat Project id; this is distinct from plugin business ids. */
|
|
415
432
|
projectId: string;
|
|
433
|
+
/** Open a business selection atomically with the Project route. */
|
|
434
|
+
view?: WorkbenchExtensionViewOpenRequest;
|
|
416
435
|
}
|
|
417
436
|
export interface WorkbenchExtensionViewOpenRequest {
|
|
418
437
|
viewKey: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WorkbenchExtensionViewOpenRequest } from './model';
|
|
2
|
+
/** Live-only UI request. Project scope is mandatory; history playback must not reopen Views. */
|
|
3
|
+
export declare const WORKBENCH_VIEW_OPEN_EVENT = "workbench.view.open";
|
|
4
|
+
export interface WorkbenchViewOpenEvent extends WorkbenchExtensionViewOpenRequest {
|
|
5
|
+
type: typeof WORKBENCH_VIEW_OPEN_EVENT;
|
|
6
|
+
projectId: string;
|
|
7
|
+
conversationId?: string;
|
|
8
|
+
}
|
|
9
|
+
/** Parse the public lg.chat.event boundary, keeping arbitrary logs out of navigation. */
|
|
10
|
+
export declare function parseWorkbenchViewOpenEvent(value: unknown): WorkbenchViewOpenEvent | null;
|