aegisai-harness 0.83.0 → 0.84.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/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  All notable changes to AegisAi Harness are documented here.
4
4
 
5
- ## [0.83.0] - 2026-11-25
5
+ ## [0.84.0] - 2026-11-25
6
6
 
7
7
  ### Fixed
8
8
  - Installation: Windows installer now preflights Node.js 22.13+ with actionable messages; launcher no longer hides npm failures, uses `--omit=dev`, and records a dependency marker. Inno uninstall removes stale `node_modules`/lockfiles; `install.ps1` preserves `data/` and handles GitHub source zips.
package/README.md CHANGED
@@ -10,7 +10,7 @@ A **feature-rich, local-only AI agent harness** — OpenCode-class runtime, but
10
10
  offline-first: no cloud dependencies, no telemetry. 66 milestones, ~200 modules,
11
11
  257 tests, CI green.
12
12
 
13
- > Status: v0.83.0 (see [ROADMAP.md](./ROADMAP.md)).
13
+ > Status: v0.84.0 (see [ROADMAP.md](./ROADMAP.md)).
14
14
  > **Successor to [aegisai-next](https://github.com/user6811992/aegisai-next)** — that project is deprecated; all features have been ported here.
15
15
  > **Live docs:** https://user6811992.github.io/aegisai-harness/
16
16
 
package/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # AegisAi Harness — agent-readable catalog
2
2
 
3
- A feature-rich, local-only AI agent harness. CLI-first, offline-first. v0.83.0.
3
+ A feature-rich, local-only AI agent harness. CLI-first, offline-first. v0.84.0.
4
4
 
5
5
  ## Capabilities
6
6
  - Multi-backend LLM adapter (Ollama + OpenAI-compatible + 18 providers)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aegisai-harness",
3
- "version": "0.83.0",
3
+ "version": "0.84.0",
4
4
  "description": "AegisAi Harness — feature-rich, local-only AI agent harness",
5
5
  "type": "commonjs",
6
6
  "main": "src/index.js",
@@ -4,13 +4,13 @@
4
4
  [Setup]
5
5
  AppId={{8F3D1B2A-6C4E-4B9A-9D21-AE615A010001}}
6
6
  AppName=AegisAi Harness
7
- AppVersion=0.83.0
7
+ AppVersion=0.84.0
8
8
  AppPublisher=AegisAi
9
9
  AppPublisherURL=https://github.com/user6811992/aegisai-harness
10
10
  DefaultDirName={autopf}\AegisAiHarness
11
11
  DefaultGroupName=AegisAi Harness
12
12
  OutputDir=..\..\dist
13
- OutputBaseFilename=AegisAi-Harness-0.83.0-Setup
13
+ OutputBaseFilename=AegisAi-Harness-0.84.0-Setup
14
14
  Compression=lzma2
15
15
  SolidCompression=yes
16
16
  PrivilegesRequired=lowest
@@ -241,6 +241,10 @@ async function backendListModels() {
241
241
  }
242
242
 
243
243
  async function backendChat(bodyObj, onChunk, signal) {
244
+ if (!signal) {
245
+ const ms = parseInt(process.env.AEGISAI_BACKEND_TIMEOUT_MS || '300000', 10);
246
+ signal = AbortSignal.timeout(ms);
247
+ }
244
248
  if (isCircuitOpen()) throw new Error('circuit breaker open');
245
249
  // escalation strategy: try efficient, then capable on failure/empty
246
250
  if (state.type === 'router' && state.routerStrategy === 'escalation' && state.routerUrls.length > 1) {
package/src/index.js CHANGED
@@ -270,9 +270,12 @@ async function main() {
270
270
  }
271
271
  if (!authorized) { sendJson(res, 401, { error: 'unauthorized' }); return; }
272
272
  if (patScopes) {
273
- const required = requiredScope(req.method, urlPathOnly);
274
- const allowed = patScopes.includes('*') || patScopes.includes(required) || (required === 'read' && patScopes.includes('execute'));
275
- if (!allowed) { sendJson(res, 403, { error: 'insufficient_scope', required, granted: patScopes }); return; }
273
+ // /api/stream performs its own scope check (stream/execute) inside stream_actions.
274
+ if (urlPathOnly !== '/api/stream') {
275
+ const required = requiredScope(req.method, urlPathOnly);
276
+ const allowed = patScopes.includes('*') || patScopes.includes(required) || (required === 'read' && patScopes.includes('execute'));
277
+ if (!allowed) { sendJson(res, 403, { error: 'insufficient_scope', required, granted: patScopes }); return; }
278
+ }
276
279
  }
277
280
  }
278
281
  // rate limit — API only; static assets must not consume the API budget
package/src/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // src/version.js — single runtime source for the version string.
2
2
  // Kept separate from package.json so bundled/npm-installed copies behave the same.
3
- const VERSION = '0.83.0';
3
+ const VERSION = '0.84.0';
4
4
  module.exports = { VERSION, version: VERSION };