claude-opencode-viewer 2.6.8 → 2.6.9

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/index-pc.html CHANGED
@@ -1036,7 +1036,8 @@
1036
1036
  if (!b64 || b64 === '?') return false;
1037
1037
  if (isBufferReplay) return true;
1038
1038
  try {
1039
- var text = atob(b64);
1039
+ var bytes = Uint8Array.from(atob(b64), function(c) { return c.charCodeAt(0); });
1040
+ var text = new TextDecoder().decode(bytes);
1040
1041
  if (navigator.clipboard && navigator.clipboard.writeText) {
1041
1042
  navigator.clipboard.writeText(text).then(function() {
1042
1043
  showCopyToast();
package/index.html CHANGED
@@ -1026,7 +1026,8 @@
1026
1026
  var b64 = data.substring(idx + 1);
1027
1027
  if (!b64 || b64 === '?') return false;
1028
1028
  try {
1029
- var text = atob(b64);
1029
+ var bytes = Uint8Array.from(atob(b64), function(c) { return c.charCodeAt(0); });
1030
+ var text = new TextDecoder().decode(bytes);
1030
1031
  if (navigator.clipboard && navigator.clipboard.writeText) {
1031
1032
  navigator.clipboard.writeText(text).then(function() {
1032
1033
  showCopyToast();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-opencode-viewer",
3
- "version": "2.6.8",
3
+ "version": "2.6.9",
4
4
  "description": "A unified terminal viewer for Claude Code and OpenCode with seamless switching",
5
5
  "type": "module",
6
6
  "main": "server.js",