agentlas 0.9.10 → 1.0.2

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 (145) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/README.md +319 -341
  3. package/bin/agentlas.cjs +32 -9
  4. package/engine/agentlas-banner.cjs +24 -3
  5. package/engine/agentlas-composer.cjs +239 -31
  6. package/engine/agentlas-config.cjs +103 -7
  7. package/engine/agentlas-core-harness.cjs +48 -4
  8. package/engine/agentlas-evolution.cjs +3 -4
  9. package/engine/agentlas-i18n.cjs +88 -32
  10. package/engine/agentlas-input.cjs +234 -18
  11. package/engine/agentlas-memory-governance.cjs +3 -5
  12. package/engine/agentlas-memory-import.cjs +3 -3
  13. package/engine/agentlas-native-host.cjs +200 -9
  14. package/engine/agentlas-onboard.cjs +112 -20
  15. package/engine/agentlas-permissions.cjs +14 -7
  16. package/engine/agentlas-sqlite-policy.cjs +34 -0
  17. package/engine/agentlas-ui.cjs +93 -42
  18. package/engine/agentlas-workforce.cjs +472 -58
  19. package/engine/agentlas-workload-routing.cjs +8 -3
  20. package/engine/agentlas.cjs +140 -12367
  21. package/engine/agents/files.cjs +61 -0
  22. package/engine/agents/import-local.cjs +237 -0
  23. package/engine/agents/registry.cjs +158 -0
  24. package/engine/agents/router.cjs +565 -0
  25. package/engine/agents/routes.cjs +43 -0
  26. package/engine/architecture.data.json +2 -2
  27. package/engine/automation/daemon.cjs +335 -0
  28. package/engine/automation/schedule.cjs +181 -0
  29. package/engine/automation/store.cjs +209 -0
  30. package/engine/cloud/auth.cjs +279 -0
  31. package/engine/cloud/hub-client.cjs +239 -0
  32. package/engine/cloud-assets/cargo.cjs +49 -0
  33. package/engine/cloud-assets/cas.cjs +235 -0
  34. package/engine/cloud-assets/commands.cjs +273 -0
  35. package/engine/cloud-assets/package.cjs +936 -0
  36. package/engine/cloud-assets/restore.cjs +172 -0
  37. package/engine/cloud-assets/state.cjs +268 -0
  38. package/engine/commands/automation.cjs +195 -0
  39. package/engine/commands/billing.cjs +96 -0
  40. package/engine/commands/browser.cjs +20 -0
  41. package/engine/commands/build.cjs +33 -0
  42. package/engine/commands/call.cjs +24 -0
  43. package/engine/commands/career-graph.cjs +51 -0
  44. package/engine/commands/cd.cjs +22 -0
  45. package/engine/commands/chat.cjs +12 -0
  46. package/engine/commands/chats.cjs +28 -0
  47. package/engine/commands/cloud.cjs +17 -0
  48. package/engine/commands/connect.cjs +20 -0
  49. package/engine/commands/context.cjs +66 -0
  50. package/engine/commands/creds.cjs +203 -0
  51. package/engine/commands/doctor.cjs +68 -0
  52. package/engine/commands/env.cjs +33 -0
  53. package/engine/commands/evolve.cjs +23 -0
  54. package/engine/commands/experience.cjs +34 -0
  55. package/engine/commands/film.cjs +8 -0
  56. package/engine/commands/firm.cjs +115 -0
  57. package/engine/commands/help.cjs +65 -0
  58. package/engine/commands/hep.cjs +23 -0
  59. package/engine/commands/import.cjs +35 -0
  60. package/engine/commands/index.cjs +136 -0
  61. package/engine/commands/install.cjs +27 -0
  62. package/engine/commands/journal.cjs +31 -0
  63. package/engine/commands/legacy-network.cjs +29 -0
  64. package/engine/commands/list.cjs +49 -0
  65. package/engine/commands/login.cjs +68 -0
  66. package/engine/commands/logout.cjs +28 -0
  67. package/engine/commands/mcp.cjs +91 -0
  68. package/engine/commands/memory.cjs +21 -0
  69. package/engine/commands/multimodal.cjs +91 -0
  70. package/engine/commands/native.cjs +34 -0
  71. package/engine/commands/netadmin.cjs +31 -0
  72. package/engine/commands/oberon.cjs +70 -0
  73. package/engine/commands/ontology.cjs +24 -0
  74. package/engine/commands/open.cjs +48 -0
  75. package/engine/commands/plugin.cjs +101 -0
  76. package/engine/commands/project.cjs +47 -0
  77. package/engine/commands/research.cjs +36 -0
  78. package/engine/commands/route.cjs +37 -0
  79. package/engine/commands/run.cjs +149 -0
  80. package/engine/commands/search.cjs +55 -0
  81. package/engine/commands/setup.cjs +45 -0
  82. package/engine/commands/storm.cjs +75 -0
  83. package/engine/commands/swarm.cjs +75 -0
  84. package/engine/commands/telegram.cjs +32 -0
  85. package/engine/commands/uninstall.cjs +68 -0
  86. package/engine/commands/update.cjs +54 -0
  87. package/engine/commands/upload.cjs +18 -0
  88. package/engine/commands/usage.cjs +35 -0
  89. package/engine/commands/variant.cjs +25 -0
  90. package/engine/commands/version.cjs +9 -0
  91. package/engine/commands/whoami.cjs +38 -0
  92. package/engine/commands/workforce.cjs +103 -0
  93. package/engine/core/db.cjs +160 -0
  94. package/engine/core/paths.cjs +35 -0
  95. package/engine/experience/build.cjs +181 -0
  96. package/engine/experience/intents.cjs +492 -0
  97. package/engine/experience/runtime.cjs +242 -0
  98. package/engine/experience/variant.cjs +196 -0
  99. package/engine/firms/orchestrate.cjs +333 -0
  100. package/engine/hephaestus/runtime.cjs +697 -0
  101. package/engine/hub/install.cjs +872 -0
  102. package/engine/hub/plugins.cjs +213 -0
  103. package/engine/mcp/consent.cjs +289 -0
  104. package/engine/mcp/contract.cjs +202 -0
  105. package/engine/mcp/index.cjs +43 -0
  106. package/engine/mcp/inventory.cjs +322 -0
  107. package/engine/mcp/plan.cjs +286 -0
  108. package/engine/mcp/probe.cjs +151 -0
  109. package/engine/memory-cli/curate.cjs +163 -0
  110. package/engine/oberon/common.cjs +69 -0
  111. package/engine/oberon/manifest.cjs +164 -0
  112. package/engine/oberon/outputs.cjs +70 -0
  113. package/engine/oberon/render.cjs +164 -0
  114. package/engine/project/career-graph.cjs +249 -0
  115. package/engine/project/credentials.cjs +262 -0
  116. package/engine/project/env-file.cjs +46 -0
  117. package/engine/project/index.cjs +27 -0
  118. package/engine/project/memory-context.cjs +453 -0
  119. package/engine/project/ontology.cjs +467 -0
  120. package/engine/project/paths.cjs +39 -0
  121. package/engine/project/seed.cjs +200 -0
  122. package/engine/project/state.cjs +403 -0
  123. package/engine/project/super-ontology-seed.json +3288 -0
  124. package/engine/runtimes/detect.cjs +54 -0
  125. package/engine/runtimes/overrides.cjs +139 -0
  126. package/engine/runtimes/resolve.cjs +64 -0
  127. package/engine/sessions/apply-fences.cjs +188 -0
  128. package/engine/sessions/fences.cjs +362 -0
  129. package/engine/sessions/orchestrator.cjs +170 -0
  130. package/engine/sessions/prompt.cjs +212 -0
  131. package/engine/sessions/session.cjs +245 -0
  132. package/engine/sessions/sink.cjs +54 -0
  133. package/engine/sessions/store.cjs +79 -0
  134. package/engine/storm/deps.cjs +88 -0
  135. package/engine/storm/storm.cjs +218 -0
  136. package/engine/storm/swarm.cjs +422 -0
  137. package/engine/ui/palette.cjs +105 -0
  138. package/engine/ui/renderer.cjs +85 -0
  139. package/engine/ui/repl.cjs +444 -0
  140. package/engine/workforce/capture.cjs +701 -0
  141. package/engine/workforce/deps.cjs +472 -0
  142. package/package.json +2 -6
  143. package/engine/agentlas-experience-mcp.cjs +0 -1709
  144. package/engine/agentlas-parity.cjs +0 -1499
  145. package/engine/agentlas-repl.cjs +0 -1780
