@mediamonks/canopy-cli 0.7.10 → 0.7.12
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/{deploy-BKFICJT1.mjs → deploy-B1WrPq5W.mjs} +12 -2
- package/dist/{dev-DtoZrexp.mjs → dev-BnUYGQQm.mjs} +5 -4
- package/dist/dev-CySBxW7I.mjs +2 -0
- package/dist/{dev-worker-BZgtEM9V.mjs → dev-worker-IWnHvQ1f.mjs} +42 -7
- package/dist/{docs-Ck9xogEV.mjs → docs-DxB7NhZs.mjs} +1 -1
- package/dist/{feedback-BpiCvItH.mjs → feedback-B-GXUBPs.mjs} +1 -1
- package/dist/index.mjs +10 -10
- package/dist/{local-C5AhA4GM.mjs → local-BGRd_FMZ.mjs} +6 -469
- package/dist/{package-DRp7sI6i.mjs → package-CDLufecy.mjs} +1 -1
- package/dist/{skill-B2sDMAmv.mjs → skill-BOWfqwr2.mjs} +1 -1
- package/dist/src-Bu4Ze32I.mjs +470 -0
- package/dist/{upgrade-tOfSmAcc.mjs → upgrade-fhfrid_O.mjs} +1 -1
- package/package.json +3 -3
- package/dist/dev-BYxSHUH6.mjs +0 -2
- package/dist/docs/ci.md +0 -50
- package/dist/docs/cli-create.md +0 -46
- package/dist/docs/cli-db.md +0 -86
- package/dist/docs/cli-delete.md +0 -44
- package/dist/docs/cli-deploy.md +0 -58
- package/dist/docs/cli-dev.md +0 -82
- package/dist/docs/cli-docs.md +0 -47
- package/dist/docs/cli-download.md +0 -42
- package/dist/docs/cli-egress.md +0 -37
- package/dist/docs/cli-feedback.md +0 -75
- package/dist/docs/cli-index.md +0 -61
- package/dist/docs/cli-init.md +0 -46
- package/dist/docs/cli-login.md +0 -43
- package/dist/docs/cli-logout.md +0 -32
- package/dist/docs/cli-logs.md +0 -57
- package/dist/docs/cli-open.md +0 -41
- package/dist/docs/cli-projects.md +0 -43
- package/dist/docs/cli-promote.md +0 -44
- package/dist/docs/cli-rollback.md +0 -45
- package/dist/docs/cli-skill.md +0 -39
- package/dist/docs/cli-staging.md +0 -54
- package/dist/docs/cli-token.md +0 -47
- package/dist/docs/cli-upgrade.md +0 -43
- package/dist/docs/cli-usage.md +0 -43
- package/dist/docs/cli-whoami.md +0 -46
- package/dist/docs/cli.md +0 -86
- package/dist/docs/data.md +0 -85
- package/dist/docs/deploy.md +0 -81
- package/dist/docs/dev.md +0 -72
- package/dist/docs/developers-agents-and-ai.md +0 -95
- package/dist/docs/developers-architecture.md +0 -106
- package/dist/docs/getting-started.md +0 -108
- package/dist/docs/index.json +0 -331
- package/dist/docs/infrastructure.md +0 -406
- package/dist/docs/migrations.md +0 -183
- package/dist/docs/overview-faq.md +0 -105
- package/dist/docs/overview-how-it-works.md +0 -82
- package/dist/docs/overview-use-cases.md +0 -76
- package/dist/docs/overview-what-is-canopy.md +0 -75
- package/dist/docs/platform-ai-usage.md +0 -65
- package/dist/docs/platform-client-access.md +0 -54
- package/dist/docs/platform-deploys-and-rollbacks.md +0 -93
- package/dist/docs/platform-egress.md +0 -75
- package/dist/docs/platform-feedback.md +0 -114
- package/dist/docs/platform-members-and-access.md +0 -71
- package/dist/docs/platform-project-data.md +0 -76
- package/dist/docs/platform-schedules.md +0 -90
- package/dist/docs/platform-sites-and-profiles.md +0 -61
- package/dist/docs/porting-nextjs.md +0 -233
- package/dist/docs/sdk-ai.md +0 -103
- package/dist/docs/sdk-auth.md +0 -57
- package/dist/docs/sdk-database.md +0 -126
- package/dist/docs/sdk-files.md +0 -82
- package/dist/docs/sdk-services.md +0 -58
- package/dist/docs/sdk.md +0 -126
- package/dist/docs/staging.md +0 -106
- package/dist/docs/static-serving.md +0 -318
- package/dist/docs/troubleshooting.md +0 -102
- package/dist/skill/canopy/SKILL.md +0 -160
- package/dist/templates/spa/.github/workflows/canopy-deploy.yml +0 -34
- package/dist/templates/spa/AGENTS.md +0 -47
- package/dist/templates/spa/README.md +0 -14
- package/dist/templates/spa/_gitignore +0 -4
- package/dist/templates/spa/canopy.json +0 -5
- package/dist/templates/spa/index.html +0 -12
- package/dist/templates/spa/package.json +0 -21
- package/dist/templates/spa/src/app.tsx +0 -25
- package/dist/templates/spa/src/canopy.ts +0 -5
- package/dist/templates/spa/src/main.tsx +0 -10
- package/dist/templates/spa/src/style.css +0 -29
- package/dist/templates/spa/tsconfig.json +0 -16
- package/dist/templates/spa/vite.config.ts +0 -7
- package/dist/templates/static/AGENTS.md +0 -45
- package/dist/templates/static/README.md +0 -9
- package/dist/templates/static/_gitignore +0 -2
- package/dist/templates/static/canopy.json +0 -4
- package/dist/templates/static/index.html +0 -21
- package/dist/templates/static/main.js +0 -9
- package/dist/templates/static/style.css +0 -29
- package/dist/templates/worker/.dev.vars.example +0 -9
- package/dist/templates/worker/.github/workflows/canopy-deploy.yml +0 -34
- package/dist/templates/worker/AGENTS.md +0 -63
- package/dist/templates/worker/README.md +0 -17
- package/dist/templates/worker/_gitignore +0 -5
- package/dist/templates/worker/canopy.json +0 -6
- package/dist/templates/worker/index.html +0 -12
- package/dist/templates/worker/package.json +0 -22
- package/dist/templates/worker/src/app.tsx +0 -25
- package/dist/templates/worker/src/canopy.ts +0 -5
- package/dist/templates/worker/src/main.tsx +0 -10
- package/dist/templates/worker/src/style.css +0 -29
- package/dist/templates/worker/tsconfig.json +0 -16
- package/dist/templates/worker/vite.config.ts +0 -7
- package/dist/templates/worker/worker/index.ts +0 -52
package/dist/docs/index.json
DELETED
|
@@ -1,331 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"sections": [
|
|
3
|
-
{
|
|
4
|
-
"key": "overview",
|
|
5
|
-
"title": "Overview",
|
|
6
|
-
"description": "What Canopy is and how it works, in plain language.",
|
|
7
|
-
"topics": [
|
|
8
|
-
{
|
|
9
|
-
"slug": "overview-what-is-canopy",
|
|
10
|
-
"title": "What is Canopy?",
|
|
11
|
-
"summary": "A fully managed home for vibecoded Monks projects — hosting, sign-in, data, files, and AI, all set up before your first prompt."
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"slug": "overview-use-cases",
|
|
15
|
-
"title": "Use cases",
|
|
16
|
-
"summary": "What kinds of projects belong on Canopy — and which ones should live somewhere else."
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"slug": "overview-how-it-works",
|
|
20
|
-
"title": "How it works",
|
|
21
|
-
"summary": "The life of a Canopy project in plain words — create, build, deploy, roll back."
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"slug": "overview-faq",
|
|
25
|
-
"title": "FAQ",
|
|
26
|
-
"summary": "Quick answers to the questions people ask before (and just after) putting a project on Canopy."
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"key": "guides",
|
|
32
|
-
"title": "Guides",
|
|
33
|
-
"description": "Hands-on walkthroughs — build, ship, and operate a project.",
|
|
34
|
-
"topics": [
|
|
35
|
-
{
|
|
36
|
-
"slug": "getting-started",
|
|
37
|
-
"title": "Getting started",
|
|
38
|
-
"summary": "Install the CLI, sign in with OneLogin, and ship your first project."
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"slug": "dev",
|
|
42
|
-
"title": "Local development",
|
|
43
|
-
"summary": "Running a project locally against live or sandboxed data."
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"slug": "deploy",
|
|
47
|
-
"title": "Deploying a project",
|
|
48
|
-
"summary": "How canopy deploy builds, uploads, and makes a version live."
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"slug": "staging",
|
|
52
|
-
"title": "Staging & promoting",
|
|
53
|
-
"summary": "Deploy to a safe copy of your project first — own database cloned from live — then promote the exact same version."
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"slug": "data",
|
|
57
|
-
"title": "Working with project data",
|
|
58
|
-
"summary": "Pulling, snapshotting, and restoring your project database."
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"slug": "migrations",
|
|
62
|
-
"title": "Migrations & Drizzle",
|
|
63
|
-
"summary": "Evolve your own tables with versioned SQL migrations — generated by Drizzle or written by hand — applied safely by canopy deploy."
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"slug": "ci",
|
|
67
|
-
"title": "CI and deploy tokens",
|
|
68
|
-
"summary": "Push-to-main deploys using a project-scoped deploy token."
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"slug": "porting-nextjs",
|
|
72
|
-
"title": "Porting a Next.js app",
|
|
73
|
-
"summary": "How to restructure a Next.js (App Router) project so it runs on Canopy."
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"slug": "cli",
|
|
77
|
-
"title": "CLI command reference",
|
|
78
|
-
"summary": "Every canopy command, its flags, and what it does."
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"slug": "static-serving",
|
|
82
|
-
"title": "How static files are served",
|
|
83
|
-
"summary": "The full path a browser request takes to a deployed file."
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"slug": "infrastructure",
|
|
87
|
-
"title": "Infrastructure as code",
|
|
88
|
-
"summary": "Terraform for the account-level Cloudflare pieces Canopy needs."
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"slug": "troubleshooting",
|
|
92
|
-
"title": "Troubleshooting",
|
|
93
|
-
"summary": "Common errors and how to resolve them."
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"key": "platform",
|
|
99
|
-
"title": "Platform",
|
|
100
|
-
"description": "Each platform feature explained in depth.",
|
|
101
|
-
"topics": [
|
|
102
|
-
{
|
|
103
|
-
"slug": "platform-deploys-and-rollbacks",
|
|
104
|
-
"title": "Deploys & rollbacks",
|
|
105
|
-
"summary": "Every deploy is a numbered version you can preview, download, and make live again — rolling back is instant and loses nothing."
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"slug": "platform-project-data",
|
|
109
|
-
"title": "Project data",
|
|
110
|
-
"summary": "Every project gets its own private database and file storage — browse it in the dashboard, snapshot it before risky changes, and pull it locally."
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"slug": "platform-schedules",
|
|
114
|
-
"title": "Schedules",
|
|
115
|
-
"summary": "Run named cron jobs in your project's backend — configured in the dashboard, so you can change the cadence without redeploying."
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"slug": "platform-egress",
|
|
119
|
-
"title": "Outbound requests",
|
|
120
|
-
"summary": "Which external hosts your project's backend may fetch — a per-project allowlist you manage yourself."
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"slug": "platform-ai-usage",
|
|
124
|
-
"title": "AI access & usage",
|
|
125
|
-
"summary": "Projects talk to AI models through the platform — no API keys to manage, a hard daily budget per project, and full visibility of spend."
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"slug": "platform-members-and-access",
|
|
129
|
-
"title": "Members & access",
|
|
130
|
-
"summary": "Everything on Canopy sits behind Monks sign-in. Collaborators manage a project; other Monks can view the live app — unless you tighten it."
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"slug": "platform-feedback",
|
|
134
|
-
"title": "Feedback & bug reports",
|
|
135
|
-
"summary": "A built-in feedback widget on every project, a ticket-lite inbox behind it, and a CLI that lets agents work the backlog."
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"slug": "platform-client-access",
|
|
139
|
-
"title": "Client access",
|
|
140
|
-
"summary": "Share a project with clients who have no Monks account — a shared password unlocks that one project's URL and nothing else."
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"slug": "platform-sites-and-profiles",
|
|
144
|
-
"title": "Sites & profiles",
|
|
145
|
-
"summary": "Canopy runs as more than one installation. Most people only ever use main — here's what the others are and how the CLI keeps them straight."
|
|
146
|
-
}
|
|
147
|
-
]
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"key": "cli",
|
|
151
|
-
"title": "CLI reference",
|
|
152
|
-
"description": "Every canopy command: usage, flags, and examples.",
|
|
153
|
-
"topics": [
|
|
154
|
-
{
|
|
155
|
-
"slug": "cli-index",
|
|
156
|
-
"title": "Installing the CLI",
|
|
157
|
-
"summary": "Install the canopy CLI, sign in, and learn the conventions every command shares."
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"slug": "cli-login",
|
|
161
|
-
"title": "canopy login",
|
|
162
|
-
"summary": "Sign in to Canopy through OneLogin in your browser and store CLI tokens for every site."
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"slug": "cli-whoami",
|
|
166
|
-
"title": "canopy whoami",
|
|
167
|
-
"summary": "Show which account and site the CLI is currently talking to, and whether your token is still valid."
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"slug": "cli-logout",
|
|
171
|
-
"title": "canopy logout",
|
|
172
|
-
"summary": "Sign out of Canopy by removing all locally stored CLI tokens."
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"slug": "cli-create",
|
|
176
|
-
"title": "canopy create",
|
|
177
|
-
"summary": "Register a new project on Canopy and scaffold it locally from a starter template."
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"slug": "cli-init",
|
|
181
|
-
"title": "canopy init",
|
|
182
|
-
"summary": "Set up a local folder for a project that already exists on Canopy — scaffold a starter or link an existing app."
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"slug": "cli-projects",
|
|
186
|
-
"title": "canopy projects",
|
|
187
|
-
"summary": "List your Canopy projects with their status, role, and live URLs."
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"slug": "cli-delete",
|
|
191
|
-
"title": "canopy delete",
|
|
192
|
-
"summary": "Permanently delete a Canopy project — its deploys, database, and files."
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"slug": "cli-dev",
|
|
196
|
-
"title": "canopy dev",
|
|
197
|
-
"summary": "Run your project locally with a Vite dev server, against live platform data or a local sandbox."
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"slug": "cli-deploy",
|
|
201
|
-
"title": "canopy deploy",
|
|
202
|
-
"summary": "Build the project and push a new version live, from your machine or from CI."
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"slug": "cli-promote",
|
|
206
|
-
"title": "canopy promote",
|
|
207
|
-
"summary": "Make the staged version live — migrations replay against the live database first, then the exact staged artifacts go live."
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"slug": "cli-staging",
|
|
211
|
-
"title": "canopy staging",
|
|
212
|
-
"summary": "Inspect, refresh, or tear down the project's staging channel."
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"slug": "cli-rollback",
|
|
216
|
-
"title": "canopy rollback",
|
|
217
|
-
"summary": "Make an earlier deploy live again by moving the live pointer to a previous version."
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"slug": "cli-download",
|
|
221
|
-
"title": "canopy download",
|
|
222
|
-
"summary": "Download the deployed files of any version of a project as a zip archive."
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"slug": "cli-token",
|
|
226
|
-
"title": "canopy token",
|
|
227
|
-
"summary": "Create, list, and revoke project-scoped deploy tokens for CI and push-to-main deploys."
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"slug": "cli-egress",
|
|
231
|
-
"title": "canopy egress",
|
|
232
|
-
"summary": "Manage which outbound hosts the project's backend worker may fetch."
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"slug": "cli-db",
|
|
236
|
-
"title": "canopy db",
|
|
237
|
-
"summary": "Pull, snapshot, list, restore, and migrate a project's database from the terminal."
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"slug": "cli-logs",
|
|
241
|
-
"title": "canopy logs",
|
|
242
|
-
"summary": "Read your project worker's logs (console output) from the terminal — no cloud console access needed."
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"slug": "cli-usage",
|
|
246
|
-
"title": "canopy usage",
|
|
247
|
-
"summary": "Show a project's AI spend, storage footprint, and deploy count from the terminal."
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"slug": "cli-feedback",
|
|
251
|
-
"title": "canopy feedback",
|
|
252
|
-
"summary": "Read and triage a project's feedback inbox, or file a bug/feedback report — against a project or against Canopy itself."
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"slug": "cli-open",
|
|
256
|
-
"title": "canopy open",
|
|
257
|
-
"summary": "Open the deployed project in your browser."
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"slug": "cli-docs",
|
|
261
|
-
"title": "canopy docs",
|
|
262
|
-
"summary": "Read the Canopy docs from the terminal — live from the platform, with offline fallbacks."
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"slug": "cli-skill",
|
|
266
|
-
"title": "canopy skill",
|
|
267
|
-
"summary": "Install the Canopy agent skill into a repo so coding agents know how to drive the platform."
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"slug": "cli-upgrade",
|
|
271
|
-
"title": "canopy upgrade",
|
|
272
|
-
"summary": "Update the Canopy CLI to the latest published version, using the installer that put it there."
|
|
273
|
-
}
|
|
274
|
-
]
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
"key": "sdk",
|
|
278
|
-
"title": "SDK reference",
|
|
279
|
-
"description": "The typed client your project code uses — auth, data, files, AI, services.",
|
|
280
|
-
"topics": [
|
|
281
|
-
{
|
|
282
|
-
"slug": "sdk",
|
|
283
|
-
"title": "Using the SDK",
|
|
284
|
-
"summary": "One typed client for auth, data, files, AI, and services — no keys, no connection strings, the platform authenticates for you."
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"slug": "sdk-auth",
|
|
288
|
-
"title": "Auth",
|
|
289
|
-
"summary": "Read who the platform signed in — you never build a login screen."
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"slug": "sdk-database",
|
|
293
|
-
"title": "Database",
|
|
294
|
-
"summary": "Document-style collections on your project's private database, plus a raw SQL escape hatch."
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"slug": "sdk-files",
|
|
298
|
-
"title": "Files",
|
|
299
|
-
"summary": "Upload, download, and list files on your project's private blob storage."
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
"slug": "sdk-ai",
|
|
303
|
-
"title": "AI",
|
|
304
|
-
"summary": "Metered LLM access through the project's budget-capped gateway key — chat, streaming, and an OpenAI-compatible endpoint."
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"slug": "sdk-services",
|
|
308
|
-
"title": "Services",
|
|
309
|
-
"summary": "Curated internal data services, invoked through the platform's connector — auth handled for you."
|
|
310
|
-
}
|
|
311
|
-
]
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"key": "developers",
|
|
315
|
-
"title": "For developers",
|
|
316
|
-
"description": "Architecture and building with agents.",
|
|
317
|
-
"topics": [
|
|
318
|
-
{
|
|
319
|
-
"slug": "developers-architecture",
|
|
320
|
-
"title": "How the platform serves your project",
|
|
321
|
-
"summary": "What happens between a browser and your deployed code — auth wall, static assets, the optional backend worker, and where data lives."
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"slug": "developers-agents-and-ai",
|
|
325
|
-
"title": "Building with agents",
|
|
326
|
-
"summary": "Teach your coding agent Canopy — the agent skill, offline docs, template guardrails, and prompts that work."
|
|
327
|
-
}
|
|
328
|
-
]
|
|
329
|
-
}
|
|
330
|
-
]
|
|
331
|
-
}
|