@brainervirus/workit-pi 1.3.1 → 1.3.2

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/workit.js +11 -6
  2. package/package.json +1 -1
package/dist/workit.js CHANGED
@@ -11506,7 +11506,7 @@ var branchSetup = ({
11506
11506
  const dirty = Boolean(gitContext(cwd).status_short.trim());
11507
11507
  if (classifyBranchDirt(cwd) === "stash-required" && stash !== "yes") {
11508
11508
  return {
11509
- error: "dirty working tree — ask with native question, then call workit_branch_setup with stash=yes",
11509
+ error: "dirty working tree — obtain native host approval before stashing and setting up the branch",
11510
11510
  phase: "preflight"
11511
11511
  };
11512
11512
  }
@@ -12959,6 +12959,11 @@ Preserve uncertain external outcomes and reconcile repository/provider state
12959
12959
  before retrying. Internal reservations prevent duplicate or ambiguous effects;
12960
12960
  they are not permission tickets for every edit.
12961
12961
 
12962
+ On OpenCode V1 and V2, use native host tools for external mutations. Workit
12963
+ provides read-only workit_context; it has no managed external-action executor.
12964
+ Do not create proposals or request Workit approvals merely to invoke native
12965
+ tools. Old uncertain managed effects still require evidence before any retry.
12966
+
12962
12967
  Use host-native authorization through the host's supported path. A native
12963
12968
  question receipt records an actual question interaction; it is not automatic
12964
12969
  host permission. Record a meaningful user choice once with provenance when
@@ -17129,7 +17134,7 @@ var CHANGELOG_RULES = `- Use an [Unreleased] section.
17129
17134
  - Entries should be human-readable and user-facing.
17130
17135
  - Do not use raw commit messages as changelog bullets.
17131
17136
  - MERGE into existing ### Category under [Unreleased] — never append a second ### Added / ### Fixed block.
17132
- - Apply with the native workit_changelog_apply tool only (not hand-edits under Unreleased).
17137
+ - Apply with the host-native editor, preserving the repository changelog conventions.
17133
17138
  - If Unreleased already has duplicate category headings, normalize_only first.`;
17134
17139
  function changelogContext(root, range) {
17135
17140
  const cwd = path15.resolve(repoRoot2(root));
@@ -17920,7 +17925,7 @@ async function postUpdate({
17920
17925
  postedComment: true,
17921
17926
  loggedMinutes: 0,
17922
17927
  error: time.error,
17923
- retry: "workit_youtrack_log_time"
17928
+ retry: "youtrack.time"
17924
17929
  };
17925
17930
  }
17926
17931
  return { ok: true, issueId, postedComment: true, loggedMinutes: minutes };
@@ -17970,7 +17975,7 @@ async function postUpdate2(input, operations = defaultOperations) {
17970
17975
  postedComment: false,
17971
17976
  loggedMinutes: 0,
17972
17977
  outcome: "not_applied",
17973
- retry: "workit_youtrack_post"
17978
+ retry: "youtrack.update"
17974
17979
  });
17975
17980
  unwrap(comment);
17976
17981
  } catch (error) {
@@ -17997,7 +18002,7 @@ async function postUpdate2(input, operations = defaultOperations) {
17997
18002
  postedComment: true,
17998
18003
  loggedMinutes: 0,
17999
18004
  outcome: "not_applied",
18000
- retry: "workit_youtrack_log_time"
18005
+ retry: "youtrack.time"
18001
18006
  });
18002
18007
  unwrap(time);
18003
18008
  } catch (error) {
@@ -18024,7 +18029,7 @@ async function logTimeUpdate(input, operation = defaultOperations) {
18024
18029
  issueId: input.issueId,
18025
18030
  loggedMinutes: 0,
18026
18031
  outcome: "not_applied",
18027
- retry: "workit_youtrack_log_time"
18032
+ retry: "youtrack.time"
18028
18033
  });
18029
18034
  return ok(unwrap(value));
18030
18035
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-pi",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Workit native extension for Pi — tools, method skills, and session continuity",
5
5
  "keywords": [
6
6
  "agentic-coding",