agent-afk 5.335.1 → 5.336.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/lsp/async-mutex.d.ts +13 -0
- package/dist/agent/lsp/client-handlers.d.ts +58 -0
- package/dist/agent/lsp/client-process.d.ts +19 -0
- package/dist/agent/lsp/client.d.ts +54 -0
- package/dist/agent/lsp/diagnostics-store.d.ts +17 -0
- package/dist/agent/lsp/document-sync.d.ts +20 -0
- package/dist/agent/lsp/install.d.ts +14 -0
- package/dist/agent/lsp/install.footprint.d.ts +5 -0
- package/dist/agent/lsp/install.grants.d.ts +10 -0
- package/dist/agent/lsp/install.npm.d.ts +21 -0
- package/dist/agent/lsp/pool.d.ts +30 -0
- package/dist/agent/lsp/query.d.ts +18 -0
- package/dist/agent/lsp/registry.d.ts +12 -0
- package/dist/agent/lsp/server-spec.d.ts +53 -0
- package/dist/agent/lsp/typescript-default.d.ts +5 -0
- package/dist/agent/plugins/load-entrypoints.d.ts +12 -0
- package/dist/agent/plugins/plugin-runtime-api.d.ts +6 -0
- package/dist/agent/plugins/plugin-session-context.d.ts +3 -0
- package/dist/agent/session/manager-shutdown-config.d.ts +1 -1
- package/dist/agent/subagent/result.d.ts +1 -0
- package/dist/agent/tools/handlers/lsp-diagnostics.d.ts +2 -2
- package/dist/agent/tools/handlers/lsp-shared.d.ts +2 -8
- package/dist/agent/tools/handlers/lsp-symbols.d.ts +2 -1
- package/dist/agent/tools/skill-bridge.d.ts +4 -1
- package/dist/agent/tools/subagent/child-config.d.ts +11 -0
- package/dist/cli/commands/update.d.ts +1 -1
- package/dist/cli/health-rail.d.ts +4 -0
- package/dist/cli/health-rail.format.d.ts +2 -0
- package/dist/cli.mjs +578 -584
- package/dist/config/env.d.ts +8 -0
- package/dist/config/env.tools.d.ts +8 -0
- package/dist/improve/scan/detectors/tool-failure-density.d.ts +7 -0
- package/dist/improve/schemas.d.ts +1 -0
- package/dist/index.mjs +432 -438
- package/dist/paths.lsp.d.ts +4 -0
- package/dist/telegram/bg-injection.d.ts +1 -0
- package/dist/telegram/handlers/message.wake-idle.d.ts +3 -0
- package/dist/telegram.mjs +462 -468
- package/dist/utils/kill-process-group.d.ts +1 -0
- package/dist/utils/npm-cli.d.ts +1 -0
- package/dist/web-server/session-owner.d.ts +1 -0
- package/dist/web-server/session-owner.lifecycle.d.ts +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function getLspServersDir(): string;
|
|
2
|
+
export declare function getLspLanguageInstallDir(language: string): string;
|
|
3
|
+
export declare function getLspInstalledBinPath(language: string, binName: string): string;
|
|
4
|
+
export declare function getLspGrantsPath(): string;
|
|
@@ -5,4 +5,5 @@ export interface BgInjectionSource {
|
|
|
5
5
|
export declare function registerBgInjectionSource(key: string, source: BgInjectionSource): void;
|
|
6
6
|
export declare function unregisterBgInjectionSource(key: string, source: BgInjectionSource): void;
|
|
7
7
|
export declare function drainBgInjections(key: string): string;
|
|
8
|
+
export declare function hasBgInjections(key: string): boolean;
|
|
8
9
|
export declare function prependToContent(prefix: string, content: string | ContentBlockParam[]): string | ContentBlockParam[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Context } from 'telegraf';
|
|
2
|
+
import type { Telegraf } from 'telegraf';
|
|
2
3
|
import type { IAgentSession } from '../../agent/types.js';
|
|
3
4
|
import { type TelegramRoute } from '../route.js';
|
|
4
5
|
export interface WakeIdleDeps {
|
|
@@ -9,5 +10,7 @@ export interface WakeIdleDeps {
|
|
|
9
10
|
messageQueues: Map<string, unknown[]>;
|
|
10
11
|
processOne(route: TelegramRoute, ctx: Context, content: string): Promise<void>;
|
|
11
12
|
log(...args: unknown[]): void;
|
|
13
|
+
bot?: Telegraf;
|
|
12
14
|
}
|
|
13
15
|
export declare function wakeIdleSessionImpl(route: TelegramRoute, deps: WakeIdleDeps): void;
|
|
16
|
+
export declare function postTurnWake(route: TelegramRoute, deps: WakeIdleDeps): void;
|