agent-afk 5.118.0 → 5.118.2

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.
@@ -6,6 +6,7 @@ export interface RegisteredAgent {
6
6
  source: AgentSource;
7
7
  filePath?: string;
8
8
  bashReadOnly?: boolean;
9
+ vendoredBaseTools?: readonly string[];
9
10
  ignoredKeys?: string[];
10
11
  }
11
12
  export type AgentRegistry = ReadonlyMap<string, RegisteredAgent>;
@@ -1,2 +1,2 @@
1
- export { startShell, DEFAULT_TIMEOUT_MS, DEFAULT_MAX_BYTES, type StartShellOptions, type ShellHandle, type ShellResult, type ShellErrorReason, } from './streamer.js';
2
- export { ShellJobRegistry, type ShellJob, type ShellJobStatus, type ShellJobRegistryEvents, type StartJobOptions, } from './registry.js';
1
+ export { type ShellHandle, type ShellResult, type ShellErrorReason, } from './streamer.js';
2
+ export { ShellJobRegistry, type ShellJob, type ShellJobStatus, type StartJobOptions, } from './registry.js';
@@ -0,0 +1,10 @@
1
+ export interface ResolveReadScopeArgs {
2
+ parentReadRoots: string[] | undefined;
3
+ parentCwd: string | undefined;
4
+ effectiveChildCwd: string | undefined;
5
+ callerReadRoots: string[] | undefined;
6
+ callerExtraReadRoots: string[] | undefined;
7
+ resolveMainRoot: (cwd: string) => Promise<string | undefined>;
8
+ }
9
+ export declare function resolveReadScope(args: ResolveReadScopeArgs): Promise<string[] | undefined>;
10
+ export declare function composeWriteRoots(callerWriteRoots: string[] | undefined, effectiveChildCwd: string | undefined): string[] | undefined;
@@ -0,0 +1,4 @@
1
+ export declare function fsErrorToToolResult(err: unknown, path: string, entityType?: string): {
2
+ content: string;
3
+ isError: true;
4
+ } | undefined;
@@ -1,5 +1,5 @@
1
1
  import { Command } from 'commander';
2
2
  import { promptToken } from '../auth-wizard.js';
3
- export { upsertEnvVar } from '../auth-wizard.js';
3
+ export { upsertEnvVar } from '../../utils/envFile.js';
4
4
  export { promptToken };
5
5
  export declare function registerLoginCommand(program: Command): void;