@xenosystem/agent-sdk 0.9.21 → 0.9.24
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/README.md +18 -8
- package/dist/artifacts/index.cjs +1 -1
- package/dist/artifacts/index.js +1 -1
- package/dist/automation/index.cjs +16 -3
- package/dist/automation/index.d.cts +367 -1
- package/dist/automation/index.d.ts +367 -1
- package/dist/automation/index.js +16 -3
- package/dist/automation/metafile-cjs.json +1 -1
- package/dist/automation/metafile-esm.json +1 -1
- package/dist/control-plane/index.cjs +1 -1
- package/dist/control-plane/index.js +1 -1
- package/dist/control-room/index.d.cts +1 -1
- package/dist/control-room/index.d.ts +1 -1
- package/dist/control-room/metafile-cjs.json +1 -1
- package/dist/control-room/metafile-esm.json +1 -1
- package/dist/coordination/index.cjs +2 -0
- package/dist/coordination/index.d.cts +395 -0
- package/dist/coordination/index.d.ts +395 -0
- package/dist/coordination/index.js +2 -0
- package/dist/coordination/metafile-cjs.json +1 -0
- package/dist/coordination/metafile-esm.json +1 -0
- package/dist/electron/index.cjs +123 -119
- package/dist/electron/index.d.cts +61 -0
- package/dist/electron/index.d.ts +61 -0
- package/dist/electron/index.js +118 -114
- package/dist/electron/metafile-cjs.json +1 -1
- package/dist/electron/metafile-esm.json +1 -1
- package/dist/governance/index.d.cts +29 -0
- package/dist/governance/index.d.ts +29 -0
- package/dist/hosted/index.cjs +1 -1
- package/dist/hosted/index.js +1 -1
- package/dist/hosted/metafile-cjs.json +1 -1
- package/dist/hosted/metafile-esm.json +1 -1
- package/dist/index.cjs +359 -351
- package/dist/index.d.cts +1964 -1254
- package/dist/index.d.ts +1964 -1254
- package/dist/index.js +359 -351
- package/dist/mcp/index.d.cts +28 -0
- package/dist/mcp/index.d.ts +28 -0
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/providers/metafile-cjs.json +1 -1
- package/dist/providers/metafile-esm.json +1 -1
- package/dist/session/index.cjs +56 -54
- package/dist/session/index.d.cts +69 -1
- package/dist/session/index.d.ts +69 -1
- package/dist/session/index.js +56 -54
- package/dist/session/metafile-cjs.json +1 -1
- package/dist/session/metafile-esm.json +1 -1
- package/dist/skills/index.d.cts +28 -0
- package/dist/skills/index.d.ts +28 -0
- package/dist/ui/index.d.cts +28 -0
- package/dist/ui/index.d.ts +28 -0
- package/dist/utils/index.cjs +17 -16
- package/dist/utils/index.d.cts +31 -1
- package/dist/utils/index.d.ts +31 -1
- package/dist/utils/index.js +14 -13
- package/dist/utils/metafile-cjs.json +1 -1
- package/dist/utils/metafile-esm.json +1 -1
- package/package.json +6 -1
package/dist/index.d.ts
CHANGED
|
@@ -72,6 +72,131 @@ declare function estimateFullRequestBudget(input: {
|
|
|
72
72
|
legacyEstimator?: TokenEstimator;
|
|
73
73
|
}): RequestBudgetBreakdown;
|
|
74
74
|
declare function buildAtomicMessageGroups(messages: Message[], keepRecentMessages: number): AtomicMessageGroup[];
|
|
75
|
+
declare const WEB_CONTEXT_TOOL_RESULT_SCHEMA: "xeno.web-context.tool-result.v1";
|
|
76
|
+
declare const WEB_CONTEXT_CONTRACT_VERSION: "1.0.0";
|
|
77
|
+
interface WebContextRequestBase {
|
|
78
|
+
contractVersion: typeof WEB_CONTEXT_CONTRACT_VERSION;
|
|
79
|
+
requestId: string;
|
|
80
|
+
actor: {
|
|
81
|
+
id: string;
|
|
82
|
+
kind: "human" | "agent" | "service";
|
|
83
|
+
};
|
|
84
|
+
purpose: string;
|
|
85
|
+
classification: "public" | "authenticated-local" | "private-local";
|
|
86
|
+
scope: {
|
|
87
|
+
kind: "tenant";
|
|
88
|
+
tenantId: string;
|
|
89
|
+
} | {
|
|
90
|
+
kind: "workspace";
|
|
91
|
+
workspaceId: string;
|
|
92
|
+
} | {
|
|
93
|
+
kind: "local-profile";
|
|
94
|
+
profileId: string;
|
|
95
|
+
};
|
|
96
|
+
budget: {
|
|
97
|
+
deadline: string;
|
|
98
|
+
maxAttempts: number;
|
|
99
|
+
maxConcurrency: number;
|
|
100
|
+
maxBytes: number;
|
|
101
|
+
maxPages: number;
|
|
102
|
+
maxDurationMs: number;
|
|
103
|
+
maxRedirects: number;
|
|
104
|
+
maxProviderCostUsd: number;
|
|
105
|
+
};
|
|
106
|
+
policyContext: {
|
|
107
|
+
allowedDomains?: string[];
|
|
108
|
+
deniedDomains?: string[];
|
|
109
|
+
allowedPorts?: number[];
|
|
110
|
+
allowedMediaTypes?: string[];
|
|
111
|
+
};
|
|
112
|
+
idempotencyKey?: string;
|
|
113
|
+
}
|
|
114
|
+
interface WebContextEvidenceProjection {
|
|
115
|
+
evidenceId: string;
|
|
116
|
+
requestId: string;
|
|
117
|
+
sourceUrl: string;
|
|
118
|
+
finalUrl?: string;
|
|
119
|
+
citations: Array<{
|
|
120
|
+
url: string;
|
|
121
|
+
title?: string;
|
|
122
|
+
artifactId?: string;
|
|
123
|
+
}>;
|
|
124
|
+
}
|
|
125
|
+
interface WebContextToolResult {
|
|
126
|
+
schemaVersion: typeof WEB_CONTEXT_TOOL_RESULT_SCHEMA;
|
|
127
|
+
operation: "search" | "fetch";
|
|
128
|
+
requestId: string;
|
|
129
|
+
evidence: WebContextEvidenceProjection;
|
|
130
|
+
job?: {
|
|
131
|
+
jobId: string;
|
|
132
|
+
state: string;
|
|
133
|
+
};
|
|
134
|
+
artifact?: {
|
|
135
|
+
artifactId: string;
|
|
136
|
+
mediaType: string;
|
|
137
|
+
bytes: number;
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
interface WebContextClientPort {
|
|
141
|
+
search(request: WebContextRequestBase & {
|
|
142
|
+
query: string;
|
|
143
|
+
resultHandling: "transient" | "persist";
|
|
144
|
+
count?: number;
|
|
145
|
+
}): Promise<{
|
|
146
|
+
requestId: string;
|
|
147
|
+
terminalReason: string;
|
|
148
|
+
items: Array<{
|
|
149
|
+
url: string;
|
|
150
|
+
title: string;
|
|
151
|
+
description?: string;
|
|
152
|
+
rank: number;
|
|
153
|
+
provider: string;
|
|
154
|
+
}>;
|
|
155
|
+
evidence: WebContextEvidenceProjection;
|
|
156
|
+
}>;
|
|
157
|
+
scrapeAndWait(request: WebContextRequestBase & {
|
|
158
|
+
url: string;
|
|
159
|
+
format?: "text" | "markdown";
|
|
160
|
+
}, options?: {
|
|
161
|
+
timeoutMs?: number;
|
|
162
|
+
pollMs?: number;
|
|
163
|
+
signal?: AbortSignal;
|
|
164
|
+
}): Promise<{
|
|
165
|
+
job: {
|
|
166
|
+
jobId: string;
|
|
167
|
+
state: string;
|
|
168
|
+
};
|
|
169
|
+
item: {
|
|
170
|
+
evidenceId?: string;
|
|
171
|
+
result?: Record<string, unknown>;
|
|
172
|
+
} & Record<string, unknown>;
|
|
173
|
+
artifact: {
|
|
174
|
+
artifactId: string;
|
|
175
|
+
mediaType: string;
|
|
176
|
+
bytes: Uint8Array;
|
|
177
|
+
};
|
|
178
|
+
text: string;
|
|
179
|
+
}>;
|
|
180
|
+
}
|
|
181
|
+
type WebContextRequestFactory = (operation: "search" | "fetch", input: Readonly<Record<string, unknown>>) => WebContextRequestBase;
|
|
182
|
+
interface WebContextToolOptions {
|
|
183
|
+
client: WebContextClientPort;
|
|
184
|
+
createRequest: WebContextRequestFactory;
|
|
185
|
+
fetchTimeoutMs?: number;
|
|
186
|
+
}
|
|
187
|
+
interface DefaultWebContextRequestFactoryOptions {
|
|
188
|
+
actor: WebContextRequestBase["actor"];
|
|
189
|
+
scope: WebContextRequestBase["scope"];
|
|
190
|
+
classification?: WebContextRequestBase["classification"];
|
|
191
|
+
purposePrefix?: string;
|
|
192
|
+
policyContext?: WebContextRequestBase["policyContext"];
|
|
193
|
+
budget?: Partial<Omit<WebContextRequestBase["budget"], "deadline">> & {
|
|
194
|
+
durationMs?: number;
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
declare function createWebContextRequestFactory(options: DefaultWebContextRequestFactoryOptions): WebContextRequestFactory;
|
|
198
|
+
declare function createWebContextSearchTool(options: WebContextToolOptions): RegisteredTool;
|
|
199
|
+
declare function createWebContextFetchTool(options: WebContextToolOptions): RegisteredTool;
|
|
75
200
|
type PermissionProfileName = "default" | "read-only" | "trusted-dev";
|
|
76
201
|
type PermissionProfileDecision = "allow" | "ask" | "deny";
|
|
77
202
|
type PermissionProfileMode = "default" | "acceptEdits" | "bypassPermissions" | "auto";
|
|
@@ -240,6 +365,7 @@ interface ToolResult {
|
|
|
240
365
|
assistantOnlyContent?: ToolAssistantContentBlock[];
|
|
241
366
|
operation?: ToolOperationSnapshot;
|
|
242
367
|
evidence?: ToolEvidence[];
|
|
368
|
+
webContext?: WebContextToolResult;
|
|
243
369
|
retryable?: boolean;
|
|
244
370
|
}
|
|
245
371
|
interface ToolExecutionContext {
|
|
@@ -283,6 +409,7 @@ interface ToolResultBlock {
|
|
|
283
409
|
is_error?: boolean;
|
|
284
410
|
operation?: ToolOperationSnapshot;
|
|
285
411
|
evidence?: ToolEvidence[];
|
|
412
|
+
web_context?: WebContextToolResult;
|
|
286
413
|
retryable?: boolean;
|
|
287
414
|
}
|
|
288
415
|
type ContentBlock = TextBlock | ToolUseBlock;
|
|
@@ -532,6 +659,7 @@ interface ContextCompressedData {
|
|
|
532
659
|
messagesRemoved: number;
|
|
533
660
|
tokensSaved: number;
|
|
534
661
|
compaction?: CompactionRecord;
|
|
662
|
+
activeContextMessages?: Message[];
|
|
535
663
|
}
|
|
536
664
|
interface SessionEndData {
|
|
537
665
|
reason: "user_exit" | "error" | "completed";
|
|
@@ -644,7 +772,7 @@ interface PolicyEnforcerConfig {
|
|
|
644
772
|
};
|
|
645
773
|
}
|
|
646
774
|
type AgentSandbox = PolicyEnforcerConfig;
|
|
647
|
-
declare const SDK_VERSION = "0.9.
|
|
775
|
+
declare const SDK_VERSION = "0.9.24";
|
|
648
776
|
type AuditRiskLevel = "none" | "low" | "medium" | "high" | "critical";
|
|
649
777
|
type AuditDecision = "allow" | "ask" | "deny";
|
|
650
778
|
type AuditStatus = "ok" | "error";
|
|
@@ -2078,326 +2206,762 @@ declare class XenoLoopbackAutomationAdapter implements XenoAutomationAdapter {
|
|
|
2078
2206
|
stop(operationId: string, reason: string): Promise<void>;
|
|
2079
2207
|
private request;
|
|
2080
2208
|
}
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2209
|
+
declare const XENO_BROWSER_CONTROL_PLANE_OPERATIONS: readonly [
|
|
2210
|
+
"browser.navigate",
|
|
2211
|
+
"browser.back",
|
|
2212
|
+
"browser.forward",
|
|
2213
|
+
"browser.reload",
|
|
2214
|
+
"browser.wait",
|
|
2215
|
+
"browser.snapshot",
|
|
2216
|
+
"browser.screenshot",
|
|
2217
|
+
"browser.locate",
|
|
2218
|
+
"browser.tabs.list",
|
|
2219
|
+
"browser.tabs.open",
|
|
2220
|
+
"browser.console.read",
|
|
2221
|
+
"browser.network.read",
|
|
2222
|
+
"browser.storage.read",
|
|
2223
|
+
"browser.page-errors.read",
|
|
2224
|
+
"browser.click",
|
|
2225
|
+
"browser.type",
|
|
2226
|
+
"browser.key",
|
|
2227
|
+
"browser.select",
|
|
2228
|
+
"browser.scroll",
|
|
2229
|
+
"browser.tabs.close",
|
|
2230
|
+
"browser.upload",
|
|
2231
|
+
"browser.download"
|
|
2232
|
+
];
|
|
2233
|
+
interface XenoBrowserControlPlaneAdapterOptions {
|
|
2234
|
+
baseUrl: string;
|
|
2235
|
+
token: string;
|
|
2236
|
+
driver: "browser" | "extension";
|
|
2237
|
+
fetch?: typeof globalThis.fetch;
|
|
2238
|
+
timeoutMs?: number;
|
|
2095
2239
|
}
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2240
|
+
declare class XenoBrowserControlPlaneAdapter implements XenoAutomationAdapter {
|
|
2241
|
+
private readonly options;
|
|
2242
|
+
private readonly base;
|
|
2243
|
+
private readonly fetchImpl;
|
|
2244
|
+
private readonly timeoutMs;
|
|
2245
|
+
constructor(options: XenoBrowserControlPlaneAdapterOptions);
|
|
2246
|
+
manifest(): Promise<XenoAutomationAdapterManifest>;
|
|
2247
|
+
preflight(request: XenoAutomationRequest, signal: AbortSignal): Promise<XenoAutomationPreflight>;
|
|
2248
|
+
execute(request: XenoAutomationRequest, preflight: XenoAutomationPreflight, _grant: XenoAutomationExecutionGrant, signal: AbortSignal): Promise<XenoAutomationAdapterExecutionResult>;
|
|
2249
|
+
stop(_operationId: string, _reason: string): Promise<void>;
|
|
2250
|
+
private resultEvidence;
|
|
2251
|
+
private snapshotEvidence;
|
|
2252
|
+
private call;
|
|
2099
2253
|
}
|
|
2100
|
-
|
|
2101
|
-
|
|
2254
|
+
interface MemoryFile {
|
|
2255
|
+
level: MemoryLevel;
|
|
2102
2256
|
path: string;
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
declare class XenoArtifactValidationError extends Error {
|
|
2107
|
-
readonly code = "ARTIFACT_INVALID";
|
|
2108
|
-
readonly issues: XenoArtifactValidationIssue[];
|
|
2109
|
-
constructor(message: string, issues: XenoArtifactValidationIssue[]);
|
|
2110
|
-
}
|
|
2111
|
-
declare class XenoArtifactStateTransitionError extends Error {
|
|
2112
|
-
readonly fromState: XenoArtifactState;
|
|
2113
|
-
readonly toState: XenoArtifactState;
|
|
2114
|
-
readonly code = "ARTIFACT_STATE_TRANSITION_INVALID";
|
|
2115
|
-
constructor(fromState: XenoArtifactState, toState: XenoArtifactState);
|
|
2257
|
+
content: string;
|
|
2258
|
+
tokenCount: number;
|
|
2259
|
+
lastModified?: Date;
|
|
2116
2260
|
}
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
declare function summarizeXenoArtifactReview(events: readonly XenoArtifactReviewEvent[]): XenoArtifactReviewSummary;
|
|
2123
|
-
declare function sha256ArtifactBytes(content: Uint8Array | string): XenoContentHash;
|
|
2124
|
-
declare function canonicalizeArtifactJson(value: XenoJsonValue): string;
|
|
2125
|
-
declare function sha256ArtifactJson(value: XenoJsonValue): XenoContentHash;
|
|
2126
|
-
declare class XenoEvidenceGraphValidationError extends Error {
|
|
2127
|
-
readonly code = "EVIDENCE_GRAPH_INVALID";
|
|
2128
|
-
readonly issues: XenoArtifactValidationIssue[];
|
|
2129
|
-
constructor(issues: XenoArtifactValidationIssue[]);
|
|
2261
|
+
interface ResolvedMemory {
|
|
2262
|
+
files: MemoryFile[];
|
|
2263
|
+
byLevel: Record<MemoryLevel, string>;
|
|
2264
|
+
totalTokens: number;
|
|
2265
|
+
truncated: boolean;
|
|
2130
2266
|
}
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2267
|
+
interface ProjectSessionContextEntry {
|
|
2268
|
+
sessionId: string;
|
|
2269
|
+
model: string;
|
|
2270
|
+
lastActivity: string;
|
|
2271
|
+
messageCount: number;
|
|
2272
|
+
excerpt: string;
|
|
2136
2273
|
}
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
addEdge(edge: XenoEvidenceEdge): this;
|
|
2143
|
-
build(): XenoEvidenceGraph;
|
|
2144
|
-
private touch;
|
|
2274
|
+
interface ProjectSessionContext {
|
|
2275
|
+
entries: ProjectSessionContextEntry[];
|
|
2276
|
+
totalTokens: number;
|
|
2277
|
+
truncated: boolean;
|
|
2278
|
+
content: string;
|
|
2145
2279
|
}
|
|
2146
|
-
declare const
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2280
|
+
declare const DEFAULT_MEMORY_BUDGETS: MemoryBudget;
|
|
2281
|
+
declare const MEMORY_FILES: Record<MemoryLevel, string>;
|
|
2282
|
+
interface MemoryManagerOptions {
|
|
2283
|
+
cwd: string;
|
|
2284
|
+
globalDir?: string;
|
|
2285
|
+
role?: string;
|
|
2286
|
+
sessionDir?: string;
|
|
2287
|
+
scope?: MemoryAccessScope;
|
|
2288
|
+
budgets?: Partial<MemoryBudget>;
|
|
2289
|
+
projectSessionContext?: {
|
|
2290
|
+
limit?: number;
|
|
2291
|
+
maxTokens?: number;
|
|
2292
|
+
maxCharsPerSession?: number;
|
|
2293
|
+
};
|
|
2153
2294
|
}
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2295
|
+
type MemoryAccessScope = "none" | "session" | "project" | "user";
|
|
2296
|
+
declare class MemoryManager {
|
|
2297
|
+
private cwd;
|
|
2298
|
+
private globalDir;
|
|
2299
|
+
private role?;
|
|
2300
|
+
private sessionDir?;
|
|
2301
|
+
private scope;
|
|
2302
|
+
private budgets;
|
|
2303
|
+
private projectSessionContextDefaults;
|
|
2304
|
+
constructor(options: MemoryManagerOptions);
|
|
2305
|
+
get accessScope(): MemoryAccessScope;
|
|
2306
|
+
canAccessLevel(level: MemoryLevel): boolean;
|
|
2307
|
+
private assertLevelAccess;
|
|
2308
|
+
getProjectSessionContextDefaults(): {
|
|
2309
|
+
limit: number;
|
|
2310
|
+
maxTokens: number;
|
|
2311
|
+
maxCharsPerSession: number;
|
|
2158
2312
|
};
|
|
2313
|
+
getPath(level: MemoryLevel): string;
|
|
2314
|
+
loadForPrompt(): Promise<ResolvedMemory>;
|
|
2315
|
+
loadProjectSessionContext(options?: {
|
|
2316
|
+
excludeSessionId?: string;
|
|
2317
|
+
limit?: number;
|
|
2318
|
+
maxTokens?: number;
|
|
2319
|
+
maxCharsPerSession?: number;
|
|
2320
|
+
}): Promise<ProjectSessionContext>;
|
|
2321
|
+
private filterProjectSessions;
|
|
2322
|
+
private normalizePath;
|
|
2323
|
+
private extractRecentTranscriptExcerpt;
|
|
2324
|
+
private formatProjectSessionEntry;
|
|
2325
|
+
add(level: MemoryLevel, content: string, source: "user" | "auto"): Promise<void>;
|
|
2326
|
+
set(level: MemoryLevel, content: string): Promise<void>;
|
|
2327
|
+
formatForPrompt(memory: ResolvedMemory): string;
|
|
2328
|
+
private truncateContent;
|
|
2159
2329
|
}
|
|
2160
|
-
interface
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2330
|
+
interface AutoMemoryContext {
|
|
2331
|
+
error?: string;
|
|
2332
|
+
correction?: string;
|
|
2333
|
+
taskCompleted?: boolean;
|
|
2334
|
+
userPreference?: string;
|
|
2164
2335
|
}
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2336
|
+
declare class AutoMemory {
|
|
2337
|
+
private manager;
|
|
2338
|
+
private recentErrors;
|
|
2339
|
+
constructor(manager: MemoryManager);
|
|
2340
|
+
shouldTrigger(context: AutoMemoryContext): AutoMemoryTrigger | null;
|
|
2341
|
+
extract(trigger: AutoMemoryTrigger, messages: Message[]): Promise<string | null>;
|
|
2342
|
+
private extractErrorCorrection;
|
|
2343
|
+
private extractPattern;
|
|
2344
|
+
private extractPreference;
|
|
2345
|
+
private extractTaskSummary;
|
|
2346
|
+
private messagesToText;
|
|
2347
|
+
private normalizeError;
|
|
2173
2348
|
}
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
private readonly now;
|
|
2180
|
-
private readonly lockTimeoutMs;
|
|
2181
|
-
private readonly lockRetryMs;
|
|
2182
|
-
private readonly maxSnapshotBytes;
|
|
2183
|
-
private readonly onRecovery?;
|
|
2184
|
-
private mutationTail;
|
|
2185
|
-
constructor(options: FileXenoArtifactRepositoryOptions);
|
|
2186
|
-
create(artifact: XenoArtifactEnvelope): Promise<XenoArtifactRecord>;
|
|
2187
|
-
createRevision(artifact: XenoArtifactEnvelope, options?: XenoArtifactRevisionOptions): Promise<XenoArtifactRecord>;
|
|
2188
|
-
get(artifactId: string, revision?: number): Promise<XenoArtifactRecord | undefined>;
|
|
2189
|
-
require(artifactId: string, revision?: number): Promise<XenoArtifactRecord>;
|
|
2190
|
-
list(query?: XenoArtifactListQuery): Promise<XenoArtifactRecord[]>;
|
|
2191
|
-
listRevisions(artifactId: string): Promise<XenoArtifactRecord[]>;
|
|
2192
|
-
transition(request: XenoArtifactTransitionRequest): Promise<XenoArtifactRecord>;
|
|
2193
|
-
appendReviewEvent(request: XenoArtifactAppendReviewRequest): Promise<XenoArtifactRecord>;
|
|
2194
|
-
inspectSnapshot(): Promise<XenoArtifactFileSnapshot | undefined>;
|
|
2195
|
-
private mutate;
|
|
2196
|
-
private enqueueMutation;
|
|
2197
|
-
private acquireLock;
|
|
2198
|
-
private load;
|
|
2199
|
-
private persist;
|
|
2200
|
-
private readSnapshot;
|
|
2349
|
+
interface VectorDocument {
|
|
2350
|
+
id: string;
|
|
2351
|
+
content: string;
|
|
2352
|
+
embedding: number[];
|
|
2353
|
+
metadata: Record<string, unknown>;
|
|
2201
2354
|
}
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
text: string;
|
|
2208
|
-
oldLine?: number;
|
|
2209
|
-
newLine?: number;
|
|
2355
|
+
interface VectorSearchResult {
|
|
2356
|
+
id: string;
|
|
2357
|
+
content: string;
|
|
2358
|
+
score: number;
|
|
2359
|
+
metadata: Record<string, unknown>;
|
|
2210
2360
|
}
|
|
2211
|
-
interface
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
oldStart: number;
|
|
2216
|
-
oldLines: number;
|
|
2217
|
-
newStart: number;
|
|
2218
|
-
newLines: number;
|
|
2219
|
-
additions: number;
|
|
2220
|
-
deletions: number;
|
|
2221
|
-
lines: XenoDiffLine[];
|
|
2222
|
-
}
|
|
2223
|
-
interface XenoDiffFile {
|
|
2224
|
-
oldPath?: string;
|
|
2225
|
-
newPath?: string;
|
|
2226
|
-
displayPath: string;
|
|
2227
|
-
status: XenoDiffFileStatus;
|
|
2228
|
-
additions: number;
|
|
2229
|
-
deletions: number;
|
|
2230
|
-
binary: boolean;
|
|
2231
|
-
headerLines: string[];
|
|
2232
|
-
hunks: XenoDiffHunk[];
|
|
2233
|
-
}
|
|
2234
|
-
interface XenoDiffDocument {
|
|
2235
|
-
schemaVersion: 1;
|
|
2236
|
-
mode: XenoDiffMode;
|
|
2237
|
-
repositoryId?: string;
|
|
2238
|
-
baseRef?: string;
|
|
2239
|
-
headRef?: string;
|
|
2240
|
-
files: XenoDiffFile[];
|
|
2241
|
-
additions: number;
|
|
2242
|
-
deletions: number;
|
|
2243
|
-
rawDiff: string;
|
|
2361
|
+
interface VectorStoreOptions {
|
|
2362
|
+
maxDocuments?: number;
|
|
2363
|
+
embeddingDimension?: number;
|
|
2364
|
+
embedFn?: (text: string) => Promise<number[]>;
|
|
2244
2365
|
}
|
|
2245
|
-
interface
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
maxLines?: number;
|
|
2366
|
+
interface VectorStoreAdapter {
|
|
2367
|
+
add(id: string, embedding: number[], metadata: Record<string, unknown>): Promise<void>;
|
|
2368
|
+
search(query: number[], topK: number): Promise<Array<{
|
|
2369
|
+
id: string;
|
|
2370
|
+
score: number;
|
|
2371
|
+
}>>;
|
|
2372
|
+
remove(id: string): Promise<void>;
|
|
2373
|
+
readonly size: number;
|
|
2254
2374
|
}
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
headRef?: string;
|
|
2375
|
+
declare class VectorMemoryStore {
|
|
2376
|
+
private documents;
|
|
2377
|
+
private insertionOrder;
|
|
2378
|
+
private maxDocuments;
|
|
2379
|
+
private embedder;
|
|
2380
|
+
private customEmbedFn?;
|
|
2381
|
+
constructor(options?: VectorStoreOptions);
|
|
2382
|
+
addDocument(id: string, content: string, metadata?: Record<string, unknown>): Promise<void>;
|
|
2383
|
+
search(query: string, topK?: number, minScore?: number): Promise<VectorSearchResult[]>;
|
|
2384
|
+
removeDocument(id: string): boolean;
|
|
2385
|
+
getDocument(id: string): VectorDocument | undefined;
|
|
2386
|
+
get size(): number;
|
|
2387
|
+
clear(): void;
|
|
2388
|
+
exportDocuments(): VectorDocument[];
|
|
2389
|
+
importDocuments(docs: VectorDocument[]): void;
|
|
2271
2390
|
}
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2391
|
+
interface AskUserRequest {
|
|
2392
|
+
question: string;
|
|
2393
|
+
options?: string[];
|
|
2394
|
+
context?: string;
|
|
2276
2395
|
}
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
interface XenoArtifactReviewServiceOptions {
|
|
2281
|
-
repository: XenoArtifactRepository;
|
|
2282
|
-
actor: XenoArtifactActor;
|
|
2283
|
-
idFactory?: () => string;
|
|
2396
|
+
interface AskUserResponse {
|
|
2397
|
+
answer: string;
|
|
2398
|
+
selectedOption?: string;
|
|
2284
2399
|
}
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2400
|
+
type AskUserHandler = (request: AskUserRequest) => Promise<AskUserResponse>;
|
|
2401
|
+
interface DispatchAgentRequest {
|
|
2402
|
+
agent?: string;
|
|
2403
|
+
prompt: string;
|
|
2404
|
+
timeoutMs?: number;
|
|
2405
|
+
signal?: AbortSignal;
|
|
2289
2406
|
}
|
|
2290
|
-
interface
|
|
2291
|
-
|
|
2292
|
-
revision?: number;
|
|
2293
|
-
body: string;
|
|
2294
|
-
parentCommentId?: string;
|
|
2407
|
+
interface DispatchAgentResponse {
|
|
2408
|
+
output: string;
|
|
2295
2409
|
}
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2410
|
+
type DispatchAgentHandler = (request: DispatchAgentRequest) => Promise<DispatchAgentResponse>;
|
|
2411
|
+
interface FileObservation {
|
|
2412
|
+
path: string;
|
|
2413
|
+
mtimeMs: number;
|
|
2414
|
+
size: number;
|
|
2415
|
+
source: "read" | "write" | "edit" | "notebook" | "shell";
|
|
2416
|
+
requiresRefresh?: boolean;
|
|
2301
2417
|
reason?: string;
|
|
2302
2418
|
}
|
|
2303
|
-
interface
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
setCommentResolution(request: SetXenoArtifactCommentResolutionRequest): Promise<XenoArtifactRecord>;
|
|
2316
|
-
decide(request: DecideXenoArtifactRequest): Promise<XenoArtifactRecord>;
|
|
2317
|
-
}
|
|
2318
|
-
declare function buildXenoArtifactReviewAnchor(record: XenoArtifactRecord, input: XenoArtifactReviewAnchorInput): XenoArtifactAnchor | undefined;
|
|
2319
|
-
declare function normalizeRepositoryRelativePath(value: string): string;
|
|
2320
|
-
declare const XENO_SPEC_SCHEMA_VERSION: "xeno.spec.v1";
|
|
2321
|
-
declare const XENO_SPEC_EXECUTION_SCHEMA_VERSION: "xeno.spec-execution.v1";
|
|
2322
|
-
type XenoSpecPriority = "must" | "should" | "could";
|
|
2323
|
-
type XenoSpecTaskStatus = "pending" | "in_progress" | "completed" | "blocked" | "skipped";
|
|
2324
|
-
type XenoSpecExecutionState = "ready" | "running" | "completed" | "failed" | "cancelled";
|
|
2325
|
-
interface XenoSpecAcceptanceCriterion {
|
|
2326
|
-
id: string;
|
|
2327
|
-
text: string;
|
|
2328
|
-
requiredEvidenceKinds?: string[];
|
|
2329
|
-
}
|
|
2330
|
-
interface XenoSpecRequirement {
|
|
2331
|
-
id: string;
|
|
2332
|
-
text: string;
|
|
2333
|
-
priority: XenoSpecPriority;
|
|
2334
|
-
acceptanceCriteria: XenoSpecAcceptanceCriterion[];
|
|
2335
|
-
sourceReferences?: XenoEvidenceReference[];
|
|
2336
|
-
}
|
|
2337
|
-
interface XenoSpecDesignDecision {
|
|
2338
|
-
id: string;
|
|
2339
|
-
decision: string;
|
|
2340
|
-
rationale: string;
|
|
2341
|
-
alternatives?: string[];
|
|
2342
|
-
requirementIds?: string[];
|
|
2419
|
+
interface ToolRuntimeContext {
|
|
2420
|
+
getCwd(): string;
|
|
2421
|
+
setCwd(nextCwd: string): void;
|
|
2422
|
+
getOwnerSessionId(): string | undefined;
|
|
2423
|
+
getMemoryManager(): MemoryManager | undefined;
|
|
2424
|
+
setMemoryManager(memoryManager: MemoryManager | undefined): void;
|
|
2425
|
+
noteFileObservation(filePath: string, observation: Omit<FileObservation, "path">): void;
|
|
2426
|
+
getFileObservation(filePath: string): FileObservation | undefined;
|
|
2427
|
+
invalidateFileObservation(filePath: string, reason: string): void;
|
|
2428
|
+
listFileObservations(): FileObservation[];
|
|
2429
|
+
askUser?(request: AskUserRequest): Promise<AskUserResponse>;
|
|
2430
|
+
dispatchAgent?(request: DispatchAgentRequest): Promise<DispatchAgentResponse>;
|
|
2343
2431
|
}
|
|
2344
|
-
|
|
2432
|
+
declare function createToolRuntimeContext(initialCwd?: string, options?: {
|
|
2433
|
+
askUser?: AskUserHandler;
|
|
2434
|
+
dispatchAgent?: DispatchAgentHandler;
|
|
2435
|
+
memoryManager?: MemoryManager;
|
|
2436
|
+
ownerSessionId?: string;
|
|
2437
|
+
}): ToolRuntimeContext;
|
|
2438
|
+
declare const defaultToolRuntimeContext: ToolRuntimeContext;
|
|
2439
|
+
type HarnessTaskStatus = "pending" | "in_progress" | "completed";
|
|
2440
|
+
interface HarnessTask {
|
|
2345
2441
|
id: string;
|
|
2442
|
+
subject: string;
|
|
2346
2443
|
description: string;
|
|
2347
|
-
|
|
2348
|
-
|
|
2444
|
+
status: HarnessTaskStatus;
|
|
2445
|
+
activeForm?: string;
|
|
2349
2446
|
owner?: string;
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
decisions: XenoSpecDesignDecision[];
|
|
2354
|
-
risks: XenoSpecRisk[];
|
|
2355
|
-
}
|
|
2356
|
-
interface XenoSpecTask {
|
|
2357
|
-
id: string;
|
|
2358
|
-
title: string;
|
|
2359
|
-
description: string;
|
|
2360
|
-
dependsOn?: string[];
|
|
2361
|
-
requirementIds: string[];
|
|
2362
|
-
acceptanceCriterionIds: string[];
|
|
2363
|
-
expectedPaths?: string[];
|
|
2364
|
-
preferredAgentProfile?: string;
|
|
2365
|
-
}
|
|
2366
|
-
interface XenoSpecSourceBaseline {
|
|
2367
|
-
repositoryId?: string;
|
|
2368
|
-
commit?: string;
|
|
2369
|
-
workspaceFingerprint?: XenoContentHash;
|
|
2370
|
-
}
|
|
2371
|
-
interface XenoSpecDocument {
|
|
2372
|
-
schemaVersion: typeof XENO_SPEC_SCHEMA_VERSION;
|
|
2373
|
-
specId: string;
|
|
2374
|
-
revision: number;
|
|
2375
|
-
title: string;
|
|
2376
|
-
problem: string;
|
|
2377
|
-
requirements: XenoSpecRequirement[];
|
|
2378
|
-
design: XenoSpecDesign;
|
|
2379
|
-
tasks: XenoSpecTask[];
|
|
2380
|
-
acceptanceCriteria: XenoSpecAcceptanceCriterion[];
|
|
2381
|
-
sourceBaseline?: XenoSpecSourceBaseline;
|
|
2447
|
+
metadata: Record<string, unknown>;
|
|
2448
|
+
blocks: string[];
|
|
2449
|
+
blockedBy: string[];
|
|
2382
2450
|
createdAt: string;
|
|
2383
2451
|
updatedAt: string;
|
|
2384
|
-
predecessorRevision?: number;
|
|
2385
|
-
}
|
|
2386
|
-
interface XenoSpecArtifactContext {
|
|
2387
|
-
producer: XenoArtifactActor;
|
|
2388
|
-
identity?: XenoArtifactIdentity;
|
|
2389
|
-
sensitivity?: XenoArtifactSensitivity;
|
|
2390
|
-
accessPolicyId?: string;
|
|
2391
|
-
createdAt?: string;
|
|
2392
2452
|
}
|
|
2393
|
-
interface
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2453
|
+
interface HarnessTaskUpdate {
|
|
2454
|
+
subject?: string;
|
|
2455
|
+
description?: string;
|
|
2456
|
+
status?: HarnessTaskStatus | "deleted";
|
|
2457
|
+
activeForm?: string;
|
|
2458
|
+
owner?: string;
|
|
2459
|
+
metadata?: Record<string, unknown>;
|
|
2460
|
+
addBlocks?: string[];
|
|
2461
|
+
addBlockedBy?: string[];
|
|
2399
2462
|
}
|
|
2400
|
-
|
|
2463
|
+
declare class TaskListManager {
|
|
2464
|
+
private readonly tasks;
|
|
2465
|
+
private nextId;
|
|
2466
|
+
create(input: {
|
|
2467
|
+
subject: string;
|
|
2468
|
+
description: string;
|
|
2469
|
+
activeForm?: string;
|
|
2470
|
+
metadata?: Record<string, unknown>;
|
|
2471
|
+
}): HarnessTask;
|
|
2472
|
+
get(taskId: string): HarnessTask | undefined;
|
|
2473
|
+
list(): HarnessTask[];
|
|
2474
|
+
update(taskId: string, input: HarnessTaskUpdate): HarnessTask | undefined;
|
|
2475
|
+
delete(taskId: string): boolean;
|
|
2476
|
+
private incompleteBlockers;
|
|
2477
|
+
private assertDependencyTargets;
|
|
2478
|
+
private link;
|
|
2479
|
+
private assertAcyclic;
|
|
2480
|
+
private snapshot;
|
|
2481
|
+
private restore;
|
|
2482
|
+
}
|
|
2483
|
+
declare function createTaskListTools(manager?: TaskListManager): RegisteredTool[];
|
|
2484
|
+
interface DefaultToolRegistryOptions {
|
|
2485
|
+
cwd?: string;
|
|
2486
|
+
runtime?: ToolRuntimeContext;
|
|
2487
|
+
ownerSessionId?: string;
|
|
2488
|
+
askUser?: AskUserHandler;
|
|
2489
|
+
dispatchAgent?: DispatchAgentHandler;
|
|
2490
|
+
memoryManager?: MemoryManager;
|
|
2491
|
+
webSearchApiKey?: string;
|
|
2492
|
+
webContext?: WebContextToolOptions;
|
|
2493
|
+
permissionProfile?: PermissionProfile;
|
|
2494
|
+
sandbox?: AgentSandbox;
|
|
2495
|
+
validateInputs?: boolean;
|
|
2496
|
+
toolSchemaMode?: "all" | "demand";
|
|
2497
|
+
taskListManager?: TaskListManager;
|
|
2498
|
+
shellEnvironment?: NodeJS.ProcessEnv;
|
|
2499
|
+
shellSensitiveEnvironmentKeys?: readonly string[];
|
|
2500
|
+
}
|
|
2501
|
+
interface ToolRegistryOptions {
|
|
2502
|
+
validateInputs?: boolean;
|
|
2503
|
+
toolSchemaMode?: "all" | "demand";
|
|
2504
|
+
}
|
|
2505
|
+
declare class ToolRegistry {
|
|
2506
|
+
private tools;
|
|
2507
|
+
private compiledSchemas;
|
|
2508
|
+
private changeListeners;
|
|
2509
|
+
private aliasNames;
|
|
2510
|
+
private validateInputs;
|
|
2511
|
+
private readonly toolSchemaMode;
|
|
2512
|
+
private readonly activatedDefinitions;
|
|
2513
|
+
constructor(options?: ToolRegistryOptions);
|
|
2514
|
+
setValidateInputs(enabled: boolean): this;
|
|
2515
|
+
get inputValidationEnabled(): boolean;
|
|
2516
|
+
get schemaLoadingMode(): "all" | "demand";
|
|
2517
|
+
register(tool: RegisteredTool): void;
|
|
2518
|
+
registerAlias(tool: RegisteredTool): void;
|
|
2519
|
+
registerAll(tools: Iterable<RegisteredTool>): void;
|
|
2520
|
+
unregister(name: string): boolean;
|
|
2521
|
+
onChange(listener: () => void): () => void;
|
|
2522
|
+
private emitChange;
|
|
2523
|
+
get(name: string): RegisteredTool | undefined;
|
|
2524
|
+
getDefinitions(): ToolDefinition[];
|
|
2525
|
+
getDefinitionsForRequest(): ToolDefinition[];
|
|
2526
|
+
getCapabilityCatalog(): string;
|
|
2527
|
+
activateMatchingDefinitions(query: string, limit?: number): ToolDefinition[];
|
|
2528
|
+
private static namespaceOf;
|
|
2529
|
+
getDefinitionsByNamespace(namespace: string): ToolDefinition[];
|
|
2530
|
+
listNamespaces(): string[];
|
|
2531
|
+
execute(name: string, input: Record<string, unknown>, context?: ToolExecutionContext): Promise<ToolResult>;
|
|
2532
|
+
listNames(): string[];
|
|
2533
|
+
has(name: string): boolean;
|
|
2534
|
+
projectPolicyInput(name: string, input: Record<string, unknown>): ToolPolicyProjection | {
|
|
2535
|
+
error: ToolResult;
|
|
2536
|
+
};
|
|
2537
|
+
get size(): number;
|
|
2538
|
+
private compileDefinition;
|
|
2539
|
+
private assertDefinitionsExportable;
|
|
2540
|
+
}
|
|
2541
|
+
declare function createDefaultToolRegistry(options?: DefaultToolRegistryOptions): ToolRegistry;
|
|
2542
|
+
declare const registry: ToolRegistry;
|
|
2543
|
+
interface XenoGovernedAutomationToolExecution {
|
|
2544
|
+
operation: XenoAutomationOperation;
|
|
2545
|
+
governingToolName: string;
|
|
2546
|
+
operationId: string;
|
|
2547
|
+
idempotencyKey: string;
|
|
2548
|
+
parameters: Record<string, unknown>;
|
|
2549
|
+
declaredTarget?: XenoAutomationTarget;
|
|
2550
|
+
authorization: ToolAuthorizationReceipt;
|
|
2551
|
+
signal?: AbortSignal;
|
|
2552
|
+
reportProgress?: ToolExecutionContext["reportProgress"];
|
|
2553
|
+
}
|
|
2554
|
+
interface XenoGovernedAutomationToolRuntime {
|
|
2555
|
+
execute(input: XenoGovernedAutomationToolExecution): Promise<XenoAutomationExecutionResult>;
|
|
2556
|
+
stop?(operationId: string, reason?: string): Promise<boolean> | boolean;
|
|
2557
|
+
}
|
|
2558
|
+
interface CreateXenoGovernedAutomationToolsOptions {
|
|
2559
|
+
runtime: XenoGovernedAutomationToolRuntime;
|
|
2560
|
+
operations?: readonly XenoAutomationOperation[];
|
|
2561
|
+
}
|
|
2562
|
+
declare function createXenoGovernedAutomationTools(options: CreateXenoGovernedAutomationToolsOptions): RegisteredTool[];
|
|
2563
|
+
interface CliAutomationAuditEvent {
|
|
2564
|
+
eventType: "automation_lease_approved" | "automation_completed" | "automation_failed";
|
|
2565
|
+
traceId: string;
|
|
2566
|
+
operation: XenoAutomationOperation;
|
|
2567
|
+
operationId: string;
|
|
2568
|
+
leaseId?: string;
|
|
2569
|
+
contractFingerprint?: string;
|
|
2570
|
+
status?: string;
|
|
2571
|
+
artifactIds?: string[];
|
|
2572
|
+
permissionReason?: string;
|
|
2573
|
+
}
|
|
2574
|
+
interface CliAutomationAuditLoggerPort {
|
|
2575
|
+
append(event: {
|
|
2576
|
+
trace_id: string;
|
|
2577
|
+
event_type: string;
|
|
2578
|
+
actor: "system";
|
|
2579
|
+
risk_level: "low" | "high";
|
|
2580
|
+
decision?: "allow";
|
|
2581
|
+
status: "ok" | "error";
|
|
2582
|
+
reason?: string;
|
|
2583
|
+
metadata: Record<string, unknown>;
|
|
2584
|
+
}): Promise<unknown>;
|
|
2585
|
+
}
|
|
2586
|
+
interface CliAutomationEnvironment {
|
|
2587
|
+
browser?: {
|
|
2588
|
+
driver: "browser" | "extension";
|
|
2589
|
+
baseUrl?: string;
|
|
2590
|
+
token?: string;
|
|
2591
|
+
readDomains: string[];
|
|
2592
|
+
actDomains: string[];
|
|
2593
|
+
deniedDomains: string[];
|
|
2594
|
+
ports: number[];
|
|
2595
|
+
allowLoopbackDevelopment: boolean;
|
|
2596
|
+
uploads: "deny" | "prompt" | "allow";
|
|
2597
|
+
downloads: "deny" | "prompt" | "allow";
|
|
2598
|
+
recording: "disabled" | "bounded";
|
|
2599
|
+
};
|
|
2600
|
+
computer?: {
|
|
2601
|
+
baseUrl?: string;
|
|
2602
|
+
token?: string;
|
|
2603
|
+
deviceId?: string;
|
|
2604
|
+
allowedApplications: string[];
|
|
2605
|
+
};
|
|
2606
|
+
}
|
|
2607
|
+
interface CliAutomationSurfaceStatus {
|
|
2608
|
+
surface: "browser" | "computer";
|
|
2609
|
+
configured: boolean;
|
|
2610
|
+
available: boolean;
|
|
2611
|
+
certified: boolean;
|
|
2612
|
+
adapterId?: string;
|
|
2613
|
+
adapterVersion?: string;
|
|
2614
|
+
operations: string[];
|
|
2615
|
+
limitations: string[];
|
|
2616
|
+
error?: string;
|
|
2617
|
+
}
|
|
2618
|
+
interface CliAutomationStatusReport {
|
|
2619
|
+
schemaVersion: 1;
|
|
2620
|
+
protocolVersion: 1;
|
|
2621
|
+
enabled: boolean;
|
|
2622
|
+
surfaces: CliAutomationSurfaceStatus[];
|
|
2623
|
+
docs: string;
|
|
2624
|
+
}
|
|
2625
|
+
interface CreateCliGovernedAutomationRuntimeOptions {
|
|
2626
|
+
cwd: () => string;
|
|
2627
|
+
profile: () => CompiledAgentProfile;
|
|
2628
|
+
runId: string;
|
|
2629
|
+
agentId?: string;
|
|
2630
|
+
sessionId?: string;
|
|
2631
|
+
workspaceId?: string;
|
|
2632
|
+
surface: "cli" | "hub" | "ide" | "api" | "hosted";
|
|
2633
|
+
securityPolicy?: () => PolicyEnforcerConfig | undefined;
|
|
2634
|
+
securityStatus?: ProcessContainmentStatus;
|
|
2635
|
+
safeMode?: boolean;
|
|
2636
|
+
environment?: CliAutomationEnvironment;
|
|
2637
|
+
onAudit?: (event: CliAutomationAuditEvent) => Promise<void> | void;
|
|
2638
|
+
}
|
|
2639
|
+
declare class CliGovernedAutomationRuntime implements XenoGovernedAutomationToolRuntime {
|
|
2640
|
+
private readonly options;
|
|
2641
|
+
private readonly leases;
|
|
2642
|
+
private readonly activeExecutors;
|
|
2643
|
+
private readonly environment;
|
|
2644
|
+
private browserAdapter?;
|
|
2645
|
+
private computerAdapter?;
|
|
2646
|
+
constructor(options: CreateCliGovernedAutomationRuntimeOptions);
|
|
2647
|
+
register(registry: ToolRegistry): number;
|
|
2648
|
+
execute(input: XenoGovernedAutomationToolExecution): Promise<XenoAutomationExecutionResult>;
|
|
2649
|
+
stop(operationId: string, reason?: string): Promise<boolean>;
|
|
2650
|
+
private securityPolicy;
|
|
2651
|
+
private adapterFor;
|
|
2652
|
+
private audit;
|
|
2653
|
+
}
|
|
2654
|
+
declare function createCliGovernedAutomationRuntime(options: CreateCliGovernedAutomationRuntimeOptions): CliGovernedAutomationRuntime;
|
|
2655
|
+
declare function createCliAutomationAuditSink(logger: CliAutomationAuditLoggerPort | undefined): ((event: CliAutomationAuditEvent) => Promise<void>) | undefined;
|
|
2656
|
+
declare function inspectCliAutomationStatus(environment?: CliAutomationEnvironment): Promise<CliAutomationStatusReport>;
|
|
2657
|
+
declare function readCliAutomationEnvironment(env?: NodeJS.ProcessEnv): CliAutomationEnvironment;
|
|
2658
|
+
declare function renderCliAutomationStatus(report: CliAutomationStatusReport): string;
|
|
2659
|
+
type XenoHostAutomationAuditEvent = CliAutomationAuditEvent;
|
|
2660
|
+
type XenoHostAutomationAuditLoggerPort = CliAutomationAuditLoggerPort;
|
|
2661
|
+
type XenoHostAutomationEnvironment = CliAutomationEnvironment;
|
|
2662
|
+
type XenoHostAutomationSurfaceStatus = CliAutomationSurfaceStatus;
|
|
2663
|
+
type XenoHostAutomationStatusReport = CliAutomationStatusReport;
|
|
2664
|
+
type CreateXenoHostGovernedAutomationRuntimeOptions = CreateCliGovernedAutomationRuntimeOptions;
|
|
2665
|
+
interface XenoArtifactValidationIssue {
|
|
2666
|
+
path: string;
|
|
2667
|
+
code: string;
|
|
2668
|
+
message: string;
|
|
2669
|
+
}
|
|
2670
|
+
declare class XenoArtifactValidationError extends Error {
|
|
2671
|
+
readonly code = "ARTIFACT_INVALID";
|
|
2672
|
+
readonly issues: XenoArtifactValidationIssue[];
|
|
2673
|
+
constructor(message: string, issues: XenoArtifactValidationIssue[]);
|
|
2674
|
+
}
|
|
2675
|
+
declare class XenoArtifactStateTransitionError extends Error {
|
|
2676
|
+
readonly fromState: XenoArtifactState;
|
|
2677
|
+
readonly toState: XenoArtifactState;
|
|
2678
|
+
readonly code = "ARTIFACT_STATE_TRANSITION_INVALID";
|
|
2679
|
+
constructor(fromState: XenoArtifactState, toState: XenoArtifactState);
|
|
2680
|
+
}
|
|
2681
|
+
declare function validateXenoArtifact(artifact: XenoArtifactEnvelope): XenoArtifactValidationIssue[];
|
|
2682
|
+
declare function assertValidXenoArtifact(artifact: XenoArtifactEnvelope): void;
|
|
2683
|
+
declare function canTransitionXenoArtifactState(fromState: XenoArtifactState, toState: XenoArtifactState): boolean;
|
|
2684
|
+
declare function assertXenoArtifactStateTransition(fromState: XenoArtifactState, toState: XenoArtifactState): void;
|
|
2685
|
+
declare function validateXenoArtifactReviewEvent(event: XenoArtifactReviewEvent, artifact?: XenoArtifactEnvelope): XenoArtifactValidationIssue[];
|
|
2686
|
+
declare function summarizeXenoArtifactReview(events: readonly XenoArtifactReviewEvent[]): XenoArtifactReviewSummary;
|
|
2687
|
+
declare function sha256ArtifactBytes(content: Uint8Array | string): XenoContentHash;
|
|
2688
|
+
declare function canonicalizeArtifactJson(value: XenoJsonValue): string;
|
|
2689
|
+
declare function sha256ArtifactJson(value: XenoJsonValue): XenoContentHash;
|
|
2690
|
+
declare class XenoEvidenceGraphValidationError extends Error {
|
|
2691
|
+
readonly code = "EVIDENCE_GRAPH_INVALID";
|
|
2692
|
+
readonly issues: XenoArtifactValidationIssue[];
|
|
2693
|
+
constructor(issues: XenoArtifactValidationIssue[]);
|
|
2694
|
+
}
|
|
2695
|
+
declare function validateXenoEvidenceGraph(graph: XenoEvidenceGraph): XenoArtifactValidationIssue[];
|
|
2696
|
+
declare function assertValidXenoEvidenceGraph(graph: XenoEvidenceGraph): void;
|
|
2697
|
+
interface XenoEvidenceGraphBuilderOptions {
|
|
2698
|
+
graphId: string;
|
|
2699
|
+
now?: () => string;
|
|
2700
|
+
}
|
|
2701
|
+
declare class XenoEvidenceGraphBuilder {
|
|
2702
|
+
private readonly now;
|
|
2703
|
+
private graph;
|
|
2704
|
+
constructor(options: XenoEvidenceGraphBuilderOptions | XenoEvidenceGraph);
|
|
2705
|
+
addNode(node: XenoEvidenceNode): this;
|
|
2706
|
+
addEdge(edge: XenoEvidenceEdge): this;
|
|
2707
|
+
build(): XenoEvidenceGraph;
|
|
2708
|
+
private touch;
|
|
2709
|
+
}
|
|
2710
|
+
declare const XENO_ARTIFACT_FILE_REPOSITORY_SCHEMA_VERSION: 1;
|
|
2711
|
+
interface XenoArtifactFileSnapshotPayload {
|
|
2712
|
+
schemaVersion: typeof XENO_ARTIFACT_FILE_REPOSITORY_SCHEMA_VERSION;
|
|
2713
|
+
generation: number;
|
|
2714
|
+
createdAt: string;
|
|
2715
|
+
updatedAt: string;
|
|
2716
|
+
state: XenoArtifactRepositoryState;
|
|
2717
|
+
}
|
|
2718
|
+
interface XenoArtifactFileSnapshot extends XenoArtifactFileSnapshotPayload {
|
|
2719
|
+
checksum: {
|
|
2720
|
+
algorithm: "sha256";
|
|
2721
|
+
value: string;
|
|
2722
|
+
};
|
|
2723
|
+
}
|
|
2724
|
+
interface XenoArtifactFileRecoveryNotice {
|
|
2725
|
+
snapshotPath: string;
|
|
2726
|
+
backupPath: string;
|
|
2727
|
+
reason: string;
|
|
2728
|
+
}
|
|
2729
|
+
interface FileXenoArtifactRepositoryOptions {
|
|
2730
|
+
directory: string;
|
|
2731
|
+
snapshotFileName?: string;
|
|
2732
|
+
lockTimeoutMs?: number;
|
|
2733
|
+
lockRetryMs?: number;
|
|
2734
|
+
maxSnapshotBytes?: number;
|
|
2735
|
+
now?: () => string;
|
|
2736
|
+
onRecovery?: (notice: XenoArtifactFileRecoveryNotice) => void;
|
|
2737
|
+
}
|
|
2738
|
+
declare class FileXenoArtifactRepository implements XenoArtifactRepository {
|
|
2739
|
+
readonly directory: string;
|
|
2740
|
+
readonly snapshotPath: string;
|
|
2741
|
+
readonly backupPath: string;
|
|
2742
|
+
readonly lockPath: string;
|
|
2743
|
+
private readonly now;
|
|
2744
|
+
private readonly lockTimeoutMs;
|
|
2745
|
+
private readonly lockRetryMs;
|
|
2746
|
+
private readonly maxSnapshotBytes;
|
|
2747
|
+
private readonly onRecovery?;
|
|
2748
|
+
private mutationTail;
|
|
2749
|
+
constructor(options: FileXenoArtifactRepositoryOptions);
|
|
2750
|
+
create(artifact: XenoArtifactEnvelope): Promise<XenoArtifactRecord>;
|
|
2751
|
+
createRevision(artifact: XenoArtifactEnvelope, options?: XenoArtifactRevisionOptions): Promise<XenoArtifactRecord>;
|
|
2752
|
+
get(artifactId: string, revision?: number): Promise<XenoArtifactRecord | undefined>;
|
|
2753
|
+
require(artifactId: string, revision?: number): Promise<XenoArtifactRecord>;
|
|
2754
|
+
list(query?: XenoArtifactListQuery): Promise<XenoArtifactRecord[]>;
|
|
2755
|
+
listRevisions(artifactId: string): Promise<XenoArtifactRecord[]>;
|
|
2756
|
+
transition(request: XenoArtifactTransitionRequest): Promise<XenoArtifactRecord>;
|
|
2757
|
+
appendReviewEvent(request: XenoArtifactAppendReviewRequest): Promise<XenoArtifactRecord>;
|
|
2758
|
+
inspectSnapshot(): Promise<XenoArtifactFileSnapshot | undefined>;
|
|
2759
|
+
private mutate;
|
|
2760
|
+
private enqueueMutation;
|
|
2761
|
+
private acquireLock;
|
|
2762
|
+
private load;
|
|
2763
|
+
private persist;
|
|
2764
|
+
private readSnapshot;
|
|
2765
|
+
}
|
|
2766
|
+
type XenoDiffMode = "working-tree" | "staged" | "turn" | "commit" | "preview";
|
|
2767
|
+
type XenoDiffFileStatus = "added" | "modified" | "deleted" | "renamed" | "copied" | "binary";
|
|
2768
|
+
type XenoDiffLineKind = "context" | "addition" | "deletion" | "no-newline";
|
|
2769
|
+
interface XenoDiffLine {
|
|
2770
|
+
kind: XenoDiffLineKind;
|
|
2771
|
+
text: string;
|
|
2772
|
+
oldLine?: number;
|
|
2773
|
+
newLine?: number;
|
|
2774
|
+
}
|
|
2775
|
+
interface XenoDiffHunk {
|
|
2776
|
+
hunkId: string;
|
|
2777
|
+
header: string;
|
|
2778
|
+
section?: string;
|
|
2779
|
+
oldStart: number;
|
|
2780
|
+
oldLines: number;
|
|
2781
|
+
newStart: number;
|
|
2782
|
+
newLines: number;
|
|
2783
|
+
additions: number;
|
|
2784
|
+
deletions: number;
|
|
2785
|
+
lines: XenoDiffLine[];
|
|
2786
|
+
}
|
|
2787
|
+
interface XenoDiffFile {
|
|
2788
|
+
oldPath?: string;
|
|
2789
|
+
newPath?: string;
|
|
2790
|
+
displayPath: string;
|
|
2791
|
+
status: XenoDiffFileStatus;
|
|
2792
|
+
additions: number;
|
|
2793
|
+
deletions: number;
|
|
2794
|
+
binary: boolean;
|
|
2795
|
+
headerLines: string[];
|
|
2796
|
+
hunks: XenoDiffHunk[];
|
|
2797
|
+
}
|
|
2798
|
+
interface XenoDiffDocument {
|
|
2799
|
+
schemaVersion: 1;
|
|
2800
|
+
mode: XenoDiffMode;
|
|
2801
|
+
repositoryId?: string;
|
|
2802
|
+
baseRef?: string;
|
|
2803
|
+
headRef?: string;
|
|
2804
|
+
files: XenoDiffFile[];
|
|
2805
|
+
additions: number;
|
|
2806
|
+
deletions: number;
|
|
2807
|
+
rawDiff: string;
|
|
2808
|
+
}
|
|
2809
|
+
interface ParseUnifiedDiffOptions {
|
|
2810
|
+
mode?: XenoDiffMode;
|
|
2811
|
+
repositoryId?: string;
|
|
2812
|
+
baseRef?: string;
|
|
2813
|
+
headRef?: string;
|
|
2814
|
+
maxBytes?: number;
|
|
2815
|
+
maxFiles?: number;
|
|
2816
|
+
maxHunks?: number;
|
|
2817
|
+
maxLines?: number;
|
|
2818
|
+
}
|
|
2819
|
+
interface XenoDiffArtifactContext {
|
|
2820
|
+
kind?: "diff" | "patch";
|
|
2821
|
+
artifactId?: string;
|
|
2822
|
+
revision?: number;
|
|
2823
|
+
predecessorRevision?: number;
|
|
2824
|
+
createdAt?: string;
|
|
2825
|
+
title?: string;
|
|
2826
|
+
description?: string;
|
|
2827
|
+
producer: XenoArtifactActor;
|
|
2828
|
+
identity?: XenoArtifactIdentity;
|
|
2829
|
+
sensitivity?: XenoArtifactSensitivity;
|
|
2830
|
+
accessPolicyId?: string;
|
|
2831
|
+
mode?: XenoDiffMode;
|
|
2832
|
+
repositoryId?: string;
|
|
2833
|
+
baseRef?: string;
|
|
2834
|
+
headRef?: string;
|
|
2835
|
+
}
|
|
2836
|
+
declare class XenoDiffParseError extends Error {
|
|
2837
|
+
readonly line?: number | undefined;
|
|
2838
|
+
readonly code = "XENO_DIFF_INVALID";
|
|
2839
|
+
constructor(message: string, line?: number | undefined);
|
|
2840
|
+
}
|
|
2841
|
+
declare function parseUnifiedDiff(diff: string, options?: ParseUnifiedDiffOptions): XenoDiffDocument;
|
|
2842
|
+
declare function unifiedDiffToXenoArtifact(diff: string, context: XenoDiffArtifactContext): XenoArtifactEnvelope;
|
|
2843
|
+
declare function xenoArtifactToDiffDocument(artifact: XenoArtifactEnvelope): XenoDiffDocument;
|
|
2844
|
+
interface XenoArtifactReviewServiceOptions {
|
|
2845
|
+
repository: XenoArtifactRepository;
|
|
2846
|
+
actor: XenoArtifactActor;
|
|
2847
|
+
idFactory?: () => string;
|
|
2848
|
+
}
|
|
2849
|
+
interface XenoArtifactReviewAnchorInput {
|
|
2850
|
+
file?: string;
|
|
2851
|
+
line?: number;
|
|
2852
|
+
hunkId?: string;
|
|
2853
|
+
}
|
|
2854
|
+
interface AddXenoArtifactCommentRequest extends XenoArtifactReviewAnchorInput {
|
|
2855
|
+
artifactId: string;
|
|
2856
|
+
revision?: number;
|
|
2857
|
+
body: string;
|
|
2858
|
+
parentCommentId?: string;
|
|
2859
|
+
}
|
|
2860
|
+
interface SetXenoArtifactCommentResolutionRequest {
|
|
2861
|
+
artifactId: string;
|
|
2862
|
+
revision?: number;
|
|
2863
|
+
commentId: string;
|
|
2864
|
+
resolved: boolean;
|
|
2865
|
+
reason?: string;
|
|
2866
|
+
}
|
|
2867
|
+
interface DecideXenoArtifactRequest extends Omit<XenoArtifactReviewAnchorInput, "line"> {
|
|
2868
|
+
artifactId: string;
|
|
2869
|
+
revision?: number;
|
|
2870
|
+
decision: XenoArtifactReviewDecision;
|
|
2871
|
+
rationale?: string;
|
|
2872
|
+
}
|
|
2873
|
+
declare class XenoArtifactReviewService {
|
|
2874
|
+
private readonly repository;
|
|
2875
|
+
private readonly actor;
|
|
2876
|
+
private readonly idFactory;
|
|
2877
|
+
constructor(options: XenoArtifactReviewServiceOptions);
|
|
2878
|
+
addComment(request: AddXenoArtifactCommentRequest): Promise<XenoArtifactRecord>;
|
|
2879
|
+
setCommentResolution(request: SetXenoArtifactCommentResolutionRequest): Promise<XenoArtifactRecord>;
|
|
2880
|
+
decide(request: DecideXenoArtifactRequest): Promise<XenoArtifactRecord>;
|
|
2881
|
+
}
|
|
2882
|
+
declare function buildXenoArtifactReviewAnchor(record: XenoArtifactRecord, input: XenoArtifactReviewAnchorInput): XenoArtifactAnchor | undefined;
|
|
2883
|
+
declare function normalizeRepositoryRelativePath(value: string): string;
|
|
2884
|
+
declare const XENO_SPEC_SCHEMA_VERSION: "xeno.spec.v1";
|
|
2885
|
+
declare const XENO_SPEC_EXECUTION_SCHEMA_VERSION: "xeno.spec-execution.v1";
|
|
2886
|
+
type XenoSpecPriority = "must" | "should" | "could";
|
|
2887
|
+
type XenoSpecTaskStatus = "pending" | "in_progress" | "completed" | "blocked" | "skipped";
|
|
2888
|
+
type XenoSpecExecutionState = "ready" | "running" | "completed" | "failed" | "cancelled";
|
|
2889
|
+
interface XenoSpecAcceptanceCriterion {
|
|
2890
|
+
id: string;
|
|
2891
|
+
text: string;
|
|
2892
|
+
requiredEvidenceKinds?: string[];
|
|
2893
|
+
}
|
|
2894
|
+
interface XenoSpecRequirement {
|
|
2895
|
+
id: string;
|
|
2896
|
+
text: string;
|
|
2897
|
+
priority: XenoSpecPriority;
|
|
2898
|
+
acceptanceCriteria: XenoSpecAcceptanceCriterion[];
|
|
2899
|
+
sourceReferences?: XenoEvidenceReference[];
|
|
2900
|
+
}
|
|
2901
|
+
interface XenoSpecDesignDecision {
|
|
2902
|
+
id: string;
|
|
2903
|
+
decision: string;
|
|
2904
|
+
rationale: string;
|
|
2905
|
+
alternatives?: string[];
|
|
2906
|
+
requirementIds?: string[];
|
|
2907
|
+
}
|
|
2908
|
+
interface XenoSpecRisk {
|
|
2909
|
+
id: string;
|
|
2910
|
+
description: string;
|
|
2911
|
+
impact: "low" | "medium" | "high" | "critical";
|
|
2912
|
+
mitigation: string;
|
|
2913
|
+
owner?: string;
|
|
2914
|
+
}
|
|
2915
|
+
interface XenoSpecDesign {
|
|
2916
|
+
summary: string;
|
|
2917
|
+
decisions: XenoSpecDesignDecision[];
|
|
2918
|
+
risks: XenoSpecRisk[];
|
|
2919
|
+
}
|
|
2920
|
+
interface XenoSpecTask {
|
|
2921
|
+
id: string;
|
|
2922
|
+
title: string;
|
|
2923
|
+
description: string;
|
|
2924
|
+
dependsOn?: string[];
|
|
2925
|
+
requirementIds: string[];
|
|
2926
|
+
acceptanceCriterionIds: string[];
|
|
2927
|
+
expectedPaths?: string[];
|
|
2928
|
+
preferredAgentProfile?: string;
|
|
2929
|
+
}
|
|
2930
|
+
interface XenoSpecSourceBaseline {
|
|
2931
|
+
repositoryId?: string;
|
|
2932
|
+
commit?: string;
|
|
2933
|
+
workspaceFingerprint?: XenoContentHash;
|
|
2934
|
+
}
|
|
2935
|
+
interface XenoSpecDocument {
|
|
2936
|
+
schemaVersion: typeof XENO_SPEC_SCHEMA_VERSION;
|
|
2937
|
+
specId: string;
|
|
2938
|
+
revision: number;
|
|
2939
|
+
title: string;
|
|
2940
|
+
problem: string;
|
|
2941
|
+
requirements: XenoSpecRequirement[];
|
|
2942
|
+
design: XenoSpecDesign;
|
|
2943
|
+
tasks: XenoSpecTask[];
|
|
2944
|
+
acceptanceCriteria: XenoSpecAcceptanceCriterion[];
|
|
2945
|
+
sourceBaseline?: XenoSpecSourceBaseline;
|
|
2946
|
+
createdAt: string;
|
|
2947
|
+
updatedAt: string;
|
|
2948
|
+
predecessorRevision?: number;
|
|
2949
|
+
}
|
|
2950
|
+
interface XenoSpecArtifactContext {
|
|
2951
|
+
producer: XenoArtifactActor;
|
|
2952
|
+
identity?: XenoArtifactIdentity;
|
|
2953
|
+
sensitivity?: XenoArtifactSensitivity;
|
|
2954
|
+
accessPolicyId?: string;
|
|
2955
|
+
createdAt?: string;
|
|
2956
|
+
}
|
|
2957
|
+
interface XenoSpecArtifactBundle {
|
|
2958
|
+
document: XenoSpecDocument;
|
|
2959
|
+
plan: XenoArtifactEnvelope;
|
|
2960
|
+
requirements: XenoArtifactEnvelope;
|
|
2961
|
+
design: XenoArtifactEnvelope;
|
|
2962
|
+
taskGraph: XenoArtifactEnvelope;
|
|
2963
|
+
}
|
|
2964
|
+
interface XenoSpecTaskExecution {
|
|
2401
2965
|
taskId: string;
|
|
2402
2966
|
status: XenoSpecTaskStatus;
|
|
2403
2967
|
ownerAgentId?: string;
|
|
@@ -2539,1036 +3103,748 @@ interface XenoReviewFinding {
|
|
|
2539
3103
|
reviewerAgentIds: string[];
|
|
2540
3104
|
title: string;
|
|
2541
3105
|
summary: string;
|
|
2542
|
-
severity: XenoReviewSeverity;
|
|
2543
|
-
confidence: number;
|
|
2544
|
-
state: XenoReviewFindingState;
|
|
2545
|
-
verificationBasis: "verifier" | "independent-evidence" | "none";
|
|
2546
|
-
anchors: XenoArtifactAnchor[];
|
|
2547
|
-
evidence: XenoReviewEvidence[];
|
|
2548
|
-
verifications: XenoReviewVerificationResult[];
|
|
2549
|
-
remediation?: string;
|
|
2550
|
-
duplicateProposalCount: number;
|
|
2551
|
-
}
|
|
2552
|
-
interface XenoReviewTarget {
|
|
2553
|
-
artifactId: string;
|
|
2554
|
-
revision: number;
|
|
2555
|
-
contentHash: XenoContentHash;
|
|
2556
|
-
title: string;
|
|
2557
|
-
repositoryId?: string;
|
|
2558
|
-
commit?: string;
|
|
2559
|
-
anchors?: XenoArtifactAnchor[];
|
|
2560
|
-
}
|
|
2561
|
-
interface XenoReviewPack {
|
|
2562
|
-
schemaVersion: "xeno.review-pack.v1";
|
|
2563
|
-
packId: string;
|
|
2564
|
-
version: string;
|
|
2565
|
-
dimensions: XenoReviewDimension[];
|
|
2566
|
-
verifierCount: number;
|
|
2567
|
-
minimumVerifierReproductions: number;
|
|
2568
|
-
allowIndependentEvidenceVerification: boolean;
|
|
2569
|
-
minimumIndependentEvidenceProducers: number;
|
|
2570
|
-
maxFindings: number;
|
|
2571
|
-
}
|
|
2572
|
-
interface XenoReviewReport {
|
|
2573
|
-
schemaVersion: typeof XENO_REVIEW_REPORT_SCHEMA_VERSION;
|
|
2574
|
-
reportId: string;
|
|
2575
|
-
runId: string;
|
|
2576
|
-
pack: XenoReviewPack;
|
|
2577
|
-
target: XenoReviewTarget;
|
|
2578
|
-
startedAt: string;
|
|
2579
|
-
completedAt: string;
|
|
2580
|
-
reviewers: Array<{
|
|
2581
|
-
agentId: string;
|
|
2582
|
-
dimension: XenoReviewDimension;
|
|
2583
|
-
findingCount: number;
|
|
2584
|
-
}>;
|
|
2585
|
-
findings: XenoReviewFinding[];
|
|
2586
|
-
summary: {
|
|
2587
|
-
total: number;
|
|
2588
|
-
verified: number;
|
|
2589
|
-
unverified: number;
|
|
2590
|
-
rejected: number;
|
|
2591
|
-
bySeverity: Record<XenoReviewSeverity, number>;
|
|
2592
|
-
};
|
|
2593
|
-
}
|
|
2594
|
-
interface XenoReviewCoordinatorContext {
|
|
2595
|
-
runId: string;
|
|
2596
|
-
target: XenoReviewTarget;
|
|
2597
|
-
pack: XenoReviewPack;
|
|
2598
|
-
}
|
|
2599
|
-
type XenoReviewAgentExecutor = (request: XenoReviewCoordinatorContext & {
|
|
2600
|
-
dimension: XenoReviewDimension;
|
|
2601
|
-
reviewerSlot: number;
|
|
2602
|
-
}) => Promise<XenoReviewAgentResult>;
|
|
2603
|
-
type XenoReviewVerifierExecutor = (request: XenoReviewCoordinatorContext & {
|
|
2604
|
-
finding: XenoReviewFinding;
|
|
2605
|
-
verifierSlot: number;
|
|
2606
|
-
}) => Promise<XenoReviewVerificationResult>;
|
|
2607
|
-
interface XenoMultiAgentReviewCoordinatorOptions {
|
|
2608
|
-
reviewer: XenoReviewAgentExecutor;
|
|
2609
|
-
verifier?: XenoReviewVerifierExecutor;
|
|
2610
|
-
now?: () => string;
|
|
2611
|
-
idFactory?: (prefix: "report" | "finding") => string;
|
|
2612
|
-
}
|
|
2613
|
-
interface XenoReviewArtifactContext {
|
|
2614
|
-
producer: XenoArtifactActor;
|
|
2615
|
-
identity?: XenoArtifactIdentity;
|
|
2616
|
-
sensitivity?: XenoArtifactSensitivity;
|
|
2617
|
-
accessPolicyId?: string;
|
|
2618
|
-
artifactId?: string;
|
|
2619
|
-
createdAt?: string;
|
|
2620
|
-
}
|
|
2621
|
-
interface XenoGitHubReviewComment {
|
|
2622
|
-
findingId: string;
|
|
2623
|
-
path: string;
|
|
2624
|
-
line?: number;
|
|
2625
|
-
body: string;
|
|
2626
|
-
severity: XenoReviewSeverity;
|
|
2627
|
-
verified: boolean;
|
|
2628
|
-
}
|
|
2629
|
-
declare class XenoReviewValidationError extends Error {
|
|
2630
|
-
readonly issues: string[];
|
|
2631
|
-
readonly code = "XENO_REVIEW_INVALID";
|
|
2632
|
-
constructor(issues: string[]);
|
|
2633
|
-
}
|
|
2634
|
-
declare class XenoMultiAgentReviewCoordinator {
|
|
2635
|
-
private readonly reviewer;
|
|
2636
|
-
private readonly verifier?;
|
|
2637
|
-
private readonly now;
|
|
2638
|
-
private readonly idFactory;
|
|
2639
|
-
constructor(options: XenoMultiAgentReviewCoordinatorOptions);
|
|
2640
|
-
run(context: XenoReviewCoordinatorContext): Promise<XenoReviewReport>;
|
|
2641
|
-
}
|
|
2642
|
-
declare function defaultXenoReviewPack(packId?: string): XenoReviewPack;
|
|
2643
|
-
declare function assertValidXenoReviewPack(pack: XenoReviewPack): void;
|
|
2644
|
-
declare function assertValidXenoReviewTarget(target: XenoReviewTarget): void;
|
|
2645
|
-
declare function assertValidXenoReviewReport(report: XenoReviewReport): void;
|
|
2646
|
-
declare function xenoReviewReportToArtifact(report: XenoReviewReport, context: XenoReviewArtifactContext): XenoArtifactEnvelope;
|
|
2647
|
-
declare function xenoArtifactToReviewReport(artifact: XenoArtifactEnvelope): XenoReviewReport;
|
|
2648
|
-
declare function xenoReviewReportToGitHubComments(report: XenoReviewReport, options?: {
|
|
2649
|
-
verifiedOnly?: boolean;
|
|
2650
|
-
}): XenoGitHubReviewComment[];
|
|
2651
|
-
type AgentSelectionStrategy = "first" | "least-loaded" | "round-robin";
|
|
2652
|
-
interface AgentCard {
|
|
2653
|
-
id: string;
|
|
2654
|
-
name: string;
|
|
2655
|
-
description?: string;
|
|
2656
|
-
capabilities: string[];
|
|
2657
|
-
maxConcurrentTasks?: number;
|
|
2658
|
-
handler: AgentTaskHandler;
|
|
2659
|
-
}
|
|
2660
|
-
interface AgentTeam {
|
|
2661
|
-
id: string;
|
|
2662
|
-
name: string;
|
|
2663
|
-
description?: string;
|
|
2664
|
-
agentIds: string[];
|
|
2665
|
-
strategy?: AgentSelectionStrategy;
|
|
2666
|
-
}
|
|
2667
|
-
interface AgentLoadSnapshot {
|
|
2668
|
-
agentId: string;
|
|
2669
|
-
agentName: string;
|
|
2670
|
-
activeTasks: number;
|
|
2671
|
-
maxConcurrentTasks: number;
|
|
2672
|
-
availableSlots: number;
|
|
2673
|
-
isAvailable: boolean;
|
|
2674
|
-
}
|
|
2675
|
-
interface AgentTask {
|
|
2676
|
-
id: string;
|
|
2677
|
-
type: string;
|
|
2678
|
-
description: string;
|
|
2679
|
-
input: Record<string, unknown>;
|
|
2680
|
-
priority?: "low" | "normal" | "high" | "critical";
|
|
2681
|
-
createdAt: string;
|
|
2682
|
-
status: AgentTaskStatus;
|
|
2683
|
-
assignedTo?: string;
|
|
2684
|
-
createdBy?: string;
|
|
2685
|
-
parentTaskId?: string;
|
|
2686
|
-
timeoutMs?: number;
|
|
2687
|
-
}
|
|
2688
|
-
type AgentTaskStatus = "pending" | "assigned" | "running" | "completed" | "failed" | "cancelled" | "timeout";
|
|
2689
|
-
interface AgentTaskResult {
|
|
2690
|
-
taskId: string;
|
|
2691
|
-
status: "completed" | "failed" | "cancelled";
|
|
2692
|
-
result: unknown;
|
|
2693
|
-
error?: string;
|
|
2694
|
-
artifacts?: AgentArtifact[];
|
|
2695
|
-
durationMs?: number;
|
|
2696
|
-
}
|
|
2697
|
-
interface AgentArtifact {
|
|
2698
|
-
name: string;
|
|
2699
|
-
mimeType?: string;
|
|
2700
|
-
content: string;
|
|
2701
|
-
}
|
|
2702
|
-
type AgentTaskHandler = (task: AgentTask) => Promise<AgentTaskResult>;
|
|
2703
|
-
type A2AMessageType = "task-request" | "task-accepted" | "task-rejected" | "task-progress" | "task-completed" | "task-failed" | "capability-query" | "capability-response";
|
|
2704
|
-
interface A2AMessage {
|
|
2705
|
-
id: string;
|
|
2706
|
-
type: A2AMessageType;
|
|
2707
|
-
from: string;
|
|
2708
|
-
to: string;
|
|
2709
|
-
payload: Record<string, unknown>;
|
|
2710
|
-
timestamp: string;
|
|
2711
|
-
correlationId?: string;
|
|
2712
|
-
}
|
|
2713
|
-
interface AgentDispatchOptions {
|
|
2714
|
-
timeoutMs?: number;
|
|
2715
|
-
priority?: AgentTask["priority"];
|
|
2716
|
-
parentTaskId?: string;
|
|
2717
|
-
createdBy?: string;
|
|
2718
|
-
waitForCapacity?: boolean;
|
|
2719
|
-
maxQueueWaitMs?: number;
|
|
2720
|
-
}
|
|
2721
|
-
interface AgentCapabilityDispatchOptions extends AgentDispatchOptions {
|
|
2722
|
-
strategy?: AgentSelectionStrategy;
|
|
2723
|
-
teamId?: string;
|
|
2724
|
-
}
|
|
2725
|
-
declare class AgentRegistry {
|
|
2726
|
-
private agents;
|
|
2727
|
-
private teams;
|
|
2728
|
-
registerAgent(card: AgentCard): void;
|
|
2729
|
-
unregisterAgent(id: string): boolean;
|
|
2730
|
-
getAgent(id: string): AgentCard | undefined;
|
|
2731
|
-
findByCapability(capability: string): AgentCard[];
|
|
2732
|
-
listAgents(): AgentCard[];
|
|
2733
|
-
registerTeam(team: AgentTeam): void;
|
|
2734
|
-
unregisterTeam(id: string): boolean;
|
|
2735
|
-
getTeam(id: string): AgentTeam | undefined;
|
|
2736
|
-
listTeams(): AgentTeam[];
|
|
2737
|
-
listAgentsForTeam(teamId: string): AgentCard[];
|
|
2738
|
-
get size(): number;
|
|
2739
|
-
}
|
|
2740
|
-
declare class AgentProtocol {
|
|
2741
|
-
private registry;
|
|
2742
|
-
private messageLog;
|
|
2743
|
-
private activeTasks;
|
|
2744
|
-
private activeTasksByAgent;
|
|
2745
|
-
private capabilityRoundRobinCursor;
|
|
2746
|
-
constructor(registry: AgentRegistry);
|
|
2747
|
-
private getAgentCapacity;
|
|
2748
|
-
private getAgentActiveTaskCount;
|
|
2749
|
-
private isAgentAvailable;
|
|
2750
|
-
private reserveAgentTask;
|
|
2751
|
-
private releaseAgentTask;
|
|
2752
|
-
private waitForAgentCapacity;
|
|
2753
|
-
private getCapabilityCandidates;
|
|
2754
|
-
private compareAgentLoad;
|
|
2755
|
-
private selectAgentForCapability;
|
|
2756
|
-
getAgentLoad(agentId: string): AgentLoadSnapshot | undefined;
|
|
2757
|
-
listAgentLoads(options?: {
|
|
2758
|
-
capability?: string;
|
|
2759
|
-
teamId?: string;
|
|
2760
|
-
}): AgentLoadSnapshot[];
|
|
2761
|
-
delegateTask(agentId: string, taskSpec: {
|
|
2762
|
-
type: string;
|
|
2763
|
-
description: string;
|
|
2764
|
-
input: Record<string, unknown>;
|
|
2765
|
-
}, options?: AgentDispatchOptions): Promise<AgentTaskResult>;
|
|
2766
|
-
delegateByCapability(capability: string, taskSpec: {
|
|
2767
|
-
description: string;
|
|
2768
|
-
input: Record<string, unknown>;
|
|
2769
|
-
}, options?: AgentCapabilityDispatchOptions): Promise<AgentTaskResult>;
|
|
2770
|
-
delegateToTeam(teamId: string, taskSpec: {
|
|
2771
|
-
type: string;
|
|
2772
|
-
description: string;
|
|
2773
|
-
input: Record<string, unknown>;
|
|
2774
|
-
}, options?: Omit<AgentCapabilityDispatchOptions, "teamId">): Promise<AgentTaskResult>;
|
|
2775
|
-
getMessageLog(limit?: number): A2AMessage[];
|
|
2776
|
-
getActiveTasks(): AgentTask[];
|
|
2777
|
-
private logMessage;
|
|
3106
|
+
severity: XenoReviewSeverity;
|
|
3107
|
+
confidence: number;
|
|
3108
|
+
state: XenoReviewFindingState;
|
|
3109
|
+
verificationBasis: "verifier" | "independent-evidence" | "none";
|
|
3110
|
+
anchors: XenoArtifactAnchor[];
|
|
3111
|
+
evidence: XenoReviewEvidence[];
|
|
3112
|
+
verifications: XenoReviewVerificationResult[];
|
|
3113
|
+
remediation?: string;
|
|
3114
|
+
duplicateProposalCount: number;
|
|
2778
3115
|
}
|
|
2779
|
-
interface
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
3116
|
+
interface XenoReviewTarget {
|
|
3117
|
+
artifactId: string;
|
|
3118
|
+
revision: number;
|
|
3119
|
+
contentHash: XenoContentHash;
|
|
3120
|
+
title: string;
|
|
3121
|
+
repositoryId?: string;
|
|
3122
|
+
commit?: string;
|
|
3123
|
+
anchors?: XenoArtifactAnchor[];
|
|
2787
3124
|
}
|
|
2788
|
-
interface
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
3125
|
+
interface XenoReviewPack {
|
|
3126
|
+
schemaVersion: "xeno.review-pack.v1";
|
|
3127
|
+
packId: string;
|
|
3128
|
+
version: string;
|
|
3129
|
+
dimensions: XenoReviewDimension[];
|
|
3130
|
+
verifierCount: number;
|
|
3131
|
+
minimumVerifierReproductions: number;
|
|
3132
|
+
allowIndependentEvidenceVerification: boolean;
|
|
3133
|
+
minimumIndependentEvidenceProducers: number;
|
|
3134
|
+
maxFindings: number;
|
|
2794
3135
|
}
|
|
2795
|
-
interface
|
|
2796
|
-
|
|
3136
|
+
interface XenoReviewReport {
|
|
3137
|
+
schemaVersion: typeof XENO_REVIEW_REPORT_SCHEMA_VERSION;
|
|
3138
|
+
reportId: string;
|
|
3139
|
+
runId: string;
|
|
3140
|
+
pack: XenoReviewPack;
|
|
3141
|
+
target: XenoReviewTarget;
|
|
2797
3142
|
startedAt: string;
|
|
2798
3143
|
completedAt: string;
|
|
2799
|
-
|
|
3144
|
+
reviewers: Array<{
|
|
3145
|
+
agentId: string;
|
|
3146
|
+
dimension: XenoReviewDimension;
|
|
3147
|
+
findingCount: number;
|
|
3148
|
+
}>;
|
|
3149
|
+
findings: XenoReviewFinding[];
|
|
3150
|
+
summary: {
|
|
3151
|
+
total: number;
|
|
3152
|
+
verified: number;
|
|
3153
|
+
unverified: number;
|
|
3154
|
+
rejected: number;
|
|
3155
|
+
bySeverity: Record<XenoReviewSeverity, number>;
|
|
3156
|
+
};
|
|
2800
3157
|
}
|
|
2801
|
-
interface
|
|
2802
|
-
|
|
2803
|
-
|
|
3158
|
+
interface XenoReviewCoordinatorContext {
|
|
3159
|
+
runId: string;
|
|
3160
|
+
target: XenoReviewTarget;
|
|
3161
|
+
pack: XenoReviewPack;
|
|
2804
3162
|
}
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
3163
|
+
type XenoReviewAgentExecutor = (request: XenoReviewCoordinatorContext & {
|
|
3164
|
+
dimension: XenoReviewDimension;
|
|
3165
|
+
reviewerSlot: number;
|
|
3166
|
+
}) => Promise<XenoReviewAgentResult>;
|
|
3167
|
+
type XenoReviewVerifierExecutor = (request: XenoReviewCoordinatorContext & {
|
|
3168
|
+
finding: XenoReviewFinding;
|
|
3169
|
+
verifierSlot: number;
|
|
3170
|
+
}) => Promise<XenoReviewVerificationResult>;
|
|
3171
|
+
interface XenoMultiAgentReviewCoordinatorOptions {
|
|
3172
|
+
reviewer: XenoReviewAgentExecutor;
|
|
3173
|
+
verifier?: XenoReviewVerifierExecutor;
|
|
3174
|
+
now?: () => string;
|
|
3175
|
+
idFactory?: (prefix: "report" | "finding") => string;
|
|
2817
3176
|
}
|
|
2818
|
-
interface
|
|
2819
|
-
artifactId?: string;
|
|
2820
|
-
revision?: number;
|
|
2821
|
-
createdAt?: string;
|
|
3177
|
+
interface XenoReviewArtifactContext {
|
|
2822
3178
|
producer: XenoArtifactActor;
|
|
2823
3179
|
identity?: XenoArtifactIdentity;
|
|
2824
|
-
state?: XenoArtifactState;
|
|
2825
3180
|
sensitivity?: XenoArtifactSensitivity;
|
|
2826
3181
|
accessPolicyId?: string;
|
|
3182
|
+
artifactId?: string;
|
|
3183
|
+
createdAt?: string;
|
|
2827
3184
|
}
|
|
2828
|
-
interface
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
declare function xenoArtifactToToolEvidence(artifact: XenoArtifactEnvelope): ToolEvidence;
|
|
2836
|
-
declare function turnDiffSummaryToXenoArtifact(summary: TurnDiffSummary, context: XenoLegacyArtifactContext): XenoArtifactEnvelope;
|
|
2837
|
-
declare function xenoArtifactToTurnDiffSummary(artifact: XenoArtifactEnvelope): TurnDiffSummary;
|
|
2838
|
-
type HookEventName = "SessionStart" | "UserPromptSubmit" | "PermissionRequest" | "PreToolUse" | "PostToolUse" | "PreCompact" | "PostCompact" | "Stop" | "StopFailure" | "SubagentStart" | "SubagentStop";
|
|
2839
|
-
type HookPermissionMode = AgentPermissionMode;
|
|
2840
|
-
interface HookInputBase {
|
|
2841
|
-
schemaVersion: 1;
|
|
2842
|
-
event: HookEventName;
|
|
2843
|
-
sessionId: string;
|
|
2844
|
-
runId: string;
|
|
2845
|
-
rootRunId: string;
|
|
2846
|
-
agentId: string;
|
|
2847
|
-
agentName?: string;
|
|
2848
|
-
agentColor?: string;
|
|
2849
|
-
parentAgentId?: string;
|
|
2850
|
-
cwd: string;
|
|
2851
|
-
transcriptPath?: string;
|
|
2852
|
-
permissionMode: HookPermissionMode;
|
|
2853
|
-
model: string;
|
|
2854
|
-
effort?: string;
|
|
2855
|
-
timestamp: string;
|
|
2856
|
-
}
|
|
2857
|
-
interface HookInvocationInput extends HookInputBase {
|
|
2858
|
-
prompt?: string;
|
|
2859
|
-
toolName?: string;
|
|
2860
|
-
toolInput?: Record<string, unknown>;
|
|
2861
|
-
toolResult?: unknown;
|
|
2862
|
-
finalText?: string;
|
|
2863
|
-
metadata?: Record<string, unknown>;
|
|
2864
|
-
}
|
|
2865
|
-
type HookDecision = {
|
|
2866
|
-
decision: "allow";
|
|
2867
|
-
systemMessage?: string;
|
|
2868
|
-
context?: string;
|
|
2869
|
-
} | {
|
|
2870
|
-
decision: "block";
|
|
2871
|
-
reason: string;
|
|
2872
|
-
systemMessage?: string;
|
|
2873
|
-
} | {
|
|
2874
|
-
decision: "ask";
|
|
2875
|
-
reason: string;
|
|
2876
|
-
prompt: string;
|
|
2877
|
-
} | {
|
|
2878
|
-
decision: "modify";
|
|
2879
|
-
patch: unknown;
|
|
2880
|
-
reason?: string;
|
|
2881
|
-
} | {
|
|
2882
|
-
decision: "continue";
|
|
2883
|
-
context?: string;
|
|
2884
|
-
systemMessage?: string;
|
|
2885
|
-
};
|
|
2886
|
-
interface BaseHookDefinition {
|
|
2887
|
-
name?: string;
|
|
2888
|
-
events?: HookEventName[];
|
|
2889
|
-
timeoutMs?: number;
|
|
2890
|
-
maxOutputBytes?: number;
|
|
2891
|
-
failClosed?: boolean;
|
|
2892
|
-
async?: boolean;
|
|
2893
|
-
}
|
|
2894
|
-
interface CommandHookDefinition extends BaseHookDefinition {
|
|
2895
|
-
type: "command";
|
|
2896
|
-
command: string;
|
|
2897
|
-
args?: string[];
|
|
2898
|
-
cwd?: string;
|
|
2899
|
-
shell?: boolean;
|
|
2900
|
-
env?: Record<string, string>;
|
|
2901
|
-
}
|
|
2902
|
-
interface HttpHookDefinition extends BaseHookDefinition {
|
|
2903
|
-
type: "http";
|
|
2904
|
-
url: string;
|
|
2905
|
-
method?: "POST";
|
|
2906
|
-
headers?: Record<string, string>;
|
|
2907
|
-
}
|
|
2908
|
-
interface PromptHookDefinition extends BaseHookDefinition {
|
|
2909
|
-
type: "prompt";
|
|
2910
|
-
prompt: string;
|
|
2911
|
-
}
|
|
2912
|
-
interface AgentHookDefinition extends BaseHookDefinition {
|
|
2913
|
-
type: "agent";
|
|
2914
|
-
prompt: string;
|
|
2915
|
-
agent?: string;
|
|
2916
|
-
model?: string;
|
|
2917
|
-
}
|
|
2918
|
-
type HookDefinition = CommandHookDefinition | HttpHookDefinition | PromptHookDefinition | AgentHookDefinition;
|
|
2919
|
-
type HookInput = HookInvocationInput;
|
|
2920
|
-
interface HookConfig {
|
|
2921
|
-
hooks?: HookDefinition[];
|
|
2922
|
-
events?: Partial<Record<HookEventName, HookDefinition[]>>;
|
|
3185
|
+
interface XenoGitHubReviewComment {
|
|
3186
|
+
findingId: string;
|
|
3187
|
+
path: string;
|
|
3188
|
+
line?: number;
|
|
3189
|
+
body: string;
|
|
3190
|
+
severity: XenoReviewSeverity;
|
|
3191
|
+
verified: boolean;
|
|
2923
3192
|
}
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
status: HookExecutionStatus;
|
|
2929
|
-
decision?: HookDecision;
|
|
2930
|
-
exitCode?: number | null;
|
|
2931
|
-
signal?: NodeJS.Signals | null;
|
|
2932
|
-
stdout: string;
|
|
2933
|
-
stderr: string;
|
|
2934
|
-
stdoutTruncated: boolean;
|
|
2935
|
-
stderrTruncated: boolean;
|
|
2936
|
-
timedOut: boolean;
|
|
2937
|
-
durationMs: number;
|
|
2938
|
-
error?: string;
|
|
3193
|
+
declare class XenoReviewValidationError extends Error {
|
|
3194
|
+
readonly issues: string[];
|
|
3195
|
+
readonly code = "XENO_REVIEW_INVALID";
|
|
3196
|
+
constructor(issues: string[]);
|
|
2939
3197
|
}
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
3198
|
+
declare class XenoMultiAgentReviewCoordinator {
|
|
3199
|
+
private readonly reviewer;
|
|
3200
|
+
private readonly verifier?;
|
|
3201
|
+
private readonly now;
|
|
3202
|
+
private readonly idFactory;
|
|
3203
|
+
constructor(options: XenoMultiAgentReviewCoordinatorOptions);
|
|
3204
|
+
run(context: XenoReviewCoordinatorContext): Promise<XenoReviewReport>;
|
|
2945
3205
|
}
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
3206
|
+
declare function defaultXenoReviewPack(packId?: string): XenoReviewPack;
|
|
3207
|
+
declare function assertValidXenoReviewPack(pack: XenoReviewPack): void;
|
|
3208
|
+
declare function assertValidXenoReviewTarget(target: XenoReviewTarget): void;
|
|
3209
|
+
declare function assertValidXenoReviewReport(report: XenoReviewReport): void;
|
|
3210
|
+
declare function xenoReviewReportToArtifact(report: XenoReviewReport, context: XenoReviewArtifactContext): XenoArtifactEnvelope;
|
|
3211
|
+
declare function xenoArtifactToReviewReport(artifact: XenoArtifactEnvelope): XenoReviewReport;
|
|
3212
|
+
declare function xenoReviewReportToGitHubComments(report: XenoReviewReport, options?: {
|
|
3213
|
+
verifiedOnly?: boolean;
|
|
3214
|
+
}): XenoGitHubReviewComment[];
|
|
3215
|
+
type AgentSelectionStrategy = "first" | "least-loaded" | "round-robin";
|
|
3216
|
+
interface AgentCard {
|
|
3217
|
+
id: string;
|
|
3218
|
+
name: string;
|
|
3219
|
+
description?: string;
|
|
3220
|
+
capabilities: string[];
|
|
3221
|
+
maxConcurrentTasks?: number;
|
|
3222
|
+
handler: AgentTaskHandler;
|
|
2953
3223
|
}
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
declare function runAgentHook(definition: AgentHookDefinition, input: HookInvocationInput, options?: HookRuntimeOptions): Promise<HookExecutionResult>;
|
|
2961
|
-
declare class PromptHookRunner {
|
|
2962
|
-
private readonly executor;
|
|
2963
|
-
private readonly options;
|
|
2964
|
-
constructor(executor: HookModelExecutor, options?: HookRuntimeOptions);
|
|
2965
|
-
run(definition: PromptHookDefinition, input: HookInvocationInput): Promise<HookExecutionResult>;
|
|
3224
|
+
interface AgentTeam {
|
|
3225
|
+
id: string;
|
|
3226
|
+
name: string;
|
|
3227
|
+
description?: string;
|
|
3228
|
+
agentIds: string[];
|
|
3229
|
+
strategy?: AgentSelectionStrategy;
|
|
2966
3230
|
}
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
3231
|
+
interface AgentLoadSnapshot {
|
|
3232
|
+
agentId: string;
|
|
3233
|
+
agentName: string;
|
|
3234
|
+
activeTasks: number;
|
|
3235
|
+
maxConcurrentTasks: number;
|
|
3236
|
+
availableSlots: number;
|
|
3237
|
+
isAvailable: boolean;
|
|
2972
3238
|
}
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
3239
|
+
interface AgentTask {
|
|
3240
|
+
id: string;
|
|
3241
|
+
type: string;
|
|
3242
|
+
description: string;
|
|
3243
|
+
input: Record<string, unknown>;
|
|
3244
|
+
priority?: "low" | "normal" | "high" | "critical";
|
|
3245
|
+
createdAt: string;
|
|
3246
|
+
status: AgentTaskStatus;
|
|
3247
|
+
assignedTo?: string;
|
|
3248
|
+
createdBy?: string;
|
|
3249
|
+
parentTaskId?: string;
|
|
3250
|
+
timeoutMs?: number;
|
|
2980
3251
|
}
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
3252
|
+
type AgentTaskStatus = "pending" | "assigned" | "running" | "completed" | "failed" | "cancelled" | "timeout";
|
|
3253
|
+
interface AgentTaskResult {
|
|
3254
|
+
taskId: string;
|
|
3255
|
+
status: "completed" | "failed" | "cancelled";
|
|
3256
|
+
result: unknown;
|
|
3257
|
+
error?: string;
|
|
3258
|
+
artifacts?: AgentArtifact[];
|
|
3259
|
+
durationMs?: number;
|
|
2986
3260
|
}
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
3261
|
+
interface AgentArtifact {
|
|
3262
|
+
name: string;
|
|
3263
|
+
mimeType?: string;
|
|
3264
|
+
content: string;
|
|
2991
3265
|
}
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
3266
|
+
type AgentTaskHandler = (task: AgentTask) => Promise<AgentTaskResult>;
|
|
3267
|
+
type A2AMessageType = "task-request" | "task-accepted" | "task-rejected" | "task-progress" | "task-completed" | "task-failed" | "capability-query" | "capability-response";
|
|
3268
|
+
interface A2AMessage {
|
|
3269
|
+
id: string;
|
|
3270
|
+
type: A2AMessageType;
|
|
3271
|
+
from: string;
|
|
3272
|
+
to: string;
|
|
3273
|
+
payload: Record<string, unknown>;
|
|
3274
|
+
timestamp: string;
|
|
3275
|
+
correlationId?: string;
|
|
2996
3276
|
}
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3277
|
+
interface AgentDispatchOptions {
|
|
3278
|
+
timeoutMs?: number;
|
|
3279
|
+
priority?: AgentTask["priority"];
|
|
3280
|
+
parentTaskId?: string;
|
|
3281
|
+
createdBy?: string;
|
|
3282
|
+
waitForCapacity?: boolean;
|
|
3283
|
+
maxQueueWaitMs?: number;
|
|
3004
3284
|
}
|
|
3005
|
-
interface
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
status?: string;
|
|
3009
|
-
role?: string;
|
|
3010
|
-
model: string;
|
|
3011
|
-
startedAt: string;
|
|
3012
|
-
endedAt: string;
|
|
3013
|
-
durationMs: number;
|
|
3014
|
-
messageCount?: number;
|
|
3015
|
-
tokenUsage: ProjectTokenUsageSummary;
|
|
3016
|
-
estimatedCostUsd: number;
|
|
3285
|
+
interface AgentCapabilityDispatchOptions extends AgentDispatchOptions {
|
|
3286
|
+
strategy?: AgentSelectionStrategy;
|
|
3287
|
+
teamId?: string;
|
|
3017
3288
|
}
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
maxIterations?: number;
|
|
3033
|
-
permissionMode?: "default" | "acceptEdits" | "bypassPermissions" | "auto";
|
|
3034
|
-
permissionProfile?: "default" | "read-only" | "trusted-dev";
|
|
3035
|
-
executionMode?: "agent" | "chatOnly";
|
|
3036
|
-
uiColor?: string;
|
|
3037
|
-
outputStyle?: string;
|
|
3038
|
-
memoryContextSessions?: number;
|
|
3039
|
-
memoryContextTokens?: number;
|
|
3040
|
-
memoryContextChars?: number;
|
|
3041
|
-
searchApiKey?: string;
|
|
3042
|
-
searchProvider?: "brave" | "google" | "searxng" | "duckduckgo";
|
|
3043
|
-
searxngUrl?: string;
|
|
3044
|
-
googleCx?: string;
|
|
3045
|
-
mcpEnabled?: boolean;
|
|
3046
|
-
lastReleaseNotesSeen?: string;
|
|
3047
|
-
terminalShiftEnterInstalled?: boolean;
|
|
3289
|
+
declare class AgentRegistry {
|
|
3290
|
+
private agents;
|
|
3291
|
+
private teams;
|
|
3292
|
+
registerAgent(card: AgentCard): void;
|
|
3293
|
+
unregisterAgent(id: string): boolean;
|
|
3294
|
+
getAgent(id: string): AgentCard | undefined;
|
|
3295
|
+
findByCapability(capability: string): AgentCard[];
|
|
3296
|
+
listAgents(): AgentCard[];
|
|
3297
|
+
registerTeam(team: AgentTeam): void;
|
|
3298
|
+
unregisterTeam(id: string): boolean;
|
|
3299
|
+
getTeam(id: string): AgentTeam | undefined;
|
|
3300
|
+
listTeams(): AgentTeam[];
|
|
3301
|
+
listAgentsForTeam(teamId: string): AgentCard[];
|
|
3302
|
+
get size(): number;
|
|
3048
3303
|
}
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3304
|
+
declare class AgentProtocol {
|
|
3305
|
+
private registry;
|
|
3306
|
+
private messageLog;
|
|
3307
|
+
private activeTasks;
|
|
3308
|
+
private activeTasksByAgent;
|
|
3309
|
+
private capabilityRoundRobinCursor;
|
|
3310
|
+
constructor(registry: AgentRegistry);
|
|
3311
|
+
private getAgentCapacity;
|
|
3312
|
+
private getAgentActiveTaskCount;
|
|
3313
|
+
private isAgentAvailable;
|
|
3314
|
+
private reserveAgentTask;
|
|
3315
|
+
private releaseAgentTask;
|
|
3316
|
+
private waitForAgentCapacity;
|
|
3317
|
+
private getCapabilityCandidates;
|
|
3318
|
+
private compareAgentLoad;
|
|
3319
|
+
private selectAgentForCapability;
|
|
3320
|
+
getAgentLoad(agentId: string): AgentLoadSnapshot | undefined;
|
|
3321
|
+
listAgentLoads(options?: {
|
|
3322
|
+
capability?: string;
|
|
3323
|
+
teamId?: string;
|
|
3324
|
+
}): AgentLoadSnapshot[];
|
|
3325
|
+
delegateTask(agentId: string, taskSpec: {
|
|
3326
|
+
type: string;
|
|
3327
|
+
description: string;
|
|
3328
|
+
input: Record<string, unknown>;
|
|
3329
|
+
}, options?: AgentDispatchOptions): Promise<AgentTaskResult>;
|
|
3330
|
+
delegateByCapability(capability: string, taskSpec: {
|
|
3331
|
+
description: string;
|
|
3332
|
+
input: Record<string, unknown>;
|
|
3333
|
+
}, options?: AgentCapabilityDispatchOptions): Promise<AgentTaskResult>;
|
|
3334
|
+
delegateToTeam(teamId: string, taskSpec: {
|
|
3335
|
+
type: string;
|
|
3336
|
+
description: string;
|
|
3337
|
+
input: Record<string, unknown>;
|
|
3338
|
+
}, options?: Omit<AgentCapabilityDispatchOptions, "teamId">): Promise<AgentTaskResult>;
|
|
3339
|
+
getMessageLog(limit?: number): A2AMessage[];
|
|
3340
|
+
getActiveTasks(): AgentTask[];
|
|
3341
|
+
private logMessage;
|
|
3057
3342
|
}
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
declare function isWorkspaceTrusted(cwd?: string): boolean;
|
|
3067
|
-
declare function setWorkspaceTrusted(cwd?: string, trusted?: boolean): void;
|
|
3068
|
-
declare function hasProjectOnboardingCompleted(cwd?: string): boolean;
|
|
3069
|
-
declare function setProjectOnboardingCompleted(cwd?: string, completed?: boolean): void;
|
|
3070
|
-
declare function addProjectAllowedTool(cwd: string, approvalKey: string): XenoProjectState;
|
|
3071
|
-
declare function listProjectAllowedTools(cwd: string): string[];
|
|
3072
|
-
declare function removeProjectAllowedTool(cwd: string, approvalKey: string): XenoProjectState;
|
|
3073
|
-
declare function clearProjectAllowedTools(cwd: string): XenoProjectState;
|
|
3074
|
-
declare function addProjectAllowedDirectory(cwd: string, directory: string): XenoProjectState;
|
|
3075
|
-
declare function getProjectMcpApproval(cwd: string, approvalKey: string): ProjectMcpApprovalDecision | undefined;
|
|
3076
|
-
declare function setProjectMcpApproval(cwd: string, approvalKey: string, decision: ProjectMcpApprovalDecision): XenoProjectState;
|
|
3077
|
-
declare function clearProjectMcpApproval(cwd: string, approvalKey: string): XenoProjectState;
|
|
3078
|
-
declare function listProjectMcpApprovals(cwd: string, scope?: string): Record<string, ProjectMcpApprovalDecision>;
|
|
3079
|
-
declare function clearProjectMcpApprovals(cwd: string, scope?: string): XenoProjectState;
|
|
3080
|
-
declare function getProjectLastSessionSummary(cwd?: string): ProjectSessionSummary | undefined;
|
|
3081
|
-
declare function setProjectLastSessionSummary(cwd: string, summary: ProjectSessionSummary): XenoProjectState;
|
|
3082
|
-
declare function clearProjectLastSessionSummary(cwd: string): XenoProjectState;
|
|
3083
|
-
declare function ensureConfigDir(): void;
|
|
3084
|
-
declare function loadConfig(): XenoUserConfig;
|
|
3085
|
-
declare function loadUserConfig(): XenoUserConfig;
|
|
3086
|
-
declare function saveConfig(updates: Partial<XenoUserConfig>): void;
|
|
3087
|
-
type XenoCredentialType = "api-key" | "jwt" | "empty";
|
|
3088
|
-
type XenoCredentialSource = "explicit" | "env" | "default" | "none";
|
|
3089
|
-
type XenoAuthErrorCode = "token_expired" | "token_not_active" | "token_malformed";
|
|
3090
|
-
interface XenoJwtPayload {
|
|
3091
|
-
exp?: number;
|
|
3092
|
-
iat?: number;
|
|
3093
|
-
nbf?: number;
|
|
3094
|
-
sub?: string;
|
|
3095
|
-
userId?: string;
|
|
3096
|
-
email?: string;
|
|
3097
|
-
username?: string;
|
|
3098
|
-
[key: string]: unknown;
|
|
3343
|
+
interface FileSnapshot {
|
|
3344
|
+
path: string;
|
|
3345
|
+
exists: boolean;
|
|
3346
|
+
size: number;
|
|
3347
|
+
mtimeMs: number;
|
|
3348
|
+
text?: string;
|
|
3349
|
+
binary?: boolean;
|
|
3350
|
+
truncated?: boolean;
|
|
3099
3351
|
}
|
|
3100
|
-
interface
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3352
|
+
interface TurnFileDiff {
|
|
3353
|
+
path: string;
|
|
3354
|
+
status: "created" | "modified" | "deleted" | "unchanged";
|
|
3355
|
+
before?: FileSnapshot;
|
|
3356
|
+
after?: FileSnapshot;
|
|
3357
|
+
patch?: string;
|
|
3106
3358
|
}
|
|
3107
|
-
interface
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
nowMs?: number;
|
|
3113
|
-
skewMs?: number;
|
|
3114
|
-
allowExpired?: boolean;
|
|
3359
|
+
interface TurnDiffSummary {
|
|
3360
|
+
turnId: string;
|
|
3361
|
+
startedAt: string;
|
|
3362
|
+
completedAt: string;
|
|
3363
|
+
files: TurnFileDiff[];
|
|
3115
3364
|
}
|
|
3116
|
-
interface
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
fetchImpl?: typeof fetch;
|
|
3365
|
+
interface TurnDiffTrackerOptions {
|
|
3366
|
+
maxFileBytes?: number;
|
|
3367
|
+
cwd?: string;
|
|
3120
3368
|
}
|
|
3121
|
-
declare class
|
|
3122
|
-
|
|
3123
|
-
readonly
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3369
|
+
declare class TurnDiffTracker {
|
|
3370
|
+
private active?;
|
|
3371
|
+
private readonly maxFileBytes;
|
|
3372
|
+
private readonly cwd;
|
|
3373
|
+
constructor(options?: TurnDiffTrackerOptions);
|
|
3374
|
+
beginTurn(turnId: string): void;
|
|
3375
|
+
observeBefore(paths: Iterable<string | null | undefined>): void;
|
|
3376
|
+
observeAfter(paths: Iterable<string | null | undefined>): void;
|
|
3377
|
+
endTurn(): TurnDiffSummary | undefined;
|
|
3378
|
+
inferToolPaths(toolName: string, input: Record<string, unknown>): string[];
|
|
3379
|
+
private resolvePath;
|
|
3380
|
+
private snapshot;
|
|
3127
3381
|
}
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
}): string;
|
|
3138
|
-
declare function resolveXenoSdkApiKey(options?: ResolveXenoSdkApiKeyOptions): XenoResolvedApiKey;
|
|
3139
|
-
declare function validateXenoSdkApiKey(options: ValidateXenoSdkApiKeyOptions): Promise<{
|
|
3140
|
-
valid: boolean;
|
|
3141
|
-
error?: string;
|
|
3142
|
-
}>;
|
|
3143
|
-
declare const DEFAULT_API_KEY: string;
|
|
3144
|
-
declare const XENO_API_BASE: string;
|
|
3145
|
-
declare const XENO_RT_DEFAULT_URL: string;
|
|
3146
|
-
declare const DEFAULT_MODEL: string;
|
|
3147
|
-
declare const FALLBACK_MODELS: readonly string[];
|
|
3148
|
-
interface ModelInfo {
|
|
3149
|
-
id: string;
|
|
3150
|
-
name: string;
|
|
3151
|
-
owned_by: string;
|
|
3152
|
-
source: "xeno" | "local";
|
|
3153
|
-
type?: string;
|
|
3154
|
-
output_modalities?: string[];
|
|
3155
|
-
available?: boolean;
|
|
3156
|
-
contextWindow?: number;
|
|
3157
|
-
maxCompletionTokens?: number;
|
|
3382
|
+
interface XenoLegacyArtifactContext {
|
|
3383
|
+
artifactId?: string;
|
|
3384
|
+
revision?: number;
|
|
3385
|
+
createdAt?: string;
|
|
3386
|
+
producer: XenoArtifactActor;
|
|
3387
|
+
identity?: XenoArtifactIdentity;
|
|
3388
|
+
state?: XenoArtifactState;
|
|
3389
|
+
sensitivity?: XenoArtifactSensitivity;
|
|
3390
|
+
accessPolicyId?: string;
|
|
3158
3391
|
}
|
|
3159
|
-
interface
|
|
3160
|
-
|
|
3392
|
+
interface XenoLegacyAgentArtifactContext extends XenoLegacyArtifactContext {
|
|
3393
|
+
contentEncoding?: "utf8" | "base64";
|
|
3394
|
+
kind?: XenoArtifactKind;
|
|
3395
|
+
}
|
|
3396
|
+
declare function legacyAgentArtifactToXenoArtifact(legacy: AgentArtifact, context: XenoLegacyAgentArtifactContext): XenoArtifactEnvelope;
|
|
3397
|
+
declare function xenoArtifactToLegacyAgentArtifact(artifact: XenoArtifactEnvelope): AgentArtifact;
|
|
3398
|
+
declare function toolEvidenceToXenoArtifact(evidence: ToolEvidence, context: XenoLegacyArtifactContext): XenoArtifactEnvelope;
|
|
3399
|
+
declare function xenoArtifactToToolEvidence(artifact: XenoArtifactEnvelope): ToolEvidence;
|
|
3400
|
+
declare function turnDiffSummaryToXenoArtifact(summary: TurnDiffSummary, context: XenoLegacyArtifactContext): XenoArtifactEnvelope;
|
|
3401
|
+
declare function xenoArtifactToTurnDiffSummary(artifact: XenoArtifactEnvelope): TurnDiffSummary;
|
|
3402
|
+
type HookEventName = "SessionStart" | "UserPromptSubmit" | "PermissionRequest" | "PreToolUse" | "PostToolUse" | "PreCompact" | "PostCompact" | "Stop" | "StopFailure" | "SubagentStart" | "SubagentStop";
|
|
3403
|
+
type HookPermissionMode = AgentPermissionMode;
|
|
3404
|
+
interface HookInputBase {
|
|
3405
|
+
schemaVersion: 1;
|
|
3406
|
+
event: HookEventName;
|
|
3407
|
+
sessionId: string;
|
|
3408
|
+
runId: string;
|
|
3409
|
+
rootRunId: string;
|
|
3410
|
+
agentId: string;
|
|
3411
|
+
agentName?: string;
|
|
3412
|
+
agentColor?: string;
|
|
3413
|
+
parentAgentId?: string;
|
|
3414
|
+
cwd: string;
|
|
3415
|
+
transcriptPath?: string;
|
|
3416
|
+
permissionMode: HookPermissionMode;
|
|
3161
3417
|
model: string;
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
warning?: string;
|
|
3165
|
-
error?: string;
|
|
3418
|
+
effort?: string;
|
|
3419
|
+
timestamp: string;
|
|
3166
3420
|
}
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3421
|
+
interface HookInvocationInput extends HookInputBase {
|
|
3422
|
+
prompt?: string;
|
|
3423
|
+
toolName?: string;
|
|
3424
|
+
toolInput?: Record<string, unknown>;
|
|
3425
|
+
toolResult?: unknown;
|
|
3426
|
+
finalText?: string;
|
|
3427
|
+
metadata?: Record<string, unknown>;
|
|
3428
|
+
}
|
|
3429
|
+
type HookDecision = {
|
|
3430
|
+
decision: "allow";
|
|
3431
|
+
systemMessage?: string;
|
|
3432
|
+
context?: string;
|
|
3433
|
+
} | {
|
|
3434
|
+
decision: "block";
|
|
3435
|
+
reason: string;
|
|
3436
|
+
systemMessage?: string;
|
|
3437
|
+
} | {
|
|
3438
|
+
decision: "ask";
|
|
3439
|
+
reason: string;
|
|
3440
|
+
prompt: string;
|
|
3441
|
+
} | {
|
|
3442
|
+
decision: "modify";
|
|
3443
|
+
patch: unknown;
|
|
3444
|
+
reason?: string;
|
|
3445
|
+
} | {
|
|
3446
|
+
decision: "continue";
|
|
3447
|
+
context?: string;
|
|
3448
|
+
systemMessage?: string;
|
|
3449
|
+
};
|
|
3450
|
+
interface BaseHookDefinition {
|
|
3451
|
+
name?: string;
|
|
3452
|
+
events?: HookEventName[];
|
|
3177
3453
|
timeoutMs?: number;
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
name: string;
|
|
3454
|
+
maxOutputBytes?: number;
|
|
3455
|
+
failClosed?: boolean;
|
|
3456
|
+
async?: boolean;
|
|
3457
|
+
}
|
|
3458
|
+
interface CommandHookDefinition extends BaseHookDefinition {
|
|
3459
|
+
type: "command";
|
|
3185
3460
|
command: string;
|
|
3186
3461
|
args?: string[];
|
|
3187
|
-
env?: Record<string, string>;
|
|
3188
3462
|
cwd?: string;
|
|
3463
|
+
shell?: boolean;
|
|
3464
|
+
env?: Record<string, string>;
|
|
3189
3465
|
}
|
|
3190
|
-
interface
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
model?: string;
|
|
3195
|
-
maxTokens?: number;
|
|
3196
|
-
permissionMode?: "default" | "acceptEdits" | "bypassPermissions" | "auto";
|
|
3197
|
-
plugins?: string[];
|
|
3198
|
-
mcpServers?: ProfileMCPServerConfig[];
|
|
3199
|
-
}
|
|
3200
|
-
declare class ProfileManager {
|
|
3201
|
-
private data;
|
|
3202
|
-
private filePath;
|
|
3203
|
-
constructor();
|
|
3204
|
-
listProfiles(): ConfigProfile[];
|
|
3205
|
-
getActiveProfile(): ConfigProfile;
|
|
3206
|
-
getActiveProfileName(): string;
|
|
3207
|
-
switchProfile(name: string): void;
|
|
3208
|
-
createProfile(profile: ConfigProfile): void;
|
|
3209
|
-
deleteProfile(name: string): void;
|
|
3210
|
-
updateProfile(name: string, updates: Partial<ConfigProfile>): void;
|
|
3211
|
-
getProfile(name: string): ConfigProfile | undefined;
|
|
3212
|
-
reload(): void;
|
|
3213
|
-
private load;
|
|
3214
|
-
private save;
|
|
3215
|
-
}
|
|
3216
|
-
interface ProjectConfig {
|
|
3217
|
-
model?: string;
|
|
3218
|
-
systemPrompt?: string;
|
|
3219
|
-
permissions?: {
|
|
3220
|
-
allowedCommands?: string[];
|
|
3221
|
-
deniedCommands?: string[];
|
|
3222
|
-
};
|
|
3223
|
-
ignorePatterns?: string[];
|
|
3224
|
-
}
|
|
3225
|
-
declare function loadProjectConfig(cwd?: string): ProjectConfig | null;
|
|
3226
|
-
declare function mergeConfigs(base: ProjectConfig, override: ProjectConfig): ProjectConfig;
|
|
3227
|
-
interface SessionData {
|
|
3228
|
-
id: string;
|
|
3229
|
-
model: string;
|
|
3230
|
-
workingDirectory: string;
|
|
3231
|
-
createdAt: string;
|
|
3232
|
-
updatedAt: string;
|
|
3233
|
-
messages: Message[];
|
|
3234
|
-
totalTokensUsed: number;
|
|
3235
|
-
}
|
|
3236
|
-
interface SessionSummary {
|
|
3237
|
-
id: string;
|
|
3238
|
-
createdAt: string;
|
|
3239
|
-
updatedAt: string;
|
|
3240
|
-
model: string;
|
|
3241
|
-
workingDirectory: string;
|
|
3242
|
-
preview: string;
|
|
3243
|
-
messageCount: number;
|
|
3244
|
-
}
|
|
3245
|
-
declare function saveSession(id: string | null, messages: Message[], model: string, totalTokensUsed: number): string;
|
|
3246
|
-
declare function loadSession(id: string): SessionData | null;
|
|
3247
|
-
declare function listSessions(limit?: number): SessionSummary[];
|
|
3248
|
-
declare function deleteSession(id: string): boolean;
|
|
3249
|
-
interface ModelProvider {
|
|
3250
|
-
id: string;
|
|
3251
|
-
name: string;
|
|
3252
|
-
baseURL: string;
|
|
3253
|
-
apiKeyEnvVar: string;
|
|
3254
|
-
defaultApiKey?: string;
|
|
3255
|
-
modelPrefixes: string[];
|
|
3256
|
-
models: string[];
|
|
3257
|
-
supportsStreaming: boolean;
|
|
3258
|
-
supportsToolUse: boolean;
|
|
3259
|
-
maxContextTokens?: number;
|
|
3466
|
+
interface HttpHookDefinition extends BaseHookDefinition {
|
|
3467
|
+
type: "http";
|
|
3468
|
+
url: string;
|
|
3469
|
+
method?: "POST";
|
|
3260
3470
|
headers?: Record<string, string>;
|
|
3261
|
-
requestFormat?: "openai" | "google";
|
|
3262
3471
|
}
|
|
3263
|
-
interface
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3472
|
+
interface PromptHookDefinition extends BaseHookDefinition {
|
|
3473
|
+
type: "prompt";
|
|
3474
|
+
prompt: string;
|
|
3475
|
+
}
|
|
3476
|
+
interface AgentHookDefinition extends BaseHookDefinition {
|
|
3477
|
+
type: "agent";
|
|
3478
|
+
prompt: string;
|
|
3479
|
+
agent?: string;
|
|
3480
|
+
model?: string;
|
|
3269
3481
|
}
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
removeProvider(id: string): boolean;
|
|
3276
|
-
getProvider(id: string): ModelProvider | undefined;
|
|
3277
|
-
listProviders(): ModelProvider[];
|
|
3278
|
-
resolveProvider(model: string, overrides?: {
|
|
3279
|
-
apiKey?: string;
|
|
3280
|
-
baseURL?: string;
|
|
3281
|
-
}): ResolvedProvider;
|
|
3482
|
+
type HookDefinition = CommandHookDefinition | HttpHookDefinition | PromptHookDefinition | AgentHookDefinition;
|
|
3483
|
+
type HookInput = HookInvocationInput;
|
|
3484
|
+
interface HookConfig {
|
|
3485
|
+
hooks?: HookDefinition[];
|
|
3486
|
+
events?: Partial<Record<HookEventName, HookDefinition[]>>;
|
|
3282
3487
|
}
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3488
|
+
type HookModelExecutor = (definition: PromptHookDefinition | AgentHookDefinition, input: HookInvocationInput) => HookDecision | Promise<HookDecision>;
|
|
3489
|
+
type HookExecutionStatus = "allowed" | "blocked" | "asked" | "modified" | "continued" | "errored" | "timed_out";
|
|
3490
|
+
interface HookExecutionResult {
|
|
3491
|
+
hook: HookDefinition;
|
|
3492
|
+
status: HookExecutionStatus;
|
|
3493
|
+
decision?: HookDecision;
|
|
3494
|
+
exitCode?: number | null;
|
|
3495
|
+
signal?: NodeJS.Signals | null;
|
|
3496
|
+
stdout: string;
|
|
3497
|
+
stderr: string;
|
|
3498
|
+
stdoutTruncated: boolean;
|
|
3499
|
+
stderrTruncated: boolean;
|
|
3500
|
+
timedOut: boolean;
|
|
3501
|
+
durationMs: number;
|
|
3502
|
+
error?: string;
|
|
3290
3503
|
}
|
|
3291
|
-
interface
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3504
|
+
interface HookRunResult {
|
|
3505
|
+
decision: HookDecision;
|
|
3506
|
+
results: HookExecutionResult[];
|
|
3507
|
+
context: string[];
|
|
3508
|
+
systemMessages: string[];
|
|
3296
3509
|
}
|
|
3297
|
-
interface
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3510
|
+
interface HookRuntimeOptions {
|
|
3511
|
+
defaultTimeoutMs?: number;
|
|
3512
|
+
defaultMaxOutputBytes?: number;
|
|
3513
|
+
env?: NodeJS.ProcessEnv;
|
|
3514
|
+
permissionProfile?: PermissionProfile;
|
|
3515
|
+
promptExecutor?: HookModelExecutor;
|
|
3516
|
+
agentExecutor?: HookModelExecutor;
|
|
3303
3517
|
}
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3518
|
+
declare function normalizeHookDecision(value: unknown): HookDecision;
|
|
3519
|
+
declare function buildHookEnvironment(input: HookInvocationInput, definition: CommandHookDefinition, sourceEnv?: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
|
|
3520
|
+
declare function hookResultStatus(decision: HookDecision | undefined): HookExecutionResult["status"];
|
|
3521
|
+
declare function runCommandHook(definition: CommandHookDefinition, input: HookInvocationInput, options?: HookRuntimeOptions): Promise<HookExecutionResult>;
|
|
3522
|
+
declare function runHttpHook(definition: HttpHookDefinition, input: HookInvocationInput, options?: HookRuntimeOptions): Promise<HookExecutionResult>;
|
|
3523
|
+
declare function runPromptHook(definition: PromptHookDefinition, input: HookInvocationInput, options?: HookRuntimeOptions): Promise<HookExecutionResult>;
|
|
3524
|
+
declare function runAgentHook(definition: AgentHookDefinition, input: HookInvocationInput, options?: HookRuntimeOptions): Promise<HookExecutionResult>;
|
|
3525
|
+
declare class PromptHookRunner {
|
|
3526
|
+
private readonly executor;
|
|
3527
|
+
private readonly options;
|
|
3528
|
+
constructor(executor: HookModelExecutor, options?: HookRuntimeOptions);
|
|
3529
|
+
run(definition: PromptHookDefinition, input: HookInvocationInput): Promise<HookExecutionResult>;
|
|
3309
3530
|
}
|
|
3310
|
-
declare
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
role?: string;
|
|
3316
|
-
sessionDir?: string;
|
|
3317
|
-
scope?: MemoryAccessScope;
|
|
3318
|
-
budgets?: Partial<MemoryBudget>;
|
|
3319
|
-
projectSessionContext?: {
|
|
3320
|
-
limit?: number;
|
|
3321
|
-
maxTokens?: number;
|
|
3322
|
-
maxCharsPerSession?: number;
|
|
3323
|
-
};
|
|
3531
|
+
declare class AgentHookRunner {
|
|
3532
|
+
private readonly executor;
|
|
3533
|
+
private readonly options;
|
|
3534
|
+
constructor(executor: HookModelExecutor, options?: HookRuntimeOptions);
|
|
3535
|
+
run(definition: AgentHookDefinition, input: HookInvocationInput): Promise<HookExecutionResult>;
|
|
3324
3536
|
}
|
|
3325
|
-
|
|
3326
|
-
declare
|
|
3327
|
-
|
|
3328
|
-
private
|
|
3329
|
-
private
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
private budgets;
|
|
3333
|
-
private projectSessionContextDefaults;
|
|
3334
|
-
constructor(options: MemoryManagerOptions);
|
|
3335
|
-
get accessScope(): MemoryAccessScope;
|
|
3336
|
-
canAccessLevel(level: MemoryLevel): boolean;
|
|
3337
|
-
private assertLevelAccess;
|
|
3338
|
-
getProjectSessionContextDefaults(): {
|
|
3339
|
-
limit: number;
|
|
3340
|
-
maxTokens: number;
|
|
3341
|
-
maxCharsPerSession: number;
|
|
3342
|
-
};
|
|
3343
|
-
getPath(level: MemoryLevel): string;
|
|
3344
|
-
loadForPrompt(): Promise<ResolvedMemory>;
|
|
3345
|
-
loadProjectSessionContext(options?: {
|
|
3346
|
-
excludeSessionId?: string;
|
|
3347
|
-
limit?: number;
|
|
3348
|
-
maxTokens?: number;
|
|
3349
|
-
maxCharsPerSession?: number;
|
|
3350
|
-
}): Promise<ProjectSessionContext>;
|
|
3351
|
-
private filterProjectSessions;
|
|
3352
|
-
private normalizePath;
|
|
3353
|
-
private extractRecentTranscriptExcerpt;
|
|
3354
|
-
private formatProjectSessionEntry;
|
|
3355
|
-
add(level: MemoryLevel, content: string, source: "user" | "auto"): Promise<void>;
|
|
3356
|
-
set(level: MemoryLevel, content: string): Promise<void>;
|
|
3357
|
-
formatForPrompt(memory: ResolvedMemory): string;
|
|
3358
|
-
private truncateContent;
|
|
3537
|
+
declare function runHookDefinition(hook: HookDefinition, input: HookInvocationInput, options?: HookRuntimeOptions): Promise<HookExecutionResult>;
|
|
3538
|
+
declare function runHooks(hooks: readonly HookDefinition[], input: HookInvocationInput, options?: HookRuntimeOptions): Promise<HookRunResult>;
|
|
3539
|
+
declare class HookRunner {
|
|
3540
|
+
private readonly hooks;
|
|
3541
|
+
private readonly options;
|
|
3542
|
+
constructor(hooks: readonly HookDefinition[], options?: HookRuntimeOptions);
|
|
3543
|
+
run(input: HookInvocationInput): Promise<HookRunResult>;
|
|
3359
3544
|
}
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3545
|
+
declare class HookRuntime {
|
|
3546
|
+
private readonly config;
|
|
3547
|
+
private readonly options;
|
|
3548
|
+
constructor(config: HookConfig, options?: HookRuntimeOptions);
|
|
3549
|
+
run(input: HookInvocationInput): Promise<HookRunResult>;
|
|
3365
3550
|
}
|
|
3366
|
-
declare class
|
|
3367
|
-
private
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
shouldTrigger(context: AutoMemoryContext): AutoMemoryTrigger | null;
|
|
3371
|
-
extract(trigger: AutoMemoryTrigger, messages: Message[]): Promise<string | null>;
|
|
3372
|
-
private extractErrorCorrection;
|
|
3373
|
-
private extractPattern;
|
|
3374
|
-
private extractPreference;
|
|
3375
|
-
private extractTaskSummary;
|
|
3376
|
-
private messagesToText;
|
|
3377
|
-
private normalizeError;
|
|
3551
|
+
declare class CommandHookRunner {
|
|
3552
|
+
private readonly options;
|
|
3553
|
+
constructor(options?: HookRuntimeOptions);
|
|
3554
|
+
run(definition: CommandHookDefinition, input: HookInvocationInput): Promise<HookExecutionResult>;
|
|
3378
3555
|
}
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
metadata: Record<string, unknown>;
|
|
3556
|
+
declare class HttpHookRunner {
|
|
3557
|
+
private readonly options;
|
|
3558
|
+
constructor(options?: HookRuntimeOptions);
|
|
3559
|
+
run(definition: HttpHookDefinition, input: HookInvocationInput): Promise<HookExecutionResult>;
|
|
3384
3560
|
}
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3561
|
+
declare const CONFIG_VERSION = 2;
|
|
3562
|
+
declare const PROJECT_STATE_VERSION = 3;
|
|
3563
|
+
type ProjectMcpApprovalDecision = "approved" | "denied";
|
|
3564
|
+
interface ProjectTokenUsageSummary {
|
|
3565
|
+
input: number;
|
|
3566
|
+
output: number;
|
|
3567
|
+
total: number;
|
|
3390
3568
|
}
|
|
3391
|
-
interface
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3569
|
+
interface ProjectSessionSummary {
|
|
3570
|
+
sessionId?: string;
|
|
3571
|
+
mode?: "chat" | "run" | "save";
|
|
3572
|
+
status?: string;
|
|
3573
|
+
role?: string;
|
|
3574
|
+
model: string;
|
|
3575
|
+
startedAt: string;
|
|
3576
|
+
endedAt: string;
|
|
3577
|
+
durationMs: number;
|
|
3578
|
+
messageCount?: number;
|
|
3579
|
+
tokenUsage: ProjectTokenUsageSummary;
|
|
3580
|
+
estimatedCostUsd: number;
|
|
3581
|
+
}
|
|
3582
|
+
interface XenoUserConfig {
|
|
3583
|
+
configVersion?: number;
|
|
3584
|
+
apiKey?: string;
|
|
3585
|
+
model?: string;
|
|
3586
|
+
effort?: AgentEffortLevel;
|
|
3587
|
+
fallbackModels?: string[];
|
|
3588
|
+
worktree?: {
|
|
3589
|
+
enabledForBackgroundRuns?: boolean;
|
|
3590
|
+
baseRef?: string;
|
|
3591
|
+
root?: string;
|
|
3592
|
+
cleanupCompletedAfterDays?: number;
|
|
3593
|
+
};
|
|
3594
|
+
baseURL?: string;
|
|
3595
|
+
maxTokens?: number;
|
|
3596
|
+
maxIterations?: number;
|
|
3597
|
+
permissionMode?: "default" | "acceptEdits" | "bypassPermissions" | "auto";
|
|
3598
|
+
permissionProfile?: "default" | "read-only" | "trusted-dev";
|
|
3599
|
+
executionMode?: "agent" | "chatOnly";
|
|
3600
|
+
uiColor?: string;
|
|
3601
|
+
outputStyle?: string;
|
|
3602
|
+
memoryContextSessions?: number;
|
|
3603
|
+
memoryContextTokens?: number;
|
|
3604
|
+
memoryContextChars?: number;
|
|
3605
|
+
searchApiKey?: string;
|
|
3606
|
+
searchProvider?: "brave" | "google" | "searxng" | "duckduckgo";
|
|
3607
|
+
searxngUrl?: string;
|
|
3608
|
+
googleCx?: string;
|
|
3609
|
+
mcpEnabled?: boolean;
|
|
3610
|
+
lastReleaseNotesSeen?: string;
|
|
3611
|
+
terminalShiftEnterInstalled?: boolean;
|
|
3612
|
+
}
|
|
3613
|
+
interface XenoProjectState {
|
|
3614
|
+
configVersion?: number;
|
|
3615
|
+
trustedWorkspace?: boolean;
|
|
3616
|
+
allowedTools?: string[];
|
|
3617
|
+
allowedDirectories?: string[];
|
|
3618
|
+
mcpApprovals?: Record<string, ProjectMcpApprovalDecision>;
|
|
3619
|
+
lastSessionSummary?: ProjectSessionSummary;
|
|
3620
|
+
hasCompletedProjectOnboarding?: boolean;
|
|
3395
3621
|
}
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3622
|
+
declare function getConfigDir(): string;
|
|
3623
|
+
declare function getAgentHome(): string;
|
|
3624
|
+
declare function getManagedConfigPath(): string | undefined;
|
|
3625
|
+
declare function getProjectStatePath(cwd?: string): string;
|
|
3626
|
+
declare function ensureProjectStateDir(cwd?: string): void;
|
|
3627
|
+
declare function loadProjectState(cwd?: string): XenoProjectState;
|
|
3628
|
+
declare function saveProjectState(cwd: string, updates: Partial<XenoProjectState>): void;
|
|
3629
|
+
declare function updateProjectState(cwd: string, updater: (current: XenoProjectState) => XenoProjectState): XenoProjectState;
|
|
3630
|
+
declare function isWorkspaceTrusted(cwd?: string): boolean;
|
|
3631
|
+
declare function setWorkspaceTrusted(cwd?: string, trusted?: boolean): void;
|
|
3632
|
+
declare function hasProjectOnboardingCompleted(cwd?: string): boolean;
|
|
3633
|
+
declare function setProjectOnboardingCompleted(cwd?: string, completed?: boolean): void;
|
|
3634
|
+
declare function addProjectAllowedTool(cwd: string, approvalKey: string): XenoProjectState;
|
|
3635
|
+
declare function listProjectAllowedTools(cwd: string): string[];
|
|
3636
|
+
declare function removeProjectAllowedTool(cwd: string, approvalKey: string): XenoProjectState;
|
|
3637
|
+
declare function clearProjectAllowedTools(cwd: string): XenoProjectState;
|
|
3638
|
+
declare function addProjectAllowedDirectory(cwd: string, directory: string): XenoProjectState;
|
|
3639
|
+
declare function getProjectMcpApproval(cwd: string, approvalKey: string): ProjectMcpApprovalDecision | undefined;
|
|
3640
|
+
declare function setProjectMcpApproval(cwd: string, approvalKey: string, decision: ProjectMcpApprovalDecision): XenoProjectState;
|
|
3641
|
+
declare function clearProjectMcpApproval(cwd: string, approvalKey: string): XenoProjectState;
|
|
3642
|
+
declare function listProjectMcpApprovals(cwd: string, scope?: string): Record<string, ProjectMcpApprovalDecision>;
|
|
3643
|
+
declare function clearProjectMcpApprovals(cwd: string, scope?: string): XenoProjectState;
|
|
3644
|
+
declare function getProjectLastSessionSummary(cwd?: string): ProjectSessionSummary | undefined;
|
|
3645
|
+
declare function setProjectLastSessionSummary(cwd: string, summary: ProjectSessionSummary): XenoProjectState;
|
|
3646
|
+
declare function clearProjectLastSessionSummary(cwd: string): XenoProjectState;
|
|
3647
|
+
declare function ensureConfigDir(): void;
|
|
3648
|
+
declare function loadConfig(): XenoUserConfig;
|
|
3649
|
+
declare function loadUserConfig(): XenoUserConfig;
|
|
3650
|
+
declare function saveConfig(updates: Partial<XenoUserConfig>): void;
|
|
3651
|
+
type XenoCredentialType = "api-key" | "jwt" | "empty";
|
|
3652
|
+
type XenoCredentialSource = "explicit" | "env" | "default" | "none";
|
|
3653
|
+
type XenoAuthErrorCode = "token_expired" | "token_not_active" | "token_malformed";
|
|
3654
|
+
interface XenoJwtPayload {
|
|
3655
|
+
exp?: number;
|
|
3656
|
+
iat?: number;
|
|
3657
|
+
nbf?: number;
|
|
3658
|
+
sub?: string;
|
|
3659
|
+
userId?: string;
|
|
3660
|
+
email?: string;
|
|
3661
|
+
username?: string;
|
|
3662
|
+
[key: string]: unknown;
|
|
3404
3663
|
}
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
constructor(options?: VectorStoreOptions);
|
|
3412
|
-
addDocument(id: string, content: string, metadata?: Record<string, unknown>): Promise<void>;
|
|
3413
|
-
search(query: string, topK?: number, minScore?: number): Promise<VectorSearchResult[]>;
|
|
3414
|
-
removeDocument(id: string): boolean;
|
|
3415
|
-
getDocument(id: string): VectorDocument | undefined;
|
|
3416
|
-
get size(): number;
|
|
3417
|
-
clear(): void;
|
|
3418
|
-
exportDocuments(): VectorDocument[];
|
|
3419
|
-
importDocuments(docs: VectorDocument[]): void;
|
|
3664
|
+
interface XenoResolvedApiKey {
|
|
3665
|
+
apiKey: string;
|
|
3666
|
+
source: XenoCredentialSource;
|
|
3667
|
+
credentialType: XenoCredentialType;
|
|
3668
|
+
expiresAt?: string;
|
|
3669
|
+
expiresInMs?: number;
|
|
3420
3670
|
}
|
|
3421
|
-
interface
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3671
|
+
interface ResolveXenoSdkApiKeyOptions {
|
|
3672
|
+
explicitApiKey?: string;
|
|
3673
|
+
env?: Record<string, string | undefined>;
|
|
3674
|
+
envVar?: string;
|
|
3675
|
+
defaultApiKey?: string;
|
|
3676
|
+
nowMs?: number;
|
|
3677
|
+
skewMs?: number;
|
|
3678
|
+
allowExpired?: boolean;
|
|
3425
3679
|
}
|
|
3426
|
-
interface
|
|
3427
|
-
|
|
3428
|
-
|
|
3680
|
+
interface ValidateXenoSdkApiKeyOptions {
|
|
3681
|
+
apiKey: string;
|
|
3682
|
+
apiBaseURL: string;
|
|
3683
|
+
fetchImpl?: typeof fetch;
|
|
3429
3684
|
}
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3685
|
+
declare class XenoAuthError extends Error {
|
|
3686
|
+
readonly code: XenoAuthErrorCode;
|
|
3687
|
+
readonly expiresAt?: string;
|
|
3688
|
+
constructor(message: string, code: XenoAuthErrorCode, context?: {
|
|
3689
|
+
expiresAt?: string;
|
|
3690
|
+
});
|
|
3436
3691
|
}
|
|
3437
|
-
|
|
3438
|
-
|
|
3692
|
+
declare function isJwt(value: string | undefined): value is string;
|
|
3693
|
+
declare function decodeJwtPayload(token: string | undefined): XenoJwtPayload | undefined;
|
|
3694
|
+
declare function getJwtExpiry(token: string | undefined): Date | undefined;
|
|
3695
|
+
declare function isExpiredJwt(token: string | undefined, nowMs?: number, skewMs?: number): boolean;
|
|
3696
|
+
declare function isNotBeforeJwt(token: string | undefined, nowMs?: number, skewMs?: number): boolean;
|
|
3697
|
+
declare function assertUsableXenoApiKey(apiKey: string | undefined, options?: {
|
|
3698
|
+
nowMs?: number;
|
|
3699
|
+
skewMs?: number;
|
|
3700
|
+
allowExpired?: boolean;
|
|
3701
|
+
}): string;
|
|
3702
|
+
declare function resolveXenoSdkApiKey(options?: ResolveXenoSdkApiKeyOptions): XenoResolvedApiKey;
|
|
3703
|
+
declare function validateXenoSdkApiKey(options: ValidateXenoSdkApiKeyOptions): Promise<{
|
|
3704
|
+
valid: boolean;
|
|
3705
|
+
error?: string;
|
|
3706
|
+
}>;
|
|
3707
|
+
declare const DEFAULT_API_KEY: string;
|
|
3708
|
+
declare const XENO_API_BASE: string;
|
|
3709
|
+
declare const XENO_RT_DEFAULT_URL: string;
|
|
3710
|
+
declare const DEFAULT_MODEL: string;
|
|
3711
|
+
declare const FALLBACK_MODELS: readonly string[];
|
|
3712
|
+
interface ModelInfo {
|
|
3713
|
+
id: string;
|
|
3714
|
+
name: string;
|
|
3715
|
+
owned_by: string;
|
|
3716
|
+
source: "xeno" | "local";
|
|
3717
|
+
type?: string;
|
|
3718
|
+
output_modalities?: string[];
|
|
3719
|
+
available?: boolean;
|
|
3720
|
+
contextWindow?: number;
|
|
3721
|
+
maxCompletionTokens?: number;
|
|
3439
3722
|
}
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
reason?: string;
|
|
3723
|
+
interface LocalRuntimePreflightResult {
|
|
3724
|
+
ok: boolean;
|
|
3725
|
+
model: string;
|
|
3726
|
+
baseUrl: string;
|
|
3727
|
+
endpoint?: "openai" | "native";
|
|
3728
|
+
warning?: string;
|
|
3729
|
+
error?: string;
|
|
3448
3730
|
}
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3731
|
+
declare function cachedModelContextWindow(modelId: string): number | undefined;
|
|
3732
|
+
declare function getAvailableModels(options?: {
|
|
3733
|
+
apiKey?: string;
|
|
3734
|
+
localRuntimeUrl?: string;
|
|
3735
|
+
forceRefresh?: boolean;
|
|
3736
|
+
}): Promise<ModelInfo[]>;
|
|
3737
|
+
declare function isLocalModel(model: string): boolean;
|
|
3738
|
+
declare function getModelName(model: string): string;
|
|
3739
|
+
declare function preflightLocalModel(model: string, options?: {
|
|
3740
|
+
localRuntimeUrl?: string;
|
|
3741
|
+
timeoutMs?: number;
|
|
3742
|
+
}): Promise<LocalRuntimePreflightResult>;
|
|
3743
|
+
declare function isValidModel(model: string, apiKey?: string, forceRefresh?: boolean): Promise<boolean>;
|
|
3744
|
+
declare function isChatModel(model: ModelInfo): boolean;
|
|
3745
|
+
declare function getChatModels(apiKey?: string, forceRefresh?: boolean): Promise<ModelInfo[]>;
|
|
3746
|
+
declare function formatModelList(apiKey?: string, showAll?: boolean, forceRefresh?: boolean): Promise<string>;
|
|
3747
|
+
interface ProfileMCPServerConfig {
|
|
3748
|
+
name: string;
|
|
3749
|
+
command: string;
|
|
3750
|
+
args?: string[];
|
|
3751
|
+
env?: Record<string, string>;
|
|
3752
|
+
cwd?: string;
|
|
3461
3753
|
}
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
id: string;
|
|
3472
|
-
subject: string;
|
|
3473
|
-
description: string;
|
|
3474
|
-
status: HarnessTaskStatus;
|
|
3475
|
-
activeForm?: string;
|
|
3476
|
-
owner?: string;
|
|
3477
|
-
metadata: Record<string, unknown>;
|
|
3478
|
-
blocks: string[];
|
|
3479
|
-
blockedBy: string[];
|
|
3480
|
-
createdAt: string;
|
|
3481
|
-
updatedAt: string;
|
|
3754
|
+
interface ConfigProfile {
|
|
3755
|
+
name: string;
|
|
3756
|
+
apiKey?: string;
|
|
3757
|
+
baseURL?: string;
|
|
3758
|
+
model?: string;
|
|
3759
|
+
maxTokens?: number;
|
|
3760
|
+
permissionMode?: "default" | "acceptEdits" | "bypassPermissions" | "auto";
|
|
3761
|
+
plugins?: string[];
|
|
3762
|
+
mcpServers?: ProfileMCPServerConfig[];
|
|
3482
3763
|
}
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3764
|
+
declare class ProfileManager {
|
|
3765
|
+
private data;
|
|
3766
|
+
private filePath;
|
|
3767
|
+
constructor();
|
|
3768
|
+
listProfiles(): ConfigProfile[];
|
|
3769
|
+
getActiveProfile(): ConfigProfile;
|
|
3770
|
+
getActiveProfileName(): string;
|
|
3771
|
+
switchProfile(name: string): void;
|
|
3772
|
+
createProfile(profile: ConfigProfile): void;
|
|
3773
|
+
deleteProfile(name: string): void;
|
|
3774
|
+
updateProfile(name: string, updates: Partial<ConfigProfile>): void;
|
|
3775
|
+
getProfile(name: string): ConfigProfile | undefined;
|
|
3776
|
+
reload(): void;
|
|
3777
|
+
private load;
|
|
3778
|
+
private save;
|
|
3492
3779
|
}
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
}): HarnessTask;
|
|
3502
|
-
get(taskId: string): HarnessTask | undefined;
|
|
3503
|
-
list(): HarnessTask[];
|
|
3504
|
-
update(taskId: string, input: HarnessTaskUpdate): HarnessTask | undefined;
|
|
3505
|
-
delete(taskId: string): boolean;
|
|
3506
|
-
private incompleteBlockers;
|
|
3507
|
-
private assertDependencyTargets;
|
|
3508
|
-
private link;
|
|
3509
|
-
private assertAcyclic;
|
|
3510
|
-
private snapshot;
|
|
3511
|
-
private restore;
|
|
3780
|
+
interface ProjectConfig {
|
|
3781
|
+
model?: string;
|
|
3782
|
+
systemPrompt?: string;
|
|
3783
|
+
permissions?: {
|
|
3784
|
+
allowedCommands?: string[];
|
|
3785
|
+
deniedCommands?: string[];
|
|
3786
|
+
};
|
|
3787
|
+
ignorePatterns?: string[];
|
|
3512
3788
|
}
|
|
3513
|
-
declare function
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
sandbox?: AgentSandbox;
|
|
3524
|
-
validateInputs?: boolean;
|
|
3525
|
-
toolSchemaMode?: "all" | "demand";
|
|
3526
|
-
taskListManager?: TaskListManager;
|
|
3527
|
-
shellEnvironment?: NodeJS.ProcessEnv;
|
|
3528
|
-
shellSensitiveEnvironmentKeys?: readonly string[];
|
|
3789
|
+
declare function loadProjectConfig(cwd?: string): ProjectConfig | null;
|
|
3790
|
+
declare function mergeConfigs(base: ProjectConfig, override: ProjectConfig): ProjectConfig;
|
|
3791
|
+
interface SessionData {
|
|
3792
|
+
id: string;
|
|
3793
|
+
model: string;
|
|
3794
|
+
workingDirectory: string;
|
|
3795
|
+
createdAt: string;
|
|
3796
|
+
updatedAt: string;
|
|
3797
|
+
messages: Message[];
|
|
3798
|
+
totalTokensUsed: number;
|
|
3529
3799
|
}
|
|
3530
|
-
interface
|
|
3531
|
-
|
|
3532
|
-
|
|
3800
|
+
interface SessionSummary {
|
|
3801
|
+
id: string;
|
|
3802
|
+
createdAt: string;
|
|
3803
|
+
updatedAt: string;
|
|
3804
|
+
model: string;
|
|
3805
|
+
workingDirectory: string;
|
|
3806
|
+
preview: string;
|
|
3807
|
+
messageCount: number;
|
|
3533
3808
|
}
|
|
3534
|
-
declare
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
private emitChange;
|
|
3552
|
-
get(name: string): RegisteredTool | undefined;
|
|
3553
|
-
getDefinitions(): ToolDefinition[];
|
|
3554
|
-
getDefinitionsForRequest(): ToolDefinition[];
|
|
3555
|
-
getCapabilityCatalog(): string;
|
|
3556
|
-
activateMatchingDefinitions(query: string, limit?: number): ToolDefinition[];
|
|
3557
|
-
private static namespaceOf;
|
|
3558
|
-
getDefinitionsByNamespace(namespace: string): ToolDefinition[];
|
|
3559
|
-
listNamespaces(): string[];
|
|
3560
|
-
execute(name: string, input: Record<string, unknown>, context?: ToolExecutionContext): Promise<ToolResult>;
|
|
3561
|
-
listNames(): string[];
|
|
3562
|
-
has(name: string): boolean;
|
|
3563
|
-
projectPolicyInput(name: string, input: Record<string, unknown>): ToolPolicyProjection | {
|
|
3564
|
-
error: ToolResult;
|
|
3565
|
-
};
|
|
3566
|
-
get size(): number;
|
|
3567
|
-
private compileDefinition;
|
|
3568
|
-
private assertDefinitionsExportable;
|
|
3809
|
+
declare function saveSession(id: string | null, messages: Message[], model: string, totalTokensUsed: number): string;
|
|
3810
|
+
declare function loadSession(id: string): SessionData | null;
|
|
3811
|
+
declare function listSessions(limit?: number): SessionSummary[];
|
|
3812
|
+
declare function deleteSession(id: string): boolean;
|
|
3813
|
+
interface ModelProvider {
|
|
3814
|
+
id: string;
|
|
3815
|
+
name: string;
|
|
3816
|
+
baseURL: string;
|
|
3817
|
+
apiKeyEnvVar: string;
|
|
3818
|
+
defaultApiKey?: string;
|
|
3819
|
+
modelPrefixes: string[];
|
|
3820
|
+
models: string[];
|
|
3821
|
+
supportsStreaming: boolean;
|
|
3822
|
+
supportsToolUse: boolean;
|
|
3823
|
+
maxContextTokens?: number;
|
|
3824
|
+
headers?: Record<string, string>;
|
|
3825
|
+
requestFormat?: "openai" | "google";
|
|
3569
3826
|
}
|
|
3570
|
-
|
|
3571
|
-
|
|
3827
|
+
interface ResolvedProvider {
|
|
3828
|
+
provider: ModelProvider;
|
|
3829
|
+
model: string;
|
|
3830
|
+
baseURL: string;
|
|
3831
|
+
apiKey: string;
|
|
3832
|
+
headers: Record<string, string>;
|
|
3833
|
+
}
|
|
3834
|
+
declare function resolveModelContextTokens(model: string): number | undefined;
|
|
3835
|
+
declare class ModelProviderRegistry {
|
|
3836
|
+
private providers;
|
|
3837
|
+
constructor();
|
|
3838
|
+
addProvider(provider: ModelProvider): void;
|
|
3839
|
+
removeProvider(id: string): boolean;
|
|
3840
|
+
getProvider(id: string): ModelProvider | undefined;
|
|
3841
|
+
listProviders(): ModelProvider[];
|
|
3842
|
+
resolveProvider(model: string, overrides?: {
|
|
3843
|
+
apiKey?: string;
|
|
3844
|
+
baseURL?: string;
|
|
3845
|
+
}): ResolvedProvider;
|
|
3846
|
+
}
|
|
3847
|
+
declare function getDefaultProviderRegistry(): ModelProviderRegistry;
|
|
3572
3848
|
interface PermissionDecisionEvent {
|
|
3573
3849
|
traceId?: string;
|
|
3574
3850
|
toolName: string;
|
|
@@ -4033,6 +4309,7 @@ type XenoRuntimeEvent = (XenoRuntimeEventBase & {
|
|
|
4033
4309
|
success: boolean;
|
|
4034
4310
|
outputPreview: string;
|
|
4035
4311
|
error?: string;
|
|
4312
|
+
webContext?: WebContextToolResult;
|
|
4036
4313
|
elapsedMs: number;
|
|
4037
4314
|
iteration?: number;
|
|
4038
4315
|
}) | (XenoRuntimeEventBase & {
|
|
@@ -4570,6 +4847,16 @@ declare class TranscriptWriter {
|
|
|
4570
4847
|
offset?: number;
|
|
4571
4848
|
}): Promise<TranscriptEvent[]>;
|
|
4572
4849
|
private isMessageData;
|
|
4850
|
+
isMessageEvent(event: TranscriptEvent): event is TranscriptEvent & {
|
|
4851
|
+
data: Message;
|
|
4852
|
+
};
|
|
4853
|
+
readValidated(): Promise<{
|
|
4854
|
+
events: TranscriptEvent[];
|
|
4855
|
+
issues: Array<{
|
|
4856
|
+
code: "torn_transcript_tail" | "invalid_transcript_event" | "non_monotonic_sequence";
|
|
4857
|
+
detail: string;
|
|
4858
|
+
}>;
|
|
4859
|
+
}>;
|
|
4573
4860
|
getMessages(): Promise<Message[]>;
|
|
4574
4861
|
replaceMessages(messages: Message[]): Promise<void>;
|
|
4575
4862
|
truncateAfterMessageCount(messageCount: number): Promise<void>;
|
|
@@ -4612,18 +4899,46 @@ interface SessionResumeOptions {
|
|
|
4612
4899
|
sessionId: string;
|
|
4613
4900
|
fromCheckpoint?: string;
|
|
4614
4901
|
}
|
|
4902
|
+
type SessionRecoverySource = "transcript" | "checkpoint" | "empty";
|
|
4903
|
+
interface SessionRecoveryIssue {
|
|
4904
|
+
code: "torn_transcript_tail" | "invalid_transcript_event" | "non_monotonic_sequence" | "interrupted_tool_call" | "checkpoint_fallback" | "divergent_checkpoint" | "stale_metadata" | "invalid_compaction_snapshot";
|
|
4905
|
+
detail: string;
|
|
4906
|
+
}
|
|
4907
|
+
interface SessionRecoveryResult {
|
|
4908
|
+
messages: Message[];
|
|
4909
|
+
transcriptMessages: Message[];
|
|
4910
|
+
source: SessionRecoverySource;
|
|
4911
|
+
sourceId?: string;
|
|
4912
|
+
issues: SessionRecoveryIssue[];
|
|
4913
|
+
repairMessages: Message[];
|
|
4914
|
+
transcriptEventCount: number;
|
|
4915
|
+
latestTimestamp?: string;
|
|
4916
|
+
}
|
|
4917
|
+
declare function repairInterruptedToolCalls(messages: Message[]): {
|
|
4918
|
+
messages: Message[];
|
|
4919
|
+
repairs: Message[];
|
|
4920
|
+
interruptedToolUseIds: string[];
|
|
4921
|
+
};
|
|
4922
|
+
declare function recoverSessionMessages(sessionDir: string, options?: {
|
|
4923
|
+
metadataMessageCount?: number;
|
|
4924
|
+
}): Promise<SessionRecoveryResult>;
|
|
4615
4925
|
declare class SessionManager {
|
|
4616
4926
|
private sessionDir;
|
|
4617
4927
|
private _meta;
|
|
4618
4928
|
private _transcript;
|
|
4619
4929
|
private _checkpoints;
|
|
4620
4930
|
private _lock;
|
|
4931
|
+
private _recovery;
|
|
4932
|
+
private _detachedForHandoff;
|
|
4621
4933
|
private constructor();
|
|
4622
4934
|
static create(options: SessionCreateOptions): Promise<SessionManager>;
|
|
4623
4935
|
static resume(options: SessionResumeOptions): Promise<SessionManager>;
|
|
4624
4936
|
get meta(): SessionMeta;
|
|
4625
4937
|
get transcript(): TranscriptWriter;
|
|
4626
4938
|
get checkpoints(): CheckpointManager;
|
|
4939
|
+
get recovery(): SessionRecoveryResult;
|
|
4940
|
+
detachForHandoff(): Promise<void>;
|
|
4941
|
+
get detachedForHandoff(): boolean;
|
|
4627
4942
|
updateMeta(partial: Partial<SessionMeta>): Promise<void>;
|
|
4628
4943
|
end(status?: "completed" | "abandoned"): Promise<void>;
|
|
4629
4944
|
recordUserMessage(content: string): Promise<void>;
|
|
@@ -5008,7 +5323,7 @@ interface MessageFlowDeps {
|
|
|
5008
5323
|
readonly tokenAccountingAdapter?: TokenAccountingAdapter;
|
|
5009
5324
|
readonly historyMarkdownPath?: string;
|
|
5010
5325
|
buildRuntimeSystemPrompt(): string;
|
|
5011
|
-
onContextCompressed(messagesRemoved: number, tokensSaved: number, record: CompactionRecord): Promise<void>;
|
|
5326
|
+
onContextCompressed(messagesRemoved: number, tokensSaved: number, record: CompactionRecord, activeContextMessages: Message[]): Promise<void>;
|
|
5012
5327
|
onToolHistoryRepaired?(diagnostic: ToolHistoryRepairDiagnostic): void;
|
|
5013
5328
|
}
|
|
5014
5329
|
declare class MessageFlow {
|
|
@@ -7163,7 +7478,7 @@ interface XenoControlRoomMonitorInput {
|
|
|
7163
7478
|
}
|
|
7164
7479
|
interface XenoControlRoomGoalInput {
|
|
7165
7480
|
goalId: string;
|
|
7166
|
-
status: "active" | "complete" | "blocked" | "cancelled" | "expired";
|
|
7481
|
+
status: "active" | "complete" | "blocked" | "cancelled" | "failed" | "expired";
|
|
7167
7482
|
condition: string;
|
|
7168
7483
|
runId?: string;
|
|
7169
7484
|
updatedAt: string;
|
|
@@ -7977,6 +8292,400 @@ declare class FileXenoShareRegistry {
|
|
|
7977
8292
|
load(): Promise<XenoShareRegistrySnapshot>;
|
|
7978
8293
|
private mutate;
|
|
7979
8294
|
}
|
|
8295
|
+
declare const XENO_COORDINATION_SCHEMA_VERSION: 1;
|
|
8296
|
+
type XenoGoalStatus = "active" | "paused" | "waiting" | "blocked" | "completed" | "failed" | "cancelled";
|
|
8297
|
+
type XenoGoalTaskStatus = "pending" | "ready" | "running" | "blocked" | "failed" | "completed" | "cancelled" | "interrupted";
|
|
8298
|
+
interface XenoGoalCriterion {
|
|
8299
|
+
id: string;
|
|
8300
|
+
description: string;
|
|
8301
|
+
required: boolean;
|
|
8302
|
+
}
|
|
8303
|
+
interface XenoGoalCriterionResult {
|
|
8304
|
+
criterionId: string;
|
|
8305
|
+
satisfied: boolean;
|
|
8306
|
+
evidence: string[];
|
|
8307
|
+
reason: string;
|
|
8308
|
+
evaluatedAt: string;
|
|
8309
|
+
}
|
|
8310
|
+
interface XenoGoalVerification {
|
|
8311
|
+
status: "pending" | "running" | "passed" | "failed";
|
|
8312
|
+
criteria: XenoGoalCriterionResult[];
|
|
8313
|
+
evidence: string[];
|
|
8314
|
+
summary?: string;
|
|
8315
|
+
verifiedAt?: string;
|
|
8316
|
+
verifiedBy?: string;
|
|
8317
|
+
}
|
|
8318
|
+
interface XenoGoalTask {
|
|
8319
|
+
id: string;
|
|
8320
|
+
milestoneId: string;
|
|
8321
|
+
parentTaskId?: string;
|
|
8322
|
+
title: string;
|
|
8323
|
+
description?: string;
|
|
8324
|
+
status: XenoGoalTaskStatus;
|
|
8325
|
+
assignedAgentId?: string;
|
|
8326
|
+
dependsOn?: string[];
|
|
8327
|
+
progress?: string;
|
|
8328
|
+
resultEventId?: string;
|
|
8329
|
+
createdAt: string;
|
|
8330
|
+
updatedAt: string;
|
|
8331
|
+
completedAt?: string;
|
|
8332
|
+
}
|
|
8333
|
+
interface XenoGoalMilestone {
|
|
8334
|
+
id: string;
|
|
8335
|
+
title: string;
|
|
8336
|
+
description?: string;
|
|
8337
|
+
status: "pending" | "active" | "blocked" | "completed" | "cancelled";
|
|
8338
|
+
taskIds: string[];
|
|
8339
|
+
createdAt: string;
|
|
8340
|
+
updatedAt: string;
|
|
8341
|
+
completedAt?: string;
|
|
8342
|
+
}
|
|
8343
|
+
interface XenoGoalProgress {
|
|
8344
|
+
summary: string;
|
|
8345
|
+
currentMilestoneId?: string;
|
|
8346
|
+
currentTaskId?: string;
|
|
8347
|
+
completedTaskCount: number;
|
|
8348
|
+
totalTaskCount: number;
|
|
8349
|
+
percent?: number;
|
|
8350
|
+
outstanding: string[];
|
|
8351
|
+
decisions: string[];
|
|
8352
|
+
updatedAt: string;
|
|
8353
|
+
}
|
|
8354
|
+
interface XenoGoalRecord {
|
|
8355
|
+
schemaVersion: typeof XENO_COORDINATION_SCHEMA_VERSION;
|
|
8356
|
+
id: string;
|
|
8357
|
+
version: number;
|
|
8358
|
+
sessionId: string;
|
|
8359
|
+
objective: string;
|
|
8360
|
+
why?: string;
|
|
8361
|
+
successCriteria: XenoGoalCriterion[];
|
|
8362
|
+
constraints: string[];
|
|
8363
|
+
limits?: {
|
|
8364
|
+
maxIterations?: number;
|
|
8365
|
+
maxTokens?: number;
|
|
8366
|
+
maxWallClockMs?: number;
|
|
8367
|
+
};
|
|
8368
|
+
metadata: Record<string, string | number | boolean>;
|
|
8369
|
+
status: XenoGoalStatus;
|
|
8370
|
+
milestones: XenoGoalMilestone[];
|
|
8371
|
+
tasks: XenoGoalTask[];
|
|
8372
|
+
progress: XenoGoalProgress;
|
|
8373
|
+
verification: XenoGoalVerification;
|
|
8374
|
+
steering: Array<{
|
|
8375
|
+
id: string;
|
|
8376
|
+
instruction: string;
|
|
8377
|
+
createdAt: string;
|
|
8378
|
+
consumedAt?: string;
|
|
8379
|
+
}>;
|
|
8380
|
+
createdAt: string;
|
|
8381
|
+
updatedAt: string;
|
|
8382
|
+
completedAt?: string;
|
|
8383
|
+
}
|
|
8384
|
+
type XenoLoopKind = "agentic-development" | "goal-continuation" | "scheduled";
|
|
8385
|
+
type XenoLoopStatus = "running" | "paused" | "waiting" | "stopped" | "completed" | "failed";
|
|
8386
|
+
interface XenoLoopSchedule {
|
|
8387
|
+
kind: "fixed-interval" | "dynamic";
|
|
8388
|
+
intervalMs?: number;
|
|
8389
|
+
nextRunAt?: string;
|
|
8390
|
+
expiresAt?: string;
|
|
8391
|
+
}
|
|
8392
|
+
interface XenoLoopIteration {
|
|
8393
|
+
number: number;
|
|
8394
|
+
startedAt: string;
|
|
8395
|
+
completedAt?: string;
|
|
8396
|
+
status: "running" | "completed" | "failed" | "interrupted";
|
|
8397
|
+
activity: string;
|
|
8398
|
+
taskId?: string;
|
|
8399
|
+
verificationEventId?: string;
|
|
8400
|
+
error?: string;
|
|
8401
|
+
}
|
|
8402
|
+
interface XenoLoopRecord {
|
|
8403
|
+
schemaVersion: typeof XENO_COORDINATION_SCHEMA_VERSION;
|
|
8404
|
+
id: string;
|
|
8405
|
+
version: number;
|
|
8406
|
+
sessionId: string;
|
|
8407
|
+
goalId?: string;
|
|
8408
|
+
kind: XenoLoopKind;
|
|
8409
|
+
status: XenoLoopStatus;
|
|
8410
|
+
currentActivity?: string;
|
|
8411
|
+
iterations: XenoLoopIteration[];
|
|
8412
|
+
schedule?: XenoLoopSchedule;
|
|
8413
|
+
stopReason?: string;
|
|
8414
|
+
createdAt: string;
|
|
8415
|
+
updatedAt: string;
|
|
8416
|
+
stoppedAt?: string;
|
|
8417
|
+
}
|
|
8418
|
+
type XenoHandoffStatus = "prepared" | "available" | "claimed" | "completed" | "failed" | "cancelled";
|
|
8419
|
+
interface XenoHandoffOperation {
|
|
8420
|
+
operationId: string;
|
|
8421
|
+
kind: "tool" | "command" | "build" | "subagent" | "other";
|
|
8422
|
+
status: "running" | "completed" | "interrupted";
|
|
8423
|
+
sideEffecting: boolean;
|
|
8424
|
+
recovery: "waited" | "resume" | "retry" | "manual";
|
|
8425
|
+
}
|
|
8426
|
+
interface XenoHandoffRecord {
|
|
8427
|
+
schemaVersion: typeof XENO_COORDINATION_SCHEMA_VERSION;
|
|
8428
|
+
id: string;
|
|
8429
|
+
version: number;
|
|
8430
|
+
sessionId: string;
|
|
8431
|
+
goalId?: string;
|
|
8432
|
+
loopId?: string;
|
|
8433
|
+
status: XenoHandoffStatus;
|
|
8434
|
+
sourceOwnerId: string;
|
|
8435
|
+
targetOwnerId?: string;
|
|
8436
|
+
claimedBy?: string;
|
|
8437
|
+
sourceLeaseEpoch: number;
|
|
8438
|
+
targetLeaseEpoch?: number;
|
|
8439
|
+
workspace?: string;
|
|
8440
|
+
branch?: string;
|
|
8441
|
+
currentMilestoneId?: string;
|
|
8442
|
+
currentTaskId?: string;
|
|
8443
|
+
agentIds: string[];
|
|
8444
|
+
operations: XenoHandoffOperation[];
|
|
8445
|
+
contextDigest?: string;
|
|
8446
|
+
createdAt: string;
|
|
8447
|
+
updatedAt: string;
|
|
8448
|
+
claimedAt?: string;
|
|
8449
|
+
completedAt?: string;
|
|
8450
|
+
failedAt?: string;
|
|
8451
|
+
failureReason?: string;
|
|
8452
|
+
}
|
|
8453
|
+
interface XenoExecutionOwner {
|
|
8454
|
+
ownerId: string;
|
|
8455
|
+
leaseId: string;
|
|
8456
|
+
epoch: number;
|
|
8457
|
+
acquiredAt: string;
|
|
8458
|
+
heartbeatAt: string;
|
|
8459
|
+
expiresAt: string;
|
|
8460
|
+
processId?: number;
|
|
8461
|
+
host?: string;
|
|
8462
|
+
}
|
|
8463
|
+
type XenoCoordinationEventType = "goal.created" | "goal.updated" | "goal.steered" | "goal.completed" | "goal.cancelled" | "loop.started" | "loop.iteration" | "loop.paused" | "loop.waiting" | "loop.resumed" | "loop.stopped" | "loop.completed" | "loop.failed" | "handoff.created" | "handoff.claimed" | "handoff.completed" | "handoff.failed" | "ownership.acquired" | "ownership.renewed" | "ownership.released";
|
|
8464
|
+
interface XenoCoordinationEvent {
|
|
8465
|
+
schemaVersion: typeof XENO_COORDINATION_SCHEMA_VERSION;
|
|
8466
|
+
id: string;
|
|
8467
|
+
sequence: number;
|
|
8468
|
+
type: XenoCoordinationEventType;
|
|
8469
|
+
sessionId: string;
|
|
8470
|
+
goalId?: string;
|
|
8471
|
+
loopId?: string;
|
|
8472
|
+
handoffId?: string;
|
|
8473
|
+
ownerId?: string;
|
|
8474
|
+
timestamp: string;
|
|
8475
|
+
data: Record<string, unknown>;
|
|
8476
|
+
}
|
|
8477
|
+
interface XenoCoordinationSessionState {
|
|
8478
|
+
schemaVersion: typeof XENO_COORDINATION_SCHEMA_VERSION;
|
|
8479
|
+
sessionId: string;
|
|
8480
|
+
version: number;
|
|
8481
|
+
ownershipEpoch: number;
|
|
8482
|
+
owner?: XenoExecutionOwner;
|
|
8483
|
+
goals: XenoGoalRecord[];
|
|
8484
|
+
loops: XenoLoopRecord[];
|
|
8485
|
+
handoffs: XenoHandoffRecord[];
|
|
8486
|
+
events: XenoCoordinationEvent[];
|
|
8487
|
+
createdAt: string;
|
|
8488
|
+
updatedAt: string;
|
|
8489
|
+
}
|
|
8490
|
+
interface XenoCoordinationStoreOptions {
|
|
8491
|
+
rootDirectory?: string;
|
|
8492
|
+
now?: () => string;
|
|
8493
|
+
idFactory?: (prefix: string) => string;
|
|
8494
|
+
ownerLeaseMs?: number;
|
|
8495
|
+
lockTimeoutMs?: number;
|
|
8496
|
+
lockStaleMs?: number;
|
|
8497
|
+
maximumEventsPerSession?: number;
|
|
8498
|
+
}
|
|
8499
|
+
interface CreateXenoGoalInput {
|
|
8500
|
+
sessionId: string;
|
|
8501
|
+
objective: string;
|
|
8502
|
+
why?: string;
|
|
8503
|
+
successCriteria?: Array<string | Omit<XenoGoalCriterion, "id"> & {
|
|
8504
|
+
id?: string;
|
|
8505
|
+
}>;
|
|
8506
|
+
constraints?: string[];
|
|
8507
|
+
limits?: XenoGoalRecord["limits"];
|
|
8508
|
+
metadata?: Record<string, string | number | boolean>;
|
|
8509
|
+
}
|
|
8510
|
+
interface CreateXenoHandoffInput {
|
|
8511
|
+
sessionId: string;
|
|
8512
|
+
sourceOwnerId: string;
|
|
8513
|
+
sourceLeaseId: string;
|
|
8514
|
+
goalId?: string;
|
|
8515
|
+
loopId?: string;
|
|
8516
|
+
targetOwnerId?: string;
|
|
8517
|
+
workspace?: string;
|
|
8518
|
+
branch?: string;
|
|
8519
|
+
currentMilestoneId?: string;
|
|
8520
|
+
currentTaskId?: string;
|
|
8521
|
+
agentIds?: string[];
|
|
8522
|
+
operations?: XenoHandoffOperation[];
|
|
8523
|
+
contextDigest?: string;
|
|
8524
|
+
}
|
|
8525
|
+
declare class XenoCoordinationError extends Error {
|
|
8526
|
+
readonly code: "INVALID" | "NOT_FOUND" | "CONFLICT" | "NOT_OWNER" | "LEASE_EXPIRED" | "UNSAFE_HANDOFF" | "VERIFICATION_REQUIRED";
|
|
8527
|
+
readonly details: Record<string, unknown>;
|
|
8528
|
+
constructor(code: "INVALID" | "NOT_FOUND" | "CONFLICT" | "NOT_OWNER" | "LEASE_EXPIRED" | "UNSAFE_HANDOFF" | "VERIFICATION_REQUIRED", message: string, details?: Record<string, unknown>);
|
|
8529
|
+
}
|
|
8530
|
+
interface UpdateXenoGoalInput {
|
|
8531
|
+
objective?: string;
|
|
8532
|
+
why?: string;
|
|
8533
|
+
constraints?: string[];
|
|
8534
|
+
successCriteria?: XenoGoalCriterion[];
|
|
8535
|
+
status?: Exclude<XenoGoalStatus, "completed">;
|
|
8536
|
+
progress?: Partial<Omit<XenoGoalProgress, "updatedAt">>;
|
|
8537
|
+
verification?: XenoGoalVerification;
|
|
8538
|
+
metadata?: Record<string, string | number | boolean>;
|
|
8539
|
+
}
|
|
8540
|
+
interface StartXenoLoopInput {
|
|
8541
|
+
sessionId: string;
|
|
8542
|
+
goalId?: string;
|
|
8543
|
+
kind: XenoLoopKind;
|
|
8544
|
+
activity?: string;
|
|
8545
|
+
schedule?: XenoLoopSchedule;
|
|
8546
|
+
}
|
|
8547
|
+
interface ClaimXenoHandoffInput {
|
|
8548
|
+
sessionId: string;
|
|
8549
|
+
handoffId: string;
|
|
8550
|
+
targetOwnerId: string;
|
|
8551
|
+
processId?: number;
|
|
8552
|
+
host?: string;
|
|
8553
|
+
}
|
|
8554
|
+
declare class DurableXenoCoordinationStore {
|
|
8555
|
+
private readonly rootDirectory;
|
|
8556
|
+
private readonly now;
|
|
8557
|
+
private readonly idFactory;
|
|
8558
|
+
private readonly ownerLeaseMs;
|
|
8559
|
+
private readonly lockTimeoutMs;
|
|
8560
|
+
private readonly lockStaleMs;
|
|
8561
|
+
private readonly maximumEventsPerSession;
|
|
8562
|
+
constructor(options?: XenoCoordinationStoreOptions);
|
|
8563
|
+
getSessionState(sessionId: string): Promise<XenoCoordinationSessionState>;
|
|
8564
|
+
listSessionStates(): Promise<XenoCoordinationSessionState[]>;
|
|
8565
|
+
createGoal(input: CreateXenoGoalInput): Promise<XenoGoalRecord>;
|
|
8566
|
+
getGoal(sessionId: string, goalId?: string): Promise<XenoGoalRecord | undefined>;
|
|
8567
|
+
updateGoal(sessionId: string, goalId: string, expectedVersion: number, update: UpdateXenoGoalInput): Promise<XenoGoalRecord>;
|
|
8568
|
+
addMilestone(sessionId: string, goalId: string, expectedVersion: number, input: {
|
|
8569
|
+
title: string;
|
|
8570
|
+
description?: string;
|
|
8571
|
+
}): Promise<XenoGoalRecord>;
|
|
8572
|
+
addTask(sessionId: string, goalId: string, expectedVersion: number, input: {
|
|
8573
|
+
milestoneId: string;
|
|
8574
|
+
parentTaskId?: string;
|
|
8575
|
+
title: string;
|
|
8576
|
+
description?: string;
|
|
8577
|
+
assignedAgentId?: string;
|
|
8578
|
+
dependsOn?: string[];
|
|
8579
|
+
}): Promise<XenoGoalRecord>;
|
|
8580
|
+
updateTask(sessionId: string, goalId: string, taskId: string, expectedVersion: number, update: Pick<XenoGoalTask, "status"> & Partial<Pick<XenoGoalTask, "progress" | "resultEventId" | "assignedAgentId">>): Promise<XenoGoalRecord>;
|
|
8581
|
+
steerGoal(sessionId: string, goalId: string, expectedVersion: number, instruction: string): Promise<XenoGoalRecord>;
|
|
8582
|
+
consumeGoalSteering(sessionId: string, goalId: string, expectedVersion: number): Promise<{
|
|
8583
|
+
goal: XenoGoalRecord;
|
|
8584
|
+
instructions: Array<{
|
|
8585
|
+
id: string;
|
|
8586
|
+
instruction: string;
|
|
8587
|
+
createdAt: string;
|
|
8588
|
+
}>;
|
|
8589
|
+
}>;
|
|
8590
|
+
completeGoal(sessionId: string, goalId: string, expectedVersion: number, verification: XenoGoalVerification): Promise<XenoGoalRecord>;
|
|
8591
|
+
cancelGoal(sessionId: string, goalId: string, expectedVersion: number, reason: string): Promise<XenoGoalRecord>;
|
|
8592
|
+
startLoop(input: StartXenoLoopInput): Promise<XenoLoopRecord>;
|
|
8593
|
+
getLoop(sessionId: string, loopId?: string): Promise<XenoLoopRecord | undefined>;
|
|
8594
|
+
beginLoopIteration(sessionId: string, loopId: string, expectedVersion: number, activity: string, taskId?: string): Promise<XenoLoopRecord>;
|
|
8595
|
+
finishLoopIteration(sessionId: string, loopId: string, expectedVersion: number, result: {
|
|
8596
|
+
status: "completed" | "failed" | "interrupted";
|
|
8597
|
+
verificationEventId?: string;
|
|
8598
|
+
error?: string;
|
|
8599
|
+
nextStatus?: Extract<XenoLoopStatus, "running" | "waiting" | "failed">;
|
|
8600
|
+
}): Promise<XenoLoopRecord>;
|
|
8601
|
+
setLoopStatus(sessionId: string, loopId: string, expectedVersion: number, status: Extract<XenoLoopStatus, "paused" | "running" | "waiting" | "stopped" | "completed" | "failed">, reason?: string): Promise<XenoLoopRecord>;
|
|
8602
|
+
acquireOwnership(sessionId: string, ownerId: string, options?: {
|
|
8603
|
+
processId?: number;
|
|
8604
|
+
host?: string;
|
|
8605
|
+
leaseMs?: number;
|
|
8606
|
+
}): Promise<XenoExecutionOwner>;
|
|
8607
|
+
renewOwnership(sessionId: string, ownerId: string, leaseId: string, leaseMs?: number): Promise<XenoExecutionOwner>;
|
|
8608
|
+
releaseOwnership(sessionId: string, ownerId: string, leaseId: string): Promise<XenoExecutionOwner>;
|
|
8609
|
+
createHandoff(input: CreateXenoHandoffInput): Promise<XenoHandoffRecord>;
|
|
8610
|
+
claimHandoff(input: ClaimXenoHandoffInput): Promise<{
|
|
8611
|
+
handoff: XenoHandoffRecord;
|
|
8612
|
+
owner: XenoExecutionOwner;
|
|
8613
|
+
}>;
|
|
8614
|
+
completeHandoff(sessionId: string, handoffId: string, ownerId: string, leaseId: string): Promise<XenoHandoffRecord>;
|
|
8615
|
+
failHandoff(sessionId: string, handoffId: string, reason: string): Promise<XenoHandoffRecord>;
|
|
8616
|
+
private mutateGoal;
|
|
8617
|
+
private mutateLoop;
|
|
8618
|
+
private recalculateProgress;
|
|
8619
|
+
private requireGoal;
|
|
8620
|
+
private requireOwner;
|
|
8621
|
+
private assertVersion;
|
|
8622
|
+
private newOwner;
|
|
8623
|
+
private ownerExpired;
|
|
8624
|
+
private appendEvent;
|
|
8625
|
+
private mutate;
|
|
8626
|
+
private statePath;
|
|
8627
|
+
private lockPath;
|
|
8628
|
+
private readState;
|
|
8629
|
+
private writeState;
|
|
8630
|
+
private renameReplacing;
|
|
8631
|
+
private withSessionLock;
|
|
8632
|
+
private staleLockOwner;
|
|
8633
|
+
private quarantineLock;
|
|
8634
|
+
}
|
|
8635
|
+
type XenoCoordinationAction = "state.get" | "goal.create" | "goal.update" | "goal.complete" | "goal.cancel" | "goal.steer" | "loop.start" | "loop.get" | "loop.begin" | "loop.finish" | "loop.set_status" | "ownership.acquire" | "ownership.renew" | "ownership.release" | "handoff.create" | "handoff.claim" | "handoff.complete" | "handoff.fail";
|
|
8636
|
+
interface ExecuteXenoCoordinationActionInput {
|
|
8637
|
+
action: XenoCoordinationAction;
|
|
8638
|
+
sessionId: string;
|
|
8639
|
+
payload?: Record<string, unknown>;
|
|
8640
|
+
}
|
|
8641
|
+
interface ExecuteXenoCoordinationActionResult {
|
|
8642
|
+
action: XenoCoordinationAction;
|
|
8643
|
+
sessionId: string;
|
|
8644
|
+
result: unknown;
|
|
8645
|
+
state: XenoCoordinationSessionState;
|
|
8646
|
+
event?: XenoCoordinationEvent;
|
|
8647
|
+
}
|
|
8648
|
+
declare function executeXenoCoordinationAction(store: DurableXenoCoordinationStore, input: ExecuteXenoCoordinationActionInput): Promise<ExecuteXenoCoordinationActionResult>;
|
|
8649
|
+
interface XenoExecutionLeaseSessionOptions {
|
|
8650
|
+
store?: DurableXenoCoordinationStore;
|
|
8651
|
+
sessionId: string;
|
|
8652
|
+
ownerId?: string;
|
|
8653
|
+
processId?: number;
|
|
8654
|
+
host?: string;
|
|
8655
|
+
leaseMs?: number;
|
|
8656
|
+
heartbeatMs?: number;
|
|
8657
|
+
claimHandoffId?: string;
|
|
8658
|
+
onOwnershipLost?: (error: unknown) => void;
|
|
8659
|
+
}
|
|
8660
|
+
declare class XenoExecutionLeaseSession {
|
|
8661
|
+
readonly sessionId: string;
|
|
8662
|
+
readonly ownerId: string;
|
|
8663
|
+
private readonly store;
|
|
8664
|
+
private readonly processId;
|
|
8665
|
+
private readonly host;
|
|
8666
|
+
private readonly leaseMs;
|
|
8667
|
+
private readonly heartbeatMs;
|
|
8668
|
+
private readonly claimHandoffId?;
|
|
8669
|
+
private readonly onOwnershipLost?;
|
|
8670
|
+
private timer?;
|
|
8671
|
+
private heartbeatInFlight;
|
|
8672
|
+
private owner?;
|
|
8673
|
+
private stopped;
|
|
8674
|
+
private lostError?;
|
|
8675
|
+
private preparedHandoffId?;
|
|
8676
|
+
constructor(options: XenoExecutionLeaseSessionOptions);
|
|
8677
|
+
get currentOwner(): XenoExecutionOwner | undefined;
|
|
8678
|
+
get active(): boolean;
|
|
8679
|
+
start(): Promise<XenoExecutionOwner>;
|
|
8680
|
+
assertOwned(): Promise<XenoExecutionOwner>;
|
|
8681
|
+
private renewHeldLease;
|
|
8682
|
+
prepareHandoff(input?: Omit<CreateXenoHandoffInput, "sessionId" | "sourceOwnerId" | "sourceLeaseId">): Promise<XenoHandoffRecord>;
|
|
8683
|
+
stop(options?: {
|
|
8684
|
+
release?: boolean;
|
|
8685
|
+
}): Promise<void>;
|
|
8686
|
+
private heartbeat;
|
|
8687
|
+
private markLost;
|
|
8688
|
+
}
|
|
7980
8689
|
declare const XENO_HOSTED_ENVIRONMENT_SCHEMA_VERSION: 1;
|
|
7981
8690
|
declare const XENO_HOSTED_RUN_SCHEMA_VERSION: 1;
|
|
7982
8691
|
declare const XENO_HOSTED_EVENT_SCHEMA_VERSION: 1;
|
|
@@ -9374,6 +10083,7 @@ declare class SessionLock {
|
|
|
9374
10083
|
private legacyLockPath;
|
|
9375
10084
|
private sessionId;
|
|
9376
10085
|
private heartbeatTimer?;
|
|
10086
|
+
private acquiredOwner?;
|
|
9377
10087
|
constructor(sessionDir: string);
|
|
9378
10088
|
acquire(): Promise<void>;
|
|
9379
10089
|
release(): Promise<void>;
|
|
@@ -12594,4 +13304,4 @@ declare class AgentEvaluator {
|
|
|
12594
13304
|
clearResults(): void;
|
|
12595
13305
|
get resultCount(): number;
|
|
12596
13306
|
}
|
|
12597
|
-
export { type A2AMessage, type A2AMessageType, AGENT_DAEMON_PROTOCOL_VERSION, AGENT_EFFORT_LEVELS, AGENT_PERMISSION_MODES, AGENT_PROFILE_EXTERNAL_ACTIONS, ARCHITECT_CAPABILITIES, ARCHITECT_TOOL_NAMES, type ActiveLayerInfo, type AddXenoArtifactCommentRequest, type AgentArtifact, type AgentCapabilities, type AgentCard, AgentDaemonClient, type AgentDaemonError, type AgentDaemonHandler, type AgentDaemonRequest, type AgentDaemonResponse, AgentDaemonServer, type AgentDaemonTransport, AgentDebugger, type AgentDefinition, type AgentDefinitionIsolation, type AgentDefinitionIssue, AgentDefinitionLoader, type AgentDefinitionLoaderOptions, type AgentDefinitionMetadata, AgentDefinitionResolver, type AgentDefinitionScanResult, type AgentDefinitionScope, type AgentDefinitionShadowRef, type AgentEffortLevel, AgentEvaluator, AgentEventStore, type AgentHookDefinition, AgentHookRunner, AgentInterruptedError, type AgentIpcChannel, type AgentLoadSnapshot, AgentLoop, type AgentLoopConfig, type AgentLoopOptions, type AgentPermissionMode, type AgentProfileActionDecision, type AgentProfileCapabilities, type AgentProfileCapabilityBoundary, type AgentProfileCollaborationMode, type AgentProfileCompletionPolicy, type AgentProfileEvidenceKind, type AgentProfileExecutionPolicy, type AgentProfileExternalAction, type AgentProfileExternalActionPolicy, type AgentProfileIsolation, type AgentProfileKind, type AgentProfileMemoryPolicy, type AgentProfileMemoryScope, type AgentProfilePresentation, type AgentProfileSkillPolicy, type AgentProfileSoulMode, type AgentProfileV2, AgentProfileValidationError, AgentProtocol, AgentRegistry, type AgentRunAgentDefinitionRef, AgentRunController, type AgentRunControllerOptions, type AgentRunCreateInput, AgentRunError, type AgentRunEvent, type AgentRunListOptions, type AgentRunOptions, type AgentRunRecord, type AgentRunSpawnResult, type AgentRunStatus, AgentRunStore, type AgentRunTermination, type AgentRunTerminationReason, type AgentRunTerminationStatus, type AgentRunUsage, type AgentSandbox, type AgentSelectionStrategy, type AgentSessionHostBindingV1, type AgentStreamCallbacks, type AgentTask, type AgentTaskHandler, type AgentTaskResult, type AgentTaskStatus, type AgentTeam, type AgentToAppChannel, type AgentToAppMessages, type AgentToolPolicy, type AnalysisResult, type ApiMessage, type AppAgentBaseOptions, AppAgentFactory, type AppAgentResult, type AppContext, AppContextInjector, AppContextManager, type AppContextProvider, type AppId, type AppServerEventV2, type AppServerInitializeParamsV2, type AppServerInitializeResultV2, type AppServerIntegrationMetadataV2, type AppServerPermissionRequestV2, type AppServerPrincipalV2, AppServerProtocolError, type AppServerProtocolErrorData, AppServerRemoteError, type AppServerRequestContext, type AppServerSubscriptionSnapshotV2, type AppServerThreadStatusV2, type AppServerThreadV2, type AppServerTurnRunnerContextV2, type AppServerTurnRunnerV2, type AppServerTurnStatusV2, type AppServerTurnV2, type AppServerV2ClientTransport, type AppServerV2MethodMap, type AppServerV2Options, type AppToAgentChannel, type AppToAgentMessages, type AppType, type ArchitectAgentOptions, type ArchitectToolAdapter, type AskUserHandler, type AskUserRequest, type AskUserResponse, type AtomicMessageGroup, type AudioProjectInfo, type AudioStemSeparationResult, type AudioToolAdapter, type AudioTrackType, type AudioTranscriptionResult, type AudioTranscriptionSegment, type AuditDecision, type AuditEvent, AuditLogger, type AuditReplayReport, type AuditReplayStep, type AuditRiskLevel, type AuditStatus, type AuditTraceGapEntry, type AuditTraceReport, type AuditTraceSummary, type AuditTraceTimelineEntry, type AuditTraceToolSummary, type AugmentContextOptions, type AuthorizedShellExecution, AutoCheckpointHandler, AutoMemory, type AutoMemoryContext, type AutoMemoryTrigger, AutoPermissionClassifier, type AutoPermissionDecision, BUILT_IN_XENO_PROVIDER_PRESETS, BackgroundProcessManager, type BackgroundTask, type BaseHookDefinition, type BenchBashMiddlewareOptions, type BlockContent, type BlockType, type BoundedShellOutput, type BreakpointCallback, type BuildResult, type BuildXenoSecureExecutionContractOptions, COMPAT_TOOL_ALIASES, CONFIG_VERSION, type CanonicalSecurityPath, type CanvasSize, type CellRangeData, type ChartConfig, type ChatCompletionChunk, type ChatCompletionRequest, type ChatCompletionResponse, type ChatMessage, type ChatParams, type ChatResponse, type CheckpointData, type CheckpointInfo, CheckpointManager, type CheckpointTrigger, type ClashResult, type ClipContext, type CodeApplyOptions, type CodeApplyResult, type CodeValidationIssue, type CodeValidationResult, CodeValidator, type CodingBenchmarkAssessment, type CodingBenchmarkMeasurement, type CodingBenchmarkOptions, type CodingBenchmarkReport, type CodingBenchmarkThreshold, type CommandBackedProtectedStateOptions, type CommandHookDefinition, CommandHookRunner, type CompactionRecord, type CompileAgentProfileOptions, type CompiledAgentProfile, type CompiledJsonSchema, type CompletionDecision, type CompletionGuard, type CompletionGuardContext, type CompletionGuardDecision, type CompletionGuardEvaluationContext, CompletionGuardRegistry, type CompletionGuardResult, type CompletionGuardResultObject, type CompletionGuardStopReason, type CompletionGuardToolPolicy, type CompletionGuardToolPolicyMode, type CompletionGuardTurnStats, type CompletionGuardVeto, type ComponentData, type CompressionLLMFn, type CompressionStats, type ConfigProfile, type ConnectConfiguredMCPServersOptions, type ConnectConfiguredMCPServersResult, type ContainedProcessSpec, type ContainmentAdapterIdentity, ContainmentApprovalError, type ContainmentCertificationBinding, ContainmentCertificationError, type ContainmentConformanceCheck, type ContentBlock, type ContextCompressedData, ContextManager, type ContextManagerConfig, type ContextSection, type ContextSource, type ControlPlaneLockHandle, type ControlPlaneLockRecord, ConversationStore, type CreateAuditBackedPermissionEngineOptions, type CreateDelegatedBranchAgent, type CreateDelegatedBranchAgentOptions, type CreateDelegatedXenoAgentOptions, type CreateXenoAgentOptions, type CreateXenoAgentResult, type CreateXenoGovernedAutomationToolsOptions, type CreateXenoHandoffOptions, type CreateXenoShareOptions, type CreateXenoSkillToolOptions, type CreateXenoSourceResearchReportInput, type CrossAppHandler, type CrossAppMessage, CrossAppRouter, CrossAppRouterError, type CrossAppRouterOptions, DEFAULT_API_KEY, DEFAULT_IMAGE_MODEL, DEFAULT_MEMORY_BUDGETS, DEFAULT_MODEL, DEFAULT_PROMPT_SECTIONS_TOKEN_BUDGET, DEFAULT_PROTECTED_STATE_KEY_NAME, DEFAULT_PROTECTED_STATE_SERVICE, DEFAULT_SUBAGENT_BRANCH_POLICY, DEFAULT_SUBAGENT_REMOTE_MCP_BY_ROLE, DEFAULT_SUBAGENT_ROLES, DEFAULT_SUBAGENT_ROLE_PRECEDENCE, DEFAULT_SUBAGENT_TEAM_PRESET, DIRECT_SHELL_CONTEXT_WARNING, DOCS_CAPABILITIES, DOCS_TOOL_NAMES, type DebugBreakpoint, type DebugSnapshot, type DebugStep, type DebugStepCallback, type DecideXenoArtifactRequest, type DefaultToolRegistryOptions, type DelegatedBranchAdmission, type DelegatedBranchAdmissionSettlement, type DelegatedBranchAgent, type DelegatedBranchAgentCallbacks, type DelegatedXenoTurnResult, type DelegationBudget, type DelegationLimits, type DelegationSummaryData, type DependencyEdge, type DescendantInstructionHint, type DirectEndpointPolicy, type DirectEndpointProfile, type DirectProviderCapabilityProfile, type DirectProviderConfig, type DirectProviderKind, type DirectShellMessageMetadata, type DirectShellResultRecord, type DispatchAgentHandler, type DispatchAgentRequest, type DispatchAgentResponse, type DocComment, type DocsAgentOptions, type DocsToolAdapter, type DocumentContext, type DualLLMMode, DualLLMProvider, type DualLLMProviderConfig, type DualLLMProviderLike, type DualLLMStatus, ENGINE_CAPABILITIES, ENGINE_TOOL_NAMES, ElectronAgentBridge, type ElectronAgentConfig, type EngineAgentOptions, type EngineToolAdapter, type EntityInfo, type Episode, type EpisodeOutcome, EpisodicStore, type EpisodicStoreOptions, type ErrorData, type EvalReport, type EvalResult, type EvalRunOptions, type EvalTask, type ExchangeMCPOAuthCodeOptions, type ExecuteToolRequest, type ExecuteToolResult, ExecutionGovernance, type ExecutionGovernanceOptions, type ExecutionGovernanceSummary, type ExecutionMode, type ExecutionSecurityCapabilities, ExecutionSecurityError, type ExecutionSecurityErrorCode, type ExecutionSecurityLevel, type ExecutionTrustMode, type ExpectedOutputContract, type ExportableSoulSigner, type ExtendedAppType, FALLBACK_MODELS, type FailureCluster, type FileEntry, type FileSnapshot, FileXenoArtifactRepository, type FileXenoArtifactRepositoryOptions, FileXenoProviderConnectionStore, type FileXenoProviderConnectionStoreOptions, FileXenoShareRegistry, type FileXenoShareRegistryOptions, type FilterConfig, type GovernanceExtensions, type GovernanceExtensionsOptions, HIGH_RISK_PERMISSIONS, type HarnessTask, type HarnessTaskStatus, type HarnessTaskUpdate, type HookConfig, type HookDecision, type HookDefinition, type HookEventName, type HookExecutionResult, type HookExecutionStatus, type HookInput, type HookInputBase, type HookInvocationInput, type HookModelExecutor, type HookPermissionMode, type HookRunResult, HookRunner, HookRuntime, type HookRuntimeOptions, type HttpHookDefinition, HttpHookRunner, IDENTITY_PATHS, type IdentityFrontmatter, type IdentityLayer, type IdentityLoadResult, IdentityLoader, type IdentityLoaderOptions, type IdentityPaths, IdentityResolver, type IdentitySource, type ImageContentBlock, type ImageDocumentInfo, type ImageGenerationConfig, type ImageLayerInfo, type ImageLayerType, type ImageToolAdapter, type ImageUrlBlock, InMemoryXenoArtifactRepository, type InMemoryXenoArtifactRepositoryOptions, InMemoryXenoCapabilityLeaseRegistry, type InMemoryXenoCapabilityLeaseRegistryOptions, InMemoryXenoTelemetryCollector, type InitializeSessionRuntimeOptions, type InspectSystemPromptOptions, type InstallSignalHandlersOptions, InteractiveChatTurnGovernance, InteractiveTurnGovernance, type InteractiveTurnGovernanceOptions, type IpcHandler, type JsonRpcErrorResponse, type JsonRpcMessage$1 as JsonRpcMessage, type JsonRpcNotification, type JsonRpcRequest$1 as JsonRpcRequest, type JsonRpcResponse, type JsonRpcSuccessResponse, type JsonSchema, JsonSchemaCompilationError, type JsonSchemaCompilationIssue, type JsonSchemaCompileOptions, type JsonSchemaSubset, type JsonSchemaType, type JsonSchemaValidationError, type JsonSchemaValidationResult, type LLMCompletionResult, type LLMProvider, type LLMProviderCapabilities, type LLMProviderMessage, type LLMProviderRequestContext, type ToolDefinition as LLMProviderToolDefinition, type LLMToolDefinition, type LayerContext, type LegacyXenoSkillInput, type LinuxBubblewrapCapability, type LinuxBubblewrapProcessSpec, LlmClient, type LlmClientDeps, LocalLLMProvider, type LocalLLMProviderConfig, type LocalRuntimePreflightResult, LogLevel, type LspDefinitionReport, type LspDiagnosticsReport, type LspDoctorReport, type LspDoctorServer, type LspHoverReport, type LspReferencesReport, MANIFEST_FILENAME, MAX_CONTAINMENT_APPROVAL_AGE_MS, MAX_CONTAINMENT_CERTIFICATION_BYTES, MAX_CONTAINMENT_CERTIFICATION_LIFETIME_MS, MAX_DIRECT_SHELL_OUTPUT_CHARS, type MCPAppCapabilities, type MCPAppContentSecurityPolicy, type MCPAppExtensionMetadata, type MCPAppMetadata, type MCPAppPermissions, type MCPAppResourceDescriptor, type MCPAppValidationResult, type MCPAppVisibility, type MCPApprovalDecision, type MCPBearerTokenRefreshHandler, type MCPBearerTokenResolver, type MCPConfigFile, type MCPConfiguredServer, type MCPElicitationAction, type MCPElicitationHandler, type MCPElicitationRequest, type MCPElicitationResponse, type MCPHttpAuthChallenge, MCPHttpTransportError, type MCPHttpUrlPhase, type MCPInitializeParams, type MCPInitializeResult, MCPManager, type MCPManagerOptions, type MCPOAuthAuthorizationServerMetadata, type MCPOAuthAuthorizationSession, MCPOAuthClient, type MCPOAuthClientOptions, type MCPOAuthClientRegistration, type MCPOAuthClientRegistrationSource, type MCPOAuthConfig, type MCPOAuthDiscoveryResult, type MCPOAuthProtectedResourceMetadata, type MCPOAuthTokenSet, type MCPOAuthTokenStore, type MCPOAuthUrlPhase, type MCPPrompt, type MCPPromptGetParams, type MCPPromptGetResult, type MCPPromptsListResult, type MCPRegistryAccessPolicy, type MCPRegistryEntryDescriptor, type MCPRegistryEntryKind, type MCPRegistryFilter, type MCPResource, type MCPResourceReadParams, type MCPResourceReadResult, type MCPResourceSubscribeParams, type MCPResourceUnsubscribeParams, type MCPResourcesListResult, MCPServer, type MCPServerConfig, type MCPServerModeOptions, type MCPServerPromptRegistration, type MCPServerResourceRegistration, type MCPServerScope, type MCPServerState, type MCPTool, type MCPToolCallParams, type MCPToolCallResult, type MCPToolsListResult, type MCPTransport, type MCPTransportConnection, MCP_APPS_EXTENSION_ID, MCP_APP_MIME_TYPE, MCP_APP_RESOURCE_SCHEME, MCP_PROTOCOL_VERSION, MCP_SUPPORTED_PROTOCOL_VERSIONS, MEMORY_FILES, MOTION_CAPABILITIES, MOTION_SYSTEM_PROMPT, MOTION_TOOL_NAMES, type ManifestValidationResult, type MaterialConfig, type MaterializeXenoAutomationEvidenceOptions, type MemoryAccessScope, type MemoryBudget, type MemoryEntry, type MemoryFile, type MemoryLevel, MemoryManager, type MemoryManagerOptions, type MeshInfo, type Message, MessageFlow, type MessageFlowDeps, type ModeSwitchRequest, type ModelInfo, type ModelProvider, ModelProviderRegistry, type MonitorEvent, MonitorManager, type MonitorSnapshot, type MonitorSource, MonitorStopTool, MonitorTool, type MotionAgentOptions, type MotionPromptParams, type MxcContainmentProbe, type MxcNativeAssetDescriptor, type MxcWindowsHostPreparationReport, NOTES_CAPABILITIES, NOTES_TOOL_NAMES, type NormalizedLspDiagnostic, type NormalizedLspHover, type NormalizedLspLocation, type NormalizedLspRange, type NotePageInfo, type NoteSearchResult, type NotesAgentOptions, type NotesToolAdapter, type OnChunkCallback, type OnTaskCompleteInput, type OnTaskCompleteResult, type OpenTelemetryMetricAdapter, type OperationTaskSource, type OsProtectedStateStoreOptions, OtelExporter, type OtelUsageAdapter, PIXEL_CAPABILITIES, PIXEL_SYSTEM_PROMPT, PIXEL_TOOL_NAMES, PROCESS_TREE_ADAPTERS, PROJECT_STATE_VERSION, type ParameterizedPermissionRule, type ParseUnifiedDiffOptions, type PermissionConfig, type PermissionDecision, type PermissionDecisionEvent, type PermissionDecisionHook, PermissionEngine, type PermissionInfo, type PermissionProfile, type PermissionProfileDecision, type PermissionProfileMode, type PermissionProfileName, type PermissionProfileNetworkDecision, type PermissionProfileResolution, type PermissionPromptFn, type PermissionPromptInfo, type PermissionPromptOperation, type PermissionPromptPreview, type PermissionPromptPreviewLine, type PermissionRequestContext, type PermissionRequestInfo, type PermissionRequestResult, type PermissionRule, type PersistentPermissionState, type PixelAgentOptions, type PixelPromptParams, type PlatformInfo, type PluginActivationEvent, type PluginAuthor, type PluginCapability, type PluginCommandContribution, type PluginCommandHandler, type PluginContext, type PluginContributions, type PluginDetachedSignature, type PluginEngineConstraint, type PluginEvent, PluginEventBus, type PluginEventListener, type PluginEventType, type PluginHook, PluginHost, type PluginHostInfo, type PluginHostOptions, type PluginInfo, type PluginListing, type PluginLogger, PluginManager, type PluginManagerOptions, type PluginManifest, PluginMarketplace, type PluginMarketplaceOptions, type PluginOutputStyleContribution, type PluginPermission, type PluginPromptContribution, type PluginPublishOptions, type PluginRelevanceCandidate, type PluginRelevanceHints, type PluginRelevanceSuggestion, type PluginRepositorySignal, PluginSandbox, type PluginSandboxOptions, type PluginScaffoldOptions, type PluginSearchOptions, type PluginSettingContribution, PluginSettingsManager, type PluginSignatureStatus, type PluginStatus, type PluginStorage, type PluginSupplyChainLockfile, type PluginSupplyChainRecord, type PluginTestCase, type PluginTestResult, PluginToolBuilder, type PluginToolContribution, type PluginTrustBadge, type PluginUIPanel, type PolicyCheckResult, type PolicyEnforcerConfig, type PrepareMCPOAuthAuthorizationOptions, type ProbeXenoProviderOptions, type ProcessContainmentStatus, type ProcessTreeAdapter, type ProfileMCPServerConfig, ProfileManager, type ProjectConfig, type ProjectDomainProfile, type ProjectExecutionPhase, type ProjectExecutionProfile, type ProjectInfo, type ProjectMcpApprovalDecision, type ProjectSessionContext, type ProjectSessionContextEntry, type ProjectSessionSummary, type ProjectTokenUsageSummary, type PromotionRequestResult, type PromptContext, type PromptFn, type PromptHookDefinition, PromptHookRunner, type PromptMemoryContextInfo, type PromptSectionContext, type PromptSectionProvider, PromptSectionRegistry, type ProtectedStateCipher, type ProtectedStateEnvelopeCipher, type ProtectedStateEnvelopeCipherOptions, type ProtectedStateEnvelopeV1, type ProtectedStateStore, ProviderError, type ProviderErrorCategory, type ProviderErrorCode, type ProviderErrorOptions, type ProviderStatus, type ProviderStreamEvent, type ProviderTransportLimits, QueryLifecycle, type QueryLifecycleOptions, type QueryState, type QueryTransition, type QueryWatchdogReason, REQUIRED_CONTAINMENT_CONFORMANCE_CHECKS, type RecalledEpisode, type RecalledSkill, type RecentSessionEntry, type RecentSessionsIndex, type ReducedResult, type ReducerOptions, type RegisterToolOperationInput, type RegisteredTool, type RenderConfig, type RequestBudgetBreakdown, type ResolveXenoSdkApiKeyOptions, type ResolvedIdentity, type ResolvedMemory, type ResolvedProvider, type ResolvedSubagentWorkflowAnswer, type ResourceContentBlock, type RoomInfo, type RunContainmentConformanceOptions, type RunDelegatedXenoTurnOptions, type RunStreamOptions, type RuntimeManifestFileEntry, type RuntimeManifestInspectionResult, type RuntimePluginManifestEntry, SDK_DEFAULT_MAX_ITERATIONS, SDK_DEFAULT_MAX_TOKENS, SDK_VERSION, SESSION_FORMAT_VERSION, SHEETS_CAPABILITIES, SHEETS_TOOL_NAMES, SLIDES_CAPABILITIES, SLIDES_TOOL_NAMES, SOUND_CAPABILITIES, SOUND_SYSTEM_PROMPT, SOUND_TOOL_NAMES, SSETransport, SUBAGENT_ROLE_ALIASES, SUBAGENT_TEAM_PRESETS, type SandboxCheckResult, type ScoredMemory, ScreenCapture, type ScreenCaptureConfig, type ScreenCaptureOptions, type SearchConfig, type SearchProvider, type SecuredProcessSpec, type SecurityPathIssue, type SecurityPathIssueCode, type Session, type SessionCreateOptions, type SessionData, type SessionEndData, type SessionIntegrationConfig, SessionLock, SessionLock as SessionLockManager, SessionManager, type SessionMeta, SessionRegistry, type SessionResumeOptions, type SessionRuntimeBaseOptions, type SessionRuntimeState, type SessionStartData, type SessionStatus, type SessionSummary, type SetXenoArtifactCommentResolutionRequest, type SetupAIHandlersOptions, type ShapeConfig, type SheetsAgentOptions, type SheetsToolAdapter, type ShellExecutionAuthorization, type ShellExecutionAuthorizationRequest, type ShellPathReference, type ShutdownCleanup, type Skill, SkillStore, type SkillStoreOptions, type SlideInfo, type SlidesAgentOptions, type SlidesToolAdapter, type SortConfig, type SoulCompletion, SoulEngine, type SoulEngineOptions, type SoulMessage, type SoulSigner, type SoundAgentOptions, type SoundPromptParams, type SpeechRecognizer, type SpeechRecognizerCallbacks, type SpeechRecognizerConfig, StdioTransport, type StemSeparationResult, type StopReason, type StoredConversation, type StoredMessage, type StoredToolCall, type StreamResult, StreamableHTTPTransport, type StreamableHTTPTransportOptions, type StreamableHTTPTransportSnapshot, type SubagentBranchPolicy, type SubagentBriefContext, type SubagentExecuteFn, type SubagentExecutionRequest, type SubagentExecutionResponse, type SubagentRemoteMcpAccess, type SubagentResult, type SubagentRole, type SubagentTask, type SubagentTeamPreset, type SubagentTeamPresetDefinition, type SubagentWorkflowMode, type SubagentWorkflowOptions, type SubagentWorkflowResult, type SynthesizeSkillInput, type SystemPromptInspectionResult, THREE_D_CAPABILITIES, THREE_D_TOOL_NAMES, TOOL_OPERATION_SCHEMA_VERSION, type TaskCompletionCallback, TaskListManager, type TestResult, type TextBlock, type ThreeDAgentOptions, type ThreeDToolAdapter, type TimelineInfo, type TokenUsageTotals, type ToolAssistantContentBlock, type ToolAuthorizationReceipt, type ToolCallData, type ToolCompletionPolicy, type ToolContinuationCheckpoint, type ToolContinuationNotification, type ToolDefinition, type ToolEvidence, type ToolExchangeRepairResult, type ToolExecutionContext, type ToolExecutor, type ToolFailureCategory, type ToolFailureGuardTrip, ToolFailureLoopGuard, type ToolHistoryRepairDiagnostic, type ToolManifestEntry, type ToolMiddleware, type ToolMiddlewareContext, ToolMiddlewareRegistry, type ToolOperationEvent, ToolOperationManager, type ToolOperationRuntimeEventType, type ToolOperationSnapshot, type ToolOperationState, ToolOrchestrator, type ToolOrchestratorCallbacks, type ToolOrchestratorConfig, type ToolPolicyProjection, type ToolProgressUpdate, ToolRegistry, type ToolRegistryOptions, type ToolResult, type ToolResultBlock, type ToolResultContent, type ToolResultData, type ToolRiskLevel, type ToolRuntimeContext, type ToolSchemaProjectionChange, ToolSchemaProjectionError, type ToolSchemaProjectionResult, type ToolSchemaProviderDialect, type ToolUseBlock, type TraceGraph, type TraceGraphEdge, type TraceGraphNode, type TrackContext, type TranscriptEvent, type TranscriptEventData, type TranscriptEventType, TranscriptWriter, type TranscriptionResult, type TranscriptionSegment, type TransitionConfig, type TurnDiffSummary, TurnDiffTracker, type TurnDiffTrackerOptions, type TurnFileDiff, type TurnRestoreAvailability, type TurnRestoreFilePreview, TurnRestoreManager, type TurnRestorePoint, type TurnRestoreResult, UNBOUNDED_OPERATION_CONTINUATION_LIMIT, type UnifiedExecCompletionReason, UnifiedExecError, type UnifiedExecEvent, type UnifiedExecEventListener, type UnifiedExecEventType, type UnifiedExecInputSource, UnifiedExecManager, type UnifiedExecManagerOptions, type UnifiedExecMode, type UnifiedExecOrigin, type UnifiedExecOutput, type UnifiedExecOutputChunk, type UnifiedExecOutputDelta, type UnifiedExecPresentation, type UnifiedExecProcess, type UnifiedExecReadDeltaOptions, type UnifiedExecStartOptions, type UnifiedExecStatus, type UnifiedExecStream, UsageAccumulator, type UsageAttribution, type UsageEvent, UsageLedger, type UsageQuery, type UsageTotals, type ValidateXenoSdkApiKeyOptions, type ValidatedContainmentCertification, type ValidationSignal, type VectorDocument, VectorMemoryStore, type VectorSearchResult, type VectorStoreAdapter, type VectorStoreOptions, type VerifyContainmentApprovalExpected, type VerifyPluginSupplyChainOptions, type VerifyPluginSupplyChainResult, type VerifyXenoHostedWebhookOptions, type VerifyXenoShareOptions, type VideoToolAdapter, WORKFLOW_CAPABILITIES, WORKFLOW_TOOL_NAMES, type WebSearchResult, type WindowsDpapiCredentialFile, type WindowsDpapiProtectedFileOptions, type WindowsDpapiProtectedStateOptions, type WorkflowAgentOptions, type WorkflowDefinition, type WorkflowEvent, type WorkflowExecutionResult, type WorkflowInfo, type WorkflowNodeConfig, type WorkflowNodeDefinition, type WorkflowNodeExecutor, type WorkflowNodeStatus, type WorkflowPlan, WorkflowPlanner, type WorkflowRunNodeRecord, type WorkflowRunRecord, type WorkflowRunStatus, WorkflowRuntime, WorkflowStore, type WorkflowToolAdapter, WorkspaceIndex, type WorkspaceScanOptions, XENO_AGENT_PROFILE_SCHEMA_VERSION, XENO_API_BASE, XENO_APP_PROTOCOL_V2_METHODS, XENO_APP_PROTOCOL_VERSIONS, XENO_ARTIFACT_ACTOR_KINDS, XENO_ARTIFACT_FILE_REPOSITORY_SCHEMA_VERSION, XENO_ARTIFACT_SCHEMA_VERSION, XENO_ARTIFACT_SENSITIVITIES, XENO_ARTIFACT_STATES, XENO_AUTOMATION_OPERATIONS, XENO_AUTOMATION_PROTOCOL_VERSION, XENO_BUILTIN_ARTIFACT_KINDS, XENO_CAPABILITY_LEASE_SCHEMA_VERSION, XENO_CONTAINMENT_APPROVAL_SCHEMA, XENO_CONTAINMENT_CERTIFICATION_SCHEMA, XENO_CONTAINMENT_CONFORMANCE_SCHEMA, XENO_CONTAINMENT_REVIEWER_TRUST_STORE_SCHEMA, XENO_CONTROL_ROOM_SCHEMA_VERSION, XENO_DEFLATE_CODEC_NAME, XENO_DEFLATE_CODEC_VERSION, XENO_EVIDENCE_EDGE_TYPES, XENO_EVIDENCE_GRAPH_SCHEMA_VERSION, XENO_EVIDENCE_NODE_TYPES, XENO_GIF_ANIMATION_POLICY, XENO_GIF_CODEC_NAME, XENO_GIF_CODEC_VERSION, XENO_HANDOFF_SCHEMA_VERSION, XENO_HOSTED_CONTROL_SCHEMA_VERSION, XENO_HOSTED_ENVIRONMENT_SCHEMA_VERSION, XENO_HOSTED_EVENT_SCHEMA_VERSION, XENO_HOSTED_EXECUTION_ADAPTER_CERTIFICATION_SCHEMA, XENO_HOSTED_EXECUTION_ADAPTER_MAX_CERTIFICATE_LIFETIME_MS, XENO_HOSTED_EXECUTION_ADAPTER_PROTOCOL_VERSION, XENO_HOSTED_EXECUTION_PROTOCOL_VERSION, XENO_HOSTED_EXECUTION_TOOL_NAMES, XENO_HOSTED_RESULT_SCHEMA_VERSION, XENO_HOSTED_RUN_SCHEMA_VERSION, XENO_HOSTED_TRIGGER_SCHEMA_VERSION, XENO_JPEG_CODEC_NAME, XENO_JPEG_CODEC_VERSION, XENO_MXC_ADAPTER_NAME, XENO_MXC_POLICY_VERSION, XENO_MXC_VERSION, XENO_ORACLE_REPORT_SCHEMA_VERSION, XENO_PLUGIN_LOCK_FILENAME, XENO_PLUGIN_LOCK_SCHEMA_VERSION, XENO_PLUGIN_SIGNATURE_FILENAME, XENO_PLUGIN_SIGNATURE_SCHEMA_VERSION, XENO_PROVIDER_CATALOG_SCHEMA_VERSION, XENO_PROVIDER_CONNECTION_STORE_SCHEMA_VERSION, XENO_RASTER_CODEC_NAME, XENO_RASTER_CODEC_VERSION, XENO_RASTER_PREVIEW_FORMATS, XENO_RECIPE_SCHEMA_VERSION, XENO_REPOSITORY_INDEX_SCHEMA_VERSION, XENO_REVIEW_DIMENSIONS, XENO_REVIEW_EVIDENCE_KINDS, XENO_REVIEW_REPORT_SCHEMA_VERSION, XENO_RT_DEFAULT_URL, XENO_SECURE_EXECUTION_CONTRACT_SCHEMA_VERSION, XENO_SHARE_REGISTRY_SCHEMA_VERSION, XENO_SHARE_SCHEMA_VERSION, XENO_SKILL_SCHEMA_VERSION, XENO_SOURCE_RESEARCH_SCHEMA_VERSION, XENO_SPEC_EXECUTION_SCHEMA_VERSION, XENO_SPEC_SCHEMA_VERSION, XENO_SVG_RENDERER_NAME, XENO_SVG_RENDERER_VERSION, XENO_TELEMETRY_SCHEMA_VERSION, XENO_VP8_CODEC_NAME, XENO_VP8_CODEC_VERSION, XENO_WEBP_ANIMATION_POLICY, XENO_WEBP_CODEC_NAME, XENO_WEBP_CODEC_VERSION, type XenoAnsiEscapeFamily, type XenoAnsiFormatter, type XenoAnsiPolicy, type XenoAnsiStyle, type XenoAnsiToken, type XenoAnsiWrapOptions, type XenoAppProtocolVersion, XenoAppServer, type XenoAppServerOptions, XenoAppServerV2Client, type XenoArtifactActor, type XenoArtifactActorKind, type XenoArtifactAnchor, type XenoArtifactAppendReviewRequest, type XenoArtifactContent, type XenoArtifactEnvelope, type XenoArtifactFileRecoveryNotice, type XenoArtifactFileSnapshot, type XenoArtifactIdentity, type XenoArtifactKind, type XenoArtifactLifecycleEvent, type XenoArtifactListQuery, type XenoArtifactMutationOptions, type XenoArtifactPersistedRecord, type XenoArtifactProvenance, type XenoArtifactRecord, type XenoArtifactRelationship, type XenoArtifactRepository, XenoArtifactRepositoryError, type XenoArtifactRepositoryErrorCode, type XenoArtifactRepositoryState, type XenoArtifactRetention, type XenoArtifactReviewAnchorInput, type XenoArtifactReviewDecision, type XenoArtifactReviewEvent, type XenoArtifactReviewEventInput, XenoArtifactReviewService, type XenoArtifactReviewServiceOptions, type XenoArtifactReviewSummary, type XenoArtifactRevisionOptions, type XenoArtifactSensitivity, type XenoArtifactState, XenoArtifactStateTransitionError, type XenoArtifactStorageReference, type XenoArtifactTransitionRequest, XenoArtifactValidationError, type XenoArtifactValidationIssue, XenoAuthError, type XenoAuthErrorCode, type XenoAutomationAdapter, type XenoAutomationAdapterExecutionResult, type XenoAutomationAdapterManifest, type XenoAutomationConformanceCheck, type XenoAutomationConformanceReport, type XenoAutomationEffect, XenoAutomationError, type XenoAutomationErrorCode, type XenoAutomationEvidenceContent, type XenoAutomationEvidenceInput, type XenoAutomationEvidencePhase, type XenoAutomationEvidencePolicy, type XenoAutomationExecutionGrant, type XenoAutomationExecutionResult, type XenoAutomationIdentity, type XenoAutomationLeaseAuthority, type XenoAutomationOperation, type XenoAutomationOperationDescriptor, type XenoAutomationPreflight, type XenoAutomationRequest, type XenoAutomationSurface, type XenoAutomationTarget, type XenoBasicRasterImage, type XenoBrowserAutomationOperation, type XenoBrowserExecutionPolicy, type XenoCapabilityEffect, type XenoCapabilityEligibility, type XenoCapabilityKind, type XenoCapabilityLease, type XenoCapabilityLeaseApprovalContext, type XenoCapabilityLeaseApprovalRequest, type XenoCapabilityLeaseDenialRequest, XenoCapabilityLeaseError, type XenoCapabilityLeaseErrorCode, type XenoCapabilityLeaseRequest, type XenoCapabilityLeaseRevocationRequest, type XenoCapabilityLeaseState, type XenoCapabilityScope, type XenoCapabilitySubject, type XenoCapabilityUse, type XenoColorDepth, type XenoColorPolicy, type XenoCompiledRecipe, type XenoCompiledRecipeStep, type XenoComputerAutomationOperation, type XenoComputerExecutionPolicy, type XenoConfig, type XenoContainmentApprovalReport, type XenoContainmentCertificationApproval, type XenoContainmentCertificationManifest, type XenoContainmentConformanceReport, type XenoContainmentReviewerTrustStore, type XenoContentHash, type XenoControlRoomActionKind, type XenoControlRoomActionPlan, type XenoControlRoomActionRequest, type XenoControlRoomAgent, type XenoControlRoomAgentInput, type XenoControlRoomAgentStatus, type XenoControlRoomApprovalInput, type XenoControlRoomApprovalKind, type XenoControlRoomArtifactInput, type XenoControlRoomAttentionItem, type XenoControlRoomAttentionKind, type XenoControlRoomGoalInput, type XenoControlRoomInput, type XenoControlRoomMonitorInput, type XenoControlRoomNotificationInput, type XenoControlRoomProjectionOptions, type XenoControlRoomSnapshot, type XenoControlRoomStatusCategory, type XenoControlRoomSummary, type XenoControlRoomTask, type XenoControlRoomTaskInput, type XenoControlRoomUsage, XenoControlRoomValidationError, type XenoCreatedShare, type XenoCredentialSource, type XenoCredentialType, type XenoDesktopCaptureSource, type XenoDesktopCapturer, type XenoDiffArtifactContext, type XenoDiffDocument, type XenoDiffFile, type XenoDiffFileStatus, type XenoDiffHunk, type XenoDiffLine, type XenoDiffLineKind, type XenoDiffMode, XenoDiffParseError, type XenoEd25519Signature, type XenoEnvironmentExecutionPolicy, type XenoEvidenceEdge, type XenoEvidenceEdgeType, type XenoEvidenceGraph, XenoEvidenceGraphBuilder, type XenoEvidenceGraphBuilderOptions, XenoEvidenceGraphValidationError, type XenoEvidenceNode, type XenoEvidenceNodeType, type XenoEvidenceReference, type XenoExecutionAdapterIdentity, type XenoExecutionEnforcement, type XenoExecutionIdentity, type XenoExternalActionExecutionPolicy, type XenoFilesystemExecutionPolicy, type XenoGifAnimation, type XenoGifDisposal, type XenoGifFrame, type XenoGitHubReviewComment, XenoGovernedAutomationExecutor, type XenoGovernedAutomationExecutorOptions, type XenoGovernedAutomationToolExecution, type XenoGovernedAutomationToolRuntime, type XenoHandoffAuthority, type XenoHandoffPayload, type XenoHandoffResumePoint, type XenoHandoffTarget, type XenoHostedArchitecture, type XenoHostedAuthority, type XenoHostedBudget, type XenoHostedCacheMount, type XenoHostedControlAcknowledgement, type XenoHostedControlAction, type XenoHostedControlCommand, type XenoHostedControlCommandPayload, type XenoHostedEnvironmentManifest, type XenoHostedEnvironmentManifestPayload, type XenoHostedEventRecord, type XenoHostedExecutionAdapterCertification, type XenoHostedExecutionAdapterVerificationOptions, type XenoHostedExecutionBoundaryReceipt, type XenoHostedExecutionJob, type XenoHostedExecutionSecretValue, type XenoHostedImageReference, type XenoHostedNetworkDestination, type XenoHostedNetworkPolicy, type XenoHostedOs, type XenoHostedQuotaLease, type XenoHostedReplayCursor, type XenoHostedReplayPage, type XenoHostedRepositorySource, type XenoHostedResourceLimits, type XenoHostedRetentionPolicy, type XenoHostedRunRecord, type XenoHostedRunRequest, type XenoHostedRunResult, type XenoHostedRunResultPayload, type XenoHostedRunStatus, type XenoHostedSecretProjection, type XenoHostedSetupStep, type XenoHostedTriggerDefinition, type XenoHostedTriggerDelivery, type XenoHostedTriggerKind, type XenoHostedWebhookSource, type XenoHostedWebhookVerification, type XenoJsonObject, type XenoJsonPrimitive, type XenoJsonValue, type XenoJwtPayload, type XenoLegacyAgentArtifactContext, type XenoLegacyArtifactContext, type XenoLoadedSkill, XenoLoopbackAutomationAdapter, type XenoLoopbackAutomationAdapterOptions, XenoMultiAgentReviewCoordinator, type XenoMultiAgentReviewCoordinatorOptions, type XenoNetworkDestination, type XenoNetworkExecutionPolicy, type XenoOracleAdjudication, type XenoOracleAdjudicationDraft, type XenoOracleAdjudicationRequest, type XenoOracleAdjudicationResult, type XenoOracleArtifactContext, type XenoOracleCitation, type XenoOracleClaim, XenoOracleCoordinator, type XenoOracleCoordinatorOptions, type XenoOracleDisagreement, type XenoOracleExecutionRequest, type XenoOracleExecutionResult, type XenoOracleModelIdentity, type XenoOracleOpinion, type XenoOracleOpinionDraft, type XenoOracleReport, type XenoOracleRole, type XenoOracleRunOptions, XenoOracleValidationError, type XenoOracleVerdict, type XenoProcessExecutionPolicy, type XenoProjectState, type XenoProviderAdapterKind, type XenoProviderAuthPreset, type XenoProviderCapabilities, XenoProviderCatalog, type XenoProviderConnection, type XenoProviderConnectionSnapshot, type XenoProviderConnectionView, type XenoProviderCredentialMode, type XenoProviderModelDescriptor, type XenoProviderPreset, type XenoProviderProbeResult, type XenoProviderReadiness, type XenoProviderRouteCandidate, type XenoProviderRoutingPolicy, type XenoPtyAdapter, type XenoPtyProcess, type XenoPtySpawnOptions, type XenoRasterImage, type XenoRasterPreview, type XenoRecipeDefinition, type XenoRecipeInputDefinition, type XenoRecipeMode, type XenoRecipePermissionMode, type XenoRecipeStepDefinition, XenoRecipeValidationError, type XenoRedactionCategory, type XenoRedactionEvent, type XenoRedactionOptions, type XenoRedactionReport, type XenoRedactionResult, type XenoRemoteRepositoryIdentity, type XenoRemoteSourceFile, type XenoRemoteSourceProvider, type XenoRepositoryChunk, type XenoRepositoryDocumentKind, type XenoRepositoryEmbedding, type XenoRepositoryEmbeddingProvider, type XenoRepositoryEmbeddingRequest, type XenoRepositoryFileRecord, type XenoRepositoryFreshnessInput, type XenoRepositoryFreshnessReport, type XenoRepositoryGitProvenance, type XenoRepositoryIndexBuildOptions, XenoRepositoryIndexFileStore, type XenoRepositoryIndexSnapshot, type XenoRepositoryIndexStats, type XenoRepositoryRelationship, type XenoRepositoryRelationshipKind, type XenoRepositorySearchMode, type XenoRepositorySearchQuery, type XenoRepositorySearchResponse, type XenoRepositorySearchResult, type XenoRepositorySourceDocument, type XenoRepositorySymbol, type XenoRepositorySymbolGraph, type XenoRepositorySymbolKind, type XenoResolvedApiKey, type XenoReviewAgentExecutor, type XenoReviewAgentResult, type XenoReviewArtifactContext, type XenoReviewCoordinatorContext, type XenoReviewDimension, type XenoReviewEvidence, type XenoReviewEvidenceKind, type XenoReviewFinding, type XenoReviewFindingProposal, type XenoReviewFindingState, type XenoReviewPack, type XenoReviewReport, type XenoReviewSeverity, type XenoReviewTarget, XenoReviewValidationError, type XenoReviewVerificationOutcome, type XenoReviewVerificationResult, type XenoReviewVerifierExecutor, type XenoRuntimeEvent, type XenoRuntimeEventBase, XenoRuntimeEventBus, type XenoRuntimeEventDraft, type XenoRuntimeEventSink, type XenoRuntimeEventType, type XenoSecretProjection, type XenoSecureExecutionContract, XenoSecureExecutionContractError, type XenoSecureExecutionContractErrorCode, type XenoShareAccessPolicy, type XenoShareContent, type XenoShareGitContext, type XenoShareIssuer, type XenoSharePayload, type XenoSharePrincipal, type XenoShareReference, type XenoShareRegistryRecord, type XenoShareRegistrySnapshot, type XenoShareSessionIdentity, type XenoShareSigningIdentity, type XenoShareStatus, type XenoShareSurface, type XenoShareVerificationResult, type XenoShareVisibility, type XenoSignedHandoffEnvelope, type XenoSignedShareEnvelope, type XenoSkillActivation, type XenoSkillAuditEvent, type XenoSkillCatalog, type XenoSkillDescriptor, type XenoSkillDiagnostic, type XenoSkillDiscoveryOptions, type XenoSkillDiscoveryRoot, type XenoSkillExternalActionPolicy, type XenoSkillInvocationDecision, type XenoSkillInvocationPolicy, type XenoSkillResourceDescriptor, type XenoSkillShadowRecord, type XenoSkillSource, type XenoSkillTool, type XenoSkillToolPolicy, type XenoSourceResearchArtifactContext, type XenoSourceResearchExcerpt, type XenoSourceResearchFinding, type XenoSourceResearchModelIdentity, type XenoSourceResearchReport, type XenoSourceResearchSeverity, XenoSourceResearchValidationError, type XenoSpecAcceptanceCriterion, type XenoSpecArtifactBundle, type XenoSpecArtifactContext, type XenoSpecDesign, type XenoSpecDesignDecision, type XenoSpecDocument, type XenoSpecDriftFinding, type XenoSpecDriftReport, type XenoSpecExecutionRecord, type XenoSpecExecutionState, XenoSpecLifecycleService, type XenoSpecLifecycleServiceOptions, type XenoSpecPriority, type XenoSpecRequirement, type XenoSpecRisk, type XenoSpecSourceBaseline, type XenoSpecTask, type XenoSpecTaskExecution, type XenoSpecTaskStatus, XenoSpecValidationError, type XenoTelemetryAttributeValue, type XenoTelemetryRecord, type XenoTelemetrySignalKind, type XenoTelemetrySubscriber, type XenoThreadRunOptions, type XenoThreadRunResult, XenoTraceGraphRecorder, type XenoUserConfig, type XenoVerifiedHostedExecutionAdapterCertification, type XenoVp8Image, acquireControlPlaneLock, activateSessionRuntime, addProjectAllowedDirectory, addProjectAllowedTool, agentDefinitionFromProfile, agentProfileFromDefinition, appendBoundedShellOutput, appendGuidanceToResult, approveMcpServer, areSignalHandlersInstalled, artifactCompareTool, askUserTool, assertDirectEndpointResolution, assertRequiredXenoAutomationEvidence, assertSupportedMcpProtocolVersion, assertUsableXenoApiKey, assertValidMcpAppResource, assertValidXenoArtifact, assertValidXenoAutomationAdapterManifest, assertValidXenoAutomationRequest, assertValidXenoEvidenceGraph, assertValidXenoHostedExecutionJob, assertValidXenoOracleReport, assertValidXenoRecipeDefinition, assertValidXenoReviewPack, assertValidXenoReviewReport, assertValidXenoReviewTarget, assertValidXenoSecureExecutionContract, assertValidXenoSourceResearchReport, assertValidXenoSpecDocument, assertValidXenoSpecExecution, assertXenoArtifactStateTransition, assertXenoAutomationAdapterConformant, assertXenoAutomationAuthority, auditRiskLevelForTool, authorizeShellExecution, backgroundProcessManager, bashTool, benchmarkCodingTools, bridgeXenoTelemetryToOpenTelemetry, buildAtomicMessageGroups, buildAuditReplayReport, buildAuditTraceReport, buildContainedProcessSpec, buildContractLedgerGuidance, buildDefaultSubagentTasks, buildDelegatedRoleSystemPrompt, buildHookEnvironment, buildLinuxBubblewrapProcessSpec, buildLspDefinitionReport, buildLspDiagnosticsReport, buildLspDoctorReport, buildLspHoverReport, buildLspReferencesReport, buildMotionSystemPrompt, buildPixelSystemPrompt, buildProcessHardenedProcessSpec, buildProjectBudgetFinalizationGuidance, buildProjectExecutionGuidance, buildProjectExecutionProfile, buildPromptMemoryContext, buildSecuredProcessSpec, buildSoundSystemPrompt, buildSystemPrompt, buildToolFailureGuardResult, buildXenoArtifactReviewAnchor, buildXenoAutomationCapabilityUse, buildXenoRepositoryIndex, buildXenoRepositoryIndexWithEmbeddings, buildXenoSecureExecutionContract, cachedModelContextWindow, calculateCost, canTransitionXenoArtifactState, canXenoRasterPreview, canonicalPayload, canonicalizeArtifactJson, canonicalizeMcpResourceUri, canonicalizeSecurityPath, canonicalizeToolName, checkSandbox, classifyProviderHttpError, cleanupReadImagePreviews, cleanupSessionRuntime, clearMcpServerApproval, clearProjectAllowedTools, clearProjectLastSessionSummary, clearProjectMcpApproval, clearProjectMcpApprovals, clipXenoAnsi, coerceSubagentRole, coerceSubagentTeamPreset, compileAgentProfile, compileJsonSchema, compileToolInputSchema, compileXenoRecipe, compileXenoSkillActivation, configureImageGeneration, configureSearch, configureSearchPermissionProfile, configureXenoAnsi, containmentApprovalSigningPayload, containmentCertificationSigningPayload, copyTextToClipboard, create3DTools, createAgentDefinitionFile, createAgentDefinitionPromptSection, createAgentRunId, createAppServerV2HttpTransport, createArchitectTools, createArtifactCompareTool, createAskUserTool, createAudioTools, createAuditBackedPermissionEngine, createBashTool, createBenchBashMiddleware, createCommandBackedProtectedStateStore, createDefaultToolRegistry, createDelegatedXenoAgent, createDirectProvider, createDirectShellMessage, createDispatchAgentTool, createDocsTools, createEd25519Signer, createEditTool, createElfAnalyzeTool, createEngineTools, createGcodeAnalyzeTool, createGenerateImageTool, createGlobTool, createGovernanceExtensions, createGrepTool, createHtmlSanitizerAuditTool, createImageTools, createLsTool, createLspDefinitionTool, createLspDiagnosticsTool, createLspHoverTool, createLspReferencesTool, createMcpAppCapabilities, createMcpAppExtensionCapabilities, createMcpPkcePair, createMcpPromptRegisteredTool, createMcpRegisteredTool, createMcpResourceRegisteredTool, createMemoryProtectedStateStore, createMemoryReadTool, createMemoryWriteTool, createNotebookEditTool, createNotebookReadTool, createNotesTools, createOsProtectedStateStore, createProtectedStateEnvelopeCipher, createReadImageTool, createReadTool, createSheetsTools, createSlidesTools, createSpeechRecognizer, createSqliteAnalyzeTool, createTaskInputTool, createTaskListTools, createTaskOutputTool, createTaskStopTool, createThinkTool, createToolAlias, createToolRuntimeContext, createUnavailableProtectedStateStore, createVideoTools, createWebSearchTool, createWindowsDpapiProtectedCipher, createWindowsDpapiProtectedFileStore, createWorkflowTools, createWriteTool, createXenoAgent, createXenoAutomationConformanceReport, createXenoGovernedAutomationTools, createXenoHostedControlCommand, createXenoHostedEnvironmentManifest, createXenoHostedEvent, createXenoHostedExecutionBoundaryReceipt, createXenoHostedRunResult, createXenoRasterPreview, createXenoSecureShare, createXenoSessionHandoff, createXenoShareSigningIdentity, createXenoSkillTool, createXenoSourceResearchExcerpt, createXenoSourceResearchReport, currentExecutionAdapterStatus, decodeJwtPayload, decodeXenoBmp, decodeXenoGif, decodeXenoGifAnimation, decodeXenoJpeg, decodeXenoNetpbm, decodeXenoPng, decodeXenoSvg, decodeXenoVp8, decodeXenoWebp, defaultToolRuntimeContext, defaultXenoReviewPack, deflateXenoZlib, deleteSession, denyMcpServer, deriveHostedIdempotencyKey, describeXenoAutomationOperation, detectLanguage, detectPluginRepositorySignals, detectRepositoryDocumentKind, detectRepositoryLanguage, detectXenoSpecDrift, deterministicReduce, digestMessages, directProviderConfigFromConnection, discoverXenoSkills, dispatchAgentTool, editTool, elfAnalyzeTool, emitXenoTelemetry, encodeXenoPngRgb, enforceShellCommandPolicy, enforceToolPolicy, ensureConfigDir, ensureDurableMessageIds, ensureProjectStateDir, estimateFullRequestBudget, evaluateContainmentUiRestrictions, evaluatePermissionProfileNetworkUrl, evaluateXenoCapabilityEligibility, extractJsonObject, extractToolPath, findXenoSkill, fingerprintXenoSecureExecutionContract, forgetRecentSession, forgetRecentSessionById, formatBoundedShellOutput, formatCost, formatDirectShellContext, formatJsonSchemaErrors, formatModelList, formatPromptContextBreakdown, gcodeAnalyzeTool, generateImageTool, generateSessionId, getAgentHome, getAgentRunDir, getAgentRunStoreDir, getAvailableModels, getBenchmarkComputeBudgetHintForCommand, getBenchmarkForegroundTimeoutForCommand, getBestExecutionSecurityStatus, getChatModels, getConfigDir, getDefaultProviderRegistry, getExecutionSecurityCapabilityReport, getExecutionSecurityStatus, getGlobIgnores, getGrepIgnores, getHighRiskPermissions, getImageGenerationConfig, getJwtExpiry, getLinuxBubblewrapCapability, getLogLevel, getManagedConfigPath, getMcpAppMetadata, getMcpAppResourceUri, getMcpApprovalDecision, getMcpAuthorizationServerMetadataUrls, getMcpPromptToolName, getMcpProtectedResourceMetadataUrls, getMcpResourceToolName, getMcpToolName, getModelName, getMxcContainmentProbe, getMxcNativeAssetDescriptor, getMxcWindowsHostPreparationDescriptor, getMxcWindowsHostPreparationHelperArchitecture, getPermissionProfile, getPersistentShellSession, getPersistentShellSpawnSpec, getProcessContainmentStatus, getProjectAgentDefinitionDirs, getProjectAgentDefinitionsDir, getProjectLastSessionSummary, getProjectMcpApproval, getProjectStatePath, getReadImagePreviewCapability, getRecentSessionsIndexPath, getSubagentTeamPresetDefinition, getToolRiskLevel, getUserAgentDefinitionsDir, gitBranchTool, gitCommitTool, gitDiffTool, gitLogTool, gitStatusTool, globTool, grepTool, gzipXeno, hasProjectOnboardingCompleted, hasXenoTelemetrySubscribers, hashContainmentConformanceReport, hashPluginManifest, hashPluginTree, hookResultStatus, hostedEnvironmentIdentity, htmlSanitizerAuditTool, importLegacyXenoSkill, inflateXenoZlib, initializeSessionRuntime, inspectRuntimeManifests, inspectSecurityPath, inspectSystemPrompt, inspectXenoRepositoryFreshness, inspectXenoRepositorySymbol, installSignalHandlers, invalidateAllObservedFiles, invokeXenoSkill, isChatModel, isDangerousCommand, isDirectShellMessage, isExpiredJwt, isExplicitResearchPrompt, isJwt, isLocalModel, isMcpAppResourceUri, isMcpOAuthTokenExpired, isMcpToolVisibleToApp, isMcpToolVisibleToModel, isNotBeforeJwt, isPathWithinAllowed, isScreenCaptureAvailable, isSensitiveEnvironmentKey, isSimpleInformationalPrompt, isSpeechRecognitionAvailable, isSupportedMcpProtocolVersion, isToolAllowedByXenoSkillActivation, isUncOrDevicePath, isValidAgentDefinitionName, isValidModel, isValidSessionId, isWorkspaceTrusted, isXenoAutomationOperation, legacyAgentArtifactToXenoArtifact, listBuiltInAgentProfiles, listPermissionProfiles, listProjectAllowedTools, listProjectMcpApprovals, listSessions, loadConfig, loadConfiguredMcpServers, loadMcpConfigFile, loadProjectConfig, loadProjectState, loadRecentSessionsIndex, loadSession, loadUserConfig, loadXenoSkill, lookupRecentSession, lsTool, lspDefinitionTool, lspDiagnosticsTool, lspHoverTool, lspReferencesTool, matchPermissionRule, matchesMcpRegistryEntryPolicy, materializeXenoAutomationEvidence, memoryReadTool, memoryWriteTool, mergeConfigs, mxcWarningsRequireWindowsHostPreparation, normalizeDirectShellResultRecord, normalizeHookDecision, normalizeMcpAppVisibility, normalizePermissionProfileName, normalizeRepositoryRelativePath, normalizeSourceText, normalizeSubagentBranchPolicy, normalizeWorkingDirectory, normalizeXenoHostedControlAcknowledgement, notebookEditTool, notebookReadTool, parseContainmentReviewerTrustStore, parseMcpWwwAuthenticate, parsePermissionRule, parseRetryAfter, parseSessionId, parseShellPathReferences, parseSubagentRemoteMcpPolicy, parseSubagentRoleList, parseUnifiedDiff, parseXenoAnsi, parseXenoRecipeDefinition, persistXenoAutomationEvidence, planXenoControlRoomAction, pluginInfoRelevanceCandidate, pluginListingRelevanceCandidate, pluginSignaturePayload, preflightLocalModel, prepareMxcWindowsHost, probeXenoProvider, projectToolDefinitionsForProvider, projectToolSchemaForProvider, projectXenoControlRoom, providerCapabilityError, providerProtocolError, publicKeyFingerprint, publishPlugin, rankPluginRelevance, readImageTool, readManifestFromDisk, readPluginDetachedSignature, readPluginSupplyChainLockfile, readSessionFormatVersion, readTool, readXenoApiKey, recordRecentSession, recordXenoCounter, recordXenoEvent, recordXenoHistogram, redactXenoShareValue, registerShutdownCleanup, registry, removeMcpServerConfig, removeProjectAllowedTool, renderAgentDefinition, renderAgentDefinitions, renderAuditReplayMarkdown, renderAuditReplayReport, renderAuditTraceMarkdown, renderAuditTraceReport, renderAuditTraceSummaries, renderCodingBenchmarkMarkdown, renderCodingBenchmarkReport, renderContinuationIncompleteStatus, renderLspDefinitionReport, renderLspDiagnosticsReport, renderLspDoctorReport, renderLspHoverReport, renderLspReferencesReport, renderToolContinuationInput, renderXenoSkillCatalog, repairToolExchangeHistory, requestBackground, requiresSecuredProcessLaunch, resetAllPersistentShellSessions, resetBashBenchmarkGuards, resetImageGenerationConfig, resetMcpServerApprovals, resetMxcContainmentProbe, resetPersistentShellSession, resetXenoAnsiPolicy, resetXenoTelemetryCardinalityForTests, resizeXenoRaster, resolveAgentDefinition, resolveAgentProfile, resolveAgentToolPolicy, resolveBuiltInAgentProfile, resolveCommandOnPath, resolveContainmentConformanceTemporaryRoot, resolveDelegatedExecutionMode, resolveExecutionSecurityLevel, resolveExecutionTrustMode, resolveInteractiveTurnMaxIterations, resolveModelContextTokens, resolvePermissionProfile, resolveShellInvocation, resolveSubagentRemoteMcpAccess, resolveSubagentWorkflowAnswer, resolveXenoAutomationEvidencePolicy, resolveXenoSdkApiKey, runAgentHook, runCommandHook, runContainmentConformanceSuite, runDelegatedXenoTurn, runDelegationPlan, runHookDefinition, runHooks, runHttpHook, runPromptHook, runSubagentWorkflow, runXenoThread, runXenoThreadStreamed, sanitizeEnvironment, sanitizeXenoTelemetryAttributes, saveConfig, saveMcpConfigFile, saveProjectState, saveSession, scaffoldPlugin, scanAgentDefinitions, scoreMemories, scorePluginRelevance, searchXenoRepositoryIndex, selectXenoProviderRoute, serializeXenoRecipe, setLogLevel, setProjectLastSessionSummary, setProjectMcpApproval, setProjectOnboardingCompleted, setWorkspaceTrusted, setupAIHandlers, sha256ArtifactBytes, sha256ArtifactJson, shouldEnableExecutionGovernance, shouldSourceShellProfile, shouldUseIsolatedStdinForCommand, signSharePayload, sqliteAnalyzeTool, stripXenoAnsi, subscribeXenoTelemetry, summarizeAuditInputRecord, summarizeAuditTraces, summarizeRuntimeInput, summarizeSubagentResults, summarizeXenoArtifactReview, syncMcpToolsToRegistry, synthesizeSkill, taskInputTool, taskOutputTool, taskStopTool, testPlugin, thinkTool, toAgentDefinitionMetadata, toLLMProvider, toolEvidenceToXenoArtifact, toolOperationManager, toolRiskLevel, turnDiffSummaryToXenoArtifact, unifiedDiffToXenoArtifact, unifiedExecManager, updateProjectState, upsertMcpServerConfig, validateAgentDefinition, validateCapabilityLeaseRequest, validateDelegationPlan, validateDirectEndpoint, validateExecutionSecurityPolicy, validateJsonSchema, validateManifest, validateMcpAppResource, validateXenoArtifact, validateXenoArtifactReviewEvent, validateXenoControlRoomSnapshot, validateXenoEvidenceGraph, validateXenoRepositoryIndex, validateXenoSdkApiKey, validateXenoSecureExecutionContract, validateXenoSpecDocument, verifyContainmentCertification, verifyContainmentCertificationApproval, verifyPluginSupplyChain, verifySignature, verifySoulRecord, verifyXenoHostedControlCommand, verifyXenoHostedEnvironmentManifest, verifyXenoHostedEventChain, verifyXenoHostedExecutionAdapterCertification, verifyXenoHostedExecutionJob, verifyXenoHostedRunResult, verifyXenoHostedWebhook, verifyXenoSecureShare, verifyXenoSessionHandoff, webFetchTool, webSearchTool, windowsDpapiProtect, windowsDpapiUnprotect, withXenoTelemetrySpan, wrapXenoAnsi, writePluginSupplyChainLockfile, writeTool, xenoAnsi, xenoAnsiVisibleWidth, xenoArtifactToDiffDocument, xenoArtifactToLegacyAgentArtifact, xenoArtifactToOracleReport, xenoArtifactToReviewReport, xenoArtifactToSourceResearchReport, xenoArtifactToSpecDocument, xenoArtifactToSpecExecution, xenoArtifactToToolEvidence, xenoArtifactToTurnDiffSummary, xenoHostedExecutionAdapterSigningPayload, xenoOracleReportToArtifact, xenoRecipeFingerprint, xenoReviewReportToArtifact, xenoReviewReportToGitHubComments, xenoSourceResearchReportToArtifact, xenoSpecArtifactIds, xenoSpecExecutionToArtifact, xenoSpecToArtifactBundle };
|
|
13307
|
+
export { type A2AMessage, type A2AMessageType, AGENT_DAEMON_PROTOCOL_VERSION, AGENT_EFFORT_LEVELS, AGENT_PERMISSION_MODES, AGENT_PROFILE_EXTERNAL_ACTIONS, ARCHITECT_CAPABILITIES, ARCHITECT_TOOL_NAMES, type ActiveLayerInfo, type AddXenoArtifactCommentRequest, type AgentArtifact, type AgentCapabilities, type AgentCard, AgentDaemonClient, type AgentDaemonError, type AgentDaemonHandler, type AgentDaemonRequest, type AgentDaemonResponse, AgentDaemonServer, type AgentDaemonTransport, AgentDebugger, type AgentDefinition, type AgentDefinitionIsolation, type AgentDefinitionIssue, AgentDefinitionLoader, type AgentDefinitionLoaderOptions, type AgentDefinitionMetadata, AgentDefinitionResolver, type AgentDefinitionScanResult, type AgentDefinitionScope, type AgentDefinitionShadowRef, type AgentEffortLevel, AgentEvaluator, AgentEventStore, type AgentHookDefinition, AgentHookRunner, AgentInterruptedError, type AgentIpcChannel, type AgentLoadSnapshot, AgentLoop, type AgentLoopConfig, type AgentLoopOptions, type AgentPermissionMode, type AgentProfileActionDecision, type AgentProfileCapabilities, type AgentProfileCapabilityBoundary, type AgentProfileCollaborationMode, type AgentProfileCompletionPolicy, type AgentProfileEvidenceKind, type AgentProfileExecutionPolicy, type AgentProfileExternalAction, type AgentProfileExternalActionPolicy, type AgentProfileIsolation, type AgentProfileKind, type AgentProfileMemoryPolicy, type AgentProfileMemoryScope, type AgentProfilePresentation, type AgentProfileSkillPolicy, type AgentProfileSoulMode, type AgentProfileV2, AgentProfileValidationError, AgentProtocol, AgentRegistry, type AgentRunAgentDefinitionRef, AgentRunController, type AgentRunControllerOptions, type AgentRunCreateInput, AgentRunError, type AgentRunEvent, type AgentRunListOptions, type AgentRunOptions, type AgentRunRecord, type AgentRunSpawnResult, type AgentRunStatus, AgentRunStore, type AgentRunTermination, type AgentRunTerminationReason, type AgentRunTerminationStatus, type AgentRunUsage, type AgentSandbox, type AgentSelectionStrategy, type AgentSessionHostBindingV1, type AgentStreamCallbacks, type AgentTask, type AgentTaskHandler, type AgentTaskResult, type AgentTaskStatus, type AgentTeam, type AgentToAppChannel, type AgentToAppMessages, type AgentToolPolicy, type AnalysisResult, type ApiMessage, type AppAgentBaseOptions, AppAgentFactory, type AppAgentResult, type AppContext, AppContextInjector, AppContextManager, type AppContextProvider, type AppId, type AppServerEventV2, type AppServerInitializeParamsV2, type AppServerInitializeResultV2, type AppServerIntegrationMetadataV2, type AppServerPermissionRequestV2, type AppServerPrincipalV2, AppServerProtocolError, type AppServerProtocolErrorData, AppServerRemoteError, type AppServerRequestContext, type AppServerSubscriptionSnapshotV2, type AppServerThreadStatusV2, type AppServerThreadV2, type AppServerTurnRunnerContextV2, type AppServerTurnRunnerV2, type AppServerTurnStatusV2, type AppServerTurnV2, type AppServerV2ClientTransport, type AppServerV2MethodMap, type AppServerV2Options, type AppToAgentChannel, type AppToAgentMessages, type AppType, type ArchitectAgentOptions, type ArchitectToolAdapter, type AskUserHandler, type AskUserRequest, type AskUserResponse, type AtomicMessageGroup, type AudioProjectInfo, type AudioStemSeparationResult, type AudioToolAdapter, type AudioTrackType, type AudioTranscriptionResult, type AudioTranscriptionSegment, type AuditDecision, type AuditEvent, AuditLogger, type AuditReplayReport, type AuditReplayStep, type AuditRiskLevel, type AuditStatus, type AuditTraceGapEntry, type AuditTraceReport, type AuditTraceSummary, type AuditTraceTimelineEntry, type AuditTraceToolSummary, type AugmentContextOptions, type AuthorizedShellExecution, AutoCheckpointHandler, AutoMemory, type AutoMemoryContext, type AutoMemoryTrigger, AutoPermissionClassifier, type AutoPermissionDecision, BUILT_IN_XENO_PROVIDER_PRESETS, BackgroundProcessManager, type BackgroundTask, type BaseHookDefinition, type BenchBashMiddlewareOptions, type BlockContent, type BlockType, type BoundedShellOutput, type BreakpointCallback, type BuildResult, type BuildXenoSecureExecutionContractOptions, COMPAT_TOOL_ALIASES, CONFIG_VERSION, type CanonicalSecurityPath, type CanvasSize, type CellRangeData, type ChartConfig, type ChatCompletionChunk, type ChatCompletionRequest, type ChatCompletionResponse, type ChatMessage, type ChatParams, type ChatResponse, type CheckpointData, type CheckpointInfo, CheckpointManager, type CheckpointTrigger, type ClaimXenoHandoffInput, type ClashResult, type CliAutomationAuditEvent, type CliAutomationAuditLoggerPort, type CliAutomationEnvironment, type CliAutomationStatusReport, type CliAutomationSurfaceStatus, CliGovernedAutomationRuntime, type ClipContext, type CodeApplyOptions, type CodeApplyResult, type CodeValidationIssue, type CodeValidationResult, CodeValidator, type CodingBenchmarkAssessment, type CodingBenchmarkMeasurement, type CodingBenchmarkOptions, type CodingBenchmarkReport, type CodingBenchmarkThreshold, type CommandBackedProtectedStateOptions, type CommandHookDefinition, CommandHookRunner, type CompactionRecord, type CompileAgentProfileOptions, type CompiledAgentProfile, type CompiledJsonSchema, type CompletionDecision, type CompletionGuard, type CompletionGuardContext, type CompletionGuardDecision, type CompletionGuardEvaluationContext, CompletionGuardRegistry, type CompletionGuardResult, type CompletionGuardResultObject, type CompletionGuardStopReason, type CompletionGuardToolPolicy, type CompletionGuardToolPolicyMode, type CompletionGuardTurnStats, type CompletionGuardVeto, type ComponentData, type CompressionLLMFn, type CompressionStats, type ConfigProfile, type ConnectConfiguredMCPServersOptions, type ConnectConfiguredMCPServersResult, type ContainedProcessSpec, type ContainmentAdapterIdentity, ContainmentApprovalError, type ContainmentCertificationBinding, ContainmentCertificationError, type ContainmentConformanceCheck, type ContentBlock, type ContextCompressedData, ContextManager, type ContextManagerConfig, type ContextSection, type ContextSource, type ControlPlaneLockHandle, type ControlPlaneLockRecord, ConversationStore, type CreateAuditBackedPermissionEngineOptions, type CreateCliGovernedAutomationRuntimeOptions, type CreateDelegatedBranchAgent, type CreateDelegatedBranchAgentOptions, type CreateDelegatedXenoAgentOptions, type CreateXenoAgentOptions, type CreateXenoAgentResult, type CreateXenoGoalInput, type CreateXenoGovernedAutomationToolsOptions, type CreateXenoHandoffInput, type CreateXenoHandoffOptions, type CreateXenoHostGovernedAutomationRuntimeOptions, type CreateXenoShareOptions, type CreateXenoSkillToolOptions, type CreateXenoSourceResearchReportInput, type CrossAppHandler, type CrossAppMessage, CrossAppRouter, CrossAppRouterError, type CrossAppRouterOptions, DEFAULT_API_KEY, DEFAULT_IMAGE_MODEL, DEFAULT_MEMORY_BUDGETS, DEFAULT_MODEL, DEFAULT_PROMPT_SECTIONS_TOKEN_BUDGET, DEFAULT_PROTECTED_STATE_KEY_NAME, DEFAULT_PROTECTED_STATE_SERVICE, DEFAULT_SUBAGENT_BRANCH_POLICY, DEFAULT_SUBAGENT_REMOTE_MCP_BY_ROLE, DEFAULT_SUBAGENT_ROLES, DEFAULT_SUBAGENT_ROLE_PRECEDENCE, DEFAULT_SUBAGENT_TEAM_PRESET, DIRECT_SHELL_CONTEXT_WARNING, DOCS_CAPABILITIES, DOCS_TOOL_NAMES, type DebugBreakpoint, type DebugSnapshot, type DebugStep, type DebugStepCallback, type DecideXenoArtifactRequest, type DefaultToolRegistryOptions, type DefaultWebContextRequestFactoryOptions, type DelegatedBranchAdmission, type DelegatedBranchAdmissionSettlement, type DelegatedBranchAgent, type DelegatedBranchAgentCallbacks, type DelegatedXenoTurnResult, type DelegationBudget, type DelegationLimits, type DelegationSummaryData, type DependencyEdge, type DescendantInstructionHint, type DirectEndpointPolicy, type DirectEndpointProfile, type DirectProviderCapabilityProfile, type DirectProviderConfig, type DirectProviderKind, type DirectShellMessageMetadata, type DirectShellResultRecord, type DispatchAgentHandler, type DispatchAgentRequest, type DispatchAgentResponse, type DocComment, type DocsAgentOptions, type DocsToolAdapter, type DocumentContext, type DualLLMMode, DualLLMProvider, type DualLLMProviderConfig, type DualLLMProviderLike, type DualLLMStatus, DurableXenoCoordinationStore, ENGINE_CAPABILITIES, ENGINE_TOOL_NAMES, ElectronAgentBridge, type ElectronAgentConfig, type EngineAgentOptions, type EngineToolAdapter, type EntityInfo, type Episode, type EpisodeOutcome, EpisodicStore, type EpisodicStoreOptions, type ErrorData, type EvalReport, type EvalResult, type EvalRunOptions, type EvalTask, type ExchangeMCPOAuthCodeOptions, type ExecuteToolRequest, type ExecuteToolResult, type ExecuteXenoCoordinationActionInput, type ExecuteXenoCoordinationActionResult, ExecutionGovernance, type ExecutionGovernanceOptions, type ExecutionGovernanceSummary, type ExecutionMode, type ExecutionSecurityCapabilities, ExecutionSecurityError, type ExecutionSecurityErrorCode, type ExecutionSecurityLevel, type ExecutionTrustMode, type ExpectedOutputContract, type ExportableSoulSigner, type ExtendedAppType, FALLBACK_MODELS, type FailureCluster, type FileEntry, type FileSnapshot, FileXenoArtifactRepository, type FileXenoArtifactRepositoryOptions, FileXenoProviderConnectionStore, type FileXenoProviderConnectionStoreOptions, FileXenoShareRegistry, type FileXenoShareRegistryOptions, type FilterConfig, type GovernanceExtensions, type GovernanceExtensionsOptions, HIGH_RISK_PERMISSIONS, type HarnessTask, type HarnessTaskStatus, type HarnessTaskUpdate, type HookConfig, type HookDecision, type HookDefinition, type HookEventName, type HookExecutionResult, type HookExecutionStatus, type HookInput, type HookInputBase, type HookInvocationInput, type HookModelExecutor, type HookPermissionMode, type HookRunResult, HookRunner, HookRuntime, type HookRuntimeOptions, type HttpHookDefinition, HttpHookRunner, IDENTITY_PATHS, type IdentityFrontmatter, type IdentityLayer, type IdentityLoadResult, IdentityLoader, type IdentityLoaderOptions, type IdentityPaths, IdentityResolver, type IdentitySource, type ImageContentBlock, type ImageDocumentInfo, type ImageGenerationConfig, type ImageLayerInfo, type ImageLayerType, type ImageToolAdapter, type ImageUrlBlock, InMemoryXenoArtifactRepository, type InMemoryXenoArtifactRepositoryOptions, InMemoryXenoCapabilityLeaseRegistry, type InMemoryXenoCapabilityLeaseRegistryOptions, InMemoryXenoTelemetryCollector, type InitializeSessionRuntimeOptions, type InspectSystemPromptOptions, type InstallSignalHandlersOptions, InteractiveChatTurnGovernance, InteractiveTurnGovernance, type InteractiveTurnGovernanceOptions, type IpcHandler, type JsonRpcErrorResponse, type JsonRpcMessage$1 as JsonRpcMessage, type JsonRpcNotification, type JsonRpcRequest$1 as JsonRpcRequest, type JsonRpcResponse, type JsonRpcSuccessResponse, type JsonSchema, JsonSchemaCompilationError, type JsonSchemaCompilationIssue, type JsonSchemaCompileOptions, type JsonSchemaSubset, type JsonSchemaType, type JsonSchemaValidationError, type JsonSchemaValidationResult, type LLMCompletionResult, type LLMProvider, type LLMProviderCapabilities, type LLMProviderMessage, type LLMProviderRequestContext, type ToolDefinition as LLMProviderToolDefinition, type LLMToolDefinition, type LayerContext, type LegacyXenoSkillInput, type LinuxBubblewrapCapability, type LinuxBubblewrapProcessSpec, LlmClient, type LlmClientDeps, LocalLLMProvider, type LocalLLMProviderConfig, type LocalRuntimePreflightResult, LogLevel, type LspDefinitionReport, type LspDiagnosticsReport, type LspDoctorReport, type LspDoctorServer, type LspHoverReport, type LspReferencesReport, MANIFEST_FILENAME, MAX_CONTAINMENT_APPROVAL_AGE_MS, MAX_CONTAINMENT_CERTIFICATION_BYTES, MAX_CONTAINMENT_CERTIFICATION_LIFETIME_MS, MAX_DIRECT_SHELL_OUTPUT_CHARS, type MCPAppCapabilities, type MCPAppContentSecurityPolicy, type MCPAppExtensionMetadata, type MCPAppMetadata, type MCPAppPermissions, type MCPAppResourceDescriptor, type MCPAppValidationResult, type MCPAppVisibility, type MCPApprovalDecision, type MCPBearerTokenRefreshHandler, type MCPBearerTokenResolver, type MCPConfigFile, type MCPConfiguredServer, type MCPElicitationAction, type MCPElicitationHandler, type MCPElicitationRequest, type MCPElicitationResponse, type MCPHttpAuthChallenge, MCPHttpTransportError, type MCPHttpUrlPhase, type MCPInitializeParams, type MCPInitializeResult, MCPManager, type MCPManagerOptions, type MCPOAuthAuthorizationServerMetadata, type MCPOAuthAuthorizationSession, MCPOAuthClient, type MCPOAuthClientOptions, type MCPOAuthClientRegistration, type MCPOAuthClientRegistrationSource, type MCPOAuthConfig, type MCPOAuthDiscoveryResult, type MCPOAuthProtectedResourceMetadata, type MCPOAuthTokenSet, type MCPOAuthTokenStore, type MCPOAuthUrlPhase, type MCPPrompt, type MCPPromptGetParams, type MCPPromptGetResult, type MCPPromptsListResult, type MCPRegistryAccessPolicy, type MCPRegistryEntryDescriptor, type MCPRegistryEntryKind, type MCPRegistryFilter, type MCPResource, type MCPResourceReadParams, type MCPResourceReadResult, type MCPResourceSubscribeParams, type MCPResourceUnsubscribeParams, type MCPResourcesListResult, MCPServer, type MCPServerConfig, type MCPServerModeOptions, type MCPServerPromptRegistration, type MCPServerResourceRegistration, type MCPServerScope, type MCPServerState, type MCPTool, type MCPToolCallParams, type MCPToolCallResult, type MCPToolsListResult, type MCPTransport, type MCPTransportConnection, MCP_APPS_EXTENSION_ID, MCP_APP_MIME_TYPE, MCP_APP_RESOURCE_SCHEME, MCP_PROTOCOL_VERSION, MCP_SUPPORTED_PROTOCOL_VERSIONS, MEMORY_FILES, MOTION_CAPABILITIES, MOTION_SYSTEM_PROMPT, MOTION_TOOL_NAMES, type ManifestValidationResult, type MaterialConfig, type MaterializeXenoAutomationEvidenceOptions, type MemoryAccessScope, type MemoryBudget, type MemoryEntry, type MemoryFile, type MemoryLevel, MemoryManager, type MemoryManagerOptions, type MeshInfo, type Message, MessageFlow, type MessageFlowDeps, type ModeSwitchRequest, type ModelInfo, type ModelProvider, ModelProviderRegistry, type MonitorEvent, MonitorManager, type MonitorSnapshot, type MonitorSource, MonitorStopTool, MonitorTool, type MotionAgentOptions, type MotionPromptParams, type MxcContainmentProbe, type MxcNativeAssetDescriptor, type MxcWindowsHostPreparationReport, NOTES_CAPABILITIES, NOTES_TOOL_NAMES, type NormalizedLspDiagnostic, type NormalizedLspHover, type NormalizedLspLocation, type NormalizedLspRange, type NotePageInfo, type NoteSearchResult, type NotesAgentOptions, type NotesToolAdapter, type OnChunkCallback, type OnTaskCompleteInput, type OnTaskCompleteResult, type OpenTelemetryMetricAdapter, type OperationTaskSource, type OsProtectedStateStoreOptions, OtelExporter, type OtelUsageAdapter, PIXEL_CAPABILITIES, PIXEL_SYSTEM_PROMPT, PIXEL_TOOL_NAMES, PROCESS_TREE_ADAPTERS, PROJECT_STATE_VERSION, type ParameterizedPermissionRule, type ParseUnifiedDiffOptions, type PermissionConfig, type PermissionDecision, type PermissionDecisionEvent, type PermissionDecisionHook, PermissionEngine, type PermissionInfo, type PermissionProfile, type PermissionProfileDecision, type PermissionProfileMode, type PermissionProfileName, type PermissionProfileNetworkDecision, type PermissionProfileResolution, type PermissionPromptFn, type PermissionPromptInfo, type PermissionPromptOperation, type PermissionPromptPreview, type PermissionPromptPreviewLine, type PermissionRequestContext, type PermissionRequestInfo, type PermissionRequestResult, type PermissionRule, type PersistentPermissionState, type PixelAgentOptions, type PixelPromptParams, type PlatformInfo, type PluginActivationEvent, type PluginAuthor, type PluginCapability, type PluginCommandContribution, type PluginCommandHandler, type PluginContext, type PluginContributions, type PluginDetachedSignature, type PluginEngineConstraint, type PluginEvent, PluginEventBus, type PluginEventListener, type PluginEventType, type PluginHook, PluginHost, type PluginHostInfo, type PluginHostOptions, type PluginInfo, type PluginListing, type PluginLogger, PluginManager, type PluginManagerOptions, type PluginManifest, PluginMarketplace, type PluginMarketplaceOptions, type PluginOutputStyleContribution, type PluginPermission, type PluginPromptContribution, type PluginPublishOptions, type PluginRelevanceCandidate, type PluginRelevanceHints, type PluginRelevanceSuggestion, type PluginRepositorySignal, PluginSandbox, type PluginSandboxOptions, type PluginScaffoldOptions, type PluginSearchOptions, type PluginSettingContribution, PluginSettingsManager, type PluginSignatureStatus, type PluginStatus, type PluginStorage, type PluginSupplyChainLockfile, type PluginSupplyChainRecord, type PluginTestCase, type PluginTestResult, PluginToolBuilder, type PluginToolContribution, type PluginTrustBadge, type PluginUIPanel, type PolicyCheckResult, type PolicyEnforcerConfig, type PrepareMCPOAuthAuthorizationOptions, type ProbeXenoProviderOptions, type ProcessContainmentStatus, type ProcessTreeAdapter, type ProfileMCPServerConfig, ProfileManager, type ProjectConfig, type ProjectDomainProfile, type ProjectExecutionPhase, type ProjectExecutionProfile, type ProjectInfo, type ProjectMcpApprovalDecision, type ProjectSessionContext, type ProjectSessionContextEntry, type ProjectSessionSummary, type ProjectTokenUsageSummary, type PromotionRequestResult, type PromptContext, type PromptFn, type PromptHookDefinition, PromptHookRunner, type PromptMemoryContextInfo, type PromptSectionContext, type PromptSectionProvider, PromptSectionRegistry, type ProtectedStateCipher, type ProtectedStateEnvelopeCipher, type ProtectedStateEnvelopeCipherOptions, type ProtectedStateEnvelopeV1, type ProtectedStateStore, ProviderError, type ProviderErrorCategory, type ProviderErrorCode, type ProviderErrorOptions, type ProviderStatus, type ProviderStreamEvent, type ProviderTransportLimits, QueryLifecycle, type QueryLifecycleOptions, type QueryState, type QueryTransition, type QueryWatchdogReason, REQUIRED_CONTAINMENT_CONFORMANCE_CHECKS, type RecalledEpisode, type RecalledSkill, type RecentSessionEntry, type RecentSessionsIndex, type ReducedResult, type ReducerOptions, type RegisterToolOperationInput, type RegisteredTool, type RenderConfig, type RequestBudgetBreakdown, type ResolveXenoSdkApiKeyOptions, type ResolvedIdentity, type ResolvedMemory, type ResolvedProvider, type ResolvedSubagentWorkflowAnswer, type ResourceContentBlock, type RoomInfo, type RunContainmentConformanceOptions, type RunDelegatedXenoTurnOptions, type RunStreamOptions, type RuntimeManifestFileEntry, type RuntimeManifestInspectionResult, type RuntimePluginManifestEntry, SDK_DEFAULT_MAX_ITERATIONS, SDK_DEFAULT_MAX_TOKENS, SDK_VERSION, SESSION_FORMAT_VERSION, SHEETS_CAPABILITIES, SHEETS_TOOL_NAMES, SLIDES_CAPABILITIES, SLIDES_TOOL_NAMES, SOUND_CAPABILITIES, SOUND_SYSTEM_PROMPT, SOUND_TOOL_NAMES, SSETransport, SUBAGENT_ROLE_ALIASES, SUBAGENT_TEAM_PRESETS, type SandboxCheckResult, type ScoredMemory, ScreenCapture, type ScreenCaptureConfig, type ScreenCaptureOptions, type SearchConfig, type SearchProvider, type SecuredProcessSpec, type SecurityPathIssue, type SecurityPathIssueCode, type Session, type SessionCreateOptions, type SessionData, type SessionEndData, type SessionIntegrationConfig, SessionLock, SessionLock as SessionLockManager, SessionManager, type SessionMeta, type SessionRecoveryIssue, type SessionRecoveryResult, type SessionRecoverySource, SessionRegistry, type SessionResumeOptions, type SessionRuntimeBaseOptions, type SessionRuntimeState, type SessionStartData, type SessionStatus, type SessionSummary, type SetXenoArtifactCommentResolutionRequest, type SetupAIHandlersOptions, type ShapeConfig, type SheetsAgentOptions, type SheetsToolAdapter, type ShellExecutionAuthorization, type ShellExecutionAuthorizationRequest, type ShellPathReference, type ShutdownCleanup, type Skill, SkillStore, type SkillStoreOptions, type SlideInfo, type SlidesAgentOptions, type SlidesToolAdapter, type SortConfig, type SoulCompletion, SoulEngine, type SoulEngineOptions, type SoulMessage, type SoulSigner, type SoundAgentOptions, type SoundPromptParams, type SpeechRecognizer, type SpeechRecognizerCallbacks, type SpeechRecognizerConfig, type StartXenoLoopInput, StdioTransport, type StemSeparationResult, type StopReason, type StoredConversation, type StoredMessage, type StoredToolCall, type StreamResult, StreamableHTTPTransport, type StreamableHTTPTransportOptions, type StreamableHTTPTransportSnapshot, type SubagentBranchPolicy, type SubagentBriefContext, type SubagentExecuteFn, type SubagentExecutionRequest, type SubagentExecutionResponse, type SubagentRemoteMcpAccess, type SubagentResult, type SubagentRole, type SubagentTask, type SubagentTeamPreset, type SubagentTeamPresetDefinition, type SubagentWorkflowMode, type SubagentWorkflowOptions, type SubagentWorkflowResult, type SynthesizeSkillInput, type SystemPromptInspectionResult, THREE_D_CAPABILITIES, THREE_D_TOOL_NAMES, TOOL_OPERATION_SCHEMA_VERSION, type TaskCompletionCallback, TaskListManager, type TestResult, type TextBlock, type ThreeDAgentOptions, type ThreeDToolAdapter, type TimelineInfo, type TokenUsageTotals, type ToolAssistantContentBlock, type ToolAuthorizationReceipt, type ToolCallData, type ToolCompletionPolicy, type ToolContinuationCheckpoint, type ToolContinuationNotification, type ToolDefinition, type ToolEvidence, type ToolExchangeRepairResult, type ToolExecutionContext, type ToolExecutor, type ToolFailureCategory, type ToolFailureGuardTrip, ToolFailureLoopGuard, type ToolHistoryRepairDiagnostic, type ToolManifestEntry, type ToolMiddleware, type ToolMiddlewareContext, ToolMiddlewareRegistry, type ToolOperationEvent, ToolOperationManager, type ToolOperationRuntimeEventType, type ToolOperationSnapshot, type ToolOperationState, ToolOrchestrator, type ToolOrchestratorCallbacks, type ToolOrchestratorConfig, type ToolPolicyProjection, type ToolProgressUpdate, ToolRegistry, type ToolRegistryOptions, type ToolResult, type ToolResultBlock, type ToolResultContent, type ToolResultData, type ToolRiskLevel, type ToolRuntimeContext, type ToolSchemaProjectionChange, ToolSchemaProjectionError, type ToolSchemaProjectionResult, type ToolSchemaProviderDialect, type ToolUseBlock, type TraceGraph, type TraceGraphEdge, type TraceGraphNode, type TrackContext, type TranscriptEvent, type TranscriptEventData, type TranscriptEventType, TranscriptWriter, type TranscriptionResult, type TranscriptionSegment, type TransitionConfig, type TurnDiffSummary, TurnDiffTracker, type TurnDiffTrackerOptions, type TurnFileDiff, type TurnRestoreAvailability, type TurnRestoreFilePreview, TurnRestoreManager, type TurnRestorePoint, type TurnRestoreResult, UNBOUNDED_OPERATION_CONTINUATION_LIMIT, type UnifiedExecCompletionReason, UnifiedExecError, type UnifiedExecEvent, type UnifiedExecEventListener, type UnifiedExecEventType, type UnifiedExecInputSource, UnifiedExecManager, type UnifiedExecManagerOptions, type UnifiedExecMode, type UnifiedExecOrigin, type UnifiedExecOutput, type UnifiedExecOutputChunk, type UnifiedExecOutputDelta, type UnifiedExecPresentation, type UnifiedExecProcess, type UnifiedExecReadDeltaOptions, type UnifiedExecStartOptions, type UnifiedExecStatus, type UnifiedExecStream, type UpdateXenoGoalInput, UsageAccumulator, type UsageAttribution, type UsageEvent, UsageLedger, type UsageQuery, type UsageTotals, type ValidateXenoSdkApiKeyOptions, type ValidatedContainmentCertification, type ValidationSignal, type VectorDocument, VectorMemoryStore, type VectorSearchResult, type VectorStoreAdapter, type VectorStoreOptions, type VerifyContainmentApprovalExpected, type VerifyPluginSupplyChainOptions, type VerifyPluginSupplyChainResult, type VerifyXenoHostedWebhookOptions, type VerifyXenoShareOptions, type VideoToolAdapter, WEB_CONTEXT_CONTRACT_VERSION, WEB_CONTEXT_TOOL_RESULT_SCHEMA, WORKFLOW_CAPABILITIES, WORKFLOW_TOOL_NAMES, type WebContextClientPort, type WebContextEvidenceProjection, type WebContextRequestBase, type WebContextRequestFactory, type WebContextToolOptions, type WebContextToolResult, type WebSearchResult, type WindowsDpapiCredentialFile, type WindowsDpapiProtectedFileOptions, type WindowsDpapiProtectedStateOptions, type WorkflowAgentOptions, type WorkflowDefinition, type WorkflowEvent, type WorkflowExecutionResult, type WorkflowInfo, type WorkflowNodeConfig, type WorkflowNodeDefinition, type WorkflowNodeExecutor, type WorkflowNodeStatus, type WorkflowPlan, WorkflowPlanner, type WorkflowRunNodeRecord, type WorkflowRunRecord, type WorkflowRunStatus, WorkflowRuntime, WorkflowStore, type WorkflowToolAdapter, WorkspaceIndex, type WorkspaceScanOptions, XENO_AGENT_PROFILE_SCHEMA_VERSION, XENO_API_BASE, XENO_APP_PROTOCOL_V2_METHODS, XENO_APP_PROTOCOL_VERSIONS, XENO_ARTIFACT_ACTOR_KINDS, XENO_ARTIFACT_FILE_REPOSITORY_SCHEMA_VERSION, XENO_ARTIFACT_SCHEMA_VERSION, XENO_ARTIFACT_SENSITIVITIES, XENO_ARTIFACT_STATES, XENO_AUTOMATION_OPERATIONS, XENO_AUTOMATION_PROTOCOL_VERSION, XENO_BROWSER_CONTROL_PLANE_OPERATIONS, XENO_BUILTIN_ARTIFACT_KINDS, XENO_CAPABILITY_LEASE_SCHEMA_VERSION, XENO_CONTAINMENT_APPROVAL_SCHEMA, XENO_CONTAINMENT_CERTIFICATION_SCHEMA, XENO_CONTAINMENT_CONFORMANCE_SCHEMA, XENO_CONTAINMENT_REVIEWER_TRUST_STORE_SCHEMA, XENO_CONTROL_ROOM_SCHEMA_VERSION, XENO_COORDINATION_SCHEMA_VERSION, XENO_DEFLATE_CODEC_NAME, XENO_DEFLATE_CODEC_VERSION, XENO_EVIDENCE_EDGE_TYPES, XENO_EVIDENCE_GRAPH_SCHEMA_VERSION, XENO_EVIDENCE_NODE_TYPES, XENO_GIF_ANIMATION_POLICY, XENO_GIF_CODEC_NAME, XENO_GIF_CODEC_VERSION, XENO_HANDOFF_SCHEMA_VERSION, XENO_HOSTED_CONTROL_SCHEMA_VERSION, XENO_HOSTED_ENVIRONMENT_SCHEMA_VERSION, XENO_HOSTED_EVENT_SCHEMA_VERSION, XENO_HOSTED_EXECUTION_ADAPTER_CERTIFICATION_SCHEMA, XENO_HOSTED_EXECUTION_ADAPTER_MAX_CERTIFICATE_LIFETIME_MS, XENO_HOSTED_EXECUTION_ADAPTER_PROTOCOL_VERSION, XENO_HOSTED_EXECUTION_PROTOCOL_VERSION, XENO_HOSTED_EXECUTION_TOOL_NAMES, XENO_HOSTED_RESULT_SCHEMA_VERSION, XENO_HOSTED_RUN_SCHEMA_VERSION, XENO_HOSTED_TRIGGER_SCHEMA_VERSION, XENO_JPEG_CODEC_NAME, XENO_JPEG_CODEC_VERSION, XENO_MXC_ADAPTER_NAME, XENO_MXC_POLICY_VERSION, XENO_MXC_VERSION, XENO_ORACLE_REPORT_SCHEMA_VERSION, XENO_PLUGIN_LOCK_FILENAME, XENO_PLUGIN_LOCK_SCHEMA_VERSION, XENO_PLUGIN_SIGNATURE_FILENAME, XENO_PLUGIN_SIGNATURE_SCHEMA_VERSION, XENO_PROVIDER_CATALOG_SCHEMA_VERSION, XENO_PROVIDER_CONNECTION_STORE_SCHEMA_VERSION, XENO_RASTER_CODEC_NAME, XENO_RASTER_CODEC_VERSION, XENO_RASTER_PREVIEW_FORMATS, XENO_RECIPE_SCHEMA_VERSION, XENO_REPOSITORY_INDEX_SCHEMA_VERSION, XENO_REVIEW_DIMENSIONS, XENO_REVIEW_EVIDENCE_KINDS, XENO_REVIEW_REPORT_SCHEMA_VERSION, XENO_RT_DEFAULT_URL, XENO_SECURE_EXECUTION_CONTRACT_SCHEMA_VERSION, XENO_SHARE_REGISTRY_SCHEMA_VERSION, XENO_SHARE_SCHEMA_VERSION, XENO_SKILL_SCHEMA_VERSION, XENO_SOURCE_RESEARCH_SCHEMA_VERSION, XENO_SPEC_EXECUTION_SCHEMA_VERSION, XENO_SPEC_SCHEMA_VERSION, XENO_SVG_RENDERER_NAME, XENO_SVG_RENDERER_VERSION, XENO_TELEMETRY_SCHEMA_VERSION, XENO_VP8_CODEC_NAME, XENO_VP8_CODEC_VERSION, XENO_WEBP_ANIMATION_POLICY, XENO_WEBP_CODEC_NAME, XENO_WEBP_CODEC_VERSION, type XenoAnsiEscapeFamily, type XenoAnsiFormatter, type XenoAnsiPolicy, type XenoAnsiStyle, type XenoAnsiToken, type XenoAnsiWrapOptions, type XenoAppProtocolVersion, XenoAppServer, type XenoAppServerOptions, XenoAppServerV2Client, type XenoArtifactActor, type XenoArtifactActorKind, type XenoArtifactAnchor, type XenoArtifactAppendReviewRequest, type XenoArtifactContent, type XenoArtifactEnvelope, type XenoArtifactFileRecoveryNotice, type XenoArtifactFileSnapshot, type XenoArtifactIdentity, type XenoArtifactKind, type XenoArtifactLifecycleEvent, type XenoArtifactListQuery, type XenoArtifactMutationOptions, type XenoArtifactPersistedRecord, type XenoArtifactProvenance, type XenoArtifactRecord, type XenoArtifactRelationship, type XenoArtifactRepository, XenoArtifactRepositoryError, type XenoArtifactRepositoryErrorCode, type XenoArtifactRepositoryState, type XenoArtifactRetention, type XenoArtifactReviewAnchorInput, type XenoArtifactReviewDecision, type XenoArtifactReviewEvent, type XenoArtifactReviewEventInput, XenoArtifactReviewService, type XenoArtifactReviewServiceOptions, type XenoArtifactReviewSummary, type XenoArtifactRevisionOptions, type XenoArtifactSensitivity, type XenoArtifactState, XenoArtifactStateTransitionError, type XenoArtifactStorageReference, type XenoArtifactTransitionRequest, XenoArtifactValidationError, type XenoArtifactValidationIssue, XenoAuthError, type XenoAuthErrorCode, type XenoAutomationAdapter, type XenoAutomationAdapterExecutionResult, type XenoAutomationAdapterManifest, type XenoAutomationConformanceCheck, type XenoAutomationConformanceReport, type XenoAutomationEffect, XenoAutomationError, type XenoAutomationErrorCode, type XenoAutomationEvidenceContent, type XenoAutomationEvidenceInput, type XenoAutomationEvidencePhase, type XenoAutomationEvidencePolicy, type XenoAutomationExecutionGrant, type XenoAutomationExecutionResult, type XenoAutomationIdentity, type XenoAutomationLeaseAuthority, type XenoAutomationOperation, type XenoAutomationOperationDescriptor, type XenoAutomationPreflight, type XenoAutomationRequest, type XenoAutomationSurface, type XenoAutomationTarget, type XenoBasicRasterImage, type XenoBrowserAutomationOperation, XenoBrowserControlPlaneAdapter, type XenoBrowserControlPlaneAdapterOptions, type XenoBrowserExecutionPolicy, type XenoCapabilityEffect, type XenoCapabilityEligibility, type XenoCapabilityKind, type XenoCapabilityLease, type XenoCapabilityLeaseApprovalContext, type XenoCapabilityLeaseApprovalRequest, type XenoCapabilityLeaseDenialRequest, XenoCapabilityLeaseError, type XenoCapabilityLeaseErrorCode, type XenoCapabilityLeaseRequest, type XenoCapabilityLeaseRevocationRequest, type XenoCapabilityLeaseState, type XenoCapabilityScope, type XenoCapabilitySubject, type XenoCapabilityUse, type XenoColorDepth, type XenoColorPolicy, type XenoCompiledRecipe, type XenoCompiledRecipeStep, type XenoComputerAutomationOperation, type XenoComputerExecutionPolicy, type XenoConfig, type XenoContainmentApprovalReport, type XenoContainmentCertificationApproval, type XenoContainmentCertificationManifest, type XenoContainmentConformanceReport, type XenoContainmentReviewerTrustStore, type XenoContentHash, type XenoControlRoomActionKind, type XenoControlRoomActionPlan, type XenoControlRoomActionRequest, type XenoControlRoomAgent, type XenoControlRoomAgentInput, type XenoControlRoomAgentStatus, type XenoControlRoomApprovalInput, type XenoControlRoomApprovalKind, type XenoControlRoomArtifactInput, type XenoControlRoomAttentionItem, type XenoControlRoomAttentionKind, type XenoControlRoomGoalInput, type XenoControlRoomInput, type XenoControlRoomMonitorInput, type XenoControlRoomNotificationInput, type XenoControlRoomProjectionOptions, type XenoControlRoomSnapshot, type XenoControlRoomStatusCategory, type XenoControlRoomSummary, type XenoControlRoomTask, type XenoControlRoomTaskInput, type XenoControlRoomUsage, XenoControlRoomValidationError, type XenoCoordinationAction, XenoCoordinationError, type XenoCoordinationEvent, type XenoCoordinationEventType, type XenoCoordinationSessionState, type XenoCoordinationStoreOptions, type XenoCreatedShare, type XenoCredentialSource, type XenoCredentialType, type XenoDesktopCaptureSource, type XenoDesktopCapturer, type XenoDiffArtifactContext, type XenoDiffDocument, type XenoDiffFile, type XenoDiffFileStatus, type XenoDiffHunk, type XenoDiffLine, type XenoDiffLineKind, type XenoDiffMode, XenoDiffParseError, type XenoEd25519Signature, type XenoEnvironmentExecutionPolicy, type XenoEvidenceEdge, type XenoEvidenceEdgeType, type XenoEvidenceGraph, XenoEvidenceGraphBuilder, type XenoEvidenceGraphBuilderOptions, XenoEvidenceGraphValidationError, type XenoEvidenceNode, type XenoEvidenceNodeType, type XenoEvidenceReference, type XenoExecutionAdapterIdentity, type XenoExecutionEnforcement, type XenoExecutionIdentity, XenoExecutionLeaseSession, type XenoExecutionLeaseSessionOptions, type XenoExecutionOwner, type XenoExternalActionExecutionPolicy, type XenoFilesystemExecutionPolicy, type XenoGifAnimation, type XenoGifDisposal, type XenoGifFrame, type XenoGitHubReviewComment, type XenoGoalCriterion, type XenoGoalCriterionResult, type XenoGoalMilestone, type XenoGoalProgress, type XenoGoalRecord, type XenoGoalStatus, type XenoGoalTask, type XenoGoalTaskStatus, type XenoGoalVerification, XenoGovernedAutomationExecutor, type XenoGovernedAutomationExecutorOptions, type XenoGovernedAutomationToolExecution, type XenoGovernedAutomationToolRuntime, type XenoHandoffAuthority, type XenoHandoffOperation, type XenoHandoffPayload, type XenoHandoffRecord, type XenoHandoffResumePoint, type XenoHandoffStatus, type XenoHandoffTarget, type XenoHostAutomationAuditEvent, type XenoHostAutomationAuditLoggerPort, type XenoHostAutomationEnvironment, type XenoHostAutomationStatusReport, type XenoHostAutomationSurfaceStatus, CliGovernedAutomationRuntime as XenoHostGovernedAutomationRuntime, type XenoHostedArchitecture, type XenoHostedAuthority, type XenoHostedBudget, type XenoHostedCacheMount, type XenoHostedControlAcknowledgement, type XenoHostedControlAction, type XenoHostedControlCommand, type XenoHostedControlCommandPayload, type XenoHostedEnvironmentManifest, type XenoHostedEnvironmentManifestPayload, type XenoHostedEventRecord, type XenoHostedExecutionAdapterCertification, type XenoHostedExecutionAdapterVerificationOptions, type XenoHostedExecutionBoundaryReceipt, type XenoHostedExecutionJob, type XenoHostedExecutionSecretValue, type XenoHostedImageReference, type XenoHostedNetworkDestination, type XenoHostedNetworkPolicy, type XenoHostedOs, type XenoHostedQuotaLease, type XenoHostedReplayCursor, type XenoHostedReplayPage, type XenoHostedRepositorySource, type XenoHostedResourceLimits, type XenoHostedRetentionPolicy, type XenoHostedRunRecord, type XenoHostedRunRequest, type XenoHostedRunResult, type XenoHostedRunResultPayload, type XenoHostedRunStatus, type XenoHostedSecretProjection, type XenoHostedSetupStep, type XenoHostedTriggerDefinition, type XenoHostedTriggerDelivery, type XenoHostedTriggerKind, type XenoHostedWebhookSource, type XenoHostedWebhookVerification, type XenoJsonObject, type XenoJsonPrimitive, type XenoJsonValue, type XenoJwtPayload, type XenoLegacyAgentArtifactContext, type XenoLegacyArtifactContext, type XenoLoadedSkill, type XenoLoopIteration, type XenoLoopKind, type XenoLoopRecord, type XenoLoopSchedule, type XenoLoopStatus, XenoLoopbackAutomationAdapter, type XenoLoopbackAutomationAdapterOptions, XenoMultiAgentReviewCoordinator, type XenoMultiAgentReviewCoordinatorOptions, type XenoNetworkDestination, type XenoNetworkExecutionPolicy, type XenoOracleAdjudication, type XenoOracleAdjudicationDraft, type XenoOracleAdjudicationRequest, type XenoOracleAdjudicationResult, type XenoOracleArtifactContext, type XenoOracleCitation, type XenoOracleClaim, XenoOracleCoordinator, type XenoOracleCoordinatorOptions, type XenoOracleDisagreement, type XenoOracleExecutionRequest, type XenoOracleExecutionResult, type XenoOracleModelIdentity, type XenoOracleOpinion, type XenoOracleOpinionDraft, type XenoOracleReport, type XenoOracleRole, type XenoOracleRunOptions, XenoOracleValidationError, type XenoOracleVerdict, type XenoProcessExecutionPolicy, type XenoProjectState, type XenoProviderAdapterKind, type XenoProviderAuthPreset, type XenoProviderCapabilities, XenoProviderCatalog, type XenoProviderConnection, type XenoProviderConnectionSnapshot, type XenoProviderConnectionView, type XenoProviderCredentialMode, type XenoProviderModelDescriptor, type XenoProviderPreset, type XenoProviderProbeResult, type XenoProviderReadiness, type XenoProviderRouteCandidate, type XenoProviderRoutingPolicy, type XenoPtyAdapter, type XenoPtyProcess, type XenoPtySpawnOptions, type XenoRasterImage, type XenoRasterPreview, type XenoRecipeDefinition, type XenoRecipeInputDefinition, type XenoRecipeMode, type XenoRecipePermissionMode, type XenoRecipeStepDefinition, XenoRecipeValidationError, type XenoRedactionCategory, type XenoRedactionEvent, type XenoRedactionOptions, type XenoRedactionReport, type XenoRedactionResult, type XenoRemoteRepositoryIdentity, type XenoRemoteSourceFile, type XenoRemoteSourceProvider, type XenoRepositoryChunk, type XenoRepositoryDocumentKind, type XenoRepositoryEmbedding, type XenoRepositoryEmbeddingProvider, type XenoRepositoryEmbeddingRequest, type XenoRepositoryFileRecord, type XenoRepositoryFreshnessInput, type XenoRepositoryFreshnessReport, type XenoRepositoryGitProvenance, type XenoRepositoryIndexBuildOptions, XenoRepositoryIndexFileStore, type XenoRepositoryIndexSnapshot, type XenoRepositoryIndexStats, type XenoRepositoryRelationship, type XenoRepositoryRelationshipKind, type XenoRepositorySearchMode, type XenoRepositorySearchQuery, type XenoRepositorySearchResponse, type XenoRepositorySearchResult, type XenoRepositorySourceDocument, type XenoRepositorySymbol, type XenoRepositorySymbolGraph, type XenoRepositorySymbolKind, type XenoResolvedApiKey, type XenoReviewAgentExecutor, type XenoReviewAgentResult, type XenoReviewArtifactContext, type XenoReviewCoordinatorContext, type XenoReviewDimension, type XenoReviewEvidence, type XenoReviewEvidenceKind, type XenoReviewFinding, type XenoReviewFindingProposal, type XenoReviewFindingState, type XenoReviewPack, type XenoReviewReport, type XenoReviewSeverity, type XenoReviewTarget, XenoReviewValidationError, type XenoReviewVerificationOutcome, type XenoReviewVerificationResult, type XenoReviewVerifierExecutor, type XenoRuntimeEvent, type XenoRuntimeEventBase, XenoRuntimeEventBus, type XenoRuntimeEventDraft, type XenoRuntimeEventSink, type XenoRuntimeEventType, type XenoSecretProjection, type XenoSecureExecutionContract, XenoSecureExecutionContractError, type XenoSecureExecutionContractErrorCode, type XenoShareAccessPolicy, type XenoShareContent, type XenoShareGitContext, type XenoShareIssuer, type XenoSharePayload, type XenoSharePrincipal, type XenoShareReference, type XenoShareRegistryRecord, type XenoShareRegistrySnapshot, type XenoShareSessionIdentity, type XenoShareSigningIdentity, type XenoShareStatus, type XenoShareSurface, type XenoShareVerificationResult, type XenoShareVisibility, type XenoSignedHandoffEnvelope, type XenoSignedShareEnvelope, type XenoSkillActivation, type XenoSkillAuditEvent, type XenoSkillCatalog, type XenoSkillDescriptor, type XenoSkillDiagnostic, type XenoSkillDiscoveryOptions, type XenoSkillDiscoveryRoot, type XenoSkillExternalActionPolicy, type XenoSkillInvocationDecision, type XenoSkillInvocationPolicy, type XenoSkillResourceDescriptor, type XenoSkillShadowRecord, type XenoSkillSource, type XenoSkillTool, type XenoSkillToolPolicy, type XenoSourceResearchArtifactContext, type XenoSourceResearchExcerpt, type XenoSourceResearchFinding, type XenoSourceResearchModelIdentity, type XenoSourceResearchReport, type XenoSourceResearchSeverity, XenoSourceResearchValidationError, type XenoSpecAcceptanceCriterion, type XenoSpecArtifactBundle, type XenoSpecArtifactContext, type XenoSpecDesign, type XenoSpecDesignDecision, type XenoSpecDocument, type XenoSpecDriftFinding, type XenoSpecDriftReport, type XenoSpecExecutionRecord, type XenoSpecExecutionState, XenoSpecLifecycleService, type XenoSpecLifecycleServiceOptions, type XenoSpecPriority, type XenoSpecRequirement, type XenoSpecRisk, type XenoSpecSourceBaseline, type XenoSpecTask, type XenoSpecTaskExecution, type XenoSpecTaskStatus, XenoSpecValidationError, type XenoTelemetryAttributeValue, type XenoTelemetryRecord, type XenoTelemetrySignalKind, type XenoTelemetrySubscriber, type XenoThreadRunOptions, type XenoThreadRunResult, XenoTraceGraphRecorder, type XenoUserConfig, type XenoVerifiedHostedExecutionAdapterCertification, type XenoVp8Image, acquireControlPlaneLock, activateSessionRuntime, addProjectAllowedDirectory, addProjectAllowedTool, agentDefinitionFromProfile, agentProfileFromDefinition, appendBoundedShellOutput, appendGuidanceToResult, approveMcpServer, areSignalHandlersInstalled, artifactCompareTool, askUserTool, assertDirectEndpointResolution, assertRequiredXenoAutomationEvidence, assertSupportedMcpProtocolVersion, assertUsableXenoApiKey, assertValidMcpAppResource, assertValidXenoArtifact, assertValidXenoAutomationAdapterManifest, assertValidXenoAutomationRequest, assertValidXenoEvidenceGraph, assertValidXenoHostedExecutionJob, assertValidXenoOracleReport, assertValidXenoRecipeDefinition, assertValidXenoReviewPack, assertValidXenoReviewReport, assertValidXenoReviewTarget, assertValidXenoSecureExecutionContract, assertValidXenoSourceResearchReport, assertValidXenoSpecDocument, assertValidXenoSpecExecution, assertXenoArtifactStateTransition, assertXenoAutomationAdapterConformant, assertXenoAutomationAuthority, auditRiskLevelForTool, authorizeShellExecution, backgroundProcessManager, bashTool, benchmarkCodingTools, bridgeXenoTelemetryToOpenTelemetry, buildAtomicMessageGroups, buildAuditReplayReport, buildAuditTraceReport, buildContainedProcessSpec, buildContractLedgerGuidance, buildDefaultSubagentTasks, buildDelegatedRoleSystemPrompt, buildHookEnvironment, buildLinuxBubblewrapProcessSpec, buildLspDefinitionReport, buildLspDiagnosticsReport, buildLspDoctorReport, buildLspHoverReport, buildLspReferencesReport, buildMotionSystemPrompt, buildPixelSystemPrompt, buildProcessHardenedProcessSpec, buildProjectBudgetFinalizationGuidance, buildProjectExecutionGuidance, buildProjectExecutionProfile, buildPromptMemoryContext, buildSecuredProcessSpec, buildSoundSystemPrompt, buildSystemPrompt, buildToolFailureGuardResult, buildXenoArtifactReviewAnchor, buildXenoAutomationCapabilityUse, buildXenoRepositoryIndex, buildXenoRepositoryIndexWithEmbeddings, buildXenoSecureExecutionContract, cachedModelContextWindow, calculateCost, canTransitionXenoArtifactState, canXenoRasterPreview, canonicalPayload, canonicalizeArtifactJson, canonicalizeMcpResourceUri, canonicalizeSecurityPath, canonicalizeToolName, checkSandbox, classifyProviderHttpError, cleanupReadImagePreviews, cleanupSessionRuntime, clearMcpServerApproval, clearProjectAllowedTools, clearProjectLastSessionSummary, clearProjectMcpApproval, clearProjectMcpApprovals, clipXenoAnsi, coerceSubagentRole, coerceSubagentTeamPreset, compileAgentProfile, compileJsonSchema, compileToolInputSchema, compileXenoRecipe, compileXenoSkillActivation, configureImageGeneration, configureSearch, configureSearchPermissionProfile, configureXenoAnsi, containmentApprovalSigningPayload, containmentCertificationSigningPayload, copyTextToClipboard, create3DTools, createAgentDefinitionFile, createAgentDefinitionPromptSection, createAgentRunId, createAppServerV2HttpTransport, createArchitectTools, createArtifactCompareTool, createAskUserTool, createAudioTools, createAuditBackedPermissionEngine, createBashTool, createBenchBashMiddleware, createCliAutomationAuditSink, createCliGovernedAutomationRuntime, createCommandBackedProtectedStateStore, createDefaultToolRegistry, createDelegatedXenoAgent, createDirectProvider, createDirectShellMessage, createDispatchAgentTool, createDocsTools, createEd25519Signer, createEditTool, createElfAnalyzeTool, createEngineTools, createGcodeAnalyzeTool, createGenerateImageTool, createGlobTool, createGovernanceExtensions, createGrepTool, createHtmlSanitizerAuditTool, createImageTools, createLsTool, createLspDefinitionTool, createLspDiagnosticsTool, createLspHoverTool, createLspReferencesTool, createMcpAppCapabilities, createMcpAppExtensionCapabilities, createMcpPkcePair, createMcpPromptRegisteredTool, createMcpRegisteredTool, createMcpResourceRegisteredTool, createMemoryProtectedStateStore, createMemoryReadTool, createMemoryWriteTool, createNotebookEditTool, createNotebookReadTool, createNotesTools, createOsProtectedStateStore, createProtectedStateEnvelopeCipher, createReadImageTool, createReadTool, createSheetsTools, createSlidesTools, createSpeechRecognizer, createSqliteAnalyzeTool, createTaskInputTool, createTaskListTools, createTaskOutputTool, createTaskStopTool, createThinkTool, createToolAlias, createToolRuntimeContext, createUnavailableProtectedStateStore, createVideoTools, createWebContextFetchTool, createWebContextRequestFactory, createWebContextSearchTool, createWebSearchTool, createWindowsDpapiProtectedCipher, createWindowsDpapiProtectedFileStore, createWorkflowTools, createWriteTool, createXenoAgent, createXenoAutomationConformanceReport, createXenoGovernedAutomationTools, createCliAutomationAuditSink as createXenoHostAutomationAuditSink, createCliGovernedAutomationRuntime as createXenoHostGovernedAutomationRuntime, createXenoHostedControlCommand, createXenoHostedEnvironmentManifest, createXenoHostedEvent, createXenoHostedExecutionBoundaryReceipt, createXenoHostedRunResult, createXenoRasterPreview, createXenoSecureShare, createXenoSessionHandoff, createXenoShareSigningIdentity, createXenoSkillTool, createXenoSourceResearchExcerpt, createXenoSourceResearchReport, currentExecutionAdapterStatus, decodeJwtPayload, decodeXenoBmp, decodeXenoGif, decodeXenoGifAnimation, decodeXenoJpeg, decodeXenoNetpbm, decodeXenoPng, decodeXenoSvg, decodeXenoVp8, decodeXenoWebp, defaultToolRuntimeContext, defaultXenoReviewPack, deflateXenoZlib, deleteSession, denyMcpServer, deriveHostedIdempotencyKey, describeXenoAutomationOperation, detectLanguage, detectPluginRepositorySignals, detectRepositoryDocumentKind, detectRepositoryLanguage, detectXenoSpecDrift, deterministicReduce, digestMessages, directProviderConfigFromConnection, discoverXenoSkills, dispatchAgentTool, editTool, elfAnalyzeTool, emitXenoTelemetry, encodeXenoPngRgb, enforceShellCommandPolicy, enforceToolPolicy, ensureConfigDir, ensureDurableMessageIds, ensureProjectStateDir, estimateFullRequestBudget, evaluateContainmentUiRestrictions, evaluatePermissionProfileNetworkUrl, evaluateXenoCapabilityEligibility, executeXenoCoordinationAction, extractJsonObject, extractToolPath, findXenoSkill, fingerprintXenoSecureExecutionContract, forgetRecentSession, forgetRecentSessionById, formatBoundedShellOutput, formatCost, formatDirectShellContext, formatJsonSchemaErrors, formatModelList, formatPromptContextBreakdown, gcodeAnalyzeTool, generateImageTool, generateSessionId, getAgentHome, getAgentRunDir, getAgentRunStoreDir, getAvailableModels, getBenchmarkComputeBudgetHintForCommand, getBenchmarkForegroundTimeoutForCommand, getBestExecutionSecurityStatus, getChatModels, getConfigDir, getDefaultProviderRegistry, getExecutionSecurityCapabilityReport, getExecutionSecurityStatus, getGlobIgnores, getGrepIgnores, getHighRiskPermissions, getImageGenerationConfig, getJwtExpiry, getLinuxBubblewrapCapability, getLogLevel, getManagedConfigPath, getMcpAppMetadata, getMcpAppResourceUri, getMcpApprovalDecision, getMcpAuthorizationServerMetadataUrls, getMcpPromptToolName, getMcpProtectedResourceMetadataUrls, getMcpResourceToolName, getMcpToolName, getModelName, getMxcContainmentProbe, getMxcNativeAssetDescriptor, getMxcWindowsHostPreparationDescriptor, getMxcWindowsHostPreparationHelperArchitecture, getPermissionProfile, getPersistentShellSession, getPersistentShellSpawnSpec, getProcessContainmentStatus, getProjectAgentDefinitionDirs, getProjectAgentDefinitionsDir, getProjectLastSessionSummary, getProjectMcpApproval, getProjectStatePath, getReadImagePreviewCapability, getRecentSessionsIndexPath, getSubagentTeamPresetDefinition, getToolRiskLevel, getUserAgentDefinitionsDir, gitBranchTool, gitCommitTool, gitDiffTool, gitLogTool, gitStatusTool, globTool, grepTool, gzipXeno, hasProjectOnboardingCompleted, hasXenoTelemetrySubscribers, hashContainmentConformanceReport, hashPluginManifest, hashPluginTree, hookResultStatus, hostedEnvironmentIdentity, htmlSanitizerAuditTool, importLegacyXenoSkill, inflateXenoZlib, initializeSessionRuntime, inspectCliAutomationStatus, inspectRuntimeManifests, inspectSecurityPath, inspectSystemPrompt, inspectCliAutomationStatus as inspectXenoHostAutomationStatus, inspectXenoRepositoryFreshness, inspectXenoRepositorySymbol, installSignalHandlers, invalidateAllObservedFiles, invokeXenoSkill, isChatModel, isDangerousCommand, isDirectShellMessage, isExpiredJwt, isExplicitResearchPrompt, isJwt, isLocalModel, isMcpAppResourceUri, isMcpOAuthTokenExpired, isMcpToolVisibleToApp, isMcpToolVisibleToModel, isNotBeforeJwt, isPathWithinAllowed, isScreenCaptureAvailable, isSensitiveEnvironmentKey, isSimpleInformationalPrompt, isSpeechRecognitionAvailable, isSupportedMcpProtocolVersion, isToolAllowedByXenoSkillActivation, isUncOrDevicePath, isValidAgentDefinitionName, isValidModel, isValidSessionId, isWorkspaceTrusted, isXenoAutomationOperation, legacyAgentArtifactToXenoArtifact, listBuiltInAgentProfiles, listPermissionProfiles, listProjectAllowedTools, listProjectMcpApprovals, listSessions, loadConfig, loadConfiguredMcpServers, loadMcpConfigFile, loadProjectConfig, loadProjectState, loadRecentSessionsIndex, loadSession, loadUserConfig, loadXenoSkill, lookupRecentSession, lsTool, lspDefinitionTool, lspDiagnosticsTool, lspHoverTool, lspReferencesTool, matchPermissionRule, matchesMcpRegistryEntryPolicy, materializeXenoAutomationEvidence, memoryReadTool, memoryWriteTool, mergeConfigs, mxcWarningsRequireWindowsHostPreparation, normalizeDirectShellResultRecord, normalizeHookDecision, normalizeMcpAppVisibility, normalizePermissionProfileName, normalizeRepositoryRelativePath, normalizeSourceText, normalizeSubagentBranchPolicy, normalizeWorkingDirectory, normalizeXenoHostedControlAcknowledgement, notebookEditTool, notebookReadTool, parseContainmentReviewerTrustStore, parseMcpWwwAuthenticate, parsePermissionRule, parseRetryAfter, parseSessionId, parseShellPathReferences, parseSubagentRemoteMcpPolicy, parseSubagentRoleList, parseUnifiedDiff, parseXenoAnsi, parseXenoRecipeDefinition, persistXenoAutomationEvidence, planXenoControlRoomAction, pluginInfoRelevanceCandidate, pluginListingRelevanceCandidate, pluginSignaturePayload, preflightLocalModel, prepareMxcWindowsHost, probeXenoProvider, projectToolDefinitionsForProvider, projectToolSchemaForProvider, projectXenoControlRoom, providerCapabilityError, providerProtocolError, publicKeyFingerprint, publishPlugin, rankPluginRelevance, readCliAutomationEnvironment, readImageTool, readManifestFromDisk, readPluginDetachedSignature, readPluginSupplyChainLockfile, readSessionFormatVersion, readTool, readXenoApiKey, readCliAutomationEnvironment as readXenoHostAutomationEnvironment, recordRecentSession, recordXenoCounter, recordXenoEvent, recordXenoHistogram, recoverSessionMessages, redactXenoShareValue, registerShutdownCleanup, registry, removeMcpServerConfig, removeProjectAllowedTool, renderAgentDefinition, renderAgentDefinitions, renderAuditReplayMarkdown, renderAuditReplayReport, renderAuditTraceMarkdown, renderAuditTraceReport, renderAuditTraceSummaries, renderCliAutomationStatus, renderCodingBenchmarkMarkdown, renderCodingBenchmarkReport, renderContinuationIncompleteStatus, renderLspDefinitionReport, renderLspDiagnosticsReport, renderLspDoctorReport, renderLspHoverReport, renderLspReferencesReport, renderToolContinuationInput, renderCliAutomationStatus as renderXenoHostAutomationStatus, renderXenoSkillCatalog, repairInterruptedToolCalls, repairToolExchangeHistory, requestBackground, requiresSecuredProcessLaunch, resetAllPersistentShellSessions, resetBashBenchmarkGuards, resetImageGenerationConfig, resetMcpServerApprovals, resetMxcContainmentProbe, resetPersistentShellSession, resetXenoAnsiPolicy, resetXenoTelemetryCardinalityForTests, resizeXenoRaster, resolveAgentDefinition, resolveAgentProfile, resolveAgentToolPolicy, resolveBuiltInAgentProfile, resolveCommandOnPath, resolveContainmentConformanceTemporaryRoot, resolveDelegatedExecutionMode, resolveExecutionSecurityLevel, resolveExecutionTrustMode, resolveInteractiveTurnMaxIterations, resolveModelContextTokens, resolvePermissionProfile, resolveShellInvocation, resolveSubagentRemoteMcpAccess, resolveSubagentWorkflowAnswer, resolveXenoAutomationEvidencePolicy, resolveXenoSdkApiKey, runAgentHook, runCommandHook, runContainmentConformanceSuite, runDelegatedXenoTurn, runDelegationPlan, runHookDefinition, runHooks, runHttpHook, runPromptHook, runSubagentWorkflow, runXenoThread, runXenoThreadStreamed, sanitizeEnvironment, sanitizeXenoTelemetryAttributes, saveConfig, saveMcpConfigFile, saveProjectState, saveSession, scaffoldPlugin, scanAgentDefinitions, scoreMemories, scorePluginRelevance, searchXenoRepositoryIndex, selectXenoProviderRoute, serializeXenoRecipe, setLogLevel, setProjectLastSessionSummary, setProjectMcpApproval, setProjectOnboardingCompleted, setWorkspaceTrusted, setupAIHandlers, sha256ArtifactBytes, sha256ArtifactJson, shouldEnableExecutionGovernance, shouldSourceShellProfile, shouldUseIsolatedStdinForCommand, signSharePayload, sqliteAnalyzeTool, stripXenoAnsi, subscribeXenoTelemetry, summarizeAuditInputRecord, summarizeAuditTraces, summarizeRuntimeInput, summarizeSubagentResults, summarizeXenoArtifactReview, syncMcpToolsToRegistry, synthesizeSkill, taskInputTool, taskOutputTool, taskStopTool, testPlugin, thinkTool, toAgentDefinitionMetadata, toLLMProvider, toolEvidenceToXenoArtifact, toolOperationManager, toolRiskLevel, turnDiffSummaryToXenoArtifact, unifiedDiffToXenoArtifact, unifiedExecManager, updateProjectState, upsertMcpServerConfig, validateAgentDefinition, validateCapabilityLeaseRequest, validateDelegationPlan, validateDirectEndpoint, validateExecutionSecurityPolicy, validateJsonSchema, validateManifest, validateMcpAppResource, validateXenoArtifact, validateXenoArtifactReviewEvent, validateXenoControlRoomSnapshot, validateXenoEvidenceGraph, validateXenoRepositoryIndex, validateXenoSdkApiKey, validateXenoSecureExecutionContract, validateXenoSpecDocument, verifyContainmentCertification, verifyContainmentCertificationApproval, verifyPluginSupplyChain, verifySignature, verifySoulRecord, verifyXenoHostedControlCommand, verifyXenoHostedEnvironmentManifest, verifyXenoHostedEventChain, verifyXenoHostedExecutionAdapterCertification, verifyXenoHostedExecutionJob, verifyXenoHostedRunResult, verifyXenoHostedWebhook, verifyXenoSecureShare, verifyXenoSessionHandoff, webFetchTool, webSearchTool, windowsDpapiProtect, windowsDpapiUnprotect, withXenoTelemetrySpan, wrapXenoAnsi, writePluginSupplyChainLockfile, writeTool, xenoAnsi, xenoAnsiVisibleWidth, xenoArtifactToDiffDocument, xenoArtifactToLegacyAgentArtifact, xenoArtifactToOracleReport, xenoArtifactToReviewReport, xenoArtifactToSourceResearchReport, xenoArtifactToSpecDocument, xenoArtifactToSpecExecution, xenoArtifactToToolEvidence, xenoArtifactToTurnDiffSummary, xenoHostedExecutionAdapterSigningPayload, xenoOracleReportToArtifact, xenoRecipeFingerprint, xenoReviewReportToArtifact, xenoReviewReportToGitHubComments, xenoSourceResearchReportToArtifact, xenoSpecArtifactIds, xenoSpecExecutionToArtifact, xenoSpecToArtifactBundle };
|