Sync OneOS workspace with new prototypes, annotations, and Gitea remote fix.

Add vehicle-h2-fee-ledger, customer-management, lease and self-operated ledgers, annotation sources, agent skills, and vite annotation runtime support. Update vehicle management, contract templates, and lease contract flows.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
王冕
2026-06-30 15:27:23 +08:00
parent 00ca1846af
commit af29b26fe8
309 changed files with 73875 additions and 3838 deletions

View File

@@ -12,6 +12,8 @@ import { writeDevServerInfoPlugin } from './vite-plugins/writeDevServerInfoPlugi
import { axhubComponentEnforcer } from './vite-plugins/axhubComponentEnforcer';
import { websocketPlugin } from './vite-plugins/websocketPlugin';
import { canvasHotUpdateFilterPlugin } from './vite-plugins/canvasHotUpdateFilter';
import { annotationRuntimeOptimizeDepsPlugin } from './vite-plugins/annotationRuntimeOptimizeDeps';
import { createAnnotationSourceMarkdownPlugin } from './vite-plugins/annotationSourceMarkdown';
import {
MAKE_CONFIG_RELATIVE_PATH,
MAKE_ENTRIES_RELATIVE_PATH,
@@ -74,11 +76,13 @@ export default defineConfig(({ command }) => {
plugins: [
tailwindcss(),
isServe ? canvasHotUpdateFilterPlugin() : null,
isServe ? annotationRuntimeOptimizeDepsPlugin(projectRoot) : null,
injectStablePageIds(),
isServe ? writeDevServerInfoPlugin() : null,
isServe ? autoStartMakeServerPlugin() : null,
isServe ? websocketPlugin() : null,
isServe ? clientPreviewPlugin() : null,
createAnnotationSourceMarkdownPlugin(projectRoot, { mode: isServe ? 'serve' : 'build' }),
forceInlineDynamicImportsOff(isIifeBuild),
isIifeBuild ? axhubComponentEnforcer(jsEntries[entryKey as string]) : null,
react({
@@ -89,10 +93,10 @@ export default defineConfig(({ command }) => {
root: 'src',
publicDir: false,
appType: 'mpa',
optimizeDeps: {
include: [
'echarts',
'lucide-react',
],
},
@@ -119,8 +123,8 @@ export default defineConfig(({ command }) => {
css: {
preprocessorOptions: {
scss: { api: 'modern-compiler' },
sass: { api: 'modern-compiler' },
scss: { api: 'modern' },
sass: { api: 'modern' },
},
},