@xn-intenton-z2a/agentic-lib 7.4.40 → 7.4.42

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.
@@ -13,7 +13,7 @@ inputs:
13
13
  task:
14
14
  description: >
15
15
  The task to perform. One of: resolve-issue, fix-code, transform, maintain-features,
16
- maintain-library, enhance-issue, review-issue, discussions, supervise
16
+ maintain-library, enhance-issue, review-issue, discussions, supervise, report
17
17
  required: true
18
18
  config:
19
19
  description: "Path to agentic-lib.toml configuration file"
@@ -50,6 +50,14 @@ inputs:
50
50
  description: "Copilot SDK model to use"
51
51
  required: false
52
52
  default: "gpt-5-mini"
53
+ period-start:
54
+ description: "Report period start (ISO 8601, default: most recent init run)"
55
+ required: false
56
+ default: ""
57
+ period-end:
58
+ description: "Report period end (ISO 8601, default: now)"
59
+ required: false
60
+ default: ""
53
61
 
54
62
  outputs:
55
63
  result:
@@ -66,6 +74,8 @@ outputs:
66
74
  description: "Argument for the chosen action (free text)"
67
75
  narrative:
68
76
  description: "One-sentence English narrative of what the task did and why"
77
+ report-content:
78
+ description: "Generated report content (report task only)"
69
79
 
70
80
  runs:
71
81
  using: "node24"
@@ -32,13 +32,14 @@ import { discussions } from "./tasks/discussions.js";
32
32
  import { supervise } from "./tasks/supervise.js";
33
33
  import { direct } from "./tasks/direct.js";
34
34
  import { implementationReview } from "./tasks/implementation-review.js";
35
+ import { report } from "./tasks/report.js";
35
36
 
36
37
  const TASKS = {
37
38
  "resolve-issue": resolveIssue, "fix-code": fixCode, "transform": transform,
38
39
  "maintain-features": maintainFeatures, "maintain-library": maintainLibrary,
39
40
  "enhance-issue": enhanceIssue, "review-issue": reviewIssue,
40
41
  "discussions": discussions, "supervise": supervise, "direct": direct,
41
- "implementation-review": implementationReview,
42
+ "implementation-review": implementationReview, "report": report,
42
43
  };
43
44
 
44
45
  async function run() {
@@ -88,6 +89,8 @@ async function run() {
88
89
  discussionUrl: core.getInput("discussion-url"),
89
90
  commentNodeId: core.getInput("comment-node-id"),
90
91
  commentCreatedAt: core.getInput("comment-created-at"),
92
+ periodStart: core.getInput("period-start"),
93
+ periodEnd: core.getInput("period-end"),
91
94
  octokit: github.getOctokit(process.env.GITHUB_TOKEN),
92
95
  repo: github.context.repo, github: github.context,
93
96
  logFilePath, screenshotFilePath,
@@ -102,7 +105,7 @@ async function run() {
102
105
 
103
106
  // Set outputs
104
107
  core.setOutput("result", result.outcome || "completed");
105
- for (const [key, field] of [["pr-number", "prNumber"], ["tokens-used", "tokensUsed"], ["model", "model"], ["action", "action"], ["action-arg", "actionArg"], ["narrative", "narrative"]]) {
108
+ for (const [key, field] of [["pr-number", "prNumber"], ["tokens-used", "tokensUsed"], ["model", "model"], ["action", "action"], ["action-arg", "actionArg"], ["narrative", "narrative"], ["report-content", "reportContent"]]) {
106
109
  if (result[field]) core.setOutput(key, String(result[field]));
107
110
  }
108
111