@qoder-ai/qodercli 0.2.5-beta → 0.2.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.
- package/bin/qodercli +47 -0
- package/package.json +81 -28
- package/scripts/install.js +670 -0
- package/bundle/builtin/agent-creator/SKILL.md +0 -327
- package/bundle/builtin/hook-config/SKILL.md +0 -480
- package/bundle/builtin/mcp-config/SKILL.md +0 -155
- package/bundle/builtin/skill-creator/SKILL.md +0 -294
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/client/main.js +0 -101
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.d.ts +0 -7
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js +0 -9
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.d.ts +0 -48
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.js +0 -323
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/types.d.ts +0 -36
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/types.js +0 -7
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +0 -34
- package/bundle/policies/sandbox-default.toml +0 -19
- package/bundle/qodercli.js +0 -5006
- package/bundle/sandbox-macos-permissive-open.sb +0 -27
- package/bundle/sandbox-macos-permissive-proxied.sb +0 -37
- package/bundle/sandbox-macos-restrictive-open.sb +0 -96
- package/bundle/sandbox-macos-restrictive-proxied.sb +0 -98
- package/bundle/sandbox-macos-strict-open.sb +0 -131
- package/bundle/sandbox-macos-strict-proxied.sb +0 -133
package/bin/qodercli
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const path = require('path');
|
|
4
|
+
const fs = require('fs');
|
|
5
|
+
const { spawn } = require('child_process');
|
|
6
|
+
|
|
7
|
+
const BINARY_NAME = 'qodercli';
|
|
8
|
+
const PACKAGE_ROOT = path.resolve(__dirname, '..');
|
|
9
|
+
const BIN_DIR = path.join(PACKAGE_ROOT, 'bin');
|
|
10
|
+
const binPath = path.join(
|
|
11
|
+
BIN_DIR,
|
|
12
|
+
BINARY_NAME + (process.platform === 'win32' ? '.exe' : ''),
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
function showInstallationError() {
|
|
16
|
+
console.error('qodercli binary not found');
|
|
17
|
+
console.error(
|
|
18
|
+
'This usually means the installation process failed or was incomplete.',
|
|
19
|
+
);
|
|
20
|
+
console.error('System Information for debugging:');
|
|
21
|
+
console.error(` Platform: ${process.platform} (${process.arch})`);
|
|
22
|
+
console.error(` Node.js: ${process.version}`);
|
|
23
|
+
console.error(` npm: ${process.env.npm_version || 'unknown'}`);
|
|
24
|
+
console.error(` Binary path: ${binPath}`);
|
|
25
|
+
console.error('');
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// check if the binary file exists
|
|
29
|
+
if (!fs.existsSync(binPath)) {
|
|
30
|
+
showInstallationError();
|
|
31
|
+
process.exit(1);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// execute the actual binary file
|
|
35
|
+
const child = spawn(binPath, process.argv.slice(2), {
|
|
36
|
+
stdio: 'inherit',
|
|
37
|
+
windowsHide: false,
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
child.on('close', (code) => {
|
|
41
|
+
process.exit(code);
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
child.on('error', (error) => {
|
|
45
|
+
console.error('execution failed:', error.message);
|
|
46
|
+
process.exit(1);
|
|
47
|
+
});
|
package/package.json
CHANGED
|
@@ -1,46 +1,99 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qoder-ai/qodercli",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
3
|
+
"version": "0.2.6",
|
|
4
|
+
"description": "qodercli - npm installer",
|
|
5
|
+
"private": false,
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
8
9
|
"bin": {
|
|
9
|
-
"qodercli": "
|
|
10
|
+
"qodercli": "./bin/qodercli"
|
|
11
|
+
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"postinstall": "node scripts/install.js"
|
|
10
14
|
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"qoder",
|
|
17
|
+
"ai",
|
|
18
|
+
"cli"
|
|
19
|
+
],
|
|
20
|
+
"author": "Qoder AI",
|
|
21
|
+
"license": "SEE LICENSE IN README.md",
|
|
22
|
+
"homepage": "https://qoder.com",
|
|
11
23
|
"files": [
|
|
12
|
-
"
|
|
24
|
+
"scripts/",
|
|
25
|
+
"bin/",
|
|
13
26
|
"README.md",
|
|
14
27
|
"LICENSE"
|
|
15
28
|
],
|
|
16
29
|
"engines": {
|
|
17
|
-
"node": ">=
|
|
30
|
+
"node": ">=14"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"adm-zip": "^0.5.10",
|
|
34
|
+
"tar": "^4.4.19"
|
|
18
35
|
},
|
|
19
36
|
"os": [
|
|
20
37
|
"darwin",
|
|
21
38
|
"linux",
|
|
22
39
|
"win32"
|
|
23
40
|
],
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"cli",
|
|
28
|
-
"coding",
|
|
29
|
-
"assistant",
|
|
30
|
-
"gemini"
|
|
41
|
+
"cpu": [
|
|
42
|
+
"x64",
|
|
43
|
+
"arm64"
|
|
31
44
|
],
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
"preferGlobal": true,
|
|
46
|
+
"binaries": {
|
|
47
|
+
"version": "0.2.6",
|
|
48
|
+
"files": [
|
|
49
|
+
{
|
|
50
|
+
"os": "darwin",
|
|
51
|
+
"arch": "arm64",
|
|
52
|
+
"url": "https://qoder-ide.oss-accelerate.aliyuncs.com/qodercli/releases/0.2.6/qodercli-darwin-arm64.tar.gz",
|
|
53
|
+
"sha256": "a04a55f730470cefdda69aeb383c43a92e945539d192b344c92b0f6625e3f9b2"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"os": "darwin",
|
|
57
|
+
"arch": "amd64",
|
|
58
|
+
"url": "https://qoder-ide.oss-accelerate.aliyuncs.com/qodercli/releases/0.2.6/qodercli-darwin-x64.tar.gz",
|
|
59
|
+
"sha256": "b98f2567f34f68269001326813f3c7b42fc5e31a342d2c0b19867684c43de185"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"os": "linux",
|
|
63
|
+
"arch": "arm64-musl",
|
|
64
|
+
"url": "https://qoder-ide.oss-accelerate.aliyuncs.com/qodercli/releases/0.2.6/qodercli-linux-arm64-musl.tar.gz",
|
|
65
|
+
"sha256": "f610dc8ddb74e6cdf3e3d1c382762929d7f5a1b81537dcbe5e47ff40c617f938"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"os": "linux",
|
|
69
|
+
"arch": "arm64",
|
|
70
|
+
"url": "https://qoder-ide.oss-accelerate.aliyuncs.com/qodercli/releases/0.2.6/qodercli-linux-arm64.tar.gz",
|
|
71
|
+
"sha256": "fbcd05cf64938ef2fa6228ae9026cebb1640d065f57c5bc3736748443e68746d"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"os": "linux",
|
|
75
|
+
"arch": "amd64-baseline",
|
|
76
|
+
"url": "https://qoder-ide.oss-accelerate.aliyuncs.com/qodercli/releases/0.2.6/qodercli-linux-x64-baseline.tar.gz",
|
|
77
|
+
"sha256": "1985dd1d92c812c14f1869d556f7e0bc78cb3d154c43795bca5ec095d72fbd09"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"os": "linux",
|
|
81
|
+
"arch": "amd64-musl",
|
|
82
|
+
"url": "https://qoder-ide.oss-accelerate.aliyuncs.com/qodercli/releases/0.2.6/qodercli-linux-x64-musl.tar.gz",
|
|
83
|
+
"sha256": "15842d2aa43c60c8985801ac9d1491054a140448f700fe4d14bc228dda6c7a7e"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"os": "linux",
|
|
87
|
+
"arch": "amd64",
|
|
88
|
+
"url": "https://qoder-ide.oss-accelerate.aliyuncs.com/qodercli/releases/0.2.6/qodercli-linux-x64.tar.gz",
|
|
89
|
+
"sha256": "be3b283db58e36394ac9c15b3b966f23188d6795be7e1edbec5535c9d8153293"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"os": "windows",
|
|
93
|
+
"arch": "amd64",
|
|
94
|
+
"url": "https://qoder-ide.oss-accelerate.aliyuncs.com/qodercli/releases/0.2.6/qodercli-windows-x64.zip",
|
|
95
|
+
"sha256": "2ad9cfb48b9d686f561507bbbe49b064441762363db1f63717f1840efcc6aca1"
|
|
96
|
+
}
|
|
97
|
+
]
|
|
45
98
|
}
|
|
46
99
|
}
|