@machina.ai/cell-harness 0.1.5-alpha.1.c3 → 0.2.1-rc2.c1
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/README.md +0 -1
- package/README.zh.md +1 -2
- package/config/cell-harness.cordis.patch.yml +8 -1
- package/lib/bin.js +1 -1
- package/lib/index.js +1 -1
- package/lib/{launcher-CV0MXMRv.js → launcher-DONqtzyr.js} +46 -9
- package/lib/profile-boot.js +133 -153
- package/package.json +103 -102
package/README.md
CHANGED
|
@@ -29,4 +29,3 @@ Selected upstream plugins are intentionally disabled in `apps/cell-harness/confi
|
|
|
29
29
|
2. **`@deepseek-ai/dsh-llm-deepseek`** (`llm-deepseek`): Disabled via `disabled: true`. Replaced by `@machina.ai/ch-llm-reboot` to provide Reboot Zero-API-Key multi-model routing across Gemini, Anthropic, OpenAI, and xAI families. *(ADR: `conductor/tracks/reboot_llm_20260908/spec.md`)*.
|
|
30
30
|
3. **`@deepseek-ai/dsh-client-ui-settings-models`** (`ui-settings-models`): Disabled via `disabled: true`. Replaced by `@machina.ai/ch-client-ui-settings-cell-models` to render the Cell Models configuration panel and local provider routing instead of DeepSeek official onboarding. *(ADR: `conductor/tracks/model_settings_20260912/spec.md`)*.
|
|
31
31
|
4. **`@deepseek-ai/dsh-web-search-deepseek`** (`web-search-deepseek`): Disabled via `disabled: true`. Replaced by `@machina.ai/ch-web-search-gemini` (Gemini Search Grounding through Reboot AI Gateway). *(ADR: `conductor/tracks/web_search_gemini_20260913/spec.md`)*.
|
|
32
|
-
|
package/README.zh.md
CHANGED
|
@@ -28,5 +28,4 @@ Nova Solutions 出品的 Cell Harness CLI 可执行程序。
|
|
|
28
28
|
1. **`@deepseek-ai/dsh-client-ui-brand-official`** (`ui-brand-official`): 禁用。由 `@machina.ai/ch-client-ui-brand-nova` 替代以展示 Nova Solutions Systems / Cell Harness 品牌。单占位插槽(`sidebar.brand.mark`、`sidebar.brand.name`、`conversation.hero.brand.mark`)拒绝重复注册;禁用官方占位确保 Nova 品牌为唯一挂载。*(ADR: `conductor/tracks/cell_harness_rebrand_20260908/spec.md`)*。
|
|
29
29
|
2. **`@deepseek-ai/dsh-llm-deepseek`** (`llm-deepseek`): 禁用。由 `@machina.ai/ch-llm-reboot` 替代,提供跨 Gemini、Anthropic、OpenAI 与 xAI 系列的免 API Key 多模型路由。*(ADR: `conductor/tracks/reboot_llm_20260908/spec.md`)*。
|
|
30
30
|
3. **`@deepseek-ai/dsh-client-ui-settings-models`** (`ui-settings-models`): 禁用。由 `@machina.ai/ch-client-ui-settings-cell-models` 替代,展示 Cell 模型设置面板而非 DeepSeek 官方接入引导。*(ADR: `conductor/tracks/model_settings_20260912/spec.md`)*。
|
|
31
|
-
4. **`@deepseek-ai/dsh-web-search-deepseek`** (`web-search-deepseek`): 禁用。由 `@machina.ai/ch-web-search-gemini`(通过 Reboot AI Gateway 的 Gemini 搜索落地)替代。*(ADR: `conductor/tracks/web_search_gemini_20260913/spec.md`)
|
|
32
|
-
|
|
31
|
+
4. **`@deepseek-ai/dsh-web-search-deepseek`** (`web-search-deepseek`): 禁用。由 `@machina.ai/ch-web-search-gemini`(通过 Reboot AI Gateway 的 Gemini 搜索落地)替代。*(ADR: `conductor/tracks/web_search_gemini_20260913/spec.md`)*.
|
|
@@ -86,8 +86,15 @@
|
|
|
86
86
|
- id: session-telemetry-otel
|
|
87
87
|
disabled: true
|
|
88
88
|
|
|
89
|
+
# DeepSeek / Desktop product telemetry and analytics are disabled: prevents sending
|
|
90
|
+
# product usage analytics or metrics logs to upstream DeepSeek or third-party endpoints.
|
|
91
|
+
- id: desktop-product-telemetry
|
|
92
|
+
disabled: true
|
|
93
|
+
|
|
94
|
+
- id: product-analytics
|
|
95
|
+
disabled: true
|
|
96
|
+
|
|
89
97
|
# Agent presets: defaults to standard coding preset
|
|
90
98
|
- id: agent-presets
|
|
91
99
|
config:
|
|
92
100
|
default: standard
|
|
93
|
-
|
package/lib/bin.js
CHANGED
package/lib/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ensureAuthenticatedSession, c as findEAddrInUseError, d as parseCellHarnessArgs, f as resolveCellHarnessDshHome, h as runCellHarnessCli, i as PROFILE_BOOT_SOURCE_URL, l as getBrandBanner, m as resolveProfileBootUrl, n as CELL_HARNESS_VERSION, o as ensureCellHarnessDshHome, p as resolveCellHarnessSessionPath, r as PROFILE_BOOT_ARTIFACT_URL, s as ensureCellHarnessTelemetryDisabled, t as CELL_HARNESS_PATCH, u as installConsoleRebrand } from "./launcher-
|
|
1
|
+
import { a as ensureAuthenticatedSession, c as findEAddrInUseError, d as parseCellHarnessArgs, f as resolveCellHarnessDshHome, h as runCellHarnessCli, i as PROFILE_BOOT_SOURCE_URL, l as getBrandBanner, m as resolveProfileBootUrl, n as CELL_HARNESS_VERSION, o as ensureCellHarnessDshHome, p as resolveCellHarnessSessionPath, r as PROFILE_BOOT_ARTIFACT_URL, s as ensureCellHarnessTelemetryDisabled, t as CELL_HARNESS_PATCH, u as installConsoleRebrand } from "./launcher-DONqtzyr.js";
|
|
2
2
|
export { CELL_HARNESS_PATCH, CELL_HARNESS_VERSION, PROFILE_BOOT_ARTIFACT_URL, PROFILE_BOOT_SOURCE_URL, ensureAuthenticatedSession, ensureCellHarnessDshHome, ensureCellHarnessTelemetryDisabled, findEAddrInUseError, getBrandBanner, installConsoleRebrand, parseCellHarnessArgs, resolveCellHarnessDshHome, resolveCellHarnessSessionPath, resolveProfileBootUrl, runCellHarnessCli };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
1
2
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
2
3
|
import { homedir } from "node:os";
|
|
3
4
|
import { dirname, join, resolve } from "node:path";
|
|
@@ -34,6 +35,19 @@ const NOVA_FAVICON_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2
|
|
|
34
35
|
<path fill="#30a0d0" d="m277.11 219.98-34.66-20.01V240l34.66 20.01v-40.03z"/>
|
|
35
36
|
</svg>
|
|
36
37
|
`;
|
|
38
|
+
/**
|
|
39
|
+
* Nova Solutions Systems isotype for dark mode, all paths styled white (#fff)
|
|
40
|
+
* to remain legible against dark browser tabs.
|
|
41
|
+
*/
|
|
42
|
+
const NOVA_FAVICON_DARK_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 277.11 320" role="img" aria-label="Nova Solutions Systems">
|
|
43
|
+
<path fill="#fff" d="m129.91 115.03 8.66 5V0L34.62 60.02l8.66 5L129.91 15v100.03zm-77.96 84.98v10.01l52-30.04-8.66-5-43.34 25.03zM259.81 70.03 155.86 10v10l95.29 55.03 8.66-5zm-34.65 39.95-52 30.04 8.67 5 43.33-25.03v-10.01zM147.2 305V204.97l-8.66-5V320l103.95-60.02-8.66-5L147.2 305zM25.96 244.97l-8.66 5L121.25 310v-10l-95.29-55.03z"/>
|
|
44
|
+
<path fill="#fff" d="m0 240.01 34.67-20V119.99L0 99.98v140.03Z"/>
|
|
45
|
+
<path fill="#fff" d="m277.11 79.99-34.67 20V200l34.67 20V79.98Z"/>
|
|
46
|
+
<path fill="#fff" d="M0 59.99v40.03l34.67 20.01V80L0 59.99z"/>
|
|
47
|
+
<path fill="#fff" d="M34.63 79.99v40l207.85 120.02v-40L34.63 79.99z"/>
|
|
48
|
+
<path fill="#fff" d="m277.11 219.98-34.66-20.01V240l34.66 20.01v-40.03z"/>
|
|
49
|
+
</svg>
|
|
50
|
+
`;
|
|
37
51
|
/** Browser tab / PWA window title for every Cell Harness `web` profile session. */
|
|
38
52
|
const CELL_HARNESS_WEB_TITLE = "Cell";
|
|
39
53
|
/** Matches the built index.html's single `<title>` element, whatever text it currently carries. */
|
|
@@ -71,6 +85,15 @@ function resolveDshWebFrontendFaviconPath(resolve) {
|
|
|
71
85
|
return distDir === void 0 ? void 0 : join(distDir, "favicon.svg");
|
|
72
86
|
}
|
|
73
87
|
/**
|
|
88
|
+
* Resolve the built dark-mode favicon path inside the installed `dsh-web-frontend` dist.
|
|
89
|
+
* @param resolve - specifier resolver override, used by tests.
|
|
90
|
+
* @returns absolute path to the built dark favicon, or undefined when unresolvable.
|
|
91
|
+
*/
|
|
92
|
+
function resolveDshWebFrontendFaviconDarkPath(resolve) {
|
|
93
|
+
const distDir = resolveDshWebFrontendDistDir(resolve);
|
|
94
|
+
return distDir === void 0 ? void 0 : join(distDir, "favicon-dark.svg");
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
74
97
|
* Resolve the built index.html path inside the installed `dsh-web-frontend` dist.
|
|
75
98
|
* @param resolve - specifier resolver override, used by tests.
|
|
76
99
|
* @returns absolute path to the built index.html, or undefined when unresolvable.
|
|
@@ -89,17 +112,19 @@ function resolveDshWebFrontendManifestPath(resolve) {
|
|
|
89
112
|
return distDir === void 0 ? void 0 : join(distDir, "manifest.webmanifest");
|
|
90
113
|
}
|
|
91
114
|
/**
|
|
92
|
-
* Overwrite the built `dsh-web-frontend`
|
|
93
|
-
* Systems mark, so the Cell Harness `web` profile never serves
|
|
94
|
-
* DeepSeek favicon.
|
|
115
|
+
* Overwrite the built `dsh-web-frontend` favicons (light and dark) with the
|
|
116
|
+
* Nova Solutions Systems mark, so the Cell Harness `web` profile never serves
|
|
117
|
+
* the upstream DeepSeek favicon in either light or dark mode.
|
|
95
118
|
* @param resolve - specifier resolver override, used by tests.
|
|
96
119
|
*/
|
|
97
120
|
function ensureCellHarnessWebFavicon(resolve) {
|
|
98
121
|
const faviconPath = resolveDshWebFrontendFaviconPath(resolve);
|
|
99
|
-
if (faviconPath
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
122
|
+
if (faviconPath !== void 0 && existsSync(faviconPath)) try {
|
|
123
|
+
if (readFileSync(faviconPath, "utf8") !== NOVA_FAVICON_SVG) writeFileSync(faviconPath, NOVA_FAVICON_SVG);
|
|
124
|
+
} catch {}
|
|
125
|
+
const faviconDarkPath = resolveDshWebFrontendFaviconDarkPath(resolve);
|
|
126
|
+
if (faviconDarkPath !== void 0 && existsSync(faviconDarkPath)) try {
|
|
127
|
+
if (readFileSync(faviconDarkPath, "utf8") !== NOVA_FAVICON_DARK_SVG) writeFileSync(faviconDarkPath, NOVA_FAVICON_DARK_SVG);
|
|
103
128
|
} catch {}
|
|
104
129
|
}
|
|
105
130
|
/**
|
|
@@ -524,8 +549,20 @@ var __rewriteRelativeImportExtension = function(path, preserveJsx) {
|
|
|
524
549
|
});
|
|
525
550
|
return path;
|
|
526
551
|
};
|
|
527
|
-
|
|
528
|
-
|
|
552
|
+
const require = createRequire(import.meta.url);
|
|
553
|
+
/** Current published version of Cell Harness CLI, loaded dynamically from package manifest */
|
|
554
|
+
const CELL_HARNESS_VERSION = (function resolveVersion() {
|
|
555
|
+
try {
|
|
556
|
+
const pkg = require("../package.json");
|
|
557
|
+
if (pkg.version) return pkg.version;
|
|
558
|
+
} catch {
|
|
559
|
+
try {
|
|
560
|
+
const pkg = require("../../package.json");
|
|
561
|
+
if (pkg.version) return pkg.version;
|
|
562
|
+
} catch {}
|
|
563
|
+
}
|
|
564
|
+
return "0.2.1-rc2.c1";
|
|
565
|
+
})();
|
|
529
566
|
/** Path to the canonical Cell Harness Cordis patch overlay */
|
|
530
567
|
const CELL_HARNESS_PATCH = fileURLToPath(new URL("../config/cell-harness.cordis.patch.yml", import.meta.url));
|
|
531
568
|
/** Bundled upstream profile boot emitted beside the built launcher chunk in this app's `lib`. */
|
package/lib/profile-boot.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { existsSync, mkdirSync, rmSync, writeFileSync } from "node:fs";
|
|
1
|
+
import { existsSync, mkdirSync, mkdtempSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2
2
|
import { dirname, join, resolve } from "node:path";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
|
-
import { PROFILE_PATCH_FILENAME, PROFILE_TEMPLATES,
|
|
4
|
+
import { PROFILE_PATCH_FILENAME, PROFILE_TEMPLATES, PluginPackages, boot, createRuntimeResolution, initProfile, installFailLoud, loadOverlayPatches, loadProfile, readProfilePatches, reportSkippedBundles, resolveProfileDir } from "@deepseek-ai/dsh-app-boot";
|
|
5
5
|
import { resolveDshHome } from "@deepseek-ai/dsh-home-paths";
|
|
6
6
|
import { installProxyFromEnvironment } from "@deepseek-ai/dsh-http-proxy";
|
|
7
7
|
import { DSH_LAUNCH_ENVIRONMENT_KEY } from "@deepseek-ai/dsh-launch-environment";
|
|
@@ -75,8 +75,7 @@ function createProcessShutdown(dispose, forceExit = (code) => {
|
|
|
75
75
|
* Shared profile boot for every `dsh` surface: resolve the profile, stack its
|
|
76
76
|
* patch layers (bundle layers in `dsh.profile.bundles` order, the profile's
|
|
77
77
|
* own `cordis.patch.yml`, `--patch` overlays, the telemetry switch), mount the
|
|
78
|
-
* tree over the profile's empty root config,
|
|
79
|
-
* lifecycle, and wire fail-loud plus bounded shutdown.
|
|
78
|
+
* tree over the profile's empty root config, and wire fail-loud plus bounded shutdown.
|
|
80
79
|
*
|
|
81
80
|
* App flags are not the launcher's business: the invocation's inner arguments
|
|
82
81
|
* are provided to the tree through `ctx.cmdlineArgs`, where any injected app
|
|
@@ -118,8 +117,6 @@ function homePatchPath() {
|
|
|
118
117
|
}
|
|
119
118
|
/** Absolute path of this dsh installation's package.json (both anchors: src/ and lib/ sit one level under apps/cli). */
|
|
120
119
|
const INSTALL_ANCHOR = fileURLToPath(new URL("../package.json", import.meta.url));
|
|
121
|
-
/** The session-telemetry row id the DSH_TELEMETRY_DISABLED switch targets. */
|
|
122
|
-
const TELEMETRY_ROW_ID = "session-telemetry-otel";
|
|
123
120
|
/** The empty root entry list every profile tree patches over. */
|
|
124
121
|
const PROFILE_ROOT_CONFIG = `# dsh profile root — an empty entry list. The tree is composed as patches:
|
|
125
122
|
# each bundle in package.json's dsh.profile.bundles, then cordis.patch.yml, then any
|
|
@@ -129,15 +126,22 @@ const PROFILE_ROOT_CONFIG = `# dsh profile root — an empty entry list. The tre
|
|
|
129
126
|
/** Root config filename inside a profile directory. */
|
|
130
127
|
const PROFILE_ROOT_FILENAME = "cordis.yml";
|
|
131
128
|
/**
|
|
132
|
-
*
|
|
133
|
-
* the template's bundle list
|
|
129
|
+
* Replace the named custom profile with a fresh copy of one shipped template.
|
|
130
|
+
* This copies only the template's bundle list; local state from the
|
|
134
131
|
* same-named shipped profile is not read, and no inheritance metadata is
|
|
135
|
-
* persisted.
|
|
136
|
-
*
|
|
137
|
-
*
|
|
132
|
+
* persisted. The new profile is assembled in a `.<name>.staging-*` directory
|
|
133
|
+
* under the profiles directory and moved into place; only then is any previous
|
|
134
|
+
* target directory, including its dependencies and user patch, deleted. A
|
|
135
|
+
* failed move restores the previous directory; when restoring also fails, it
|
|
136
|
+
* stays in the staging directory. Shipped profile names, compared without
|
|
137
|
+
* case, are reserved. Concurrent replacements leave one complete copy; each
|
|
138
|
+
* one either succeeds or reports the concurrent recreation.
|
|
139
|
+
* @param name - the profile name to create or replace.
|
|
138
140
|
* @param fromDefaultProfile - shipped profile template to copy.
|
|
139
141
|
* @param home - Harness home containing the profile directory.
|
|
140
|
-
* @throws when the template is unknown, the target name is shipped,
|
|
142
|
+
* @throws when the template is unknown, the target name is shipped, another process recreates the target
|
|
143
|
+
* between the two renames, or a file-system operation fails; a restore failure is an `AggregateError`
|
|
144
|
+
* that names the staging path holding the previous profile.
|
|
141
145
|
*/
|
|
142
146
|
function initializeProfileFromDefault(name, fromDefaultProfile, home = resolveDshHome()) {
|
|
143
147
|
const dir = resolveProfileDir(name, home);
|
|
@@ -146,49 +150,55 @@ function initializeProfileFromDefault(name, fromDefaultProfile, home = resolveDs
|
|
|
146
150
|
const expected = Object.keys(PROFILE_TEMPLATES).sort().map((value) => JSON.stringify(value)).join(", ");
|
|
147
151
|
throw new Error(`${NAME}: unknown default profile ${JSON.stringify(fromDefaultProfile)}; expected one of ${expected}`);
|
|
148
152
|
}
|
|
149
|
-
|
|
153
|
+
const shipped = Object.keys(PROFILE_TEMPLATES).find((shippedName) => shippedName.toLowerCase() === name.toLowerCase());
|
|
154
|
+
if (shipped !== void 0) throw new Error(`${NAME}: profile ${JSON.stringify(name)} names shipped profile ${JSON.stringify(shipped)} and cannot be a custom profile target; omit --from-default-profile to use it`);
|
|
150
155
|
mkdirSync(dirname(dir), { recursive: true });
|
|
156
|
+
const staging = mkdtempSync(join(dirname(dir), `.${name}.staging-`));
|
|
157
|
+
const previous = join(staging, "previous");
|
|
151
158
|
try {
|
|
152
|
-
|
|
159
|
+
const fresh = join(staging, "new", name);
|
|
160
|
+
initProfile(fresh, template.bundles);
|
|
161
|
+
let moved = false;
|
|
162
|
+
try {
|
|
163
|
+
renameSync(dir, previous);
|
|
164
|
+
moved = true;
|
|
165
|
+
} catch (error) {
|
|
166
|
+
if (error.code !== "ENOENT") throw error;
|
|
167
|
+
}
|
|
168
|
+
try {
|
|
169
|
+
renameSync(fresh, dir);
|
|
170
|
+
} catch (error) {
|
|
171
|
+
if (existsSync(dir)) {
|
|
172
|
+
rmSync(previous, {
|
|
173
|
+
recursive: true,
|
|
174
|
+
force: true
|
|
175
|
+
});
|
|
176
|
+
throw new Error(`${NAME}: profile ${JSON.stringify(name)} was recreated concurrently at ${dir}`, { cause: error });
|
|
177
|
+
}
|
|
178
|
+
if (moved) try {
|
|
179
|
+
renameSync(previous, dir);
|
|
180
|
+
} catch (restoreError) {
|
|
181
|
+
throw new AggregateError([error, restoreError], `${NAME}: profile replacement failed and ${dir} could not be restored from ${previous}`);
|
|
182
|
+
}
|
|
183
|
+
throw error;
|
|
184
|
+
}
|
|
153
185
|
} catch (error) {
|
|
154
|
-
if (
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
186
|
+
if (!existsSync(previous)) rmSync(staging, {
|
|
187
|
+
recursive: true,
|
|
188
|
+
force: true
|
|
189
|
+
});
|
|
190
|
+
throw error;
|
|
158
191
|
}
|
|
159
192
|
try {
|
|
160
|
-
|
|
193
|
+
rmSync(staging, {
|
|
194
|
+
recursive: true,
|
|
195
|
+
force: true
|
|
196
|
+
});
|
|
161
197
|
} catch (error) {
|
|
162
|
-
|
|
163
|
-
rmSync(dir, {
|
|
164
|
-
recursive: true,
|
|
165
|
-
force: true
|
|
166
|
-
});
|
|
167
|
-
} catch (cleanupError) {
|
|
168
|
-
throw new AggregateError([error, cleanupError], `${NAME}: profile initialization failed and ${dir} could not be removed`);
|
|
169
|
-
}
|
|
170
|
-
throw error;
|
|
198
|
+
process.stderr.write(`${NAME}: replaced profile ${JSON.stringify(name)} but could not remove ${staging}: ${String(error)}\n`);
|
|
171
199
|
}
|
|
172
200
|
}
|
|
173
201
|
/**
|
|
174
|
-
* Resolve the telemetry opt-out switch into its boot patch. ANY non-empty
|
|
175
|
-
* value (including `'0'`/`'false'`) disables: a privacy switch prefers
|
|
176
|
-
* off-by-mistake over on-by-mistake. A composition without the telemetry row
|
|
177
|
-
* exports nothing, so the switch is then trivially satisfied and no patch is
|
|
178
|
-
* generated — custom profiles need not mount telemetry to run with the
|
|
179
|
-
* switch set.
|
|
180
|
-
* @param disabledEnv - the raw `DSH_TELEMETRY_DISABLED` value (`undefined` when unset).
|
|
181
|
-
* @param hasRow - whether the composition carries the telemetry row.
|
|
182
|
-
* @returns the disable patch, or `undefined` when no hard-disable patch is required.
|
|
183
|
-
*/
|
|
184
|
-
function resolveTelemetryPatch(disabledEnv, hasRow) {
|
|
185
|
-
if ((disabledEnv ?? "") === "" || !hasRow) return void 0;
|
|
186
|
-
return {
|
|
187
|
-
id: TELEMETRY_ROW_ID,
|
|
188
|
-
disabled: true
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
202
|
* Load a resolved profile for `name` and (re)write the empty root config. The
|
|
193
203
|
* root is always rewritten: the whole composition is patch layers, and the
|
|
194
204
|
* vendored Loader's tree write-back (a plugin self-disposing persists the
|
|
@@ -199,25 +209,17 @@ function resolveTelemetryPatch(disabledEnv, hasRow) {
|
|
|
199
209
|
* the identical base).
|
|
200
210
|
* @param name - the profile name.
|
|
201
211
|
* @param userLayer - `false` skips parsing `cordis.patch.yml` (the default dump).
|
|
202
|
-
* @param fromDefaultProfile - shipped template
|
|
212
|
+
* @param fromDefaultProfile - shipped template that replaces the profile before loading it.
|
|
203
213
|
* @returns the loaded profile.
|
|
204
|
-
* @throws when explicit initialization names an unknown template or
|
|
214
|
+
* @throws when explicit initialization names an unknown template or a shipped target.
|
|
205
215
|
*/
|
|
206
216
|
function prepareProfile(name, userLayer = true, fromDefaultProfile) {
|
|
207
217
|
if (fromDefaultProfile !== void 0) initializeProfileFromDefault(name, fromDefaultProfile);
|
|
208
218
|
const profile = loadProfile(NAME, name, INSTALL_ANCHOR, void 0, { userLayer });
|
|
219
|
+
reportSkippedBundles(NAME, profile);
|
|
209
220
|
writeFileSync(join(profile.dir, PROFILE_ROOT_FILENAME), PROFILE_ROOT_CONFIG);
|
|
210
221
|
return profile;
|
|
211
222
|
}
|
|
212
|
-
/** The full patch stack of one composed profile, in application order. */
|
|
213
|
-
function allPatches(composed) {
|
|
214
|
-
return [
|
|
215
|
-
...composed.bundlePatches,
|
|
216
|
-
...composed.profile.patches,
|
|
217
|
-
...composed.homePatches,
|
|
218
|
-
...composed.overlays
|
|
219
|
-
];
|
|
220
|
-
}
|
|
221
223
|
/**
|
|
222
224
|
* Load `name` and compose its effective patch stack: bundle layers in
|
|
223
225
|
* `dsh.profile.bundles` order (a base-backed profile gets the base bundle's
|
|
@@ -227,123 +229,101 @@ function allPatches(composed) {
|
|
|
227
229
|
* then the telemetry switch.
|
|
228
230
|
* @param name - the profile name.
|
|
229
231
|
* @param patchFiles - `--patch` overlay paths, in argv order.
|
|
232
|
+
* @param fromDefaultProfile - shipped template that replaces the named profile.
|
|
233
|
+
* @param resolvedProfile - application-owned profile and installation.
|
|
230
234
|
* @returns the profile and its patch layers.
|
|
231
235
|
*/
|
|
232
|
-
async function composeProfile(name, patchFiles, fromDefaultProfile) {
|
|
233
|
-
const profile = prepareProfile(name, true, fromDefaultProfile);
|
|
234
|
-
|
|
235
|
-
installAnchor: INSTALL_ANCHOR,
|
|
236
|
-
profile
|
|
237
|
-
});
|
|
238
|
-
const homePatches = loadOptionalPatches(NAME, homePatchPath()) ?? [];
|
|
239
|
-
const overlays = patchFiles.flatMap((file) => loadOverlayPatches(NAME, resolve(file)));
|
|
240
|
-
const bundlePatches = profile.layers.flatMap((layer) => layer.patches);
|
|
241
|
-
const rows = /* @__PURE__ */ new Map();
|
|
242
|
-
for (const row of composeEntries([
|
|
243
|
-
bundlePatches,
|
|
244
|
-
profile.patches,
|
|
245
|
-
homePatches,
|
|
246
|
-
overlays
|
|
247
|
-
])) if (typeof row.id === "string") rows.set(row.id, row);
|
|
248
|
-
const composedOverlays = [...overlays];
|
|
249
|
-
const telemetryPatch = resolveTelemetryPatch(process.env.DSH_TELEMETRY_DISABLED, rows.has(TELEMETRY_ROW_ID));
|
|
250
|
-
if (telemetryPatch !== void 0) composedOverlays.push(telemetryPatch);
|
|
236
|
+
async function composeProfile(name, patchFiles, fromDefaultProfile, resolvedProfile) {
|
|
237
|
+
const profile = resolvedProfile?.profile ?? prepareProfile(name, true, fromDefaultProfile);
|
|
238
|
+
if (resolvedProfile !== void 0) writeFileSync(join(profile.dir, PROFILE_ROOT_FILENAME), PROFILE_ROOT_CONFIG);
|
|
251
239
|
return {
|
|
252
240
|
profile,
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
241
|
+
resolution: await createRuntimeResolution({
|
|
242
|
+
installAnchor: resolvedProfile?.installAnchor ?? INSTALL_ANCHOR,
|
|
243
|
+
profile
|
|
244
|
+
}),
|
|
245
|
+
overlays: patchFiles.flatMap((file) => loadOverlayPatches(NAME, resolve(file)))
|
|
256
246
|
};
|
|
257
247
|
}
|
|
258
248
|
/**
|
|
259
|
-
* Re-throw a watcher-setup failure unless a shutdown already owns the tree:
|
|
260
|
-
* a signal aborted this invocation, or an app requested exit (`ctx.appExit`
|
|
261
|
-
* from a fast one-shot) and the root's disposal rejected the in-flight setup
|
|
262
|
-
* await. Either way the failure describes a tree that is exiting as asked,
|
|
263
|
-
* not a broken watch.
|
|
264
|
-
* @param ctx - the booted root context.
|
|
265
|
-
* @param signal - this invocation's signal-shutdown fact.
|
|
266
|
-
* @param error - the setup failure.
|
|
267
|
-
*/
|
|
268
|
-
function suppressShutdownError(ctx, signal, error) {
|
|
269
|
-
if (signal.aborted) return;
|
|
270
|
-
if (ctx.fiber.state !== 2 || ctx.get("loader") === void 0) return;
|
|
271
|
-
throw error;
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
249
|
* Boot one profile invocation end to end and leave process lifetime to the
|
|
275
250
|
* mounted plugins (or to a one-shot runner the composition mounts).
|
|
276
251
|
* @param options - environment snapshot, profile name, overlays, and the booted app's own arguments.
|
|
277
252
|
* @returns the settled root context and the shutdown controller.
|
|
253
|
+
* @throws after disposing startup resources; cleanup failures retain the original error.
|
|
278
254
|
*/
|
|
279
255
|
async function runProfile(options) {
|
|
280
256
|
const disposeProxy = await installProxyFromEnvironment(options.environment, (message) => {
|
|
281
257
|
process.stderr.write(`${NAME}: ${message}\n`);
|
|
282
258
|
});
|
|
283
|
-
const composed = await composeProfile(options.profile, options.patchFiles, options.fromDefaultProfile);
|
|
284
259
|
const app = {};
|
|
285
|
-
|
|
286
|
-
const
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
signalShutdown.abort();
|
|
293
|
-
shutdown.interrupt(code);
|
|
294
|
-
};
|
|
295
|
-
process.on("SIGTERM", () => {
|
|
296
|
-
interrupt(0);
|
|
297
|
-
});
|
|
298
|
-
process.on("SIGINT", () => {
|
|
299
|
-
interrupt(130);
|
|
300
|
-
});
|
|
301
|
-
installFailLoud(NAME, process, async () => {
|
|
302
|
-
await app.current?.fiber.dispose();
|
|
303
|
-
});
|
|
304
|
-
const rootConfig = join(composed.profile.dir, PROFILE_ROOT_FILENAME);
|
|
305
|
-
const composeLive = () => structuredClone([
|
|
306
|
-
...composed.bundlePatches,
|
|
307
|
-
...loadOptionalPatches(NAME, composed.profile.patchPath) ?? [],
|
|
308
|
-
...loadOptionalPatches(NAME, homePatchPath()) ?? [],
|
|
309
|
-
...composed.overlays
|
|
310
|
-
]);
|
|
311
|
-
const ctx = await boot(NAME, rootConfig, structuredClone(allPatches(composed)), (hostCtx) => {
|
|
312
|
-
app.current = hostCtx;
|
|
313
|
-
hostCtx.provide(DSH_LAUNCH_ENVIRONMENT_KEY, options.environment);
|
|
314
|
-
provideCmdline(hostCtx, {
|
|
315
|
-
args: options.args,
|
|
316
|
-
exit: (code) => void shutdown.shutdown(code),
|
|
317
|
-
ready: appReady.service
|
|
318
|
-
});
|
|
319
|
-
});
|
|
320
|
-
app.current = ctx;
|
|
321
|
-
if (composed.profile.patchReload === "live" && !signalShutdown.signal.aborted && ctx.fiber.state === 2 && ctx.get("loader") !== void 0) try {
|
|
322
|
-
if (ctx.get("hmr") === void 0) {
|
|
323
|
-
if (ctx.get("timer") === void 0) await ctx.loader.create({ name: "@deepseek-ai/cordis-plugin-timer" });
|
|
324
|
-
await ctx.loader.create({
|
|
325
|
-
name: "@deepseek-ai/cordis-plugin-hmr",
|
|
326
|
-
config: { root: [] }
|
|
327
|
-
});
|
|
260
|
+
let disposal;
|
|
261
|
+
const dispose = () => disposal ??= (async () => {
|
|
262
|
+
const failures = [];
|
|
263
|
+
for (const release of [() => app.current?.fiber.dispose(), disposeProxy]) try {
|
|
264
|
+
await release();
|
|
265
|
+
} catch (error) {
|
|
266
|
+
failures.push(error);
|
|
328
267
|
}
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
268
|
+
if (failures.length === 1) throw failures[0];
|
|
269
|
+
if (failures.length > 1) throw new AggregateError(failures, "dsh: profile cleanup failed");
|
|
270
|
+
})();
|
|
271
|
+
try {
|
|
272
|
+
const composed = await composeProfile(options.profile, options.patchFiles, options.fromDefaultProfile, options.resolvedProfile);
|
|
273
|
+
const appReady = createAppReady();
|
|
274
|
+
const shutdown = createProcessShutdown(dispose);
|
|
275
|
+
const signalShutdown = new AbortController();
|
|
276
|
+
const interrupt = (code) => {
|
|
277
|
+
signalShutdown.abort();
|
|
278
|
+
shutdown.interrupt(code);
|
|
279
|
+
};
|
|
280
|
+
process.on("SIGTERM", () => {
|
|
281
|
+
interrupt(0);
|
|
282
|
+
});
|
|
283
|
+
process.on("SIGINT", () => {
|
|
284
|
+
interrupt(130);
|
|
333
285
|
});
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
filename: homePatchPath(),
|
|
337
|
-
compose: composeLive
|
|
286
|
+
installFailLoud(NAME, process, async () => {
|
|
287
|
+
await app.current?.fiber.dispose();
|
|
338
288
|
});
|
|
289
|
+
const rootConfig = join(composed.profile.dir, PROFILE_ROOT_FILENAME);
|
|
290
|
+
const profileContext = {
|
|
291
|
+
name: options.profile,
|
|
292
|
+
...options.packageManager === void 0 ? {} : { packageManager: options.packageManager },
|
|
293
|
+
dir: composed.profile.dir,
|
|
294
|
+
patchPath: composed.profile.patchPath,
|
|
295
|
+
installAnchor: options.resolvedProfile?.installAnchor ?? INSTALL_ANCHOR,
|
|
296
|
+
startedBundles: composed.profile.layers.map((layer) => layer.packageName),
|
|
297
|
+
cwd: process.cwd(),
|
|
298
|
+
home: resolveDshHome(),
|
|
299
|
+
overlays: composed.overlays,
|
|
300
|
+
telemetryDisabledEnv: process.env.DSH_TELEMETRY_DISABLED
|
|
301
|
+
};
|
|
302
|
+
const ctx = await boot(NAME, rootConfig, readProfilePatches(NAME, profileContext, composed.profile), async (hostCtx) => {
|
|
303
|
+
app.current = hostCtx;
|
|
304
|
+
hostCtx.provide("profileContext", profileContext);
|
|
305
|
+
hostCtx.provide(DSH_LAUNCH_ENVIRONMENT_KEY, options.environment);
|
|
306
|
+
await hostCtx.plugin(PluginPackages, { resolution: composed.resolution });
|
|
307
|
+
provideCmdline(hostCtx, {
|
|
308
|
+
args: options.args,
|
|
309
|
+
exit: (code) => void shutdown.shutdown(code),
|
|
310
|
+
ready: appReady.service
|
|
311
|
+
});
|
|
312
|
+
});
|
|
313
|
+
app.current = ctx;
|
|
314
|
+
if (!signalShutdown.signal.aborted && ctx.fiber.state === 2 && ctx.get("loader") !== void 0) appReady.commit();
|
|
315
|
+
return {
|
|
316
|
+
ctx,
|
|
317
|
+
shutdown
|
|
318
|
+
};
|
|
339
319
|
} catch (error) {
|
|
340
|
-
|
|
320
|
+
try {
|
|
321
|
+
await dispose();
|
|
322
|
+
} catch (cleanupError) {
|
|
323
|
+
throw new AggregateError([error, cleanupError], "dsh: profile startup and cleanup failed");
|
|
324
|
+
}
|
|
325
|
+
throw error;
|
|
341
326
|
}
|
|
342
|
-
if (!signalShutdown.signal.aborted && ctx.fiber.state === 2 && ctx.get("loader") !== void 0) appReady.commit();
|
|
343
|
-
return {
|
|
344
|
-
ctx,
|
|
345
|
-
shutdown
|
|
346
|
-
};
|
|
347
327
|
}
|
|
348
328
|
//#endregion
|
|
349
|
-
export { INSTALL_ANCHOR, PROFILE_ROOT_FILENAME, homePatchPath, initializeProfileFromDefault, prepareProfile,
|
|
329
|
+
export { INSTALL_ANCHOR, PROFILE_ROOT_FILENAME, homePatchPath, initializeProfileFromDefault, prepareProfile, runProfile };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@machina.ai/cell-harness",
|
|
3
3
|
"description": "Cell Harness CLI: Nova Solutions",
|
|
4
|
-
"version": "0.1
|
|
4
|
+
"version": "0.2.1-rc2.c1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -21,113 +21,114 @@
|
|
|
21
21
|
],
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@deepseek-ai/
|
|
24
|
+
"@deepseek-ai/cordis": "~4.0.5",
|
|
25
|
+
"@deepseek-ai/cordis-plugin-group": "~1.0.5",
|
|
26
|
+
"@deepseek-ai/cordis-plugin-hmr": "~1.0.20",
|
|
27
|
+
"@deepseek-ai/cordis-plugin-include": "~1.0.10",
|
|
28
|
+
"@deepseek-ai/cordis-plugin-loader": "~1.0.6",
|
|
29
|
+
"@deepseek-ai/cordis-plugin-timer": "~1.1.7",
|
|
30
|
+
"@deepseek-ai/dsh-acp-app": "0.2.1-rc.2",
|
|
31
|
+
"@deepseek-ai/dsh-agent-instructions": "0.2.1-rc.2",
|
|
32
|
+
"@deepseek-ai/dsh-agent-preset": "0.2.1-rc.2",
|
|
33
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.2.1-rc.2",
|
|
34
|
+
"@deepseek-ai/dsh-agent-tool-presentation": "0.2.1-rc.2",
|
|
35
|
+
"@deepseek-ai/dsh-app-boot": "0.2.1-rc.2",
|
|
36
|
+
"@deepseek-ai/dsh-base": "0.2.1-rc.2",
|
|
37
|
+
"@deepseek-ai/dsh-client-ui-agent-preset": "0.2.1-rc.2",
|
|
38
|
+
"@deepseek-ai/dsh-client-ui-cordis": "0.2.1-rc.2",
|
|
39
|
+
"@deepseek-ai/dsh-cmdline": "0.2.1-rc.2",
|
|
40
|
+
"@deepseek-ai/dsh-command-compact": "0.2.1-rc.2",
|
|
41
|
+
"@deepseek-ai/dsh-command-goal": "0.2.1-rc.2",
|
|
42
|
+
"@deepseek-ai/dsh-compaction-basic": "0.2.1-rc.2",
|
|
43
|
+
"@deepseek-ai/dsh-compaction-tool-result-pruner": "0.2.1-rc.2",
|
|
44
|
+
"@deepseek-ai/dsh-cordis-client-runner": "0.2.1-rc.2",
|
|
45
|
+
"@deepseek-ai/dsh-fs-local": "0.2.1-rc.2",
|
|
46
|
+
"@deepseek-ai/dsh-goal": "0.2.1-rc.2",
|
|
47
|
+
"@deepseek-ai/dsh-goal-round-driver": "0.2.1-rc.2",
|
|
48
|
+
"@deepseek-ai/dsh-headless": "0.2.1-rc.2",
|
|
49
|
+
"@deepseek-ai/dsh-home-paths": "0.2.1-rc.2",
|
|
50
|
+
"@deepseek-ai/dsh-http-proxy": "0.2.1-rc.2",
|
|
51
|
+
"@deepseek-ai/dsh-jobs-local": "0.2.1-rc.2",
|
|
52
|
+
"@deepseek-ai/dsh-launch-environment": "0.2.1-rc.2",
|
|
53
|
+
"@deepseek-ai/dsh-llm-pi-ai": "0.2.1-rc.2",
|
|
54
|
+
"@deepseek-ai/dsh-lsp-stdio": "0.2.1-rc.2",
|
|
55
|
+
"@deepseek-ai/dsh-mcp-client": "0.2.1-rc.2",
|
|
56
|
+
"@deepseek-ai/dsh-persona": "0.2.1-rc.2",
|
|
57
|
+
"@deepseek-ai/dsh-plan-mode": "0.2.1-rc.2",
|
|
58
|
+
"@deepseek-ai/dsh-pwsh-local": "0.2.1-rc.2",
|
|
59
|
+
"@deepseek-ai/dsh-pwsh-sandbox": "0.2.1-rc.2",
|
|
60
|
+
"@deepseek-ai/dsh-repeat-tool-reminder": "0.2.1-rc.2",
|
|
61
|
+
"@deepseek-ai/dsh-schedule": "0.2.1-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-sdk-app": "0.2.1-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-sdk-minimal": "0.2.1-rc.2",
|
|
64
|
+
"@deepseek-ai/dsh-session-projection": "0.2.1-rc.2",
|
|
65
|
+
"@deepseek-ai/dsh-session-reference": "0.2.1-rc.2",
|
|
66
|
+
"@deepseek-ai/dsh-skill": "0.2.1-rc.2",
|
|
67
|
+
"@deepseek-ai/dsh-skill-filesystem": "0.2.1-rc.2",
|
|
68
|
+
"@deepseek-ai/dsh-subagent": "0.2.1-rc.2",
|
|
69
|
+
"@deepseek-ai/dsh-subagent-acp": "0.2.1-rc.2",
|
|
70
|
+
"@deepseek-ai/dsh-subagent-claude-code": "0.2.1-rc.2",
|
|
71
|
+
"@deepseek-ai/dsh-subagent-codex": "0.2.1-rc.2",
|
|
72
|
+
"@deepseek-ai/dsh-subagent-dsh-sdk": "0.2.1-rc.2",
|
|
73
|
+
"@deepseek-ai/dsh-subagent-fork-in-process": "0.2.1-rc.2",
|
|
74
|
+
"@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.1-rc.2",
|
|
75
|
+
"@deepseek-ai/dsh-terminal": "0.2.1-rc.2",
|
|
76
|
+
"@deepseek-ai/dsh-terminal-bash": "0.2.1-rc.2",
|
|
77
|
+
"@deepseek-ai/dsh-time-context": "0.2.1-rc.2",
|
|
78
|
+
"@deepseek-ai/dsh-tmux-context": "0.2.1-rc.2",
|
|
79
|
+
"@deepseek-ai/dsh-token-meter": "0.2.1-rc.2",
|
|
80
|
+
"@deepseek-ai/dsh-tool-ask-user": "0.2.1-rc.2",
|
|
81
|
+
"@deepseek-ai/dsh-tool-bash": "0.2.1-rc.2",
|
|
82
|
+
"@deepseek-ai/dsh-tool-bash-persistent": "0.2.1-rc.2",
|
|
83
|
+
"@deepseek-ai/dsh-tool-call-timeout-policy": "0.2.1-rc.2",
|
|
84
|
+
"@deepseek-ai/dsh-tool-cordis": "0.2.1-rc.2",
|
|
85
|
+
"@deepseek-ai/dsh-tool-fs": "0.2.1-rc.2",
|
|
86
|
+
"@deepseek-ai/dsh-tool-fs-search": "0.2.1-rc.2",
|
|
87
|
+
"@deepseek-ai/dsh-tool-goal": "0.2.1-rc.2",
|
|
88
|
+
"@deepseek-ai/dsh-tool-jobs": "0.2.1-rc.2",
|
|
89
|
+
"@deepseek-ai/dsh-tool-lsp": "0.2.1-rc.2",
|
|
90
|
+
"@deepseek-ai/dsh-tool-present": "0.2.1-rc.2",
|
|
91
|
+
"@deepseek-ai/dsh-tool-pwsh": "0.2.1-rc.2",
|
|
92
|
+
"@deepseek-ai/dsh-tool-pwsh-persistent": "0.2.1-rc.2",
|
|
93
|
+
"@deepseek-ai/dsh-tool-skill": "0.2.1-rc.2",
|
|
94
|
+
"@deepseek-ai/dsh-tool-str-replace-editor": "0.2.1-rc.2",
|
|
95
|
+
"@deepseek-ai/dsh-tool-subagent": "0.2.1-rc.2",
|
|
96
|
+
"@deepseek-ai/dsh-tool-subagent-control": "0.2.1-rc.2",
|
|
97
|
+
"@deepseek-ai/dsh-tool-todo": "0.2.1-rc.2",
|
|
98
|
+
"@deepseek-ai/dsh-tool-web": "0.2.1-rc.2",
|
|
99
|
+
"@deepseek-ai/dsh-tool-workflow": "0.2.1-rc.2",
|
|
100
|
+
"@deepseek-ai/dsh-web-app": "0.2.1-rc.2",
|
|
101
|
+
"@deepseek-ai/dsh-web-frontend": "0.2.1-rc.2",
|
|
102
|
+
"@deepseek-ai/dsh-web-search-exa": "0.2.1-rc.2",
|
|
103
|
+
"@deepseek-ai/dsh-web-search-perplexity": "0.2.1-rc.2",
|
|
104
|
+
"@deepseek-ai/dsh-workflow-ptc": "0.2.1-rc.2",
|
|
105
|
+
"@deepseek-ai/schemastery": "~3.18.5",
|
|
106
|
+
"@machina.ai/ch-auth-reboot-sso": "^0.2.1-rc2.c1",
|
|
107
|
+
"@machina.ai/ch-client-locale-es-mx": "^0.2.1-rc2.c1",
|
|
108
|
+
"@machina.ai/ch-client-ui-brand-nova": "^0.2.1-rc2.c1",
|
|
109
|
+
"@machina.ai/ch-client-ui-settings-cell-models": "^0.2.1-rc2.c1",
|
|
110
|
+
"@machina.ai/ch-image": "^0.2.1-rc2.c1",
|
|
111
|
+
"@machina.ai/ch-image-gemini-reboot": "^0.2.1-rc2.c1",
|
|
112
|
+
"@machina.ai/ch-llm-reboot": "^0.2.1-rc2.c1",
|
|
113
|
+
"@machina.ai/ch-skill-conductor": "^0.2.1-rc2.c1",
|
|
114
|
+
"@machina.ai/ch-tool-image": "^0.2.1-rc2.c1",
|
|
115
|
+
"@machina.ai/ch-web-search-gemini": "^0.2.1-rc2.c1",
|
|
25
116
|
"commander": "^15.0.0",
|
|
26
117
|
"js-yaml": "^4.2.0",
|
|
27
|
-
"node-addon-require-builtin": "^0.1.4"
|
|
28
|
-
"@deepseek-ai/cordis": "4.0.2",
|
|
29
|
-
"@deepseek-ai/cordis-plugin-group": "1.0.2",
|
|
30
|
-
"@deepseek-ai/cordis-plugin-loader": "1.0.3",
|
|
31
|
-
"@deepseek-ai/cordis-plugin-hmr": "1.0.17",
|
|
32
|
-
"@deepseek-ai/cordis-plugin-include": "1.0.7",
|
|
33
|
-
"@deepseek-ai/cordis-plugin-timer": "1.1.4",
|
|
34
|
-
"@deepseek-ai/dsh-agent-presets": "0.1.5-alpha.1",
|
|
35
|
-
"@deepseek-ai/dsh-agent-tool-presentation": "0.1.5-alpha.1",
|
|
36
|
-
"@deepseek-ai/dsh-app-boot": "0.1.5-alpha.1",
|
|
37
|
-
"@deepseek-ai/dsh-base": "0.1.5-alpha.1",
|
|
38
|
-
"@deepseek-ai/dsh-client-ui-cordis": "0.1.5-alpha.1",
|
|
39
|
-
"@deepseek-ai/dsh-client-ui-agent-preset": "0.1.5-alpha.1",
|
|
40
|
-
"@deepseek-ai/dsh-command-compact": "0.1.5-alpha.1",
|
|
41
|
-
"@deepseek-ai/dsh-command-goal": "0.1.5-alpha.1",
|
|
42
|
-
"@deepseek-ai/dsh-agent-instructions": "0.1.5-alpha.1",
|
|
43
|
-
"@deepseek-ai/dsh-compaction-tool-result-pruner": "0.1.5-alpha.1",
|
|
44
|
-
"@deepseek-ai/dsh-compaction-basic": "0.1.5-alpha.1",
|
|
45
|
-
"@deepseek-ai/dsh-cordis-client-runner": "0.1.5-alpha.1",
|
|
46
|
-
"@deepseek-ai/dsh-fs-local": "0.1.5-alpha.1",
|
|
47
|
-
"@deepseek-ai/dsh-goal": "0.1.5-alpha.1",
|
|
48
|
-
"@deepseek-ai/dsh-goal-round-driver": "0.1.5-alpha.1",
|
|
49
|
-
"@deepseek-ai/dsh-acp-app": "0.1.5-alpha.1",
|
|
50
|
-
"@deepseek-ai/dsh-hooks-codex": "0.1.5-alpha.1",
|
|
51
|
-
"@deepseek-ai/dsh-http-proxy": "0.1.5-alpha.1",
|
|
52
|
-
"@deepseek-ai/dsh-home-paths": "0.1.5-alpha.1",
|
|
53
|
-
"@deepseek-ai/dsh-headless": "0.1.5-alpha.1",
|
|
54
|
-
"@deepseek-ai/dsh-jobs-local": "0.1.5-alpha.1",
|
|
55
|
-
"@deepseek-ai/dsh-llm-pi-ai": "0.1.5-alpha.1",
|
|
56
|
-
"@deepseek-ai/dsh-cmdline": "0.1.5-alpha.1",
|
|
57
|
-
"@deepseek-ai/dsh-lsp-stdio": "0.1.5-alpha.1",
|
|
58
|
-
"@deepseek-ai/dsh-launch-environment": "0.1.5-alpha.1",
|
|
59
|
-
"@deepseek-ai/dsh-persona": "0.1.5-alpha.1",
|
|
60
|
-
"@deepseek-ai/dsh-plan-mode": "0.1.5-alpha.1",
|
|
61
|
-
"@deepseek-ai/dsh-hooks-claude-code": "0.1.5-alpha.1",
|
|
62
|
-
"@deepseek-ai/dsh-pwsh-sandbox": "0.1.5-alpha.1",
|
|
63
|
-
"@deepseek-ai/dsh-mcp-client": "0.1.5-alpha.1",
|
|
64
|
-
"@deepseek-ai/dsh-pwsh-local": "0.1.5-alpha.1",
|
|
65
|
-
"@deepseek-ai/dsh-repeat-tool-reminder": "0.1.5-alpha.1",
|
|
66
|
-
"@deepseek-ai/dsh-sdk-minimal": "0.1.5-alpha.1",
|
|
67
|
-
"@deepseek-ai/dsh-sdk-app": "0.1.5-alpha.1",
|
|
68
|
-
"@deepseek-ai/dsh-schedule": "0.1.5-alpha.1",
|
|
69
|
-
"@deepseek-ai/dsh-session-projection": "0.1.5-alpha.1",
|
|
70
|
-
"@deepseek-ai/dsh-subagent": "0.1.5-alpha.1",
|
|
71
|
-
"@deepseek-ai/dsh-skill": "0.1.5-alpha.1",
|
|
72
|
-
"@deepseek-ai/dsh-skill-filesystem": "0.1.5-alpha.1",
|
|
73
|
-
"@deepseek-ai/dsh-subagent-codex": "0.1.5-alpha.1",
|
|
74
|
-
"@deepseek-ai/dsh-subagent-claude-code": "0.1.5-alpha.1",
|
|
75
|
-
"@deepseek-ai/dsh-terminal": "0.1.5-alpha.1",
|
|
76
|
-
"@deepseek-ai/dsh-time-context": "0.1.5-alpha.1",
|
|
77
|
-
"@deepseek-ai/dsh-subagent-fork-in-process": "0.1.5-alpha.1",
|
|
78
|
-
"@deepseek-ai/dsh-session-reference": "0.1.5-alpha.1",
|
|
79
|
-
"@deepseek-ai/dsh-subagent-dsh-sdk": "0.1.5-alpha.1",
|
|
80
|
-
"@deepseek-ai/dsh-terminal-bash": "0.1.5-alpha.1",
|
|
81
|
-
"@deepseek-ai/dsh-token-meter": "0.1.5-alpha.1",
|
|
82
|
-
"@deepseek-ai/dsh-subagent-acp": "0.1.5-alpha.1",
|
|
83
|
-
"@deepseek-ai/dsh-tmux-context": "0.1.5-alpha.1",
|
|
84
|
-
"@deepseek-ai/dsh-tool-bash": "0.1.5-alpha.1",
|
|
85
|
-
"@deepseek-ai/dsh-tool-ask-user": "0.1.5-alpha.1",
|
|
86
|
-
"@deepseek-ai/dsh-tool-bash-persistent": "0.1.5-alpha.1",
|
|
87
|
-
"@deepseek-ai/dsh-tool-call-timeout-policy": "0.1.5-alpha.1",
|
|
88
|
-
"@deepseek-ai/dsh-tool-cordis": "0.1.5-alpha.1",
|
|
89
|
-
"@deepseek-ai/dsh-tool-fs-search": "0.1.5-alpha.1",
|
|
90
|
-
"@deepseek-ai/dsh-subagent-spawn-in-process": "0.1.5-alpha.1",
|
|
91
|
-
"@deepseek-ai/dsh-tool-fs": "0.1.5-alpha.1",
|
|
92
|
-
"@deepseek-ai/dsh-tool-goal": "0.1.5-alpha.1",
|
|
93
|
-
"@deepseek-ai/dsh-tool-lsp": "0.1.5-alpha.1",
|
|
94
|
-
"@deepseek-ai/dsh-tool-pwsh": "0.1.5-alpha.1",
|
|
95
|
-
"@deepseek-ai/dsh-tool-pwsh-persistent": "0.1.5-alpha.1",
|
|
96
|
-
"@deepseek-ai/dsh-tool-jobs": "0.1.5-alpha.1",
|
|
97
|
-
"@deepseek-ai/dsh-tool-ralph": "0.1.5-alpha.1",
|
|
98
|
-
"@deepseek-ai/dsh-tool-session-query": "0.1.5-alpha.1",
|
|
99
|
-
"@deepseek-ai/dsh-tool-str-replace-editor": "0.1.5-alpha.1",
|
|
100
|
-
"@deepseek-ai/dsh-tool-skill": "0.1.5-alpha.1",
|
|
101
|
-
"@deepseek-ai/dsh-tool-subagent": "0.1.5-alpha.1",
|
|
102
|
-
"@deepseek-ai/dsh-tool-subagent-control": "0.1.5-alpha.1",
|
|
103
|
-
"@deepseek-ai/dsh-tool-terminal": "0.1.5-alpha.1",
|
|
104
|
-
"@deepseek-ai/dsh-tool-todo": "0.1.5-alpha.1",
|
|
105
|
-
"@deepseek-ai/dsh-tool-workflow": "0.1.5-alpha.1",
|
|
106
|
-
"@deepseek-ai/dsh-tool-web": "0.1.5-alpha.1",
|
|
107
|
-
"@deepseek-ai/dsh-web-frontend": "0.1.5-alpha.1",
|
|
108
|
-
"@deepseek-ai/dsh-web-app": "0.1.5-alpha.1",
|
|
109
|
-
"@deepseek-ai/dsh-web-search-exa": "0.1.5-alpha.1",
|
|
110
|
-
"@deepseek-ai/dsh-webhook": "0.1.5-alpha.1",
|
|
111
|
-
"@deepseek-ai/dsh-web-search-perplexity": "0.1.5-alpha.1",
|
|
112
|
-
"@deepseek-ai/dsh-workflow-worker-thread": "0.1.5-alpha.1",
|
|
113
|
-
"@deepseek-ai/schemastery": "3.18.2",
|
|
114
|
-
"@machina.ai/ch-auth-reboot-sso": "^0.1.5-alpha.1.c3",
|
|
115
|
-
"@machina.ai/ch-client-locale-es-mx": "^0.1.5-alpha.1.c3",
|
|
116
|
-
"@machina.ai/ch-client-ui-brand-nova": "^0.1.5-alpha.1.c3",
|
|
117
|
-
"@machina.ai/ch-image": "^0.1.5-alpha.1.c3",
|
|
118
|
-
"@machina.ai/ch-client-ui-settings-cell-models": "^0.1.5-alpha.1.c3",
|
|
119
|
-
"@machina.ai/ch-image-gemini-reboot": "^0.1.5-alpha.1.c3",
|
|
120
|
-
"@machina.ai/ch-llm-reboot": "^0.1.5-alpha.1.c3",
|
|
121
|
-
"@machina.ai/ch-skill-conductor": "^0.1.5-alpha.1.c3",
|
|
122
|
-
"@machina.ai/ch-tool-image": "^0.1.5-alpha.1.c3",
|
|
123
|
-
"@deepseek-ai/dsh-webhook-github": "0.1.5-alpha.1",
|
|
124
|
-
"@machina.ai/ch-web-search-gemini": "^0.1.5-alpha.1.c3"
|
|
118
|
+
"node-addon-require-builtin": "^0.1.4"
|
|
125
119
|
},
|
|
126
120
|
"devDependencies": {
|
|
121
|
+
"@deepseek-ai/cordis-plugin-include": "~1.0.10",
|
|
122
|
+
"@deepseek-ai/dsh-hooks-claude-code": "0.2.1-rc.2",
|
|
123
|
+
"@deepseek-ai/dsh-hooks-codex": "0.2.1-rc.2",
|
|
124
|
+
"@deepseek-ai/dsh-tool-ralph": "0.2.1-rc.2",
|
|
125
|
+
"@deepseek-ai/dsh-tool-session-query": "0.2.1-rc.2",
|
|
126
|
+
"@deepseek-ai/dsh-tool-terminal": "0.2.1-rc.2",
|
|
127
|
+
"@deepseek-ai/dsh-webhook": "0.2.1-rc.2",
|
|
128
|
+
"@deepseek-ai/dsh-webhook-github": "0.2.1-rc.2",
|
|
127
129
|
"@types/js-yaml": "^4.0.9",
|
|
128
130
|
"@types/node": "^22.0.0",
|
|
129
|
-
"js-yaml": "^4.1.0"
|
|
130
|
-
"@deepseek-ai/cordis-plugin-include": "^1.0.7"
|
|
131
|
+
"js-yaml": "^4.1.0"
|
|
131
132
|
},
|
|
132
133
|
"scripts": {
|
|
133
134
|
"bundle": "tsdown",
|