@remotehost/cli 1.0.0 → 1.0.1

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 (2) hide show
  1. package/dist/index.js +306 -64
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -47431,6 +47431,27 @@ async function sleepSandbox(token, sandboxId) {
47431
47431
  });
47432
47432
  return mapSandbox(body.sandbox);
47433
47433
  }
47434
+ async function getSandbox(token, sandboxId) {
47435
+ const body = await request(token, `/v1/sandboxes/${sandboxId}`);
47436
+ return mapSandbox(body.sandbox);
47437
+ }
47438
+ async function waitForSleep(token, sandbox) {
47439
+ const startedAt = Date.now();
47440
+ let current = sandbox;
47441
+ let said = false;
47442
+ while (current.status === "stopping" && Date.now() - startedAt + snapshotWait.pollMs <= snapshotWait.timeoutMs) {
47443
+ if (!said && clientSurface !== "tui") {
47444
+ process.stderr.write("Saving the sandbox's snapshot...\n");
47445
+ }
47446
+ said = true;
47447
+ await new Promise((resolve3) => setTimeout(resolve3, snapshotWait.pollMs));
47448
+ try {
47449
+ current = await getSandbox(token, current.id);
47450
+ } catch {
47451
+ }
47452
+ }
47453
+ return current;
47454
+ }
47434
47455
  var snapshotWait = { timeoutMs: 18e4, pollMs: 1e3 };
