newmark-agent 0.4.3 → 0.4.5
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 +902 -698
- package/dist/conversation-utility-host.js +3 -0
- package/dist/core/agent.d.ts +19 -0
- package/dist/core/agent.js +88 -12
- package/dist/core/agentKernelRunner.js +1 -1
- package/dist/core/conversationKernel.d.ts +8 -0
- package/dist/core/conversationKernel.js +44 -5
- package/dist/core/electronUtilityAgentClient.d.ts +1 -0
- package/dist/core/electronUtilityAgentClient.js +4 -0
- package/dist/core/electronUtilityRuntimePool.d.ts +2 -0
- package/dist/core/electronUtilityRuntimePool.js +11 -0
- package/dist/core/toolPolicy.js +28 -13
- package/dist/core/utilityAgentProtocol.d.ts +7 -0
- package/dist/core/workspace.d.ts +6 -0
- package/dist/core/workspace.js +14 -0
- package/dist/core/wslAgentClient.d.ts +1 -0
- package/dist/core/wslAgentClient.js +4 -0
- package/dist/core/wslAgentProtocol.d.ts +7 -0
- package/dist/core/wslAgentRuntimePool.d.ts +2 -0
- package/dist/core/wslAgentRuntimePool.js +12 -0
- package/dist/main.js +36 -7
- package/dist/tools/index.d.ts +14 -0
- package/dist/tools/index.js +144 -18
- package/dist/tui/src/app.js +51 -6
- package/dist/tui/src/data.js +28 -0
- package/dist/tui/src/render.js +67 -30
- package/dist/ui/index.html +11 -0
- package/dist/wsl-agent-host.bundle.cjs +902 -698
- package/dist/wsl-agent-host.js +3 -0
- package/package.json +6 -3
package/dist/wsl-agent-host.js
CHANGED
|
@@ -206,6 +206,9 @@ async function handle(request) {
|
|
|
206
206
|
if (request.method === 'set_mode') {
|
|
207
207
|
return kernel.setMode(requestTarget(request.params), request.params.mode);
|
|
208
208
|
}
|
|
209
|
+
if (request.method === 'set_model') {
|
|
210
|
+
return kernel.setModel(requestTarget(request.params), request.params.model);
|
|
211
|
+
}
|
|
209
212
|
if (request.method === 'set_input_mode') {
|
|
210
213
|
return kernel.setInputMode(requestTarget(request.params), request.params.mode);
|
|
211
214
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "newmark-agent",
|
|
3
3
|
"productName": "Newmark Agent",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.5",
|
|
5
5
|
"description": "Newmark Agent — Portable AI coding agent with rich GUI and CLI (TypeScript)",
|
|
6
6
|
"homepage": "https://github.com/positer/Newmark-Agent",
|
|
7
7
|
"repository": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"start:dev": "npm run build && electron .",
|
|
34
34
|
"start:cli": "node dist/launcher.js --cli",
|
|
35
35
|
"test:tui": "npm run build && npm run test:tui:built",
|
|
36
|
-
"test:tui:built": "node ../TUI/test/demo.test.js && node ../TUI/test/cursor-follow-stress.test.js && node dist/tests/tuiLauncherVerify.js && node dist/tests/tuiStopRaceVerify.js",
|
|
36
|
+
"test:tui:built": "node ../TUI/test/demo.test.js && node ../TUI/test/cursor-follow-stress.test.js && node ../TUI/test/cursor-follow-pty-gate.js && node dist/tests/tuiLauncherVerify.js && node dist/tests/tuiStopRaceVerify.js",
|
|
37
37
|
"test:ssh-tui-stress": "npm run build && npm run test:ssh-tui-stress:built",
|
|
38
38
|
"test:ssh-tui-stress:built": "node scripts/release-ssh-tui-stress.cjs",
|
|
39
39
|
"test:wsl-tui-stress:built": "node scripts/release-wsl-tui-stress.cjs",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"test:desktop": "npm run build && npm run test:desktop:built",
|
|
54
54
|
"test:deletion-safety": "npm run build && npm run test:deletion-safety:built",
|
|
55
55
|
"test:deletion-safety:built": "node scripts/deletion-safety-stress.cjs",
|
|
56
|
-
"test:desktop:built": "node dist/tests/verify.js && node dist/tests/thinkingTierMapCacheStressVerify.js && node dist/tests/computerUseSessionVerify.js && node dist/tests/contextSystemV2Verify.js && node dist/tests/contextSystemV2StressVerify.js && node dist/tests/providerAdapterV2Verify.js && node dist/tests/providerTimeoutRecoveryVerify.js && node dist/tests/agentRuntimeV2Verify.js && node dist/tests/toolchainExposureV2Verify.js && node dist/tests/localOcrFallbackVerify.js && node dist/tests/dev018ModeSubagentStressVerify.js && node dist/tests/conversationBranchStressVerify.js && node dist/tests/conversationArchiveConcurrencyVerify.js && node dist/tests/conversationArchiveRuntimeVerify.js && node dist/tests/dev040ComprehensiveStressVerify.js && node dist/tests/memoryPolicyVerify.js && node dist/tests/newmarkSelectVerify.js && node dist/tests/mcpManagerVerify.js && node dist/tests/dshCompatibilityVerify.js && node dist/tests/performanceOptimizationVerify.js && node scripts/compression-pressure-stress.cjs && node dist/tests/compressionFidelityVerify.js && node dist/tests/responseTrajectoryVerify.js && node dist/tests/normalChatRegressionVerify.js && node dist/tests/dev008-subagent.js && node dist/tests/dev009Verify.js && node dist/tests/runtimeIsolationVerify.js && node dist/tests/runtimePoolCapacityVerify.js && node dist/tests/guideWorkRunVerify.js && node scripts/flow-pause-stop-draft-stress.cjs && node dist/tests/guideUiReconcileVerify.js && node dist/tests/queueAttachmentIsolationVerify.js && node dist/tests/workspaceMenuVerify.js && node dist/tests/userImagePersistenceVerify.js && node dist/tests/displayImageVerify.js && node dist/tests/visualPreferencesVerify.js && node dist/tests/browserUseVerify.js && node dist/tests/toolProcessVerify.js && node dist/tests/toolProvisioningVerify.js && node dist/tests/taskToolsVerify.js && node dist/tests/contextCacheHitStressVerify.js && node dist/tests/startupPrewarmVerify.js && node dist/tests/pdfPreviewServerVerify.js && node dist/tests/editorLifecycleVerify.js && node dist/tests/terminalTakeoverVerify.js && node dist/tests/workspaceFileRouterVerify.js && node dist/tests/computerUsePerformanceVerify.js && node dist/tests/autoRouterVerify.js && node dist/tests/autoAgentIntegrationVerify.js && node dist/tests/autoRouteRatingVerify.js && node dist/tests/providerIdentityVerify.js && node dist/tests/modelValidationVerify.js && node dist/tests/modelValidationAgentIntegrationVerify.js && node scripts/deletion-safety-stress.cjs",
|
|
56
|
+
"test:desktop:built": "node dist/tests/verify.js && node dist/tests/thinkingTierMapCacheStressVerify.js && node dist/tests/computerUseSessionVerify.js && node dist/tests/contextSystemV2Verify.js && node dist/tests/contextSystemV2StressVerify.js && node dist/tests/providerAdapterV2Verify.js && node dist/tests/providerTimeoutRecoveryVerify.js && node dist/tests/agentRuntimeV2Verify.js && node dist/tests/toolchainExposureV2Verify.js && node dist/tests/localOcrFallbackVerify.js && node dist/tests/dev018ModeSubagentStressVerify.js && node dist/tests/conversationBranchStressVerify.js && node dist/tests/conversationArchiveConcurrencyVerify.js && node dist/tests/conversationArchiveRuntimeVerify.js && node dist/tests/dev040ComprehensiveStressVerify.js && node dist/tests/memoryPolicyVerify.js && node dist/tests/newmarkSelectVerify.js && node dist/tests/mcpManagerVerify.js && node dist/tests/dshCompatibilityVerify.js && node dist/tests/performanceOptimizationVerify.js && node scripts/compression-pressure-stress.cjs && node dist/tests/compressionFidelityVerify.js && node dist/tests/responseTrajectoryVerify.js && node dist/tests/normalChatRegressionVerify.js && node dist/tests/dev008-subagent.js && node dist/tests/dev009Verify.js && node dist/tests/runtimeIsolationVerify.js && node dist/tests/runtimePoolCapacityVerify.js && node dist/tests/guideWorkRunVerify.js && node dist/tests/modelSwitchBehaviorVerify.js && node scripts/flow-pause-stop-draft-stress.cjs && node dist/tests/guideUiReconcileVerify.js && node dist/tests/queueAttachmentIsolationVerify.js && node dist/tests/workspaceMenuVerify.js && node dist/tests/userImagePersistenceVerify.js && node dist/tests/displayImageVerify.js && node dist/tests/visualPreferencesVerify.js && node dist/tests/browserUseVerify.js && node dist/tests/toolProcessVerify.js && node dist/tests/toolProvisioningVerify.js && node dist/tests/taskToolsVerify.js && node dist/tests/contextCacheHitStressVerify.js && node dist/tests/startupPrewarmVerify.js && node dist/tests/pdfPreviewServerVerify.js && node dist/tests/editorLifecycleVerify.js && node dist/tests/terminalTakeoverVerify.js && node dist/tests/workspaceFileRouterVerify.js && node dist/tests/computerUsePerformanceVerify.js && node dist/tests/autoRouterVerify.js && node dist/tests/autoAgentIntegrationVerify.js && node dist/tests/autoRouteRatingVerify.js && node dist/tests/providerIdentityVerify.js && node dist/tests/modelValidationVerify.js && node dist/tests/modelValidationAgentIntegrationVerify.js && node scripts/deletion-safety-stress.cjs",
|
|
57
57
|
"test:conversation-branch-stress": "npm run build && node dist/tests/conversationBranchStressVerify.js",
|
|
58
58
|
"test:conversation-archive-concurrency": "npm run build && node dist/tests/conversationArchiveConcurrencyVerify.js",
|
|
59
59
|
"test:memory-policy": "npm run build && node dist/tests/memoryPolicyVerify.js",
|
|
@@ -145,6 +145,7 @@
|
|
|
145
145
|
"release:dev008-features-smoke": "node scripts/release-dev008-features-smoke.cjs",
|
|
146
146
|
"release:dev009-features-smoke": "node scripts/release-dev009-features-smoke.cjs",
|
|
147
147
|
"release:dev010-features-smoke": "node scripts/release-dev010-features-smoke.cjs",
|
|
148
|
+
"release:dev045-security-smoke": "node scripts/release-dev045-security-smoke.cjs",
|
|
148
149
|
"benchmark:dev010-startup": "node scripts/benchmark-dev010-startup-memory.cjs",
|
|
149
150
|
"benchmark:linux-agent-latency": "node scripts/benchmark-linux-agent-latency.cjs",
|
|
150
151
|
"release:github-assets-verify": "node scripts/verify-github-release-assets.cjs",
|
|
@@ -152,6 +153,8 @@
|
|
|
152
153
|
"release:ui-startup-recovery-smoke": "node scripts/release-ui-startup-recovery-smoke.cjs",
|
|
153
154
|
"release:ui-tray-lifecycle-smoke": "node scripts/release-ui-tray-lifecycle-smoke.cjs",
|
|
154
155
|
"release:ui-wsl-agent-backend-smoke": "node scripts/release-ui-wsl-agent-backend-smoke.cjs",
|
|
156
|
+
"release:win-wsl-backend-stress": "node scripts/release-win-wsl-backend-stress.cjs",
|
|
157
|
+
"release:wsl-cross-stress": "node scripts/release-wsl-cross-stress.cjs",
|
|
155
158
|
"release:real-wsl-provider-smoke": "node scripts/release-real-wsl-provider-smoke.cjs",
|
|
156
159
|
"release:real-wsl-provider-chat-smoke": "set NEWMARK_REAL_API_MODE=chat&& node scripts/release-real-wsl-provider-smoke.cjs",
|
|
157
160
|
"release:real-wsl-provider-responses-smoke": "set NEWMARK_REAL_API_MODE=responses&& node scripts/release-real-wsl-provider-smoke.cjs",
|