busa-cli 0.70.0 → 0.72.0

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/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { i as checkForUpdate, n as pkgVersion, r as runCli } from "./run-CTgZmlyi.js";
2
+ import { i as checkForUpdate, n as pkgVersion, r as runCli } from "./run-DrcPRlmM.js";
3
3
  //#region src/flush-stdio.ts
4
4
  /**
5
5
  * Wait for stdout/stderr to reach the other side before the process is torn down.
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { a as render, i as checkForUpdate, n as pkgVersion, r as runCli, t as HELP } from "./run-CTgZmlyi.js";
1
+ import { a as render, i as checkForUpdate, n as pkgVersion, r as runCli, t as HELP } from "./run-DrcPRlmM.js";
2
2
  import { DEFAULT_BASE_URL, createBusabaseClient, normalizeBaseUrl } from "busabase-sdk";
3
3
  export { DEFAULT_BASE_URL, HELP, checkForUpdate, createBusabaseClient, normalizeBaseUrl, pkgVersion, render, runCli };
@@ -6499,6 +6499,25 @@ z.object({
6499
6499
  expiresAt: z.string().nullable(),
6500
6500
  updatedAt: z.string()
6501
6501
  });
6502
+ z.object({
6503
+ nodeId: z.string(),
6504
+ name: z.string(),
6505
+ slug: z.string(),
6506
+ type: z.enum(NODE_TYPES),
6507
+ icon: NodeIconSchema.nullable().default(null),
6508
+ capability: z.enum(["read", "submit"]),
6509
+ hasPassword: z.boolean(),
6510
+ expiresAt: z.string().nullable(),
6511
+ /**
6512
+ * When this share ROW was first created — NOT "public continuously since".
6513
+ * `disableNodeShare` flips `scope` to `"none"` and keeps the row, so a node
6514
+ * that was shared, revoked, and shared again still reports the original
6515
+ * date. There is no column recording when `scope` last became `"public"`,
6516
+ * so the UI says "first shared {time}" rather than claiming an exposure
6517
+ * window the data cannot support. Adding that column is the follow-up.
6518
+ */
6519
+ createdAt: z.string()
6520
+ });
6502
6521
  z.object({
6503
6522
  parentId: z.string().nullable().optional().describe("Node to start from. Omit or null to start from the space root."),
6504
6523
  depth: z.coerce.number().int().min(1).max(5).optional().describe("How many levels beneath the start point to eagerly include (default 2 once either field is set). Capped at 5."),
@@ -11798,7 +11817,9 @@ const PROCEDURE_PERMISSION_POLICY = {
11798
11817
  "nodes.share.disable": node("manage"),
11799
11818
  "embedLinks.create": workspace("manage"),
11800
11819
  "embedLinks.list": workspace("manage"),
11820
+ "embedLinks.listPaged": workspace("manage"),
11801
11821
  "embedLinks.revoke": workspace("manage"),
11822
+ "nodes.share.list": workspace("manage"),
11802
11823
  "nodes.listFavorites": node("read"),
11803
11824
  "auditEvents.list": node("read"),
11804
11825
  "activity.listPaged": node("read"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "busa-cli",
3
- "version": "0.70.0",
3
+ "version": "0.72.0",
4
4
  "description": "Command-line client for the Busabase OpenAPI REST API. Talks to a local or remote `busabase server`. Short-name alias for busabase-cli.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/busabase/busabase/tree/main/apps/busabase-cli",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@zip.js/zip.js": "^2.8.20",
35
35
  "busabase-package": "workspace:*",
36
- "busabase-sdk": "0.70.0",
36
+ "busabase-sdk": "0.72.0",
37
37
  "commander": "^14.0.0",
38
38
  "qrcode": "^1.5.4",
39
39
  "tar-stream": "^3.1.7",