@atolis-hq/wake 0.2.78 → 0.2.79

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.
@@ -46,6 +46,9 @@ function stripHeavyRunRecordFields(record) {
46
46
  const { stdout: _stdout, stderr: _stderr, raw: _raw, ...restMetadata } = metadata;
47
47
  return { ...rest, metadata: restMetadata };
48
48
  }
49
+ function compareIssueStatesForListing(left, right) {
50
+ return left.workItemKey.localeCompare(right.workItemKey);
51
+ }
49
52
  function parseRunRecordSummaryIndex(input, date) {
50
53
  if (input === null || typeof input !== 'object') {
51
54
  throw new Error('Run summary index must be an object');
@@ -670,7 +673,7 @@ export function createStateStore({ wakeRoot }) {
670
673
  for (const item of items) {
671
674
  byWorkItemKey.set(item.workItemKey, item);
672
675
  }
673
- return [...byWorkItemKey.values()].sort((left, right) => left.workItemKey.localeCompare(right.workItemKey));
676
+ return [...byWorkItemKey.values()].sort(compareIssueStatesForListing);
674
677
  },
675
678
  async listEventEnvelopes() {
676
679
  const eventsRoot = join(paths.dataRoot, 'events');
@@ -124,4 +124,4 @@ export function resolveWakeVersion(options = {}) {
124
124
  }
125
125
  return '0.1.0-dev';
126
126
  }
127
- export const wakeVersion = "gd1b7522";
127
+ export const wakeVersion = "g4eb3621";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atolis-hq/wake",
3
- "version": "0.2.78",
3
+ "version": "0.2.79",
4
4
  "description": "Local autonomous agent control plane for software development",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {