@autohq/cli 0.1.594 → 0.1.596

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.
@@ -37736,7 +37736,7 @@ Object.assign(lookup, {
37736
37736
  // package.json
37737
37737
  var package_default = {
37738
37738
  name: "@autohq/cli",
37739
- version: "0.1.594",
37739
+ version: "0.1.596",
37740
37740
  license: "SEE LICENSE IN README.md",
37741
37741
  publishConfig: {
37742
37742
  access: "public"
@@ -41880,6 +41880,7 @@ var GITHUB_MCP_PROXY_TOOL_NAMES = [
41880
41880
  "delete_issue_comment",
41881
41881
  "download_comment_attachment",
41882
41882
  "enable_pull_request_auto_merge",
41883
+ "enqueue_pull_request",
41883
41884
  "rerun_failed_jobs",
41884
41885
  "upsert_issue_comment"
41885
41886
  ];
@@ -41889,7 +41890,8 @@ var GITHUB_MCP_SELECTABLE_TOOL_NAMES = [
41889
41890
  ];
41890
41891
  var GITHUB_MCP_MERGE_TOOLS = [
41891
41892
  "merge_pull_request",
41892
- "enable_pull_request_auto_merge"
41893
+ "enable_pull_request_auto_merge",
41894
+ "enqueue_pull_request"
41893
41895
  ];
41894
41896
  var GITHUB_MCP_SECRETS_TOOLS = [
41895
41897
  "actions_secret_list",
@@ -71265,6 +71267,20 @@ function isAskUserMcpTool(server, tool) {
71265
71267
  }
71266
71268
  function projectAskUserQuestion(input) {
71267
71269
  return [
71270
+ {
71271
+ type: "ui_message_chunk",
71272
+ chunk: {
71273
+ type: "tool-input-available",
71274
+ toolCallId: input.id,
71275
+ toolName: ASK_USER_TOOL_NAME,
71276
+ input: { questions: input.questions }
71277
+ },
71278
+ turnStatus: "waiting_for_input"
71279
+ },
71280
+ // Keep the canonical question last. A UI chunk also emits part snapshots
71281
+ // whose lifecycle defaults to in-progress; publishing one after this entry
71282
+ // would immediately undo the waiting state, disable the answer controls,
71283
+ // and place the streamed assistant message after the question in chat.
71268
71284
  {
71269
71285
  type: "entry",
71270
71286
  entry: {
@@ -71281,16 +71297,6 @@ function projectAskUserQuestion(input) {
71281
71297
  ]
71282
71298
  }
71283
71299
  }
71284
- },
71285
- {
71286
- type: "ui_message_chunk",
71287
- chunk: {
71288
- type: "tool-input-available",
71289
- toolCallId: input.id,
71290
- toolName: ASK_USER_TOOL_NAME,
71291
- input: { questions: input.questions }
71292
- },
71293
- turnStatus: "waiting_for_input"
71294
71300
  }
71295
71301
  ];
71296
71302
  }
package/dist/index.js CHANGED
@@ -18723,6 +18723,7 @@ var init_github_mcp_catalog = __esm({
18723
18723
  "delete_issue_comment",
18724
18724
  "download_comment_attachment",
18725
18725
  "enable_pull_request_auto_merge",
18726
+ "enqueue_pull_request",
18726
18727
  "rerun_failed_jobs",
18727
18728
  "upsert_issue_comment"
18728
18729
  ];
@@ -18732,7 +18733,8 @@ var init_github_mcp_catalog = __esm({
18732
18733
  ];
18733
18734
  GITHUB_MCP_MERGE_TOOLS = [
18734
18735
  "merge_pull_request",
18735
- "enable_pull_request_auto_merge"
18736
+ "enable_pull_request_auto_merge",
18737
+ "enqueue_pull_request"
18736
18738
  ];
18737
18739
  GITHUB_MCP_SECRETS_TOOLS = [
18738
18740
  "actions_secret_list",
@@ -90889,7 +90891,7 @@ var init_package = __esm({
90889
90891
  "package.json"() {
90890
90892
  package_default = {
90891
90893
  name: "@autohq/cli",
90892
- version: "0.1.594",
90894
+ version: "0.1.596",
90893
90895
  license: "SEE LICENSE IN README.md",
90894
90896
  publishConfig: {
90895
90897
  access: "public"
@@ -103763,6 +103765,20 @@ function isAskUserMcpTool(server, tool) {
103763
103765
  }
103764
103766
  function projectAskUserQuestion(input) {
103765
103767
  return [
103768
+ {
103769
+ type: "ui_message_chunk",
103770
+ chunk: {
103771
+ type: "tool-input-available",
103772
+ toolCallId: input.id,
103773
+ toolName: ASK_USER_TOOL_NAME,
103774
+ input: { questions: input.questions }
103775
+ },
103776
+ turnStatus: "waiting_for_input"
103777
+ },
103778
+ // Keep the canonical question last. A UI chunk also emits part snapshots
103779
+ // whose lifecycle defaults to in-progress; publishing one after this entry
103780
+ // would immediately undo the waiting state, disable the answer controls,
103781
+ // and place the streamed assistant message after the question in chat.
103766
103782
  {
103767
103783
  type: "entry",
103768
103784
  entry: {
@@ -103779,16 +103795,6 @@ function projectAskUserQuestion(input) {
103779
103795
  ]
103780
103796
  }
103781
103797
  }
103782
- },
103783
- {
103784
- type: "ui_message_chunk",
103785
- chunk: {
103786
- type: "tool-input-available",
103787
- toolCallId: input.id,
103788
- toolName: ASK_USER_TOOL_NAME,
103789
- input: { questions: input.questions }
103790
- },
103791
- turnStatus: "waiting_for_input"
103792
103798
  }
103793
103799
  ];
103794
103800
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autohq/cli",
3
- "version": "0.1.594",
3
+ "version": "0.1.596",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "publishConfig": {
6
6
  "access": "public"