opencode-landstrip 0.19.10 → 0.19.12

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/tui.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-landstrip",
3
- "version": "0.19.10",
3
+ "version": "0.19.12",
4
4
  "description": "OS-level AI command sandboxing for OpenCode with Landstrip",
5
5
  "keywords": [
6
6
  "landlock",
@@ -48,7 +48,7 @@
48
48
  "ci:test": "npm test"
49
49
  },
50
50
  "dependencies": {
51
- "@landstrip/landstrip-api": "^0.19.10",
51
+ "@landstrip/landstrip-api": "^0.19.12",
52
52
  "@opentui/core": ">=0.5.12",
53
53
  "@opentui/solid": ">=0.5.12",
54
54
  "solid-js": "1.9.12"
package/tui.ts CHANGED
@@ -730,6 +730,7 @@ const tui: TuiPlugin.Definition = {
730
730
  const dimensions = useTerminalDimensions();
731
731
 
732
732
  context.keymap.layer(() => ({
733
+ mode: 'modal',
733
734
  enabled: () => landstripOpen(),
734
735
  priority: 1000,
735
736
  commands: [
@@ -835,6 +836,7 @@ const tui: TuiPlugin.Definition = {
835
836
  };
836
837
 
837
838
  context.keymap.layer(() => ({
839
+ mode: 'global',
838
840
  commands: [
839
841
  {
840
842
  id: 'landstrip',