@aerovato/operator-helper 1.2.0 → 1.2.1
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 +4 -4
- package/dist/index.js +4 -4
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,12 +21,12 @@ bun add --global --minimum-release-age 0 @aerovato/operator-helper@latest
|
|
|
21
21
|
Install an adapter:
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
|
-
# OpenCode
|
|
25
|
-
operator-helper install opencode
|
|
26
|
-
|
|
27
|
-
# OpenCode V2 beta
|
|
24
|
+
# OpenCode 2
|
|
28
25
|
operator-helper install opencode-v2
|
|
29
26
|
|
|
27
|
+
# OpenCode 1 (legacy)
|
|
28
|
+
operator-helper install opencode
|
|
29
|
+
|
|
30
30
|
# Pi
|
|
31
31
|
operator-helper install pi
|
|
32
32
|
|
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.2.
|
|
18001
|
+
version: "1.2.1",
|
|
18002
18002
|
description: "Installation and setup CLI for Operator Memory",
|
|
18003
18003
|
license: "BSD-3-Clause",
|
|
18004
18004
|
author: "Aerovato Research",
|
|
@@ -19178,7 +19178,7 @@ var installOpenCode = fn2("installOpenCode")(function* (context) {
|
|
|
19178
19178
|
var OPENCODE_V2_PLUGIN = "@aerovato/operator-opencode-v2@latest";
|
|
19179
19179
|
var installOpenCodeV2 = fn2("installOpenCodeV2")(function* (context) {
|
|
19180
19180
|
const spawner = yield* ChildProcessSpawner;
|
|
19181
|
-
const command = make11("
|
|
19181
|
+
const command = make11("opencode", ["plugin", "add", OPENCODE_V2_PLUGIN], {
|
|
19182
19182
|
cwd: context.cwd,
|
|
19183
19183
|
env: { NPM_CONFIG_MIN_RELEASE_AGE: "0" },
|
|
19184
19184
|
extendEnv: true
|
|
@@ -19194,7 +19194,7 @@ var installOpenCodeV2 = fn2("installOpenCodeV2")(function* (context) {
|
|
|
19194
19194
|
})).pipe(result2);
|
|
19195
19195
|
if (isFailure2(execution)) {
|
|
19196
19196
|
const message = execution.failure instanceof PlatformError ? execution.failure.reason.description ?? execution.failure.message : getErrorMessage(execution.failure);
|
|
19197
|
-
return { exitCode: 1, output: `✗ Could not run
|
|
19197
|
+
return { exitCode: 1, output: `✗ Could not run opencode: ${message}` };
|
|
19198
19198
|
}
|
|
19199
19199
|
const output = [execution.success.stdout.trim(), execution.success.stderr.trim()].filter(Boolean).join(`
|
|
19200
19200
|
`);
|
|
@@ -20546,4 +20546,4 @@ var main = gen2(function* () {
|
|
|
20546
20546
|
}).pipe(provide4(LiveLayers));
|
|
20547
20547
|
runMain2(main);
|
|
20548
20548
|
|
|
20549
|
-
//# debugId=
|
|
20549
|
+
//# debugId=6692B2A2E88947E864756E2164756E21
|