heyio 0.21.3 → 0.22.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.
@@ -20,19 +20,6 @@ import { runScheduleNow } from "../copilot/scheduler.js";
20
20
  import { runIoScheduleNow } from "../copilot/io-scheduler.js";
21
21
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
22
22
  const WEB_DIST = path.resolve(__dirname, "../../web-dist");
23
- let releasesCache = null;
24
- function loadReleases() {
25
- if (releasesCache)
26
- return releasesCache;
27
- try {
28
- const raw = readFileSync(path.join(__dirname, "../releases.json"), "utf-8");
29
- releasesCache = JSON.parse(raw);
30
- return releasesCache;
31
- }
32
- catch {
33
- return [];
34
- }
35
- }
36
23
  let messageHandler;
37
24
  const sseConnections = new Set();
38
25
  export function setMessageHandler(handler) {
@@ -165,10 +152,6 @@ export async function startApiServer() {
165
152
  api.get("/status", (_req, res) => {
166
153
  res.json({ version: IO_VERSION, uptime: process.uptime() });
167
154
  });
168
- // Releases endpoint — serves build-time bundled GitHub release notes
169
- api.get("/releases", (_req, res) => {
170
- res.json({ releases: loadReleases() });
171
- });
172
155
  // SSE events endpoint
173
156
  api.get("/events", (req, res) => {
174
157
  res.setHeader("Content-Type", "text/event-stream");
@@ -100,6 +100,14 @@ When an agent finishes a task, the other squad members automatically review the
100
100
  - When all QA approvals pass (or no QA agents exist) and the task result contains a GitHub PR URL, the PR is automatically promoted from draft to ready via \`gh pr ready\`.
101
101
  - Use \`squad_task_reviews\` to inspect the reviews on any completed task.
102
102
 
103
+ #### GitHub Self-Review Limitation
104
+ All squad agents share the repo owner's \`gh\` CLI identity. **GitHub blocks self-review** — \`gh pr review <number> --approve\` silently produces no review record when the same account authored the PR. This affects all squad-authored PRs.
105
+
106
+ **Workaround — review comments as audit trail:**
107
+ - Veto-capable reviewers must use \`gh pr review <number> --comment --body "LGTM — approved by <agent name>. <review summary>"\` instead of \`--approve\`. This creates a visible PR comment even though it is not a formal GitHub approval.
108
+ - For formal GitHub approval (required by branch protection rules if enabled), Michael must approve the PR himself or a separate bot/collaborator account must be configured.
109
+ - **Merge criteria:** all veto-capable members have posted an approving review comment, AND CI passes (\`gh pr checks <number> --watch\`), AND no merge conflicts. The team lead verifies all comments are present before merging.
110
+
103
111
  ### Squad Build Checklist
104
112
  After \`squad_create\`, before delegating real work:
105
113
  1. Add domain-specialist agents with \`squad_add_agent\` (use roles tailored to the project's stack).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heyio",
3
- "version": "0.21.3",
3
+ "version": "0.22.0",
4
4
  "description": "IO — a personal AI assistant built on the GitHub Copilot SDK",
5
5
  "bin": {
6
6
  "io": "dist/index.js"
@@ -54,6 +54,7 @@
54
54
  "@types/express": "^5.0.6",
55
55
  "@types/node": "^25.3.0",
56
56
  "tsx": "^4.21.0",
57
- "typescript": "^5.9.3"
57
+ "typescript": "^5.9.3",
58
+ "vue-tsc": "^3.2.9"
58
59
  }
59
60
  }