skydive-cli 0.1.0-beta.286 → 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 +1070 -1042
- package/dist/js/{boot-D23rGRlW.mjs → boot-CWiCh_T9.mjs} +50 -9
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { A as
|
|
2
|
+
import { A as createRestClient, C as theme, D as themeVersion, E as themeModeFromColorFgBg, F as DEFAULT_APP_URL, I as getConfigPath, L as getSavedTheme, M as listWorkspaces, N as setActiveWorkspace, O as themesForMode, P as DEFAULT_API_URL, R as resolveWebUrl, S as noColorRequested, T as themeMode, _ as isRecord, b as findTheme, c as resolveAgent, d as parseExternalOauthConnectParams, f as parseOauthConnectParams, g as errorMessage, h as parseConnectCard, j as getActiveWorkspaceId, k as HttpError, l as MASK_CHAR, m as resolveConnectUrl, p as reconcileMaskedInput, u as cardActionErrorMessage, v as DEFAULT_THEME_ID, w as themeForMode, x as monoTheme, y as applyTheme, z as saveTheme } from "./bin.mjs";
|
|
3
3
|
import { t as PortalClient } from "./client-_OL8-XGH.mjs";
|
|
4
4
|
import path, { basename, extname, isAbsolute, join, win32 } from "node:path";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -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
|
|