core-agent-ide/codex-cli
Michael Bolin 557f608f25
fix: add support for fileOpener in config.json (#911)
This PR introduces the following type:

```typescript
export type FileOpenerScheme = "vscode" | "cursor" | "windsurf";
```

and uses it as the new type for a `fileOpener` option in `config.json`.
If set, this will be used to linkify file annotations in the output
using the URI-based file opener supported in VS Code-based IDEs.

Currently, this does not pass:

Updated `codex-cli/tests/markdown.test.tsx` to verify the new behavior.
Note it required mocking `supports-hyperlinks` and temporarily modifying
`chalk.level` to yield the desired output.
2025-05-13 09:45:46 -07:00
..
bin chore: introduce new --native flag to Node module release process (#844) 2025-05-12 13:38:10 -07:00
examples fix: typos in prompts and comments (#195) 2025-04-17 07:12:39 -07:00
scripts chore: introduce new --native flag to Node module release process (#844) 2025-05-12 13:38:10 -07:00
src fix: add support for fileOpener in config.json (#911) 2025-05-13 09:45:46 -07:00
tests fix: add support for fileOpener in config.json (#911) 2025-05-13 09:45:46 -07:00
.dockerignore (fix) update Docker container scripts (#47) 2025-04-16 12:02:41 -07:00
.editorconfig Initial commit 2025-04-16 12:56:08 -04:00
.eslintrc.cjs chore: introduce new --native flag to Node module release process (#844) 2025-05-12 13:38:10 -07:00
.gitignore chore: make build process a single script to run (#757) 2025-05-01 08:36:07 -07:00
build.mjs fix: always load version from package.json at runtime (#909) 2025-05-12 21:27:15 -07:00
Dockerfile fix: only allow running without sandbox if explicitly marked in safe container (#699) 2025-04-28 07:48:38 -07:00
HUSKY.md Feat/add husky (#223) 2025-04-17 07:18:43 -07:00
ignore-react-devtools-plugin.js Initial commit 2025-04-16 12:56:08 -04:00
package.json chore: introduce new --native flag to Node module release process (#844) 2025-05-12 13:38:10 -07:00
require-shim.js Initial commit 2025-04-16 12:56:08 -04:00
tsconfig.json fix: /bug report command, thinking indicator (#381) 2025-04-18 18:13:34 -07:00
vitest.config.ts fix: always load version from package.json at runtime (#909) 2025-05-12 21:27:15 -07:00