@skitterbyte/skitterspec-linear 8.0.2 → 8.0.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skitterbyte/skitterspec-linear",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.3",
|
|
4
4
|
"description": "Spec-driven development for Claude Code, with one-way Linear sync — a superset of @skitterbyte/skitterspec: the base filesystem workflow plus /spec-status · /spec-push and the spec-sync CLI. The repo is canonical; Linear is a generated mirror. Install this OR the base, not both.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"author": "Reuben Greaves",
|
|
16
16
|
"type": "commonjs",
|
|
17
17
|
"bin": {
|
|
18
|
-
"skitterspec-linear": "bin/skitterspec-linear.js"
|
|
18
|
+
"skitterspec-linear": "bin/skitterspec-linear.js",
|
|
19
|
+
"skitterspec": "bin/skitterspec-linear.js"
|
|
19
20
|
},
|
|
20
21
|
"files": [
|
|
21
22
|
"bin",
|
|
Binary file
|
|
@@ -126,11 +126,13 @@ function joinOpenSpans(text) {
|
|
|
126
126
|
const c = text[i]
|
|
127
127
|
if (c === '\n') {
|
|
128
128
|
if (!code && (bold || italic || link)) {
|
|
129
|
-
// Skip the continuation's indentation
|
|
130
|
-
//
|
|
131
|
-
//
|
|
129
|
+
// Skip the continuation's indentation AND any blockquote marker (`>`) —
|
|
130
|
+
// a span wrapped across two `> …` lines is one quoted run, so the join
|
|
131
|
+
// must drop the continuation `>` rather than swallow it into the text.
|
|
132
|
+
// Then join: a word wrapped at a hyphen (`state-entry-with-`⏎`assignment`)
|
|
133
|
+
// is one compound — join TIGHT (no space); otherwise a single space.
|
|
132
134
|
let j = i + 1
|
|
133
|
-
while (j < text.length && (text[j] === ' ' || text[j] === '\t')) j++
|
|
135
|
+
while (j < text.length && (text[j] === ' ' || text[j] === '\t' || text[j] === '>')) j++
|
|
134
136
|
const softHyphen = text[i - 1] === '-' && /\w/.test(text[i - 2] || '') && /\w/.test(text[j] || '')
|
|
135
137
|
if (!softHyphen) out.push(' ')
|
|
136
138
|
i = j - 1
|