@inploi/plugin-chatbot

中文文档
14.14.0发布于 2026/11/01TypeScriptESM + CJS零依赖

The legacy chatbot renders application flows with the shared application engine. Publish and install @inploi/sdk 2.4.0 or later before this chatbot release: the npm build imports the shared alert contract from the SDK at runtime. Register `chatbotPlugin

原始使用文档

@inploi/plugin-chatbot

The legacy chatbot renders application flows with the shared application engine. Publish and install @inploi/sdk 2.4.0 or later before this chatbot release: the npm build imports the shared alert contract from the SDK at runtime. Register chatbotPlugin({ theme: { hue: 260, mode: 'light' } }), then pass the result of fetchFlowByJobId or fetchFlowById to open.

Set optional jobAlerts: true on plugin initialisation to offer email alerts beneath a semantic submission-closed notice when an email answer is available. The default is off. open and the fetch helpers accept jobAlerts too; an explicit per-application value overrides initialisation, including false. Fetch-flow errors never show the offer.

Only Get job alerts saves a weekly search. The offer uses the canonical email answer, falling back to an authored email-format text question, and optional first_name/last_name answers. On acceptance, known jobs are looked up and their identity verified before their available city, town and category filters are saved. A failed lookup or save shows an error. Missing job metadata permits a partial or company-wide search; No thanks sends nothing. One offer per application keeps its in-memory choice and pending save across closing, reopening and Undo in the same application session. A fresh application gets a fresh offer.

Copy is defined in the English dictionary in src/i18n.ts and can be overridden through the existing terms option. This package has no locale dictionaries.

版本与发布记录

@inploi/plugin-chatbot 共发布 162 个版本,首次发布于 2023/11/18;过去 12 个月发布了 43 个版本。

版本发布日期距今
14.14.0latest2026/11/012 天前
14.13.32026/10/313 天前
14.13.22026/10/294 天前
14.13.12026/10/295 天前
14.13.02026/10/286 天前
14.12.02026/10/267 天前

关于 @inploi/plugin-chatbot 的常见问题

@inploi/plugin-chatbot 是什么?

遗留聊天机器人使用共享应用程序引擎呈现应用程序流。发布和安装 @inploi/sdk 2.4.0或更高版本之前的聊天机器人版本:npm构建在运行时从SDK导入共享警报契约。注册“chatbotPlugin

如何安装 @inploi/plugin-chatbot?

在项目目录运行 npm install @inploi/plugin-chatbot,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@inploi/sdk(>=2.4.0)、@inploi/flows(*)、@inploi/plugin-feedback(*)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@inploi/plugin-chatbot 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@inploi/plugin-chatbot 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@inploi/plugin-chatbot 可以商用吗?

@inploi/plugin-chatbot 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@inploi/plugin-chatbot 还在维护吗?

最新版本 14.14.0 发布于 2026/11/01(2 天前);至今共发布 162 个版本,其中过去 12 个月发布了 43 个;首次发布于 2023/11/18。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。