prompt-skill-armory 0.9.1 → 0.9.2
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/README.en.md +3 -3
- package/README.md +3 -3
- package/package.json +1 -1
- package/packages/client-ui-switchblade/lib/client.js +28 -44
- package/packages/client-ui-switchblade/lib/client.js.map +1 -1
- package/packages/client-ui-switchblade/package.json +1 -1
- package/packages/client-ui-switchblade/src/client/SwitchbladeSection.tsx +9 -9
- package/packages/client-ui-switchblade/src/client/conversations.ts +1 -1
- package/packages/switchblade/lib/index.js +0 -8
- package/packages/switchblade/lib/switchblade.js +0 -8
- package/packages/switchblade/package.json +1 -1
- package/packages/switchblade/src/conversations.ts +2 -7
package/README.en.md
CHANGED
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|--|--|--|--|
|
|
13
13
|
| <img src="docs/preview/preview-6.png" width="220"/> | <img src="docs/preview/preview-7.png" width="220"/> | | |
|
|
14
14
|
|
|
15
|
-

|
|
16
16
|

|
|
17
17
|

|
|
18
18
|

|
|
19
19
|
|
|
20
20
|
```
|
|
21
|
-
✦ Armory v0.9.
|
|
21
|
+
✦ Armory v0.9.2
|
|
22
22
|
┌─────────┬─────────┬─────┬────────────┬──────┬──────┐
|
|
23
23
|
│ Prompts │ Skills │ MCP │ Wallpaper │ Chat │ Stats│
|
|
24
24
|
│ global │ merged │ hub │ wallpaper │ sync │ usage│
|
|
@@ -111,7 +111,7 @@ Achieved via profile composition (the installer mounts the panel into each profi
|
|
|
111
111
|
|
|
112
112
|
Every time the panel opens it queries npm for the latest `prompt-skill-armory` version; when a newer version exists a banner appears:
|
|
113
113
|
|
|
114
|
-
> New version vX.Y.Z (current v0.9.
|
|
114
|
+
> New version vX.Y.Z (current v0.9.2) [Update now]
|
|
115
115
|
|
|
116
116
|
Clicking "Update now" makes the Host re-run the official installer in place → "Update complete, please restart the client".
|
|
117
117
|
|
package/README.md
CHANGED
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|--|--|--|--|
|
|
13
13
|
| <img src="docs/preview/preview-6.png" width="220"/> | <img src="docs/preview/preview-7.png" width="220"/> | | |
|
|
14
14
|
|
|
15
|
-

|
|
16
16
|

|
|
17
17
|

|
|
18
18
|

|
|
19
19
|
|
|
20
20
|
```
|
|
21
|
-
✦ Armory v0.9.
|
|
21
|
+
✦ Armory v0.9.2
|
|
22
22
|
┌─────────┬─────────┬─────┬────────────┬──────┬──────┐
|
|
23
23
|
│ 提示词 │ 技能 │ MCP │ Wallpaper │ 对话 │ 统计 │
|
|
24
24
|
│ 全局注入 │ 合并管理 │ 连接 │ 壁纸·特效 │ 导入 │ 用量 │
|
|
@@ -114,7 +114,7 @@ pnpm dsh web
|
|
|
114
114
|
|
|
115
115
|
插件面板每次打开会自动查询 npm 上 `prompt-skill-armory` 的最新版本;发现新版本时顶部显示横幅:
|
|
116
116
|
|
|
117
|
-
> 有新版本 vX.Y.Z(当前 v0.9.
|
|
117
|
+
> 有新版本 vX.Y.Z(当前 v0.9.2) [一键更新]
|
|
118
118
|
|
|
119
119
|
点击「一键更新」→ Host 端运行官方安装器原地重装 → 提示「更新完成,请重启客户端生效」。
|
|
120
120
|
|
package/package.json
CHANGED
|
@@ -528,8 +528,8 @@ window.__ModuleLoader__.load({
|
|
|
528
528
|
headers: { "content-type": "application/json" },
|
|
529
529
|
body: JSON.stringify({
|
|
530
530
|
sessionIds: ids,
|
|
531
|
-
includeAttachments:
|
|
532
|
-
includeWorkspace:
|
|
531
|
+
includeAttachments: false,
|
|
532
|
+
includeWorkspace: false
|
|
533
533
|
})
|
|
534
534
|
})).json();
|
|
535
535
|
return b.ok && b.name !== void 0 ? b.name : null;
|
|
@@ -946,7 +946,7 @@ window.__ModuleLoader__.load({
|
|
|
946
946
|
});
|
|
947
947
|
}
|
|
948
948
|
/** Bump with every release; keep in sync with package.json version + CHANGELOG. */
|
|
949
|
-
const ARMORY_VERSION = "0.9.
|
|
949
|
+
const ARMORY_VERSION = "0.9.2";
|
|
950
950
|
/** Compact duration: 45.2s / 2m42s / 1h05m. */
|
|
951
951
|
function fmtDuration(ms) {
|
|
952
952
|
const s = ms / 1e3;
|
|
@@ -1564,6 +1564,31 @@ window.__ModuleLoader__.load({
|
|
|
1564
1564
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
1565
1565
|
style: CSS.versionBadge,
|
|
1566
1566
|
children: ["v", ARMORY_VERSION]
|
|
1567
|
+
}),
|
|
1568
|
+
latestVer !== "" && isOlder(ARMORY_VERSION, latestVer) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
1569
|
+
style: {
|
|
1570
|
+
display: "inline-flex",
|
|
1571
|
+
alignItems: "center",
|
|
1572
|
+
gap: "6px",
|
|
1573
|
+
marginLeft: "8px"
|
|
1574
|
+
},
|
|
1575
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
1576
|
+
style: {
|
|
1577
|
+
...CSS.actionBtn,
|
|
1578
|
+
...CSS.badgeEnabled,
|
|
1579
|
+
fontSize: "11px",
|
|
1580
|
+
padding: "2px 8px"
|
|
1581
|
+
},
|
|
1582
|
+
disabled: updating,
|
|
1583
|
+
onClick: () => void doUpdate(),
|
|
1584
|
+
children: updating ? "更新中…" : `↑ v${latestVer} 更新`
|
|
1585
|
+
}), updateMsg !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1586
|
+
style: {
|
|
1587
|
+
...CSS.hint,
|
|
1588
|
+
whiteSpace: "nowrap"
|
|
1589
|
+
},
|
|
1590
|
+
children: updateMsg.slice(0, 60)
|
|
1591
|
+
})]
|
|
1567
1592
|
})
|
|
1568
1593
|
]
|
|
1569
1594
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
@@ -1581,47 +1606,6 @@ window.__ModuleLoader__.load({
|
|
|
1581
1606
|
state.message
|
|
1582
1607
|
]
|
|
1583
1608
|
}),
|
|
1584
|
-
latestVer !== "" && isOlder(ARMORY_VERSION, latestVer) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
1585
|
-
style: {
|
|
1586
|
-
display: "flex",
|
|
1587
|
-
alignItems: "center",
|
|
1588
|
-
gap: "10px",
|
|
1589
|
-
padding: "8px 12px",
|
|
1590
|
-
marginBottom: "10px",
|
|
1591
|
-
borderRadius: "8px",
|
|
1592
|
-
border: "1px solid #58a6ff",
|
|
1593
|
-
background: "rgba(88,166,255,.08)"
|
|
1594
|
-
},
|
|
1595
|
-
children: [
|
|
1596
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
1597
|
-
style: {
|
|
1598
|
-
fontSize: "12px",
|
|
1599
|
-
color: "#58a6ff",
|
|
1600
|
-
flex: 1
|
|
1601
|
-
},
|
|
1602
|
-
children: [
|
|
1603
|
-
"有新版本 v",
|
|
1604
|
-
latestVer,
|
|
1605
|
-
"(当前 v",
|
|
1606
|
-
ARMORY_VERSION,
|
|
1607
|
-
")"
|
|
1608
|
-
]
|
|
1609
|
-
}),
|
|
1610
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
1611
|
-
style: {
|
|
1612
|
-
...CSS.actionBtn,
|
|
1613
|
-
...CSS.badgeEnabled
|
|
1614
|
-
},
|
|
1615
|
-
disabled: updating,
|
|
1616
|
-
onClick: () => void doUpdate(),
|
|
1617
|
-
children: updating ? "更新中…" : "一键更新"
|
|
1618
|
-
}),
|
|
1619
|
-
updateMsg !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1620
|
-
style: { ...CSS.hint },
|
|
1621
|
-
children: updateMsg
|
|
1622
|
-
})
|
|
1623
|
-
]
|
|
1624
|
-
}),
|
|
1625
1609
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
1626
1610
|
style: CSS.tabs,
|
|
1627
1611
|
children: [
|