negotium 0.22.5 → 0.22.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 (33) hide show
  1. package/dist/agent-helpers.js +56 -18
  2. package/dist/agent-helpers.js.map +7 -7
  3. package/dist/browser-runtime.js +38 -11
  4. package/dist/browser-runtime.js.map +4 -4
  5. package/dist/{chunk-7rpbcn1j.js → chunk-1gznvrth.js} +3 -3
  6. package/dist/{chunk-7rpbcn1j.js.map → chunk-1gznvrth.js.map} +2 -2
  7. package/dist/{chunk-vh8px000.js → chunk-pr8p6pap.js} +7 -2
  8. package/dist/{chunk-vh8px000.js.map → chunk-pr8p6pap.js.map} +3 -3
  9. package/dist/{chunk-a3me2mje.js → chunk-z4r7tt2p.js} +1 -1
  10. package/dist/hosted-agent.js +8 -3
  11. package/dist/hosted-agent.js.map +4 -4
  12. package/dist/main.js +86 -19
  13. package/dist/main.js.map +9 -9
  14. package/dist/mcp-factories.js +56 -18
  15. package/dist/mcp-factories.js.map +7 -7
  16. package/dist/registry.js +3 -3
  17. package/dist/rollout.js +2 -2
  18. package/dist/runtime/src/platform/playwright/manager.ts +77 -15
  19. package/dist/runtime/src/storage/api-topics.ts +6 -0
  20. package/dist/runtime/src/storage/browser-profiles.ts +18 -0
  21. package/dist/runtime/src/topics/lifecycle.ts +2 -5
  22. package/dist/runtime/src/topics/update.ts +37 -0
  23. package/dist/runtime/src/types/api.ts +6 -0
  24. package/dist/runtime/src/version.ts +1 -1
  25. package/dist/storage.js +7 -2
  26. package/dist/storage.js.map +3 -3
  27. package/dist/types/packages/core/src/platform/playwright/manager.d.ts +8 -0
  28. package/dist/types/packages/core/src/storage/api-topics.d.ts +1 -0
  29. package/dist/types/packages/core/src/storage/browser-profiles.d.ts +4 -0
  30. package/dist/types/packages/core/src/types/api.d.ts +6 -0
  31. package/dist/types/packages/core/src/version.d.ts +1 -1
  32. package/package.json +1 -1
  33. /package/dist/{chunk-a3me2mje.js.map → chunk-z4r7tt2p.js.map} +0 -0
@@ -8,7 +8,7 @@ import {
8
8
  logger,
9
9
  parseJsonlText,
10
10
  writeJsonlFile
11
- } from "./chunk-vh8px000.js";
11
+ } from "./chunk-pr8p6pap.js";
12
12
 
13
13
  // ../../packages/core/src/agents/rollout/claude.ts
14
14
  import { randomUUID } from "crypto";
@@ -1703,6 +1703,7 @@ function initializeApiTopicsSchema() {
1703
1703
  surface_scope TEXT,
1704
1704
  browser_profile TEXT NOT NULL DEFAULT 'default',
1705
1705
  browser_profile_owner TEXT,
1706
+ browser_connect_port INTEGER,
1706
1707
  session_id TEXT,
1707
1708
  CHECK (
1708
1709
  (kind = 'channel' AND response_policy = 'off' AND agent IS NULL) OR
@@ -1820,6 +1821,9 @@ function initializeApiTopicsSchema() {
1820
1821
  if (!tableColumns("api_topics").has("browser_profile_owner")) {
1821
1822
  db.exec("ALTER TABLE api_topics ADD COLUMN browser_profile_owner TEXT");
1822
1823
  }
1824
+ if (!tableColumns("api_topics").has("browser_connect_port")) {
1825
+ db.exec("ALTER TABLE api_topics ADD COLUMN browser_connect_port INTEGER");
1826
+ }
1823
1827
  if (!tableColumns("api_topics").has("subagent_report_mode")) {
1824
1828
  db.exec("ALTER TABLE api_topics ADD COLUMN subagent_report_mode TEXT NOT NULL DEFAULT 'auto'");
1825
1829
  }
@@ -2057,7 +2061,8 @@ function rowToDto(r, participants = getTopicParticipants(r.id), tellTargets) {
2057
2061
  } : {},
2058
2062
  visibility: normalizeTopicVisibility(r.visibility),
2059
2063
  surface: normalizeTopicSurface(r.surface),
2060
- surfaceScope: normalizeSurfaceScope(r.surface_scope)
2064
+ surfaceScope: normalizeSurfaceScope(r.surface_scope),
2065
+ ...r.browser_connect_port != null ? { browserConnectPort: r.browser_connect_port } : {}
2061
2066
  };
2062
2067
  }
2063
2068
  function normalizeTopicVisibility(value) {
@@ -3590,7 +3595,7 @@ import { tmpdir } from "os";
3590
3595
  import { dirname as dirname5, join as join3 } from "path";
3591
3596
 
3592
3597
  // ../../packages/core/src/version.ts
3593
- var NEGOTIUM_VERSION = "0.22.5";
3598
+ var NEGOTIUM_VERSION = "0.22.7";
3594
3599
 
3595
3600
  // ../../packages/core/src/agents/codex-native-multi-agent.ts
3596
3601
  var moduleRequire = createRequire(import.meta.url);
@@ -5649,4 +5654,4 @@ export {
5649
5654
  buildClaudeDisallowedTools
5650
5655
  };
5651
5656
 
5652
- //# debugId=408BB69E04535D8664756E2164756E21
5657
+ //# debugId=B305FCBE3879A96B64756E2164756E21