@agentclientprotocol/codex-acp 0.0.38 → 0.0.40
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/dist/index.js +10 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -22248,7 +22248,7 @@ var package_default = {
|
|
|
22248
22248
|
publishConfig: {
|
|
22249
22249
|
access: "public"
|
|
22250
22250
|
},
|
|
22251
|
-
version: "0.0.
|
|
22251
|
+
version: "0.0.40",
|
|
22252
22252
|
description: "",
|
|
22253
22253
|
main: "dist/index.js",
|
|
22254
22254
|
bin: {
|
|
@@ -22307,7 +22307,7 @@ var package_default = {
|
|
|
22307
22307
|
},
|
|
22308
22308
|
dependencies: {
|
|
22309
22309
|
"@agentclientprotocol/sdk": "^0.16.1",
|
|
22310
|
-
"@openai/codex": "^0.
|
|
22310
|
+
"@openai/codex": "^0.125.0",
|
|
22311
22311
|
diff: "^8.0.3",
|
|
22312
22312
|
open: "^11.0.0",
|
|
22313
22313
|
"vscode-jsonrpc": "^8.2.1"
|
|
@@ -22417,6 +22417,11 @@ var CodexAcpClient = class {
|
|
|
22417
22417
|
type: "chat-gpt",
|
|
22418
22418
|
email: account.email
|
|
22419
22419
|
};
|
|
22420
|
+
case "amazonBedrock":
|
|
22421
|
+
return {
|
|
22422
|
+
type: "gateway",
|
|
22423
|
+
name: "amazonBedrock"
|
|
22424
|
+
};
|
|
22420
22425
|
}
|
|
22421
22426
|
}
|
|
22422
22427
|
async getCurrentModelProvider() {
|
|
@@ -23037,6 +23042,9 @@ var CodexCommands = class {
|
|
|
23037
23042
|
if (account.type === "chatgpt") {
|
|
23038
23043
|
return `ChatGPT ${account.planType} (${account.email})`;
|
|
23039
23044
|
}
|
|
23045
|
+
if (account.type === "amazonBedrock") {
|
|
23046
|
+
return "Amazon Bedrock";
|
|
23047
|
+
}
|
|
23040
23048
|
return "unknown";
|
|
23041
23049
|
}
|
|
23042
23050
|
formatTokenUsage(usage) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.40",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"bin": {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@agentclientprotocol/sdk": "^0.16.1",
|
|
65
|
-
"@openai/codex": "^0.
|
|
65
|
+
"@openai/codex": "^0.125.0",
|
|
66
66
|
"diff": "^8.0.3",
|
|
67
67
|
"open": "^11.0.0",
|
|
68
68
|
"vscode-jsonrpc": "^8.2.1"
|