cline 1.0.0-nightly.19 → 1.0.0-nightly.20

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.
Files changed (299) hide show
  1. package/bin/cline +0 -0
  2. package/bin/cline-darwin-amd64 +0 -0
  3. package/bin/cline-darwin-arm64 +0 -0
  4. package/bin/cline-host +0 -0
  5. package/bin/cline-host-darwin-amd64 +0 -0
  6. package/bin/cline-host-darwin-arm64 +0 -0
  7. package/bin/cline-host-linux-amd64 +0 -0
  8. package/bin/cline-host-linux-arm64 +0 -0
  9. package/bin/cline-linux-amd64 +0 -0
  10. package/bin/cline-linux-arm64 +0 -0
  11. package/cline-core.js +24841 -16621
  12. package/extension/package.json +12 -4
  13. package/node_modules/b4a/LICENSE +201 -0
  14. package/node_modules/b4a/README.md +153 -0
  15. package/node_modules/b4a/browser.js +563 -0
  16. package/node_modules/b4a/index.js +188 -0
  17. package/node_modules/b4a/lib/ascii.js +31 -0
  18. package/node_modules/b4a/lib/base64.js +65 -0
  19. package/node_modules/b4a/lib/hex.js +51 -0
  20. package/node_modules/b4a/lib/utf16le.js +40 -0
  21. package/node_modules/b4a/lib/utf8.js +141 -0
  22. package/node_modules/b4a/package.json +49 -0
  23. package/node_modules/b4a/react-native.js +5 -0
  24. package/node_modules/bare-events/LICENSE +201 -0
  25. package/node_modules/bare-events/README.md +25 -0
  26. package/node_modules/bare-events/global.d.ts +15 -0
  27. package/node_modules/bare-events/global.js +5 -0
  28. package/node_modules/bare-events/index.d.ts +94 -0
  29. package/node_modules/bare-events/index.js +355 -0
  30. package/node_modules/bare-events/lib/errors.js +32 -0
  31. package/node_modules/bare-events/package.json +61 -0
  32. package/node_modules/bare-events/web.d.ts +79 -0
  33. package/node_modules/bare-events/web.js +347 -0
  34. package/node_modules/bare-fs/CMakeLists.txt +13 -0
  35. package/node_modules/bare-fs/LICENSE +201 -0
  36. package/node_modules/bare-fs/README.md +29 -0
  37. package/node_modules/bare-fs/binding.c +2238 -0
  38. package/node_modules/bare-fs/binding.js +1 -0
  39. package/node_modules/bare-fs/index.d.ts +1115 -0
  40. package/node_modules/bare-fs/index.js +2330 -0
  41. package/node_modules/bare-fs/lib/constants.d.ts +49 -0
  42. package/node_modules/bare-fs/lib/constants.js +49 -0
  43. package/node_modules/bare-fs/lib/errors.d.ts +11 -0
  44. package/node_modules/bare-fs/lib/errors.js +55 -0
  45. package/node_modules/bare-fs/package.json +71 -0
  46. package/node_modules/bare-fs/prebuilds/android-arm/bare-fs.bare +0 -0
  47. package/node_modules/bare-fs/prebuilds/android-arm64/bare-fs.bare +0 -0
  48. package/node_modules/bare-fs/prebuilds/android-ia32/bare-fs.bare +0 -0
  49. package/node_modules/bare-fs/prebuilds/android-x64/bare-fs.bare +0 -0
  50. package/node_modules/bare-fs/prebuilds/darwin-arm64/bare-fs.bare +0 -0
  51. package/node_modules/bare-fs/prebuilds/darwin-x64/bare-fs.bare +0 -0
  52. package/node_modules/bare-fs/prebuilds/ios-arm64/bare-fs.bare +0 -0
  53. package/node_modules/bare-fs/prebuilds/ios-arm64-simulator/bare-fs.bare +0 -0
  54. package/node_modules/bare-fs/prebuilds/ios-x64-simulator/bare-fs.bare +0 -0
  55. package/node_modules/bare-fs/prebuilds/linux-arm64/bare-fs.bare +0 -0
  56. package/node_modules/bare-fs/prebuilds/linux-x64/bare-fs.bare +0 -0
  57. package/node_modules/bare-fs/prebuilds/win32-arm64/bare-fs.bare +0 -0
  58. package/node_modules/bare-fs/prebuilds/win32-x64/bare-fs.bare +0 -0
  59. package/node_modules/bare-fs/promises.d.ts +282 -0
  60. package/node_modules/bare-fs/promises.js +90 -0
  61. package/node_modules/bare-os/CMakeLists.txt +13 -0
  62. package/node_modules/bare-os/LICENSE +201 -0
  63. package/node_modules/bare-os/README.md +11 -0
  64. package/node_modules/bare-os/binding.c +1119 -0
  65. package/node_modules/bare-os/binding.js +1 -0
  66. package/node_modules/bare-os/index.d.ts +109 -0
  67. package/node_modules/bare-os/index.js +99 -0
  68. package/node_modules/bare-os/lib/constants.js +6 -0
  69. package/node_modules/bare-os/lib/errors.js +22 -0
  70. package/node_modules/bare-os/package.json +46 -0
  71. package/node_modules/bare-os/prebuilds/android-arm/bare-os.bare +0 -0
  72. package/node_modules/bare-os/prebuilds/android-arm64/bare-os.bare +0 -0
  73. package/node_modules/bare-os/prebuilds/android-ia32/bare-os.bare +0 -0
  74. package/node_modules/bare-os/prebuilds/android-x64/bare-os.bare +0 -0
  75. package/node_modules/bare-os/prebuilds/darwin-arm64/bare-os.bare +0 -0
  76. package/node_modules/bare-os/prebuilds/darwin-x64/bare-os.bare +0 -0
  77. package/node_modules/bare-os/prebuilds/ios-arm64/bare-os.bare +0 -0
  78. package/node_modules/bare-os/prebuilds/ios-arm64-simulator/bare-os.bare +0 -0
  79. package/node_modules/bare-os/prebuilds/ios-x64-simulator/bare-os.bare +0 -0
  80. package/node_modules/bare-os/prebuilds/linux-arm64/bare-os.bare +0 -0
  81. package/node_modules/bare-os/prebuilds/linux-x64/bare-os.bare +0 -0
  82. package/node_modules/bare-os/prebuilds/win32-arm64/bare-os.bare +0 -0
  83. package/node_modules/bare-os/prebuilds/win32-x64/bare-os.bare +0 -0
  84. package/node_modules/bare-path/LICENSE +201 -0
  85. package/node_modules/bare-path/NOTICE +28 -0
  86. package/node_modules/bare-path/README.md +19 -0
  87. package/node_modules/bare-path/index.js +11 -0
  88. package/node_modules/bare-path/lib/constants.js +11 -0
  89. package/node_modules/bare-path/lib/posix.js +242 -0
  90. package/node_modules/bare-path/lib/shared.js +67 -0
  91. package/node_modules/bare-path/lib/win32.js +513 -0
  92. package/node_modules/bare-path/package.json +36 -0
  93. package/node_modules/bare-stream/LICENSE +201 -0
  94. package/node_modules/bare-stream/README.md +15 -0
  95. package/node_modules/bare-stream/global.js +8 -0
  96. package/node_modules/bare-stream/index.d.ts +237 -0
  97. package/node_modules/bare-stream/index.js +355 -0
  98. package/node_modules/bare-stream/package.json +61 -0
  99. package/node_modules/bare-stream/promises.js +3 -0
  100. package/node_modules/bare-stream/web.d.ts +73 -0
  101. package/node_modules/bare-stream/web.js +229 -0
  102. package/node_modules/bare-url/CMakeLists.txt +27 -0
  103. package/node_modules/bare-url/LICENSE +201 -0
  104. package/node_modules/bare-url/README.md +19 -0
  105. package/node_modules/bare-url/binding.c +188 -0
  106. package/node_modules/bare-url/binding.js +1 -0
  107. package/node_modules/bare-url/global.d.ts +12 -0
  108. package/node_modules/bare-url/global.js +2 -0
  109. package/node_modules/bare-url/index.d.ts +39 -0
  110. package/node_modules/bare-url/index.js +450 -0
  111. package/node_modules/bare-url/lib/errors.d.ts +8 -0
  112. package/node_modules/bare-url/lib/errors.js +38 -0
  113. package/node_modules/bare-url/lib/url-search-params.d.ts +21 -0
  114. package/node_modules/bare-url/lib/url-search-params.js +176 -0
  115. package/node_modules/bare-url/package.json +51 -0
  116. package/node_modules/bare-url/prebuilds/android-arm/bare-url.bare +0 -0
  117. package/node_modules/bare-url/prebuilds/android-arm64/bare-url.bare +0 -0
  118. package/node_modules/bare-url/prebuilds/android-ia32/bare-url.bare +0 -0
  119. package/node_modules/bare-url/prebuilds/android-x64/bare-url.bare +0 -0
  120. package/node_modules/bare-url/prebuilds/darwin-arm64/bare-url.bare +0 -0
  121. package/node_modules/bare-url/prebuilds/darwin-x64/bare-url.bare +0 -0
  122. package/node_modules/bare-url/prebuilds/ios-arm64/bare-url.bare +0 -0
  123. package/node_modules/bare-url/prebuilds/ios-arm64-simulator/bare-url.bare +0 -0
  124. package/node_modules/bare-url/prebuilds/ios-x64-simulator/bare-url.bare +0 -0
  125. package/node_modules/bare-url/prebuilds/linux-arm64/bare-url.bare +0 -0
  126. package/node_modules/bare-url/prebuilds/linux-x64/bare-url.bare +0 -0
  127. package/node_modules/bare-url/prebuilds/win32-arm64/bare-url.bare +0 -0
  128. package/node_modules/bare-url/prebuilds/win32-x64/bare-url.bare +0 -0
  129. package/node_modules/better-sqlite3/deps/download.sh +1 -1
  130. package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.c +122 -81
  131. package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.h +45 -45
  132. package/node_modules/better-sqlite3/lib/database.js +1 -1
  133. package/node_modules/better-sqlite3/package.json +4 -7
  134. package/node_modules/better-sqlite3/src/addon.cpp +47 -0
  135. package/node_modules/better-sqlite3/src/better_sqlite3.cpp +44 -2164
  136. package/node_modules/better-sqlite3/src/objects/backup.cpp +120 -0
  137. package/node_modules/better-sqlite3/src/objects/backup.hpp +36 -0
  138. package/node_modules/better-sqlite3/src/objects/database.cpp +417 -0
  139. package/node_modules/better-sqlite3/src/objects/database.hpp +103 -0
  140. package/node_modules/better-sqlite3/src/objects/statement-iterator.cpp +113 -0
  141. package/node_modules/better-sqlite3/src/objects/statement-iterator.hpp +50 -0
  142. package/node_modules/better-sqlite3/src/objects/statement.cpp +383 -0
  143. package/node_modules/better-sqlite3/src/objects/statement.hpp +58 -0
  144. package/node_modules/better-sqlite3/src/util/bind-map.cpp +73 -0
  145. package/node_modules/better-sqlite3/src/util/binder.cpp +193 -0
  146. package/node_modules/better-sqlite3/src/util/constants.cpp +172 -0
  147. package/node_modules/better-sqlite3/src/util/custom-aggregate.cpp +121 -0
  148. package/node_modules/better-sqlite3/src/util/custom-function.cpp +59 -0
  149. package/node_modules/better-sqlite3/src/util/custom-table.cpp +409 -0
  150. package/node_modules/better-sqlite3/src/util/data-converter.cpp +17 -0
  151. package/node_modules/better-sqlite3/src/util/data.cpp +194 -0
  152. package/node_modules/better-sqlite3/src/util/helpers.cpp +109 -0
  153. package/node_modules/better-sqlite3/src/util/macros.cpp +63 -0
  154. package/node_modules/better-sqlite3/src/util/query-macros.cpp +71 -0
  155. package/node_modules/better-sqlite3/src/util/row-builder.cpp +49 -0
  156. package/node_modules/events-universal/LICENSE +201 -0
  157. package/node_modules/events-universal/README.md +17 -0
  158. package/node_modules/events-universal/bare.js +1 -0
  159. package/node_modules/events-universal/default.js +1 -0
  160. package/node_modules/events-universal/index.js +1 -0
  161. package/node_modules/events-universal/package.json +39 -0
  162. package/node_modules/events-universal/react-native.js +1 -0
  163. package/node_modules/{fs-constants → fast-fifo}/LICENSE +1 -1
  164. package/node_modules/fast-fifo/README.md +78 -0
  165. package/node_modules/fast-fifo/fixed-size.js +39 -0
  166. package/node_modules/fast-fifo/index.js +48 -0
  167. package/node_modules/fast-fifo/package.json +28 -0
  168. package/node_modules/{base64-js → streamx}/LICENSE +1 -1
  169. package/node_modules/streamx/README.md +489 -0
  170. package/node_modules/streamx/index.js +1184 -0
  171. package/node_modules/streamx/package.json +34 -0
  172. package/node_modules/tar-fs/README.md +23 -34
  173. package/node_modules/tar-fs/index.js +211 -184
  174. package/node_modules/tar-fs/package.json +27 -7
  175. package/node_modules/tar-stream/README.md +34 -19
  176. package/node_modules/tar-stream/constants.js +14 -0
  177. package/node_modules/tar-stream/extract.js +341 -192
  178. package/node_modules/tar-stream/headers.js +201 -175
  179. package/node_modules/tar-stream/pack.js +226 -194
  180. package/node_modules/tar-stream/package.json +23 -46
  181. package/node_modules/text-decoder/LICENSE +201 -0
  182. package/node_modules/text-decoder/README.md +36 -0
  183. package/node_modules/text-decoder/index.js +64 -0
  184. package/node_modules/text-decoder/lib/browser-decoder.js +17 -0
  185. package/node_modules/text-decoder/lib/pass-through-decoder.js +19 -0
  186. package/node_modules/text-decoder/lib/utf8-decoder.js +104 -0
  187. package/node_modules/text-decoder/package.json +38 -0
  188. package/package.json +2 -2
  189. package/proto/cline/account.proto +10 -8
  190. package/proto/cline/browser.proto +3 -1
  191. package/proto/cline/checkpoints.proto +5 -3
  192. package/proto/cline/commands.proto +4 -2
  193. package/proto/cline/common.proto +5 -7
  194. package/proto/cline/dictation.proto +3 -1
  195. package/proto/cline/file.proto +36 -34
  196. package/proto/cline/hooks.proto +3 -2
  197. package/proto/cline/mcp.proto +6 -4
  198. package/proto/cline/models.proto +189 -19
  199. package/proto/cline/oca_account.proto +6 -7
  200. package/proto/cline/slash.proto +3 -1
  201. package/proto/cline/state.proto +147 -292
  202. package/proto/cline/task.proto +4 -2
  203. package/proto/cline/ui.proto +25 -24
  204. package/proto/cline/web.proto +3 -1
  205. package/proto/descriptor_set.pb +0 -0
  206. package/proto/host/diff.proto +5 -4
  207. package/proto/host/env.proto +8 -7
  208. package/proto/host/testing.proto +3 -3
  209. package/proto/host/window.proto +2 -2
  210. package/proto/host/workspace.proto +24 -11
  211. package/node_modules/base64-js/README.md +0 -34
  212. package/node_modules/base64-js/base64js.min.js +0 -1
  213. package/node_modules/base64-js/index.d.ts +0 -3
  214. package/node_modules/base64-js/index.js +0 -150
  215. package/node_modules/base64-js/package.json +0 -47
  216. package/node_modules/better-sqlite3/src/better_sqlite3.hpp +0 -1036
  217. package/node_modules/bl/.travis.yml +0 -17
  218. package/node_modules/bl/BufferList.js +0 -396
  219. package/node_modules/bl/LICENSE.md +0 -13
  220. package/node_modules/bl/README.md +0 -247
  221. package/node_modules/bl/bl.js +0 -84
  222. package/node_modules/bl/package.json +0 -37
  223. package/node_modules/bl/test/convert.js +0 -21
  224. package/node_modules/bl/test/indexOf.js +0 -492
  225. package/node_modules/bl/test/isBufferList.js +0 -32
  226. package/node_modules/bl/test/test.js +0 -869
  227. package/node_modules/buffer/AUTHORS.md +0 -70
  228. package/node_modules/buffer/LICENSE +0 -21
  229. package/node_modules/buffer/README.md +0 -410
  230. package/node_modules/buffer/index.d.ts +0 -186
  231. package/node_modules/buffer/index.js +0 -1817
  232. package/node_modules/buffer/package.json +0 -96
  233. package/node_modules/chownr/LICENSE +0 -15
  234. package/node_modules/chownr/README.md +0 -3
  235. package/node_modules/chownr/chownr.js +0 -167
  236. package/node_modules/chownr/package.json +0 -29
  237. package/node_modules/fs-constants/README.md +0 -26
  238. package/node_modules/fs-constants/browser.js +0 -1
  239. package/node_modules/fs-constants/index.js +0 -1
  240. package/node_modules/fs-constants/package.json +0 -19
  241. package/node_modules/ieee754/LICENSE +0 -11
  242. package/node_modules/ieee754/README.md +0 -51
  243. package/node_modules/ieee754/index.d.ts +0 -10
  244. package/node_modules/ieee754/index.js +0 -85
  245. package/node_modules/ieee754/package.json +0 -52
  246. package/node_modules/inherits/LICENSE +0 -16
  247. package/node_modules/inherits/README.md +0 -42
  248. package/node_modules/inherits/inherits.js +0 -9
  249. package/node_modules/inherits/inherits_browser.js +0 -27
  250. package/node_modules/inherits/package.json +0 -29
  251. package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  252. package/node_modules/readable-stream/GOVERNANCE.md +0 -136
  253. package/node_modules/readable-stream/LICENSE +0 -47
  254. package/node_modules/readable-stream/README.md +0 -106
  255. package/node_modules/readable-stream/errors-browser.js +0 -127
  256. package/node_modules/readable-stream/errors.js +0 -116
  257. package/node_modules/readable-stream/experimentalWarning.js +0 -17
  258. package/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  259. package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  260. package/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  261. package/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  262. package/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  263. package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  264. package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  265. package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  266. package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  267. package/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  268. package/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  269. package/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  270. package/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  271. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  272. package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  273. package/node_modules/readable-stream/package.json +0 -68
  274. package/node_modules/readable-stream/readable-browser.js +0 -9
  275. package/node_modules/readable-stream/readable.js +0 -16
  276. package/node_modules/string_decoder/LICENSE +0 -48
  277. package/node_modules/string_decoder/README.md +0 -47
  278. package/node_modules/string_decoder/lib/string_decoder.js +0 -296
  279. package/node_modules/string_decoder/package.json +0 -34
  280. package/node_modules/tar-fs/.travis.yml +0 -6
  281. package/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
  282. package/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
  283. package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
  284. package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
  285. package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
  286. package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
  287. package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
  288. package/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
  289. package/node_modules/tar-fs/test/fixtures/e/file +0 -0
  290. package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
  291. package/node_modules/tar-fs/test/index.js +0 -346
  292. package/node_modules/tar-stream/sandbox.js +0 -11
  293. package/node_modules/util-deprecate/History.md +0 -16
  294. package/node_modules/util-deprecate/LICENSE +0 -24
  295. package/node_modules/util-deprecate/README.md +0 -53
  296. package/node_modules/util-deprecate/browser.js +0 -67
  297. package/node_modules/util-deprecate/node.js +0 -6
  298. package/node_modules/util-deprecate/package.json +0 -27
  299. package/test-startup.sh +0 -14
