@dcl-regenesislabs/opendcl 0.1.4 → 0.1.5-23161613075.commit-a53b5dd

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
@@ -32,7 +32,7 @@ The result: **more creators building more scenes, faster.**
32
32
  - **Integrated commands** — `/init` to scaffold, `/preview` to launch the dev server, `/tasks` to manage running processes, `/review` to audit code
33
33
  - **TypeScript validation** — catches type errors immediately after writing code
34
34
  - **Free asset catalogs** — 2,700+ Creator Hub 3D models, 900+ CC0-licensed models, and 50 audio files the agent proactively suggests when building scenes
35
- - **Permission gate** — prompts for confirmation before destructive bash commands, writes to sensitive files, or any file access outside the working directory
35
+ - **Permission gate** — prompts for confirmation before destructive bash commands, writes to sensitive files, or writes/edits outside the working directory
36
36
  - **Compact tool output** — write shows path + size instead of file content, read shows a 5-line preview instead of 10
37
37
  - **Session persistence** — pick up where you left off across sessions
38
38
 
@@ -7,7 +7,7 @@
7
7
  */
8
8
 
9
9
  import type { ExtensionFactory } from "@mariozechner/pi-coding-agent";
10
- import { classifyBashCommand, classifyFilePath, isOutsideCwd, OUTSIDE_CWD_REASON } from "./utils.js";
10
+ import { classifyBashCommand, classifyFilePath, OUTSIDE_CWD_REASON } from "./utils.js";
11
11
  import { resolve } from "node:path";
12
12
 
13
13
  type BlockResult = { block: true; reason: string };
@@ -91,17 +91,6 @@ const extension: ExtensionFactory = (pi) => {
91
91
  return promptOrBlock(ctx, reason, `Path: ${filePath}`, () => sessionAllow.add(reason));
92
92
  }
93
93
 
94
- if (toolName === "read" || toolName === "grep" || toolName === "find" || toolName === "ls") {
95
- const filePath = (event.input as { path?: string }).path ?? "";
96
- if (!filePath) return;
97
-
98
- const resolved = resolve(ctx.cwd, filePath);
99
- const reason = isOutsideCwd(filePath, ctx.cwd);
100
- if (!reason) return;
101
- if (isPathAllowed(resolved)) return;
102
-
103
- return promptOrBlock(ctx, reason, `Path: ${filePath}`, () => allowedPaths.add(resolved));
104
- }
105
94
  });
106
95
  };
107
96
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl-regenesislabs/opendcl",
3
- "version": "0.1.4",
3
+ "version": "0.1.5-23161613075.commit-a53b5dd",
4
4
  "description": "AI coding assistant for Decentraland SDK7 scene development",
5
5
  "type": "module",
6
6
  "bin": {
@@ -67,5 +67,5 @@
67
67
  "prompts/",
68
68
  "context/"
69
69
  ],
70
- "commit": "4a4167760132e6b2be9adbf0486f4b061222db69"
70
+ "commit": "a53b5dd3236642aabecca2978fe44ce6494d4be3"
71
71
  }