mirror of
https://github.com/simstudioai/sim.git
synced 2026-11-30 02:47:16 +08:00
Streamdown 2.6+ hands streaming placeholders (streamdown:incomplete-link, streamdown:incomplete-image) to custom components instead of stripping them, so the mothership chat link and image renderers now withhold those until the URL completes.
83 lines
2.1 KiB
JSON
83 lines
2.1 KiB
JSON
{
|
|
"name": "@sim/workflow-renderer",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"sideEffects": [
|
|
"**/*.css",
|
|
"**/note/block-view.tsx"
|
|
],
|
|
"type": "module",
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"bun": ">=1.4.4",
|
|
"node": ">=20.0.0"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./dimensions": {
|
|
"types": "./src/dimensions.ts",
|
|
"default": "./src/dimensions.ts"
|
|
},
|
|
"./note-colors": {
|
|
"types": "./src/note/colors.ts",
|
|
"default": "./src/note/colors.ts"
|
|
},
|
|
"./note-content": {
|
|
"types": "./src/note/content.ts",
|
|
"default": "./src/note/content.ts"
|
|
},
|
|
"./formatted-text": {
|
|
"types": "./src/formatted-text.tsx",
|
|
"default": "./src/formatted-text.tsx"
|
|
},
|
|
"./workflow-type": {
|
|
"types": "./src/workflow-type.tsx",
|
|
"default": "./src/workflow-type.tsx"
|
|
},
|
|
"./tile-icon-color": {
|
|
"types": "./src/lib/tile-icon-color.ts",
|
|
"default": "./src/lib/tile-icon-color.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"type-check": "tsc --noEmit",
|
|
"lint": "biome check --write --unsafe .",
|
|
"lint:check": "biome check .",
|
|
"format": "biome format --write .",
|
|
"format:check": "biome format .",
|
|
"test": "vitest run"
|
|
},
|
|
"peerDependencies": {
|
|
"@sim/emcn": "workspace:*",
|
|
"@sim/utils": "workspace:*",
|
|
"@sim/workflow-types": "workspace:*",
|
|
"@xyflow/react": "^12.11.3",
|
|
"react": "^19",
|
|
"remark-breaks": "^4.0.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"streamdown": ">=2.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@sim/emcn": "workspace:*",
|
|
"@sim/tsconfig": "workspace:*",
|
|
"@sim/utils": "workspace:*",
|
|
"@sim/workflow-types": "workspace:*",
|
|
"@testing-library/jest-dom": "^6.10.0",
|
|
"@types/hast": "3.0.5",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@xyflow/react": "12.12.1",
|
|
"jsdom": "^26.0.0",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"remark-breaks": "^4.0.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"streamdown": "2.7.1",
|
|
"typescript": "^7.0.2",
|
|
"vitest": "^5.1.0"
|
|
}
|
|
}
|