agent-afk 5.31.1 → 5.31.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.
- package/dist/agent/tools/handlers/_cwd-utils.d.ts +2 -2
- package/dist/agent/tools/handlers/edit-file.d.ts +1 -0
- package/dist/agent/tools/handlers/list-directory.d.ts +1 -0
- package/dist/agent/tools/handlers/read-file.d.ts +1 -0
- package/dist/agent/tools/handlers/write-file.d.ts +1 -0
- package/dist/cli.mjs +388 -388
- package/dist/index.mjs +138 -138
- package/dist/telegram.mjs +179 -179
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ToolHandlerContext } from '../types.js';
|
|
2
2
|
export declare function realpathSafe(p: string): string;
|
|
3
3
|
export declare function _resetRootRealpathCacheForTests(): void;
|
|
4
|
-
export declare function resolveAndContain(inputPath: string, context: ToolHandlerContext | undefined, mode?: 'read' | 'write'): string;
|
|
5
|
-
export declare function wouldBeRestricted(inputPath: string, context: ToolHandlerContext | undefined, mode?: 'read' | 'write'): {
|
|
4
|
+
export declare function resolveAndContain(inputPath: string, context: ToolHandlerContext | undefined, mode?: 'read' | 'write', fallbackBase?: string): string;
|
|
5
|
+
export declare function wouldBeRestricted(inputPath: string, context: ToolHandlerContext | undefined, mode?: 'read' | 'write', fallbackBase?: string): {
|
|
6
6
|
restricted: boolean;
|
|
7
7
|
resolved: string;
|
|
8
8
|
roots: string[];
|