newmark-agent 0.5.14 → 0.6.0
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/conversation-utility-host.bundle.cjs +4565 -2998
- package/dist/conversation-utility-host.js +1 -1
- package/dist/core/agent.d.ts +108 -16
- package/dist/core/agent.js +698 -195
- package/dist/core/agentKernel/agent.d.ts +1 -0
- package/dist/core/agentKernel/agent.js +9 -0
- package/dist/core/agentKernelDiagnostics.d.ts +4 -6
- package/dist/core/agentKernelDiagnostics.js +12 -9
- package/dist/core/agentKernelRunner.d.ts +5 -0
- package/dist/core/agentKernelRunner.js +250 -107
- package/dist/core/autoRouter.js +17 -27
- package/dist/core/config.d.ts +2 -0
- package/dist/core/config.js +7 -1
- package/dist/core/conversationCommandState.d.ts +17 -0
- package/dist/core/conversationCommandState.js +140 -0
- package/dist/core/conversationKernel.d.ts +25 -4
- package/dist/core/conversationKernel.js +360 -89
- package/dist/core/conversationListEvent.d.ts +6 -0
- package/dist/core/conversationListEvent.js +14 -0
- package/dist/core/electronUtilityAgentClient.d.ts +4 -1
- package/dist/core/electronUtilityAgentClient.js +4 -4
- package/dist/core/electronUtilityRuntimePool.d.ts +8 -2
- package/dist/core/electronUtilityRuntimePool.js +11 -5
- package/dist/core/installUpdate.js +41 -29
- package/dist/core/modelResponseHealth.d.ts +17 -0
- package/dist/core/modelResponseHealth.js +193 -0
- package/dist/core/providerUsageAccounting.d.ts +47 -0
- package/dist/core/providerUsageAccounting.js +71 -0
- package/dist/core/requestContextEstimate.d.ts +18 -0
- package/dist/core/requestContextEstimate.js +54 -0
- package/dist/core/subagent.d.ts +89 -5
- package/dist/core/subagent.js +264 -41
- package/dist/core/subagentCommunication.d.ts +43 -0
- package/dist/core/subagentCommunication.js +167 -0
- package/dist/core/types.d.ts +34 -1
- package/dist/core/utilityAgentProtocol.d.ts +4 -0
- package/dist/core/workEventCoalescer.js +4 -1
- package/dist/core/wslAgentClient.d.ts +18 -5
- package/dist/core/wslAgentClient.js +79 -27
- package/dist/core/wslAgentProtocol.d.ts +7 -0
- package/dist/core/wslAgentRuntimePool.d.ts +8 -2
- package/dist/core/wslAgentRuntimePool.js +19 -6
- package/dist/core/wslRuntimeProcessTree.d.ts +10 -0
- package/dist/core/wslRuntimeProcessTree.js +104 -0
- package/dist/llm/provider.d.ts +5 -12
- package/dist/llm/provider.js +150 -269
- package/dist/main.js +582 -356
- package/dist/preload.js +3 -3
- package/dist/providers/chat-completions.adapter.d.ts +2 -0
- package/dist/providers/chat-completions.adapter.js +84 -36
- package/dist/providers/provider-adapter.d.ts +2 -0
- package/dist/providers/provider-events.d.ts +23 -14
- package/dist/providers/provider-events.js +148 -43
- package/dist/providers/provider-headers.d.ts +7 -3
- package/dist/providers/provider-headers.js +109 -39
- package/dist/providers/provider-request-compat.d.ts +6 -0
- package/dist/providers/provider-request-compat.js +37 -0
- package/dist/providers/responses.adapter.d.ts +2 -0
- package/dist/providers/responses.adapter.js +192 -126
- package/dist/server.d.ts +9 -2
- package/dist/server.js +100 -24
- package/dist/tools/index.js +17 -1
- package/dist/ui/index.html +2515 -693
- package/dist/ui/lucide-sprite.svg +7 -0
- package/dist/ui/startup.html +6 -6
- package/dist/wsl-agent-host.bundle.cjs +4575 -3006
- package/dist/wsl-agent-host.js +9 -4
- package/package.json +23 -4
|
@@ -330,6 +330,13 @@
|
|
|
330
330
|
<path d="M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7" />
|
|
331
331
|
<path d="M7 3v4a1 1 0 0 0 1 1h7" />
|
|
332
332
|
</symbol>
|
|
333
|
+
<symbol id="scale" viewBox="0 0 24 24">
|
|
334
|
+
<path d="M12 3v18" />
|
|
335
|
+
<path d="m19 8 3 8a5 5 0 0 1-6 0zV7" />
|
|
336
|
+
<path d="M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1" />
|
|
337
|
+
<path d="m5 8 3 8a5 5 0 0 1-6 0zV7" />
|
|
338
|
+
<path d="M7 21h10" />
|
|
339
|
+
</symbol>
|
|
333
340
|
<symbol id="scroll" viewBox="0 0 24 24">
|
|
334
341
|
<path d="M19 17V5a2 2 0 0 0-2-2H4" />
|
|
335
342
|
<path d="M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3" />
|
package/dist/ui/startup.html
CHANGED
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<title>Newmark Agent</title>
|
|
6
6
|
<style>
|
|
7
|
-
html,body{margin:0;width:100%;height:100%;background:#
|
|
7
|
+
html,body{margin:0;width:100%;height:100%;background:#101010;color:#f2f2f2;font-family:Segoe UI,Arial,sans-serif}
|
|
8
8
|
body{display:flex;align-items:center;justify-content:center;overflow:hidden}
|
|
9
9
|
.shell{width:min(520px,calc(100vw - 48px));display:flex;gap:16px;align-items:flex-start}
|
|
10
10
|
.mark{width:48px;height:48px;flex:0 0 auto;border-radius:11px;object-fit:contain;background:linear-gradient(135deg,#36d399,#60a5fa,#f472b6);box-shadow:0 18px 70px rgba(96,165,250,.24);animation:pulse 1.8s ease-in-out infinite}
|
|
11
11
|
.copy{min-width:0;flex:1;padding-top:1px}
|
|
12
12
|
.title{font-size:18px;font-weight:700;letter-spacing:0}
|
|
13
|
-
.status{margin-top:7px;color:#
|
|
14
|
-
.detail{margin-top:4px;color:#
|
|
15
|
-
.bar{height:3px;margin-top:12px;border-radius:99px;background:#
|
|
13
|
+
.status{margin-top:7px;color:#cecece;font-size:12px;line-height:1.45;min-height:18px}
|
|
14
|
+
.detail{margin-top:4px;color:#949494;font-size:11px;line-height:1.4;white-space:pre-wrap;word-break:break-word;min-height:16px}
|
|
15
|
+
.bar{height:3px;margin-top:12px;border-radius:99px;background:#303030;overflow:hidden}
|
|
16
16
|
.bar>i{display:block;height:100%;width:18%;border-radius:inherit;background:linear-gradient(90deg,#36d399,#60a5fa);transition:width .24s ease}
|
|
17
|
-
.retry{display:none;margin-top:14px;border:1px solid #
|
|
18
|
-
.retry:hover{border-color:#60a5fa;background:#
|
|
17
|
+
.retry{display:none;margin-top:14px;border:1px solid #484848;background:#222222;color:#f2f2f2;border-radius:8px;padding:7px 14px;font:600 12px Segoe UI,Arial,sans-serif;cursor:pointer}
|
|
18
|
+
.retry:hover{border-color:#60a5fa;background:#292929}
|
|
19
19
|
@keyframes pulse{0%,100%{transform:scale(1);filter:saturate(1)}50%{transform:scale(1.04);filter:saturate(1.25)}}
|
|
20
20
|
</style>
|
|
21
21
|
</head>
|