47435
47456
  async function wakeSandbox(token, sandboxId) {
47436
47457
  const startedAt = Date.now();
@@ -48604,6 +48625,155 @@ function usageFeeVersionInForce(schedule, at3) {
48604
48625
  return inForce?.version ?? null;
48605
48626
  }
48606
48627
 
48628
+ // ../pricing/dist/terms.js
48629
+ var terms = {
48630
+ app: {
48631
+ id: "app",
48632
+ singular: "app",
48633
+ plural: "apps",
48634
+ description: "A user-facing module, such as Issues, Repos, CRM, Mail or Calendar, with its data and API behind it.",
48635
+ // Apps (Matt, 2026-11-01): what were "context backends". "App backend"
48636
+ // is not retired: it is the engineering name for an app's server half,
48637
+ // its data and API, which the sync protocol and its clients use.
48638
+ retired: ["context backend"]
48639
+ },
48640
+ client: {
48641
+ id: "client",
48642
+ singular: "client",
48643
+ plural: "clients",
48644
+ description: "A program people use to work with RemoteHost's API and MCP server, such as RemoteHost Atlas, Spatio or the console."
48645
+ },
48646
+ sandbox: {
48647
+ id: "sandbox",
48648
+ singular: "sandbox",
48649
+ plural: "sandboxes",
48650
+ description: "An isolated machine an agent or a person runs code in, started from an environment."
48651
+ },
48652
+ "concurrent-sandbox": {
48653
+ id: "concurrent-sandbox",
48654
+ singular: "sandbox at once",
48655
+ plural: "sandboxes at once",
48656
+ description: "Sandboxes running at the same time, which a plan caps.",
48657
+ aliases: ["concurrent sandbox", "concurrent sandboxes"]
48658
+ },
48659
+ start: {
48660
+ id: "start",
48661
+ singular: "start",
48662
+ plural: "starts",
48663
+ description: "A sandbox created or woken, each one a snapshot restore.",
48664
+ generic: true
48665
+ },
48666
+ hour: {
48667
+ id: "hour",
48668
+ singular: "hour",
48669
+ plural: "hours",
48670
+ description: "An hour of wall-clock time.",
48671
+ generic: true
48672
+ },
48673
+ "machine-hour": {
48674
+ id: "machine-hour",
48675
+ singular: "machine hour",
48676
+ plural: "machine hours",
48677
+ description: "A 4 vCPU, 16 GB sandbox for an hour; smaller sandboxes use less of one.",
48678
+ aliases: ["machine-hour", "machine-hours"]
48679
+ },
48680
+ region: {
48681
+ id: "region",
48682
+ singular: "region",
48683
+ plural: "regions",
48684
+ description: "Where a sandbox physically runs."
48685
+ },
48686
+ environment: {
48687
+ id: "environment",
48688
+ singular: "environment",
48689
+ plural: "environments",
48690
+ description: "A saved setup, an image with its packages and settings, that new sandboxes start from."
48691
+ },
48692
+ volume: {
48693
+ id: "volume",
48694
+ singular: "volume",
48695
+ plural: "volumes",
48696
+ description: "A disk that outlives its sandbox."
48697
+ },
48698
+ snapshot: {
48699
+ id: "snapshot",
48700
+ singular: "snapshot",
48701
+ plural: "snapshots",
48702
+ description: "A saved copy of a volume, to restore it or start new sandboxes from."
48703
+ },
48704
+ "private-network": {
48705
+ id: "private-network",
48706
+ singular: "private network",
48707
+ plural: "private networks",
48708
+ description: "A network between your sandboxes that nothing outside it can reach."
48709
+ },
48710
+ "egress-rule": {
48711
+ id: "egress-rule",
48712
+ singular: "egress rule",
48713
+ plural: "egress rules",
48714
+ description: "A rule for what your sandboxes may reach on the internet."
48715
+ },
48716
+ "preview-url": {
48717
+ id: "preview-url",
48718
+ singular: "preview URL",
48719
+ plural: "preview URLs",
48720
+ description: "A public URL for a port a sandbox serves."
48721
+ },
48722
+ "mcp-server": {
48723
+ id: "mcp-server",
48724
+ singular: "MCP server",
48725
+ plural: "MCP servers",
48726
+ description: "A server that gives agents tools over the Model Context Protocol."
48727
+ },
48728
+ skill: {
48729
+ id: "skill",
48730
+ singular: "skill",
48731
+ plural: "skills",
48732
+ description: "Instructions and files that teach an agent repeatable work."
48733
+ },
48734
+ person: {
48735
+ id: "person",
48736
+ singular: "person",
48737
+ plural: "people",
48738
+ description: "A person.",
48739
+ generic: true
48740
+ },
48741
+ member: {
48742
+ id: "member",
48743
+ singular: "member",
48744
+ plural: "members",
48745
+ description: "A person in your organization, owner included."
48746
+ },
48747
+ "service-account": {
48748
+ id: "service-account",
48749
+ singular: "service account",
48750
+ plural: "service accounts",
48751
+ description: "An org-owned identity for code, such as CI jobs and integrations, that never signs in."
48752
+ },
48753
+ workspace: {
48754
+ id: "workspace",
48755
+ singular: "workspace",
48756
+ plural: "workspaces",
48757
+ description: "Where a team's sandboxes, apps and keys live: Internal for the team, External for a product's customers."
48758
+ },
48759
+ "external-workspace": {
48760
+ id: "external-workspace",
48761
+ singular: "External workspace",
48762
+ plural: "External workspaces",
48763
+ description: "The infrastructure a product of yours runs on, for its customers: its own sandboxes, API keys and end users with per-tenant caps."
48764
+ }
48765
+ };
48766
+ function termLabel(id, count2) {
48767
+ const term = terms[id];
48768
+ const words = count2 === 1 ? term.singular : term.plural;
48769
+ return words.charAt(0).toUpperCase() + words.slice(1);
48770
+ }
48771
+
48772
+ // ../pricing/dist/format.js
48773
+ function formatStorageGb(gb) {
48774
+ return gb >= 1024 && gb % 1024 === 0 ? `${(gb / 1024).toLocaleString("en-US")} TB` : `${gb.toLocaleString("en-US")} GB`;
48775
+ }
48776
+
48607
48777
  // ../pricing/dist/regions.json
48608
48778
  var regions_default = {
48609
48779
  $schema: "./regions.schema.json",
@@ -48612,10 +48782,12 @@ var regions_default = {
48612
48782
  {
48613
48783
  id: "eu-central",
48614
48784
  aliases: [],
48615
- sites: [
48616
- { city: "Limburg", country: "Germany" },
48617
- { city: "Gravelines", country: "France" }
48618
- ]
48785
+ sites: [{ city: "Limburg", country: "Germany" }]
48786
+ },
48787
+ {
48788
+ id: "eu-west",
48789
+ aliases: [],
48790
+ sites: [{ city: "Gravelines", country: "France" }]
48619
48791
  },
48620
48792
  {
48621
48793
  id: "us-east",
@@ -48790,6 +48962,20 @@ var pricingCatalog = {
48790
48962
  isDefault: true,
48791
48963
  available: true
48792
48964
  },
48965
+ // The France site: its own region since it is its own jurisdiction
48966
+ // (REM-5521). Available since production's firecracker-eu-4 (gra3) is
48967
+ // tagged eu-west (REM-5523).
48968
+ "eu-west": {
48969
+ id: "eu-west",
48970
+ label: siteName("eu-west"),
48971
+ locations: siteCities("eu-west"),
48972
+ substrate: "ovh-dedicated",
48973
+ cogsCentsPerStandardMachineHour: standardMachineHourCogsCents,
48974
+ machineHourCents: computeRateCentsPerMachineHour,
48975
+ machineHourCentsPerBillingProfile: computeRateCentsPerBillingProfileMachineHour,
48976
+ isDefault: false,
48977
+ available: true
48978
+ },
48793
48979
  "us-east": {
48794
48980
  id: "us-east",
48795
48981
  // us-east -- what every provider calls this, and
@@ -49043,6 +49229,9 @@ var pricingCatalog = {
49043
49229
  // 1 TB (Matt, 2026-10-30). PROPOSED: enforced nowhere yet; a full TB
49044
49230
  // costs about $8 (OVH Object Storage) to $15 (R2) a month.
49045
49231
  includedStorageGb: 1024,
49232
+ // Advertised on every plan (REM-5381); nothing enforces either yet.
49233
+ privateNetworks: 3,
49234
+ hostedMcpServers: 5,
49046
49235
  dedicatedSandboxPool: false,
49047
49236
  auditLogs: false,
49048
49237
  sso: false,
@@ -49108,6 +49297,9 @@ var pricingCatalog = {
49108
49297
  // 2 TB (Matt, 2026-10-30). PROPOSED: enforced nowhere yet; a full TB
49109
49298
  // costs about $8 (OVH Object Storage) to $15 (R2) a month.
49110
49299
  includedStorageGb: 2048,
49300
+ // Advertised on every plan (REM-5381); nothing enforces either yet.
49301
+ privateNetworks: 3,
49302
+ hostedMcpServers: 5,
49111
49303
  dedicatedSandboxPool: false,
49112
49304
  auditLogs: false,
49113
49305
  sso: false,
@@ -49163,6 +49355,9 @@ var pricingCatalog = {
49163
49355
  // 4 TB (Matt, 2026-10-30). PROPOSED: enforced nowhere yet; a full TB
49164
49356
  // costs about $8 (OVH Object Storage) to $15 (R2) a month.
49165
49357
  includedStorageGb: 4096,
49358
+ // Advertised on every plan (REM-5381); nothing enforces either yet.
49359
+ privateNetworks: 3,
49360
+ hostedMcpServers: 5,
49166
49361
  dedicatedSandboxPool: false,
49167
49362
  auditLogs: false,
49168
49363
  sso: false,
@@ -49222,6 +49417,9 @@ var pricingCatalog = {
49222
49417
  // 1 TB (Matt, 2026-10-30). PROPOSED: enforced nowhere yet; a full TB
49223
49418
  // costs about $8 (OVH Object Storage) to $15 (R2) a month.
49224
49419
  includedStorageGb: 1024,
49420
+ // Advertised on every plan (REM-5381); nothing enforces either yet.
49421
+ privateNetworks: 3,
49422
+ hostedMcpServers: 5,
49225
49423
  dedicatedSandboxPool: true,
49226
49424
  auditLogs: true,
49227
49425
  sso: false,
@@ -49285,6 +49483,9 @@ var pricingCatalog = {
49285
49483
  // else no cap.
49286
49484
  serviceAccounts: null,
49287
49485
  includedStorageGb: null,
49486
+ // Advertised on every plan (REM-5381); nothing enforces either yet.
49487
+ privateNetworks: 3,
49488
+ hostedMcpServers: 5,
49288
49489
  dedicatedSandboxPool: true,
49289
49490
  auditLogs: true,
49290
49491
  sso: true,
@@ -49303,6 +49504,7 @@ var pricingCatalog = {
49303
49504
  }
49304
49505
  },
49305
49506
  trialStartLimits,
49507
+ terms,
49306
49508
  // Add-on prices by price key (the store design's section 5.1). No amounts
49307
49509
  // anywhere: they are Matt's, and will live in Stripe and Metronome. Claims
49308
49510
  // is included in every paid plan (includedAddons above) and never sold on
@@ -49412,20 +49614,27 @@ var pricingCatalog = {
49412
49614
  rows: [
49413
49615
  {
49414
49616
  id: "machine-hours",
49415
- label: "Machine hours",
49617
+ term: "machine-hour",
49618
+ label: termLabel("machine-hour"),
49416
49619
  icon: "compute",
49417
49620
  status: "live",
49418
- value: { kind: "entitlement", key: "includedMachineHours", format: "{n} a month" },
49621
+ value: {
49622
+ kind: "entitlement",
49623
+ key: "includedMachineHours",
49624
+ style: "per-month",
49625
+ whenNull: "omit"
49626
+ },
49419
49627
  // A free allowance to try it with, as Modal's, Daytona's and
49420
49628
  // E2B's free credit gives. PROPOSED.
49421
49629
  trial: "100 free"
49422
49630
  },
49423
49631
  {
49424
49632
  id: "sandboxes-at-once",
49425
- label: "Sandboxes at once",
49633
+ term: "concurrent-sandbox",
49634
+ label: termLabel("concurrent-sandbox"),
49426
49635
  icon: "sandboxes",
49427
49636
  status: "live",
49428
- value: { kind: "entitlement", key: "includedConcurrentSandboxes", format: "{n}" },
49637
+ value: { kind: "entitlement", key: "includedConcurrentSandboxes", whenNull: "omit" },
49429
49638
  trial: count(trialStartLimits.concurrentSandboxes)
49430
49639
  },
49431
49640
  {
@@ -49433,7 +49642,7 @@ var pricingCatalog = {
49433
49642
  label: "Starts a day",
49434
49643
  icon: "sandboxes",
49435
49644
  status: "live",
49436
- value: { kind: "entitlement", key: "startsPerDay", format: "{n}" },
49645
+ value: { kind: "entitlement", key: "startsPerDay", whenNull: "omit" },
49437
49646
  trial: count(trialStartLimits.startsPerDay)
49438
49647
  },
49439
49648
  {
@@ -49446,14 +49655,17 @@ var pricingCatalog = {
49446
49655
  value: {
49447
49656
  kind: "entitlement",
49448
49657
  key: "maxSessionHours",
49449
- format: "Up to {n} hours",
49450
- nullText: "Until you stop it",
49658
+ style: "up-to",
49659
+ term: "hour",
49660
+ whenNull: "unlimited",
49661
+ unlimitedText: "Until you stop it",
49451
49662
  byPlan: { enterprise: null }
49452
49663
  }
49453
49664
  },
49454
49665
  {
49455
49666
  id: "regions",
49456
- label: "Regions",
49667
+ term: "region",
49668
+ label: termLabel("region"),
49457
49669
  icon: "region",
49458
49670
  status: "live",
49459
49671
  value: { kind: "regions" }
@@ -49511,10 +49723,11 @@ var pricingCatalog = {
49511
49723
  rows: [
49512
49724
  {
49513
49725
  id: "environments",
49514
- label: "Environments",
49726
+ term: "environment",
49727
+ label: termLabel("environment"),
49515
49728
  icon: "environments",
49516
49729
  status: "live",
49517
- value: { kind: "text", all: "Unlimited" }
49730
+ value: { kind: "quantity", quantity: "unlimited" }
49518
49731
  }
49519
49732
  ]
49520
49733
  },
@@ -49535,24 +49748,26 @@ var pricingCatalog = {
49535
49748
  value: {
49536
49749
  kind: "entitlement",
49537
49750
  key: "includedStorageGb",
49538
- format: "{size}",
49539
- nullText: "Custom"
49751
+ style: "size",
49752
+ whenNull: "custom"
49540
49753
  },
49541
- trial: "10 GB"
49754
+ trial: formatStorageGb(10)
49542
49755
  },
49543
49756
  {
49544
49757
  id: "volumes",
49545
- label: "Volumes",
49758
+ term: "volume",
49759
+ label: termLabel("volume"),
49546
49760
  icon: "storage",
49547
49761
  status: "planned",
49548
- value: { kind: "text", all: "Uses your storage" }
49762
+ value: { kind: "storage" }
49549
49763
  },
49550
49764
  {
49551
49765
  id: "snapshots",
49552
- label: "Snapshots",
49766
+ term: "snapshot",
49767
+ label: termLabel("snapshot"),
49553
49768
  icon: "snapshots",
49554
49769
  status: "live",
49555
- value: { kind: "text", all: "Uses your storage" }
49770
+ value: { kind: "storage" }
49556
49771
  },
49557
49772
  {
49558
49773
  // Boat keeps them 14 days. Not built.
@@ -49574,14 +49789,20 @@ var pricingCatalog = {
49574
49789
  label: "Networks",
49575
49790
  icon: "network",
49576
49791
  status: "live",
49577
- value: { kind: "text", all: "3 private networks" }
49792
+ value: {
49793
+ kind: "entitlement",
49794
+ key: "privateNetworks",
49795
+ term: "private-network",
49796
+ whenNull: "custom"
49797
+ }
49578
49798
  },
49579
49799
  {
49580
49800
  id: "egress-rules",
49581
- label: "Egress rules",
49801
+ term: "egress-rule",
49802
+ label: termLabel("egress-rule"),
49582
49803
  icon: "egress",
49583
49804
  status: "live",
49584
- value: { kind: "text", all: "Unlimited" }
49805
+ value: { kind: "quantity", quantity: "unlimited" }
49585
49806
  },
49586
49807
  {
49587
49808
  // Free, as Boat's (Matt, 2026-10-30); OVH includes most egress,
@@ -49594,10 +49815,11 @@ var pricingCatalog = {
49594
49815
  },
49595
49816
  {
49596
49817
  id: "preview-urls",
49597
- label: "Preview URLs",
49818
+ term: "preview-url",
49819
+ label: termLabel("preview-url"),
49598
49820
  icon: "link",
49599
49821
  status: "live",
49600
- value: { kind: "text", all: "Unlimited" }
49822
+ value: { kind: "quantity", quantity: "unlimited" }
49601
49823
  }
49602
49824
  ]
49603
49825
  },
@@ -49611,7 +49833,12 @@ var pricingCatalog = {
49611
49833
  label: "MCP hosting",
49612
49834
  icon: "mcp-hosting",
49613
49835
  status: "live",
49614
- value: { kind: "text", all: "5 servers" }
49836
+ value: {
49837
+ kind: "entitlement",
49838
+ key: "hostedMcpServers",
49839
+ term: "mcp-server",
49840
+ whenNull: "custom"
49841
+ }
49615
49842
  },
49616
49843
  {
49617
49844
  // As good as Replit, Warp and Devin's bundled usage (Matt,
@@ -49641,21 +49868,24 @@ var pricingCatalog = {
49641
49868
  rows: [
49642
49869
  {
49643
49870
  id: "skills",
49644
- label: "Skills",
49871
+ term: "skill",
49872
+ label: termLabel("skill"),
49645
49873
  icon: "skills",
49646
49874
  status: "live",
49647
- value: { kind: "text", all: "Unlimited" }
49875
+ value: { kind: "quantity", quantity: "unlimited" }
49648
49876
  }
49649
49877
  ]
49650
49878
  },
49651
49879
  {
49652
- // The apps that come with every plan (Matt, 2026-10-30), each a
49880
+ // The clients that come with every plan (Matt, 2026-10-30), each a
49653
49881
  // client of the plan's own infrastructure; the note says anyone can
49654
- // build one the same way.
49655
- id: "apps",
49656
- heading: "Apps",
49657
- about: "Atlas is the agent development environment, for developers; Spatio is the workspace app for your whole team; RemoteHost for macOS and iOS manages your cloud and your context backends' data from your desktop and your phone. All are clients of the same RemoteHost infrastructure this plan gives you: its sandboxes, context backends, API and MCP server. Build your own client on it the same way.",
49658
- note: "Each lets you work with your agents and see the data in your active context backends. All are built on the same RemoteHost API and MCP server this plan includes.",
49882
+ // build one the same way. This section was headed "Apps" until Apps
49883
+ // came to mean the modules below (Matt, 2026-11-01; REM-5381).
49884
+ id: "clients",
49885
+ term: "client",
49886
+ heading: termLabel("client"),
49887
+ about: "Atlas is the agent development environment, for developers; Spatio is the workspace app for your whole team; RemoteHost for macOS and iOS manages your cloud and your apps' data from your desktop and your phone. All are clients of the same RemoteHost infrastructure this plan gives you: its sandboxes, apps, API and MCP server. Build your own client on it the same way.",
49888
+ note: "Each lets you work with your agents and see the data in your active apps. All are built on the same RemoteHost API and MCP server this plan includes.",
49659
49889
  noteLink: "Build your own client",
49660
49890
  rows: [
49661
49891
  {
@@ -49674,7 +49904,7 @@ var pricingCatalog = {
49674
49904
  },
49675
49905
  {
49676
49906
  // Coming (Matt, 2026-10-30): the console as a desktop app, and on
49677
- // iOS, where you manage the cloud and the context backends' data.
49907
+ // iOS, where you manage the cloud and the apps' data.
49678
49908
  id: "remotehost-apps",
49679
49909
  label: "RemoteHost for macOS and iOS",
49680
49910
  icon: "remotehost",
@@ -49684,15 +49914,17 @@ var pricingCatalog = {
49684
49914
  ]
49685
49915
  },
49686
49916
  {
49687
- // Every context backend, Issues and those the console sidebar's Add
49688
- // backend lists too: all of them ship with the plans (Matt,
49689
- // 2026-10-30). Issues follows Linear: its free plan stops at 250
49690
- // issues and its $10 Basic has none, so a $20 plan has no cap either.
49917
+ // Every app, Issues and those the console sidebar's Add app lists
49918
+ // too: all of them ship with the plans (Matt, 2026-10-30). Apps were
49919
+ // "Context Backends" until Matt named them (2026-11-01; REM-5381).
49920
+ // Issues follows Linear: its free plan stops at 250 issues and its
49921
+ // $10 Basic has none, so a $20 plan has no cap either.
49691
49922
  // Unlimited where a rival gives as much free: Attio Free holds 50,000
49692
49923
  // records, Nylas Free 5 mail and calendar accounts, Teller 100 live
49693
49924
  // connections, and the Slack and Teams APIs cost nothing.
49694
- id: "context-backends",
49695
- heading: "Context Backends",
49925
+ id: "apps",
49926
+ term: "app",
49927
+ heading: termLabel("app"),
49696
49928
  about: "Hosted data your agents read and write, such as issues, repos, email and docs, through one API and MCP server, with a view of it for you in the console and in RemoteHost Atlas.",
49697
49929
  rows: [
49698
49930
  {
@@ -49700,74 +49932,74 @@ var pricingCatalog = {
49700
49932
  label: "Issues",
49701
49933
  icon: "issues",
49702
49934
  status: "live",
49703
- value: { kind: "text", all: "Unlimited" }
49935
+ value: { kind: "quantity", quantity: "unlimited" }
49704
49936
  },
49705
49937
  {
49706
49938
  id: "repos",
49707
49939
  label: "Repos",
49708
49940
  icon: "repos",
49709
49941
  status: "live",
49710
- value: { kind: "text", all: "Unlimited, uses your storage" }
49942
+ value: { kind: "quantity", quantity: "unlimited", usesStorage: true }
49711
49943
  },
49712
49944
  {
49713
49945
  id: "messaging",
49714
49946
  label: "Messaging",
49715
49947
  icon: "messaging",
49716
49948
  status: "planned",
49717
- value: { kind: "text", all: "Unlimited" }
49949
+ value: { kind: "quantity", quantity: "unlimited" }
49718
49950
  },
49719
49951
  {
49720
49952
  id: "email",
49721
49953
  label: "Email",
49722
49954
  icon: "email",
49723
49955
  status: "planned",
49724
- value: { kind: "text", all: "Unlimited" }
49956
+ value: { kind: "quantity", quantity: "unlimited" }
49725
49957
  },
49726
49958
  {
49727
49959
  id: "calendar",
49728
49960
  label: "Calendar",
49729
49961
  icon: "calendar",
49730
49962
  status: "planned",
49731
- value: { kind: "text", all: "Unlimited" }
49963
+ value: { kind: "quantity", quantity: "unlimited" }
49732
49964
  },
49733
49965
  {
49734
49966
  id: "docs",
49735
49967
  label: "Docs",
49736
49968
  icon: "docs",
49737
49969
  status: "planned",
49738
- value: { kind: "text", all: "Unlimited" }
49970
+ value: { kind: "quantity", quantity: "unlimited" }
49739
49971
  },
49740
49972
  {
49741
49973
  id: "tasks",
49742
49974
  label: "Tasks",
49743
49975
  icon: "tasks",
49744
49976
  status: "planned",
49745
- value: { kind: "text", all: "Unlimited" }
49977
+ value: { kind: "quantity", quantity: "unlimited" }
49746
49978
  },
49747
49979
  {
49748
49980
  id: "files",
49749
49981
  label: "Files",
49750
49982
  icon: "files",
49751
49983
  status: "planned",
49752
- value: { kind: "text", all: "Uses your storage" }
49984
+ value: { kind: "storage" }
49753
49985
  },
49754
49986
  {
49755
49987
  id: "crm",
49756
49988
  label: "CRM",
49757
49989
  icon: "crm",
49758
49990
  status: "planned",
49759
- value: { kind: "text", all: "Unlimited" }
49991
+ value: { kind: "quantity", quantity: "unlimited" }
49760
49992
  },
49761
49993
  {
49762
49994
  id: "finance",
49763
49995
  label: "Finance",
49764
49996
  icon: "finance",
49765
49997
  status: "planned",
49766
- value: { kind: "text", all: "Unlimited" }
49998
+ value: { kind: "quantity", quantity: "unlimited" }
49767
49999
  },
49768
50000
  {
49769
- // A backend of one's own on the same API (Matt, 2026-10-30), as
49770
- // Apps says of clients. Not built yet; it ships with the backends.
50001
+ // An app of one's own on the same API (Matt, 2026-10-30), as
50002
+ // Clients says of clients. Not built yet; it ships with the apps.
49771
50003
  id: "your-own",
49772
50004
  label: "Your own",
49773
50005
  icon: "add",
@@ -49780,7 +50012,7 @@ var pricingCatalog = {
49780
50012
  label: "Triggers",
49781
50013
  icon: "usage",
49782
50014
  status: "planned",
49783
- value: { kind: "text", all: "Unlimited" }
50015
+ value: { kind: "quantity", quantity: "unlimited" }
49784
50016
  }
49785
50017
  ]
49786
50018
  },
@@ -49794,10 +50026,11 @@ var pricingCatalog = {
49794
50026
  rows: [
49795
50027
  {
49796
50028
  id: "external-workspaces",
49797
- label: "External workspaces",
50029
+ term: "external-workspace",
50030
+ label: termLabel("external-workspace"),
49798
50031
  icon: "end-users",
49799
50032
  status: "live",
49800
- value: { kind: "text", all: "Unlimited" }
50033
+ value: { kind: "quantity", quantity: "unlimited" }
49801
50034
  }
49802
50035
  ]
49803
50036
  },
@@ -49819,13 +50052,16 @@ var pricingCatalog = {
49819
50052
  // (Matt, 2026-10-30). Business counts members by seat; Enterprise
49820
50053
  // adds SSO and self-hosted fleets.
49821
50054
  id: "members",
49822
- label: "Members",
50055
+ term: "member",
50056
+ label: termLabel("member"),
49823
50057
  icon: "end-users",
49824
50058
  status: "planned",
49825
50059
  value: {
49826
50060
  kind: "entitlement",
49827
50061
  key: "includedMembers",
49828
- format: "Up to {n} people",
50062
+ style: "up-to",
50063
+ term: "person",
50064
+ whenNull: "omit",
49829
50065
  byPlan: {
49830
50066
  team: "Included \xB7 SSO add-on",
49831
50067
  enterprise: "Plus SSO, self-hosted fleets"
@@ -49836,14 +50072,14 @@ var pricingCatalog = {
49836
50072
  // The cap the API enforces (D57, REM-578): Starter 3, Pro 3, Max 5,
49837
50073
  // Business 25, Enterprise per contract.
49838
50074
  id: "service-accounts",
49839
- label: "Service accounts",
50075
+ term: "service-account",
50076
+ label: termLabel("service-account"),
49840
50077
  icon: "end-users",
49841
50078
  status: "live",
49842
50079
  value: {
49843
50080
  kind: "entitlement",
49844
50081
  key: "serviceAccounts",
49845
- format: "{n}",
49846
- nullText: "Custom"
50082
+ whenNull: "custom"
49847
50083
  }
49848
50084
  },
49849
50085
  {
@@ -66171,8 +66407,14 @@ async function sleepHost(host) {
66171
66407
  }
66172
66408
  try {
66173
66409
  const sandbox = await resolveSandbox(token, host);
66174
- const sleeping = await sleepSandbox(token, sandbox.id);
66175
- printSandbox(sleeping);
66410
+ const slept = await waitForSleep(token, await sleepSandbox(token, sandbox.id));
66411
+ printSandbox(slept);
66412
+ if (slept.status === "stopping") {
66413
+ process.stderr.write(
66414
+ `${slept.name} is asleep and still saving its snapshot; \`remote wake\` waits for the save to finish.
66415
+ `
66416
+ );
66417
+ }
66176
66418
  } catch (error3) {
66177
66419
  reportError(error3);
66178
66420
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotehost/cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Create, attach to, and manage RemoteHost sandboxes from your terminal.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "homepage": "https://remotehost.ai",