ai-engineering-loop 1.11.0 → 1.12.0

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 (114) hide show
  1. package/.agents/skills/animate/RECIPES.md +324 -0
  2. package/.agents/skills/animate/SKILL.md +207 -0
  3. package/.agents/skills/animate-expo/RECIPES.md +385 -0
  4. package/.agents/skills/animate-expo/SKILL.md +263 -0
  5. package/.agents/skills/animation-vocabulary/SKILL.md +181 -0
  6. package/.agents/skills/apple-design/SKILL.md +290 -0
  7. package/.agents/skills/ask-sonner/API.md +64 -0
  8. package/.agents/skills/ask-sonner/SKILL.md +88 -0
  9. package/.agents/skills/backend-development/SKILL.md +272 -0
  10. package/.agents/skills/backend-development/references/api-design-guidelines.md +95 -0
  11. package/.agents/skills/backend-development/references/query-and-database-best-practices.md +53 -0
  12. package/.agents/skills/backend-development/references/security-checklist.md +60 -0
  13. package/.agents/skills/emil-design-eng/SKILL.md +674 -0
  14. package/.agents/skills/find-animation-opportunities/SKILL.md +140 -0
  15. package/.agents/skills/improve-animations/AUDIT.md +115 -0
  16. package/.agents/skills/improve-animations/PLAN-TEMPLATE.md +73 -0
  17. package/.agents/skills/improve-animations/SKILL.md +109 -0
  18. package/.agents/skills/mobile-native/SKILL.md +311 -0
  19. package/.agents/skills/pick-ui-library/SKILL.md +85 -0
  20. package/.agents/skills/prototype/PICKER.md +197 -0
  21. package/.agents/skills/prototype/SKILL.md +98 -0
  22. package/.agents/skills/review-animations/SKILL.md +120 -0
  23. package/.agents/skills/review-animations/STANDARDS.md +187 -0
  24. package/.agents/skills/write-swift/SKILL.md +396 -0
  25. package/.agents/workflows/ai-engineering-loop.md +4 -4
  26. package/.claude/skills/ai-engineering-loop/SKILL.md +4 -4
  27. package/.claude/skills/animate/RECIPES.md +324 -0
  28. package/.claude/skills/animate/SKILL.md +207 -0
  29. package/.claude/skills/animate-expo/RECIPES.md +385 -0
  30. package/.claude/skills/animate-expo/SKILL.md +263 -0
  31. package/.claude/skills/animation-vocabulary/SKILL.md +181 -0
  32. package/.claude/skills/apple-design/SKILL.md +290 -0
  33. package/.claude/skills/ask-sonner/API.md +64 -0
  34. package/.claude/skills/ask-sonner/SKILL.md +88 -0
  35. package/.claude/skills/backend-development/SKILL.md +272 -0
  36. package/.claude/skills/backend-development/references/api-design-guidelines.md +95 -0
  37. package/.claude/skills/backend-development/references/query-and-database-best-practices.md +53 -0
  38. package/.claude/skills/backend-development/references/security-checklist.md +60 -0
  39. package/.claude/skills/emil-design-eng/SKILL.md +674 -0
  40. package/.claude/skills/find-animation-opportunities/SKILL.md +140 -0
  41. package/.claude/skills/improve-animations/AUDIT.md +115 -0
  42. package/.claude/skills/improve-animations/PLAN-TEMPLATE.md +73 -0
  43. package/.claude/skills/improve-animations/SKILL.md +109 -0
  44. package/.claude/skills/mobile-native/SKILL.md +311 -0
  45. package/.claude/skills/pick-ui-library/SKILL.md +85 -0
  46. package/.claude/skills/prototype/PICKER.md +197 -0
  47. package/.claude/skills/prototype/SKILL.md +98 -0
  48. package/.claude/skills/review-animations/SKILL.md +120 -0
  49. package/.claude/skills/review-animations/STANDARDS.md +187 -0
  50. package/.claude/skills/write-swift/SKILL.md +396 -0
  51. package/.gemini/skills/ai-engineering-loop/SKILL.md +4 -4
  52. package/.gemini/skills/animate/RECIPES.md +324 -0
  53. package/.gemini/skills/animate/SKILL.md +207 -0
  54. package/.gemini/skills/animate-expo/RECIPES.md +385 -0
  55. package/.gemini/skills/animate-expo/SKILL.md +263 -0
  56. package/.gemini/skills/animation-vocabulary/SKILL.md +181 -0
  57. package/.gemini/skills/apple-design/SKILL.md +290 -0
  58. package/.gemini/skills/ask-sonner/API.md +64 -0
  59. package/.gemini/skills/ask-sonner/SKILL.md +88 -0
  60. package/.gemini/skills/backend-development/SKILL.md +272 -0
  61. package/.gemini/skills/backend-development/references/api-design-guidelines.md +95 -0
  62. package/.gemini/skills/backend-development/references/query-and-database-best-practices.md +53 -0
  63. package/.gemini/skills/backend-development/references/security-checklist.md +60 -0
  64. package/.gemini/skills/emil-design-eng/SKILL.md +674 -0
  65. package/.gemini/skills/find-animation-opportunities/SKILL.md +140 -0
  66. package/.gemini/skills/improve-animations/AUDIT.md +115 -0
  67. package/.gemini/skills/improve-animations/PLAN-TEMPLATE.md +73 -0
  68. package/.gemini/skills/improve-animations/SKILL.md +109 -0
  69. package/.gemini/skills/mobile-native/SKILL.md +311 -0
  70. package/.gemini/skills/pick-ui-library/SKILL.md +85 -0
  71. package/.gemini/skills/prototype/PICKER.md +197 -0
  72. package/.gemini/skills/prototype/SKILL.md +98 -0
  73. package/.gemini/skills/review-animations/SKILL.md +120 -0
  74. package/.gemini/skills/review-animations/STANDARDS.md +187 -0
  75. package/.gemini/skills/write-swift/SKILL.md +396 -0
  76. package/.grok/skills/ai-engineering-loop/SKILL.md +4 -4
  77. package/.grok/skills/animate/RECIPES.md +324 -0
  78. package/.grok/skills/animate/SKILL.md +207 -0
  79. package/.grok/skills/animate-expo/RECIPES.md +385 -0
  80. package/.grok/skills/animate-expo/SKILL.md +263 -0
  81. package/.grok/skills/animation-vocabulary/SKILL.md +181 -0
  82. package/.grok/skills/apple-design/SKILL.md +290 -0
  83. package/.grok/skills/ask-sonner/API.md +64 -0
  84. package/.grok/skills/ask-sonner/SKILL.md +88 -0
  85. package/.grok/skills/backend-development/SKILL.md +272 -0
  86. package/.grok/skills/backend-development/references/api-design-guidelines.md +95 -0
  87. package/.grok/skills/backend-development/references/query-and-database-best-practices.md +53 -0
  88. package/.grok/skills/backend-development/references/security-checklist.md +60 -0
  89. package/.grok/skills/emil-design-eng/SKILL.md +674 -0
  90. package/.grok/skills/find-animation-opportunities/SKILL.md +140 -0
  91. package/.grok/skills/improve-animations/AUDIT.md +115 -0
  92. package/.grok/skills/improve-animations/PLAN-TEMPLATE.md +73 -0
  93. package/.grok/skills/improve-animations/SKILL.md +109 -0
  94. package/.grok/skills/mobile-native/SKILL.md +311 -0
  95. package/.grok/skills/pick-ui-library/SKILL.md +85 -0
  96. package/.grok/skills/prototype/PICKER.md +197 -0
  97. package/.grok/skills/prototype/SKILL.md +98 -0
  98. package/.grok/skills/review-animations/SKILL.md +120 -0
  99. package/.grok/skills/review-animations/STANDARDS.md +187 -0
  100. package/.grok/skills/write-swift/SKILL.md +396 -0
  101. package/README.md +11 -1
  102. package/README.npm.md +5 -0
  103. package/THIRD_PARTY_NOTICES.md +10 -0
  104. package/agents/third-party/emilkowalski-skills/LICENSE +21 -0
  105. package/bin/ai-engineering-loop.js +129 -3
  106. package/core/runtime-safety.md +18 -1
  107. package/lib/doctor.js +16 -0
  108. package/lib/run-compaction.js +170 -0
  109. package/lib/smart-context.js +267 -8
  110. package/lib/studio-server.js +19 -2
  111. package/lib/sync-hosts.js +69 -0
  112. package/lib/update-manager.js +147 -0
  113. package/package.json +2 -1
  114. package/studio/app.js +5 -2
