fix(ai,coding-agent): use node:readline import prefix for Deno compatibility

closes #2885
This commit is contained in:
Mario Zechner
2026-04-08 01:59:34 +02:00
parent 773f91f40a
commit 377eca9684
5 changed files with 11 additions and 3 deletions

View File

@@ -2,6 +2,10 @@
## [Unreleased]
### Fixed
- Fixed bare `readline` import to use `node:readline` prefix for Deno compatibility ([#2885](https://github.com/badlogic/pi-mono/issues/2885) by [@milosv-vtool](https://github.com/milosv-vtool))
## [0.65.2] - 2026-04-06
## [0.65.1] - 2026-04-05

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env node
import { createInterface } from "node:readline";
import { existsSync, readFileSync, writeFileSync } from "fs";
import { createInterface } from "readline";
import { getOAuthProvider, getOAuthProviders } from "./utils/oauth/index.js";
import type { OAuthCredentials, OAuthProviderId } from "./utils/oauth/types.js";