@ontrails/trails 0.2.2 → 0.2.3
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 +6 -0
- package/package.json +16 -16
- package/src/release/policy.ts +11 -2
- package/src/trails/project-context.ts +1 -0
- package/src/trails/warden.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# trails
|
|
2
2
|
|
|
3
|
+
## 0.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`807ebda`](https://github.com/outfitter-dev/trails/commit/807ebdaeabfee0cd06539dc9b86e3ba9a817ab40): Keep Warden scoped to the nearest fresh Trails app when a parent has another Trails source marker, and pass the operator's resolved project root to the shared Warden command.
|
|
8
|
+
|
|
3
9
|
## 0.2.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ontrails/trails",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/outfitter-dev/trails.git",
|
|
@@ -33,25 +33,25 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@clack/prompts": "^1.1.0",
|
|
35
35
|
"@manypkg/get-packages": "1.1.3",
|
|
36
|
-
"@ontrails/adapter-kit": "^0.2.
|
|
37
|
-
"@ontrails/cli": "^0.2.
|
|
38
|
-
"@ontrails/commander": "^0.2.
|
|
39
|
-
"@ontrails/config": "^0.2.
|
|
40
|
-
"@ontrails/core": "^0.2.
|
|
41
|
-
"@ontrails/http": "^0.2.
|
|
42
|
-
"@ontrails/mcp": "^0.2.
|
|
43
|
-
"@ontrails/observability": "^0.2.
|
|
44
|
-
"@ontrails/permits": "^0.2.
|
|
45
|
-
"@ontrails/regrade": "^0.2.
|
|
46
|
-
"@ontrails/source": "^0.2.
|
|
47
|
-
"@ontrails/topography": "^0.2.
|
|
48
|
-
"@ontrails/warden": "^0.2.
|
|
36
|
+
"@ontrails/adapter-kit": "^0.2.3",
|
|
37
|
+
"@ontrails/cli": "^0.2.3",
|
|
38
|
+
"@ontrails/commander": "^0.2.3",
|
|
39
|
+
"@ontrails/config": "^0.2.3",
|
|
40
|
+
"@ontrails/core": "^0.2.3",
|
|
41
|
+
"@ontrails/http": "^0.2.3",
|
|
42
|
+
"@ontrails/mcp": "^0.2.3",
|
|
43
|
+
"@ontrails/observability": "^0.2.3",
|
|
44
|
+
"@ontrails/permits": "^0.2.3",
|
|
45
|
+
"@ontrails/regrade": "^0.2.3",
|
|
46
|
+
"@ontrails/source": "^0.2.3",
|
|
47
|
+
"@ontrails/topography": "^0.2.3",
|
|
48
|
+
"@ontrails/warden": "^0.2.3",
|
|
49
49
|
"commander": "^14.0.3",
|
|
50
50
|
"typescript": "5.9.3",
|
|
51
51
|
"zod": "^4.3.5"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@ontrails/cloudflare": "^0.2.
|
|
55
|
-
"@ontrails/testing": "^0.2.
|
|
54
|
+
"@ontrails/cloudflare": "^0.2.3",
|
|
55
|
+
"@ontrails/testing": "^0.2.3"
|
|
56
56
|
}
|
|
57
57
|
}
|
package/src/release/policy.ts
CHANGED
|
@@ -729,8 +729,17 @@ const evaluateGeneratedReleaseDiff = (
|
|
|
729
729
|
|
|
730
730
|
for (const file of changedFiles) {
|
|
731
731
|
if (
|
|
732
|
-
|
|
733
|
-
|
|
732
|
+
[
|
|
733
|
+
'bun.lock',
|
|
734
|
+
'.skillset/plugins/trails/skills/trails/SKILL.md',
|
|
735
|
+
'.agents/skills/trails/SKILL.md',
|
|
736
|
+
'.agents/skills/skillset.lock',
|
|
737
|
+
'plugin/skills/trails/SKILL.md',
|
|
738
|
+
'plugin/skillset.lock',
|
|
739
|
+
'plugins/trails/agents/skills/trails/SKILL.md',
|
|
740
|
+
'plugins/skillset.lock',
|
|
741
|
+
'skillset.lock',
|
|
742
|
+
].includes(file.path) &&
|
|
734
743
|
file.status === 'M'
|
|
735
744
|
) {
|
|
736
745
|
continue;
|
package/src/trails/warden.ts
CHANGED
|
@@ -290,6 +290,7 @@ export const buildWardenCommandArgs = (
|
|
|
290
290
|
): readonly string[] => {
|
|
291
291
|
const args: string[] = [];
|
|
292
292
|
|
|
293
|
+
pushValue(args, '--root-dir', input.rootDir);
|
|
293
294
|
pushFlag(args, input.prePush, '--pre-push');
|
|
294
295
|
pushFlag(args, input.ci, '--ci');
|
|
295
296
|
pushValue(args, '--depth', input.depth);
|
|
@@ -524,6 +525,7 @@ export const wardenTrail = trail('warden', {
|
|
|
524
525
|
args: buildWardenCommandArgs({
|
|
525
526
|
...input,
|
|
526
527
|
apps: apps.value.apps === undefined ? undefined : [...apps.value.apps],
|
|
528
|
+
rootDir: context.projectRoot,
|
|
527
529
|
}),
|
|
528
530
|
cwd: context.projectRoot,
|
|
529
531
|
env: ctx.env ?? {},
|