@devlln/helm
Advanced tools
| { | ||
| "name": "codex-voice-remote-bridge", | ||
| "version": "0.1.6", | ||
| "version": "0.1.7", | ||
| "lockfileVersion": 3, | ||
@@ -9,3 +9,3 @@ "requires": true, | ||
| "name": "codex-voice-remote-bridge", | ||
| "version": "0.1.6", | ||
| "version": "0.1.7", | ||
| "dependencies": { | ||
@@ -12,0 +12,0 @@ "dotenv": "^16.6.1", |
| { | ||
| "name": "codex-voice-remote-bridge", | ||
| "version": "0.1.6", | ||
| "version": "0.1.7", | ||
| "private": true, | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -606,2 +606,58 @@ import test from "node:test"; | ||
| test("Codex desktop session reads prefer local rollout turns before oversized app-server payloads", async () => { | ||
| const client = new CodexAppServerClient("ws://127.0.0.1:0"); | ||
| const hooks = client as unknown as CodexClientPrivateHooks; | ||
| const requestCalls: Array<{ method: string; params?: JSONValue }> = []; | ||
| hooks.localThreadReadFallback = async (threadId: string, includeTurns: boolean) => ({ | ||
| thread: { | ||
| id: threadId, | ||
| name: "Desktop thread", | ||
| preview: "local rollout preview", | ||
| cwd: "/tmp/project", | ||
| status: "idle", | ||
| updatedAt: 456_000, | ||
| sourceKind: "vscode", | ||
| ...(includeTurns | ||
| ? { | ||
| turns: [ | ||
| { | ||
| id: "turn-1", | ||
| status: "completed", | ||
| items: [ | ||
| { | ||
| id: "item-1", | ||
| type: "agentMessage", | ||
| text: "local rollout text", | ||
| }, | ||
| ], | ||
| }, | ||
| ], | ||
| } | ||
| : {}), | ||
| }, | ||
| }); | ||
| hooks.request = async (method: string, params?: JSONValue) => { | ||
| requestCalls.push({ method, params }); | ||
| throw new Error("app-server thread/read should not be called"); | ||
| }; | ||
| const result = await client.readThread("thread-1", { | ||
| allowTurnlessFallback: true, | ||
| }); | ||
| const thread = result && typeof result === "object" && !Array.isArray(result) | ||
| ? result.thread | ||
| : null; | ||
| assert.deepEqual(requestCalls, []); | ||
| assert.equal( | ||
| thread && typeof thread === "object" && !Array.isArray(thread) | ||
| ? Array.isArray(thread.turns) | ||
| ? thread.turns.length | ||
| : 0 | ||
| : 0, | ||
| 1 | ||
| ); | ||
| }); | ||
| test("Codex thread list merge prefers discovered prompt over degraded remote Helm title", () => { | ||
@@ -608,0 +664,0 @@ const client = new CodexAppServerClient("ws://127.0.0.1:0"); |
@@ -329,3 +329,4 @@ import { execFile } from "node:child_process"; | ||
| if AXUIElementCopyAttributeValue(element, attribute, &value) == .success, | ||
| let children = value as? [AXUIElement] { | ||
| let children = value as? [AXUIElement], | ||
| !children.isEmpty { | ||
| return children | ||
@@ -332,0 +333,0 @@ } |
+1
-1
| { | ||
| "name": "@devlln/helm", | ||
| "version": "0.1.6", | ||
| "version": "0.1.7", | ||
| "private": false, | ||
@@ -5,0 +5,0 @@ "description": "Helm CLI bridge installer and runtime helpers.", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
838751
0.5%21928
0.51%9
12.5%