negotium 0.1.31 → 0.1.32
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/agent-helpers.js +7 -5
- package/dist/agent-helpers.js.map +9 -9
- package/dist/background-bash.js.map +1 -1
- package/dist/chunk-1p2n47qd.js.map +1 -1
- package/dist/cron.js +1740 -1658
- package/dist/cron.js.map +27 -23
- package/dist/hosted-agent.js +2 -3
- package/dist/hosted-agent.js.map +6 -6
- package/dist/main.js +5034 -4806
- package/dist/main.js.map +42 -33
- package/dist/mcp-factories.js.map +1 -1
- package/dist/prompts.js.map +1 -1
- package/dist/query-runtime.js.map +1 -1
- package/dist/runtime/src/agents/maestro-provider.ts +0 -15
- package/dist/runtime/src/agents/task-events.ts +3 -0
- package/dist/runtime/src/mcp/agent-health-server.ts +1 -1
- package/dist/runtime/src/mcp/session-comm/server.ts +37 -17
- package/dist/runtime/src/mcp/session-comm/topics.ts +55 -32
- package/dist/runtime/src/platform/mcp-config.ts +1 -1
- package/dist/runtime/src/platform/playwright/browser-processes.ts +341 -0
- package/dist/runtime/src/platform/playwright/manager-utils.ts +84 -0
- package/dist/runtime/src/platform/playwright/manager.ts +31 -425
- package/dist/runtime/src/query/active-rooms.ts +6 -6
- package/dist/runtime/src/query/state.ts +39 -71
- package/dist/runtime/src/runtime/tasks.ts +13 -2
- package/dist/runtime/src/runtime/turn-event-stream.ts +780 -0
- package/dist/runtime/src/runtime/turn-runner.ts +33 -843
- package/dist/runtime/src/runtime/turn-session.ts +115 -0
- package/dist/runtime/src/storage/api-messages.ts +18 -0
- package/dist/runtime/src/topics/lifecycle.ts +1 -1
- package/dist/runtime/src/types.ts +3 -1
- package/dist/runtime/src/version.ts +1 -1
- package/dist/runtime-helpers.js.map +2 -2
- package/dist/storage.js +15 -1
- package/dist/storage.js.map +4 -4
- package/dist/types/packages/core/src/agents/maestro-provider.d.ts +0 -9
- package/dist/types/packages/core/src/query/active-rooms.d.ts +3 -3
- package/dist/types/packages/core/src/storage/api-messages.d.ts +2 -0
- package/dist/types/packages/core/src/types.d.ts +3 -1
- package/dist/types/packages/core/src/version.d.ts +1 -1
- package/dist/vault.js.map +1 -1
- package/package.json +2 -2
package/dist/agent-helpers.js
CHANGED
|
@@ -3519,7 +3519,7 @@ import { tmpdir } from "os";
|
|
|
3519
3519
|
import { dirname as dirname7, join as join11 } from "path";
|
|
3520
3520
|
|
|
3521
3521
|
// ../../packages/core/src/version.ts
|
|
3522
|
-
var NEGOTIUM_VERSION = "0.1.
|
|
3522
|
+
var NEGOTIUM_VERSION = "0.1.32";
|
|
3523
3523
|
|
|
3524
3524
|
// ../../packages/core/src/agents/codex-native-multi-agent.ts
|
|
3525
3525
|
var moduleRequire = createRequire(import.meta.url);
|
|
@@ -4463,7 +4463,6 @@ function maestroProvider(opts) {
|
|
|
4463
4463
|
const callerDisallowedTools = opts.disallowedTools ?? [];
|
|
4464
4464
|
const callerToolHooks = opts.toolHooks ?? [];
|
|
4465
4465
|
const sdkOpts = {
|
|
4466
|
-
enableBackgroundBash: false,
|
|
4467
4466
|
maxTokens: MAESTRO_DEFAULT_MAX_TOKENS,
|
|
4468
4467
|
enableToolSearch: true,
|
|
4469
4468
|
...opts,
|
|
@@ -4540,6 +4539,9 @@ function resolveTaskEventScope(opts, host = defaultTaskEventHost) {
|
|
|
4540
4539
|
}
|
|
4541
4540
|
async function* withTaskSnapshots(inner, scope, host = defaultTaskEventHost) {
|
|
4542
4541
|
let lastMtime = host.taskFileMtimeNs(scope.userId, scope.scopeKey);
|
|
4542
|
+
if (host.readTasks(scope.userId, scope.scopeKey).length === 0) {
|
|
4543
|
+
yield { type: "tasks", tasks: [] };
|
|
4544
|
+
}
|
|
4543
4545
|
for await (const event of inner) {
|
|
4544
4546
|
yield event;
|
|
4545
4547
|
if (event.type !== "tool_result" && event.type !== "result")
|
|
@@ -6229,8 +6231,8 @@ var roomQueryRegistry = createRoomQueryRegistry({
|
|
|
6229
6231
|
releaseLease: releaseRuntimeTurnLease,
|
|
6230
6232
|
requestAbort: requestRuntimeTurnAbort
|
|
6231
6233
|
});
|
|
6232
|
-
function getRoomQuery(
|
|
6233
|
-
return roomQueryRegistry.get(
|
|
6234
|
+
function getRoomQuery(roomId) {
|
|
6235
|
+
return roomQueryRegistry.get(roomId);
|
|
6234
6236
|
}
|
|
6235
6237
|
class InterSessionQueue {
|
|
6236
6238
|
queue = new Map;
|
|
@@ -6869,4 +6871,4 @@ export {
|
|
|
6869
6871
|
MIN_MEMORY_ARCHIVE_EXCHANGES
|
|
6870
6872
|
};
|
|
6871
6873
|
|
|
6872
|
-
//# debugId=
|
|
6874
|
+
//# debugId=4FACA65AFA26F67B64756E2164756E21
|