opencode-aicodewith-auth 0.1.55 → 0.1.56

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -876,7 +876,7 @@ function sanitizeRequestBody(bodyStr) {
876
876
  delete body.previous_response_id;
877
877
  if (Array.isArray(body.input)) {
878
878
  body.input = body.input.filter((item) => item.type !== "item_reference").map((item) => {
879
- if (item.type === "call")
879
+ if (item.type === "function_call" || item.type === "local_shell_call" || item.type === "custom_tool_call")
880
880
  return item;
881
881
  const { id, ...rest } = item;
882
882
  return rest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-aicodewith-auth",
3
- "version": "0.1.55",
3
+ "version": "0.1.56",
4
4
  "description": "OpenCode plugin for AICodewith authentication - Access GPT-5.3 Codex, GPT-5.2, Claude, and Gemini models through AICodewith API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",