@reminix/cli 1.0.0-rc.10 → 1.0.0-rc.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/CHANGELOG.md CHANGED
@@ -2,6 +2,51 @@
2
2
 
3
3
  What changed in the Reminix CLI (`@reminix/cli`). Generated from the source on each release; newest first.
4
4
 
5
+ ## 1.0.0-rc.12 (2026-11-14)
6
+
7
+ ### Added
8
+
9
+ - The workspace's audit log (`GET /v1/workspace/audit-events`) records
10
+ `billing.cancellation_undone` when a plan set to cancel is kept after all.
11
+ - The workspace's audit log (`GET /v1/workspace/audit-events`) records more
12
+ events. It now includes the workspace's creation and deletion, a declined
13
+ invitation, and plan changes: `workspace.created`, `workspace.deleted`,
14
+ `workspace.invitation_rejected` and `billing.subscribed`,
15
+ `billing.plan_changed`, `billing.cancellation_scheduled` and
16
+ `billing.subscription_ended`.
17
+ - `GET /v1/workspace/usage` now says where each count stands. Each count
18
+ gains `label`, `state` and `stopsAt`, and `unit` when the plan names
19
+ one. The response gains a `state` for the whole workspace.
20
+ `client.workspace.usage.get()` and the Python client return them. The
21
+ CLI's `workspace usage` prints each count as a sentence that says where
22
+ it stands. Use `--json` for the response as it is.
23
+
24
+ ## 1.0.0-rc.11 (2026-11-13)
25
+
26
+ ### Changed
27
+
28
+ - Publishing (`reminix publish`, `POST /v1/scripts/{slug}/versions`) now
29
+ refuses a command that puts an input inside code given to an interpreter
30
+ on the command line, such as `sh -c 'echo {name}'` or
31
+ `python -c 'print({name})'`, because the interpreter would run the value
32
+ as code. The error shows the safe form, with the input as its own
33
+ argument: `sh -c 'echo "$1"' _ {name}`. Versions published before keep
34
+ running.
35
+ - Triggers have a type. `POST /v1/scripts/{slug}/triggers` takes
36
+ `type: "event"` or `type: "webhook"`. An event trigger's `eventType` is
37
+ now `event`, and a trigger's `filter` is null for a webhook trigger. A
38
+ webhook trigger starts a run when its URL is called with its secret; it
39
+ can take inputs from the call (`inputMode`), lock saved inputs
40
+ (`lockedInputs`) and check a Stripe or GitHub signature (`signature`,
41
+ `signingSecret`). Creating one returns its `url` and `secret`, once.
42
+ `POST /v1/scripts/{slug}/triggers/{triggerId}/rotate-secret` gives a new
43
+ one, and `GET /v1/scripts/{slug}/triggers/{triggerId}/calls` lists its
44
+ recent calls. A run's `via` can now be `webhook`, and a run has
45
+ `automationName`, the name of the schedule or trigger that started it. An AI agent can't
46
+ create a webhook trigger or rotate its secret. It asks with the approval
47
+ actions `trigger.webhook.create` and `trigger.webhook.rotateSecret`, and
48
+ a workspace owner approves.
49
+
5
50
  ## 1.0.0-rc.10 (2026-11-12)
6
51
 
7
52
  ### Added
package/dist/reminix.mjs CHANGED
@@ -1034,8 +1034,12 @@ function resources(client) {
1034
1034
  )
1035
1035
  },
