@cleocode/cleo 2026.9.23 → 2026.9.25

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 (72) hide show
  1. package/dist/cli/index.js +1783 -580
  2. package/package.json +13 -13
  3. package/studio-dist/client/_app/immutable/chunks/BeqrF76J.js +3 -0
  4. package/studio-dist/client/_app/immutable/chunks/{DlnXUEcN.js → CcEmirN4.js} +1 -1
  5. package/studio-dist/client/_app/immutable/chunks/DRFhIGr1.js +1 -0
  6. package/studio-dist/client/_app/immutable/chunks/{VqMa-FR_.js → Dj9Ite4c.js} +1 -1
  7. package/studio-dist/client/_app/immutable/entry/{app.CXLixB0X.js → app.tPQyYZoK.js} +2 -2
  8. package/studio-dist/client/_app/immutable/entry/start.TCOC0qnN.js +1 -0
  9. package/studio-dist/client/_app/immutable/nodes/{0.D34GfsBr.js → 0.BVYdqJjU.js} +1 -1
  10. package/studio-dist/client/_app/immutable/nodes/{1.COzO-K-Z.js → 1.DJbQn5Aq.js} +1 -1
  11. package/studio-dist/client/_app/immutable/nodes/{15.CkLwS1y2.js → 15.DFLciLwG.js} +1 -1
  12. package/studio-dist/client/_app/immutable/nodes/{16.C2MFh329.js → 16.BgshH5yX.js} +1 -1
  13. package/studio-dist/client/_app/immutable/nodes/{17.CLdLJ6ju.js → 17.BQZJRQ5A.js} +1 -1
  14. package/studio-dist/client/_app/immutable/nodes/{18.ClGsX0an.js → 18.B_YK1P9Z.js} +1 -1
  15. package/studio-dist/client/_app/immutable/nodes/{20.vQtazQa0.js → 20.Dls8MCe1.js} +1 -1
  16. package/studio-dist/client/_app/immutable/nodes/{24.DLwR4-7S.js → 24.IXvinnru.js} +1 -1
  17. package/studio-dist/client/_app/immutable/nodes/{25.DUuYls4x.js → 25.BEebPQVq.js} +2 -2
  18. package/studio-dist/client/_app/immutable/nodes/{26.BZ-Sb3tl.js → 26.B7CS0G5p.js} +1 -1
  19. package/studio-dist/client/_app/immutable/nodes/{3.CYwLXdQ4.js → 3.CdayxXUQ.js} +1 -1
  20. package/studio-dist/client/_app/version.json +1 -1
  21. package/studio-dist/server/chunks/{0-BlM3YDpC.js → 0-AF3xrUkn.js} +5 -4
  22. package/studio-dist/server/chunks/1-DcpAzosv.js +9 -0
  23. package/studio-dist/server/chunks/{15-D4Y9me2S.js → 15-D0fpXhAY.js} +3 -3
  24. package/studio-dist/server/chunks/{16-BNVAfz5X.js → 16-DvOEuR2L.js} +3 -3
  25. package/studio-dist/server/chunks/{17-ByJg8VAI.js → 17-B0jymkfA.js} +3 -3
  26. package/studio-dist/server/chunks/{18-mcGKywiH.js → 18-s4VnOMua.js} +3 -3
  27. package/studio-dist/server/chunks/{20-D4RXMRdA.js → 20-B1I-AIgl.js} +5 -4
  28. package/studio-dist/server/chunks/{23-D2H9OSJf.js → 23-D194DGVi.js} +3 -2
  29. package/studio-dist/server/chunks/{24-BZesRs_l.js → 24-Cd9TIy6S.js} +5 -4
  30. package/studio-dist/server/chunks/{25-BPtkcHWk.js → 25-CqxPBOK6.js} +4 -4
  31. package/studio-dist/server/chunks/{26-D7qW4CZ3.js → 26-CSVz9wrd.js} +3 -3
  32. package/studio-dist/server/chunks/{3-Csrn9tNa.js → 3-CnvKWYCF.js} +5 -5
  33. package/studio-dist/server/chunks/{_layout.svelte-DtqTR50-.js → _layout.svelte-DHaVs7sR.js} +4 -4
  34. package/studio-dist/server/chunks/{_page.svelte-DTqKOclg.js → _page.svelte-3f1I0RBM.js} +3 -3
  35. package/studio-dist/server/chunks/{_page.svelte-DESqb1iT.js → _page.svelte-B4hpnUVn.js} +3 -3
  36. package/studio-dist/server/chunks/{_page.svelte-CyGNoYGs.js → _page.svelte-BQ3d309E.js} +3 -3
  37. package/studio-dist/server/chunks/{_page.svelte-Ce2_fPzl.js → _page.svelte-Birr_Gmr.js} +4 -4
  38. package/studio-dist/server/chunks/{_page.svelte-BkrxW4NS.js → _page.svelte-C2xIuyWy.js} +3 -3
  39. package/studio-dist/server/chunks/{_page.svelte-BlDOqWK_.js → _page.svelte-CHQ7E1xk.js} +3 -3
  40. package/studio-dist/server/chunks/{_page.svelte-DxctlP-t.js → _page.svelte-CW--O2H7.js} +3 -3
  41. package/studio-dist/server/chunks/{_page.svelte-Dj05GrDh.js → _page.svelte-DHso8H-7.js} +3 -3
  42. package/studio-dist/server/chunks/{_page.svelte-C9lhMoUX.js → _page.svelte-Do5ujrFm.js} +5 -5
  43. package/studio-dist/server/chunks/{_server.ts-B23PRUg6.js → _server.ts-10Z9UtEP.js} +3 -3
  44. package/studio-dist/server/chunks/{_server.ts-BPzV5a4O.js → _server.ts-BF8dYynr.js} +3 -3
  45. package/studio-dist/server/chunks/{_server.ts-BLEs7rDo.js → _server.ts-BNaQ_u-J.js} +3 -3
  46. package/studio-dist/server/chunks/{_server.ts-BhoAYR43.js → _server.ts-CFMss8Ec.js} +3 -3
  47. package/studio-dist/server/chunks/{_server.ts-CyXruf03.js → _server.ts-CUDHRtqK.js} +2 -2
  48. package/studio-dist/server/chunks/{_server.ts-BCPpAOST.js → _server.ts-CVQlKiss.js} +3 -2
  49. package/studio-dist/server/chunks/{_server.ts-DUgUi5r_.js → _server.ts-CmOf90SL.js} +2 -2
  50. package/studio-dist/server/chunks/{_server.ts-D7JwQTun.js → _server.ts-DRFQht0c.js} +3 -2
  51. package/studio-dist/server/chunks/{_server.ts-D64WqH4h.js → _server.ts-DfzvMeMr.js} +3 -3
  52. package/studio-dist/server/chunks/{_server.ts-D9JYb9Nh.js → _server.ts-DrRXPeYo.js} +3 -3
  53. package/studio-dist/server/chunks/{_server.ts-BtgcmXG8.js → _server.ts-DvaFTJ0E.js} +2 -2
  54. package/studio-dist/server/chunks/{_server.ts-CjJYkLJH.js → _server.ts-YrmdROs2.js} +3 -2
  55. package/studio-dist/server/chunks/{_server.ts-ChoGyX5C.js → _server.ts-ZCA_Uz1x.js} +3 -2
  56. package/studio-dist/server/chunks/{_server.ts-5euivmMj.js → _server.ts-mGj6h26U.js} +3 -2
  57. package/studio-dist/server/chunks/{brain-DLXOLooR.js → brain-4-tWVd6k.js} +2 -2
  58. package/studio-dist/server/chunks/{client-D4Rhd5ed.js → client-CPa0CHb-.js} +2 -2
  59. package/studio-dist/server/chunks/{dist-DafBXQH9.js → dist-b2dqLZbk.js} +178 -23
  60. package/studio-dist/server/chunks/{error.svelte-BLd3ZRbJ.js → error.svelte-B4-aI-CN.js} +3 -3
  61. package/studio-dist/server/chunks/{hooks.server-CWBRp8NI.js → hooks.server-D2qbf3Zp.js} +3 -2
  62. package/studio-dist/server/chunks/{http-C-8-8Oq_.js → http-C8NM9yzE.js} +2 -2
  63. package/studio-dist/server/chunks/{internal-DxboZxyS.js → internal-Ba4D4YGm.js} +3 -3
  64. package/studio-dist/server/chunks/{project-context-BAXQmgch.js → project-context-CX-nfwL2.js} +7 -5
  65. package/studio-dist/server/chunks/{src-RK_h29uK.js → src-CeLZUrEE.js} +218 -24
  66. package/studio-dist/server/chunks/{stores-DFVE4LvP.js → stores-DsgjOOHe.js} +2 -2
  67. package/studio-dist/server/index.js +1 -1
  68. package/studio-dist/server/manifest.js +27 -27
  69. package/studio-dist/client/_app/immutable/chunks/CyNL2FJl.js +0 -1
  70. package/studio-dist/client/_app/immutable/chunks/DJ4ceMnt.js +0 -3
  71. package/studio-dist/client/_app/immutable/entry/start.C_VLyotS.js +0 -1
  72. package/studio-dist/server/chunks/1-DROdkBtZ.js +0 -9
