Skip to content

Commit bac424d

Browse files
committed
chore: bump version to 0.17.7
For provenance purposes, this commit was AI assisted.
1 parent 93b09c7 commit bac424d

8 files changed

Lines changed: 24 additions & 7 deletions

File tree

apps/copilot/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "plannotator-copilot",
33
"description": "Interactive Plan & Code Review for GitHub Copilot CLI. Visual annotations, team sharing, structured feedback.",
4-
"version": "0.17.6",
4+
"version": "0.17.7",
55
"author": { "name": "backnotprop" },
66
"repository": "https://github.com/backnotprop/plannotator",
77
"license": "MIT OR Apache-2.0",

apps/hook/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "plannotator",
33
"description": "Interactive Plan Review: Mark up and refine your plans using a UI, easily share for team collaboration, automatically integrates with plan mode hooks.",
4-
"version": "0.17.6",
4+
"version": "0.17.7",
55
"author": {
66
"name": "backnotprop"
77
},

apps/opencode-plugin/index.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,23 @@
2020
import { type Plugin, tool } from "@opencode-ai/plugin";
2121
import { existsSync, readFileSync } from "fs";
2222
import path from "path";
23+
24+
// OpenCode's @hono/node-server patches global.Response with a polyfill that
25+
// Bun.serve() doesn't accept (it checks native type tags, not instanceof).
26+
// This happens in "opencode web" and "opencode serve" modes, where
27+
// createAdaptorServer() runs before plugins load. Recover the native Response
28+
// from the polyfill's prototype chain — hono sets up:
29+
// Object.setPrototypeOf(Response2.prototype, GlobalResponse.prototype)
30+
// so the parent prototype's constructor IS the original native Response.
31+
const _proto = Object.getPrototypeOf(Response.prototype);
32+
if (_proto?.constructor && _proto.constructor !== Response && _proto.constructor !== Object) {
33+
globalThis.Response = _proto.constructor;
34+
// Also fix Request — hono patches both with the same pattern
35+
const _reqProto = Object.getPrototypeOf(Request.prototype);
36+
if (_reqProto?.constructor && _reqProto.constructor !== Request && _reqProto.constructor !== Object) {
37+
globalThis.Request = _reqProto.constructor;
38+
}
39+
}
2340
import {
2441
startPlannotatorServer,
2542
handleServerReady,

apps/opencode-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@plannotator/opencode",
3-
"version": "0.17.6",
3+
"version": "0.17.7",
44
"description": "Plannotator plugin for OpenCode - interactive plan review with visual annotation",
55
"author": "backnotprop",
66
"license": "MIT OR Apache-2.0",

apps/pi-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@plannotator/pi-extension",
3-
"version": "0.17.6",
3+
"version": "0.17.7",
44
"type": "module",
55
"description": "Plannotator extension for Pi coding agent - interactive plan review with visual annotation",
66
"author": "backnotprop",

openpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: plannotator
2-
version: 0.17.6
2+
version: 0.17.7
33
description: Annotate Claude Code and other agent plans and review code visually. Share with your team, and send feedback to your agent with one click
44
author: backnotprop
55
license: MIT/Apache2.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plannotator",
3-
"version": "0.17.6",
3+
"version": "0.17.7",
44
"private": true,
55
"description": "Interactive Plan Review for Claude Code - annotate plans visually, share with team, automatically send feedback",
66
"author": "backnotprop",

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@plannotator/server",
3-
"version": "0.17.6",
3+
"version": "0.17.7",
44
"private": true,
55
"description": "Shared server implementation for Plannotator plugins",
66
"main": "index.ts",

0 commit comments

Comments
 (0)