@xn-intenton-z2a/agentic-lib 7.4.4 → 7.4.5

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.
@@ -126,17 +126,20 @@ permissions: write-all
126
126
 
127
127
  jobs:
128
128
  # Step 1: Update agentic-lib and infrastructure (commits to main)
129
+ # Skip tests when purge/reseed will replace all user code anyway
129
130
  update:
130
131
  uses: ./.github/workflows/agentic-lib-update.yml
131
132
  with:
132
133
  ref: ${{ inputs.ref }}
133
134
  dry-run: ${{ inputs.dry-run || 'false' }}
135
+ skip-tests: ${{ inputs.mode == 'reseed' || inputs.mode == 'purge' }}
134
136
  secrets: inherit
135
137
 
136
138
  # Step 2: Reseed/purge and configure (only if mode != update)
139
+ # Use !cancelled() so purge runs even if update's npm test failed
137
140
  init:
138
141
  needs: update
139
- if: inputs.mode == 'reseed' || inputs.mode == 'purge'
142
+ if: "!cancelled() && (inputs.mode == 'reseed' || inputs.mode == 'purge')"
140
143
  runs-on: ubuntu-latest
141
144
  env:
142
145
  INIT_MODE: ${{ inputs.mode }}
@@ -22,6 +22,10 @@ on:
22
22
  type: string
23
23
  required: false
24
24
  default: "false"
25
+ skip-tests:
26
+ type: string
27
+ required: false
28
+ default: "false"
25
29
  #@dist schedule:
26
30
  #@dist - cron: "15 6 * * *"
27
31
  workflow_dispatch:
@@ -76,7 +80,9 @@ jobs:
76
80
  if: hashFiles('src/actions/agentic-step/package.json') != ''
77
81
  run: cd src/actions/agentic-step && npm ci
78
82
 
79
- - run: npm test
83
+ - name: Run tests
84
+ if: inputs.skip-tests != 'true'
85
+ run: npm test
80
86
 
81
87
  - name: Commit and push to main [skip ci]
82
88
  if: github.repository != 'xn-intenton-z2a/agentic-lib' && inputs.dry-run != 'true' && inputs.dry-run != true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xn-intenton-z2a/agentic-lib",
3
- "version": "7.4.4",
3
+ "version": "7.4.5",
4
4
  "description": "Agentic-lib Agentic Coding Systems SDK powering automated GitHub workflows.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -17,7 +17,7 @@
17
17
  "author": "",
18
18
  "license": "MIT",
19
19
  "dependencies": {
20
- "@xn-intenton-z2a/agentic-lib": "^7.4.4"
20
+ "@xn-intenton-z2a/agentic-lib": "^7.4.5"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@playwright/test": "^1.58.0",