Skip to content

Releases

v0.2.5

Choose a tag to compare

@loning loning released this 30 Nov 22:01
6eaf6cb

Apps using a workspace session can refresh the tab and recover the floating panel and unsent draft after NyxID revalidates the child credential. Voice calls start when the user presses the voice button.

The widget exposes the verified owner ID and type on its read-only access record. Hosts can use those values when offering account-specific page tools. Static script embeds can pass the workspace and owner attributes through to the element.

v0.2.4

Choose a tag to compare

@loning loning released this 27 Nov 16:43
e271768

During an active guided tour, a host briefing can request one silent lookup against a registered page tool before narration resumes.

v0.2.3

Choose a tag to compare

@loning loning released this 27 Nov 15:31
a8642fe

Guided voice tours can receive a compact host briefing at a natural pause. Collection follows the visitor’s start, pause, resume and hangup controls.

Nyx Assistant SDK v0.2.2

Choose a tag to compare

@loning loning released this 27 Nov 15:07
017cc1f

宿主可自定义实时语音讲解员的名字。接通后讲解员先问候,访客说开始后进入持续导览。访客共享当前标签页后,模型可按需查看压缩画面,也可在导航工具成功后收到当前页截图。

Nyx Assistant SDK v0.2.1

Choose a tag to compare

@loning loning released this 27 Nov 14:36
49b7f25

网页可用 data-voice-model 指定临时 OpenAI 实时语音通话的模型,例如 gpt-realtime-2.1。此设置适用于显式挂件和自动挂载脚本,下次通话生效。发布附件包含浏览器挂件和 npm 安装包。

Nyx Assistant SDK v0.2.0

Choose a tag to compare

@loning loning released this 27 Nov 12:00
a9e033e

Nyx Assistant SDK 0.2.0 支持文字聊天与临时语音通话。网页可为两者分别设置提示词,并通过 host.registerTool 提供页面工具。语音默认开启,使用用户授权的 OpenAI API 连接;开发者可设置 data-voice="false" 关闭。已获 llm-nyx 授权时,语音也能请求 Nyx 服务。

挂件默认通过生产转发服务连接 NyxID,并在 https://nyxid.ai 授权。连接后可在空输入框右侧选择「语音通话」。中文官网 · 接入文档

可直接下载本页的 nyx-widget.js,或用 npm 安装 SDK 包。

npm install https://github.com/ChronoAIProject/nyx-assistant-sdk/releases/download/v0.2.0/chronoai-nyx-assistant-sdk-0.2.0.tgz

v0.2.0-alpha.3 · 文字与语音工具和自定义提示词

Choose a tag to compare

@loning loning released this 26 Nov 23:02

文字与临时语音

页面可以用 data-instructions 设置共用提示词,也可以用 data-text-instructions 和 data-voice-instructions 分别设置。文字提示词在下一条请求生效,临时语音提示词在下一次通话生效。

语音默认开启,使用已授权的 OpenAI API 连接。通话能执行页面通过 host.registerTool 注册的工具,并在拥有 llm-nyx 授权时向 Nyx 请求服务。Chrome 实测覆盖文字和语音修改工单筛选、双向音频、字幕、静音、挂断及语音读取授权服务。

试用

浏览器可使用本页的 nyx-widget.js。安装 JavaScript/TypeScript 包可运行以下命令。

npm install https://github.com/ChronoAIProject/nyx-assistant-sdk/releases/download/v0.2.0-alpha.3/chronoai-nyx-assistant-sdk-0.2.0-alpha.3.tgz

本版本默认在 nyxid.ai 授权,经官方 staging 转发服务访问 NyxID。转发服务按页面来源放行。自建站点可运行本标签的 server/,配置 SDK_ORIGINS,再通过 data-nyxid 指向自己的转发地址。

v0.2.0-alpha.2 · 已从 dev 回滚

Pre-release

Choose a tag to compare

@loning loning released this 26 Nov 15:04
44892d0

此预发行版已从 dev 回滚。它允许零服务连接的 Key 进入聊天,随后服务会返回 403。需要可用的聊天授权流程,请使用 v0.1.0-alpha.12。回滚 PR #33

Agent Key 身份与服务授权的 dev 预发行版。打开 SDK 官网或在本机运行 npm run example:web,选择已有 Key,即可查看获准访问的服务、打开对应的 NyxID 官网页面并刷新服务列表。

网页可下载 nyx-widget.js,通过 data-nyxid 配置 SDK 转发服务,data-verification-origin 指向 NyxID 登录站点,data-services 设为 @key。自建 UI 通过 BrowserAuthorization 获取 identity 和 managementUrl。内嵌挂件和原有聊天入口也随包分发。

使用说明 · 合并记录

Agent codex/root · session eddfa58c-38d5-4841-917d-dc5003c8c9d2 · model gpt-6 · action release · state succeeded · target ChronoAIProject/nyx-assistant-sdk/tag/v0.2.0-alpha.2

Nyx Assistant SDK v0.1.0

Choose a tag to compare

@loning loning released this 26 Nov 18:23
4080f79

Nyx Assistant SDK 0.1.0 是从 0.1.0-alpha.13 升级的正式版。可在网页中嵌入 Nyx 聊天挂件,使用 NyxID 授权,并通过 AssistantHost 注册宿主提供的工具。SDK、挂件及示例支持简体中文和英文。挂件可在保留对话和输入草稿的同时切换语言。

应用开发者可使用 npm 安装本次发布的包。静态网站也可下载 nyx-widget.js 并从自己的站点加载。中文官网 · English site

npm install https://github.com/ChronoAIProject/nyx-assistant-sdk/releases/download/v0.1.0/chronoai-nyx-assistant-sdk-0.1.0.tgz

The SDK includes the host tool API, TypeScript declarations, and a standalone browser widget. The 26 SDK tests passed. Integration guide

Agent codex/root · session 95c13da5-f2bc-4413-a5bb-e3e9b82b274c · model gpt-6 · action release · state succeeded · target ChronoAIProject/nyx-assistant-sdk/tag/v0.1.0

v0.1.0-alpha.9

v0.1.0-alpha.9 Pre-release
Pre-release

Choose a tag to compare

@loning loning released this 26 Nov 09:43
cad8578

挂件使用宿主主题控制整个会话,入口自适应文字宽度,已连接空面板随内容收拢。新增 anchored 模式,可从主视图中的入口向上展开。