@vybestack/llxprt-code-core 0.1.14 → 0.1.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.
Files changed (206) hide show
  1. package/README.md +53 -0
  2. package/dist/src/code_assist/oauth2.test.d.ts +1 -1
  3. package/dist/src/code_assist/oauth2.test.js +15 -15
  4. package/dist/src/code_assist/oauth2.test.js.map +1 -1
  5. package/dist/src/config/config.d.ts +15 -1
  6. package/dist/src/config/config.js +27 -5
  7. package/dist/src/config/config.js.map +1 -1
  8. package/dist/src/config/config.test.js +5 -0
  9. package/dist/src/config/config.test.js.map +1 -1
  10. package/dist/src/config/flashFallback.test.js +12 -46
  11. package/dist/src/config/flashFallback.test.js.map +1 -1
  12. package/dist/src/config/models.d.ts +1 -0
  13. package/dist/src/config/models.js +1 -0
  14. package/dist/src/config/models.js.map +1 -1
  15. package/dist/src/core/client.d.ts +4 -0
  16. package/dist/src/core/client.js +75 -15
  17. package/dist/src/core/client.js.map +1 -1
  18. package/dist/src/core/client.test.d.ts +1 -1
  19. package/dist/src/core/client.test.js +204 -22
  20. package/dist/src/core/client.test.js.map +1 -1
  21. package/dist/src/core/contentGenerator.js +2 -7
  22. package/dist/src/core/contentGenerator.js.map +1 -1
  23. package/dist/src/core/contentGenerator.test.js +6 -2
  24. package/dist/src/core/contentGenerator.test.js.map +1 -1
  25. package/dist/src/core/coreToolScheduler.d.ts +1 -3
  26. package/dist/src/core/coreToolScheduler.js +9 -4
  27. package/dist/src/core/coreToolScheduler.js.map +1 -1
  28. package/dist/src/core/coreToolScheduler.test.js +76 -1
  29. package/dist/src/core/coreToolScheduler.test.js.map +1 -1
  30. package/dist/src/core/geminiChat.js +1 -0
  31. package/dist/src/core/geminiChat.js.map +1 -1
  32. package/dist/src/core/googleGenAIWrapper.d.ts +21 -0
  33. package/dist/src/core/googleGenAIWrapper.js +36 -0
  34. package/dist/src/core/googleGenAIWrapper.js.map +1 -0
  35. package/dist/src/core/googleGenAIWrapper.test.d.ts +6 -0
  36. package/dist/src/core/googleGenAIWrapper.test.js +104 -0
  37. package/dist/src/core/googleGenAIWrapper.test.js.map +1 -0
  38. package/dist/src/core/logger.d.ts +1 -0
  39. package/dist/src/core/logger.js +22 -8
  40. package/dist/src/core/logger.js.map +1 -1
  41. package/dist/src/core/logger.test.js +60 -9
  42. package/dist/src/core/logger.test.js.map +1 -1
  43. package/dist/src/core/nonInteractiveToolExecutor.js +8 -1
  44. package/dist/src/core/nonInteractiveToolExecutor.js.map +1 -1
  45. package/dist/src/core/nonInteractiveToolExecutor.test.js +3 -1
  46. package/dist/src/core/nonInteractiveToolExecutor.test.js.map +1 -1
  47. package/dist/src/core/prompts.js +1 -1
  48. package/dist/src/core/tokenLimits.js +1 -0
  49. package/dist/src/core/tokenLimits.js.map +1 -1
  50. package/dist/src/core/turn.d.ts +2 -1
  51. package/dist/src/core/turn.js +4 -2
  52. package/dist/src/core/turn.js.map +1 -1
  53. package/dist/src/core/turn.test.js +2 -2
  54. package/dist/src/core/turn.test.js.map +1 -1
  55. package/dist/src/ide/ide-client.d.ts +8 -6
  56. package/dist/src/ide/ide-client.js +73 -36
  57. package/dist/src/ide/ide-client.js.map +1 -1
  58. package/dist/src/ide/ideContext.d.ts +212 -107
  59. package/dist/src/ide/ideContext.js +45 -44
  60. package/dist/src/ide/ideContext.js.map +1 -1
  61. package/dist/src/ide/ideContext.test.js +254 -100
  62. package/dist/src/ide/ideContext.test.js.map +1 -1
  63. package/dist/src/index.d.ts +7 -0
  64. package/dist/src/index.js +9 -0
  65. package/dist/src/index.js.map +1 -1
  66. package/dist/src/integration-tests/todo-system.test.d.ts +6 -0
  67. package/dist/src/integration-tests/todo-system.test.js +610 -0
  68. package/dist/src/integration-tests/todo-system.test.js.map +1 -0
  69. package/dist/src/mcp/oauth-provider.d.ts +5 -1
  70. package/dist/src/mcp/oauth-provider.js +36 -11
  71. package/dist/src/mcp/oauth-provider.js.map +1 -1
  72. package/dist/src/mcp/oauth-provider.test.js +2 -2
  73. package/dist/src/mcp/oauth-provider.test.js.map +1 -1
  74. package/dist/src/mcp/oauth-token-storage.d.ts +3 -1
  75. package/dist/src/mcp/oauth-token-storage.js +3 -1
  76. package/dist/src/mcp/oauth-token-storage.js.map +1 -1
  77. package/dist/src/mcp/oauth-utils.js +2 -2
  78. package/dist/src/mcp/oauth-utils.js.map +1 -1
  79. package/dist/src/mcp/oauth-utils.test.js +1 -1
  80. package/dist/src/mcp/oauth-utils.test.js.map +1 -1
  81. package/dist/src/prompts/mcp-prompts.d.ts +8 -0
  82. package/dist/src/prompts/mcp-prompts.js +13 -0
  83. package/dist/src/prompts/mcp-prompts.js.map +1 -0
  84. package/dist/src/prompts/prompt-registry.d.ts +26 -0
  85. package/dist/src/prompts/prompt-registry.js +47 -0
  86. package/dist/src/prompts/prompt-registry.js.map +1 -0
  87. package/dist/src/providers/adapters/GeminiCompatibleWrapper.js +24 -9
  88. package/dist/src/providers/adapters/GeminiCompatibleWrapper.js.map +1 -1
  89. package/dist/src/providers/adapters/GeminiCompatibleWrapper.test.js +1 -1
  90. package/dist/src/providers/adapters/GeminiCompatibleWrapper.test.js.map +1 -1
  91. package/dist/src/providers/gemini/GeminiProvider.js +8 -16
  92. package/dist/src/providers/gemini/GeminiProvider.js.map +1 -1
  93. package/dist/src/providers/openai/OpenAIProvider.js +54 -6
  94. package/dist/src/providers/openai/OpenAIProvider.js.map +1 -1
  95. package/dist/src/services/complexity-analyzer.d.ts +92 -0
  96. package/dist/src/services/complexity-analyzer.js +287 -0
  97. package/dist/src/services/complexity-analyzer.js.map +1 -0
  98. package/dist/src/services/fileDiscoveryService.test.js +101 -60
  99. package/dist/src/services/fileDiscoveryService.test.js.map +1 -1
  100. package/dist/src/services/gitService.test.d.ts +1 -1
  101. package/dist/src/services/gitService.test.js +65 -102
  102. package/dist/src/services/gitService.test.js.map +1 -1
  103. package/dist/src/services/index.d.ts +9 -0
  104. package/dist/src/services/index.js +8 -0
  105. package/dist/src/services/index.js.map +1 -0
  106. package/dist/src/services/loopDetectionService.d.ts +3 -0
  107. package/dist/src/services/loopDetectionService.js +18 -0
  108. package/dist/src/services/loopDetectionService.js.map +1 -1
  109. package/dist/src/services/loopDetectionService.test.js +90 -11
  110. package/dist/src/services/loopDetectionService.test.js.map +1 -1
  111. package/dist/src/services/shellExecutionService.d.ts +70 -0
  112. package/dist/src/services/shellExecutionService.js +152 -0
  113. package/dist/src/services/shellExecutionService.js.map +1 -0
  114. package/dist/src/services/shellExecutionService.test.d.ts +6 -0
  115. package/dist/src/services/shellExecutionService.test.js +258 -0
  116. package/dist/src/services/shellExecutionService.test.js.map +1 -0
  117. package/dist/src/services/todo-reminder-service.d.ts +42 -0
  118. package/dist/src/services/todo-reminder-service.js +77 -0
  119. package/dist/src/services/todo-reminder-service.js.map +1 -0
  120. package/dist/src/telemetry/clearcut-logger/clearcut-logger.d.ts +2 -1
  121. package/dist/src/telemetry/clearcut-logger/clearcut-logger.js +59 -31
  122. package/dist/src/telemetry/clearcut-logger/clearcut-logger.js.map +1 -1
  123. package/dist/src/telemetry/clearcut-logger/event-metadata-key.d.ts +3 -1
  124. package/dist/src/telemetry/clearcut-logger/event-metadata-key.js +7 -0
  125. package/dist/src/telemetry/clearcut-logger/event-metadata-key.js.map +1 -1
  126. package/dist/src/telemetry/constants.d.ts +1 -0
  127. package/dist/src/telemetry/constants.js +1 -0
  128. package/dist/src/telemetry/constants.js.map +1 -1
  129. package/dist/src/telemetry/index.d.ts +2 -2
  130. package/dist/src/telemetry/index.js +2 -2
  131. package/dist/src/telemetry/index.js.map +1 -1
  132. package/dist/src/telemetry/loggers.d.ts +2 -1
  133. package/dist/src/telemetry/loggers.js +18 -1
  134. package/dist/src/telemetry/loggers.js.map +1 -1
  135. package/dist/src/telemetry/loggers.test.js +5 -0
  136. package/dist/src/telemetry/loggers.test.js.map +1 -1
  137. package/dist/src/telemetry/types.d.ts +8 -1
  138. package/dist/src/telemetry/types.js +12 -0
  139. package/dist/src/telemetry/types.js.map +1 -1
  140. package/dist/src/tools/edit.js +2 -1
  141. package/dist/src/tools/edit.js.map +1 -1
  142. package/dist/src/tools/glob.test.js +7 -4
  143. package/dist/src/tools/glob.test.js.map +1 -1
  144. package/dist/src/tools/grep.test.js +4 -4
  145. package/dist/src/tools/grep.test.js.map +1 -1
  146. package/dist/src/tools/mcp-client.d.ts +26 -2
  147. package/dist/src/tools/mcp-client.js +64 -21
  148. package/dist/src/tools/mcp-client.js.map +1 -1
  149. package/dist/src/tools/mcp-client.test.js +53 -1
  150. package/dist/src/tools/mcp-client.test.js.map +1 -1
  151. package/dist/src/tools/modifiable-tool.test.js +51 -62
  152. package/dist/src/tools/modifiable-tool.test.js.map +1 -1
  153. package/dist/src/tools/shell.d.ts +8 -3
  154. package/dist/src/tools/shell.js +169 -114
  155. package/dist/src/tools/shell.js.map +1 -1
  156. package/dist/src/tools/shell.test.d.ts +1 -1
  157. package/dist/src/tools/shell.test.js +298 -145
  158. package/dist/src/tools/shell.test.js.map +1 -1
  159. package/dist/src/tools/todo-read.d.ts +4 -1
  160. package/dist/src/tools/todo-read.js +136 -20
  161. package/dist/src/tools/todo-read.js.map +1 -1
  162. package/dist/src/tools/todo-read.test.js +10 -6
  163. package/dist/src/tools/todo-read.test.js.map +1 -1
  164. package/dist/src/tools/todo-schemas.d.ts +4 -4
  165. package/dist/src/tools/todo-write.d.ts +3 -0
  166. package/dist/src/tools/todo-write.js +96 -9
  167. package/dist/src/tools/todo-write.js.map +1 -1
  168. package/dist/src/tools/todo-write.test.js +17 -13
  169. package/dist/src/tools/todo-write.test.js.map +1 -1
  170. package/dist/src/tools/tool-context.d.ts +14 -0
  171. package/dist/src/tools/tool-context.js +7 -0
  172. package/dist/src/tools/tool-context.js.map +1 -0
  173. package/dist/src/tools/tool-registry.d.ts +4 -1
  174. package/dist/src/tools/tool-registry.js +14 -5
  175. package/dist/src/tools/tool-registry.js.map +1 -1
  176. package/dist/src/tools/tool-registry.test.js +2 -2
  177. package/dist/src/tools/tool-registry.test.js.map +1 -1
  178. package/dist/src/tools/tools.d.ts +8 -1
  179. package/dist/src/tools/tools.js +2 -0
  180. package/dist/src/tools/tools.js.map +1 -1
  181. package/dist/src/tools/web-fetch.js +18 -4
  182. package/dist/src/tools/web-fetch.js.map +1 -1
  183. package/dist/src/utils/bfsFileSearch.js +51 -27
  184. package/dist/src/utils/bfsFileSearch.js.map +1 -1
  185. package/dist/src/utils/bfsFileSearch.test.js +57 -0
  186. package/dist/src/utils/bfsFileSearch.test.js.map +1 -1
  187. package/dist/src/utils/formatters.d.ts +6 -0
  188. package/dist/src/utils/formatters.js +16 -0
  189. package/dist/src/utils/formatters.js.map +1 -0
  190. package/dist/src/utils/nextSpeakerChecker.js +2 -2
  191. package/dist/src/utils/nextSpeakerChecker.js.map +1 -1
  192. package/dist/src/utils/nextSpeakerChecker.test.js +2 -2
  193. package/dist/src/utils/nextSpeakerChecker.test.js.map +1 -1
  194. package/dist/src/utils/retry.d.ts +3 -0
  195. package/dist/src/utils/retry.js.map +1 -1
  196. package/dist/src/utils/retry.test.js.map +1 -1
  197. package/dist/src/utils/shell-utils.d.ts +37 -3
  198. package/dist/src/utils/shell-utils.js +110 -47
  199. package/dist/src/utils/shell-utils.js.map +1 -1
  200. package/dist/src/utils/shell-utils.test.js +146 -396
  201. package/dist/src/utils/shell-utils.test.js.map +1 -1
  202. package/dist/src/utils/textUtils.d.ts +13 -0
  203. package/dist/src/utils/textUtils.js +28 -0
  204. package/dist/src/utils/textUtils.js.map +1 -0
  205. package/package.json +2 -2
  206. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -5,93 +5,94 @@
