@mediamonks/canopy-cli 0.7.55 → 0.7.56

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 (56) hide show
  1. package/dist/{ai-BlqO9NhM.mjs → ai-DDVTX_nO.mjs} +2 -2
  2. package/dist/{api-D4KUT6Ly.mjs → api-MIRoGsB6.mjs} +1 -1
  3. package/dist/{audience-Dlrsdthb.mjs → audience-8U1dwxcU.mjs} +3 -3
  4. package/dist/{browse-CW3CnhK_.mjs → browse-CVBq2IB4.mjs} +2 -2
  5. package/dist/{calls-DFtWVJfv.mjs → calls-Cnt16FiF.mjs} +3 -3
  6. package/dist/{db-Dy1csI71.mjs → db-CXeAa-Qy.mjs} +4 -4
  7. package/dist/{deploy-DHjZj2Pq.mjs → deploy-C1mwXvJY.mjs} +4 -4
  8. package/dist/{dev-BvzqZU_F.mjs → dev--vOKyg1k.mjs} +9 -9
  9. package/dist/dev-CCMeTwvP.mjs +2 -0
  10. package/dist/{dev-worker-BdVcP-SM.mjs → dev-worker-7tqL9UFi.mjs} +1 -1
  11. package/dist/docs/cli-members.md +7 -0
  12. package/dist/docs/outside-sign-in.md +16 -5
  13. package/dist/docs/platform-members-and-access.md +8 -0
  14. package/dist/{docs-DdSbSiCj.mjs → docs-DgMINV-7.mjs} +4 -4
  15. package/dist/{egress-hKpsJF84.mjs → egress-Cy3UBgEM.mjs} +3 -3
  16. package/dist/{feedback-Bzu_KQtb.mjs → feedback-DymVKtj0.mjs} +4 -4
  17. package/dist/{files-DKtyMjY0.mjs → files-CYTMMRC0.mjs} +3 -3
  18. package/dist/index.mjs +38 -38
  19. package/dist/{local-B1N4TpE9.mjs → local-DCo1A00D.mjs} +3 -3
  20. package/dist/login-BpmefYHv.mjs +355 -0
  21. package/dist/{logs-ByDPHO28.mjs → logs-CWr7tRhN.mjs} +3 -3
  22. package/dist/{mcp-DmWfG-NS.mjs → mcp-D0TZcRce.mjs} +3 -3
  23. package/dist/{migrations-k5pyUUR0.mjs → migrations-CkGa1pmn.mjs} +2 -2
  24. package/dist/{open-CYfkeTaw.mjs → open-D2WqNBiq.mjs} +2 -2
  25. package/dist/{package-B_o_DJ8u.mjs → package-BpSdSdZI.mjs} +1 -1
  26. package/dist/project-template-D-e33lix.mjs +2 -0
  27. package/dist/{project-template-B297eCQ0.mjs → project-template-DjbT9RRU.mjs} +3 -3
  28. package/dist/{projects-BBm9nQb0.mjs → projects-Dcq37hny.mjs} +29 -10
  29. package/dist/{rename-BZ8hvUUt.mjs → rename-DTg_3_BJ.mjs} +3 -3
  30. package/dist/repo-C_gmPkLX.mjs +2 -0
  31. package/dist/{repo-BUIM4d_1.mjs → repo-ZjkxQKwh.mjs} +3 -3
  32. package/dist/{roles-Yn8U3cr-.mjs → roles-2dF7LkZB.mjs} +63 -10
  33. package/dist/roles-B5E2tfbN.mjs +2 -0
  34. package/dist/{schedule-Cv26MIfS.mjs → schedule-_u2Ab1WH.mjs} +3 -3
  35. package/dist/{secrets-C6tF7BI9.mjs → secrets-H1bQRNBr.mjs} +3 -3
  36. package/dist/{site-C0nf9RXY.mjs → site-BcZ0LOvm.mjs} +2 -1
  37. package/dist/{skill-DAlJwr4A.mjs → skill-BHDQdPTC.mjs} +2 -2
  38. package/dist/{src-B0WdnVz9.mjs → src-DpjA-a59.mjs} +23 -22
  39. package/dist/{staging-C9mn0EBS.mjs → staging-BZJwA_iG.mjs} +3 -3
  40. package/dist/{token-DIJtUPrE.mjs → token-BEV5lbld.mjs} +3 -3
  41. package/dist/{ui-BPq6-hKS.mjs → ui-7cyGNbu5.mjs} +1 -1
  42. package/dist/{upgrade-DN0JQ7gm.mjs → upgrade-BYTMPnOF.mjs} +2 -2
  43. package/dist/{usage-DBhL6SUo.mjs → usage-iYp64st3.mjs} +3 -3
  44. package/package.json +4 -4
  45. package/dist/dev-wHv8RrDn.mjs +0 -2
  46. package/dist/login-cbwynFoT.mjs +0 -355
  47. package/dist/project-template-B6YpesjZ.mjs +0 -2
  48. package/dist/repo-fDD4TcJ4.mjs +0 -2
  49. package/dist/roles-DvywfJ8x.mjs +0 -2
  50. package/dist/templates/worker/.github/workflows/canopy-deploy.yml +0 -40
  51. package/dist/templates/worker/index.html +0 -12
  52. package/dist/templates/worker/src/app.tsx +0 -25
  53. package/dist/templates/worker/src/canopy.ts +0 -5
  54. package/dist/templates/worker/src/main.tsx +0 -10
  55. package/dist/templates/worker/src/style.css +0 -29
  56. package/dist/templates/worker/vite.config.ts +0 -7
