71be058144
- Added `packages/collab-web/src/tool-render/`: a per-tool React renderer suite (one view per built-in tool) with common `ToolView` chrome, a `tv-` CSS design system, a registry, and an `<omp-tool-view>` web-component wrapper (`element.tsx`, `standalone.tsx`). - Switched collab-web transcript `ToolCard` to the per-tool renderers instead of the generic args/result JSON dump, and threaded a `ToolRenderHost` through `Transcript`/`AgentDrawer`/`app.tsx` so task-card agent chips drill into the matching subagent drawer. - Added `scripts/build-tool-views.ts` plus the `build:tool-views` script bundling the renderers (React included, `</script` escaped) into the gitignored `coding-agent/src/export/html/tool-views.generated.js`. - Modernized the coding-agent HTML export chrome in `template.html/css/js` to the tool-card design language and added the `<template-tool-views/>` injection point. - Showed the standard done checkmark for completed rows in the `job` tool renderer; its changelog line shares a changed run with the restyle entries. - The session-operations doc gained two adjacent lines; the subagent-transcript one belongs to the upcoming /share commit but is inseparable from the tool-view line.
64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"type": "module",
|
|
"name": "@oh-my-pi/collab-web",
|
|
"version": "15.11.7",
|
|
"private": true,
|
|
"description": "Browser guest client and local relay tools for omp collab live sessions",
|
|
"homepage": "https://omp.sh",
|
|
"author": "Can Boluk",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/can1357/oh-my-pi.git",
|
|
"directory": "packages/collab-web"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/can1357/oh-my-pi/issues"
|
|
},
|
|
"keywords": [
|
|
"collab",
|
|
"relay",
|
|
"websocket",
|
|
"react",
|
|
"agent"
|
|
],
|
|
"scripts": {
|
|
"dev": "bun ./index.html",
|
|
"mock-host": "bun scripts/mock-host.ts",
|
|
"relay": "bun scripts/local-relay.ts",
|
|
"build": "rm -rf dist && bun build ./index.html --outdir=dist --minify --entry-naming=[hash].[ext] --chunk-naming=[hash].[ext] --asset-naming=[hash].[ext] && mv dist/*.html dist/index.html && cp -R public/. dist/",
|
|
"build:tool-views": "bun scripts/build-tool-views.ts",
|
|
"prepack": "bun run build",
|
|
"test": "bun test --parallel",
|
|
"check": "biome check . && bun run check:types",
|
|
"check:types": "tsgo -p tsconfig.json --noEmit",
|
|
"lint": "biome lint .",
|
|
"fix": "biome check --write --unsafe .",
|
|
"fmt": "biome format --write ."
|
|
},
|
|
"dependencies": {
|
|
"@oh-my-pi/pi-wire": "catalog:",
|
|
"lucide-react": "catalog:",
|
|
"marked": "catalog:",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.3.14"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src",
|
|
"scripts",
|
|
"public",
|
|
"index.html",
|
|
"README.md",
|
|
"CHANGELOG.md"
|
|
]
|
|
}
|