newmark-agent 0.3.7 → 0.3.10
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/context/domain/types.d.ts +1 -1
- package/dist/conversation-utility-host.bundle.cjs +2048 -716
- package/dist/conversation-utility-host.js +4 -1
- package/dist/core/agent.d.ts +39 -1
- package/dist/core/agent.js +681 -28
- package/dist/core/agentKernelRunner.js +1 -1
- package/dist/core/compressionHistoryArchive.d.ts +28 -0
- package/dist/core/compressionHistoryArchive.js +131 -0
- package/dist/core/config.js +3 -0
- package/dist/core/conversationKernel.d.ts +2 -1
- package/dist/core/conversationKernel.js +38 -7
- package/dist/core/electronBrowserUseHost.js +9 -0
- package/dist/core/electronUtilityRuntimePool.js +6 -7
- package/dist/core/runtimeLifecycle.d.ts +23 -0
- package/dist/core/runtimeLifecycle.js +146 -0
- package/dist/core/types.d.ts +3 -0
- package/dist/core/wslAgentRuntimePool.js +9 -10
- package/dist/main.js +15 -0
- package/dist/tools/index.js +9 -3
- package/dist/tools/nativeTools.js +1 -1
- package/dist/ui/index.html +14 -4
- package/dist/wsl-agent-host.bundle.cjs +2051 -718
- package/dist/wsl-agent-host.js +4 -0
- package/package.json +2 -2
package/dist/wsl-agent-host.js
CHANGED
|
@@ -40,6 +40,7 @@ const conversationKernel_1 = require("./core/conversationKernel");
|
|
|
40
40
|
const conversationTarget_1 = require("./core/conversationTarget");
|
|
41
41
|
const wslHostToolBridge_1 = require("./core/wslHostToolBridge");
|
|
42
42
|
const terminalTakeover_1 = require("./tools/terminalTakeover");
|
|
43
|
+
const runtimeLifecycle_1 = require("./core/runtimeLifecycle");
|
|
43
44
|
const root = process.env.NEWMARK_WSL_ROOT || '';
|
|
44
45
|
const distro = process.env.NEWMARK_WSL_DISTRO || 'WSL';
|
|
45
46
|
if (!root)
|
|
@@ -66,6 +67,7 @@ function createWslAgent(actorId) {
|
|
|
66
67
|
agentOnly: true,
|
|
67
68
|
workspaceRegistryMode: 'detached',
|
|
68
69
|
actorId,
|
|
70
|
+
runtimeLifecycleRole: 'wsl',
|
|
69
71
|
});
|
|
70
72
|
configureWslToolHost(agent);
|
|
71
73
|
return agent;
|
|
@@ -144,6 +146,8 @@ async function handle(request) {
|
|
|
144
146
|
return { backend: 'wsl', distro, ...runtimeIdentity(), platform: process.platform, root };
|
|
145
147
|
if (request.method === 'shutdown') {
|
|
146
148
|
(0, terminalTakeover_1.shutdownTerminalTakeoverSessions)('wsl-host-shutdown');
|
|
149
|
+
if (!host.goal || host.goal.paused)
|
|
150
|
+
(0, runtimeLifecycle_1.markRuntimeLifecycleClean)(root, 'wsl');
|
|
147
151
|
setTimeout(() => process.exit(0), 10);
|
|
148
152
|
return true;
|
|
149
153
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "newmark-agent",
|
|
3
3
|
"productName": "Newmark Agent",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.10",
|
|
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": {
|
|
@@ -289,6 +289,6 @@
|
|
|
289
289
|
"electron": "^43.1.1"
|
|
290
290
|
},
|
|
291
291
|
"overrides": {
|
|
292
|
-
"fast-uri": "3.1.
|
|
292
|
+
"fast-uri": "3.1.5"
|
|
293
293
|
}
|
|
294
294
|
}
|