@hasna/assistants 1.1.74 → 1.1.75

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/index.js CHANGED
@@ -12032,7 +12032,7 @@ var init_connector = __esm(async () => {
12032
12032
  const args = input.args || [];
12033
12033
  const options2 = input.options || {};
12034
12034
  const cwd = typeof input.cwd === "string" ? input.cwd : process.cwd();
12035
- const timeoutMs = Number(options2.timeoutMs || options2.timeout || 15000);
12035
+ const timeoutMs = Number(options2.timeoutMs || options2.timeout || 30000);
12036
12036
  if (signal?.aborted) {
12037
12037
  throw new ConnectorError("Command aborted", {
12038
12038
  connectorName: connector.name,
@@ -12101,7 +12101,7 @@ Use job_status or job_result to check progress.`;
12101
12101
  const timer = setTimeout(() => {
12102
12102
  timedOut = true;
12103
12103
  proc.kill();
12104
- }, Number.isFinite(timeoutMs) && timeoutMs > 0 ? timeoutMs : 15000);
12104
+ }, Number.isFinite(timeoutMs) && timeoutMs > 0 ? timeoutMs : 30000);
12105
12105
  try {
12106
12106
  const [stdout, stderr] = await Promise.all([
12107
12107
  proc.stdout ? new Response(proc.stdout).text() : "",
@@ -12119,7 +12119,7 @@ Use job_status or job_result to check progress.`;
12119
12119
  });
12120
12120
  }
12121
12121
  if (timedOut) {
12122
- throw new ConnectorError(`Command timed out after ${Math.round((Number.isFinite(timeoutMs) ? timeoutMs : 15000) / 1000)}s.`, {
12122
+ throw new ConnectorError(`Command timed out after ${Math.round((Number.isFinite(timeoutMs) ? timeoutMs : 30000) / 1000)}s.`, {
12123
12123
  connectorName: connector.name,
12124
12124
  command,
12125
12125
  code: ErrorCodes.CONNECTOR_EXECUTION_FAILED,
@@ -109673,7 +109673,7 @@ Not a git repository or git not available.
109673
109673
  context.setProjectContext(projectContext);
109674
109674
  }
109675
109675
  }
109676
- var VERSION2 = "1.1.74";
109676
+ var VERSION2 = "1.1.75";
109677
109677
  var init_builtin = __esm(async () => {
109678
109678
  init_src2();
109679
109679
  init_context3();
@@ -293343,7 +293343,7 @@ process.on("unhandledRejection", (reason) => {
293343
293343
  cleanup();
293344
293344
  process.exit(1);
293345
293345
  });
293346
- var VERSION4 = "1.1.74";
293346
+ var VERSION4 = "1.1.75";
293347
293347
  var SYNC_START = "\x1B[?2026h";
293348
293348
  var SYNC_END = "\x1B[?2026l";
293349
293349
  function enableSynchronizedOutput() {
@@ -293488,4 +293488,4 @@ export {
293488
293488
  main
293489
293489
  };
293490
293490
 
293491
- //# debugId=372F71AD39D88A6864756E2164756E21
293491
+ //# debugId=611FAF4EC37DB84E64756E2164756E21