@agentproto/apps 0.13.0 → 0.13.1
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": "@agentproto/apps",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"description": "@agentproto/apps — a home for ready-made agentproto apps (teams of agents + their workflows), declared with @agentproto/app-kit. Import a team (code-team, content-team, …) and use any of its agents/workflows from your own host: in-process via toMastraAgents(), or emit its manifests to disk.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agentproto",
|
|
@@ -148,6 +148,16 @@ steps:
|
|
|
148
148
|
name: Review candidates with no recorded verdict
|
|
149
149
|
description: Entry-based — see entry.mjs's computeReviewGaps.
|
|
150
150
|
|
|
151
|
+
- id: worktreeGcApply
|
|
152
|
+
kind: tool
|
|
153
|
+
name: Apply worktree gc
|
|
154
|
+
tool: worktree_gc
|
|
155
|
+
inputs:
|
|
156
|
+
repoRoot: $input.repoRoot
|
|
157
|
+
workspaceSlug: $input.workspaceSlug
|
|
158
|
+
apply: $input.applyMerged
|
|
159
|
+
salvageDirty: false
|
|
160
|
+
|
|
151
161
|
- id: branchGcApply
|
|
152
162
|
kind: tool
|
|
153
163
|
name: Apply branch gc (reclaim only)
|
|
@@ -164,16 +174,6 @@ steps:
|
|
|
164
174
|
includeReviewed: false
|
|
165
175
|
scopes: [local, remote, orphan]
|
|
166
176
|
|
|
167
|
-
- id: worktreeGcApply
|
|
168
|
-
kind: tool
|
|
169
|
-
name: Apply worktree gc
|
|
170
|
-
tool: worktree_gc
|
|
171
|
-
inputs:
|
|
172
|
-
repoRoot: $input.repoRoot
|
|
173
|
-
workspaceSlug: $input.workspaceSlug
|
|
174
|
-
apply: $input.applyMerged
|
|
175
|
-
salvageDirty: false
|
|
176
|
-
|
|
177
177
|
- id: report
|
|
178
178
|
kind: transform
|
|
179
179
|
name: Build the markdown summary
|
|
@@ -578,26 +578,26 @@ export default {
|
|
|
578
578
|
compute: b => computeReviewGaps(b.steps.reviewCandidates, b.steps.branchGcVerify, b.steps.review),
|
|
579
579
|
},
|
|
580
580
|
{
|
|
581
|
-
id: "
|
|
581
|
+
id: "worktreeGcApply",
|
|
582
582
|
kind: "tool",
|
|
583
|
-
tool: "
|
|
583
|
+
tool: "worktree_gc",
|
|
584
584
|
inputs: {
|
|
585
585
|
repoRoot: "$input.repoRoot",
|
|
586
586
|
workspaceSlug: "$input.workspaceSlug",
|
|
587
587
|
apply: "$input.applyMerged",
|
|
588
|
-
|
|
589
|
-
scopes: ["local", "remote", "orphan"],
|
|
588
|
+
salvageDirty: false,
|
|
590
589
|
},
|
|
591
590
|
},
|
|
592
591
|
{
|
|
593
|
-
id: "
|
|
592
|
+
id: "branchGcApply",
|
|
594
593
|
kind: "tool",
|
|
595
|
-
tool: "
|
|
594
|
+
tool: "branch_gc",
|
|
596
595
|
inputs: {
|
|
597
596
|
repoRoot: "$input.repoRoot",
|
|
598
597
|
workspaceSlug: "$input.workspaceSlug",
|
|
599
598
|
apply: "$input.applyMerged",
|
|
600
|
-
|
|
599
|
+
includeReviewed: false,
|
|
600
|
+
scopes: ["local", "remote", "orphan"],
|
|
601
601
|
},
|
|
602
602
|
},
|
|
603
603
|
{
|
|
@@ -27,9 +27,10 @@ The `maintain` workflow, one run:
|
|
|
27
27
|
one re-prompt in the same session, then one retry on the large model.
|
|
28
28
|
3. Re-plans `branch_gc` to confirm every candidate got a verdict, and
|
|
29
29
|
reports any gap, the verdict tally, and the `salvage` branches by name.
|
|
30
|
-
4. If `applyMerged` is true: `
|
|
31
|
-
false`
|
|
32
|
-
|
|
30
|
+
4. If `applyMerged` is true: `worktree_gc` applies first (`salvageDirty:
|
|
31
|
+
false`) — removing a merged worktree frees its branch — then `branch_gc`
|
|
32
|
+
applies with `includeReviewed: false` (reclaim-class refs only — merged /
|
|
33
|
+
squash-merged / patch-merged / content-merged).
|
|
33
34
|
**A `review`-class branch is never reclaimed by this workflow, agreed
|
|
34
35
|
verdict or not** — see "Out of scope" below.
|
|
35
36
|
5. Reports a markdown summary, and (only when `notify` is set AND there's a
|