@buildaharness/aielia 0.3.2 → 0.3.4

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.
Files changed (43) hide show
  1. package/README.md +1 -1
  2. package/dist/agent-loop.d.ts +9 -1
  3. package/dist/assistant-session.d.ts +4 -4
  4. package/dist/assistant-types.d.ts +8 -0
  5. package/dist/assistant.d.ts +39 -0
  6. package/dist/{bin-CqkqT6KK.js → bin-CdVTAe7j.js} +136 -34
  7. package/dist/bin-CdVTAe7j.js.map +1 -0
  8. package/dist/cli-session.d.ts +12 -0
  9. package/dist/cli.d.ts +3 -0
  10. package/dist/cli.js +1 -1
  11. package/dist/config.d.ts +22 -0
  12. package/dist/first-run.d.ts +3 -0
  13. package/dist/goal-graph-flag.d.ts +44 -0
  14. package/dist/goal-graph-reconcile.d.ts +55 -0
  15. package/dist/goal-graph-service.d.ts +48 -0
  16. package/dist/goal-graph-store.d.ts +485 -0
  17. package/dist/goal-graph-suggest-flag.d.ts +34 -0
  18. package/dist/goal-identity-matcher.d.ts +21 -0
  19. package/dist/goal-thread-identity.d.ts +32 -0
  20. package/dist/goal-thread-scheduler.d.ts +78 -0
  21. package/dist/harness-bridge.d.ts +17 -0
  22. package/dist/index.d.ts +11 -1
  23. package/dist/index.js +86 -71
  24. package/dist/live-steering-channel.d.ts +31 -0
  25. package/dist/memory-service.d.ts +10 -0
  26. package/dist/next-step-proposer.d.ts +52 -0
  27. package/dist/plan-approval-service.d.ts +1 -1
  28. package/dist/plan-drafting-service.d.ts +1 -1
  29. package/dist/{cli-session-BiX2DOni.js → provider-setup-CPbB5y_V.js} +4820 -304
  30. package/dist/provider-setup-CPbB5y_V.js.map +1 -0
  31. package/dist/provider-setup.d.ts +51 -0
  32. package/dist/response-service.d.ts +18 -2
  33. package/dist/review-checker.d.ts +10 -0
  34. package/dist/scope-urgency-classifier.d.ts +29 -0
  35. package/dist/semantic-criterion-coverage.d.ts +10 -0
  36. package/dist/supervisor-flag.d.ts +20 -0
  37. package/dist/{tui-app-4_TrzESz.js → tui-app-DeyZ4Pr9.js} +3 -3
  38. package/dist/{tui-app-4_TrzESz.js.map → tui-app-DeyZ4Pr9.js.map} +1 -1
  39. package/dist/turn-interpreter.d.ts +12 -0
  40. package/dist/version.d.ts +1 -1
  41. package/package.json +2 -2
  42. package/dist/bin-CqkqT6KK.js.map +0 -1
  43. package/dist/cli-session-BiX2DOni.js.map +0 -1
@@ -4,6 +4,18 @@ import { TurnIntentClassification } from './turn-intent-classifier.js';
4
4
  import { PlanRecord } from './plan-store.js';
5
5
  import { PlanService } from './plan-service.js';
6
6
  import { AssistantTurnResult } from './assistant-types.js';
7
+ /**
8
+ * `AUDIT_DECOMPOSITION` gate — feature-value audit (Phase C4 of the internal plan). Default
9
+ * **ON**: the classifier's `decomposedTasks` graph and the single-task
10
+ * `reframeTaskDescriptionWithLLM` call both shape the turn today, so an unset / empty / truthy
11
+ * value keeps that behaviour. Set to a falsy value (`0` / `false` / `off` / `no` / `disabled`) to
12
+ * take the single-task path: the raw user message as one `respond` task, no decomposition, no
13
+ * reframe call. The classifier call itself is untouched (it also produces the intent/risk fields
14
+ * every arm needs). Read at exactly one call site — the top of `resolveTasks()` below. An active
15
+ * plan's own tasks are not decomposition and are unaffected. Same shape as
16
+ * `semanticContradictionEnabled()` (contradiction-checker.ts).
17
+ */
18
+ export declare function decompositionEnabled(env?: Record<string, string | undefined>): boolean;
7
19
  /**
8
20
  * The front portion of runTurn — plan-cancel-bypass detection, the classifyTurnIntent call, the
9
21
  * message-level risk-gate decision, and (via `resolveTasks`) decomposition/plan-template
package/dist/version.d.ts CHANGED
@@ -3,4 +3,4 @@
3
3
  * runtime (a bundled/SEA binary has no package.json beside it). `scripts/check-cli-version-sync.mjs`
4
4
  * fails CI if this drifts from `package.json`'s `version` — bump both together.
5
5
  */
6
- export declare const CLI_VERSION = "0.3.2";
6
+ export declare const CLI_VERSION = "0.3.4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buildaharness/aielia",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "An open-source AI agent you can hand real work to. Runs the full 11-layer Build A Harness every turn, controlling what it may do, believe and spend, and stages file writes, shell commands and email for your approval. CLI, browser, and desktop.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://myaielia.com",
@@ -39,7 +39,7 @@
39
39
  "access": "public"
40
40
  },
41
41
  "scripts": {
42
- "build": "vite build --config vite.config.lib.ts && cp src/file-tools-mcp-server.mjs dist/file-tools-mcp-server.mjs && mkdir -p dist/lexical/patterns && cp src/lexical/patterns/*.json dist/lexical/patterns/ && node -e \"const f='dist/cli.js',s=require('fs'),c=s.readFileSync(f,'utf8');if(!c.startsWith('#!'))s.writeFileSync(f,'#!/usr/bin/env node\\n'+c)\"",
42
+ "build": "vite build --config vite.config.lib.ts && node scripts/postbuild.mjs",
43
43
  "build:sea": "node scripts/build-sea-bundle.mjs",
44
44
  "test": "vitest run",
45
45
  "typecheck": "tsc --noEmit",