@suzumiyaaoba/mdxr 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -107,7 +107,7 @@ Once the instructions or skill are installed, ask your agent, for example:
|
|
|
107
107
|
|
|
108
108
|
> Write an implementation plan for the auth feature and render it to HTML with mdxr.
|
|
109
109
|
|
|
110
|
-
Plans, reports, reviews, investigation summaries, release notes, and postmortems all work. By default, new documents use `.mdxr/yyyyMMddhhmmss-<name
|
|
110
|
+
Plans, reports, reviews, investigation summaries, release notes, and postmortems all work. By default, new documents use `.mdxr/yyyyMMddhhmmss-<name>/index.mdx`, with a zero-padded 14-digit local creation time in 24-hour format (for example, `.mdxr/20260929140530-auth-plan/index.mdx`). Keep images and related MDX files in the document's directory. A file path you provide takes priority, and existing documents keep their current paths. If you specify only a directory, create a timestamped subdirectory there and save the document as `index.mdx`. Preview it with `mdxr serve .mdxr/20260929140530-auth-plan/index.mdx`.
|
|
111
111
|
|
|
112
112
|
## License
|
|
113
113
|
|
package/dist/components.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as WireframeSidebarTrigger, $a as CalendarHeatmap, $c as Pin, $i as wireframeToast, $l as EnvVars, $n as WireframeTextParagraph, $o as DocumentLink, $r as WireframeDrawerTitle, $s as SymbolRef, $t as WireframeContextMenuPortal, $u as Approvals, A as WireframeSidebarContent, Aa as DeprecationTimeline, Ac as Sankey, Ai as WireframeBreadcrumbList, Al as Edge, An as WireframeTableRow, Ao as DocumentHistory, Ar as WireframeMenubarShortcut, As as Span, At as WireframeCarouselItemWireframe, Au as Checks, B as WireframeSidebarMenu, Ba as Sunburst, Bc as Release, Bi as WireframeAlertTitle, Bl as Funnel, Bn as WireframeToggle, Bo as TokenUsage, Br as WireframeInput, Bs as FRAME_KINDS, Bt as WireframeFieldLabelWireframe, Bu as Delta, C as WireframeChartLegend, Ca as ServiceTopology, Cc as Score, Ci as WireframeCardHeader, Cl as normalizeIconName, Cn as WireframeTableCaption, Co as SLO, Cr as WireframeMenubarItem, Cs as Ranking, Ct as WireframeButtonGroup, Cu as Lane, D as WireframeChartTooltipContent, Da as CliReference, Dc as Point, Di as WireframeBreadcrumbEllipsis, Dl as Cell, Dn as WireframeTableHead, Do as Reproduction, Dr as WireframeMenubarRadioGroup, Ds as DataTable, Dt as WireframeCarousel, Du as Cmd, E as WireframeChartTooltip, Ea as ApiParams, Ec as Schema, Ei as WireframeBreadcrumb, El as Hypothesis, En as WireframeTableFooter, Eo as Logs, Er as WireframeMenubarPortal, Es as RecordItem, Et as WireframeButtonGroupTextWireframe, Eu as Columns, F as WireframeSidebarGroupLabel, Fa as Coverage, Fc as Review, Fi as WireframeAvatar, Fl as Gauge, Fn as WireframeTooltip, Fo as DatasetProfile, Fr as WireframeMenubarWireframeExample, Fs as Set, Ft as WireframeFieldDescription, Fu as Callout, G as WireframeSidebarMenuItem, Ga as Histogram, Gc as Radar, Gi as WireframeAccordionTrigger, Gl as Finding, Gn as WireframeTabsTrigger, Go as Conversation, Gr as WireframeDrawer, Gs as Timeline, Gt as WireframeContextMenu, Gu as BarChart, H as WireframeSidebarMenuBadge, Ha as RidgelinePlot, Hc as Issue, Hi as WireframeAccordion, Hl as Flow, Hn as WireframeTabs, Ho as ApiExample, Hr as WireframeHoverCardContent, Hs as TraceFrame, Ht as WireframeFieldSeparator, Hu as Bench, I as WireframeSidebarGroupLabelWireframe, Ia as TestHistory, Ic as Req, Ii as WireframeAvatarFallback, Il as Gauges, In as WireframeTooltipContent, Io as EvalCase, Ir as WireframeLabel, Is as Venn, It as WireframeFieldDescriptionWireframe, Iu as BUMP_KINDS, J as WireframeSidebarMenuSubButton, Ja as DumbbellChart, Jc as PRIORITY_LEVELS, Ji as useWireframeSidebar, Jl as File, Jn as WireframeToaster, Jo as Response, Jr as WireframeDrawerDescription, Js as Tests, Jt as WireframeContextMenuGroup, Ju as Ask, K as WireframeSidebarMenuSkeleton, Ka as Heatmap, Kc as Prop, Ki as useWireframeForm, Kl as Findings, Kn as WireframeSwitch, Ko as PackageInstall, Kr as WireframeDrawerClose, Ks as TEST_STATUSES, Kt as WireframeContextMenuCheckboxItem, Ku as Audit, L as WireframeSidebarHeader, La as TestMatrix, Lc as Reqs, Li as WireframeAvatarImage, Ll as Gantt, Ln as WireframeTooltipProvider, Lo as EvalReport, Lr as WireframeKbd, Ls as Tile, Lt as WireframeFieldError, Lu as Bump, M as WireframeSidebarGroup, Ma as AccessibilityReport, Mc as Risk, Mi as WireframeBreadcrumbSeparator, Ml as Glossary, Mn as WireframeListGroup, Mo as Limitations, Mr as WireframeMenubarSubContent, Ms as VERDICTS, Mt as WireframeCarouselPrevious, Mu as Change, N as WireframeSidebarGroupAction, Na as BenchmarkSuite, Nc as Comment, Ni as WireframeBadge, Nl as Term, Nn as WireframeHeading, No as Provenance, Nr as WireframeMenubarSubTrigger, Ns as Verdict, Nt as WireframeField, Nu as Changes, O as WireframeChartWireframe, Oa as CompatibilityMatrix, Oc as Scatter, Oi as WireframeBreadcrumbItem, Ol as Grid, On as WireframeTableHeadWireframe, Oo as SymbolOutline, Or as WireframeMenubarRadioItem, Os as DownloadData, Ot as WireframeCarouselContent, Ou as CHECK_STATUSES, P as WireframeSidebarGroupContent, Pa as ContractResults, Pc as REVIEW_VERDICTS, Pi as WireframeBadgeWireframe, Pl as GAUGE_TONES, Pn as WireframeParagraph, Po as DataValidation, Pr as WireframeMenubarTrigger, Ps as Overlap, Pt as WireframeFieldContent, Pu as CALLOUT_KINDS, Q as WireframeSidebarSeparator, Qa as ChordDiagram, Qc as PlanHeader, Qi as wireframeTextVariants, Ql as EnvVar, Qn as WireframeTextLabel, Qo as CrossRef, Qr as WireframeDrawerPortal, Qs as SYMBOL_KINDS, Qt as WireframeContextMenuLabelWireframe, Qu as Approval, R as WireframeSidebarInput, Ra as ViolinPlot, Rc as ENTRY_KINDS, Ri as WireframeAlert, Rl as Milestone, Rn as WireframeTooltipTrigger, Ro as Experiment, Rr as WireframeKbdGroup, Rs as Treemap, Rt as WireframeFieldGroup, Ru as Bumps, S as WireframeChartContainer, Sa as SequenceDiagram, Sc as Searches, Si as WireframeCardFooter, Sl as hasIcon, Sn as WireframeTableBody, So as Runbook, Sr as WireframeMenubarGroup, Ss as PromptTemplate, St as WireframeInputGroupTextarea, Su as BoardCard, T as WireframeChartStyle, Ta as Swimlane, Tc as DbTable, Ti as WireframeButton, Tl as Hypotheses, Tn as WireframeTableCellWireframe, To as ObjectSchema, Tr as WireframeMenubarMenu, Ts as JourneyMap, Tt as WireframeButtonGroupText, Tu as Column, U as WireframeSidebarMenuButton, Ua as ParetoChart, Uc as PR, Ui as WireframeAccordionContent, Ul as FlowStep, Un as WireframeTabsContent, Uo as CodeGroup, Ur as WireframeHoverCardTrigger, Us as Toc, Ut as WireframeFieldSet, Uu as Benchmarks, V as WireframeSidebarMenuAction, Va as SlopeChart, Vc as Commit, Vi as WireframeAlertWireframe, Vl as Stage, Vn as WireframeTextarea, Vo as ToolCall, Vr as WireframeHoverCard, Vs as Trace, Vt as WireframeFieldLegend, Vu as BENCH_BETTER, W as WireframeSidebarMenuButtonWireframe, Wa as IntervalPlot, Wc as Ref, Wi as WireframeAccordionItem, Wl as CONFIDENCES, Wn as WireframeTabsList, Wo as CodeWalkthrough, Wr as WireframeHoverCardWireframeExample, Ws as Event, Wt as WireframeFieldTitle, Wu as Bar, X as WireframeSidebarProvider, Xa as ConfusionMatrix, Xc as Pre, Xi as wireframeButtonGroupVariants, Xl as FileRef, Xn as WireframeTextCaption, Xo as TabItem, Xr as WireframeDrawerHeader, Xs as parseDuration, Xt as WireframeContextMenuItemWireframe, Xu as QUESTION_TYPES, Y as WireframeSidebarMenuSubItem, Ya as DotPlot, Yc as Priority, Yi as wireframeBadgeVariants, Yl as Files, Yn as WireframeText, Yo as SyncedTabs, Yr as WireframeDrawerFooter, Ys as formatDuration, Yt as WireframeContextMenuItem, Yu as Choice, Z as WireframeSidebarRail, Za as CohortTable, Zc as Plan, Zi as wireframeButtonVariants, Zl as Figure, Zn as WireframeTextHeading, Zo as Cite, Zr as WireframeDrawerOverlay, Zs as Terminal, Zt as WireframeContextMenuLabel, Zu as Question, _ as WireframeEmptyMedia, _a as EntityRelations, _c as SEVERITY_LEVELS, _i as WireframeCheckbox, _l as Del, _n as WireframeItemMediaWireframe, _o as MaintenanceWindow, _r as WireframePaginationNext, _s as VisualDiff, _t as WireframeInputGroup, _u as DECISION_STATUSES, a as WireframeProductGrid, aa as WireframeStack, ac as SERVICE_STATUSES, ai as WireframeDialogDescription, al as Stop, an as WireframeContextMenuSubContent, ao as DecisionMatrix, ar as WireframeSelectItem, as as Sources, at as WireframeSheetFooter, au as Due, b as WireframeEmptyTitleWireframe, ba as MindMap, bc as Series, bi as WireframeCardContent, bl as Incident, bn as WireframeItemTitleWireframe, bo as Remediation, br as WireframeMenubarCheckboxItem, bs as Checklist, bt as WireframeInputGroupInput, bu as Before, c as WireframeContactForm, ca as DatasetDiff, cc as Uptime, ci as WireframeDialogOverlay, cl as Packages, cn as WireframeItem, co as KeyResults, cr as WireframeSelectScrollUpButton, cs as Theorem, ct as WireframeSheetTitleWireframe, cu as DiffView, d as WireframeHeroSection, da as SmallMultiples, dc as Stat, di as WireframeDialogTrigger, dl as Option, dn as WireframeItemDescription, do as RiskRegister, dr as WireframeSelectValue, ds as ImageCompare, dt as WireframeFormControl, du as Details, ea as wireframeToggleVariants, ec as Summary, ed as ComponentMeta, ei as WireframeDrawerTrigger, el as Quadrant, en as WireframeContextMenuRadioGroup, eo as BumpChart, er as WireframeSlider, es as Include, et as WireframeSheet, eu as Endpoint, f as WireframeEmpty, fa as Architecture, fc as Stats, fi as WireframeDialogWireframeExample, fl as Meta, fn as WireframeItemDescriptionWireframe, fo as Scope, fr as WireframePagination, fs as ImageGallery, ft as WireframeFormDescription, fu as DEP_KINDS, g as WireframeEmptyHeader, ga as DependencyMatrix, gc as Stack, gi as WireframeCollapsibleWireframeExample, gl as Json, gn as WireframeItemMedia, go as FeatureFlags, gr as WireframePaginationLink, gs as Video, gt as WireframeFormMessage, gu as PerformanceTarget, h as WireframeEmptyDescriptionWireframe, ha as DecisionTree, hc as Row, hi as WireframeCollapsibleTrigger, hl as LineChart, hn as WireframeItemHeader, ho as ErrorBudget, hr as WireframePaginationItem, hs as PrintLayout, ht as WireframeFormLabel, hu as ResearchClaim, i as WireframeProfilePage, ia as WireframeSection, ic as Day, ii as WireframeDialogContent, il as Pathway, in as WireframeContextMenuSub, io as CapacityPlan, ir as WireframeSelectGroup, is as Source, it as WireframeSheetDescriptionWireframe, iu as Effort, j as WireframeSidebarFooter, ja as ErrorCatalog, jc as RISK_LEVELS, ji as WireframeBreadcrumbPage, jl as Node, jn as WireframeList, jo as Evidence, jr as WireframeMenubarSub, js as Waterfall, jt as WireframeCarouselNext, ju as CHANGE_KINDS, k as WireframeSidebar, ka as ConfigReference, kc as Link, ki as WireframeBreadcrumbLink, kl as Graph, kn as WireframeTableHeader, ko as Assumptions, kr as WireframeMenubarSeparator, ks as FilterPanel, kt as WireframeCarouselItem, ku as Check, l as WireframeRegisterForm, la as JsonDiff, lc as STATUSES, li as WireframeDialogPortal, ll as Owner, ln as WireframeItemActions, lo as Objectives, lr as WireframeSelectSeparator, ls as AnnotatedImage, lt as WireframeSheetTrigger, lu as FileDiff, m as WireframeEmptyDescription, ma as DataLineage, mc as Spark, mi as WireframeCollapsibleContent, ml as Matrix, mn as WireframeItemGroup, mo as AlertRules, mr as WireframePaginationEllipsis, ms as PdfPreview, mt as WireframeFormItem, mu as Deps, n as builtinComponents, na as ChartConfig$1, nc as Steps, nd as defineComponent, ni as WireframeDialog, nl as Slice, nn as WireframeContextMenuSeparator, no as BoxPlot, nr as WireframeSelect, ns as Proof, nt as WireframeSheetContent, nu as HTTP_METHODS, o as WireframePricing, oa as ApiDiff, oc as Service, oi as WireframeDialogFooter, ol as PACKAGE_KINDS, on as WireframeContextMenuSubTrigger, oo as DependencyPlan, or as WireframeSelectLabel, os as TableOfFigures, ot as WireframeSheetHeader, ou as DiffStat, p as WireframeEmptyContent, pa as BundleReport, pc as SPARK_TONES, pi as WireframeCollapsible, pl as MetaItem, pn as WireframeItemFooter, po as Traceability, pr as WireframePaginationContent, ps as PageBreak, pt as WireframeFormField, pu as Dep, q as WireframeSidebarMenuSub, qa as ECDF, qc as Props, qi as useWireframeFormField, ql as FILE_KINDS, qn as WireframeSonnerWireframeExample, qo as Request, qr as WireframeDrawerContent, qs as Test, qt as WireframeContextMenuContent, qu as Vuln, r as WireframeSettingsPage, ra as Wireframe, rc as DAY_STATUSES, rd as textOf, ri as WireframeDialogClose, rl as Phase, rn as WireframeContextMenuShortcut, ro as ActionItems, rr as WireframeSelectContent, rs as Sidenote, rt as WireframeSheetDescription, ru as EFFORT_SIZES, s as WireframeDashboard, sa as ConfigDiff, sc as StatusPage, si as WireframeDialogHeader, sl as Package, sn as WireframeContextMenuTrigger, so as Estimate, sr as WireframeSelectScrollDownButton, ss as TermRef, st as WireframeSheetTitle, su as DiffCommentSpec, t as DocContext, ta as CarouselApi$1, tc as Step, td as MdxrComponent, ti as WireframeDrawerWireframeExample, tl as PieChart, tn as WireframeContextMenuRadioItem, to as BulletChart, tr as WireframeSeparator, ts as NumberedEquation, tt as WireframeSheetClose, tu as Endpoints, u as WireframeLoginForm, ua as SchemaDiff, uc as StatusBadge, ui as WireframeDialogTitle, ul as OPTION_STATUSES, un as WireframeItemContent, uo as RACI, ur as WireframeSelectTrigger, us as AudioTranscript, ut as WireframeForm, uu as parseDiff, v as WireframeEmptyMediaWireframe, va as Flamegraph, vc as Severity, vi as WireframeCard, vl as Ins, vn as WireframeItemSeparator, vo as PermissionMatrix, vr as WireframePaginationPrevious, vs as AnswerSheet, vt as WireframeInputGroupAddon, vu as Decision, w as WireframeChartLegendContent, wa as StateDiagram, wc as DbField, wi as WireframeCardTitle, wl as HYPOTHESIS_STATUSES, wn as WireframeTableCell, wo as ThreatModel, wr as WireframeMenubarLabel, ws as Wizard, wt as WireframeButtonGroupSeparator, wu as Comments, x as WireframeChart, xa as QueryPlan, xc as Search, xi as WireframeCardDescription, xl as Icon, xn as WireframeTable, xo as Rollout, xr as WireframeMenubarContent, xs as DocumentSearch, xt as WireframeInputGroupText, xu as Board, y as WireframeEmptyTitle, ya as ImpactMap, yc as isSeverity, yi as WireframeCardAction, yl as INCIDENT_STATUSES, yn as WireframeItemTitle, yo as RecoveryPlan, yr as WireframeMenubar, ys as Calculator, yt as WireframeInputGroupButton, yu as After, z as WireframeSidebarInset, za as UpSetPlot, zc as Entry, zi as WireframeAlertDescription, zl as Task, zn as WireframeTooltipWireframeExample, zo as ModelComparison, zr as WireframeMedia, zs as Tree, zt as WireframeFieldLabel, zu as Bridge } from "./doc-context-DBRYOjsH.mjs";
|
|
1
|
+
import { $ as WireframeSidebarTrigger, $a as CalendarHeatmap, $c as Pin, $i as wireframeToast, $l as EnvVars, $n as WireframeTextParagraph, $o as DocumentLink, $r as WireframeDrawerTitle, $s as SymbolRef, $t as WireframeContextMenuPortal, $u as Approvals, A as WireframeSidebarContent, Aa as DeprecationTimeline, Ac as Sankey, Ai as WireframeBreadcrumbList, Al as Edge, An as WireframeTableRow, Ao as DocumentHistory, Ar as WireframeMenubarShortcut, As as Span, At as WireframeCarouselItemWireframe, Au as Checks, B as WireframeSidebarMenu, Ba as Sunburst, Bc as Release, Bi as WireframeAlertTitle, Bl as Funnel, Bn as WireframeToggle, Bo as TokenUsage, Br as WireframeInput, Bs as FRAME_KINDS, Bt as WireframeFieldLabelWireframe, Bu as Delta, C as WireframeChartLegend, Ca as ServiceTopology, Cc as Score, Ci as WireframeCardHeader, Cl as normalizeIconName, Cn as WireframeTableCaption, Co as SLO, Cr as WireframeMenubarItem, Cs as Ranking, Ct as WireframeButtonGroup, Cu as Lane, D as WireframeChartTooltipContent, Da as CliReference, Dc as Point, Di as WireframeBreadcrumbEllipsis, Dl as Cell, Dn as WireframeTableHead, Do as Reproduction, Dr as WireframeMenubarRadioGroup, Ds as DataTable, Dt as WireframeCarousel, Du as Cmd, E as WireframeChartTooltip, Ea as ApiParams, Ec as Schema, Ei as WireframeBreadcrumb, El as Hypothesis, En as WireframeTableFooter, Eo as Logs, Er as WireframeMenubarPortal, Es as RecordItem, Et as WireframeButtonGroupTextWireframe, Eu as Columns, F as WireframeSidebarGroupLabel, Fa as Coverage, Fc as Review, Fi as WireframeAvatar, Fl as Gauge, Fn as WireframeTooltip, Fo as DatasetProfile, Fr as WireframeMenubarWireframeExample, Fs as Set, Ft as WireframeFieldDescription, Fu as Callout, G as WireframeSidebarMenuItem, Ga as Histogram, Gc as Radar, Gi as WireframeAccordionTrigger, Gl as Finding, Gn as WireframeTabsTrigger, Go as Conversation, Gr as WireframeDrawer, Gs as Timeline, Gt as WireframeContextMenu, Gu as BarChart, H as WireframeSidebarMenuBadge, Ha as RidgelinePlot, Hc as Issue, Hi as WireframeAccordion, Hl as Flow, Hn as WireframeTabs, Ho as ApiExample, Hr as WireframeHoverCardContent, Hs as TraceFrame, Ht as WireframeFieldSeparator, Hu as Bench, I as WireframeSidebarGroupLabelWireframe, Ia as TestHistory, Ic as Req, Ii as WireframeAvatarFallback, Il as Gauges, In as WireframeTooltipContent, Io as EvalCase, Ir as WireframeLabel, Is as Venn, It as WireframeFieldDescriptionWireframe, Iu as BUMP_KINDS, J as WireframeSidebarMenuSubButton, Ja as DumbbellChart, Jc as PRIORITY_LEVELS, Ji as useWireframeSidebar, Jl as File, Jn as WireframeToaster, Jo as Response, Jr as WireframeDrawerDescription, Js as Tests, Jt as WireframeContextMenuGroup, Ju as Ask, K as WireframeSidebarMenuSkeleton, Ka as Heatmap, Kc as Prop, Ki as useWireframeForm, Kl as Findings, Kn as WireframeSwitch, Ko as PackageInstall, Kr as WireframeDrawerClose, Ks as TEST_STATUSES, Kt as WireframeContextMenuCheckboxItem, Ku as Audit, L as WireframeSidebarHeader, La as TestMatrix, Lc as Reqs, Li as WireframeAvatarImage, Ll as Gantt, Ln as WireframeTooltipProvider, Lo as EvalReport, Lr as WireframeKbd, Ls as Tile, Lt as WireframeFieldError, Lu as Bump, M as WireframeSidebarGroup, Ma as AccessibilityReport, Mc as Risk, Mi as WireframeBreadcrumbSeparator, Ml as Glossary, Mn as WireframeListGroup, Mo as Limitations, Mr as WireframeMenubarSubContent, Ms as VERDICTS, Mt as WireframeCarouselPrevious, Mu as Change, N as WireframeSidebarGroupAction, Na as BenchmarkSuite, Nc as Comment, Ni as WireframeBadge, Nl as Term, Nn as WireframeHeading, No as Provenance, Nr as WireframeMenubarSubTrigger, Ns as Verdict, Nt as WireframeField, Nu as Changes, O as WireframeChartWireframe, Oa as CompatibilityMatrix, Oc as Scatter, Oi as WireframeBreadcrumbItem, Ol as Grid, On as WireframeTableHeadWireframe, Oo as SymbolOutline, Or as WireframeMenubarRadioItem, Os as DownloadData, Ot as WireframeCarouselContent, Ou as CHECK_STATUSES, P as WireframeSidebarGroupContent, Pa as ContractResults, Pc as REVIEW_VERDICTS, Pi as WireframeBadgeWireframe, Pl as GAUGE_TONES, Pn as WireframeParagraph, Po as DataValidation, Pr as WireframeMenubarTrigger, Ps as Overlap, Pt as WireframeFieldContent, Pu as CALLOUT_KINDS, Q as WireframeSidebarSeparator, Qa as ChordDiagram, Qc as PlanHeader, Qi as wireframeTextVariants, Ql as EnvVar, Qn as WireframeTextLabel, Qo as CrossRef, Qr as WireframeDrawerPortal, Qs as SYMBOL_KINDS, Qt as WireframeContextMenuLabelWireframe, Qu as Approval, R as WireframeSidebarInput, Ra as ViolinPlot, Rc as ENTRY_KINDS, Ri as WireframeAlert, Rl as Milestone, Rn as WireframeTooltipTrigger, Ro as Experiment, Rr as WireframeKbdGroup, Rs as Treemap, Rt as WireframeFieldGroup, Ru as Bumps, S as WireframeChartContainer, Sa as SequenceDiagram, Sc as Searches, Si as WireframeCardFooter, Sl as hasIcon, Sn as WireframeTableBody, So as Runbook, Sr as WireframeMenubarGroup, Ss as PromptTemplate, St as WireframeInputGroupTextarea, Su as BoardCard, T as WireframeChartStyle, Ta as Swimlane, Tc as DbTable, Ti as WireframeButton, Tl as Hypotheses, Tn as WireframeTableCellWireframe, To as ObjectSchema, Tr as WireframeMenubarMenu, Ts as JourneyMap, Tt as WireframeButtonGroupText, Tu as Column, U as WireframeSidebarMenuButton, Ua as ParetoChart, Uc as PR, Ui as WireframeAccordionContent, Ul as FlowStep, Un as WireframeTabsContent, Uo as CodeGroup, Ur as WireframeHoverCardTrigger, Us as Toc, Ut as WireframeFieldSet, Uu as Benchmarks, V as WireframeSidebarMenuAction, Va as SlopeChart, Vc as Commit, Vi as WireframeAlertWireframe, Vl as Stage, Vn as WireframeTextarea, Vo as ToolCall, Vr as WireframeHoverCard, Vs as Trace, Vt as WireframeFieldLegend, Vu as BENCH_BETTER, W as WireframeSidebarMenuButtonWireframe, Wa as IntervalPlot, Wc as Ref, Wi as WireframeAccordionItem, Wl as CONFIDENCES, Wn as WireframeTabsList, Wo as CodeWalkthrough, Wr as WireframeHoverCardWireframeExample, Ws as Event, Wt as WireframeFieldTitle, Wu as Bar, X as WireframeSidebarProvider, Xa as ConfusionMatrix, Xc as Pre, Xi as wireframeButtonGroupVariants, Xl as FileRef, Xn as WireframeTextCaption, Xo as TabItem, Xr as WireframeDrawerHeader, Xs as parseDuration, Xt as WireframeContextMenuItemWireframe, Xu as QUESTION_TYPES, Y as WireframeSidebarMenuSubItem, Ya as DotPlot, Yc as Priority, Yi as wireframeBadgeVariants, Yl as Files, Yn as WireframeText, Yo as SyncedTabs, Yr as WireframeDrawerFooter, Ys as formatDuration, Yt as WireframeContextMenuItem, Yu as Choice, Z as WireframeSidebarRail, Za as CohortTable, Zc as Plan, Zi as wireframeButtonVariants, Zl as Figure, Zn as WireframeTextHeading, Zo as Cite, Zr as WireframeDrawerOverlay, Zs as Terminal, Zt as WireframeContextMenuLabel, Zu as Question, _ as WireframeEmptyMedia, _a as EntityRelations, _c as SEVERITY_LEVELS, _i as WireframeCheckbox, _l as Del, _n as WireframeItemMediaWireframe, _o as MaintenanceWindow, _r as WireframePaginationNext, _s as VisualDiff, _t as WireframeInputGroup, _u as DECISION_STATUSES, a as WireframeProductGrid, aa as WireframeStack, ac as SERVICE_STATUSES, ai as WireframeDialogDescription, al as Stop, an as WireframeContextMenuSubContent, ao as DecisionMatrix, ar as WireframeSelectItem, as as Sources, at as WireframeSheetFooter, au as Due, b as WireframeEmptyTitleWireframe, ba as MindMap, bc as Series, bi as WireframeCardContent, bl as Incident, bn as WireframeItemTitleWireframe, bo as Remediation, br as WireframeMenubarCheckboxItem, bs as Checklist, bt as WireframeInputGroupInput, bu as Before, c as WireframeContactForm, ca as DatasetDiff, cc as Uptime, ci as WireframeDialogOverlay, cl as Packages, cn as WireframeItem, co as KeyResults, cr as WireframeSelectScrollUpButton, cs as Theorem, ct as WireframeSheetTitleWireframe, cu as DiffView, d as WireframeHeroSection, da as SmallMultiples, dc as Stat, di as WireframeDialogTrigger, dl as Option, dn as WireframeItemDescription, do as RiskRegister, dr as WireframeSelectValue, ds as ImageCompare, dt as WireframeFormControl, du as Details, ea as wireframeToggleVariants, ec as Summary, ed as ComponentMeta, ei as WireframeDrawerTrigger, el as Quadrant, en as WireframeContextMenuRadioGroup, eo as BumpChart, er as WireframeSlider, es as Include, et as WireframeSheet, eu as Endpoint, f as WireframeEmpty, fa as Architecture, fc as Stats, fi as WireframeDialogWireframeExample, fl as Meta, fn as WireframeItemDescriptionWireframe, fo as Scope, fr as WireframePagination, fs as ImageGallery, ft as WireframeFormDescription, fu as DEP_KINDS, g as WireframeEmptyHeader, ga as DependencyMatrix, gc as Stack, gi as WireframeCollapsibleWireframeExample, gl as Json, gn as WireframeItemMedia, go as FeatureFlags, gr as WireframePaginationLink, gs as Video, gt as WireframeFormMessage, gu as PerformanceTarget, h as WireframeEmptyDescriptionWireframe, ha as DecisionTree, hc as Row, hi as WireframeCollapsibleTrigger, hl as LineChart, hn as WireframeItemHeader, ho as ErrorBudget, hr as WireframePaginationItem, hs as PrintLayout, ht as WireframeFormLabel, hu as ResearchClaim, i as WireframeProfilePage, ia as WireframeSection, ic as Day, ii as WireframeDialogContent, il as Pathway, in as WireframeContextMenuSub, io as CapacityPlan, ir as WireframeSelectGroup, is as Source, it as WireframeSheetDescriptionWireframe, iu as Effort, j as WireframeSidebarFooter, ja as ErrorCatalog, jc as RISK_LEVELS, ji as WireframeBreadcrumbPage, jl as Node, jn as WireframeList, jo as Evidence, jr as WireframeMenubarSub, js as Waterfall, jt as WireframeCarouselNext, ju as CHANGE_KINDS, k as WireframeSidebar, ka as ConfigReference, kc as Link, ki as WireframeBreadcrumbLink, kl as Graph, kn as WireframeTableHeader, ko as Assumptions, kr as WireframeMenubarSeparator, ks as FilterPanel, kt as WireframeCarouselItem, ku as Check, l as WireframeRegisterForm, la as JsonDiff, lc as STATUSES, li as WireframeDialogPortal, ll as Owner, ln as WireframeItemActions, lo as Objectives, lr as WireframeSelectSeparator, ls as AnnotatedImage, lt as WireframeSheetTrigger, lu as FileDiff, m as WireframeEmptyDescription, ma as DataLineage, mc as Spark, mi as WireframeCollapsibleContent, ml as Matrix, mn as WireframeItemGroup, mo as AlertRules, mr as WireframePaginationEllipsis, ms as PdfPreview, mt as WireframeFormItem, mu as Deps, n as builtinComponents, na as ChartConfig$1, nc as Steps, nd as defineComponent, ni as WireframeDialog, nl as Slice, nn as WireframeContextMenuSeparator, no as BoxPlot, nr as WireframeSelect, ns as Proof, nt as WireframeSheetContent, nu as HTTP_METHODS, o as WireframePricing, oa as ApiDiff, oc as Service, oi as WireframeDialogFooter, ol as PACKAGE_KINDS, on as WireframeContextMenuSubTrigger, oo as DependencyPlan, or as WireframeSelectLabel, os as TableOfFigures, ot as WireframeSheetHeader, ou as DiffStat, p as WireframeEmptyContent, pa as BundleReport, pc as SPARK_TONES, pi as WireframeCollapsible, pl as MetaItem, pn as WireframeItemFooter, po as Traceability, pr as WireframePaginationContent, ps as PageBreak, pt as WireframeFormField, pu as Dep, q as WireframeSidebarMenuSub, qa as ECDF, qc as Props, qi as useWireframeFormField, ql as FILE_KINDS, qn as WireframeSonnerWireframeExample, qo as Request, qr as WireframeDrawerContent, qs as Test, qt as WireframeContextMenuContent, qu as Vuln, r as WireframeSettingsPage, ra as Wireframe, rc as DAY_STATUSES, rd as textOf, ri as WireframeDialogClose, rl as Phase, rn as WireframeContextMenuShortcut, ro as ActionItems, rr as WireframeSelectContent, rs as Sidenote, rt as WireframeSheetDescription, ru as EFFORT_SIZES, s as WireframeDashboard, sa as ConfigDiff, sc as StatusPage, si as WireframeDialogHeader, sl as Package, sn as WireframeContextMenuTrigger, so as Estimate, sr as WireframeSelectScrollDownButton, ss as TermRef, st as WireframeSheetTitle, su as DiffCommentSpec, t as DocContext, ta as CarouselApi$1, tc as Step, td as MdxrComponent, ti as WireframeDrawerWireframeExample, tl as PieChart, tn as WireframeContextMenuRadioItem, to as BulletChart, tr as WireframeSeparator, ts as NumberedEquation, tt as WireframeSheetClose, tu as Endpoints, u as WireframeLoginForm, ua as SchemaDiff, uc as StatusBadge, ui as WireframeDialogTitle, ul as OPTION_STATUSES, un as WireframeItemContent, uo as RACI, ur as WireframeSelectTrigger, us as AudioTranscript, ut as WireframeForm, uu as parseDiff, v as WireframeEmptyMediaWireframe, va as Flamegraph, vc as Severity, vi as WireframeCard, vl as Ins, vn as WireframeItemSeparator, vo as PermissionMatrix, vr as WireframePaginationPrevious, vs as AnswerSheet, vt as WireframeInputGroupAddon, vu as Decision, w as WireframeChartLegendContent, wa as StateDiagram, wc as DbField, wi as WireframeCardTitle, wl as HYPOTHESIS_STATUSES, wn as WireframeTableCell, wo as ThreatModel, wr as WireframeMenubarLabel, ws as Wizard, wt as WireframeButtonGroupSeparator, wu as Comments, x as WireframeChart, xa as QueryPlan, xc as Search, xi as WireframeCardDescription, xl as Icon, xn as WireframeTable, xo as Rollout, xr as WireframeMenubarContent, xs as DocumentSearch, xt as WireframeInputGroupText, xu as Board, y as WireframeEmptyTitle, ya as ImpactMap, yc as isSeverity, yi as WireframeCardAction, yl as INCIDENT_STATUSES, yn as WireframeItemTitle, yo as RecoveryPlan, yr as WireframeMenubar, ys as Calculator, yt as WireframeInputGroupButton, yu as After, z as WireframeSidebarInset, za as UpSetPlot, zc as Entry, zi as WireframeAlertDescription, zl as Task, zn as WireframeTooltipWireframeExample, zo as ModelComparison, zr as WireframeMedia, zs as Tree, zt as WireframeFieldLabel, zu as Bridge } from "./doc-context-CWoaAPd4.mjs";
|
|
2
2
|
import * as React$2 from "react";
|
|
3
3
|
import React$1 from "react";
|
|
4
4
|
import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
|
|
@@ -68,8 +68,8 @@ declare function AlertAction({ className, ...props }: React$2.ComponentProps<"di
|
|
|
68
68
|
//#endregion
|
|
69
69
|
//#region src/components/ui/button.d.ts
|
|
70
70
|
declare const buttonVariants: (props?: ({
|
|
71
|
-
size?: "default" | "sm" | "xs" | "icon" | "icon-
|
|
72
|
-
variant?: "
|
|
71
|
+
size?: "default" | "sm" | "xs" | "icon" | "icon-sm" | "icon-xs" | "lg" | "icon-lg" | null | undefined;
|
|
72
|
+
variant?: "link" | "default" | "destructive" | "outline" | "ghost" | "secondary" | null | undefined;
|
|
73
73
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
74
74
|
declare function Button({ className, variant, size, ...props }: Button$1.Props & VariantProps<typeof buttonVariants>): import("react").JSX.Element;
|
|
75
75
|
//#endregion
|
|
@@ -126,7 +126,7 @@ declare function AvatarGroupCount({ className, ...props }: React$2.ComponentProp
|
|
|
126
126
|
//#endregion
|
|
127
127
|
//#region src/components/ui/badge.d.ts
|
|
128
128
|
declare const badgeVariants: (props?: ({
|
|
129
|
-
variant?: "
|
|
129
|
+
variant?: "link" | "default" | "destructive" | "outline" | "ghost" | "secondary" | null | undefined;
|
|
130
130
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
131
131
|
declare function Badge({ className, variant, render, ...props }: useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
132
132
|
//#endregion
|
|
@@ -142,7 +142,7 @@ declare function BreadcrumbEllipsis({ className, ...props }: React$2.ComponentPr
|
|
|
142
142
|
//#region src/components/ui/bubble.d.ts
|
|
143
143
|
declare function BubbleGroup({ className, ...props }: React$2.ComponentProps<"div">): React$2.JSX.Element;
|
|
144
144
|
declare const bubbleVariants: (props?: ({
|
|
145
|
-
variant?: "default" | "destructive" | "
|
|
145
|
+
variant?: "default" | "destructive" | "muted" | "outline" | "ghost" | "secondary" | "tinted" | null | undefined;
|
|
146
146
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
147
147
|
declare function Bubble({ variant, align, className, ...props }: React$2.ComponentProps<"div"> & VariantProps<typeof bubbleVariants> & {
|
|
148
148
|
align?: "start" | "end";
|
|
@@ -474,11 +474,11 @@ declare function ItemGroup({ className, ...props }: React$2.ComponentProps<"div"
|
|
|
474
474
|
declare function ItemSeparator({ className, ...props }: React$2.ComponentProps<typeof Separator>): React$2.JSX.Element;
|
|
475
475
|
declare const itemVariants: (props?: ({
|
|
476
476
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
477
|
-
variant?: "default" | "
|
|
477
|
+
variant?: "default" | "muted" | "outline" | null | undefined;
|
|
478
478
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
479
479
|
declare function Item({ className, variant, size, render, ...props }: useRender.ComponentProps<"div"> & VariantProps<typeof itemVariants>): React$2.ReactElement<unknown, string | React$2.JSXElementConstructor<any>>;
|
|
480
480
|
declare const itemMediaVariants: (props?: ({
|
|
481
|
-
variant?: "
|
|
481
|
+
variant?: "image" | "default" | "icon" | null | undefined;
|
|
482
482
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
483
483
|
declare function ItemMedia({ className, variant, ...props }: React$2.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): React$2.JSX.Element;
|
|
484
484
|
declare function ItemContent({ className, ...props }: React$2.ComponentProps<"div">): React$2.JSX.Element;
|
|
@@ -494,7 +494,7 @@ declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">):
|
|
|
494
494
|
//#endregion
|
|
495
495
|
//#region src/components/ui/marker.d.ts
|
|
496
496
|
declare const markerVariants: (props?: ({
|
|
497
|
-
variant?: "
|
|
497
|
+
variant?: "separator" | "default" | "border" | null | undefined;
|
|
498
498
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
499
499
|
declare function Marker({ className, variant, render, ...props }: useRender.ComponentProps<"div"> & VariantProps<typeof markerVariants>): React$2.ReactElement<unknown, string | React$2.JSXElementConstructor<any>>;
|
|
500
500
|
declare function MarkerIcon({ className, ...props }: React$2.ComponentProps<"span">): React$2.JSX.Element;
|
|
@@ -750,7 +750,7 @@ declare function TableCaption({ className, ...props }: React$2.ComponentProps<"c
|
|
|
750
750
|
//#region src/components/ui/tabs.d.ts
|
|
751
751
|
declare function Tabs({ className, orientation, ...props }: Tabs$1.Root.Props): import("react").JSX.Element;
|
|
752
752
|
declare const tabsListVariants: (props?: ({
|
|
753
|
-
variant?: "
|
|
753
|
+
variant?: "line" | "default" | null | undefined;
|
|
754
754
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
755
755
|
declare function TabsList({ className, variant, ...props }: Tabs$1.List.Props & VariantProps<typeof tabsListVariants>): import("react").JSX.Element;
|
|
756
756
|
declare function TabsTrigger({ className, ...props }: Tabs$1.Tab.Props): import("react").JSX.Element;
|
|
@@ -820,13 +820,13 @@ declare const wireframeButtonGroupVariants: (props?: ({
|
|
|
820
820
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
821
821
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
822
822
|
declare const wireframeButtonVariants: (props?: ({
|
|
823
|
-
variant?: "
|
|
823
|
+
variant?: "link" | "default" | "destructive" | "outline" | "ghost" | "secondary" | null | undefined;
|
|
824
824
|
size?: "default" | "sm" | "icon" | "lg" | null | undefined;
|
|
825
825
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
826
826
|
declare const wireframeTextVariants: (props?: ({
|
|
827
827
|
size?: "base" | "sm" | "xs" | "lg" | "xl" | null | undefined;
|
|
828
828
|
width?: "sm" | "xs" | "lg" | "md" | "xl" | "full" | null | undefined;
|
|
829
|
-
color?: "default" | "
|
|
829
|
+
color?: "default" | "muted" | "secondary" | "subtle" | "primary" | "accent" | null | undefined;
|
|
830
830
|
animate?: "none" | "pulse" | "shimmer" | "typing" | null | undefined;
|
|
831
831
|
emphasis?: "secondary" | "subtle" | "primary" | "tertiary" | null | undefined;
|
|
832
832
|
truncate?: boolean | null | undefined;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ed as ComponentMeta, n as builtinComponents, nd as defineComponent, rd as textOf, t as DocContext, td as MdxrComponent } from "./doc-context-
|
|
1
|
+
import { ed as ComponentMeta, n as builtinComponents, nd as defineComponent, rd as textOf, t as DocContext, td as MdxrComponent } from "./doc-context-CWoaAPd4.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
//#region src/config.d.ts
|
|
4
4
|
/** Shape of `mdxr.config.ts` in a project that uses mdxr. */
|
package/package.json
CHANGED
package/skill/SKILL.md
CHANGED
|
@@ -9,10 +9,10 @@ Write documents as **Markdown + a small set of JSX components** (MDX). Do NOT wr
|
|
|
9
9
|
|
|
10
10
|
## Workflow
|
|
11
11
|
|
|
12
|
-
1. Write new documents to `.mdxr/yyyyMMddhhmmss-<name
|
|
12
|
+
1. Write new documents to `.mdxr/yyyyMMddhhmmss-<name>/index.mdx` at the project root. Use a zero-padded 14-digit timestamp from local time; the hour uses 24-hour time. Choose a concise, meaningful name such as `auth-plan`. Keep supporting MDX files, images, and other assets in the document's directory or its subdirectories, using relative references. If the user specifies a filename or full path, use it as given; if they specify only a directory, create a timestamped subdirectory containing `index.mdx` there. When editing an existing document, keep its current path. Record the chosen path once and reuse that exact path in every later command; if each shell call is separate, substitute the recorded path for `$doc` and do not regenerate the timestamp. For example: `doc=".mdxr/$(date +%Y%m%d%H%M%S)-auth-plan/index.mdx"`. Create the parent directory with `mkdir -p "$(dirname "$doc")"` before writing files. `.mdxr/` is untracked scratch space: if the project is a git repo, make sure `.gitignore` lists `.mdxr/` — append it when missing.
|
|
13
13
|
2. Show it to the user: in Codex, run `npx @suzumiyaaoba/mdxr serve "$doc" --agent codex --open`; in Claude Code, use `--agent claude` instead. This enables the Agent button in the bottom-right corner. In other environments, run `npx @suzumiyaaoba/mdxr serve "$doc" --open` without `--agent`. Run the command **in the background** and leave it running — `serve` stays attached for live reload. It prints `mdxr: serving … at http://localhost:PORT` (if the port is taken it picks the next free one) and `--open` launches that URL in the user's default browser. Do NOT `mdxr render --open` when the goal is to show the document — that's a one-shot file, not the live preview.
|
|
14
|
-
3.
|
|
15
|
-
4. When a standalone `.html` file is the deliverable itself (to save or share), render it: `npx @suzumiyaaoba/mdxr render "$doc"` (default output is the source path with `.html`).
|
|
14
|
+
3. For self-contained documents in environments without an agent integration, you can pipe MDX directly: `cat "$doc" | npx @suzumiyaaoba/mdxr serve --open`. For documents with local file references, pass `"$doc"` directly so relative paths resolve from its directory. `--agent` requires a saved MDX file path, so use `"$doc"` as the `serve` argument in Codex and Claude Code.
|
|
15
|
+
4. When a standalone `.html` file is the deliverable itself (to save or share), render it: `npx @suzumiyaaoba/mdxr render "$doc"` (default output is the source path with `.html`, so `index.html` sits beside `index.mdx`). For self-contained documents, piping also works: `cat "$doc" | npx @suzumiyaaoba/mdxr render > "${doc%.*}.html"` (`mdxr render -` also reads stdin; `-o out.html` sets the path).
|
|
16
16
|
5. On errors, the message includes `file:line:col` — fix and re-run. `npx @suzumiyaaoba/mdxr render "$doc" --format json` prints machine-readable errors.
|
|
17
17
|
6. Plain-text deliverable: `npx @suzumiyaaoba/mdxr text "$doc"` renders the document to Markdown readable in a terminal — components become ASCII stand-ins (checkbox lists, bar charts, GFM tables); interactive-only widgets degrade to their text.
|
|
18
18
|
|