@@ -1,12 +1,12 @@
1
1
  import { x as head, p as escape_html, j as ensure_array_like, m as attr_class, k as attr, t as attr_style, w as derived, v as stringify } from './dev-Br5zieNA.js';
2
- import { g as goto } from './client-D4Rhd5ed.js';
2
+ import { g as goto } from './client-CPa0CHb-.js';
3
3
  import { H as HeroHeader } from './HeroHeader-BrGN5WPw.js';
4
4
  import { a as Breadcrumb, B as Badge, C as Card } from './Tabs-DQKDflnT.js';
5
5
  import { B as Button } from './ui-CkQ-pCs3.js';
6
6
  import { a as StatusBadge, f as formatTime, g as gatesFromJson, P as PriorityBadge, S as SvgRenderer } from './tasks-sWuEmiGW.js';
7
7
  import './index-server-BgfA6C0S.js';
8
8
  import 'node:module';
9
- import './internal-DxboZxyS.js';
9
+ import './internal-Ba4D4YGm.js';
10
10
  import './utils-g564cUMV.js';
11
11
  import '@cleocode/core/tasks/agent-lifecycle-lane';
12
12
  import './StatBlock-jNsxycS1.js';
@@ -554,4 +554,4 @@ function _page($$renderer, $$props) {
554
554
  }
555
555
 
556
556
  export { _page as default };
