@akanjs/cli 2.3.13-rc.0 → 2.3.13-rc.1

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/index.js CHANGED
@@ -21145,7 +21145,7 @@ class ContextScript extends script("context", [ContextRunner]) {
21145
21145
  async doctor(workspace, options = {}) {
21146
21146
  Logger17.rawLog(await this.contextRunner.doctor(workspace, options));
21147
21147
  }
21148
- async mcpInstall(workspace, target, { force = false, mode = "readonly" } = {}) {
21148
+ async mcpInstall(workspace, target, { force = false, mode = "apply" } = {}) {
21149
21149
  const targets = resolveMcpInstallTargets(target);
21150
21150
  const written = [];
21151
21151
  for (const t of targets) {
@@ -21156,7 +21156,7 @@ class ContextScript extends script("context", [ContextRunner]) {
21156
21156
  ${written.map((line) => `- ${line}`).join(`
21157
21157
  `)}`);
21158
21158
  }
21159
- async mcp(workspace, { mode = "readonly" } = {}) {
21159
+ async mcp(workspace, { mode = "apply" } = {}) {
21160
21160
  await this.contextRunner.runMcp(workspace, { mode });
21161
21161
  }
21162
21162
  async mcpCall(workspace, tool, {
@@ -21195,7 +21195,7 @@ class ContextCommand extends command("context", [ContextScript], ({ public: targ
21195
21195
  }),
21196
21196
  mcpInstall: target({ desc: "Install the Akan MCP server config for Cursor, Claude Code, and Codex" }).arg("target", String, { desc: "cursor, claude, codex, or all", nullable: true }).option("force", Boolean, { desc: "overwrite an existing Akan MCP server entry", default: false }).option("mode", String, {
21197
21197
  desc: "MCP permission mode",
21198
- default: "readonly",
21198
+ default: "apply",
21199
21199
  enum: ["readonly", "plan", "apply"]
21200
21200
  }).with(Workspace).exec(async function(targetName, force, mode, workspace) {
21201
21201
  await this.contextScript.mcpInstall(workspace, targetName, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "2.3.13-rc.0",
3
+ "version": "2.3.13-rc.1",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -34,7 +34,7 @@
34
34
  "@langchain/openai": "^1.4.6",
35
35
  "@tailwindcss/node": "^4.3.0",
36
36
  "@trapezedev/project": "^7.1.4",
37
- "akanjs": "2.3.13-rc.0",
37
+ "akanjs": "2.3.13-rc.1",
38
38
  "chalk": "^5.6.2",
39
39
  "commander": "^14.0.3",
40
40
  "daisyui": "5.5.23",
@@ -142,6 +142,7 @@
142
142
  "!**/*.test.tsx",
143
143
  "!**/*.spec.ts",
144
144
  "!**/*.spec.tsx",
145
+ "!**/*.constant.ts",
145
146
  "!**/common/**"
146
147
  ],
147
148
  "plugins": ["./node_modules/@akanjs/devkit/lint/no-throw-raw-error.grit"]