@sorbetai/acp 0.1.0-alpha.15 → 0.1.0-alpha.17

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 (52) hide show
  1. package/COMPATIBILITY.md +19 -19
  2. package/README.md +6 -0
  3. package/agent.json +1 -1
  4. package/dist/LICENSE.codemode +25 -0
  5. package/dist/{W3CTraceContextPropagator-C19hBwAb.js → W3CTraceContextPropagator-D6RckkWQ.js} +3 -3
  6. package/dist/{W3CTraceContextPropagator-C19hBwAb.js.map → W3CTraceContextPropagator-D6RckkWQ.js.map} +1 -1
  7. package/dist/{agent-ByC2yLfS.d.ts → agent-BBMMMmHC.d.ts} +2 -2
  8. package/dist/{agent-Cvm49ovZ.js → agent-C67rCoZ3.js} +256 -48
  9. package/dist/agent-C67rCoZ3.js.map +1 -0
  10. package/dist/{authentication-C07gj7Rf.js → authentication-DE2cMo_V.js} +2 -2
  11. package/dist/{authentication-C07gj7Rf.js.map → authentication-DE2cMo_V.js.map} +1 -1
  12. package/dist/{compatibility-D8ZO8Tg2.d.ts → compatibility-Bt-GHnsI.d.ts} +5 -5
  13. package/dist/{compatibility-BKOLaCuu.js → compatibility-DTFX4__c.js} +5 -5
  14. package/dist/{compatibility-BKOLaCuu.js.map → compatibility-DTFX4__c.js.map} +1 -1
  15. package/dist/compatibility.d.ts +1 -1
  16. package/dist/compatibility.js +1 -1
  17. package/dist/{credentials-wgvF28ZM.d.ts → credentials-Dp_7I__e.d.ts} +386 -250
  18. package/dist/{environment-Cjve6ZGh.js → environment-BkKPhcMM.js} +10 -7
  19. package/dist/environment-BkKPhcMM.js.map +1 -0
  20. package/dist/{experimental-v2-CoABPv0L.js → experimental-v2-CSEyp34q.js} +3 -3
  21. package/dist/{experimental-v2-CoABPv0L.js.map → experimental-v2-CSEyp34q.js.map} +1 -1
  22. package/dist/{experimental-v2-BWKc3O3j.d.ts → experimental-v2-DRpCMLXO.d.ts} +2 -2
  23. package/dist/experimental-v2.d.ts +2 -2
  24. package/dist/experimental-v2.js +4 -4
  25. package/dist/filesystem-worker.js +9 -6
  26. package/dist/filesystem-worker.js.map +1 -1
  27. package/dist/index.d.ts +3 -3
  28. package/dist/index.js +6 -6
  29. package/dist/isolate-worker.mjs +17794 -5357
  30. package/dist/managed-worker.js +1 -1
  31. package/dist/{mcp-host-profile-Bmt4NyJU.js → mcp-host-profile-9ZHF3zwx.js} +3 -3
  32. package/dist/{mcp-host-profile-Bmt4NyJU.js.map → mcp-host-profile-9ZHF3zwx.js.map} +1 -1
  33. package/dist/mcp-host.js +1 -1
  34. package/dist/{otlp-YZkPL552.js → otlp-CKQk9K29.js} +2 -2
  35. package/dist/{otlp-YZkPL552.js.map → otlp-CKQk9K29.js.map} +1 -1
  36. package/dist/plugin/codemode.js +37867 -0
  37. package/dist/plugin/prompt-suggestion.js +11 -22
  38. package/dist/plugin/web-search.js +2545 -0
  39. package/dist/{prompt-work-wnalkYAc.js → prompt-work-Dm0hBMat.js} +1692 -918
  40. package/dist/prompt-work-Dm0hBMat.js.map +1 -0
  41. package/dist/{stdio-Bj3gopRY.js → stdio-CEmXYy6e.js} +3 -3
  42. package/dist/{stdio-Bj3gopRY.js.map → stdio-CEmXYy6e.js.map} +1 -1
  43. package/dist/{stdio-cli-main-CoOiBrWb.js → stdio-cli-main-AvmUD8JL.js} +265 -69
  44. package/dist/stdio-cli-main-AvmUD8JL.js.map +1 -0
  45. package/dist/stdio-cli.js +1 -1
  46. package/dist/stdio.d.ts +3 -3
  47. package/dist/stdio.js +6 -6
  48. package/package.json +15 -12
  49. package/dist/agent-Cvm49ovZ.js.map +0 -1
  50. package/dist/environment-Cjve6ZGh.js.map +0 -1
  51. package/dist/prompt-work-wnalkYAc.js.map +0 -1
  52. package/dist/stdio-cli-main-CoOiBrWb.js.map +0 -1
