cc-transcript-react 0.1.0 → 0.1.1
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/dist/cli.js +8 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -86,7 +86,10 @@ function sessionListPage(sessions, colorScheme = "light") {
|
|
|
86
86
|
<style>
|
|
87
87
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
88
88
|
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: ${isDark ? "#111827" : "#f5f5f5"}; color: ${isDark ? "#d1d5db" : "#374151"}; padding: 2rem; }
|
|
89
|
-
h1 { font-size: 1.5rem; margin-bottom:
|
|
89
|
+
h1 { font-size: 1.5rem; margin-bottom: 0.5rem; color: ${isDark ? "#f9fafb" : "#111827"}; }
|
|
90
|
+
.description { margin-bottom: 1.5rem; font-size: 0.85rem; color: ${isDark ? "#9ca3af" : "#6b7280"}; line-height: 1.5; }
|
|
91
|
+
.description a { color: ${isDark ? "#93c5fd" : "#2563eb"}; text-decoration: none; }
|
|
92
|
+
.description a:hover { text-decoration: underline; }
|
|
90
93
|
table { width: 100%; border-collapse: collapse; background: ${isDark ? "#1f2937" : "#fff"}; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,${isDark ? "0.4" : "0.1"}); }
|
|
91
94
|
th { text-align: left; padding: 0.75rem 1rem; background: ${isDark ? "#111827" : "#f9fafb"}; border-bottom: 2px solid ${isDark ? "#374151" : "#e5e7eb"}; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; color: ${isDark ? "#9ca3af" : "#6b7280"}; }
|
|
92
95
|
td { padding: 0.75rem 1rem; border-bottom: 1px solid ${isDark ? "#374151" : "#e5e7eb"}; font-size: 0.9rem; max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
@@ -96,6 +99,10 @@ function sessionListPage(sessions, colorScheme = "light") {
|
|
|
96
99
|
</head>
|
|
97
100
|
<body>
|
|
98
101
|
<h1>Claude Code Sessions</h1>
|
|
102
|
+
<p class="description">
|
|
103
|
+
This page is served by <a href="https://github.com/satetsu888/cc-transcript-react" target="_blank">cc-transcript-react</a> \u2014 a React component for rendering Claude Code transcripts.<br>
|
|
104
|
+
Click a session below to view its full conversation transcript.
|
|
105
|
+
</p>
|
|
99
106
|
${sessions.length === 0 ? '<div class="empty">No sessions found.</div>' : `<table>
|
|
100
107
|
<thead><tr>
|
|
101
108
|
<th>Project</th>
|