Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.
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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.