codebuff 1.0.287 → 1.0.288
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/cli-handlers/checkpoint.d.ts +1 -1
- package/dist/cli.js +1 -1
- package/dist/client.d.ts +5 -5
- package/dist/common/actions.d.ts +174 -174
- package/dist/common/analytics.js +1 -4
- package/dist/common/analytics.js.map +1 -1
- package/dist/common/constants.d.ts +7 -7
- package/dist/common/constants.js +2 -2
- package/dist/common/util/__tests__/saxy.test.js +75 -0
- package/dist/common/util/__tests__/saxy.test.js.map +1 -1
- package/dist/common/util/saxy.js +40 -42
- package/dist/common/util/saxy.js.map +1 -1
- package/dist/common/websockets/websocket-schema.d.ts +312 -312
- package/dist/index.js +6 -0
- package/dist/menu.js +8 -6
- package/dist/menu.js.map +1 -1
- package/dist/readline.d.ts +22 -0
- package/dist/readline.js +180 -0
- package/dist/readline.js.map +1 -0
- package/dist/utils/spinner.js +1 -1
- package/package.json +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Interface as ReadlineInterface } from 'readline';
|
|
1
|
+
import { Interface as ReadlineInterface } from '../readline';
|
|
2
2
|
import type { Client } from '../client';
|
|
3
3
|
export declare const checkpointCommands: {
|
|
4
4
|
readonly save: readonly [readonly ["checkpoint"], "Save current state as a new checkpoint"];
|
package/dist/cli.js
CHANGED
|
@@ -28,7 +28,7 @@ const fs_1 = __importStar(require("fs"));
|
|
|
28
28
|
const os = __importStar(require("os"));
|
|
29
29
|
const os_1 = require("os");
|
|
30
30
|
const path_1 = __importStar(require("path"));
|
|
31
|
-
const readline = __importStar(require("readline"));
|
|
31
|
+
const readline = __importStar(require("./readline"));
|
|
32
32
|
const analytics_events_1 = require("./common/constants/analytics-events");
|
|
33
33
|
const string_1 = require("./common/util/string");
|
|
34
34
|
const picocolors_1 = require("picocolors");
|
package/dist/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Interface } from 'readline';
|
|
1
|
+
import { Interface } from './readline';
|
|
2
2
|
import { FileChanges, UsageResponse } from './common/actions';
|
|
3
3
|
import { ApiKeyType } from './common/api-keys/constants';
|
|
4
4
|
import { CostMode } from './common/constants';
|
|
@@ -91,28 +91,28 @@ export declare class Client {
|
|
|
91
91
|
tokenCallers?: Record<string, Record<string, string[]>> | undefined;
|
|
92
92
|
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
93
93
|
fileVersions?: {
|
|
94
|
-
path: string;
|
|
95
94
|
content: string;
|
|
95
|
+
path: string;
|
|
96
96
|
}[][] | undefined;
|
|
97
97
|
};
|
|
98
98
|
messageHistory: {
|
|
99
99
|
content: string | ({
|
|
100
|
-
type: "text";
|
|
101
100
|
text: string;
|
|
101
|
+
type: "text";
|
|
102
102
|
cache_control?: {
|
|
103
103
|
type: "ephemeral";
|
|
104
104
|
} | undefined;
|
|
105
105
|
} | {
|
|
106
|
-
type: "tool_use";
|
|
107
106
|
name: string;
|
|
107
|
+
type: "tool_use";
|
|
108
108
|
id: string;
|
|
109
109
|
input: Record<string, any>;
|
|
110
110
|
cache_control?: {
|
|
111
111
|
type: "ephemeral";
|
|
112
112
|
} | undefined;
|
|
113
113
|
} | {
|
|
114
|
-
type: "tool_result";
|
|
115
114
|
content: string;
|
|
115
|
+
type: "tool_result";
|
|
116
116
|
tool_use_id: string;
|
|
117
117
|
cache_control?: {
|
|
118
118
|
type: "ephemeral";
|