package/COMPATIBILITY.md CHANGED
@@ -33,8 +33,8 @@ supported behavior is connected and operational.
33
33
  | Experimental v2 Client methods | 7 | 0 | 0 | 7 |
34
34
  | Experimental v2 Session updates | 15 | 0 | 4 | 19 |
35
35
  | Shared protocol methods | 1 | 0 | 0 | 1 |
36
- | Lody extension capabilities | 11 | 0 | 3 | 14 |
37
- | Lody custom methods | 9 | 0 | 4 | 13 |
36
+ | Lody extension capabilities | 12 | 0 | 2 | 14 |
37
+ | Lody custom methods | 10 | 0 | 3 | 13 |
38
38
  | Sorbet extensions | 13 | 0 | 1 | 14 |
39
39
 
40
40
  ## Status definitions
@@ -192,22 +192,22 @@ supported behavior is connected and operational.
192
192
 
193
193
  ## Lody extension capabilities
194
194
 
195
- | Protocol item | Status | Notes |
196
- | ------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
197
- | `sessionTitle` | ✅ Supported | Advertised at version 1; generates and pushes tagged durable titles after each turn. |
198
- | `usage` | ✅ Supported | Advertised at version 1 with standard and detailed per-model usage updates. |
199
- | `promptSuggestions` | ✅ Supported | Advertised at version 1; publishes the suggestion a Plugin wrote to the Session, when the Client advertises the capability. |
200
- | `sessionActivity` | ✅ Supported | Publishes Session execution state and live child-agent and background-command counts, including outside prompts. |
201
- | `subagentEvents` | ❌ Unsupported | Subagent event notifications are not advertised or emitted. |
202
- | `rateLimits` | ❌ Unsupported | No rate-limit query or update source is connected or advertised. |
203
- | `forkAtTurn` | ✅ Supported | Publishes durable Run ids as turn boundaries and forks the selected Journal prefix. |
204
- | `steering` | ✅ Supported | Advertised at version 1 for request-based steering of the active upstream turn. |
205
- | `tasks` | ✅ Supported | Background command handoffs and terminal states are projected as Lody task snapshots; scheduled tasks are not advertised. |
206
- | `subagents` | ✅ Supported | Advertises lifecycle plus durable listing, cancellation, and output for Sorbet children. |
207
- | `goal` | ✅ Supported | Advertises pause/clear requests and active-owner resume; prompt metadata starts or owns Goal work when idle. Goal prompts stay open across automatic continuations. |
208
- | `compaction` | ✅ Supported | Projects durable compaction start and terminal facts through Lody activity metadata. |
209
- | `sessionHistory` | ✅ Supported | Advertised at version 1 and replays durable conversation and Plan projections. |
210
- | `worktreeProject` | ❌ Unsupported | No logical project identity is projected beyond the ACP working directory. |
195
+ | Protocol item | Status | Notes |
196
+ | ------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
197
+ | `sessionTitle` | ✅ Supported | Advertised at version 1; generates and pushes tagged durable titles after each turn. |
198
+ | `usage` | ✅ Supported | Advertised at version 1 with standard and detailed per-model usage updates. |
199
+ | `promptSuggestions` | ✅ Supported | Advertised at version 1; publishes the suggestion a Plugin wrote to the Session, when the Client advertises the capability. |
200
+ | `sessionActivity` | ✅ Supported | Publishes Session execution state and live child-agent and background-command counts, including outside prompts. |
201
+ | `subagentEvents` | ✅ Supported | Advertised at version 1; pushes child snapshots, progress, and terminal updates to Clients that advertise the capability. Output is projected from committed child Journal facts, not streamed tokens. |
202
+ | `rateLimits` | ❌ Unsupported | No rate-limit query or update source is connected or advertised. |
203
+ | `forkAtTurn` | ✅ Supported | Publishes durable Run ids as turn boundaries and forks the selected Journal prefix. |
204
+ | `steering` | ✅ Supported | Advertised at version 1 for request-based steering of the active upstream turn. |
205
+ | `tasks` | ✅ Supported | Background command handoffs and terminal states are projected as Lody task snapshots; scheduled tasks are not advertised. |
206
+ | `subagents` | ✅ Supported | Advertises lifecycle plus durable listing, cancellation, and output for Sorbet children. |
207
+ | `goal` | ✅ Supported | Advertises pause/clear requests and active-owner resume; prompt metadata starts or owns Goal work when idle. Goal prompts stay open across automatic continuations. |
208
+ | `compaction` | ✅ Supported | Projects durable compaction start and terminal facts through Lody activity metadata. |
209
+ | `sessionHistory` | ✅ Supported | Advertised at version 1 and replays durable conversation and Plan projections. |
210
+ | `worktreeProject` | ❌ Unsupported | No logical project identity is projected beyond the ACP working directory. |
211
211
 
