replicas-cli 0.3.233 → 0.3.235
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.cjs +13 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -17147,13 +17147,21 @@ var init_pull_requests = __esm({
|
|
|
17147
17147
|
});
|
|
17148
17148
|
|
|
17149
17149
|
// ../shared/src/routes/mothership.ts
|
|
17150
|
-
var SUBAGENT_SERVICE_TIERS, mothershipSubagentSettingsSchema, DEPLOYED_SHOWN_MS, MOTHERSHIP_SHIPPING_LOOKBACK_MS;
|
|
17150
|
+
var mothershipLinearRuleSchema, storedMothershipLinearRuleSchema, SUBAGENT_SERVICE_TIERS, mothershipSubagentSettingsSchema, DEPLOYED_SHOWN_MS, MOTHERSHIP_SHIPPING_LOOKBACK_MS;
|
|
17151
17151
|
var init_mothership = __esm({
|
|
17152
17152
|
"../shared/src/routes/mothership.ts"() {
|
|
17153
17153
|
"use strict";
|
|
17154
17154
|
init_zod();
|
|
17155
17155
|
init_agent();
|
|
17156
17156
|
init_pull_requests();
|
|
17157
|
+
mothershipLinearRuleSchema = external_exports.object({
|
|
17158
|
+
team_id: external_exports.string().min(1),
|
|
17159
|
+
current_cycle: external_exports.boolean().optional(),
|
|
17160
|
+
label_id: external_exports.string().min(1).optional(),
|
|
17161
|
+
project_id: external_exports.string().min(1).optional(),
|
|
17162
|
+
assignee_id: external_exports.string().min(1).optional()
|
|
17163
|
+
}).strict();
|
|
17164
|
+
storedMothershipLinearRuleSchema = mothershipLinearRuleSchema.extend({ linked_at: external_exports.string() });
|
|
17157
17165
|
SUBAGENT_SERVICE_TIERS = ["default", "fast", "ultrafast"];
|
|
17158
17166
|
mothershipSubagentSettingsSchema = external_exports.object({
|
|
17159
17167
|
coding_agent: external_exports.enum(VALID_AGENT_PROVIDERS),
|
|
@@ -30686,7 +30694,8 @@ function applyInterruptions(messages, events) {
|
|
|
30686
30694
|
insertDisplayMessageByTimestamp(result, {
|
|
30687
30695
|
id: `interruption-${event.timestamp}`,
|
|
30688
30696
|
type: "interruption",
|
|
30689
|
-
timestamp: event.timestamp
|
|
30697
|
+
timestamp: event.timestamp,
|
|
30698
|
+
...event.payload.steered === true ? { steered: true } : {}
|
|
30690
30699
|
});
|
|
30691
30700
|
}
|
|
30692
30701
|
let lastUserMs = null;
|
|
@@ -30705,6 +30714,7 @@ function applyInterruptions(messages, events) {
|
|
|
30705
30714
|
}
|
|
30706
30715
|
const ms = parseTimestampMs(msg.timestamp);
|
|
30707
30716
|
if (lastInterruption && ms - parseTimestampMs(lastInterruption.timestamp) <= INTERRUPTION_DEDUP_WINDOW_MS) {
|
|
30717
|
+
if (msg.steered) lastInterruption.steered = true;
|
|
30708
30718
|
continue;
|
|
30709
30719
|
}
|
|
30710
30720
|
lastInterruption = {
|
|
@@ -31413,7 +31423,7 @@ var CLI_VERSION;
|
|
|
31413
31423
|
var init_cli_version = __esm({
|
|
31414
31424
|
"../shared/src/cli-version.ts"() {
|
|
31415
31425
|
"use strict";
|
|
31416
|
-
CLI_VERSION = "0.3.
|
|
31426
|
+
CLI_VERSION = "0.3.235";
|
|
31417
31427
|
}
|
|
31418
31428
|
});
|
|
31419
31429
|
|