opencode-pilot 0.7.1 → 0.7.2
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
package/service/poll-service.js
CHANGED
|
@@ -154,8 +154,8 @@ export async function pollOnce(options = {}) {
|
|
|
154
154
|
const sortedItems = sortByPriority(readyItems, sortConfig);
|
|
155
155
|
|
|
156
156
|
// Process ready items
|
|
157
|
-
// Get reprocess_on config
|
|
158
|
-
const reprocessOn =
|
|
157
|
+
// Get reprocess_on config: source-level overrides provider-level
|
|
158
|
+
const reprocessOn = source.reprocess_on || toolProviderConfig?.reprocess_on;
|
|
159
159
|
|
|
160
160
|
debug(`Processing ${sortedItems.length} sorted items`);
|
|
161
161
|
for (const item of sortedItems) {
|
|
@@ -40,7 +40,14 @@ my-prs-feedback:
|
|
|
40
40
|
mcp: github
|
|
41
41
|
name: search_issues
|
|
42
42
|
args:
|
|
43
|
-
|
|
43
|
+
# Catches PRs with any review activity (comments, reviews, or changes requested)
|
|
44
|
+
# Note: comments:>0 includes both review comments and issue comments
|
|
45
|
+
q: "is:pr author:@me state:open comments:>0"
|
|
44
46
|
item:
|
|
45
47
|
id: "{html_url}"
|
|
46
48
|
repo: "{repository_full_name}"
|
|
49
|
+
# Reprocess when PR is updated (new commits pushed, new comments, etc.)
|
|
50
|
+
# This ensures we re-trigger after addressing review feedback
|
|
51
|
+
reprocess_on:
|
|
52
|
+
- state
|
|
53
|
+
- updated_at
|
|
@@ -565,7 +565,9 @@ sources:
|
|
|
565
565
|
const sources = getSources();
|
|
566
566
|
|
|
567
567
|
assert.strictEqual(sources[0].name, 'my-prs-feedback');
|
|
568
|
-
assert.strictEqual(sources[0].args.q, 'is:pr author:@me state:open
|
|
568
|
+
assert.strictEqual(sources[0].args.q, 'is:pr author:@me state:open comments:>0');
|
|
569
|
+
// This preset includes updated_at in reprocess_on to catch new commits
|
|
570
|
+
assert.deepStrictEqual(sources[0].reprocess_on, ['state', 'updated_at']);
|
|
569
571
|
});
|
|
570
572
|
|
|
571
573
|
test('expands linear/my-issues preset with required args', async () => {
|