package/CHANGELOG.md CHANGED
@@ -1,5 +1,92 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.2 — 2026-07-27
4
+
5
+ Workforce execution-contract fixes. Every worker in a `workforce` run now
6
+ knows its exact execution authority, and the run recovers honestly instead
7
+ of shipping broken output:
8
+
9
+ - Tool-less (no-authority) workers are told explicitly that zero tools are
10
+ granted and that the deliverable must be authored directly in the reply.
11
+ Previously a borrowed worker was silently stripped of tools, tried to
12
+ call them anyway, leaked raw tool-call markup into deliverables, and
13
+ produced empty output on content-type tasks.
14
+ - Worker handoffs are gated: leaked tool-call markup or an empty
15
+ deliverable triggers exactly one corrective re-run with a repair
16
+ directive; a repeat violation stops the run honestly with
17
+ `worker_output_contract_violation` (never a silent cleanup).
18
+ - A verifier rejection now triggers exactly one corrective synthesis pass
19
+ with the verifier's issues attached, then a re-verification. A second
20
+ rejection still fails honestly (`workforce_verification_failed`), now
21
+ reporting both attempts' issues.
22
+ - Selection handoff graphs are validated locally for circular
23
+ handsOffTo/reportsTo chains, so the structured repair loop fixes a cyclic
24
+ task force before the Hub sees it (previously a `task_force_cycle`
25
+ round-trip rejection).
26
+ - Failure display: verifier/server `issues` arrays are printed line by line
27
+ instead of being truncated inside a capped JSON blob.
28
+
29
+ ## 1.0.1 — 2026-07-27
30
+
31
+ - Fixes the two gates that failed on the v1.0.0 tag (never published):
32
+ project bootstrap no longer applies the context-map minimum-version gate
33
+ when probing Core capability — the real probe is
34
+ `agentlas_cloud/project_bootstrap.py`, and a source checkout without
35
+ version metadata (exactly what CI pins) was being filtered out, skipping
36
+ bootstrap entirely; and the smoke gate now asserts that `doctor` produces
37
+ a report rather than that the machine happens to have an agent CLI
38
+ installed (`doctor` still exits non-zero when it finds problems, which is
39
+ what scripts want).
40
+
41
+ ## 1.0.0 — 2026-07-27 (tagged, not published)
42
+
43
+ - The 13,347-line v1 engine monolith is replaced by a modular v2 engine
44
+ (one concern per module: core/ runtimes/ agents/ sessions/ ui/ commands/
45
+ cloud/ hub/ mcp/ automation/ workforce/ storm/ experience/ project/
46
+ hephaestus/ oberon/ cloud-assets/). The full v1 command surface (56
47
+ commands, plus `uninstall` and `billing`) is live; nothing is stubbed and
48
+ there are no facades. The complete v1 engine remains recoverable at git
49
+ tag `legacy-v1-engine-snapshot`.
50
+ - Multi-session subagent orchestration (Orca) is first-class: every run —
51
+ foreground chat, one-shot, storm/swarm worker, automation run — is a
52
+ session owned by one orchestrator. Subagent sessions persist as Desktop
53
+ division sub-chats (`kind='division'` + `parent_chat_id`). In the REPL:
54
+ `/spawn /sessions /tree /s /steer /kill /rm /broadcast`; typing during a
55
+ running turn queues steering on the resume session; ctrl-c interrupts the
56
+ turn. Background turn completions surface as one-line notices.
57
+ - Cross-product contracts preserved and gated: shared Desktop SQLite schema
58
+ (user_version=45) and userData; runtime-doctor 3-product parity
59
+ (sync-runtime-doctor.sh PASS); experience taxonomy checksum;
60
+ desktop-terminal ontology loadout v2; portable Experience Bundle v1;
61
+ workforce ontology digests; mcp-child-launch env boundary; pinned
62
+ Agentlas OS Core harness. The known dev-only Hephaestus root defect and
63
+ the terminal-owned Desktop .app self-updater were removed (the latter
64
+ belongs to Desktop; `agentlas update` is npm-channel only).
65
+ - Product-model parity with the current Desktop, not with v1: the Hub is
66
+ borrow-first, so `install` refuses call-only listings (bookmark or
67
+ `agentlas call`), instruction-less packages, trust grades below A/B, and
68
+ web-only agents, with Desktop's exact wording; `uninstall` mirrors
69
+ Desktop's firm-membership guard. Hub plugins register stdio servers
70
+ disabled and needing approval (the table is shared with Desktop, so an
71
+ auto-enabled row would have bypassed Desktop's own gate); remote MCP
72
+ endpoints must be https and a real `/mcp`|`/sse` path. Automation runs
73
+ execute in Desktop-identical hidden division sessions and skip
74
+ hub/browser/computer-use rows without consuming the lease or the
75
+ scheduled occurrence.
76
+ - New-user protection: an unknown one-word argument is refused with an
77
+ edit-distance suggestion instead of being spent as a model call (a typo
78
+ used to start an agent and run shell); Desktop-only screen names
79
+ (site, trex, prompts, dashboard, marketplace, settings…) stop honestly;
80
+ invalid `--permission` values are refused before any model call instead
81
+ of being silently downgraded to read; `no_runtime` now prints the exact
82
+ CLI install commands.
83
+ - Release validation pins Agentlas Core v1.1.67 commit
84
+ `04258b7541f604479dc04279146a506e363ad85e` (carried from 0.9.10).
85
+ - smoke gate: 54 checks (surface, no-arg guards, fresh bootstrap, 30+
86
+ restored/new contract tests, runtime-doctor 3-product parity) — all
87
+ green. Verified end to end against a packed tarball installed with
88
+ `npm i -g` into a clean prefix and a pristine userData.
89
+
3
90
  ## 0.9.10 — 2026-07-26
4
91
 
5
92
  - `agentlas context refresh|refs|slice|impact|verify` now invokes the installed
@@ -12,6 +99,25 @@
12
99
  `04258b7541f604479dc04279146a506e363ad85e`, including Code Map v2 backlinks,
13
100
  functional Sitemap dependencies, and fail-closed impact verification.
14
101
 
102
+ - Concurrent Terminal work against the Desktop-shared SQLite database now uses
103
+ one bounded lock policy. Every Terminal write transaction acquires writer
104
+ authority before reading mutable shared state, preventing deferred
105
+ read-to-write upgrades from failing with `database is locked` after a
106
+ provider already completed the user's work.
107
+ - One-shot runs now honor the saved read/write boundary across run, firm,
108
+ Stormbreaker, swarm, build, Workforce, and context surfaces; an explicit
109
+ `--permission` remains a session-only override.
110
+ - `agentlas context` invokes the compatible Agentlas Core context-map
111
+ capability directly and fails closed when it is unavailable. Older
112
+ Hephaestus launchers can no longer reinterpret `context verify` as a Hub
113
+ search. When multiple local Core installations coexist, Terminal now checks
114
+ bounded version metadata and skips an earlier runtime that cannot satisfy the
115
+ v1.1.66 context contract.
116
+ - Scheduled automation output now renders only the model's final answer instead
117
+ of leaking Claude or Gemini stream-protocol JSON. The slash palette also
118
+ respects a real 40-column terminal while preserving arrow-key selection.
119
+ - Top-level runtime failures follow the saved Terminal language, including
120
+ unknown runtime names and the no-runtime-available recovery message.
15
121
  ## 0.9.9 — 2026-07-26
16
122
 
17
123
  - In an explicitly initialized project, ordinary runs, firms, Stormbreaker, and