cline 1.0.0-nightly.14 → 1.0.0-nightly.15
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 +1914 -5
- package/package.json +1 -1
- package/proto/cline/hooks.proto +40 -7
package/package.json
CHANGED
package/proto/cline/hooks.proto
CHANGED
|
@@ -16,13 +16,12 @@ message HookInput {
|
|
|
16
16
|
oneof data {
|
|
17
17
|
PreToolUseData pre_tool_use = 10;
|
|
18
18
|
PostToolUseData post_tool_use = 11;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
// PreCompactData pre_compact = 17;
|
|
19
|
+
UserPromptSubmitData user_prompt_submit = 12;
|
|
20
|
+
TaskStartData task_start = 13;
|
|
21
|
+
TaskResumeData task_resume = 14;
|
|
22
|
+
TaskCancelData task_cancel = 15;
|
|
23
|
+
TaskCompleteData task_complete = 16;
|
|
24
|
+
PreCompactData pre_compact = 17;
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
27
|
|
|
@@ -47,3 +46,37 @@ message PostToolUseData {
|
|
|
47
46
|
bool success = 4;
|
|
48
47
|
int64 execution_time_ms = 5;
|
|
49
48
|
}
|
|
49
|
+
|
|
50
|
+
// Data for UserPromptSubmit hook
|
|
51
|
+
message UserPromptSubmitData {
|
|
52
|
+
string prompt = 1;
|
|
53
|
+
repeated string attachments = 2;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Data for TaskStart hook
|
|
57
|
+
message TaskStartData {
|
|
58
|
+
map<string, string> task_metadata = 1;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// Data for TaskResume hook
|
|
62
|
+
message TaskResumeData {
|
|
63
|
+
map<string, string> task_metadata = 1;
|
|
64
|
+
map<string, string> previous_state = 2;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Data for TaskCancel hook
|
|
68
|
+
message TaskCancelData {
|
|
69
|
+
map<string, string> task_metadata = 1;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// Data for TaskComplete hook
|
|
73
|
+
message TaskCompleteData {
|
|
74
|
+
map<string, string> task_metadata = 1;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// Data for PreCompact hook
|
|
78
|
+
message PreCompactData {
|
|
79
|
+
int64 context_size = 1;
|
|
80
|
+
int32 messages_to_compact = 2;
|
|
81
|
+
string compaction_strategy = 3;
|
|
82
|
+
}
|