replicas-cli 0.2.408 → 0.2.409
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/dist/index.mjs +3 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -24418,7 +24418,7 @@ function formatTurnElapsed(ms) {
|
|
|
24418
24418
|
}
|
|
24419
24419
|
|
|
24420
24420
|
// ../shared/src/cli-version.ts
|
|
24421
|
-
var CLI_VERSION = "0.2.
|
|
24421
|
+
var CLI_VERSION = "0.2.409";
|
|
24422
24422
|
|
|
24423
24423
|
// ../shared/src/version.ts
|
|
24424
24424
|
function compareVersions(v1, v2) {
|
|
@@ -26805,6 +26805,7 @@ function parseAutomationTriggered(content) {
|
|
|
26805
26805
|
const prUrlMatch = content.match(/\*\*PR URL:\*\*\s*(.+)/);
|
|
26806
26806
|
const triggeredByMatch = content.match(/\*\*Triggered By:\*\*\s*@?(.+)/);
|
|
26807
26807
|
const triggeredByUrlMatch = content.match(/\*\*Triggered By URL:\*\*\s*(.+)/);
|
|
26808
|
+
const triggerPayloadMatch = content.match(/## Trigger Payload\n```json\n([\s\S]*?)\n```/);
|
|
26808
26809
|
const promptMatch = content.match(/## Automation Prompt\n([\s\S]*)$/);
|
|
26809
26810
|
const parsedPrNumber = prNumberMatch ? parseInt(prNumberMatch[1].trim(), 10) : NaN;
|
|
26810
26811
|
return {
|
|
@@ -26819,6 +26820,7 @@ function parseAutomationTriggered(content) {
|
|
|
26819
26820
|
prUrl: safeHttpsUrl(prUrlMatch?.[1]),
|
|
26820
26821
|
triggeredBy: triggeredByMatch?.[1]?.trim(),
|
|
26821
26822
|
triggeredByUrl: safeHttpsUrl(triggeredByUrlMatch?.[1]),
|
|
26823
|
+
triggerPayload: triggerPayloadMatch?.[1]?.trim(),
|
|
26822
26824
|
userPrompt: promptMatch?.[1]?.trim() ?? ""
|
|
26823
26825
|
};
|
|
26824
26826
|
}
|