@adhdev/daemon-standalone 1.0.31 → 1.0.32-rc.2

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/public/index.html CHANGED
@@ -7,8 +7,8 @@
7
7
  <meta name="description" content="ADHDev self-hosted dashboard for controlling AI agents" />
8
8
  <link rel="icon" href="/otter-logo.png" />
9
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet" />
10
- <script type="module" crossorigin src="/assets/index-lXuAcqlb.js"></script>
11
- <link rel="modulepreload" crossorigin href="/assets/vendor-cL4V2vaO.js">
10
+ <script type="module" crossorigin src="/assets/index-CYjQsV8D.js"></script>
11
+ <link rel="modulepreload" crossorigin href="/assets/vendor-DyCWA2YZ.js">
12
12
  <link rel="stylesheet" crossorigin href="/assets/index-DaANjDZS.css">
13
13
  </head>
14
14
  <body>
@@ -6971,17 +6971,15 @@ async function meshSendTask(ctx, args) {
6971
6971
  via: "p2p_direct",
6972
6972
  dispatchedAt
6973
6973
  });
6974
- if (missionId) {
6975
- (0, import_daemon_core4.recordDirectDispatchTask)(ctx.mesh.id, message, {
6976
- id: taskId,
6977
- missionId,
6978
- assignedNodeId: args.node_id,
6979
- assignedSessionId: dispatchedSessionId,
6980
- taskMode,
6981
- ...readonly ? { readonly: true } : {},
6982
- dispatchedAt
6983
- });
6984
- }
6974
+ (0, import_daemon_core4.recordDirectDispatchTask)(ctx.mesh.id, message, {
6975
+ id: taskId,
6976
+ ...missionId ? { missionId } : {},
6977
+ assignedNodeId: args.node_id,
6978
+ assignedSessionId: dispatchedSessionId,
6979
+ taskMode,
6980
+ ...readonly ? { readonly: true } : {},
6981
+ dispatchedAt
6982
+ });
6985
6983
  } catch {
6986
6984
  }
6987
6985
  }
@@ -7173,19 +7171,17 @@ async function meshSendTask(ctx, args) {
7173
7171
  error: dispatchPayload?.error || dispatchResult?.error || "agent_command rejected the task"
7174
7172
  });
7175
7173
  }
7176
- if (missionId) {
7177
- try {
7178
- (0, import_daemon_core4.recordDirectDispatchTask)(ctx.mesh.id, message, {
7179
- id: taskId,
7180
- missionId,
7181
- assignedNodeId: args.node_id,
7182
- assignedSessionId: args.session_id,
7183
- taskMode,
7184
- ...readonly ? { readonly: true } : {},
7185
- dispatchedAt
7186
- });
7187
- } catch {
7188
- }
7174
+ try {
7175
+ (0, import_daemon_core4.recordDirectDispatchTask)(ctx.mesh.id, message, {
7176
+ id: taskId,
7177
+ ...missionId ? { missionId } : {},
7178
+ assignedNodeId: args.node_id,
7179
+ assignedSessionId: args.session_id,
7180
+ taskMode,
7181
+ ...readonly ? { readonly: true } : {},
7182
+ dispatchedAt
7183
+ });
7184
+ } catch {
7189
7185
  }
7190
7186
  let deliveryId;
7191
7187
  try {