replicas-cli 0.3.194 → 0.3.196

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.
Files changed (2) hide show
  1. package/dist/index.cjs +25 -8
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -16059,12 +16059,22 @@ var init_opencode_go = __esm({
16059
16059
  }
16060
16060
  });
16061
16061
 
16062
+ // ../shared/src/chat-kind.ts
16063
+ var CHAT_KINDS;
16064
+ var init_chat_kind = __esm({
16065
+ "../shared/src/chat-kind.ts"() {
16066
+ "use strict";
16067
+ CHAT_KINDS = ["standard", "pull_request_fixes", "pull_request_review", "pull_request_tour"];
16068
+ }
16069
+ });
16070
+
16062
16071
  // ../shared/src/routes/reviews.ts
16063
16072
  var text, optionalText, pullRequestTourSchema;
16064
16073
  var init_reviews = __esm({
16065
16074
  "../shared/src/routes/reviews.ts"() {
16066
16075
  "use strict";
16067
16076
  init_zod();
16077
+ init_chat_kind();
16068
16078
  init_urls();
16069
16079
  text = external_exports.string().trim().catch("");
16070
16080
  optionalText = external_exports.string().trim().min(1).optional().catch(void 0);
@@ -16217,6 +16227,7 @@ var init_types4 = __esm({
16217
16227
  "use strict";
16218
16228
  init_aster();
16219
16229
  init_opencode_go();
16230
+ init_chat_kind();
16220
16231
  init_reviews();
16221
16232
  init_type_guards();
16222
16233
  init_languages();
@@ -16705,6 +16716,7 @@ var init_v1 = __esm({
16705
16716
  "use strict";
16706
16717
  init_api_casing();
16707
16718
  init_types4();
16719
+ init_chat_kind();
16708
16720
  init_agent();
16709
16721
  init_event();
16710
16722
  init_pricing();
@@ -16722,6 +16734,7 @@ var init_v1 = __esm({
16722
16734
  parentChatId: external_exports.string().uuid().optional(),
16723
16735
  forkSourceChatId: external_exports.string().uuid().optional(),
16724
16736
  pullRequestNotesPath: external_exports.string().min(1).optional(),
16737
+ kind: external_exports.enum(CHAT_KINDS).optional(),
16725
16738
  sideChat: external_exports.boolean().optional(),
16726
16739
  clientRequestId: external_exports.string().min(1).max(128).optional()
16727
16740
  }).refine((request) => !request.sideChat || request.forkSourceChatId !== void 0 && request.parentChatId === request.forkSourceChatId, {
@@ -31160,7 +31173,7 @@ var CLI_VERSION;
31160
31173
  var init_cli_version = __esm({
31161
31174
  "../shared/src/cli-version.ts"() {
31162
31175
  "use strict";
31163
- CLI_VERSION = "0.3.194";
31176
+ CLI_VERSION = "0.3.196";
31164
31177
  }
31165
31178
  });
31166
31179
 
@@ -31962,24 +31975,26 @@ var init_workspace_attention = __esm({
31962
31975
  });
31963
31976
 
31964
31977
  // ../shared/src/routes/workspace-events.ts
31965
- var workspaceChangedEventSchema;
31978
+ var workspaceTurnCompletionSchema, workspaceChangedEventSchema;
31966
31979
  var init_workspace_events = __esm({
31967
31980
  "../shared/src/routes/workspace-events.ts"() {
31968
31981
  "use strict";
31969
31982
  init_zod();
31970
31983
  init_workspace_attention();
31971
31984
  init_workspaces();
31985
+ workspaceTurnCompletionSchema = external_exports.object({
31986
+ workspaceName: external_exports.string(),
31987
+ completedAt: external_exports.string(),
31988
+ processing: external_exports.boolean().optional(),
31989
+ pullRequestFeedback: external_exports.boolean().optional(),
31990
+ attention: external_exports.object({ reason: external_exports.enum(WORKSPACE_ATTENTION_REASONS), userId: external_exports.string() }).optional()
31991
+ });
31972
31992
  workspaceChangedEventSchema = external_exports.discriminatedUnion("type", [
31973
31993
  external_exports.object({
31974
31994
  type: external_exports.literal("workspace.changed"),
31975
31995
  workspaceId: external_exports.string(),
31976
31996
  workspace: external_exports.object({ status: external_exports.enum(WORKSPACE_STATUSES), last_activity_at: external_exports.string().nullable() }).optional(),
31977
- completion: external_exports.object({
31978
- workspaceName: external_exports.string(),
31979
- completedAt: external_exports.string(),
31980
- processing: external_exports.boolean().optional(),
31981
- attention: external_exports.object({ reason: external_exports.enum(WORKSPACE_ATTENTION_REASONS), userId: external_exports.string() }).optional()
31982
- }).optional(),
31997
+ completion: workspaceTurnCompletionSchema.optional(),
31983
31998
  ts: external_exports.string()
31984
31999
  }),
31985
32000
  external_exports.object({
@@ -32526,6 +32541,7 @@ var init_types8 = __esm({
32526
32541
  init_agents();
32527
32542
  init_types4();
32528
32543
  init_v1();
32544
+ init_chat_kind();
32529
32545
  init_type_guards();
32530
32546
  init_chat_transcript_pages();
32531
32547
  MEDIA_KIND = {
@@ -32726,6 +32742,7 @@ var init_src = __esm({
32726
32742
  init_environment2();
32727
32743
  init_types4();
32728
32744
  init_v1();
32745
+ init_chat_kind();
32729
32746
  init_webhook();
32730
32747
  init_billing();
32731
32748
  init_codex();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.194",
3
+ "version": "0.3.196",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {