@getpochi/cli 0.5.44 → 0.5.45

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/cli.js +15 -11
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -358595,8 +358595,8 @@ class QwenCode extends VendorBase {
358595
358595
  contextWindow: 1e6,
358596
358596
  useToolCallMiddleware: false
358597
358597
  },
358598
- "qwen3-coder": {
358599
- contextWindow: 256000,
358598
+ "qwen-vl-max": {
358599
+ contextWindow: 128000,
358600
358600
  useToolCallMiddleware: false
358601
358601
  }
358602
358602
  };
@@ -368348,15 +368348,19 @@ registerModel(VendorId6, createCopilotModel);
368348
368348
 
368349
368349
  // ../vendor-qwen-code/src/model.ts
368350
368350
  var BaseUrl2 = "https://portal.qwen.ai/v1";
368351
+ var ModelIdMap2 = {
368352
+ "qwen-vl-max": "vision-model"
368353
+ };
368351
368354
  function createQwenModel({
368352
368355
  modelId,
368353
368356
  getCredentials
368354
368357
  }) {
368358
+ const actualModelId = ModelIdMap2[modelId] || modelId;
368355
368359
  const qwenModel = createOpenAICompatible({
368356
368360
  name: "OpenAI",
368357
368361
  baseURL: BaseUrl2,
368358
368362
  fetch: createPatchedFetch4(getCredentials)
368359
- })(modelId);
368363
+ })(actualModelId);
368360
368364
  return wrapLanguageModel({
368361
368365
  model: qwenModel,
368362
368366
  middleware: {
@@ -368443,7 +368447,7 @@ var {
368443
368447
  // package.json
368444
368448
  var package_default = {
368445
368449
  name: "@getpochi/cli",
368446
- version: "0.5.44",
368450
+ version: "0.5.45",
368447
368451
  type: "module",
368448
368452
  bin: {
368449
368453
  pochi: "src/cli.ts"
@@ -370513,7 +370517,7 @@ function all15(values9, includeImageAlt, includeHtml) {
370513
370517
  function node(value9) {
370514
370518
  return Boolean(value9 && typeof value9 === "object");
370515
370519
  }
370516
- // ../../node_modules/decode-named-character-reference/node_modules/character-entities/index.js
370520
+ // ../../node_modules/character-entities/index.js
370517
370521
  var characterEntities = {
370518
370522
  AElig: "Æ",
370519
370523
  AMP: "&",
@@ -397982,7 +397986,7 @@ function stringify5(values10, options6) {
397982
397986
  return input2.join((settings.padRight ? " " : "") + "," + (settings.padLeft === false ? "" : " ")).trim();
397983
397987
  }
397984
397988
 
397985
- // ../../node_modules/hast-util-from-parse5/node_modules/hastscript/node_modules/hast-util-parse-selector/lib/index.js
397989
+ // ../../node_modules/hast-util-parse-selector/lib/index.js
397986
397990
  var search2 = /[#.]/g;
397987
397991
  function parseSelector(selector, defaultTagName) {
397988
397992
  const value10 = selector || "";
@@ -398027,7 +398031,7 @@ function stringify6(values10) {
398027
398031
  return values10.join(" ").trim();
398028
398032
  }
398029
398033
 
398030
- // ../../node_modules/hast-util-from-parse5/node_modules/hastscript/lib/create-h.js
398034
+ // ../../node_modules/hastscript/lib/create-h.js
398031
398035
  function createH(schema7, defaultTagName, caseSensitive) {
398032
398036
  const adjust = caseSensitive ? createAdjustMap(caseSensitive) : undefined;
398033
398037
  function h11(selector, properties, ...children3) {
@@ -398167,7 +398171,7 @@ function createAdjustMap(values10) {
398167
398171
  return result2;
398168
398172
  }
398169
398173
 
398170
- // ../../node_modules/hast-util-from-parse5/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js
398174
+ // ../../node_modules/hastscript/lib/svg-case-sensitive-tag-names.js
398171
398175
  var svgCaseSensitiveTagNames = [
398172
398176
  "altGlyph",
398173
398177
  "altGlyphDef",
@@ -398210,7 +398214,7 @@ var svgCaseSensitiveTagNames = [
398210
398214
  "textPath"
398211
398215
  ];
398212
398216
 
398213
- // ../../node_modules/hast-util-from-parse5/node_modules/hastscript/lib/index.js
398217
+ // ../../node_modules/hastscript/lib/index.js
398214
398218
  var h11 = createH(html5, "div");
398215
398219
  var s13 = createH(svg2, "g", svgCaseSensitiveTagNames);
398216
398220
  // ../../node_modules/vfile-location/lib/index.js
@@ -406381,7 +406385,7 @@ function toDecimal(code3, next6, omit9) {
406381
406385
  return omit9 && next6 && !decimalRegex.test(String.fromCharCode(next6)) ? value10 : value10 + ";";
406382
406386
  }
406383
406387
 
406384
- // ../../node_modules/stringify-entities/node_modules/character-entities-legacy/index.js
406388
+ // ../../node_modules/character-entities-legacy/index.js
406385
406389
  var characterEntitiesLegacy = [
406386
406390
  "AElig",
406387
406391
  "AMP",
@@ -412362,13 +412366,13 @@ var program5 = new Command().name("pochi").description(`${source_default.bold("P
412362
412366
  });
412363
412367
  const renderer = new OutputRenderer(runner.state);
412364
412368
  await runner.run();
412369
+ renderer.shutdown();
412365
412370
  const shareId = runner.shareId;
412366
412371
  if (shareId) {
412367
412372
  const shareUrl = source_default.underline(`https://app.getpochi.com/share/${shareId}`);
412368
412373
  console.log(`
412369
412374
  ${source_default.bold("Task link: ")} ${shareUrl}`);
412370
412375
  }
412371
- renderer.shutdown();
412372
412376
  mcpHub.dispose();
412373
412377
  await waitForSync(store, "2 second").catch(console.error);
412374
412378
  await store.shutdownPromise();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpochi/cli",
3
- "version": "0.5.44",
3
+ "version": "0.5.45",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "pochi": "dist/cli.js"