212
212
  ## Lody custom methods
213
213
 
@@ -215,7 +215,7 @@ supported behavior is connected and operational.
215
215
  | --------------------------------- | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
216
216
  | `_lody/session/activity_update` | ❌ Unsupported | Session activity notifications are not emitted. |
217
217
  | `_lody/session/prompt_suggestion` | ✅ Supported | Emits the latest published suggestion, including an empty one when the Plugin decided the next step is not obvious. |
218
- | `_lody/subagents/event` | ❌ Unsupported | Subagent event notifications are not emitted. |
218
+ | `_lody/subagents/event` | ✅ Supported | Emits one snapshot per child on admission and on each state change, progress while a child is live, and marks live children unknown when the attachment closes. |
219
219
  | `_lody/session/usage_update` | ✅ Supported | Emits the newest Run subtotal in `usage`, cumulative per-model totals keyed by model id, an optional per-step delta, and subagent spend folded into the owning Session after each assistant message. |
220
220
  | `_lody/rate_limits/get` | ❌ Unsupported | No Provider rate-limit query source is connected. |
221
221
  | `_lody/rate_limits/update` | ❌ Unsupported | No Provider rate-limit update source is connected. |
package/README.md CHANGED
@@ -57,6 +57,12 @@ generation so Sorbet stays out of the way.
57
57
 
58
58
  ## Plugin directory
59
59
 
60
+ The CLI installs prompt-suggestion and CodeMode as enabled builtin Plugin Packages in
61
+ each Session's composition. They appear in Plugin controls and can be disabled or
62
+ configured there. CodeMode uses the current request's admitted tool catalog and
63
+ nested tool execution; the CLI disables Node Agent's separate default CodeMode
64
+ mount. Only prompt-suggestion receives the builtin Session access grant.
65
+
60
66
  The CLI loads `*.json` Package containers and source-package directories from `<agent.dataDirectory>/plugins`
61
67
  when opening a Session. It uses a private Platform, Authority, SQLite store and Loader
62
68
  per Session; the Host source directory is shared. Authority data is kept under
package/agent.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "sorbet",
3
3
  "name": "Sorbet",
4
- "version": "0.1.0-alpha.15",
4
+ "version": "0.1.0-alpha.17",
5
5
  "description": "A durable Agent Harness with Pi-backed model access and ACP v1 plus experimental ACP v2 support.",
6
6
  "repository": "https://github.com/lodyspeak/sorbet",
7
7
  "license": "MIT",
@@ -0,0 +1,25 @@
1
+ @opencode/codemode 2.3.0
2
+ Source: https://github.com/anomalyco/opencode/tree/dev/packages/codemode
3
+ License: https://github.com/anomalyco/opencode/blob/dev/LICENSE
4
+
5
+ MIT License
6
+
7
+ Copyright (c) 2025 opencode
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy
10
+ of this software and associated documentation files (the "Software"), to deal
11
+ in the Software without restriction, including without limitation the rights
12
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
+ copies of the Software, and to permit persons to whom the Software is
14
+ furnished to do so, subject to the following conditions:
15
+
16
+ The above copyright notice and this permission notice shall be included in all
17
+ copies or substantial portions of the Software.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
+ SOFTWARE.
@@ -867,8 +867,8 @@ var TraceAPI = class TraceAPI$1 {
867
867
  const trace = TraceAPI.getInstance();
868
868
 
869
869
  //#endregion
870
- //#region ../observability/dist/metrics-6caOhym0.js
871
- var version = "0.1.0-alpha.15";
870
+ //#region ../observability/dist/metrics-qhZstI6m.js
871
+ var version = "0.1.0-alpha.17";
872
872
  const seconds = [
873
873
  .001,
874
874
  .005,
@@ -1839,4 +1839,4 @@ var W3CTraceContextPropagator = class {
1839
1839
 
1840
1840
  //#endregion
1841
1841
  export { METRIC_REGISTRY as a, trace as c, isValidTraceId as d, INVALID_SPAN_CONTEXT as f, DiagAPI as h, isTracingSuppressed as i, ContextAPI as l, ROOT_CONTEXT as m, parseTraceParent as n, MetricAggregation as o, TraceFlags as p, TraceState as r, version as s, W3CTraceContextPropagator as t, isSpanContextValid as u };
1842
- //# sourceMappingURL=W3CTraceContextPropagator-C19hBwAb.js.map
1842
+ //# sourceMappingURL=W3CTraceContextPropagator-D6RckkWQ.js.map