replicas-cli 0.3.193 → 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 +38 -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, {
@@ -18007,6 +18020,7 @@ Use the pre-authenticated \`gh\` CLI for repository workflows and the workspace-
18007
18020
 
18008
18021
  Use this when:
18009
18022
  - You need to create, review, or manage pull requests
18023
+ - You're opening pull requests that build on each other (a stack)
18010
18024
  - You need to interact with GitHub issues or actions
18011
18025
  - You need to use the GitHub API for advanced operations
18012
18026
  - You need to include images in PR descriptions`;
@@ -18049,6 +18063,18 @@ gh pr checks 123
18049
18063
  gh pr merge 123
18050
18064
  \`\`\`
18051
18065
 
18066
+ ### Stacked Pull Requests
18067
+
18068
+ When a change spans pull requests that build on each other, open each one with \`--base\` set to the branch below it, then link them into a GitHub stack. GitHub then shows the whole stack on every pull request in it. The \`gh stack\` extension is pre-installed.
18069
+
18070
+ \`\`\`bash
18071
+ # Bottom of the stack first. Pass --base when the bottom pull request targets a branch other than the default branch
18072
+ gh stack link 101 102 103
18073
+ gh stack link --base develop 101 102 103
18074
+ \`\`\`
18075
+
18076
+ Run \`gh stack --help\` for local stack tracking, rebasing, and merging a stack.
18077
+
18052
18078
  ### Issues
18053
18079
 
18054
18080
  \`\`\`bash
@@ -31147,7 +31173,7 @@ var CLI_VERSION;
31147
31173
  var init_cli_version = __esm({
31148
31174
  "../shared/src/cli-version.ts"() {
31149
31175
  "use strict";
31150
- CLI_VERSION = "0.3.193";
31176
+ CLI_VERSION = "0.3.196";
31151
31177
  }
31152
31178
  });
31153
31179
 
@@ -31949,24 +31975,26 @@ var init_workspace_attention = __esm({
31949
31975
  });
31950
31976
 
31951
31977
  // ../shared/src/routes/workspace-events.ts
31952
- var workspaceChangedEventSchema;
31978
+ var workspaceTurnCompletionSchema, workspaceChangedEventSchema;
31953
31979
  var init_workspace_events = __esm({
31954
31980
  "../shared/src/routes/workspace-events.ts"() {
31955
31981
  "use strict";
31956
31982
  init_zod();
31957
31983
  init_workspace_attention();
31958
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
+ });
31959
31992
  workspaceChangedEventSchema = external_exports.discriminatedUnion("type", [
31960
31993
  external_exports.object({
31961
31994
  type: external_exports.literal("workspace.changed"),
31962
31995
  workspaceId: external_exports.string(),
31963
31996
  workspace: external_exports.object({ status: external_exports.enum(WORKSPACE_STATUSES), last_activity_at: external_exports.string().nullable() }).optional(),
31964
- completion: external_exports.object({
31965
- workspaceName: external_exports.string(),
31966
- completedAt: external_exports.string(),
31967
- processing: external_exports.boolean().optional(),
31968
- attention: external_exports.object({ reason: external_exports.enum(WORKSPACE_ATTENTION_REASONS), userId: external_exports.string() }).optional()
31969
- }).optional(),
31997
+ completion: workspaceTurnCompletionSchema.optional(),
31970
31998
  ts: external_exports.string()
31971
31999
  }),
31972
32000
  external_exports.object({
@@ -32513,6 +32541,7 @@ var init_types8 = __esm({
32513
32541
  init_agents();
32514
32542
  init_types4();
32515
32543
  init_v1();
32544
+ init_chat_kind();
32516
32545
  init_type_guards();
32517
32546
  init_chat_transcript_pages();
32518
32547
  MEDIA_KIND = {
@@ -32713,6 +32742,7 @@ var init_src = __esm({
32713
32742
  init_environment2();
32714
32743
  init_types4();
32715
32744
  init_v1();
32745
+ init_chat_kind();
32716
32746
  init_webhook();
32717
32747
  init_billing();
32718
32748
  init_codex();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.193",
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": {