diff --git a/apps/client/lib/data/models/device_category.dart b/apps/client/lib/data/models/device_category.dart index a45219be..9d493df3 100644 --- a/apps/client/lib/data/models/device_category.dart +++ b/apps/client/lib/data/models/device_category.dart @@ -72,7 +72,8 @@ class DeviceCategories { // 2026-09-08 废弃,下发的值恒为 0,再也匹配不到 1/2/3。留着字段只为不动 // 老数据结构,**新品类一律用 nameKeywords 圈定**。圈不到时 productsOf 返回空。 // - // 「选择设备」页当前上架三条:AI耳机(恒玄)、AI手机支架(EaiRec)、AI车载香薰(EaiCar)。 + // 「选择设备」页当前上架两条:AI耳机(恒玄)、AI车载香薰(EaiCar)。 + // AI手机支架(EaiRec)2026-09-26 暂时下架,定义在 [hidden] 里。 // 下架某条 = 把它挪回 [hidden]。 static const List all = [ DeviceCategory( @@ -85,19 +86,6 @@ class DeviceCategories { // deviceTypes 已失效(见上),耳机改由名字圈定 nameKeywords: ['echo-one', 'deepvoice', 'deepsound', 'buds', 'ai80', 'a80'], ), - // AI手机支架 = EaiRec(EAIMAR 圆盘)。2026-09-08 上架,取代原先挂在这个 - // 品类下、已停售的EaiRec Echomeet 支架 —— 所以沿用 phoneHolder 这个 id: - // AI 页的默认功能编排(会议/现场录音/通话录音)本来就是按它配的,换 id 要一起改。 - // ⚠️ 蓝牙链路还没接,点击不进扫描页(见 device_category_view._openCategory)。 - DeviceCategory( - id: phoneHolder, - title: 'catPhoneHolder', - subtitle: 'catPhoneHolderDesc', - icon: Icons.stay_current_portrait, - gradient: [Color(0xFF42A5F5), Color(0xFF1E88E5)], - imageAsset: '${DeviceImages.dir}EaiRec.png', - nameKeywords: ['echomeet', 'eairec', 'eaimar', '支架', 'holder', 'stand'], - ), // AI车载香薰 = EaiCar(广播名,旧名 Smartcar 已于 2026-09-15 停止接纳)。 DeviceCategory( id: carAroma, @@ -115,8 +103,22 @@ class DeviceCategories { /// 只是不展示,定义都留着:AI 页的默认功能编排([AgentModules.defaultsByCategory]) /// 和主图映射还按 id 引用它们,老用户存下来的数据也要能查得到, /// 所以 [byId] 仍然会在这里查。上架时把条目挪回 [all] 就行。 - // 注:phoneHolder 已于 2026-09-08 挪到 [all] 上架(产品换成 EaiRec)。 + // 注:phoneHolder 2026-09-08 上架(产品换成 EaiRec),2026-09-26 又暂时下架: + // 「选择设备」页不再出现,但已连过的支架照常回连、导入录音,默认编排也照旧按这个 id 走。 static const List hidden = [ + // AI手机支架 = EaiRec(EAIMAR 圆盘)。2026-09-08 上架,取代原先挂在这个 + // 品类下、已停售的EaiRec Echomeet 支架 —— 所以沿用 phoneHolder 这个 id: + // AI 页的默认功能编排(会议/现场录音/通话录音)本来就是按它配的,换 id 要一起改。 + // ⚠️ 蓝牙链路还没接,点击不进扫描页(见 device_category_view._openCategory)。 + DeviceCategory( + id: phoneHolder, + title: 'catPhoneHolder', + subtitle: 'catPhoneHolderDesc', + icon: Icons.stay_current_portrait, + gradient: [Color(0xFF42A5F5), Color(0xFF1E88E5)], + imageAsset: '${DeviceImages.dir}EaiRec.png', + nameKeywords: ['echomeet', 'eairec', 'eaimar', '支架', 'holder', 'stand'], + ), DeviceCategory( id: noteCard, title: 'catNoteCard', diff --git a/apps/client/pubspec.yaml b/apps/client/pubspec.yaml index 9e41af06..ae14290a 100644 --- a/apps/client/pubspec.yaml +++ b/apps/client/pubspec.yaml @@ -1,7 +1,7 @@ name: eaimar description: "Eaimar - AI Voice Assistant." publish_to: "none" -version: 1.0.2+21 +version: 1.0.2+23 environment: sdk: ">=3.3.0 <4.0.0"