557
- //# sourceMappingURL=_page.svelte-BlDOqWK_.js.map
557
+ //# sourceMappingURL=_page.svelte-CHQ7E1xk.js.map
@@ -1,12 +1,12 @@
1
1
  import { x as head, p as escape_html, m as attr_class, j as ensure_array_like, k as attr, t as attr_style, w as derived } from './dev-Br5zieNA.js';
2
- import { g as goto } from './client-D4Rhd5ed.js';
2
+ import { g as goto } from './client-CPa0CHb-.js';
3
3
  import { a as Breadcrumb, C as Card, T as Tabs } from './Tabs-DQKDflnT.js';
4
4
  import { c as TabPanel } from './ui-CkQ-pCs3.js';
5
5
  import { d as describeEdgeKind, E as EDGE_STYLE } from './no-face-up-B_3h6Hgs.js';
6
6
  import { C as CosmosRenderer, m as mapNexusRelationToEdgeKind } from './nexus-adapter-D1ryYG1Z.js';
7
7
  import './index-server-BgfA6C0S.js';
8
8
  import 'node:module';
9
- import './internal-DxboZxyS.js';
9
+ import './internal-Ba4D4YGm.js';
10
10
  import './utils-g564cUMV.js';
11
11
  import './cluster-label-layer-CysRMvhi.js';
12
12
 
@@ -229,4 +229,4 @@ function _page($$renderer, $$props) {
229
229
  }
230
230
 
231
231
  export { _page as default };
232
- //# sourceMappingURL=_page.svelte-DxctlP-t.js.map
232
+ //# sourceMappingURL=_page.svelte-CW--O2H7.js.map
@@ -1,12 +1,12 @@
1
1
  import { x as head, p as escape_html, j as ensure_array_like, m as attr_class, k as attr, t as attr_style, w as derived } from './dev-Br5zieNA.js';
2
- import { g as goto } from './client-D4Rhd5ed.js';
2
+ import { g as goto } from './client-CPa0CHb-.js';
3
3
  import { a as Breadcrumb, C as Card } from './Tabs-DQKDflnT.js';
4
4
  import { E as EmptyState, I as Input, C as ChipGroup, b as Chip } from './ui-CkQ-pCs3.js';
5
5
  import { d as describeEdgeKind, E as EDGE_STYLE } from './no-face-up-B_3h6Hgs.js';
6
6
  import { C as CosmosRenderer, a as adaptNexusMacro, m as mapNexusRelationToEdgeKind } from './nexus-adapter-D1ryYG1Z.js';
7
7
  import './index-server-BgfA6C0S.js';
8
8
  import 'node:module';
9
- import './internal-DxboZxyS.js';
9
+ import './internal-Ba4D4YGm.js';
10
10
  import './utils-g564cUMV.js';
11
11
  import './cluster-label-layer-CysRMvhi.js';
12
12
 
@@ -279,4 +279,4 @@ function _page($$renderer, $$props) {
279
279
  }
280
280
 
281
281
  export { _page as default };
282
- //# sourceMappingURL=_page.svelte-Dj05GrDh.js.map
282
+ //# sourceMappingURL=_page.svelte-DHso8H-7.js.map
@@ -1,9 +1,9 @@
1
1
  import { o as store_get, x as head, m as attr_class, p as escape_html, k as attr, j as ensure_array_like, t as attr_style, q as unsubscribe_stores, w as derived, v as stringify } from './dev-Br5zieNA.js';
2
2
  import 'node:module';
3
- import { T as TASK_STATUSES } from './dist-DafBXQH9.js';
4
- import { p as page } from './stores-DFVE4LvP.js';
3
+ import { T as TASK_STATUSES } from './dist-b2dqLZbk.js';
4
+ import { p as page } from './stores-DsgjOOHe.js';
5
5
  import { T as TaskSearchBox, F as FilterChipGroup, L as LabelsFilter, H as HierarchyTab, G as GraphTab, K as KanbanTab, E as EpicProgressCard, R as RecentActivityFeed, D as DetailDrawer } from './tasks-sWuEmiGW.js';
6
- import './client-D4Rhd5ed.js';
6
+ import './client-CPa0CHb-.js';
7
7
  import 'node:fs';
8
8
  import 'node:path';
9
9
  import './index-server-BgfA6C0S.js';
@@ -12,7 +12,7 @@ import './StatBlock-jNsxycS1.js';
12
12
  import './Tabs-DQKDflnT.js';
13
13
  import './ui-CkQ-pCs3.js';
14
14
  import './no-face-up-B_3h6Hgs.js';
15
- import './internal-DxboZxyS.js';
15
+ import './internal-Ba4D4YGm.js';
16
16
  import './utils-g564cUMV.js';
17
17
 
18
18
  //#region src/lib/stores/task-filters.svelte.ts
@@ -474,4 +474,4 @@ function _page($$renderer, $$props) {
474
474
  }
475
475
 
476
476
  export { _page as default };
477
- //# sourceMappingURL=_page.svelte-C9lhMoUX.js.map
477
+ //# sourceMappingURL=_page.svelte-Do5ujrFm.js.map
@@ -1,6 +1,6 @@
1
- import { c as createSseStream, S as SSE_HEADERS, e as encodeSseFrame } from './http-C-8-8Oq_.js';
1
+ import { c as createSseStream, S as SSE_HEADERS, e as encodeSseFrame } from './http-C8NM9yzE.js';
2
2
  import { a as getBrainDb, g as getTasksDb, c as getConduitDb } from './connections2-DyYEcX2h.js';
