@k2works/claude-code-booster 6.1.0 → 6.2.0
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.
|
@@ -25,7 +25,11 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
|
25
25
|
|
|
26
26
|
// Force render any mermaid diagrams
|
|
27
27
|
setTimeout(function() {
|
|
28
|
-
mermaid.
|
|
28
|
+
if (typeof mermaid.run === 'function') {
|
|
29
|
+
mermaid.run({ querySelector: '.mermaid' });
|
|
30
|
+
} else {
|
|
31
|
+
mermaid.init(undefined, document.querySelectorAll('.mermaid'));
|
|
32
|
+
}
|
|
29
33
|
}, 1000);
|
|
30
34
|
} else {
|
|
31
35
|
console.error('Mermaid library not loaded');
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// MathJax 3 の設定。pymdownx.arithmatex の generic モードが出力する
|
|
2
|
+
// \(...\)(インライン)と \[...\](ブロック)を読み取る。
|
|
3
|
+
window.MathJax = {
|
|
4
|
+
tex: {
|
|
5
|
+
inlineMath: [["\\(", "\\)"]],
|
|
6
|
+
displayMath: [["\\[", "\\]"]],
|
|
7
|
+
processEscapes: true,
|
|
8
|
+
processEnvironments: true,
|
|
9
|
+
},
|
|
10
|
+
options: {
|
|
11
|
+
ignoreHtmlClass: ".*|",
|
|
12
|
+
processHtmlClass: "arithmatex",
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
// Material for MkDocs の instant loading(ページ遷移で再読み込みしない仕組み)に対応する。
|
|
17
|
+
// 遷移のたびに数式を組み直さないと、2 ページ目以降で数式が生のまま残る。
|
|
18
|
+
if (typeof document$ !== "undefined") {
|
|
19
|
+
document$.subscribe(() => {
|
|
20
|
+
if (window.MathJax && window.MathJax.typesetPromise) {
|
|
21
|
+
window.MathJax.startup.output.clearCache();
|
|
22
|
+
window.MathJax.typesetClear();
|
|
23
|
+
window.MathJax.texReset();
|
|
24
|
+
window.MathJax.typesetPromise();
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
}
|
package/lib/assets/mkdocs.yml
CHANGED
|
@@ -20,6 +20,8 @@ extra_css:
|
|
|
20
20
|
- assets/css/extra.css
|
|
21
21
|
|
|
22
22
|
markdown_extensions:
|
|
23
|
+
- pymdownx.arithmatex:
|
|
24
|
+
generic: true
|
|
23
25
|
- pymdownx.highlight
|
|
24
26
|
- pymdownx.superfences:
|
|
25
27
|
custom_fences:
|
|
@@ -45,8 +47,11 @@ markdown_extensions:
|
|
|
45
47
|
- attr_list
|
|
46
48
|
|
|
47
49
|
extra_javascript:
|
|
48
|
-
- https://cdn.jsdelivr.net/npm/mermaid@
|
|
50
|
+
- https://cdn.jsdelivr.net/npm/mermaid@11.17.2/dist/mermaid.min.js
|
|
49
51
|
- assets/js/extra.js
|
|
52
|
+
# 数式(MathJax 3)。設定を先に読み込んでから MathJax 本体を読み込む
|
|
53
|
+
- assets/js/mathjax.js
|
|
54
|
+
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
|
|
50
55
|
|
|
51
56
|
extra:
|
|
52
57
|
plantuml_url: http://www.plantuml.com/plantuml
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
FROM python:3.11-slim
|
|
2
|
-
|
|
3
|
-
WORKDIR /docs
|
|
4
|
-
|
|
5
|
-
# Install MkDocs and necessary plugins
|
|
6
|
-
RUN pip install --no-cache-dir \
|
|
7
|
-
mkdocs \
|
|
8
|
-
mkdocs-material \
|
|
9
|
-
pymdown-extensions \
|
|
10
|
-
plantuml-markdown
|
|
11
|
-
|
|
12
|
-
# Copy configuration and docs
|
|
13
|
-
COPY mkdocs.yml /docs/
|
|
14
|
-
|
|
15
|
-
# Expose the MkDocs development server port
|
|
16
|
-
EXPOSE 8000
|
|
17
|
-
|
|
18
|
-
# Start MkDocs development server
|
|
19
|
-
CMD ["mkdocs", "serve", "--dev-addr=0.0.0.0:8000"]
|
|
1
|
+
FROM python:3.11-slim
|
|
2
|
+
|
|
3
|
+
WORKDIR /docs
|
|
4
|
+
|
|
5
|
+
# Install MkDocs and necessary plugins
|
|
6
|
+
RUN pip install --no-cache-dir \
|
|
7
|
+
mkdocs \
|
|
8
|
+
mkdocs-material \
|
|
9
|
+
pymdown-extensions \
|
|
10
|
+
plantuml-markdown
|
|
11
|
+
|
|
12
|
+
# Copy configuration and docs
|
|
13
|
+
COPY mkdocs.yml /docs/
|
|
14
|
+
|
|
15
|
+
# Expose the MkDocs development server port
|
|
16
|
+
EXPOSE 8000
|
|
17
|
+
|
|
18
|
+
# Start MkDocs development server
|
|
19
|
+
CMD ["mkdocs", "serve", "--dev-addr=0.0.0.0:8000"]
|
package/lib/assets/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"vault:rekey": "gulp vault:rekey",
|
|
16
16
|
"okf:check": "gulp okf:check",
|
|
17
17
|
"okf:viz": "gulp okf:viz",
|
|
18
|
-
"claude:yolo": "claude --
|
|
18
|
+
"claude:yolo": "claude --enable-auto-mode",
|
|
19
19
|
"copilot:yolo": "copilot --allow-all-tools",
|
|
20
20
|
"codex:yolo": "codex --yolo",
|
|
21
21
|
"gemini:yolo": "gemini --yolo"
|