@rebon/cli-win32-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 +202 -0
- package/NOTICE +10 -0
- package/README.md +203 -144
- package/THIRD_PARTY_NOTICES.txt +1232 -1232
- package/bin/rebon.js +22 -22
- package/lib/windows-managed.js +390 -390
- package/package.json +9 -2
- package/payload/compose-runtime/package.json +17 -17
- package/payload/compose-runtime/payload/compose/shims/dsh-anonymous-user-id.js +10 -10
- package/payload/compose-runtime/payload/compose/shims/dsh-credentials.js +13 -13
- package/payload/compose-runtime/payload/compose/shims/dsh-launch-environment.js +21 -21
- package/payload/compose-runtime/payload/compose/shims/dsh-llm.js +313 -313
- package/payload/compose-runtime/payload/compose/shims/dsh-settings.js +43 -43
- package/payload/compose-runtime/payload/compose/shims/dsh-tools.js +20 -20
- package/payload/compose-runtime/payload/compose/shims/dsh-web.js +10 -10
- package/payload/compose-runtime/payload/compose/shims/llm-adapter.js +32 -32
- package/payload/compose-runtime/payload/compose/shims/zod-lite.js +49 -49
- package/payload/compose-runtime/payload/vendor/cordis/LICENSE +21 -21
- package/payload/compose-runtime/payload/vendor/cordis/index.js +1530 -1530
- package/payload/compose-runtime/payload/vendor/cosmokit/LICENSE +21 -21
- package/payload/compose-runtime/payload/vendor/cosmokit/index.mjs +357 -357
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-agent +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-agent-loop +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-llm-core +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-llm-deepseek +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-logger-console +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-scope +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-session +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-system-prompt +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-timeout +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-timer +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-tool-todo +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-tool-web +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-tools-schema +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-turndown +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-turndown-plugin-gfm +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-web-search-exa +21 -21
- package/payload/compose-runtime/payload/vendor/dsh/agent-loop.js +1193 -1193
- package/payload/compose-runtime/payload/vendor/dsh/agent.js +714 -714
- package/payload/compose-runtime/payload/vendor/dsh/llm-core.js +269 -269
- package/payload/compose-runtime/payload/vendor/dsh/llm-deepseek.js +672 -672
- package/payload/compose-runtime/payload/vendor/dsh/logger-console.js +83 -83
- package/payload/compose-runtime/payload/vendor/dsh/scope.js +287 -287
- package/payload/compose-runtime/payload/vendor/dsh/session.js +1668 -1668
- package/payload/compose-runtime/payload/vendor/dsh/system-prompt.js +309 -309
- package/payload/compose-runtime/payload/vendor/dsh/timeout.js +100 -100
- package/payload/compose-runtime/payload/vendor/dsh/timer.js +128 -128
- package/payload/compose-runtime/payload/vendor/dsh/tool-todo.js +143 -143
- package/payload/compose-runtime/payload/vendor/dsh/tool-web.js +1527 -1527
- package/payload/compose-runtime/payload/vendor/dsh/tools-schema.js +849 -849
- package/payload/compose-runtime/payload/vendor/dsh/web-search-exa.js +122 -122
- package/payload/compose-runtime/payload/vendor/eventsource-parser/LICENSE +21 -21
- package/payload/compose-runtime/payload/vendor/eventsource-parser/index.js +177 -177
- package/payload/compose-runtime/payload/vendor/eventsource-parser/stream.js +48 -48
- package/payload/compose-runtime/payload/vendor/schemastery/LICENSE +21 -21
- package/payload/compose-runtime/payload/vendor/schemastery/index.mjs +656 -656
- package/payload/compose-runtime/payload-manifests.json +48 -48
- package/payload/compose-runtime/src/bridge.mjs +193 -195
- package/payload/compose-runtime/src/credentials-runtime.mjs +50 -50
- package/payload/compose-runtime/src/eventsource-stream.mjs +48 -48
- package/payload/compose-runtime/src/index.mjs +7 -7
- package/payload/compose-runtime/src/llm-runtime.mjs +326 -326
- package/payload/compose-runtime/src/loader.mjs +78 -78
- package/payload/compose-runtime/src/loop-assembly.mjs +237 -237
- package/payload/compose-runtime/src/payload.mjs +49 -49
- package/payload/compose-runtime/src/plugin.mjs +59 -59
- package/payload/compose-runtime/src/realm.mjs +223 -223
- package/payload/compose-runtime/src/registry.mjs +191 -191
- package/payload/compose-runtime/src/resolve.mjs +115 -115
- package/payload/compose-runtime/src/systemprompt-runtime.mjs +67 -67
- package/payload/compose-runtime/src/tools-runtime.mjs +239 -239
- package/payload/compose-runtime/src/web-runtime.mjs +209 -209
- package/payload/plugin-host/package.json +11 -11
- package/payload/plugin-host/src/bridge.mjs +64 -64
- package/payload/plugin-host/src/cli.mjs +147 -147
- package/payload/plugin-host/src/framing.mjs +113 -113
- package/payload/plugin-host/src/host.mjs +691 -691
- package/payload/plugin-host/src/json.mjs +208 -208
- package/payload/plugin-host/src/lifecycle.mjs +114 -114
- package/payload/plugin-host/src/loader.mjs +183 -183
- package/payload/plugin-host/src/methods.mjs +377 -377
- package/payload/plugin-host/src/ownership.mjs +57 -57
- package/payload/plugin-host/src/protocol.mjs +129 -129
- package/payload/plugin-host/src/sdk.mjs +7 -7
- package/payload/rebon-boa-helper.exe +0 -0
- package/payload/rebon-browser-mcp.exe +0 -0
- package/payload/rebon-computer-use.exe +0 -0
- package/payload/rebon-lsp-mcp.exe +0 -0
- package/payload/rebon.exe +2 -2
- package/payload/sandbox-win.exe +0 -0
- package/scripts/postinstall.js +112 -112
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
// Mini-streams-protocol build of `eventsource-parser/stream`.
|
|
2
|
-
//
|
|
3
|
-
// The published package's EventSourceParserStream extends the WHATWG
|
|
4
|
-
// TransformStream, which bare deno_core does not have. Kernel JS hosts use
|
|
5
|
-
// the Mini streams protocol instead (see js/web.js): a transform is any
|
|
6
|
-
// object with `transformIterable(source) -> asyncIterable`. Parsing itself
|
|
7
|
-
// is the vendored upstream `createParser` (js/vendor/eventsource-parser/
|
|
8
|
-
// index.js), so framing semantics — chunk reassembly, CRLF/BOM, comment
|
|
9
|
-
// skipping, multi-`data:` joining — are byte-identical to the real package.
|
|
10
|
-
// Error semantics mirror upstream: a parse error reaches `onError` when one
|
|
11
|
-
// is supplied, and only `onError: 'terminate'` or a max-buffer-size
|
|
12
|
-
// overflow aborts the stream.
|
|
13
|
-
import { createParser } from './index.js';
|
|
14
|
-
|
|
15
|
-
export { ParseError } from './index.js';
|
|
16
|
-
|
|
17
|
-
export class EventSourceParserStream {
|
|
18
|
-
constructor({ onError, onRetry, onComment, maxBufferSize } = {}) {
|
|
19
|
-
this._options = { onError, onRetry, onComment, maxBufferSize };
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
transformIterable(source) {
|
|
23
|
-
const { onError, onRetry, onComment, maxBufferSize } = this._options;
|
|
24
|
-
return (async function* () {
|
|
25
|
-
const queue = [];
|
|
26
|
-
let terminal;
|
|
27
|
-
const parser = createParser({
|
|
28
|
-
onEvent: (event) => {
|
|
29
|
-
queue.push(event);
|
|
30
|
-
},
|
|
31
|
-
onError(error) {
|
|
32
|
-
if (typeof onError === 'function') onError(error);
|
|
33
|
-
if (onError === 'terminate' || error.type === 'max-buffer-size-exceeded') {
|
|
34
|
-
terminal = error;
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
onRetry,
|
|
38
|
-
onComment,
|
|
39
|
-
maxBufferSize,
|
|
40
|
-
});
|
|
41
|
-
for await (const chunk of source) {
|
|
42
|
-
parser.feed(chunk);
|
|
43
|
-
while (queue.length > 0) yield queue.shift();
|
|
44
|
-
if (terminal !== undefined) throw terminal;
|
|
45
|
-
}
|
|
46
|
-
})();
|
|
47
|
-
}
|
|
48
|
-
}
|
|
1
|
+
// Mini-streams-protocol build of `eventsource-parser/stream`.
|
|
2
|
+
//
|
|
3
|
+
// The published package's EventSourceParserStream extends the WHATWG
|
|
4
|
+
// TransformStream, which bare deno_core does not have. Kernel JS hosts use
|
|
5
|
+
// the Mini streams protocol instead (see js/web.js): a transform is any
|
|
6
|
+
// object with `transformIterable(source) -> asyncIterable`. Parsing itself
|
|
7
|
+
// is the vendored upstream `createParser` (js/vendor/eventsource-parser/
|
|
8
|
+
// index.js), so framing semantics — chunk reassembly, CRLF/BOM, comment
|
|
9
|
+
// skipping, multi-`data:` joining — are byte-identical to the real package.
|
|
10
|
+
// Error semantics mirror upstream: a parse error reaches `onError` when one
|
|
11
|
+
// is supplied, and only `onError: 'terminate'` or a max-buffer-size
|
|
12
|
+
// overflow aborts the stream.
|
|
13
|
+
import { createParser } from './index.js';
|
|
14
|
+
|
|
15
|
+
export { ParseError } from './index.js';
|
|
16
|
+
|
|
17
|
+
export class EventSourceParserStream {
|
|
18
|
+
constructor({ onError, onRetry, onComment, maxBufferSize } = {}) {
|
|
19
|
+
this._options = { onError, onRetry, onComment, maxBufferSize };
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
transformIterable(source) {
|
|
23
|
+
const { onError, onRetry, onComment, maxBufferSize } = this._options;
|
|
24
|
+
return (async function* () {
|
|
25
|
+
const queue = [];
|
|
26
|
+
let terminal;
|
|
27
|
+
const parser = createParser({
|
|
28
|
+
onEvent: (event) => {
|
|
29
|
+
queue.push(event);
|
|
30
|
+
},
|
|
31
|
+
onError(error) {
|
|
32
|
+
if (typeof onError === 'function') onError(error);
|
|
33
|
+
if (onError === 'terminate' || error.type === 'max-buffer-size-exceeded') {
|
|
34
|
+
terminal = error;
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
onRetry,
|
|
38
|
+
onComment,
|
|
39
|
+
maxBufferSize,
|
|
40
|
+
});
|
|
41
|
+
for await (const chunk of source) {
|
|
42
|
+
parser.feed(chunk);
|
|
43
|
+
while (queue.length > 0) yield queue.shift();
|
|
44
|
+
if (terminal !== undefined) throw terminal;
|
|
45
|
+
}
|
|
46
|
+
})();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021-present Shigma
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021-present Shigma
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|