@yzj01/llm-router 1.0.1 → 1.0.2

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/cli.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as ProxyOptions, a as ProxyHandle } from './proxy-Co87mKak.js';
1
+ import { P as ProxyOptions, a as ProxyHandle } from './proxy-CpR5cxND.js';
2
2
 
3
3
  type CliRuntime = {
4
4
  log: (msg: string) => void;
package/dist/cli.js CHANGED
@@ -1792,7 +1792,7 @@ function hashHex(value, length) {
1792
1792
  }
1793
1793
 
1794
1794
  // src/proxy.ts
1795
- var VERSION = "1.0.1";
1795
+ var VERSION = "1.0.2";
1796
1796
  var HOP_BY_HOP = /* @__PURE__ */ new Set([
1797
1797
  "connection",
1798
1798
  "keep-alive",
@@ -1889,9 +1889,8 @@ function readBody(req, limits) {
1889
1889
  }
1890
1890
  var OPENCLAW_CLI_TURN_PATTERN = /(?:^|\n)\[[^\]\n]+?\]\s+([\s\S]*?)(?=(?:\n\[[^\]\n]+?\]\s+)|$)/g;
1891
1891
  function extractRouteTextFromUserMessage(text) {
1892
- const matches = [...text.matchAll(OPENCLAW_CLI_TURN_PATTERN)];
1893
- const last = matches.at(-1)?.[1]?.trim();
1894
- return last || text;
1892
+ void OPENCLAW_CLI_TURN_PATTERN;
1893
+ return text;
1895
1894
  }
1896
1895
  function extractPrompt(messages) {
1897
1896
  const parts = [];