@adhdev/daemon-standalone 0.9.82-rc.554 → 0.9.82-rc.556

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,7 +7,7 @@
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-6LQExHHi.js"></script>
10
+ <script type="module" crossorigin src="/assets/index-Ct_5xMxw.js"></script>
11
11
  <link rel="modulepreload" crossorigin href="/assets/vendor-MlvUnxKA.js">
12
12
  <link rel="stylesheet" crossorigin href="/assets/index-CNfxY8py.css">
13
13
  </head>
@@ -6930,7 +6930,15 @@ async function meshLaunchSession(ctx, args) {
6930
6930
  try {
6931
6931
  const statusResult = await commandForNode(ctx, node, "get_status_metadata", {});
6932
6932
  const sessions = extractStatusMetadataSessions(statusResult);
6933
- const existing = sessions.find((session) => !isTerminalSessionRecord(session) && isMeshOwnedDelegateSession(session, ctx.mesh.id, args.node_id));
6933
+ const existing = sessions.find((session) => {
6934
+ if (isTerminalSessionRecord(session)) return false;
6935
+ if (!isMeshOwnedDelegateSession(session, ctx.mesh.id, args.node_id)) return false;
6936
+ if (resolvedProviderType) {
6937
+ const sessionProviderType = resolveSessionProviderType(session);
6938
+ if (sessionProviderType && sessionProviderType !== resolvedProviderType) return false;
6939
+ }
6940
+ return true;
6941
+ });
6934
6942
  if (existing) {
6935
6943
  const existingSessionId = readSessionRecordId(existing);
6936
6944
  if (existingSessionId) {