/** * Pre-tree compat shim for the `gsk task` command tree. * * `gsk task ...` (the old bare-alias form of create_task) is baked * into deployed OpenClaw VM ACP configs (`gsk task slides --acp`, written by * backend/openclaw/route.py at provision time) and countless agent habits. * Rewrite it in place to `gsk task create ...` before commander * parses. Silent on stderr by design: in `--acp` mode stdout is the ACP * NDJSON channel and stderr noise breaks some editors' adaptors. The * request is tagged instead (see legacyTaskInvokedAs) so the server's * deprecation telemetry counts the shim path. */ export declare const TASK_TREE_VERBS: Set; export declare function shimLegacyTaskInvocation(argv: string[]): string[]; /** * X-GSK-Invoked-As label for a shimmed invocation, undefined when the * shim leaves argv alone. The `(legacy)` suffix is what the server's * `gsk_legacy_invocation` line keys on — the only signal the shim's own * retirement (#49618) can be decided on. */ export declare function legacyTaskInvokedAs(argv: string[]): string | undefined; //# sourceMappingURL=task-shim.d.ts.map