@rebasepro/cli 0.26.0 → 0.28.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/{agent-setup-D9mHRZ5R.js → agent-setup-0uyfC7VX.js} +3 -3
- package/dist/{agent-setup-D9mHRZ5R.js.map → agent-setup-0uyfC7VX.js.map} +1 -1
- package/dist/{api-keys-CyJ26KEJ.js → api-keys-Dfw5-9s1.js} +23 -2
- package/dist/{api-keys-CyJ26KEJ.js.map → api-keys-Dfw5-9s1.js.map} +1 -1
- package/dist/{apps-CnLDV5b6.js → apps-BpYRGOaM.js} +3 -3
- package/dist/{apps-CnLDV5b6.js.map → apps-BpYRGOaM.js.map} +1 -1
- package/dist/{auth-dII2jCO1.js → auth-DifFaOyq.js} +2 -2
- package/dist/{auth-dII2jCO1.js.map → auth-DifFaOyq.js.map} +1 -1
- package/dist/{build-Cza7ZQrp.js → build-CS-Z75eK.js} +10 -10
- package/dist/build-CS-Z75eK.js.map +1 -0
- package/dist/{bundle-C6yEtMJ-.js → bundle-C0IBCVpV.js} +124 -22
- package/dist/bundle-C0IBCVpV.js.map +1 -0
- package/dist/bundle.d.ts +25 -11
- package/dist/{cloud-BdnmqQaZ.js → cloud-nwWkzAHu.js} +381 -47
- package/dist/cloud-nwWkzAHu.js.map +1 -0
- package/dist/commands/agent-setup.d.ts +2 -0
- package/dist/commands/cloud/auth.d.ts +13 -0
- package/dist/commands/cloud/bundle-deploy.d.ts +8 -15
- package/dist/commands/cloud/context.d.ts +18 -0
- package/dist/commands/cloud/guests.d.ts +11 -0
- package/dist/commands/cloud/index.d.ts +1 -0
- package/dist/commands/cloud/projects.d.ts +4 -0
- package/dist/commands/cloud/resources.d.ts +22 -0
- package/dist/commands/dev.d.ts +12 -0
- package/dist/commands/doctor.d.ts +10 -0
- package/dist/commands/schema-reconcile.d.ts +9 -0
- package/dist/commands/skills.d.ts +3 -0
- package/dist/{context-GUxkZm-S.js → context-DvIUbE-b.js} +39 -5
- package/dist/context-DvIUbE-b.js.map +1 -0
- package/dist/{dev-DTqVMgB3.js → dev-CzOazEHW.js} +17 -3
- package/dist/dev-CzOazEHW.js.map +1 -0
- package/dist/{doctor-BRWOlqeG.js → doctor-BuqSHNrd.js} +45 -26
- package/dist/doctor-BuqSHNrd.js.map +1 -0
- package/dist/doctor-environment.d.ts +7 -19
- package/dist/{fold-static-BnAK-anQ.js → fold-static-BMO8LC01.js} +3 -3
- package/dist/fold-static-BMO8LC01.js.map +1 -0
- package/dist/{generate_sdk-BvcWvoUh.js → generate_sdk-_SQuSbJW.js} +2 -2
- package/dist/{generate_sdk-BvcWvoUh.js.map → generate_sdk-_SQuSbJW.js.map} +1 -1
- package/dist/index.es.js +24 -24
- package/dist/index.es.js.map +1 -1
- package/dist/{init-CaU6GhwI.js → init-CHtpYLlh.js} +5 -4
- package/dist/init-CHtpYLlh.js.map +1 -0
- package/dist/{normalize-imports-D0zXlM6g.js → normalize-imports-BN0fzZS8.js} +2 -2
- package/dist/{normalize-imports-D0zXlM6g.js.map → normalize-imports-BN0fzZS8.js.map} +1 -1
- package/dist/schema-2A0dd-Bv.js +321 -0
- package/dist/schema-2A0dd-Bv.js.map +1 -0
- package/dist/schema-reconcile-C3ToVnHr.js +2 -0
- package/dist/{skills-BU2flMOy.js → skills-CbwV6vw_.js} +170 -5
- package/dist/skills-CbwV6vw_.js.map +1 -0
- package/dist/{start-mVb6upwY.js → start-21GRsZKc.js} +2 -2
- package/dist/{start-mVb6upwY.js.map → start-21GRsZKc.js.map} +1 -1
- package/dist/{storage-DtOXGflp.js → storage-CO9ouK76.js} +2 -2
- package/dist/{storage-DtOXGflp.js.map → storage-CO9ouK76.js.map} +1 -1
- package/dist/utils/bundle-lock.d.ts +9 -0
- package/dist/utils/libpq-url.d.ts +8 -0
- package/dist/utils/root-pointer.d.ts +43 -0
- package/package.json +8 -8
- package/templates/overlays/baas/README.md +2 -2
- package/templates/overlays/baas/ai-instructions.md +3 -2
- package/templates/overlays/baas/package.json +1 -0
- package/templates/overlays/baas/pnpm-workspace.yaml +4 -0
- package/templates/template/.cursorrules +10 -0
- package/templates/template/.env.example +1 -1
- package/templates/template/.github/copilot-instructions.md +10 -0
- package/templates/template/.windsurfrules +10 -0
- package/templates/template/AGENTS.md +10 -0
- package/templates/template/CLAUDE.md +10 -0
- package/templates/template/ai-instructions.md +5 -4
- package/templates/template/pnpm-workspace.yaml +4 -1
- package/dist/build-Cza7ZQrp.js.map +0 -1
- package/dist/bundle-C6yEtMJ-.js.map +0 -1
- package/dist/cloud-BdnmqQaZ.js.map +0 -1
- package/dist/context-GUxkZm-S.js.map +0 -1
- package/dist/dev-DTqVMgB3.js.map +0 -1
- package/dist/doctor-BRWOlqeG.js.map +0 -1
- package/dist/fold-static-BnAK-anQ.js.map +0 -1
- package/dist/init-CaU6GhwI.js.map +0 -1
- package/dist/schema-BSXwZSiI.js +0 -152
- package/dist/schema-BSXwZSiI.js.map +0 -1
- package/dist/skills-BU2flMOy.js.map +0 -1
package/dist/bundle.d.ts
CHANGED
|
@@ -54,6 +54,12 @@ export interface BuildBundleResult {
|
|
|
54
54
|
* not discover during an incident.
|
|
55
55
|
*/
|
|
56
56
|
vendor: VendorResult;
|
|
57
|
+
/**
|
|
58
|
+
* Lets another build of this project start. Until then this run holds
|
|
59
|
+
* `outDir`, and only a caller still reading it needs to call this: the lock
|
|
60
|
+
* goes with the process. See `lockBundleBuild`.
|
|
61
|
+
*/
|
|
62
|
+
release: () => void;
|
|
57
63
|
}
|
|
58
64
|
/**
|
|
59
65
|
* Whether the compiled config package exports a `storageAuthorize` hook.
|
|
@@ -292,19 +298,27 @@ export interface VendorResult {
|
|
|
292
298
|
/** Size of the installed tree on disk, when one was installed. */
|
|
293
299
|
bytes?: number;
|
|
294
300
|
}
|
|
301
|
+
/** What a bundle that installs at boot costs, for whoever says why it does. */
|
|
302
|
+
export declare const UNVENDORED_COST = "They install on every pod start instead, which is ~40-60s of cold start.";
|
|
295
303
|
/**
|
|
296
|
-
*
|
|
304
|
+
* Why a built bundle's dependencies will install at boot, if they will.
|
|
297
305
|
*
|
|
298
|
-
*
|
|
299
|
-
*
|
|
300
|
-
*
|
|
301
|
-
*
|
|
302
|
-
*
|
|
306
|
+
* Both commands that build a bundle read this, because a deploy that skipped
|
|
307
|
+
* vendoring looks exactly like one that did not: it goes live, it is healthy, and
|
|
308
|
+
* only every later pod start is a minute slower. A bundle with nothing to install
|
|
309
|
+
* answers `undefined`: it already starts as fast as a vendored one, and warning
|
|
310
|
+
* about it would train people to ignore the warning that matters.
|
|
311
|
+
*/
|
|
312
|
+
export declare function unvendoredReason(result: Pick<BuildBundleResult, "manifest" | "vendor">): string | undefined;
|
|
313
|
+
/**
|
|
314
|
+
* Where a vendored bundle starts being too big to upload.
|
|
303
315
|
*
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
*
|
|
316
|
+
* The control plane refuses a bundle over 1 GB, and vendoring is the one thing
|
|
317
|
+
* that can push a bundle near it. So the warning is here, at build time, where
|
|
318
|
+
* the remedy is one flag away, rather than at deploy time as a 413 nobody can
|
|
319
|
+
* act on without rebuilding. The threshold sits below the real cap's 2x floor
|
|
320
|
+
* because this measures the tree on disk and the upload is compressed: crossing
|
|
321
|
+
* it means "getting close", not "will fail".
|
|
308
322
|
*/
|
|
309
323
|
export declare const VENDOR_SIZE_WARN_BYTES: number;
|
|
310
324
|
/**
|
|
@@ -317,7 +331,7 @@ export declare const VENDOR_SIZE_WARN_BYTES: number;
|
|
|
317
331
|
* 40–60s of cold start and produces a bundle that uploads; that is the better
|
|
318
332
|
* side of the trade to be on by default.
|
|
319
333
|
*
|
|
320
|
-
*
|
|
334
|
+
* 2 GB assumes a **2x** floor on compression, which is pessimistic for a tree
|
|
321
335
|
* of JavaScript (3–5x is typical) and deliberately so: source maps and prebuilt
|
|
322
336
|
* binaries compress far worse than source, and the failure this prevents is
|
|
323
337
|
* asymmetric — a bundle refused at the door versus a minute of cold start.
|