techunter 1.1.2 → 1.1.3

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.cjs CHANGED
@@ -60612,6 +60612,7 @@ async function stageAllAndCommit(message) {
60612
60612
  console.log(source_default.dim(" Working tree clean \u2014 no new commit created, pushing existing commits."));
60613
60613
  }
60614
60614
  const branch = (await git.branch()).current;
60615
+ await syncBranchWithRemote(branch);
60615
60616
  await git.push("origin", branch, ["--set-upstream"]);
60616
60617
  }
60617
60618
  async function getRemoteHeadSha(baseBranch) {
@@ -147370,9 +147371,7 @@ async function prepareTaskContext(config, issue, username, currentBranch, intera
147370
147371
  stashRestoredOnTarget = true;
147371
147372
  notices.push(`Restored your unsaved work on ${switchedBranch}.`);
147372
147373
  } else if (stashed) {
147373
- notices.push(
147374
- `Saved your unsaved work from ${currentBranch}. Return there later and run \`git stash pop\` to restore it.`
147375
- );
147374
+ notices.push(`Saved your unsaved work from ${currentBranch} while preparing #${issue.number}.`);
147376
147375
  }
147377
147376
  return {
147378
147377
  branch: switchedBranch,
@@ -147538,7 +147537,7 @@ async function performSubmit(config, issue, branch, username, interactive, commi
147538
147537
  spinner?.stop();
147539
147538
  } catch (err) {
147540
147539
  spinner?.stop();
147541
- return { message: `Commit failed: ${err.message}`, success: false };
147540
+ return { message: `Push failed: ${err.message}`, success: false };
147542
147541
  }
147543
147542
  if (isSelfSubmit) {
147544
147543
  const baseBranch = config.baseBranch ?? "main";
@@ -151006,7 +151005,7 @@ async function startAutoUpdate(currentVersion) {
151006
151005
  }
151007
151006
 
151008
151007
  // src/index.ts
151009
- var version = "1.1.2";
151008
+ var version = "1.1.3";
151010
151009
  var SLASH_NAMES = [
151011
151010
  "/help",
151012
151011
  "/h",
package/dist/mcp.cjs CHANGED
@@ -56827,6 +56827,7 @@ async function stageAllAndCommit(message) {
56827
56827
  console.log(source_default.dim(" Working tree clean \u2014 no new commit created, pushing existing commits."));
56828
56828
  }
56829
56829
  const branch = (await git.branch()).current;
56830
+ await syncBranchWithRemote(branch);
56830
56831
  await git.push("origin", branch, ["--set-upstream"]);
56831
56832
  }
56832
56833
  async function getRemoteHeadSha(baseBranch) {
@@ -152116,9 +152117,7 @@ async function prepareTaskContext(config2, issue2, username, currentBranch, inte
152116
152117
  stashRestoredOnTarget = true;
152117
152118
  notices.push(`Restored your unsaved work on ${switchedBranch}.`);
152118
152119
  } else if (stashed) {
152119
- notices.push(
152120
- `Saved your unsaved work from ${currentBranch}. Return there later and run \`git stash pop\` to restore it.`
152121
- );
152120
+ notices.push(`Saved your unsaved work from ${currentBranch} while preparing #${issue2.number}.`);
152122
152121
  }
152123
152122
  return {
152124
152123
  branch: switchedBranch,
@@ -152284,7 +152283,7 @@ async function performSubmit(config2, issue2, branch, username, interactive, com
152284
152283
  spinner?.stop();
152285
152284
  } catch (err) {
152286
152285
  spinner?.stop();
152287
- return { message: `Commit failed: ${err.message}`, success: false };
152286
+ return { message: `Push failed: ${err.message}`, success: false };
152288
152287
  }
152289
152288
  if (isSelfSubmit) {
152290
152289
  const baseBranch = config2.baseBranch ?? "main";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "techunter",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "AI-powered task distribution CLI for development teams",
5
5
  "author": "Techunter Contributors",
6
6
  "license": "MIT",