junis 0.3.3 → 0.3.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/dist/cli/index.js CHANGED
@@ -31,7 +31,7 @@ var require_package = __commonJS({
31
31
  "package.json"(exports2, module2) {
32
32
  module2.exports = {
33
33
  name: "junis",
34
- version: "0.3.3",
34
+ version: "0.3.4",
35
35
  description: "One-line device control for AI agents",
36
36
  bin: {
37
37
  junis: "dist/cli/index.js"
@@ -371,9 +371,9 @@ var toolPermissions = {
371
371
  cron_delete: "confirm",
372
372
  edit_block: "confirm",
373
373
  kill_process: "confirm",
374
- // 시스템 변경 — 기본 차단 (PDF 7.3절)
375
- execute_command: "deny",
376
- write_file: "deny"
374
+ // 시스템 변경 — 허용
375
+ execute_command: "confirm",
376
+ write_file: "confirm"
377
377
  };
378
378
  function checkPermission(toolName) {
379
379
  const level = toolPermissions[toolName];
@@ -84,9 +84,9 @@ var toolPermissions = {
84
84
  cron_delete: "confirm",
85
85
  edit_block: "confirm",
86
86
  kill_process: "confirm",
87
- // 시스템 변경 — 기본 차단 (PDF 7.3절)
88
- execute_command: "deny",
89
- write_file: "deny"
87
+ // 시스템 변경 — 허용
88
+ execute_command: "confirm",
89
+ write_file: "confirm"
90
90
  };
91
91
  function checkPermission(toolName) {
92
92
  const level = toolPermissions[toolName];
@@ -81,9 +81,9 @@ var toolPermissions = {
81
81
  cron_delete: "confirm",
82
82
  edit_block: "confirm",
83
83
  kill_process: "confirm",
84
- // 시스템 변경 — 기본 차단 (PDF 7.3절)
85
- execute_command: "deny",
86
- write_file: "deny"
84
+ // 시스템 변경 — 허용
85
+ execute_command: "confirm",
86
+ write_file: "confirm"
87
87
  };
88
88
  function checkPermission(toolName) {
89
89
  const level = toolPermissions[toolName];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "junis",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "One-line device control for AI agents",
5
5
  "bin": {
6
6
  "junis": "dist/cli/index.js"