@lobehub/cli 0.0.106 → 0.0.107

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.js CHANGED
@@ -63615,7 +63615,8 @@ const createCodexAgentHandle = async (options) => {
63615
63615
  get sessionId() {
63616
63616
  return nativeSessionId;
63617
63617
  },
63618
- stderr
63618
+ stderr,
63619
+ supportsSteerImageAttachments: true
63619
63620
  };
63620
63621
  };
63621
63622
 
@@ -582553,6 +582554,7 @@ async function* withHeteroSteer(handle, context) {
582553
582554
  try {
582554
582555
  const res = await client.aiAgent.waitHeteroSteer.mutate({
582555
582556
  ...acceptsControl && { acceptsControl: true },
582557
+ ...handle.supportsSteerImageAttachments && { acceptsImageAttachments: true },
582556
582558
  acceptsImages: true,
582557
582559
  ...!answered && { blockMs: 1 },
582558
582560
  ...waitingForUser() && { holdSteer: true },
@@ -582583,7 +582585,7 @@ async function* withHeteroSteer(handle, context) {
582583
582585
  const steer = message;
582584
582586
  const options = { uuid: steer.messageId };
582585
582587
  if (await send(buildSteerPrompt(steer), options).catch(async (error) => {
582586
- if (!steer.imageList?.length) return false;
582588
+ if (steer.requiresImages || !steer.imageList?.length) return false;
582587
582589
  log$15.debug("Steer images failed, sending the text: %s", String(error));
582588
582590
  return send(steer.content, options).catch(() => false);
582589
582591
  })) {
package/man/man1/lh.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Code generated by `npm run man:generate`; DO NOT EDIT.
2
2
  .\" Manual command details come from the Commander command tree.
3
- .TH LH 1 "" "@lobehub/cli 0.0.106" "User Commands"
3
+ .TH LH 1 "" "@lobehub/cli 0.0.107" "User Commands"
4
4
  .SH NAME
5
5
  lh \- LobeHub CLI \- manage and connect to LobeHub services
6
6
  .SH SYNOPSIS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/cli",
3
- "version": "0.0.106",
3
+ "version": "0.0.107",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/lobehub/lobehub",
@@ -83,5 +83,5 @@
83
83
  "access": "public",
84
84
  "registry": "https://registry.npmjs.org"
85
85
  },
86
- "gitHead": "d3118e13395dccac892746716843c6b0c8eedd18"
86
+ "gitHead": "4a55123c9510d17e51b8071da43e6873ec30c22b"
87
87
  }