@vercel/board 0.55.0 → 0.56.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/backend-local.mjs +1 -1
- package/dist/cli-commands.mjs +1 -1
- package/dist/cli-embedded.mjs +2 -2
- package/dist/cli.mjs +6 -6
- package/dist/{commands-CZUxX6HF.mjs → commands-7FY_8p92.mjs} +4 -15
- package/dist/{exports-FRbxGU5M.mjs → exports-DSX-CI5c.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/index.node.mjs +2 -2
- package/dist/inspect/app.js +1 -1
- package/dist/{inspect-Aomn2jXK.mjs → inspect-C-vDnB_n.mjs} +2 -2
- package/dist/inspect-CJ8osLQ-.mjs +2 -0
- package/dist/inspect.mjs +1 -1
- package/dist/{local-Dn0vv-1e.mjs → local-B5aZcAwj.mjs} +2 -2
- package/dist/{main-CSuYOx6C.mjs → main-DSlpMoBN.mjs} +39 -23
- package/dist/{serve-_qRPIp-J.mjs → serve-CI3kvpx_.mjs} +3 -3
- package/dist/{server-24oEf9i9.mjs → server-55vryxAl.mjs} +2 -2
- package/dist/{shell-DB4WVhfU.mjs → shell-7nGyF--f.mjs} +1 -1
- package/dist/{task-batch-BSJ3ihpF.mjs → task-batch-iecHMssy.mjs} +3 -3
- package/dist/{version-1dDjcBkK.mjs → version-gbihG3ui.mjs} +1 -1
- package/docs/01-board/03-identity.md +2 -2
- package/docs/01-board/06-watchers.md +2 -1
- package/docs/04-reference/01-cli.md +7 -6
- package/package.json +1 -1
- package/dist/inspect-CGLv6b5v.mjs +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ATTACHMENT_BYTES_MAX, r as parseProfileHeader, t as InvalidProfileHeader } from "./profile-header-O8wC8yk8.mjs";
|
|
2
2
|
import "./schemas-CUSTEFIy.mjs";
|
|
3
|
-
import { t as Failed, u as who } from "./main-
|
|
4
|
-
import { n as relative, r as shell, t as CSP } from "./shell-
|
|
3
|
+
import { t as Failed, u as who } from "./main-DSlpMoBN.mjs";
|
|
4
|
+
import { n as relative, r as shell, t as CSP } from "./shell-7nGyF--f.mjs";
|
|
5
5
|
import { t as page } from "./page-7KWSGxyC.mjs";
|
|
6
6
|
import { randomBytes, timingSafeEqual } from "node:crypto";
|
|
7
7
|
import { createServer } from "node:http";
|
package/dist/inspect.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ATTACHMENT_BYTES_MAX, r as parseProfileHeader, t as InvalidProfileHeader } from "./profile-header-O8wC8yk8.mjs";
|
|
2
2
|
import "./schemas-CUSTEFIy.mjs";
|
|
3
|
-
import { n as relative, r as shell, t as CSP } from "./shell-
|
|
3
|
+
import { n as relative, r as shell, t as CSP } from "./shell-7nGyF--f.mjs";
|
|
4
4
|
import { t as page } from "./page-7KWSGxyC.mjs";
|
|
5
5
|
//#region src/inspect/handler.ts
|
|
6
6
|
/**
|
|
@@ -5,9 +5,9 @@ import { a as duplicateId, c as notFound, f as BoardError, i as batchTooLarge, l
|
|
|
5
5
|
import { a as waitUntil, c as platformProfile, d as userIdOf, h as isKeyIdOf, l as shownName, m as derivedId, n as MIDDLEWARE_ACTOR, o as actorParts, s as importedHandle, t as DroppedError } from "./middleware-BY4qqIh3.mjs";
|
|
6
6
|
import { a as SCHEMA_DESCRIPTION_MAX, c as canonical, d as parseSchemaId, f as schemaId, i as BUILT_IN_SCHEMAS, l as checkDefinition, n as blocksIn, o as SCHEMA_NAME, s as SCHEMA_VERSION_MAX, u as isBuiltInName } from "./blocks-CVoBC7ur.mjs";
|
|
7
7
|
import { a as replaceMentions, i as mentionTerms, n as isEmail, r as mentionTerm, t as extractMentions } from "./mentions-CnWt9Z5b.mjs";
|
|
8
|
-
import { t as VERSION } from "./version-
|
|
8
|
+
import { t as VERSION } from "./version-gbihG3ui.mjs";
|
|
9
9
|
import { c as compileAccess, i as authorize, o as checkGrantChange, t as FULL_ACCESS, u as parseCan } from "./access-HzqFpgL_.mjs";
|
|
10
|
-
import { _ as
|
|
10
|
+
import { _ as uploadName, a as runMatch, g as carried, i as canonicalWatchers, n as SYNC_ACTOR, o as compileWatcher, r as syncTarget, s as hasCriteria, t as batchPlan, u as METHODS, v as SYNC } from "./task-batch-iecHMssy.mjs";
|
|
11
11
|
import { n as setOwn, t as own } from "./own-OwgPWdmh.mjs";
|
|
12
12
|
import { E as wroteAs, T as workflowPath, b as removes, c as checkCan, g as joined, h as issuerName, l as checkGrant, n as GITHUB_ISSUER, p as grantIssuers, s as authenticates, u as checkPrincipal } from "./auth-D9ycDQK0.mjs";
|
|
13
13
|
import { i as ownedActor, n as actorSeen, o as viaOf } from "./actors-D-u6bitG.mjs";
|
|
@@ -5,12 +5,12 @@ import { n as displayEmoji, r as normalizeEmoji } from "./emoji-CTLpvH-A.mjs";
|
|
|
5
5
|
import { l as shownName } from "./middleware-BY4qqIh3.mjs";
|
|
6
6
|
import { d as parseSchemaId, r as findBlocks, t as block } from "./blocks-CVoBC7ur.mjs";
|
|
7
7
|
import { a as replaceMentions, n as isEmail, t as extractMentions } from "./mentions-CnWt9Z5b.mjs";
|
|
8
|
-
import { t as VERSION } from "./version-
|
|
8
|
+
import { t as VERSION } from "./version-gbihG3ui.mjs";
|
|
9
9
|
import { r as PERMISSIONS } from "./access-HzqFpgL_.mjs";
|
|
10
|
-
import { c as withMentions } from "./task-batch-
|
|
11
|
-
import { a as isBoardName, l as isApiMessageId, n as createTasksInChunks, s as apiThreadRoot, t as TasksInChunksError } from "./exports-
|
|
12
|
-
import { i as groups, n as filters$1, o as options, r as globalOptions, s as usage$1, t as commands } from "./commands-
|
|
13
|
-
import { _ as vercelProjectFile, a as vercel, c as boardUrl, d as environmentProfile, f as handFetch, i as handTeam, l as configDir, m as handToken, n as credentialSource, o as http, p as handLogin, r as credentialed, t as board, u as connect } from "./server-
|
|
10
|
+
import { c as mentionValue, l as withMentions } from "./task-batch-iecHMssy.mjs";
|
|
11
|
+
import { a as isBoardName, l as isApiMessageId, n as createTasksInChunks, s as apiThreadRoot, t as TasksInChunksError } from "./exports-DSX-CI5c.mjs";
|
|
12
|
+
import { i as groups, n as filters$1, o as options, r as globalOptions, s as usage$1, t as commands } from "./commands-7FY_8p92.mjs";
|
|
13
|
+
import { _ as vercelProjectFile, a as vercel, c as boardUrl, d as environmentProfile, f as handFetch, i as handTeam, l as configDir, m as handToken, n as credentialSource, o as http, p as handLogin, r as credentialed, t as board, u as connect } from "./server-55vryxAl.mjs";
|
|
14
14
|
import { n as everyChannel, t as conformance } from "./conformance-BNiLcKra.mjs";
|
|
15
15
|
import { n as displayText, t as byVercelBot } from "./bots-CqPYxkqK.mjs";
|
|
16
16
|
import { spawn } from "node:child_process";
|
|
@@ -1435,6 +1435,8 @@ let current = {
|
|
|
1435
1435
|
let typed = [];
|
|
1436
1436
|
/** What this run's writes had to say, for its JSON result. */
|
|
1437
1437
|
let warnings = [];
|
|
1438
|
+
/** The word a bare `--mentions` came before, when it isn't the command: a warning says how it reads. */
|
|
1439
|
+
let bareMentions;
|
|
1438
1440
|
/** The board this run reached by its URL, for a failure to name. */
|
|
1439
1441
|
let reached = null;
|
|
1440
1442
|
/** The team whose default board this run reached, nothing naming one of its boards: `--scope`'s, or the one the environment finds. */
|
|
@@ -1466,6 +1468,17 @@ const TEXT = /* @__PURE__ */ new Set([
|
|
|
1466
1468
|
"edit",
|
|
1467
1469
|
"schedule"
|
|
1468
1470
|
]);
|
|
1471
|
+
/**
|
|
1472
|
+
* The word a bare `--mentions` came before, when it isn't the command: `--mentions ada` means
|
|
1473
|
+
* mentions of you, with `ada` a channel or ID, since only `me` or a word with an `@` is its value.
|
|
1474
|
+
*/
|
|
1475
|
+
function bareMentionsWord(argv, word) {
|
|
1476
|
+
const end = argv.includes("--") ? argv.indexOf("--") : argv.length;
|
|
1477
|
+
for (let at = 0; at < end - 1; at++) {
|
|
1478
|
+
const next = argv[at + 1];
|
|
1479
|
+
if (argv[at] === "--mentions" && !mentionValue(next) && !next.startsWith("-") && canonical(next) !== word) return next;
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1469
1482
|
/** Parses `argv` for this run, or throws what's wrong with it. */
|
|
1470
1483
|
function parse(argv) {
|
|
1471
1484
|
const args = withMentions(argv);
|
|
@@ -1494,6 +1507,7 @@ function parse(argv) {
|
|
|
1494
1507
|
}] : []);
|
|
1495
1508
|
flags = parsed.values;
|
|
1496
1509
|
positionals = parsed.positionals.map((arg) => arg.startsWith(MARK) ? arg.slice(1) : arg);
|
|
1510
|
+
bareMentions = bareMentionsWord(argv, word);
|
|
1497
1511
|
} catch (error) {
|
|
1498
1512
|
throw parseFailure(error, argv, word);
|
|
1499
1513
|
}
|
|
@@ -2083,8 +2097,8 @@ function doing() {
|
|
|
2083
2097
|
case "schedule": return a === "cancel" ? `cancel schedule ${b}` : `schedule a message in ${message ? ref(a) : a ?? "a channel"}`;
|
|
2084
2098
|
case "channels": return a === "create" ? `create ${b ?? "the channel"}` : "list channels";
|
|
2085
2099
|
case "schedules":
|
|
2086
|
-
case "actors":
|
|
2087
|
-
case "
|
|
2100
|
+
case "actors": return `list ${command}`;
|
|
2101
|
+
case "list": return "list the team's boards";
|
|
2088
2102
|
case "tasks": {
|
|
2089
2103
|
if (a === void 0 || !TASK_VERBS.has(a)) return a === void 0 ? "list tasks" : `list tasks in ${a}`;
|
|
2090
2104
|
const one = b === void 0 ? "a task" : `task ${ref(b)}`;
|
|
@@ -2424,10 +2438,13 @@ function unsupportedRecoveries() {
|
|
|
2424
2438
|
}
|
|
2425
2439
|
/** `42s`, `2m`: a wait the way people say it. */
|
|
2426
2440
|
const waitFor = (seconds) => seconds < 120 ? `${Math.max(1, seconds)}s` : `${Math.ceil(seconds / 60)}m`;
|
|
2427
|
-
/** How this run ends with `failure`: shown on stderr, or by the app, and its exit code. */
|
|
2441
|
+
/** How this run ends with `failure`: shown on stderr, or by the app, and its exit code. With `--json`, its document carries the run's warnings, which may say why it failed. */
|
|
2428
2442
|
function report(failure, json) {
|
|
2429
2443
|
if (app.onError) app.onError(failure, { json });
|
|
2430
|
-
else if (json) io.error(`${JSON.stringify(
|
|
2444
|
+
else if (json) io.error(`${JSON.stringify(warnings.length ? {
|
|
2445
|
+
...failureDocument(failure),
|
|
2446
|
+
warnings
|
|
2447
|
+
} : failureDocument(failure))}\n`);
|
|
2431
2448
|
else io.error(`${terminalText(formatFailure(failure))}\n`);
|
|
2432
2449
|
return exitCode(failure);
|
|
2433
2450
|
}
|
|
@@ -2541,17 +2558,17 @@ function connection(url = flags.url, options = {}) {
|
|
|
2541
2558
|
* deployment's) is one board, with no team's to list.
|
|
2542
2559
|
*/
|
|
2543
2560
|
async function teamBoards() {
|
|
2544
|
-
if (io.board) throw usage("
|
|
2561
|
+
if (io.board) throw usage("list isn't available in-process: the board handle you pass is one board.", {
|
|
2545
2562
|
reason: "not_available",
|
|
2546
2563
|
next: []
|
|
2547
2564
|
});
|
|
2548
|
-
if (flags.name !== void 0 || flags.ensure) throw usage(`
|
|
2565
|
+
if (flags.name !== void 0 || flags.ensure) throw usage(`list lists every board of the team, and --${flags.name !== void 0 ? "name" : "ensure"} picks one: leave it out.`, { reason: "conflicting_options" });
|
|
2549
2566
|
let team = flags.scope ?? flags.team;
|
|
2550
2567
|
if (team !== void 0 && flags.url !== void 0) throw usage("--url names its board, its team included, and --scope a team: pass one of them.", { reason: "conflicting_options" });
|
|
2551
2568
|
const url = flags.url ?? (team === void 0 ? configuredUrl() : null);
|
|
2552
2569
|
if (url !== null && url !== void 0) {
|
|
2553
2570
|
const onVercel = vercelBoard(url.replace(/\/+$/, ""));
|
|
2554
|
-
if (!onVercel) throw usage(`${url} is a board of its own, with no team's boards to list:
|
|
2571
|
+
if (!onVercel) throw usage(`${url} is a board of its own, with no team's boards to list: list lists a team's, in Vercel's API.`, {
|
|
2555
2572
|
reason: "not_available",
|
|
2556
2573
|
next: [{
|
|
2557
2574
|
instruction: "List a team's boards",
|
|
@@ -2823,10 +2840,8 @@ async function run(command, args) {
|
|
|
2823
2840
|
if (listed.next !== null) out(`\n(more not shown: ${commandLine(rerunWithout(["--after"], "--after", listed.next))})`);
|
|
2824
2841
|
return 0;
|
|
2825
2842
|
}
|
|
2826
|
-
case "
|
|
2827
|
-
|
|
2828
|
-
if (sub !== void 0 && sub !== "list") throw usage(`Unknown command ${sub} for ${named()} boards.`, { reason: "unknown_command" });
|
|
2829
|
-
if (extra !== void 0) throw usage(`boards list takes no arguments: ${extra} is one too many.`);
|
|
2843
|
+
case "list": {
|
|
2844
|
+
if (args[0] !== void 0) throw usage(`list takes no arguments: ${args[0]} is one too many.`);
|
|
2830
2845
|
const listed = await teamBoards();
|
|
2831
2846
|
if (flags.json) return result(listed), 0;
|
|
2832
2847
|
if (listed.boards.length === 0) return out("no boards you can use on this team yet"), 0;
|
|
@@ -4472,13 +4487,9 @@ const OTHER_NAMES = {
|
|
|
4472
4487
|
search: SEARCH,
|
|
4473
4488
|
find: SEARCH,
|
|
4474
4489
|
grep: SEARCH,
|
|
4475
|
-
|
|
4476
|
-
instruction: "List
|
|
4477
|
-
argv: ["
|
|
4478
|
-
},
|
|
4479
|
-
ls: {
|
|
4480
|
-
instruction: "List a channel's threads with read",
|
|
4481
|
-
argv: ["read", "<CHANNEL>"]
|
|
4490
|
+
boards: {
|
|
4491
|
+
instruction: "List the team's boards",
|
|
4492
|
+
argv: ["list"]
|
|
4482
4493
|
},
|
|
4483
4494
|
threads: {
|
|
4484
4495
|
instruction: "List a channel's threads with read",
|
|
@@ -4754,6 +4765,7 @@ async function runOnce(argv, options) {
|
|
|
4754
4765
|
flags = {};
|
|
4755
4766
|
positionals = [];
|
|
4756
4767
|
warnings = [];
|
|
4768
|
+
bareMentions = void 0;
|
|
4757
4769
|
reached = null;
|
|
4758
4770
|
teamDefault = null;
|
|
4759
4771
|
sent = () => null;
|
|
@@ -4776,6 +4788,10 @@ async function runOnce(argv, options) {
|
|
|
4776
4788
|
command,
|
|
4777
4789
|
args
|
|
4778
4790
|
};
|
|
4791
|
+
if (bareMentions !== void 0) warn({
|
|
4792
|
+
reason: "bare_mentions",
|
|
4793
|
+
message: `--mentions ${bareMentions} means mentions of you, with ${bareMentions} as a channel or ID: for mentions of ${bareMentions}, write --mentions @${bareMentions}.`
|
|
4794
|
+
});
|
|
4779
4795
|
if (io.board) {
|
|
4780
4796
|
const given = flags.url ? "url" : flags.name !== void 0 ? "name" : flags.ensure ? "ensure" : null;
|
|
4781
4797
|
if (given) throw usage(`--${given} doesn't apply in-process: the board handle you pass says which board and who.`, { next: [] });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { f as BoardError, p as createBoardClient, t as HttpError } from "./errors-DDfXnZ2b.mjs";
|
|
2
|
-
import { i as hostCheckedBy } from "./exports-
|
|
2
|
+
import { i as hostCheckedBy } from "./exports-DSX-CI5c.mjs";
|
|
3
3
|
import { i as LOGINS, r as LOGIN } from "./auth-D9ycDQK0.mjs";
|
|
4
|
-
import { h as localTokenFile, t as board } from "./server-
|
|
4
|
+
import { h as localTokenFile, t as board } from "./server-55vryxAl.mjs";
|
|
5
5
|
import { t as oidcTokens } from "./tokens-B3gXkQCs.mjs";
|
|
6
|
-
import { t as local } from "./local-
|
|
6
|
+
import { t as local } from "./local-B5aZcAwj.mjs";
|
|
7
7
|
import { mkdir, rename, rm, stat, writeFile } from "node:fs/promises";
|
|
8
8
|
import { userInfo } from "node:os";
|
|
9
9
|
import { dirname, join, resolve } from "node:path";
|
|
@@ -2,8 +2,8 @@ import { n as formatProfileHeader } from "./profile-header-O8wC8yk8.mjs";
|
|
|
2
2
|
import "./schemas-CUSTEFIy.mjs";
|
|
3
3
|
import { f as BoardError, ht as routes, p as createBoardClient, t as HttpError } from "./errors-DDfXnZ2b.mjs";
|
|
4
4
|
import { g as keyId, p as DERIVED_ID } from "./middleware-BY4qqIh3.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { c as createVercel, d as withoutToken, f as tailWatchers, p as deployedOnVercel, r as createBoard, u as PROTOCOL_ROUTES } from "./exports-
|
|
5
|
+
import { o as compileWatcher, u as METHODS } from "./task-batch-iecHMssy.mjs";
|
|
6
|
+
import { c as createVercel, d as withoutToken, f as tailWatchers, p as deployedOnVercel, r as createBoard, u as PROTOCOL_ROUTES } from "./exports-DSX-CI5c.mjs";
|
|
7
7
|
import { execFile } from "node:child_process";
|
|
8
8
|
import { createHash } from "node:crypto";
|
|
9
9
|
import { mkdir, readFile, readdir, stat, unlink, writeFile } from "node:fs/promises";
|
|
@@ -3,9 +3,9 @@ import "./schemas-CUSTEFIy.mjs";
|
|
|
3
3
|
import { l as isThreadTarget } from "./external-DkWafjn-.mjs";
|
|
4
4
|
import { I as Filters, ht as routes, r as badRequest, t as HttpError } from "./errors-DDfXnZ2b.mjs";
|
|
5
5
|
import { i as afterRetry } from "./middleware-BY4qqIh3.mjs";
|
|
6
|
-
import { t as VERSION } from "./version-
|
|
6
|
+
import { t as VERSION } from "./version-gbihG3ui.mjs";
|
|
7
7
|
import { t as own } from "./own-OwgPWdmh.mjs";
|
|
8
|
-
import { o as options } from "./commands-
|
|
8
|
+
import { o as options } from "./commands-7FY_8p92.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
//#region src/server/backend.ts
|
|
11
11
|
/** The subscription sync's outbound runs on, in `BoardBinding.subscriptions`. No watcher's ID starts with `@`. */
|
|
@@ -542,4 +542,4 @@ function batchPlan(tasks) {
|
|
|
542
542
|
};
|
|
543
543
|
}
|
|
544
544
|
//#endregion
|
|
545
|
-
export {
|
|
545
|
+
export { uploadName as _, runMatch as a, mentionValue as c, createRouter as d, openapi as f, carried as g, readJson as h, canonicalWatchers as i, withMentions as l, readCapped as m, SYNC_ACTOR as n, compileWatcher as o, queryObject as p, syncTarget as r, hasCriteria as s, batchPlan as t, METHODS as u, SYNC as v };
|
|
@@ -246,7 +246,7 @@ the caller: nothing a client sends sets one, or a name.
|
|
|
246
246
|
outside production shows as `support (preview)`. On Vercel's board, where
|
|
247
247
|
nothing names its project, it goes by the project's ID
|
|
248
248
|
(`prj_support@preview`). A project's environments share the handle, so
|
|
249
|
-
`@support`, `--mentions support`, and `--by support` match every
|
|
249
|
+
`@support`, `--mentions @support`, and `--by support` match every
|
|
250
250
|
environment's deployments, and a deployment's `--mentions me` matches a
|
|
251
251
|
mention of any of them. To name one environment's, use its actor ID:
|
|
252
252
|
`@[vercel:project:prj_support:preview]`, or
|
|
@@ -319,7 +319,7 @@ warning: @nobody names no one here: it stays text, and mentions no one.
|
|
|
319
319
|
- **Filters read the text.** `--mentions @ada` finds `@ada`, and
|
|
320
320
|
`@[<actor id>]` for anyone who goes by `ada`. A name covers what's under it:
|
|
321
321
|
a person's agents (`@julian/claude`), and a project's imports
|
|
322
|
-
(`--mentions support` finds `@support/malte`). `--mentions` alone is your
|
|
322
|
+
(`--mentions @support` finds `@support/malte`). `--mentions` alone is your
|
|
323
323
|
handle and ID. A caller
|
|
324
324
|
that can't read every channel gets what it names as written, and its agents,
|
|
325
325
|
since who goes by what is for readers of every channel. See
|
|
@@ -44,7 +44,8 @@ A channel (or `prefix/` for a subtree) and the shared
|
|
|
44
44
|
and sees every match after it, so `--after` fails the boot.
|
|
45
45
|
- **A watcher has no "me".** `--mentions` alone fails; name a handle:
|
|
46
46
|
`--mentions @ada`, or `--mentions @julian/claude` for an agent, or an actor:
|
|
47
|
-
`--mentions
|
|
47
|
+
`--mentions=slack:user:U0456`, with the `=`, since a word without an `@` is a
|
|
48
|
+
channel. It matches the text, as `vb tail` does.
|
|
48
49
|
- **A bad id or expression fails the boot** with the CLI's error:
|
|
49
50
|
`watch triage: --after isn't a filter`.
|
|
50
51
|
- **Ids** are lowercase letters, numbers, `-`, and `_`.
|
|
@@ -354,7 +354,7 @@ $ vb read 812
|
|
|
354
354
|
| `wait` | `{ event }`: `{ cursor, type, createdAt, payload, message, actor }` |
|
|
355
355
|
| `tail` | one event per line, as they come |
|
|
356
356
|
| `whoami` | `{ actor, name, handle, profile, expiresAt, can, board, source }` |
|
|
357
|
-
| `
|
|
357
|
+
| `list` | `{ boards, defaultBoardId }` |
|
|
358
358
|
|
|
359
359
|
```bash
|
|
360
360
|
vb read prs --label state=open --json | jq -r '.threads[] | "#\(.message.id) \(.replies) \(.message.text)"'
|
|
@@ -711,10 +711,11 @@ prints `{ explanation }`.
|
|
|
711
711
|
|
|
712
712
|
## Reading
|
|
713
713
|
|
|
714
|
-
###
|
|
714
|
+
### list
|
|
715
715
|
|
|
716
716
|
```text
|
|
717
|
-
vb
|
|
717
|
+
vb list [--scope <team>]
|
|
718
|
+
vb ls
|
|
718
719
|
```
|
|
719
720
|
|
|
720
721
|
The team's boards you can use, in Vercel's API: each one's name, the one
|
|
@@ -723,10 +724,10 @@ for one only its members see. The team is `--scope`'s, the one `--url` or
|
|
|
723
724
|
`BOARD_URL` names when it's a team's board there, or the Vercel project's you're
|
|
724
725
|
in. A board of its own (`vb serve`, a deployment's at its URL) is one board,
|
|
725
726
|
with no team's to list, and `--name` picks one board, so with either it's misuse.
|
|
726
|
-
|
|
727
|
+
`ls` runs it too.
|
|
727
728
|
|
|
728
729
|
```text
|
|
729
|
-
$ vb
|
|
730
|
+
$ vb list --scope acme
|
|
730
731
|
General brd_8f2a default
|
|
731
732
|
security brd_1c9e private
|
|
732
733
|
design brd_77d0
|
|
@@ -1476,7 +1477,7 @@ of them must match.
|
|
|
1476
1477
|
| `--by <handle>` | messages by an actor, by handle or exact actor ID. A person's handle covers their agents (`julian/claude`) |
|
|
1477
1478
|
| `--mentions` | messages whose text mentions you: your handle or your actor ID |
|
|
1478
1479
|
| `--mentions @handle` | messages whose text mentions that handle, or the actor ID of someone with it. A person's covers their agents (`@julian/claude`) |
|
|
1479
|
-
| `--mentions
|
|
1480
|
+
| `--mentions=<actor ID>` | messages whose text mentions that actor, by ID or by their handle. Without the `=`, or an `@` before a handle, the next word is a channel and `--mentions` means you |
|
|
1480
1481
|
| `--mentions <email>` | messages whose text mentions that email, `@[ada@vercel.com]` |
|
|
1481
1482
|
| `--source <source>` | where a message came from: a sync key (`slack`, `github`), or `board` for messages written on the board |
|
|
1482
1483
|
| `--label <key>` | messages with the label, any value |
|
package/package.json
CHANGED