@runweave/server-win32-x64 0.1.26 → 0.1.27

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "version": "0.1.0",
3
- "buildId": "20261114T230946372Z-e75eb6ce",
4
- "sourceRevision": "e75eb6cec6079e4ed9e0caa9694b20bf38f138db",
3
+ "buildId": "20261115T000240208Z-40755ba7",
4
+ "sourceRevision": "40755ba790534201ad805db1dd99aac96e266c40",
5
5
  "sourceDirty": false,
6
- "builtAt": "2026-11-14T23:09:46.372Z",
7
- "contentSha256": "10e7bc4e1a4c3d3938981d8d98598160ce0f665268a771607a153423142dd8b2"
6
+ "builtAt": "2026-11-15T00:02:40.208Z",
7
+ "contentSha256": "c0e7b55a859d0f3929e0c729720e3b0647ed001150566ecd8d7194b3f2c91d60"
8
8
  }
@@ -1,4 +1,4 @@
1
- /* runweave:build-info */var __RUNWEAVE_BUILD_INFO__={"version":"0.1.0","buildId":"20261114T230946372Z-e75eb6ce","sourceRevision":"e75eb6cec6079e4ed9e0caa9694b20bf38f138db","sourceDirty":false,"builtAt":"2026-11-14T23:09:46.372Z","contentSha256":"10e7bc4e1a4c3d3938981d8d98598160ce0f665268a771607a153423142dd8b2"};
1
+ /* runweave:build-info */var __RUNWEAVE_BUILD_INFO__={"version":"0.1.0","buildId":"20261115T000240208Z-40755ba7","sourceRevision":"40755ba790534201ad805db1dd99aac96e266c40","sourceDirty":false,"builtAt":"2026-11-15T00:02:40.208Z","contentSha256":"c0e7b55a859d0f3929e0c729720e3b0647ed001150566ecd8d7194b3f2c91d60"};
2
2
  const __IMPORT_META_URL__ = require('url').pathToFileURL(__filename).href;
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -73364,6 +73364,22 @@ function ensureZshHookDirectory(command, env) {
73364
73364
  cachedZshHookDirs.set(key2, hookShellDir);
73365
73365
  return hookShellDir;
73366
73366
  }
