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.
Files changed (46) hide show
  1. package/dist/cli-handlers/checkpoint.d.ts +1 -1
  2. package/dist/cli.d.ts +1 -1
  3. package/dist/cli.js +1 -1
  4. package/dist/client.d.ts +4 -4
  5. package/dist/common/actions.d.ts +144 -144
  6. package/dist/common/db/schema.d.ts +1 -1
  7. package/dist/common/types/agent-state.d.ts +8 -8
  8. package/dist/common/types/message.d.ts +6 -6
  9. package/dist/common/types/organization.d.ts +102 -0
  10. package/dist/common/types/organization.js +3 -0
  11. package/dist/common/types/organization.js.map +1 -0
  12. package/dist/common/types/usage.d.ts +2 -2
  13. package/dist/common/util/credentials.d.ts +2 -2
  14. package/dist/common/websockets/websocket-schema.d.ts +256 -256
  15. package/dist/index.js +9 -3
  16. package/dist/organization-context.d.ts +33 -0
  17. package/dist/organization-context.js +112 -0
  18. package/dist/organization-context.js.map +1 -0
  19. package/dist/slash-commands.d.ts +7 -0
  20. package/dist/slash-commands.js +21 -0
  21. package/dist/slash-commands.js.map +1 -0
  22. package/dist/utils/spinner.js +1 -1
  23. package/package.json +1 -1
  24. package/dist/common/__tests__/project-file-tree.test.d.ts +0 -1
  25. package/dist/common/__tests__/project-file-tree.test.js +0 -251
  26. package/dist/common/__tests__/project-file-tree.test.js.map +0 -1
  27. package/dist/common/json-config/__tests__/__snapshots__/stringify-schema.test.js.snap +0 -119
  28. package/dist/common/util/process-stream.d.ts +0 -7
  29. package/dist/common/util/process-stream.js +0 -162
  30. package/dist/common/util/process-stream.js.map +0 -1
  31. package/dist/readline.d.ts +0 -22
  32. package/dist/readline.js +0 -180
  33. package/dist/readline.js.map +0 -1
  34. package/dist/utils/__tests__/__snapshots__/background-process-manager.test.js.snap +0 -137
  35. package/dist/utils/__tests__/file-paths.test.d.ts +0 -1
  36. package/dist/utils/__tests__/file-paths.test.js +0 -37
  37. package/dist/utils/__tests__/file-paths.test.js.map +0 -1
  38. package/dist/utils/__tests__/path.test.d.ts +0 -1
  39. package/dist/utils/__tests__/path.test.js +0 -37
  40. package/dist/utils/__tests__/path.test.js.map +0 -1
  41. package/dist/utils/file-paths.d.ts +0 -9
  42. package/dist/utils/file-paths.js +0 -24
  43. package/dist/utils/file-paths.js.map +0 -1
  44. package/dist/utils/path.d.ts +0 -9
  45. package/dist/utils/path.js +0 -27
  46. package/dist/utils/path.js.map +0 -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.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as readline from './readline';
1
+ import * as readline from 'readline';
2
2
  import { ProjectFileContext } from './common/util/file';
3
3
  import { CliOptions } from './types';
4
4
  export declare class CLI {
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
@@ -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";