@@ -1,11 +1,13 @@
1
1
  syntax = "proto3";
2
2
  package cline;
3
+
4
+ import "cline/browser.proto";
3
5
  import "cline/common.proto";
4
6
  import "cline/models.proto";
5
- import "cline/browser.proto";
7
+
6
8
  option go_package = "github.com/cline/grpc-go/cline";
7
- option java_package = "bot.cline.proto";
8
9
  option java_multiple_files = true;
10
+ option java_package = "bot.cline.proto";
9
11
 
10
12
  service StateService {
11
13
  rpc getLatestState(EmptyRequest) returns (State);
@@ -24,28 +26,28 @@ service StateService {
24
26
  rpc setWelcomeViewCompleted(BooleanRequest) returns (Empty);
25
27
  rpc updateInfoBannerVersion(Int64Request) returns (Empty);
26
28
  rpc updateModelBannerVersion(Int64Request) returns (Empty);
29
+ rpc updateCliBannerVersion(Int64Request) returns (Empty);
30
+ rpc installClineCli(EmptyRequest) returns (Empty);
31
+ rpc checkCliInstallation(EmptyRequest) returns (Boolean);
27
32
  rpc getProcessInfo(EmptyRequest) returns (ProcessInfo);
28
33
  }
29
34
 
30
35
  message AutoApprovalActions {
31
- bool read_files = 1;
32
- bool read_files_externally = 2;
33
- bool edit_files = 3;
34
- bool edit_files_externally = 4;
35
- bool execute_safe_commands = 5;
36
- bool execute_all_commands = 6;
37
- bool use_browser = 7;
38
- bool use_mcp = 8;
36
+ optional bool read_files = 1;
37
+ optional bool read_files_externally = 2;
38
+ optional bool edit_files = 3;
39
+ optional bool edit_files_externally = 4;
40
+ optional bool execute_safe_commands = 5;
41
+ optional bool execute_all_commands = 6;
42
+ optional bool use_browser = 7;
43
+ optional bool use_mcp = 8;
39
44
  }
40
45
 
41
46
  // Auto approval settings for task execution
42
47
  message AutoApprovalSettings {
43
48
  int32 version = 1;
44
- bool enabled = 2;
45
- AutoApprovalActions actions = 3;
46
- int32 max_requests = 4;
47
- bool enable_notifications = 5;
48
- repeated string favorites = 6;
49
+ AutoApprovalActions actions = 2;
50
+ optional bool enable_notifications = 3;
49
51
  }
50
52
 
51
53
  message Secrets {
@@ -88,130 +90,130 @@ message Secrets {
88
90
  }
89
91
 
90
92
  message Settings {
91
- optional string aws_region = 1;
92
- optional bool aws_use_cross_region_inference = 2;
93
- optional bool aws_bedrock_use_prompt_cache = 3;
94
- optional string aws_bedrock_endpoint = 4;
95
- optional string aws_profile = 5;
96
- optional string aws_authentication = 6;
97
- optional bool aws_use_profile = 7;
98
- optional string vertex_project_id = 8;
99
- optional string vertex_region = 9;
100
- optional string requesty_base_url = 10;
101
- optional string open_ai_base_url = 11;
93
+ optional string aws_region = 1;
94
+ optional bool aws_use_cross_region_inference = 2;
95
+ optional bool aws_bedrock_use_prompt_cache = 3;
96
+ optional string aws_bedrock_endpoint = 4;
97
+ optional string aws_profile = 5;
98
+ optional string aws_authentication = 6;
99
+ optional bool aws_use_profile = 7;
100
+ optional string vertex_project_id = 8;
101
+ optional string vertex_region = 9;
102
+ optional string requesty_base_url = 10;
103
+ optional string open_ai_base_url = 11;
102
104
  // map<string, string> open_ai_headers = 12;
103
- optional string ollama_base_url = 13;
104
- optional string ollama_api_options_ctx_num = 14;
105
- optional string lm_studio_base_url = 15;
106
- optional string lm_studio_max_tokens = 16;
107
- optional string anthropic_base_url = 17;
108
- optional string gemini_base_url = 18;
109
- optional string azure_api_version = 19;
110
- optional string open_router_provider_sorting = 20;
111
- optional AutoApprovalSettings auto_approval_settings = 21;
112
- optional BrowserSettings browser_settings = 24;
113
- optional string lite_llm_base_url = 25;
114
- optional bool lite_llm_use_prompt_cache = 26;
115
- optional int32 fireworks_model_max_completion_tokens = 27;
116
- optional int32 fireworks_model_max_tokens = 28;
117
- optional string qwen_api_line = 29;
118
- optional string moonshot_api_line = 30;
119
- optional string zai_api_line = 31;
120
- optional string telemetry_setting = 32;
121
- optional string asksage_api_url = 33;
122
- optional bool plan_act_separate_models_setting = 34;
123
- optional bool enable_checkpoints_setting = 35;
124
- optional int32 request_timeout_ms = 36;
125
- optional int32 shell_integration_timeout = 37;
126
- optional string default_terminal_profile = 38;
127
- optional int32 terminal_output_line_limit = 39;
128
- optional string sap_ai_core_token_url = 40;
129
- optional string sap_ai_core_base_url = 41;
130
- optional string sap_ai_resource_group = 42;
131
- optional bool sap_ai_core_use_orchestration_mode = 43;
132
- optional string claude_code_path = 44;
133
- optional string qwen_code_oauth_path = 45;
134
- optional bool strict_plan_mode_enabled = 46;
135
- optional bool yolo_mode_toggled = 47;
136
- optional bool use_auto_condense = 48;
137
- optional string preferred_language = 49;
138
- optional OpenaiReasoningEffort openai_reasoning_effort = 50;
139
- optional PlanActMode mode = 51;
140
- optional DictationSettings dictation_settings = 52;
141
- optional FocusChainSettings focus_chain_settings = 53;
142
- optional string custom_prompt = 54;
143
- optional string dify_base_url = 55;
144
- optional double auto_condense_threshold = 56;
145
- optional string oca_base_url = 57;
146
- optional ApiProvider plan_mode_api_provider = 58;
147
- optional string plan_mode_api_model_id = 59;
148
- optional int64 plan_mode_thinking_budget_tokens = 60;
149
- optional string plan_mode_reasoning_effort = 61;
150
- optional LanguageModelChatSelector plan_mode_vs_code_lm_model_selector = 62;
151
- optional bool plan_mode_aws_bedrock_custom_selected = 63;
152
- optional string plan_mode_aws_bedrock_custom_model_base_id = 64;
153
- optional string plan_mode_open_router_model_id = 65;
154
- optional OpenRouterModelInfo plan_mode_open_router_model_info = 66;
155
- optional string plan_mode_open_ai_model_id = 67;
156
- optional OpenAiCompatibleModelInfo plan_mode_open_ai_model_info = 68;
157
- optional string plan_mode_ollama_model_id = 69;
158
- optional string plan_mode_lm_studio_model_id = 70;
159
- optional string plan_mode_lite_llm_model_id = 71;
160
- optional LiteLLMModelInfo plan_mode_lite_llm_model_info = 72;
161
- optional string plan_mode_requesty_model_id = 73;
162
- optional OpenRouterModelInfo plan_mode_requesty_model_info = 74;
163
- optional string plan_mode_together_model_id = 75;
164
- optional string plan_mode_fireworks_model_id = 76;
165
- optional string plan_mode_sap_ai_core_model_id = 77;
166
- optional string plan_mode_sap_ai_core_deployment_id = 78;
167
- optional string plan_mode_groq_model_id = 79;
168
- optional OpenRouterModelInfo plan_mode_groq_model_info = 80;
169
- optional string plan_mode_baseten_model_id = 81;
170
- optional OpenRouterModelInfo plan_mode_baseten_model_info = 82;
171
- optional string plan_mode_hugging_face_model_id = 83;
172
- optional OpenRouterModelInfo plan_mode_hugging_face_model_info = 84;
173
- optional string plan_mode_huawei_cloud_maas_model_id = 85;
174
- optional OpenRouterModelInfo plan_mode_huawei_cloud_maas_model_info = 86;
175
- optional string plan_mode_oca_model_id = 87;
176
- optional OcaModelInfo plan_mode_oca_model_info = 88;
177
- optional ApiProvider act_mode_api_provider = 89;
178
- optional string act_mode_api_model_id = 90;
179
- optional int64 act_mode_thinking_budget_tokens = 91;
180
- optional string act_mode_reasoning_effort = 92;
181
- optional LanguageModelChatSelector act_mode_vs_code_lm_model_selector = 93;
182
- optional bool act_mode_aws_bedrock_custom_selected = 94;
183
- optional string act_mode_aws_bedrock_custom_model_base_id = 95;
184
- optional string act_mode_open_router_model_id = 96;
185
- optional OpenRouterModelInfo act_mode_open_router_model_info = 97;
186
- optional string act_mode_open_ai_model_id = 98;
187
- optional OpenAiCompatibleModelInfo act_mode_open_ai_model_info = 99;
188
- optional string act_mode_ollama_model_id = 100;
189
- optional string act_mode_lm_studio_model_id = 101;
190
- optional string act_mode_lite_llm_model_id = 102;
191
- optional LiteLLMModelInfo act_mode_lite_llm_model_info = 103;
192
- optional string act_mode_requesty_model_id = 104;
193
- optional OpenRouterModelInfo act_mode_requesty_model_info = 105;
194
- optional string act_mode_together_model_id = 106;
195
- optional string act_mode_fireworks_model_id = 107;
196
- optional string act_mode_sap_ai_core_model_id = 108;
197
- optional string act_mode_sap_ai_core_deployment_id = 109;
198
- optional string act_mode_groq_model_id = 110;
199
- optional OpenRouterModelInfo act_mode_groq_model_info = 111;
200
- optional string act_mode_baseten_model_id = 112;
201
- optional OpenRouterModelInfo act_mode_baseten_model_info = 113;
202
- optional string act_mode_hugging_face_model_id = 114;
203
- optional OpenRouterModelInfo act_mode_hugging_face_model_info = 115;
204
- optional string act_mode_huawei_cloud_maas_model_id = 116;
205
- optional OpenRouterModelInfo act_mode_huawei_cloud_maas_model_info = 117;
206
- optional string plan_mode_vercel_ai_gateway_model_id = 118;
207
- optional OpenRouterModelInfo plan_mode_vercel_ai_gateway_model_info = 119;
208
- optional string act_mode_vercel_ai_gateway_model_id = 120;
209
- optional OpenRouterModelInfo act_mode_vercel_ai_gateway_model_info = 121;
210
- optional string act_mode_oca_model_id = 122;
211
- optional OcaModelInfo act_mode_oca_model_info = 123;
212
- optional int32 max_consecutive_mistakes = 124;
213
- optional bool subagents_enabled = 125;
214
- optional int32 subagent_terminal_output_line_limit = 126;
105
+ optional string ollama_base_url = 13;
106
+ optional string ollama_api_options_ctx_num = 14;
107
+ optional string lm_studio_base_url = 15;
108
+ optional string lm_studio_max_tokens = 16;
109
+ optional string anthropic_base_url = 17;
110
+ optional string gemini_base_url = 18;
111
+ optional string azure_api_version = 19;
112
+ optional string open_router_provider_sorting = 20;
113
+ optional AutoApprovalSettings auto_approval_settings = 21;
114
+ optional BrowserSettings browser_settings = 24;
115
+ optional string lite_llm_base_url = 25;
116
+ optional bool lite_llm_use_prompt_cache = 26;
117
+ optional int32 fireworks_model_max_completion_tokens = 27;
118
+ optional int32 fireworks_model_max_tokens = 28;
119
+ optional string qwen_api_line = 29;
120
+ optional string moonshot_api_line = 30;
121
+ optional string zai_api_line = 31;
122
+ optional string telemetry_setting = 32;
123
+ optional string asksage_api_url = 33;
124
+ optional bool plan_act_separate_models_setting = 34;
125
+ optional bool enable_checkpoints_setting = 35;
126
+ optional int32 request_timeout_ms = 36;
127
+ optional int32 shell_integration_timeout = 37;
128
+ optional string default_terminal_profile = 38;
129
+ optional int32 terminal_output_line_limit = 39;
130
+ optional string sap_ai_core_token_url = 40;
131
+ optional string sap_ai_core_base_url = 41;
132
+ optional string sap_ai_resource_group = 42;
133
+ optional bool sap_ai_core_use_orchestration_mode = 43;
134
+ optional string claude_code_path = 44;
135
+ optional string qwen_code_oauth_path = 45;
136
+ optional bool strict_plan_mode_enabled = 46;
137
+ optional bool yolo_mode_toggled = 47;
138
+ optional bool use_auto_condense = 48;
139
+ optional string preferred_language = 49;
140
+ optional OpenaiReasoningEffort openai_reasoning_effort = 50;
141
+ optional PlanActMode mode = 51;
142
+ optional DictationSettings dictation_settings = 52;
143
+ optional FocusChainSettings focus_chain_settings = 53;
144
+ optional string custom_prompt = 54;
145
+ optional string dify_base_url = 55;
146
+ optional double auto_condense_threshold = 56;
147
+ optional string oca_base_url = 57;
148
+ optional ApiProvider plan_mode_api_provider = 58;
149
+ optional string plan_mode_api_model_id = 59;
150
+ optional int64 plan_mode_thinking_budget_tokens = 60;
151
+ optional string plan_mode_reasoning_effort = 61;
152
+ optional LanguageModelChatSelector plan_mode_vs_code_lm_model_selector = 62;
153
+ optional bool plan_mode_aws_bedrock_custom_selected = 63;
154
+ optional string plan_mode_aws_bedrock_custom_model_base_id = 64;
155
+ optional string plan_mode_open_router_model_id = 65;
156
+ optional OpenRouterModelInfo plan_mode_open_router_model_info = 66;
157
+ optional string plan_mode_open_ai_model_id = 67;
158
+ optional OpenAiCompatibleModelInfo plan_mode_open_ai_model_info = 68;
159
+ optional string plan_mode_ollama_model_id = 69;
160
+ optional string plan_mode_lm_studio_model_id = 70;
161
+ optional string plan_mode_lite_llm_model_id = 71;
162
+ optional LiteLLMModelInfo plan_mode_lite_llm_model_info = 72;
163
+ optional string plan_mode_requesty_model_id = 73;
164
+ optional OpenRouterModelInfo plan_mode_requesty_model_info = 74;
165
+ optional string plan_mode_together_model_id = 75;
166
+ optional string plan_mode_fireworks_model_id = 76;
167
+ optional string plan_mode_sap_ai_core_model_id = 77;
168
+ optional string plan_mode_sap_ai_core_deployment_id = 78;
169
+ optional string plan_mode_groq_model_id = 79;
170
+ optional OpenRouterModelInfo plan_mode_groq_model_info = 80;
171
+ optional string plan_mode_baseten_model_id = 81;
172
+ optional OpenRouterModelInfo plan_mode_baseten_model_info = 82;
173
+ optional string plan_mode_hugging_face_model_id = 83;
174
+ optional OpenRouterModelInfo plan_mode_hugging_face_model_info = 84;
175
+ optional string plan_mode_huawei_cloud_maas_model_id = 85;
176
+ optional OpenRouterModelInfo plan_mode_huawei_cloud_maas_model_info = 86;
177
+ optional string plan_mode_oca_model_id = 87;
178
+ optional OcaModelInfo plan_mode_oca_model_info = 88;
179
+ optional ApiProvider act_mode_api_provider = 89;
180
+ optional string act_mode_api_model_id = 90;
181
+ optional int64 act_mode_thinking_budget_tokens = 91;
182
+ optional string act_mode_reasoning_effort = 92;
183
+ optional LanguageModelChatSelector act_mode_vs_code_lm_model_selector = 93;
184
+ optional bool act_mode_aws_bedrock_custom_selected = 94;
185
+ optional string act_mode_aws_bedrock_custom_model_base_id = 95;
186
+ optional string act_mode_open_router_model_id = 96;
187
+ optional OpenRouterModelInfo act_mode_open_router_model_info = 97;
188
+ optional string act_mode_open_ai_model_id = 98;
189
+ optional OpenAiCompatibleModelInfo act_mode_open_ai_model_info = 99;
190
+ optional string act_mode_ollama_model_id = 100;
191
+ optional string act_mode_lm_studio_model_id = 101;
192
+ optional string act_mode_lite_llm_model_id = 102;
193
+ optional LiteLLMModelInfo act_mode_lite_llm_model_info = 103;
194
+ optional string act_mode_requesty_model_id = 104;
195
+ optional OpenRouterModelInfo act_mode_requesty_model_info = 105;
196
+ optional string act_mode_together_model_id = 106;
197
+ optional string act_mode_fireworks_model_id = 107;
198
+ optional string act_mode_sap_ai_core_model_id = 108;
199
+ optional string act_mode_sap_ai_core_deployment_id = 109;
200
+ optional string act_mode_groq_model_id = 110;
201
+ optional OpenRouterModelInfo act_mode_groq_model_info = 111;
202
+ optional string act_mode_baseten_model_id = 112;
203
+ optional OpenRouterModelInfo act_mode_baseten_model_info = 113;
204
+ optional string act_mode_hugging_face_model_id = 114;
205
+ optional OpenRouterModelInfo act_mode_hugging_face_model_info = 115;
206
+ optional string act_mode_huawei_cloud_maas_model_id = 116;
207
+ optional OpenRouterModelInfo act_mode_huawei_cloud_maas_model_info = 117;
208
+ optional string plan_mode_vercel_ai_gateway_model_id = 118;
209
+ optional OpenRouterModelInfo plan_mode_vercel_ai_gateway_model_info = 119;
210
+ optional string act_mode_vercel_ai_gateway_model_id = 120;
211
+ optional OpenRouterModelInfo act_mode_vercel_ai_gateway_model_info = 121;
212
+ optional string act_mode_oca_model_id = 122;
213
+ optional OcaModelInfo act_mode_oca_model_info = 123;
214
+ optional int32 max_consecutive_mistakes = 124;
215
+ optional bool subagents_enabled = 125;
216
+ optional int32 subagent_terminal_output_line_limit = 126;
215
217
  }
216
218
 
217
219
  message DictationSettings {
@@ -277,22 +279,9 @@ message ResetStateRequest {
277
279
 
278
280
  message AutoApprovalSettingsRequest {
279
281
  Metadata metadata = 1;
280
- message Actions {
281
- bool read_files = 1;
282
- bool read_files_externally = 2;
283
- bool edit_files = 3;
284
- bool edit_files_externally = 4;
285
- bool execute_safe_commands = 5;
286
- bool execute_all_commands = 6;
287
- bool use_browser = 7;
288
- bool use_mcp = 8;
289
- }
290
282
  int32 version = 2;
291
- bool enabled = 3;
292
- Actions actions = 4;
293
- int32 max_requests = 5;
294
- bool enable_notifications = 6;
295
- repeated string favorites = 7;
283
+ AutoApprovalActions actions = 3;
284
+ bool enable_notifications = 4;
296
285
  }
297
286
 
298
287
  enum TelemetrySettingEnum {
@@ -320,17 +309,19 @@ message UpdateSettingsRequestCli {
320
309
  Metadata metadata = 1;
321
310
  optional Settings settings = 2;
322
311
  optional Secrets secrets = 3;
312
+ optional string environment = 4;
323
313
  }
324
314
 
325
315
  message UpdateTaskSettingsRequest {
326
316
  Metadata metadata = 1;
327
317
  optional Settings settings = 2;
318
+ optional string task_id = 3;
328
319
  }
329
320
 
330
321
  // Message for updating settings
331
322
  message UpdateSettingsRequest {
332
323
  Metadata metadata = 1;
333
- optional ApiConfiguration api_configuration = 2;
324
+ optional ModelsApiConfiguration api_configuration = 2;
334
325
  optional string telemetry_setting = 3;
335
326
  optional bool plan_act_separate_models_setting = 4;
336
327
  optional bool enable_checkpoints_setting = 5;
@@ -358,143 +349,8 @@ message UpdateSettingsRequest {
358
349
  optional int32 max_consecutive_mistakes = 28;
359
350
  optional bool subagents_enabled = 29;
360
351
  optional int32 subagent_terminal_output_line_limit = 30;
361
- }
362
-
363
- // Complete API Configuration message
364
- message ApiConfiguration {
365
- // Global configuration fields (not mode-specific)
366
- optional string api_key = 1; // anthropic
367
- optional string cline_api_key = 2;
368
- optional string ulid = 3;
369
- optional string lite_llm_base_url = 4;
370
- optional string lite_llm_api_key = 5;
371
- optional bool lite_llm_use_prompt_cache = 6;
372
- map<string, string> open_ai_headers = 7;
373
- optional string anthropic_base_url = 8;
374
- optional string open_router_api_key = 9;
375
- optional string open_router_provider_sorting = 10;
376
- optional string aws_access_key = 11;
377
- optional string aws_secret_key = 12;
378
- optional string aws_session_token = 13;
379
- optional string aws_region = 14;
380
- optional bool aws_use_cross_region_inference = 15;
381
- optional bool aws_bedrock_use_prompt_cache = 16;
382
- optional bool aws_use_profile = 17;
383
- optional string aws_profile = 18;
384
- optional string aws_bedrock_endpoint = 19;
385
- optional string claude_code_path = 20;
386
- optional string vertex_project_id = 21;
387
- optional string vertex_region = 22;
388
- optional string open_ai_base_url = 23;
389
- optional string open_ai_api_key = 24;
390
- optional string ollama_base_url = 25;
391
- optional string ollama_api_options_ctx_num = 26;
392
- optional string lm_studio_base_url = 27;
393
- optional string gemini_api_key = 28;
394
- optional string gemini_base_url = 29;
395
- optional string open_ai_native_api_key = 30;
396
- optional string deep_seek_api_key = 31;
397
- optional string requesty_api_key = 32;
398
- optional string requesty_base_url = 33;
399
- optional string together_api_key = 34;
400
- optional string fireworks_api_key = 35;
401
- optional int32 fireworks_model_max_completion_tokens = 36;
402
- optional int32 fireworks_model_max_tokens = 37;
403
- optional string qwen_api_key = 38;
404
- optional string doubao_api_key = 39;
405
- optional string mistral_api_key = 40;
406
- optional string azure_api_version = 41;
407
- optional string qwen_api_line = 42;
408
- optional string nebius_api_key = 43;
409
- optional string asksage_api_url = 44;
410
- optional string asksage_api_key = 45;
411
- optional string xai_api_key = 46;
412
- optional string sambanova_api_key = 47;
413
- optional string cerebras_api_key = 48;
414
- optional int32 request_timeout_ms = 49;
415
- optional string sap_ai_core_client_id = 50;
416
- optional string sap_ai_core_client_secret = 51;
417
- optional string sap_ai_resource_group = 52;
418
- optional string sap_ai_core_token_url = 53;
419
- optional string sap_ai_core_base_url = 54;
420
- optional string moonshot_api_key = 55;
421
- optional string moonshot_api_line = 56;
422
- optional string huawei_cloud_maas_api_key = 57;
423
- optional string ollama_api_key = 58;
424
- optional string zai_api_key = 59;
425
- optional string zai_api_line = 60;
426
- optional string lm_studio_max_tokens = 61;
427
- optional string vercel_ai_gateway_api_key = 62;
428
- optional string qwen_code_oauth_path = 63;
429
- optional string dify_api_key = 64;
430
- optional string dify_base_url = 65;
431
- optional string oca_base_url = 66;
432
- optional string oca_api_key = 67;
433
- optional string oca_refresh_token = 68;
434
- optional string oca_mode = 69;
435
- optional bool aws_use_global_inference = 70;
436
-
437
- // Plan mode configurations
438
- optional ApiProvider plan_mode_api_provider = 100;
439
- optional string plan_mode_api_model_id = 101;
440
- optional int32 plan_mode_thinking_budget_tokens = 102;
441
- optional string plan_mode_reasoning_effort = 103;
442
- optional LanguageModelChatSelector plan_mode_vs_code_lm_model_selector = 104;
443
- optional bool plan_mode_aws_bedrock_custom_selected = 105;
444
- optional string plan_mode_aws_bedrock_custom_model_base_id = 106;
445
- optional string plan_mode_open_router_model_id = 107;
446
- optional OpenRouterModelInfo plan_mode_open_router_model_info = 108;
447
- optional string plan_mode_open_ai_model_id = 109;
448
- optional OpenAiCompatibleModelInfo plan_mode_open_ai_model_info = 110;
449
- optional string plan_mode_ollama_model_id = 111;
450
- optional string plan_mode_lm_studio_model_id = 112;
451
- optional string plan_mode_lite_llm_model_id = 113;
452
- optional LiteLLMModelInfo plan_mode_lite_llm_model_info = 114;
453
- optional string plan_mode_requesty_model_id = 115;
454
- optional OpenRouterModelInfo plan_mode_requesty_model_info = 116;
455
- optional string plan_mode_together_model_id = 117;
456
- optional string plan_mode_fireworks_model_id = 118;
457
- optional string plan_mode_sap_ai_core_model_id = 119;
458
- optional string plan_mode_huawei_cloud_maas_model_id = 120;
459
- optional OpenRouterModelInfo plan_mode_huawei_cloud_maas_model_info = 121;
460
- optional string plan_mode_vercel_ai_gateway_model_id = 122;
461
- optional OpenRouterModelInfo plan_mode_vercel_ai_gateway_model_info = 123;
462
- optional string plan_mode_oca_model_id = 124;
463
- optional OcaModelInfo plan_mode_oca_model_info = 125;
464
-
465
- // Act mode configurations
466
- optional ApiProvider act_mode_api_provider = 200;
467
- optional string act_mode_api_model_id = 201;
468
- optional int32 act_mode_thinking_budget_tokens = 202;
469
- optional string act_mode_reasoning_effort = 203;
470
- optional LanguageModelChatSelector act_mode_vs_code_lm_model_selector = 204;
471
- optional bool act_mode_aws_bedrock_custom_selected = 205;
472
- optional string act_mode_aws_bedrock_custom_model_base_id = 206;
473
- optional string act_mode_open_router_model_id = 207;
474
- optional OpenRouterModelInfo act_mode_open_router_model_info = 208;
475
- optional string act_mode_open_ai_model_id = 209;
476
- optional OpenAiCompatibleModelInfo act_mode_open_ai_model_info = 210;
477
- optional string act_mode_ollama_model_id = 211;
478
- optional string act_mode_lm_studio_model_id = 212;
479
- optional string act_mode_lite_llm_model_id = 213;
480
- optional LiteLLMModelInfo act_mode_lite_llm_model_info = 214;
481
- optional string act_mode_requesty_model_id = 215;
482
- optional OpenRouterModelInfo act_mode_requesty_model_info = 216;
483
- optional string act_mode_together_model_id = 217;
484
- optional string act_mode_fireworks_model_id = 218;
485
- optional string act_mode_sap_ai_core_model_id = 219;
486
- optional string act_mode_huawei_cloud_maas_model_id = 220;
487
- optional OpenRouterModelInfo act_mode_huawei_cloud_maas_model_info = 221;
488
- optional string act_mode_vercel_ai_gateway_model_id = 222;
489
- optional OpenRouterModelInfo act_mode_vercel_ai_gateway_model_info = 223;
490
- optional string act_mode_oca_model_id = 224;
491
- optional OcaModelInfo act_mode_oca_model_info = 225;
492
-
493
- // Extension fields for Bedrock Api Keys
494
- optional string aws_authentication = 301;
495
- optional string aws_bedrock_api_key = 302;
496
-
497
- optional string cline_account_id = 303;
352
+ optional string cline_env = 31;
353
+ optional bool native_tool_call_enabled = 32;
498
354
  }
499
355
 
500
356
  message UpdateTerminalConnectionTimeoutRequest {
@@ -510,7 +366,6 @@ message UpdateTerminalConnectionTimeoutResponse {
510
366
  optional int32 timeout_ms = 1;
511
367
  }
512
368
 
513
-
514
369
  message ProcessInfo {
515
370
  int32 process_id = 1;
516
371
  optional string version = 2;
@@ -1,11 +1,13 @@
1
1
  syntax = "proto3";
2
2
 
3
3
  package cline;
4
+
4
5
  import "cline/common.proto";
5
6
  import "cline/state.proto";
7
+
6
8
  option go_package = "github.com/cline/grpc-go/cline";
7
- option java_package = "bot.cline.proto";
8
9
  option java_multiple_files = true;
10
+ option java_package = "bot.cline.proto";
9
11
 
10
12
  service TaskService {
11
13
  // Cancels the currently running task
@@ -102,7 +104,7 @@ message TaskItem {
102
104
  // Request for ask response operation
103
105
  message AskResponseRequest {
104
106
  Metadata metadata = 1;
105
- string response_type = 2;
107
+ string response_type = 2;
106
108
  string text = 3;
107
109
  repeated string images = 4;
108
110
  repeated string files = 5;
@@ -1,10 +1,12 @@
1
1
  syntax = "proto3";
2
2
 
3
3
  package cline;
4
+
4
5
  import "cline/common.proto";
6
+
5
7
  option go_package = "github.com/cline/grpc-go/cline";
6
- option java_package = "bot.cline.proto";
7
8
  option java_multiple_files = true;
9
+ option java_package = "bot.cline.proto";
8
10
 
9
11
  // Enum for ClineMessage type
10
12
  enum ClineMessageType {
@@ -24,13 +26,12 @@ enum ClineAsk {
24
26
  RESUME_TASK = 7;
25
27
  RESUME_COMPLETED_TASK = 8;
26
28
  MISTAKE_LIMIT_REACHED = 9;
27
- AUTO_APPROVAL_MAX_REQ_REACHED = 10;
28
- BROWSER_ACTION_LAUNCH = 11;
29
- USE_MCP_SERVER = 12;
30
- NEW_TASK = 13;
31
- CONDENSE = 14;
32
- REPORT_BUG = 15;
33
- SUMMARIZE_TASK = 16;
29
+ BROWSER_ACTION_LAUNCH = 10;
30
+ USE_MCP_SERVER = 11;
31
+ NEW_TASK = 12;
32
+ CONDENSE = 13;
33
+ REPORT_BUG = 14;
34
+ SUMMARIZE_TASK = 15;
34
35
  }
35
36
 
36
37
  // Enum for ClineSay types
@@ -198,7 +199,7 @@ message ClineMessage {
198
199
  bool is_operation_outside_workspace = 12;
199
200
  int32 conversation_history_index = 13;
200
201
  ConversationHistoryDeletedRange conversation_history_deleted_range = 14;
201
-
202
+
202
203
  // Additional fields for specific ask/say types
203
204
  ClineSayTool say_tool = 15;
204
205
  ClineSayBrowserAction say_browser_action = 16;
@@ -214,52 +215,52 @@ message ClineMessage {
214
215
  service UiService {
215
216
  // Scrolls to a specific settings section in the settings view
216
217
  rpc scrollToSettings(StringRequest) returns (KeyValuePair);
217
-
218
+
218
219
  // Sets the terminal execution mode (vscodeTerminal or backgroundExec)
219
220
  rpc setTerminalExecutionMode(BooleanRequest) returns (KeyValuePair);
220
-
221
+
221
222
  // Marks the current announcement as shown and returns whether an announcement should still be shown
222
223
  rpc onDidShowAnnouncement(EmptyRequest) returns (Boolean);
223
-
224
+
224
225
  // Subscribe to addToInput events (when user adds content via context menu)
225
226
  rpc subscribeToAddToInput(EmptyRequest) returns (stream String);
226
-
227
+
227
228
  // Subscribe to MCP button clicked events
228
229
  rpc subscribeToMcpButtonClicked(EmptyRequest) returns (stream Empty);
229
-
230
+
230
231
  // Subscribe to history button click events
231
232
  rpc subscribeToHistoryButtonClicked(EmptyRequest) returns (stream Empty);
232
-
233
+
233
234
  // Subscribe to chat button clicked events (when the chat button is clicked in VSCode)
234
235
  rpc subscribeToChatButtonClicked(EmptyRequest) returns (stream Empty);
235
-
236
+
236
237
  // Subscribe to account button click events
237
238
  rpc subscribeToAccountButtonClicked(EmptyRequest) returns (stream Empty);
238
-
239
+
239
240
  // Subscribe to settings button clicked events
240
241
  rpc subscribeToSettingsButtonClicked(EmptyRequest) returns (stream Empty);
241
-
242
+
242
243
  // Subscribe to partial message updates (streaming Cline messages as they're built)
243
244
  rpc subscribeToPartialMessage(EmptyRequest) returns (stream ClineMessage);
244
-
245
+
245
246
  // Initialize webview when it launches
246
247
  rpc initializeWebview(EmptyRequest) returns (Empty);
247
-
248
+
248
249
  // Subscribe to relinquish control events
249
250
  rpc subscribeToRelinquishControl(EmptyRequest) returns (stream Empty);
250
-
251
+
251
252
  // Subscribe to focus chat input events
252
253
  rpc subscribeToFocusChatInput(EmptyRequest) returns (stream Empty);
253
-
254
+
254
255
  // Subscribe to webview visibility change events
255
256
  rpc subscribeToDidBecomeVisible(EmptyRequest) returns (stream Empty);
256
257
 
257
258
  // Returns the HTML for the webview index page. This is only used by external clients, not by the vscode webview.
258
259
  rpc getWebviewHtml(EmptyRequest) returns (String);
259
-
260
+
260
261
  // Opens a URL in the default browser
261
262
  rpc openUrl(StringRequest) returns (Empty);
262
-
263
+
263
264
  // Opens the Cline walkthrough
264
265
  rpc openWalkthrough(EmptyRequest) returns (Empty);
265
266
  }
@@ -1,10 +1,12 @@
1
1
  syntax = "proto3";
2
2
 
3
3
  package cline;
4
+
4
5
  import "cline/common.proto";
6
+
5
7
  option go_package = "github.com/cline/grpc-go/cline";
6
- option java_package = "bot.cline.proto";
7
8
  option java_multiple_files = true;
9
+ option java_package = "bot.cline.proto";
8
10
 
9
11
  service WebService {
10
12
  rpc checkIsImageUrl(StringRequest) returns (IsImageUrl);
Binary file