oh-my-openagent 4.5.8 → 4.5.9
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oh-my-openagent",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.9",
|
|
4
4
|
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -131,17 +131,17 @@
|
|
|
131
131
|
"zod": "^4.4.3"
|
|
132
132
|
},
|
|
133
133
|
"optionalDependencies": {
|
|
134
|
-
"oh-my-openagent-darwin-arm64": "4.5.
|
|
135
|
-
"oh-my-openagent-darwin-x64": "4.5.
|
|
136
|
-
"oh-my-openagent-darwin-x64-baseline": "4.5.
|
|
137
|
-
"oh-my-openagent-linux-arm64": "4.5.
|
|
138
|
-
"oh-my-openagent-linux-arm64-musl": "4.5.
|
|
139
|
-
"oh-my-openagent-linux-x64": "4.5.
|
|
140
|
-
"oh-my-openagent-linux-x64-baseline": "4.5.
|
|
141
|
-
"oh-my-openagent-linux-x64-musl": "4.5.
|
|
142
|
-
"oh-my-openagent-linux-x64-musl-baseline": "4.5.
|
|
143
|
-
"oh-my-openagent-windows-x64": "4.5.
|
|
144
|
-
"oh-my-openagent-windows-x64-baseline": "4.5.
|
|
134
|
+
"oh-my-openagent-darwin-arm64": "4.5.9",
|
|
135
|
+
"oh-my-openagent-darwin-x64": "4.5.9",
|
|
136
|
+
"oh-my-openagent-darwin-x64-baseline": "4.5.9",
|
|
137
|
+
"oh-my-openagent-linux-arm64": "4.5.9",
|
|
138
|
+
"oh-my-openagent-linux-arm64-musl": "4.5.9",
|
|
139
|
+
"oh-my-openagent-linux-x64": "4.5.9",
|
|
140
|
+
"oh-my-openagent-linux-x64-baseline": "4.5.9",
|
|
141
|
+
"oh-my-openagent-linux-x64-musl": "4.5.9",
|
|
142
|
+
"oh-my-openagent-linux-x64-musl-baseline": "4.5.9",
|
|
143
|
+
"oh-my-openagent-windows-x64": "4.5.9",
|
|
144
|
+
"oh-my-openagent-windows-x64-baseline": "4.5.9"
|
|
145
145
|
},
|
|
146
146
|
"overrides": {
|
|
147
147
|
"hono": "^4.12.18",
|
|
@@ -16,6 +16,7 @@ const DEFAULT_SOURCE_DIR = join(PACKAGE_ROOT, "src", "telemetry");
|
|
|
16
16
|
const DEFAULT_COMPONENT_DIR = join(PACKAGE_ROOT, "plugin", "components", "telemetry", "src");
|
|
17
17
|
|
|
18
18
|
export async function syncTelemetryComponent(options = {}) {
|
|
19
|
+
const sourceDirProvided = options.sourceDir !== undefined;
|
|
19
20
|
const sourceDir = resolve(options.sourceDir ?? DEFAULT_SOURCE_DIR);
|
|
20
21
|
const componentDir = resolve(options.componentDir ?? DEFAULT_COMPONENT_DIR);
|
|
21
22
|
const files = options.files ?? TELEMETRY_SYNC_FILES;
|
|
@@ -25,8 +26,13 @@ export async function syncTelemetryComponent(options = {}) {
|
|
|
25
26
|
for (const fileName of files) {
|
|
26
27
|
const sourcePath = join(sourceDir, fileName);
|
|
27
28
|
const componentPath = join(componentDir, fileName);
|
|
28
|
-
const sourceText = await readFile(sourcePath, "utf8");
|
|
29
29
|
const componentText = await readOptionalText(componentPath);
|
|
30
|
+
const sourceText = await readOptionalText(sourcePath);
|
|
31
|
+
if (sourceText === null && !sourceDirProvided && componentText !== null) continue;
|
|
32
|
+
if (sourceText === null) {
|
|
33
|
+
await readFile(sourcePath, "utf8");
|
|
34
|
+
continue;
|
|
35
|
+
}
|
|
30
36
|
const nextText = toComponentSource(sourceText);
|
|
31
37
|
if (componentText === nextText) continue;
|
|
32
38
|
changed.push(fileName);
|