agent-afk 5.222.11 → 5.222.13
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/providers/openai-compatible/compact.d.ts +2 -3
- package/dist/agent/providers/shared/compaction.d.ts +3 -0
- package/dist/agent/providers/shared/sleep-with-abort.d.ts +3 -0
- package/dist/agent/routing-directive.d.ts +1 -1
- package/dist/agent/tools/system-prompt.d.ts +1 -1
- package/dist/cli/shared-helpers.d.ts +1 -0
- package/dist/cli/slash/writer.d.ts +1 -0
- package/dist/cli.mjs +289 -286
- package/dist/index.mjs +112 -111
- package/dist/service/launchd/paths.d.ts +2 -1
- package/dist/service/systemd/paths.d.ts +2 -1
- package/dist/service/types.d.ts +2 -0
- package/dist/skills/mint/_phases/_fork-phase.d.ts +19 -0
- package/dist/telegram.mjs +142 -140
- package/dist/utils/envFile.d.ts +3 -1
- package/dist/utils/shell-escape.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { serviceLogPath as sharedServiceLogPath } from '../types.js';
|
|
1
2
|
export type ServiceName = 'telegram' | 'daemon';
|
|
2
3
|
export declare const SERVICE_NAMES: readonly ServiceName[];
|
|
3
4
|
export declare function labelFor(name: ServiceName): string;
|
|
4
5
|
export declare function launchAgentsDir(home?: string): string;
|
|
5
6
|
export declare function plistPath(name: ServiceName, home?: string): string;
|
|
6
|
-
export declare
|
|
7
|
+
export declare const serviceLogPath: typeof sharedServiceLogPath;
|
|
7
8
|
export declare function guiDomain(): string;
|
|
8
9
|
export declare const LAUNCHCTL_TIMEOUT_MS = 8000;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { serviceLogPath as sharedServiceLogPath } from '../types.js';
|
|
1
2
|
import type { ServiceName } from '../types.js';
|
|
2
3
|
export declare function systemdUserDir(home?: string): string;
|
|
3
4
|
export declare function unitFileName(name: ServiceName): string;
|
|
@@ -7,5 +8,5 @@ export declare function unitPath(name: ServiceName, home?: string): string;
|
|
|
7
8
|
export declare function pathUnitPath(name: ServiceName, home?: string): string;
|
|
8
9
|
export declare function restartUnitPath(name: ServiceName, home?: string): string;
|
|
9
10
|
export declare function systemdLabel(name: ServiceName): string;
|
|
10
|
-
export declare
|
|
11
|
+
export declare const serviceLogPath: typeof sharedServiceLogPath;
|
|
11
12
|
export declare const SYSTEMCTL_TIMEOUT_MS = 8000;
|
package/dist/service/types.d.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { AgentModelInput } from '../../../agent/types.js';
|
|
2
|
+
import type { TraceSink } from '../../../agent/trace/index.js';
|
|
3
|
+
import type { WorkspaceStore } from '../../../agent/workspace/index.js';
|
|
4
|
+
import type { PhaseRole } from '../../../agent/tools/nesting.js';
|
|
5
|
+
export interface ForkMintPhaseOptions {
|
|
6
|
+
phaseName: string;
|
|
7
|
+
phaseId: string;
|
|
8
|
+
systemPrompt: string;
|
|
9
|
+
inputMessage: string;
|
|
10
|
+
phaseRole?: PhaseRole;
|
|
11
|
+
parentSessionId: string;
|
|
12
|
+
parentCwd?: string;
|
|
13
|
+
skillCallId?: string;
|
|
14
|
+
model: AgentModelInput;
|
|
15
|
+
parentReadRoots?: string[];
|
|
16
|
+
traceWriter?: TraceSink;
|
|
17
|
+
workspaceStore?: WorkspaceStore;
|
|
18
|
+
}
|
|
19
|
+
export declare function forkMintPhase(opts: ForkMintPhaseOptions): Promise<string>;
|