@agentmemory/agentmemory 0.7.2 → 0.7.3

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 (217) hide show
  1. package/AGENTS.md +2 -2
  2. package/README.md +41 -68
  3. package/dist/cli.mjs +3 -3
  4. package/dist/index.mjs +3 -2
  5. package/dist/index.mjs.map +1 -1
  6. package/dist/{src-1fTKFEtN.mjs → src-sYZDDbiA.mjs} +4 -3
  7. package/dist/src-sYZDDbiA.mjs.map +1 -0
  8. package/dist/standalone.mjs +1 -1
  9. package/dist/standalone.mjs.map +1 -1
  10. package/package.json +10 -1
  11. package/plugin/.claude-plugin/plugin.json +1 -1
  12. package/plugin/scripts/notification.d.mts +1 -0
  13. package/plugin/scripts/notification.mjs.map +1 -0
  14. package/plugin/scripts/post-tool-failure.d.mts +1 -0
  15. package/plugin/scripts/post-tool-failure.mjs.map +1 -0
  16. package/plugin/scripts/post-tool-use.d.mts +1 -0
  17. package/plugin/scripts/post-tool-use.mjs.map +1 -0
  18. package/plugin/scripts/pre-compact.d.mts +1 -0
  19. package/plugin/scripts/pre-compact.mjs.map +1 -0
  20. package/plugin/scripts/pre-tool-use.d.mts +1 -0
  21. package/plugin/scripts/pre-tool-use.mjs.map +1 -0
  22. package/plugin/scripts/prompt-submit.d.mts +1 -0
  23. package/plugin/scripts/prompt-submit.mjs.map +1 -0
  24. package/plugin/scripts/session-end.d.mts +1 -0
  25. package/plugin/scripts/session-end.mjs.map +1 -0
  26. package/plugin/scripts/session-start.d.mts +1 -0
  27. package/plugin/scripts/session-start.mjs.map +1 -0
  28. package/plugin/scripts/stop.d.mts +1 -0
  29. package/plugin/scripts/stop.mjs.map +1 -0
  30. package/plugin/scripts/subagent-start.d.mts +1 -0
  31. package/plugin/scripts/subagent-start.mjs.map +1 -0
  32. package/plugin/scripts/subagent-stop.d.mts +1 -0
  33. package/plugin/scripts/subagent-stop.mjs.map +1 -0
  34. package/plugin/scripts/task-completed.d.mts +1 -0
  35. package/plugin/scripts/task-completed.mjs.map +1 -0
  36. package/.claude-plugin/marketplace.json +0 -14
  37. package/.github/workflows/ci.yml +0 -22
  38. package/.github/workflows/publish.yml +0 -28
  39. package/assets/banner.png +0 -0
  40. package/assets/demo.gif +0 -0
  41. package/assets/demo.mp4 +0 -0
  42. package/benchmark/QUALITY.md +0 -73
  43. package/benchmark/REAL-EMBEDDINGS.md +0 -67
  44. package/benchmark/SCALE.md +0 -110
  45. package/benchmark/dataset.ts +0 -293
  46. package/benchmark/quality-eval.ts +0 -643
  47. package/benchmark/real-embeddings-eval.ts +0 -405
  48. package/benchmark/scale-eval.ts +0 -398
  49. package/dist/src-1fTKFEtN.mjs.map +0 -1
  50. package/src/auth.ts +0 -12
  51. package/src/cli.ts +0 -251
  52. package/src/config.ts +0 -221
  53. package/src/eval/metrics-store.ts +0 -65
  54. package/src/eval/quality.ts +0 -51
  55. package/src/eval/schemas.ts +0 -124
  56. package/src/eval/self-correct.ts +0 -28
  57. package/src/eval/validator.ts +0 -31
  58. package/src/functions/actions.ts +0 -288
  59. package/src/functions/audit.ts +0 -61
  60. package/src/functions/auto-forget.ts +0 -169
  61. package/src/functions/branch-aware.ts +0 -169
  62. package/src/functions/cascade.ts +0 -80
  63. package/src/functions/checkpoints.ts +0 -209
  64. package/src/functions/claude-bridge.ts +0 -161
  65. package/src/functions/compress.ts +0 -194
  66. package/src/functions/consolidate.ts +0 -212
  67. package/src/functions/consolidation-pipeline.ts +0 -258
  68. package/src/functions/context.ts +0 -169
  69. package/src/functions/crystallize.ts +0 -293
  70. package/src/functions/dedup.ts +0 -57
  71. package/src/functions/diagnostics.ts +0 -785
  72. package/src/functions/enrich.ts +0 -132
  73. package/src/functions/evict.ts +0 -163
  74. package/src/functions/export-import.ts +0 -508
  75. package/src/functions/facets.ts +0 -248
  76. package/src/functions/file-index.ts +0 -106
  77. package/src/functions/flow-compress.ts +0 -214
  78. package/src/functions/frontier.ts +0 -196
  79. package/src/functions/governance.ts +0 -131
  80. package/src/functions/graph-retrieval.ts +0 -277
  81. package/src/functions/graph.ts +0 -275
  82. package/src/functions/leases.ts +0 -216
  83. package/src/functions/lessons.ts +0 -253
  84. package/src/functions/mesh.ts +0 -434
  85. package/src/functions/migrate.ts +0 -165
  86. package/src/functions/observe.ts +0 -144
  87. package/src/functions/obsidian-export.ts +0 -310
  88. package/src/functions/patterns.ts +0 -138
  89. package/src/functions/privacy.ts +0 -39
  90. package/src/functions/profile.ts +0 -155
  91. package/src/functions/query-expansion.ts +0 -186
  92. package/src/functions/relations.ts +0 -237
  93. package/src/functions/remember.ts +0 -162
  94. package/src/functions/retention.ts +0 -235
  95. package/src/functions/routines.ts +0 -289
  96. package/src/functions/search.ts +0 -80
  97. package/src/functions/sentinels.ts +0 -417
  98. package/src/functions/signals.ts +0 -186
  99. package/src/functions/sketches.ts +0 -274
  100. package/src/functions/sliding-window.ts +0 -257
  101. package/src/functions/smart-search.ts +0 -115
  102. package/src/functions/snapshot.ts +0 -219
  103. package/src/functions/summarize.ts +0 -155
  104. package/src/functions/team.ts +0 -147
  105. package/src/functions/temporal-graph.ts +0 -476
  106. package/src/functions/timeline.ts +0 -138
  107. package/src/functions/verify.ts +0 -117
  108. package/src/health/monitor.ts +0 -110
  109. package/src/health/thresholds.ts +0 -73
  110. package/src/hooks/notification.ts +0 -52
  111. package/src/hooks/post-tool-failure.ts +0 -58
  112. package/src/hooks/post-tool-use.ts +0 -62
  113. package/src/hooks/pre-compact.ts +0 -60
  114. package/src/hooks/pre-tool-use.ts +0 -72
  115. package/src/hooks/prompt-submit.ts +0 -46
  116. package/src/hooks/session-end.ts +0 -71
  117. package/src/hooks/session-start.ts +0 -48
  118. package/src/hooks/stop.ts +0 -39
  119. package/src/hooks/subagent-start.ts +0 -49
  120. package/src/hooks/subagent-stop.ts +0 -54
  121. package/src/hooks/task-completed.ts +0 -54
  122. package/src/index.ts +0 -342
  123. package/src/mcp/in-memory-kv.ts +0 -61
  124. package/src/mcp/server.ts +0 -1455
  125. package/src/mcp/standalone.ts +0 -177
  126. package/src/mcp/tools-registry.ts +0 -769
  127. package/src/mcp/transport.ts +0 -91
  128. package/src/prompts/compression.ts +0 -67
  129. package/src/prompts/consolidation.ts +0 -48
  130. package/src/prompts/graph-extraction.ts +0 -35
  131. package/src/prompts/summary.ts +0 -38
  132. package/src/prompts/xml.ts +0 -26
  133. package/src/providers/agent-sdk.ts +0 -34
  134. package/src/providers/anthropic.ts +0 -35
  135. package/src/providers/circuit-breaker.ts +0 -82
  136. package/src/providers/embedding/cohere.ts +0 -46
  137. package/src/providers/embedding/gemini.ts +0 -54
  138. package/src/providers/embedding/index.ts +0 -39
  139. package/src/providers/embedding/local.ts +0 -52
  140. package/src/providers/embedding/openai.ts +0 -45
  141. package/src/providers/embedding/openrouter.ts +0 -51
  142. package/src/providers/embedding/voyage.ts +0 -46
  143. package/src/providers/fallback-chain.ts +0 -31
  144. package/src/providers/index.ts +0 -84
  145. package/src/providers/openrouter.ts +0 -71
  146. package/src/providers/resilient.ts +0 -37
  147. package/src/state/hybrid-search.ts +0 -295
  148. package/src/state/index-persistence.ts +0 -63
  149. package/src/state/keyed-mutex.ts +0 -18
  150. package/src/state/kv.ts +0 -33
  151. package/src/state/schema.ts +0 -71
  152. package/src/state/search-index.ts +0 -245
  153. package/src/state/stemmer.ts +0 -104
  154. package/src/state/synonyms.ts +0 -63
  155. package/src/state/vector-index.ts +0 -130
  156. package/src/telemetry/setup.ts +0 -116
  157. package/src/triggers/api.ts +0 -1904
  158. package/src/triggers/events.ts +0 -71
  159. package/src/types.ts +0 -769
  160. package/src/version.ts +0 -1
  161. package/src/viewer/index.html +0 -2556
  162. package/src/viewer/server.ts +0 -207
  163. package/src/xenova.d.ts +0 -3
  164. package/test/actions.test.ts +0 -490
  165. package/test/audit.test.ts +0 -108
  166. package/test/auto-forget.test.ts +0 -188
  167. package/test/cascade.test.ts +0 -277
  168. package/test/checkpoints.test.ts +0 -493
  169. package/test/circuit-breaker.test.ts +0 -107
  170. package/test/claude-bridge.test.ts +0 -178
  171. package/test/confidence.test.ts +0 -247
  172. package/test/consistency.test.ts +0 -61
  173. package/test/consolidation-pipeline.test.ts +0 -251
  174. package/test/crystallize.test.ts +0 -521
  175. package/test/diagnostics.test.ts +0 -638
  176. package/test/embedding-provider.test.ts +0 -49
  177. package/test/enrich.test.ts +0 -209
  178. package/test/eval.test.ts +0 -300
  179. package/test/export-import.test.ts +0 -251
  180. package/test/facets.test.ts +0 -448
  181. package/test/fallback-chain.test.ts +0 -93
  182. package/test/frontier.test.ts +0 -485
  183. package/test/governance.test.ts +0 -147
  184. package/test/graph-retrieval.test.ts +0 -186
  185. package/test/graph.test.ts +0 -160
  186. package/test/helpers/mocks.ts +0 -40
  187. package/test/hybrid-search.test.ts +0 -145
  188. package/test/index-persistence.test.ts +0 -124
  189. package/test/integration.test.ts +0 -265
  190. package/test/leases.test.ts +0 -399
  191. package/test/mcp-prompts.test.ts +0 -218
  192. package/test/mcp-resources.test.ts +0 -286
  193. package/test/mcp-standalone.test.ts +0 -113
  194. package/test/mesh.test.ts +0 -700
  195. package/test/privacy.test.ts +0 -87
  196. package/test/profile.test.ts +0 -161
  197. package/test/query-expansion.test.ts +0 -154
  198. package/test/relations.test.ts +0 -198
  199. package/test/retention.test.ts +0 -245
  200. package/test/routines.test.ts +0 -497
  201. package/test/schema-fingerprint.test.ts +0 -81
  202. package/test/schema.test.ts +0 -42
  203. package/test/search-index.test.ts +0 -128
  204. package/test/sentinels.test.ts +0 -626
  205. package/test/signals.test.ts +0 -410
  206. package/test/sketches.test.ts +0 -549
  207. package/test/sliding-window.test.ts +0 -199
  208. package/test/smart-search.test.ts +0 -169
  209. package/test/snapshot.test.ts +0 -165
  210. package/test/team.test.ts +0 -156
  211. package/test/temporal-graph.test.ts +0 -378
  212. package/test/timeline.test.ts +0 -148
  213. package/test/vector-index.test.ts +0 -79
  214. package/test/verify.test.ts +0 -209
  215. package/test/xml.test.ts +0 -65
  216. package/tsconfig.json +0 -22
  217. package/tsdown.config.ts +0 -62
