Loading...
Loading...
Compare original and translation side by side

AI Assistant: Do NOT add custom styles, colors, or CSS overrides to ibl.ai SDK components. They ship with their own styling. Keep the components as-is. Do NOT implement dark mode unless the user explicitly asks for it.When building custom UI around SDK components, use the ibl.ai brand:
- Primary:
, Gradient:#0058cclinear-gradient(135deg, #00b0ef, #0058cc)- Button:
bg-gradient-to-r from-[#2563EB] to-[#93C5FD] text-white- Font: System sans-serif stack, Style: shadcn/ui new-york variant
- Use shadcn components for custom UI -- they share the same Tailwind theme and render in ibl.ai brand colors automatically.
You MUST runbefore telling the user the work is ready./iblai-test

AI Assistant: 请勿为ibl.ai SDK组件添加自定义样式、颜色或CSS覆盖,它们自带样式,请保持组件原样。除非用户明确要求,否则不要实现暗色模式。围绕SDK组件构建自定义UI时,请遵循ibl.ai品牌规范:
- 主色:
, 渐变:#0058cclinear-gradient(135deg, #00b0ef, #0058cc)- 按钮:
bg-gradient-to-r from-[#2563EB] to-[#93C5FD] text-white- 字体: 系统无衬线字体栈, 样式: shadcn/ui new-york变体
- 自定义UI使用shadcn组件——它们共用相同的Tailwind主题,会自动适配ibl.ai品牌色渲染。
告知用户工作完成前,你必须运行。/iblai-test
/iblai-authiblai add mcp/iblai-authiblai add mcpAI Assistant: Before running anycommand, check for updates. Runiblaito get the current version, then check the latest:iblai --version
- PyPI:
curl -sf https://pypi.org/pypi/iblai-app-cli/json | python3 -c "import sys,json; print(json.load(sys.stdin)['info']['version'])"- npm:
npm view @iblai/cli version 2>/dev/null- GitHub (binary installs):
curl -sf https://api.github.com/repos/iblai/iblai-app-cli/releases/latest | python3 -c "import sys,json; print(json.load(sys.stdin)['tag_name'].lstrip('v'))"If a newer version exists, update:
- pip:
pip install --upgrade iblai-app-cli- npm:
npm install -g @iblai/cli@latest- Binary: download the latest release from
for the current platform and replace the binaryhttps://github.com/iblai/iblai-app-cli/releases/latest
AI Assistant: 运行任何命令前,请先检查更新。 运行iblai获取当前版本,然后查询最新版本:iblai --version
- PyPI:
curl -sf https://pypi.org/pypi/iblai-app-cli/json | python3 -c "import sys,json; print(json.load(sys.stdin)['info']['version'])"- npm:
npm view @iblai/cli version 2>/dev/null- GitHub(二进制安装):
curl -sf https://api.github.com/repos/iblai/iblai-app-cli/releases/latest | python3 -c "import sys,json; print(json.load(sys.stdin)['tag_name'].lstrip('v'))"如果存在更新版本,请升级:
- pip:
pip install --upgrade iblai-app-cli- npm:
npm install -g @iblai/cli@latest- 二进制版本:从
下载对应平台的最新版本,替换原有二进制文件即可https://github.com/iblai/iblai-app-cli/releases/latest
iblai add analyticsiblai add analytics| File | Purpose |
|---|---|
| Analytics dashboard page with |
tenantcurrent_tenant| 文件 | 用途 |
|---|---|
| 包含 |
tenantcurrent_tenantget_component_info("AnalyticsOverview")get_component_info("AnalyticsOverview")<AnalyticsOverview><AnalyticsOverview>| Prop | Type | Description |
|---|---|---|
| | Tenant/org key |
| | Mentor UUID. Pass |
| | Filter analytics to a specific mentor |
| | Filter analytics to specific user groups |
| 属性 | 类型 | 说明 |
|---|---|---|
| | 租户/组织密钥 |
| | Mentor UUID。传入 |
| | 按指定mentor筛选分析数据 |
| | 按指定用户组筛选分析数据 |
/iblai-testnpm run buildnpm run testnpm run dev &
npx playwright screenshot http://localhost:3000/analytics /tmp/analytics.png/iblai-testnpm run buildnpm run testnpm run dev &
npx playwright screenshot http://localhost:3000/analytics /tmp/analytics.png@iblai/iblai-js/web-containersmentorReducermentorMiddlewareinitializeDataLayer()@reduxjs/toolkitnext.config.tsmentorId""undefined@iblai/iblai-js/web-containersmentorReducermentorMiddlewareinitializeDataLayer()@reduxjs/toolkitnext.config.tsmentorId""undefined