@unlaxer/dge-toolkit 2.3.1 → 2.3.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/install.sh CHANGED
@@ -42,6 +42,12 @@ else
42
42
  mkdir -p "${DGE_DIR}/flows"
43
43
  cp "${SRC}/flows/"*.yaml "${DGE_DIR}/flows/" 2>/dev/null || true
44
44
  fi
45
+ if [ -d "${SRC}/bin" ]; then
46
+ mkdir -p "${DGE_DIR}/bin"
47
+ cp "${SRC}/bin/"* "${DGE_DIR}/bin/" 2>/dev/null || true
48
+ chmod +x "${DGE_DIR}/bin/"* 2>/dev/null || true
49
+ echo " dge/bin/ created"
50
+ fi
45
51
  # Version tracking for updates
46
52
  SRC_VERSION="$(cat "${SRC}/version.txt" 2>/dev/null || echo "1.0.0")"
47
53
  echo "${SRC_VERSION}" > "${DGE_DIR}/version.txt"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unlaxer/dge-toolkit",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "DGE (Dialogue-driven Gap Extraction) — 会話劇で設計の穴を発見するメソッドkit",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  - `dge/patterns.md`
25
25
  - `dge/method.md`
26
26
  - flow YAML の must_rules, auto_merge を確認
27
- - `dge-tool version` で tool mode 検出(失敗しても続行)
27
+ - `node dge/bin/dge-tool.js version` または `npx dge-tool version` で tool mode 検出(失敗しても続行)
28
28
 
29
29
  ### Step 2: テーマ確認
30
30
  明確なら次へ。曖昧なら掘り下げ。
package/update.sh CHANGED
@@ -134,6 +134,20 @@ cp "${SRC}/characters/"*.md "${DGE_DIR}/characters/"
134
134
  cp "${SRC}/templates/"*.md "${DGE_DIR}/templates/"
135
135
  echo "${SRC_VERSION}" > "${DGE_DIR}/version.txt"
136
136
 
137
+ # Update new files (flows, docs, bin)
138
+ for f in INTERNALS.md CUSTOMIZING.md dialogue-techniques.md patterns.md integration-guide.md; do
139
+ [ -f "${SRC}/${f}" ] && cp "${SRC}/${f}" "${DGE_DIR}/${f}"
140
+ done
141
+ if [ -d "${SRC}/flows" ]; then
142
+ mkdir -p "${DGE_DIR}/flows"
143
+ cp "${SRC}/flows/"*.yaml "${DGE_DIR}/flows/" 2>/dev/null || true
144
+ fi
145
+ if [ -d "${SRC}/bin" ]; then
146
+ mkdir -p "${DGE_DIR}/bin"
147
+ cp "${SRC}/bin/"* "${DGE_DIR}/bin/" 2>/dev/null || true
148
+ chmod +x "${DGE_DIR}/bin/"* 2>/dev/null || true
149
+ fi
150
+
137
151
  # Update skills
138
152
  mkdir -p "${SKILLS_DIR}"
139
153
  for f in "${SRC}/skills/"*.md; do
package/version.txt CHANGED
@@ -1 +1 @@
1
- 2.3.1
1
+ 2.3.2