newmark-agent 0.6.3 → 0.6.7

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 (72) hide show
  1. package/config.example.json +13 -3
  2. package/dist/cli-commands.d.ts +1 -1
  3. package/dist/cli-commands.js +53 -2
  4. package/dist/cli-discovery.js +3 -0
  5. package/dist/conversation-utility-host.bundle.cjs +3046 -1038
  6. package/dist/conversation-utility-host.js +94 -7
  7. package/dist/core/agent.d.ts +149 -12
  8. package/dist/core/agent.js +843 -176
  9. package/dist/core/agentKernelRunner.d.ts +7 -1
  10. package/dist/core/agentKernelRunner.js +171 -22
  11. package/dist/core/autoRouter.d.ts +49 -44
  12. package/dist/core/autoRouter.js +117 -302
  13. package/dist/core/branchIdentity.d.ts +29 -0
  14. package/dist/core/branchIdentity.js +54 -0
  15. package/dist/core/config.js +27 -11
  16. package/dist/core/continuation/contracts.d.ts +1 -1
  17. package/dist/core/continuation/store.d.ts +119 -1
  18. package/dist/core/continuation/store.js +337 -19
  19. package/dist/core/conversationKernel.d.ts +62 -8
  20. package/dist/core/conversationKernel.js +361 -47
  21. package/dist/core/conversationStateDocument.d.ts +18 -0
  22. package/dist/core/conversationStateDocument.js +88 -0
  23. package/dist/core/conversationVisualBudget.d.ts +74 -0
  24. package/dist/core/conversationVisualBudget.js +153 -0
  25. package/dist/core/electronUtilityAgentClient.d.ts +3 -2
  26. package/dist/core/electronUtilityAgentClient.js +32 -8
  27. package/dist/core/electronUtilityRuntimePool.d.ts +28 -3
  28. package/dist/core/electronUtilityRuntimePool.js +93 -24
  29. package/dist/core/hostRuntimeHooks.d.ts +23 -0
  30. package/dist/core/hostRuntimeHooks.js +17 -0
  31. package/dist/core/jevDecision.d.ts +144 -0
  32. package/dist/core/jevDecision.js +226 -0
  33. package/dist/core/memoryProbe.d.ts +24 -0
  34. package/dist/core/memoryProbe.js +104 -0
  35. package/dist/core/mobilePairing.d.ts +7 -1
  36. package/dist/core/mobilePairing.js +9 -1
  37. package/dist/core/performanceDiagnostics.d.ts +1 -1
  38. package/dist/core/routeDecisionValidator.d.ts +86 -0
  39. package/dist/core/routeDecisionValidator.js +249 -0
  40. package/dist/core/routeEligibility.d.ts +52 -0
  41. package/dist/core/routeEligibility.js +108 -0
  42. package/dist/core/runtimeMemoryBudget.d.ts +6 -0
  43. package/dist/core/runtimeMemoryBudget.js +12 -0
  44. package/dist/core/utilityAgentProtocol.d.ts +8 -10
  45. package/dist/core/utilityHostToolRouter.js +2 -0
  46. package/dist/core/visualDownscale.d.ts +6 -0
  47. package/dist/core/visualDownscale.js +137 -0
  48. package/dist/core/wslAgentClient.d.ts +1 -2
  49. package/dist/core/wslAgentClient.js +0 -8
  50. package/dist/core/wslAgentProtocol.d.ts +1 -10
  51. package/dist/core/wslAgentRuntimePool.d.ts +1 -3
  52. package/dist/core/wslAgentRuntimePool.js +17 -22
  53. package/dist/llm/provider.d.ts +3 -1
  54. package/dist/llm/provider.js +53 -9
  55. package/dist/main.js +108 -31
  56. package/dist/preload.js +3 -1
  57. package/dist/server.js +30 -18
  58. package/dist/tools/computerUse.d.ts +4 -0
  59. package/dist/tools/computerUse.js +202 -4
  60. package/dist/tools/computerUsePowerShellHost.d.ts +6 -1
  61. package/dist/tools/computerUsePowerShellHost.js +105 -31
  62. package/dist/tools/index.js +4 -1
  63. package/dist/tui/src/adapters/core-runtime-adapter.js +13 -1
  64. package/dist/tui/src/i18n.js +12 -1
  65. package/dist/tui/src/render.js +9 -2
  66. package/dist/tui/src/settings-schema.js +19 -0
  67. package/dist/tui/src/state.js +69 -1
  68. package/dist/ui/index.html +994 -277
  69. package/dist/ui/lucide-sprite.svg +0 -8
  70. package/dist/wsl-agent-host.bundle.cjs +2851 -1013
  71. package/dist/wsl-agent-host.js +0 -3
  72. package/package.json +38 -9
