negotium 0.1.37 → 0.1.38
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 +8 -8
- package/dist/agent-helpers.js.map +7 -6
- package/dist/hosted-agent.js +8 -8
- package/dist/hosted-agent.js.map +6 -5
- package/dist/main.js +193 -24
- package/dist/main.js.map +17 -13
- package/dist/query-runtime.js +2 -1
- package/dist/query-runtime.js.map +4 -4
- package/dist/runtime/src/index.ts +1 -1
- package/dist/runtime/src/platform/mcp-config.ts +2 -4
- package/dist/runtime/src/platform/playwright/browser-processes.ts +3 -2
- package/dist/runtime/src/platform/playwright/capability.ts +5 -0
- package/dist/runtime/src/platform/playwright/manager.ts +57 -16
- package/dist/runtime/src/platform/playwright/transport-probe.ts +89 -0
- package/dist/runtime/src/query/active-rooms.ts +2 -0
- package/dist/runtime/src/query/types.ts +1 -0
- package/dist/runtime/src/runtime/playwright-turn-abort.ts +59 -0
- package/dist/runtime/src/runtime/turn-event-stream.ts +23 -6
- package/dist/runtime/src/runtime/turn-runner.ts +6 -1
- package/dist/runtime/src/version.ts +1 -1
- package/dist/types/packages/core/src/platform/mcp-config.d.ts +2 -1
- package/dist/types/packages/core/src/platform/playwright/capability.d.ts +1 -0
- package/dist/types/packages/core/src/platform/playwright/manager.d.ts +9 -3
- package/dist/types/packages/core/src/platform/playwright/transport-probe.d.ts +13 -0
- package/dist/types/packages/core/src/query/active-rooms.d.ts +2 -0
- package/dist/types/packages/core/src/query/types.d.ts +2 -1
- package/dist/types/packages/core/src/runtime/playwright-turn-abort.d.ts +12 -0
- package/dist/types/packages/core/src/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/agent-helpers.js
CHANGED
|
@@ -2246,9 +2246,6 @@ var isVaultBrokerTool = defaultVaultToolPolicy.isVaultBrokerTool;
|
|
|
2246
2246
|
var referencesRuntimeSecretStorage = defaultVaultToolPolicy.referencesRuntimeSecretStorage;
|
|
2247
2247
|
var shouldRedirectVaultTool = defaultVaultToolPolicy.shouldRedirectVaultTool;
|
|
2248
2248
|
|
|
2249
|
-
// ../../packages/core/src/platform/mcp-config.ts
|
|
2250
|
-
import { createHmac as createHmac3 } from "crypto";
|
|
2251
|
-
|
|
2252
2249
|
// ../../packages/core/src/mcp/canonical-bridge-config.ts
|
|
2253
2250
|
var registrations = [];
|
|
2254
2251
|
var turnLeases = new Map;
|
|
@@ -2537,6 +2534,12 @@ function commonRuntimeMcpPolicy(name) {
|
|
|
2537
2534
|
return COMMON_RUNTIME_MCP_POLICY[name];
|
|
2538
2535
|
}
|
|
2539
2536
|
|
|
2537
|
+
// ../../packages/core/src/platform/playwright/capability.ts
|
|
2538
|
+
import { createHmac as createHmac3 } from "crypto";
|
|
2539
|
+
function browserOwnerCapability(capability, owner) {
|
|
2540
|
+
return createHmac3("sha256", capability).update(owner).digest("hex");
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2540
2543
|
// ../../packages/core/src/platform/mcp-config.ts
|
|
2541
2544
|
function buildStdioMcpServer(agent, serverFile, serverArgs, env) {
|
|
2542
2545
|
if (agent === "codex") {
|
|
@@ -2576,9 +2579,6 @@ function _markPlaywrightUnavailable(ctx) {
|
|
|
2576
2579
|
}
|
|
2577
2580
|
}
|
|
2578
2581
|
var CODEX_BROWSER_CAPABILITY_ENV = "NEGOTIUM_BROWSER_CAPABILITY";
|
|
2579
|
-
function browserOwnerCapability(capability, owner) {
|
|
2580
|
-
return createHmac3("sha256", capability).update(owner).digest("hex");
|
|
2581
|
-
}
|
|
2582
2582
|
function browserOwnerForContext(ctx) {
|
|
2583
2583
|
if (ctx.topicId)
|
|
2584
2584
|
return `topic:${ctx.topicId}`;
|
|
@@ -3587,7 +3587,7 @@ import { tmpdir } from "os";
|
|
|
3587
3587
|
import { dirname as dirname7, join as join11 } from "path";
|
|
3588
3588
|
|
|
3589
3589
|
// ../../packages/core/src/version.ts
|
|
3590
|
-
var NEGOTIUM_VERSION = "0.1.
|
|
3590
|
+
var NEGOTIUM_VERSION = "0.1.38";
|
|
3591
3591
|
|
|
3592
3592
|
// ../../packages/core/src/agents/codex-native-multi-agent.ts
|
|
3593
3593
|
var moduleRequire = createRequire(import.meta.url);
|
|
@@ -7124,4 +7124,4 @@ export {
|
|
|
7124
7124
|
MIN_MEMORY_ARCHIVE_EXCHANGES
|
|
7125
7125
|
};
|
|
7126
7126
|
|
|
7127
|
-
//# debugId=
|
|
7127
|
+
//# debugId=4DAAFD3CF75CCDD464756E2164756E21
|