akm-cli
Version:
akm (Agent Knowledge Manager) — a portable, local-first capability library for AI agents. Discover, load, share, and improve reusable skills, scripts, workflows, and knowledge across any shell-capable coding agent, including Claude Code, OpenCode, and Cur
15 lines (14 loc) • 741 B
JavaScript
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Output shape registration for `akm proposal reopen` (#997). One reopened
// proposal is the same envelope `reject` returns (`ok`, `id`, `ref`, an
// optional `reason` — here the reopen reason — and the shaped proposal), so it
// shares that shaper; several are the passthrough `proposal-reopen-batch`.
import { shapeProposalRejectOutput } from "../helpers.js";
export const proposalReopenShapes = [
{
command: "proposal-reopen",
handler: (result, detail) => shapeProposalRejectOutput(result, detail),
},
];