@brainervirus/workit-cli 1.3.1 → 2.0.0

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/index.js +6 -6
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -60538,7 +60538,7 @@ var branchSetup = ({
60538
60538
  const dirty = Boolean(gitContext(cwd).status_short.trim());
60539
60539
  if (classifyBranchDirt(cwd) === "stash-required" && stash !== "yes") {
60540
60540
  return {
60541
- error: "dirty working tree — ask with native question, then call workit_branch_setup with stash=yes",
60541
+ error: "dirty working tree — obtain native host approval before stashing and setting up the branch",
60542
60542
  phase: "preflight"
60543
60543
  };
60544
60544
  }
@@ -65945,7 +65945,7 @@ var CHANGELOG_RULES = `- Use an [Unreleased] section.
65945
65945
  - Entries should be human-readable and user-facing.
65946
65946
  - Do not use raw commit messages as changelog bullets.
65947
65947
  - MERGE into existing ### Category under [Unreleased] — never append a second ### Added / ### Fixed block.
65948
- - Apply with the native workit_changelog_apply tool only (not hand-edits under Unreleased).
65948
+ - Apply with the host-native editor, preserving the repository changelog conventions.
65949
65949
  - If Unreleased already has duplicate category headings, normalize_only first.`;
65950
65950
  function changelogContext(root, range) {
65951
65951
  const cwd = path29.resolve(repoRoot3(root));
@@ -66731,7 +66731,7 @@ async function postUpdate({
66731
66731
  postedComment: true,
66732
66732
  loggedMinutes: 0,
66733
66733
  error: time.error,
66734
- retry: "workit_youtrack_log_time"
66734
+ retry: "youtrack.time"
66735
66735
  };
66736
66736
  }
66737
66737
  return { ok: true, issueId, postedComment: true, loggedMinutes: minutes };
@@ -66781,7 +66781,7 @@ async function postUpdate2(input, operations = defaultOperations) {
66781
66781
  postedComment: false,
66782
66782
  loggedMinutes: 0,
66783
66783
  outcome: "not_applied",
66784
- retry: "workit_youtrack_post"
66784
+ retry: "youtrack.update"
66785
66785
  });
66786
66786
  unwrap(comment);
66787
66787
  } catch (error) {
@@ -66808,7 +66808,7 @@ async function postUpdate2(input, operations = defaultOperations) {
66808
66808
  postedComment: true,
66809
66809
  loggedMinutes: 0,
66810
66810
  outcome: "not_applied",
66811
- retry: "workit_youtrack_log_time"
66811
+ retry: "youtrack.time"
66812
66812
  });
66813
66813
  unwrap(time);
66814
66814
  } catch (error) {
@@ -66835,7 +66835,7 @@ async function logTimeUpdate(input, operation = defaultOperations) {
66835
66835
  issueId: input.issueId,
66836
66836
  loggedMinutes: 0,
66837
66837
  outcome: "not_applied",
66838
- retry: "workit_youtrack_log_time"
66838
+ retry: "youtrack.time"
66839
66839
  });
66840
66840
  return ok(unwrap(value));
66841
66841
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-cli",
3
- "version": "1.3.1",
3
+ "version": "2.0.0",
4
4
  "private": false,
5
5
  "description": "Workit CLI — setup wizard, doctor, and task control for agentic coding workflows",
6
6
  "keywords": [
@@ -37,9 +37,9 @@
37
37
  "typecheck": "tsc --noEmit"
38
38
  },
39
39
  "dependencies": {
40
- "@brainervirus/workit-core": "^1.3.1",
41
- "@brainervirus/workit-cursor": "^1.3.1",
42
- "@brainervirus/workit-opencode": "^1.3.1",
40
+ "@brainervirus/workit-core": "^2.0.0",
41
+ "@brainervirus/workit-cursor": "^2.0.0",
42
+ "@brainervirus/workit-opencode": "^2.0.0",
43
43
  "@inkjs/ui": "2.0.0",
44
44
  "ink": "7.1.1",
45
45
  "react": "19.2.8"