skydive-cli 0.1.0-beta.287 → 0.1.0-beta.288
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/js/bin.mjs
CHANGED
|
@@ -16,7 +16,7 @@ import zlib from "node:zlib";
|
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
|
|
18
18
|
//#region package.json
|
|
19
|
-
var version$1 = "0.1.0-beta.
|
|
19
|
+
var version$1 = "0.1.0-beta.288";
|
|
20
20
|
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/types.ts
|
|
@@ -2591,7 +2591,7 @@ const chatCommand = {
|
|
|
2591
2591
|
printError(`Unknown theme "${themeId}". Valid themes: ${themes.map((t) => t.id).join(", ")}`);
|
|
2592
2592
|
process.exit(1);
|
|
2593
2593
|
}
|
|
2594
|
-
const { runChat } = await import("./boot-
|
|
2594
|
+
const { runChat } = await import("./boot-CWiCh_T9.mjs");
|
|
2595
2595
|
await runChat({
|
|
2596
2596
|
appUrl,
|
|
2597
2597
|
sessionToken: session.value.sessionToken,
|
|
@@ -3373,7 +3373,7 @@ const switchCommand = {
|
|
|
3373
3373
|
printError("The workspace picker needs the Bun runtime and it could not be set up automatically. Pass a workspace slug instead, or install Bun and retry.");
|
|
3374
3374
|
process.exit(1);
|
|
3375
3375
|
}
|
|
3376
|
-
const { runWorkspacePicker } = await import("./boot-
|
|
3376
|
+
const { runWorkspacePicker } = await import("./boot-CWiCh_T9.mjs");
|
|
3377
3377
|
await runWorkspacePicker(session);
|
|
3378
3378
|
return;
|
|
3379
3379
|
}
|
|
@@ -1752,16 +1752,44 @@ function Indented({ children }) {
|
|
|
1752
1752
|
let cached = null;
|
|
1753
1753
|
let cachedVersion = -1;
|
|
1754
1754
|
let retiring = null;
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1755
|
+
/**
|
|
1756
|
+
* Scope lookup falls back to the FIRST dot segment only (`markup.heading.1`
|
|
1757
|
+
* → `markup`, never `markup.heading`), so every dotted scope the bundled
|
|
1758
|
+
* tree-sitter queries emit must be registered verbatim. The markdown query
|
|
1759
|
+
* tags ATX headings exclusively with `markup.heading.1`–`.6`; before these
|
|
1760
|
+
* were registered, headings (and fenced code blocks, via `markup.raw.block`)
|
|
1761
|
+
* silently rendered as plain text. Guarded by syntax.test.ts.
|
|
1762
|
+
*/
|
|
1763
|
+
function syntaxStyleTable() {
|
|
1764
|
+
return {
|
|
1761
1765
|
default: { fg: theme.assistant },
|
|
1762
1766
|
conceal: { fg: theme.dim },
|
|
1763
1767
|
"markup.heading": {
|
|
1764
|
-
fg: theme.
|
|
1768
|
+
fg: theme.syntaxMagenta,
|
|
1769
|
+
bold: true
|
|
1770
|
+
},
|
|
1771
|
+
"markup.heading.1": {
|
|
1772
|
+
fg: theme.syntaxMagenta,
|
|
1773
|
+
bold: true
|
|
1774
|
+
},
|
|
1775
|
+
"markup.heading.2": {
|
|
1776
|
+
fg: theme.syntaxMagenta,
|
|
1777
|
+
bold: true
|
|
1778
|
+
},
|
|
1779
|
+
"markup.heading.3": {
|
|
1780
|
+
fg: theme.syntaxMagenta,
|
|
1781
|
+
bold: true
|
|
1782
|
+
},
|
|
1783
|
+
"markup.heading.4": {
|
|
1784
|
+
fg: theme.syntaxMagenta,
|
|
1785
|
+
bold: true
|
|
1786
|
+
},
|
|
1787
|
+
"markup.heading.5": {
|
|
1788
|
+
fg: theme.syntaxMagenta,
|
|
1789
|
+
bold: true
|
|
1790
|
+
},
|
|
1791
|
+
"markup.heading.6": {
|
|
1792
|
+
fg: theme.syntaxMagenta,
|
|
1765
1793
|
bold: true
|
|
1766
1794
|
},
|
|
1767
1795
|
"markup.strong": {
|
|
@@ -1777,7 +1805,10 @@ function syntaxStyle() {
|
|
|
1777
1805
|
dim: true
|
|
1778
1806
|
},
|
|
1779
1807
|
"markup.raw": { fg: theme.syntaxTeal },
|
|
1808
|
+
"markup.raw.block": { fg: theme.syntaxTeal },
|
|
1780
1809
|
"markup.list": { fg: theme.syntaxOrange },
|
|
1810
|
+
"markup.list.checked": { fg: theme.syntaxGreen },
|
|
1811
|
+
"markup.list.unchecked": { fg: theme.syntaxOrange },
|
|
1781
1812
|
"markup.quote": {
|
|
1782
1813
|
fg: theme.muted,
|
|
1783
1814
|
italic: true
|
|
@@ -1786,17 +1817,20 @@ function syntaxStyle() {
|
|
|
1786
1817
|
fg: theme.syntaxCyan,
|
|
1787
1818
|
underline: true
|
|
1788
1819
|
},
|
|
1820
|
+
"markup.link.bracket.close": { fg: theme.syntaxCyan },
|
|
1789
1821
|
"markup.link.label": { fg: theme.syntaxCyan },
|
|
1790
1822
|
"markup.link.url": {
|
|
1791
1823
|
fg: theme.dim,
|
|
1792
1824
|
underline: true
|
|
1793
1825
|
},
|
|
1826
|
+
"character.special": { fg: theme.syntaxCyan },
|
|
1794
1827
|
keyword: { fg: theme.syntaxMagenta },
|
|
1795
1828
|
"keyword.function": { fg: theme.syntaxMagenta },
|
|
1796
1829
|
"keyword.return": { fg: theme.syntaxMagenta },
|
|
1797
1830
|
"keyword.operator": { fg: theme.syntaxMagenta },
|
|
1798
1831
|
string: { fg: theme.syntaxGreen },
|
|
1799
1832
|
"string.special": { fg: theme.syntaxTeal },
|
|
1833
|
+
character: { fg: theme.syntaxGreen },
|
|
1800
1834
|
comment: {
|
|
1801
1835
|
fg: theme.dim,
|
|
1802
1836
|
italic: true
|
|
@@ -1826,7 +1860,14 @@ function syntaxStyle() {
|
|
|
1826
1860
|
module: { fg: theme.syntaxBlue },
|
|
1827
1861
|
label: { fg: theme.syntaxCyan },
|
|
1828
1862
|
embedded: { fg: theme.fg }
|
|
1829
|
-
}
|
|
1863
|
+
};
|
|
1864
|
+
}
|
|
1865
|
+
function syntaxStyle() {
|
|
1866
|
+
if (cached && cachedVersion === themeVersion()) return cached;
|
|
1867
|
+
retiring?.destroy();
|
|
1868
|
+
retiring = cached;
|
|
1869
|
+
cachedVersion = themeVersion();
|
|
1870
|
+
cached = SyntaxStyle.fromStyles(syntaxStyleTable());
|
|
1830
1871
|
return cached;
|
|
1831
1872
|
}
|
|
1832
1873
|
|