oxcode-ai 0.0.0-stage → 0.11.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.txt +65 -0
- package/README.md +48 -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 +33 -4
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
Copyright (c) 2026 Oxcode.ai. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This license covers the OxCode extension for Visual Studio Code, as published
|
|
4
|
+
on the Visual Studio Marketplace and Open VSX, and the OxCode command-line
|
|
5
|
+
tool published on npm as oxcode-ai, including every update to them
|
|
6
|
+
(together, "the Software").
|
|
7
|
+
|
|
8
|
+
1. Licensed, not sold.
|
|
9
|
+
The Software is licensed to you, not sold. Oxcode.ai keeps all right, title
|
|
10
|
+
and interest in the Software and in every copy of it.
|
|
11
|
+
|
|
12
|
+
2. What you may do.
|
|
13
|
+
Oxcode.ai grants you a personal, non-exclusive, non-transferable and
|
|
14
|
+
revocable license to install and run the Software, only to use the OxCode
|
|
15
|
+
service and only under the OxCode Terms of Service at
|
|
16
|
+
https://www.oxcode.ai/terms ("the Terms"). The Terms are part of this
|
|
17
|
+
license. Where this license and the Terms differ, the Terms govern.
|
|
18
|
+
|
|
19
|
+
3. What you may not do.
|
|
20
|
+
Except where applicable law expressly permits it despite this limitation,
|
|
21
|
+
you may not:
|
|
22
|
+
(a) copy the Software, other than the copies needed to install and run it
|
|
23
|
+
under section 2;
|
|
24
|
+
(b) modify, adapt, translate or create derivative works of the Software;
|
|
25
|
+
(c) distribute, publish, sell, rent, lease, lend, sublicense or otherwise
|
|
26
|
+
transfer the Software or any part of it;
|
|
27
|
+
(d) reverse engineer, decompile or disassemble the Software, or otherwise
|
|
28
|
+
try to derive its source code or internal logic;
|
|
29
|
+
(e) use the Software with any service other than the OxCode service;
|
|
30
|
+
(f) remove or change any copyright, license or ownership notice in the
|
|
31
|
+
Software;
|
|
32
|
+
(g) use the Software, or any information obtained from it, to build,
|
|
33
|
+
train or improve a competing product or service;
|
|
34
|
+
(h) extract, copy or reuse the prompts, model settings, routing logic or
|
|
35
|
+
configuration contained in the Software;
|
|
36
|
+
(i) bypass, disable or interfere with any usage limit, authentication or
|
|
37
|
+
other technical protection in the Software or the OxCode service.
|
|
38
|
+
|
|
39
|
+
4. Third-party components.
|
|
40
|
+
The Software includes open-source components that their authors license
|
|
41
|
+
under their own terms. Those terms, and the notices they require, are in
|
|
42
|
+
THIRD-PARTY-NOTICES.txt, which ships with the Software in its dist folder.
|
|
43
|
+
Nothing in this license limits your rights under those terms for those
|
|
44
|
+
components.
|
|
45
|
+
|
|
46
|
+
5. Termination.
|
|
47
|
+
This license ends automatically if you breach it, or when your right to use
|
|
48
|
+
the OxCode service ends. When it ends you must stop using the Software and
|
|
49
|
+
delete every copy you have.
|
|
50
|
+
|
|
51
|
+
6. No warranty.
|
|
52
|
+
To the extent the law allows, the Software is provided "as is", without
|
|
53
|
+
warranty of any kind, express or implied, including the warranties of
|
|
54
|
+
merchantability, fitness for a particular purpose and non-infringement.
|
|
55
|
+
|
|
56
|
+
7. Limitation of liability.
|
|
57
|
+
To the extent the law allows, Oxcode.ai is not liable for any indirect,
|
|
58
|
+
incidental, special, consequential or punitive damages, or for any loss of
|
|
59
|
+
data, profits or revenue, arising from or related to the Software. Any
|
|
60
|
+
liability Oxcode.ai has is subject to the limits in the Terms.
|
|
61
|
+
|
|
62
|
+
8. Governing law.
|
|
63
|
+
This license is governed by the laws of the Dubai International Financial
|
|
64
|
+
Centre (DIFC). The courts of the DIFC have exclusive jurisdiction over any
|
|
65
|
+
dispute arising from or related to this license or the Software.
|
package/README.md
CHANGED
|
@@ -1,3 +1,49 @@
|
|
|
1
|
-
#
|
|
1
|
+
# OxCode in your terminal
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
`oxcode` is the OxCode agent as a command: give it a task, and it reads your project, makes the change and checks its own work. It is the same agent as the OxCode extension for VS Code, built from the same commit and released with the same version.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install -g oxcode-ai
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Node 18 or later.
|
|
12
|
+
|
|
13
|
+
## Sign in
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
oxcode login
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Or set `OXCODE_API_KEY` to a key from your Oxlo account.
|
|
20
|
+
|
|
21
|
+
## Use it
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
oxcode "add input validation to the signup form"
|
|
25
|
+
oxcode "what does this repo do" > answer.txt
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
When stdout is piped or redirected, it holds only the answer; progress goes to stderr. `oxcode --help` lists every option, and the exit code says how the run ended (`oxcode --help-all` has the table).
|
|
29
|
+
|
|
30
|
+
## When your runs for the day are used up
|
|
31
|
+
|
|
32
|
+
A task that is already going when your runs run out is not cut off mid-edit. It finishes the change it is on, leaves the project working, and stops at a checkpoint: what is done, what is not, and the next step. The run exits 5, and the checkpoint is printed on stdout as well, so a script can read it.
|
|
33
|
+
|
|
34
|
+
Once your runs are back, pick it up in the same folder:
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
oxcode continue
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
In a session, type `/continue`. The continued task is one new run.
|
|
41
|
+
|
|
42
|
+
One checkpoint is kept per folder, in `~/.oxcode/checkpoints/`. It is replaced when a new task starts in that folder and expires after 7 days. On Linux and macOS the file is readable only by you (mode 0600, in a 0700 folder). On Windows it relies on your user profile's permissions: anyone who can read your profile folder can read it.
|
|
43
|
+
|
|
44
|
+
## Links
|
|
45
|
+
|
|
46
|
+
- Website: https://oxlo.ai
|
|
47
|
+
- Source and issues: https://github.com/Oxcode-ai/OxCode
|
|
48
|
+
|
|
49
|
+
Copyright (c) 2026 Oxcode.ai. Licensed, not sold, under the license in LICENSE.txt and the terms at https://www.oxcode.ai/terms. Open-source components it includes are listed, with their licenses, in dist/THIRD-PARTY-NOTICES.txt.
|