@sesamespace/hivemind 0.8.0 → 0.8.1

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 (32) hide show
  1. package/dist/{chunk-YDD5EZ46.js → chunk-ELFD4Y4W.js} +2 -2
  2. package/dist/{chunk-GOW62FNS.js → chunk-ERR5JR42.js} +2 -2
  3. package/dist/{chunk-R6XIZH3I.js → chunk-TL4GV2TJ.js} +3 -3
  4. package/dist/{chunk-LDTBAMQY.js → chunk-WAX2THXK.js} +2 -2
  5. package/dist/{chunk-A7X4FKQZ.js → chunk-WSLVHVNP.js} +3 -2
  6. package/dist/chunk-WSLVHVNP.js.map +1 -0
  7. package/dist/commands/fleet.js +3 -3
  8. package/dist/commands/start.js +3 -3
  9. package/dist/commands/watchdog.js +3 -3
  10. package/dist/index.js +2 -2
  11. package/dist/main.js +5 -5
  12. package/dist/start.js +1 -1
  13. package/install.sh +120 -0
  14. package/package.json +25 -22
  15. package/packages/memory/Cargo.lock +6480 -0
  16. package/packages/memory/Cargo.toml +21 -0
  17. package/packages/memory/src/src/context.rs +179 -0
  18. package/packages/memory/src/src/embeddings.rs +51 -0
  19. package/packages/memory/src/src/main.rs +626 -0
  20. package/packages/memory/src/src/promotion.rs +637 -0
  21. package/packages/memory/src/src/scoring.rs +131 -0
  22. package/packages/memory/src/src/store.rs +460 -0
  23. package/packages/memory/src/src/tasks.rs +321 -0
  24. package/.pnpmrc.json +0 -1
  25. package/DASHBOARD-PLAN.md +0 -206
  26. package/TOOL-USE-DESIGN.md +0 -173
  27. package/dist/chunk-A7X4FKQZ.js.map +0 -1
  28. package/docs/TOOL-PARITY-PLAN.md +0 -191
  29. /package/dist/{chunk-YDD5EZ46.js.map → chunk-ELFD4Y4W.js.map} +0 -0
  30. /package/dist/{chunk-GOW62FNS.js.map → chunk-ERR5JR42.js.map} +0 -0
  31. /package/dist/{chunk-R6XIZH3I.js.map → chunk-TL4GV2TJ.js.map} +0 -0
  32. /package/dist/{chunk-LDTBAMQY.js.map → chunk-WAX2THXK.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  FleetManager
3
- } from "./chunk-GOW62FNS.js";
3
+ } from "./chunk-ERR5JR42.js";
4
4
 
5
5
  // packages/cli/src/commands/fleet.ts
6
6
  function formatUptime(seconds) {
@@ -183,4 +183,4 @@ Commands:
183
183
  export {
184
184
  runFleetCommand
185
185
  };
186
- //# sourceMappingURL=chunk-YDD5EZ46.js.map
186
+ //# sourceMappingURL=chunk-ELFD4Y4W.js.map
@@ -6,7 +6,7 @@ import {
6
6
  PRIMARY_ROUTES,
7
7
  SesameClient,
8
8
  WORKER_ROUTES
9
- } from "./chunk-A7X4FKQZ.js";
9
+ } from "./chunk-WSLVHVNP.js";
10
10
 
11
11
  // packages/runtime/src/watchdog.ts
12
12
  import { execSync } from "child_process";
@@ -1048,4 +1048,4 @@ export {
1048
1048
  WorkerMemorySync,
1049
1049
  PrimaryMemorySync
1050
1050
  };
1051
- //# sourceMappingURL=chunk-GOW62FNS.js.map
1051
+ //# sourceMappingURL=chunk-ERR5JR42.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Watchdog
3
- } from "./chunk-GOW62FNS.js";
3
+ } from "./chunk-ERR5JR42.js";
4
4
  import {
5
5
  defaultSentinelConfig,
6
6
  loadConfig
7
- } from "./chunk-A7X4FKQZ.js";
7
+ } from "./chunk-WSLVHVNP.js";
8
8
 
9
9
  // packages/cli/src/commands/watchdog.ts
10
10
  import { resolve } from "path";
@@ -76,4 +76,4 @@ Options:
76
76
  export {
77
77
  runWatchdogCommand
78
78
  };
79
- //# sourceMappingURL=chunk-R6XIZH3I.js.map
79
+ //# sourceMappingURL=chunk-TL4GV2TJ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  startPipeline
3
- } from "./chunk-A7X4FKQZ.js";
3
+ } from "./chunk-WSLVHVNP.js";
4
4
 
5
5
  // packages/cli/src/commands/start.ts
6
6
  import { resolve } from "path";
@@ -66,4 +66,4 @@ Options:
66
66
  export {
67
67
  runStartCommand
68
68
  };
69
- //# sourceMappingURL=chunk-LDTBAMQY.js.map
69
+ //# sourceMappingURL=chunk-WAX2THXK.js.map
@@ -3052,7 +3052,8 @@ var ToolRegistry = class {
3052
3052
  async executeCall(call) {
3053
3053
  let params = {};
3054
3054
  try {
3055
- params = JSON.parse(call.function.arguments);
3055
+ const raw = call.function.arguments;
3056
+ params = raw && raw.trim() ? JSON.parse(raw) : {};
3056
3057
  } catch {
3057
3058
  return {
3058
3059
  tool_call_id: call.id,
@@ -6499,4 +6500,4 @@ smol-toml/dist/index.js:
6499
6500
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6500
6501
  *)
6501
6502
  */
6502
- //# sourceMappingURL=chunk-A7X4FKQZ.js.map
6503
+ //# sourceMappingURL=chunk-WSLVHVNP.js.map