@xn-intenton-z2a/agentic-lib 7.1.46 → 7.1.48

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.
@@ -839,6 +839,7 @@ function initPurge(seedsDir, missionName) {
839
839
  clearAndRecreateDir(sourcePath, sourcePath);
840
840
  clearAndRecreateDir(testsPath, testsPath);
841
841
  clearAndRecreateDir(examplesPath, examplesPath);
842
+ clearAndRecreateDir("docs", "docs");
842
843
 
843
844
  // Copy seed files (including config TOML) — MISSION.md handled separately via mission seed
844
845
  const SEED_MAP = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xn-intenton-z2a/agentic-lib",
3
- "version": "7.1.46",
3
+ "version": "7.1.48",
4
4
  "description": "Agentic-lib Agentic Coding Systems SDK powering automated GitHub workflows.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -153,9 +153,14 @@ jobs:
153
153
  - run: npm test
154
154
 
155
155
  - name: Commit and push
156
+ env:
157
+ GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
156
158
  run: |
157
- git config user.email "action@github.com"
158
- git config user.name "GitHub Actions[bot]"
159
+ # Use the WORKFLOW_TOKEN owner's identity so GitHub re-registers cron schedules
160
+ TOKEN_USER=$(gh api /user --jq '.login')
161
+ TOKEN_ID=$(gh api /user --jq '.id')
162
+ git config user.name "${TOKEN_USER}"
163
+ git config user.email "${TOKEN_ID}+${TOKEN_USER}@users.noreply.github.com"
159
164
  git add -A
160
165
  git diff --cached --quiet && echo "No changes" && exit 0
161
166
  VERSION=$(npx @xn-intenton-z2a/agentic-lib version 2>/dev/null || echo "latest")
@@ -14,7 +14,7 @@
14
14
  "author": "",
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
- "@xn-intenton-z2a/agentic-lib": "^7.1.46"
17
+ "@xn-intenton-z2a/agentic-lib": "^7.1.48"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@vitest/coverage-v8": "^4.0.0",
@@ -132,9 +132,14 @@ jobs:
132
132
  }
133
133
 
134
134
  - name: Commit and push
135
+ env:
136
+ GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
135
137
  run: |
136
- git config user.name "github-actions[bot]"
137
- git config user.email "github-actions[bot]@users.noreply.github.com"
138
+ # Use the WORKFLOW_TOKEN owner's identity so GitHub re-registers cron schedules
139
+ TOKEN_USER=$(gh api /user --jq '.login')
140
+ TOKEN_ID=$(gh api /user --jq '.id')
141
+ git config user.name "${TOKEN_USER}"
142
+ git config user.email "${TOKEN_ID}+${TOKEN_USER}@users.noreply.github.com"
138
143
  FREQUENCY="${{ inputs.frequency }}"
139
144
  MODEL="${{ inputs.model }}"
140
145
  git add .github/workflows/agent-supervisor.yml agentic-lib.toml