@xenosystem/agent-sdk 0.10.9 → 0.10.10

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/index.d.cts CHANGED
@@ -4152,6 +4152,7 @@ declare class PermissionEngine {
4152
4152
  private finalizeDecision;
4153
4153
  classifyAutoPermission(toolName: string, input: Record<string, unknown>): AutoPermissionDecision;
4154
4154
  private contentDigest;
4155
+ private bashScopeSuffix;
4155
4156
  private hasShellComposition;
4156
4157
  private getCacheKey;
4157
4158
  private isPathInPersistentAllowedDirectory;
@@ -4947,6 +4948,10 @@ interface UnifiedExecStartOptions {
4947
4948
  origin?: UnifiedExecOrigin;
4948
4949
  presentation?: UnifiedExecPresentation;
4949
4950
  sandbox?: AgentSandbox;
4951
+ invocation?: {
4952
+ file: string;
4953
+ args: string[];
4954
+ };
4950
4955
  }
4951
4956
  interface UnifiedExecProcess {
4952
4957
  id: string;
@@ -5044,8 +5049,8 @@ interface UnifiedExecManagerOptions {
5044
5049
  registerCleanup?: boolean;
5045
5050
  }
5046
5051
  declare class UnifiedExecError extends Error {
5047
- readonly code: "PTY_UNAVAILABLE" | "PROCESS_LIMIT" | "INVALID_SIZE" | "SPAWN_ERROR";
5048
- constructor(code: "PTY_UNAVAILABLE" | "PROCESS_LIMIT" | "INVALID_SIZE" | "SPAWN_ERROR", message: string);
5052
+ readonly code: "PTY_UNAVAILABLE" | "PROCESS_LIMIT" | "INVALID_SIZE" | "SPAWN_ERROR" | "INVOCATION_UNSUPPORTED";
5053
+ constructor(code: "PTY_UNAVAILABLE" | "PROCESS_LIMIT" | "INVALID_SIZE" | "SPAWN_ERROR" | "INVOCATION_UNSUPPORTED", message: string);
5049
5054
  }
5050
5055
  declare class UnifiedExecManager {
5051
5056
  private readonly processes;
@@ -5848,6 +5853,10 @@ interface BackgroundTask {
5848
5853
  interface BackgroundTaskSpawnOptions {
5849
5854
  displayName?: string;
5850
5855
  cwd?: string;
5856
+ invocation?: {
5857
+ file: string;
5858
+ args: string[];
5859
+ };
5851
5860
  env?: NodeJS.ProcessEnv;
5852
5861
  timeout?: number;
5853
5862
  tty?: boolean;
package/dist/index.d.ts CHANGED
@@ -4152,6 +4152,7 @@ declare class PermissionEngine {
4152
4152
  private finalizeDecision;
4153
4153
  classifyAutoPermission(toolName: string, input: Record<string, unknown>): AutoPermissionDecision;
4154
4154
  private contentDigest;
4155
+ private bashScopeSuffix;
4155
4156
  private hasShellComposition;
4156
4157
  private getCacheKey;
4157
4158
  private isPathInPersistentAllowedDirectory;
@@ -4947,6 +4948,10 @@ interface UnifiedExecStartOptions {
4947
4948
  origin?: UnifiedExecOrigin;
4948
4949
  presentation?: UnifiedExecPresentation;
4949
4950
  sandbox?: AgentSandbox;
4951
+ invocation?: {
4952
+ file: string;
4953
+ args: string[];
4954
+ };
4950
4955
  }
4951
4956
  interface UnifiedExecProcess {
4952
4957
  id: string;
@@ -5044,8 +5049,8 @@ interface UnifiedExecManagerOptions {
5044
5049
  registerCleanup?: boolean;
5045
5050
  }
5046
5051
  declare class UnifiedExecError extends Error {
5047
- readonly code: "PTY_UNAVAILABLE" | "PROCESS_LIMIT" | "INVALID_SIZE" | "SPAWN_ERROR";
5048
- constructor(code: "PTY_UNAVAILABLE" | "PROCESS_LIMIT" | "INVALID_SIZE" | "SPAWN_ERROR", message: string);
5052
+ readonly code: "PTY_UNAVAILABLE" | "PROCESS_LIMIT" | "INVALID_SIZE" | "SPAWN_ERROR" | "INVOCATION_UNSUPPORTED";
5053
+ constructor(code: "PTY_UNAVAILABLE" | "PROCESS_LIMIT" | "INVALID_SIZE" | "SPAWN_ERROR" | "INVOCATION_UNSUPPORTED", message: string);
5049
5054
  }
5050
5055
  declare class UnifiedExecManager {
5051
5056
  private readonly processes;
@@ -5848,6 +5853,10 @@ interface BackgroundTask {
5848
5853
  interface BackgroundTaskSpawnOptions {
5849
5854
  displayName?: string;
5850
5855
  cwd?: string;
5856
+ invocation?: {
5857
+ file: string;
5858
+ args: string[];
5859
+ };
5851
5860
  env?: NodeJS.ProcessEnv;
5852
5861
  timeout?: number;
5853
5862
  tty?: boolean;