@aerovato/operator-helper 1.4.0 → 1.5.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/README.md CHANGED
@@ -30,6 +30,9 @@ operator-helper install opencode
30
30
  # Pi
31
31
  operator-helper install pi
32
32
 
33
+ # DeepSeek Harness
34
+ operator-helper install deepseek
35
+
33
36
  # Code Puppy
34
37
  operator-helper install code-puppy
35
38
  ```
@@ -48,6 +51,7 @@ The direct user-facing Helper operation is adapter installation:
48
51
  operator-helper install opencode
49
52
  operator-helper install opencode-v2
50
53
  operator-helper install pi
54
+ operator-helper install deepseek
51
55
  operator-helper install code-puppy
52
56
  ```
53
57
 
package/dist/index.js CHANGED
@@ -17998,7 +17998,7 @@ var Uint8Array2 = /* @__PURE__ */ instanceOf(globalThis.Uint8Array, {
17998
17998
  // package.json
17999
17999
  var package_default = {
18000
18000
  name: "@aerovato/operator-helper",
18001
- version: "1.4.0",
18001
+ version: "1.5.0",
18002
18002
  description: "Installation and setup CLI for Operator Memory",
18003
18003
  license: "BSD-3-Clause",
18004
18004
  author: "Aerovato Research",
@@ -18365,9 +18365,15 @@ operator-helper install opencode
18365
18365
  # Install OpenCode V2 plugin
18366
18366
  operator-helper install opencode-v2
18367
18367
 
18368
+ # Install Codex plugin
18369
+ operator-helper install codex
18370
+
18368
18371
  # Install Pi plugin
18369
18372
  operator-helper install pi
18370
18373
 
18374
+ # Install DeepSeek Harness plugin
18375
+ operator-helper install deepseek
18376
+
18371
18377
  # Install Code Puppy plugin
18372
18378
  operator-helper install code-puppy
18373
18379
  \`\`\`
@@ -19340,6 +19346,38 @@ function commandFailure(result, fallback) {
19340
19346
  return result.exitCode === 0 ? null : { exitCode: result.exitCode, output: result.output || fallback };
19341
19347
  }
19342
19348
 
19349
+ // src/commands/install/deepseek.ts
19350
+ var DEEPSEEK_PLUGIN = "@aerovato/operator-deepseek";
19351
+ var MANUAL_INSTALL_HINT = `To install a profile manually, run:
19352
+
19353
+ dsh plugin --profile <profile-name> add ${DEEPSEEK_PLUGIN}
19354
+
19355
+ If the desktop profile was not installed, quit the desktop application and install manually.`;
19356
+ var installDeepSeek = fn2("installDeepSeek")(function* (context) {
19357
+ const web = yield* installProfile("web", context.cwd);
19358
+ const desktop = yield* installProfile("desktop", context.cwd);
19359
+ return {
19360
+ exitCode: web.exitCode === 0 && desktop.exitCode === 0 ? 0 : 1,
19361
+ output: [web.output, desktop.output, "", MANUAL_INSTALL_HINT].join(`
19362
+ `)
19363
+ };
19364
+ });
19365
+ function installProfile(profile, cwd) {
19366
+ return runProcess("dsh", ["plugin", "--profile", profile, "add", DEEPSEEK_PLUGIN], cwd, null).pipe(map5((result) => profileResult(profile, result)));
19367
+ }
19368
+ function profileResult(profile, result) {
19369
+ const label = profile === "web" ? "Web" : "Desktop";
19370
+ if (!result.ok)
19371
+ return { exitCode: 1, output: `✗ ${label}: Could not run dsh: ${result.error}` };
19372
+ if (result.exitCode !== 0) {
19373
+ return {
19374
+ exitCode: result.exitCode,
19375
+ output: `✗ ${label}: ${result.output || "Plugin installation failed"}`
19376
+ };
19377
+ }
19378
+ return { exitCode: 0, output: `✓ ${label}: ${result.output || "Plugin installed"}` };
19379
+ }
19380
+
19343
19381
  // src/commands/install/opencode.ts
19344
19382
  var OPENCODE_PLUGIN = "@aerovato/operator-opencode@latest";
19345
19383
  var installOpenCode = fn2("installOpenCode")(function* (context) {
@@ -20599,6 +20637,7 @@ ${renderTable([
20599
20637
  ["operator-helper install codex", "Install or update the Codex plugin"],
20600
20638
  ["operator-helper install opencode", "Install or update the OpenCode plugin"],
20601
20639
  ["operator-helper install opencode-v2", "Install or update the OpenCode V2 plugin"],
20640
+ ["operator-helper install deepseek", "Install or update the DeepSeek Harness plugin"],
20602
20641
  ["operator-helper install pi", "Install or update the Pi plugin"],
20603
20642
  ["operator-helper install code-puppy", "Install or update the Code Puppy plugin"]
20604
20643
  ])}
@@ -20666,6 +20705,8 @@ function runCli(arguments_, context) {
20666
20705
  return yield* installOpenCode(context);
20667
20706
  case "install opencode-v2":
20668
20707
  return yield* installOpenCodeV2(context);
20708
+ case "install deepseek":
20709
+ return yield* installDeepSeek(context);
20669
20710
  case "install pi":
20670
20711
  return yield* installPi(context);
20671
20712
  case "install code-puppy":
@@ -20723,4 +20764,4 @@ var main = gen2(function* () {
20723
20764
  }).pipe(provide4(LiveLayers));
20724
20765
  runMain2(main);
20725
20766
 
20726
- //# debugId=8D56B5D70FBDBE6E64756E2164756E21
20767
+ //# debugId=370B29D7514D6EDE64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aerovato/operator-helper",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Installation and setup CLI for Operator Memory",
5
5
  "license": "BSD-3-Clause",
6
6
  "author": "Aerovato Research",