@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 +14 -0
- package/package.json +1 -1
- package/recipes/default/business-team.md +15 -0
- package/recipes/default/clinic-team.md +15 -0
- package/recipes/default/construction-team.md +15 -0
- package/recipes/default/crypto-trader-team.md +15 -0
- package/recipes/default/financial-planner-team.md +15 -0
- package/recipes/default/law-firm-team.md +15 -0
- package/recipes/default/marketing-team.md +1746 -331
- package/src/handlers/team.ts +12 -2
- package/src/handlers/tickets.ts +79 -0
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
|
@@ -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
|
|