@limitry/cli 1.0.0-rc.13 → 1.0.0-rc.14

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,60 @@
2
2
 
3
3
  What changed in the Limitry CLI (`@limitry/cli`). Generated from the source on each release; newest first.
4
4
 
5
+ ## 1.0.0-rc.14 (2026-11-09)
6
+
7
+ ### Added
8
+
9
+ - Members and pending invitations now carry `seat`: the seat type a person
10
+ holds or will hold (`GET /v1/workspace/members`,
11
+ `GET /v1/workspace/invitations`). It is null for a guest, or where the
12
+ product has no seat types.
13
+ - `GET /v1/usage` and `GET /v1/usage/subjects` take a limit by its name, as
14
+ `limitName`, as well as by `limitId`. They also take a `period`, such as
15
+ `last_month` or `this_week`, instead of `from` and `to`.
16
+
17
+ `GET /v1/usage` returns the range's `total` (`used`, `allowed` and
18
+ `refused`) beside its buckets, and the range it covers as `from` and `to`.
19
+
20
+ `GET /v1/usage/subjects` lists who used a limit most in a past period when
21
+ you send `period`, or `from` and `to`. In that list, `remaining` is null.
22
+ Add `sort` as `refused` to list the most refused first. It also says when
23
+ the current window ends, as `resetsAt`.
24
+
25
+ Both responses include the limit's `limitName`, `unit`, `amount` and
26
+ `window`.
27
+
28
+ In the SDKs, `remaining` on `client.usage.subjects()` items is now typed
29
+ as a number or null, so check for null before using it. In the CLI, use
30
+ `--limit-name`, `--period` and `--sort`.
31
+
32
+ `GET /v1/usage/overview` is new: every active limit's usage in one answer,
33
+ with each limit's unit, amount, window, `total` and top subjects. It covers
34
+ each limit's current window, or a `period` or range you send. With `sort`
35
+ as `refused`, each limit lists only the subjects it refused. A balance
36
+ also lists the credits added to it and taken back in the range. In the SDKs
37
+ it's `client.usage.overview()`, and in the CLI `limitry usage overview`.
38
+
39
+ Every call about one limit takes the limit's name in place of its ID:
40
+ `GET`, `PATCH`, archive and restore on `/v1/limits/{limitId}`, and listing
41
+ and adding its credits. So does the `limit.credit` approval. A name
42
+ matches exactly, or else ignoring case. When two limits match ignoring
43
+ case, the call fails with a 400 that names both.
44
+
45
+ ### Changed
46
+
47
+ - A personal access token changes limits, subjects and credits only on its
48
+ person's side. An admin in a Developer seat changes test, and an admin in
49
+ an Operator seat changes live. The owner changes both. A change on the
50
+ other side returns 403 `forbidden`, and the message names who may make it.
51
+ Workspace API keys are not affected.
52
+
53
+ ### Removed
54
+
55
+ - A limit no longer has a `version` field (`GET /v1/limits`,
56
+ `GET /v1/limits/{limitId}` and every response that returns a limit). Use
57
+ `updatedAt` to tell whether a limit has changed.
58
+
5
59
  ## 1.0.0-rc.13 (2026-11-07)
6
60
 
7
61
  ### Added
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  The Limitry CLI sets up your limits and checks them from a terminal, a script or an agent: create a limit, try a check, and see who is using what, in test before live.
4
4
 
5
- Limitry is the limits, credits and budgets layer for the software you build: give each of your users, teams, tenants, API keys or agents an allowance, and before any costly action one call tells your code whether it may happen.
5
+ Limitry is the limits, credits and budgets layer for the software you build: give each of your users, teams, tenants, API keys or agents an allowance, and before any costly request one call tells your code whether it may happen.
6
6
 
7
7
  ## Install
8
8
 
