@xn-intenton-z2a/agentic-lib 7.1.95 → 7.1.97

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xn-intenton-z2a/agentic-lib",
3
- "version": "7.1.95",
3
+ "version": "7.1.97",
4
4
  "description": "Agentic-lib Agentic Coding Systems SDK powering automated GitHub workflows.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -337,23 +337,10 @@ export async function discussions(context) {
337
337
  // Guard: never dispatch workflows from the SDK repo itself (agentic-lib)
338
338
  const isSdkRepo = process.env.GITHUB_REPOSITORY === "xn-intenton-z2a/agentic-lib";
339
339
 
340
- // Request supervisor evaluation
340
+ // Request supervisor evaluation — dispatch is handled by the bot workflow's
341
+ // dispatch-supervisor job, so we just log the action here to avoid double dispatch.
341
342
  if (action === "request-supervisor") {
342
- if (isSdkRepo) {
343
- core.info("Skipping supervisor dispatch — running in SDK repo");
344
- } else {
345
- try {
346
- await octokit.rest.actions.createWorkflowDispatch({
347
- ...context.repo,
348
- workflow_id: "agentic-lib-workflow.yml",
349
- ref: "main",
350
- inputs: { message: actionArg || "Discussion bot referral" },
351
- });
352
- core.info(`Dispatched supervisor with message: ${actionArg}`);
353
- } catch (err) {
354
- core.warning(`Failed to dispatch supervisor: ${err.message}`);
355
- }
356
- }
343
+ core.info(`Supervisor requested with message: ${actionArg || "Discussion bot referral"} (dispatch handled by bot workflow)`);
357
344
  }
358
345
 
359
346
  // Stop automation
@@ -17,7 +17,7 @@
17
17
  "author": "",
18
18
  "license": "MIT",
19
19
  "dependencies": {
20
- "@xn-intenton-z2a/agentic-lib": "^7.1.95"
20
+ "@xn-intenton-z2a/agentic-lib": "^7.1.97"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@playwright/test": "^1.58.0",