@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/mcp/index.d.cts
CHANGED
|
@@ -442,6 +442,33 @@ declare class MCPManager {
|
|
|
442
442
|
private resolveApprovalDecision;
|
|
443
443
|
private emitServerStateChanged;
|
|
444
444
|
}
|
|
445
|
+
declare const WEB_CONTEXT_TOOL_RESULT_SCHEMA: "xeno.web-context.tool-result.v1";
|
|
446
|
+
interface WebContextEvidenceProjection {
|
|
447
|
+
evidenceId: string;
|
|
448
|
+
requestId: string;
|
|
449
|
+
sourceUrl: string;
|
|
450
|
+
finalUrl?: string;
|
|
451
|
+
citations: Array<{
|
|
452
|
+
url: string;
|
|
453
|
+
title?: string;
|
|
454
|
+
artifactId?: string;
|
|
455
|
+
}>;
|
|
456
|
+
}
|
|
457
|
+
interface WebContextToolResult {
|
|
458
|
+
schemaVersion: typeof WEB_CONTEXT_TOOL_RESULT_SCHEMA;
|
|
459
|
+
operation: "search" | "fetch";
|
|
460
|
+
requestId: string;
|
|
461
|
+
evidence: WebContextEvidenceProjection;
|
|
462
|
+
job?: {
|
|
463
|
+
jobId: string;
|
|
464
|
+
state: string;
|
|
465
|
+
};
|
|
466
|
+
artifact?: {
|
|
467
|
+
artifactId: string;
|
|
468
|
+
mediaType: string;
|
|
469
|
+
bytes: number;
|
|
470
|
+
};
|
|
471
|
+
}
|
|
445
472
|
interface ToolDefinition {
|
|
446
473
|
name: string;
|
|
447
474
|
description: string;
|
|
@@ -548,6 +575,7 @@ interface ToolResult {
|
|
|
548
575
|
assistantOnlyContent?: ToolAssistantContentBlock[];
|
|
549
576
|
operation?: ToolOperationSnapshot;
|
|
550
577
|
evidence?: ToolEvidence[];
|
|
578
|
+
webContext?: WebContextToolResult;
|
|
551
579
|
retryable?: boolean;
|
|
552
580
|
}
|
|
553
581
|
interface ToolExecutionContext {
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -442,6 +442,33 @@ declare class MCPManager {
|
|
|
442
442
|
private resolveApprovalDecision;
|
|
443
443
|
private emitServerStateChanged;
|
|
444
444
|
}
|
|
445
|
+
declare const WEB_CONTEXT_TOOL_RESULT_SCHEMA: "xeno.web-context.tool-result.v1";
|
|
446
|
+
interface WebContextEvidenceProjection {
|
|
447
|
+
evidenceId: string;
|
|
448
|
+
requestId: string;
|
|
449
|
+
sourceUrl: string;
|
|
450
|
+
finalUrl?: string;
|
|
451
|
+
citations: Array<{
|
|
452
|
+
url: string;
|
|
453
|
+
title?: string;
|
|
454
|
+
artifactId?: string;
|
|
455
|
+
}>;
|
|
456
|
+
}
|
|
457
|
+
interface WebContextToolResult {
|
|
458
|
+
schemaVersion: typeof WEB_CONTEXT_TOOL_RESULT_SCHEMA;
|
|
459
|
+
operation: "search" | "fetch";
|
|
460
|
+
requestId: string;
|
|
461
|
+
evidence: WebContextEvidenceProjection;
|
|
462
|
+
job?: {
|
|
463
|
+
jobId: string;
|
|
464
|
+
state: string;
|
|
465
|
+
};
|
|
466
|
+
artifact?: {
|
|
467
|
+
artifactId: string;
|
|
468
|
+
mediaType: string;
|
|
469
|
+
bytes: number;
|
|
470
|
+
};
|
|
471
|
+
}
|
|
445
472
|
interface ToolDefinition {
|
|
446
473
|
name: string;
|
|
447
474
|
description: string;
|
|
@@ -548,6 +575,7 @@ interface ToolResult {
|
|
|
548
575
|
assistantOnlyContent?: ToolAssistantContentBlock[];
|
|
549
576
|
operation?: ToolOperationSnapshot;
|
|
550
577
|
evidence?: ToolEvidence[];
|
|
578
|
+
webContext?: WebContextToolResult;
|
|
551
579
|
retryable?: boolean;
|
|
552
580
|
}
|
|
553
581
|
interface ToolExecutionContext {
|