@autohq/cli 0.1.595 → 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.595",
37739
+ version: "0.1.596",
37740
37740
  license: "SEE LICENSE IN README.md",
37741
37741
  publishConfig: {
37742
37742
  access: "public"
@@ -71267,6 +71267,20 @@ function isAskUserMcpTool(server, tool) {
71267
71267
  }
71268
71268
  function projectAskUserQuestion(input) {
71269
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.
71270
71284
  {
71271
71285
  type: "entry",
71272
71286
  entry: {
@@ -71283,16 +71297,6 @@ function projectAskUserQuestion(input) {
71283
71297
  ]
71284
71298
  }
71285
71299
  }
71286
- },
71287
- {
71288
- type: "ui_message_chunk",
71289
- chunk: {
71290
- type: "tool-input-available",
71291
- toolCallId: input.id,
71292
- toolName: ASK_USER_TOOL_NAME,
71293
- input: { questions: input.questions }
71294
- },
71295
- turnStatus: "waiting_for_input"
71296
71300
  }
71297
71301
  ];
71298
71302
  }
package/dist/index.js CHANGED
@@ -90891,7 +90891,7 @@ var init_package = __esm({
90891
90891
  "package.json"() {
90892
90892
  package_default = {
90893
90893
  name: "@autohq/cli",
90894
- version: "0.1.595",
90894
+ version: "0.1.596",
90895
90895
  license: "SEE LICENSE IN README.md",
90896
90896
  publishConfig: {
90897
90897
  access: "public"
@@ -103765,6 +103765,20 @@ function isAskUserMcpTool(server, tool) {
103765
103765
  }
103766
103766
  function projectAskUserQuestion(input) {
103767
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.
103768
103782
  {
103769
103783
  type: "entry",
103770
103784
  entry: {
@@ -103781,16 +103795,6 @@ function projectAskUserQuestion(input) {
103781
103795
  ]
103782
103796
  }
103783
103797
  }
103784
- },
103785
- {
103786
- type: "ui_message_chunk",
103787
- chunk: {
103788
- type: "tool-input-available",
103789
- toolCallId: input.id,
103790
- toolName: ASK_USER_TOOL_NAME,
103791
- input: { questions: input.questions }
103792
- },
103793
- turnStatus: "waiting_for_input"
103794
103798
  }
103795
103799
  ];
103796
103800
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autohq/cli",
3
- "version": "0.1.595",
3
+ "version": "0.1.596",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "publishConfig": {
6
6
  "access": "public"