skill-forge-hub 1.3.5 → 1.3.6

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/CHANGELOG.en.md CHANGED
@@ -4,7 +4,16 @@
4
4
 
5
5
  Version history of the SkillForge npm package `skill-forge-hub` (command name `skill-forge`).
6
6
 
7
- ## 1.3.5 (2026-11-13)
7
+ ## 1.3.6 (2026-11-13)
8
+
9
+ **prompt-pouch fullscreen fill-panel variable area shrinks, space goes to previews (@14)**
10
+
11
+ - In fullscreen the variable input area changes from flex equal-split to content-sized (flex:0 1 auto): no more mid-panel blank gap when there are few variables — the freed space is split by the top template preview and the bottom live result; with many variables it caps at 45vh with scrolling fallback
12
+ - Add-edit modal fullscreen keeps its flexible content textarea (fp-fields explicitly flex:1, unaffected by the base rule)
13
+ - Template stamp prompt-pouch@13 → @14 (fullscreen layout change)
14
+ - Note: 1.3.5 was mistakenly published due to an npm staged conflict and deprecated on the registry (content duplicated 1.3.4); version number skips to 1.3.6
15
+
16
+ ## 1.3.4 (2026-11-13)
8
17
 
9
18
  **prompt-pouch fullscreen modals + taller fill-panel previews (@13)**
10
19
 
package/CHANGELOG.md CHANGED
@@ -4,7 +4,16 @@
4
4
 
5
5
  SkillForge(技能锻造坊)npm 包 `skill-forge-hub`(命令名 `skill-forge`)版本变更记录。
6
6
 
7
- ## 1.3.5(2026-11-13)
7
+ ## 1.3.6(2026-11-13)
8
+
9
+ **prompt-pouch 填充面板全屏变量区收缩,空白让给预览区(@14)**
10
+
11
+ - 全屏态变量输入区由 flex 均分改为按内容收缩(flex:0 1 auto):变量少时中部不再出现空白,腾出的空间由顶部模板预览与底部复制结果两区分食;变量多时限高 45vh 滚动兜底,不挤爆
12
+ - 编辑弹窗全屏内容输入框弹性吃满保持(fp-fields 显式 flex:1,不受基础规则影响)
13
+ - 版本戳 prompt-pouch@13 → @14(全屏布局调整)
14
+ - 注:1.3.5 因 npm staged 冲突误发、已在 registry 弃用(内容与 1.3.4 重复),版本号顺延至 1.3.6
15
+
16
+ ## 1.3.4(2026-11-13)
8
17
 
9
18
  **prompt-pouch 弹窗全屏 + 填充面板预览区加高(@13)**
