zooid 0.16.0 → 0.17.0

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/bin.js CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  ApprovalCorrelator,
4
+ ElicitationCorrelator,
4
5
  MatrixClient,
5
6
  MediaClient,
6
7
  SpawnRegistry,
@@ -20,7 +21,7 @@ import {
20
21
  renderTemplate,
21
22
  startAgentSocketServers,
22
23
  startWorkforcePublisher
23
- } from "./chunk-HE7DVDJA.js";
24
+ } from "./chunk-5IYDKH2D.js";
24
25
 
25
26
  // src/bin.ts
26
27
  import { resolve as resolve8 } from "path";
@@ -1100,6 +1101,7 @@ async function startDaemon(opts = {}) {
1100
1101
  const base = loadZooidConfig(readFileSync6(found.path, "utf8"), { configDir, validateCron });
1101
1102
  const config = mergeCliFlags(base, opts.cliFlags ?? {});
1102
1103
  const approvals = new ApprovalCorrelator();
1104
+ const elicitations = new ElicitationCorrelator();
1103
1105
  const runDir = opts.agentsDir ? join8(opts.agentsDir, "..", "run") : join8(tmpdir(), `zooid-context-${process.pid}`);
1104
1106
  await mkdir(runDir, { recursive: true }).catch(() => {
1105
1107
  });
@@ -1112,6 +1114,7 @@ async function startDaemon(opts = {}) {
1112
1114
  const dataDir = opts.agentsDir ? dirname3(opts.agentsDir) : void 0;
1113
1115
  const registry = buildAcpRegistry(config, {
1114
1116
  approvals,
1117
+ elicitations,
1115
1118
  onTap: opts.onTap,
1116
1119
  onLifecycle: opts.onLifecycle,
1117
1120
  agentsDir: opts.agentsDir,
@@ -1207,6 +1210,7 @@ async function startDaemon(opts = {}) {
1207
1210
  const transport = createMatrixTransport({
1208
1211
  agents: registry,
1209
1212
  approvals,
1213
+ elicitations,
1210
1214
  client,
1211
1215
  bindings,
1212
1216
  hsToken: matrix.transport.hs_token,