5
5
  */
6
6
  import { z } from 'zod';
7
7
  /**
8
- * Zod schema for validating a cursor position.
8
+ * Zod schema for validating a file context from the IDE.
9
9
  */
10
- export const CursorSchema = z.object({
11
- line: z.number(),
12
- character: z.number(),
13
- });
14
- /**
15
- * Zod schema for validating an active file context from the IDE.
16
- */
17
- export const OpenFilesSchema = z.object({
18
- activeFile: z.string(),
10
+ export const FileSchema = z.object({
11
+ path: z.string(),
12
+ timestamp: z.number(),
13
+ isActive: z.boolean().optional(),
19
14
  selectedText: z.string().optional(),
20
- cursor: CursorSchema.optional(),
21
- recentOpenFiles: z
22
- .array(z.object({
23
- filePath: z.string(),
24
- timestamp: z.number(),
25
- }))
15
+ cursor: z
16
+ .object({
17
+ line: z.number(),
18
+ character: z.number(),
19
+ })
20
+ .optional(),
21
+ });
22
+ export const IdeContextSchema = z.object({
23
+ workspaceState: z
24
+ .object({
25
+ openFiles: z.array(FileSchema).optional(),
26
+ })
26
27
  .optional(),
27
28
  });
28
29
  /**
29
- * Zod schema for validating the 'ide/openFilesChanged' notification from the IDE.
30
+ * Zod schema for validating the 'ide/contextUpdate' notification from the IDE.
30
31
  */
31
- export const OpenFilesNotificationSchema = z.object({
32
- method: z.literal('ide/openFilesChanged'),
33
- params: OpenFilesSchema,
32
+ export const IdeContextNotificationSchema = z.object({
33
+ method: z.literal('ide/contextUpdate'),
34
+ params: IdeContextSchema,
34
35
  });
35
36
  /**
36
- * Creates a new store for managing the IDE's active file context.
37
+ * Creates a new store for managing the IDE's context.
37
38
  * This factory function encapsulates the state and logic, allowing for the creation
38
39
  * of isolated instances, which is particularly useful for testing.
39
40
  *
40
- * @returns An object with methods to interact with the active file context.
41
+ * @returns An object with methods to interact with the IDE context.
41
42
  */
42
43
  export function createIdeContextStore() {
43
- let openFilesContext = undefined;
44
+ let ideContextState = undefined;
44
45
  const subscribers = new Set();
45
46
  /**
46
- * Notifies all registered subscribers about the current active file context.
47
+ * Notifies all registered subscribers about the current IDE context.
47
48
  */
48
49
  function notifySubscribers() {
49
50
  for (const subscriber of subscribers) {
50
- subscriber(openFilesContext);
51
+ subscriber(ideContextState);
51
52
  }
52
53
  }
53
54
  /**
54
- * Sets the active file context and notifies all registered subscribers of the change.
55
- * @param newOpenFiles The new active file context from the IDE.
55
+ * Sets the IDE context and notifies all registered subscribers of the change.
56
+ * @param newIdeContext The new IDE context from the IDE.
56
57
  */
57
- function setOpenFilesContext(newOpenFiles) {
58
- openFilesContext = newOpenFiles;
58
+ function setIdeContext(newIdeContext) {
59
+ ideContextState = newIdeContext;
59
60
  notifySubscribers();
60
61
  }
61
62
  /**
62
- * Clears the active file context and notifies all registered subscribers of the change.
63
+ * Clears the IDE context and notifies all registered subscribers of the change.
63
64
  */
64
- function clearOpenFilesContext() {
65
- openFilesContext = undefined;
65
+ function clearIdeContext() {
66
+ ideContextState = undefined;
66
67
  notifySubscribers();
67
68
  }
68
69
  /**
69
- * Retrieves the current active file context.
70
- * @returns The `OpenFiles` object if a file is active; otherwise, `undefined`.
70
+ * Retrieves the current IDE context.
71
+ * @returns The `IdeContext` object if a file is active; otherwise, `undefined`.
71
72
  */
72
- function getOpenFilesContext() {
73
- return openFilesContext;
73
+ function getIdeContext() {
74
+ return ideContextState;
74
75
  }
75
76
  /**
76
- * Subscribes to changes in the active file context.
77
+ * Subscribes to changes in the IDE context.
77
78
  *
78
- * When the active file context changes, the provided `subscriber` function will be called.
79
+ * When the IDE context changes, the provided `subscriber` function will be called.
79
80
  * Note: The subscriber is not called with the current value upon subscription.
80
81
  *
81
- * @param subscriber The function to be called when the active file context changes.
82
+ * @param subscriber The function to be called when the IDE context changes.
82
83
  * @returns A function that, when called, will unsubscribe the provided subscriber.
83
84
  */
84
- function subscribeToOpenFiles(subscriber) {
85
+ function subscribeToIdeContext(subscriber) {
85
86
  subscribers.add(subscriber);
86
87
  return () => {
87
88
  subscribers.delete(subscriber);
88
89
  };
89
90
  }
90
91
  return {
91
- setOpenFilesContext,
92
- getOpenFilesContext,
93
- subscribeToOpenFiles,
94
- clearOpenFilesContext,
92
+ setIdeContext,
93
+ getIdeContext,
94
+ subscribeToIdeContext,
95
+ clearIdeContext,
95
96
  };
96
97
  }
97
98
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ideContext.js","sourceRoot":"","sources":["../../../src/ide/ideContext.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAA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6
6
  import { describe, it, expect, beforeEach, vi } from 'vitest';
7
- import { createIdeContextStore } from './ideContext.js';
8
- describe('ideContext - Active File', () => {
9
- let ideContext;
10
- beforeEach(() => {
11
- // Create a fresh, isolated instance for each test
12
- ideContext = createIdeContextStore();
13
- });
14
- it('should return undefined initially for active file context', () => {
15
- expect(ideContext.getOpenFilesContext()).toBeUndefined();
16
- });
17
- it('should set and retrieve the active file context', () => {
18
- const testFile = {
19
- activeFile: '/path/to/test/file.ts',
20
- selectedText: '1234',
21
- };
22
- ideContext.setOpenFilesContext(testFile);
23
- const activeFile = ideContext.getOpenFilesContext();
24
- expect(activeFile).toEqual(testFile);
25
- });
26
- it('should update the active file context when called multiple times', () => {
27
- const firstFile = {
28
- activeFile: '/path/to/first.js',
29
- selectedText: '1234',
30
- };
31
- ideContext.setOpenFilesContext(firstFile);
32
- const secondFile = {
33
- activeFile: '/path/to/second.py',
34
- cursor: { line: 20, character: 30 },
35
- };
36
- ideContext.setOpenFilesContext(secondFile);
37
- const activeFile = ideContext.getOpenFilesContext();
38
- expect(activeFile).toEqual(secondFile);
39
- });
40
- it('should handle empty string for file path', () => {
41
- const testFile = {
42
- activeFile: '',
43
- selectedText: '1234',
44
- };
45
- ideContext.setOpenFilesContext(testFile);
46
- expect(ideContext.getOpenFilesContext()).toEqual(testFile);
47
- });
48
- it('should notify subscribers when active file context changes', () => {
49
- const subscriber1 = vi.fn();
50
- const subscriber2 = vi.fn();
51
- ideContext.subscribeToOpenFiles(subscriber1);
52
- ideContext.subscribeToOpenFiles(subscriber2);
53
- const testFile = {
54
- activeFile: '/path/to/subscribed.ts',
55
- cursor: { line: 15, character: 25 },
56
- };
57
- ideContext.setOpenFilesContext(testFile);
58
- expect(subscriber1).toHaveBeenCalledTimes(1);
59
- expect(subscriber1).toHaveBeenCalledWith(testFile);
60
- expect(subscriber2).toHaveBeenCalledTimes(1);
61
- expect(subscriber2).toHaveBeenCalledWith(testFile);
62
- // Test with another update
63
- const newFile = {
64
- activeFile: '/path/to/new.js',
65
- selectedText: '1234',
66
- };
67
- ideContext.setOpenFilesContext(newFile);
68
- expect(subscriber1).toHaveBeenCalledTimes(2);
69
- expect(subscriber1).toHaveBeenCalledWith(newFile);
70
- expect(subscriber2).toHaveBeenCalledTimes(2);
71
- expect(subscriber2).toHaveBeenCalledWith(newFile);
72
- });
73
- it('should stop notifying a subscriber after unsubscribe', () => {
74
- const subscriber1 = vi.fn();
75
- const subscriber2 = vi.fn();
76
- const unsubscribe1 = ideContext.subscribeToOpenFiles(subscriber1);
77
- ideContext.subscribeToOpenFiles(subscriber2);
78
- ideContext.setOpenFilesContext({
79
- activeFile: '/path/to/file1.txt',
80
- selectedText: '1234',
81
- });
82
- expect(subscriber1).toHaveBeenCalledTimes(1);
83
- expect(subscriber2).toHaveBeenCalledTimes(1);
84
- unsubscribe1();
85
- ideContext.setOpenFilesContext({
86
- activeFile: '/path/to/file2.txt',
87
- selectedText: '1234',
88
- });
89
- expect(subscriber1).toHaveBeenCalledTimes(1); // Should not be called again
90
- expect(subscriber2).toHaveBeenCalledTimes(2);
7
+ import { createIdeContextStore, FileSchema, IdeContextSchema, } from './ideContext.js';
8
+ describe('ideContext', () => {
9
+ describe('createIdeContextStore', () => {
10
+ let ideContext;
11
+ beforeEach(() => {
12
+ // Create a fresh, isolated instance for each test
13
+ ideContext = createIdeContextStore();
14
+ });
15
+ it('should return undefined initially for ide context', () => {
16
+ expect(ideContext.getIdeContext()).toBeUndefined();
17
+ });
18
+ it('should set and retrieve the ide context', () => {
19
+ const testFile = {
20
+ workspaceState: {
21
+ openFiles: [
22
+ {
23
+ path: '/path/to/test/file.ts',
24
+ isActive: true,
25
+ selectedText: '1234',
26
+ timestamp: 0,
27
+ },
28
+ ],
29
+ },
30
+ };
31
+ ideContext.setIdeContext(testFile);
32
+ const activeFile = ideContext.getIdeContext();
33
+ expect(activeFile).toEqual(testFile);
34
+ });
35
+ it('should update the ide context when called multiple times', () => {
36
+ const firstFile = {
37
+ workspaceState: {
38
+ openFiles: [
39
+ {
40
+ path: '/path/to/first.js',
41
+ isActive: true,
42
+ selectedText: '1234',
43
+ timestamp: 0,
44
+ },
45
+ ],
46
+ },
47
+ };
48
+ ideContext.setIdeContext(firstFile);
49
+ const secondFile = {
50
+ workspaceState: {
51
+ openFiles: [
52
+ {
53
+ path: '/path/to/second.py',
54
+ isActive: true,
55
+ cursor: { line: 20, character: 30 },
56
+ timestamp: 0,
57
+ },
58
+ ],
59
+ },
60
+ };
61
+ ideContext.setIdeContext(secondFile);
62
+ const activeFile = ideContext.getIdeContext();
63
+ expect(activeFile).toEqual(secondFile);
64
+ });
65
+ it('should handle empty string for file path', () => {
66
+ const testFile = {
67
+ workspaceState: {
68
+ openFiles: [
69
+ {
70
+ path: '',
71
+ isActive: true,
72
+ selectedText: '1234',
73
+ timestamp: 0,
74
+ },
75
+ ],
76
+ },
77
+ };
78
+ ideContext.setIdeContext(testFile);
79
+ expect(ideContext.getIdeContext()).toEqual(testFile);
80
+ });
81
+ it('should notify subscribers when ide context changes', () => {
82
+ const subscriber1 = vi.fn();
83
+ const subscriber2 = vi.fn();
84
+ ideContext.subscribeToIdeContext(subscriber1);
85
+ ideContext.subscribeToIdeContext(subscriber2);
86
+ const testFile = {
87
+ workspaceState: {
88
+ openFiles: [
89
+ {
90
+ path: '/path/to/subscribed.ts',
91
+ isActive: true,
92
+ cursor: { line: 15, character: 25 },
93
+ timestamp: 0,
94
+ },
95
+ ],
96
+ },
97
+ };
98
+ ideContext.setIdeContext(testFile);
99
+ expect(subscriber1).toHaveBeenCalledTimes(1);
100
+ expect(subscriber1).toHaveBeenCalledWith(testFile);
101
+ expect(subscriber2).toHaveBeenCalledTimes(1);
102
+ expect(subscriber2).toHaveBeenCalledWith(testFile);
103
+ // Test with another update
104
+ const newFile = {
105
+ workspaceState: {
106
+ openFiles: [
107
+ {
108
+ path: '/path/to/new.js',
109
+ isActive: true,
110
+ selectedText: '1234',
111
+ timestamp: 0,
112
+ },
113
+ ],
114
+ },
115
+ };
116
+ ideContext.setIdeContext(newFile);
117
+ expect(subscriber1).toHaveBeenCalledTimes(2);
118
+ expect(subscriber1).toHaveBeenCalledWith(newFile);
119
+ expect(subscriber2).toHaveBeenCalledTimes(2);
120
+ expect(subscriber2).toHaveBeenCalledWith(newFile);
121
+ });
122
+ it('should stop notifying a subscriber after unsubscribe', () => {
123
+ const subscriber1 = vi.fn();
124
+ const subscriber2 = vi.fn();
125
+ const unsubscribe1 = ideContext.subscribeToIdeContext(subscriber1);
126
+ ideContext.subscribeToIdeContext(subscriber2);
127
+ ideContext.setIdeContext({
128
+ workspaceState: {
129
+ openFiles: [
130
+ {
131
+ path: '/path/to/file1.txt',
132
+ isActive: true,
133
+ selectedText: '1234',
134
+ timestamp: 0,
135
+ },
136
+ ],
137
+ },
138
+ });
139
+ expect(subscriber1).toHaveBeenCalledTimes(1);
140
+ expect(subscriber2).toHaveBeenCalledTimes(1);
141
+ unsubscribe1();
142
+ ideContext.setIdeContext({
143
+ workspaceState: {
144
+ openFiles: [
145
+ {
146
+ path: '/path/to/file2.txt',
147
+ isActive: true,
148
+ selectedText: '1234',
149
+ timestamp: 0,
150
+ },
151
+ ],
152
+ },
153
+ });
154
+ expect(subscriber1).toHaveBeenCalledTimes(1); // Should not be called again
155
+ expect(subscriber2).toHaveBeenCalledTimes(2);
156
+ });
157
+ it('should clear the ide context', () => {
158
+ const testFile = {
159
+ workspaceState: {
160
+ openFiles: [
161
+ {
162
+ path: '/path/to/test/file.ts',
163
+ isActive: true,
164
+ selectedText: '1234',
165
+ timestamp: 0,
166
+ },
167
+ ],
168
+ },
169
+ };
170
+ ideContext.setIdeContext(testFile);
171
+ expect(ideContext.getIdeContext()).toEqual(testFile);
172
+ ideContext.clearIdeContext();
173
+ expect(ideContext.getIdeContext()).toBeUndefined();
174
+ });
91
175
  });
92
- it('should allow the cursor to be optional', () => {
93
- const testFile = {
94
- activeFile: '/path/to/test/file.ts',
95
- };
96
- ideContext.setOpenFilesContext(testFile);
97
- const activeFile = ideContext.getOpenFilesContext();
98
- expect(activeFile).toEqual(testFile);
176
+ describe('FileSchema', () => {
177
+ it('should validate a file with only required fields', () => {
178
+ const file = {
179
+ path: '/path/to/file.ts',
180
+ timestamp: 12345,
181
+ };
182
+ const result = FileSchema.safeParse(file);
183
+ expect(result.success).toBe(true);
184
+ });
185
+ it('should validate a file with all fields', () => {
186
+ const file = {
187
+ path: '/path/to/file.ts',
188
+ timestamp: 12345,
189
+ isActive: true,
190
+ selectedText: 'const x = 1;',
191
+ cursor: {
192
+ line: 10,
193
+ character: 20,
194
+ },
195
+ };
196
+ const result = FileSchema.safeParse(file);
197
+ expect(result.success).toBe(true);
198
+ });
199
+ it('should fail validation if path is missing', () => {
200
+ const file = {
201
+ timestamp: 12345,
202
+ };
203
+ const result = FileSchema.safeParse(file);
204
+ expect(result.success).toBe(false);
205
+ });
206
+ it('should fail validation if timestamp is missing', () => {
207
+ const file = {
208
+ path: '/path/to/file.ts',
209
+ };
210
+ const result = FileSchema.safeParse(file);
211
+ expect(result.success).toBe(false);
212
+ });
99
213
  });
100
- it('should clear the active file context', () => {
101
- const testFile = {
102
- activeFile: '/path/to/test/file.ts',
103
- selectedText: '1234',
104
- };
105
- ideContext.setOpenFilesContext(testFile);
106
- expect(ideContext.getOpenFilesContext()).toEqual(testFile);
107
- ideContext.clearOpenFilesContext();
108
- expect(ideContext.getOpenFilesContext()).toBeUndefined();
214
+ describe('IdeContextSchema', () => {
215
+ it('should validate an empty context', () => {
216
+ const context = {};
217
+ const result = IdeContextSchema.safeParse(context);
218
+ expect(result.success).toBe(true);
219
+ });
220
+ it('should validate a context with an empty workspaceState', () => {
221
+ const context = {
222
+ workspaceState: {},
223
+ };
224
+ const result = IdeContextSchema.safeParse(context);
225
+ expect(result.success).toBe(true);
226
+ });
227
+ it('should validate a context with an empty openFiles array', () => {
228
+ const context = {
229
+ workspaceState: {
230
+ openFiles: [],
231
+ },
232
+ };
233
+ const result = IdeContextSchema.safeParse(context);
234
+ expect(result.success).toBe(true);
235
+ });
236
+ it('should validate a context with a valid file', () => {
237
+ const context = {
238
+ workspaceState: {
239
+ openFiles: [
240
+ {
241
+ path: '/path/to/file.ts',
242
+ timestamp: 12345,
243
+ },
244
+ ],
245
+ },
246
+ };
247
+ const result = IdeContextSchema.safeParse(context);
248
+ expect(result.success).toBe(true);
249
+ });
250
+ it('should fail validation with an invalid file', () => {
251
+ const context = {
252
+ workspaceState: {
253
+ openFiles: [
254
+ {
255
+ timestamp: 12345, // path is missing
256
+ },
257
+ ],
258
+ },
259
+ };
260
+ const result = IdeContextSchema.safeParse(context);
261
+ expect(result.success).toBe(false);
262
+ });
109
263
  });
110
264
  });
111
265
  //# sourceMappingURL=ideContext.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ideContext.test.js","sourceRoot":"","sources":["../../../src/ide/ideContext.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;IACxC,IAAI,UAAoD,CAAC;IAEzD,UAAU,CAAC,GAAG,EAAE;QACd,kDAAkD;QAClD,UAAU,GAAG,qBAAqB,EAAE,CAAC;IACvC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2DAA2D,EAAE,GAAG,EAAE;QACnE,MAAM,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAC,CAAC,aAAa,EAAE,CAAC;IAC3D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iDAAiD,EAAE,GAAG,EAAE;QACzD,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,uBAAuB;YACnC,YAAY,EAAE,MAAM;SACrB,CAAC;QAEF,UAAU,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC;QAEzC,MAA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EH,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;YACrD,MAAM,OAAO,GAAG;gBACd,cAAc,EAAE;oBACd,SAAS,EAAE;wBACT;4BACE,IAAI,EAAE,kBAAkB;4BACxB,SAAS,EAAE,KAAK;yBACjB;qBACF;iBACF;aACF,CAAC;YACF,MAAM,MAAM,GAAG,gBAAgB,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;YACnD,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;YACrD,MAAM,OAAO,GAAG;gBACd,cAAc,EAAE;oBACd,SAAS,EAAE;wBACT;4BACE,SAAS,EAAE,KAAK,EAAE,kBAAkB;yBACrC;qBACF;iBACF;aACF,CAAC;YACF,MAAM,MAAM,GAAG,gBAAgB,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;YACnD,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACrC,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -24,17 +24,24 @@ export * from './utils/errors.js';
24
24
  export * from './utils/getFolderStructure.js';
25
25
  export * from './utils/memoryDiscovery.js';
26
26
  export * from './utils/gitIgnoreParser.js';
27
+ export * from './utils/gitUtils.js';
27
28
  export * from './utils/editor.js';
28
29
  export * from './utils/quotaErrorDetection.js';
29
30
  export * from './utils/fileUtils.js';
30
31
  export * from './utils/retry.js';
32
+ export * from './utils/shell-utils.js';
31
33
  export * from './utils/systemEncoding.js';
34
+ export * from './utils/textUtils.js';
35
+ export * from './utils/formatters.js';
32
36
  export * from './services/fileDiscoveryService.js';
33
37
  export * from './services/gitService.js';
34
38
  export * from './ide/ide-client.js';
35
39
  export * from './ide/ideContext.js';
40
+ export * from './services/shellExecutionService.js';
36
41
  export * from './tools/tools.js';
37
42
  export * from './tools/tool-registry.js';
43
+ export * from './tools/tool-context.js';
44
+ export * from './prompts/mcp-prompts.js';
38
45
  export * from './tools/read-file.js';
39
46
  export * from './tools/ls.js';
40
47
  export * from './tools/grep.js';
package/dist/src/index.js CHANGED
@@ -27,20 +27,29 @@ export * from './utils/errors.js';
27
27
  export * from './utils/getFolderStructure.js';
28
28
  export * from './utils/memoryDiscovery.js';
29
29
  export * from './utils/gitIgnoreParser.js';
30
+ export * from './utils/gitUtils.js';
30
31
  export * from './utils/editor.js';
31
32
  export * from './utils/quotaErrorDetection.js';
32
33
  export * from './utils/fileUtils.js';
33
34
  export * from './utils/retry.js';
35
+ export * from './utils/shell-utils.js';
34
36
  export * from './utils/systemEncoding.js';
37
+ export * from './utils/textUtils.js';
38
+ export * from './utils/formatters.js';
35
39
  // Export services
36
40
  export * from './services/fileDiscoveryService.js';
37
41
  export * from './services/gitService.js';
38
42
  // Export IDE specific logic
39
43
  export * from './ide/ide-client.js';
40
44
  export * from './ide/ideContext.js';
45
+ // Export Shell Execution Service
46
+ export * from './services/shellExecutionService.js';
41
47
  // Export base tool definitions
42
48
  export * from './tools/tools.js';
43
49
  export * from './tools/tool-registry.js';
50
+ export * from './tools/tool-context.js';
51
+ // Export prompt logic
52
+ export * from './prompts/mcp-prompts.js';
44
53
  // Export specific tool logic
45
54
  export * from './tools/read-file.js';
46
55
  export * from './tools/ls.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,gBAAgB;AAChB,cAAc,oBAAoB,CAAC;AAEnC,oBAAoB;AACpB,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAy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