replicas-cli 0.3.362 → 0.3.363
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 +34 -28
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -37766,7 +37766,7 @@ var CLI_VERSION;
|
|
|
37766
37766
|
var init_cli_version = __esm({
|
|
37767
37767
|
"../shared/src/cli-version.ts"() {
|
|
37768
37768
|
"use strict";
|
|
37769
|
-
CLI_VERSION = "0.3.
|
|
37769
|
+
CLI_VERSION = "0.3.363";
|
|
37770
37770
|
}
|
|
37771
37771
|
});
|
|
37772
37772
|
|
|
@@ -38583,14 +38583,38 @@ var init_client_state = __esm({
|
|
|
38583
38583
|
}
|
|
38584
38584
|
});
|
|
38585
38585
|
|
|
38586
|
+
// ../shared/src/routes/presence.ts
|
|
38587
|
+
var presenceStatusSchema, presenceLocationSchema, presenceEntrySchema, updatePresenceRequestSchema;
|
|
38588
|
+
var init_presence = __esm({
|
|
38589
|
+
"../shared/src/routes/presence.ts"() {
|
|
38590
|
+
"use strict";
|
|
38591
|
+
init_zod();
|
|
38592
|
+
presenceStatusSchema = external_exports.enum(["online", "typing"]);
|
|
38593
|
+
presenceLocationSchema = external_exports.object({
|
|
38594
|
+
workspaceId: external_exports.string().optional()
|
|
38595
|
+
});
|
|
38596
|
+
presenceEntrySchema = external_exports.object({
|
|
38597
|
+
userId: external_exports.string(),
|
|
38598
|
+
status: presenceStatusSchema,
|
|
38599
|
+
location: presenceLocationSchema,
|
|
38600
|
+
ts: external_exports.string()
|
|
38601
|
+
});
|
|
38602
|
+
updatePresenceRequestSchema = external_exports.object({
|
|
38603
|
+
status: presenceStatusSchema,
|
|
38604
|
+
location: presenceLocationSchema.optional()
|
|
38605
|
+
});
|
|
38606
|
+
}
|
|
38607
|
+
});
|
|
38608
|
+
|
|
38586
38609
|
// ../shared/src/routes/workspace-events.ts
|
|
38587
|
-
var workspaceTurnCompletionSchema, workspaceChangedEventSchema;
|
|
38610
|
+
var workspaceTurnCompletionSchema, workspaceEventSchemaByType, workspaceChangedEventSchema;
|
|
38588
38611
|
var init_workspace_events = __esm({
|
|
38589
38612
|
"../shared/src/routes/workspace-events.ts"() {
|
|
38590
38613
|
"use strict";
|
|
38591
38614
|
init_zod();
|
|
38592
38615
|
init_workspace_attention();
|
|
38593
38616
|
init_workspaces();
|
|
38617
|
+
init_presence();
|
|
38594
38618
|
workspaceTurnCompletionSchema = external_exports.object({
|
|
38595
38619
|
workspaceName: external_exports.string(),
|
|
38596
38620
|
completedAt: external_exports.string(),
|
|
@@ -38598,10 +38622,11 @@ var init_workspace_events = __esm({
|
|
|
38598
38622
|
pullRequestFeedback: external_exports.boolean().optional(),
|
|
38599
38623
|
attention: external_exports.object({ reason: external_exports.enum(CHAT_ATTENTION_REASONS), userId: external_exports.string() }).optional()
|
|
38600
38624
|
});
|
|
38601
|
-
|
|
38625
|
+
workspaceEventSchemaByType = external_exports.discriminatedUnion("type", [
|
|
38602
38626
|
external_exports.object({
|
|
38603
38627
|
type: external_exports.literal("workspace.changed"),
|
|
38604
38628
|
workspaceId: external_exports.string(),
|
|
38629
|
+
accessChangedFor: external_exports.string().optional(),
|
|
38605
38630
|
workspace: external_exports.object({ status: external_exports.enum(WORKSPACE_STATUSES), last_activity_at: external_exports.string().nullable() }).optional(),
|
|
38606
38631
|
name: external_exports.string().optional(),
|
|
38607
38632
|
completion: workspaceTurnCompletionSchema.optional(),
|
|
@@ -38621,7 +38646,6 @@ var init_workspace_events = __esm({
|
|
|
38621
38646
|
processing: external_exports.boolean(),
|
|
38622
38647
|
ts: external_exports.string()
|
|
38623
38648
|
}),
|
|
38624
|
-
external_exports.object({ type: external_exports.literal("presence.changed"), ts: external_exports.string() }),
|
|
38625
38649
|
external_exports.object({
|
|
38626
38650
|
type: external_exports.literal("mobile-testing.changed"),
|
|
38627
38651
|
workspaceId: external_exports.string(),
|
|
@@ -38643,7 +38667,7 @@ var init_workspace_events = __esm({
|
|
|
38643
38667
|
subagent: external_exports.object({ id: external_exports.string(), name: external_exports.string(), prUrl: external_exports.string().nullable() }),
|
|
38644
38668
|
ts: external_exports.string()
|
|
38645
38669
|
}),
|
|
38646
|
-
external_exports.object({ type: external_exports.literal("needs-you.changed"), workspaceId: external_exports.string().nullable(), ts: external_exports.string() }),
|
|
38670
|
+
external_exports.object({ type: external_exports.literal("needs-you.changed"), workspaceId: external_exports.string().nullable(), userId: external_exports.string().optional(), ts: external_exports.string() }),
|
|
38647
38671
|
external_exports.object({
|
|
38648
38672
|
type: external_exports.literal("workspace.shared"),
|
|
38649
38673
|
workspaceId: external_exports.string(),
|
|
@@ -38653,29 +38677,11 @@ var init_workspace_events = __esm({
|
|
|
38653
38677
|
ts: external_exports.string()
|
|
38654
38678
|
})
|
|
38655
38679
|
]);
|
|
38656
|
-
|
|
38657
|
-
|
|
38658
|
-
|
|
38659
|
-
|
|
38660
|
-
|
|
38661
|
-
var init_presence = __esm({
|
|
38662
|
-
"../shared/src/routes/presence.ts"() {
|
|
38663
|
-
"use strict";
|
|
38664
|
-
init_zod();
|
|
38665
|
-
presenceStatusSchema = external_exports.enum(["online", "typing"]);
|
|
38666
|
-
presenceLocationSchema = external_exports.object({
|
|
38667
|
-
workspaceId: external_exports.string().optional()
|
|
38668
|
-
});
|
|
38669
|
-
presenceEntrySchema = external_exports.object({
|
|
38670
|
-
userId: external_exports.string(),
|
|
38671
|
-
status: presenceStatusSchema,
|
|
38672
|
-
location: presenceLocationSchema,
|
|
38673
|
-
ts: external_exports.string()
|
|
38674
|
-
});
|
|
38675
|
-
updatePresenceRequestSchema = external_exports.object({
|
|
38676
|
-
status: presenceStatusSchema,
|
|
38677
|
-
location: presenceLocationSchema.optional()
|
|
38678
|
-
});
|
|
38680
|
+
workspaceChangedEventSchema = external_exports.union([
|
|
38681
|
+
workspaceEventSchemaByType,
|
|
38682
|
+
external_exports.object({ type: external_exports.literal("presence.changed"), userId: external_exports.string(), entry: presenceEntrySchema.nullable(), ts: external_exports.string() }),
|
|
38683
|
+
external_exports.object({ type: external_exports.literal("presence.changed"), ts: external_exports.string() })
|
|
38684
|
+
]);
|
|
38679
38685
|
}
|
|
38680
38686
|
});
|
|
38681
38687
|
|