
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@zero-library/chat-agent
Advanced tools
AI 会话 UI 组件库。提供页面级聊天组件 ChatCopilot,并内置会话/消息编排、HTTP 服务封装、WebSocket 收消息、文件预览等能力。
该文档只维护稳定信息(安装、入口、能力、开发方式)。所有具体类型/方法以源码与类型注释为准,避免文档与实现重复维护。
pnpm add @zero-library/chat-agent
样式(建议在应用入口引入一次):
import '@zero-library/chat-agent/style'
import { ChatCopilot } from '@zero-library/chat-agent'
import '@zero-library/chat-agent/style'
export default function App() {
return <ChatCopilot config={{ receiverType: 3, receiverId: 'agent-001' }} services={{ http: { config: { baseURL: '/api' } } }} />
}
ChatCopilot(主聊天 UI),以及少量通用子组件(发言框/附件/消息渲染)@zero-library/common 的请求封装src/index.tssrc/uisrc/storessrc/servicespnpm --filter=chat-agent run dev
pnpm --filter=chat-agent run build
src/ui/layouts/types.ts、src/stores/types.ts、src/services/*.ts)FAQs
ai会话
We found that @zero-library/chat-agent 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.