@doist/twist-cli 2.21.2 → 2.22.0
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 +80 -123
- 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 +125 -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/auth.d.ts.map +1 -1
- package/dist/lib/auth.js +1 -7
- package/dist/lib/auth.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.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 +7 -9
- 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,259 +1,237 @@
|
|
|
1
|
+
## [2.22.0](https://github.com/Doist/twist-cli/compare/v2.21.3...v2.22.0) (2026-04-02)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- 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))
|
|
6
|
+
|
|
7
|
+
## [2.21.3](https://github.com/Doist/twist-cli/compare/v2.21.2...v2.21.3) (2026-04-01)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- 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))
|
|
12
|
+
|
|
1
13
|
## [2.21.2](https://github.com/Doist/twist-cli/compare/v2.21.1...v2.21.2) (2026-03-29)
|
|
2
14
|
|
|
3
15
|
### Bug Fixes
|
|
4
16
|
|
|
5
|
-
|
|
17
|
+
- add prepublishOnly script for release safety ([#115](https://github.com/Doist/twist-cli/issues/115)) ([7b50727](https://github.com/Doist/twist-cli/commit/7b5072700f8fac968161ade717cde247ff5e87fe))
|
|
6
18
|
|
|
7
19
|
## [2.21.1](https://github.com/Doist/twist-cli/compare/v2.21.0...v2.21.1) (2026-03-28)
|
|
8
20
|
|
|
9
21
|
### Bug Fixes
|
|
10
22
|
|
|
11
|
-
|
|
23
|
+
- use Node 22 for release workflow ([#114](https://github.com/Doist/twist-cli/issues/114)) ([3c1463d](https://github.com/Doist/twist-cli/commit/3c1463d23ffcf74e182414f80b3adf1a81790899))
|
|
12
24
|
|
|
13
25
|
# [2.21.0](https://github.com/Doist/twist-cli/compare/v2.20.0...v2.21.0) (2026-03-27)
|
|
14
26
|
|
|
15
|
-
|
|
16
27
|
### Features
|
|
17
28
|
|
|
18
|
-
|
|
29
|
+
- 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))
|
|
19
30
|
|
|
20
31
|
# [2.20.0](https://github.com/Doist/twist-cli/compare/v2.19.0...v2.20.0) (2026-03-27)
|
|
21
32
|
|
|
22
|
-
|
|
23
33
|
### Features
|
|
24
34
|
|
|
25
|
-
|
|
35
|
+
- 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))
|
|
26
36
|
|
|
27
37
|
# [2.19.0](https://github.com/Doist/twist-cli/compare/v2.18.4...v2.19.0) (2026-03-27)
|
|
28
38
|
|
|
29
|
-
|
|
30
39
|
### Features
|
|
31
40
|
|
|
32
|
-
|
|
41
|
+
- add comment edit and delete commands ([#109](https://github.com/Doist/twist-cli/issues/109)) ([2c740e5](https://github.com/Doist/twist-cli/commit/2c740e5677e78f019e85fdb96ee098884972f902))
|
|
33
42
|
|
|
34
43
|
## [2.18.4](https://github.com/Doist/twist-cli/compare/v2.18.3...v2.18.4) (2026-03-26)
|
|
35
44
|
|
|
36
|
-
|
|
37
45
|
### Bug Fixes
|
|
38
46
|
|
|
39
|
-
|
|
47
|
+
- 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))
|
|
40
48
|
|
|
41
49
|
## [2.18.3](https://github.com/Doist/twist-cli/compare/v2.18.2...v2.18.3) (2026-03-26)
|
|
42
50
|
|
|
43
|
-
|
|
44
51
|
### Bug Fixes
|
|
45
52
|
|
|
46
|
-
|
|
53
|
+
- 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))
|
|
47
54
|
|
|
48
55
|
## [2.18.2](https://github.com/Doist/twist-cli/compare/v2.18.1...v2.18.2) (2026-03-25)
|
|
49
56
|
|
|
50
|
-
|
|
51
57
|
### Bug Fixes
|
|
52
58
|
|
|
53
|
-
|
|
59
|
+
- 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))
|
|
54
60
|
|
|
55
61
|
## [2.18.1](https://github.com/Doist/twist-cli/compare/v2.18.0...v2.18.1) (2026-03-25)
|
|
56
62
|
|
|
57
|
-
|
|
58
63
|
### Bug Fixes
|
|
59
64
|
|
|
60
|
-
|
|
65
|
+
- use cross-platform postinstall script ([#102](https://github.com/Doist/twist-cli/issues/102)) ([dabe906](https://github.com/Doist/twist-cli/commit/dabe9069eb106349488ae79b1b0e92f21fae979b))
|
|
61
66
|
|
|
62
67
|
# [2.18.0](https://github.com/Doist/twist-cli/compare/v2.17.1...v2.18.0) (2026-03-25)
|
|
63
68
|
|
|
64
|
-
|
|
65
69
|
### Features
|
|
66
70
|
|
|
67
|
-
|
|
71
|
+
- add new agent skills ([#101](https://github.com/Doist/twist-cli/issues/101)) ([37fa53f](https://github.com/Doist/twist-cli/commit/37fa53f899a9031c957a81d6266ad4073023440e))
|
|
68
72
|
|
|
69
73
|
## [2.17.1](https://github.com/Doist/twist-cli/compare/v2.17.0...v2.17.1) (2026-03-23)
|
|
70
74
|
|
|
71
|
-
|
|
72
75
|
### Bug Fixes
|
|
73
76
|
|
|
74
|
-
|
|
77
|
+
- **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))
|
|
75
78
|
|
|
76
79
|
# [2.17.0](https://github.com/Doist/twist-cli/compare/v2.16.0...v2.17.0) (2026-03-21)
|
|
77
80
|
|
|
78
|
-
|
|
79
81
|
### Features
|
|
80
82
|
|
|
81
|
-
|
|
83
|
+
- 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))
|
|
82
84
|
|
|
83
85
|
# [2.16.0](https://github.com/Doist/twist-cli/compare/v2.15.0...v2.16.0) (2026-03-21)
|
|
84
86
|
|
|
85
|
-
|
|
86
87
|
### Features
|
|
87
88
|
|
|
88
|
-
|
|
89
|
+
- 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))
|
|
89
90
|
|
|
90
91
|
# [2.15.0](https://github.com/Doist/twist-cli/compare/v2.14.2...v2.15.0) (2026-03-19)
|
|
91
92
|
|
|
92
|
-
|
|
93
93
|
### Features
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
- 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))
|
|
96
96
|
|
|
97
97
|
## [2.14.2](https://github.com/Doist/twist-cli/compare/v2.14.1...v2.14.2) (2026-03-18)
|
|
98
98
|
|
|
99
|
-
|
|
100
99
|
### Bug Fixes
|
|
101
100
|
|
|
102
|
-
|
|
101
|
+
- 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))
|
|
103
102
|
|
|
104
103
|
## [2.14.1](https://github.com/Doist/twist-cli/compare/v2.14.0...v2.14.1) (2026-03-15)
|
|
105
104
|
|
|
106
|
-
|
|
107
105
|
### Bug Fixes
|
|
108
106
|
|
|
109
|
-
|
|
107
|
+
- 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))
|
|
110
108
|
|
|
111
109
|
# [2.14.0](https://github.com/Doist/twist-cli/compare/v2.13.0...v2.14.0) (2026-03-15)
|
|
112
110
|
|
|
113
|
-
|
|
114
111
|
### Features
|
|
115
112
|
|
|
116
|
-
|
|
113
|
+
- 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))
|
|
117
114
|
|
|
118
115
|
# [2.13.0](https://github.com/Doist/twist-cli/compare/v2.12.0...v2.13.0) (2026-03-15)
|
|
119
116
|
|
|
120
|
-
|
|
121
117
|
### Features
|
|
122
118
|
|
|
123
|
-
|
|
119
|
+
- show version transition during tw update ([#85](https://github.com/Doist/twist-cli/issues/85)) ([99134d8](https://github.com/Doist/twist-cli/commit/99134d8280283ecd2f72a6f300d3a356d89a592b))
|
|
124
120
|
|
|
125
121
|
# [2.12.0](https://github.com/Doist/twist-cli/compare/v2.11.0...v2.12.0) (2026-03-14)
|
|
126
122
|
|
|
127
|
-
|
|
128
123
|
### Features
|
|
129
124
|
|
|
130
|
-
|
|
125
|
+
- add --json support to mutating commands ([#84](https://github.com/Doist/twist-cli/issues/84)) ([738ecf2](https://github.com/Doist/twist-cli/commit/738ecf209fccf3675f52b92fe8c697d94c562496))
|
|
131
126
|
|
|
132
127
|
# [2.11.0](https://github.com/Doist/twist-cli/compare/v2.10.0...v2.11.0) (2026-03-12)
|
|
133
128
|
|
|
134
|
-
|
|
135
129
|
### Features
|
|
136
130
|
|
|
137
|
-
|
|
131
|
+
- add away status command ([#79](https://github.com/Doist/twist-cli/issues/79)) ([9fd71e7](https://github.com/Doist/twist-cli/commit/9fd71e7a7ce05c4092e65944be52390ddec9b7ff))
|
|
138
132
|
|
|
139
133
|
# [2.10.0](https://github.com/Doist/twist-cli/compare/v2.9.1...v2.10.0) (2026-03-11)
|
|
140
134
|
|
|
141
|
-
|
|
142
135
|
### Features
|
|
143
136
|
|
|
144
|
-
|
|
137
|
+
- 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))
|
|
145
138
|
|
|
146
139
|
## [2.9.1](https://github.com/Doist/twist-cli/compare/v2.9.0...v2.9.1) (2026-03-11)
|
|
147
140
|
|
|
148
|
-
|
|
149
141
|
### Bug Fixes
|
|
150
142
|
|
|
151
|
-
|
|
143
|
+
- **deps:** update dependency open to v11 ([#66](https://github.com/Doist/twist-cli/issues/66)) ([3503e7f](https://github.com/Doist/twist-cli/commit/3503e7fb52b0b5e471a81b63fedf6a099ec2836e))
|
|
152
144
|
|
|
153
145
|
# [2.9.0](https://github.com/Doist/twist-cli/compare/v2.8.0...v2.9.0) (2026-03-11)
|
|
154
146
|
|
|
155
|
-
|
|
156
147
|
### Features
|
|
157
148
|
|
|
158
|
-
|
|
149
|
+
- add conversation lookup by user ([#76](https://github.com/Doist/twist-cli/issues/76)) ([50ebe3b](https://github.com/Doist/twist-cli/commit/50ebe3bd43019703e80a7fc5dace94c82182aad7))
|
|
159
150
|
|
|
160
151
|
# [2.8.0](https://github.com/Doist/twist-cli/compare/v2.7.2...v2.8.0) (2026-03-09)
|
|
161
152
|
|
|
162
|
-
|
|
163
153
|
### Features
|
|
164
154
|
|
|
165
|
-
|
|
155
|
+
- include reactions in essential JSON output fields ([72b6bca](https://github.com/Doist/twist-cli/commit/72b6bca15422252db0fbd5ebbaa721cc11becd8f))
|
|
166
156
|
|
|
167
157
|
## [2.7.2](https://github.com/Doist/twist-cli/compare/v2.7.1...v2.7.2) (2026-02-26)
|
|
168
158
|
|
|
169
|
-
|
|
170
159
|
### Bug Fixes
|
|
171
160
|
|
|
172
|
-
|
|
161
|
+
- **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))
|
|
173
162
|
|
|
174
163
|
## [2.7.1](https://github.com/Doist/twist-cli/compare/v2.7.0...v2.7.1) (2026-02-25)
|
|
175
164
|
|
|
176
|
-
|
|
177
165
|
### Bug Fixes
|
|
178
166
|
|
|
179
|
-
|
|
167
|
+
- **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))
|
|
180
168
|
|
|
181
169
|
# [2.7.0](https://github.com/Doist/twist-cli/compare/v2.6.0...v2.7.0) (2026-02-25)
|
|
182
170
|
|
|
183
|
-
|
|
184
171
|
### Features
|
|
185
172
|
|
|
186
|
-
|
|
173
|
+
- 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))
|
|
187
174
|
|
|
188
175
|
# [2.6.0](https://github.com/Doist/twist-cli/compare/v2.5.1...v2.6.0) (2026-02-25)
|
|
189
176
|
|
|
190
|
-
|
|
191
177
|
### Features
|
|
192
178
|
|
|
193
|
-
|
|
179
|
+
- 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))
|
|
194
180
|
|
|
195
181
|
## [2.5.1](https://github.com/Doist/twist-cli/compare/v2.5.0...v2.5.1) (2026-02-21)
|
|
196
182
|
|
|
197
|
-
|
|
198
183
|
### Bug Fixes
|
|
199
184
|
|
|
200
|
-
|
|
185
|
+
- remove inaccessible renovate-config-internal preset ([#50](https://github.com/Doist/twist-cli/issues/50)) ([b36a16d](https://github.com/Doist/twist-cli/commit/b36a16db0835e10d79f34c44027c336d6af42eb9))
|
|
201
186
|
|
|
202
187
|
# [2.5.0](https://github.com/Doist/twist-cli/compare/v2.4.0...v2.5.0) (2026-02-21)
|
|
203
188
|
|
|
204
|
-
|
|
205
189
|
### Features
|
|
206
190
|
|
|
207
|
-
|
|
208
|
-
|
|
191
|
+
- 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))
|
|
192
|
+
- add Gemini CLI skill ([#48](https://github.com/Doist/twist-cli/issues/48)) ([7992c26](https://github.com/Doist/twist-cli/commit/7992c26f11eb9d5b23d00270a3779a05b4ed9e6c))
|
|
209
193
|
|
|
210
194
|
# [2.4.0](https://github.com/Doist/twist-cli/compare/v2.3.0...v2.4.0) (2026-02-21)
|
|
211
195
|
|
|
212
|
-
|
|
213
196
|
### Features
|
|
214
197
|
|
|
215
|
-
|
|
198
|
+
- add `tw update` self-update command ([#46](https://github.com/Doist/twist-cli/issues/46)) ([b6a019b](https://github.com/Doist/twist-cli/commit/b6a019bf3f8a0178754125165591ae8fe71f7a67))
|
|
216
199
|
|
|
217
200
|
# [2.3.0](https://github.com/Doist/twist-cli/compare/v2.2.0...v2.3.0) (2026-02-20)
|
|
218
201
|
|
|
219
|
-
|
|
220
202
|
### Features
|
|
221
203
|
|
|
222
|
-
|
|
204
|
+
- add shell completions for tw CLI ([#40](https://github.com/Doist/twist-cli/issues/40)) ([3ad6797](https://github.com/Doist/twist-cli/commit/3ad6797075013f9b0c7ee7947025f0cba9d800af))
|
|
223
205
|
|
|
224
206
|
# [2.2.0](https://github.com/Doist/twist-cli/compare/v2.1.0...v2.2.0) (2026-02-20)
|
|
225
207
|
|
|
226
|
-
|
|
227
208
|
### Features
|
|
228
209
|
|
|
229
|
-
|
|
210
|
+
- 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))
|
|
230
211
|
|
|
231
212
|
# [2.1.0](https://github.com/Doist/twist-cli/compare/v2.0.0...v2.1.0) (2026-02-19)
|
|
232
213
|
|
|
233
|
-
|
|
234
214
|
### Features
|
|
235
215
|
|
|
236
|
-
|
|
216
|
+
- add `tw view <url>` router command ([#42](https://github.com/Doist/twist-cli/issues/42)) ([b5263fa](https://github.com/Doist/twist-cli/commit/b5263faaded723964b7c65f50a2efac78d491288))
|
|
237
217
|
|
|
238
218
|
# [2.0.0](https://github.com/Doist/twist-cli/compare/v1.11.0...v2.0.0) (2026-02-19)
|
|
239
219
|
|
|
240
|
-
|
|
241
|
-
* 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))
|
|
242
|
-
|
|
220
|
+
- 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))
|
|
243
221
|
|
|
244
222
|
### BREAKING CHANGES
|
|
245
223
|
|
|
246
|
-
|
|
247
|
-
(alias: `convo`) for conversation-level operations (unread, view, reply, done).
|
|
248
|
-
`tw msg` (alias: `message`) now operates on individual conversation messages
|
|
249
|
-
(view, update, delete).
|
|
224
|
+
- `tw msg` no longer operates on conversations. Use `tw conversation`
|
|
225
|
+
(alias: `convo`) for conversation-level operations (unread, view, reply, done).
|
|
226
|
+
`tw msg` (alias: `message`) now operates on individual conversation messages
|
|
227
|
+
(view, update, delete).
|
|
250
228
|
|
|
251
229
|
Also adds alias support to the lazy-loading system and a missing spinner entry
|
|
252
230
|
for `conversationMessages.getMessage`.
|
|
253
231
|
|
|
254
232
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
|
255
233
|
|
|
256
|
-
|
|
234
|
+
- fix: apply field filtering to ndjson output in msg view
|
|
257
235
|
|
|
258
236
|
Ensures --ndjson applies the same essential field filtering as --json,
|
|
259
237
|
as flagged in PR review.
|
|
@@ -262,148 +240,127 @@ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
|
|
262
240
|
|
|
263
241
|
# [1.11.0](https://github.com/Doist/twist-cli/compare/v1.10.1...v1.11.0) (2026-02-17)
|
|
264
242
|
|
|
265
|
-
|
|
266
243
|
### Features
|
|
267
244
|
|
|
268
|
-
|
|
245
|
+
- 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))
|
|
269
246
|
|
|
270
247
|
## [1.10.1](https://github.com/Doist/twist-cli/compare/v1.10.0...v1.10.1) (2026-02-13)
|
|
271
248
|
|
|
272
|
-
|
|
273
249
|
### Performance Improvements
|
|
274
250
|
|
|
275
|
-
|
|
251
|
+
- 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))
|
|
276
252
|
|
|
277
253
|
# [1.10.0](https://github.com/Doist/twist-cli/compare/v1.9.1...v1.10.0) (2026-02-12)
|
|
278
254
|
|
|
279
|
-
|
|
280
255
|
### Features
|
|
281
256
|
|
|
282
|
-
|
|
257
|
+
- 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))
|
|
283
258
|
|
|
284
259
|
## [1.9.1](https://github.com/Doist/twist-cli/compare/v1.9.0...v1.9.1) (2026-02-10)
|
|
285
260
|
|
|
286
|
-
|
|
287
261
|
### Bug Fixes
|
|
288
262
|
|
|
289
|
-
|
|
263
|
+
- **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))
|
|
290
264
|
|
|
291
265
|
# [1.9.0](https://github.com/Doist/twist-cli/compare/v1.8.0...v1.9.0) (2026-02-09)
|
|
292
266
|
|
|
293
|
-
|
|
294
267
|
### Features
|
|
295
268
|
|
|
296
|
-
|
|
269
|
+
- 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))
|
|
297
270
|
|
|
298
271
|
# [1.8.0](https://github.com/Doist/twist-cli/compare/v1.7.0...v1.8.0) (2026-02-09)
|
|
299
272
|
|
|
300
|
-
|
|
301
273
|
### Features
|
|
302
274
|
|
|
303
|
-
|
|
275
|
+
- 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))
|
|
304
276
|
|
|
305
277
|
# [1.7.0](https://github.com/Doist/twist-cli/compare/v1.6.1...v1.7.0) (2026-02-09)
|
|
306
278
|
|
|
307
|
-
|
|
308
279
|
### Features
|
|
309
280
|
|
|
310
|
-
|
|
281
|
+
- add --comment flag to thread view ([#28](https://github.com/Doist/twist-cli/issues/28)) ([60fd075](https://github.com/Doist/twist-cli/commit/60fd075a8562b0bd18ad6f10f8805dd87fef2574))
|
|
311
282
|
|
|
312
283
|
## [1.6.1](https://github.com/Doist/twist-cli/compare/v1.6.0...v1.6.1) (2026-02-08)
|
|
313
284
|
|
|
314
|
-
|
|
315
285
|
### Bug Fixes
|
|
316
286
|
|
|
317
|
-
|
|
287
|
+
- 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))
|
|
318
288
|
|
|
319
289
|
# [1.6.0](https://github.com/Doist/twist-cli/compare/v1.5.0...v1.6.0) (2026-02-07)
|
|
320
290
|
|
|
321
|
-
|
|
322
291
|
### Bug Fixes
|
|
323
292
|
|
|
324
|
-
|
|
325
|
-
|
|
293
|
+
- strictly validate user IDs in --notify to reject non-numeric input ([d8e9ee5](https://github.com/Doist/twist-cli/commit/d8e9ee598e970dca1e5d1d98b9f74d8985b9b0f8))
|
|
326
294
|
|
|
327
295
|
### Features
|
|
328
296
|
|
|
329
|
-
|
|
297
|
+
- add recipients option ([91fdc05](https://github.com/Doist/twist-cli/commit/91fdc0592e567fb4832bdb59473de746f3034f5f))
|
|
330
298
|
|
|
331
299
|
# [1.5.0](https://github.com/Doist/twist-cli/compare/v1.4.0...v1.5.0) (2026-01-29)
|
|
332
300
|
|
|
333
|
-
|
|
334
301
|
### Features
|
|
335
302
|
|
|
336
|
-
|
|
303
|
+
- 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))
|
|
337
304
|
|
|
338
305
|
# [1.4.0](https://github.com/Doist/twist-cli/compare/v1.3.1...v1.4.0) (2026-01-29)
|
|
339
306
|
|
|
340
|
-
|
|
341
307
|
### Bug Fixes
|
|
342
308
|
|
|
343
|
-
|
|
344
|
-
|
|
309
|
+
- **deps:** update to latest `@doist/twist-sdk` package ([8a8cd6d](https://github.com/Doist/twist-cli/commit/8a8cd6de86bcce56bb01f2f64edd9835fe89407d))
|
|
345
310
|
|
|
346
311
|
### Features
|
|
347
312
|
|
|
348
|
-
|
|
313
|
+
- add GitHub Action workflow for automated @doist/twist-sdk updates ([7cbdeb1](https://github.com/Doist/twist-cli/commit/7cbdeb184876b244ef26d948fc751c8b6a98b94a))
|
|
349
314
|
|
|
350
315
|
## [1.3.1](https://github.com/Doist/twist-cli/compare/v1.3.0...v1.3.1) (2026-01-27)
|
|
351
316
|
|
|
352
|
-
|
|
353
317
|
### Bug Fixes
|
|
354
318
|
|
|
355
|
-
|
|
319
|
+
- 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))
|
|
356
320
|
|
|
357
321
|
# [1.3.0](https://github.com/Doist/twist-cli/compare/v1.2.0...v1.3.0) (2026-01-24)
|
|
358
322
|
|
|
359
|
-
|
|
360
323
|
### Features
|
|
361
324
|
|
|
362
|
-
|
|
325
|
+
- 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))
|
|
363
326
|
|
|
364
327
|
# [1.2.0](https://github.com/Doist/twist-cli/compare/v1.1.0...v1.2.0) (2026-01-23)
|
|
365
328
|
|
|
366
|
-
|
|
367
329
|
### Features
|
|
368
330
|
|
|
369
|
-
|
|
331
|
+
- 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))
|
|
370
332
|
|
|
371
333
|
# [1.1.0](https://github.com/Doist/twist-cli/compare/v1.0.1...v1.1.0) (2026-01-23)
|
|
372
334
|
|
|
373
|
-
|
|
374
335
|
### Bug Fixes
|
|
375
336
|
|
|
376
|
-
|
|
377
|
-
|
|
337
|
+
- Format error message on single line ([89f3ef8](https://github.com/Doist/twist-cli/commit/89f3ef8b410565e3e0186447d7cf57ab50a12011))
|
|
378
338
|
|
|
379
339
|
### Features
|
|
380
340
|
|
|
381
|
-
|
|
341
|
+
- Add tw skill command for agent skill integrations ([1228ce6](https://github.com/Doist/twist-cli/commit/1228ce63f2dc0b7ac2ed17b3121660ff7c760514))
|
|
382
342
|
|
|
383
343
|
## [1.0.1](https://github.com/Doist/twist-cli/compare/v1.0.0...v1.0.1) (2026-01-22)
|
|
384
344
|
|
|
385
|
-
|
|
386
345
|
### Bug Fixes
|
|
387
346
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
347
|
+
- 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))
|
|
348
|
+
- 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))
|
|
349
|
+
- 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))
|
|
391
350
|
|
|
392
351
|
# 1.0.0 (2026-01-22)
|
|
393
352
|
|
|
394
|
-
|
|
395
353
|
### Bug Fixes
|
|
396
354
|
|
|
397
|
-
|
|
398
|
-
|
|
355
|
+
- 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))
|
|
399
356
|
|
|
400
357
|
### Features
|
|
401
358
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
359
|
+
- 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))
|
|
360
|
+
- 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))
|
|
361
|
+
- 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)
|
|
362
|
+
- 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))
|
|
363
|
+
- 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))
|
|
407
364
|
|
|
408
365
|
# Changelog
|
|
409
366
|
|
|
@@ -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,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EACH,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,GACxB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,gBAAg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C;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,CA+FxE"}
|