1036
1036
  triggers: {
1037
+ calls: (
1038
+ /** List a webhook trigger's calls */
1039
+ (slug, triggerId, options) => call(client, { "method": "get", "path": "/scripts/{slug}/triggers/{triggerId}/calls", "query": [], "hasBody": false }, { "slug": slug, "triggerId": triggerId }, void 0, options)
1040
+ ),
1037
1041
  create: (
1038
- /** Run a script on an event */
1042
+ /** Run a script when something happens */
1039
1043
  (slug, input, options) => call(client, { "method": "post", "path": "/scripts/{slug}/triggers", "query": [], "hasBody": true }, { "slug": slug }, input, options)
1040
1044
  ),
1041
1045
  delete: (
@@ -1046,6 +1050,10 @@ function resources(client) {
1046
1050
  /** List a script's triggers */
1047
1051
  (slug, options) => call(client, { "method": "get", "path": "/scripts/{slug}/triggers", "query": [], "hasBody": false }, { "slug": slug }, void 0, options)
1048
1052
  ),
1053
+ rotateSecret: (
1054
+ /** Rotate a webhook trigger's secret */
1055
+ (slug, triggerId, options) => call(client, { "method": "post", "path": "/scripts/{slug}/triggers/{triggerId}/rotate-secret", "query": [], "hasBody": false }, { "slug": slug, "triggerId": triggerId }, void 0, options)
1056
+ ),
1049
1057
  update: (
1050
1058
  /** Change a trigger */
1051
1059
  (slug, triggerId, input, options) => call(client, { "method": "patch", "path": "/scripts/{slug}/triggers/{triggerId}", "query": [], "hasBody": true }, { "slug": slug, "triggerId": triggerId }, input, options)
@@ -5054,6 +5062,39 @@ var approvals = (program3, ctx) => {
5054
5062
  );
5055
5063
  };
5056
5064
 
5065
+ // src/usage.ts
5066
+ var usage = (program3, ctx) => {
5067
+ const workspace2 = program3.commands.find((c) => c.name() === "workspace") ?? program3.command("workspace");
5068
+ workspace2.command("usage").description("Show your plan's usage this period").option("--workspace <slug>", "act in this workspace for one call").option("--json", "machine-readable output").action(async (options) => {
5069
+ const result = unwrap(
5070
+ await ctx.client({ workspace: options.workspace }).GET("/workspace/usage")
5071
+ );
5072
+ if (options.json) {
5073
+ ctx.io.stdout(json(result));
5074
+ return;
5075
+ }
5076
+ for (const line of usageLines(result)) ctx.io.stdout(line);
5077
+ });
5078
+ };
5079
+ var number = (n) => n.toLocaleString("en-US");
5080
+ function usageLines(usage2) {
5081
+ const resets = new Date(usage2.periodEnd).toLocaleDateString("en-US", {
5082
+ month: "short",
5083
+ day: "numeric",
5084
+ year: "numeric",
5085
+ timeZone: "UTC"
5086
+ });
5087
+ const lines = [`Usage this period. Counters reset on ${resets}.`];
5088
+ if (usage2.counts.length === 0) lines.push("Your plan counts nothing.");
5089
+ for (const count of usage2.counts) {
5090
+ const figures = count.limit === null ? `${number(count.used)} (no limit)` : `${number(count.used)} of ${number(count.limit)}`;
5091
+ const state = count.state === "grace" ? count.stopsAt === null ? " Over your plan." : ` Over your plan. Past ${number(count.stopsAt)}, ${brand.productName} refuses new use.` : count.state === "stopped" ? ` ${brand.productName} refuses new use until ${resets}.` : count.state === "over" ? " Over your plan." : count.limit === 0 ? " Not in your plan." : "";
5092
+ lines.push(`${count.label}: ${figures}.${state}`);
5093
+ }
5094
+ for (const notice of usage2.notices ?? []) lines.push(notice);
5095
+ return lines;
5096
+ }
5097
+
5057
5098
  // src/commands.ts
5058
5099
  async function me(ctx) {
5059
5100
  return unwrap(await ctx.client({ workspace: false }).GET("/user/me"));
@@ -5277,7 +5318,8 @@ var platformCommands = [
5277
5318
  environment,
5278
5319
  api,
5279
5320
  config,
5280
- approvals
5321
+ approvals,
5322
+ usage
5281
5323
  ];
5282
5324
 
5283
5325
  // src/generated.ts
@@ -6948,7 +6990,7 @@ var OPERATIONS = [
6948
6990
  "idempotentHint": false
6949
6991
  }
6950
6992
  },
6951
- "description": "Makes a version the one every run of the script uses, however the run starts. Publishing an older version again rolls the script back. The script owner or a workspace owner or admin can publish. An agent's publish becomes a request that a person approves, and the call returns 202. If the workspace requires a second person to publish, everyone's publish becomes a request like this.",
6993
+ "description": "Makes a version the one every run of the script uses, however the run starts. Publishing an older version again rolls the script back. The script owner or a workspace owner or admin can publish. When an agent connected through MCP publishes, it becomes a request that a person approves, and the call returns 202. If the workspace requires a second person to publish, everyone's publish becomes a request like this.",
6952
6994
  "fields": [
6953
6995
  {
6954
6996
  "name": "slug",
@@ -7552,11 +7594,65 @@ var OPERATIONS = [
7552
7594
  "acceptsApiKey": true,
7553
7595
  "scope": "secrets:write"
7554
7596
  },
7597
+ {
7598
+ "operationId": "triggers.calls",
7599
+ "method": "get",
7600
+ "path": "/scripts/{slug}/triggers/{triggerId}/calls",
7601
+ "summary": "List a webhook trigger's calls",
7602
+ "cli": {
7603
+ "command": "triggers calls",
7604
+ "args": [
7605
+ "slug",
7606
+ "triggerId"
7607
+ ],
7608
+ "confirm": false
7609
+ },
7610
+ "mcp": {
7611
+ "exposed": true,
7612
+ "name": "triggers_calls",
7613
+ "hints": {
7614
+ "readOnlyHint": true,
7615
+ "destructiveHint": false,
7616
+ "idempotentHint": true
7617
+ }
7618
+ },
7619
+ "description": "Returns a webhook trigger's last 20 calls, newest first: when each came, whether it started a run or repeated an earlier call, why Reminix refused it, and the run. Reminix keeps calls for 30 days.",
7620
+ "fields": [
7621
+ {
7622
+ "name": "slug",
7623
+ "in": "path",
7624
+ "type": "string",
7625
+ "required": true,
7626
+ "description": "The slug's ID.",
7627
+ "example": "alert-on-failure",
7628
+ "schema": {
7629
+ "type": "string",
7630
+ "description": "The slug's ID."
7631
+ }
7632
+ },
7633
+ {
7634
+ "name": "triggerId",
7635
+ "in": "path",
7636
+ "type": "string",
7637
+ "required": true,
7638
+ "description": "The trigger's ID.",
7639
+ "example": "trg_6e4a\u2026",
7640
+ "schema": {
7641
+ "type": "string",
7642
+ "description": "The trigger's ID."
7643
+ }
7644
+ }
7645
+ ],
7646
+ "hasBody": false,
7647
+ "workspace": true,
7648
+ "acceptsApiKey": true,
7649
+ "scope": "scripts:read"
7650
+ },
7555
7651
  {
7556
7652
  "operationId": "triggers.create",
7557
7653
  "method": "post",
7558
7654
  "path": "/scripts/{slug}/triggers",
7559
- "summary": "Run a script on an event",
7655
+ "summary": "Run a script when something happens",
7560
7656
  "cli": {
7561
7657
  "command": "triggers create",
7562
7658
  "args": [
@@ -7566,9 +7662,9 @@ var OPERATIONS = [
7566
7662
  },
7567
7663
  "mcp": {
7568
7664
  "exposed": false,
7569
- "reason": "Schedules and triggers run as the person who created them. Only a person can create or change them."
7665
+ "reason": "Schedules and triggers run as the person who created them. Only a person can create one. An agent can ask for a webhook trigger: POST /v1/workspace/approval-requests with action trigger.webhook.create, which a workspace owner approves."
7570
7666
  },
7571
- "description": "Starts a run of the script, as you, when an event of `eventType` happens in the workspace and its data matches `filter`. GET /v1/workspace/event-types lists the event types. The run starts within about a minute of the event. A chain of triggered runs stops after 3. If every run of the script, or every run in the environment, needs approval, only workspace owners and admins can create a trigger.",
7667
+ "description": "Creates a trigger that starts a run of the script, as you. With the type `event`, a run starts when an event of `event` happens in the workspace and its data matches `filter`. GET /v1/workspace/event-types lists the event types. The run starts within about a minute of the event, and a chain of triggered runs stops after 3. With the type `webhook`, a run starts when someone calls the trigger's URL with its secret. The response carries the URL and the secret once. Only the script's owner, or a workspace owner or admin, can create a webhook trigger, and its runs wait for approval where an agent's would. For an event trigger, if every run of the script or of the environment needs approval, only workspace owners and admins can create it.",
7572
7668
  "fields": [
7573
7669
  {
7574
7670
  "name": "slug",
@@ -7582,6 +7678,22 @@ var OPERATIONS = [
7582
7678
  "description": "The slug's ID."
7583
7679
  }
7584
7680
  },
7681
+ {
7682
+ "name": "type",
7683
+ "in": "body",
7684
+ "type": "string",
7685
+ "required": true,
7686
+ "description": "A workspace event starts the runs. (enum property replaced by openapi-typescript)",
7687
+ "example": "event",
7688
+ "schema": {
7689
+ "type": "string",
7690
+ "enum": [
7691
+ "event",
7692
+ "webhook"
7693
+ ],
7694
+ "description": "A workspace event starts the runs. (enum property replaced by openapi-typescript)"
7695
+ }
7696
+ },
7585
7697
  {
7586
7698
  "name": "name",
7587
7699
  "in": "body",
@@ -7597,10 +7709,10 @@ var OPERATIONS = [
7597
7709
  }
7598
7710
  },
7599
7711
  {
7600
- "name": "eventType",
7712
+ "name": "event",
7601
7713
  "in": "body",
7602
7714
  "type": "string",
7603
- "required": true,
7715
+ "required": false,
7604
7716
  "description": "The event that starts a run. It can be any webhook event type, such as `run.failed`.",
7605
7717
  "example": "run.failed",
7606
7718
  "schema": {
@@ -7650,12 +7762,88 @@ var OPERATIONS = [
7650
7762
  "type": "string",
7651
7763
  "description": "The environment the runs use. The default is the request's X-Environment, or else the workspace's default environment."
7652
7764
  }
7765
+ },
7766
+ {
7767
+ "name": "inputMode",
7768
+ "in": "body",
7769
+ "type": "string",
7770
+ "required": false,
7771
+ "description": "Where each run's inputs come from. `fixed`, the default, uses the saved `inputs` and ignores the body. `call` takes the body's fields that match the script's inputs. `request` gives the script the whole request as its `request` input.",
7772
+ "example": "request",
7773
+ "schema": {
7774
+ "type": "string",
7775
+ "enum": [
7776
+ "fixed",
7777
+ "call",
7778
+ "request"
7779
+ ],
7780
+ "description": "Where each run's inputs come from. `fixed`, the default, uses the saved `inputs` and ignores the body. `call` takes the body's fields that match the script's inputs. `request` gives the script the whole request as its `request` input."
7781
+ }
7782
+ },
7783
+ {
7784
+ "name": "lockedInputs",
7785
+ "in": "body",
7786
+ "type": "json",
7787
+ "required": false,
7788
+ "description": "Saved inputs that a call can't change.",
7789
+ "example": [
7790
+ "account"
7791
+ ],
7792
+ "schema": {
7793
+ "type": "array",
7794
+ "items": {
7795
+ "type": "string"
7796
+ },
7797
+ "description": "Saved inputs that a call can't change."
7798
+ }
7799
+ },
7800
+ {
7801
+ "name": "signature",
7802
+ "in": "body",
7803
+ "type": "string",
7804
+ "required": false,
7805
+ "description": "Check each call's signature: `stripe` (Stripe-Signature) or `github` (X-Hub-Signature-256). The default is `none`.",
7806
+ "example": "stripe",
7807
+ "schema": {
7808
+ "type": "string",
7809
+ "enum": [
7810
+ "none",
7811
+ "stripe",
7812
+ "github"
7813
+ ],
7814
+ "description": "Check each call's signature: `stripe` (Stripe-Signature) or `github` (X-Hub-Signature-256). The default is `none`."
7815
+ }
7816
+ },
7817
+ {
7818
+ "name": "signingSecret",
7819
+ "in": "body",
7820
+ "type": "string",
7821
+ "required": false,
7822
+ "description": "The provider's signing secret, with `signature` `stripe` or `github`. Reminix stores it encrypted and never returns it.",
7823
+ "example": "whsec_\u2026",
7824
+ "schema": {
7825
+ "type": "string",
7826
+ "minLength": 1,
7827
+ "description": "The provider's signing secret, with `signature` `stripe` or `github`. Reminix stores it encrypted and never returns it."
7828
+ }
7653
7829
  }
7654
7830
  ],
7655
7831
  "hasBody": true,
7656
7832
  "workspace": true,
7657
7833
  "acceptsApiKey": false,
7658
- "scope": "scripts:write"
7834
+ "scope": "scripts:write",
7835
+ "variants": {
7836
+ "field": "type",
7837
+ "required": {
7838
+ "event": [
7839
+ "name",
7840
+ "event"
7841
+ ],
7842
+ "webhook": [
7843
+ "name"
7844
+ ]
7845
+ }
7846
+ }
7659
7847
  },
7660
7848
  {
7661
7849
  "operationId": "triggers.delete",
@@ -7674,7 +7862,7 @@ var OPERATIONS = [
7674
7862
  "exposed": false,
7675
7863
  "reason": "Schedules and triggers run as the person who created them. Only a person can create or change them."
7676
7864
  },
7677
- "description": "Deletes a trigger. The trigger's creator, a workspace owner or admin, or a workspace API key can delete it.",
7865
+ "description": "Deletes a trigger. The creator of an event trigger, a webhook trigger's script owner, a workspace owner or admin, or a workspace API key can delete it.",
7678
7866
  "fields": [
7679
7867
  {
7680
7868
  "name": "slug",
@@ -7747,6 +7935,55 @@ var OPERATIONS = [
7747
7935
  "acceptsApiKey": true,
7748
7936
  "scope": "scripts:read"
7749
7937
  },
7938
+ {
7939
+ "operationId": "triggers.rotateSecret",
7940
+ "method": "post",
7941
+ "path": "/scripts/{slug}/triggers/{triggerId}/rotate-secret",
7942
+ "summary": "Rotate a webhook trigger's secret",
7943
+ "cli": {
7944
+ "command": "triggers rotate-secret",
7945
+ "args": [
7946
+ "slug",
7947
+ "triggerId"
7948
+ ],
7949
+ "confirm": true
7950
+ },
7951
+ "mcp": {
7952
+ "exposed": false,
7953
+ "reason": "Only a person can rotate a webhook trigger's secret. An agent can ask: POST /v1/workspace/approval-requests with action trigger.webhook.rotateSecret, which a workspace owner approves."
7954
+ },
7955
+ "description": "Gives a webhook trigger a new secret and returns its new URL, this once. The old URL stops working at once. If Reminix disabled the trigger, such as after repeated refused calls, rotating enables it again. The script's owner, a workspace owner or admin, or a workspace API key can rotate it.",
7956
+ "fields": [
7957
+ {
7958
+ "name": "slug",
7959
+ "in": "path",
7960
+ "type": "string",
7961
+ "required": true,
7962
+ "description": "The slug's ID.",
7963
+ "example": "alert-on-failure",
7964
+ "schema": {
7965
+ "type": "string",
7966
+ "description": "The slug's ID."
7967
+ }
7968
+ },
7969
+ {
7970
+ "name": "triggerId",
7971
+ "in": "path",
7972
+ "type": "string",
7973
+ "required": true,
7974
+ "description": "The trigger's ID.",
7975
+ "example": "trg_6e4a\u2026",
7976
+ "schema": {
7977
+ "type": "string",
7978
+ "description": "The trigger's ID."
7979
+ }
7980
+ }
7981
+ ],
7982
+ "hasBody": false,
7983
+ "workspace": true,
7984
+ "acceptsApiKey": true,
7985
+ "scope": "scripts:write"
7986
+ },
7750
7987
  {
7751
7988
  "operationId": "triggers.update",
7752
7989
  "method": "patch",
@@ -7764,7 +8001,7 @@ var OPERATIONS = [
7764
8001
  "exposed": false,
7765
8002
  "reason": "Schedules and triggers run as the person who created them. Only a person can create or change them."
7766
8003
  },
7767
- "description": "Changes a trigger's name, filter, inputs or environment, or whether it's enabled. The trigger's creator, a workspace owner or admin, or a workspace API key can change it.",
8004
+ "description": "Changes a trigger's name, inputs or environment, or whether it's enabled. It also changes an event trigger's filter, or a webhook trigger's input mode, locked inputs and signature check. Changing the signature check needs its signing secret again. The creator of an event trigger, a webhook trigger's script owner, a workspace owner or admin, or a workspace API key can change it.",
7768
8005
  "fields": [
7769
8006
  {
7770
8007
  "name": "slug",
@@ -7855,6 +8092,64 @@ var OPERATIONS = [
7855
8092
  "type": "string",
7856
8093
  "description": "Another environment for the trigger's runs to use."
7857
8094
  }
8095
+ },
8096
+ {
8097
+ "name": "inputMode",
8098
+ "in": "body",
8099
+ "type": "string",
8100
+ "required": false,
8101
+ "description": "A webhook trigger's input mode.",
8102
+ "schema": {
8103
+ "type": "string",
8104
+ "enum": [
8105
+ "fixed",
8106
+ "call",
8107
+ "request"
8108
+ ],
8109
+ "description": "A webhook trigger's input mode."
8110
+ }
8111
+ },
8112
+ {
8113
+ "name": "lockedInputs",
8114
+ "in": "body",
8115
+ "type": "json",
8116
+ "required": false,
8117
+ "description": "A webhook trigger's saved inputs that a call can't change.",
8118
+ "schema": {
8119
+ "type": "array",
8120
+ "items": {
8121
+ "type": "string"
8122
+ },
8123
+ "description": "A webhook trigger's saved inputs that a call can't change."
8124
+ }
8125
+ },
8126
+ {
8127
+ "name": "signature",
8128
+ "in": "body",
8129
+ "type": "string",
8130
+ "required": false,
8131
+ "description": "A webhook trigger's signature check.",
8132
+ "schema": {
8133
+ "type": "string",
8134
+ "enum": [
8135
+ "none",
8136
+ "stripe",
8137
+ "github"
8138
+ ],
8139
+ "description": "A webhook trigger's signature check."
8140
+ }
8141
+ },
8142
+ {
8143
+ "name": "signingSecret",
8144
+ "in": "body",
8145
+ "type": "string",
8146
+ "required": false,
8147
+ "description": "A new signing secret, with `signature` `stripe` or `github`.",
8148
+ "schema": {
8149
+ "type": "string",
8150
+ "minLength": 1,
8151
+ "description": "A new signing secret, with `signature` `stripe` or `github`."
8152
+ }
7858
8153
  }
7859
8154
  ],
7860
8155
  "hasBody": true,
@@ -8398,7 +8693,7 @@ var OPERATIONS = [
8398
8693
  "idempotentHint": true
8399
8694
  }
8400
8695
  },
8401
- "description": "Returns what the workspace used this period, with one entry for each thing its plan counts. Each entry has the plan's limit, or null when there is no limit. A period is one month from the workspace's billing date. That date comes from its subscription or, without one, from the day you created the workspace. On an annual plan, the counts still reset every month from the subscription's start.",
8696
+ "description": "Returns what the workspace used this period, with one entry for each thing its plan counts. Each entry has the plan's limit, or null when there is no limit. Each entry also says where it stands and where we start refusing new use. A period is one month from the workspace's billing date. That date comes from its subscription or, without one, from the day you created the workspace. On an annual plan, the counts still reset every month from the subscription's start.",
8402
8697
  "fields": [],
8403
8698
  "hasBody": false,
8404
8699
  "workspace": true,
@@ -9043,6 +9338,8 @@ async function call2(ctx, op, args, options, flags) {
9043
9338
  `missing ${missing.map((f) => `--${flag(f.name)}`).join(", ")}`
9044
9339
  );
9045
9340
  }
9341
+ const problem = variantProblem(op, input, whole);
9342
+ if (problem) throw new Error(problem);
9046
9343
  const request = operationRequest(op, input, whole);
9047
9344
  const headers = {
9048
9345
  authorization: `Bearer ${token}`
@@ -9114,6 +9411,19 @@ function print(ctx, data, asJson) {
9114
9411
  }
9115
9412
  ctx.io.stdout(String(data));
9116
9413
  }
9414
+ function variantProblem(op, input, whole) {
9415
+ if (!op.variants) return void 0;
9416
+ const key = op.variants.field;
9417
+ const chosen = String(input[key] ?? whole[key]);
9418
+ const needs = op.variants.required[chosen];
9419
+ if (!needs) {
9420
+ return `--${flag(key)} must be one of ${Object.keys(op.variants.required).join(", ")}`;
9421
+ }
9422
+ const absent = needs.filter(
9423
+ (name) => input[name] === void 0 && whole[name] === void 0
9424
+ );
9425
+ return absent.length > 0 ? `missing ${absent.map((name) => `--${flag(name)}`).join(", ")} (needed with --${flag(key)} ${chosen})` : void 0;
9426
+ }
9117
9427
 
9118
9428
  // src/product/files.ts
9119
9429
  import { mkdirSync as mkdirSync2, readFileSync as readFileSync4, writeFileSync as writeFileSync4 } from "node:fs";
@@ -10830,7 +11140,7 @@ function tokenEnvVar() {
10830
11140
  function build(io) {
10831
11141
  let actedIn = null;
10832
11142
  let sending;
10833
- const program3 = new Command().name(brand.name).description(`The ${brand.productName} CLI`).version("1.0.0-rc.10").addHelpText(
11143
+ const program3 = new Command().name(brand.name).description(`The ${brand.productName} CLI`).version("1.0.0-rc.12").addHelpText(
10834
11144
  "after",
10835
11145
  `
10836
11146
  Token: \`${brand.name} login\` stores it in ~/.config/${brand.name}/; ${tokenEnvVar()} overrides.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reminix/cli",
3
- "version": "1.0.0-rc.10",
3
+ "version": "1.0.0-rc.12",
4
4
  "description": "Reminix command line",
5
5
  "keywords": [
6
6
  "scripts",
@@ -26,7 +26,7 @@
26
26
  "typecheck": "tsc --noEmit"
27
27
  },
28
28
  "devDependencies": {
29
- "@reminix/sdk": "1.0.0-rc.8",
29
+ "@reminix/sdk": "1.0.0-rc.11",
30
30
  "@types/node": "26.6.6",
31
31
  "commander": "15.1.0",
32
32
  "smol-toml": "1.9.1",