axconfig 1.0.0
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/LICENSE +21 -0
- package/README.md +249 -0
- package/bin/axconfig +17 -0
- package/dist/agents/claude-code.d.ts +14 -0
- package/dist/agents/claude-code.js +98 -0
- package/dist/agents/codex.d.ts +15 -0
- package/dist/agents/codex.js +164 -0
- package/dist/agents/gemini.d.ts +14 -0
- package/dist/agents/gemini.js +156 -0
- package/dist/agents/opencode.d.ts +14 -0
- package/dist/agents/opencode.js +152 -0
- package/dist/auth/agents/claude-code.d.ts +9 -0
- package/dist/auth/agents/claude-code.js +106 -0
- package/dist/auth/agents/codex.d.ts +9 -0
- package/dist/auth/agents/codex.js +75 -0
- package/dist/auth/agents/gemini.d.ts +9 -0
- package/dist/auth/agents/gemini.js +97 -0
- package/dist/auth/agents/opencode.d.ts +9 -0
- package/dist/auth/agents/opencode.js +62 -0
- package/dist/auth/check-auth.d.ts +13 -0
- package/dist/auth/check-auth.js +24 -0
- package/dist/auth/extract-credentials.d.ts +11 -0
- package/dist/auth/extract-credentials.js +20 -0
- package/dist/auth/get-access-token.d.ts +35 -0
- package/dist/auth/get-access-token.js +116 -0
- package/dist/auth/types.d.ts +19 -0
- package/dist/auth/types.js +4 -0
- package/dist/build-agent-config.d.ts +41 -0
- package/dist/build-agent-config.js +79 -0
- package/dist/builder.d.ts +19 -0
- package/dist/builder.js +27 -0
- package/dist/cli.d.ts +10 -0
- package/dist/cli.js +79 -0
- package/dist/commands/auth.d.ts +19 -0
- package/dist/commands/auth.js +87 -0
- package/dist/commands/create.d.ts +14 -0
- package/dist/commands/create.js +101 -0
- package/dist/crypto.d.ts +39 -0
- package/dist/crypto.js +78 -0
- package/dist/index.d.ts +51 -0
- package/dist/index.js +53 -0
- package/dist/parse-permissions.d.ts +50 -0
- package/dist/parse-permissions.js +125 -0
- package/dist/types.d.ts +85 -0
- package/dist/types.js +8 -0
- package/package.json +93 -0
package/package.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "axconfig",
|
|
3
|
+
"author": "Łukasz Jerciński",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"description": "Configuration management library and CLI for AI coding agents",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/Jercik/axconfig.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/Jercik/axconfig#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/Jercik/axconfig/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"main": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"import": "./dist/index.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"bin": {
|
|
25
|
+
"axconfig": "bin/axconfig"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"bin/",
|
|
29
|
+
"dist/",
|
|
30
|
+
"README.md",
|
|
31
|
+
"LICENSE"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"prepare": "git config core.hooksPath .githooks",
|
|
35
|
+
"prepublishOnly": "pnpm run rebuild",
|
|
36
|
+
"build": "tsc -p tsconfig.app.json",
|
|
37
|
+
"clean": "rm -rf dist *.tsbuildinfo",
|
|
38
|
+
"format": "prettier --write .",
|
|
39
|
+
"format:check": "prettier --check .",
|
|
40
|
+
"fta": "fta-check",
|
|
41
|
+
"knip": "knip",
|
|
42
|
+
"lint": "eslint",
|
|
43
|
+
"rebuild": "pnpm run clean && pnpm run build",
|
|
44
|
+
"start": "pnpm -s run rebuild && node bin/axconfig",
|
|
45
|
+
"test": "vitest run",
|
|
46
|
+
"test:coverage": "vitest run --coverage",
|
|
47
|
+
"test:watch": "vitest",
|
|
48
|
+
"typecheck": "tsc -b --noEmit"
|
|
49
|
+
},
|
|
50
|
+
"keywords": [
|
|
51
|
+
"ai",
|
|
52
|
+
"agent",
|
|
53
|
+
"cli",
|
|
54
|
+
"config",
|
|
55
|
+
"configuration",
|
|
56
|
+
"claude-code",
|
|
57
|
+
"codex",
|
|
58
|
+
"gemini",
|
|
59
|
+
"opencode",
|
|
60
|
+
"llm",
|
|
61
|
+
"automation",
|
|
62
|
+
"coding-assistant"
|
|
63
|
+
],
|
|
64
|
+
"packageManager": "pnpm@10.26.1",
|
|
65
|
+
"engines": {
|
|
66
|
+
"node": ">=22.14.0"
|
|
67
|
+
},
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"@commander-js/extra-typings": "^14.0.0",
|
|
70
|
+
"@inquirer/password": "^5.0.3",
|
|
71
|
+
"commander": "^14.0.2"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@eslint/compat": "^2.0.0",
|
|
75
|
+
"@eslint/js": "^9.39.2",
|
|
76
|
+
"@total-typescript/ts-reset": "^0.6.1",
|
|
77
|
+
"@types/node": "^25.0.3",
|
|
78
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
79
|
+
"@vitest/eslint-plugin": "^1.5.4",
|
|
80
|
+
"eslint": "^9.39.2",
|
|
81
|
+
"eslint-config-prettier": "^10.1.8",
|
|
82
|
+
"eslint-plugin-unicorn": "^62.0.0",
|
|
83
|
+
"fta-check": "^1.5.1",
|
|
84
|
+
"fta-cli": "^3.0.0",
|
|
85
|
+
"globals": "^16.5.0",
|
|
86
|
+
"knip": "^5.76.1",
|
|
87
|
+
"prettier": "3.7.4",
|
|
88
|
+
"semantic-release": "^25.0.2",
|
|
89
|
+
"typescript": "^5.9.3",
|
|
90
|
+
"typescript-eslint": "^8.50.0",
|
|
91
|
+
"vitest": "^4.0.16"
|
|
92
|
+
}
|
|
93
|
+
}
|