@hydra-acp/cli 0.1.31 → 0.1.33

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.d.ts CHANGED
@@ -1410,8 +1410,8 @@ declare const SessionListEntry: z.ZodObject<{
1410
1410
  status: z.ZodDefault<z.ZodEnum<["live", "cold"]>>;
1411
1411
  _meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1412
1412
  }, "strip", z.ZodTypeAny, {
1413
- status: "live" | "cold";
1414
1413
  cwd: string;
1414
+ status: "live" | "cold";
1415
1415
  sessionId: string;
1416
1416
  updatedAt: string;
1417
1417
  attachedClients: number;
@@ -1480,8 +1480,8 @@ declare const SessionListResult: z.ZodObject<{
1480
1480
  status: z.ZodDefault<z.ZodEnum<["live", "cold"]>>;
1481
1481
  _meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1482
1482
  }, "strip", z.ZodTypeAny, {
1483
- status: "live" | "cold";
1484
1483
  cwd: string;
1484
+ status: "live" | "cold";
1485
1485
  sessionId: string;
1486
1486
  updatedAt: string;
1487
1487
  attachedClients: number;
@@ -1521,8 +1521,8 @@ declare const SessionListResult: z.ZodObject<{
1521
1521
  nextCursor: z.ZodOptional<z.ZodString>;
1522
1522
  }, "strip", z.ZodTypeAny, {
1523
1523
  sessions: {
1524
- status: "live" | "cold";
1525
1524
  cwd: string;
1525
+ status: "live" | "cold";
1526
1526
  sessionId: string;
1527
1527
  updatedAt: string;
1528
1528
  attachedClients: number;
@@ -1594,14 +1594,14 @@ declare const AmendPromptParams: z.ZodObject<{
1594
1594
  replaceQueue: z.ZodOptional<z.ZodBoolean>;
1595
1595
  onTargetCompleted: z.ZodOptional<z.ZodEnum<["reject", "send_anyway"]>>;
1596
1596
  }, "strip", z.ZodTypeAny, {
1597
- sessionId: string;
1598
1597
  prompt: unknown[];
1598
+ sessionId: string;
1599
1599
  targetMessageId: string;
1600
1600
  replaceQueue?: boolean | undefined;
1601
1601
  onTargetCompleted?: "reject" | "send_anyway" | undefined;
1602
1602
  }, {
1603
- sessionId: string;
1604
1603
  prompt: unknown[];
1604
+ sessionId: string;
1605
1605
  targetMessageId: string;
1606
1606
  replaceQueue?: boolean | undefined;
1607
1607
  onTargetCompleted?: "reject" | "send_anyway" | undefined;
package/dist/index.js CHANGED
@@ -168,12 +168,12 @@ var TuiConfig = z.object({
168
168
  // buffer. Oldest lines are dropped on overflow. The on-disk session
169
169
  // history is unaffected; this only bounds the TUI's local view buffer.
170
170
  maxScrollbackLines: z.number().int().positive().default(1e4),
171
- // When true (default), the TUI captures mouse events so the wheel can
172
- // drive scrollback. The cost: terminals route clicks to the app, so
173
- // text selection requires shift+drag to bypass mouse reporting. Set
174
- // false to disable capture — wheel scrollback stops working, but
175
- // plain click-drag selects text via the terminal emulator.
176
- mouse: z.boolean().default(true),
171
+ // When true, the TUI captures mouse events so the wheel can drive
172
+ // scrollback. The cost: terminals route clicks to the app, so text
173
+ // selection requires shift+drag to bypass mouse reporting. Default
174
+ // false — wheel scrollback stops working, but plain click-drag
175
+ // selects text via the terminal emulator. Set true to opt back in.
176
+ mouse: z.boolean().default(false),
177
177
  // Size at which the TUI's session/update debug log (tui.log) rotates
178
178
  // to tui.log.0 and resets. Bounds on-disk use at ~2x this value.
179
179
  logMaxBytes: z.number().int().positive().default(5 * 1024 * 1024),
@@ -188,13 +188,13 @@ var TuiConfig = z.object({
188
188
  // just don't want it.
189
189
  progressIndicator: z.boolean().default(true),
190
190
  // What the unmodified Enter key does in the prompt composer.
191
- // "enqueue" (default) — Enter enqueues the prompt (sends immediately
192
- // when idle, queues behind an in-flight turn); Shift+Enter amends
193
- // the in-flight turn.
194
- // "amend" — flips the two: Enter amends the in-flight turn,
195
- // Shift+Enter enqueues. With no turn in flight either key just
196
- // enqueues, since there's nothing to amend.
197
- defaultEnterAction: z.enum(["enqueue", "amend"]).default("enqueue")
191
+ // "amend" (default) — Enter amends the in-flight turn; Shift+Enter
192
+ // enqueues. With no turn in flight either key just enqueues,
193
+ // since there's nothing to amend.
194
+ // "enqueue" — flips the two: Enter enqueues the prompt (sends
195
+ // immediately when idle, queues behind an in-flight turn);
196
+ // Shift+Enter amends the in-flight turn.
197
+ defaultEnterAction: z.enum(["enqueue", "amend"]).default("amend")
198
198
  });
199
199
  var ExtensionName = z.string().min(1).regex(/^[A-Za-z0-9._-]+$/, "extension name must be filename-safe");
200
200
  var ExtensionBody = z.object({
@@ -235,11 +235,11 @@ var HydraConfig = z.object({
235
235
  tui: TuiConfig.default({
236
236
  repaintThrottleMs: 1e3,
237
237
  maxScrollbackLines: 1e4,
238
- mouse: true,
238
+ mouse: false,
239
239
  logMaxBytes: 5 * 1024 * 1024,
240
240
  cwdColumnMaxWidth: 24,
241
241
  progressIndicator: true,
242
- defaultEnterAction: "enqueue"
242
+ defaultEnterAction: "amend"
243
243
  })
244
244
  });
245
245
  function extensionList(config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hydra-acp/cli",
3
- "version": "0.1.31",
3
+ "version": "0.1.33",
4
4
  "description": "Multi-client ACP session daemon: spawn agents, attach over WSS, multiplex sessions across editors.",
5
5
  "license": "MIT",
6
6
  "type": "module",