3
- import './dist-DafBXQH9.js';
3
+ import './dist-b2dqLZbk.js';
4
4
  import 'node:fs';
5
5
  import 'node:path';
6
6
  import '@cleocode/core';
@@ -275,4 +275,4 @@ var GET = ({ locals, request }) => {
275
275
  };
276
276
 
277
277
  export { GET };
278
- //# sourceMappingURL=_server.ts-B23PRUg6.js.map
278
+ //# sourceMappingURL=_server.ts-10Z9UtEP.js.map
@@ -1,8 +1,8 @@
1
- import { c as createSseStream, S as SSE_HEADERS, a as encodeStreamEvent } from './http-C-8-8Oq_.js';
1
+ import { c as createSseStream, S as SSE_HEADERS, a as encodeStreamEvent } from './http-C8NM9yzE.js';
2
2
  import { c as resolveGatewayBaseUrl } from './_dispatch-DTWViLGL.js';
3
3
  import { getTaskAccessor } from '@cleocode/core/store/data-accessor';
4
4
  import { listTasks } from '@cleocode/core/tasks/list';
5
- import './dist-DafBXQH9.js';
5
+ import './dist-b2dqLZbk.js';
6
6
  import 'node:fs';
7
7
  import 'node:path';
8
8
  import '@cleocode/core';
@@ -134,4 +134,4 @@ var GET = async ({ locals, url, request }) => {
134
134
  };
135
135
 
136
136
  export { GET };
137
- //# sourceMappingURL=_server.ts-BPzV5a4O.js.map
137
+ //# sourceMappingURL=_server.ts-BF8dYynr.js.map
@@ -1,6 +1,6 @@
1
- import { c as createSseStream, S as SSE_HEADERS } from './http-C-8-8Oq_.js';
1
+ import { c as createSseStream, S as SSE_HEADERS } from './http-C8NM9yzE.js';
2
2
  import { g as getTasksDb } from './connections2-DyYEcX2h.js';
3
- import './dist-DafBXQH9.js';
3
+ import './dist-b2dqLZbk.js';
4
4
  import 'node:fs';
5
5
  import 'node:path';
6
6
  import '@cleocode/core';
@@ -65,4 +65,4 @@ var GET = ({ locals, request }) => {
65
65
  };
66
66
 
67
67
  export { GET };
68
- //# sourceMappingURL=_server.ts-BLEs7rDo.js.map
68
+ //# sourceMappingURL=_server.ts-BNaQ_u-J.js.map
@@ -1,6 +1,6 @@
1
1
  import { j as json } from './exports-Dg-gdPPq.js';
2
- import { g as getAllSubstrates } from './src-RK_h29uK.js';
3
- import { g as getCachedGraph, b as buildCacheKey, r as recordBrainLoadDuration, a as getBrainCacheMetrics, s as setCachedGraph } from './brain-DLXOLooR.js';
2
+ import { g as getAllSubstrates } from './src-CeLZUrEE.js';
3
+ import { g as getCachedGraph, b as buildCacheKey, r as recordBrainLoadDuration, a as getBrainCacheMetrics, s as setCachedGraph } from './brain-4-tWVd6k.js';
4
4
  import './utils-g564cUMV.js';
5
5
  import 'node:module';
6
6
  import 'node:fs';
@@ -107,4 +107,4 @@ var GET = ({ locals, url }) => {
107
107
  };
108
108
 
109
109
  export { GET };
110
- //# sourceMappingURL=_server.ts-BhoAYR43.js.map
110
+ //# sourceMappingURL=_server.ts-CFMss8Ec.js.map
@@ -1,5 +1,5 @@
1
1
  import { j as json } from './exports-Dg-gdPPq.js';
2
- import { g as getAllSubstrates } from './src-RK_h29uK.js';
2
+ import { g as getAllSubstrates } from './src-CeLZUrEE.js';
3
3
  import './utils-g564cUMV.js';
4
4
  import 'node:module';
5
5
  import 'node:fs';
@@ -55,4 +55,4 @@ var GET = ({ locals, params }) => {
55
55
  };
56
56
 
57
57
  export { GET };
58
- //# sourceMappingURL=_server.ts-CyXruf03.js.map
58
+ //# sourceMappingURL=_server.ts-CUDHRtqK.js.map
@@ -1,6 +1,6 @@
1
1
  import { j as json } from './exports-Dg-gdPPq.js';
2
2
  import { b as getNexusDb } from './connections2-DyYEcX2h.js';
3
- import { g as getActiveProjectId, l as listRegisteredProjects } from './project-context-BAXQmgch.js';
3
+ import { g as getActiveProjectId, l as listRegisteredProjects } from './project-context-CX-nfwL2.js';
4
4
  import './utils-g564cUMV.js';
5
5
  import './cleo-home-_XIqkZaL.js';
6
6
  import 'node:fs';
@@ -12,6 +12,7 @@ import 'node:module';
12
12
  import '@cleocode/core';
13
13
  import '@cleocode/core/store/open-cleo-db';
14
14
  import '@cleocode/core/store/worktree-build-guard';
15
+ import '@cleocode/core/nexus/project-activity.js';
15
16
 
