supbuddy 3.3.3 → 3.3.5
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/README.md +0 -1
- package/dist/bin.js +224 -99
- package/dist/daemon/worker.cjs +8 -11
- package/dist/lib.d.ts +5 -0
- package/dist/lib.js +5 -0
- package/dist/tui.js +291 -0
- package/package.json +4 -4
package/dist/lib.d.ts
CHANGED
|
@@ -65,7 +65,12 @@ declare function defaultStateDir(): string;
|
|
|
65
65
|
*
|
|
66
66
|
* Keep this in sync with the dispatch in bin.ts + the `case`/`sub ===` handling
|
|
67
67
|
* in commands.ts when commands change.
|
|
68
|
+
*
|
|
69
|
+
* COMMAND_TREE lists what DISPATCH ACCEPTS, which is not the same question as what THIS BUILD CAN DO.
|
|
70
|
+
* `tui`/`dash`/`shell` are accepted everywhere but only runnable from a checkout, so the generated
|
|
71
|
+
* completion filters them out of the builds that would refuse them — see `zshCompletion` below.
|
|
68
72
|
*/
|
|
73
|
+
|
|
69
74
|
/** command → its subcommands (empty = no subcommands). */
|
|
70
75
|
declare const COMMAND_TREE: Record<string, string[]>;
|
|
71
76
|
/** Flags accepted (almost) everywhere. */
|
package/dist/lib.js
CHANGED
|
@@ -168,6 +168,11 @@ Two daemons are running and this command would have acted on the wrong one. Stop
|
|
|
168
168
|
);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
+
// src/tui-availability.ts
|
|
172
|
+
import { existsSync } from "fs";
|
|
173
|
+
import path4 from "path";
|
|
174
|
+
import { fileURLToPath } from "url";
|
|
175
|
+
|
|
171
176
|
// src/completions.ts
|
|
172
177
|
var COMMAND_TREE = {
|
|
173
178
|
status: [],
|