waaseyaa/workspace 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.jsWaaseyaaChat.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-account thread.key.
  • assets/workspace-md.jsWaaseyaaMd markdown renderer (escape-first), parameterized by statusVocab (table-cell status pills) and linkPolicy (blank / top / panel / drop — no blanket target="_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} by WorkspaceServiceProvider (strict allowlist). An app can shadow any asset with a real file at public/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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-06-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固