@hasna/assistants 1.1.12 → 1.1.13

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.
@@ -1,5 +1,14 @@
1
1
  {
2
- "tasks": [],
2
+ "tasks": [
3
+ {
4
+ "id": "f14a3078-c44b-41ef-8e1d-ee37e4568c82",
5
+ "description": "Test task for Andrei",
6
+ "status": "pending",
7
+ "priority": "normal",
8
+ "createdAt": 1770542415358,
9
+ "isRecurringTemplate": false
10
+ }
11
+ ],
3
12
  "paused": false,
4
13
  "autoRun": true
5
14
  }
package/dist/index.js CHANGED
@@ -79300,7 +79300,7 @@ ${repoUrl}/issues/new
79300
79300
  context.setProjectContext(projectContext);
79301
79301
  }
79302
79302
  }
79303
- var VERSION = "1.1.12";
79303
+ var VERSION = "1.1.13";
79304
79304
  var init_builtin = __esm(async () => {
79305
79305
  init_src2();
79306
79306
  init_store();
@@ -206818,6 +206818,26 @@ function OnboardingPanel({
206818
206818
  });
206819
206819
  const [enabledConnectors, setEnabledConnectors] = import_react51.useState(() => new Set(discoveredConnectors));
206820
206820
  const [connectorKeysNeeded] = import_react51.useState([]);
206821
+ const currentStepRef = import_react51.useRef(currentStep);
206822
+ currentStepRef.current = currentStep;
206823
+ const { setRawMode, isRawModeSupported } = use_stdin_default();
206824
+ import_react51.useEffect(() => {
206825
+ if (isRawModeSupported && setRawMode) {
206826
+ setRawMode(true);
206827
+ }
206828
+ const handleData = (data) => {
206829
+ const s6 = data.toString();
206830
+ if (s6 === "\x1B") {
206831
+ if (currentStepRef.current === "welcome") {
206832
+ onCancel();
206833
+ }
206834
+ }
206835
+ };
206836
+ process.stdin.on("data", handleData);
206837
+ return () => {
206838
+ process.stdin.removeListener("data", handleData);
206839
+ };
206840
+ }, [onCancel, isRawModeSupported, setRawMode]);
206821
206841
  const [connectorKeys, setConnectorKeys] = import_react51.useState({});
206822
206842
  const [connectorKeyIndex, setConnectorKeyIndex] = import_react51.useState(0);
206823
206843
  const [connectorKeyValue, setConnectorKeyValue] = import_react51.useState("");
@@ -220347,7 +220367,7 @@ Interactive Mode:
220347
220367
  // packages/terminal/src/index.tsx
220348
220368
  var jsx_dev_runtime44 = __toESM(require_jsx_dev_runtime(), 1);
220349
220369
  setRuntime(bunRuntime);
220350
- var VERSION4 = "1.1.12";
220370
+ var VERSION4 = "1.1.13";
220351
220371
  var SYNC_START = "\x1B[?2026h";
220352
220372
  var SYNC_END = "\x1B[?2026l";
220353
220373
  function enableSynchronizedOutput() {
@@ -220487,4 +220507,4 @@ export {
220487
220507
  main
220488
220508
  };
220489
220509
 
220490
- //# debugId=935038E737EE38BC64756E2164756E21
220510
+ //# debugId=1CAB81672590576764756E2164756E21