@jiggai/recipes 0.3.5 → 0.3.7

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/index.ts CHANGED
@@ -26,6 +26,7 @@ import {
26
26
  } from "./src/handlers/install";
27
27
  import {
28
28
  handleAssign,
29
+ handleCleanupClosedAssignments,
29
30
  handleDispatch,
30
31
  handleHandoff,
31
32
  handleMoveTicket,
@@ -482,6 +483,19 @@ const recipesPlugin = {
482
483
  console.log(JSON.stringify({ ok: true, moved: { from: res.from, to: res.to } }, null, 2));
483
484
  });
484
485
 
486
+ cmd
487
+ .command("cleanup-closed-assignments")
488
+ .description("Archive assignment stubs for tickets already in work/done (prevents done work resurfacing)")
489
+ .requiredOption("--team-id <teamId>", "Team id")
490
+ .option("--ticket <ticketNums...>", "Optional ticket numbers to target (e.g. 0050 0064)")
491
+ .action(async (options: { teamId?: string; ticket?: string[] }) => {
492
+ if (!options.teamId) throw new Error("--team-id is required");
493
+ const res = await handleCleanupClosedAssignments(api, {
494
+ teamId: options.teamId,
495
+ ticketNums: options.ticket,
496
+ });
497
+ console.log(JSON.stringify(res, null, 2));
498
+ });
485
499
 
486
500
  cmd
487
501
  .command("assign")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiggai/recipes",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "ClawRecipes plugin for OpenClaw (markdown recipes -> scaffold agents/teams)",
5
5
  "main": "index.ts",
6
6
  "type": "commonjs",
@@ -59,6 +59,21 @@ agents:
59
59
  deny: ["exec"]
60
60
 
61
61
  templates:
62
+ tools: |
63
+ # TOOLS.md
64
+
65
+ # Agent-local notes (paths, conventions, env quirks).
66
+
67
+ status: |
68
+ # STATUS.md
69
+
70
+ - (empty)
71
+
72
+ notes: |
73
+ # NOTES.md
74
+
75
+ - (empty)
76
+
62
77
  lead.soul: |
63
78
  # SOUL.md
64
79
 
@@ -59,6 +59,21 @@ agents:
59
59
  deny: ["exec"]
60
60
 
61
61
  templates:
62
+ tools: |
63
+ # TOOLS.md
64
+
65
+ # Agent-local notes (paths, conventions, env quirks).
66
+
67
+ status: |
68
+ # STATUS.md
69
+
70
+ - (empty)
71
+
72
+ notes: |
73
+ # NOTES.md
74
+
75
+ - (empty)
76
+
62
77
  lead.soul: |
63
78
  # SOUL.md
64
79
 
@@ -59,6 +59,21 @@ agents:
59
59
  deny: ["exec"]
60
60
 
61
61
  templates:
62
+ tools: |
63
+ # TOOLS.md
64
+
65
+ # Agent-local notes (paths, conventions, env quirks).
66
+
67
+ status: |
68
+ # STATUS.md
69
+
70
+ - (empty)
71
+
72
+ notes: |
73
+ # NOTES.md
74
+
75
+ - (empty)
76
+
62
77
  lead.soul: |
63
78
  # SOUL.md
64
79
 
@@ -59,6 +59,21 @@ agents:
59
59
  deny: ["exec"]
60
60
 
61
61
  templates:
62
+ tools: |
63
+ # TOOLS.md
64
+
65
+ # Agent-local notes (paths, conventions, env quirks).
66
+
67
+ status: |
68
+ # STATUS.md
69
+
70
+ - (empty)
71
+
72
+ notes: |
73
+ # NOTES.md
74
+
75
+ - (empty)
76
+
62
77
  lead.soul: |
63
78
  # SOUL.md
64
79
 
@@ -59,6 +59,21 @@ agents:
59
59
  deny: ["exec"]
60
60
 
61
61
  templates:
62
+ tools: |
63
+ # TOOLS.md
64
+
65
+ # Agent-local notes (paths, conventions, env quirks).
66
+
67
+ status: |
68
+ # STATUS.md
69
+
70
+ - (empty)
71
+
72
+ notes: |
73
+ # NOTES.md
74
+
75
+ - (empty)
76
+
62
77
  lead.soul: |
63
78
  # SOUL.md
64
79
 
@@ -59,6 +59,21 @@ agents:
59
59
  deny: ["exec"]
60
60
 
61
61
  templates:
62
+ tools: |
63
+ # TOOLS.md
64
+
65
+ # Agent-local notes (paths, conventions, env quirks).
66
+
67
+ status: |
68
+ # STATUS.md
69
+
70
+ - (empty)
71
+
72
+ notes: |
73
+ # NOTES.md
74
+
75
+ - (empty)
76
+
62
77
  lead.soul: |
63
78
  # SOUL.md
64
79