10
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skill-forge-hub",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "SkillForge (技能锻造坊) — a curated collection of AI craft skills. Install once, then pick skills interactively: daily/weekly/monthly/quarterly/annual reports, meeting minutes, article-to-HTML, magic-deck slides, deck-stage PPTX, prompt-pouch manager, Pandoc doc converters, meta-forge.",
5
5
  "bin": {
6
6
  "skill-forge": "cli.js"
@@ -78,7 +78,7 @@ disable-model-invocation: false
78
78
 
79
79
  ## 产物升级(回炉)
80
80
 
81
- 生成/初始化页面时头部写版本戳 `<meta name="sf-template" content="prompt-pouch@13">`(模板升级时递增 @N 并同步 reference.html 与本文档)。用户说「升级旧锦囊/回炉旧页面/旧锦囊换新样式」时:扫 `<DIR>` 下 `prompt-pouch.html` 读版本戳筛出旧版(无版本戳或缺少 `<meta name="pouch-id">` 稳定 ID 的产物视为 v0 最旧版,一并进清单)→ 列清单(文件/旧版本/有无用户数据)→ AskUserQuestion 选全部或部分 → 逐份升级:浅升级(仅 CSS/JS 变化)对旧页替换 `<style>` 块与交互脚本;深升级(DOM 结构变化)从 reference.html 重建,**必须沿用原页 pouch-id meta 值**(IndexedDB 用户数据按 pouch-id 命名空间存取,换 ID = 数据失联,重建后原收藏/分组照旧读回),`<DIR>/<DATA_DIR>/prompts.json` 数据文件一概不动,先备份旧页 `.bak-时间戳` → 报告三段式:✅ 已升级清单 / ⚠️ 手改保留说明 / 🟡 失败项原因。模板改动分级:业务改动(板块/段落/标题体系)、数据格式改动(字段/存储结构)、页面改动(样式/布局/交互)任一发生即模板升级,版本戳 +1 并同步 reference.html 与本文档;纯措辞润色不 bump。每次生成/初始化新锦囊时顺扫 `<DIR>` 读版本戳:发现旧版产物主动告知「技能模板已升级至 vN,检测到 X 份旧版锦囊,说『把我旧锦囊都升级成新样式』即可一键升级」,不让用户背触发语。
81
+ 生成/初始化页面时头部写版本戳 `<meta name="sf-template" content="prompt-pouch@14">`(模板升级时递增 @N 并同步 reference.html 与本文档)。用户说「升级旧锦囊/回炉旧页面/旧锦囊换新样式」时:扫 `<DIR>` 下 `prompt-pouch.html` 读版本戳筛出旧版(无版本戳或缺少 `<meta name="pouch-id">` 稳定 ID 的产物视为 v0 最旧版,一并进清单)→ 列清单(文件/旧版本/有无用户数据)→ AskUserQuestion 选全部或部分 → 逐份升级:浅升级(仅 CSS/JS 变化)对旧页替换 `<style>` 块与交互脚本;深升级(DOM 结构变化)从 reference.html 重建,**必须沿用原页 pouch-id meta 值**(IndexedDB 用户数据按 pouch-id 命名空间存取,换 ID = 数据失联,重建后原收藏/分组照旧读回),`<DIR>/<DATA_DIR>/prompts.json` 数据文件一概不动,先备份旧页 `.bak-时间戳` → 报告三段式:✅ 已升级清单 / ⚠️ 手改保留说明 / 🟡 失败项原因。模板改动分级:业务改动(板块/段落/标题体系)、数据格式改动(字段/存储结构)、页面改动(样式/布局/交互)任一发生即模板升级,版本戳 +1 并同步 reference.html 与本文档;纯措辞润色不 bump。每次生成/初始化新锦囊时顺扫 `<DIR>` 读版本戳:发现旧版产物主动告知「技能模板已升级至 vN,检测到 X 份旧版锦囊,说『把我旧锦囊都升级成新样式』即可一键升级」,不让用户背触发语。
82
82
 
83
83
  ## ⚙️ 配置与自定义主题
84
84
 
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <meta name="sf-template" content="prompt-pouch@13">
6
+ <meta name="sf-template" content="prompt-pouch@14">
7
7
  <meta name="pouch-id" content="REF-POUCH-0000">
8
8
  <title>锦囊 Prompt Pouch — 提示词管理台</title>
9
9
  <style>
@@ -491,10 +491,10 @@ mark.hl{ background:var(--gold-dim); color:var(--gold); border-radius:3px; paddi
491
491
  .fill-panel.full .detail-content{ flex:1; max-height:none; }
492
492
  .fill-panel.full .detail-times, .fill-panel.full .detail-notes, .fill-panel.full .detail-vars{ flex:none; }
493
493
  .fill-panel.full .fp-preview{ flex:1; max-height:none; min-height:120px; }
494
- .fill-panel.full .fp-fields{ flex:1; overflow-y:auto; min-height:0; }
494
+ .fill-panel.full .fp-fields{ flex:0 1 auto; overflow-y:auto; min-height:0; max-height:45vh; }
495
495
  .fill-panel.full .fp-live{ flex:1; display:flex; flex-direction:column; min-height:120px; }
496
496
  .fill-panel.full .fp-live textarea{ flex:1; height:auto; min-height:96px; }
497
- #itemMask .fill-panel.full .fp-fields{ display:flex; flex-direction:column; gap:10px; min-height:0; }
497
+ #itemMask .fill-panel.full .fp-fields{ flex:1; max-height:none; display:flex; flex-direction:column; gap:10px; min-height:0; }
498
498
  #itemMask .fill-panel.full .fp-field:last-child{ flex:1; display:flex; flex-direction:column; min-height:0; }
499
499
  #itemMask .fill-panel.full #itemContent{ flex:1; min-height:40vh; resize:vertical; }
500
500
  /* ============ 统一确认弹框(替代浏览器原生弹框) ============ */