@reminix/cli 1.0.0-rc.8 → 1.0.0-rc.9
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 +26 -0
- package/dist/reminix.mjs +126 -10
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
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.9 (2026-11-07)
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Lists can start from a date. `GET /v1/workspace/audit-events` and
|
|
10
|
+
`GET /v1/workspace/webhook-endpoints/{endpointId}/deliveries` take
|
|
11
|
+
`before`, an ISO time, and return the items older than it, newest first.
|
|
12
|
+
|
|
13
|
+
Audit events take two filters. `action` keeps one kind of event.
|
|
14
|
+
`actor` keeps what one person, key or token did: pass `user:` and an
|
|
15
|
+
item's `actor.id`, or `credential:` and its `credential.id`. Each audit
|
|
16
|
+
event now carries those ids.
|
|
17
|
+
|
|
18
|
+
Webhook deliveries take `status`: `pending`, `delivered` or `failed`.
|
|
19
|
+
- Listing runs takes `status`, which keeps only runs in one state, such as
|
|
20
|
+
`failed`. Listing runs and listing files both take `before`, which starts
|
|
21
|
+
the list from a moment instead of from now. For example,
|
|
22
|
+
`before=2026-11-01T00:00:00Z` lists what came before November.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- The usage count `authors` is now described as "People who published or
|
|
27
|
+
uploaded this month". Its id and numbers haven't changed.
|
|
28
|
+
- Listing files filters by file name with `name`, which replaces `q`. Every
|
|
29
|
+
filter is now named after the field it narrows.
|
|
30
|
+
|
|
5
31
|
## 1.0.0-rc.8 (2026-11-07)
|
|
6
32
|
|
|
7
33
|
### Added
|
package/dist/reminix.mjs
CHANGED
|
@@ -890,7 +890,7 @@ function resources(client) {
|
|
|
890
890
|
),
|
|
891
891
|
list: (
|
|
892
892
|
/** List files */
|
|
893
|
-
(input, options) => call(client, { "method": "get", "path": "/files", "query": ["limit", "cursor", "script", "origin", "
|
|
893
|
+
(input, options) => call(client, { "method": "get", "path": "/files", "query": ["limit", "cursor", "before", "script", "origin", "name"], "hasBody": false }, {}, input, options)
|
|
894
894
|
),
|
|
895
895
|
upload: (
|
|
896
896
|
/** Upload a file */
|
|
@@ -912,7 +912,7 @@ function resources(client) {
|
|
|
912
912
|
),
|
|
913
913
|
list: (
|
|
914
914
|
/** List runs */
|
|
915
|
-
(input, options) => call(client, { "method": "get", "path": "/runs", "query": ["limit", "cursor", "script"], "hasBody": false }, {}, input, options)
|
|
915
|
+
(input, options) => call(client, { "method": "get", "path": "/runs", "query": ["limit", "cursor", "before", "script", "status"], "hasBody": false }, {}, input, options)
|
|
916
916
|
),
|
|
917
917
|
log: (
|
|
918
918
|
/** Get a run's log */
|
|
@@ -1063,7 +1063,7 @@ function resources(client) {
|
|
|
1063
1063
|
auditEvents: {
|
|
1064
1064
|
list: (
|
|
1065
1065
|
/** List workspace audit events */
|
|
1066
|
-
(input, options) => call(client, { "method": "get", "path": "/workspace/audit-events", "query": ["limit", "cursor"], "hasBody": false }, {}, input, options)
|
|
1066
|
+
(input, options) => call(client, { "method": "get", "path": "/workspace/audit-events", "query": ["limit", "cursor", "before", "action", "actor"], "hasBody": false }, {}, input, options)
|
|
1067
1067
|
)
|
|
1068
1068
|
},
|
|
1069
1069
|
eventTypes: {
|
|
@@ -1101,7 +1101,7 @@ function resources(client) {
|
|
|
1101
1101
|
webhookDeliveries: {
|
|
1102
1102
|
list: (
|
|
1103
1103
|
/** List an endpoint's deliveries */
|
|
1104
|
-
(endpointId, input, options) => call(client, { "method": "get", "path": "/workspace/webhook-endpoints/{endpointId}/deliveries", "query": ["limit", "cursor"], "hasBody": false }, { "endpointId": endpointId }, input, options)
|
|
1104
|
+
(endpointId, input, options) => call(client, { "method": "get", "path": "/workspace/webhook-endpoints/{endpointId}/deliveries", "query": ["limit", "cursor", "before", "status"], "hasBody": false }, { "endpointId": endpointId }, input, options)
|
|
1105
1105
|
),
|
|
1106
1106
|
redeliver: (
|
|
1107
1107
|
/** Redeliver an event */
|
|
@@ -5639,7 +5639,7 @@ var OPERATIONS = [
|
|
|
5639
5639
|
"idempotentHint": true
|
|
5640
5640
|
}
|
|
5641
5641
|
},
|
|
5642
|
-
"description": "Lists the files that runs saved, newest first, across the scripts you can see. A file stays in the list until it expires. Pass `?script=<slug>` for one script's files. Pass `?origin=input` for the files runs took as inputs, or `?origin=all` for both. Pass `?
|
|
5642
|
+
"description": "Lists the files that runs saved, newest first, across the scripts you can see. A file stays in the list until it expires. Pass `?script=<slug>` for one script's files. Pass `?origin=input` for the files runs took as inputs, or `?origin=all` for both. Pass `?name=` to match file names. Each file comes with a download link that works for an hour. Pass `?before=` to start from a moment. Paginate with the opaque `nextCursor` token.",
|
|
5643
5643
|
"fields": [
|
|
5644
5644
|
{
|
|
5645
5645
|
"name": "limit",
|
|
@@ -5667,6 +5667,19 @@ var OPERATIONS = [
|
|
|
5667
5667
|
"description": "Opaque token from a previous page's nextCursor."
|
|
5668
5668
|
}
|
|
5669
5669
|
},
|
|
5670
|
+
{
|
|
5671
|
+
"name": "before",
|
|
5672
|
+
"in": "query",
|
|
5673
|
+
"type": "string",
|
|
5674
|
+
"required": false,
|
|
5675
|
+
"description": "Start from this moment: items older than it, newest first. Ignored with `cursor`, which already says where to go on.",
|
|
5676
|
+
"example": "2026-11-01T00:00:00.000Z",
|
|
5677
|
+
"schema": {
|
|
5678
|
+
"type": "string",
|
|
5679
|
+
"format": "date-time",
|
|
5680
|
+
"description": "Start from this moment: items older than it, newest first. Ignored with `cursor`, which already says where to go on."
|
|
5681
|
+
}
|
|
5682
|
+
},
|
|
5670
5683
|
{
|
|
5671
5684
|
"name": "script",
|
|
5672
5685
|
"in": "query",
|
|
@@ -5676,6 +5689,7 @@ var OPERATIONS = [
|
|
|
5676
5689
|
"example": "monthly-report",
|
|
5677
5690
|
"schema": {
|
|
5678
5691
|
"type": "string",
|
|
5692
|
+
"maxLength": 100,
|
|
5679
5693
|
"description": "Only files from this script's runs, by its slug."
|
|
5680
5694
|
}
|
|
5681
5695
|
},
|
|
@@ -5696,7 +5710,7 @@ var OPERATIONS = [
|
|
|
5696
5710
|
}
|
|
5697
5711
|
},
|
|
5698
5712
|
{
|
|
5699
|
-
"name": "
|
|
5713
|
+
"name": "name",
|
|
5700
5714
|
"in": "query",
|
|
5701
5715
|
"type": "string",
|
|
5702
5716
|
"required": false,
|
|
@@ -5926,7 +5940,7 @@ var OPERATIONS = [
|
|
|
5926
5940
|
"idempotentHint": true
|
|
5927
5941
|
}
|
|
5928
5942
|
},
|
|
5929
|
-
"description": "Lists the workspace's runs, newest first. Pass `?script=<slug>` for one script's runs. Paginate with the opaque `nextCursor` token.",
|
|
5943
|
+
"description": "Lists the workspace's runs, newest first. Pass `?script=<slug>` for one script's runs and `?status=` for runs in one state. Pass `?before=` to start from a moment. Paginate with the opaque `nextCursor` token.",
|
|
5930
5944
|
"fields": [
|
|
5931
5945
|
{
|
|
5932
5946
|
"name": "limit",
|
|
@@ -5954,6 +5968,19 @@ var OPERATIONS = [
|
|
|
5954
5968
|
"description": "Opaque token from a previous page's nextCursor."
|
|
5955
5969
|
}
|
|
5956
5970
|
},
|
|
5971
|
+
{
|
|
5972
|
+
"name": "before",
|
|
5973
|
+
"in": "query",
|
|
5974
|
+
"type": "string",
|
|
5975
|
+
"required": false,
|
|
5976
|
+
"description": "Start from this moment: items older than it, newest first. Ignored with `cursor`, which already says where to go on.",
|
|
5977
|
+
"example": "2026-11-01T00:00:00.000Z",
|
|
5978
|
+
"schema": {
|
|
5979
|
+
"type": "string",
|
|
5980
|
+
"format": "date-time",
|
|
5981
|
+
"description": "Start from this moment: items older than it, newest first. Ignored with `cursor`, which already says where to go on."
|
|
5982
|
+
}
|
|
5983
|
+
},
|
|
5957
5984
|
{
|
|
5958
5985
|
"name": "script",
|
|
5959
5986
|
"in": "query",
|
|
@@ -5963,8 +5990,28 @@ var OPERATIONS = [
|
|
|
5963
5990
|
"example": "unlock-account",
|
|
5964
5991
|
"schema": {
|
|
5965
5992
|
"type": "string",
|
|
5993
|
+
"maxLength": 100,
|
|
5966
5994
|
"description": "Only this script's runs, by its slug."
|
|
5967
5995
|
}
|
|
5996
|
+
},
|
|
5997
|
+
{
|
|
5998
|
+
"name": "status",
|
|
5999
|
+
"in": "query",
|
|
6000
|
+
"type": "string",
|
|
6001
|
+
"required": false,
|
|
6002
|
+
"description": "Only runs in this state.",
|
|
6003
|
+
"example": "failed",
|
|
6004
|
+
"schema": {
|
|
6005
|
+
"type": "string",
|
|
6006
|
+
"enum": [
|
|
6007
|
+
"awaiting_approval",
|
|
6008
|
+
"running",
|
|
6009
|
+
"succeeded",
|
|
6010
|
+
"failed",
|
|
6011
|
+
"cancelled"
|
|
6012
|
+
],
|
|
6013
|
+
"description": "Only runs in this state."
|
|
6014
|
+
}
|
|
5968
6015
|
}
|
|
5969
6016
|
],
|
|
5970
6017
|
"hasBody": false,
|
|
@@ -8022,7 +8069,7 @@ var OPERATIONS = [
|
|
|
8022
8069
|
"idempotentHint": true
|
|
8023
8070
|
}
|
|
8024
8071
|
},
|
|
8025
|
-
"description": "Lists the workspace's audit events, newest first. Paginate with the opaque `nextCursor` token. `limit` takes 1 to 100 and defaults to 25. With a personal access token, only workspace owners can call this, as with the audit page in the app. A workspace API key always can, because it acts as the workspace itself.",
|
|
8072
|
+
"description": "Lists the workspace's audit events, newest first. Paginate with the opaque `nextCursor` token. `limit` takes 1 to 100 and defaults to 25. `before` starts from a moment. `action` keeps one kind of event, and `actor` what one person, key or token did. With a personal access token, only workspace owners can call this, as with the audit page in the app. A workspace API key always can, because it acts as the workspace itself.",
|
|
8026
8073
|
"fields": [
|
|
8027
8074
|
{
|
|
8028
8075
|
"name": "limit",
|
|
@@ -8049,6 +8096,45 @@ var OPERATIONS = [
|
|
|
8049
8096
|
"type": "string",
|
|
8050
8097
|
"description": "Opaque token from a previous page's nextCursor."
|
|
8051
8098
|
}
|
|
8099
|
+
},
|
|
8100
|
+
{
|
|
8101
|
+
"name": "before",
|
|
8102
|
+
"in": "query",
|
|
8103
|
+
"type": "string",
|
|
8104
|
+
"required": false,
|
|
8105
|
+
"description": "Start from this moment: items older than it, newest first. Ignored with `cursor`, which already says where to go on.",
|
|
8106
|
+
"example": "2026-11-01T00:00:00.000Z",
|
|
8107
|
+
"schema": {
|
|
8108
|
+
"type": "string",
|
|
8109
|
+
"format": "date-time",
|
|
8110
|
+
"description": "Start from this moment: items older than it, newest first. Ignored with `cursor`, which already says where to go on."
|
|
8111
|
+
}
|
|
8112
|
+
},
|
|
8113
|
+
{
|
|
8114
|
+
"name": "action",
|
|
8115
|
+
"in": "query",
|
|
8116
|
+
"type": "string",
|
|
8117
|
+
"required": false,
|
|
8118
|
+
"description": "Only events of this action.",
|
|
8119
|
+
"example": "workspace.member_invited",
|
|
8120
|
+
"schema": {
|
|
8121
|
+
"type": "string",
|
|
8122
|
+
"maxLength": 100,
|
|
8123
|
+
"description": "Only events of this action."
|
|
8124
|
+
}
|
|
8125
|
+
},
|
|
8126
|
+
{
|
|
8127
|
+
"name": "actor",
|
|
8128
|
+
"in": "query",
|
|
8129
|
+
"type": "string",
|
|
8130
|
+
"required": false,
|
|
8131
|
+
"description": "Only what one person did (`user:` and the item's `actor.id`), or one key or token (`credential:` and the item's `credential.id`).",
|
|
8132
|
+
"example": "user:usr_k3TAiF2ZP5sQ",
|
|
8133
|
+
"schema": {
|
|
8134
|
+
"type": "string",
|
|
8135
|
+
"pattern": "^(user|credential):[\\w-]+$",
|
|
8136
|
+
"description": "Only what one person did (`user:` and the item's `actor.id`), or one key or token (`credential:` and the item's `credential.id`)."
|
|
8137
|
+
}
|
|
8052
8138
|
}
|
|
8053
8139
|
],
|
|
8054
8140
|
"hasBody": false,
|
|
@@ -8314,7 +8400,7 @@ var OPERATIONS = [
|
|
|
8314
8400
|
"idempotentHint": true
|
|
8315
8401
|
}
|
|
8316
8402
|
},
|
|
8317
|
-
"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`. With a personal access token, only workspace owners can call this. A workspace API key with this scope can.",
|
|
8403
|
+
"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.",
|
|
8318
8404
|
"fields": [
|
|
8319
8405
|
{
|
|
8320
8406
|
"name": "endpointId",
|
|
@@ -8353,6 +8439,36 @@ var OPERATIONS = [
|
|
|
8353
8439
|
"type": "string",
|
|
8354
8440
|
"description": "Opaque token from a previous page's nextCursor."
|
|
8355
8441
|
}
|
|
8442
|
+
},
|
|
8443
|
+
{
|
|
8444
|
+
"name": "before",
|
|
8445
|
+
"in": "query",
|
|
8446
|
+
"type": "string",
|
|
8447
|
+
"required": false,
|
|
8448
|
+
"description": "Start from this moment: items older than it, newest first. Ignored with `cursor`, which already says where to go on.",
|
|
8449
|
+
"example": "2026-11-01T00:00:00.000Z",
|
|
8450
|
+
"schema": {
|
|
8451
|
+
"type": "string",
|
|
8452
|
+
"format": "date-time",
|
|
8453
|
+
"description": "Start from this moment: items older than it, newest first. Ignored with `cursor`, which already says where to go on."
|
|
8454
|
+
}
|
|
8455
|
+
},
|
|
8456
|
+
{
|
|
8457
|
+
"name": "status",
|
|
8458
|
+
"in": "query",
|
|
8459
|
+
"type": "string",
|
|
8460
|
+
"required": false,
|
|
8461
|
+
"description": "Only deliveries with this status.",
|
|
8462
|
+
"example": "failed",
|
|
8463
|
+
"schema": {
|
|
8464
|
+
"type": "string",
|
|
8465
|
+
"enum": [
|
|
8466
|
+
"pending",
|
|
8467
|
+
"delivered",
|
|
8468
|
+
"failed"
|
|
8469
|
+
],
|
|
8470
|
+
"description": "Only deliveries with this status."
|
|
8471
|
+
}
|
|
8356
8472
|
}
|
|
8357
8473
|
],
|
|
8358
8474
|
"hasBody": false,
|
|
@@ -10688,7 +10804,7 @@ function tokenEnvVar() {
|
|
|
10688
10804
|
function build(io) {
|
|
10689
10805
|
let actedIn = null;
|
|
10690
10806
|
let sending;
|
|
10691
|
-
const program3 = new Command().name(brand.name).description(`The ${brand.productName} CLI`).version("1.0.0-rc.
|
|
10807
|
+
const program3 = new Command().name(brand.name).description(`The ${brand.productName} CLI`).version("1.0.0-rc.9").addHelpText(
|
|
10692
10808
|
"after",
|
|
10693
10809
|
`
|
|
10694
10810
|
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.
|
|
3
|
+
"version": "1.0.0-rc.9",
|
|
4
4
|
"description": "Reminix command line",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"typecheck": "tsc --noEmit"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@reminix/sdk": "1.0.0-rc.
|
|
20
|
+
"@reminix/sdk": "1.0.0-rc.8",
|
|
21
21
|
"@types/node": "26.6.6",
|
|
22
22
|
"commander": "15.0.0",
|
|
23
23
|
"smol-toml": "1.9.1",
|