codebuff 1.0.290 → 1.0.291
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.d.ts +1 -1
- package/dist/cli.js +1 -1
- package/dist/client.d.ts +4 -4
- package/dist/common/actions.d.ts +144 -144
- package/dist/common/db/schema.d.ts +1 -1
- package/dist/common/types/agent-state.d.ts +8 -8
- package/dist/common/types/message.d.ts +6 -6
- package/dist/common/types/organization.d.ts +102 -0
- package/dist/common/types/organization.js +3 -0
- package/dist/common/types/organization.js.map +1 -0
- package/dist/common/types/usage.d.ts +2 -2
- package/dist/common/util/credentials.d.ts +2 -2
- package/dist/common/websockets/websocket-schema.d.ts +256 -256
- package/dist/index.js +9 -3
- package/dist/organization-context.d.ts +33 -0
- package/dist/organization-context.js +112 -0
- package/dist/organization-context.js.map +1 -0
- package/dist/slash-commands.d.ts +7 -0
- package/dist/slash-commands.js +21 -0
- package/dist/slash-commands.js.map +1 -0
- package/dist/utils/spinner.js +1 -1
- package/package.json +1 -1
- package/dist/common/__tests__/project-file-tree.test.d.ts +0 -1
- package/dist/common/__tests__/project-file-tree.test.js +0 -251
- package/dist/common/__tests__/project-file-tree.test.js.map +0 -1
- package/dist/common/json-config/__tests__/__snapshots__/stringify-schema.test.js.snap +0 -119
- package/dist/common/util/process-stream.d.ts +0 -7
- package/dist/common/util/process-stream.js +0 -162
- package/dist/common/util/process-stream.js.map +0 -1
- package/dist/readline.d.ts +0 -22
- package/dist/readline.js +0 -180
- package/dist/readline.js.map +0 -1
- package/dist/utils/__tests__/__snapshots__/background-process-manager.test.js.snap +0 -137
- package/dist/utils/__tests__/file-paths.test.d.ts +0 -1
- package/dist/utils/__tests__/file-paths.test.js +0 -37
- package/dist/utils/__tests__/file-paths.test.js.map +0 -1
- package/dist/utils/__tests__/path.test.d.ts +0 -1
- package/dist/utils/__tests__/path.test.js +0 -37
- package/dist/utils/__tests__/path.test.js.map +0 -1
- package/dist/utils/file-paths.d.ts +0 -9
- package/dist/utils/file-paths.js +0 -24
- package/dist/utils/file-paths.js.map +0 -1
- package/dist/utils/path.d.ts +0 -9
- package/dist/utils/path.js +0 -27
- package/dist/utils/path.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Interface as ReadlineInterface } from '
|
|
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.d.ts
CHANGED
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("
|
|
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
|
@@ -88,28 +88,28 @@ export declare class Client {
|
|
|
88
88
|
tokenCallers?: Record<string, Record<string, string[]>> | undefined;
|
|
89
89
|
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
90
90
|
fileVersions?: {
|
|
91
|
-
content: string;
|
|
92
91
|
path: string;
|
|
92
|
+
content: string;
|
|
93
93
|
}[][] | undefined;
|
|
94
94
|
};
|
|
95
95
|
messageHistory: {
|
|
96
96
|
content: string | ({
|
|
97
|
-
text: string;
|
|
98
97
|
type: "text";
|
|
98
|
+
text: string;
|
|
99
99
|
cache_control?: {
|
|
100
100
|
type: "ephemeral";
|
|
101
101
|
} | undefined;
|
|
102
102
|
} | {
|
|
103
|
-
name: string;
|
|
104
103
|
type: "tool_use";
|
|
104
|
+
name: string;
|
|
105
105
|
id: string;
|
|
106
106
|
input: Record<string, any>;
|
|
107
107
|
cache_control?: {
|
|
108
108
|
type: "ephemeral";
|
|
109
109
|
} | undefined;
|
|
110
110
|
} | {
|
|
111
|
-
content: string;
|
|
112
111
|
type: "tool_result";
|
|
112
|
+
content: string;
|
|
113
113
|
tool_use_id: string;
|
|
114
114
|
cache_control?: {
|
|
115
115
|
type: "ephemeral";
|