
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
agent-universe-chat
Advanced tools
agentUniverse-chat 是面向业务的 Chat UI SDK,提供了一套完整的聊天机器人解决方案,包括会话管理、消息管理、技能管理、Copilot模式、事件订阅、移动端适配、主题切换等功能。 能够帮助业务侧快速的实现商业级别的大模型对话服务。
agentUniverse-chat 是面向业务的 Chat UI SDK,提供了一套完整的聊天机器人解决方案,包括会话管理、消息管理、技能管理、Copilot模式、事件订阅、移动端适配、主题切换等功能。 能够帮助业务侧快速的实现商业级别的大模型对话服务。
import AuChat from 'agentUniverse-chat';
const chat = new AuChat({
container: document.getElementById('chat'), // 挂载的 DOM 元素
disableSession: true, // 是否禁用会话管理
});
chat.open();
interface Config {
// 管理左侧会话的增删改查
sessionHandler?: {
initSessionList(): Promise<Session[]>;
addSession({title}: {title: string}): Promise<void>;
deleteSession(sessionId: string): Promise<void>;
updateSession(sessionId: string, title: string): Promise<void>;
}
// 管理消息列表的初始化
messageHandler?: {
initMessageList(sessionId: string): Promise<{ messageList: any[], attachment: Session['attachment'] }>;
}
session 实例的数据结构见: message 实例的数据结构见:
import { Event } from 'agentUniverse-chat';
chat.on(Event.MESSAGE_SEND, (role, message) => {
console.log(role, message);
});
import { Card } from 'agentUniverse-chat';
chat.
<Card.Markdown type={'text'}>{ message.content }</Card.Markdown>
FAQs
agentUniverse-chat 是面向业务的 Chat UI SDK,提供了一套完整的聊天机器人解决方案,包括会话管理、消息管理、技能管理、Copilot模式、事件订阅、移动端适配、主题切换等功能。 能够帮助业务侧快速的实现商业级别的大模型对话服务。
The npm package agent-universe-chat receives a total of 2 weekly downloads. As such, agent-universe-chat popularity was classified as not popular.
We found that agent-universe-chat demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.