nyte-ai 0.0.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/README.md +24 -0
- package/bin/nyte.js +26 -0
- package/package.json +31 -0
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# nyte-ai
|
|
2
|
+
|
|
3
|
+
`nyte-ai` is the executable distribution for Nyte, a client/server coding-agent platform with a headless host and terminal client. It installs the `nyte` command.
|
|
4
|
+
|
|
5
|
+
## Status
|
|
6
|
+
|
|
7
|
+
This preview establishes the Nyte CLI distribution. It does not start an agent or server yet.
|
|
8
|
+
|
|
9
|
+
The planned command shape is:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npx nyte-ai # open the terminal client
|
|
13
|
+
npx nyte-ai serve # run the standalone headless server
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
The installed command uses the same entry point:
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
npm install --global nyte-ai
|
|
20
|
+
nyte
|
|
21
|
+
nyte serve
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The published `nyte-ai` package will compose the Nyte terminal client with the headless host. It will not carry a second implementation of either package.
|
package/bin/nyte.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const VERSION = "0.0.1";
|
|
4
|
+
const HELP = `nyte
|
|
5
|
+
|
|
6
|
+
Headless agent runner and terminal client for Nyte
|
|
7
|
+
|
|
8
|
+
Usage:
|
|
9
|
+
nyte Open the terminal client
|
|
10
|
+
nyte serve Run the standalone headless server
|
|
11
|
+
|
|
12
|
+
Status:
|
|
13
|
+
This preview establishes the Nyte CLI distribution. The runner is not released yet.`;
|
|
14
|
+
|
|
15
|
+
const args = process.argv.slice(2);
|
|
16
|
+
if (args.includes("--version") || args.includes("-v")) {
|
|
17
|
+
process.stdout.write(`${VERSION}\n`);
|
|
18
|
+
} else if (args.includes("--help") || args.includes("-h")) {
|
|
19
|
+
process.stdout.write(`${HELP}\n`);
|
|
20
|
+
} else {
|
|
21
|
+
process.stderr.write(
|
|
22
|
+
"Nyte is not available yet. This preview establishes the upcoming headless runner and terminal client distribution.\n",
|
|
23
|
+
);
|
|
24
|
+
process.stderr.write("Run `npx nyte-ai --help` to see the planned command shape.\n");
|
|
25
|
+
process.exitCode = 1;
|
|
26
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nyte-ai",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Headless agent runner and terminal client for Nyte",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"agent",
|
|
7
|
+
"ai",
|
|
8
|
+
"cli",
|
|
9
|
+
"coding-agent",
|
|
10
|
+
"headless"
|
|
11
|
+
],
|
|
12
|
+
"license": "UNLICENSED",
|
|
13
|
+
"bin": {
|
|
14
|
+
"nyte": "bin/nyte.js"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"bin",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"type": "module",
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=26"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"clean": "rm -rf node_modules .turbo",
|
|
29
|
+
"test": "node --test"
|
|
30
|
+
}
|
|
31
|
+
}
|