@filipc77/cowrite 0.6.12 → 0.6.13
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/bin/cowrite.js
CHANGED
|
@@ -1104,7 +1104,7 @@ function createPreviewServer(store, projectDir, port, initialFile) {
|
|
|
1104
1104
|
// bin/cowrite.ts
|
|
1105
1105
|
import updateNotifier from "update-notifier";
|
|
1106
1106
|
import "module";
|
|
1107
|
-
var version = true ? "0.6.
|
|
1107
|
+
var version = true ? "0.6.13" : createRequire(import.meta.url)("../package.json").version;
|
|
1108
1108
|
var USAGE = `
|
|
1109
1109
|
cowrite \u2014 Live commenting plugin for coding agent sessions
|
|
1110
1110
|
|
package/package.json
CHANGED
|
@@ -127,7 +127,7 @@ export function renderComments() {
|
|
|
127
127
|
// Click to scroll to highlight and mark card active
|
|
128
128
|
for (const card of commentListEl.querySelectorAll(".comment-card")) {
|
|
129
129
|
card.addEventListener("click", (e) => {
|
|
130
|
-
if (e.target.
|
|
130
|
+
if (e.target.closest("button, textarea, .proposal-actions, .reply-form, .comment-actions")) return;
|
|
131
131
|
|
|
132
132
|
// Mark this card active
|
|
133
133
|
for (const c of commentListEl.querySelectorAll(".comment-card.active")) {
|