ctx-switch 2.0.2 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # ctx-switch
2
2
 
3
+ [![ctx-switch](https://img.shields.io/npm/v/ctx-switch)](https://www.npmjs.com/package/ctx-switch) [![cc-continue](https://img.shields.io/npm/v/cc-continue?label=cc-continue)](https://www.npmjs.com/package/cc-continue)
4
+
3
5
  > Formerly `cc-continue` — existing installs still work, just use `ctx-switch` going forward.
4
6
 
5
7
  **Switch coding agents without losing context.**
@@ -153,24 +155,24 @@ export OPENROUTER_API_KEY=sk-or-v1-...
153
155
 
154
156
  ## Key Flags
155
157
 
156
- | Flag | Description |
157
- |------|-------------|
158
- | `--source <name>` | `claude`, `codex`, `opencode` |
159
- | `--target <name>` | `generic`, `codex`, `cursor`, `chatgpt` |
160
- | `--output <file>` | Save prompt |
161
- | `--session <id\|path>` | Use specific session |
162
- | `--refine` | Refine prompt via LLM |
163
- | `--provider` | Refinement provider (default: `openrouter`) |
164
- | `--model` | Override model |
165
- | `--api-key` | Override API key |
158
+ | Flag | Description |
159
+ | ---------------------- | ------------------------------------------- |
160
+ | `--source <name>` | `claude`, `codex`, `opencode` |
161
+ | `--target <name>` | `generic`, `codex`, `cursor`, `chatgpt` |
162
+ | `--output <file>` | Save prompt |
163
+ | `--session <id\|path>` | Use specific session |
164
+ | `--refine` | Refine prompt via LLM |
165
+ | `--provider` | Refinement provider (default: `openrouter`) |
166
+ | `--model` | Override model |
167
+ | `--api-key` | Override API key |
166
168
 
167
169
  ## Session Storage
168
170
 
169
- | Source | Storage Path | Format |
170
- |--------|-------------|--------|
171
- | Claude Code | `~/.claude/projects/<encoded-cwd>/*.jsonl` | JSONL |
172
- | Codex | `~/.codex/sessions/<year>/<month>/<day>/*.jsonl` | JSONL |
173
- | OpenCode | `~/.local/share/opencode/opencode.db` | SQLite |
171
+ | Source | Storage Path | Format |
172
+ | ----------- | ------------------------------------------------ | ------ |
173
+ | Claude Code | `~/.claude/projects/<encoded-cwd>/*.jsonl` | JSONL |
174
+ | Codex | `~/.codex/sessions/<year>/<month>/<day>/*.jsonl` | JSONL |
175
+ | OpenCode | `~/.local/share/opencode/opencode.db` | SQLite |
174
176
 
175
177
  ## Requirements
176
178
 
package/dist/index.mjs CHANGED
@@ -1828,7 +1828,7 @@ async function promptForSource() {
1828
1828
  }
1829
1829
  async function main(argv = process.argv.slice(2)) {
1830
1830
  const options = parseArgs(argv);
1831
- const pkgInfo = { name: "ctx-switch", version: "2.0.2" };
1831
+ const pkgInfo = { name: "ctx-switch", version: "2.0.4" };
1832
1832
  const ui = createTheme(process.stderr);
1833
1833
  if (options.help) {
1834
1834
  process.stdout.write(`${getHelpText(pkgInfo)}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ctx-switch",
3
- "version": "2.0.2",
4
- "description": "Switch context between AI coding agents extract sessions from Claude Code, Codex, or OpenCode and generate handoff prompts",
3
+ "version": "2.0.4",
4
+ "description": "Switch coding agents without losing context. Generate handoff prompts across Claude Code, Codex, and OpenCode.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
7
7
  "exports": "./dist/index.mjs",