@coworkee/airworks

中文文档
0.0.1054发布于 2026/11/01MITTypeScriptES Module构建来源已验证

AirWorks web desktop for Coworkee apps: sign-in through the app's BFF, theme, texts, realtime and apps for settings, files, data, chat, reports, the assistant and the administration

原始使用文档

@coworkee/airworks

The AirWorks web desktop for apps built on Coworkee: sign-in through the app's BFF, theme, logo and texts of the app, realtime, and apps for profile, settings, files (with the MudEx file preview), data tables, chat, reports, reports with their designer, the AI assistant, notifications and the whole administration (users, roles, applications, themes, languages, translations, mail templates, campaigns, mail log, backups, audit log, ...).

npm install @coworkee/airworks @coworkee/client github:fgilde/AirWorks
import { adminApps, defaultApps, useCoworkee } from '@coworkee/airworks';
import { AirWorks } from '@fgilde/airworks';
import '@fgilde/airworks/style.css';
import '@coworkee/airworks/style.css';

const coworkee = await useCoworkee(AirWorks, { title: 'Shop' });
await coworkee.register(...defaultApps, ...adminApps);
document.body.append(document.createElement('air-desktop'));

Apps are hidden when the user lacks their permission, like the menu of the Blazor app. crudApp(...) builds list apps with create, edit, delete and row actions; coworkee.realtime.subscribe(topic, handler) follows the realtime hub.

coworkee new --airworks creates an app with this client in the Aspire app host; it takes the packages from the tarballs inside the template, or with --airworks-packages npm the version of the Coworkee release on npm. Documentation: AirWorks client

icons holds white Material Symbols glyphs as data: URLs for apps where the AirWorks icon set has no fitting icon (icon: icons.chat); your own apps can use them too.

License: MIT. The glyphs in icons are from Material Symbols / Material Icons by Google, licensed under the Apache License 2.0.

版本与发布记录

@coworkee/airworks 共发布 33 个版本,首次发布于 2026/10/15;过去 12 个月发布了 33 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.0.1054latest2026/11/012 天前
0.0.10532026/10/312 天前
0.0.10522026/10/313 天前
0.0.10512026/10/313 天前
0.0.10502026/10/313 天前
0.0.10492026/10/313 天前

关于 @coworkee/airworks 的常见问题

@coworkee/airworks 是什么?

用于coworkkee应用程序的AirWorks网络桌面:通过应用程序的BFF、主题、文本、实时和设置、文件、数据、聊天、报告、助手和管理等应用程序登录

如何安装 @coworkee/airworks?

在项目目录运行 npm install @coworkee/airworks,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@fgilde/airworks(>=0.4.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@coworkee/airworks 支持 TypeScript 吗?

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

@coworkee/airworks 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@coworkee/airworks 可以商用吗?

@coworkee/airworks 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@coworkee/airworks 还在维护吗?

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