codecane 1.0.172 → 1.0.173
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/dist/client.d.ts +8 -8
- package/dist/common/actions.d.ts +195 -195
- package/dist/common/constants.d.ts +3 -3
- package/dist/common/constants.js +2 -1
- package/dist/common/constants.js.map +1 -1
- package/dist/common/websockets/websocket-schema.d.ts +518 -518
- package/dist/index.js +0 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -46,15 +46,14 @@ export declare class Client {
|
|
|
46
46
|
type: "prompt-response";
|
|
47
47
|
promptId: string;
|
|
48
48
|
agentState: {
|
|
49
|
-
agentContext: string;
|
|
50
49
|
fileContext: {
|
|
51
50
|
currentWorkingDirectory: string;
|
|
52
51
|
fileTree: import("./common/util/file").FileTreeNode[];
|
|
53
52
|
fileTokenScores: Record<string, Record<string, number>>;
|
|
54
53
|
knowledgeFiles: Record<string, string>;
|
|
55
54
|
gitChanges: {
|
|
56
|
-
status: string;
|
|
57
55
|
diff: string;
|
|
56
|
+
status: string;
|
|
58
57
|
diffCached: string;
|
|
59
58
|
lastCommitMessages: string;
|
|
60
59
|
};
|
|
@@ -74,10 +73,11 @@ export declare class Client {
|
|
|
74
73
|
}[][];
|
|
75
74
|
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
76
75
|
};
|
|
76
|
+
agentContext: string;
|
|
77
77
|
messageHistory: {
|
|
78
78
|
content: string | ({
|
|
79
|
-
text: string;
|
|
80
79
|
type: "text";
|
|
80
|
+
text: string;
|
|
81
81
|
cache_control?: {
|
|
82
82
|
type: "ephemeral";
|
|
83
83
|
} | undefined;
|
|
@@ -99,9 +99,9 @@ export declare class Client {
|
|
|
99
99
|
} | {
|
|
100
100
|
type: "image";
|
|
101
101
|
source: {
|
|
102
|
-
data: string;
|
|
103
102
|
type: "base64";
|
|
104
103
|
media_type: "image/jpeg";
|
|
104
|
+
data: string;
|
|
105
105
|
};
|
|
106
106
|
cache_control?: {
|
|
107
107
|
type: "ephemeral";
|
|
@@ -138,15 +138,14 @@ export declare class Client {
|
|
|
138
138
|
type: "prompt-response";
|
|
139
139
|
promptId: string;
|
|
140
140
|
agentState: {
|
|
141
|
-
agentContext: string;
|
|
142
141
|
fileContext: {
|
|
143
142
|
currentWorkingDirectory: string;
|
|
144
143
|
fileTree: import("./common/util/file").FileTreeNode[];
|
|
145
144
|
fileTokenScores: Record<string, Record<string, number>>;
|
|
146
145
|
knowledgeFiles: Record<string, string>;
|
|
147
146
|
gitChanges: {
|
|
148
|
-
status: string;
|
|
149
147
|
diff: string;
|
|
148
|
+
status: string;
|
|
150
149
|
diffCached: string;
|
|
151
150
|
lastCommitMessages: string;
|
|
152
151
|
};
|
|
@@ -166,10 +165,11 @@ export declare class Client {
|
|
|
166
165
|
}[][];
|
|
167
166
|
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
168
167
|
};
|
|
168
|
+
agentContext: string;
|
|
169
169
|
messageHistory: {
|
|
170
170
|
content: string | ({
|
|
171
|
-
text: string;
|
|
172
171
|
type: "text";
|
|
172
|
+
text: string;
|
|
173
173
|
cache_control?: {
|
|
174
174
|
type: "ephemeral";
|
|
175
175
|
} | undefined;
|
|
@@ -191,9 +191,9 @@ export declare class Client {
|
|
|
191
191
|
} | {
|
|
192
192
|
type: "image";
|
|
193
193
|
source: {
|
|
194
|
-
data: string;
|
|
195
194
|
type: "base64";
|
|
196
195
|
media_type: "image/jpeg";
|
|
196
|
+
data: string;
|
|
197
197
|
};
|
|
198
198
|
cache_control?: {
|
|
199
199
|
type: "ephemeral";
|