mirror of
https://github.com/ZSeven-W/openpencil.git
synced 2026-05-31 19:04:29 +07:00
The `op export` command was removed in 0.7.x but the README still advertised it (#116). The pen-mcp README also documented an `npx @zseven-w/pen-mcp` quick-start that never worked because the package ships TypeScript source against workspace-only deps with no `bin` entry (#117). - Strip `op export` references from all 15 root and 15 cli READMEs - Sync AGENTS.md, CLAUDE.md, apps/cli/CLAUDE.md to match the codegen- pipeline reality (no standalone export command anymore) - Rewrite pen-mcp README's quick-start: explain the package ships as part of the OpenPencil app and external clients connect over HTTP Closes #116 Closes #117 |
||
|---|---|---|
| .. | ||
| src | ||
| CLAUDE.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
@zseven-w/pen-types
Type definitions for the OpenPencil document model.
Install
npm install @zseven-w/pen-types
What's Included
This package provides all TypeScript types and interfaces for the OpenPencil design file format (.op):
- Document model —
PenDocument,PenPage,PenNodeand all node types (FrameNode,RectangleNode,EllipseNode,TextNode,ImageNode,PathNode, etc.) - Styles —
PenFill(solid, gradient, image),PenStroke,PenEffect(blur, shadow),BlendMode,StyledTextSegment - Variables & Themes —
VariableDefinition,VariableValue,ThemedValue - Canvas state —
ToolType,ViewportState,SelectionState,CanvasInteraction - UIKit —
UIKit,KitComponent,ComponentCategory - Theme presets —
ThemePreset,ThemePresetFile - Design spec —
DesignMdSpec,DesignMdColor,DesignMdTypography
Usage
import type { PenDocument, PenNode, FrameNode } from '@zseven-w/pen-types';
License
MIT