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 CHANGED
@@ -28,8 +28,8 @@ Windows · Linux · WSL · macOS (API mode)
28
28
 
29
29
  ---
30
30
 
31
- > **v3.15Reliable browser automation · LocalSend · Security scanner · OSS contributor infrastructure**
32
- > Browser tools are now built on a centralised Playwright session (`playwrightBridge.ts`) persistent context, idle-close, and a new `browser_get_url` tool. Send files to any device on your LAN with the LocalSend skill. Opt-in Decepticon security scanner. Full CONTRIBUTING guide, issue templates, public roadmap, and good-first-issues for contributors. See [changelog](#changelog) below.
31
+ > **v3.16`npx aiden-os` single-command launch · programmatic API · in-process server + CLI**
32
+ > Run Aiden with one commandno 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
- ### Prerequisites
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 — one-line install
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
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // AUTO-GENERATED by scripts/inject-version.js — do not edit by hand
5
- exports.VERSION = '3.16.0';
5
+ exports.VERSION = '3.16.1';
@@ -208,7 +208,7 @@ var init_updateCheck = __esm({
208
208
  var VERSION;
209
209
  var init_version = __esm({
210
210
  "core/version.ts"() {
211
- VERSION = "3.16.0";
211
+ VERSION = "3.16.1";
212
212
  }
213
213
  });
214
214
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiden-runtime",
3
- "version": "3.16.0",
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
+ }