waaseyaa/workspace
最新稳定版本:v0.1.0-alpha.203
Composer 安装命令:
composer require waaseyaa/workspace
包简介
Opt-in workspace shell primitives — the shared chat surface (SSE client, markdown renderer, composer scaffold) and, in later cuts, the canvas+rails layout and preview panel
README 文档
README
Opt-in workspace shell primitives (Layer 6 — Interfaces). Not part of the
full/cms metapackages and not required by the monorepo root: apps that
want the chat-first workspace shell composer require waaseyaa/workspace
explicitly. The framework's canonical admin surface remains the Admin SPA
(DIR-007); this package is the deliberate, opt-in alternative shape for
chat-first workspaces, per the Anokii shell-redesign decisions (2026-06-10).
This cut: the shared chat surface
assets/workspace-chat.js—WaaseyaaChat.mount(root, config): the SSE chat client (pending/failed send states, stream-drop resync, paginated rehydration, sessionStorage snapshot, proposal cards with viewer mode, starter chips, autosizing<form>composer with limit counter). Hooks:proposalRouter,refreshStrategy,md, per-accountthread.key.assets/workspace-md.js—WaaseyaaMdmarkdown renderer (escape-first), parameterized bystatusVocab(table-cell status pills) andlinkPolicy(blank/top/panel/drop— no blankettarget="_blank").assets/workspace-chat.css— donor-compatible class names, themed entirely via--ws-*custom properties.templates/workspace/chat-panel.html.twig— the panel scaffold (real form semantics; deliberately at a two-segment path so the SSR path-template fallback can never serve it as a page).- Assets are served at
GET /workspace/assets/{file}byWorkspaceServiceProvider(strict allowlist). An app can shadow any asset with a real file atpublic/workspace/assets/<file>.
The transport contract the client speaks is docs/specs/workspace-chat-surface.md
in the monorepo. Conversations are account-scoped by contract.
Later cuts
The canvas+rails layout primitive (hideable sidebars, persisted state, mobile overlays) and the right-rail preview panel land as subsequent increments of this package.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-06-10