hypercross
8194438816
feat(journal): implement message registry and stream store
...
Implement a robust journal system featuring a type-safe message
registry and an MQTT-backed stream store.
- Add `registry.ts` to manage message type definitions, Zod schemas,
and custom reducers.
- Implement `journalStream.ts` to manage MQTT connections, session
lifecycle, and reactive message state.
- Add built-in message types for `narrative`, `intent`, `roll`,
and `article`.
- Provide utilities for message validation, optimistic local updates,
and message reversion.
2026-07-06 14:48:18 +08:00
hypercross
21f8fbcd0b
feat: add MQTT journal server for session persistence
...
Implement a journal server that uses an Aedes MQTT broker to
persist stream messages to JSONL files and manage session metadata
via a manifest.
- Add `aedes`, `mqtt`, and `zod` dependencies
- Implement `createJournalServer` in `src/cli/journal.ts`
- Integrate journal server into the `serve` command
- Add `--mqtt-port` option to the CLI
- Add session lifecycle management (create, update, delete) via
retained MQTT topics
2026-07-06 14:19:16 +08:00
hypercross
08389601ac
style: reformat and improve CSS structure
...
- Add Tailwind source scanning for color utilities
- Implement icon masking support
- Reformat CSS for better readability and consistency
- Expand utility definitions into multi-line blocks
2026-07-06 13:28:01 +08:00
hyper
d56e8ca23d
fix(ui): Add text-black to prose elements
2026-07-03 22:11:50 +08:00
hyper
0add3f27d5
fix(layer-editor): use stable _key for drag-and-drop sorting
...
Add a unique `_key` to each layer config to maintain stable sortable IDs
across reorder operations. Update LayerRow to use the sortableId prop
and the `use:sortable` directive. Refactor layer-crud utilities to
generate and propagate `_key` values on creation and initialization.
2026-07-03 21:49:18 +08:00
hyper
186e3c0db6
feat(layer-editor): Stable sortable IDs, drag opacity
...
- Use createMemo for stable IDs to prevent re-renders
- Add opacity and transition styles during drag
- Remove "所有字段已添加" message when no available fields
2026-06-30 21:44:59 +08:00
hyper
bdc06cc49a
style(md-deck): Use double quotes and shrink-0 class
2026-06-30 21:35:39 +08:00
hyper
b3d390dfd5
refactor(editor-panel): extract LayerRow and layer crud logic
2026-06-30 21:34:10 +08:00
hyper
42c7c9a26e
feat(editor): Add dnd reordering and layer add/remove
2026-06-30 20:55:13 +08:00
hyper
9794184e98
style(file-tree): Reformat JSX and fix class name
2026-06-30 20:26:11 +08:00
hyper
53c8ce0677
feat(viewer): Add data source dialog
...
Introduce a dialog for switching between built-in content and a
user-selected local folder. Persist the folder handle in IndexedDB
so the selection survives page refreshes. Scan the folder for .md,
.yarn, and .csv files to build the file index.
Update App and Sidebar to pass file tree and heading data, and
add TypeScript declarations for the File System Access API.
2026-06-30 19:20:08 +08:00
hyper
a05b0f4291
refactor(doc-data): Use static imports for doc entries
2026-06-30 18:54:34 +08:00
hyper
d72d4e7bde
feat(docs): add component documentation entries and refactor dialog
...
rendering
2026-06-30 18:47:14 +08:00
hyper
0886a406bb
feat(doc-data): Add md-font component and update md-bg
2026-06-30 18:40:22 +08:00
hyper
fa57727abb
feat(md-font): Add color prop support
2026-06-30 18:28:40 +08:00
hyper
f337acd142
feat(md-bg): Add solid color background support
2026-06-30 18:24:38 +08:00
hyper
e4b980202e
feat(doc): Add md-border entry and reformat existing props
2026-06-26 11:11:25 +08:00
hyper
e861b80f57
feat(components): add md-border custom element
2026-06-26 11:10:06 +08:00
hyper
110451ae04
feat: Add command documentation dialog
...
Introduce a modal dialog that displays documentation for all available
markdown commands, accessible via a '?' button in the header.
2026-06-25 21:04:53 +08:00
hyper
f734da6acd
feat(viewer): Add md-embed component
2026-06-25 20:43:40 +08:00
hyper
f19c7ff77c
refactor(markdown): Replace `using` with try-finally
2026-06-25 20:33:08 +08:00
hyper
1a4ae417fe
feat: Add multi-source font and style manager
...
Rename md-emfont to md-font with support for Google, emfont, and local
sources. Introduce article-style-manager.ts for centralized lifecycle
management of article-level styles and external stylesheet link
injection with reference counting. Refactor md-bg to use the new
manager, removing direct createEffect on article styles.
2026-06-25 20:26:34 +08:00
hypercross
771fe6a112
style: add mask properties to icon class
2026-06-16 16:40:44 +08:00
hyper
a5021ff5b4
style: reformat PltPreview and fix SVG rendering
...
- Reformat code to use double quotes and consistent indentation
- Improve SVG path styling for travel paths and borders
- Fix layout nesting and indentation in the component template
- Add missing circle element to card index labels
2026-05-18 22:19:48 +08:00
hypercross
1582191655
feat: add custom YAML tag code block extension
2026-05-11 12:05:19 +08:00
hypercross
a19d848456
refactor: remove words prop from md-emfont
...
Removes the `words` property from `EmfontProps` and simplifies the
URL construction by removing the font subsetting logic.
2026-05-11 11:56:22 +08:00
hypercross
4038d67ea0
feat: add md-emfont component and format code
...
- Add `md-emfont` custom element for dynamic font loading
- Register `md-emfont` in component index
- Reformat `Article.tsx` and `index.ts` using double quotes and
consistent spacing
- Fix indentation in `index.html`
2026-05-11 11:25:57 +08:00
hypercross
d4de95b465
refactor: fix layout for merged decks in PrintPreview
...
Update PrintPreview to correctly handle dimensions and layer
configurations when multiple decks are merged. Instead of using the
base store for all cards, it now maps each card to its specific
source store to ensure correct grid positioning and styling.
2026-05-05 16:46:10 +08:00
hypercross
4953d33f0f
feat: implement multi-deck merging for print preview
...
Introduce a deck registry to track all active deck instances. This
allows users to select and merge multiple decks with matching
dimensions into a single print preview and export session.
2026-05-05 16:30:49 +08:00
hypercross
163aa8c783
refactor: move yarn-spinner-loader to external dependency
2026-04-14 16:35:18 +08:00
hypercross
c110bb08b5
fix: label css typo
2026-04-09 12:35:54 +08:00
hypercross
348dff82f4
refactor: add pull-2, icon label, icon repeat
2026-04-09 12:31:07 +08:00
hypercross
2aaca2c56f
fix: md-bg articlePath passing
2026-04-09 11:53:24 +08:00
hyper
afe2eb4af8
fix: cli file change detection now includes csv/yarn
2026-04-08 19:43:32 +08:00
hyper
b09560a4e5
refactor: allow chinese layer names
2026-04-07 19:33:08 +08:00
hyper
4d1c40ed3e
refactor: add support for non-png icons
2026-04-06 18:31:08 +08:00
hypercross
cd5741692a
refactor: alignment icons
2026-03-31 22:32:53 +08:00
hypercross
d8058fd224
refactor: hide original frame
2026-03-31 22:32:53 +08:00
hypercross
49fca8c18f
fix: rotation
2026-03-31 22:32:53 +08:00
hypercross
ceb2da8b1a
refactor: layer transform controls
2026-03-31 22:32:53 +08:00
hypercross
56cabea109
refactor: layer editing ui
2026-03-31 22:32:53 +08:00
hypercross
831955e16e
fix: csv loading
2026-03-31 22:32:52 +08:00
hypercross
ea57cf8d2b
refactor: layer alignment
2026-03-31 22:32:52 +08:00
hypercross
273f949839
refactor: details
2026-03-31 22:32:52 +08:00
hyper
18ea01b904
fix: plt/print preview window stacking
2026-03-31 17:28:46 +08:00
hypercross
0aaf81057a
fix: parsing issues
2026-03-26 11:46:33 +08:00
hypercross
228327913e
refactor: icon mini styling
2026-03-25 18:08:32 +08:00
hypercross
3cd8cc54b7
fix: mini icons
2026-03-25 17:36:19 +08:00
hypercross
64ac6c4516
fix: card layer assets
2026-03-25 17:29:56 +08:00
hypercross
8af559fe1c
refactor: invert dice interaction
2026-03-25 14:08:29 +08:00
hypercross
33d29252dc
refactor: more toc
2026-03-25 11:00:32 +08:00
hypercross
a7477666c7
refactor: toc behaviour
2026-03-25 10:49:15 +08:00
hypercross
3aaa991bd8
refactor: toc toggle
2026-03-25 10:26:06 +08:00
hypercross
32e91f7dc8
refactor: sidebar color
2026-03-25 09:42:58 +08:00
hypercross
028074e4f1
fix: columns
2026-03-23 22:22:01 +08:00
hypercross
6f8be557b4
fix: jest
2026-03-23 20:24:25 +08:00
hypercross
30ddcfc32d
refactor: layout
2026-03-23 19:01:42 +08:00
hypercross
f658fd3380
refactor: convert xdx tables by default
2026-03-23 18:57:55 +08:00
hypercross
8f6a6b96e2
feat: mothership character store
2026-03-23 01:13:19 +08:00
hypercross
c5e091da08
fix: toc uri
2026-03-22 10:11:41 +08:00
hypercross
206e799f34
fix: toc details
2026-03-22 01:47:26 +08:00
hypercross
94abd3e469
refactor: toc on right on xl
2026-03-22 01:41:37 +08:00
hypercross
fbc67175ae
fix: scrolling
2026-03-22 01:18:53 +08:00
hypercross
4839985154
fix: csv
2026-03-22 00:27:59 +08:00
hypercross
68d57ac049
refactor: style
2026-03-21 19:09:54 +08:00
hypercross
fbdb427532
refactor: md-roll-label and md-remix-label
2026-03-21 18:58:42 +08:00
hypercross
f9d0620d3e
fix: chinese prop names
2026-03-21 18:52:40 +08:00
hypercross
66e8564a34
feat: md-table weighted random
2026-03-21 18:42:50 +08:00
hypercross
0261061bcb
refactor: md-table body column gen
2026-03-21 18:30:40 +08:00
hypercross
617fd17def
feat: md-pins allow numbers
2026-03-21 18:16:41 +08:00
hypercross
6f57970711
feat: auto-convert tables
2026-03-21 17:53:06 +08:00
hypercross
6b411c2f24
feat: inline md-table
2026-03-21 17:48:30 +08:00
hypercross
3d9617f06c
fix: host addr
2026-03-21 00:29:36 +08:00
hypercross
7a490b82df
fix: toc
2026-03-20 09:01:21 +08:00
hypercross
d19401373f
fix: slugging
2026-03-19 11:26:59 +08:00
hypercross
71ab7523da
fix: shutdown
2026-03-18 15:27:06 +08:00
hypercross
e5ce8c20b5
fix: mcp serve
2026-03-18 15:19:55 +08:00
hypercross
5389345a00
feat: mcp serve preview
2026-03-18 14:47:56 +08:00
hypercross
1d2b4b3e1e
feat: layer docs
2026-03-18 14:28:44 +08:00
hypercross
301f499494
feat: resources?
2026-03-18 13:25:01 +08:00
hypercross
8213092bb6
fix: docs
2026-03-18 13:02:50 +08:00
hypercross
4f9d295bd5
feat: mcp prompts
2026-03-18 12:13:15 +08:00
hypercross
62aff91a86
fix: mcp
2026-03-18 12:08:28 +08:00
hypercross
eecf429a20
fix: env and __CONTENT_INDEX
2026-03-18 11:31:13 +08:00
hyper
7b68504b1e
feat: mcp server!
2026-03-17 22:49:47 +08:00
hyper
834db72ec4
feat: mcp server?
2026-03-17 20:01:04 +08:00
hyper
b099d5695d
refactor: move centering to 3mf gen
2026-03-17 12:49:49 +08:00
hyper
c24c3b920d
fix: url
2026-03-17 12:38:01 +08:00
hyper
352b17071c
fix: cleanup
2026-03-17 12:19:15 +08:00
hyper
c3f71f8be1
Merge branch 'master' of https://gitea.ayi-games.online/hypercross/ttrpg-tools
2026-03-17 12:10:43 +08:00
hyper
940caaf8e4
fix: display
2026-03-17 12:10:33 +08:00
hypercross
342cf97a50
fix: parameters
2026-03-16 09:39:43 +08:00
hypercross
cde2134b4b
fix: svg parsing
2026-03-16 09:29:32 +08:00
hypercross
c99f602efa
refactor: some tweaks
2026-03-16 09:02:35 +08:00
hyper
2476659fc6
refactor: stl->3mf
2026-03-15 23:17:16 +08:00
hyper
7be206581d
refactor: plotter code
2026-03-15 21:08:41 +08:00
hypercross
a4e8e31921
fix: render issues
2026-03-15 19:24:40 +08:00
hypercross
e92065d14c
refactor: token viewer
2026-03-15 19:14:39 +08:00
hypercross
8c33dc282b
feat: md-token
2026-03-15 19:01:39 +08:00
hypercross
a840261ae0
feat: path closure
2026-03-15 18:28:52 +08:00
hypercross
2d4b719e10
refactor: better preview
2026-03-15 15:44:35 +08:00
hypercross
2e03ef3591
refactor: better sizing
2026-03-15 15:01:01 +08:00
hypercross
2b1dbd41e1
refactor: preview contour correctly
2026-03-15 14:55:50 +08:00
hypercross
ee2fa057f6
fix: contour gen
2026-03-15 14:44:45 +08:00
hypercross
9f665fc403
chore: contour test
2026-03-15 11:45:35 +08:00
hypercross
0ec129c2be
feat: hex/trig gen
2026-03-15 11:41:20 +08:00
hypercross
7aba5d0c81
refactor: visuals
2026-03-15 11:08:21 +08:00
hypercross
f87ccb662d
refactor: clean up
2026-03-15 10:57:18 +08:00
hypercross
57d2a7ed46
refactor: sizing
2026-03-15 10:14:14 +08:00
hypercross
8d8d4d004e
fix: split with space
2026-03-15 10:02:42 +08:00
hypercross
9dbd406c0e
fix: imports
2026-03-15 09:34:19 +08:00
hypercross
28794fd9f0
refactor: move code to plotcutter
2026-03-15 09:29:18 +08:00
hypercross
025f5a46b0
fix: contouring
2026-03-15 01:51:29 +08:00
hypercross
acc9d79873
refactor: reorg
2026-03-15 01:43:25 +08:00
hypercross
eef72a043b
refactor: corner radius
2026-03-15 01:31:16 +08:00
hypercross
fdc5a4656f
refactor: pltrefactor: plt display
2026-03-15 01:19:58 +08:00
hypercross
7fd53650e3
refactor: plt preview
2026-03-15 01:07:23 +08:00
hypercross
1da5cfb2ea
refactor: article iconPath
2026-03-15 00:40:06 +08:00
hyper
0ed95291ba
feat: plt export
2026-03-14 16:20:55 +08:00
hyper
85ec3b9928
feat: plotcutter
2026-03-14 16:17:46 +08:00
hyper
107e6fd6a2
feat: shape for cards
2026-03-14 15:48:55 +08:00
hypercross
984b8aa1c8
fix: double side printing
2026-03-13 17:44:17 +08:00
hypercross
4b08a738a7
fix: generateCode
2026-03-13 17:34:00 +08:00
hypercross
b3dc768786
feat: card back support?
2026-03-13 17:26:00 +08:00
hypercross
748f57dd55
fix: refactor stuff
2026-03-13 16:02:09 +08:00
hypercross
27bc2fc747
refactor: cached and reloaded file-index
2026-03-13 15:50:50 +08:00
hypercross
2e04934881
fix: typing
2026-03-13 15:36:35 +08:00
hypercross
c668dce348
refactor: larger icons
2026-03-13 15:21:04 +08:00
hypercross
6fcd879287
fix: icon sizing
2026-03-13 12:40:30 +08:00
hypercross
29d8a76cd1
refactor: hide controls for hidden layers
2026-03-13 12:34:39 +08:00
hypercross
97923c8d35
fix: icons
2026-03-13 11:53:41 +08:00
hypercross
9e8d4e6388
feat: md icon prefix
2026-03-13 11:33:13 +08:00
hypercross
346b97153f
fix: bug
2026-03-13 10:59:24 +08:00
hypercross
b2e10d847e
feat: front matter in decks
2026-03-13 10:50:08 +08:00
hypercross
1bd72bb58f
docs: clean up
2026-03-10 23:17:49 +08:00
hypercross
bf18808aa8
fix: regex?
2026-03-06 17:51:22 +08:00
hypercross
ae9c3aa59b
fix: print preview
2026-03-06 17:43:41 +08:00
hypercross
f1aa536c4d
refactor: ai's attempt
2026-03-03 18:29:59 +08:00
hypercross
e13ead2309
refactor: yarn runner man
2026-03-03 15:09:25 +08:00
hypercross
8d5b15ad51
refactor: yarn format
2026-03-03 14:25:15 +08:00
hypercross
82876d47c0
feat: check function
2026-03-03 13:12:45 +08:00
hypercross
a226a9516c
feat: yarn return
2026-03-03 11:49:11 +08:00
hypercross
4d3faa3e4e
refactor: dead code
2026-03-03 11:19:40 +08:00
hypercross
4280da9fec
refactor: reorg
2026-03-03 10:54:20 +08:00
hypercross
6b77653d27
refactor: layout
2026-03-03 00:48:13 +08:00
hypercross
a02edabc41
fix: yarn spinner runner
2026-03-02 17:54:40 +08:00
hypercross
0594fef9ac
feat: ai's attempt
2026-03-02 16:49:55 +08:00
hypercross
2a9281c9dc
feat: yarn runner
2026-03-02 16:22:54 +08:00
hypercross
f64775e735
feat: yarn spinner parser
2026-03-02 16:18:10 +08:00
hypercross
13007c8fa4
feat: gfm heading id
2026-03-02 13:43:10 +08:00