@rebon/cli-linux-x64 1.3.0 → 1.4.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/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,10 @@
1
+ Rebon Code
2
+ Copyright 2026 RebonAI
3
+
4
+ This product includes software developed at RebonAI (https://reboncode.ai).
5
+
6
+ Portions of the agent's system prompt and tool descriptions were informed by
7
+ the publicly visible prompts of other agent CLIs.
8
+
9
+ Third-party components and their licenses are listed in
10
+ THIRD_PARTY_NOTICES.txt.
package/README.md CHANGED
@@ -1,7 +1,52 @@
1
- # rebon
2
-
3
- An agent CLI for coding and more — a terminal harness that drives an LLM through
4
- a real agent loop with tools, sessions, permissions, and a full TUI.
1
+ <table>
2
+ <tr>
3
+ <td width="150" align="center" valign="middle">
4
+ <img src="assets/app-icon/icon.png" width="128" alt="Rebon">
5
+ </td>
6
+ <td valign="middle">
7
+ <h1>rebon</h1>
8
+ <p>
9
+ An agent CLI for coding and more — a terminal harness that drives an
10
+ LLM through a real agent loop with tools, sessions, permissions, and a
11
+ full TUI.
12
+ </p>
13
+ <p>
14
+ <a href="https://www.npmjs.com/package/@rebon/cli"><img src="https://img.shields.io/npm/v/@rebon/cli?label=%40rebon%2Fcli" alt="npm"></a>
15
+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue" alt="Apache-2.0"></a>
16
+ ·
17
+ <a href="docs/README.zh-CN.md">中文</a>
18
+ </p>
19
+ </td>
20
+ </tr>
21
+ </table>
22
+
23
+ ## What is in this repository
24
+
25
+ The `rebon` command-line agent and everything it needs to build: the crates, the
26
+ plugins, the packaging chain and the release workflow.
27
+
28
+ Rebon's other surfaces ship on their own schedules and are **not** in this tree.
29
+ Comments here name them because the code they share was shaped by them:
30
+
31
+ | Surface | Where it lives |
32
+ | --- | --- |
33
+ | Desktop app | <https://reboncode.ai> |
34
+ | Mobile client | <https://reboncode.ai> |
35
+ | Web UI (`rebon serve`) | the `@rebon/rebon-web` npm package |
36
+
37
+ `assets/` holds the artefacts the CLI reads from those surfaces — the Windows
38
+ icon, the generated i18n catalogues, and a committed build of the web UI that
39
+ `build.rs` embeds so `cargo build` never needs Node.
40
+
41
+ ### About the tags in this repository
42
+
43
+ This repository was previously where Rebon's releases were published, so its
44
+ refs carry a large number of `app-v*` tags from the desktop app. They are kept
45
+ deliberately: they are where those releases live, and deleting them would
46
+ break the links pointing at them.
47
+
48
+ They have nothing to do with the CLI. The CLI's own releases are the `v*`
49
+ tags, and those are what the release workflow builds and publishes from.
5
50
 
6
51
  ## Install
7
52
 
@@ -142,3 +187,17 @@ npm install -g @rebon/cli@latest
142
187
  Unicode width tables (modern Windows Terminal, iTerm2, Alacritty, WezTerm,
143
188
  Kitty all work). The legacy `cmd.exe` and `conhost` are not supported.
144
189
  - **Logs** — check `$REBON_LOG_DIR/rebon.log` (TUI) or stderr (`--acp`).
190
+
191
+ ## Friends
192
+
193
+ [Linux.Do](https://linux.do) — A new ideal community
194
+
195
+ ## License
196
+
197
+ Licensed under the [Apache License, Version 2.0](LICENSE).
198
+
199
+ Redistributions must carry the licence and the attribution notice in
200
+ [NOTICE](NOTICE), and modified files must say that they were changed.
201
+
202
+ Third-party components and their licenses are listed in
203
+ [THIRD_PARTY_NOTICES.txt](THIRD_PARTY_NOTICES.txt).
@@ -97,7 +97,7 @@ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
97
97
  FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
98
98
  OTHER DEALINGS IN THE FONT SOFTWARE.
99
99
 
100
- Vendored JavaScript packages (node/compose-runtime/payload/vendor)
100
+ Vendored JavaScript packages (runtimes/node/compose-runtime/payload/vendor)
101
101
  ------------------------------------------------------------------
102
102
 
103
103
  cordis (https://github.com/cordiverse/cordis)
@@ -105,7 +105,7 @@ cordis (https://github.com/cordiverse/cordis)
105
105
  Vendored build: cordis@4.0.0-rc.8 lib/index.js, byte-identical (apart
106
106
  from line endings) to https://registry.npmjs.org/cordis/-/cordis-4.0.0-rc.8.tgz.
107
107
  The npm tarball ships no license file; the LICENSE alongside
108
- (node/compose-runtime/payload/vendor/cordis/LICENSE) is the repository's
108
+ (runtimes/node/compose-runtime/payload/vendor/cordis/LICENSE) is the repository's
109
109
  LICENSE at tag v4.0.0-rc.8:
110
110
  https://github.com/cordiverse/cordis/blob/v4.0.0-rc.8/LICENSE
111
111
 
@@ -113,7 +113,7 @@ cosmokit (https://github.com/cordiverse/cosmokit)
113
113
  Copyright (c) 2021-present Shigma. Licensed under the MIT License.
114
114
  Vendored build: cosmokit@1.8.1 lib/index.mjs, byte-identical (apart from
115
115
  line endings) to https://registry.npmjs.org/cosmokit/-/cosmokit-1.8.1.tgz
116
- (LICENSE alongside, under node/compose-runtime/payload/vendor/cosmokit/).
116
+ (LICENSE alongside, under runtimes/node/compose-runtime/payload/vendor/cosmokit/).
117
117
 
118
118
  schemastery (https://github.com/shigma/schemastery)
119
119
  Copyright (c) 2021-present Shigma. Licensed under the MIT License.
@@ -122,12 +122,12 @@ schemastery (https://github.com/shigma/schemastery)
122
122
  https://registry.npmjs.org/schemastery/-/schemastery-3.18.0.tgz.
123
123
  The npm tarball ships no license file and the repository has no release
124
124
  tags; the LICENSE alongside
125
- (node/compose-runtime/payload/vendor/schemastery/LICENSE) is the
125
+ (runtimes/node/compose-runtime/payload/vendor/schemastery/LICENSE) is the
126
126
  repository's LICENSE, unchanged since it was added:
127
127
  https://github.com/shigma/schemastery/blob/1b1f506d450c04c663440457b1b0e576d056717c/LICENSE
128
128
 
129
129
  deepseek-harness vendored plugins (https://github.com/deepseek-ai/deepseek-harness)
130
- Vendored builds under node/compose-runtime/payload/vendor/dsh/, each with
130
+ Vendored builds under runtimes/node/compose-runtime/payload/vendor/dsh/, each with
131
131
  its license file alongside as LICENSE-<name>. Licensed under the MIT
132
132
  License. Transpiled 1:1 from the repository's TypeScript sources.
133
133
  timer (timer.js), logger-console (logger-console.js)
@@ -139,22 +139,22 @@ deepseek-harness vendored plugins (https://github.com/deepseek-ai/deepseek-harne
139
139
 
140
140
  turndown 7.2.4 (https://github.com/mixmark-io/turndown)
141
141
  Copyright (c) 2017 Dom Christie. Licensed under the MIT License.
142
- Bundled into node/compose-runtime/payload/vendor/dsh/tool-web.js
142
+ Bundled into runtimes/node/compose-runtime/payload/vendor/dsh/tool-web.js
143
143
  (lib/turndown.browser.es.js). License text:
144
- node/compose-runtime/payload/vendor/dsh/LICENSE-turndown, taken from
144
+ runtimes/node/compose-runtime/payload/vendor/dsh/LICENSE-turndown, taken from
145
145
  https://registry.npmjs.org/turndown/-/turndown-7.2.4.tgz.
146
146
 
147
147
  @joplin/turndown-plugin-gfm 1.0.67 (https://github.com/laurent22/joplin-turndown-plugin-gfm)
148
148
  Copyright (c) 2017 Dom Christie. Licensed under the MIT License.
149
- Bundled into node/compose-runtime/payload/vendor/dsh/tool-web.js
149
+ Bundled into runtimes/node/compose-runtime/payload/vendor/dsh/tool-web.js
150
150
  (lib/turndown-plugin-gfm.cjs.js). License text:
151
- node/compose-runtime/payload/vendor/dsh/LICENSE-turndown-plugin-gfm, taken
151
+ runtimes/node/compose-runtime/payload/vendor/dsh/LICENSE-turndown-plugin-gfm, taken
152
152
  from https://registry.npmjs.org/@joplin/turndown-plugin-gfm/-/turndown-plugin-gfm-1.0.67.tgz.
153
153
 
154
154
  eventsource-parser (https://github.com/rexxars/eventsource-parser)
155
155
  Copyright (c) 2026 Espen Hovlandsdal. Licensed under the MIT License.
156
156
  Vendored build: eventsource-parser@3.1.0 dist/index.js (LICENSE
157
- alongside, under node/compose-runtime/payload/vendor/eventsource-parser/);
157
+ alongside, under runtimes/node/compose-runtime/payload/vendor/eventsource-parser/);
158
158
  the stream entry point is a rebon-authored adapter over the vendored
159
159
  parser core.
160
160
 
@@ -179,15 +179,15 @@ The middle-truncation algorithm for shell output is ported from the
179
179
  Licensed under the Apache License, Version 2.0
180
180
  (https://www.apache.org/licenses/LICENSE-2.0).
181
181
 
182
- DeepSeek Harness (plugins/deepseek-responses,
183
- crates/rebon-engine/src/anchored_minimal.rs,
182
+ DeepSeek Harness (runtimes/node/plugins/deepseek-responses,
183
+ crates/rebon-core/src/anchored_minimal.rs,
184
184
  crates/rebon-tool/src/str_replace_editor.rs)
185
185
  ---------------------------------------------
186
186
 
187
187
  Persona text, tool descriptions and parameter schemas of the DeepSeek
188
- Harness Minimal preset are reproduced; see plugins/deepseek-responses/NOTICE
188
+ Harness Minimal preset are reproduced; see runtimes/node/plugins/deepseek-responses/NOTICE
189
189
  and the MIT permission notice in
190
- plugins/deepseek-responses/LICENSE-DEEPSEEK-HARNESS.
190
+ runtimes/node/plugins/deepseek-responses/LICENSE-DEEPSEEK-HARNESS.
191
191
 
192
192
  OpenAI Codex imagegen skill (crates/plugins/image-gen/skill/imagegen)
193
193
  ---------------------------------------------------------------------
@@ -225,10 +225,10 @@ Unchanged: LICENSE.txt, scripts/image_gen.py, scripts/remove_chroma_key.py.
225
225
  Not included: references/codex-network.md and the upstream `agents/` and
226
226
  `assets/` directories. See docs/image-gen.md ("The skill").
227
227
 
228
- Web client bundled into the rebon CLI (rebon-web-ui/dist)
228
+ Web client bundled into the rebon CLI (assets/web-ui/dist)
229
229
  ---------------------------------------------------------
230
230
 
231
- `rebon serve` ships the browser client built into rebon-web-ui/dist, which
231
+ `rebon serve` ships the browser client built into assets/web-ui/dist, which
232
232
  crates/rebon-cli/build.rs embeds into the `rebon` binary. The build bundles
233
233
  the following npm packages (versions from rebon-web-ui/pnpm-lock.yaml; license
234
234
  texts from each package's published tarball):
@@ -8,8 +8,8 @@
8
8
  //
9
9
  // Honesty boundary: NO validation semantics are provided. Any attempt to
10
10
  // actually validate through a shimmed schema (`parse`/`safeParse`) throws
11
- // loudly instead of silently accepting — if a projection consumer ever lands
12
- // (P2.9 session seat), replace this shim with a real vendored zod.
11
+ // loudly instead of silently accepting — if a projection consumer ever lands,
12
+ // replace this shim with a real vendored zod.
13
13
 
14
14
  function inert(kind) {
15
15
  return {
@@ -1,9 +1,8 @@
1
1
  // The composition's doorway to rebon, on the plugin plane.
2
2
  //
3
- // On deno_core this was `js/bridge.js`: seven synchronous ops reaching a
4
- // kernel that lived in the same process. Across a process boundary none of
5
- // that survives unchanged, and the differences are the protocol's, not this
6
- // module's:
3
+ // The plane is across a process boundary, so there are no synchronous ops
4
+ // into an in-process kernel here. Three consequences follow, and they are the
5
+ // protocol's rather than this module's:
7
6
  //
8
7
  // * **Everything is async.** `callService` returned a value from an op; a
9
8
  // `seat/call` is a request that has to be answered. The one place this
@@ -14,11 +13,11 @@
14
13
  // handler. `AsyncLocalStorage` is what carries the handler's context down
15
14
  // to code that has no way to be handed it — a dsh credential provider is
16
15
  // called by an adapter that knows nothing about rebon.
17
- // * **Registration is not a call.** `op_rebon_call_service('model-router',
18
- // 'register', …)` and its compensating `unregister` are gone. What a
19
- // composition provides is reported once, in the `plugin/load` ready
20
- // report, and revoked by `plugin/unload` draining. That is the only shape
21
- // that works: the unregisters lived in cordis disposers.
16
+ // * **Registration is not a call.** What a composition provides is
17
+ // reported once, in the `plugin/load` ready report, and revoked by
18
+ // `plugin/unload` draining. It has to be that shape: a compensating
19
+ // `unregister` would have to run from a cordis disposer, and a disposer
20
+ // cannot await the answer.
22
21
  import { AsyncLocalStorage } from 'node:async_hooks';
23
22
  import { sessionOf } from './registry.mjs';
24
23
 
@@ -172,10 +171,9 @@ export const logger = Object.freeze(Object.fromEntries(LEVELS.map((level) => [
172
171
  // session it is attached to is the handle that can still reach the seat.
173
172
  //
174
173
  // This is the same ladder `require()` climbs, with one difference that
175
- // matters: it does not throw. A log line is not worth failing a plugin
176
- // over, and a refusal here would be the very silence this is fixing.
177
- // T19/T19b lost three rounds to lines that went to stderr and were only
178
- // ever read when the host died.
174
+ // matters: it does not throw. A log line is not worth failing a plugin over,
175
+ // and a line that goes to stderr is only ever read when the host dies the
176
+ // very silence this is fixing.
179
177
  const ctx = calls.getStore() ?? sessionOf(options.via);
180
178
  if (ctx === undefined) {
181
179
  process.stderr.write(`[compose:${level}] ${line}\n`);
@@ -14,13 +14,13 @@
14
14
  // 3. **Drive** — `loop:control` is the embedder's inbound face
15
15
  // (followup / steer / cancel / status).
16
16
  //
17
- // Two things moved with the transport:
17
+ // Two consequences of the transport:
18
18
  //
19
- // * **The catalog is configuration, not a call.** It used to be
20
- // `describeTools()`, an op straight into rebon. There is no such method on
21
- // the plane, and there should not be: what rebon offers a model is settled
22
- // when the composition is built, so rebon hands it over at load. A snapshot
23
- // either way — the old op was read once during `apply` too.
19
+ // * **The catalog is configuration, not a call.** There is no `describeTools`
20
+ // method on the plane, and there should not be: what rebon offers a model
21
+ // is settled when the composition is built, so rebon hands it over at
22
+ // load. It is a snapshot either way; asking would only make the moment it
23
+ // was taken harder to see.
24
24
  // * **Events publish through a scope handle.** A loop produces turn events on
25
25
  // its own schedule, with no inbound call to hang them on, so the assembly
26
26
  // takes a handle on each open session and fans its events to whichever are
@@ -3,7 +3,7 @@
3
3
  "version": "0.0.0-private",
4
4
  "private": true,
5
5
  "type": "module",
6
- "license": "UNLICENSED",
6
+ "license": "Apache-2.0",
7
7
  "engines": { "node": ">=24.19.0 <25" },
8
8
  "scripts": { "test": "node --test test/*.test.mjs" },
9
9
  "bin": { "rebon-plugin-host": "./src/cli.mjs" },
@@ -88,16 +88,16 @@ export async function runHost({ input, output, error, loader }) {
88
88
  /// A rejection nobody handled, said out loud instead of swallowed, and
89
89
  /// attributed where the async chain reaches back to an entry.
90
90
  ///
91
- /// Node does not stop this process for one, and before T20 nothing else looked
92
- /// either: a plugin could start an async task, have it fail, and leave no trace
93
- /// anywhere rebon reads. Three rounds of T19 were spent on exactly that.
91
+ /// Node does not stop this process for one, and nothing else looks either: a
92
+ /// plugin could start an async task, have it fail, and leave no trace anywhere
93
+ /// rebon reads.
94
94
  ///
95
- /// T20 recorded these as unattributed, believing a failed promise cannot say
96
- /// who created it. It can: `plugin/load` runs inside a store that survives
97
- /// timers, microtasks and awaits, so this handler reads the owner straight out
98
- /// of it. What escapes the chain through an `EventEmitter`, a native callback
99
- /// or a third-party library is still `unattributed`, which is the truthful
100
- /// answer and is kept distinct from a wrong one.
95
+ /// A failed promise does not carry who created it, but `plugin/load` runs
96
+ /// inside a store that survives timers, microtasks and awaits, so this handler
97
+ /// reads the owner straight out of it. What escapes the chain through an
98
+ /// `EventEmitter`, a native callback or a third-party library is still
99
+ /// `unattributed`, which is the truthful answer and is kept distinct from a
100
+ /// wrong one.
101
101
  ///
102
102
  /// It never exits. A stray rejection in one plugin must not take down a host
103
103
  /// other plugins are being served from; a load still in flight is failed by its
@@ -1,11 +1,11 @@
1
1
  // Which entry a stray promise belonged to.
2
2
  //
3
- // Node does not stop this process for an unhandled rejection, and before T20
4
- // nothing looked either: a plugin could start an async task, have it fail, and
5
- // leave no trace anywhere rebon reads. T20 made it visible but unattributed,
6
- // on the belief that a failed promise cannot say who created it.
3
+ // Node does not stop this process for an unhandled rejection, and nothing else
4
+ // looks either: a plugin could start an async task, have it fail, and leave no
5
+ // trace anywhere rebon reads. Making it visible is not the same as attributing
6
+ // it a failed promise does not carry who created it.
7
7
  //
8
- // Measured on Node 24.19.0, it can. An `AsyncLocalStorage` store survives
8
+ // Measured on Node 24.19.0, an `AsyncLocalStorage` store survives
9
9
  // `setTimeout`, `queueMicrotask` and `await`, and the `unhandledRejection`
10
10
  // handler reads it directly — so wrapping each `plugin/load` is enough, with no
11
11
  // per-promise `async_hooks` and therefore no standing cost.
package/bin/rebon CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/bin/rebon
3
- size: 59364832 bytes
4
- sha256: c910a60b56c2e114c9ad936905e06f1d3202a25cc26d319c1ffbbbac3c2f040d
3
+ size: 59180072 bytes
4
+ sha256: 264c8b8292fa1f326deced4f55ac3494fb7413a2a25cc0c4b5639cfa8ada7c89
Binary file
Binary file
Binary file
package/bin/rebon-lsp-mcp CHANGED
Binary file
package/bin/sandbox-win CHANGED
Binary file
package/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "name": "@rebon/cli-linux-x64",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Agent cli for coding and more.",
5
- "license": "UNLICENSED",
5
+ "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/RebonAI/Rebon-Code.git"
9
+ },
10
+ "homepage": "https://reboncode.ai",
6
11
  "engines": {
7
12
  "node": ">=20"
8
13
  },
@@ -12,6 +17,8 @@
12
17
  "files": [
13
18
  "bin",
14
19
  "README.md",
20
+ "LICENSE",
21
+ "NOTICE",
15
22
  "THIRD_PARTY_NOTICES.txt",
16
23
  "scripts"
17
24
  ],