@xn-intenton-z2a/agentic-lib 7.4.35 → 7.4.36
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
|
-
|
|
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
|
-
|
|
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