replicas-cli 0.2.408 → 0.2.410
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 +13 -9
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -22438,17 +22438,19 @@ var AUTOMATED_SOURCES = ["api", "automation"];
|
|
|
22438
22438
|
var INTEGRATION_SOURCES_SQL = INTEGRATION_SOURCES.map((s) => `'${s}'`).join(", ");
|
|
22439
22439
|
var AUTOMATED_SOURCES_SQL = AUTOMATED_SOURCES.map((s) => `'${s}'`).join(", ");
|
|
22440
22440
|
var PLANS = {
|
|
22441
|
-
|
|
22442
|
-
id: "
|
|
22443
|
-
name: "
|
|
22441
|
+
trial: {
|
|
22442
|
+
id: "trial",
|
|
22443
|
+
name: "Free Trial",
|
|
22444
22444
|
monthlyPrice: 0,
|
|
22445
22445
|
seatPriceCents: 0,
|
|
22446
22446
|
features: [
|
|
22447
|
-
"
|
|
22448
|
-
"
|
|
22449
|
-
"
|
|
22450
|
-
"
|
|
22451
|
-
"
|
|
22447
|
+
"14 days free, no credit card required",
|
|
22448
|
+
"Unlimited manual workspace minutes",
|
|
22449
|
+
"15,000 automated workspace minutes",
|
|
22450
|
+
"Unlimited repositories and environments",
|
|
22451
|
+
"Unlimited automations",
|
|
22452
|
+
"Warm pools and warm hooks",
|
|
22453
|
+
"API access"
|
|
22452
22454
|
]
|
|
22453
22455
|
},
|
|
22454
22456
|
developer: {
|
|
@@ -24418,7 +24420,7 @@ function formatTurnElapsed(ms) {
|
|
|
24418
24420
|
}
|
|
24419
24421
|
|
|
24420
24422
|
// ../shared/src/cli-version.ts
|
|
24421
|
-
var CLI_VERSION = "0.2.
|
|
24423
|
+
var CLI_VERSION = "0.2.410";
|
|
24422
24424
|
|
|
24423
24425
|
// ../shared/src/version.ts
|
|
24424
24426
|
function compareVersions(v1, v2) {
|
|
@@ -26805,6 +26807,7 @@ function parseAutomationTriggered(content) {
|
|
|
26805
26807
|
const prUrlMatch = content.match(/\*\*PR URL:\*\*\s*(.+)/);
|
|
26806
26808
|
const triggeredByMatch = content.match(/\*\*Triggered By:\*\*\s*@?(.+)/);
|
|
26807
26809
|
const triggeredByUrlMatch = content.match(/\*\*Triggered By URL:\*\*\s*(.+)/);
|
|
26810
|
+
const triggerPayloadMatch = content.match(/## Trigger Payload\n```json\n([\s\S]*?)\n```/);
|
|
26808
26811
|
const promptMatch = content.match(/## Automation Prompt\n([\s\S]*)$/);
|
|
26809
26812
|
const parsedPrNumber = prNumberMatch ? parseInt(prNumberMatch[1].trim(), 10) : NaN;
|
|
26810
26813
|
return {
|
|
@@ -26819,6 +26822,7 @@ function parseAutomationTriggered(content) {
|
|
|
26819
26822
|
prUrl: safeHttpsUrl(prUrlMatch?.[1]),
|
|
26820
26823
|
triggeredBy: triggeredByMatch?.[1]?.trim(),
|
|
26821
26824
|
triggeredByUrl: safeHttpsUrl(triggeredByUrlMatch?.[1]),
|
|
26825
|
+
triggerPayload: triggerPayloadMatch?.[1]?.trim(),
|
|
26822
26826
|
userPrompt: promptMatch?.[1]?.trim() ?? ""
|
|
26823
26827
|
};
|
|
26824
26828
|
}
|