16
17
  //#region src/routes/api/search/+server.ts
17
18
  /**
@@ -160,4 +161,4 @@ var GET = ({ url, cookies }) => {
160
161
  };
161
162
 
162
163
  export { GET };
163
- //# sourceMappingURL=_server.ts-BCPpAOST.js.map
164
+ //# sourceMappingURL=_server.ts-CVQlKiss.js.map
@@ -1,5 +1,5 @@
1
1
  import { j as json } from './exports-Dg-gdPPq.js';
2
- import { g as getAllSubstrates } from './src-RK_h29uK.js';
2
+ import { g as getAllSubstrates } from './src-CeLZUrEE.js';
3
3
  import './utils-g564cUMV.js';
4
4
  import 'node:module';
5
5
  import 'node:fs';
@@ -54,4 +54,4 @@ var GET = ({ locals, params, url }) => {
54
54
  };
55
55
 
56
56
  export { GET };
57
- //# sourceMappingURL=_server.ts-DUgUi5r_.js.map
57
+ //# sourceMappingURL=_server.ts-CmOf90SL.js.map
@@ -1,7 +1,7 @@
1
1
  import { j as json } from './exports-Dg-gdPPq.js';
2
2
  import { a as recordAudit } from './audit-log-BXVi9iyE.js';
3
3
  import { r as runCleoCli } from './spawn-cli-wI1lBJhm.js';
4
- import { l as listRegisteredProjects } from './project-context-BAXQmgch.js';
4
+ import { l as listRegisteredProjects } from './project-context-CX-nfwL2.js';
5
5
  import './utils-g564cUMV.js';
6
6
  import 'node:fs';
7
7
  import 'node:path';
@@ -12,6 +12,7 @@ import '@cleocode/core/paths.js';
12
12
  import '@cleocode/core/store/dual-scope-db';
13
13
  import '@cleocode/core';
14
14
  import '@cleocode/core/store/open-cleo-db';
15
+ import '@cleocode/core/nexus/project-activity.js';
15
16
 
16
17
  //#region src/routes/api/project/reindex-all/+server.ts
17
18
  /**
@@ -128,4 +129,4 @@ var POST = async ({ request, locals }) => {
128
129
  };
129
130
 
130
131
  export { POST };
131
- //# sourceMappingURL=_server.ts-D7JwQTun.js.map
132
+ //# sourceMappingURL=_server.ts-DRFQht0c.js.map
@@ -1,5 +1,5 @@
1
- import { g as getAllSubstrates } from './src-RK_h29uK.js';
2
- import { r as recordBrainLoadDuration } from './brain-DLXOLooR.js';
1
+ import { g as getAllSubstrates } from './src-CeLZUrEE.js';
2
+ import { r as recordBrainLoadDuration } from './brain-4-tWVd6k.js';
3
3
  import 'node:module';
4
4
  import 'node:fs';
5
5
  import 'node:path';
@@ -113,4 +113,4 @@ var GET = ({ locals, url }) => {
113
113
  };
114
114
 
115
115
  export { GET };
116
- //# sourceMappingURL=_server.ts-D64WqH4h.js.map
116
+ //# sourceMappingURL=_server.ts-DfzvMeMr.js.map
@@ -1,7 +1,7 @@
1
- import { c as createSseStream, S as SSE_HEADERS } from './http-C-8-8Oq_.js';
1
+ import { c as createSseStream, S as SSE_HEADERS } from './http-C8NM9yzE.js';
2
2
  import { metrics } from '@cleocode/core';
3
3
  import { listSessions } from '@cleocode/core/sessions';
4
- import './dist-DafBXQH9.js';
4
+ import './dist-b2dqLZbk.js';
5
5
  import 'node:fs';
6
6
  import 'node:path';
7
7
  import 'path';
@@ -139,4 +139,4 @@ var GET = ({ locals, params, request }) => {
139
139
  };
140
140
 
141
141
  export { GET };
142
- //# sourceMappingURL=_server.ts-D9JYb9Nh.js.map
142
+ //# sourceMappingURL=_server.ts-DrRXPeYo.js.map
@@ -13,7 +13,7 @@ import '@cleocode/core/store/open-cleo-db';
13
13
  import '@cleocode/core/store/worktree-build-guard';
14
14
 
15
15
  //#region package.json
16
- var version = "2026.9.23";
16
+ var version = "2026.9.25";
17
17
  //#endregion
18
18
  //#region src/routes/api/health/+server.ts
19
19
  /**
@@ -120,4 +120,4 @@ var GET = ({ locals }) => {
120
120
  };
121
121
 
122
122
  export { GET };
123
- //# sourceMappingURL=_server.ts-BtgcmXG8.js.map
123
+ //# sourceMappingURL=_server.ts-DvaFTJ0E.js.map
@@ -1,6 +1,6 @@
1
1
  import { j as json } from './exports-Dg-gdPPq.js';
2
2
  import { e as executeCliAction } from './cli-action-VJPEn1pY.js';
3
- import { l as listRegisteredProjects } from './project-context-BAXQmgch.js';
3
+ import { l as listRegisteredProjects } from './project-context-CX-nfwL2.js';
4
4
  import './utils-g564cUMV.js';
5
5
  import './spawn-cli-wI1lBJhm.js';
6
6
  import 'node:child_process';
@@ -12,6 +12,7 @@ import '@cleocode/core/paths.js';
12
12
  import '@cleocode/core/store/dual-scope-db';
13
13
  import '@cleocode/core';
14
14
  import '@cleocode/core/store/open-cleo-db';
15
+ import '@cleocode/core/nexus/project-activity.js';
15
16
 
16
17
  //#region src/routes/api/project/[id]/index/+server.ts
17
18
  /**
@@ -58,4 +59,4 @@ var POST = async ({ params }) => {
58
59
  };
59
60
 
60
61
  export { POST };
61
- //# sourceMappingURL=_server.ts-CjJYkLJH.js.map
62
+ //# sourceMappingURL=_server.ts-YrmdROs2.js.map
@@ -1,6 +1,6 @@
1
1
  import { j as json } from './exports-Dg-gdPPq.js';
2
2
  import { e as executeCliAction } from './cli-action-VJPEn1pY.js';
3
- import { l as listRegisteredProjects } from './project-context-BAXQmgch.js';
3
+ import { l as listRegisteredProjects } from './project-context-CX-nfwL2.js';
4
4
  import './utils-g564cUMV.js';
5
5
  import './spawn-cli-wI1lBJhm.js';
6
6
  import 'node:child_process';
@@ -12,6 +12,7 @@ import '@cleocode/core/paths.js';
12
12
  import '@cleocode/core/store/dual-scope-db';
13
13
  import '@cleocode/core';
14
14
  import '@cleocode/core/store/open-cleo-db';
15
+ import '@cleocode/core/nexus/project-activity.js';
15
16
 
16
17
  //#region src/routes/api/project/[id]/reindex/+server.ts
17
18
  /**
@@ -58,4 +59,4 @@ var POST = async ({ params }) => {
58
59
  };
59
60
 
60
61
  export { POST };
61
- //# sourceMappingURL=_server.ts-ChoGyX5C.js.map
62
+ //# sourceMappingURL=_server.ts-ZCA_Uz1x.js.map
@@ -1,5 +1,5 @@
1
1
  import { e as error, j as json } from './exports-Dg-gdPPq.js';
2
- import { s as setActiveProjectId } from './project-context-BAXQmgch.js';
2
+ import { s as setActiveProjectId } from './project-context-CX-nfwL2.js';
3
3
  import './utils-g564cUMV.js';
4
4
  import './cleo-home-_XIqkZaL.js';
5
5
  import 'node:fs';
@@ -9,6 +9,7 @@ import '@cleocode/core/paths.js';
9
9
  import '@cleocode/core/store/dual-scope-db';
10
10
  import '@cleocode/core';
11
11
  import '@cleocode/core/store/open-cleo-db';
12
+ import '@cleocode/core/nexus/project-activity.js';
12
13
 
13
14
  //#region src/routes/api/project/switch/+server.ts
14
15
  /**
@@ -35,4 +36,4 @@ var POST = async ({ request, cookies }) => {
35
36
  };
36
37
 
37
38
  export { POST };
38
- //# sourceMappingURL=_server.ts-5euivmMj.js.map
39
+ //# sourceMappingURL=_server.ts-mGj6h26U.js.map
@@ -1,4 +1,4 @@
1
- import './src-RK_h29uK.js';
1
+ import './src-CeLZUrEE.js';
2
2
 
3
3
  //#region src/lib/server/brain/cache.ts
4
4
  /** Maximum number of cache entries before oldest is evicted. */
