mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
chore: bump version to 0.17.7
For provenance purposes, this commit was AI assisted.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "plannotator-copilot",
|
||||
"description": "Interactive Plan & Code Review for GitHub Copilot CLI. Visual annotations, team sharing, structured feedback.",
|
||||
"version": "0.17.6",
|
||||
"version": "0.17.7",
|
||||
"author": { "name": "backnotprop" },
|
||||
"repository": "https://github.com/backnotprop/plannotator",
|
||||
"license": "MIT OR Apache-2.0",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "plannotator",
|
||||
"description": "Interactive Plan Review: Mark up and refine your plans using a UI, easily share for team collaboration, automatically integrates with plan mode hooks.",
|
||||
"version": "0.17.6",
|
||||
"version": "0.17.7",
|
||||
"author": {
|
||||
"name": "backnotprop"
|
||||
},
|
||||
|
||||
@@ -20,6 +20,23 @@
|
||||
import { type Plugin, tool } from "@opencode-ai/plugin";
|
||||
import { existsSync, readFileSync } from "fs";
|
||||
import path from "path";
|
||||
|
||||
// OpenCode's @hono/node-server patches global.Response with a polyfill that
|
||||
// Bun.serve() doesn't accept (it checks native type tags, not instanceof).
|
||||
// This happens in "opencode web" and "opencode serve" modes, where
|
||||
// createAdaptorServer() runs before plugins load. Recover the native Response
|
||||
// from the polyfill's prototype chain — hono sets up:
|
||||
// Object.setPrototypeOf(Response2.prototype, GlobalResponse.prototype)
|
||||
// so the parent prototype's constructor IS the original native Response.
|
||||
const _proto = Object.getPrototypeOf(Response.prototype);
|
||||
if (_proto?.constructor && _proto.constructor !== Response && _proto.constructor !== Object) {
|
||||
globalThis.Response = _proto.constructor;
|
||||
// Also fix Request — hono patches both with the same pattern
|
||||
const _reqProto = Object.getPrototypeOf(Request.prototype);
|
||||
if (_reqProto?.constructor && _reqProto.constructor !== Request && _reqProto.constructor !== Object) {
|
||||
globalThis.Request = _reqProto.constructor;
|
||||
}
|
||||
}
|
||||
import {
|
||||
startPlannotatorServer,
|
||||
handleServerReady,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@plannotator/opencode",
|
||||
"version": "0.17.6",
|
||||
"version": "0.17.7",
|
||||
"description": "Plannotator plugin for OpenCode - interactive plan review with visual annotation",
|
||||
"author": "backnotprop",
|
||||
"license": "MIT OR Apache-2.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@plannotator/pi-extension",
|
||||
"version": "0.17.6",
|
||||
"version": "0.17.7",
|
||||
"type": "module",
|
||||
"description": "Plannotator extension for Pi coding agent - interactive plan review with visual annotation",
|
||||
"author": "backnotprop",
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
name: plannotator
|
||||
version: 0.17.6
|
||||
version: 0.17.7
|
||||
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
|
||||
author: backnotprop
|
||||
license: MIT/Apache2.0
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "plannotator",
|
||||
"version": "0.17.6",
|
||||
"version": "0.17.7",
|
||||
"private": true,
|
||||
"description": "Interactive Plan Review for Claude Code - annotate plans visually, share with team, automatically send feedback",
|
||||
"author": "backnotprop",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@plannotator/server",
|
||||
"version": "0.17.6",
|
||||
"version": "0.17.7",
|
||||
"private": true,
|
||||
"description": "Shared server implementation for Plannotator plugins",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user