hanoman 0.2.2 → 0.2.3

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.2",
3
- "sha": "0eb2277f",
4
- "builtAt": "2026-08-26T05:23:49.777Z"
2
+ "version": "0.2.3",
3
+ "sha": "7f99c250",
4
+ "builtAt": "2026-08-29T10:43:44.678Z"
5
5
  }
package/dist/server.js CHANGED
@@ -34337,11 +34337,12 @@ async function recordHeadSha(specId, worktree, read2 = readHead) {
34337
34337
  }
34338
34338
 
34339
34339
  // src/services/live-specs.ts
34340
+ var specNum = (id) => Number.parseInt(id.match(/\d+/)?.[0] ?? "0", 10);
34340
34341
  async function liveSpecs(filter = {}) {
34341
- const specs = await prisma.spec.findMany({
34342
+ const specs = (await prisma.spec.findMany({
34342
34343
  where: { projectId: filter.project, source: filter.source },
34343
34344
  orderBy: { id: "desc" }
34344
- });
34345
+ })).sort((a, b) => specNum(b.id) - specNum(a.id));
34345
34346
  const live = sessionPhasesBySpec();
34346
34347
  if (live.size === 0) return decorateBlocked(specs);
34347
34348
  const advanced = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanoman",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Orchestrator + dashboard workflow docs-driven untuk sesi Claude Code / Codex",
5
5
  "type": "module",
6
6
  "repository": {