@@ -1,209 +0,0 @@
1
- import { describe, it, expect, beforeEach, vi } from "vitest";
2
-
3
- vi.mock("iii-sdk", () => ({
4
- getContext: () => ({
5
- logger: { info: vi.fn(), error: vi.fn(), warn: vi.fn() },
6
- }),
7
- }));
8
-
9
- import { registerVerifyFunction } from "../src/functions/verify.js";
10
- import type { Memory, CompressedObservation, Session } from "../src/types.js";
11
- import { mockKV, mockSdk } from "./helpers/mocks.js";
12
-
13
- describe("Verify Function", () => {
14
- let sdk: ReturnType<typeof mockSdk>;
15
- let kv: ReturnType<typeof mockKV>;
16
-
17
- beforeEach(() => {
18
- sdk = mockSdk();
19
- kv = mockKV();
20
- vi.clearAllMocks();
21
- registerVerifyFunction(sdk as never, kv as never);
22
- });
23
-
24
- it("returns error when id is missing", async () => {
25
- const result = (await sdk.trigger("mem::verify", {})) as {
26
- success: boolean;
27
- error: string;
28
- };
29
- expect(result.success).toBe(false);
30
- expect(result.error).toBe("id is required");
31
- });
32
-
33
- it("returns not found for unknown id", async () => {
34
- const result = (await sdk.trigger("mem::verify", {
35
- id: "unknown_123",
36
- })) as { success: boolean; error: string };
37
- expect(result.success).toBe(false);
38
- expect(result.error).toBe("not found");
39
- });
40
-
41
- it("verifies a memory with citation chain", async () => {
42
- const session: Session = {
43
- id: "ses_1",
44
- project: "/test/project",
45
- cwd: "/test",
46
- startedAt: "2026-03-01T00:00:00Z",
47
- status: "completed",
48
- observationCount: 2,
49
- };
50
- await kv.set("mem:sessions", "ses_1", session);
51
-
52
- const obs: CompressedObservation = {
53
- id: "obs_1",
54
- sessionId: "ses_1",
55
- timestamp: "2026-03-01T00:01:00Z",
56
- type: "decision",
57
- title: "Chose React over Vue",
58
- facts: ["React chosen for ecosystem"],
59
- narrative: "Team decided on React",
60
- concepts: ["react", "frontend"],
61
- files: ["src/App.tsx"],
62
- importance: 8,
63
- confidence: 0.85,
64
- };
65
- await kv.set("mem:obs:ses_1", "obs_1", obs);
66
-
67
- const memory: Memory = {
68
- id: "mem_1",
69
- createdAt: "2026-03-01T00:02:00Z",
70
- updatedAt: "2026-03-01T00:02:00Z",
71
- type: "architecture",
72
- title: "Using React for frontend",
73
- content: "The team uses React for the frontend framework",
74
- concepts: ["react", "frontend"],
75
- files: ["src/App.tsx"],
76
- sessionIds: ["ses_1"],
77
- strength: 8,
78
- version: 1,
79
- isLatest: true,
80
- sourceObservationIds: ["obs_1"],
81
- };
82
- await kv.set("mem:memories", "mem_1", memory);
83
-
84
- const result = (await sdk.trigger("mem::verify", { id: "mem_1" })) as {
85
- success: boolean;
86
- type: string;
87
- citations: Array<{
88
- observationId: string;
89
- confidence: number;
90
- sessionProject: string;
91
- }>;
92
- citationCount: number;
93
- };
94
-
95
- expect(result.success).toBe(true);
96
- expect(result.type).toBe("memory");
97
- expect(result.citationCount).toBe(1);
98
- expect(result.citations[0].observationId).toBe("obs_1");
99
- expect(result.citations[0].confidence).toBe(0.85);
100
- expect(result.citations[0].sessionProject).toBe("/test/project");
101
- });
102
-
103
- it("verifies a memory with no source observations", async () => {
104
- const memory: Memory = {
105
- id: "mem_2",
106
- createdAt: "2026-03-01T00:00:00Z",
107
- updatedAt: "2026-03-01T00:00:00Z",
108
- type: "fact",
109
- title: "API uses REST",
110
- content: "The API follows REST conventions",
111
- concepts: ["api", "rest"],
112
- files: [],
113
- sessionIds: [],
114
- strength: 5,
115
- version: 1,
116
- isLatest: true,
117
- };
118
- await kv.set("mem:memories", "mem_2", memory);
119
-
120
- const result = (await sdk.trigger("mem::verify", { id: "mem_2" })) as {
121
- success: boolean;
122
- type: string;
123
- citationCount: number;
124
- citations: unknown[];
125
- };
126
-
127
- expect(result.success).toBe(true);
128
- expect(result.type).toBe("memory");
129
- expect(result.citationCount).toBe(0);
130
- expect(result.citations).toEqual([]);
131
- });
132
-
133
- it("verifies an observation directly", async () => {
134
- const session: Session = {
135
- id: "ses_2",
136
- project: "/my/project",
137
- cwd: "/my",
138
- startedAt: "2026-03-01T00:00:00Z",
139
- status: "active",
140
- observationCount: 1,
141
- };
142
- await kv.set("mem:sessions", "ses_2", session);
143
-
144
- const obs: CompressedObservation = {
145
- id: "obs_direct",
146
- sessionId: "ses_2",
147
- timestamp: "2026-03-01T00:01:00Z",
148
- type: "file_write",
149
- title: "Created index.ts",
150
- facts: ["Created file"],
151
- narrative: "Agent created the index file",
152
- concepts: ["typescript"],
153
- files: ["index.ts"],
154
- importance: 6,
155
- confidence: 0.72,
156
- };
157
- await kv.set("mem:obs:ses_2", "obs_direct", obs);
158
-
159
- const result = (await sdk.trigger("mem::verify", {
160
- id: "obs_direct",
161
- })) as {
162
- success: boolean;
163
- type: string;
164
- observation: { id: string; confidence: number };
165
- session: { project: string };
166
- };
167
-
168
- expect(result.success).toBe(true);
169
- expect(result.type).toBe("observation");
170
- expect(result.observation.id).toBe("obs_direct");
171
- expect(result.observation.confidence).toBe(0.72);
172
- expect(result.session.project).toBe("/my/project");
173
- });
174
-
175
- it("returns memory info with supersede chain", async () => {
176
- const memory: Memory = {
177
- id: "mem_v2",
178
- createdAt: "2026-03-02T00:00:00Z",
179
- updatedAt: "2026-03-02T00:00:00Z",
180
- type: "pattern",
181
- title: "Updated pattern",
182
- content: "Updated pattern content",
183
- concepts: ["testing"],
184
- files: [],
185
- sessionIds: [],
186
- strength: 9,
187
- version: 2,
188
- parentId: "mem_v1",
189
- supersedes: ["mem_v1"],
190
- isLatest: true,
191
- };
192
- await kv.set("mem:memories", "mem_v2", memory);
193
-
194
- const result = (await sdk.trigger("mem::verify", { id: "mem_v2" })) as {
195
- success: boolean;
196
- memory: {
197
- id: string;
198
- version: number;
199
- parentId: string;
200
- supersedes: string[];
201
- };
202
- };
203
-
204
- expect(result.success).toBe(true);
205
- expect(result.memory.version).toBe(2);
206
- expect(result.memory.parentId).toBe("mem_v1");
207
- expect(result.memory.supersedes).toEqual(["mem_v1"]);
208
- });
209
- });
package/test/xml.test.ts DELETED
@@ -1,65 +0,0 @@
1
- import { describe, it, expect } from 'vitest'
2
- import { getXmlTag, getXmlChildren } from '../src/prompts/xml.js'
3
-
4
- describe('getXmlTag', () => {
5
- it('extracts simple tag content', () => {
6
- expect(getXmlTag('<title>Hello World</title>', 'title')).toBe('Hello World')
7
- })
8
-
9
- it('extracts multiline content', () => {
10
- expect(getXmlTag('<narrative>\nLine 1\nLine 2\n</narrative>', 'narrative')).toBe('Line 1\nLine 2')
11
- })
12
-
13
- it('returns empty string for missing tag', () => {
14
- expect(getXmlTag('<title>Hello</title>', 'missing')).toBe('')
15
- })
16
-
17
- it('returns first match for duplicate tags', () => {
18
- expect(getXmlTag('<title>First</title><title>Second</title>', 'title')).toBe('First')
19
- })
20
-
21
- it('returns empty string for empty tag', () => {
22
- expect(getXmlTag('<title></title>', 'title')).toBe('')
23
- })
24
-
25
- it('trims whitespace', () => {
26
- expect(getXmlTag('<title> trimmed </title>', 'title')).toBe('trimmed')
27
- })
28
-
29
- it('returns empty for invalid tag names', () => {
30
- expect(getXmlTag('<foo>bar</foo>', '.*')).toBe('')
31
- })
32
-
33
- it('returns empty for tag with special regex chars', () => {
34
- expect(getXmlTag('<foo>bar</foo>', 'a(b')).toBe('')
35
- })
36
- })
37
-
38
- describe('getXmlChildren', () => {
39
- it('extracts child elements', () => {
40
- const xml = '<facts><fact>One</fact><fact>Two</fact></facts>'
41
- expect(getXmlChildren(xml, 'facts', 'fact')).toEqual(['One', 'Two'])
42
- })
43
-
44
- it('returns empty array for missing parent', () => {
45
- expect(getXmlChildren('<foo>bar</foo>', 'facts', 'fact')).toEqual([])
46
- })
47
-
48
- it('returns empty array for missing children', () => {
49
- expect(getXmlChildren('<facts></facts>', 'facts', 'fact')).toEqual([])
50
- })
51
-
52
- it('trims child content', () => {
53
- const xml = '<facts><fact> trimmed </fact></facts>'
54
- expect(getXmlChildren(xml, 'facts', 'fact')).toEqual(['trimmed'])
55
- })
56
-
57
- it('handles multiline children', () => {
58
- const xml = '<decisions><decision>Use JWT\nfor auth</decision></decisions>'
59
- expect(getXmlChildren(xml, 'decisions', 'decision')).toEqual(['Use JWT\nfor auth'])
60
- })
61
-
62
- it('returns empty for invalid parent tag name', () => {
63
- expect(getXmlChildren('<facts><fact>A</fact></facts>', '.*', 'fact')).toEqual([])
64
- })
65
- })
package/tsconfig.json DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2022",
4
- "module": "ESNext",
5
- "moduleResolution": "bundler",
6
- "declaration": true,
7
- "declarationMap": true,
8
- "sourceMap": true,
9
- "outDir": "dist",
10
- "rootDir": "src",
11
- "strict": true,
12
- "esModuleInterop": true,
13
- "skipLibCheck": true,
14
- "forceConsistentCasingInFileNames": true,
15
- "resolveJsonModule": true,
16
- "isolatedModules": true,
17
- "noUnusedLocals": true,
18
- "noUnusedParameters": true
19
- },
20
- "include": ["src/**/*"],
21
- "exclude": ["node_modules", "dist", "test", "src/hooks"]
22
- }
package/tsdown.config.ts DELETED
@@ -1,62 +0,0 @@
1
- import { defineConfig } from "tsdown";
2
-
3
- const hookEntries = [
4
- "src/hooks/session-start.ts",
5
- "src/hooks/prompt-submit.ts",
6
- "src/hooks/pre-tool-use.ts",
7
- "src/hooks/post-tool-use.ts",
8
- "src/hooks/post-tool-failure.ts",
9
- "src/hooks/pre-compact.ts",
10
- "src/hooks/subagent-start.ts",
11
- "src/hooks/subagent-stop.ts",
12
- "src/hooks/notification.ts",
13
- "src/hooks/task-completed.ts",
14
- "src/hooks/stop.ts",
15
- "src/hooks/session-end.ts",
16
- ];
17
-
18
- const shared = {
19
- format: ["esm"] as const,
20
- target: "node20" as const,
21
- inlineOnly: false as const,
22
- };
23
-
24
- export default defineConfig([
25
- {
26
- entry: ["src/index.ts"],
27
- outDir: "dist",
28
- ...shared,
29
- dts: true,
30
- clean: true,
31
- sourcemap: true,
32
- banner: { js: "#!/usr/bin/env node" },
33
- },
34
- {
35
- entry: ["src/cli.ts"],
36
- outDir: "dist",
37
- ...shared,
38
- clean: false,
39
- sourcemap: false,
40
- },
41
- {
42
- entry: ["src/mcp/standalone.ts"],
43
- outDir: "dist",
44
- ...shared,
45
- clean: false,
46
- sourcemap: false,
47
- },
48
- {
49
- entry: hookEntries,
50
- outDir: "dist/hooks",
51
- ...shared,
52
- clean: false,
53
- sourcemap: false,
54
- },
55
- {
56
- entry: hookEntries,
57
- outDir: "plugin/scripts",
58
- ...shared,
59
- clean: false,
60
- sourcemap: false,
61
- },
62
- ]);