arkflow-magpie-plugins 0.0.0-stage → 2.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/NOTICE +17 -0
- package/README.en.md +29 -0
- package/README.md +28 -2
- package/bundled/meeting-actions/SKILL.md +11 -0
- package/docs/MAGPIE-LICENSE +21 -0
- package/index.mjs +9 -0
- package/package.json +79 -4
- package/page/app.css +275 -0
- package/page/app.js +784 -0
- package/page/bootstrap.js +59 -0
- package/page/connection.js +24 -0
- package/page/icon.svg +3 -0
- package/page/index.html +28 -0
- package/page/logo.png +0 -0
- package/page/magpie-components.css +131 -0
- package/page/request.js +101 -0
- package/page/service.html +3 -0
- package/page/store-model.mjs +107 -0
- package/page/theme.js +51 -0
- package/src/accounts.mjs +124 -0
- package/src/api-client.mjs +292 -0
- package/src/bundled-skills.mjs +13 -0
- package/src/config.mjs +71 -0
- package/src/credentials.mjs +90 -0
- package/src/host-adapter.mjs +707 -0
- package/src/install-defaults.mjs +92 -0
- package/src/install-identity.mjs +32 -0
- package/src/manual-initialization.mjs +225 -0
- package/src/native-auth.mjs +62 -0
- package/src/native-control.mjs +236 -0
- package/src/native-providers.mjs +422 -0
- package/src/page-service.mjs +358 -0
- package/src/provider.mjs +44 -0
- package/src/runtime.mjs +302 -0
- package/src/session.mjs +366 -0
- package/src/skill-metadata.mjs +32 -0
- package/src/skill-packages.mjs +226 -0
- package/src/skills.mjs +454 -0
- package/src/state-store.mjs +89 -0
- package/src/sync-engine.mjs +392 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 sub2api-magpie-plugin contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
ArkFlow Magpie plugin
|
|
2
|
+
|
|
3
|
+
This project is a derivative of sub2api-magpie-plugin, distributed under the
|
|
4
|
+
MIT License. The original MIT copyright notice is retained in LICENSE.
|
|
5
|
+
|
|
6
|
+
Upstream project and protocol inspiration:
|
|
7
|
+
- Sub2API: https://github.com/Wei-Shaw/sub2api
|
|
8
|
+
- sub2api-magpie-plugin: https://github.com/FischelChern/sub2api-magpie-plugin
|
|
9
|
+
|
|
10
|
+
Magpie is a separate project: https://github.com/yetone/magpie
|
|
11
|
+
|
|
12
|
+
The bundled page/magpie-components.css contains CSS excerpts from Magpie
|
|
13
|
+
0.1.2058, commit 2d11cde056d6307f74b2b4318430d80bb394517d:
|
|
14
|
+
internal/gui/assets/plugins.css and internal/gui/assets/app.css.
|
|
15
|
+
Copyright (c) 2026 yetone. MIT License, retained in docs/MAGPIE-LICENSE.
|
|
16
|
+
The theme-only page adapter follows Magpie's public plugin-page hello/theme
|
|
17
|
+
message protocol. No Magpie host patches or private UI APIs are required.
|
package/README.en.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# ArkFlow for Magpie 2.0.19
|
|
2
|
+
|
|
3
|
+
Use ArkFlow group models, bundled skills and company skills in stock Magpie. Magpie 0.1.5235 or newer is recommended.
|
|
4
|
+
|
|
5
|
+
## Installation and sign-in
|
|
6
|
+
|
|
7
|
+
1. Search for `arkflow` in Magpie Discover and install `arkflow-magpie-plugins`, or extract `arkflow-magpie-plugins-2.0.19-production.zip` into a permanent folder. Add the folder containing `package.json` on Magpie’s Plugins page. When upgrading a directory installation, disable and remove the old plugin entry before adding the new folder.
|
|
8
|
+
2. Open ArkFlow in the sidebar and choose **Sign in to ArkFlow**. Sign in and confirm in your system browser. If the browser does not open, copy the pending authorization link into a browser on the same computer. Users upgrading from 1.7.1 authorize once again.
|
|
9
|
+
3. Return to Magpie to see progress. The plugin syncs models and skills, then sets up image generation. Select **Done** to enter the plugin. Each authorized model key gets a native provider. Group names marked Claude use Anthropic Messages, and those marked GPT use OpenAI Responses. Other groups, including groups marked with both names, use Chat Completions and Responses. Model selection, image/video configuration and inference use Magpie’s native settings. If no groups are available, check your platform account permissions.
|
|
10
|
+
|
|
11
|
+
The plugin connects to [ArkFlow](https://www.ycnovaflow.vip) and stores the account grant in its private directory. Signing out revokes this login and clears owned connections. Manually customized connections can produce a conflict. Installed skills remain in the Library.
|
|
12
|
+
|
|
13
|
+
To upgrade from `novaflow-magpie-plugins`, remove the old plugin in Magpie (there is no need to sign out of ArkFlow), then search for and install `arkflow-magpie-plugins`, or add the extracted new ZIP folder. Keep your Magpie data directory. Your sign-in, skills, and model references are preserved. Future updates use the new package name. Restore a custom plugin service port in its options if you used one. Previous versions remain available in the release history.
|
|
14
|
+
|
|
15
|
+
Sync failures list the affected group, provider, and reason. Select **Reset** and confirm to restore that managed provider’s connection and fetch its models. Custom connection settings are removed. The provider’s ID, name, and enabled state are preserved.
|
|
16
|
+
|
|
17
|
+
After the ArkFlow server enables account group sync, the plugin syncs the model groups available to the account under the same permissions as the desktop app. ArkFlow supplies a plugin credential when a group has no suitable key. Gemini groups prefer the native Gemini API and retain OpenAI-compatible endpoints.
|
|
18
|
+
|
|
19
|
+
On sign-in, setup selects an available ArkFlow GPT Sol model for Codex, Claude Code, and DeepSeek Harness when they have no model selected, preferring stable groups. **Sync now** uses GPT Sol to repair stale ArkFlow model references and keeps the same Sol model when it is still available. Working choices, custom models, and explicitly disconnected agents are preserved.
|
|
20
|
+
|
|
21
|
+
## Skills
|
|
22
|
+
|
|
23
|
+
- **Plugin recommendations** ship in the package and are available offline while signed in. The first bundled skill extracts action items from meeting minutes. Install it into the Library, then choose which agents use it.
|
|
24
|
+
- **Company skills** come from the shared ArkFlow directory. After web, desktop or Magpie publication, company members see the same skill and version on their next sync. Automatic policies install or update the skill. On-demand policies wait for the user. Local edits and naming conflicts are preserved.
|
|
25
|
+
- **Share a local skill** by adding it to Magpie Library, selecting it in the plugin, reviewing its files and confirming. Use **Publish revision** from the existing company skill to update it. Sharing a bundled skill creates an independent company record. Administrators manage categories, availability, policies and terminal reports on the ArkFlow website.
|
|
26
|
+
|
|
27
|
+
After each sign-in the plugin links the `magpie-image` MCP and selects `gpt-image-2.6` when available. Setup sets the default effort for new sessions to High where supported, turns off automatic routing groups, opens Magpie at system login, selects the Daily channel, and enables automatic update checks, downloads and restarts. If the sidebar entry is missing, check that the plugin folder is enabled. Reopen the page or use Reconnect if its local service becomes unavailable.
|
|
28
|
+
|
|
29
|
+
Community plugin. Attribution and licenses: [LICENSE](LICENSE), [NOTICE](NOTICE), [Magpie styles](docs/MAGPIE-LICENSE). [简体中文](README.md)
|
package/README.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ArkFlow for Magpie 2.0.19
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
在官方 Magpie 中使用 ArkFlow 分组模型、插件内置技能和公司技能。建议使用 Magpie 0.1.5235 或更新版本。
|
|
4
|
+
|
|
5
|
+
## 安装和登录
|
|
6
|
+
|
|
7
|
+
1. 在 Magpie 的插件发现页搜索 `arkflow`,安装 `arkflow-magpie-plugins`。也可以解压 `arkflow-magpie-plugins-2.0.19-production.zip` 到可长期保留的位置。打开 Magpie 的插件页面,选择解压后包含 `package.json` 的文件夹。升级旧版目录安装时,先停用并移除旧插件条目,再添加新目录。
|
|
8
|
+
2. 打开侧栏「ArkFlow」,点击「登录 ArkFlow」,在系统浏览器登录并确认。浏览器未弹出时可复制页面中的本次授权链接,在同一台电脑打开。从 1.7.1 升级的用户需要重新授权一次。
|
|
9
|
+
3. 返回 Magpie 查看同步进度。模型与技能同步后,插件自动配置生图工具。点击「完成」进入插件页。每把已获授权的模型 Key 对应一个原生供应商。插件按平台分组名称配置对话协议:Claude 分组使用 Anthropic Messages,GPT 分组使用 OpenAI Responses,其他分组及同时标记两者的分组使用 Chat Completions 和 Responses。没有可用分组时请查看平台账户授权。
|
|
10
|
+
|
|
11
|
+
插件连接 [ArkFlow 官网](https://www.ycnovaflow.vip)。账户凭据保存在插件私有目录。退出会撤销此次登录授权并清理仍由插件管理的连接。手动设置过的连接可能提示冲突,已安装的技能会保留。
|
|
12
|
+
|
|
13
|
+
从旧包 `novaflow-magpie-plugins` 升级时,先在 Magpie 插件列表移除旧插件(无需退出 ArkFlow 账户),再搜索并安装 `arkflow-magpie-plugins`,或添加新版 ZIP 解压目录。保留 Magpie 的数据目录。原有账户、技能和模型引用可继续使用,后续更新使用新包名。若曾修改插件服务端口,安装后在插件选项中恢复原值。旧版仍可从历史发布页下载。
|
|
14
|
+
|
|
15
|
+
同步失败时,页面列出分组、供应商和失败原因。点击对应行的「重置」并确认,可以恢复插件管理的供应商连接并重新获取模型。自定义连接会清除,供应商标识、名称和启用状态会保留。
|
|
16
|
+
|
|
17
|
+
ArkFlow 服务端启用分组同步后,插件会和客户端一样同步账号有权使用的模型分组。分组缺少适用的密钥时,服务端会自动为插件配置。Gemini 分组优先使用原生 Gemini 接口,并保留 OpenAI 兼容接口。
|
|
18
|
+
|
|
19
|
+
登录初始化会为尚未选模型的 Codex、Claude Code 和 DeepSeek Harness 选择当前可用的 ArkFlow GPT Sol 模型,优先使用稳定分组。「立即同步」可用 GPT Sol 修复失效的 ArkFlow 模型引用,原来选择的 Sol 型号仍可用时优先找回。可用的现有选择、自定义模型和主动断开的 Agent 会保留。
|
|
20
|
+
|
|
21
|
+
## 技能
|
|
22
|
+
|
|
23
|
+
- **插件推荐**随本插件发行,已登录时断网也能浏览、添加到 Magpie 资料库。首个内置技能是「会议行动清单」。用户安装后可在资料库选择关联的 Agent。
|
|
24
|
+
- **公司分享**使用 ArkFlow 平台上的企业目录。在网页、ArkFlow 客户端或 Magpie 分享后,同公司的成员在下次同步时看到同一技能和版本。自动项随同步安装或更新,按需项由成员点击安装,本地修改和同名冲突会保留。
|
|
25
|
+
- **分享本机技能**时,先将技能加入 Magpie 资料库,再在插件中选择技能,预览文件并确认。更新已有公司记录时打开技能详情,点「发布新版本」。分享内置技能会产生独立的公司记录。管理员在 ArkFlow 网页设置分类、上下架、同步方式并查看各终端结果。
|
|
26
|
+
|
|
27
|
+
每次登录后,插件会关联 `magpie-image` MCP,并优先选择可用的 `gpt-image-2.6`。初始化会将支持此选项的 Agent 的新会话默认思考强度设为高,关闭 Magpie 的「自动创建路由组」,开启开机自启,并选用每日版,开启自动更新、自动下载更新和自动重启更新。侧栏未显示时请在插件列表检查该目录是否启用。本机页面暂时失联可重新进入或点「重新连接」。
|
|
28
|
+
|
|
29
|
+
第三方社区插件,授权与来源见 [LICENSE](LICENSE)、[NOTICE](NOTICE) 和 [Magpie 样式许可](docs/MAGPIE-LICENSE)。[English](README.en.md)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: meeting-actions
|
|
3
|
+
description: 从会议纪要或讨论记录中提取行动项、责任人、截止日期和待确认问题。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
将用户提供的会议记录整理为可交给参会人的行动清单。
|
|
7
|
+
|
|
8
|
+
1. 提取已经作出的决定,将建议和未解决的争议单列为待确认事项。
|
|
9
|
+
2. 每个行动项使用一行,列出具体交付物、原文指定的负责人及截止日期。未指定的信息填「待确认」。
|
|
10
|
+
3. 原文出现「下周五」等相对日期时,仅在已知会议日期的情况下换算,并同时保留原表达。
|
|
11
|
+
4. 当不同发言给出的承诺冲突时,引用最短的相关原话,列出需要谁确认。不要自行分派工作或推测日期。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 yetone
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/index.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export async function NovaFlowPlugin(input, options) {
|
|
2
|
+
// A CLI launched for Library work also loads this package. Do not import
|
|
3
|
+
// the runtime, create private state, bind a port or schedule sync there.
|
|
4
|
+
if (process.env.NOVAFLOW_PLUGIN_CLI_CHILD === "1") return {}
|
|
5
|
+
const { getRuntime } = await import("./src/runtime.mjs")
|
|
6
|
+
const runtime = await getRuntime(input, options)
|
|
7
|
+
runtime.attachInput(input)
|
|
8
|
+
return runtime.hooks
|
|
9
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,81 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arkflow-magpie-plugins",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "2.0.19",
|
|
4
|
+
"description": "ArkFlow account, native provider synchronization and company skills for Magpie",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./index.mjs",
|
|
7
|
+
"exports": "./index.mjs",
|
|
8
|
+
"files": [
|
|
9
|
+
"index.mjs",
|
|
10
|
+
"src",
|
|
11
|
+
"page",
|
|
12
|
+
"bundled",
|
|
13
|
+
"docs/MAGPIE-LICENSE",
|
|
14
|
+
"README.md",
|
|
15
|
+
"README.en.md",
|
|
16
|
+
"LICENSE",
|
|
17
|
+
"NOTICE"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"check": "node --check index.mjs && node --check src/install-identity.mjs && node --check src/config.mjs && node --check src/api-client.mjs && node --check src/accounts.mjs && node --check src/credentials.mjs && node --check src/host-adapter.mjs && node --check src/manual-initialization.mjs && node --check src/install-defaults.mjs && node --check src/native-auth.mjs && node --check src/native-control.mjs && node --check src/page-service.mjs && node --check src/native-providers.mjs && node --check src/provider.mjs && node --check src/runtime.mjs && node --check src/session.mjs && node --check src/skill-packages.mjs && node --check src/skills.mjs && node --check src/state-store.mjs && node --check src/sync-engine.mjs && node --check page/request.js && node --check page/app.js && node --check page/bootstrap.js && node --check page/connection.js && node --check page/store-model.mjs && node --check page/theme.js && node --check src/skill-metadata.mjs",
|
|
21
|
+
"pack:verify": "npm pack --dry-run",
|
|
22
|
+
"hooks:install": "git config --local core.hooksPath .githooks",
|
|
23
|
+
"build": "node scripts/build-production.mjs",
|
|
24
|
+
"build:production": "node scripts/build-production.mjs",
|
|
25
|
+
"build:dev": "node scripts/build-local-dev.mjs"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"arkflow",
|
|
29
|
+
"arkflow-magpie",
|
|
30
|
+
"magpie",
|
|
31
|
+
"magpie-plugin",
|
|
32
|
+
"novaflow",
|
|
33
|
+
"sub2api",
|
|
34
|
+
"provider",
|
|
35
|
+
"opencode",
|
|
36
|
+
"opencode-plugin"
|
|
37
|
+
],
|
|
38
|
+
"license": "MIT",
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=20"
|
|
41
|
+
},
|
|
42
|
+
"magpie": {
|
|
43
|
+
"icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDI0IiBoZWlnaHQ9IjEwMjQiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjx0aXRsZT5BcmtGbG93IOm7keW6leW6lOeUqOWbvuaghzwvdGl0bGU+PHBhdGggZD0iTTMwMCAwSDcyNEM4MjAgMCA4NjYgMCA5MTcgMjdDOTUxIDQ1IDk3OSA3MyA5OTcgMTA3QzEwMjQgMTU4IDEwMjQgMjA0IDEwMjQgMzAwVjcyNEMxMDI0IDgyMCAxMDI0IDg2NiA5OTcgOTE3Qzk3OSA5NTEgOTUxIDk3OSA5MTcgOTk3Qzg2NiAxMDI0IDgyMCAxMDI0IDcyNCAxMDI0SDMwMEMyMDQgMTAyNCAxNTggMTAyNCAxMDcgOTk3QzczIDk3OSA0NSA5NTEgMjcgOTE3QzAgODY2IDAgOD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3IDc3NS41NTMwODU5NCA1NTMuODI1ODAwNzggNzc1LjU4MTkxNDA2IEMgNTUwLjc4NTc4MTI1IDc3NS41ODY3MTg3NSA1NDguNzgwMDEzMDIgNzc1LjU3ODkyNzA2IDU0OC4wMDAwMDAwMCA3NzUuNTcwMDAwMDAgQyA1MzEuMzUxMjExNjcgNzc1LjM3OTQ1ODY2IDUxNS4wMDA0NTQ2OCA3NzUuMDU3MDY4MzMgNDk4LjkzMjc3NTUzIDc3NC40MjcxNjEwMyBDIDM4Ni40NTkwMjE0NCA3NzAuMDE3ODA5OTMgMjg3Ljg0NDAwOTc2IDc1MS42NjIyOTkyMCAxOTcuNzA1MTg4NzggNjgyLjY3MjExOTc2IEMgMTk1LjU3Njc3OTA0IDY4MS4wNDMwODM5MiAxOTQuNjY4NzMwNjYgNjc4LjI3MzIyMTA5IDE5NS40MTk1OTU5NSA2NzUuNzAwMjY4MTAgQyAxOTYuMTcwNDYxMjQgNjczLjEyNzMxNTExIDE5OC40MjU3NjI0OSA2NzEuMjgwNjEzMTIgMjAxLjA5NjI3NjI0IDY3MS4wNTIwNDc5MCBaIi8+PC9nPjwvc3ZnPg==",
|
|
44
|
+
"hostMinVersion": "0.1.2058",
|
|
45
|
+
"permissions": [],
|
|
46
|
+
"options": {
|
|
47
|
+
"servicePort": 3488
|
|
48
|
+
},
|
|
49
|
+
"page": {
|
|
50
|
+
"title": "ArkFlow",
|
|
51
|
+
"file": "page/index.html",
|
|
52
|
+
"icon": "icon.svg",
|
|
53
|
+
"service": {
|
|
54
|
+
"port": 3488,
|
|
55
|
+
"option": "servicePort"
|
|
56
|
+
},
|
|
57
|
+
"keepAlive": false
|
|
58
|
+
},
|
|
59
|
+
"actions": [
|
|
60
|
+
{
|
|
61
|
+
"id": "manage",
|
|
62
|
+
"menu": "provider",
|
|
63
|
+
"title": "ArkFlow 管理与技能商店"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "agent-manage",
|
|
67
|
+
"menu": "agent",
|
|
68
|
+
"title": "ArkFlow 配置与技能"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"repository": {
|
|
73
|
+
"type": "git",
|
|
74
|
+
"url": "git+https://github.com/Azheyc/arkflow-magpie-plugins.git"
|
|
75
|
+
},
|
|
76
|
+
"homepage": "https://www.ycnovaflow.vip",
|
|
77
|
+
"bugs": {
|
|
78
|
+
"url": "https://github.com/Azheyc/arkflow-magpie-plugins/issues"
|
|
79
|
+
},
|
|
80
|
+
"author": "ArkFlow"
|
|
81
|
+
}
|
package/page/app.css
ADDED
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
/* Theme bridge values take precedence; fallback tokens match Magpie app.css:2-91. */
|
|
2
|
+
:root {
|
|
3
|
+
color-scheme: light;
|
|
4
|
+
--fallback-bg: #f4f4f6;
|
|
5
|
+
--fallback-card: #ffffff;
|
|
6
|
+
--fallback-card-2: #f9f9fb;
|
|
7
|
+
--fallback-pill: #f1f1f4;
|
|
8
|
+
--fallback-pill-hover: #e9e9ee;
|
|
9
|
+
--fallback-line: #e3e3e8;
|
|
10
|
+
--fallback-line-2: #ececf0;
|
|
11
|
+
--fallback-fg: #1c1c21;
|
|
12
|
+
--fallback-fg-2: #4b4b53;
|
|
13
|
+
--fallback-muted: #85858d;
|
|
14
|
+
--fallback-faint: #b9b9c2;
|
|
15
|
+
--fallback-accent: #4f46e5;
|
|
16
|
+
--fallback-accent-soft: #eeedfd;
|
|
17
|
+
--fallback-accent-fg: #ffffff;
|
|
18
|
+
--fallback-green: #189a58;
|
|
19
|
+
--fallback-green-soft: #e4f6ec;
|
|
20
|
+
--fallback-red: #d64545;
|
|
21
|
+
--fallback-red-soft: #fbe9e9;
|
|
22
|
+
--fallback-amber: #b45309;
|
|
23
|
+
--bg: var(--magpie-bg, var(--fallback-bg));
|
|
24
|
+
--card: var(--magpie-card, var(--fallback-card));
|
|
25
|
+
--card-2: var(--magpie-card-2, var(--fallback-card-2));
|
|
26
|
+
--pill: var(--magpie-pill, var(--fallback-pill));
|
|
27
|
+
--pill-hover: var(--magpie-pill-hover, var(--fallback-pill-hover));
|
|
28
|
+
--line: var(--magpie-line, var(--fallback-line));
|
|
29
|
+
--line-2: var(--magpie-line-2, var(--fallback-line-2));
|
|
30
|
+
--fg: var(--magpie-fg, var(--fallback-fg));
|
|
31
|
+
--fg-2: var(--magpie-fg-2, var(--fallback-fg-2));
|
|
32
|
+
--muted: var(--magpie-muted, var(--fallback-muted));
|
|
33
|
+
--faint: var(--magpie-faint, var(--fallback-faint));
|
|
34
|
+
--ctl-fg: var(--fg-2);
|
|
35
|
+
--accent: var(--magpie-accent, var(--fallback-accent));
|
|
36
|
+
--accent-soft: var(--magpie-accent-soft, var(--fallback-accent-soft));
|
|
37
|
+
--accent-fg: var(--magpie-accent-fg, var(--fallback-accent-fg));
|
|
38
|
+
--green: var(--magpie-green, var(--fallback-green));
|
|
39
|
+
--green-soft: var(--magpie-green-soft, var(--fallback-green-soft));
|
|
40
|
+
--red: var(--magpie-red, var(--fallback-red));
|
|
41
|
+
--red-soft: var(--magpie-red-soft, var(--fallback-red-soft));
|
|
42
|
+
--amber: var(--magpie-amber, var(--fallback-amber));
|
|
43
|
+
--font: var(--magpie-font, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif);
|
|
44
|
+
--code: var(--magpie-code, ui-monospace, "SF Mono", Menlo, Consolas, monospace);
|
|
45
|
+
--ease: cubic-bezier(.2, .8, .2, 1);
|
|
46
|
+
}
|
|
47
|
+
@media (prefers-color-scheme: dark) {
|
|
48
|
+
:root:not([data-theme="light"]) {
|
|
49
|
+
color-scheme: dark;
|
|
50
|
+
--fallback-bg: #1a1a1e;
|
|
51
|
+
--fallback-card: #232327;
|
|
52
|
+
--fallback-card-2: #1f1f23;
|
|
53
|
+
--fallback-pill: #2d2d33;
|
|
54
|
+
--fallback-pill-hover: #36363d;
|
|
55
|
+
--fallback-line: #333339;
|
|
56
|
+
--fallback-line-2: #2c2c32;
|
|
57
|
+
--fallback-fg: #ededf1;
|
|
58
|
+
--fallback-fg-2: #b9b9c1;
|
|
59
|
+
--fallback-muted: #8b8b94;
|
|
60
|
+
--fallback-faint: #56565f;
|
|
61
|
+
--fallback-accent: #a5b4fc;
|
|
62
|
+
--fallback-accent-soft: #2b2c47;
|
|
63
|
+
--fallback-accent-fg: #14142a;
|
|
64
|
+
--fallback-green: #6fd99b;
|
|
65
|
+
--fallback-green-soft: #1e3a2b;
|
|
66
|
+
--fallback-red: #f28b82;
|
|
67
|
+
--fallback-red-soft: #45272a;
|
|
68
|
+
--fallback-amber: #f2b544;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
:root[data-theme="dark"] {
|
|
72
|
+
color-scheme: dark;
|
|
73
|
+
--fallback-bg: #1a1a1e;
|
|
74
|
+
--fallback-card: #232327;
|
|
75
|
+
--fallback-card-2: #1f1f23;
|
|
76
|
+
--fallback-pill: #2d2d33;
|
|
77
|
+
--fallback-pill-hover: #36363d;
|
|
78
|
+
--fallback-line: #333339;
|
|
79
|
+
--fallback-line-2: #2c2c32;
|
|
80
|
+
--fallback-fg: #ededf1;
|
|
81
|
+
--fallback-fg-2: #b9b9c1;
|
|
82
|
+
--fallback-muted: #8b8b94;
|
|
83
|
+
--fallback-faint: #56565f;
|
|
84
|
+
--fallback-accent: #a5b4fc;
|
|
85
|
+
--fallback-accent-soft: #2b2c47;
|
|
86
|
+
--fallback-accent-fg: #14142a;
|
|
87
|
+
--fallback-green: #6fd99b;
|
|
88
|
+
--fallback-green-soft: #1e3a2b;
|
|
89
|
+
--fallback-red: #f28b82;
|
|
90
|
+
--fallback-red-soft: #45272a;
|
|
91
|
+
--fallback-amber: #f2b544;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
* { box-sizing: border-box; }
|
|
95
|
+
html { scroll-behavior: smooth; }
|
|
96
|
+
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--fg); font: 400 13px/1.4 var(--font); -webkit-font-smoothing: antialiased; }
|
|
97
|
+
main { max-width: 1180px; margin: auto; padding: 20px 24px 48px; }
|
|
98
|
+
h1, h2, h3, p { margin: 0; }
|
|
99
|
+
h1 { font-size: 17px; font-weight: 650; line-height: 1.25; }
|
|
100
|
+
h2 { font-size: 15px; font-weight: 650; line-height: 1.4; }
|
|
101
|
+
h3 { font-size: 12.5px; font-weight: 600; line-height: 1.4; }
|
|
102
|
+
p { color: var(--fg-2); }
|
|
103
|
+
input, textarea, select { font: inherit; }
|
|
104
|
+
body button { font-size: 12px; padding: 3px 7px; border-radius: 6px; transition: background .12s, color .12s; }
|
|
105
|
+
button:where(:not(.opt, .pm-act, .pm-chip, .skill-title, .primary, .sync-action)):hover:not(:disabled) { background: var(--pill); color: var(--fg); }
|
|
106
|
+
button:disabled { opacity: .55; cursor: default; }
|
|
107
|
+
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
108
|
+
input, textarea, select { width: 100%; min-width: 0; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--card); color: var(--fg); font-size: 12px; }
|
|
109
|
+
input::placeholder, textarea::placeholder { color: var(--faint); }
|
|
110
|
+
textarea { resize: vertical; min-height: 82px; line-height: 1.5; }
|
|
111
|
+
input[type="checkbox"] { width: 14px; height: 14px; margin: 0; flex: none; accent-color: var(--accent); }
|
|
112
|
+
.muted, .quiet { color: var(--muted); }
|
|
113
|
+
.quiet { font-size: 12px; }
|
|
114
|
+
.page-header, .identity, .account-summary, .summary-main, .summary-detail, .section-heading, .actions, .group-heading, .row, .dialog-heading, .check-row { display: flex; align-items: center; }
|
|
115
|
+
.page-header { justify-content: space-between; gap: 16px; margin-bottom: 16px; }
|
|
116
|
+
.identity { gap: 10px; min-width: 0; }
|
|
117
|
+
.brand-icon { width: 36px; height: 36px; object-fit: contain; flex: none; }
|
|
118
|
+
.identity-subtitle { font-size: 11px; color: var(--muted); margin-top: 2px; }
|
|
119
|
+
.account-summary { gap: 8px; min-width: 0; }
|
|
120
|
+
.account-text { display: grid; gap: 2px; text-align: right; min-width: 0; }
|
|
121
|
+
.account-text strong { font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
|
|
122
|
+
.account-text small { font-size: 11px; }
|
|
123
|
+
.connection-dot, .status-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--amber); }
|
|
124
|
+
.connection-dot, .status-dot.ready { background: var(--green); }
|
|
125
|
+
|
|
126
|
+
/* Plugin state uses quiet rows, separate from the imported discovery cards. */
|
|
127
|
+
.sync-summary { border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
|
|
128
|
+
.sync-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; margin-bottom: 20px; }
|
|
129
|
+
.summary-main { gap: 8px; min-width: 0; flex-wrap: wrap; }
|
|
130
|
+
.summary-main > strong { font-size: 12px; font-weight: 500; }
|
|
131
|
+
.summary-detail { gap: 6px 14px; color: var(--muted); font-size: 11px; flex-wrap: wrap; }
|
|
132
|
+
.summary-detail .summary-time { font-variant-numeric: tabular-nums; }
|
|
133
|
+
.local-link { padding: 0; color: var(--accent); font-size: 11px; }
|
|
134
|
+
/* More specific than the imported .text and .text:hover rules. */
|
|
135
|
+
button.text.sync-action, button.text.primary { display: inline-flex; align-items: center; justify-content: center; height: 27px; padding: 0 10px; color: var(--accent-fg); background: var(--accent); font-size: 12px; font-weight: 500; white-space: nowrap; }
|
|
136
|
+
button.text.primary:hover:not(:disabled), button.text.sync-action:hover:not(:disabled) { color: var(--accent-fg); background: var(--accent); filter: brightness(1.08); }
|
|
137
|
+
button.text.sync-action:disabled, button.text.primary:disabled { opacity: 1; color: var(--fg-2); background: var(--pill); filter: none; }
|
|
138
|
+
.secondary { height: 27px; padding: 0 10px; border: 1px solid var(--line); background: var(--card); color: var(--fg-2); }
|
|
139
|
+
.sync-summary details, .summary-disclosure { flex: 1; min-width: 0; }
|
|
140
|
+
.sync-summary summary, .summary-toggle { display: flex; align-items: center; gap: 8px; list-style: none; cursor: default; font-size: 12px; }
|
|
141
|
+
.sync-summary summary::-webkit-details-marker { display: none; }
|
|
142
|
+
.sync-summary details > .summary-detail { margin: 8px 0 0 14px; }
|
|
143
|
+
.summary-chevron { color: var(--muted); margin-left: auto; transition: transform .14s var(--ease); }
|
|
144
|
+
.sync-summary details[open] .summary-chevron { transform: rotate(180deg); }
|
|
145
|
+
.store { scroll-margin-top: 16px; }
|
|
146
|
+
.section-heading { justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
|
|
147
|
+
.section-heading p { font-size: 12px; margin-top: 4px; }
|
|
148
|
+
.actions { gap: 6px; flex: none; }
|
|
149
|
+
.category-chips { max-width: 100%; overflow-x: auto; margin-bottom: 10px; }
|
|
150
|
+
/* Magpie's moving .thumb surface, held on the selected option in this page. */
|
|
151
|
+
.segs .opt.on { background: var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .06); }
|
|
152
|
+
.store-toolbar { margin-bottom: 16px; }
|
|
153
|
+
.store-toolbar .installation-filters { overflow-x: auto; }
|
|
154
|
+
.search-box { margin-left: auto; }
|
|
155
|
+
.search-box input { width: 0; padding: 0; border-radius: 0; height: auto; }
|
|
156
|
+
.search-box input:focus-visible { outline: none; }
|
|
157
|
+
.search-box svg { width: 14px; height: 14px; }
|
|
158
|
+
.skill-group { margin-bottom: 18px; }
|
|
159
|
+
.group-heading { gap: 8px; margin: 0 2px 9px; align-items: baseline; flex-wrap: wrap; }
|
|
160
|
+
.group-heading h3 { font-size: 12.5px; font-weight: 650; }
|
|
161
|
+
.group-heading .muted { font-size: 11.5px; }
|
|
162
|
+
.skill-title { display: block; max-width: 100%; min-width: 0; padding: 0; text-align: left; line-height: inherit; }
|
|
163
|
+
.skill-title b { display: block; }
|
|
164
|
+
.skill-title:hover:not(:disabled) { color: var(--accent); }
|
|
165
|
+
.skill-icon { font-size: 16px; font-weight: 600; }
|
|
166
|
+
.local-installed { flex: none; padding: 0 4px; color: var(--green); font-size: 11px; white-space: nowrap; }
|
|
167
|
+
.text-action { margin-left: auto; padding: 1px 6px; color: var(--accent); font-size: 11px; }
|
|
168
|
+
.file-count { font-variant-numeric: tabular-nums; }
|
|
169
|
+
|
|
170
|
+
.empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 22px 12px; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
|
|
171
|
+
.empty h3 { color: var(--fg); font-size: 13px; }
|
|
172
|
+
.empty p { color: var(--muted); font-size: 12px; }
|
|
173
|
+
.empty-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--pill); color: var(--fg-2); font-size: 18px; }
|
|
174
|
+
.inline-error { padding: 8px 10px; border: 1px solid color-mix(in srgb, var(--red) 25%, var(--line)); background: var(--red-soft); color: var(--red); font-size: 12px; border-radius: 7px; margin: 8px 0; overflow-wrap: anywhere; }
|
|
175
|
+
.inline-error[hidden] { display: none; }
|
|
176
|
+
.sync-failures { display: grid; gap: 8px; padding: 0; margin: 8px 0 16px; list-style: none; }
|
|
177
|
+
.sync-failure { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; text-align: left; }
|
|
178
|
+
.sync-failure-detail { display: grid; gap: 2px; min-width: 0; }
|
|
179
|
+
.sync-failure-detail strong { font-size: 12px; }
|
|
180
|
+
.sync-failure-provider { font-size: 11px; color: var(--muted); }
|
|
181
|
+
.sync-failure > button { flex: none; }
|
|
182
|
+
.login-panel { max-width: 920px; margin: clamp(16px, 6vh, 64px) auto 0; border: 1px solid var(--line); border-radius: 22px; background: var(--card); overflow: hidden; }
|
|
183
|
+
.login-hero { display: grid; justify-items: center; text-align: center; padding: clamp(36px, 7vh, 84px) 24px; background: radial-gradient(ellipse at 50% 0, var(--accent-soft), transparent 72%); }
|
|
184
|
+
.login-hero .brand-icon { width: 64px; height: 64px; margin-bottom: 22px; }
|
|
185
|
+
.login-hero h1 { font-size: clamp(26px, 4.5vw, 46px); letter-spacing: -.035em; text-wrap: balance; }
|
|
186
|
+
.login-lead { max-width: 36em; margin: 14px 0 26px; font-size: clamp(14px, 1.7vw, 16px); line-height: 1.7; text-wrap: pretty; }
|
|
187
|
+
.login-hero button.text.login-action { min-height: 46px; padding: 0 30px; border-radius: 12px; font-size: 16px; font-weight: 600; }
|
|
188
|
+
.login-hero .field { width: min(100%, 380px); margin-top: 18px; text-align: left; }
|
|
189
|
+
.login-features { margin: 0; padding: 24px clamp(20px, 4vw, 44px); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; border-top: 1px solid var(--line); }
|
|
190
|
+
.login-features > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
|
|
191
|
+
.login-features dt { font-weight: 600; font-size: 15px; }
|
|
192
|
+
.login-features dd { margin: 6px 0 0; line-height: 1.6; color: var(--fg-2); }
|
|
193
|
+
.login-steps { display: grid; gap: 10px; margin: 18px 0; padding-left: 22px; color: var(--fg-2); font-size: 12px; }
|
|
194
|
+
.login-steps li { padding-left: 3px; }
|
|
195
|
+
.row { justify-content: space-between; min-height: 44px; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
|
|
196
|
+
.row > div { min-width: 0; }
|
|
197
|
+
.row:last-child { border: 0; }
|
|
198
|
+
.row strong { font-size: 12.5px; font-weight: 500; }
|
|
199
|
+
.row p { font-size: 11px; margin-top: 2px; color: var(--muted); overflow-wrap: anywhere; }
|
|
200
|
+
.settings-note { margin: 8px 0 12px; color: var(--muted); font-size: 11px; line-height: 1.5; }
|
|
201
|
+
.preferences-form, .admin-form { display: grid; gap: 11px; padding-top: 12px; }
|
|
202
|
+
.preferences-form > h3 { margin-bottom: 2px; }
|
|
203
|
+
.check-row { gap: 8px; width: max-content; max-width: 100%; font-size: 12px; }
|
|
204
|
+
.agent-choices { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; }
|
|
205
|
+
.agent-choices legend { padding: 0 5px; color: var(--fg-2); font-size: 12px; }
|
|
206
|
+
.agent-choices > .muted, .agent-choices > .inline-error { flex-basis: 100%; margin: 0; }
|
|
207
|
+
.field { display: grid; gap: 5px; font-size: 12px; }
|
|
208
|
+
.field-title { font-weight: 500; }
|
|
209
|
+
.preferences-form > .secondary, .admin-form > .primary { justify-self: start; }
|
|
210
|
+
.admin-form .field select { max-width: 420px; }
|
|
211
|
+
.share-list { display: grid; gap: 3px; }
|
|
212
|
+
.share-import-guide { padding: 12px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--pill); }
|
|
213
|
+
.share-import-guide > p { font-size: 12px; color: var(--fg-2); line-height: 1.5; }
|
|
214
|
+
.share-import-guide > h3 { margin-top: 12px; }
|
|
215
|
+
.share-import-guide .login-steps { margin: 8px 0 12px; gap: 6px; }
|
|
216
|
+
.share-form { display: grid; gap: 11px; }
|
|
217
|
+
.files { max-height: 240px; overflow: auto; border: 1px solid var(--line); border-radius: 7px; padding: 0 11px; }
|
|
218
|
+
.files h3 { padding-top: 10px; }
|
|
219
|
+
.detail-body > .row { margin: 0; }
|
|
220
|
+
.detail-body > p { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
|
|
221
|
+
.dialog-heading { justify-content: space-between; gap: 14px; flex: none; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--card); }
|
|
222
|
+
.dialog-heading .quiet { flex: none; padding: 3px 7px; }
|
|
223
|
+
.dialog-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px; }
|
|
224
|
+
.dialog-content > div > p:first-child { margin-bottom: 12px; }
|
|
225
|
+
dialog { width: min(680px, 93vw); max-height: 86vh; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--fg); padding: 0; box-shadow: 0 16px 44px color-mix(in srgb, var(--fg) 16%, transparent), 0 2px 8px rgba(0, 0, 0, .06); }
|
|
226
|
+
dialog[open] { display: flex; flex-direction: column; }
|
|
227
|
+
dialog::backdrop { background: rgba(0, 0, 0, .4); }
|
|
228
|
+
footer { max-width: 1180px; margin: auto; padding: 0 24px 20px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
|
|
229
|
+
footer button { padding: 1px 0; color: var(--accent); font-size: 11px; }
|
|
230
|
+
#toast { position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 8px); opacity: 0; pointer-events: none; max-width: min(560px, calc(100vw - 32px)); padding: 9px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--fg); box-shadow: 0 4px 18px rgba(0, 0, 0, .16); z-index: 10; font-size: 12px; transition: opacity .15s, transform .15s var(--ease); }
|
|
231
|
+
#toast.visible { opacity: 1; transform: translate(-50%, 0); }
|
|
232
|
+
|
|
233
|
+
@media (max-width: 620px) {
|
|
234
|
+
main { padding: 16px 14px 36px; }
|
|
235
|
+
.page-header { align-items: flex-start; }
|
|
236
|
+
.account-summary { gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
|
|
237
|
+
.account-text { max-width: 140px; }
|
|
238
|
+
.sync-summary { align-items: flex-start; gap: 8px; }
|
|
239
|
+
.summary-detail { flex-basis: 100%; gap: 5px 12px; }
|
|
240
|
+
.summary-main > .summary-detail { margin-left: 14px; }
|
|
241
|
+
.section-heading { flex-wrap: wrap; }
|
|
242
|
+
.actions { margin-left: auto; }
|
|
243
|
+
.store-toolbar { align-items: stretch; }
|
|
244
|
+
.search-box.pm-find { width: 100%; max-width: none; order: 3; margin-left: 0; }
|
|
245
|
+
.skill-grid.pm-grid { grid-template-columns: minmax(0, 1fr); }
|
|
246
|
+
.row { align-items: flex-start; gap: 10px; }
|
|
247
|
+
.row > button { flex: none; align-self: center; }
|
|
248
|
+
.agent-choices { gap: 8px 12px; }
|
|
249
|
+
.login-features { grid-template-columns: 1fr; gap: 14px; }
|
|
250
|
+
.login-features > div + div { padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); }
|
|
251
|
+
footer { padding: 0 14px 16px; flex-wrap: wrap; }
|
|
252
|
+
}
|
|
253
|
+
@media (prefers-reduced-motion: reduce) {
|
|
254
|
+
*, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
#login-setup { width: min(450px, calc(100vw - 28px)); max-height: 92vh; overflow: auto; border-radius: 20px; }
|
|
258
|
+
#login-setup[open] { display: block; outline: none; }
|
|
259
|
+
body:has(#login-setup[open]) footer { visibility: hidden; }
|
|
260
|
+
#login-setup::backdrop { background: color-mix(in srgb, var(--bg) 86%, transparent); }
|
|
261
|
+
.setup-card { padding: clamp(22px, 5vw, 36px); text-align: center; background: radial-gradient(ellipse at 50% 0, var(--accent-soft), transparent 70%), var(--card); }
|
|
262
|
+
.setup-card .brand-icon { width: 56px; height: 56px; }
|
|
263
|
+
.setup-card h1 { margin-top: 12px; font-size: clamp(23px, 4vw, 30px); letter-spacing: -.035em; }
|
|
264
|
+
.setup-subtitle, .setup-note { margin: 8px 0; color: var(--fg-2); }
|
|
265
|
+
.setup-steps { padding: 0; margin: 24px 0; list-style: none; text-align: left; }
|
|
266
|
+
.setup-step { display: flex; gap: 10px; align-items: center; padding: 10px 0; }
|
|
267
|
+
.setup-step + .setup-step { border-top: 1px solid var(--line-2); }
|
|
268
|
+
.setup-step small { margin-left: auto; color: var(--fg-2); }
|
|
269
|
+
.setup-icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--muted); background: var(--pill); }
|
|
270
|
+
.setup-step.done .setup-icon { color: var(--green); background: var(--green-soft); }
|
|
271
|
+
.setup-step.failed .setup-icon { color: var(--red); background: var(--red-soft); }
|
|
272
|
+
.setup-step.running .setup-icon { background: var(--accent-soft); border: 2px solid var(--accent-soft); border-top-color: var(--accent); animation: setup-spin .9s linear infinite; }
|
|
273
|
+
@keyframes setup-spin { to { transform: rotate(360deg); } }
|
|
274
|
+
.setup-actions { display: flex; justify-content: center; gap: 10px; }
|
|
275
|
+
.setup-actions button.text { height: 40px; padding: 0 28px; border-radius: 10px; font-size: 14px; }
|