@xenosystem/agent-sdk 0.10.10 → 0.10.12
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/dist/artifacts/index.cjs +1 -1
- package/dist/artifacts/index.js +1 -1
- package/dist/automation/index.cjs +1 -1
- package/dist/automation/index.d.cts +5 -0
- package/dist/automation/index.d.ts +5 -0
- package/dist/automation/index.js +1 -1
- package/dist/control-plane/index.cjs +1 -1
- package/dist/control-plane/index.js +1 -1
- package/dist/electron/index.cjs +174 -174
- package/dist/electron/index.d.cts +12 -0
- package/dist/electron/index.d.ts +12 -0
- package/dist/electron/index.js +174 -174
- package/dist/electron/metafile-cjs.json +1 -1
- package/dist/electron/metafile-esm.json +1 -1
- package/dist/hosted/metafile-cjs.json +1 -1
- package/dist/hosted/metafile-esm.json +1 -1
- package/dist/index.cjs +343 -343
- package/dist/index.d.cts +24 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +344 -344
- package/dist/mcp/index.d.cts +5 -0
- package/dist/mcp/index.d.ts +5 -0
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/session/index.cjs +5 -5
- package/dist/session/index.js +7 -7
- package/dist/session/metafile-cjs.json +1 -1
- package/dist/session/metafile-esm.json +1 -1
- package/dist/skills/index.d.cts +5 -0
- package/dist/skills/index.d.ts +5 -0
- package/dist/ui/index.cjs +3 -3
- package/dist/ui/index.d.cts +7 -0
- package/dist/ui/index.d.ts +7 -0
- package/dist/ui/index.js +3 -3
- package/dist/ui/metafile-cjs.json +1 -1
- package/dist/ui/metafile-esm.json +1 -1
- package/package.json +1 -1
|
@@ -246,6 +246,11 @@ interface ToolAuthorizationReceipt {
|
|
|
246
246
|
allowed: true;
|
|
247
247
|
reason: string;
|
|
248
248
|
};
|
|
249
|
+
elevation?: {
|
|
250
|
+
network: boolean;
|
|
251
|
+
directories: string[];
|
|
252
|
+
justification: string;
|
|
253
|
+
};
|
|
249
254
|
}
|
|
250
255
|
interface ToolResult {
|
|
251
256
|
success: boolean;
|
|
@@ -376,6 +381,12 @@ interface PermissionPromptInfo {
|
|
|
376
381
|
requesterSummary?: string;
|
|
377
382
|
directory?: string;
|
|
378
383
|
filePath?: string;
|
|
384
|
+
oneTime?: boolean;
|
|
385
|
+
elevation?: {
|
|
386
|
+
network: boolean;
|
|
387
|
+
directories: string[];
|
|
388
|
+
justification: string;
|
|
389
|
+
};
|
|
379
390
|
}
|
|
380
391
|
type PermissionPromptFn = (info: PermissionPromptInfo) => Promise<"allow" | "always" | "deny">;
|
|
381
392
|
type SessionStatus = "creating" | "active" | "paused" | "completed" | "abandoned" | "archived";
|
|
@@ -655,6 +666,7 @@ declare class PermissionEngine {
|
|
|
655
666
|
allowed: boolean;
|
|
656
667
|
reason: string;
|
|
657
668
|
}>;
|
|
669
|
+
private checkElevatedBash;
|
|
658
670
|
private finalizeDecision;
|
|
659
671
|
classifyAutoPermission(toolName: string, input: Record<string, unknown>): AutoPermissionDecision;
|
|
660
672
|
private contentDigest;
|
package/dist/electron/index.d.ts
CHANGED
|
@@ -246,6 +246,11 @@ interface ToolAuthorizationReceipt {
|
|
|
246
246
|
allowed: true;
|
|
247
247
|
reason: string;
|
|
248
248
|
};
|
|
249
|
+
elevation?: {
|
|
250
|
+
network: boolean;
|
|
251
|
+
directories: string[];
|
|
252
|
+
justification: string;
|
|
253
|
+
};
|
|
249
254
|
}
|
|
250
255
|
interface ToolResult {
|
|
251
256
|
success: boolean;
|
|
@@ -376,6 +381,12 @@ interface PermissionPromptInfo {
|
|
|
376
381
|
requesterSummary?: string;
|
|
377
382
|
directory?: string;
|
|
378
383
|
filePath?: string;
|
|
384
|
+
oneTime?: boolean;
|
|
385
|
+
elevation?: {
|
|
386
|
+
network: boolean;
|
|
387
|
+
directories: string[];
|
|
388
|
+
justification: string;
|
|
389
|
+
};
|
|
379
390
|
}
|
|
380
391
|
type PermissionPromptFn = (info: PermissionPromptInfo) => Promise<"allow" | "always" | "deny">;
|
|
381
392
|
type SessionStatus = "creating" | "active" | "paused" | "completed" | "abandoned" | "archived";
|
|
@@ -655,6 +666,7 @@ declare class PermissionEngine {
|
|
|
655
666
|
allowed: boolean;
|
|
656
667
|
reason: string;
|
|
657
668
|
}>;
|
|
669
|
+
private checkElevatedBash;
|
|
658
670
|
private finalizeDecision;
|
|
659
671
|
classifyAutoPermission(toolName: string, input: Record<string, unknown>): AutoPermissionDecision;
|
|
660
672
|
private contentDigest;
|