hivecode-mcp 0.14.10 → 0.14.11
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.
- package/hive-gh-action.js +5 -1
- package/package.json +1 -1
package/hive-gh-action.js
CHANGED
|
@@ -286,7 +286,10 @@ export async function runAction({ gh, deps, eventName = '', event = {}, branch,
|
|
|
286
286
|
if (sha) {
|
|
287
287
|
const GH = await import('./hive-github.js')
|
|
288
288
|
// The job's own run is not a check on the pull request; the rest are.
|
|
289
|
-
|
|
289
|
+
// A check that cannot be read (an older workflow file without `statuses: read`) is said in the
|
|
290
|
+
// log, never a failed run: everything before it already happened.
|
|
291
|
+
let v = { state: 'none', failed: [] }
|
|
292
|
+
try { v = GH.ciVerdict(gh.checkRuns(sha), gh.statuses(sha)) } catch (e) { note(`PR #${openPr.number}: the checks could not be read (${oneLine(e.message, 160)}); add "statuses: read" and "checks: read" to the workflow's permissions`) }
|
|
290
293
|
const short = String(sha).slice(0, 7)
|
|
291
294
|
const marker = `Fix the failing checks on PR #${openPr.number} at ${short}`
|
|
292
295
|
if (v.state === 'failure' && !tasks.some((t) => t && t.by === 'GitHub' && String(t.text || '').startsWith(marker))) {
|
|
@@ -326,6 +329,7 @@ permissions:
|
|
|
326
329
|
issues: write
|
|
327
330
|
pull-requests: write
|
|
328
331
|
checks: read
|
|
332
|
+
statuses: read
|
|
329
333
|
|
|
330
334
|
# One run at a time: two runs never post the same issue or land twice.
|
|
331
335
|
concurrency:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hivecode-mcp",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.11",
|
|
4
4
|
"description": "MCP server that lets any AI coding agent join a Hivecode room — humans and multiple AI agents edit one live codebase with folder-scoped permissions and approval gates.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|