
Product
PHP and Composer Support Is Now in Beta
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.
@daflow-ui/ui-agent-chat-input
Advanced tools
Agent / AI 对话场景输入组件。
pnpm add @daflow-ui/ui-agent-chat-input
全局引入样式(在 main.ts 中):
import '@daflow-ui/ui-agent-chat-input/style.css';
在组件中使用:
<script setup lang="ts">
import { ref } from 'vue';
import { DfAgentChatInput, type ChatModelOption } from '@daflow-ui/ui-agent-chat-input';
const message = ref('');
const model = ref('gpt-4.1');
const models: ChatModelOption[] = [
{ label: 'GPT-4.1', value: 'gpt-4.1' },
{ label: 'GPT-4o-mini', value: 'gpt-4o-mini' }
];
</script>
<template>
<DfAgentChatInput
v-model="message"
v-model:model="model"
:model-options="models"
:min-rows="2"
:max-rows="4"
@submit="console.log"
/>
</template>
modelValue、model、modelOptions、minRows、maxRows、disabled、submitting、placeholderupdate:modelValue、update:model、submittoolbar,用于左侧辅助操作区扩展submitting 表示发送中 / 生成中状态;主动作会显示为 loading 态,但当前版本不提供 stop 交互toolbar 插槽内的外部控件是否回焦由调用方自行决定推荐业务侧仅覆写与品牌或页面风格直接相关的 token:
--df-agent-chat-input-font-size--df-agent-chat-input-line-height--df-agent-chat-input-padding-x--df-agent-chat-input-padding-y--df-agent-chat-input-radius--df-agent-chat-input-border-color--df-agent-chat-input-bg--df-agent-chat-input-text-color--df-agent-chat-input-placeholder-color--df-agent-chat-input-focus-border-color--df-agent-chat-input-submit-size--df-agent-chat-input-submit-radius输入框高度由 minRows / maxRows 结合行高动态计算,不提供独立的高度 CSS 变量。
MIT
FAQs
Agent chat input component for DaFlow UI
The npm package @daflow-ui/ui-agent-chat-input receives a total of 2 weekly downloads. As such, @daflow-ui/ui-agent-chat-input popularity was classified as not popular.
We found that @daflow-ui/ui-agent-chat-input demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.