feat: add AI command suggestions extension for Tiptap editor

- Implemented Commands plugin to handle command suggestions triggered by '@' character.
- Created suggestion configuration to filter and render command items.
- Added various command items including date, time, formatting, templates, and task management commands.
- Introduced CSS styles for the Tiptap editor to enhance UI.
- Configured TypeScript settings and Vite build for the project.
This commit is contained in:
2025-12-17 13:48:51 +08:00
commit 8ca7efcf6d
28 changed files with 4412 additions and 0 deletions

15
bun.config.ts Normal file
View File

@@ -0,0 +1,15 @@
import { build } from 'bun';
await build({
entrypoints: ["./src/lib.ts"],
outdir: './dist',
target: 'browser',
format: 'esm',
naming: {
entry: 'app.js',
},
minify: false,
sourcemap: false,
});
console.log('✅ Build complete: dist/app.js');