@@ -158,4 +158,4 @@ function recordBrainLoadDuration(tier, durationMs) {
158
158
  }
159
159
 
160
160
  export { getBrainCacheMetrics as a, buildCacheKey as b, getCachedGraph as g, recordBrainLoadDuration as r, setCachedGraph as s };
161
- //# sourceMappingURL=brain-DLXOLooR.js.map
161
+ //# sourceMappingURL=brain-4-tWVd6k.js.map
@@ -1,5 +1,5 @@
1
1
  import { i as index_server_exports } from './index-server-BgfA6C0S.js';
2
- import './internal-DxboZxyS.js';
2
+ import './internal-Ba4D4YGm.js';
3
3
  import './utils-g564cUMV.js';
4
4
  import { n as noop } from './dev-Br5zieNA.js';
5
5
 
@@ -42,4 +42,4 @@ function goto(url, opts = {}) {
42
42
  }
43
43
 
44
44
  export { goto as g };
45
- //# sourceMappingURL=client-D4Rhd5ed.js.map
45
+ //# sourceMappingURL=client-CPa0CHb-.js.map
@@ -8485,6 +8485,12 @@ var OPERATIONS = [
8485
8485
  required: true,
8486
8486
  description: "taskId parameter",
8487
8487
  cli: { positional: true }
8488
+ }, {
8489
+ name: "expectedUpdatedAt",
8490
+ type: "string",
8491
+ required: false,
8492
+ description: "Optimistic-concurrency guard: fail with E_CONFLICT unless the task updatedAt still equals this value",
8493
+ cli: { flag: "if-match" }
8488
8494
  }]
8489
8495
  },
