bitfab-cli 0.2.62 → 0.2.64

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.
Files changed (2) hide show
  1. package/dist/index.js +11 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7604,6 +7604,14 @@ function stampMonitorPid() {
7604
7604
  }
7605
7605
  }
7606
7606
 
7607
+ // ../bitfab-plugin-lib/dist/output.js
7608
+ function blockingNote(until) {
7609
+ return `BLOCKING: this command does not exit until ${until}. Agents: run it in the background and read its stdout incrementally. A foreground call hangs the conversation until the process exits.`;
7610
+ }
7611
+ function printBlockingNotice(until) {
7612
+ console.error(blockingNote(until));
7613
+ }
7614
+
7607
7615
  // ../bitfab-plugin-lib/dist/studioTeardown.js
7608
7616
  var WINDOW_CLOSE_GRACE_PERIOD_MS = 1e4;
7609
7617
  function createWindowCloseArbiter(handlers) {
@@ -8140,6 +8148,7 @@ async function waitForSessionReady(opts) {
8140
8148
 
8141
8149
  // ../bitfab-plugin-lib/dist/commands/openStudioTo.js
8142
8150
  var LOGIN_TIMEOUT_MS = 10 * 60 * 1e3;
8151
+ var BLOCKING_NOTICE_UNTIL = "the Studio interaction completes or the session ends";
8143
8152
  var REAUTH_ACK_TIMEOUT_MS = 2e4;
8144
8153
  var StudioNavigationError = class extends Error {
8145
8154
  reason;
@@ -8387,6 +8396,7 @@ function awaitReauthLogin(args) {
8387
8396
  });
8388
8397
  }
8389
8398
  function startEventPoller(serviceUrl, apiKey, sessionId, onEvent, restoreFocus, { claim = true } = {}) {
8399
+ printBlockingNotice(BLOCKING_NOTICE_UNTIL);
8390
8400
  if (claim) {
8391
8401
  claimStudioMonitor();
8392
8402
  }
@@ -8500,6 +8510,7 @@ Already logged in as ${identity}. Run the login command with --force to re-authe
8500
8510
  return;
8501
8511
  }
8502
8512
  }
8513
+ console.error("NOTE: this command blocks until sign-in completes in the browser (10-minute timeout).");
8503
8514
  console.log("\nOpening Studio to sign in...");
8504
8515
  try {
8505
8516
  const result = await openStudioTo("/studio", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitfab-cli",
3
- "version": "0.2.62",
3
+ "version": "0.2.64",
4
4
  "description": "Install and configure the Bitfab plugin in Claude Code, Codex, or Cursor.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",