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.
- package/bin/cline +0 -0
- package/bin/cline-darwin-amd64 +0 -0
- package/bin/cline-darwin-arm64 +0 -0
- package/bin/cline-host +0 -0
- package/bin/cline-host-darwin-amd64 +0 -0
- package/bin/cline-host-darwin-arm64 +0 -0
- package/bin/cline-host-linux-amd64 +0 -0
- package/bin/cline-host-linux-arm64 +0 -0
- package/bin/cline-linux-amd64 +0 -0
- package/bin/cline-linux-arm64 +0 -0
- package/cline-core.js +24841 -16621
- package/extension/package.json +12 -4
- package/node_modules/b4a/LICENSE +201 -0
- package/node_modules/b4a/README.md +153 -0
- package/node_modules/b4a/browser.js +563 -0
- package/node_modules/b4a/index.js +188 -0
- package/node_modules/b4a/lib/ascii.js +31 -0
- package/node_modules/b4a/lib/base64.js +65 -0
- package/node_modules/b4a/lib/hex.js +51 -0
- package/node_modules/b4a/lib/utf16le.js +40 -0
- package/node_modules/b4a/lib/utf8.js +141 -0
- package/node_modules/b4a/package.json +49 -0
- package/node_modules/b4a/react-native.js +5 -0
- package/node_modules/bare-events/LICENSE +201 -0
- package/node_modules/bare-events/README.md +25 -0
- package/node_modules/bare-events/global.d.ts +15 -0
- package/node_modules/bare-events/global.js +5 -0
- package/node_modules/bare-events/index.d.ts +94 -0
- package/node_modules/bare-events/index.js +355 -0
- package/node_modules/bare-events/lib/errors.js +32 -0
- package/node_modules/bare-events/package.json +61 -0
- package/node_modules/bare-events/web.d.ts +79 -0
- package/node_modules/bare-events/web.js +347 -0
- package/node_modules/bare-fs/CMakeLists.txt +13 -0
- package/node_modules/bare-fs/LICENSE +201 -0
- package/node_modules/bare-fs/README.md +29 -0
- package/node_modules/bare-fs/binding.c +2238 -0
- package/node_modules/bare-fs/binding.js +1 -0
- package/node_modules/bare-fs/index.d.ts +1115 -0
- package/node_modules/bare-fs/index.js +2330 -0
- package/node_modules/bare-fs/lib/constants.d.ts +49 -0
- package/node_modules/bare-fs/lib/constants.js +49 -0
- package/node_modules/bare-fs/lib/errors.d.ts +11 -0
- package/node_modules/bare-fs/lib/errors.js +55 -0
- package/node_modules/bare-fs/package.json +71 -0
- package/node_modules/bare-fs/prebuilds/android-arm/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-ia32/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/darwin-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/darwin-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-arm64-simulator/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-x64-simulator/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/linux-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/linux-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/win32-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/win32-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/promises.d.ts +282 -0
- package/node_modules/bare-fs/promises.js +90 -0
- package/node_modules/bare-os/CMakeLists.txt +13 -0
- package/node_modules/bare-os/LICENSE +201 -0
- package/node_modules/bare-os/README.md +11 -0
- package/node_modules/bare-os/binding.c +1119 -0
- package/node_modules/bare-os/binding.js +1 -0
- package/node_modules/bare-os/index.d.ts +109 -0
- package/node_modules/bare-os/index.js +99 -0
- package/node_modules/bare-os/lib/constants.js +6 -0
- package/node_modules/bare-os/lib/errors.js +22 -0
- package/node_modules/bare-os/package.json +46 -0
- package/node_modules/bare-os/prebuilds/android-arm/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/android-arm64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/android-ia32/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/android-x64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/darwin-arm64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/darwin-x64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/ios-arm64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/ios-arm64-simulator/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/ios-x64-simulator/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/linux-arm64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/linux-x64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/win32-arm64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/win32-x64/bare-os.bare +0 -0
- package/node_modules/bare-path/LICENSE +201 -0
- package/node_modules/bare-path/NOTICE +28 -0
- package/node_modules/bare-path/README.md +19 -0
- package/node_modules/bare-path/index.js +11 -0
- package/node_modules/bare-path/lib/constants.js +11 -0
- package/node_modules/bare-path/lib/posix.js +242 -0
- package/node_modules/bare-path/lib/shared.js +67 -0
- package/node_modules/bare-path/lib/win32.js +513 -0
- package/node_modules/bare-path/package.json +36 -0
- package/node_modules/bare-stream/LICENSE +201 -0
- package/node_modules/bare-stream/README.md +15 -0
- package/node_modules/bare-stream/global.js +8 -0
- package/node_modules/bare-stream/index.d.ts +237 -0
- package/node_modules/bare-stream/index.js +355 -0
- package/node_modules/bare-stream/package.json +61 -0
- package/node_modules/bare-stream/promises.js +3 -0
- package/node_modules/bare-stream/web.d.ts +73 -0
- package/node_modules/bare-stream/web.js +229 -0
- package/node_modules/bare-url/CMakeLists.txt +27 -0
- package/node_modules/bare-url/LICENSE +201 -0
- package/node_modules/bare-url/README.md +19 -0
- package/node_modules/bare-url/binding.c +188 -0
- package/node_modules/bare-url/binding.js +1 -0
- package/node_modules/bare-url/global.d.ts +12 -0
- package/node_modules/bare-url/global.js +2 -0
- package/node_modules/bare-url/index.d.ts +39 -0
- package/node_modules/bare-url/index.js +450 -0
- package/node_modules/bare-url/lib/errors.d.ts +8 -0
- package/node_modules/bare-url/lib/errors.js +38 -0
- package/node_modules/bare-url/lib/url-search-params.d.ts +21 -0
- package/node_modules/bare-url/lib/url-search-params.js +176 -0
- package/node_modules/bare-url/package.json +51 -0
- package/node_modules/bare-url/prebuilds/android-arm/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-ia32/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/darwin-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/darwin-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-arm64-simulator/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-x64-simulator/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/linux-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/linux-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/win32-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/win32-x64/bare-url.bare +0 -0
- package/node_modules/better-sqlite3/deps/download.sh +1 -1
- package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.c +122 -81
- package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.h +45 -45
- package/node_modules/better-sqlite3/lib/database.js +1 -1
- package/node_modules/better-sqlite3/package.json +4 -7
- package/node_modules/better-sqlite3/src/addon.cpp +47 -0
- package/node_modules/better-sqlite3/src/better_sqlite3.cpp +44 -2164
- package/node_modules/better-sqlite3/src/objects/backup.cpp +120 -0
- package/node_modules/better-sqlite3/src/objects/backup.hpp +36 -0
- package/node_modules/better-sqlite3/src/objects/database.cpp +417 -0
- package/node_modules/better-sqlite3/src/objects/database.hpp +103 -0
- package/node_modules/better-sqlite3/src/objects/statement-iterator.cpp +113 -0
- package/node_modules/better-sqlite3/src/objects/statement-iterator.hpp +50 -0
- package/node_modules/better-sqlite3/src/objects/statement.cpp +383 -0
- package/node_modules/better-sqlite3/src/objects/statement.hpp +58 -0
- package/node_modules/better-sqlite3/src/util/bind-map.cpp +73 -0
- package/node_modules/better-sqlite3/src/util/binder.cpp +193 -0
- package/node_modules/better-sqlite3/src/util/constants.cpp +172 -0
- package/node_modules/better-sqlite3/src/util/custom-aggregate.cpp +121 -0
- package/node_modules/better-sqlite3/src/util/custom-function.cpp +59 -0
- package/node_modules/better-sqlite3/src/util/custom-table.cpp +409 -0
- package/node_modules/better-sqlite3/src/util/data-converter.cpp +17 -0
- package/node_modules/better-sqlite3/src/util/data.cpp +194 -0
- package/node_modules/better-sqlite3/src/util/helpers.cpp +109 -0
- package/node_modules/better-sqlite3/src/util/macros.cpp +63 -0
- package/node_modules/better-sqlite3/src/util/query-macros.cpp +71 -0
- package/node_modules/better-sqlite3/src/util/row-builder.cpp +49 -0
- package/node_modules/events-universal/LICENSE +201 -0
- package/node_modules/events-universal/README.md +17 -0
- package/node_modules/events-universal/bare.js +1 -0
- package/node_modules/events-universal/default.js +1 -0
- package/node_modules/events-universal/index.js +1 -0
- package/node_modules/events-universal/package.json +39 -0
- package/node_modules/events-universal/react-native.js +1 -0
- package/node_modules/{fs-constants → fast-fifo}/LICENSE +1 -1
- package/node_modules/fast-fifo/README.md +78 -0
- package/node_modules/fast-fifo/fixed-size.js +39 -0
- package/node_modules/fast-fifo/index.js +48 -0
- package/node_modules/fast-fifo/package.json +28 -0
- package/node_modules/{base64-js → streamx}/LICENSE +1 -1
- package/node_modules/streamx/README.md +489 -0
- package/node_modules/streamx/index.js +1184 -0
- package/node_modules/streamx/package.json +34 -0
- package/node_modules/tar-fs/README.md +23 -34
- package/node_modules/tar-fs/index.js +211 -184
- package/node_modules/tar-fs/package.json +27 -7
- package/node_modules/tar-stream/README.md +34 -19
- package/node_modules/tar-stream/constants.js +14 -0
- package/node_modules/tar-stream/extract.js +341 -192
- package/node_modules/tar-stream/headers.js +201 -175
- package/node_modules/tar-stream/pack.js +226 -194
- package/node_modules/tar-stream/package.json +23 -46
- package/node_modules/text-decoder/LICENSE +201 -0
- package/node_modules/text-decoder/README.md +36 -0
- package/node_modules/text-decoder/index.js +64 -0
- package/node_modules/text-decoder/lib/browser-decoder.js +17 -0
- package/node_modules/text-decoder/lib/pass-through-decoder.js +19 -0
- package/node_modules/text-decoder/lib/utf8-decoder.js +104 -0
- package/node_modules/text-decoder/package.json +38 -0
- package/package.json +2 -2
- package/proto/cline/account.proto +10 -8
- package/proto/cline/browser.proto +3 -1
- package/proto/cline/checkpoints.proto +5 -3
- package/proto/cline/commands.proto +4 -2
- package/proto/cline/common.proto +5 -7
- package/proto/cline/dictation.proto +3 -1
- package/proto/cline/file.proto +36 -34
- package/proto/cline/hooks.proto +3 -2
- package/proto/cline/mcp.proto +6 -4
- package/proto/cline/models.proto +189 -19
- package/proto/cline/oca_account.proto +6 -7
- package/proto/cline/slash.proto +3 -1
- package/proto/cline/state.proto +147 -292
- package/proto/cline/task.proto +4 -2
- package/proto/cline/ui.proto +25 -24
- package/proto/cline/web.proto +3 -1
- package/proto/descriptor_set.pb +0 -0
- package/proto/host/diff.proto +5 -4
- package/proto/host/env.proto +8 -7
- package/proto/host/testing.proto +3 -3
- package/proto/host/window.proto +2 -2
- package/proto/host/workspace.proto +24 -11
- package/node_modules/base64-js/README.md +0 -34
- package/node_modules/base64-js/base64js.min.js +0 -1
- package/node_modules/base64-js/index.d.ts +0 -3
- package/node_modules/base64-js/index.js +0 -150
- package/node_modules/base64-js/package.json +0 -47
- package/node_modules/better-sqlite3/src/better_sqlite3.hpp +0 -1036
- package/node_modules/bl/.travis.yml +0 -17
- package/node_modules/bl/BufferList.js +0 -396
- package/node_modules/bl/LICENSE.md +0 -13
- package/node_modules/bl/README.md +0 -247
- package/node_modules/bl/bl.js +0 -84
- package/node_modules/bl/package.json +0 -37
- package/node_modules/bl/test/convert.js +0 -21
- package/node_modules/bl/test/indexOf.js +0 -492
- package/node_modules/bl/test/isBufferList.js +0 -32
- package/node_modules/bl/test/test.js +0 -869
- package/node_modules/buffer/AUTHORS.md +0 -70
- package/node_modules/buffer/LICENSE +0 -21
- package/node_modules/buffer/README.md +0 -410
- package/node_modules/buffer/index.d.ts +0 -186
- package/node_modules/buffer/index.js +0 -1817
- package/node_modules/buffer/package.json +0 -96
- package/node_modules/chownr/LICENSE +0 -15
- package/node_modules/chownr/README.md +0 -3
- package/node_modules/chownr/chownr.js +0 -167
- package/node_modules/chownr/package.json +0 -29
- package/node_modules/fs-constants/README.md +0 -26
- package/node_modules/fs-constants/browser.js +0 -1
- package/node_modules/fs-constants/index.js +0 -1
- package/node_modules/fs-constants/package.json +0 -19
- package/node_modules/ieee754/LICENSE +0 -11
- package/node_modules/ieee754/README.md +0 -51
- package/node_modules/ieee754/index.d.ts +0 -10
- package/node_modules/ieee754/index.js +0 -85
- package/node_modules/ieee754/package.json +0 -52
- package/node_modules/inherits/LICENSE +0 -16
- package/node_modules/inherits/README.md +0 -42
- package/node_modules/inherits/inherits.js +0 -9
- package/node_modules/inherits/inherits_browser.js +0 -27
- package/node_modules/inherits/package.json +0 -29
- package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/readable-stream/README.md +0 -106
- package/node_modules/readable-stream/errors-browser.js +0 -127
- package/node_modules/readable-stream/errors.js +0 -116
- package/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
- package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
- package/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
- package/node_modules/readable-stream/lib/_stream_transform.js +0 -190
- package/node_modules/readable-stream/lib/_stream_writable.js +0 -641
- package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
- package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
- package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
- package/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- package/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
- package/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
- package/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/readable-stream/package.json +0 -68
- package/node_modules/readable-stream/readable-browser.js +0 -9
- package/node_modules/readable-stream/readable.js +0 -16
- package/node_modules/string_decoder/LICENSE +0 -48
- package/node_modules/string_decoder/README.md +0 -47
- package/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/node_modules/string_decoder/package.json +0 -34
- package/node_modules/tar-fs/.travis.yml +0 -6
- package/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
- package/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
- package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- package/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
- package/node_modules/tar-fs/test/fixtures/e/file +0 -0
- package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- package/node_modules/tar-fs/test/index.js +0 -346
- package/node_modules/tar-stream/sandbox.js +0 -11
- package/node_modules/util-deprecate/History.md +0 -16
- package/node_modules/util-deprecate/LICENSE +0 -24
- package/node_modules/util-deprecate/README.md +0 -53
- package/node_modules/util-deprecate/browser.js +0 -67
- package/node_modules/util-deprecate/node.js +0 -6
- package/node_modules/util-deprecate/package.json +0 -27
- package/test-startup.sh +0 -14
package/proto/cline/state.proto
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
45
|
-
|
|
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
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
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
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
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
|
-
|
|
292
|
-
|
|
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
|
|
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;
|
package/proto/cline/task.proto
CHANGED
|
@@ -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;
|
package/proto/cline/ui.proto
CHANGED
|
@@ -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
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
}
|
package/proto/cline/web.proto
CHANGED
|
@@ -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);
|
package/proto/descriptor_set.pb
CHANGED
|
Binary file
|