8490
8496
  {
@@ -9087,18 +9093,34 @@ var OPERATIONS = [
9087
9093
  gateway: "mutate",
9088
9094
  domain: "tasks",
9089
9095
  operation: "start",
9090
- description: "tasks.start (mutate)",
9096
+ description: "tasks.start (mutate) — start work and take the caller session's leased claim (E_TASK_CLAIMED when another session holds it)",
9091
9097
  tier: 0,
9092
9098
  idempotent: false,
9093
9099
  sessionRequired: false,
9094
9100
  requiredParams: ["taskId"],
9095
- params: [{
9096
- name: "taskId",
9097
- type: "string",
9098
- required: true,
9099
- description: "taskId parameter",
9100
- cli: { positional: true }
9101
- }]
9101
+ params: [
9102
+ {
9103
+ name: "taskId",
9104
+ type: "string",
9105
+ required: true,
9106
+ description: "taskId parameter",
9107
+ cli: { positional: true }
9108
+ },
9109
+ {
9110
+ name: "takeOver",
9111
+ type: "boolean",
9112
+ required: false,
9113
+ description: "Take over another session's EXPIRED claim lease (audited)",
9114
+ cli: { flag: "take-over" }
9115
+ },
9116
+ {
9117
+ name: "forceClaim",
9118
+ type: "boolean",
9119
+ required: false,
9120
+ description: "Take over another session's LIVE claim lease (audited)",
9121
+ cli: { flag: "force-claim" }
9122
+ }
9123
+ ]
9102
9124
  },
9103
9125
  {
9104
9126
  gateway: "mutate",
@@ -9200,28 +9222,49 @@ var OPERATIONS = [
9200
9222
  gateway: "mutate",
9201
9223
  domain: "tasks",
9202
9224
  operation: "claim",
9203
- description: "tasks.claim (mutate) — claim a task by assigning it to the current session",
9225
+ description: "tasks.claim (mutate) — take, renew or override the caller session's leased claim on a task (never the human assignee)",
9204
9226
  tier: 0,
9205
9227
  idempotent: false,
9206
9228
  sessionRequired: true,
9207
- requiredParams: ["taskId", "agentId"],
9208
- params: [{
9209
- name: "taskId",
9210
- type: "string",
9211
- required: true,
9212
- description: "Task ID to claim"
9213
- }, {
9214
- name: "agentId",
9215
- type: "string",
9216
- required: true,
9217
- description: "Agent ID to assign the task to"
9218
- }]
9229
+ requiredParams: ["taskId"],
9230
+ params: [
9231
+ {
9232
+ name: "taskId",
9233
+ type: "string",
9234
+ required: true,
9235
+ description: "Task ID to claim"
9236
+ },
9237
+ {
9238
+ name: "agentId",
9239
+ type: "string",
9240
+ required: false,
9241
+ description: "Agent ID recorded with the lease (default: the session's agent / CLEO_AGENT_ID)"
9242
+ },
9243
+ {
9244
+ name: "renew",
9245
+ type: "boolean",
9246
+ required: false,
9247
+ description: "Renew the caller's own lease"
9248
+ },
9249
+ {
9250
+ name: "takeOver",
9251
+ type: "boolean",
9252
+ required: false,
9253
+ description: "Take over another session's EXPIRED lease (audited)"
9254
+ },
9255
+ {
9256
+ name: "forceClaim",
9257
+ type: "boolean",
9258
+ required: false,
9259
+ description: "Take over another session's LIVE lease (audited)"
9260
+ }
9261
+ ]
9219
9262
  },
9220
9263
  {
9221
9264
  gateway: "mutate",
9222
9265
  domain: "tasks",
9223
9266
  operation: "unclaim",
9224
- description: "tasks.unclaim (mutate) — unclaim a task by removing the current assignee",
9267
+ description: "tasks.unclaim (mutate) — release the caller session's claim lease (never the human assignee)",
9225
9268
  tier: 0,
9226
9269
  idempotent: false,
9227
9270
  sessionRequired: true,
@@ -9231,6 +9274,11 @@ var OPERATIONS = [
9231
9274
  type: "string",
9232
9275
  required: true,
9233
9276
  description: "Task ID to unclaim"
9277
+ }, {
9278
+ name: "forceClaim",
9279
+ type: "boolean",
9280
+ required: false,
9281
+ description: "Release another session's lease (audited)"
9234
9282
  }]
9235
9283
  },
9236
9284
  {
@@ -9488,6 +9536,20 @@ var OPERATIONS = [
9488
9536
  type: "boolean",
9489
9537
  required: false,
9490
9538
  description: "When true (default), adds toTaskId as a dependency on fromTaskId so it cannot complete before the pivot resolves"
9539
+ },
9540
+ {
9541
+ name: "takeOver",
9542
+ type: "boolean",
9543
+ required: false,
9544
+ description: "Take over another session's EXPIRED claim on toTaskId (audited)",
9545
+ cli: { flag: "take-over" }
9546
+ },
9547
+ {
9548
+ name: "forceClaim",
9549
+ type: "boolean",
9550
+ required: false,
9551
+ description: "Take over another session's LIVE claim on toTaskId (audited)",
9552
+ cli: { flag: "force-claim" }
9491
9553
  }
9492
9554
  ]
9493
9555
  },
@@ -12014,6 +12076,78 @@ var OPERATIONS = [
12014
12076
  requiredParams: [],
12015
12077
  params: []
12016
12078
  },
