@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
package/dist/index.d.cts
CHANGED
|
@@ -364,6 +364,11 @@ interface ToolAuthorizationReceipt {
|
|
|
364
364
|
allowed: true;
|
|
365
365
|
reason: string;
|
|
366
366
|
};
|
|
367
|
+
elevation?: {
|
|
368
|
+
network: boolean;
|
|
369
|
+
directories: string[];
|
|
370
|
+
justification: string;
|
|
371
|
+
};
|
|
367
372
|
}
|
|
368
373
|
interface ToolResult {
|
|
369
374
|
success: boolean;
|
|
@@ -528,6 +533,12 @@ interface PermissionPromptInfo {
|
|
|
528
533
|
requesterSummary?: string;
|
|
529
534
|
directory?: string;
|
|
530
535
|
filePath?: string;
|
|
536
|
+
oneTime?: boolean;
|
|
537
|
+
elevation?: {
|
|
538
|
+
network: boolean;
|
|
539
|
+
directories: string[];
|
|
540
|
+
justification: string;
|
|
541
|
+
};
|
|
531
542
|
}
|
|
532
543
|
type PermissionPromptFn = (info: PermissionPromptInfo) => Promise<"allow" | "always" | "deny">;
|
|
533
544
|
type StopReason = "end_turn" | "tool_use" | "max_tokens" | "stop_sequence";
|
|
@@ -4149,6 +4160,7 @@ declare class PermissionEngine {
|
|
|
4149
4160
|
allowed: boolean;
|
|
4150
4161
|
reason: string;
|
|
4151
4162
|
}>;
|
|
4163
|
+
private checkElevatedBash;
|
|
4152
4164
|
private finalizeDecision;
|
|
4153
4165
|
classifyAutoPermission(toolName: string, input: Record<string, unknown>): AutoPermissionDecision;
|
|
4154
4166
|
private contentDigest;
|
|
@@ -10694,6 +10706,12 @@ interface AppServerPermissionRequestV2 {
|
|
|
10694
10706
|
connectionId: string;
|
|
10695
10707
|
permission: string;
|
|
10696
10708
|
resource?: string;
|
|
10709
|
+
oneTime?: boolean;
|
|
10710
|
+
elevation?: {
|
|
10711
|
+
network: boolean;
|
|
10712
|
+
directories: string[];
|
|
10713
|
+
justification: string;
|
|
10714
|
+
};
|
|
10697
10715
|
status: "pending" | "allowed" | "denied" | "expired";
|
|
10698
10716
|
createdAt: string;
|
|
10699
10717
|
expiresAt: string;
|
|
@@ -10727,6 +10745,12 @@ interface AppServerTurnRunnerContextV2 {
|
|
|
10727
10745
|
permission: string;
|
|
10728
10746
|
resource?: string;
|
|
10729
10747
|
expiresInMs?: number;
|
|
10748
|
+
oneTime?: boolean;
|
|
10749
|
+
elevation?: {
|
|
10750
|
+
network: boolean;
|
|
10751
|
+
directories: string[];
|
|
10752
|
+
justification: string;
|
|
10753
|
+
};
|
|
10730
10754
|
}): Promise<"allow" | "always" | "deny">;
|
|
10731
10755
|
}
|
|
10732
10756
|
type AppServerTurnRunnerV2 = (context: AppServerTurnRunnerContextV2) => Promise<unknown>;
|
package/dist/index.d.ts
CHANGED
|
@@ -364,6 +364,11 @@ interface ToolAuthorizationReceipt {
|
|
|
364
364
|
allowed: true;
|
|
365
365
|
reason: string;
|
|
366
366
|
};
|
|
367
|
+
elevation?: {
|
|
368
|
+
network: boolean;
|
|
369
|
+
directories: string[];
|
|
370
|
+
justification: string;
|
|
371
|
+
};
|
|
367
372
|
}
|
|
368
373
|
interface ToolResult {
|
|
369
374
|
success: boolean;
|
|
@@ -528,6 +533,12 @@ interface PermissionPromptInfo {
|
|
|
528
533
|
requesterSummary?: string;
|
|
529
534
|
directory?: string;
|
|
530
535
|
filePath?: string;
|
|
536
|
+
oneTime?: boolean;
|
|
537
|
+
elevation?: {
|
|
538
|
+
network: boolean;
|
|
539
|
+
directories: string[];
|
|
540
|
+
justification: string;
|
|
541
|
+
};
|
|
531
542
|
}
|
|
532
543
|
type PermissionPromptFn = (info: PermissionPromptInfo) => Promise<"allow" | "always" | "deny">;
|
|
533
544
|
type StopReason = "end_turn" | "tool_use" | "max_tokens" | "stop_sequence";
|
|
@@ -4149,6 +4160,7 @@ declare class PermissionEngine {
|
|
|
4149
4160
|
allowed: boolean;
|
|
4150
4161
|
reason: string;
|
|
4151
4162
|
}>;
|
|
4163
|
+
private checkElevatedBash;
|
|
4152
4164
|
private finalizeDecision;
|
|
4153
4165
|
classifyAutoPermission(toolName: string, input: Record<string, unknown>): AutoPermissionDecision;
|
|
4154
4166
|
private contentDigest;
|
|
@@ -10694,6 +10706,12 @@ interface AppServerPermissionRequestV2 {
|
|
|
10694
10706
|
connectionId: string;
|
|
10695
10707
|
permission: string;
|
|
10696
10708
|
resource?: string;
|
|
10709
|
+
oneTime?: boolean;
|
|
10710
|
+
elevation?: {
|
|
10711
|
+
network: boolean;
|
|
10712
|
+
directories: string[];
|
|
10713
|
+
justification: string;
|
|
10714
|
+
};
|
|
10697
10715
|
status: "pending" | "allowed" | "denied" | "expired";
|
|
10698
10716
|
createdAt: string;
|
|
10699
10717
|
expiresAt: string;
|
|
@@ -10727,6 +10745,12 @@ interface AppServerTurnRunnerContextV2 {
|
|
|
10727
10745
|
permission: string;
|
|
10728
10746
|
resource?: string;
|
|
10729
10747
|
expiresInMs?: number;
|
|
10748
|
+
oneTime?: boolean;
|
|
10749
|
+
elevation?: {
|
|
10750
|
+
network: boolean;
|
|
10751
|
+
directories: string[];
|
|
10752
|
+
justification: string;
|
|
10753
|
+
};
|
|
10730
10754
|
}): Promise<"allow" | "always" | "deny">;
|
|
10731
10755
|
}
|
|
10732
10756
|
type AppServerTurnRunnerV2 = (context: AppServerTurnRunnerContextV2) => Promise<unknown>;
|