newmark-agent 0.3.12 → 0.4.2

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 (60) hide show
  1. package/dist/cli-commands.d.ts +1 -0
  2. package/dist/cli-commands.js +11 -2
  3. package/dist/context/domain/types.d.ts +37 -0
  4. package/dist/context/services/context-orchestrator.js +2 -0
  5. package/dist/conversation-utility-host.bundle.cjs +1259 -132
  6. package/dist/conversation-utility-host.js +3 -0
  7. package/dist/core/agent.d.ts +139 -5
  8. package/dist/core/agent.js +964 -82
  9. package/dist/core/agentKernel/agent-loop.js +29 -3
  10. package/dist/core/agentKernel/types.d.ts +7 -0
  11. package/dist/core/agentKernelRunner.d.ts +2 -0
  12. package/dist/core/agentKernelRunner.js +121 -19
  13. package/dist/core/conversationKernel.d.ts +5 -0
  14. package/dist/core/conversationKernel.js +29 -0
  15. package/dist/core/dshCompatibility.d.ts +198 -0
  16. package/dist/core/dshCompatibility.js +600 -0
  17. package/dist/core/electronUtilityAgentClient.d.ts +4 -0
  18. package/dist/core/electronUtilityAgentClient.js +4 -0
  19. package/dist/core/electronUtilityRuntimePool.d.ts +8 -0
  20. package/dist/core/electronUtilityRuntimePool.js +14 -0
  21. package/dist/core/mcpManager.d.ts +1 -0
  22. package/dist/core/mcpManager.js +100 -10
  23. package/dist/core/subagent.d.ts +6 -0
  24. package/dist/core/subagent.js +22 -1
  25. package/dist/core/toolPolicy.d.ts +15 -0
  26. package/dist/core/toolPolicy.js +174 -1
  27. package/dist/core/types.d.ts +1 -1
  28. package/dist/core/utilityAgentProtocol.d.ts +8 -1
  29. package/dist/core/workspace.d.ts +9 -0
  30. package/dist/core/workspace.js +48 -1
  31. package/dist/core/wslAgentClient.d.ts +4 -0
  32. package/dist/core/wslAgentClient.js +4 -0
  33. package/dist/core/wslAgentProtocol.d.ts +8 -1
  34. package/dist/core/wslAgentRuntimePool.d.ts +8 -0
  35. package/dist/core/wslAgentRuntimePool.js +15 -0
  36. package/dist/launcher.js +8 -0
  37. package/dist/llm/provider.d.ts +1 -1
  38. package/dist/llm/provider.js +4 -3
  39. package/dist/main.js +163 -11
  40. package/dist/preload.js +11 -0
  41. package/dist/providers/chat-completions.adapter.js +41 -15
  42. package/dist/providers/provider-adapter.d.ts +3 -0
  43. package/dist/toolchain/registry/tool-registry.d.ts +13 -1
  44. package/dist/toolchain/registry/tool-registry.js +8 -0
  45. package/dist/toolchain/registry-seeder.js +52 -6
  46. package/dist/tools/index.d.ts +1 -0
  47. package/dist/tools/index.js +39 -2
  48. package/dist/tools/nativeTools.js +6 -1
  49. package/dist/tui/src/app.js +24 -0
  50. package/dist/tui/src/i18n.js +151 -0
  51. package/dist/tui/src/render.js +152 -61
  52. package/dist/tui/src/state.js +83 -0
  53. package/dist/ui/index.html +2669 -234
  54. package/dist/ui/lucide-sprite.svg +31 -0
  55. package/dist/wsl-agent-host.bundle.cjs +1259 -132
  56. package/dist/wsl-agent-host.js +3 -0
  57. package/package.json +6 -10
  58. package/Flow/Electron-Debug-Release.Flow.json +0 -43
  59. package/Flow/Flow.md +0 -9
  60. package/Flow/UI-Feature-Integration.Flow.json +0 -96
@@ -112,6 +112,11 @@
112
112
  <symbol id="folder" viewBox="0 0 24 24">
113
113
  <path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" />
114
114
  </symbol>
115
+ <symbol id="git-branch" viewBox="0 0 24 24">
116
+ <path d="M15 6a9 9 0 0 0-9 9V3" />
117
+ <circle cx="18" cy="6" r="3" />
118
+ <circle cx="6" cy="18" r="3" />
119
+ </symbol>
115
120
  <symbol id="globe" viewBox="0 0 24 24">
116
121
  <circle cx="12" cy="12" r="10" />
117
122
  <path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" />
@@ -130,6 +135,14 @@
130
135
  <circle cx="15" cy="5" r="1" />
131
136
  <circle cx="15" cy="19" r="1" />
132
137
  </symbol>
138
+ <symbol id="group" viewBox="0 0 24 24">
139
+ <path d="M3 7V5c0-1.1.9-2 2-2h2" />
140
+ <path d="M17 3h2c1.1 0 2 .9 2 2v2" />
141
+ <path d="M21 17v2c0 1.1-.9 2-2 2h-2" />
142
+ <path d="M7 21H5c-1.1 0-2-.9-2-2v-2" />
143
+ <rect width="7" height="5" x="7" y="7" rx="1" />
144
+ <rect width="7" height="5" x="10" y="12" rx="1" />
145
+ </symbol>
133
146
  <symbol id="image" viewBox="0 0 24 24">
134
147
  <rect width="18" height="18" x="3" y="3" rx="2" ry="2" />
135
148
  <circle cx="9" cy="9" r="2" />
@@ -157,6 +170,14 @@
157
170
  <path d="m3 17 2 2 4-4" />
158
171
  <path d="m3 7 2 2 4-4" />
159
172
  </symbol>
173
+ <symbol id="list" viewBox="0 0 24 24">
174
+ <path d="M3 5h.01" />
175
+ <path d="M3 12h.01" />
176
+ <path d="M3 19h.01" />
177
+ <path d="M8 5h13" />
178
+ <path d="M8 12h13" />
179
+ <path d="M8 19h13" />
180
+ </symbol>
160
181
  <symbol id="loader-circle" viewBox="0 0 24 24">
161
182
  <path d="M21 12a9 9 0 1 1-6.219-8.56" />
162
183
  </symbol>
@@ -197,6 +218,9 @@
197
218
  <path d="m5 9-3 3 3 3" />
198
219
  <path d="m9 5 3-3 3 3" />
199
220
  </symbol>
221
+ <symbol id="navigation" viewBox="0 0 24 24">
222
+ <polygon points="3 11 22 2 13 21 11 13 3 11" />
223
+ </symbol>
200
224
  <symbol id="octagon-x" viewBox="0 0 24 24">
201
225
  <path d="m15 9-6 6" />
202
226
  <path d="M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z" />
@@ -209,6 +233,13 @@
209
233
  <path d="M3 3h6l6 18h6" />
210
234
  <path d="M14 3h7" />
211
235
  </symbol>
236
+ <symbol id="palette" viewBox="0 0 24 24">
237
+ <path d="M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z" />
238
+ <circle cx="13.5" cy="6.5" r=".5" fill="currentColor" />
239
+ <circle cx="17.5" cy="10.5" r=".5" fill="currentColor" />
240
+ <circle cx="6.5" cy="12.5" r=".5" fill="currentColor" />
241
+ <circle cx="8.5" cy="7.5" r=".5" fill="currentColor" />
242
+ </symbol>
212
243
  <symbol id="panel-left-open" viewBox="0 0 24 24">
213
244
  <rect width="18" height="18" x="3" y="3" rx="2" />
214
245
  <path d="M9 3v18" />