Files
confluence-mcp/node_modules/hono/dist/jsx/jsx-runtime.js
Christian Gick 2768650b42 feat: Initial confluence-mcp server for realtime collaboration
Provides 8 MCP tools for Confluence Cloud:
- confluence_list_spaces, confluence_create_space
- confluence_search, confluence_get_page
- confluence_create_page, confluence_update_page
- confluence_get_comments, confluence_add_comment

Uses Confluence REST API v2 with basic auth.
Registered in Claude Code and mcp-proxy.

Refs: CF-935

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 18:09:30 +02:00

42 lines
1.2 KiB
JavaScript

// src/jsx/jsx-runtime.ts
import { jsxDEV, Fragment } from "./jsx-dev-runtime.js";
import { jsxDEV as jsxDEV2 } from "./jsx-dev-runtime.js";
import { html, raw } from "../helper/html/index.js";
import { escapeToBuffer, stringBufferToString } from "../utils/html.js";
import { styleObjectForEach } from "./utils.js";
var jsxAttr = (key, v) => {
const buffer = [`${key}="`];
if (key === "style" && typeof v === "object") {
let styleStr = "";
styleObjectForEach(v, (property, value) => {
if (value != null) {
styleStr += `${styleStr ? ";" : ""}${property}:${value}`;
}
});
escapeToBuffer(styleStr, buffer);
buffer[0] += '"';
} else if (typeof v === "string") {
escapeToBuffer(v, buffer);
buffer[0] += '"';
} else if (v === null || v === void 0) {
return raw("");
} else if (typeof v === "number" || v.isEscaped) {
buffer[0] += `${v}"`;
} else if (v instanceof Promise) {
buffer.unshift('"', v);
} else {
escapeToBuffer(v.toString(), buffer);
buffer[0] += '"';
}
return buffer.length === 1 ? raw(buffer[0]) : stringBufferToString(buffer, void 0);
};
var jsxEscape = (value) => value;
export {
Fragment,
jsxDEV as jsx,
jsxAttr,
jsxEscape,
html as jsxTemplate,
jsxDEV2 as jsxs
};