Loading...
Loading...
Compare original and translation side by side
npx tambo init --api-key=sk_... # Initialize with API key
npx tambo add message-thread-full --yes # Add a component
npx tambo create-app my-app --template=standard # New app from templatenpx tambo init --api-key=sk_... # 使用API密钥初始化
npx tambo add message-thread-full --yes # 添加组件
npx tambo create-app my-app --template=standard # 从模板创建新应用undefinedundefinedundefinedundefinedprocess.stdin.isTTYprocess.stdout.isTTYCIGITHUB_ACTIONS=trueFORCE_INTERACTIVE=1process.stdin.isTTYprocess.stdout.isTTYCIGITHUB_ACTIONS=trueFORCE_INTERACTIVE=1| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Error (network, invalid args, etc.) |
| 2 | User action required - check stderr for exact command |
| 代码 | 含义 |
|---|---|
| 0 | 成功 |
| 1 | 错误(网络问题、参数无效等) |
| 2 | 需要用户操作 - 查看stderr获取具体命令 |
undefinedundefinedundefinedundefinednpx tambo add form --yes # Skip confirmation
npx tambo add form graph --yes # Multiple components
npx tambo add form --prefix=src/components # Custom directory
npx tambo add form --dry-run # Preview changes
npx tambo add form --legacy-peer-deps # For dependency conflictsnpx tambo add form --yes # 跳过确认
npx tambo add form graph --yes # 添加多个组件
npx tambo add form --prefix=src/components # 指定自定义目录
npx tambo add form --dry-run # 预览更改(不实际安装)
npx tambo add form --legacy-peer-deps # 处理依赖冲突| Component | Description |
|---|---|
| Complete message thread with all content and interactions |
| Message thread in a side panel or modal context |
| Message threads that can be expanded or collapsed |
| Individual messages with markdown support |
| Composes and sends messages in a conversation |
| AI-generated suggestions to help users compose responses |
| Controls and actions in the interface |
| Reusable input fields with styles and validation |
| Visualizes graph-based data structures |
| Collects user input with validation support |
| Interactive map with clustering and heatmap support |
| Displays rendered components from chat messages |
| Chronological history of a conversation thread |
| Dropdown menu for collapsible chat threads |
| Displays messages within a thread |
| Container that auto-scrolls to new messages |
| Inline AI editor button for interactable components |
| MCP elicitation UI for user input requests |
| MCP prompt and resource picker buttons |
| 组件名称 | 描述 |
|---|---|
| 包含全部内容与交互功能的完整消息线程 |
| 适用于侧边栏或模态框场景的消息线程 |
| 可展开/收起的消息线程 |
| 支持Markdown的单条消息组件 |
| 用于对话场景的消息输入与发送组件 |
| 生成AI建议以辅助用户撰写回复的组件 |
| 界面控制与操作栏组件 |
| 带有样式与验证功能的可复用输入字段 |
| 用于可视化图结构数据的组件 |
| 支持验证的用户输入收集表单组件 |
| 支持聚类与热力图的交互式地图组件 |
| 用于渲染聊天消息中组件的画布区域 |
| 对话线程的时间历史记录组件 |
| 可折叠聊天线程的下拉菜单组件 |
| 显示线程内消息的组件 |
| 可自动滚动到最新消息的容器组件 |
| 用于可交互组件的内嵌AI编辑器按钮 |
| 用于用户输入请求的MCP引导式UI组件 |
| MCP提示与资源选择器按钮组件 |
npx tambo add message-thread-full control-bar --yesnpx tambo add message-thread-full control-bar --yesnpx tambo list --yesnpx tambo list --yesnpx tambo create-app my-app --template=standardnpx tambo create-app my-app --template=standardnpx tambo auth login --no-browser # Prints URL instead of opening browser
npx tambo auth status # Check current auth (no prompts)npx tambo auth login --no-browser # 输出URL而非自动打开浏览器
npx tambo auth status # 检查当前认证状态(无提示)npx tambo full-send # Complete setup with componentsnpx tambo full-send # 完成包含组件的全套设置AGENTS.mdnpx tambo add form --yes # Also updates AGENTS.mdAGENTS.mdnpx tambo add form --yes # 同时更新AGENTS.md| Flag | Commands | Purpose |
|---|---|---|
| init, add, list | Skip all prompts |
| init | Direct API key input |
| init | Create new project |
| init | Use existing project |
| auth login | Output URL instead of opening |
| add | Preview without installing |
| add, list | Custom component directory |
| 参数 | 适用命令 | 用途 |
|---|---|---|
| init, add, list | 跳过所有提示 |
| init | 直接输入API密钥 |
| init | 创建新项目 |
| init | 使用现有项目 |
| auth login | 输出URL而非自动打开浏览器 |
| add | 预览更改(不实际安装) |
| add, list | 指定组件的自定义目录 |