@@ -205,9 +205,6 @@ async function handle(request) {
205
205
  if (request.method === 'context_compress') {
206
206
  return kernel.compressContext(requestTarget(request.params), request.params.options);
207
207
  }
208
- if (request.method === 'rate_auto_route') {
209
- return kernel.rateAutoRoute(requestTarget(request.params), request.params.score, request.params.routeId);
210
- }
211
208
  if (request.method === 'set_work_run_expanded') {
212
209
  return kernel.setWorkRunExpanded(requestTarget(request.params), request.params.runId, request.params.expanded);
213
210
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "newmark-agent",
3
3
  "productName": "Newmark Agent",
4
- "version": "0.6.3",
4
+ "version": "0.6.7",
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": {
@@ -27,9 +27,10 @@
27
27
  "test:ui-consistency": "node scripts/sync-mobile-navigation-icons.cjs --check && node scripts/test-ui-consistency.cjs",
28
28
  "test:subagent-continuity": "npm run build && npm run test:subagent-continuity:built",
29
29
  "test:subagent-continuity:built": "node dist/tests/subagentMailboxConcurrencyVerify.js && node dist/tests/subagentCommunicationVerify.js && node dist/tests/subagentUltraDelegationVerify.js && node scripts/test-subagent-cache-continuity.cjs && node scripts/test-subagent-settlement-receipts.cjs && node scripts/subagent-streaming-relay-stress.cjs",
30
- "clean": "tsc --build --clean && node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
31
- "build": "tsc && node scripts/build-windows-process-tree-helper.cjs && node scripts/build-typebox-compile.cjs && node scripts/build-ui-icons.cjs && node scripts/build-wsl-agent-host.cjs && node scripts/build-conversation-utility-host.cjs && node scripts/build-tui.cjs",
32
- "build:clean": "npm run clean && npm run build",
30
+ "clean": "node scripts/build-driver.cjs --clean-only",
31
+ "build": "node scripts/build-driver.cjs",
32
+ "build:clean": "node scripts/build-driver.cjs --clean",
33
+ "test:build-driver-cancellation": "node scripts/test-build-driver-cancellation.cjs",
33
34
  "dev": "npm run build && node dist/launcher.js --server",
34
35
  "dev:cli": "npm run build && node dist/launcher.js --cli",
35
36
  "start": "electron .",
@@ -51,7 +52,7 @@
51
52
  "typecheck": "tsc --noEmit",
52
53
  "lint": "oxlint src",
53
54
  "test": "npm run test:full-release",
54
- "test:full-release": "npm run build && node dist/tests/conversationHistoryFirstVerify.js && npm run test:desktop:built && npm run test:intelligence-tier:built && npm run test:tui:built && npm run test:mode-conversation-stress:built && npm run check-cross-platform-env && npm run test:ssh-tui-stress:built && npm run test:wsl-tui-stress:built && npm run test:cli:built && npm run test:gui-tui-cli-stress:built",
55
+ "test:full-release": "npm run build && node dist/tests/conversationHistoryFirstVerify.js && node --expose-gc dist/tests/singleConversationCompressionStressVerify.js && npm run test:desktop:built && npm run test:intelligence-tier:built && npm run test:tui:built && npm run test:mode-conversation-stress:built && npm run check-cross-platform-env && npm run test:ssh-tui-stress:built && npm run test:wsl-tui-stress:built && npm run test:cli:built && npm run test:gui-tui-cli-stress:built && npm run test:build-driver-cancellation",
55
56
  "test:intelligence-tier:built": "node dist/tests/intelligenceTierVerify.js",
56
57
  "test:mode-conversation-stress": "node scripts/mode-conversation-state-stress.cjs",
57
58
  "test:mode-conversation-stress:built": "node scripts/mode-conversation-state-stress.cjs",
@@ -60,7 +61,7 @@
60
61
  "test:desktop": "npm run build && node dist/tests/conversationHistoryFirstVerify.js && npm run test:desktop:built",
61
62
  "test:deletion-safety": "npm run build && npm run test:deletion-safety:built",
62
63
  "test:deletion-safety:built": "node scripts/deletion-safety-stress.cjs",
63
- "test:desktop:built": "node dist/tests/verify.js && node dist/tests/searchMcpPoolVerify.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 && npm run test:subagent-continuity:built && 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/test-conversation-model-binding.cjs && node scripts/test-model-response-health.cjs && node scripts/test-image-ocr-recovery.cjs && node scripts/flow-pause-stop-draft-stress.cjs && node dist/tests/guideUiReconcileVerify.js && node dist/tests/workReviewDedupVerify.js && node dist/tests/queueAttachmentIsolationVerify.js && node scripts/test-queue-continuation-identity.cjs && node dist/tests/continuationStoreVerify.js && node scripts/test-hosted-command-transport.cjs && node scripts/test-conversation-list-notifications.cjs && node scripts/test-conversation-command-state.cjs && node scripts/test-shared-conversation-commands.cjs && node scripts/test-queue-start-failure.cjs && node scripts/test-queue-acceptance-boundary.cjs && node dist/tests/queueDrainUserMessageVerify.js && node dist/tests/pcGlassMigrationVerify.js && node dist/tests/longHistoryDisplayVerify.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/buildCacheDiagnosticsVerify.js && node dist/tests/buildCacheRetryVerify.js && node dist/tests/buildProviderReuseVerify.js && node dist/tests/providerCompletionIntegrityVerify.js && node scripts/test-build-recovery-continuity.cjs && node scripts/test-build-retry-cancellation.cjs && node scripts/test-build-continuity-http.cjs && node scripts/test-build-continuity-ui.cjs && node dist/tests/workEventCoalescerVerify.js && node scripts/test-provider-request-compat.cjs && node scripts/test-provider-header-metadata.cjs && node dist/tests/providerUsageAccountingVerify.js && node dist/tests/providerUsageReportingVerify.js && node scripts/test-context-usage-ownership.cjs && node scripts/test-context-request-accounting.cjs && node scripts/test-context-inspector-accounting.cjs && 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/screenCaptureIndependentVerify.js && node dist/tests/computerUsePerformanceVerify.js && node dist/tests/autoRouterVerify.js && node dist/tests/autoAgentIntegrationVerify.js && node dist/tests/modelRecoveryStressVerify.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 && node scripts/test-install-update-msi.cjs && node scripts/test-provider-usage-persistence.cjs && node scripts/test-long-conversation-ui-ordering.cjs && node scripts/test-flow-start-cancellation.cjs && node scripts/test-conversation-history-window.cjs",
64
+ "test:desktop:built": "node dist/tests/verify.js && node dist/tests/searchMcpPoolVerify.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 && npm run test:subagent-continuity:built && node dist/tests/conversationBranchStressVerify.js && node dist/tests/branchPageQueueIdentityVerify.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 scripts/test-cross-process-workrun-persistence.cjs && node dist/tests/runtimePoolCapacityVerify.js && node dist/tests/conversationVisualBudgetVerify.js && node dist/tests/guideWorkRunVerify.js && node dist/tests/modelSwitchBehaviorVerify.js && node scripts/test-conversation-model-binding.cjs && node scripts/test-model-response-health.cjs && node scripts/test-image-ocr-recovery.cjs && node scripts/flow-pause-stop-draft-stress.cjs && node dist/tests/guideUiReconcileVerify.js && node dist/tests/workReviewDedupVerify.js && node dist/tests/queueAttachmentIsolationVerify.js && node scripts/test-queue-continuation-identity.cjs && node dist/tests/continuationStoreVerify.js && node dist/tests/queueOrphanRecoveryVerify.js && node scripts/test-hosted-command-transport.cjs && node scripts/test-conversation-list-notifications.cjs && node scripts/test-conversation-command-state.cjs && node scripts/test-shared-conversation-commands.cjs && node scripts/test-queue-start-failure.cjs && node scripts/test-queue-acceptance-boundary.cjs && node dist/tests/queueDrainUserMessageVerify.js && node dist/tests/pcGlassMigrationVerify.js && node dist/tests/longHistoryDisplayVerify.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/buildCacheDiagnosticsVerify.js && node dist/tests/buildCacheRetryVerify.js && node dist/tests/buildProviderReuseVerify.js && node dist/tests/providerCompletionIntegrityVerify.js && node scripts/test-build-recovery-continuity.cjs && node scripts/test-build-retry-cancellation.cjs && node scripts/test-build-continuity-http.cjs && node scripts/test-build-continuity-ui.cjs && node dist/tests/workEventCoalescerVerify.js && node scripts/test-provider-request-compat.cjs && node scripts/test-provider-header-metadata.cjs && node dist/tests/providerUsageAccountingVerify.js && node dist/tests/providerUsageReportingVerify.js && node scripts/test-context-usage-ownership.cjs && node scripts/test-context-request-accounting.cjs && node scripts/test-context-inspector-accounting.cjs && 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/screenCaptureIndependentVerify.js && node dist/tests/computerUsePerformanceVerify.js && node dist/tests/jevDecisionVerify.js && node dist/tests/jevRoutingInvarianceVerify.js && node dist/tests/jevModelEditorVerify.js && node scripts/dev-0.6.6-jev-tui-cli-evidence.cjs && node dist/tests/autoRouterVerify.js && node dist/tests/autoAgentIntegrationVerify.js && node dist/tests/modelRecoveryStressVerify.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 && node scripts/test-install-update-msi.cjs && node scripts/test-provider-usage-persistence.cjs && node scripts/test-long-conversation-ui-ordering.cjs && node scripts/test-flow-start-cancellation.cjs && node scripts/test-conversation-history-window.cjs",
64
65
  "test:conversation-branch-stress": "npm run build && node dist/tests/conversationBranchStressVerify.js",
65
66
  "test:conversation-archive-concurrency": "npm run build && node dist/tests/conversationArchiveConcurrencyVerify.js",
66
67
  "test:memory-policy": "npm run build && node dist/tests/memoryPolicyVerify.js",
@@ -71,6 +72,9 @@
71
72
  "test:build-cache:built": "node dist/tests/contextCacheHitStressVerify.js && node dist/tests/buildCacheDiagnosticsVerify.js && node dist/tests/buildCacheRetryVerify.js && node dist/tests/buildProviderReuseVerify.js",
72
73
  "test:thinking-tier-map-cache-stress": "npm run build && node dist/tests/thinkingTierMapCacheStressVerify.js",
73
74
  "test:context-compression-api": "npm run build && node dist/tests/contextCompressionApiVerify.js",
75
+ "test:conversation-compression-stress": "npm run build && node --expose-gc dist/tests/singleConversationCompressionStressVerify.js",
76
+ "test:conversation-compression-stress:built": "node --expose-gc dist/tests/singleConversationCompressionStressVerify.js",
77
+ "dev:conversation-state-write-audit": "node scripts/dev-0.6.6-conversation-state-write-audit.cjs",
74
78
  "test:compression-pressure": "npm run build && node scripts/compression-pressure-stress.cjs",
75
79
  "test:context-system-v2-stress": "npm run build && node dist/tests/contextSystemV2StressVerify.js",
76
80
  "test:provider-adapter-v2": "npm run build && node dist/tests/providerAdapterV2Verify.js",
@@ -96,15 +100,18 @@
96
100
  "test:browser-use-electron": "npm run build && electron dist/tests/browserUseElectronVerify.js",
97
101
  "test:dev009": "npm run build && node dist/tests/dev009Verify.js && node dist/tests/runtimeIsolationVerify.js && node dist/tests/guideWorkRunVerify.js && node dist/tests/guideUiReconcileVerify.js && node dist/tests/queueAttachmentIsolationVerify.js && node dist/tests/workspaceMenuVerify.js && node dist/tests/userImagePersistenceVerify.js && node dist/tests/visualPreferencesVerify.js && node dist/tests/browserUseVerify.js && node dist/tests/toolProcessVerify.js && node dist/tests/startupPrewarmVerify.js && node dist/tests/pdfPreviewServerVerify.js && node dist/tests/editorLifecycleVerify.js && node dist/tests/computerUsePerformanceVerify.js && electron dist/tests/browserUseElectronVerify.js",
98
102
  "test:dev008": "npm run build && node dist/tests/dev008-subagent.js",
99
- "test:auto-router": "npm run build && node dist/tests/autoRouterVerify.js && node dist/tests/autoAgentIntegrationVerify.js && node dist/tests/autoRouteRatingVerify.js && node dist/tests/providerIdentityVerify.js",
103
+ "dev:jev-settings-ui": "node scripts/dev-0.6.6-jev-settings-ui-monitor.cjs",
104
+ "dev:jev-tui-cli-evidence": "node scripts/dev-0.6.6-jev-tui-cli-evidence.cjs",
105
+ "test:auto-router": "npm run build && node dist/tests/jevModelEditorVerify.js && node scripts/dev-0.6.6-jev-tui-cli-evidence.cjs && node dist/tests/autoRouterVerify.js && node dist/tests/jevDecisionVerify.js && node dist/tests/jevRoutingInvarianceVerify.js && node dist/tests/autoAgentIntegrationVerify.js && node dist/tests/autoRouteRatingVerify.js && node dist/tests/providerIdentityVerify.js",
100
106
  "test:model-recovery-stress": "npm run build && node dist/tests/modelRecoveryStressVerify.js",
101
107
  "test:remote-touch-status": "npm run build && node dist/tests/remoteTouchServerStatusVerify.js",
102
108
  "test:model-validation": "npm run build && node dist/tests/modelValidationVerify.js && node dist/tests/modelValidationAgentIntegrationVerify.js && node dist/tests/intelligenceTierVerify.js",
103
109
  "test:runtime-pool": "npm run build && node dist/tests/runtimePoolCapacityVerify.js",
104
110
  "test:cli-tools": "npm run build && node dist/tests/cliToolContractVerify.js && node dist/tests/openAIHubAnthropicSmokeContractVerify.js && node dist/tests/cliComputerUseAccuracyVerify.js",
105
- "test:dev010": "npm run build && node dist/tests/normalChatRegressionVerify.js && node dist/tests/toolProvisioningVerify.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 dist/tests/runtimePoolCapacityVerify.js && node dist/tests/queueAttachmentIsolationVerify.js && node dist/tests/visualPreferencesVerify.js && node dist/tests/startupPrewarmVerify.js && node dist/tests/computerUsePerformanceVerify.js && node dist/tests/cliToolContractVerify.js && node dist/tests/openAIHubAnthropicSmokeContractVerify.js && node dist/tests/cliComputerUseAccuracyVerify.js",
111
+ "test:dev010": "npm run build && node dist/tests/normalChatRegressionVerify.js && node dist/tests/toolProvisioningVerify.js && node dist/tests/jevDecisionVerify.js && node dist/tests/jevRoutingInvarianceVerify.js && node dist/tests/jevModelEditorVerify.js && node scripts/dev-0.6.6-jev-tui-cli-evidence.cjs && 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 dist/tests/runtimePoolCapacityVerify.js && node dist/tests/queueAttachmentIsolationVerify.js && node dist/tests/visualPreferencesVerify.js && node dist/tests/startupPrewarmVerify.js && node dist/tests/computerUsePerformanceVerify.js && node dist/tests/cliToolContractVerify.js && node dist/tests/openAIHubAnthropicSmokeContractVerify.js && node dist/tests/cliComputerUseAccuracyVerify.js",
106
112
  "test:dev012": "npm run build && node dist/tests/performanceOptimizationVerify.js && node dist/tests/compressionFidelityVerify.js && node dist/tests/responseTrajectoryVerify.js && node dist/tests/normalChatRegressionVerify.js && node dist/tests/toolProvisioningVerify.js && node dist/tests/guideWorkRunVerify.js && node dist/tests/runtimeIsolationVerify.js && node dist/tests/openAIHubAnthropicSmokeContractVerify.js",
107
113
  "test:computer-use-performance": "npm run build && node dist/tests/computerUsePerformanceVerify.js",
114
+ "test:computer-use-runtime": "npm run build:clean && node dist/tests/computerUseSparseOnlyVerify.js && node dist/tests/computerUsePerformanceVerify.js && node dist/tests/computerUseSessionVerify.js && node dist/tests/cliComputerUseAccuracyVerify.js",
108
115
  "test:terminal-takeover": "npm run build && node dist/tests/terminalTakeoverVerify.js",
109
116
  "test:terminal-output-stress": "npm run build && node dist/tests/terminalOutputBackpressureVerify.js",
110
117
  "test:native-bash": "npm run build && node dist/tests/nativeBashVerify.js",
@@ -200,14 +207,27 @@
200
207
  "dist:linux": "node scripts/dist-linux.cjs",
201
208
  "dist:linux:native": "npm run build:clean && electron-builder --linux",
202
209
  "dist:mac": "npm run build:clean && electron-builder --mac",
203
- "dist:windows-release": "npm run test:full-release && npm run build:clean && node scripts/dist-portable.cjs",
210
+ "dist:windows-release": "npm run test:full-release && npm run build:clean && node scripts/build-driver.cjs --package-only",
204
211
  "release:ocr-budget-smoke": "node scripts/verify-ocr-package-budget.cjs",
205
212
  "release:packaged-ocr-smoke": "node scripts/release-packaged-ocr-smoke.cjs",
206
213
  "test:stream-unlimited-timeout-stress": "npm run build && node dist/tests/streamUnlimitedTimeoutStressVerify.js",
207
214
  "test:queue-unify-stress": "npm run build && node dist/tests/queueUnifyStressVerify.js && node dist/tests/queueDrainUserMessageVerify.js",
215
+ "test:branch-page-queue-identity": "npm run build && node dist/tests/branchPageQueueIdentityVerify.js && node scripts/test-long-conversation-ui-ordering.cjs && node scripts/test-shared-conversation-commands.cjs",
216
+ "test:branch-page-queue-visual": "node scripts/dev-0.6.4-branch-page-queue-visual.cjs",
208
217
  "test:continuation-store": "npm run build && node dist/tests/continuationStoreVerify.js && node scripts/test-queue-continuation-identity.cjs",
209
218
  "test:installer": "node scripts/test-install-update-msi.cjs",
210
219
  "test:liquid-gestures": "node scripts/dev-liquid-gesture-regression.cjs",
220
+ "test:fixed-control-centering": "node scripts/verify-fixed-control-centering.cjs",
221
+ "test:background-question-hold": "node scripts/verify-background-question-hold.cjs",
222
+ "test:queue-sequencing-and-drag-landing": "node scripts/verify-queue-sequencing-and-drag-landing.cjs",
223
+ "test:archive-while-running": "node scripts/verify-archive-while-running.cjs",
224
+ "dev:ledger-growth": "npm run build && node scripts/dev-0.6.6-ledger-growth-measure.cjs",
225
+ "test:package-no-diagnostics": "node scripts/verify-package-no-diagnostics.cjs",
226
+ "build:strip-diagnostics": "node scripts/build-conversation-utility-host.cjs --strip-diagnostics",
227
+ "test:queue-orphan-recovery": "npm run build && node dist/tests/queueOrphanRecoveryVerify.js",
228
+ "test:visual-budget": "npm run build && node dist/tests/conversationVisualBudgetVerify.js",
229
+ "forensics:live-conversation": "node scripts/dev-0.6.6-live-conversation-forensics.cjs",
230
+ "repair:ledger-orphan": "node scripts/dev-0.6.6-replay-live-ledger-recovery.cjs",
211
231
  "test:user-soak:transport": "node --expose-gc scripts/test-user-soak-transport.cjs",
212
232
  "test:user-soak:backend": "node --expose-gc scripts/test-user-soak-backend.cjs",
213
233
  "test:user-soak:gui": "node scripts/test-user-soak-gui.cjs",
@@ -228,6 +248,15 @@
228
248
  },
229
249
  "files": [
230
250
  "dist/**/*",
251
+ "!dist/tests/**/*",
252
+ "!dist/core/memoryProbe.js",
253
+ "!dist/core/memoryProbe.d.ts",
254
+ "!dist/core/memoryProbe.js.map",
255
+ "!dist/core/memoryProbe.d.ts.map",
256
+ "!dist/core/hostRuntimeHooks.js",
257
+ "!dist/core/hostRuntimeHooks.d.ts",
258
+ "!dist/core/hostRuntimeHooks.js.map",
259
+ "!dist/core/hostRuntimeHooks.d.ts.map",
231
260
  "assets/**/*",
232
261
  "config.example.json",
233
262
  "package.json",