@dan-ai-studio/dshopencodego 0.1.62 → 0.1.63

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/lib/index.js +4 -3
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -73860,7 +73860,7 @@ var ENDPOINT_PROTOCOLS = {
73860
73860
  "/responses": "openai-responses"
73861
73861
  };
73862
73862
  function cell(value) {
73863
- return (value ?? "").replace(/[*`]/g, "").trim();
73863
+ return (value ?? "").replace(/<small>.*?<\/small>/gi, " ").replace(/~~.*?~~/g, " ").replace(/<[^>]*>/g, " ").replace(/[*`]/g, "").replace(/\s+/g, " ").trim();
73864
73864
  }
73865
73865
  function baseName(name2) {
73866
73866
  return name2.replace(/\s*\(.*\)\s*$/, "").trim();
@@ -73884,7 +73884,8 @@ function protocolOfEndpoint(endpoint) {
73884
73884
  return void 0;
73885
73885
  }
73886
73886
  function tableRows(lines, required) {
73887
- const start = lines.findIndex((line) => line.trimStart().startsWith("|") && line.includes(required));
73887
+ const want = required.toLowerCase();
73888
+ const start = lines.findIndex((line) => line.trimStart().startsWith("|") && line.toLowerCase().includes(want));
73888
73889
  if (start < 0) return [];
73889
73890
  const rows = [];
73890
73891
  for (let index = start + 2; index < lines.length; index++) {
@@ -77561,7 +77562,7 @@ function createUpdateChecker(deps) {
77561
77562
  }
77562
77563
 
77563
77564
  // src/update/version.ts
77564
- var PLUGIN_VERSION = true ? "0.1.62" : "0.0.0-dev";
77565
+ var PLUGIN_VERSION = true ? "0.1.63" : "0.0.0-dev";
77565
77566
 
77566
77567
  // src/update/service.ts
77567
77568
  import { TypertRemoteService as TypertRemoteService3 } from "@deepseek-ai/dsh-typert-protocol";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dan-ai-studio/dshopencodego",
3
- "version": "0.1.62",
3
+ "version": "0.1.63",
4
4
  "description": "OpenCode Go provider for DeepSeek Harness: live gateway catalog, per-conversation session header, usage",
5
5
  "type": "module",
6
6
  "license": "MIT",