oxcode-ai 0.0.0-stage → 0.11.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/LICENSE.txt +65 -0
- package/README.md +122 -2
- package/dist/THIRD-PARTY-NOTICES.txt +1822 -0
- package/dist/cli-main.js +3547 -0
- package/dist/cli.js +23 -0
- package/dist/sql-wasm.wasm +0 -0
- package/package.json +28 -4
package/dist/cli.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
// src/cli/nodeFloor.ts
|
|
5
|
+
var CLI_NODE_FLOOR = ">=18";
|
|
6
|
+
function nodeTooOld(version, floor) {
|
|
7
|
+
const needed = Number(/^>=(\d+)$/.exec(floor)[1]);
|
|
8
|
+
const found = String(version).replace(/^v/, "");
|
|
9
|
+
const major = Number(found.split(".")[0]);
|
|
10
|
+
if (major >= needed) {
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
return "OxCode needs Node " + needed + " or newer, and this is Node " + found + ". Install a newer Node from https://nodejs.org and run oxcode again.";
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// src/cli/launcher.ts
|
|
17
|
+
var tooOld = nodeTooOld(process.versions.node, CLI_NODE_FLOOR);
|
|
18
|
+
if (tooOld !== null) {
|
|
19
|
+
process.stderr.write(tooOld + "\n");
|
|
20
|
+
process.exitCode = 1;
|
|
21
|
+
} else {
|
|
22
|
+
require("./cli-main.js").start();
|
|
23
|
+
}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oxcode-ai",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.11.1",
|
|
4
|
+
"description": "AI software engineer that plans, writes, tests, reviews and debugs code across your development lifecycle. Unlimited tokens. 82% on SWE-bench Verified. Made in India. Free to start.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ai",
|
|
7
|
+
"coding assistant",
|
|
8
|
+
"cli",
|
|
9
|
+
"agent",
|
|
10
|
+
"oxcode"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://www.oxcode.ai",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://www.oxcode.ai/dashboard/issues",
|
|
15
|
+
"email": "hello@oxcode.ai"
|
|
16
|
+
},
|
|
17
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
18
|
+
"bin": {
|
|
19
|
+
"oxcode": "dist/cli.js"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist/cli.js",
|
|
23
|
+
"dist/cli-main.js",
|
|
24
|
+
"dist/sql-wasm.wasm",
|
|
25
|
+
"dist/THIRD-PARTY-NOTICES.txt"
|
|
26
|
+
],
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=18"
|
|
29
|
+
}
|
|
30
|
+
}
|