@qwen-code/qwen-code 0.13.0-preview.5 → 0.13.0-preview.6

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/cli.js +10 -10
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -171203,7 +171203,7 @@ __export(geminiContentGenerator_exports, {
171203
171203
  createGeminiContentGenerator: () => createGeminiContentGenerator
171204
171204
  });
171205
171205
  function createGeminiContentGenerator(config2, gcConfig) {
171206
- const version2 = "0.13.0-preview.5";
171206
+ const version2 = "0.13.0-preview.6";
171207
171207
  const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
171208
171208
  const baseHeaders = {
171209
171209
  "User-Agent": userAgent2
@@ -196094,16 +196094,16 @@ var init_client2 = __esm({
196094
196094
  }
196095
196095
  const hookOutput = response.output ? createHookOutput("Stop", response.output) : void 0;
196096
196096
  const stopOutput = hookOutput;
196097
+ if (stopOutput?.systemMessage) {
196098
+ yield {
196099
+ type: GeminiEventType.HookSystemMessage,
196100
+ value: stopOutput.systemMessage
196101
+ };
196102
+ }
196097
196103
  if (stopOutput?.isBlockingDecision() || stopOutput?.shouldStopExecution()) {
196098
196104
  if (signal.aborted) {
196099
196105
  return turn;
196100
196106
  }
196101
- if (stopOutput.systemMessage) {
196102
- yield {
196103
- type: GeminiEventType.HookSystemMessage,
196104
- value: stopOutput.systemMessage
196105
- };
196106
- }
196107
196107
  const continueReason = stopOutput.getEffectiveReason();
196108
196108
  const continueRequest = [{ text: continueReason }];
196109
196109
  return yield* this.sendMessageStream(continueRequest, signal, prompt_id, { type: SendMessageType.Hook }, boundedTurns - 1);
@@ -405883,7 +405883,7 @@ __name(getPackageJson, "getPackageJson");
405883
405883
  // packages/cli/src/utils/version.ts
405884
405884
  async function getCliVersion() {
405885
405885
  const pkgJson = await getPackageJson();
405886
- return "0.13.0-preview.5";
405886
+ return "0.13.0-preview.6";
405887
405887
  }
405888
405888
  __name(getCliVersion, "getCliVersion");
405889
405889
 
@@ -413513,7 +413513,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
413513
413513
 
413514
413514
  // packages/cli/src/generated/git-commit.ts
413515
413515
  init_esbuild_shims();
413516
- var GIT_COMMIT_INFO = "3b1b8da91";
413516
+ var GIT_COMMIT_INFO = "dc4760129";
413517
413517
 
413518
413518
  // packages/cli/src/utils/systemInfo.ts
413519
413519
  async function getNpmVersion() {
@@ -476889,7 +476889,7 @@ var QwenAgent = class {
476889
476889
  async initialize(args2) {
476890
476890
  this.clientCapabilities = args2.clientCapabilities;
476891
476891
  const authMethods = buildAuthMethods();
476892
- const version2 = "0.13.0-preview.5";
476892
+ const version2 = "0.13.0-preview.6";
476893
476893
  return {
476894
476894
  protocolVersion: PROTOCOL_VERSION,
476895
476895
  agentInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwen-code/qwen-code",
3
- "version": "0.13.0-preview.5",
3
+ "version": "0.13.0-preview.6",
4
4
  "description": "Qwen Code - AI-powered coding assistant",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  "bundled"
22
22
  ],
23
23
  "config": {
24
- "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.13.0-preview.5"
24
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.13.0-preview.6"
25
25
  },
26
26
  "dependencies": {},
27
27
  "optionalDependencies": {