@@ -1,5 +1,5 @@
1
- import { a as apiRequest, m as withContext } from "./api-D4KUT6Ly.mjs";
2
- import { i as reportErrors } from "./ui-BPq6-hKS.mjs";
1
+ import { a as apiRequest, m as withContext } from "./api-MIRoGsB6.mjs";
2
+ import { i as reportErrors } from "./ui-7cyGNbu5.mjs";
3
3
  import { defineCommand } from "citty";
4
4
  //#region src/ai.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { h as tryReadCanopyJson, p as rewriteCanopyJsonSlug, r as siteConfig, t as projectDir } from "./site-C0nf9RXY.mjs";
1
+ import { h as tryReadCanopyJson, p as rewriteCanopyJsonSlug, r as siteConfig, t as projectDir } from "./site-BcZ0LOvm.mjs";
2
2
  //#region src/api.ts
3
3
  /**
4
4
  * Authenticated requests to the Canopy control plane. Credentials, in order:
@@ -1,6 +1,6 @@
1
- import { f as resolveProject, l as projectDirArgs, u as projectFlagArgs } from "./site-C0nf9RXY.mjs";
2
- import { a as apiRequest, m as withContext } from "./api-D4KUT6Ly.mjs";
3
- import { i as reportErrors } from "./ui-BPq6-hKS.mjs";
1
+ import { f as resolveProject, l as projectDirArgs, u as projectFlagArgs } from "./site-BcZ0LOvm.mjs";
2
+ import { a as apiRequest, m as withContext } from "./api-MIRoGsB6.mjs";
3
+ import { i as reportErrors } from "./ui-7cyGNbu5.mjs";
4
4
  import { defineCommand } from "citty";
5
5
  import * as p from "@clack/prompts";
6
6
  //#region src/audience.ts
@@ -1,5 +1,5 @@
1
- import { g as tryResolveProject, r as siteConfig } from "./site-C0nf9RXY.mjs";
2
- import { a as apiRequest, t as ApiError } from "./api-D4KUT6Ly.mjs";
1
+ import { g as tryResolveProject, r as siteConfig } from "./site-BcZ0LOvm.mjs";
2
+ import { a as apiRequest, t as ApiError } from "./api-MIRoGsB6.mjs";
3
3
  import { defineCommand } from "citty";
4
4
  //#region src/browse.ts
5
5
  /**
@@ -1,6 +1,6 @@
1
- import { f as resolveProject, l as projectDirArgs } from "./site-C0nf9RXY.mjs";
2
- import { a as apiRequest, m as withContext } from "./api-D4KUT6Ly.mjs";
3
- import { i as reportErrors, n as formatDateTime } from "./ui-BPq6-hKS.mjs";
1
+ import { f as resolveProject, l as projectDirArgs } from "./site-BcZ0LOvm.mjs";
2
+ import { a as apiRequest, m as withContext } from "./api-MIRoGsB6.mjs";
3
+ import { i as reportErrors, n as formatDateTime } from "./ui-7cyGNbu5.mjs";
4
4
  import { defineCommand } from "citty";
5
5
  //#region src/calls.ts
6
6
  /**
@@ -1,7 +1,7 @@
1
- import { f as resolveProject, u as projectFlagArgs } from "./site-C0nf9RXY.mjs";
2
- import { a as apiRequest, m as withContext, r as apiDataRequest } from "./api-D4KUT6Ly.mjs";
3
- import { a as requireTty, i as reportErrors, o as spinner$1, s as unwrap, t as confirmTypedSlug } from "./ui-BPq6-hKS.mjs";
4
- import { n as migrateProject, r as readMigrationFiles, t as describeMigrateResult } from "./migrations-k5pyUUR0.mjs";
1
+ import { f as resolveProject, u as projectFlagArgs } from "./site-BcZ0LOvm.mjs";
2
+ import { a as apiRequest, m as withContext, r as apiDataRequest } from "./api-MIRoGsB6.mjs";
3
+ import { a as requireTty, i as reportErrors, o as spinner$1, s as unwrap, t as confirmTypedSlug } from "./ui-7cyGNbu5.mjs";
4
+ import { n as migrateProject, r as readMigrationFiles, t as describeMigrateResult } from "./migrations-CkGa1pmn.mjs";
5
5
  import { defineCommand } from "citty";
6
6
  import { readFileSync, writeFileSync } from "node:fs";
7
7
  import * as p from "@clack/prompts";
@@ -1,7 +1,7 @@
1
- import { d as projectUrl, f as resolveProject, h as tryReadCanopyJson, l as projectDirArgs, m as stagingUrl, r as siteConfig, s as parseVersionArg, u as projectFlagArgs } from "./site-C0nf9RXY.mjs";
2
- import { a as apiRequest, d as githubActionsCredentials, i as apiDownload, l as currentSlug, m as withContext, p as onGithubActions, r as apiDataRequest, t as ApiError } from "./api-D4KUT6Ly.mjs";
3
- import { i as reportErrors, n as formatDateTime, o as spinner$1, s as unwrap } from "./ui-BPq6-hKS.mjs";
4
- import { n as migrateProject, r as readMigrationFiles, t as describeMigrateResult } from "./migrations-k5pyUUR0.mjs";
1
+ import { d as projectUrl, f as resolveProject, h as tryReadCanopyJson, l as projectDirArgs, m as stagingUrl, r as siteConfig, s as parseVersionArg, u as projectFlagArgs } from "./site-BcZ0LOvm.mjs";
2
+ import { a as apiRequest, d as githubActionsCredentials, i as apiDownload, l as currentSlug, m as withContext, p as onGithubActions, r as apiDataRequest, t as ApiError } from "./api-MIRoGsB6.mjs";
3
+ import { i as reportErrors, n as formatDateTime, o as spinner$1, s as unwrap } from "./ui-7cyGNbu5.mjs";
4
+ import { n as migrateProject, r as readMigrationFiles, t as describeMigrateResult } from "./migrations-CkGa1pmn.mjs";
5
5
  import { builtinModules } from "node:module";
6
6
  import { defineCommand } from "citty";
7
7
  import { mkdtempSync, readFileSync, readdirSync, rmSync, statSync, writeFileSync } from "node:fs";
@@ -1,9 +1,9 @@
1
- import { c as projectDialect, f as resolveProject, h as tryReadCanopyJson, l as projectDirArgs, r as siteConfig } from "./site-C0nf9RXY.mjs";
2
- import { a as apiRequest, m as withContext, t as ApiError } from "./api-D4KUT6Ly.mjs";
3
- import { i as reportErrors, n as formatDateTime } from "./ui-BPq6-hKS.mjs";
4
- import { r as readMigrationFiles } from "./migrations-k5pyUUR0.mjs";
5
- import { r as stampWorkerHeaders, t as WORKER_ATTEST_HEADER } from "./src-B0WdnVz9.mjs";
6
- import { a as parseAppRoleFlag } from "./roles-Yn8U3cr-.mjs";
1
+ import { c as projectDialect, f as resolveProject, h as tryReadCanopyJson, l as projectDirArgs, r as siteConfig } from "./site-BcZ0LOvm.mjs";
2
+ import { r as stampWorkerHeaders, t as WORKER_ATTEST_HEADER } from "./src-DpjA-a59.mjs";
3
+ import { a as apiRequest, m as withContext, t as ApiError } from "./api-MIRoGsB6.mjs";
4
+ import { i as reportErrors, n as formatDateTime } from "./ui-7cyGNbu5.mjs";
5
+ import { r as readMigrationFiles } from "./migrations-CkGa1pmn.mjs";
6
+ import { s as parseAppRoleFlag } from "./roles-2dF7LkZB.mjs";
7
7
  import { n as writeDevServerRecord } from "./dev-server-file-Dk9pk4AR.mjs";
8
8
  import { createRequire } from "node:module";
9
9
  import { defineCommand } from "citty";
@@ -107,7 +107,7 @@ async function workerPlugin(flags, slug, workerAttest, remoteUser, roles) {
107
107
  console.log(`note: canopy.json points "worker" at ${entry}, which does not exist — skipping.`);
108
108
  return;
109
109
  }
110
- const { missingSecretNames, readDevVars, workerDevPlugin } = await import("./dev-worker-BdVcP-SM.mjs");
110
+ const { missingSecretNames, readDevVars, workerDevPlugin } = await import("./dev-worker-7tqL9UFi.mjs");
111
111
  const secrets = readDevVars(flags.dir);
112
112
  const email = siteConfig().email;
113
113
  const found = await remoteUser?.() ?? (email ? {
@@ -326,7 +326,7 @@ async function devRemote(flags, slug) {
326
326
  async function devLocal(flags, slug) {
327
327
  let dump;
328
328
  if (flags.pull) {
329
- const { fetchProjectDump } = await import("./local-B1N4TpE9.mjs");
329
+ const { fetchProjectDump } = await import("./local-DCo1A00D.mjs");
330
330
  console.log(`Pulling a fresh export of ${slug}${flags.staging ? " [staging]" : ""}…`);
331
331
  dump = await fetchProjectDump(slug, flags.staging ? "staging" : "live");
332
332
  }
@@ -343,7 +343,7 @@ async function devLocal(flags, slug) {
343
343
  }
344
344
  const workerAttest = randomBytes(24).toString("base64url");
345
345
  const devRoles = await resolveDevRoles(slug, flags.asRoles);
346
- const { createSandbox } = await import("./local-B1N4TpE9.mjs");
346
+ const { createSandbox } = await import("./local-DCo1A00D.mjs");
347
347
  const sandbox = await createSandbox({
348
348
  slug,
349
349
  persistDir: join(flags.dir, ".canopy", "local"),
@@ -0,0 +1,2 @@
1
+ import { n as devCommand } from "./dev--vOKyg1k.mjs";
2
+ export { devCommand };
@@ -1,4 +1,4 @@
1
- import { a as readPersonCaller, i as CALLER_HEADER, n as redactCanopyCredentials, o as readUser, r as stampWorkerHeaders, t as WORKER_ATTEST_HEADER } from "./src-B0WdnVz9.mjs";
1
+ import { a as readPersonCaller, i as CALLER_HEADER, n as redactCanopyCredentials, o as readUser, r as stampWorkerHeaders, t as WORKER_ATTEST_HEADER } from "./src-DpjA-a59.mjs";
2
2
  import { readFileSync } from "node:fs";
3
3
  import { relative, resolve, sep } from "node:path";
4
4
  //#region src/dev-worker.ts
@@ -14,6 +14,8 @@ and viewers can do.
14
14
  canopy members list
15
15
  canopy members add jane@monks.com
16
16
  canopy members add sam@monks.com --viewer --app-role approver
17
+ canopy members add dana@client.example
18
+ canopy members add dana@client.example --send-invitation
17
19
  canopy members set sam@monks.com --app-role approver --app-role reviewer
18
20
  canopy members set sam@monks.com --editor
19
21
  canopy members set sam@monks.com --clear-app-roles
@@ -33,6 +35,11 @@ directory, or `--project <slug>`) and honor the global `--profile <site>`.
33
35
  manager with `--manager`. Someone who hasn't signed in to Canopy yet gets an
34
36
  invite and joins at their first sign-in. The owner and managers can add
35
37
  editors and viewers; only the owner adds managers.
38
+ - `add <email>` for someone outside Monks (where the site allows it) adds them
39
+ as a viewer and prints a message to send them: the project's link and how
40
+ to sign in with their email. Canopy doesn't email them unless you pass
41
+ `--send-invitation`. See
42
+ [Sharing a project with people outside Monks](https://docs.canopy.website/guides/outside-sign-in).
36
43
  - `set <email>` changes someone. `--manager`, `--editor` or `--viewer` changes
37
44
  their Canopy role: managers switch people between editor and viewer, and only
38
45
  the owner makes or changes a manager. `--app-role <slug>` sets their app
@@ -4,8 +4,9 @@ description: Invite a client contact by email and they get their own sign-in to
4
4
  ---
5
5
 
6
6
  Anyone who manages a project's members can add someone from outside Monks by
7
- their email address. They get an invitation email, sign in with that address,
8
- and from then on open your app as themselves. Each person has their own
7
+ their email address. You send them the link, or have Canopy email them an
8
+ invitation. They sign in with that address and from then on open your app as
9
+ themselves. Each person has their own
9
10
  sign-in, so you can see who is who, give one person an app role, and remove
10
11
  one person without touching anyone else.
11
12
 
@@ -22,11 +23,21 @@ them [app roles](https://docs.canopy.website/guides/roles) like anyone else.
22
23
  The owner, managers and platform admins can invite outsiders. Each invitation
23
24
  is recorded under the person who sent it.
24
25
 
25
- They get an email naming the project and who added them, with a link to it.
26
- If the email didn't go out, the Members card says so and lets you send it
27
- again. The card marks outside members and invitations so you can tell them
26
+ Before anything is saved, a dialog shows a message to send them. It has the
27
+ project's link and the steps to sign in with their email. Copy it and send it
28
+ however suits you: in a chat, an email of your own, or along with links to
29
+ your other projects. If you'd rather Canopy emailed them, tick **Also send an
30
+ invitation email**. That email names the project and who added them, with a
31
+ link to it. If it didn't go out, the Members card says so.
32
+
33
+ Their row in the Members card has two buttons. One copies the same message
34
+ again, and the other emails them the invitation, even long after you added
35
+ them. The card marks outside members and invitations so you can tell them
28
36
  apart from colleagues.
29
37
 
38
+ From a terminal, [`canopy members add`](https://docs.canopy.website/cli/members) prints the same message.
39
+ Add `--send-invitation` to have Canopy email them too.
40
+
30
41
  ## What they see
31
42
 
32
43
  When they open the project's link, the sign-in page offers **Not at Monks?
@@ -56,6 +56,14 @@ automatically the first time they sign in, whether that's opening the
56
56
  project's URL or running `canopy login`. Until then the invite grants nothing.
57
57
  Canopy doesn't send them a message, so let them know yourself.
58
58
 
59
+ Where the site allows it, you can also add people outside Monks by email.
60
+ They're always viewers. Before anything is saved, a dialog shows a message to
61
+ send them: the project's link and how to sign in with their email. Copy it
62
+ and send it however you like, or tick the box to have Canopy email them an
63
+ invitation as well. Their row in the card has buttons to copy that message
64
+ again or email the invitation later. Read
65
+ [Sharing a project with people outside Monks](https://docs.canopy.website/guides/outside-sign-in).
66
+
59
67
  The owner and managers can switch people between editor and viewer, remove
60
68
  them, or withdraw an invite from the same card. Only the owner can make
61
69
  someone a manager or change a manager. From a terminal,
@@ -1,8 +1,8 @@
1
- import { t as version } from "./package-B_o_DJ8u.mjs";
2
- import { r as siteConfig } from "./site-C0nf9RXY.mjs";
1
+ import { t as version } from "./package-BpSdSdZI.mjs";
2
+ import { r as siteConfig } from "./site-BcZ0LOvm.mjs";
3
3
  import { i as latestKnownVersion, r as compareSemver } from "./version-check-CcsA1QjI.mjs";
4
- import { n as agentHeaders } from "./api-D4KUT6Ly.mjs";
5
- import { i as reportErrors } from "./ui-BPq6-hKS.mjs";
4
+ import { n as agentHeaders } from "./api-MIRoGsB6.mjs";
5
+ import { i as reportErrors } from "./ui-7cyGNbu5.mjs";
6
6
  import { defineCommand } from "citty";
7
7
  import { existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "node:fs";
8
8
  import { homedir } from "node:os";
@@ -1,6 +1,6 @@
1
- import { f as resolveProject, l as projectDirArgs } from "./site-C0nf9RXY.mjs";
2
- import { a as apiRequest, m as withContext } from "./api-D4KUT6Ly.mjs";
3
- import { i as reportErrors, n as formatDateTime, s as unwrap, t as confirmTypedSlug } from "./ui-BPq6-hKS.mjs";
1
+ import { f as resolveProject, l as projectDirArgs } from "./site-BcZ0LOvm.mjs";
2
+ import { a as apiRequest, m as withContext } from "./api-MIRoGsB6.mjs";
3
+ import { i as reportErrors, n as formatDateTime, s as unwrap, t as confirmTypedSlug } from "./ui-7cyGNbu5.mjs";
4
4
  import { defineCommand } from "citty";
5
5
  import * as p from "@clack/prompts";
6
6
  //#region src/egress.ts
@@ -1,7 +1,7 @@
1
- import { t as version } from "./package-B_o_DJ8u.mjs";
2
- import { f as resolveProject, g as tryResolveProject, h as tryReadCanopyJson, l as projectDirArgs, r as siteConfig } from "./site-C0nf9RXY.mjs";
3
- import { a as apiRequest, c as credentials, i as apiDownload, o as apiUpload, s as commonHeaders } from "./api-D4KUT6Ly.mjs";
4
- import { i as reportErrors, n as formatDateTime } from "./ui-BPq6-hKS.mjs";
1
+ import { t as version } from "./package-BpSdSdZI.mjs";
2
+ import { f as resolveProject, g as tryResolveProject, h as tryReadCanopyJson, l as projectDirArgs, r as siteConfig } from "./site-BcZ0LOvm.mjs";
3
+ import { a as apiRequest, c as credentials, i as apiDownload, o as apiUpload, s as commonHeaders } from "./api-MIRoGsB6.mjs";
4
+ import { i as reportErrors, n as formatDateTime } from "./ui-7cyGNbu5.mjs";
5
5
  import { defineCommand } from "citty";
6
6
  import { basename, extname, join } from "node:path";
7
7
  import { readFile, writeFile } from "node:fs/promises";
@@ -1,6 +1,6 @@
1
- import { f as resolveProject, u as projectFlagArgs } from "./site-C0nf9RXY.mjs";
2
- import { a as apiRequest } from "./api-D4KUT6Ly.mjs";
3
- import { i as reportErrors } from "./ui-BPq6-hKS.mjs";
1
+ import { f as resolveProject, u as projectFlagArgs } from "./site-BcZ0LOvm.mjs";
2
+ import { a as apiRequest } from "./api-MIRoGsB6.mjs";
3
+ import { i as reportErrors } from "./ui-7cyGNbu5.mjs";
4
4
  import { defineCommand } from "citty";
5
5
  //#region src/files.ts
6
6
  /**
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { t as version } from "./package-B_o_DJ8u.mjs";
3
- import { i as siteHeaderLine, n as setInvocationProfile } from "./site-C0nf9RXY.mjs";
2
+ import { t as version } from "./package-BpSdSdZI.mjs";
3
+ import { i as siteHeaderLine, n as setInvocationProfile } from "./site-BcZ0LOvm.mjs";
4
4
  import { a as notifyOfUpdate, o as runRefresh } from "./version-check-CcsA1QjI.mjs";
5
5
  import { defineCommand, runMain } from "citty";
6
6
  //#region src/index.ts
@@ -51,42 +51,42 @@ const main = defineCommand({
51
51
  description: "canopy — create and deploy vibecoded projects"
52
52
  },
53
53
  subCommands: {
54
- login: () => import("./login-cbwynFoT.mjs").then((m) => m.loginCommand),
55
- whoami: () => import("./login-cbwynFoT.mjs").then((m) => m.whoamiCommand),
56
- logout: () => import("./login-cbwynFoT.mjs").then((m) => m.logoutCommand),
57
- create: () => import("./projects-BBm9nQb0.mjs").then((m) => m.createCommand),
58
- init: () => import("./projects-BBm9nQb0.mjs").then((m) => m.initCommand),
59
- projects: () => import("./projects-BBm9nQb0.mjs").then((m) => m.projectsCommand),
60
- delete: () => import("./projects-BBm9nQb0.mjs").then((m) => m.deleteCommand),
61
- rename: () => import("./rename-BZ8hvUUt.mjs").then((m) => m.renameCommand),
62
- dev: () => import("./dev-wHv8RrDn.mjs").then((m) => m.devCommand),
63
- deploy: () => import("./deploy-DHjZj2Pq.mjs").then((m) => m.deployCommand),
64
- promote: () => import("./deploy-DHjZj2Pq.mjs").then((m) => m.promoteCommand),
65
- staging: () => import("./staging-C9mn0EBS.mjs").then((m) => m.stagingCommand),
66
- rollback: () => import("./deploy-DHjZj2Pq.mjs").then((m) => m.rollbackCommand),
67
- download: () => import("./deploy-DHjZj2Pq.mjs").then((m) => m.downloadCommand),
68
- token: () => import("./token-DIJtUPrE.mjs").then((m) => m.tokenCommand),
69
- egress: () => import("./egress-hKpsJF84.mjs").then((m) => m.egressCommand),
70
- calls: () => import("./calls-DFtWVJfv.mjs").then((m) => m.callsCommand),
71
- secrets: () => import("./secrets-C6tF7BI9.mjs").then((m) => m.secretsCommand),
72
- roles: () => import("./roles-DvywfJ8x.mjs").then((m) => m.rolesCommand),
73
- members: () => import("./roles-DvywfJ8x.mjs").then((m) => m.membersCommand),
74
- schedule: () => import("./schedule-Cv26MIfS.mjs").then((m) => m.scheduleCommand),
75
- feedback: () => import("./feedback-Bzu_KQtb.mjs").then((m) => m.feedbackCommand),
76
- db: () => import("./db-Dy1csI71.mjs").then((m) => m.dbCommand),
77
- files: () => import("./files-DKtyMjY0.mjs").then((m) => m.filesCommand),
78
- usage: () => import("./usage-DBhL6SUo.mjs").then((m) => m.usageCommand),
79
- ai: () => import("./ai-BlqO9NhM.mjs").then((m) => m.aiCommand),
80
- open: () => import("./open-CYfkeTaw.mjs").then((m) => m.openCommand),
81
- browse: () => import("./browse-CW3CnhK_.mjs").then((m) => m.browseCommand),
82
- docs: () => import("./docs-DdSbSiCj.mjs").then((m) => m.docsCommand),
83
- skill: () => import("./skill-DAlJwr4A.mjs").then((m) => m.skillCommand),
84
- upgrade: () => import("./upgrade-DN0JQ7gm.mjs").then((m) => m.upgradeCommand),
85
- logs: () => import("./logs-ByDPHO28.mjs").then((m) => m.logsCommand),
86
- mcp: () => import("./mcp-DmWfG-NS.mjs").then((m) => m.mcpCommand),
87
- repo: () => import("./repo-fDD4TcJ4.mjs").then((m) => m.repoCommand),
88
- template: () => import("./project-template-B6YpesjZ.mjs").then((m) => m.templateCommand),
89
- audience: () => import("./audience-Dlrsdthb.mjs").then((m) => m.audienceCommand)
54
+ login: () => import("./login-BpmefYHv.mjs").then((m) => m.loginCommand),
55
+ whoami: () => import("./login-BpmefYHv.mjs").then((m) => m.whoamiCommand),
56
+ logout: () => import("./login-BpmefYHv.mjs").then((m) => m.logoutCommand),
57
+ create: () => import("./projects-Dcq37hny.mjs").then((m) => m.createCommand),
58
+ init: () => import("./projects-Dcq37hny.mjs").then((m) => m.initCommand),
59
+ projects: () => import("./projects-Dcq37hny.mjs").then((m) => m.projectsCommand),
60
+ delete: () => import("./projects-Dcq37hny.mjs").then((m) => m.deleteCommand),
61
+ rename: () => import("./rename-DTg_3_BJ.mjs").then((m) => m.renameCommand),
62
+ dev: () => import("./dev-CCMeTwvP.mjs").then((m) => m.devCommand),
63
+ deploy: () => import("./deploy-C1mwXvJY.mjs").then((m) => m.deployCommand),
64
+ promote: () => import("./deploy-C1mwXvJY.mjs").then((m) => m.promoteCommand),
65
+ staging: () => import("./staging-BZJwA_iG.mjs").then((m) => m.stagingCommand),
66
+ rollback: () => import("./deploy-C1mwXvJY.mjs").then((m) => m.rollbackCommand),
67
+ download: () => import("./deploy-C1mwXvJY.mjs").then((m) => m.downloadCommand),
68
+ token: () => import("./token-BEV5lbld.mjs").then((m) => m.tokenCommand),
69
+ egress: () => import("./egress-Cy3UBgEM.mjs").then((m) => m.egressCommand),
70
+ calls: () => import("./calls-Cnt16FiF.mjs").then((m) => m.callsCommand),
71
+ secrets: () => import("./secrets-H1bQRNBr.mjs").then((m) => m.secretsCommand),
72
+ roles: () => import("./roles-B5E2tfbN.mjs").then((m) => m.rolesCommand),
73
+ members: () => import("./roles-B5E2tfbN.mjs").then((m) => m.membersCommand),
74
+ schedule: () => import("./schedule-_u2Ab1WH.mjs").then((m) => m.scheduleCommand),
75
+ feedback: () => import("./feedback-DymVKtj0.mjs").then((m) => m.feedbackCommand),
76
+ db: () => import("./db-CXeAa-Qy.mjs").then((m) => m.dbCommand),
77
+ files: () => import("./files-CYTMMRC0.mjs").then((m) => m.filesCommand),
78
+ usage: () => import("./usage-iYp64st3.mjs").then((m) => m.usageCommand),
79
+ ai: () => import("./ai-DDVTX_nO.mjs").then((m) => m.aiCommand),
80
+ open: () => import("./open-D2WqNBiq.mjs").then((m) => m.openCommand),
81
+ browse: () => import("./browse-CVBq2IB4.mjs").then((m) => m.browseCommand),
82
+ docs: () => import("./docs-DgMINV-7.mjs").then((m) => m.docsCommand),
83
+ skill: () => import("./skill-BHDQdPTC.mjs").then((m) => m.skillCommand),
84
+ upgrade: () => import("./upgrade-BYTMPnOF.mjs").then((m) => m.upgradeCommand),
85
+ logs: () => import("./logs-CWr7tRhN.mjs").then((m) => m.logsCommand),
86
+ mcp: () => import("./mcp-D0TZcRce.mjs").then((m) => m.mcpCommand),
87
+ repo: () => import("./repo-C_gmPkLX.mjs").then((m) => m.repoCommand),
88
+ template: () => import("./project-template-D-e33lix.mjs").then((m) => m.templateCommand),
89
+ audience: () => import("./audience-8U1dwxcU.mjs").then((m) => m.audienceCommand)
90
90
  }
91
91
  });
92
92
  const quiet = process.argv[2] === "mcp" && process.argv[3] === "serve" || process.argv[2] === "repo" && process.argv[3] === "credential";
@@ -1,6 +1,6 @@
1
- import { r as apiDataRequest } from "./api-D4KUT6Ly.mjs";
2
- import { c as dbRouter, d as STREAMED_BLOB_BYTES, f as blobRouter, l as hasPrivateNames, p as isCreateOnly, s as realtimeRouter, t as WORKER_ATTEST_HEADER, u as META_COLUMNS } from "./src-B0WdnVz9.mjs";
3
- import { a as rewriteApiPath } from "./dev-BvzqZU_F.mjs";
1
+ import { c as dbRouter, h as isCreateOnly, l as hasPrivateNames, m as blobRouter, p as STREAMED_BLOB_BYTES, s as realtimeRouter, t as WORKER_ATTEST_HEADER, u as META_COLUMNS } from "./src-DpjA-a59.mjs";
2
+ import { r as apiDataRequest } from "./api-MIRoGsB6.mjs";
3
+ import { a as rewriteApiPath } from "./dev--vOKyg1k.mjs";
4
4
  import { createRequire } from "node:module";
5
5
  import { createWriteStream, existsSync, mkdirSync, readFileSync, readdirSync, rmSync, statSync, writeFileSync } from "node:fs";
6
6
  import { dirname, join, relative, sep } from "node:path";