@codemcp/ade 0.2.2 → 0.2.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.
@@ -38,5 +38,5 @@
38
38
  "typescript": "catalog:",
39
39
  "vitest": "catalog:"
40
40
  },
41
- "version": "0.2.2"
41
+ "version": "0.2.4"
42
42
  }
@@ -6,5 +6,6 @@ export default defineConfig({
6
6
  dts: true,
7
7
  tsconfig: "tsconfig.build.json",
8
8
  target: "node22",
9
- clean: true
9
+ clean: true,
10
+ noExternal: [/^@clack\//, /^@codemcp\//]
10
11
  });
@@ -38,5 +38,5 @@
38
38
  "typescript": "catalog:",
39
39
  "vitest": "catalog:"
40
40
  },
41
- "version": "0.2.2"
41
+ "version": "0.2.4"
42
42
  }
@@ -39,5 +39,5 @@
39
39
  "typescript": "catalog:",
40
40
  "vitest": "catalog:"
41
41
  },
42
- "version": "0.2.2"
42
+ "version": "0.2.4"
43
43
  }
@@ -206,16 +206,17 @@ describe("kiroWriter", () => {
206
206
 
207
207
  expect(rigidAgent.tools).toContain("read");
208
208
  expect(rigidAgent.tools).toContain("spec");
209
+ expect(rigidAgent.tools).toContain("shell");
209
210
  expect(rigidAgent.tools).toContain("@workflows/*");
210
211
  expect(rigidAgent.allowedTools).toContain("@workflows/*");
211
212
  expect(rigidAgent.mcpServers.workflows.autoApprove).toEqual(["*"]);
212
213
  expect(rigidAgent.tools).not.toContain("write");
213
- expect(rigidAgent.tools).not.toContain("shell");
214
+ expect(rigidAgent.tools).not.toContain("shell(*)");
214
215
  expect(rigidAgent.tools).not.toContain("web");
215
216
 
216
217
  expect(maxAgent.tools).toContain("read");
217
218
  expect(maxAgent.tools).toContain("write");
218
- expect(maxAgent.tools).toContain("shell");
219
+ expect(maxAgent.tools).toContain("shell(*)");
219
220
  expect(maxAgent.tools).toContain("spec");
220
221
  expect(maxAgent.tools).toContain("@workflows/*");
221
222
  expect(maxAgent.allowedTools).toContain("@workflows/*");
@@ -53,7 +53,7 @@ function getKiroTools(config: LogicalConfig): string[] {
53
53
  return [
54
54
  ...(getCapabilityDecision(config, "read") !== "deny" ? ["read"] : []),
55
55
  ...(allowsCapability(config, "edit_write") ? ["write"] : []),
56
- ...(allowsCapability(config, "bash_unsafe") ? ["shell"] : []),
56
+ ...(allowsCapability(config, "bash_unsafe") ? ["shell(*)"] : ["shell"]),
57
57
  "spec",
58
58
  ...mcpTools
59
59
  ];
package/rebuild_cli.sh ADDED
@@ -0,0 +1,3 @@
1
+ #!/bin/bash
2
+ cd packages/cli
3
+ pnpm build