opencode-work-context 0.1.12 → 0.1.13

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
@@ -180,7 +180,7 @@ read canonical storage through the package core and never edit Markdown or
180
180
  JSONL projections directly. Hosts without the TUI plugin API continue to load
181
181
  the server plugin and its tools normally.
182
182
 
183
- `Ctrl+Alt+W` runs `work_context.open` and opens a searchable stage switcher for
183
+ The native `Ctrl+X` leader prefix followed by `W` runs `work_context.open` and opens a searchable stage switcher for
184
184
  the current workspace. Selecting a stage opens its active OpenCode-backed
185
185
  session, or otherwise its most recently updated OpenCode-backed session. If the
186
186
  stage has no available session, the switcher creates a separate OpenCode
@@ -199,7 +199,7 @@ modal. Its command actions only prepare visible `/wc` commands and never submit
199
199
  or invoke an LLM. The switcher uses OpenCode's public structured session-command
200
200
  endpoint rather than inserting `/wc resume` text into either prompt.
201
201
  The shortcut is registered with the public keymap layer. If another plugin or
202
- terminal reserves `Ctrl+Alt+W`, remove or change the conflicting binding, or
202
+ terminal reserves `Ctrl+X`, remove or change the conflicting binding, or
203
203
  disable this TUI loader; the package does not use an internal keymap fallback.
204
204
 
205
205
  Tools are registered by the installed server export and are not copied into the
@@ -41,7 +41,6 @@ export default {
41
41
  const tuiConfig = JSON.stringify({
42
42
  $schema: "https://opencode.ai/tui.json",
43
43
  plugin: ["./tui-plugins/work-context-stages.js"],
44
- keybinds: { leader: "ctrl+alt+w" },
45
44
  }, null, 2) + "\n";
46
45
  const command = fs.readFileSync(path.join(packageRoot, "commands", "wc.md"), "utf8");
47
46
  const generated = new Map([
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "opencode-work-context",
3
3
  "type": "module",
4
- "version": "0.1.12",
4
+ "version": "0.1.13",
5
5
  "description": "Filesystem work-context core and OpenCode adapter",
6
6
  "license": "MIT",
7
7
  "author": {
@@ -22,9 +22,9 @@ const activeTuiInstances = new WeakMap();
22
22
 
23
23
  export const WORK_CONTEXT_ACTIONS = [
24
24
  { value: "help", title: "Help", description: "Show work-context command help", category: "General" },
25
- { value: "switch.stage", title: "Switch stage", description: "Open a stage session in the current workspace", footer: "ctrl+alt+w s", category: "Navigation" },
26
- { value: "switch.workspace", title: "Switch workspace", description: "Open a workspace session", footer: "ctrl+alt+w o", category: "Navigation" },
27
- { value: "switch.session", title: "Switch session", description: "Open an active or historical work session", footer: "ctrl+alt+w e", category: "Navigation" },
25
+ { value: "switch.stage", title: "Switch stage", description: "Open a stage session in the current workspace", footer: "ctrl+x s", category: "Navigation" },
26
+ { value: "switch.workspace", title: "Switch workspace", description: "Open a workspace session", footer: "ctrl+x o", category: "Navigation" },
27
+ { value: "switch.session", title: "Switch session", description: "Open an active or historical work session", footer: "ctrl+x e", category: "Navigation" },
28
28
  { value: "list", title: "Browse workspaces", description: "Search workspaces and their stages", category: "General" },
29
29
  { value: "browse.stages", title: "Browse stages", description: "Search stages across every workspace", category: "General" },
30
30
  { value: "browse.sessions", title: "Browse sessions", description: "Search active and historical work sessions", category: "General" },