patchrelay 0.48.0 → 0.49.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/README.md +2 -2
- package/dist/agent-session-plan.js +12 -0
- package/dist/build-info.json +3 -3
- package/dist/cli/data.js +40 -15
- package/dist/db/issue-store.js +87 -4
- package/dist/db/migrations.js +34 -0
- package/dist/db.js +12 -0
- package/dist/effective-active-run.js +15 -0
- package/dist/idle-reconciliation.js +19 -0
- package/dist/issue-class.js +6 -2
- package/dist/issue-overview-query.js +2 -0
- package/dist/issue-session.js +6 -0
- package/dist/linear-client.js +13 -0
- package/dist/linear-status-comment-sync.js +1 -0
- package/dist/no-pr-completion-check.js +11 -3
- package/dist/orchestration-parent-wake.js +68 -9
- package/dist/prompting/patchrelay.js +18 -12
- package/dist/run-orchestrator.js +6 -8
- package/dist/run-reconciler.js +14 -0
- package/dist/tracked-issue-list-query.js +40 -12
- package/dist/tracked-issue-projector.js +18 -8
- package/dist/tracked-issue-query.js +5 -1
- package/dist/waiting-reason.js +7 -0
- package/dist/webhooks/comment-wake-handler.js +1 -1
- package/dist/webhooks/decision-helpers.js +3 -0
- package/dist/webhooks/desired-stage-recorder.js +86 -1
- package/dist/webhooks.js +7 -0
- package/package.json +1 -1
package/dist/webhooks.js
CHANGED
|
@@ -195,6 +195,7 @@ function extractIssueMetadata(payload) {
|
|
|
195
195
|
return undefined;
|
|
196
196
|
}
|
|
197
197
|
const teamRecord = asRecord(issueRecord.team);
|
|
198
|
+
const parentRecord = asRecord(issueRecord.parent);
|
|
198
199
|
const identifier = getString(issueRecord, "identifier");
|
|
199
200
|
const title = getString(issueRecord, "title");
|
|
200
201
|
const url = getString(issueRecord, "url") ?? payload.url;
|
|
@@ -208,12 +209,18 @@ function extractIssueMetadata(payload) {
|
|
|
208
209
|
const delegateId = getString(issueRecord, "delegateId") ?? getString(delegateRecord ?? {}, "id");
|
|
209
210
|
const delegateName = getString(delegateRecord ?? {}, "name");
|
|
210
211
|
const description = getString(issueRecord, "description");
|
|
212
|
+
const parentId = getString(issueRecord, "parentId") ?? getString(parentRecord ?? {}, "id");
|
|
213
|
+
const parentIdentifier = getString(parentRecord ?? {}, "identifier");
|
|
214
|
+
const parentTitle = getString(parentRecord ?? {}, "title");
|
|
211
215
|
const rawPriority = issueRecord.priority;
|
|
212
216
|
const priority = typeof rawPriority === "number" ? rawPriority : undefined;
|
|
213
217
|
const rawEstimate = issueRecord.estimate;
|
|
214
218
|
const estimate = typeof rawEstimate === "number" ? rawEstimate : undefined;
|
|
215
219
|
return {
|
|
216
220
|
id,
|
|
221
|
+
...(parentId ? { parentId } : {}),
|
|
222
|
+
...(parentIdentifier ? { parentIdentifier } : {}),
|
|
223
|
+
...(parentTitle ? { parentTitle } : {}),
|
|
217
224
|
...(identifier ? { identifier } : {}),
|
|
218
225
|
...(title ? { title } : {}),
|
|
219
226
|
...(description ? { description } : {}),
|