@canonmsg/codex-plugin 0.11.4 → 0.11.5

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.
@@ -11,10 +11,12 @@ export declare const CODEX_PERMISSION_OPTIONS: readonly [{
11
11
  readonly value: "full-auto";
12
12
  readonly label: "Full auto";
13
13
  readonly description: "Automatically run workspace-write actions with lower-friction approvals.";
14
+ readonly ownerOnly: true;
14
15
  }, {
15
16
  readonly value: "bypass";
16
17
  readonly label: "Bypass (dangerous)";
17
18
  readonly description: "Skip Codex approval and sandbox protection. Use only in an externally sandboxed environment.";
19
+ readonly ownerOnly: true;
18
20
  }];
19
21
  export type CodexPermissionMode = (typeof CODEX_PERMISSION_OPTIONS)[number]['value'];
20
22
  export type CodexApprovalShape = {
@@ -1,8 +1,8 @@
1
1
  export const CODEX_PERMISSION_OPTIONS = [
2
2
  { value: 'readonly', label: 'Read-only', description: 'Inspect files and project state without making changes.' },
3
3
  { value: 'workspace', label: 'Workspace-write', description: 'Edit inside the selected workspace using Codex CLI sandboxing.' },
4
- { value: 'full-auto', label: 'Full auto', description: 'Automatically run workspace-write actions with lower-friction approvals.' },
5
- { value: 'bypass', label: 'Bypass (dangerous)', description: 'Skip Codex approval and sandbox protection. Use only in an externally sandboxed environment.' },
4
+ { value: 'full-auto', label: 'Full auto', description: 'Automatically run workspace-write actions with lower-friction approvals.', ownerOnly: true },
5
+ { value: 'bypass', label: 'Bypass (dangerous)', description: 'Skip Codex approval and sandbox protection. Use only in an externally sandboxed environment.', ownerOnly: true },
6
6
  ];
7
7
  export function mapCanonPermissionToCodex(mode) {
8
8
  switch (mode) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canonmsg/codex-plugin",
3
- "version": "0.11.4",
3
+ "version": "0.11.5",
4
4
  "description": "Canon host integration for Codex CLI",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@canonmsg/agent-sdk": "^1.5.0",
33
- "@canonmsg/core": "^0.19.0"
33
+ "@canonmsg/core": "^0.19.1"
34
34
  },
35
35
  "engines": {
36
36
  "node": ">=18.0.0"