@brainbase-labs/cli 0.51.0 → 0.51.1
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 +8 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36091,7 +36091,7 @@ function padStart(s, n) {
|
|
|
36091
36091
|
// package.json
|
|
36092
36092
|
var package_default = {
|
|
36093
36093
|
name: "@brainbase-labs/cli",
|
|
36094
|
-
version: "0.51.
|
|
36094
|
+
version: "0.51.1",
|
|
36095
36095
|
description: "Pack, share, and install agent templates across harnesses (Claude Code, Codex, ...).",
|
|
36096
36096
|
type: "module",
|
|
36097
36097
|
bin: {
|
|
@@ -79568,7 +79568,7 @@ Phone:
|
|
|
79568
79568
|
search [--country <ISO2>] [--area-code <digits>] [--contains <pattern>]
|
|
79569
79569
|
purchase <number> --yes | release --yes
|
|
79570
79570
|
configure --greeting <text> (empty text is valid)
|
|
79571
|
-
whitelist list | add <number> [--label <text>] | remove <entry-id>
|
|
79571
|
+
whitelist list | add <number> [--label <text>] | remove <entry-id> [--yes]
|
|
79572
79572
|
|
|
79573
79573
|
GitHub/Linear connect: [--no-open] [--no-wait] [--timeout <seconds>]. JSON returns a pending link.
|
|
79574
79574
|
Resume: github|linear wait --installation <id> [--timeout <seconds>]. Status also accepts --installation.
|
|
@@ -79577,7 +79577,7 @@ Slack/Linear secrets also accept environment variables, stdin JSON or a masked t
|
|
|
79577
79577
|
New destructive operations require --yes, including with --json.
|
|
79578
79578
|
`;
|
|
79579
79579
|
var value = (key2) => ({ key: key2, names: [`--${key2}`], kind: "value" });
|
|
79580
|
-
var bool = (key2) => ({ key: key2, names: [`--${key2}`], kind: "boolean" });
|
|
79580
|
+
var bool = (key2) => ({ key: key2, names: key2 === "yes" ? ["--yes", "-y"] : [`--${key2}`], kind: "boolean" });
|
|
79581
79581
|
var configureFlags = {
|
|
79582
79582
|
chat: { enabled: "enabled", models: "allowed_models", "prompts-file": "template_prompts", "computer-panel": "computer_panel_enabled", tabs: "computer_panel_tabs" },
|
|
79583
79583
|
slack: { "stop-policy": "slack_stop_policy", "tool-approval": "slack_tool_approval_mode" },
|
|
@@ -79631,8 +79631,10 @@ function surfaceOptionDefinitions(surface, action) {
|
|
|
79631
79631
|
if (surface === "phone") {
|
|
79632
79632
|
if (action === "search")
|
|
79633
79633
|
values2("country", "area-code", "contains");
|
|
79634
|
-
if (action === "whitelist")
|
|
79634
|
+
if (action === "whitelist") {
|
|
79635
79635
|
values2("label");
|
|
79636
|
+
booleans("yes");
|
|
79637
|
+
}
|
|
79636
79638
|
if (action === "connect") {
|
|
79637
79639
|
values2("number");
|
|
79638
79640
|
booleans("yes");
|
|
@@ -79865,6 +79867,8 @@ async function runAgentSurface(cwd2, argv, deps = {}) {
|
|
|
79865
79867
|
const mode = args[0];
|
|
79866
79868
|
if (mode !== "add" && s3("label") !== undefined)
|
|
79867
79869
|
throw new SurfaceCommandError("--label is only accepted by whitelist add.");
|
|
79870
|
+
if (mode !== "remove" && parsed.options.yes !== undefined)
|
|
79871
|
+
throw new SurfaceCommandError("--yes is only accepted by whitelist remove.");
|
|
79868
79872
|
if (mode === "list") {
|
|
79869
79873
|
expectArgs(args, 1, "phone whitelist list");
|
|
79870
79874
|
out(await api4.whitelist(id));
|