@xn-intenton-z2a/agentic-lib 7.4.19 → 7.4.20

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.4.19",
3
+ "version": "7.4.20",
4
4
  "description": "Agentic-lib Agentic Coding Systems SDK powering automated GitHub workflows.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -609,6 +609,13 @@ async function executeCreateIssue(octokit, repo, params, ctx) {
609
609
  if (!title && feature) {
610
610
  title = `feat: implement ${feature}`;
611
611
  }
612
+ // Fallback: derive title from mission context when LLM provides no params
613
+ if (!title && ctx?.mission) {
614
+ const missionHeading = ctx.mission.match(/^#\s+(.+)/m);
615
+ const missionName = missionHeading ? missionHeading[1].trim() : "mission";
616
+ title = `feat: implement ${missionName.toLowerCase()}`;
617
+ core.info(`create-issue: derived title from mission context: "${title}"`);
618
+ }
612
619
  if (!title) {
613
620
  core.warning("create-issue: no title, body, or feature provided — skipping");
614
621
  return "skipped:no-title";
@@ -17,7 +17,7 @@
17
17
  "author": "",
18
18
  "license": "MIT",
19
19
  "dependencies": {
20
- "@xn-intenton-z2a/agentic-lib": "^7.4.19"
20
+ "@xn-intenton-z2a/agentic-lib": "^7.4.20"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@playwright/test": "^1.58.0",