73367
+ function isShellIntegrationLaunch(launch) {
73368
+ if (terminalShellName(launch.command) !== "bash") {
73369
+ return isInteractiveShellLaunch(launch);
73370
+ }
73371
+ const args = [];
73372
+ for (let index = 0; index < launch.args.length; index += 1) {
73373
+ const arg = launch.args[index];
73374
+ if (arg === "--rcfile" || arg === "--init-file") {
73375
+ if (index + 1 >= launch.args.length) return false;
73376
+ index += 1;
73377
+ } else {
73378
+ args.push(arg);
73379
+ }
73380
+ }
73381
+ return isInteractiveShellLaunch({ command: launch.command, args });
73382
+ }
73367
73383
  function applyShellIntegration(command, env) {
73368
73384
  const shellName = terminalShellName(command);
73369
73385
  if (shellName === "zsh") {
@@ -74654,7 +74670,7 @@ var TmuxProcess = class {
74654
74670
  return ["-S", socketPath, "-f", this.configPath];
74655
74671
  }
74656
74672
  buildShellIntegrationEnvArgs(launchCommand) {
74657
- if (!isInteractiveShellLaunchCommand(launchCommand)) {
74673
+ if (!isShellIntegrationLaunch(launchCommand)) {
74658
74674
  return [];
74659
74675
  }
74660
74676
  const integratedEnv = applyShellIntegration(launchCommand.command, {
@@ -75163,17 +75179,12 @@ var TmuxPaneService = class extends TmuxSessionService {
75163
75179
  "-P",
75164
75180
  "-F",
75165
75181
  "#{pane_id}",
75182
+ ...launch ? this.buildShellIntegrationEnvArgs(launch) : [],
75166
75183
  "-t",
75167
75184
  target2.paneId,
75168
75185
  "-c",
75169
75186
  params.cwd,
75170
- ...fallback ? [""] : params.command ? [
75171
- formatShellCommand({
75172
- command: params.command,
75173
- args: params.args ?? [],
75174
- env: params.env
75175
- })
75176
- ] : []
75187
+ ...fallback ? [""] : launch ? [formatShellCommand(launch)] : []
75177
75188
  ],
75178
75189
  target2
75179
75190
  );
@@ -119252,8 +119263,8 @@ var CodeReviewService = class {
119252
119263
  }
119253
119264
  if (run2.phase === "preparing") {
119254
119265
  await this.store.prepare(id7);
119266
+ const snapshot3 = record3.snapshotId ? await this.store.snapshot(id7) : await captureReviewSnapshot(record3.source.projectId, record3.source.rootPath);
119255
119267
  if (!record3.snapshotId) {
119256
- const snapshot3 = await captureReviewSnapshot(record3.source.projectId, record3.source.rootPath);
119257
119268
  if (!snapshot3.entries.length) throw new CodeReviewError(409, "no_changes", "\u5F53\u524D\u5DE5\u4F5C\u533A\u6CA1\u6709\u5F85\u5BA1\u67E5\u7684\u6539\u52A8");
119258
119269
  const requirements2 = await readReviewRequirements(this.manager, this.options, record3.source.terminalId, record3.source.rootPath);
119259
119270
  await atomicJson(import_node_path93.default.join(this.store.input(id7), "requirements.json"), requirements2);
@@ -119263,8 +119274,8 @@ var CodeReviewService = class {
119263
119274
  record3.snapshotId = snapshot3.snapshotId;
119264
119275
  await this.touch(record3);
119265
119276
  await (0, import_promises58.chmod)(this.store.input(id7), 320);
119266
- if (snapshot3.entries.every((entry) => entry.omission)) throw new CodeReviewError(422, "no_reviewable_changes", "\u5168\u90E8\u53D8\u66F4\u5747\u4E0D\u53EF\u8BFB\u53D6\uFF0C\u8986\u76D6\u7F3A\u53E3\u5DF2\u4FDD\u5B58");
119267
119277
  }
119278
+ if (snapshot3.entries.every((entry) => entry.omission)) throw new CodeReviewError(422, "no_reviewable_changes", "\u5168\u90E8\u53D8\u66F4\u5747\u4E0D\u53EF\u8BFB\u53D6\uFF0C\u8986\u76D6\u7F3A\u53E3\u5DF2\u4FDD\u5B58");
119268
119279
  if (record3.recovered && !this.tasks.list().some((task2) => task2.taskId === record3.reviewerTaskId) && !run2.reviewerTerminalId) {
119269
119280
  record3.recovered = false;
119270
119281
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "version": "0.1.0",
3
- "buildId": "20261114T230943508Z-e75eb6ce",
4
- "sourceRevision": "e75eb6cec6079e4ed9e0caa9694b20bf38f138db",
3
+ "buildId": "20261115T000237523Z-40755ba7",
4
+ "sourceRevision": "40755ba790534201ad805db1dd99aac96e266c40",
5
5
  "sourceDirty": false,
6
- "builtAt": "2026-11-14T23:09:43.508Z",
6
+ "builtAt": "2026-11-15T00:02:37.523Z",
7
7
  "contentSha256": "713fc45e9aab469ec4dbdd95c89de055819d48d37de598d6109c16faf93fd84c"
8
8
  }
@@ -1,6 +1,6 @@
1
1
  <!doctype html>
2
2
  <html lang="zh-CN">
3
- <head><script data-runweave-build-info>var __RUNWEAVE_BUILD_INFO__={"version":"0.1.0","buildId":"20261114T230943508Z-e75eb6ce","sourceRevision":"e75eb6cec6079e4ed9e0caa9694b20bf38f138db","sourceDirty":false,"builtAt":"2026-11-14T23:09:43.508Z","contentSha256":"713fc45e9aab469ec4dbdd95c89de055819d48d37de598d6109c16faf93fd84c"};</script>
3
+ <head><script data-runweave-build-info>var __RUNWEAVE_BUILD_INFO__={"version":"0.1.0","buildId":"20261115T000237523Z-40755ba7","sourceRevision":"40755ba790534201ad805db1dd99aac96e266c40","sourceDirty":false,"builtAt":"2026-11-15T00:02:37.523Z","contentSha256":"713fc45e9aab469ec4dbdd95c89de055819d48d37de598d6109c16faf93fd84c"};</script>
4
4
 
5
5
  <meta charset="UTF-8" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@@ -1,6 +1,6 @@
1
1
  <!doctype html>
2
2
  <html lang="en">
3
- <head><script data-runweave-build-info>var __RUNWEAVE_BUILD_INFO__={"version":"0.1.0","buildId":"20261114T230943508Z-e75eb6ce","sourceRevision":"e75eb6cec6079e4ed9e0caa9694b20bf38f138db","sourceDirty":false,"builtAt":"2026-11-14T23:09:43.508Z","contentSha256":"713fc45e9aab469ec4dbdd95c89de055819d48d37de598d6109c16faf93fd84c"};</script>
3
+ <head><script data-runweave-build-info>var __RUNWEAVE_BUILD_INFO__={"version":"0.1.0","buildId":"20261115T000237523Z-40755ba7","sourceRevision":"40755ba790534201ad805db1dd99aac96e266c40","sourceDirty":false,"builtAt":"2026-11-15T00:02:37.523Z","contentSha256":"713fc45e9aab469ec4dbdd95c89de055819d48d37de598d6109c16faf93fd84c"};</script>
4
4
 
5
5
  <meta charset="UTF-8" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />