@plainconceptsplatform/workflows 0.28.20 → 0.28.21

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/index.js CHANGED
File without changes
@@ -250,11 +250,17 @@ for (const file of readdirSync(workflowDirectory)) {
250
250
  // reporter, but gh-aw hardcodes a second one (report_failed_jobs) that files an
251
251
  // "[aw] Failed jobs" issue per red run. Same philosophy, same off switch.
252
252
  .replaceAll('GH_AW_REPORT_FAILED_JOBS: "true"', 'GH_AW_REPORT_FAILED_JOBS: "false"')
253
- // gh-aw sees a custom step calling dotnet and injects its own setup-dotnet, which carries
254
- // no DOTNET_INSTALL_DIR and so tries to write /usr/share/dotnet. The runner user has no
255
- // sudo, so the job dies with "Permission denied" before the agent starts. The shared
256
- // baseline step already redirects to the tool cache; this gives every other one the same
257
- // env, including ones a future gh-aw release injects.
253
+ // gh-aw injects this "Restore .NET dependencies" step whenever a consumer's
254
+ // frontend (e.g. VERIFY_COMMANDS) references dotnet. An AI agent can create a
255
+ // .claude/worktrees/agent-XXX/ worktree at restore time — the first .slnx find
256
+ // matches that scratch dir, and the hardcoded path lands in the lock, breaking
257
+ // every agent run with MSB1009. Replace with dynamic discovery that excludes
258
+ // agent scratch directories so a stale worktree never poisons the restore.
259
+ .replace(
260
+ /^( +)- name: Restore \.NET dependencies\n\1 run: dotnet restore .*$/m,
261
+ (_m, indent) =>
262
+ indent + '- name: Restore .NET dependencies\n' + indent +
263
+ ' run: dotnet restore "$(find . -maxdepth 2 -name *.slnx -not -path "./.claude/*" -not -path "./.opencode/*" | head -1)"')
258
264
  .replace(
259
265
  /^( +)- name: Setup \.NET\n\1 uses: actions\/setup-dotnet@[^\n]*\n\1 with:\n((?:\1 [^\n]*\n)+)(?!\1 env:)/gm,
260
266
  (_m, indent, withBody) =>
package/package.json CHANGED
@@ -1,46 +1,45 @@
1
- {
2
- "name": "@plainconceptsplatform/workflows",
3
- "version": "0.28.20",
4
- "description": "Install and update Platform GitHub agentic workflows.",
5
- "keywords": [
6
- "github-actions",
7
- "agentic-workflows",
8
- "plain-concepts"
9
- ],
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/PlainConceptsPlatform/agentic-workflows.git"
13
- },
14
- "bugs": {
15
- "url": "https://github.com/PlainConceptsPlatform/agentic-workflows/issues"
16
- },
17
- "homepage": "https://github.com/PlainConceptsPlatform/agentic-workflows#readme",
18
- "license": "UNLICENSED",
19
- "type": "module",
20
- "bin": {
21
- "workflows": "./dist/index.js"
22
- },
23
- "files": [
24
- "dist",
25
- "loops",
26
- "README.md"
27
- ],
28
- "scripts": {
29
- "build": "tsc --project tsconfig.build.json && node ./scripts/copy-loops.mjs",
30
- "test": "vitest run",
31
- "typecheck": "tsc --noEmit --project tsconfig.json",
32
- "release": "pnpm build && pnpm test && npm publish --access public",
33
- "prepack": "node ./scripts/copy-loops.mjs"
34
- },
35
- "engines": {
36
- "node": ">=20.19"
37
- },
38
- "dependencies": {
39
- "yaml": "^2.9.0"
40
- },
41
- "devDependencies": {
42
- "@types/node": "^22.0.0",
43
- "typescript": "^5.8.0",
44
- "vitest": "^3.0.0"
45
- }
46
- }
1
+ {
2
+ "name": "@plainconceptsplatform/workflows",
3
+ "version": "0.28.21",
4
+ "description": "Install and update Platform GitHub agentic workflows.",
5
+ "keywords": [
6
+ "github-actions",
7
+ "agentic-workflows",
8
+ "plain-concepts"
9
+ ],
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/PlainConceptsPlatform/agentic-workflows.git"
13
+ },
14
+ "bugs": {
15
+ "url": "https://github.com/PlainConceptsPlatform/agentic-workflows/issues"
16
+ },
17
+ "homepage": "https://github.com/PlainConceptsPlatform/agentic-workflows#readme",
18
+ "license": "UNLICENSED",
19
+ "type": "module",
20
+ "bin": {
21
+ "workflows": "./dist/index.js"
22
+ },
23
+ "files": [
24
+ "dist",
25
+ "loops",
26
+ "README.md"
27
+ ],
28
+ "engines": {
29
+ "node": ">=20.19"
30
+ },
31
+ "dependencies": {
32
+ "yaml": "^2.9.0"
33
+ },
34
+ "devDependencies": {
35
+ "@types/node": "^22.0.0",
36
+ "typescript": "^5.8.0",
37
+ "vitest": "^3.0.0"
38
+ },
39
+ "scripts": {
40
+ "build": "tsc --project tsconfig.build.json && node ./scripts/copy-loops.mjs",
41
+ "test": "vitest run",
42
+ "typecheck": "tsc --noEmit --project tsconfig.json",
43
+ "release": "pnpm build && pnpm test && npm publish --access public"
44
+ }
45
+ }