aiden-runtime 3.16.0 → 3.16.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 +21 -6
- package/dist/core/version.js +1 -1
- package/dist-bundle/cli.js +1 -1
- package/package.json +2 -1
- package/scripts/postinstall.js +21 -0
package/README.md
CHANGED
|
@@ -28,8 +28,8 @@ Windows · Linux · WSL · macOS (API mode)
|
|
|
28
28
|
|
|
29
29
|
---
|
|
30
30
|
|
|
31
|
-
> **v3.
|
|
32
|
-
>
|
|
31
|
+
> **v3.16 — `npx aiden-os` single-command launch · programmatic API · in-process server + CLI**
|
|
32
|
+
> Run Aiden with one command — no clone, no build, no two terminals. `npx aiden-os` installs the runtime, runs the setup wizard on first use, then starts the server and CLI together in the same process. New `start()` / `run()` exports for embedding Aiden in your own Node.js apps. See [changelog](#changelog) below.
|
|
33
33
|
|
|
34
34
|
---
|
|
35
35
|
|
|
@@ -55,12 +55,27 @@ Windows-only skills (clipboard history, Defender, OneNote, Outlook COM, registry
|
|
|
55
55
|
|
|
56
56
|
## Quick Start
|
|
57
57
|
|
|
58
|
-
###
|
|
58
|
+
### Fastest — `npx` (no install needed)
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
npx aiden-os
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
That's it. Node.js 18+ is the only prerequisite. On first run it asks which AI provider you want (Groq is free), validates your key, saves config to `~/.aiden/app/`, and starts both the server and CLI together in one terminal. Subsequent runs skip the wizard and go straight to the assistant.
|
|
65
|
+
|
|
66
|
+
Or install globally for the `aiden` command:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
npm install -g aiden-os
|
|
70
|
+
aiden
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Prerequisites (for installer / manual builds)
|
|
59
74
|
- Node.js 18+
|
|
60
75
|
- Git
|
|
61
76
|
- Ollama (optional, for offline mode): [ollama.ai](https://ollama.ai)
|
|
62
77
|
|
|
63
|
-
### Windows —
|
|
78
|
+
### Windows — signed installer
|
|
64
79
|
|
|
65
80
|
```powershell
|
|
66
81
|
irm aiden.taracod.com/install.ps1 | iex
|
|
@@ -84,7 +99,7 @@ cp .env.example .env
|
|
|
84
99
|
# Edit .env — add at minimum one API key (Groq is free: console.groq.com)
|
|
85
100
|
```
|
|
86
101
|
|
|
87
|
-
### Run
|
|
102
|
+
### Run (manual install)
|
|
88
103
|
|
|
89
104
|
```bash
|
|
90
105
|
# Terminal 1 — build and start server
|
|
@@ -95,7 +110,7 @@ npm start
|
|
|
95
110
|
npm run cli
|
|
96
111
|
```
|
|
97
112
|
|
|
98
|
-
### After pulling updates
|
|
113
|
+
### After pulling updates (manual install)
|
|
99
114
|
|
|
100
115
|
```bash
|
|
101
116
|
git pull
|
package/dist/core/version.js
CHANGED
package/dist-bundle/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiden-runtime",
|
|
3
|
-
"version": "3.16.
|
|
3
|
+
"version": "3.16.1",
|
|
4
4
|
"description": "Autonomous AI Operating System — Local, Private, Free. Runs on your machine with Ollama.",
|
|
5
5
|
"author": "Taracod <hello@taracod.com>",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"dist/",
|
|
33
33
|
"dist-bundle/cli.js",
|
|
34
34
|
"config/",
|
|
35
|
+
"scripts/postinstall.js",
|
|
35
36
|
"README.md",
|
|
36
37
|
"LICENSE"
|
|
37
38
|
],
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// postinstall.js — runs after npm install
|
|
2
|
+
// Creates required workspace directories
|
|
3
|
+
'use strict'
|
|
4
|
+
const fs = require('fs')
|
|
5
|
+
const path = require('path')
|
|
6
|
+
const root = path.join(__dirname, '..')
|
|
7
|
+
|
|
8
|
+
const dirs = [
|
|
9
|
+
'workspace/sandbox',
|
|
10
|
+
'workspace/uploads',
|
|
11
|
+
'workspace/artifacts',
|
|
12
|
+
'workspace/memory',
|
|
13
|
+
'logs',
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
for (const d of dirs) {
|
|
17
|
+
const p = path.join(root, d)
|
|
18
|
+
if (!fs.existsSync(p)) {
|
|
19
|
+
try { fs.mkdirSync(p, { recursive: true }) } catch { /* skip */ }
|
|
20
|
+
}
|
|
21
|
+
}
|