@adhdev/daemon-standalone 0.9.82-rc.187 → 0.9.82-rc.188

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,9 +7,9 @@
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-BAFIjFAU.js"></script>
10
+ <script type="module" crossorigin src="/assets/index-Du2Maw3Y.js"></script>
11
11
  <link rel="modulepreload" crossorigin href="/assets/vendor-BwuWgaJI.js">
12
- <link rel="stylesheet" crossorigin href="/assets/index-Du2W0r8n.css">
12
+ <link rel="stylesheet" crossorigin href="/assets/index-Bgt2DRUK.css">
13
13
  </head>
14
14
  <body>
15
15
  <!-- Apply theme immediately to prevent FOIT (Flash of Incorrect Theme) -->
@@ -1509,6 +1509,7 @@ function countUncommittedChanges(status) {
1509
1509
  function isGitStatusDirty(status) {
1510
1510
  if (typeof status?.isDirty === "boolean") return status.isDirty;
1511
1511
  if (typeof status?.dirty === "boolean") return status.dirty;
1512
+ if (Array.isArray(status?.submodules) && status.submodules.some((submodule) => submodule?.dirty || submodule?.outOfSync || submodule?.error)) return true;
1512
1513
  return countUncommittedChanges(status) > 0;
1513
1514
  }
1514
1515
  function slimLedgerPayload(payload) {
@@ -1810,9 +1811,14 @@ async function drainCoordinatorPendingEvents(ctx, opts) {
1810
1811
  const matchesCurrentMesh = (event) => readString(event?.meshId) === ctx.mesh.id;
1811
1812
  if (ctx.transport instanceof IpcTransport) {
1812
1813
  const surfacedEvents = [];
1814
+ const coordinatorDaemonId = readString(ctx.localDaemonId);
1815
+ const pendingEventArgs = {
1816
+ meshId: ctx.mesh.id,
1817
+ ...coordinatorDaemonId ? { coordinatorDaemonId } : {}
1818
+ };
1813
1819
  try {
1814
1820
  surfacedEvents.push(
1815
- ...normalizePendingMeshCoordinatorEvents(await ctx.transport.command("get_pending_mesh_events", { meshId: ctx.mesh.id })).filter(matchesCurrentMesh)
1821
+ ...normalizePendingMeshCoordinatorEvents(await ctx.transport.command("get_pending_mesh_events", pendingEventArgs)).filter(matchesCurrentMesh)
1816
1822
  );
1817
1823
  surfacedEvents.forEach(rememberMeshSessionProviderMetadataFromEvent);
1818
1824
  } catch {
@@ -1822,7 +1828,7 @@ async function drainCoordinatorPendingEvents(ctx, opts) {
1822
1828
  if (requestedNodeIds && !requestedNodeIds.has(node.id)) continue;
1823
1829
  try {
1824
1830
  const remoteEvents = normalizePendingMeshCoordinatorEvents(
1825
- await ctx.transport.meshCommand(node.daemonId, "get_pending_mesh_events", { meshId: ctx.mesh.id })
1831
+ await ctx.transport.meshCommand(node.daemonId, "get_pending_mesh_events", pendingEventArgs)
1826
1832
  ).filter(matchesCurrentMesh);
1827
1833
  if (remoteEvents.length === 0) continue;
1828
1834
  for (const event of remoteEvents) {
@@ -1836,7 +1842,7 @@ async function drainCoordinatorPendingEvents(ctx, opts) {
1836
1842
  }
1837
1843
  try {
1838
1844
  surfacedEvents.push(
1839
- ...normalizePendingMeshCoordinatorEvents(await ctx.transport.command("get_pending_mesh_events", { meshId: ctx.mesh.id })).filter(matchesCurrentMesh)
1845
+ ...normalizePendingMeshCoordinatorEvents(await ctx.transport.command("get_pending_mesh_events", pendingEventArgs)).filter(matchesCurrentMesh)
1840
1846
  );
1841
1847
  surfacedEvents.forEach(rememberMeshSessionProviderMetadataFromEvent);
1842
1848
  } catch {