Files
codex/codex-rs/app-server-protocol/schema/json/v2/ExternalAgentConfigDetectParams.json
charlesgong-openai 1c4af96394 Add Cursor support to setup import (#33426)
## What changed

- Detect and import supported Cursor settings, sandbox permissions, MCP servers,
  project instructions, hooks, agents, commands, plugins, and recent chat
  sessions.
- Update the `/import` flow to check Claude Code and Cursor, prompting for a
  source when both have importable data.
- Add `migrationSource` to the app-server detect and import requests so each
  operation uses the selected adapter, while retaining `source` for import
  attribution and backwards compatibility.

## Testing

- Add coverage for Cursor config conversion, hooks, plugins, session discovery
  and conversion, app-server imports, and TUI source selection.

GitOrigin-RevId: a65a1511b6c1c2f9e3e0cfe4f816bb435807282e
2026-07-15 21:03:49 +00:00

35 lines
935 B
JSON
Generated

{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"cwds": {
"description": "Zero or more working directories to include for repo-scoped detection.",
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"includeHome": {
"description": "If true, include detection under the user's home directory.",
"type": "boolean"
},
"migrationSource": {
"description": "Optional migration-source selector. Missing or unrecognized values use the default source.",
"type": [
"string",
"null"
]
},
"source": {
"description": "Deprecated field retained for compatibility. This field is ignored; use `migrationSource` to select the migration source.",
"type": [
"string",
"null"
]
}
},
"title": "ExternalAgentConfigDetectParams",
"type": "object"
}