package/studio/app.js CHANGED
@@ -2077,7 +2077,6 @@ function renderLive() {
2077
2077
  (active ? runtimeNode.activity || `${runtimeNode.status} · attempt ${runtimeNode.attempts}` : `Final state: ${live.run.state}`);
2078
2078
  const journeyStatuses = new Set(['pending', 'active', 'complete']);
2079
2079
  const degradedSources = live.journey?.degradedSources || [];
2080
- byId('run-journey').dataset.degraded = degradedSources.join(', ');
2081
2080
  byId('run-journey').innerHTML = (live.journey?.steps || []).map((step) => {
2082
2081
  const status = String(step?.status || '').toLowerCase();
2083
2082
  const safeStatus = journeyStatuses.has(status) ? status : 'unknown';
@@ -2104,13 +2103,17 @@ function renderLive() {
2104
2103
  const limit = live.budget.perRunTokenLimit;
2105
2104
  byId('meter').style.width = `${Math.min(100, limit ? (spent / limit) * 100 : 0)}%`;
2106
2105
  byId('budget').textContent = `${spent.toLocaleString()} / ${limit.toLocaleString()} TOKENS`;
2107
- byId('events').innerHTML = lifecycleEvents.slice(-7).reverse().map((event) => `
2106
+ const liveEventsHtml = lifecycleEvents.slice(-7).reverse().map((event) => `
2108
2107
  <p class="${event.type === 'NODE_ACTIVITY' || event.type.includes('START') ? 'event-active' : ''}">
2109
2108
  ${escapeHtml(event.at.slice(11, 19))} · ${escapeHtml(event.type)} · ${escapeHtml(event.message)}
2110
2109
  </p>
2111
2110
  `).join('') || live.events.slice(-7).reverse().map((event) => `
2112
2111
  <p>${escapeHtml(event.at.slice(11, 19))} · ${escapeHtml(event.type)}</p>
2113
2112
  `).join('');
2113
+ const eventsDetailNote = live.summary?.eventsTruncated
2114
+ ? '<p class="muted">Older workflow events are kept out of live polling; node detail and lifecycle stream load them on demand.</p>'
2115
+ : '';
2116
+ byId('events').innerHTML = liveEventsHtml + eventsDetailNote;
2114
2117
  renderRunActivityDock(live, active, runtimeNode, lifecycle);
2115
2118
  updateRuntimePresentation();
2116
2119
  followActiveNode();