heyio 0.24.0 → 0.24.1

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.
@@ -55,6 +55,8 @@ export function addSquadAgent(squadSlug, roleTitle, charter, modelTier = "medium
55
55
  .prepare("UPDATE squads SET universe = ? WHERE slug = ?")
56
56
  .run(universeId, squadSlug);
57
57
  }
58
+ // Ensure universe is registered in runtime array (handles restart for custom universes)
59
+ getOrCreateUniverse(universeId);
58
60
  const existingAgents = listSquadAgents(squadSlug);
59
61
  const usedNames = existingAgents.map((a) => a.character_name);
60
62
  const character = nextCharacter(universeId, usedNames);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heyio",
3
- "version": "0.24.0",
3
+ "version": "0.24.1",
4
4
  "description": "IO — a personal AI assistant built on the GitHub Copilot SDK",
5
5
  "bin": {
6
6
  "io": "dist/index.js"