Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
sea-ai-ui-component
Advanced tools
The seatable AI UI component.
git clone git@gitlab.seafile.top:seatable-extends/sea-ai-ui-component.git
cd sea-ai-ui-component
npm install
cd example
npm start
注意:自定义API 的demo,目前不支持修改参数同步更新视图
npm install sea-ai-ui-component
<!-- app.jsx -->
import React from 'react';
import SeatableAI from 'sea-ai-ui-component';
import Layout from 'xxx';
const APP = () => {
return (
<SeatableAI isDevelopment={isDevelopment}> // 加载 assistants
<Layout />
</SeatableAI>
);
}
export default APP;
<!-- layout.jsx -->
import React from 'react';
import { Chat, Assistants, useAssistants } from 'sea-ai-ui-component';
const Layout = () => {
const { usingAssistant } = useAssistants();
if (usingAssistant) {
return (<Chat usingAssistant={usingAssistant} />);
}
return (
<Assistants readonly /> // readonly: 只读下不展示添加按钮
);
};
依据业务逻辑新编写组件
FAQs
> The seatable AI UI component.
The npm package sea-ai-ui-component receives a total of 113 weekly downloads. As such, sea-ai-ui-component popularity was classified as not popular.
We found that sea-ai-ui-component demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.