axconfig 3.6.5 → 3.6.6
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.
|
@@ -14,10 +14,10 @@ import { createJsonConfigOperations, readJsonConfig, } from "../read-write-json-
|
|
|
14
14
|
const REVERSE_TOOL_MAP = {
|
|
15
15
|
read_file: "read",
|
|
16
16
|
write_file: "write",
|
|
17
|
-
|
|
17
|
+
replace: "write", // Gemini's replace maps to canonical "write"
|
|
18
18
|
run_shell_command: "bash",
|
|
19
19
|
glob: "glob",
|
|
20
|
-
|
|
20
|
+
grep_search: "grep",
|
|
21
21
|
web_fetch: "webfetch",
|
|
22
22
|
};
|
|
23
23
|
/**
|
package/dist/agents/gemini.js
CHANGED
|
@@ -19,10 +19,10 @@ import { buildSettingsWithTemporaryWorkspace, readExistingSettings, } from "./ge
|
|
|
19
19
|
/** Gemini CLI tool name mapping */
|
|
20
20
|
const TOOL_MAP = {
|
|
21
21
|
read: "read_file",
|
|
22
|
-
write: ["write_file", "
|
|
22
|
+
write: ["write_file", "replace"], // Canonical "write" maps to both Gemini's write_file and replace (edit)
|
|
23
23
|
bash: "run_shell_command",
|
|
24
24
|
glob: "glob",
|
|
25
|
-
grep: "
|
|
25
|
+
grep: "grep_search",
|
|
26
26
|
webfetch: "web_fetch",
|
|
27
27
|
};
|
|
28
28
|
/** Gemini CLI capabilities */
|
|
@@ -81,7 +81,7 @@ function build(config, output) {
|
|
|
81
81
|
const rules = [];
|
|
82
82
|
if (permissions) {
|
|
83
83
|
// Collect tool permissions (excluding path rules which were warned about)
|
|
84
|
-
// Use flatMap since canonical "write" maps to both write_file and
|
|
84
|
+
// Use flatMap since canonical "write" maps to both write_file and replace
|
|
85
85
|
const allowTools = permissions.allow
|
|
86
86
|
.filter((r) => r.type === "tool")
|
|
87
87
|
.flatMap((r) => {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "axconfig",
|
|
3
3
|
"author": "Łukasz Jerciński",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "3.6.
|
|
5
|
+
"version": "3.6.6",
|
|
6
6
|
"description": "Unified configuration management for AI coding agents - common API for permissions, settings, and config across Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, and OpenCode",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -75,10 +75,10 @@
|
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
77
77
|
"@types/iarna__toml": "^2.0.5",
|
|
78
|
-
"@types/node": "^25.3.
|
|
78
|
+
"@types/node": "^25.3.5",
|
|
79
79
|
"@vitest/coverage-v8": "^4.0.18",
|
|
80
|
-
"eslint": "^10.0.
|
|
81
|
-
"eslint-config-axkit": "^1.
|
|
80
|
+
"eslint": "^10.0.2",
|
|
81
|
+
"eslint-config-axkit": "^1.4.0",
|
|
82
82
|
"fta-check": "^1.5.1",
|
|
83
83
|
"fta-cli": "^3.0.0",
|
|
84
84
|
"knip": "^5.85.0",
|