opencode-landstrip 0.18.27 → 0.18.29

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 +4 -4
  2. package/shared.ts +0 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-landstrip",
3
- "version": "0.18.27",
3
+ "version": "0.18.29",
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": "^0.18.27",
51
+ "@landstrip/landstrip": "^0.18.29",
52
52
  "@opentui/solid": ">=0.3.4",
53
53
  "solid-js": "1.9.12"
54
54
  },
@@ -57,9 +57,9 @@
57
57
  "@opentui/core": ">=0.3.4",
58
58
  "@opentui/keymap": ">=0.3.4",
59
59
  "@types/node": "^26.1.1",
60
- "oxfmt": "^0.61.0",
60
+ "oxfmt": "^0.62.0",
61
61
  "oxlint": "^1.68.0",
62
- "typescript": "^5.8.2"
62
+ "typescript": "^5.9.3"
63
63
  },
64
64
  "peerDependencies": {
65
65
  "@opencode-ai/plugin": "^1.17.7"
package/shared.ts CHANGED
@@ -360,13 +360,6 @@ export function permissionPatterns(permission: Record<string, unknown>): string[
360
360
  return [];
361
361
  }
362
362
 
363
- export function permissionLabel(permission: Record<string, unknown>): string {
364
- const type = permissionType(permission, 'permission');
365
- const title = typeof permission.title === 'string' ? permission.title : type;
366
- const pattern = permissionPattern(permission);
367
- return pattern ? `${title}: ${pattern}` : title;
368
- }
369
-
370
363
  // The concrete resource a permission concerns (a path or a domain), used to show
371
364
  // the user exactly what they are approving and to persist the right allowlist.
372
365
  export function permissionResource(permission: Record<string, unknown>): string | undefined {