@agentclientprotocol/codex-acp 2.5.1-preview.18 → 2.5.1-preview.19

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -41948,7 +41948,7 @@ var package_default = {
41948
41948
  publishConfig: {
41949
41949
  access: "public"
41950
41950
  },
41951
- version: "2.5.1-preview.18",
41951
+ version: "2.5.1-preview.19",
41952
41952
  description: "",
41953
41953
  main: "dist/index.js",
41954
41954
  bin: {
@@ -42501,7 +42501,7 @@ function readModelIds(body) {
42501
42501
  return ids.length === data.length ? ids : null;
42502
42502
  }
42503
42503
  function normalizeModelId(id) {
42504
- return id.toLowerCase().replace(/-(\d{8}|\d{4}-\d{2}-\d{2})$/, "");
42504
+ return id.toLowerCase().replace(/^.*\//, "").replace(/-(\d{8}|\d{4}-\d{2}-\d{2})$/, "");
42505
42505
  }
42506
42506
  function isListedModel(model, listed) {
42507
42507
  return isListedModelId(model.model, listed) || isListedModelId(model.id, listed);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "2.5.1-preview.18",
6
+ "version": "2.5.1-preview.19",
7
7
  "description": "",
8
8
  "main": "dist/index.js",
9
9
  "bin": {