mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-16 23:07:14 +00:00
60bb67f025
* feat(packaging): add fnOS FPK packaging and CI workflow Add packaging/fnos/ shell (manifest, lifecycle cmd scripts, install/ upgrade/uninstall wizards, desktop entry, EULA) plus in-repo build script. A release now auto-builds langbot-<tag>-fnos.fpk via .github/workflows/build-fnos-fpk.yaml, uploaded to the release assets. * ci(fnos): skip release upload on manual dispatch github.event.release.tag_name is empty when triggered via workflow_dispatch, causing 'gh release upload' to fail with 'requires at least 2 arg(s)'. Restrict the step to release events. * ci(fnos): normalize release asset name Strip a trailing -fnos from the tag-derived version before appending the suffix, avoiding langbot-<v>-fnos-fnos.fpk when the tag itself already carries -fnos. * ci(fnos): use release tag version for auto build, manifest for manual Auto build (release/tag) reads version from tag like other release workflows; build.sh strips the v prefix when injecting into manifest. Manual dispatch falls back to the version maintained in manifest. * feat(fnos): add post-install deployment notice to install wizard Last wizard step now informs users that first startup takes about 5-10 minutes for dependency setup before the web UI is ready. * docs(fnos): add packaging directory README * refactor(fnos): rename app from ai.langbot to langbot Rename appname, desktop entry, data share, build artifacts, and all references from ai.langbot to langbot across packaging files. --------- Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com>
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
[
|
|
{
|
|
"stepTitle": "运行环境",
|
|
"items": [
|
|
{
|
|
"type": "tips",
|
|
"helpText": "LangBot 依赖 Node.js v22 运行 Box 沙箱和 npx MCP。请先在应用中心安装 Node.js v22。"
|
|
},
|
|
{
|
|
"type": "select",
|
|
"field": "wizard_node_version",
|
|
"label": "Node.js 版本",
|
|
"initValue": "22",
|
|
"options": [
|
|
{ "label": "Node.js v22 (推荐, LTS)", "value": "22" },
|
|
{ "label": "Node.js v24", "value": "24" },
|
|
{ "label": "Node.js v20", "value": "20" }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"stepTitle": "访问配置",
|
|
"items": [
|
|
{
|
|
"type": "text",
|
|
"field": "wizard_port",
|
|
"label": "Web 访问端口",
|
|
"initValue": "5300",
|
|
"rules": [
|
|
{ "required": true, "message": "请输入访问端口" },
|
|
{ "pattern": "^[0-9]+$", "message": "端口只能是数字" },
|
|
{ "min": 1, "max": 5, "message": "端口号长度不正确" }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"stepTitle": "安装说明",
|
|
"items": [
|
|
{
|
|
"type": "tips",
|
|
"helpText": "安装完成后,LangBot 首次启动约需 5-10 分钟完成依赖部署与初始化,部署完成后即可打开网页端使用。"
|
|
}
|
|
]
|
|
}
|
|
]
|