@brainervirus/workit-pi 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.
- package/dist/workit.js +11 -6
- 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 —
|
|
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
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
18032
|
+
retry: "youtrack.time"
|
|
18028
18033
|
});
|
|
18029
18034
|
return ok(unwrap(value));
|
|
18030
18035
|
} catch (error) {
|