@madewithremy/admin 0.1.26 → 0.1.27

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/prod.js CHANGED
@@ -2236,7 +2236,7 @@ function liftFromLive(ctx, params = {}) {
2236
2236
  // src/commands/data.ts
2237
2237
  var dataSpecs = {
2238
2238
  "data lift-from-dev": {
2239
- usage: "Usage: remy-admin data lift-from-dev <appId> --confirm [--release-id <id>]\nRefusing to run without the exact appId and --confirm: this destructively replaces the live release's databases with a snapshot of dev. Wipes any rows live had \u2014 including signed-up users. Intended for first-publish / pre-launch data sync only.\n--release-id names which of your dev workspaces to lift from, and is required only when you have more than one open (a box and a laptop CLI). The ambiguity error lists the ids.",
2239
+ usage: "Usage: remy-admin data lift-from-dev <appId> --confirm [--release-id <id>]\nRefusing to run without the exact appId and --confirm: this destructively replaces the live release's databases with a snapshot of dev. Wipes any rows live had \u2014 including signed-up users. Intended for first-publish / pre-launch data sync only.\n--release-id names the dev release to lift from; without it, your dev workspace in this app.",
2240
2240
  positionals: [{ name: "appId", required: true }],
2241
2241
  flags: { confirm: { type: "boolean" }, "release-id": { type: "string" } },
2242
2242
  requireAnyOf: {
@@ -2245,7 +2245,7 @@ var dataSpecs = {
2245
2245
  }
2246
2246
  },
2247
2247
  "data lift-from-live": {
2248
- usage: "Usage: remy-admin data lift-from-live [--truncate] --confirm [--release-id <id>]\nRefusing to run without --confirm: this destructively replaces the dev release's databases with a snapshot of live (wiping local dev data). Live/prod data is never touched. With --truncate it instead empties the dev databases (keeps schema, no data pulled from live).\n--release-id names which of your dev workspaces to overwrite, and is required only when you have more than one open.",
2248
+ usage: "Usage: remy-admin data lift-from-live [--truncate] --confirm [--release-id <id>]\nRefusing to run without --confirm: this destructively replaces the dev release's databases with a snapshot of live (wiping local dev data). Live/prod data is never touched. With --truncate it instead empties the dev databases (keeps schema, no data pulled from live).\n--release-id names the dev release to overwrite; without it, your dev workspace in this app.",
2249
2249
  flags: {
2250
2250
  truncate: { type: "boolean" },
2251
2251
  confirm: { type: "boolean" },
@@ -6481,7 +6481,7 @@ var eventsSpecs = {
6481
6481
  }
6482
6482
  },
6483
6483
  "events publish": {
6484
- usage: "Usage: remy-admin events publish <channel> <json> [--scope live]\nPublishes exactly as the app's own events.publish would \u2014 same validation, delivery, and metering.",
6484
+ usage: "Usage: remy-admin events publish <channel> <json> [--scope live]\nPublishes exactly as the app's own events.publish would \u2014 same validation, delivery, and metering. Goes to your own dev session unless --scope says otherwise; --scope live reaches real users.",
6485
6485
  positionals: [
6486
6486
  { name: "channel", required: true },
6487
6487
  { name: "json", required: true }
@@ -6568,18 +6568,21 @@ Notes:
6568
6568
  run from a script.
6569
6569
 
6570
6570
  publish lets a frontend subscriber be verified before the backend trigger
6571
- exists. The response's 'delivered' counts live subscriber connections per
6572
- published channel \u2014 0 means nobody is listening right now, which is normal,
6573
- not an error.
6571
+ exists. It goes to YOUR dev session by default (the preview you're building
6572
+ in); pass --scope live to reach real users' browsers. The response's
6573
+ 'scope' says where it went, and 'delivered' counts live subscriber
6574
+ connections per published channel \u2014 0 means nobody is listening right now,
6575
+ which is normal, not an error.
6574
6576
 
6575
6577
  channels list is the mismatch-finder: a channel with subscribers but no
6576
6578
  recent publish (or the reverse) usually means the frontend and backend spell
6577
6579
  the channel differently. Window is 24h; channels are exact strings \u2014 there
6578
6580
  are no wildcards anywhere in app events.
6579
6581
 
6580
- Scopes: events never cross execution environments. --scope defaults to
6581
- 'live'; use 'dev:<devSessionId>' to inspect a tunnel session's world or
6582
- 'preview:<releaseId>' for a branch preview.`;
6582
+ Scopes: events never cross execution environments. tail and channels list
6583
+ default to 'live', publish to your own dev session; use
6584
+ 'dev:<devSessionId>' for a dev session's world (a publish prints its own)
6585
+ or 'preview:<releaseId>' for a branch preview.`;
6583
6586
 
6584
6587
  // src/ops/jewels.ts
6585
6588
  var JEWEL_RUN_TIMEOUT_MS = 6e5;
@@ -8181,11 +8184,13 @@ Today the one kind is dedicated retrieval: the app's own vector-store capacity
8181
8184
  for data sources, isolated from the shared pool. Sizes and prices come from the
8182
8185
  platform catalog (\`infra list\` prints them); nothing is priced client-side.
8183
8186
 
8184
- A resource bills by the hour from activation, at the retained-storage rate while
8185
- hibernated, and not at all once destroyed. Provisioning (and growing) needs a
8186
- month's worth of credits available in the workspace, checked before the request
8187
- is accepted; nothing is charged until activation. The provision output prints
8188
- the price it committed to. Every action below is audited.
8187
+ A resource bills by the clock hour at the active rate for every hour it is
8188
+ active in, including the hour a resume lands in, and costs nothing while
8189
+ hibernated or once destroyed. Provisioning, growing and resuming need a month's
8190
+ worth of credits available in the workspace, checked before the request is
8191
+ accepted (insufficient_credits); nothing is charged until activation. The
8192
+ provision output prints the price it committed to. Every action below is
8193
+ audited.
8189
8194
 
8190
8195
  Subcommands:
8191
8196
  list Resources on this app, plus the offerings you can provision
@@ -8193,7 +8198,7 @@ Subcommands:
8193
8198
  logs The platform's log for a resource (--follow to keep reading)
8194
8199
  provision Lease a new resource (needs a month's credits; prints the price)
8195
8200
  hibernate Park it: data kept, searches paused, compute charge stops
8196
- resume Bring a hibernated resource back
8201
+ resume Bring a hibernated resource back (needs a month's credits)
8197
8202
  resize Change its size, data intact (passes through hibernated)
8198
8203
  destroy Delete it (refused while data sources are placed on it)
8199
8204
  rename Change the display name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@madewithremy/admin",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "Admin SDK + CLI for managing production Remy apps",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,7 +22,6 @@
22
22
  "build": "tsup",
23
23
  "dev": "tsup --watch",
24
24
  "typecheck": "npm run tsc -- --noEmit",
25
- "lint:fix": "prettier --write ./src",
26
25
  "prepublishOnly": "npm run build",
27
26
  "tsc": "node node_modules/@typescript/native/bin/tsc",
28
27
  "//tsc": "The native TypeScript 7 compiler by explicit path. It (typescript@7 under the @typescript/native alias) and the JS compiler API behind the `typescript` alias — which tsup's dts step needs — both declare a `tsc` bin, so node_modules/.bin/tsc is whichever npm linked last."
@@ -56,7 +55,6 @@
56
55
  "devDependencies": {
57
56
  "@types/node": "^25.3.2",
58
57
  "@typescript/native": "npm:typescript@^7.0.2",
59
- "prettier": "^3.8.1",
60
58
  "tsup": "^8",
61
59
  "tsx": "^4",
62
60
  "typescript": "npm:@typescript/typescript6@^6.0.2"