devrites 7.2.1 → 7.2.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.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to DevRites are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and DevRites adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Releases are generated automatically by [semantic-release](https://semantic-release.gitbook.io/) from Conventional Commits on `main`.
|
|
4
4
|
|
|
5
|
+
## [7.2.2](https://github.com/ViktorsBaikers/DevRites/compare/v7.2.1...v7.2.2) (2026-10-29)
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
* **agents:** preserve DSH preset tools during restriction ([#186](https://github.com/ViktorsBaikers/DevRites/issues/186)) ([fa3a00f](https://github.com/ViktorsBaikers/DevRites/commit/fa3a00f7159fd410c214faf0a801637cc0969ecf))
|
|
10
|
+
|
|
5
11
|
## [7.2.1](https://github.com/ViktorsBaikers/DevRites/compare/v7.2.0...v7.2.1) (2026-10-29)
|
|
6
12
|
|
|
7
13
|
### Fixed
|
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ history can't lose it. After you clear the conversation, switch hosts, or hand
|
|
|
31
31
|
the feature to another engineer, the next session reads the same plan,
|
|
32
32
|
decisions, and evidence before it continues.
|
|
33
33
|
|
|
34
|
-
**Status:** [`v7.2.
|
|
34
|
+
**Status:** [`v7.2.2`](https://github.com/ViktorsBaikers/DevRites/releases/tag/v7.2.2): see [`CHANGELOG.md`](CHANGELOG.md) for release notes.
|
|
35
35
|
|
|
36
36
|
This is the latest published release; `main` may contain unreleased work.
|
|
37
37
|
|
|
@@ -44,7 +44,7 @@ export async function apply(ctx, config) {
|
|
|
44
44
|
text: instructions,
|
|
45
45
|
interpolate: false,
|
|
46
46
|
}));
|
|
47
|
-
//
|
|
47
|
+
// Deny only globals so preset-local tools never enter the inherited-tool mask.
|
|
48
48
|
ctx.on('agent/created', ({ agent }) => {
|
|
49
49
|
pinPermission(agent.session);
|
|
50
50
|
let current;
|
|
@@ -53,15 +53,15 @@ export async function apply(ctx, config) {
|
|
|
53
53
|
let disposed = false;
|
|
54
54
|
const refresh = () => {
|
|
55
55
|
if (refreshing || disposed) return;
|
|
56
|
-
const names =
|
|
57
|
-
|
|
56
|
+
const names = ctx.tools.schemas().map(tool => tool.name)
|
|
57
|
+
.filter(tool => tool !== 'run_code' && !allowed.has(tool));
|
|
58
58
|
const key = JSON.stringify(names);
|
|
59
59
|
if (key === current) return;
|
|
60
60
|
refreshing = true;
|
|
61
61
|
try {
|
|
62
62
|
current = key;
|
|
63
63
|
release?.();
|
|
64
|
-
release = agent.ctx.tools.restrict({
|
|
64
|
+
release = agent.ctx.tools.restrict({ deny: names });
|
|
65
65
|
} finally {
|
|
66
66
|
refreshing = false;
|
|
67
67
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devrites",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.2",
|
|
4
4
|
"description": "DevRites: a disciplined senior-engineer workflow pack for Claude Code, Codex, omp, pi, and Devin CLI",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"homepage": "https://github.com/ViktorsBaikers/DevRites#readme",
|
|
@@ -44,7 +44,7 @@ export async function apply(ctx, config) {
|
|
|
44
44
|
text: instructions,
|
|
45
45
|
interpolate: false,
|
|
46
46
|
}));
|
|
47
|
-
//
|
|
47
|
+
// Deny only globals so preset-local tools never enter the inherited-tool mask.
|
|
48
48
|
ctx.on('agent/created', ({ agent }) => {
|
|
49
49
|
pinPermission(agent.session);
|
|
50
50
|
let current;
|
|
@@ -53,15 +53,15 @@ export async function apply(ctx, config) {
|
|
|
53
53
|
let disposed = false;
|
|
54
54
|
const refresh = () => {
|
|
55
55
|
if (refreshing || disposed) return;
|
|
56
|
-
const names =
|
|
57
|
-
|
|
56
|
+
const names = ctx.tools.schemas().map(tool => tool.name)
|
|
57
|
+
.filter(tool => tool !== 'run_code' && !allowed.has(tool));
|
|
58
58
|
const key = JSON.stringify(names);
|
|
59
59
|
if (key === current) return;
|
|
60
60
|
refreshing = true;
|
|
61
61
|
try {
|
|
62
62
|
current = key;
|
|
63
63
|
release?.();
|
|
64
|
-
release = agent.ctx.tools.restrict({
|
|
64
|
+
release = agent.ctx.tools.restrict({ deny: names });
|
|
65
65
|
} finally {
|
|
66
66
|
refreshing = false;
|
|
67
67
|
}
|