Add plannotator extension v0.19.10
This commit is contained in:
28
extensions/plannotator/server.ts
Normal file
28
extensions/plannotator/server.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* Node-compatible servers for Plannotator Pi extension.
|
||||
*
|
||||
* Pi loads extensions via jiti (Node.js), so we can't use Bun.serve().
|
||||
* These are lightweight node:http servers implementing just the routes
|
||||
* each UI needs — plan review, code review, and markdown annotation.
|
||||
*/
|
||||
|
||||
export type {
|
||||
DiffOption,
|
||||
DiffType,
|
||||
GitContext,
|
||||
} from "./generated/review-core.js";
|
||||
export {
|
||||
type AnnotateServerResult,
|
||||
startAnnotateServer,
|
||||
} from "./server/serverAnnotate.js";
|
||||
export {
|
||||
type PlanServerResult,
|
||||
startPlanReviewServer,
|
||||
} from "./server/serverPlan.js";
|
||||
export {
|
||||
getGitContext,
|
||||
reviewRuntime,
|
||||
type ReviewServerResult,
|
||||
runGitDiff,
|
||||
startReviewServer,
|
||||
} from "./server/serverReview.js";
|
||||
Reference in New Issue
Block a user