agent-afk 5.313.13 → 5.313.15
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/shell-jobs/streamer.d.ts +2 -6
- package/dist/agent/shell-jobs/streamer.helpers.d.ts +2 -1
- package/dist/agent/shell-jobs/streamer.utils.d.ts +7 -0
- package/dist/cli.mjs +370 -370
- package/dist/index.mjs +178 -178
- package/dist/telegram.mjs +189 -189
- package/dist/utils/jsonl.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
flush(): string;
|
|
4
|
-
}
|
|
5
|
-
export declare function makeAnsiStripper(): AnsiStripper;
|
|
6
|
-
export declare function utf8SafeTruncate(buf: Buffer, maxBytes: number): Buffer;
|
|
1
|
+
export { makeAnsiStripper, utf8SafeTruncate } from './streamer.utils.js';
|
|
2
|
+
export type { AnsiStripper } from './streamer.utils.js';
|
|
7
3
|
export declare const DEFAULT_TIMEOUT_MS = 120000;
|
|
8
4
|
export declare const DEFAULT_MAX_BYTES = 100000;
|
|
9
5
|
export interface StartShellOptions {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type ChildProcess } from 'node:child_process';
|
|
2
|
-
import { type AnsiStripper
|
|
2
|
+
import { type AnsiStripper } from './streamer.utils.js';
|
|
3
|
+
import { type ShellResult } from './streamer.js';
|
|
3
4
|
export interface CaptureState {
|
|
4
5
|
displayCaptured: string;
|
|
5
6
|
modelCaptured: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const ANSI_REGEX: RegExp;
|
|
2
|
+
export interface AnsiStripper {
|
|
3
|
+
strip(text: string): string;
|
|
4
|
+
flush(): string;
|
|
5
|
+
}
|
|
6
|
+
export declare function makeAnsiStripper(): AnsiStripper;
|
|
7
|
+
export declare function utf8SafeTruncate(buf: Buffer, maxBytes: number): Buffer;
|