12079
+ {
12080
+ gateway: "query",
12081
+ domain: "nexus",
12082
+ operation: "projects.fleet",
12083
+ description: "nexus.projects.fleet (query) — fleet view: every project with its location on each device, last recorded git state (local, and remote as of the last fetch) and staleness; paged, counts first, read-only",
12084
+ tier: 1,
12085
+ idempotent: true,
12086
+ sessionRequired: false,
12087
+ requiredParams: [],
12088
+ params: [
12089
+ {
12090
+ name: "device",
12091
+ type: "string",
12092
+ required: false,
12093
+ description: "Only locations on this device (device id, hostname, or current)"
12094
+ },
12095
+ {
12096
+ name: "missing",
12097
+ type: "boolean",
12098
+ required: false,
12099
+ description: "Only projects with a missing location"
12100
+ },
12101
+ {
12102
+ name: "dirty",
12103
+ type: "boolean",
12104
+ required: false,
12105
+ description: "Only projects with a dirty location"
12106
+ },
12107
+ {
12108
+ name: "behind",
12109
+ type: "boolean",
12110
+ required: false,
12111
+ description: "Only projects with a location behind its upstream (as of the last fetch)"
12112
+ },
12113
+ {
12114
+ name: "ahead",
12115
+ type: "boolean",
12116
+ required: false,
12117
+ description: "Only projects with a location ahead of its upstream (as of the last fetch)"
12118
+ },
12119
+ {
12120
+ name: "stale",
12121
+ type: "boolean",
12122
+ required: false,
12123
+ description: "Only projects with a never-probed, old-probe or old-fetch location"
12124
+ },
12125
+ {
12126
+ name: "errored",
12127
+ type: "boolean",
12128
+ required: false,
12129
+ description: "Only projects whose last probe recorded an error"
12130
+ },
12131
+ {
12132
+ name: "staleAfterMs",
12133
+ type: "number",
12134
+ required: false,
12135
+ description: "Staleness window for probes, fetches and heartbeats (default 24h)"
12136
+ },
12137
+ {
12138
+ name: "limit",
12139
+ type: "number",
12140
+ required: false,
12141
+ description: "Page size in projects (default 50, max 500; 0 = all)"
12142
+ },
12143
+ {
12144
+ name: "offset",
12145
+ type: "number",
12146
+ required: false,
12147
+ description: "Projects skipped before the page"
12148
+ }
12149
+ ]
12150
+ },
12017
12151
  {
12018
12152
  gateway: "mutate",
12019
12153
  domain: "nexus",
@@ -15791,6 +15925,13 @@ var ExitCode;
15791
15925
  ExitCode[ExitCode["SCOPE_CONFLICT"] = 32] = "SCOPE_CONFLICT";
15792
15926
  ExitCode[ExitCode["SCOPE_INVALID"] = 33] = "SCOPE_INVALID";
15793
15927
  ExitCode[ExitCode["TASK_NOT_IN_SCOPE"] = 34] = "TASK_NOT_IN_SCOPE";
15928
+ /**
15929
+ * Another session holds the claim lease on the task (`cleo start`,
15930
+ * `cleo claim`, spawn). LAFS code `E_TASK_CLAIMED`; the details
15931
+ * (`TaskClaimedDetails`) name the holder session and agent, the lease
15932
+ * expiry, and the explicit, audited override: `--take-over` for an expired
15933
+ * lease, `--force-claim` for a live one. @task T12502
15934
+ */
15794
15935
  ExitCode[ExitCode["TASK_CLAIMED"] = 35] = "TASK_CLAIMED";
15795
15936
  ExitCode[ExitCode["SESSION_REQUIRED"] = 36] = "SESSION_REQUIRED";
15796
15937
  ExitCode[ExitCode["SESSION_CLOSE_BLOCKED"] = 37] = "SESSION_CLOSE_BLOCKED";
@@ -19082,6 +19223,20 @@ object({
19082
19223
  baseUrl: url(),
19083
19224
  provider: decisionProviderKindSchema.optional()
19084
19225
  });
19226
+ object({
19227
+ user: object({
19228
+ id: string(),
19229
+ email: string(),
19230
+ name: string().nullable().optional()
19231
+ }),
19232
+ organizations: array(object({
19233
+ id: string(),
19234
+ name: string(),
19235
+ slug: string().nullable().optional(),
19236
+ role: string().optional(),
19237
+ personal: boolean().optional()
19238
+ })).default([])
19239
+ });
19085
19240
 
19086
19241
  export { OPERATIONS as O, TASK_STATUSES as T };
19087
- //# sourceMappingURL=dist-DafBXQH9.js.map
19242
+ //# sourceMappingURL=dist-b2dqLZbk.js.map
@@ -1,8 +1,8 @@
1
1
  import { g as getContext, p as escape_html } from './dev-Br5zieNA.js';
2
2
  import 'node:module';
3
- import './client-D4Rhd5ed.js';
3
+ import './client-CPa0CHb-.js';
4
4
  import './index-server-BgfA6C0S.js';
5
- import './internal-DxboZxyS.js';
5
+ import './internal-Ba4D4YGm.js';
6
6
  import './utils-g564cUMV.js';
7
7
 
8
8
  //#endregion
@@ -65,4 +65,4 @@ function Error$1($$renderer, $$props) {
65
65
  }
66
66
 
67
67
  export { Error$1 as default };
68
- //# sourceMappingURL=error.svelte-BLd3ZRbJ.js.map
68
+ //# sourceMappingURL=error.svelte-B4-aI-CN.js.map