@wasabeef/agentnote 0.1.3 → 0.1.4
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/dist/cli.js +7 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -254,16 +254,20 @@ var claudeCode = {
|
|
|
254
254
|
};
|
|
255
255
|
|
|
256
256
|
// src/commands/init.ts
|
|
257
|
-
var WORKFLOW_TEMPLATE = `name:
|
|
257
|
+
var WORKFLOW_TEMPLATE = `name: Agent Note
|
|
258
258
|
on:
|
|
259
259
|
pull_request:
|
|
260
260
|
types: [opened, synchronize]
|
|
261
|
+
concurrency:
|
|
262
|
+
group: agentnote-\${{ github.event.pull_request.number }}
|
|
263
|
+
cancel-in-progress: true
|
|
261
264
|
permissions:
|
|
262
265
|
contents: read
|
|
263
266
|
pull-requests: write
|
|
264
267
|
jobs:
|
|
265
268
|
report:
|
|
266
269
|
runs-on: ubuntu-latest
|
|
270
|
+
timeout-minutes: 5
|
|
267
271
|
steps:
|
|
268
272
|
- uses: actions/checkout@v4
|
|
269
273
|
with:
|
|
@@ -881,7 +885,7 @@ async function collectReport(base) {
|
|
|
881
885
|
}
|
|
882
886
|
function renderMarkdown(report) {
|
|
883
887
|
const lines = [];
|
|
884
|
-
lines.push("## \u{1F916}
|
|
888
|
+
lines.push("## \u{1F916} Agent Note \u2014 AI Session Report");
|
|
885
889
|
lines.push("");
|
|
886
890
|
lines.push(
|
|
887
891
|
`**Overall AI ratio: ${report.overall_ai_ratio}%** (${report.tracked_commits}/${report.total_commits} commits tracked, ${report.total_prompts} prompts)`
|
|
@@ -925,7 +929,7 @@ function renderMarkdown(report) {
|
|
|
925
929
|
}
|
|
926
930
|
function renderChat(report) {
|
|
927
931
|
const lines = [];
|
|
928
|
-
lines.push("## \u{1F916}
|
|
932
|
+
lines.push("## \u{1F916} Agent Note \u2014 Session Transcript");
|
|
929
933
|
lines.push("");
|
|
930
934
|
lines.push(
|
|
931
935
|
`**Overall AI ratio: ${report.overall_ai_ratio}%** (${report.tracked_commits}/${report.total_commits} commits tracked, ${report.total_prompts} prompts)`
|