agent-afk 5.356.0 → 5.358.0
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/auth/credential-resolver.d.ts +2 -1
- package/dist/agent/auth/keychain.d.ts +1 -0
- package/dist/agent/dag-subagent.d.ts +1 -0
- package/dist/agent/lsp/client-handlers.d.ts +4 -0
- package/dist/agent/lsp/client.d.ts +9 -0
- package/dist/agent/lsp/diagnostics-store.d.ts +1 -0
- package/dist/agent/lsp/document-sync.d.ts +3 -1
- package/dist/agent/lsp/install.d.ts +10 -0
- package/dist/agent/lsp/pool.d.ts +1 -0
- package/dist/agent/lsp/query.d.ts +1 -0
- package/dist/agent/outcomes/compute-outcomes.d.ts +1 -0
- package/dist/agent/outcomes/git-range.d.ts +1 -0
- package/dist/agent/outcomes/outcomes-ledger.d.ts +3 -0
- package/dist/agent/outcomes/outcomes-v1.schema.d.ts +2 -0
- package/dist/agent/outcomes/schema.d.ts +1 -0
- package/dist/agent/prompt-experiment.d.ts +2 -0
- package/dist/agent/providers/anthropic-direct/build-dispatcher.d.ts +2 -0
- package/dist/agent/providers/anthropic-direct/provider-options.d.ts +1 -0
- package/dist/agent/providers/anthropic-direct/provider-query-setup.d.ts +1 -0
- package/dist/agent/providers/anthropic-direct/provider-runtime.d.ts +1 -0
- package/dist/agent/providers/anthropic-direct/query/client-setup.d.ts +2 -0
- package/dist/agent/providers/anthropic-direct/query/closed-router-rotate.d.ts +10 -0
- package/dist/agent/providers/anthropic-direct/query/compact-handler.d.ts +1 -1
- package/dist/agent/providers/anthropic-direct/query/prompt-assembly.d.ts +1 -0
- package/dist/agent/providers/anthropic-direct/query/usage-limit-park-loop.d.ts +5 -0
- package/dist/agent/providers/anthropic-direct/query/usage-limit-pause.d.ts +4 -4
- package/dist/agent/providers/anthropic-direct/query-maintenance.d.ts +1 -1
- package/dist/agent/providers/anthropic-direct/query-options.d.ts +1 -0
- package/dist/agent/providers/anthropic-direct/query-runtime.d.ts +2 -1
- package/dist/agent/providers/anthropic-direct/query-turn-driver.d.ts +2 -1
- package/dist/agent/providers/anthropic-direct/usage-headers-writer.d.ts +31 -0
- package/dist/agent/providers/index.d.ts +1 -0
- package/dist/agent/providers/openai-compatible/compact.d.ts +1 -1
- package/dist/agent/providers/openai-compatible/index.dispatcher-opts.d.ts +4 -2
- package/dist/agent/providers/openai-compatible/index.options.d.ts +1 -0
- package/dist/agent/providers/openai-compatible/query/compact-handler.d.ts +1 -1
- package/dist/agent/providers/openai-compatible/system-prompt-wiring.d.ts +1 -0
- package/dist/agent/providers/shared/compaction.d.ts +1 -0
- package/dist/agent/providers/shared/compaction.summarizer-input.d.ts +4 -1
- package/dist/agent/providers/shared/lsp-install-eligibility.d.ts +2 -0
- package/dist/agent/providers/shared/tool-grant.d.ts +1 -0
- package/dist/agent/session/ledger-lifecycle.d.ts +2 -0
- package/dist/agent/session/provider-lifecycle.d.ts +2 -1
- package/dist/agent/session/wire-executors.d.ts +2 -1
- package/dist/agent/subagent/identity-preamble.d.ts +1 -1
- package/dist/agent/subagent/identity-preamble.worktree.d.ts +3 -0
- package/dist/agent/tool-category.d.ts +2 -1
- package/dist/agent/tools/compose-input-parse.d.ts +1 -0
- package/dist/agent/tools/dispatcher.d.ts +4 -2
- package/dist/agent/tools/dispatcher.handler-context.d.ts +4 -0
- package/dist/agent/tools/dispatcher.ledger.d.ts +6 -1
- package/dist/agent/tools/dispatcher.options.d.ts +2 -0
- package/dist/agent/tools/dispatcher.pre-dispatch-gates.bash.d.ts +6 -0
- package/dist/agent/tools/dispatcher.pre-dispatch-gates.d.ts +1 -0
- package/dist/agent/tools/handlers/grep.pipe-retry.d.ts +2 -2
- package/dist/agent/tools/handlers/lsp-diagnostics.d.ts +2 -2
- package/dist/agent/tools/handlers/lsp-install-consent.d.ts +3 -0
- package/dist/agent/tools/handlers/lsp-refactor-actions.d.ts +21 -0
- package/dist/agent/tools/handlers/lsp-refactor-input.d.ts +16 -0
- package/dist/agent/tools/handlers/lsp-refactor-symbols.d.ts +10 -0
- package/dist/agent/tools/handlers/lsp-refactor.d.ts +4 -0
- package/dist/agent/tools/handlers/lsp-server.d.ts +15 -0
- package/dist/agent/tools/handlers/lsp-symbols.d.ts +2 -1
- package/dist/agent/tools/handlers/lsp-workspace-edit-parse.d.ts +19 -0
- package/dist/agent/tools/handlers/lsp-workspace-edit.d.ts +18 -0
- package/dist/agent/tools/handlers/patch-apply-engine.d.ts +1 -1
- package/dist/agent/tools/handlers/patch-apply-guard.d.ts +2 -0
- package/dist/agent/tools/handlers/worktree.create-note.d.ts +1 -0
- package/dist/agent/tools/nesting.d.ts +1 -0
- package/dist/agent/tools/readonly-bash.destructive-git.d.ts +8 -0
- package/dist/agent/tools/readonly-bash.destructive-git.heredoc.d.ts +7 -0
- package/dist/agent/tools/readonly-bash.destructive-git.nested.d.ts +5 -0
- package/dist/agent/tools/readonly-bash.tokenizer.d.ts +5 -0
- package/dist/agent/tools/subagent/input-parse.d.ts +1 -0
- package/dist/agent/tools/subagent-executor.execute-once.helpers.d.ts +1 -1
- package/dist/agent/tools/types.d.ts +1 -0
- package/dist/agent/trace/cost.d.ts +0 -1
- package/dist/agent/trace/emit.d.ts +2 -1
- package/dist/agent/trace/events.compaction.d.ts +2 -0
- package/dist/agent/trace/events.d.ts +2 -0
- package/dist/agent/trace/types.compaction.d.ts +36 -0
- package/dist/agent/trace/types.d.ts +2 -34
- package/dist/agent/trace/writer.d.ts +2 -1
- package/dist/agent/types/config-types.d.ts +1 -0
- package/dist/agent/worktree/isolated-slug.d.ts +11 -0
- package/dist/agent/worktree/worktree-scratch.d.ts +13 -0
- package/dist/agent/worktree/worktree-sweep.classify.d.ts +1 -0
- package/dist/bundled-plugins/awa-bundled/skills/diagnose/SKILL.md +1 -1
- package/dist/bundled-plugins/awa-bundled/skills/refactor/SKILL.md +1 -1
- package/dist/bundled-plugins/awa-bundled/skills/ship/SKILL.md +17 -8
- package/dist/cli/slash/plugin-skills/state.d.ts +1 -0
- package/dist/cli.mjs +681 -659
- package/dist/config/env.d.ts +29 -0
- package/dist/config/env.misc.d.ts +14 -0
- package/dist/config/env.prompt-experiment.d.ts +15 -0
- package/dist/index.mjs +496 -474
- package/dist/paths.d.ts +1 -0
- package/dist/remote/remote-subagent-handle.d.ts +5 -2
- package/dist/telegram.mjs +538 -517
- package/package.json +1 -1
package/dist/paths.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ export declare function getSessionKeyPath(sessionId: string): string;
|
|
|
73
73
|
export declare function getOauthPendingPath(): string;
|
|
74
74
|
export { getWavesDir, getWaveManifestPath } from './paths.wave.js';
|
|
75
75
|
export declare function getEffectLedgerPath(): string;
|
|
76
|
+
export declare const getUsageHeadersPath: () => string;
|
|
76
77
|
export { getWhatifDir } from './paths.whatif.js';
|
|
77
78
|
export { getPeerInboxRoot, getPeerInboxDir } from './paths.peer.js';
|
|
78
79
|
export { getRemoteHostsPath } from './paths.remote.js';
|
|
@@ -14,6 +14,7 @@ export declare class RemoteSubagentHandle implements SubagentHandle<string> {
|
|
|
14
14
|
readonly session: IAgentSession;
|
|
15
15
|
private _status;
|
|
16
16
|
private _durationMs;
|
|
17
|
+
private _inFlight;
|
|
17
18
|
private readonly _controller;
|
|
18
19
|
private readonly _request;
|
|
19
20
|
private readonly _deps;
|
|
@@ -22,9 +23,11 @@ export declare class RemoteSubagentHandle implements SubagentHandle<string> {
|
|
|
22
23
|
get durationMs(): number | undefined;
|
|
23
24
|
run(_prompt: string | ContentBlockParam[]): Promise<Message>;
|
|
24
25
|
runToResult(_prompt: string | ContentBlockParam[]): Promise<SubagentResult<string>>;
|
|
25
|
-
runInBackground(prompt: string, onResult?: (result: SubagentResult<string>) => void): void;
|
|
26
|
+
runInBackground(prompt: string, onResult?: (result: SubagentResult<string>) => void, _onProgress?: (event: import('../agent/types/session-types.js').OutputEvent) => void): void;
|
|
26
27
|
cancel(): Promise<void>;
|
|
27
|
-
teardown(
|
|
28
|
+
teardown(_options?: {
|
|
29
|
+
deferInjectContextToCaller?: boolean;
|
|
30
|
+
}): Promise<void>;
|
|
28
31
|
getLastStopInjectContext(): string | undefined;
|
|
29
32
|
sendMessage(_text: string): void;
|
|
30
33
|
steer(_text: string): void;
|