@xn-intenton-z2a/agentic-lib 7.4.35 → 7.4.37

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.
@@ -297,7 +297,11 @@ jobs:
297
297
  if (!model) model = 'gpt-5-mini';
298
298
 
299
299
  // Shared schedule maps and helper (single source of truth)
300
- const { updateAllSchedules } = require('./.github/agentic-lib/scripts/schedule-utils.cjs');
300
+ // In consumer repos: .github/agentic-lib/scripts/; in agentic-lib itself: src/scripts/
301
+ const scheduleUtilsPath = fs.existsSync('./.github/agentic-lib/scripts/schedule-utils.cjs')
302
+ ? './.github/agentic-lib/scripts/schedule-utils.cjs'
303
+ : './src/scripts/schedule-utils.cjs';
304
+ const { updateAllSchedules } = require(scheduleUtilsPath);
301
305
  const logger = { info: core.info };
302
306
 
303
307
  // Update all three workflow files proportionally
@@ -169,7 +169,11 @@ jobs:
169
169
  const effectiveFrequency = isMaintenance ? 'weekly' : frequency;
170
170
 
171
171
  // Shared schedule maps and helper (single source of truth)
172
- const { WORKFLOW_SCHEDULE_MAP, updateAllSchedules } = require('./.github/agentic-lib/scripts/schedule-utils.cjs');
172
+ // In consumer repos: .github/agentic-lib/scripts/; in agentic-lib itself: src/scripts/
173
+ const scheduleUtilsPath = fs.existsSync('./.github/agentic-lib/scripts/schedule-utils.cjs')
174
+ ? './.github/agentic-lib/scripts/schedule-utils.cjs'
175
+ : './src/scripts/schedule-utils.cjs';
176
+ const { WORKFLOW_SCHEDULE_MAP, updateAllSchedules } = require(scheduleUtilsPath);
173
177
  const logger = { info: core.info };
174
178
 
175
179
  const workflowCron = WORKFLOW_SCHEDULE_MAP[effectiveFrequency];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xn-intenton-z2a/agentic-lib",
3
- "version": "7.4.35",
3
+ "version": "7.4.37",
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.35"
20
+ "@xn-intenton-z2a/agentic-lib": "^7.4.37"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@playwright/test": "^1.58.0",