@doist/twist-cli 2.21.3 → 2.22.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.
- package/CHANGELOG.md +81 -124
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/auth.js +1 -2
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/update/action.d.ts +12 -0
- package/dist/commands/update/action.d.ts.map +1 -0
- package/dist/commands/update/action.js +129 -0
- package/dist/commands/update/action.js.map +1 -0
- package/dist/commands/update/channel.d.ts +2 -0
- package/dist/commands/update/channel.d.ts.map +1 -0
- package/dist/commands/update/channel.js +13 -0
- package/dist/commands/update/channel.js.map +1 -0
- package/dist/commands/update/index.d.ts +3 -0
- package/dist/commands/update/index.d.ts.map +1 -0
- package/dist/commands/update/index.js +18 -0
- package/dist/commands/update/index.js.map +1 -0
- package/dist/commands/update/switch.d.ts +5 -0
- package/dist/commands/update/switch.d.ts.map +1 -0
- package/dist/commands/update/switch.js +31 -0
- package/dist/commands/update/switch.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/lib/config.d.ts +2 -0
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/config.js +7 -3
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/skills/content.d.ts +1 -1
- package/dist/lib/skills/content.d.ts.map +1 -1
- package/dist/lib/skills/content.js +4 -1
- package/dist/lib/skills/content.js.map +1 -1
- package/package.json +6 -8
- package/dist/commands/update.d.ts +0 -14
- package/dist/commands/update.d.ts.map +0 -1
- package/dist/commands/update.js +0 -91
- package/dist/commands/update.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,265 +1,243 @@
|
|
|
1
|
+
## [2.22.1](https://github.com/Doist/twist-cli/compare/v2.22.0...v2.22.1) (2026-04-02)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- secure config permissions and address update channel review feedback ([#127](https://github.com/Doist/twist-cli/issues/127)) ([017c8fa](https://github.com/Doist/twist-cli/commit/017c8fa203e543471c286021bbbbde86eb12ddbf))
|
|
6
|
+
|
|
7
|
+
## [2.22.0](https://github.com/Doist/twist-cli/compare/v2.21.3...v2.22.0) (2026-04-02)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- allow switching between stable and pre-release update channels ([#126](https://github.com/Doist/twist-cli/issues/126)) ([78ee76f](https://github.com/Doist/twist-cli/commit/78ee76f0776e98b5f5782ffde24044115cc9f658))
|
|
12
|
+
|
|
1
13
|
## [2.21.3](https://github.com/Doist/twist-cli/compare/v2.21.2...v2.21.3) (2026-04-01)
|
|
2
14
|
|
|
3
15
|
### Bug Fixes
|
|
4
16
|
|
|
5
|
-
|
|
17
|
+
- suppress credential manager warning on every command ([#121](https://github.com/Doist/twist-cli/issues/121)) ([8423867](https://github.com/Doist/twist-cli/commit/8423867c7c43db7ae13cb7a78d027e8d9cbb98f5))
|
|
6
18
|
|
|
7
19
|
## [2.21.2](https://github.com/Doist/twist-cli/compare/v2.21.1...v2.21.2) (2026-03-29)
|
|
8
20
|
|
|
9
21
|
### Bug Fixes
|
|
10
22
|
|
|
11
|
-
|
|
23
|
+
- add prepublishOnly script for release safety ([#115](https://github.com/Doist/twist-cli/issues/115)) ([7b50727](https://github.com/Doist/twist-cli/commit/7b5072700f8fac968161ade717cde247ff5e87fe))
|
|
12
24
|
|
|
13
25
|
## [2.21.1](https://github.com/Doist/twist-cli/compare/v2.21.0...v2.21.1) (2026-03-28)
|
|
14
26
|
|
|
15
27
|
### Bug Fixes
|
|
16
28
|
|
|
17
|
-
|
|
29
|
+
- use Node 22 for release workflow ([#114](https://github.com/Doist/twist-cli/issues/114)) ([3c1463d](https://github.com/Doist/twist-cli/commit/3c1463d23ffcf74e182414f80b3adf1a81790899))
|
|
18
30
|
|
|
19
31
|
# [2.21.0](https://github.com/Doist/twist-cli/compare/v2.20.0...v2.21.0) (2026-03-27)
|
|
20
32
|
|
|
21
|
-
|
|
22
33
|
### Features
|
|
23
34
|
|
|
24
|
-
|
|
35
|
+
- add mute and unmute commands for threads and conversations ([#111](https://github.com/Doist/twist-cli/issues/111)) ([57eae83](https://github.com/Doist/twist-cli/commit/57eae8386fc582ac8981b415deb2386fcc5a8e9c))
|
|
25
36
|
|
|
26
37
|
# [2.20.0](https://github.com/Doist/twist-cli/compare/v2.19.0...v2.20.0) (2026-03-27)
|
|
27
38
|
|
|
28
|
-
|
|
29
39
|
### Features
|
|
30
40
|
|
|
31
|
-
|
|
41
|
+
- add --close and --reopen flags to thread reply ([#110](https://github.com/Doist/twist-cli/issues/110)) ([fc3880e](https://github.com/Doist/twist-cli/commit/fc3880ed7f8365c58cbdff2f643caf2a28b40130))
|
|
32
42
|
|
|
33
43
|
# [2.19.0](https://github.com/Doist/twist-cli/compare/v2.18.4...v2.19.0) (2026-03-27)
|
|
34
44
|
|
|
35
|
-
|
|
36
45
|
### Features
|
|
37
46
|
|
|
38
|
-
|
|
47
|
+
- add comment edit and delete commands ([#109](https://github.com/Doist/twist-cli/issues/109)) ([2c740e5](https://github.com/Doist/twist-cli/commit/2c740e5677e78f019e85fdb96ee098884972f902))
|
|
39
48
|
|
|
40
49
|
## [2.18.4](https://github.com/Doist/twist-cli/compare/v2.18.3...v2.18.4) (2026-03-26)
|
|
41
50
|
|
|
42
|
-
|
|
43
51
|
### Bug Fixes
|
|
44
52
|
|
|
45
|
-
|
|
53
|
+
- upgrade Twist SDK for proxy env var support ([#107](https://github.com/Doist/twist-cli/issues/107)) ([ad5bfc4](https://github.com/Doist/twist-cli/commit/ad5bfc4363975b45857cc0b799c40e6fe5f94718))
|
|
46
54
|
|
|
47
55
|
## [2.18.3](https://github.com/Doist/twist-cli/compare/v2.18.2...v2.18.3) (2026-03-26)
|
|
48
56
|
|
|
49
|
-
|
|
50
57
|
### Bug Fixes
|
|
51
58
|
|
|
52
|
-
|
|
59
|
+
- remove inline token placeholder from skill auth example ([#106](https://github.com/Doist/twist-cli/issues/106)) ([ce0683d](https://github.com/Doist/twist-cli/commit/ce0683dea1645d33f456f2812c4d02a1a21ba0eb))
|
|
53
60
|
|
|
54
61
|
## [2.18.2](https://github.com/Doist/twist-cli/compare/v2.18.1...v2.18.2) (2026-03-25)
|
|
55
62
|
|
|
56
|
-
|
|
57
63
|
### Bug Fixes
|
|
58
64
|
|
|
59
|
-
|
|
65
|
+
- use JSON.stringify for robust YAML description escaping ([#103](https://github.com/Doist/twist-cli/issues/103)) ([9adab77](https://github.com/Doist/twist-cli/commit/9adab777b395e43e7ebc23ed73930b188c768290))
|
|
60
66
|
|
|
61
67
|
## [2.18.1](https://github.com/Doist/twist-cli/compare/v2.18.0...v2.18.1) (2026-03-25)
|
|
62
68
|
|
|
63
|
-
|
|
64
69
|
### Bug Fixes
|
|
65
70
|
|
|
66
|
-
|
|
71
|
+
- use cross-platform postinstall script ([#102](https://github.com/Doist/twist-cli/issues/102)) ([dabe906](https://github.com/Doist/twist-cli/commit/dabe9069eb106349488ae79b1b0e92f21fae979b))
|
|
67
72
|
|
|
68
73
|
# [2.18.0](https://github.com/Doist/twist-cli/compare/v2.17.1...v2.18.0) (2026-03-25)
|
|
69
74
|
|
|
70
|
-
|
|
71
75
|
### Features
|
|
72
76
|
|
|
73
|
-
|
|
77
|
+
- add new agent skills ([#101](https://github.com/Doist/twist-cli/issues/101)) ([37fa53f](https://github.com/Doist/twist-cli/commit/37fa53f899a9031c957a81d6266ad4073023440e))
|
|
74
78
|
|
|
75
79
|
## [2.17.1](https://github.com/Doist/twist-cli/compare/v2.17.0...v2.17.1) (2026-03-23)
|
|
76
80
|
|
|
77
|
-
|
|
78
81
|
### Bug Fixes
|
|
79
82
|
|
|
80
|
-
|
|
83
|
+
- **deps:** update dependency @doist/twist-sdk to v2.1.2 ([#100](https://github.com/Doist/twist-cli/issues/100)) ([cd5d313](https://github.com/Doist/twist-cli/commit/cd5d3135868b28ae38c32d9b7850a752b0e99cd7))
|
|
81
84
|
|
|
82
85
|
# [2.17.0](https://github.com/Doist/twist-cli/compare/v2.16.0...v2.17.0) (2026-03-21)
|
|
83
86
|
|
|
84
|
-
|
|
85
87
|
### Features
|
|
86
88
|
|
|
87
|
-
|
|
89
|
+
- add changelog command and post-update hint ([#96](https://github.com/Doist/twist-cli/issues/96)) ([daed3da](https://github.com/Doist/twist-cli/commit/daed3da5c11d79c8c3da9d102c8f73f10276817e))
|
|
88
90
|
|
|
89
91
|
# [2.16.0](https://github.com/Doist/twist-cli/compare/v2.15.0...v2.16.0) (2026-03-21)
|
|
90
92
|
|
|
91
|
-
|
|
92
93
|
### Features
|
|
93
94
|
|
|
94
|
-
|
|
95
|
+
- add thread create command and document stdin piping ([#95](https://github.com/Doist/twist-cli/issues/95)) ([5d9a9c3](https://github.com/Doist/twist-cli/commit/5d9a9c373a138647c70b3a953287d7f2e6be7732))
|
|
95
96
|
|
|
96
97
|
# [2.15.0](https://github.com/Doist/twist-cli/compare/v2.14.2...v2.15.0) (2026-03-19)
|
|
97
98
|
|
|
98
|
-
|
|
99
99
|
### Features
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
- add --json output to auth status command ([#93](https://github.com/Doist/twist-cli/issues/93)) ([7bdec70](https://github.com/Doist/twist-cli/commit/7bdec7071e4e711f1c67d6a300d8db6d857c7eb1))
|
|
102
102
|
|
|
103
103
|
## [2.14.2](https://github.com/Doist/twist-cli/compare/v2.14.1...v2.14.2) (2026-03-18)
|
|
104
104
|
|
|
105
|
-
|
|
106
105
|
### Bug Fixes
|
|
107
106
|
|
|
108
|
-
|
|
107
|
+
- handle batch response errors in thread view ([#91](https://github.com/Doist/twist-cli/issues/91)) ([a6e7fd6](https://github.com/Doist/twist-cli/commit/a6e7fd6ae81ef50a5fc7575dcaa95056de9c0af8))
|
|
109
108
|
|
|
110
109
|
## [2.14.1](https://github.com/Doist/twist-cli/compare/v2.14.0...v2.14.1) (2026-03-15)
|
|
111
110
|
|
|
112
|
-
|
|
113
111
|
### Bug Fixes
|
|
114
112
|
|
|
115
|
-
|
|
113
|
+
- make thread view --unread filter correctly across all output modes ([#86](https://github.com/Doist/twist-cli/issues/86)) ([92478c9](https://github.com/Doist/twist-cli/commit/92478c98811124d3d87738f7288a0451574562b0))
|
|
116
114
|
|
|
117
115
|
# [2.14.0](https://github.com/Doist/twist-cli/compare/v2.13.0...v2.14.0) (2026-03-15)
|
|
118
116
|
|
|
119
|
-
|
|
120
117
|
### Features
|
|
121
118
|
|
|
122
|
-
|
|
119
|
+
- Add read-only OAuth mode for safe autonomous tool use ([#81](https://github.com/Doist/twist-cli/issues/81)) ([6e4ea5d](https://github.com/Doist/twist-cli/commit/6e4ea5dfffa89fe1bf176753e57ad93879a9cd25))
|
|
123
120
|
|
|
124
121
|
# [2.13.0](https://github.com/Doist/twist-cli/compare/v2.12.0...v2.13.0) (2026-03-15)
|
|
125
122
|
|
|
126
|
-
|
|
127
123
|
### Features
|
|
128
124
|
|
|
129
|
-
|
|
125
|
+
- show version transition during tw update ([#85](https://github.com/Doist/twist-cli/issues/85)) ([99134d8](https://github.com/Doist/twist-cli/commit/99134d8280283ecd2f72a6f300d3a356d89a592b))
|
|
130
126
|
|
|
131
127
|
# [2.12.0](https://github.com/Doist/twist-cli/compare/v2.11.0...v2.12.0) (2026-03-14)
|
|
132
128
|
|
|
133
|
-
|
|
134
129
|
### Features
|
|
135
130
|
|
|
136
|
-
|
|
131
|
+
- add --json support to mutating commands ([#84](https://github.com/Doist/twist-cli/issues/84)) ([738ecf2](https://github.com/Doist/twist-cli/commit/738ecf209fccf3675f52b92fe8c697d94c562496))
|
|
137
132
|
|
|
138
133
|
# [2.11.0](https://github.com/Doist/twist-cli/compare/v2.10.0...v2.11.0) (2026-03-12)
|
|
139
134
|
|
|
140
|
-
|
|
141
135
|
### Features
|
|
142
136
|
|
|
143
|
-
|
|
137
|
+
- add away status command ([#79](https://github.com/Doist/twist-cli/issues/79)) ([9fd71e7](https://github.com/Doist/twist-cli/commit/9fd71e7a7ce05c4092e65944be52390ddec9b7ff))
|
|
144
138
|
|
|
145
139
|
# [2.10.0](https://github.com/Doist/twist-cli/compare/v2.9.1...v2.10.0) (2026-03-11)
|
|
146
140
|
|
|
147
|
-
|
|
148
141
|
### Features
|
|
149
142
|
|
|
150
|
-
|
|
143
|
+
- store auth tokens in OS credential storage ([#77](https://github.com/Doist/twist-cli/issues/77)) ([b67a11b](https://github.com/Doist/twist-cli/commit/b67a11b36ecf82aed2f21a9e5deecc52146f801e))
|
|
151
144
|
|
|
152
145
|
## [2.9.1](https://github.com/Doist/twist-cli/compare/v2.9.0...v2.9.1) (2026-03-11)
|
|
153
146
|
|
|
154
|
-
|
|
155
147
|
### Bug Fixes
|
|
156
148
|
|
|
157
|
-
|
|
149
|
+
- **deps:** update dependency open to v11 ([#66](https://github.com/Doist/twist-cli/issues/66)) ([3503e7f](https://github.com/Doist/twist-cli/commit/3503e7fb52b0b5e471a81b63fedf6a099ec2836e))
|
|
158
150
|
|
|
159
151
|
# [2.9.0](https://github.com/Doist/twist-cli/compare/v2.8.0...v2.9.0) (2026-03-11)
|
|
160
152
|
|
|
161
|
-
|
|
162
153
|
### Features
|
|
163
154
|
|
|
164
|
-
|
|
155
|
+
- add conversation lookup by user ([#76](https://github.com/Doist/twist-cli/issues/76)) ([50ebe3b](https://github.com/Doist/twist-cli/commit/50ebe3bd43019703e80a7fc5dace94c82182aad7))
|
|
165
156
|
|
|
166
157
|
# [2.8.0](https://github.com/Doist/twist-cli/compare/v2.7.2...v2.8.0) (2026-03-09)
|
|
167
158
|
|
|
168
|
-
|
|
169
159
|
### Features
|
|
170
160
|
|
|
171
|
-
|
|
161
|
+
- include reactions in essential JSON output fields ([72b6bca](https://github.com/Doist/twist-cli/commit/72b6bca15422252db0fbd5ebbaa721cc11becd8f))
|
|
172
162
|
|
|
173
163
|
## [2.7.2](https://github.com/Doist/twist-cli/compare/v2.7.1...v2.7.2) (2026-02-26)
|
|
174
164
|
|
|
175
|
-
|
|
176
165
|
### Bug Fixes
|
|
177
166
|
|
|
178
|
-
|
|
167
|
+
- **deps:** update dependency yocto-spinner to v1.1.0 ([#63](https://github.com/Doist/twist-cli/issues/63)) ([e1ddeb2](https://github.com/Doist/twist-cli/commit/e1ddeb260c193e23d1dd38bc9a3c99394f1e277c))
|
|
179
168
|
|
|
180
169
|
## [2.7.1](https://github.com/Doist/twist-cli/compare/v2.7.0...v2.7.1) (2026-02-25)
|
|
181
170
|
|
|
182
|
-
|
|
183
171
|
### Bug Fixes
|
|
184
172
|
|
|
185
|
-
|
|
173
|
+
- **deps:** update dependency commander to v14.0.3 ([#57](https://github.com/Doist/twist-cli/issues/57)) ([5e92b39](https://github.com/Doist/twist-cli/commit/5e92b398973c09c76dfae8cad3c03b45305a3038))
|
|
186
174
|
|
|
187
175
|
# [2.7.0](https://github.com/Doist/twist-cli/compare/v2.6.0...v2.7.0) (2026-02-25)
|
|
188
176
|
|
|
189
|
-
|
|
190
177
|
### Features
|
|
191
178
|
|
|
192
|
-
|
|
179
|
+
- suppress package manager output during `tw update` ([#55](https://github.com/Doist/twist-cli/issues/55)) ([fdc9d88](https://github.com/Doist/twist-cli/commit/fdc9d88026f481d1063722fdeedfcf6847fbdf5b))
|
|
193
180
|
|
|
194
181
|
# [2.6.0](https://github.com/Doist/twist-cli/compare/v2.5.1...v2.6.0) (2026-02-25)
|
|
195
182
|
|
|
196
|
-
|
|
197
183
|
### Features
|
|
198
184
|
|
|
199
|
-
|
|
185
|
+
- upgrade OAuth pages with twist-cli branding icon ([#52](https://github.com/Doist/twist-cli/issues/52)) ([880649f](https://github.com/Doist/twist-cli/commit/880649fcdc381e6e6e94503d7173cdd60e3f1f6e))
|
|
200
186
|
|
|
201
187
|
## [2.5.1](https://github.com/Doist/twist-cli/compare/v2.5.0...v2.5.1) (2026-02-21)
|
|
202
188
|
|
|
203
|
-
|
|
204
189
|
### Bug Fixes
|
|
205
190
|
|
|
206
|
-
|
|
191
|
+
- remove inaccessible renovate-config-internal preset ([#50](https://github.com/Doist/twist-cli/issues/50)) ([b36a16d](https://github.com/Doist/twist-cli/commit/b36a16db0835e10d79f34c44027c336d6af42eb9))
|
|
207
192
|
|
|
208
193
|
# [2.5.0](https://github.com/Doist/twist-cli/compare/v2.4.0...v2.5.0) (2026-02-21)
|
|
209
194
|
|
|
210
|
-
|
|
211
195
|
### Features
|
|
212
196
|
|
|
213
|
-
|
|
214
|
-
|
|
197
|
+
- add --accessible flag for screen-reader-friendly output ([#47](https://github.com/Doist/twist-cli/issues/47)) ([5317cdf](https://github.com/Doist/twist-cli/commit/5317cdf729e6faa43f339cbb4ef4ab1a0e7ad02a))
|
|
198
|
+
- add Gemini CLI skill ([#48](https://github.com/Doist/twist-cli/issues/48)) ([7992c26](https://github.com/Doist/twist-cli/commit/7992c26f11eb9d5b23d00270a3779a05b4ed9e6c))
|
|
215
199
|
|
|
216
200
|
# [2.4.0](https://github.com/Doist/twist-cli/compare/v2.3.0...v2.4.0) (2026-02-21)
|
|
217
201
|
|
|
218
|
-
|
|
219
202
|
### Features
|
|
220
203
|
|
|
221
|
-
|
|
204
|
+
- add `tw update` self-update command ([#46](https://github.com/Doist/twist-cli/issues/46)) ([b6a019b](https://github.com/Doist/twist-cli/commit/b6a019bf3f8a0178754125165591ae8fe71f7a67))
|
|
222
205
|
|
|
223
206
|
# [2.3.0](https://github.com/Doist/twist-cli/compare/v2.2.0...v2.3.0) (2026-02-20)
|
|
224
207
|
|
|
225
|
-
|
|
226
208
|
### Features
|
|
227
209
|
|
|
228
|
-
|
|
210
|
+
- add shell completions for tw CLI ([#40](https://github.com/Doist/twist-cli/issues/40)) ([3ad6797](https://github.com/Doist/twist-cli/commit/3ad6797075013f9b0c7ee7947025f0cba9d800af))
|
|
229
211
|
|
|
230
212
|
# [2.2.0](https://github.com/Doist/twist-cli/compare/v2.1.0...v2.2.0) (2026-02-20)
|
|
231
213
|
|
|
232
|
-
|
|
233
214
|
### Features
|
|
234
215
|
|
|
235
|
-
|
|
216
|
+
- Improve lenient reference handling across CLI commands ([#38](https://github.com/Doist/twist-cli/issues/38)) ([bbf3a9b](https://github.com/Doist/twist-cli/commit/bbf3a9b550a3cf2f03299d2c81ab2d440d016291))
|
|
236
217
|
|
|
237
218
|
# [2.1.0](https://github.com/Doist/twist-cli/compare/v2.0.0...v2.1.0) (2026-02-19)
|
|
238
219
|
|
|
239
|
-
|
|
240
220
|
### Features
|
|
241
221
|
|
|
242
|
-
|
|
222
|
+
- add `tw view <url>` router command ([#42](https://github.com/Doist/twist-cli/issues/42)) ([b5263fa](https://github.com/Doist/twist-cli/commit/b5263faaded723964b7c65f50a2efac78d491288))
|
|
243
223
|
|
|
244
224
|
# [2.0.0](https://github.com/Doist/twist-cli/compare/v1.11.0...v2.0.0) (2026-02-19)
|
|
245
225
|
|
|
246
|
-
|
|
247
|
-
* feat!: rename `tw msg` to `tw conversation`, repurpose `tw msg` for message operations ([#41](https://github.com/Doist/twist-cli/issues/41)) ([786e97a](https://github.com/Doist/twist-cli/commit/786e97a6d20572a8edb5beccb233c93f9091c38b))
|
|
248
|
-
|
|
226
|
+
- feat!: rename `tw msg` to `tw conversation`, repurpose `tw msg` for message operations ([#41](https://github.com/Doist/twist-cli/issues/41)) ([786e97a](https://github.com/Doist/twist-cli/commit/786e97a6d20572a8edb5beccb233c93f9091c38b))
|
|
249
227
|
|
|
250
228
|
### BREAKING CHANGES
|
|
251
229
|
|
|
252
|
-
|
|
253
|
-
(alias: `convo`) for conversation-level operations (unread, view, reply, done).
|
|
254
|
-
`tw msg` (alias: `message`) now operates on individual conversation messages
|
|
255
|
-
(view, update, delete).
|
|
230
|
+
- `tw msg` no longer operates on conversations. Use `tw conversation`
|
|
231
|
+
(alias: `convo`) for conversation-level operations (unread, view, reply, done).
|
|
232
|
+
`tw msg` (alias: `message`) now operates on individual conversation messages
|
|
233
|
+
(view, update, delete).
|
|
256
234
|
|
|
257
235
|
Also adds alias support to the lazy-loading system and a missing spinner entry
|
|
258
236
|
for `conversationMessages.getMessage`.
|
|
259
237
|
|
|
260
238
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
|
261
239
|
|
|
262
|
-
|
|
240
|
+
- fix: apply field filtering to ndjson output in msg view
|
|
263
241
|
|
|
264
242
|
Ensures --ndjson applies the same essential field filtering as --json,
|
|
265
243
|
as flagged in PR review.
|
|
@@ -268,148 +246,127 @@ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
|
|
268
246
|
|
|
269
247
|
# [1.11.0](https://github.com/Doist/twist-cli/compare/v1.10.1...v1.11.0) (2026-02-17)
|
|
270
248
|
|
|
271
|
-
|
|
272
249
|
### Features
|
|
273
250
|
|
|
274
|
-
|
|
251
|
+
- add `tw skill update` command and postinstall auto-update ([#37](https://github.com/Doist/twist-cli/issues/37)) ([6b977f0](https://github.com/Doist/twist-cli/commit/6b977f0b232889656ee9e4903a844e1d2af60b52))
|
|
275
252
|
|
|
276
253
|
## [1.10.1](https://github.com/Doist/twist-cli/compare/v1.10.0...v1.10.1) (2026-02-13)
|
|
277
254
|
|
|
278
|
-
|
|
279
255
|
### Performance Improvements
|
|
280
256
|
|
|
281
|
-
|
|
257
|
+
- lazy-load commands and show early spinner for instant feedback ([#35](https://github.com/Doist/twist-cli/issues/35)) ([1f3629f](https://github.com/Doist/twist-cli/commit/1f3629fddb06bf8524faea5680b4918d3a363dfa))
|
|
282
258
|
|
|
283
259
|
# [1.10.0](https://github.com/Doist/twist-cli/compare/v1.9.1...v1.10.0) (2026-02-12)
|
|
284
260
|
|
|
285
|
-
|
|
286
261
|
### Features
|
|
287
262
|
|
|
288
|
-
|
|
263
|
+
- lenient CLI ergonomics — implicit view, workspace flag aliases, conflict detection ([#34](https://github.com/Doist/twist-cli/issues/34)) ([d5c8339](https://github.com/Doist/twist-cli/commit/d5c83391a6bf37edca365bd47d66a1e44a0373bd))
|
|
289
264
|
|
|
290
265
|
## [1.9.1](https://github.com/Doist/twist-cli/compare/v1.9.0...v1.9.1) (2026-02-10)
|
|
291
266
|
|
|
292
|
-
|
|
293
267
|
### Bug Fixes
|
|
294
268
|
|
|
295
|
-
|
|
269
|
+
- **deps:** Update to 2.0.2 of `@doist/twist-sdk` ([#32](https://github.com/Doist/twist-cli/issues/32)) ([bd33220](https://github.com/Doist/twist-cli/commit/bd332208901b1d45396e9227d6117b7b4a226e0c))
|
|
296
270
|
|
|
297
271
|
# [1.9.0](https://github.com/Doist/twist-cli/compare/v1.8.0...v1.9.0) (2026-02-09)
|
|
298
272
|
|
|
299
|
-
|
|
300
273
|
### Features
|
|
301
274
|
|
|
302
|
-
|
|
275
|
+
- upgrade twist-sdk to v2.0.1 and use entity.url instead of getFullTwistURL() ([#31](https://github.com/Doist/twist-cli/issues/31)) ([ce8742b](https://github.com/Doist/twist-cli/commit/ce8742b5e134ab6ee119720f5688ed651c581ed0))
|
|
303
276
|
|
|
304
277
|
# [1.8.0](https://github.com/Doist/twist-cli/compare/v1.7.0...v1.8.0) (2026-02-09)
|
|
305
278
|
|
|
306
|
-
|
|
307
279
|
### Features
|
|
308
280
|
|
|
309
|
-
|
|
281
|
+
- Default to public channels only, add --include-private-channels option ([#27](https://github.com/Doist/twist-cli/issues/27)) ([77c0a18](https://github.com/Doist/twist-cli/commit/77c0a181ab9b2b21db828687cdfd71f25a33800a))
|
|
310
282
|
|
|
311
283
|
# [1.7.0](https://github.com/Doist/twist-cli/compare/v1.6.1...v1.7.0) (2026-02-09)
|
|
312
284
|
|
|
313
|
-
|
|
314
285
|
### Features
|
|
315
286
|
|
|
316
|
-
|
|
287
|
+
- add --comment flag to thread view ([#28](https://github.com/Doist/twist-cli/issues/28)) ([60fd075](https://github.com/Doist/twist-cli/commit/60fd075a8562b0bd18ad6f10f8805dd87fef2574))
|
|
317
288
|
|
|
318
289
|
## [1.6.1](https://github.com/Doist/twist-cli/compare/v1.6.0...v1.6.1) (2026-02-08)
|
|
319
290
|
|
|
320
|
-
|
|
321
291
|
### Bug Fixes
|
|
322
292
|
|
|
323
|
-
|
|
293
|
+
- add missing flags and commands to skill content ([#30](https://github.com/Doist/twist-cli/issues/30)) ([479485a](https://github.com/Doist/twist-cli/commit/479485a387acd1e99894f15bda0078b30efda891))
|
|
324
294
|
|
|
325
295
|
# [1.6.0](https://github.com/Doist/twist-cli/compare/v1.5.0...v1.6.0) (2026-02-07)
|
|
326
296
|
|
|
327
|
-
|
|
328
297
|
### Bug Fixes
|
|
329
298
|
|
|
330
|
-
|
|
331
|
-
|
|
299
|
+
- strictly validate user IDs in --notify to reject non-numeric input ([d8e9ee5](https://github.com/Doist/twist-cli/commit/d8e9ee598e970dca1e5d1d98b9f74d8985b9b0f8))
|
|
332
300
|
|
|
333
301
|
### Features
|
|
334
302
|
|
|
335
|
-
|
|
303
|
+
- add recipients option ([91fdc05](https://github.com/Doist/twist-cli/commit/91fdc0592e567fb4832bdb59473de746f3034f5f))
|
|
336
304
|
|
|
337
305
|
# [1.5.0](https://github.com/Doist/twist-cli/compare/v1.4.0...v1.5.0) (2026-01-29)
|
|
338
306
|
|
|
339
|
-
|
|
340
307
|
### Features
|
|
341
308
|
|
|
342
|
-
|
|
309
|
+
- add --progress-jsonl flag for machine-readable progress reporting ([#24](https://github.com/Doist/twist-cli/issues/24)) ([3d7a266](https://github.com/Doist/twist-cli/commit/3d7a266574f97bcc480f5023d5251f1839309318))
|
|
343
310
|
|
|
344
311
|
# [1.4.0](https://github.com/Doist/twist-cli/compare/v1.3.1...v1.4.0) (2026-01-29)
|
|
345
312
|
|
|
346
|
-
|
|
347
313
|
### Bug Fixes
|
|
348
314
|
|
|
349
|
-
|
|
350
|
-
|
|
315
|
+
- **deps:** update to latest `@doist/twist-sdk` package ([8a8cd6d](https://github.com/Doist/twist-cli/commit/8a8cd6de86bcce56bb01f2f64edd9835fe89407d))
|
|
351
316
|
|
|
352
317
|
### Features
|
|
353
318
|
|
|
354
|
-
|
|
319
|
+
- add GitHub Action workflow for automated @doist/twist-sdk updates ([7cbdeb1](https://github.com/Doist/twist-cli/commit/7cbdeb184876b244ef26d948fc751c8b6a98b94a))
|
|
355
320
|
|
|
356
321
|
## [1.3.1](https://github.com/Doist/twist-cli/compare/v1.3.0...v1.3.1) (2026-01-27)
|
|
357
322
|
|
|
358
|
-
|
|
359
323
|
### Bug Fixes
|
|
360
324
|
|
|
361
|
-
|
|
325
|
+
- Ensure that client registration provides a logo ([#21](https://github.com/Doist/twist-cli/issues/21)) ([ad5333c](https://github.com/Doist/twist-cli/commit/ad5333cb451c5766555d4b0fa88671ec48475b17))
|
|
362
326
|
|
|
363
327
|
# [1.3.0](https://github.com/Doist/twist-cli/compare/v1.2.0...v1.3.0) (2026-01-24)
|
|
364
328
|
|
|
365
|
-
|
|
366
329
|
### Features
|
|
367
330
|
|
|
368
|
-
|
|
331
|
+
- add hidden interactive prompt for auth token input ([#20](https://github.com/Doist/twist-cli/issues/20)) ([1a5b7be](https://github.com/Doist/twist-cli/commit/1a5b7bef835fa5b752285e1954d7857e07c6c28c))
|
|
369
332
|
|
|
370
333
|
# [1.2.0](https://github.com/Doist/twist-cli/compare/v1.1.0...v1.2.0) (2026-01-23)
|
|
371
334
|
|
|
372
|
-
|
|
373
335
|
### Features
|
|
374
336
|
|
|
375
|
-
|
|
337
|
+
- add codex and cursor agent skill support ([#18](https://github.com/Doist/twist-cli/issues/18)) ([1a3b182](https://github.com/Doist/twist-cli/commit/1a3b182ae6f4cd5d439e26bfba6df65ab66c7684))
|
|
376
338
|
|
|
377
339
|
# [1.1.0](https://github.com/Doist/twist-cli/compare/v1.0.1...v1.1.0) (2026-01-23)
|
|
378
340
|
|
|
379
|
-
|
|
380
341
|
### Bug Fixes
|
|
381
342
|
|
|
382
|
-
|
|
383
|
-
|
|
343
|
+
- Format error message on single line ([89f3ef8](https://github.com/Doist/twist-cli/commit/89f3ef8b410565e3e0186447d7cf57ab50a12011))
|
|
384
344
|
|
|
385
345
|
### Features
|
|
386
346
|
|
|
387
|
-
|
|
347
|
+
- Add tw skill command for agent skill integrations ([1228ce6](https://github.com/Doist/twist-cli/commit/1228ce63f2dc0b7ac2ed17b3121660ff7c760514))
|
|
388
348
|
|
|
389
349
|
## [1.0.1](https://github.com/Doist/twist-cli/compare/v1.0.0...v1.0.1) (2026-01-22)
|
|
390
350
|
|
|
391
|
-
|
|
392
351
|
### Bug Fixes
|
|
393
352
|
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
353
|
+
- remove registry-url from setup-node for provenance publishing ([#14](https://github.com/Doist/twist-cli/issues/14)) ([1fe3f49](https://github.com/Doist/twist-cli/commit/1fe3f49e9c504c9c17b29b4e36494bc76e7829fe))
|
|
354
|
+
- upgrade semantic-release to v25 and fix trusted publishing ([#16](https://github.com/Doist/twist-cli/issues/16)) ([7d45c08](https://github.com/Doist/twist-cli/commit/7d45c0841343d35ef1eb4ba4cee99497d90937e6))
|
|
355
|
+
- use Node 22 for release job to satisfy semantic-release v25 requirements ([#17](https://github.com/Doist/twist-cli/issues/17)) ([96b0d9d](https://github.com/Doist/twist-cli/commit/96b0d9de8b95dd0b39eac78f56f492ff01671ca9))
|
|
397
356
|
|
|
398
357
|
# 1.0.0 (2026-01-22)
|
|
399
358
|
|
|
400
|
-
|
|
401
359
|
### Bug Fixes
|
|
402
360
|
|
|
403
|
-
|
|
404
|
-
|
|
361
|
+
- add UTF-8 charset to OAuth callback HTML responses ([#8](https://github.com/Doist/twist-cli/issues/8)) ([fcb2d49](https://github.com/Doist/twist-cli/commit/fcb2d49664720292d066993dacab5c0cb7ee5f53))
|
|
405
362
|
|
|
406
363
|
### Features
|
|
407
364
|
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
365
|
+
- Add Biome linting, upgrade to Node 20, and add CI workflows ([#3](https://github.com/Doist/twist-cli/issues/3)) ([57f802e](https://github.com/Doist/twist-cli/commit/57f802e60f7133b7cc4fedfe7a9fd0058faa4e61))
|
|
366
|
+
- add loading animations with global API proxy integration ([#7](https://github.com/Doist/twist-cli/issues/7)) ([bf53bfb](https://github.com/Doist/twist-cli/commit/bf53bfbcc99daa086b9883b33848c7226ee33499))
|
|
367
|
+
- Add OAuth authentication with dynamic client registration ([#6](https://github.com/Doist/twist-cli/issues/6)) ([2845ebd](https://github.com/Doist/twist-cli/commit/2845ebd916b3d7a5e390135d8ebe52c668641a71)), closes [#5](https://github.com/Doist/twist-cli/issues/5)
|
|
368
|
+
- add semantic release automation for NPM publishing ([#10](https://github.com/Doist/twist-cli/issues/10)) ([c756324](https://github.com/Doist/twist-cli/commit/c7563244f20f769c6573b89562e9f9c3b2728444))
|
|
369
|
+
- Refactor login command to auth with status/logout subcommands ([#4](https://github.com/Doist/twist-cli/issues/4)) ([59e6493](https://github.com/Doist/twist-cli/commit/59e6493455f3f6034a3a7183b423fdf1ceddee91))
|
|
413
370
|
|
|
414
371
|
# Changelog
|
|
415
372
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/commands/auth.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/commands/auth.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AA0KnC,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAkB1D"}
|
package/dist/commands/auth.js
CHANGED
|
@@ -3,8 +3,8 @@ import chalk from 'chalk';
|
|
|
3
3
|
import open from 'open';
|
|
4
4
|
import { getSessionUser } from '../lib/api.js';
|
|
5
5
|
import { clearApiToken, getAuthMetadata, saveApiToken, } from '../lib/auth.js';
|
|
6
|
-
import { buildAuthorizationUrl, exchangeCodeForToken, READ_ONLY_SCOPES, READ_WRITE_SCOPES, registerDynamicClient, } from '../lib/oauth.js';
|
|
7
6
|
import { startCallbackServer } from '../lib/oauth-server.js';
|
|
7
|
+
import { buildAuthorizationUrl, exchangeCodeForToken, READ_ONLY_SCOPES, READ_WRITE_SCOPES, registerDynamicClient, } from '../lib/oauth.js';
|
|
8
8
|
import { generateCodeChallenge, generateCodeVerifier, generateState } from '../lib/pkce.js';
|
|
9
9
|
async function loginWithOAuth(options) {
|
|
10
10
|
const modeLabel = options.readOnly ? 'read-only' : 'read-write';
|
|
@@ -66,7 +66,6 @@ function promptHiddenInput(prompt) {
|
|
|
66
66
|
input: process.stdin,
|
|
67
67
|
output: process.stdout,
|
|
68
68
|
});
|
|
69
|
-
// biome-ignore lint/suspicious/noExplicitAny: accessing private readline property
|
|
70
69
|
const origWrite = rl._writeToOutput;
|
|
71
70
|
rl._writeToOutput = (str) => {
|
|
72
71
|
if (str.includes(prompt)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/commands/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EACH,aAAa,EACb,eAAe,EACf,YAAY,GAEf,MAAM,gBAAgB,CAAA;AACvB,OAAO,EACH,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,GACxB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/commands/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EACH,aAAa,EACb,eAAe,EACf,YAAY,GAEf,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,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IAChD,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAA;IAEzE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;SAChB,WAAW,CAAC,0CAA0C,CAAC;SACvD,MAAM,CAAC,aAAa,EAAE,yDAAyD,CAAC;SAChF,MAAM,CAAC,cAAc,CAAC,CAAA;IAE3B,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC;SACxB,WAAW,CAAC,uCAAuC,CAAC;SACpD,MAAM,CAAC,cAAc,CAAC,CAAA;IAE3B,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;SACjB,WAAW,CAAC,oCAAoC,CAAC;SACjD,MAAM,CAAC,QAAQ,EAAE,gBAAgB,CAAC;SAClC,MAAM,CAAC,UAAU,CAAC,CAAA;IAEvB,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,mCAAmC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;AAC1F,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare function fetchLatestVersion(tag: string): Promise<string>;
|
|
2
|
+
export declare function detectPackageManager(): string;
|
|
3
|
+
export declare function runInstall(pm: string, tag: string): Promise<{
|
|
4
|
+
exitCode: number;
|
|
5
|
+
stderr: string;
|
|
6
|
+
}>;
|
|
7
|
+
interface UpdateOptions {
|
|
8
|
+
check?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function updateAction(options: UpdateOptions): Promise<void>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=action.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../src/commands/update/action.ts"],"names":[],"mappings":"AAkCA,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAQrE;AAED,wBAAgB,oBAAoB,IAAI,MAAM,CAM7C;AAED,wBAAgB,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAejG;AAED,UAAU,aAAa;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAsB,YAAY,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAgGxE"}
|