opencode-copilot-auth
Advanced tools
+4
-3
@@ -121,5 +121,6 @@ /** | ||
| if (body?.messages) { | ||
| isAgentCall = body.messages.some( | ||
| (msg) => msg.role && ["tool", "assistant"].includes(msg.role), | ||
| ); | ||
| if (body.messages.length > 0) { | ||
| const lastMessage = body.messages[body.messages.length - 1]; | ||
| isAgentCall = lastMessage.role && ["tool", "assistant"].includes(lastMessage.role); | ||
| } | ||
| isVisionRequest = body.messages.some( | ||
@@ -126,0 +127,0 @@ (msg) => |
+1
-1
| { | ||
| "name": "opencode-copilot-auth", | ||
| "version": "0.0.11", | ||
| "version": "0.0.12", | ||
| "main": "./index.mjs", | ||
@@ -5,0 +5,0 @@ "devDependencies": { |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
13554
0.72%295
0.34%