@niq.run/niq 0.1.0 → 0.2.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/README.md +55 -0
- package/package.json +7 -7
package/README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# @niq.run/niq
|
|
2
|
+
|
|
3
|
+
> **niq runs programs that haven't been written yet.**
|
|
4
|
+
|
|
5
|
+
niq is an **event-driven agent runtime** — a single agent composed of many **Workers** that collaborate over an event bus. Each worker handles its own focus; together they form the complete agent.
|
|
6
|
+
|
|
7
|
+
- **Worker** — an actor-like unit with its own state that communicates only through events
|
|
8
|
+
- **Program** — the source of a Worker's capability: a natural-language prompt (like the skills of mainstream agents) or a DSL script (like programmatic tool calling, PTC) — both are source for generating tool calls
|
|
9
|
+
- **Event** — the only communication language between Workers
|
|
10
|
+
|
|
11
|
+
> **Status: early, fast-moving development.** The design is still evolving; APIs and behavior may change without notice.
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npm install -g @niq.run/niq
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Requires Node.js ≥ 14. The native binary for your platform is installed automatically as an npm optional dependency — **no postinstall scripts, no downloads at setup time**, and it works in offline / air-gapped environments.
|
|
20
|
+
|
|
21
|
+
Supported platforms: macOS (arm64, x64) · Linux (arm64, x64) · Windows (arm64, x64)
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
niq # start niq with the default preset
|
|
27
|
+
niq --version
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Once started, open the WebUI (URL is printed in the terminal) to create and run projects, chat, and inspect the event flow.
|
|
31
|
+
|
|
32
|
+
## How this package works
|
|
33
|
+
|
|
34
|
+
This package is a thin Node.js launcher. The actual Go binary ships in per-platform packages that npm installs automatically via `optionalDependencies`:
|
|
35
|
+
|
|
36
|
+
| Package | Contents |
|
|
37
|
+
|---|---|
|
|
38
|
+
| `@niq.run/niq` | launcher shim (this package) |
|
|
39
|
+
| `@niq.run/niq-darwin-arm64` | macOS Apple Silicon binary |
|
|
40
|
+
| `@niq.run/niq-darwin-x64` | macOS Intel binary |
|
|
41
|
+
| `@niq.run/niq-linux-arm64` | Linux ARM64 binary |
|
|
42
|
+
| `@niq.run/niq-linux-x64` | Linux x64 binary |
|
|
43
|
+
| `@niq.run/niq-win32-arm64` | Windows ARM64 binary |
|
|
44
|
+
| `@niq.run/niq-win32-x64` | Windows x64 binary |
|
|
45
|
+
|
|
46
|
+
Only the package matching your platform is unpacked; the rest are skipped by npm. The launcher resolves the installed binary at runtime and forwards all arguments to it.
|
|
47
|
+
|
|
48
|
+
## Links
|
|
49
|
+
|
|
50
|
+
- Repository: <https://github.com/niq-run/niq>
|
|
51
|
+
- Issues: <https://github.com/niq-run/niq/issues>
|
|
52
|
+
|
|
53
|
+
## License
|
|
54
|
+
|
|
55
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@niq.run/niq",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "niq - an AI agent",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"bin/"
|
|
15
15
|
],
|
|
16
16
|
"optionalDependencies": {
|
|
17
|
-
"@niq.run/niq-darwin-arm64": "0.
|
|
18
|
-
"@niq.run/niq-darwin-x64": "0.
|
|
19
|
-
"@niq.run/niq-linux-arm64": "0.
|
|
20
|
-
"@niq.run/niq-linux-x64": "0.
|
|
21
|
-
"@niq.run/niq-win32-x64": "0.
|
|
22
|
-
"@niq.run/niq-win32-arm64": "0.
|
|
17
|
+
"@niq.run/niq-darwin-arm64": "0.2.0",
|
|
18
|
+
"@niq.run/niq-darwin-x64": "0.2.0",
|
|
19
|
+
"@niq.run/niq-linux-arm64": "0.2.0",
|
|
20
|
+
"@niq.run/niq-linux-x64": "0.2.0",
|
|
21
|
+
"@niq.run/niq-win32-x64": "0.2.0",
|
|
22
|
+
"@niq.run/niq-win32-arm64": "0.2.0"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=14"
|