@pushary/agent-hooks 1.9.3 → 1.9.4
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/CHANGELOG.md +4 -0
- package/dist/bin/pushary-clean.js +2 -2
- package/dist/bin/pushary-disconnect.js +1 -1
- package/dist/bin/pushary-doctor.js +2 -2
- package/dist/bin/pushary-setup.js +2 -2
- package/dist/{chunk-JM2MCYRZ.js → chunk-2OPAES7P.js} +1 -1
- package/dist/{chunk-IVF3OVR2.js → chunk-ZDKGUHPW.js} +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.4
|
|
4
|
+
|
|
5
|
+
- OpenCode approvals use the active directory for project names, policy and relative targets, including nested Git sessions and non-Git workspaces. Run setup again after updating to regenerate an existing plugin.
|
|
6
|
+
|
|
3
7
|
## 1.9.3
|
|
4
8
|
|
|
5
9
|
- Shell approval checks preserve non-shell Unicode whitespace as part of the executable name, so an unfamiliar command cannot inherit a read-only command’s approval exemption. Shared command analysis keeps risk classification and human approval policy aligned.
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
shortenHome,
|
|
16
16
|
unregisterPluginLocation,
|
|
17
17
|
vscodeSettingsTargets
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-2OPAES7P.js";
|
|
19
19
|
import "../chunk-AUS3LY4N.js";
|
|
20
20
|
import {
|
|
21
21
|
OPENCODE_PLUGIN_SIBLING,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
openCodePluginDir,
|
|
29
29
|
openCodePluginFile,
|
|
30
30
|
removeOpenCodeMcpServer
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-ZDKGUHPW.js";
|
|
32
32
|
import {
|
|
33
33
|
compatibleConfigFile,
|
|
34
34
|
compatibleInstructionsFile,
|
|
@@ -36,14 +36,14 @@ import {
|
|
|
36
36
|
retryAgentCommand,
|
|
37
37
|
shortenHome,
|
|
38
38
|
vscodeSettingsTargets
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-2OPAES7P.js";
|
|
40
40
|
import "../chunk-AUS3LY4N.js";
|
|
41
41
|
import {
|
|
42
42
|
OPENCODE_PLUGIN_PLACEHOLDER,
|
|
43
43
|
openCodePluginDir,
|
|
44
44
|
openCodePluginFile,
|
|
45
45
|
openCodeWired
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-ZDKGUHPW.js";
|
|
47
47
|
import {
|
|
48
48
|
compatibleConfigFile,
|
|
49
49
|
compatibleInstructionsFile,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
withFxPusharyServer,
|
|
66
66
|
writeFxProfile,
|
|
67
67
|
writeInstructionBlock
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-2OPAES7P.js";
|
|
69
69
|
import {
|
|
70
70
|
MCP_BRIDGE_BINARY
|
|
71
71
|
} from "../chunk-AUS3LY4N.js";
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
openCodePluginDir,
|
|
80
80
|
openCodePluginFile,
|
|
81
81
|
openCodeWired
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-ZDKGUHPW.js";
|
|
83
83
|
import {
|
|
84
84
|
addCompatibleHooks,
|
|
85
85
|
addCompatibleMcpServer,
|
|
@@ -150,7 +150,7 @@ const repliedID = (properties) => {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
export const PusharyPlugin = async ({ client, directory, worktree }) => {
|
|
153
|
-
const cwd =
|
|
153
|
+
const cwd = directory || worktree || process.cwd()
|
|
154
154
|
// OpenCode raises a permission under a coarse key \u2014 "edit" covers both write and
|
|
155
155
|
// edit \u2014 and names the actual tool only on tool.execute.before. Keeping the
|
|
156
156
|
// pairing is what lets a rule written for Write mean Write here too.
|