package/dist/limitry.mjs CHANGED
@@ -31,7 +31,7 @@ var brand_default = {
31
31
  devDomain: "limitry.dev",
32
32
  labs: ["lab"],
33
33
  discordInvite: "https://discord.gg/Nb6QFd6ER4",
34
- summary: "Limitry is the limits, credits and budgets layer for the software you build: give each of your users, teams, tenants, API keys or agents an allowance, and before any costly action one call tells your code whether it may happen.",
34
+ summary: "Limitry is the limits, credits and budgets layer for the software you build: give each of your users, teams, tenants, API keys or agents an allowance, and before any costly request one call tells your code whether it may happen.",
35
35
  expectedAssets: [
36
36
  "logo.svg",
37
37
  "logo-dark.svg",
@@ -1344,17 +1344,21 @@ function resources(client) {
1344
1344
  )
1345
1345
  },
1346
1346
  usage: {
1347
+ overview: (
1348
+ /** Get every limit's usage at once */
1349
+ (input, options) => call(client, { "method": "get", "path": "/usage/overview", "query": ["period", "from", "to", "sort", "top"], "hasBody": false }, {}, input, options)
1350
+ ),
1347
1351
  query: (
1348
1352
  /** Get a limit's usage over time */
1349
- (input, options) => call(client, { "method": "get", "path": "/usage", "query": ["limitId", "subject", "from", "to", "granularity"], "hasBody": false }, {}, input, options)
1353
+ (input, options) => call(client, { "method": "get", "path": "/usage", "query": ["limitId", "limitName", "subject", "period", "from", "to", "granularity"], "hasBody": false }, {}, input, options)
1350
1354
  ),
1351
1355
  standing: (
1352
1356
  /** Get where a subject stands */
1353
1357
  (input, options) => call(client, { "method": "get", "path": "/usage/standing", "query": ["subject", "shared"], "hasBody": false }, {}, input, options)
1354
1358
  ),
1355
1359
  subjects: (
1356
- /** List who is using a limit now */
1357
- (input, options) => call(client, { "method": "get", "path": "/usage/subjects", "query": ["limitId", "limit"], "hasBody": false }, {}, input, options)
1360
+ /** List who is using a limit */
1361
+ (input, options) => call(client, { "method": "get", "path": "/usage/subjects", "query": ["limitId", "limitName", "period", "from", "to", "sort", "limit"], "hasBody": false }, {}, input, options)
1358
1362
  )
1359
1363
  },
1360
1364
  user: {
@@ -5677,11 +5681,11 @@ var OPERATIONS = [
5677
5681
  "in": "path",
5678
5682
  "type": "string",
5679
5683
  "required": true,
5680
- "description": "The limit's ID.",
5684
+ "description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case.",
5681
5685
  "example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
5682
5686
  "schema": {
5683
5687
  "type": "string",
5684
- "description": "The limit's ID."
5688
+ "description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case."
5685
5689
  }
5686
5690
  }
5687
5691
  ],
@@ -5920,11 +5924,11 @@ var OPERATIONS = [
5920
5924
  "in": "path",
5921
5925
  "type": "string",
5922
5926
  "required": true,
5923
- "description": "The limit's ID.",
5927
+ "description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case.",
5924
5928
  "example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
5925
5929
  "schema": {
5926
5930
  "type": "string",
5927
- "description": "The limit's ID."
5931
+ "description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case."
5928
5932
  }
5929
5933
  },
5930
5934
  {
@@ -6017,11 +6021,11 @@ var OPERATIONS = [
6017
6021
  "in": "path",
6018
6022
  "type": "string",
6019
6023
  "required": true,
6020
- "description": "The limit's ID.",
6024
+ "description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case.",
6021
6025
  "example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
6022
6026
  "schema": {
6023
6027
  "type": "string",
6024
- "description": "The limit's ID."
6028
+ "description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case."
6025
6029
  }
6026
6030
  },
6027
6031
  {
@@ -6111,11 +6115,11 @@ var OPERATIONS = [
6111
6115
  "in": "path",
6112
6116
  "type": "string",
6113
6117
  "required": true,
6114
- "description": "The limit's ID.",
6118
+ "description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case.",
6115
6119
  "example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
6116
6120
  "schema": {
6117
6121
  "type": "string",
6118
- "description": "The limit's ID."
6122
+ "description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case."
6119
6123
  }
6120
6124
  }
6121
6125
  ],
@@ -6246,11 +6250,11 @@ var OPERATIONS = [
6246
6250
  "in": "path",
6247
6251
  "type": "string",
6248
6252
  "required": true,
6249
- "description": "The limit's ID.",
6253
+ "description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case.",
6250
6254
  "example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
6251
6255
  "schema": {
6252
6256
  "type": "string",
6253
- "description": "The limit's ID."
6257
+ "description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case."
6254
6258
  }
6255
6259
  }
6256
6260
  ],
@@ -6383,11 +6387,11 @@ var OPERATIONS = [
6383
6387
  "in": "path",
6384
6388
  "type": "string",
6385
6389
  "required": true,
6386
- "description": "The limit's ID.",
6390
+ "description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case.",
6387
6391
  "example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
6388
6392
  "schema": {
6389
6393
  "type": "string",
6390
- "description": "The limit's ID."
6394
+ "description": "The limit's ID, or its name, such as `AI budget` (URL-encoded). A name matches an active limit in this environment, exactly or else ignoring case."
6391
6395
  }
6392
6396
  },
6393
6397
  {
@@ -6914,6 +6918,111 @@ var OPERATIONS = [
6914
6918
  "acceptsApiKey": true,
6915
6919
  "scope": "limits:write"
6916
6920
  },
6921
+ {
6922
+ "operationId": "usage.overview",
6923
+ "method": "get",
6924
+ "path": "/usage/overview",
6925
+ "summary": "Get every limit's usage at once",
6926
+ "cli": {
6927
+ "command": "usage overview",
6928
+ "args": [],
6929
+ "confirm": false
6930
+ },
6931
+ "mcp": {
6932
+ "exposed": true,
6933
+ "name": "usage_overview",
6934
+ "hints": {
6935
+ "readOnlyHint": true,
6936
+ "destructiveHint": false,
6937
+ "idempotentHint": true
6938
+ }
6939
+ },
6940
+ "description": "Returns every active limit's usage in one answer, for a question that names no limit. Each limit comes with its name, unit, amount and window, its `total` (units used, checks allowed and refused) and its top subjects. By default, it covers each limit's current window, with exact amounts. For a past range, send `period`, such as `last_month`, or `from` and `to`. The totals and subjects then come from history, and each subject's `remaining` is null. Set `sort` to `refused` to list only the subjects each limit refused, the most refused first. A balance also lists the credits added to it in the range. Usage older than your plan's history isn't returned.",
6941
+ "fields": [
6942
+ {
6943
+ "name": "period",
6944
+ "in": "query",
6945
+ "type": "string",
6946
+ "required": false,
6947
+ "description": "A named range instead of `from` and `to`, in UTC: `today`, `this_week` or `last_week` (weeks start on Monday), `this_month` or `last_month`. A current one ends now.",
6948
+ "example": "last_month",
6949
+ "schema": {
6950
+ "type": "string",
6951
+ "enum": [
6952
+ "today",
6953
+ "this_week",
6954
+ "last_week",
6955
+ "this_month",
6956
+ "last_month"
6957
+ ],
6958
+ "description": "A named range instead of `from` and `to`, in UTC: `today`, `this_week` or `last_week` (weeks start on Monday), `this_month` or `last_month`. A current one ends now."
6959
+ }
6960
+ },
6961
+ {
6962
+ "name": "from",
6963
+ "in": "query",
6964
+ "type": "string",
6965
+ "required": false,
6966
+ "description": "The start of the range, in ISO 8601.",
6967
+ "example": "2026-10-01T00:00:00Z",
6968
+ "schema": {
6969
+ "type": "string",
6970
+ "format": "date-time",
6971
+ "description": "The start of the range, in ISO 8601."
6972
+ }
6973
+ },
6974
+ {
6975
+ "name": "to",
6976
+ "in": "query",
6977
+ "type": "string",
6978
+ "required": false,
6979
+ "description": "The end of the range, in ISO 8601. Default: now.",
6980
+ "example": "2026-11-01T00:00:00Z",
6981
+ "schema": {
6982
+ "type": "string",
6983
+ "format": "date-time",
6984
+ "description": "The end of the range, in ISO 8601. Default: now."
6985
+ }
6986
+ },
6987
+ {
6988
+ "name": "sort",
6989
+ "in": "query",
6990
+ "type": "string",
6991
+ "required": false,
6992
+ "description": "`used` lists each limit's most used subjects first, and `refused` only its refused subjects, the most refused first. Default: used.",
6993
+ "schema": {
6994
+ "type": "string",
6995
+ "enum": [
6996
+ "used",
6997
+ "refused"
6998
+ ],
6999
+ "default": "used",
7000
+ "description": "`used` lists each limit's most used subjects first, and `refused` only its refused subjects, the most refused first. Default: used."
7001
+ }
7002
+ },
7003
+ {
7004
+ "name": "top",
7005
+ "in": "query",
7006
+ "type": "number",
7007
+ "required": false,
7008
+ "description": "How many subjects to list for each limit, up to 20. Default: 5.",
7009
+ "schema": {
7010
+ "type": [
7011
+ "integer",
7012
+ "null"
7013
+ ],
7014
+ "minimum": 0,
7015
+ "maximum": 20,
7016
+ "default": 5,
7017
+ "description": "How many subjects to list for each limit, up to 20. Default: 5."
7018
+ }
7019
+ }
7020
+ ],
7021
+ "hasBody": false,
7022
+ "workspace": true,
7023
+ "acceptsApiKey": true,
7024
+ "scope": "limits:read"
7025
+ },
6917
7026
  {
6918
7027
  "operationId": "usage.query",
6919
7028
  "method": "get",
@@ -6933,18 +7042,31 @@ var OPERATIONS = [
6933
7042
  "idempotentHint": true
6934
7043
  }
6935
7044
  },
6936
- "description": "Returns one limit's usage over time: the units used, and the checks allowed and refused. It covers every subject, or one subject named in `subject` as `kind:id`. Usage comes in hourly or daily buckets in UTC, and the response includes every bucket in the range. It can be up to about a minute behind live checks. By default, it covers the last 30 days, by day. A request returns at most 2,000 buckets. Usage older than your plan's history isn't returned.",
7045
+ "description": "Returns one limit's usage over time: the units used, and the checks allowed and refused, with the range's `total` beside the buckets. It covers every subject, or one subject named in `subject` as `kind:id`. Name the limit by `limitId` or `limitName`. Choose the range with `period` (such as `last_month`) or `from` and `to`. Usage comes in hourly or daily buckets in UTC, and the response includes every bucket in the range. It can be up to about a minute behind live checks. By default, it covers the last 30 days, by day. A request returns at most 2,000 buckets. Usage older than your plan's history isn't returned.",
6937
7046
  "fields": [
6938
7047
  {
6939
7048
  "name": "limitId",
6940
7049
  "in": "query",
6941
7050
  "type": "string",
6942
- "required": true,
6943
- "description": "The limit's ID.",
7051
+ "required": false,
7052
+ "description": "The limit's ID. Send this or `limitName`.",
6944
7053
  "example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
6945
7054
  "schema": {
6946
7055
  "type": "string",
6947
- "description": "The limit's ID."
7056
+ "description": "The limit's ID. Send this or `limitName`."
7057
+ }
7058
+ },
7059
+ {
7060
+ "name": "limitName",
7061
+ "in": "query",
7062
+ "type": "string",
7063
+ "required": false,
7064
+ "description": "The limit's name, instead of its ID. It matches an active limit in this environment, exactly or else ignoring case.",
7065
+ "example": "AI budget",
7066
+ "schema": {
7067
+ "type": "string",
7068
+ "maxLength": 200,
7069
+ "description": "The limit's name, instead of its ID. It matches an active limit in this environment, exactly or else ignoring case."
6948
7070
  }
6949
7071
  },
6950
7072
  {
@@ -6961,6 +7083,25 @@ var OPERATIONS = [
6961
7083
  "description": "One subject, as `kind:id`, to see its usage instead of every subject's."
6962
7084
  }
6963
7085
  },
7086
+ {
7087
+ "name": "period",
7088
+ "in": "query",
7089
+ "type": "string",
7090
+ "required": false,
7091
+ "description": "A named range instead of `from` and `to`, in UTC: `today`, `this_week` or `last_week` (weeks start on Monday), `this_month` or `last_month`. A current one ends now.",
7092
+ "example": "last_month",
7093
+ "schema": {
7094
+ "type": "string",
7095
+ "enum": [
7096
+ "today",
7097
+ "this_week",
7098
+ "last_week",
7099
+ "this_month",
7100
+ "last_month"
7101
+ ],
7102
+ "description": "A named range instead of `from` and `to`, in UTC: `today`, `this_week` or `last_week` (weeks start on Monday), `this_month` or `last_month`. A current one ends now."
7103
+ }
7104
+ },
6964
7105
  {
6965
7106
  "name": "from",
6966
7107
  "in": "query",
@@ -6980,7 +7121,7 @@ var OPERATIONS = [
6980
7121
  "type": "string",
6981
7122
  "required": false,
6982
7123
  "description": "The end of the range, in ISO 8601. Default: now.",
6983
- "example": "2026-10-31T00:00:00Z",
7124
+ "example": "2026-11-01T00:00:00Z",
6984
7125
  "schema": {
6985
7126
  "type": "string",
6986
7127
  "format": "date-time",
@@ -7066,7 +7207,7 @@ var OPERATIONS = [
7066
7207
  "operationId": "usage.subjects",
7067
7208
  "method": "get",
7068
7209
  "path": "/usage/subjects",
7069
- "summary": "List who is using a limit now",
7210
+ "summary": "List who is using a limit",
7070
7211
  "cli": {
7071
7212
  "command": "usage subjects",
7072
7213
  "args": [],
@@ -7081,18 +7222,92 @@ var OPERATIONS = [
7081
7222
  "idempotentHint": true
7082
7223
  }
7083
7224
  },
7084
- "description": "Lists a limit's subjects in its current window, most used first. Each one shows the units used, what's left and how many checks the limit refused. The amounts are exact, but a subject first checked in the last minute may not appear yet. For a `concurrent` limit, it lists the slots each subject holds now, among the subjects checked in the last hour.",
7225
+ "description": "Lists a limit's subjects in its current window, most used first. Each one shows the units used, what's left and how many checks the limit refused. The amounts are exact, but a subject first checked in the last minute may not appear yet. For a `concurrent` limit, it lists the slots each subject holds now, among the subjects checked in the last hour. Name the limit by `limitId` or `limitName`. For a past range, send `period`, such as `last_month`, or `from` and `to`. The subjects are then ranked by their use in that range, from history. Each one's `remaining` is then null. Set `sort` to `refused` to list the most refused first. Usage older than your plan's history isn't returned.",
7085
7226
  "fields": [
7086
7227
  {
7087
7228
  "name": "limitId",
7088
7229
  "in": "query",
7089
7230
  "type": "string",
7090
- "required": true,
7091
- "description": "The limit's ID.",
7231
+ "required": false,
7232
+ "description": "The limit's ID. Send this or `limitName`.",
7092
7233
  "example": "lmt_6f1c2a9e-4b7d-4e3a-9c5f-8d2b1a0e7c34",
7093
7234
  "schema": {
7094
7235
  "type": "string",
7095
- "description": "The limit's ID."
7236
+ "description": "The limit's ID. Send this or `limitName`."
7237
+ }
7238
+ },
7239
+ {
7240
+ "name": "limitName",
7241
+ "in": "query",
7242
+ "type": "string",
7243
+ "required": false,
7244
+ "description": "The limit's name, instead of its ID. It matches an active limit in this environment, exactly or else ignoring case.",
7245
+ "example": "AI budget",
7246
+ "schema": {
7247
+ "type": "string",
7248
+ "maxLength": 200,
7249
+ "description": "The limit's name, instead of its ID. It matches an active limit in this environment, exactly or else ignoring case."
7250
+ }
7251
+ },
7252
+ {
7253
+ "name": "period",
7254
+ "in": "query",
7255
+ "type": "string",
7256
+ "required": false,
7257
+ "description": "A named range instead of `from` and `to`, in UTC: `today`, `this_week` or `last_week` (weeks start on Monday), `this_month` or `last_month`. A current one ends now.",
7258
+ "example": "last_month",
7259
+ "schema": {
7260
+ "type": "string",
7261
+ "enum": [
7262
+ "today",
7263
+ "this_week",
7264
+ "last_week",
7265
+ "this_month",
7266
+ "last_month"
7267
+ ],
7268
+ "description": "A named range instead of `from` and `to`, in UTC: `today`, `this_week` or `last_week` (weeks start on Monday), `this_month` or `last_month`. A current one ends now."
7269
+ }
7270
+ },
7271
+ {
7272
+ "name": "from",
7273
+ "in": "query",
7274
+ "type": "string",
7275
+ "required": false,
7276
+ "description": "The start of the range, in ISO 8601.",
7277
+ "example": "2026-10-01T00:00:00Z",
7278
+ "schema": {
7279
+ "type": "string",
7280
+ "format": "date-time",
7281
+ "description": "The start of the range, in ISO 8601."
7282
+ }
7283
+ },
7284
+ {
7285
+ "name": "to",
7286
+ "in": "query",
7287
+ "type": "string",
7288
+ "required": false,
7289
+ "description": "The end of the range, in ISO 8601. Default: now.",
7290
+ "example": "2026-11-01T00:00:00Z",
7291
+ "schema": {
7292
+ "type": "string",
7293
+ "format": "date-time",
7294
+ "description": "The end of the range, in ISO 8601. Default: now."
7295
+ }
7296
+ },
7297
+ {
7298
+ "name": "sort",
7299
+ "in": "query",
7300
+ "type": "string",
7301
+ "required": false,
7302
+ "description": "`used` lists the most used first, and `refused` the most refused first. Default: used.",
7303
+ "schema": {
7304
+ "type": "string",
7305
+ "enum": [
7306
+ "used",
7307
+ "refused"
7308
+ ],
7309
+ "default": "used",
7310
+ "description": "`used` lists the most used first, and `refused` the most refused first. Default: used."
7096
7311
  }
7097
7312
  },
7098
7313
  {
@@ -7679,7 +7894,7 @@ var OPERATIONS = [
7679
7894
  "idempotentHint": true
7680
7895
  }
7681
7896
  },
7682
- "description": "Lists one endpoint's delivery history, newest first. Each entry shows the event's status, attempts and last HTTP status. Payloads aren't included. We keep the history for 30 days. Paginate with the opaque `nextCursor`. `before` starts from a moment, and `status` keeps one kind of delivery. With a personal access token, only workspace owners can call this. A workspace API key with this scope can.",
7897
+ "description": "Lists one endpoint's delivery history, newest first. Each entry shows the event's status, attempts and last HTTP status. Payloads aren't included. We keep the history for 30 days. Paginate with the opaque `nextCursor`. `before` starts from a moment, and `status` keeps one kind of delivery. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
7683
7898
  "fields": [
7684
7899
  {
7685
7900
  "name": "endpointId",
@@ -7777,7 +7992,7 @@ var OPERATIONS = [
7777
7992
  "idempotentHint": false
7778
7993
  }
7779
7994
  },
7780
- "description": "Sends a recorded delivery's event again, as a new delivery. The new delivery gets its own history entry. The event id stays the same, so receivers can deduplicate. Redelivery only works on an enabled endpoint. With a personal access token, only workspace owners can call this. A workspace API key with this scope can.",
7995
+ "description": "Sends a recorded delivery's event again, as a new delivery. The new delivery gets its own history entry. The event id stays the same, so receivers can deduplicate. Redelivery only works on an enabled endpoint. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
7781
7996
  "fields": [
7782
7997
  {
7783
7998
  "name": "endpointId",
@@ -7823,7 +8038,7 @@ var OPERATIONS = [
7823
8038
  "exposed": false,
7824
8039
  "reason": "Changes where workspace data is sent. A person configures webhook endpoints (Settings \u2192 Developers in the app)."
7825
8040
  },
7826
- "description": "Registers an HTTPS URL to receive the workspace's events. Deliveries use the same signature format as Svix. The response includes the endpoint's signing secret (`whsec_\u2026`). You see it only once, so store it to verify deliveries. The API refuses private hosts and hosts without HTTPS. A workspace can have at most 10 endpoints. With a personal access token, only workspace owners can call this. A workspace API key with this scope can.",
8041
+ "description": "Registers an HTTPS URL to receive the workspace's events. Deliveries use the same signature format as Svix. The response includes the endpoint's signing secret (`whsec_\u2026`). You see it only once, so store it to verify deliveries. The API refuses private hosts and hosts without HTTPS. A workspace can have at most 10 endpoints. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
7827
8042
  "fields": [
7828
8043
  {
7829
8044
  "name": "url",
@@ -7891,7 +8106,7 @@ var OPERATIONS = [
7891
8106
  "exposed": false,
7892
8107
  "reason": "Changes where workspace data is sent. A person configures webhook endpoints (Settings \u2192 Developers in the app)."
7893
8108
  },
7894
- "description": "Deletes the endpoint and its signing secret. All deliveries to the endpoint stop. Its delivery history goes with it. With a personal access token, only workspace owners can call this. A workspace API key with this scope can.",
8109
+ "description": "Deletes the endpoint and its signing secret. All deliveries to the endpoint stop. Its delivery history goes with it. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
7895
8110
  "fields": [
7896
8111
  {
7897
8112
  "name": "endpointId",
@@ -7927,7 +8142,7 @@ var OPERATIONS = [
7927
8142
  "exposed": false,
7928
8143
  "reason": "Changes where workspace data is sent. A person configures webhook endpoints (Settings \u2192 Developers in the app)."
7929
8144
  },
7930
- "description": "Resumes deliveries to an endpoint that stopped after repeated failures. The endpoint keeps its signing secret. Its failure count resets. With a personal access token, only workspace owners can call this. A workspace API key with this scope can.",
8145
+ "description": "Resumes deliveries to an endpoint that stopped after repeated failures. The endpoint keeps its signing secret. Its failure count resets. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
7931
8146
  "fields": [
7932
8147
  {
7933
8148
  "name": "endpointId",
@@ -7968,7 +8183,7 @@ var OPERATIONS = [
7968
8183
  "idempotentHint": true
7969
8184
  }
7970
8185
  },
7971
- "description": "Returns one endpoint without its signing secret. It shows whether the endpoint is on, its consecutive failures and its last delivery status. With a personal access token, only workspace owners can call this. A workspace API key with this scope can.",
8186
+ "description": "Returns one endpoint without its signing secret. It shows whether the endpoint is on, its consecutive failures and its last delivery status. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
7972
8187
  "fields": [
7973
8188
  {
7974
8189
  "name": "endpointId",
@@ -8007,7 +8222,7 @@ var OPERATIONS = [
8007
8222
  "idempotentHint": true
8008
8223
  }
8009
8224
  },
8010
- "description": "Lists the workspace's outgoing webhook endpoints, newest first. The list leaves out their signing secrets. A workspace has at most 10 endpoints, so the list is a single page. Its `nextCursor` is null. With a personal access token, only workspace owners can call this. A workspace API key with this scope can.",
8225
+ "description": "Lists the workspace's outgoing webhook endpoints, newest first. The list leaves out their signing secrets. A workspace has at most 10 endpoints, so the list is a single page. Its `nextCursor` is null. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
8011
8226
  "fields": [],
8012
8227
  "hasBody": false,
8013
8228
  "workspace": true,
@@ -8035,7 +8250,7 @@ var OPERATIONS = [
8035
8250
  "idempotentHint": false
8036
8251
  }
8037
8252
  },
8038
- "description": "Sends a `ping` event to the endpoint, signed like every delivery. Use it to check that an integration verifies and accepts deliveries. With a personal access token, only workspace owners can call this. A workspace API key with this scope can.",
8253
+ "description": "Sends a `ping` event to the endpoint, signed like every delivery. Use it to check that an integration verifies and accepts deliveries. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
8039
8254
  "fields": [
8040
8255
  {
8041
8256
  "name": "endpointId",
@@ -8071,7 +8286,7 @@ var OPERATIONS = [
8071
8286
  "exposed": false,
8072
8287
  "reason": "Changes where workspace data is sent. A person configures webhook endpoints (Settings \u2192 Developers in the app)."
8073
8288
  },
8074
- "description": "Changes an endpoint's URL, description or event types in place. Only the fields you send change. The endpoint keeps its signing secret, so receivers keep verifying deliveries. A new URL must pass the same checks as on create. It must use HTTPS and can't be a private host. With a personal access token, only workspace owners can call this. A workspace API key with this scope can.",
8289
+ "description": "Changes an endpoint's URL, description or event types in place. Only the fields you send change. The endpoint keeps its signing secret, so receivers keep verifying deliveries. A new URL must pass the same checks as on create. It must use HTTPS and can't be a private host. With a personal access token, only the workspace owner can call this. So can an admin in a Developer seat. A workspace API key with this scope can.",
8075
8290
  "fields": [
8076
8291
  {
8077
8292
  "name": "endpointId",
@@ -8559,7 +8774,7 @@ function tokenEnvVar() {
8559
8774
  function build(io) {
8560
8775
  let actedIn = null;
8561
8776
  let sending;
8562
- const program2 = new Command().name(brand.name).description(`The ${brand.productName} CLI`).version("1.0.0-rc.13").addHelpText(
8777
+ const program2 = new Command().name(brand.name).description(`The ${brand.productName} CLI`).version("1.0.0-rc.14").addHelpText(
8563
8778
  "after",
8564
8779
  `
8565
8780
  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": "@limitry/cli",
3
- "version": "1.0.0-rc.13",
3
+ "version": "1.0.0-rc.14",
4
4
  "description": "Limitry command line",
5
5
  "type": "module",
6
6
  "bin": {
@@ -17,7 +17,7 @@
17
17
  "typecheck": "tsc --noEmit"
18
18
  },
19
19
  "devDependencies": {
20
- "@limitry/sdk": "1.0.0-rc.13",
20
+ "@limitry/sdk": "1.0.0-rc.14",
21
21
  "@types/node": "26.6.6",
22
22
  "commander": "15.0.0",
23
23
  "esbuild": "0.28.2",