@@ -763,14 +763,8 @@ function createSessionConfig(
|
763 | 763 | onPermissionRequest: createPermissionBridge(permissionPolicy), |
764 | 764 | // `onUserInputRequest` is intentionally NOT registered: per the SDK |
765 | 765 | // contract, omitting the handler hides the `ask_user` tool from the |
766 | | -// model entirely. This is the MVP posture — interactive ask_user |
767 | | -// requires routing the request to the OpenClaw channel/TUI prompt |
768 | | -// path (mirroring extensions/codex/src/app-server/user-input-bridge.ts), |
769 | | -// which is tracked as a follow-up. With the handler absent, agents |
770 | | -// running under this harness must make best-judgment decisions from |
771 | | -// the initial prompt rather than asking clarifying questions |
772 | | -// mid-turn. See user-input-bridge.ts for the dormant policy |
773 | | -// scaffolding the follow-up will reuse. |
| 766 | +// model entirely. Interactive ask_user will need a real channel/TUI |
| 767 | +// prompt bridge before this runtime can expose the handler. |
774 | 768 | // SessionHooks: only set when the host actually supplied handlers. |
775 | 769 | // createHooksBridge returns undefined for an empty config so we |
776 | 770 | // never install an empty hooks subsystem. See hooks-bridge.ts for |
@@ -779,8 +773,6 @@ function createSessionConfig(
|
779 | 773 | // Session-level telemetry opt-out: only propagate when the host |
780 | 774 | // explicitly set a boolean. undefined means "use SDK default" |
781 | 775 | // (enabled for GitHub auth; disabled when a BYOK provider is set). |
782 | | -// Client-level OTel config is plumbed via runtime.ts / |
783 | | -// telemetry-bridge.ts. |
784 | 776 | ...(typeof params.enableSessionTelemetry === "boolean" |
785 | 777 | ? { enableSessionTelemetry: params.enableSessionTelemetry } |
786 | 778 | : {}), |
|