@rebon/cli-win32-x64 1.2.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 -128
- 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 -0
- 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 -0
- package/payload/compose-runtime/payload/vendor/dsh/LICENSE-turndown-plugin-gfm +21 -0
- 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 -0
- 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
- package/payload/compose-runtime/payload/compose/credentials-runtime.js +0 -38
- package/payload/compose-runtime/payload/compose/llm-runtime.js +0 -330
- package/payload/compose-runtime/payload/compose/loop-assembly.js +0 -149
- package/payload/compose-runtime/payload/compose/serve-dispatch.js +0 -82
- package/payload/compose-runtime/payload/compose/systemprompt-runtime.js +0 -74
- package/payload/compose-runtime/payload/compose/tools-runtime.js +0 -228
- package/payload/compose-runtime/payload/compose/web-runtime.js +0 -204
package/package.json
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebon/cli-win32-x64",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Agent cli for coding and more.",
|
|
5
|
-
"license": "
|
|
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
|
"payload",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@rebon/compose-runtime",
|
|
3
|
-
"version": "0.0.0-private",
|
|
4
|
-
"private": true,
|
|
5
|
-
"type": "module",
|
|
6
|
-
"license": "UNLICENSED",
|
|
7
|
-
"engines": {
|
|
8
|
-
"node": ">=24.19.0 <25"
|
|
9
|
-
},
|
|
10
|
-
"scripts": {
|
|
11
|
-
"test": "node --test test/*.test.mjs"
|
|
12
|
-
},
|
|
13
|
-
"exports": {
|
|
14
|
-
".": "./src/index.mjs",
|
|
15
|
-
"./control": "./src/plugin.mjs"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@rebon/compose-runtime",
|
|
3
|
+
"version": "0.0.0-private",
|
|
4
|
+
"private": true,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=24.19.0 <25"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"test": "node --test test/*.test.mjs"
|
|
12
|
+
},
|
|
13
|
+
"exports": {
|
|
14
|
+
".": "./src/index.mjs",
|
|
15
|
+
"./control": "./src/plugin.mjs"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
// Embedded-runtime shim of `@deepseek-ai/dsh-anonymous-user-id`.
|
|
2
|
-
//
|
|
3
|
-
// The real package persists a random id under the dsh home for telemetry
|
|
4
|
-
// correlation. The embedded runtime is not a dsh install and keeps no dsh
|
|
5
|
-
// home; a fixed marker keeps the (harmless, non-secret) telemetry header
|
|
6
|
-
// shape intact while identifying the traffic as rebon-embedded.
|
|
7
|
-
|
|
8
|
-
export function getOrCreateAnonymousUserId() {
|
|
9
|
-
return 'rebon-embedded';
|
|
10
|
-
}
|
|
1
|
+
// Embedded-runtime shim of `@deepseek-ai/dsh-anonymous-user-id`.
|
|
2
|
+
//
|
|
3
|
+
// The real package persists a random id under the dsh home for telemetry
|
|
4
|
+
// correlation. The embedded runtime is not a dsh install and keeps no dsh
|
|
5
|
+
// home; a fixed marker keeps the (harmless, non-secret) telemetry header
|
|
6
|
+
// shape intact while identifying the traffic as rebon-embedded.
|
|
7
|
+
|
|
8
|
+
export function getOrCreateAnonymousUserId() {
|
|
9
|
+
return 'rebon-embedded';
|
|
10
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
// Embedded-runtime shim of `@deepseek-ai/dsh-credentials` (runtime surface
|
|
2
|
-
// only). The credentials *service* itself is the composition host's
|
|
3
|
-
// credentials-runtime.js seat; consumers reach it via `ctx.get('credentials')`.
|
|
4
|
-
|
|
5
|
-
const REF_PATTERN = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
6
|
-
|
|
7
|
-
/** Brand a raw string as a CredentialRef (a POSIX environment-variable name). */
|
|
8
|
-
export function credentialRef(value) {
|
|
9
|
-
if (!REF_PATTERN.test(value)) {
|
|
10
|
-
throw new TypeError(`credential ref "${value}" must match ${String(REF_PATTERN)}`);
|
|
11
|
-
}
|
|
12
|
-
return value;
|
|
13
|
-
}
|
|
1
|
+
// Embedded-runtime shim of `@deepseek-ai/dsh-credentials` (runtime surface
|
|
2
|
+
// only). The credentials *service* itself is the composition host's
|
|
3
|
+
// credentials-runtime.js seat; consumers reach it via `ctx.get('credentials')`.
|
|
4
|
+
|
|
5
|
+
const REF_PATTERN = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
6
|
+
|
|
7
|
+
/** Brand a raw string as a CredentialRef (a POSIX environment-variable name). */
|
|
8
|
+
export function credentialRef(value) {
|
|
9
|
+
if (!REF_PATTERN.test(value)) {
|
|
10
|
+
throw new TypeError(`credential ref "${value}" must match ${String(REF_PATTERN)}`);
|
|
11
|
+
}
|
|
12
|
+
return value;
|
|
13
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
// Embedded-runtime shim of `@deepseek-ai/dsh-launch-environment`.
|
|
2
|
-
//
|
|
3
|
-
// The embedded composition deliberately exposes NO ambient environment to
|
|
4
|
-
// plugins: every credential goes through the fail-closed credentials seat,
|
|
5
|
-
// and connection facts come from plugin config. An always-empty snapshot
|
|
6
|
-
// makes each consumer take its documented fallback (dsh-llm-deepseek's
|
|
7
|
-
// baseURL falls to the public API; its ambient-key branch never wins because
|
|
8
|
-
// the credentials seat is mounted).
|
|
9
|
-
|
|
10
|
-
const EMPTY_SNAPSHOT = Object.freeze({
|
|
11
|
-
get: (_name) => undefined,
|
|
12
|
-
getFrom: (_name, _sources) => undefined,
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
/** The launcher snapshot for this run: embedded hosts provide none. */
|
|
16
|
-
export function launchEnvironmentOf(_ctx) {
|
|
17
|
-
return EMPTY_SNAPSHOT;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/** Context slot name the real launcher fills; exported for API parity. */
|
|
21
|
-
export const DSH_LAUNCH_ENVIRONMENT_KEY = 'launchEnvironment';
|
|
1
|
+
// Embedded-runtime shim of `@deepseek-ai/dsh-launch-environment`.
|
|
2
|
+
//
|
|
3
|
+
// The embedded composition deliberately exposes NO ambient environment to
|
|
4
|
+
// plugins: every credential goes through the fail-closed credentials seat,
|
|
5
|
+
// and connection facts come from plugin config. An always-empty snapshot
|
|
6
|
+
// makes each consumer take its documented fallback (dsh-llm-deepseek's
|
|
7
|
+
// baseURL falls to the public API; its ambient-key branch never wins because
|
|
8
|
+
// the credentials seat is mounted).
|
|
9
|
+
|
|
10
|
+
const EMPTY_SNAPSHOT = Object.freeze({
|
|
11
|
+
get: (_name) => undefined,
|
|
12
|
+
getFrom: (_name, _sources) => undefined,
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
/** The launcher snapshot for this run: embedded hosts provide none. */
|
|
16
|
+
export function launchEnvironmentOf(_ctx) {
|
|
17
|
+
return EMPTY_SNAPSHOT;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/** Context slot name the real launcher fills; exported for API parity. */
|
|
21
|
+
export const DSH_LAUNCH_ENVIRONMENT_KEY = 'launchEnvironment';
|