@mmmbuto/nexuscrew 0.8.57 → 0.9.0
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/CHANGELOG.md +164 -2
- package/README.md +1 -0
- package/frontend/dist/assets/index-0vuhL1YP.css +32 -0
- package/frontend/dist/assets/index-zjL6kZ7J.js +93 -0
- package/frontend/dist/index.html +2 -2
- package/frontend/dist/version.json +1 -1
- package/lib/audio/adapters.js +50 -6
- package/lib/cli/commands.js +40 -2
- package/lib/cli/doctor.js +95 -12
- package/lib/cli/init.js +25 -3
- package/lib/cli/path.js +43 -10
- package/lib/cli/pidfile.js +23 -2
- package/lib/config.js +15 -0
- package/lib/fleet/builtin.js +161 -19
- package/lib/fleet/catalogs/opencode-go.json +328 -0
- package/lib/fleet/cell-exec.js +87 -9
- package/lib/fleet/cell-lease-server.js +719 -0
- package/lib/fleet/cell-lease.js +112 -0
- package/lib/fleet/definitions.js +101 -7
- package/lib/fleet/launch-broker.js +115 -3
- package/lib/fleet/lease-client.js +191 -0
- package/lib/fleet/lease-routes.js +92 -0
- package/lib/fleet/lease-verifier.js +230 -0
- package/lib/fleet/managed.js +444 -55
- package/lib/fleet/prompt-delivery.js +50 -2
- package/lib/fleet/provider.js +1 -1
- package/lib/fleet/runtime.js +53 -6
- package/lib/live-host/bridge.js +369 -0
- package/lib/live-host/routes.js +184 -0
- package/lib/live-host/store.js +96 -0
- package/lib/mcp/tools.js +51 -0
- package/lib/nodes/commands.js +9 -2
- package/lib/nodes/store.js +14 -0
- package/lib/nodes/tunnel.js +4 -1
- package/lib/proxy/federation.js +106 -9
- package/lib/proxy/node-proxy.js +33 -0
- package/lib/proxy/panel-auth.js +307 -0
- package/lib/proxy/panel-proxy.js +305 -0
- package/lib/server.js +127 -4
- package/package.json +1 -1
- package/skills/alibaba-token-media/SKILL.md +19 -0
- package/skills/crew/SKILL.md +15 -0
- package/skills/fill-forms/SKILL.md +23 -0
- package/skills/mail-assistant/SKILL.md +15 -0
- package/skills/memory/SKILL.md +15 -0
- package/skills/nexuscrew-agent/SKILL.md +18 -0
- package/skills/vl-msa/SKILL.md +15 -0
- package/frontend/dist/assets/index-CYi_lhCg.css +0 -32
- package/frontend/dist/assets/index-_c-1_3iR.js +0 -93
package/lib/server.js
CHANGED
|
@@ -23,7 +23,11 @@ const VERSION = require('../package.json').version;
|
|
|
23
23
|
const { transcribe } = require('./voice/transcribe.js');
|
|
24
24
|
const { selectProvider } = require('./fleet/provider.js');
|
|
25
25
|
const { fleetRoutes } = require('./fleet/routes.js');
|
|
26
|
+
const { leaseRoutes } = require('./fleet/lease-routes.js');
|
|
26
27
|
const { cellsRoutes } = require('./cells/routes.js');
|
|
28
|
+
const { liveHostRoutes } = require('./live-host/routes.js');
|
|
29
|
+
const { createLiveHostStore, liveHostPath } = require('./live-host/store.js');
|
|
30
|
+
const { createLiveBridge } = require('./live-host/bridge.js');
|
|
27
31
|
const { fsRoutes } = require('./fs/routes.js');
|
|
28
32
|
const nodesStore = require('./nodes/store.js');
|
|
29
33
|
const nodesTunnel = require('./nodes/tunnel.js');
|
|
@@ -33,6 +37,8 @@ const { createReverseSlotListeners } = require('./nodes/reverse-slot-listeners.j
|
|
|
33
37
|
const reverseRotation = require('./nodes/reverse-rotation.js');
|
|
34
38
|
const topologyCache = require('./nodes/topology-cache.js');
|
|
35
39
|
const { createNodeProxy, handleNodeUpgrade } = require('./proxy/node-proxy.js');
|
|
40
|
+
const { createPanelProxy, handlePanelUpgrade } = require('./proxy/panel-proxy.js');
|
|
41
|
+
const { createPanelAuth } = require('./proxy/panel-auth.js');
|
|
36
42
|
const federation = require('./proxy/federation.js');
|
|
37
43
|
const { audioRoutes } = require('./audio/routes.js');
|
|
38
44
|
const { isConsent: isAudioConsent } = require('./audio/consent.js');
|
|
@@ -549,9 +555,81 @@ function createServer(opts = {}) {
|
|
|
549
555
|
if (!reverseSlotListeners.respond(req, res)) res.status(404).json({ error: 'reverse slot non disponibile' });
|
|
550
556
|
});
|
|
551
557
|
|
|
552
|
-
//
|
|
558
|
+
// Pannello per-cella (D8): inoltra il traffico verso il `panelUrl` di UNA cella
|
|
559
|
+
// LOCALE. La destinazione non arriva mai dal chiamante — si risolve dallo stato
|
|
560
|
+
// della cella — e il token di NexusCrew non prosegue verso il pannello, che e'
|
|
561
|
+
// un servizio terzo e non un nodo. Local-only come /api/live-host: il pass-through
|
|
562
|
+
// /node/<name>/ NON deve portarci un peer qualsiasi (vedi LOCAL_ONLY_PREFIXES in
|
|
563
|
+
// proxy/node-proxy.js). L'attraversamento verso i nodi del proprietario passera'
|
|
564
|
+
// dalla via allowlistata della federazione, dietro il gate di proprieta'.
|
|
565
|
+
async function resolveCellPanel(cellId) {
|
|
566
|
+
const fleet = await fleetP;
|
|
567
|
+
if (!fleet || fleet.available !== true) return null; // fleet non interrogabile
|
|
568
|
+
const statusFn = typeof fleet.status === 'function' ? fleet.status : fleet.cellStatus;
|
|
569
|
+
if (typeof statusFn !== 'function') return null;
|
|
570
|
+
const st = await statusFn.call(fleet);
|
|
571
|
+
const cells = Array.isArray(st && st.cells) ? st.cells : [];
|
|
572
|
+
// La chiave e' `cell`, non `id`: e' cio' che cellStatus PRODUCE
|
|
573
|
+
// (fleet/runtime.js scrive `cell: c.id`, dove `id` e' il nome interno della
|
|
574
|
+
// definizione). Cercare `c.id` qui non trovava MAI nulla, quindi ogni cella
|
|
575
|
+
// con un pannello configurato rispondeva «pannello non disponibile» — e la
|
|
576
|
+
// UI mostrava una causa col nome sbagliato. Tutti gli altri consumatori di
|
|
577
|
+
// cellStatus usano gia' `c.cell` (cells/routes.js, live-host/bridge.js,
|
|
578
|
+
// live-host/routes.js): questo era l'unico fuori posto.
|
|
579
|
+
const cell = cells.find((c) => c && c.cell === cellId);
|
|
580
|
+
if (!cell) return undefined; // cella sconosciuta
|
|
581
|
+
return typeof cell.panelUrl === 'string' ? cell.panelUrl.trim() : '';
|
|
582
|
+
}
|
|
583
|
+
// Tutte le altre /api dietro Bearer: sul loopback il gate vero è il tunnel,
|
|
553
584
|
// ma il token chiude anche altri processi locali della stessa macchina.
|
|
554
585
|
const api = express.Router();
|
|
586
|
+
// L'INGRESSO al pannello sta PRIMA del requireToken generale: un <iframe> e'
|
|
587
|
+
// una navigazione del browser e non porta header, quindi l'autenticazione
|
|
588
|
+
// qui e' dedicata — Bearer per la PWA, ticket monouso + cookie di visione
|
|
589
|
+
// per l'iframe (proxy/panel-auth.js, misura 2026-08-15). Il cookie vale
|
|
590
|
+
// SOLO sul path della cella che lo ha emesso: non e' e non diventa
|
|
591
|
+
// un'autenticazione dell'origine.
|
|
592
|
+
const panelAuth = createPanelAuth({
|
|
593
|
+
verifyToken: (t) => verify(tokenHolder.value, t),
|
|
594
|
+
resolveCellPanel,
|
|
595
|
+
// Senza questo segreto il pannello non saprebbe distinguere la PWA
|
|
596
|
+
// dall'ultimo hop di una route federata — che entra qui col Bearer che il
|
|
597
|
+
// proxy si e' iniettato da se'. E' lo stesso segreto per-processo che
|
|
598
|
+
// firma gli hop di sotto: due valori diversi renderebbero ogni federata
|
|
599
|
+
// 'sospetta', cioe' chiuderebbero il pannello remoto invece di proteggerlo.
|
|
600
|
+
hopSecret: () => hopSecret,
|
|
601
|
+
log: (entry) => diagnostics.record('panel-auth', 'info', entry.outcome, {
|
|
602
|
+
cell: entry.cell, reason: entry.reason, state: entry.outcome,
|
|
603
|
+
}),
|
|
604
|
+
});
|
|
605
|
+
api.use('/panel', panelAuth.panelAuthMiddleware, createPanelProxy({
|
|
606
|
+
resolveCellPanel,
|
|
607
|
+
log: (entry) => diagnostics.record('panel-proxy', 'info', entry.outcome, {
|
|
608
|
+
cell: entry.cell, reason: entry.reason, state: entry.outcome,
|
|
609
|
+
}),
|
|
610
|
+
}));
|
|
611
|
+
// L'ingresso ai pannelli REMOTI ha la stessa malattia dell'iframe locale: la
|
|
612
|
+
// via federata /api/route/<nodi>/_/panel/... sta per finire sotto requireToken
|
|
613
|
+
// e una navigazione del browser non porta header. QUI il ticket non si può
|
|
614
|
+
// validare — è del nodo che lo ha emesso — quindi per le panel-resource
|
|
615
|
+
// federate il requireToken NON si applica: decide il nodo proprietario (gate
|
|
616
|
+
// panelAccess + panelAuth col ticket/cookie, e l'ultimo hop lo riconosce
|
|
617
|
+
// dalla prova di hop: di là il Bearer non apre più il pannello, altrimenti
|
|
618
|
+
// il contenuto uscirebbe per ogni peer con panelAccess senza che nessuno
|
|
619
|
+
// abbia mai preso un ticket). Resta della PWA autenticata l'EMISSIONE: il POST
|
|
620
|
+
// .../panel/<cella>/ticket transita di sotto, col Bearer, come ogni altra /api.
|
|
621
|
+
const panelFederatoRouter = federation.localRouter({
|
|
622
|
+
nodesPath, localPort: () => (server && server.address() ? server.address().port : cfg.port), localCredential: () => tokenHolder.value, readonly: proxyReadonly,
|
|
623
|
+
hopSecret: () => hopSecret,
|
|
624
|
+
});
|
|
625
|
+
api.use('/route', (req, res, next) => {
|
|
626
|
+
const i = req.url.indexOf('/_/');
|
|
627
|
+
if (i === -1) return next();
|
|
628
|
+
const resource = req.url.slice(i + 2);
|
|
629
|
+
if (!/^\/panel\/[A-Za-z0-9._-]{1,32}(?:\/.*)?$/.test(resource)) return next();
|
|
630
|
+
if (req.method === 'POST' && /^\/panel\/[A-Za-z0-9._-]{1,32}\/ticket\/?$/.test(resource)) return next();
|
|
631
|
+
panelFederatoRouter(req, res, next);
|
|
632
|
+
});
|
|
555
633
|
api.use(requireToken(tokenStore));
|
|
556
634
|
// Origine per lo scope celle: stessa prova di hop usata da audio e notify.
|
|
557
635
|
// requireCell:false perche' qui interessa QUALE NODO parla, non quale cella
|
|
@@ -710,6 +788,10 @@ function createServer(opts = {}) {
|
|
|
710
788
|
federatedRate: createSpeakRateLimiter(),
|
|
711
789
|
}));
|
|
712
790
|
api.use('/fleet', fleetRoutes(fleetP, { ...cfg, diagnostics }));
|
|
791
|
+
// Fetta 2b (D3): superficie child del lease Live via canale nativo del
|
|
792
|
+
// bridge (HTTP loopback + Bearer). La cella e' derivata dalla sessione; il
|
|
793
|
+
// proof firmato dal verifier per-installazione autorizza refresh/recovery.
|
|
794
|
+
api.use('/lease', leaseRoutes({ fleetP, readonly: proxyReadonly }));
|
|
713
795
|
// Audio Share. L'identita' del nodo NON e' un campo di cfg: si legge dal node
|
|
714
796
|
// store, la stessa fonte usata da /api/cells e /api/peers. Lo stato Fleet e'
|
|
715
797
|
// asincrono e va atteso: leggerlo come se fosse sincrono lascerebbe la
|
|
@@ -776,6 +858,27 @@ function createServer(opts = {}) {
|
|
|
776
858
|
})),
|
|
777
859
|
readonly: proxyReadonly,
|
|
778
860
|
}));
|
|
861
|
+
// Cella ospite Live (contratto rev6 §2): hostCell unico per nodo con CAS. Lo store
|
|
862
|
+
// vive accanto al token (stessa dir isolata nei test); le route sono local-only e
|
|
863
|
+
// il proxy nega /api/live-host via /node (federazione default-deny).
|
|
864
|
+
// Fetta 3: il ponte risolve il puntamento all'avvio di una Live (POST /bridge
|
|
865
|
+
// nello stesso gruppo, stessa auth, stesso local-only). Isolabile da cfg
|
|
866
|
+
// (rev5 MC0): spento non crea connessioni e la Live resta standard.
|
|
867
|
+
api.use('/live-host', liveHostRoutes({
|
|
868
|
+
fleetP,
|
|
869
|
+
store: createLiveHostStore({ filePath: liveHostPath(cfg) }),
|
|
870
|
+
readonly: proxyReadonly,
|
|
871
|
+
bridge: createLiveBridge({
|
|
872
|
+
cfg,
|
|
873
|
+
fleetP,
|
|
874
|
+
tokenGet: () => tokenHolder.value,
|
|
875
|
+
filesRoot: cfg.filesRoot,
|
|
876
|
+
log: opts.log || console.log,
|
|
877
|
+
}),
|
|
878
|
+
}));
|
|
879
|
+
// Pannello per-cella: montato con il suo ingresso dedicato (ticket+cookie)
|
|
880
|
+
// PRIMA del requireToken generale — vedi il blocco sopra, dove nascono
|
|
881
|
+
// `panelAuth` e `resolveCellPanel`.
|
|
779
882
|
api.use('/vl-nodes', vlNodeApiRoutes({
|
|
780
883
|
storePath: vlNodesPath, broker: vlNodeBroker, ownerId: vlOwnerId, readonly: proxyReadonly,
|
|
781
884
|
}));
|
|
@@ -954,7 +1057,14 @@ function createServer(opts = {}) {
|
|
|
954
1057
|
if (pathname.startsWith('/api/route/')) {
|
|
955
1058
|
let u; try { u = new URL(req.url, 'http://127.0.0.1'); } catch (_) { return socket.destroy(); }
|
|
956
1059
|
const given = bearerFrom(req) || u.searchParams.get('token') || '';
|
|
957
|
-
|
|
1060
|
+
// Le WebSocket di un pannello REMOTO partono dalla pagina nel frame e
|
|
1061
|
+
// portano solo il cookie di visione: il token qui non c'è e non deve
|
|
1062
|
+
// esserci. L'HUB non può validarle (il cookie è del nodo che lo ha
|
|
1063
|
+
// emesso): transita e decide il proprietario, gate panelAccess compreso
|
|
1064
|
+
// — stessa forma del bypass HTTP sulle panel-resource federate.
|
|
1065
|
+
const panelFederato = /^\/api\/route\/[^?#]*\/_\/panel\/[A-Za-z0-9._-]{1,32}(?:\/.*)?$/.test(pathname)
|
|
1066
|
+
&& /(?:^|;\s*)npanel=/.test(String(req.headers.cookie || ''));
|
|
1067
|
+
if (!panelFederato && !verify(tokenHolder.value, given)) return socket.destroy();
|
|
958
1068
|
federation.forwardUpgrade({ req, socket, head, nodesPath, localPort: runtimePort, localCredential: () => tokenHolder.value, ingress: null, readonly: proxyReadonly, activeSockets: proxySockets, hopSecret: () => hopSecret });
|
|
959
1069
|
return;
|
|
960
1070
|
}
|
|
@@ -964,6 +1074,19 @@ function createServer(opts = {}) {
|
|
|
964
1074
|
federation.forwardUpgrade({ req, socket, head, nodesPath, localPort: runtimePort, localCredential: () => tokenHolder.value, ingress, readonly: proxyReadonly, activeSockets: proxySockets, hopSecret: () => hopSecret });
|
|
965
1075
|
return;
|
|
966
1076
|
}
|
|
1077
|
+
if (pathname.startsWith('/api/panel/')) {
|
|
1078
|
+
handlePanelUpgrade({
|
|
1079
|
+
req, socket, head, resolveCellPanel,
|
|
1080
|
+
verifyToken: (t) => verify(tokenHolder.value, t),
|
|
1081
|
+
// Il cookie di visione apre le WS del pannello (la pagina nel frame
|
|
1082
|
+
// non puo' mettere header); Bearer e ?token= restano validi come prima.
|
|
1083
|
+
authorize: panelAuth.authorizeUpgrade,
|
|
1084
|
+
log: (entry) => diagnostics.record('panel-proxy', 'info', entry.outcome, {
|
|
1085
|
+
cell: entry.cell, reason: entry.reason, state: entry.outcome,
|
|
1086
|
+
}),
|
|
1087
|
+
});
|
|
1088
|
+
return;
|
|
1089
|
+
}
|
|
967
1090
|
if (pathname === '/node' || pathname.startsWith('/node/')) {
|
|
968
1091
|
handleNodeUpgrade({
|
|
969
1092
|
req, socket, head, resolveNode,
|
|
@@ -991,7 +1114,7 @@ function createServer(opts = {}) {
|
|
|
991
1114
|
// async questo handler rischierebbe di perdere i frame che arrivano prima
|
|
992
1115
|
// di bindWs. `/ws` attacca per NOME DI SESSIONE e senza questo gate ogni
|
|
993
1116
|
// filtro sugli elenchi sarebbe decorativo — basterebbe indovinare
|
|
994
|
-
// `cloud-
|
|
1117
|
+
// `cloud-X`.
|
|
995
1118
|
const wsScope = wsCellScope(req);
|
|
996
1119
|
bindWs(ws, {
|
|
997
1120
|
openAttach,
|
|
@@ -1024,7 +1147,7 @@ function createServer(opts = {}) {
|
|
|
1024
1147
|
}
|
|
1025
1148
|
|
|
1026
1149
|
function start(opts = {}) {
|
|
1027
|
-
const { server, cfg } = createServer(opts);
|
|
1150
|
+
const { server, cfg } = createServer({ ...opts, cellLeaseEnabled: true });
|
|
1028
1151
|
const log = opts.log || console.log;
|
|
1029
1152
|
const requestedPort = cfg.port;
|
|
1030
1153
|
const nodesPath = opts.nodesPath || nodesStore.defaultNodesPath(cfg.home || os.homedir());
|
package/package.json
CHANGED
|
@@ -131,3 +131,22 @@ overwrite. An explicit `--output` must remain under the current user's home.
|
|
|
131
131
|
|
|
132
132
|
Read [references/api-contract.md](references/api-contract.md) before changing
|
|
133
133
|
payloads, limits, endpoints, or model handling.
|
|
134
|
+
|
|
135
|
+
## Dependencies
|
|
136
|
+
|
|
137
|
+
**Bundled (installed with the package):** the CLI
|
|
138
|
+
`scripts/alibaba_token_media.py` ships with this skill and is
|
|
139
|
+
dependency-free — Python 3 standard library only (verified against the
|
|
140
|
+
script's imports; it needs a Unix-like environment because it uses `fcntl`,
|
|
141
|
+
so Windows is out of scope).
|
|
142
|
+
|
|
143
|
+
**External (you must provide):**
|
|
144
|
+
|
|
145
|
+
| Need | Install | Probe / failure mode |
|
|
146
|
+
|---|---|---|
|
|
147
|
+
| Python 3 | Debian/Ubuntu `apt install python3`, Fedora `dnf install python3`, macOS `brew install python`, Termux `pkg install python` | `python3 --version` fails → nothing in this skill runs |
|
|
148
|
+
| An Alibaba Cloud **Token Plan Personal** subscription that includes the media models | activate on the Alibaba Cloud console — no local install | API calls fail with an authorization error from the service |
|
|
149
|
+
| API key in the environment | `export ALIBABA_CODE_API_KEY=<your key>` in the shell/service that runs the script | the script refuses with `ALIBABA_CODE_API_KEY is not set in this process environment` — the failure names the exact variable; no network call is made without it |
|
|
150
|
+
|
|
151
|
+
The key is read only from the environment: never paste it into a prompt, a
|
|
152
|
+
script argument, or a file.
|
package/skills/crew/SKILL.md
CHANGED
|
@@ -87,3 +87,18 @@ report.
|
|
|
87
87
|
|
|
88
88
|
Transport receipts do not prove task acceptance or completion. Report only
|
|
89
89
|
results that have been verified.
|
|
90
|
+
|
|
91
|
+
## Dependencies
|
|
92
|
+
|
|
93
|
+
**Bundled:** nothing — this skill is documentation only.
|
|
94
|
+
|
|
95
|
+
**External (you must provide):**
|
|
96
|
+
|
|
97
|
+
| Need | Install | Probe / failure mode |
|
|
98
|
+
|---|---|---|
|
|
99
|
+
| A Crew MCP fabric (companion) | optional companion `mcp-crewd-rs`: <https://github.com/DioNanos/mcp-crewd-rs> — the repository's Install section is authoritative and may change; this skill deliberately does not duplicate its commands (**not verified here**) | if the companion is not registered, the client exposes no `cell_*` tools; ask the client for its tool list |
|
|
100
|
+
| Client MCP registration | register the companion's stdio command in the AI client's MCP config | same failure mode: absent tools, not a runtime error |
|
|
101
|
+
| A `crew` token issued by the fabric | `crew token issue` on the host that runs the fabric (see the companion's docs) | spawns are rejected as unauthorized — the rejection names the missing authorization |
|
|
102
|
+
|
|
103
|
+
Without the companion there is no worker delegation in that session: say so
|
|
104
|
+
and suggest the companion once instead of emulating cells with raw tmux.
|
|
@@ -152,3 +152,26 @@ user deliberately chooses `--allow-unused`.
|
|
|
152
152
|
name.
|
|
153
153
|
5. Show the final preview or document to the user before calling it ready.
|
|
154
154
|
6. State clearly which fields remain empty, uncertain, unsigned or unsubmitted.
|
|
155
|
+
|
|
156
|
+
## Dependencies
|
|
157
|
+
|
|
158
|
+
**Bundled (installed with the package):** the five scripts
|
|
159
|
+
(`inspect_pdf.py`, `fill_pdf.py`, `fill_docx.py`, `dump_docx.py`,
|
|
160
|
+
`prepare_signature.py`) and `requirements.txt` ship inside this skill
|
|
161
|
+
directory.
|
|
162
|
+
|
|
163
|
+
**External (you must provide):**
|
|
164
|
+
|
|
165
|
+
| Need | Install | Probe / failure mode |
|
|
166
|
+
|---|---|---|
|
|
167
|
+
| Python 3 | Debian/Ubuntu `apt install python3 python3-pip`, Fedora `dnf install python3 pip`, macOS `brew install python`, Termux `pkg install python` | `python3 --version` fails → nothing in this skill runs |
|
|
168
|
+
| PyMuPDF, Pillow, numpy, python-docx (exact pins in the bundled `requirements.txt`) | add those four packages to the Python environment that runs the scripts, taking the versions from the bundled `requirements.txt`; this skill deliberately does not spell out the command, because it must ask before touching an environment | probe with `python3 -c "import fitz, PIL, numpy, docx"` — a missing module fails by naming itself (`ModuleNotFoundError: No module named 'fitz'`); add that package, not "dependencies" in the abstract |
|
|
169
|
+
|
|
170
|
+
Termux note: Termux has no systemd and no Docker assumptions here, but the
|
|
171
|
+
native wheels for PyMuPDF/numpy on Termux are **not verified**: if `pip`
|
|
172
|
+
cannot build them, this skill is not usable on that device — report that
|
|
173
|
+
plainly instead of switching to an unverified PDF writer.
|
|
174
|
+
|
|
175
|
+
Every script keeps the blank source untouched and writes a new output file;
|
|
176
|
+
if a dependency is missing mid-flow, the scripts refuse rather than emit a
|
|
177
|
+
half-filled form.
|
|
@@ -69,3 +69,18 @@ client-native scheduler or loop mechanism instead of manual polling, avoid
|
|
|
69
69
|
duplicate jobs, respect quiet hours, and remain silent on unchanged ticks when
|
|
70
70
|
the host workflow supports silent monitoring. A recurring authorization does
|
|
71
71
|
not automatically authorize sending or permanent deletion.
|
|
72
|
+
|
|
73
|
+
## Dependencies
|
|
74
|
+
|
|
75
|
+
**Bundled:** nothing — this skill is documentation only.
|
|
76
|
+
|
|
77
|
+
**External (you must provide):**
|
|
78
|
+
|
|
79
|
+
| Need | Install | Probe / failure mode |
|
|
80
|
+
|---|---|---|
|
|
81
|
+
| A mail MCP connector already exposed by the current client (any Gmail/IMAP-capable MCP server; e.g. the optional companion `mcp-email-rs` <https://github.com/DioNanos/mcp-email-rs> — its Install section is authoritative, **not verified here**) | register the connector in the AI client's MCP config, following that connector's own instructions | if no mail tools are exposed, mailbox discovery returns nothing to call — ask the client for its tool list; do not assume provider folders or account layout |
|
|
82
|
+
| Mailbox credentials | provided by the connector's own auth flow | auth failures surface from the connector, not from this skill |
|
|
83
|
+
|
|
84
|
+
This skill never sends or deletes mail on its own initiative; a missing
|
|
85
|
+
connector means the task cannot start, which must be reported, not worked
|
|
86
|
+
around with direct IMAP scripting.
|
package/skills/memory/SKILL.md
CHANGED
|
@@ -79,3 +79,18 @@ document store, not in a bounded log.
|
|
|
79
79
|
If no Memory MCP tool is available and this skill is packaged with NexusCrew,
|
|
80
80
|
the optional companion is documented in `../../MCP_COMPANIONS.md`. Explain the
|
|
81
81
|
missing capability and ask before installing or configuring anything.
|
|
82
|
+
|
|
83
|
+
## Dependencies
|
|
84
|
+
|
|
85
|
+
**Bundled:** nothing — this skill is documentation only.
|
|
86
|
+
|
|
87
|
+
**External (you must provide):**
|
|
88
|
+
|
|
89
|
+
| Need | Install | Probe / failure mode |
|
|
90
|
+
|---|---|---|
|
|
91
|
+
| A Memory MCP server (companion) | optional companion `mcp-memory-rs`: <https://github.com/DioNanos/mcp-memory-rs> — the repository's Install section is authoritative and may change; this skill deliberately does not duplicate its commands (**not verified here**) | if the companion is not registered, the client exposes no `memory_*` tools; ask the client for its tool list rather than guessing |
|
|
92
|
+
| Client MCP registration | register the companion's stdio command in the AI client's MCP config | same failure mode as above: absent tools, not a runtime error |
|
|
93
|
+
|
|
94
|
+
Without the companion this skill is not usable in that session: say so and
|
|
95
|
+
suggest the companion once (see the packaged `mcp-companions.json` catalog)
|
|
96
|
+
instead of approximating with file reads.
|
|
@@ -169,3 +169,21 @@ work. The setting is also applied to windows created later in that session.
|
|
|
169
169
|
- **Assuming a node listens on the port you know** → NexusCrew selects a free port per installation, and a peer's remote port is not the port that node listens on locally. Read it from `nexuscrew status` on that node; a health check aimed at the wrong port reports a dead service that is perfectly alive.
|
|
170
170
|
- **Writing a reply into a local inbox directory** → the inbox is per-installation and is not synchronised between nodes. Answering a remote caller by dropping a file in your own inbox reaches nobody; reply through the tool that addressed you.
|
|
171
171
|
- **Treating a dead scroll gesture as a web-terminal bug** → the pane is in the alternate buffer. Check whether it predates the NexusCrew setting or opted out with `alternateScreen:true`; never send raw page keys to a TUI to work around it.
|
|
172
|
+
|
|
173
|
+
## Dependencies
|
|
174
|
+
|
|
175
|
+
**Bundled (installed with the package):** the `nexuscrew` CLI, `lib/`, these
|
|
176
|
+
skills, and the `bin/nc-send` / `bin/nc-deliver` helpers arrive with
|
|
177
|
+
`npm install -g @mmmbuto/nexuscrew` (Node.js >= 18 required by `engines`).
|
|
178
|
+
|
|
179
|
+
**External (you must provide):**
|
|
180
|
+
|
|
181
|
+
| Need | Install | Probe / failure mode |
|
|
182
|
+
|---|---|---|
|
|
183
|
+
| Node.js >= 18 | Debian/Ubuntu `apt install nodejs` (nodesource for 18+), Fedora `dnf install nodejs`, macOS `brew install node`, Termux `pkg install nodejs-lts` | `node -v` prints >= 18; below that `npm install` refuses per `engines` |
|
|
184
|
+
| tmux | Debian/Ubuntu `apt install tmux`, Fedora `dnf install tmux`, macOS `brew install tmux`, Termux `pkg install tmux` | `nexuscrew doctor` reports tmux missing by name; `nc-send` exits 127 with `nc-send: tmux not found on PATH (set TMUX_BIN)` — the failure names itself |
|
|
185
|
+
| An AI client that can register the MCP server | register the stdio command `nexuscrew mcp` in the client's MCP config | if the `nc_*` tools are not exposed, no `nc_` tool exists in the session — see "MCP bridge" above |
|
|
186
|
+
| A running NexusCrew service (for most tools) | `nexuscrew serve` (foreground) or your platform service manager | tools fail to reach the bridge; Termux has no systemd — run `nexuscrew serve` inside a tmux session or your own keep-alive |
|
|
187
|
+
|
|
188
|
+
If tmux is missing, MCP inspection (`nc_status`, `nc_identity`) still works;
|
|
189
|
+
anything that targets a session (including the `nc-send` fallback) does not.
|
package/skills/vl-msa/SKILL.md
CHANGED
|
@@ -66,3 +66,18 @@ round. Avoid a single unbounded search.
|
|
|
66
66
|
If no VL-MSA tool is available and this skill is packaged with NexusCrew, the
|
|
67
67
|
optional companion is documented in `../../MCP_COMPANIONS.md`. Explain the
|
|
68
68
|
missing capability and ask before installing or configuring anything.
|
|
69
|
+
|
|
70
|
+
## Dependencies
|
|
71
|
+
|
|
72
|
+
**Bundled:** nothing — this skill is documentation only.
|
|
73
|
+
|
|
74
|
+
**External (you must provide):**
|
|
75
|
+
|
|
76
|
+
| Need | Install | Probe / failure mode |
|
|
77
|
+
|---|---|---|
|
|
78
|
+
| A VL-MSA MCP server (companion) | optional companion `mcp-vl-msa-rs`: <https://github.com/DioNanos/mcp-vl-msa-rs> — the repository's Install section is authoritative and may change; this skill deliberately does not duplicate its commands (**not verified here**) | if the companion is not registered, the client exposes no `msa_*` tools; ask the client for its tool list |
|
|
79
|
+
| Client MCP registration | register the companion's stdio command in the AI client's MCP config | same failure mode: absent tools, not a runtime error |
|
|
80
|
+
|
|
81
|
+
Without the companion, durable retrieval is simply unavailable in that
|
|
82
|
+
session: say so and suggest the companion once instead of reading the
|
|
83
|
+
server's on-disk collections directly (which this skill forbids).
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
.nc-icon{display:block;flex:0 0 auto}.nc-sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#0000008c;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}.nc-launch-overlay{z-index:70}.nc-sheet{width:100%;max-width:380px;background:#0e140e;color:#cfe;border:1px solid #243;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px;box-shadow:0 12px 40px #00000080}.nc-power-sheet{max-width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;box-sizing:border-box;min-width:0}.nc-launch-sheet{max-width:min(520px,calc(100vw - 32px));width:100%;min-width:0}.nc-launch-fields{display:flex;flex-direction:column;gap:10px;min-width:0}.nc-launch-fields .nc-field,.nc-launch-fields .nc-field input,.nc-launch-fields .nc-field select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.nc-sheet-head{display:flex;align-items:center;justify-content:space-between}.nc-sheet-head b{font-size:16px;color:#d8ffe8}.nc-sheet-state{font-size:12px;opacity:.6}.nc-sheet-label{font-size:12px;opacity:.7;text-transform:uppercase;letter-spacing:.5px}.nc-power-config{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;padding:10px;border:1px solid #243;border-radius:8px;background:#0a0e0a;min-width:0;overflow-wrap:anywhere}.nc-power-config span{opacity:.7}.nc-power-config small{grid-column:1 / -1;opacity:.65}.nc-check{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}.nc-check input{accent-color:#2e7d32}.nc-note{font-size:11px;color:#e0b020;opacity:.9}.nc-field{display:flex;flex-direction:column;gap:4px;font-size:12px;opacity:.8}.nc-field input,.nc-field select{padding:9px 10px;font:14px/1.2 inherit;background:#0a0e0a;color:#cfe;border:1px solid #243;border-radius:8px;width:100%;min-width:0;max-width:100%;box-sizing:border-box}.nc-field input:focus,.nc-field select:focus{outline:none;border-color:#2e7d32}.nc-err{color:#f88;font-size:12px}.nc-sheet-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0}.nc-btn{border:none;border-radius:8px;padding:8px 16px;font-size:13px;cursor:pointer}.nc-btn.ghost{background:none;border:1px solid #243;color:#9fd}.nc-btn.primary{background:#2e7d32;color:#fff}.nc-btn.primary:active{background:#255028}.nc-btn:disabled{opacity:.5;cursor:default}@media(max-width:600px){.nc-power-sheet{max-width:380px}}.nc-home{display:flex;flex-direction:column;gap:12px;padding:18px 14px 10px;color:#cfe;max-width:560px;margin:0 auto;height:100dvh;min-height:0;overflow:hidden;box-sizing:border-box}.nc-home-scroll{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:12px;padding:0 2px 76px 0}.nc-home-head{position:relative}.nc-wordmark{font-size:26px;font-weight:700;letter-spacing:.5px;color:#d8ffe8}.nc-cursor{display:inline-block;width:12px;height:22px;margin-left:6px;background:#0c6;vertical-align:-2px;animation:nc-blink 1.1s steps(1) infinite}@keyframes nc-blink{50%{opacity:0}}@media(prefers-reduced-motion:reduce){.nc-cursor{animation:none}}.nc-home-sub{margin-top:4px;font-size:13px;opacity:.65}.nc-head-actions{position:absolute;top:0;right:0;display:inline-flex;gap:6px}.nc-refresh{display:inline-flex;align-items:center;justify-content:center;background:none;border:1px solid #243;color:#9fd;border-radius:8px;min-width:40px;min-height:40px}.nc-filter{padding:10px 12px;font:16px/1.2 inherit;background:#0e140e;color:#cfe;border:1px solid #243;border-radius:8px}.nc-filter:focus{outline:none;border-color:#2e7d32}.nc-session-list{display:flex;flex-direction:column;gap:8px}.nc-session{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #1c241c;background:#0e140e;color:#cfe;border-radius:10px;text-align:left;min-height:56px}.nc-session:active{background:#14200f;border-color:#2e7d32}.nc-session .dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#355}.nc-session .dot.on{background:#0c6;box-shadow:0 0 6px #0c68}.nc-session-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.nc-session-main b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.nc-session-main small{opacity:.55;font-size:12px}.nc-badge{flex:0 0 auto;background:#2e7d32;color:#fff;border-radius:10px;padding:1px 8px;font-size:12px;line-height:18px}.nc-err{color:#f88;font-size:13px;padding:4px 2px}.nc-empty{opacity:.5;padding:18px 4px;font-size:13px}.nc-home-foot{margin-top:auto;padding:14px 4px 4px;width:100%;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:14px;font-size:11px}.nc-home-meta{min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;opacity:.48;line-height:1.35}.nc-home-version{flex:0 0 auto}.nc-home-endpoint{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-group{display:flex;flex-direction:column;gap:8px}.nc-group-title{font-size:11px;opacity:.55;text-transform:uppercase;letter-spacing:.5px;padding:6px 2px 2px}.nc-mcard{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #1c241c;background:#0e140e;color:#cfe;border-radius:12px;min-height:56px}.nc-mcard-main{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:12px;background:none;border:none;color:inherit;cursor:pointer;padding:0;text-align:left}.nc-mcard-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.nc-mcard-text b{font-size:14px;color:#d8ffe8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-mcard-text small{font-size:12px;opacity:.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dot.warn{background:#e0b020;box-shadow:0 0 6px #e0b02088}.nc-group-title.nc-node-title{display:flex;align-items:center;gap:6px}.nc-group-title.nc-node-title .dot{flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:#355}.nc-group-title.nc-node-title .dot.on{background:#0c6;box-shadow:0 0 6px #0c68}.nc-mcard .dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#355}.nc-mcard .dot.on{background:#0c6;box-shadow:0 0 6px #0c68}.nc-mobile-position-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:48px;padding:2px 0;border-bottom:1px solid #1c2b20}.nc-mobile-position-toggle{min-width:0;min-height:44px;padding:4px 2px;display:flex;align-items:center;gap:8px;border:0;background:none;color:inherit;text-align:left;cursor:pointer}.nc-mobile-position-toggle .dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#355}.nc-mobile-position-toggle .dot.on{background:#0c6;box-shadow:0 0 6px #0c68}.nc-mobile-chevron{flex:0 0 14px;font-size:18px;color:#8fc;text-align:center}.nc-mobile-position-copy{min-width:0;display:flex;flex-direction:column;gap:1px}.nc-mobile-position-copy b,.nc-mobile-position-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-mobile-position-copy b{font-size:13px;color:#d8ffe8}.nc-mobile-position-copy small{font-size:11px;opacity:.55}.nc-mobile-position-filter{min-height:44px;max-width:104px;padding:0 26px 0 9px;border:1px solid #294433;border-radius:8px;background:#0e140e;color:#bfe8cf;font:12px/1 inherit}.nc-mobile-position-head>.nc-act{width:44px;height:44px}.nc-node-actions{display:inline-flex;align-items:center;gap:2px}.nc-node-actions .nc-roster-handle,.nc-node-actions .nc-node-rename{width:44px;min-width:44px;height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:#8fc;touch-action:none}.nc-node-actions .nc-node-rename{font-size:18px;cursor:pointer}.nc-node-actions .nc-node-rename:focus-visible,.nc-node-actions .nc-node-rename:active{outline:1px solid #2e7d32;background:#00cc661a}.nc-node-order-wrap.nc-roster-over{outline:2px solid rgba(0,204,102,.72);outline-offset:2px;border-radius:10px}.nc-rel{flex:0 0 auto;font-size:11px;opacity:.45}.nc-power,.nc-menu{flex:0 0 auto;background:none;border:1px solid #243;color:#9fd;border-radius:8px;min-width:44px;min-height:44px;font-size:17px;cursor:pointer}.nc-power:active,.nc-menu:active{border-color:#2e7d32}.nc-fab{position:fixed;right:18px;bottom:18px;z-index:20;width:54px;height:54px;border-radius:50%;background:#2e7d32;color:#fff;border:none;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 6px 18px #00000073}.nc-fab:active{background:#255028}.nc-lang{display:inline-flex;align-items:center;justify-content:flex-end;gap:2px;white-space:nowrap;opacity:.7}@media(max-width:380px){.nc-home-meta{flex-direction:column;align-items:flex-start;gap:0}.nc-home-endpoint{max-width:100%}}.nc-act{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ffffff0d;border:1px solid rgba(255,255,255,.22);color:#9aa89a;cursor:pointer;flex:0 0 auto;font-size:15px;line-height:1}.nc-act.power.on{color:#0c6;border-color:#00cc668c;background:#00cc661a}.nc-act.power.warn{color:#e8c547;border-color:#e8c5478c;background:#e8c5471a}.nc-act.boot.on{color:#69b7ff;border-color:#69b7ff94;background:#69b7ff1a}.nc-act.boot:disabled{cursor:wait;opacity:.55}.nc-act.pin.on{color:#e8c547;border-color:#e8c5478c;background:#e8c54714}.nc-act.technical.on{color:#d8a8ff;border-color:#b478ff8c;background:#b478ff1a}.nc-mcard{gap:8px}.nc-mcard .nc-roster-handle{flex:0 0 36px;width:36px;min-width:36px;height:44px;border:1px solid transparent;border-radius:9px;background:#ffffff06;color:#688475;touch-action:none}.nc-mcard .nc-roster-handle.active,.nc-mcard .nc-roster-handle:focus-visible{color:#bfffd8;border-color:#00cc6673;background:#00cc661f}.nc-mcard.nc-roster-dragging{opacity:.62}.nc-mcard.nc-roster-over{outline:2px solid rgba(0,204,102,.72);outline-offset:2px}@media(max-width:390px){.nc-mobile-position-head{gap:5px}.nc-mobile-position-filter{max-width:92px;padding-left:7px}.nc-mcard{padding:10px 9px;gap:5px}}/**
|
|
2
|
-
* Copyright (c) 2014 The xterm.js authors. All rights reserved.
|
|
3
|
-
* Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
|
|
4
|
-
* https://github.com/chjj/term.js
|
|
5
|
-
* @license MIT
|
|
6
|
-
*
|
|
7
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
9
|
-
* in the Software without restriction, including without limitation the rights
|
|
10
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
12
|
-
* furnished to do so, subject to the following conditions:
|
|
13
|
-
*
|
|
14
|
-
* The above copyright notice and this permission notice shall be included in
|
|
15
|
-
* all copies or substantial portions of the Software.
|
|
16
|
-
*
|
|
17
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
-
* THE SOFTWARE.
|
|
24
|
-
*
|
|
25
|
-
* Originally forked from (with the author's permission):
|
|
26
|
-
* Fabrice Bellard's javascript vt100 for jslinux:
|
|
27
|
-
* http://bellard.org/jslinux/
|
|
28
|
-
* Copyright (c) 2011 Fabrice Bellard
|
|
29
|
-
* The original design remains. The terminal itself
|
|
30
|
-
* has been extended to include xterm CSI codes, among
|
|
31
|
-
* other features.
|
|
32
|
-
*/.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{font-family:monospace;-webkit-user-select:text;user-select:text;white-space:pre}.xterm .xterm-accessibility-tree>div{transform-origin:left;width:fit-content}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.xterm .xterm-scrollable-element>.scrollbar{cursor:default}.xterm .xterm-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.xterm .xterm-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.xterm .xterm-scrollable-element>.invisible{opacity:0;pointer-events:none}.xterm .xterm-scrollable-element>.invisible.fade{transition:opacity .8s linear}.xterm .xterm-scrollable-element>.shadow{position:absolute;display:none}.xterm .xterm-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.xterm .xterm-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.nc-terminal{position:absolute;top:0;right:0;bottom:0;left:0;background:#0a0e0a}.nc-terminal-host{position:absolute;top:0;right:0;bottom:0;left:0;padding:4px}.nc-terminal .xterm{height:100%}.nc-terminal-host,.nc-terminal .xterm,.nc-terminal .xterm-viewport{touch-action:none}.nc-terminal.selecting{box-shadow:inset 0 0 0 2px #d6a600}.nc-touch-selection-caret{position:absolute;z-index:8;box-sizing:border-box;pointer-events:none;border:2px solid #baff79;background:#40822c57;box-shadow:0 0 0 1px #040c04e0,0 0 8px #baff798c}.nc-selection-tools{position:absolute;z-index:9;right:10px;top:10px;display:flex;gap:6px;align-items:center;background:#0e140ef0;border:1px solid #586b2a;border-radius:8px;padding:5px 7px;color:#edda8a;font-size:11px}.nc-selection-tools button{background:#172417;border:1px solid #486044;color:#d8ffe8;border-radius:6px;padding:5px 9px}.nc-selection-tools textarea{width:180px;height:48px;background:#071007;color:#d8ffe8}.nc-selection-held{color:#b7c98a;font-size:10px;opacity:.85;max-width:190px}.nc-upload-state{position:absolute;z-index:10;left:50%;top:12px;transform:translate(-50%);max-width:min(520px,calc(100% - 24px));padding:6px 10px;border-radius:7px;border:1px solid #2e7d32;background:#0a140af5;color:#cfe;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.nc-upload-state.error{border-color:#a44;color:#fbb}.nc-keybar{background:#0a0e0a;border-top:1px solid #1c241c;position:relative}.nc-keybar.termux{padding:2px 0}.nc-keygrid{display:grid;grid-template-columns:minmax(0,8fr) minmax(40px,1fr)}.nc-keygrid.no-enter{grid-template-columns:minmax(0,1fr)}.nc-keygrid.expanded{grid-template-columns:minmax(40px,1fr) minmax(0,8fr) minmax(40px,1fr)}.nc-keygrid.expanded.no-enter{grid-template-columns:minmax(40px,1fr) minmax(0,1fr)}.nc-keygrid.compact{grid-template-columns:minmax(0,8fr) minmax(40px,1fr)}.nc-keygrid.compact.no-enter{grid-template-columns:minmax(0,1fr)}.nc-keygrid.compact .row button{padding-inline:0;overflow:hidden;white-space:nowrap;font-size:clamp(10px,3vw,12px);letter-spacing:0}.nc-keygrid.compact .row button:nth-last-child(-n+2){font-size:10px}.nc-keyrows{display:flex;flex-direction:column;min-width:0}.nc-keybar .row{display:flex}.nc-keybar .row button,.nc-keybar .nc-enter-key,.nc-keybar .nc-retract-key{flex:1 1 0;min-width:0;padding:10px 2px;background:none;border:none;border-radius:0;color:#e6ffe6;font-size:14px;font-weight:600;letter-spacing:.5px;font-family:inherit}.nc-keybar .nc-enter-key{display:inline-flex;align-items:center;justify-content:center;border-left:1px solid #1c241c}.nc-keybar .nc-retract-key{display:inline-flex;align-items:center;justify-content:center;border-right:1px solid #1c241c}.nc-keybar .row button:active,.nc-keybar .nc-enter-key:active,.nc-keybar .nc-retract-key:active{background:#1d2a1d}.nc-keybar .row button.armed{color:#021;background:#0c6}.nc-keymenu{position:absolute;bottom:100%;left:8px;right:8px;z-index:30;display:flex;flex-wrap:wrap;gap:6px;padding:8px;background:#101810;border:1px solid #2a3a2a;border-radius:10px 10px 0 0}.nc-keymenu button{flex:1 0 30%;padding:10px 6px;border-radius:8px;border:1px solid #243;background:#122;color:#9fd;font-size:13px}.nc-keymenu button:active{background:#0c6;color:#021}.nc-keybar.copy{display:flex;gap:6px;overflow-x:auto;padding:8px;background:#14210f}.nc-keybar.copy button{flex:0 0 auto;padding:10px 12px;min-width:48px;border-radius:8px;border:1px solid #243;background:#122;color:#9fd;font-size:13px}.nc-keybar.copy button:active{background:#0c6;color:#021}.nc-keybar .tag{flex:0 0 auto;align-self:center;padding:0 8px;color:#8e8;font-size:12px}@media(pointer:coarse){.nc-keybar .row button,.nc-keybar .nc-enter-key,.nc-keybar .nc-retract-key{padding:12px 2px;font-size:15px}.nc-keygrid.compact .row button{padding-inline:0;font-size:clamp(10px,3vw,12px);letter-spacing:0}.nc-keygrid.compact .row button:nth-last-child(-n+2){font-size:10px}}.nc-files{position:fixed;top:0;right:0;bottom:0;width:min(340px,90vw);background:var(--bg, #111511);border-left:1px solid #2a332a;display:flex;flex-direction:column;z-index:30}.nc-files header{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border-bottom:1px solid #2a332a}.nc-files nav{display:flex;gap:6px;padding:8px 10px}.nc-files nav button{flex:0 0 auto;padding:4px 10px;border-radius:6px}.nc-files nav button.on{background:#2e7d32;color:#fff}.nc-files nav .up{margin-left:auto}.nc-files ul{list-style:none;margin:0;padding:0;overflow-y:auto;flex:1}.nc-files li{display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid #1c231c}.nc-files li .name{flex:1;cursor:pointer;overflow-wrap:anywhere}.nc-files li.empty{opacity:.5;justify-content:center}.nc-busy{padding:4px 10px;font-size:12px;color:#e0a030}@media(pointer:coarse){.nc-files nav button,.nc-files li{min-height:42px}}.nc-files header button,.nc-files nav button,.nc-files li button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.nc-composer{border-top:1px solid #2a332a;padding:6px max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:var(--bg, #111511)}.nc-composer-row{display:flex;gap:6px;align-items:flex-end}.nc-composer textarea{flex:1;min-width:0;min-height:42px;max-height:42vh;max-height:42dvh;resize:vertical;overflow-y:auto;background:#0a0e0a;color:#d8e0d8;border:1px solid #2a332a;border-radius:8px;padding:6px 8px;font:13px/1.4 inherit}.nc-composer textarea.expanded{height:clamp(128px,32dvh,320px)}.nc-composer .mic.on{background:#b02a2a;color:#fff}.nc-composer-err{font-size:12px;color:#e0a030;padding-bottom:4px}@media(pointer:coarse){.nc-composer .mic,.nc-composer .go,.nc-composer .attach,.nc-composer .history{min-width:46px;min-height:46px;font-size:20px}.nc-composer textarea{resize:none;font-size:16px}.nc-attach-menu button,.nc-composer-history-menu button{min-height:48px}}.nc-composer .mic,.nc-composer .go,.nc-composer .attach,.nc-composer .history{display:inline-flex;align-items:center;justify-content:center;background:none;border:1px solid #243;color:#9fd;border-radius:8px;cursor:pointer}.nc-composer .go{color:#7ee787;border-color:#2e7d32}.nc-composer .go:disabled{opacity:.5;cursor:wait}.nc-composer .attach.busy{opacity:.5;animation:nc-attach-pulse 1s ease-in-out infinite}@keyframes nc-attach-pulse{50%{opacity:.9}}.nc-attach-menu{position:fixed;z-index:1000;min-width:180px;display:flex;flex-direction:column;padding:4px;background:#0e130e;border:1px solid #2e7d32;border-radius:10px;box-shadow:0 6px 24px #0000008c}.nc-attach-menu button{display:flex;align-items:center;gap:10px;text-align:left;min-height:40px;padding:8px 12px;border:0;border-radius:7px;background:none;color:#d8e0d8;font:14px/1 inherit;cursor:pointer}.nc-attach-menu button:hover,.nc-attach-menu button:focus-visible{background:#1a241a;color:#7ee787}.nc-composer-history-menu{position:fixed;z-index:1000;max-height:min(55dvh,420px);overflow-y:auto;display:flex;flex-direction:column;padding:4px;background:#0e130e;border:1px solid #2e7d32;border-radius:10px;box-shadow:0 6px 24px #0000008c}.nc-composer-history-menu button{border:0;border-radius:7px;background:none;color:#d8e0d8;font:13px/1.35 inherit;cursor:pointer}.nc-composer-history-menu button:hover,.nc-composer-history-menu button:focus-visible{background:#1a241a;color:#7ee787}.nc-composer-history-action{display:flex;align-items:center;gap:8px;min-height:38px;padding:7px 10px;text-align:left;border-bottom:1px solid #243!important;border-radius:7px 7px 0 0!important}.nc-composer-history-title{padding:8px 10px 5px;color:#7fb89a;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.nc-composer-history-empty{padding:10px;color:#789a87;font-size:12px}.nc-composer-history-entry{display:flex;flex-direction:column;gap:2px;width:100%;padding:8px 10px;text-align:left}.nc-composer-history-entry span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-composer-history-entry small{color:#789a87;font-size:10px}.nc-composer-history-clear{min-height:36px;margin-top:3px;padding:7px 10px;color:#f99!important;text-align:left}@media(max-width:420px)and (pointer:coarse){.nc-composer-row{gap:4px}.nc-composer .mic,.nc-composer .go,.nc-composer .attach,.nc-composer .history{min-width:42px;width:42px}}.nc-sidebar{display:flex;flex-direction:column;gap:8px;padding:12px 10px;color:#cfe;min-height:0;position:relative;overflow:hidden;box-sizing:border-box;border-right:1px solid #1c241c;background:#0a0e0a}.nc-sidebar.mini{padding:12px 4px;align-items:center;gap:6px}.nc-side-resize{position:absolute;top:0;right:0;bottom:0;width:6px;cursor:col-resize;z-index:5}.nc-side-resize:hover{background:#1c3a1c}.nc-collapse-btn{flex:0 0 auto;background:none;border:1px solid #243;color:#9fd;border-radius:8px;min-width:26px;min-height:26px;cursor:pointer;font-size:13px;line-height:1}.nc-collapse-btn:hover{border-color:#2e7d32;color:#d8ffe8}.nc-side-head{display:flex;align-items:center;gap:6px;justify-content:space-between;padding:2px 4px 6px}.nc-side-head.mini{padding:2px 0 6px;justify-content:center}.nc-side-scroll{min-height:0;flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding-right:2px}.nc-side-scroll.mini{width:100%;align-items:center}.nc-side-group.mini{align-items:center;gap:6px}.nc-mini-dot,.nc-mini-init{display:flex;align-items:center;justify-content:center;width:34px;height:34px;box-sizing:border-box;border:1px solid #1c241c;background:#0e140e;border-radius:9px;cursor:pointer;-webkit-user-select:none;user-select:none;color:#d8ffe8;padding:0}.nc-mini-init{font-size:13px;font-weight:700}.nc-mini-dot:hover,.nc-mini-init:hover{border-color:#244}.nc-mini-dot.active,.nc-mini-init.active{border-color:#2e7d32;background:#14200f}.nc-side-title{font-size:13px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;opacity:.8}.nc-new-btn{background:#2e7d32;color:#fff;border:none;border-radius:8px;padding:4px 10px;font-size:12px;cursor:pointer}.nc-new-btn:active{background:#255028}.nc-side-group{display:flex;flex-direction:column;gap:6px}.nc-side-group-title{font-size:11px;opacity:.55;text-transform:uppercase;letter-spacing:.5px;padding:10px 4px 2px}.nc-node-title{display:flex;align-items:center;gap:6px;opacity:.8}.nc-node-title[role=button]{cursor:pointer;border-radius:6px}.nc-node-title[role=button]:focus-visible{outline:1px solid #2e7d32}.nc-node-title .nc-dot{width:7px;height:7px;flex:0 0 auto}.nc-node-title b{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.nc-node-title small{text-transform:none;letter-spacing:0;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-node-chevron{flex:0 0 10px;font-size:13px}.nc-node-filter{flex:0 0 auto;max-width:82px;min-width:58px;padding:3px 18px 3px 5px;border:1px solid #243;border-radius:6px;background:#0a0e0a;color:#9fd;font:10px/1.2 inherit;text-transform:lowercase}.nc-node-title>.nc-roster-handle{flex-basis:20px;width:20px;min-width:20px;height:24px}.nc-node-rename{flex:0 0 auto;width:26px;height:26px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#7fa892;cursor:pointer;font:15px/1 inherit}.nc-node-rename:hover,.nc-node-rename:focus-visible{color:#caffe0;border-color:#00cc6659;outline:none}.nc-node-order-wrap.nc-roster-dragging{opacity:.62}.nc-node-order-wrap.nc-roster-over{outline:2px solid rgba(0,204,102,.72);outline-offset:2px;border-radius:8px}.nc-cell{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid #1c241c;background:#0e140e;border-radius:10px;overflow:hidden}.nc-cell-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.nc-cell-main b{font-size:13px;color:#d8ffe8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.nc-cell-main small{font-size:11px;opacity:.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.nc-power,.nc-boot{flex:0 0 auto;width:28px;height:28px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:#ffffff0d;border:1px solid rgba(255,255,255,.22);color:#9aa89a;border-radius:50%;cursor:pointer}.nc-power.on{color:#0c6;border-color:#00cc668c;background:#00cc661a}.nc-boot.on{color:#69b7ff;border-color:#69b7ff94;background:#69b7ff1a}.nc-power.warn{color:#e8c547;border-color:#e8c5478c;background:#e8c5471a}.nc-power:hover,.nc-boot:hover{filter:brightness(1.25)}.nc-boot:disabled{cursor:wait;opacity:.55}.nc-dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#355}.nc-dot.on{background:#0c6;box-shadow:0 0 6px #0c68}.nc-dot.warn{background:#e0b020;box-shadow:0 0 6px #e0b02088}.nc-side-card{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid #1c241c;background:#0e140e;border-radius:10px;cursor:grab;-webkit-user-select:none;user-select:none}.nc-side-card:hover{border-color:#244}.nc-side-card.active{border-color:#2e7d32;background:#14200f}.nc-side-card:active{cursor:grabbing}.nc-card-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.nc-card-main b{font-size:13px;color:#d8ffe8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-card-main small{font-size:11px;opacity:.55;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-rel{flex:0 0 auto;font-size:10px;opacity:.45}.nc-menu{flex:0 0 auto;width:26px;height:26px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:none;border:none;color:#9fd;cursor:pointer;font-size:15px;line-height:1;border-radius:50%}.nc-menu:active{color:#f88}.nc-empty{opacity:.4;padding:8px 4px;font-size:12px}.nc-side-gear{display:flex;align-items:center;gap:8px;background:none;border:1px solid #1c241c;border-radius:10px;color:#9fd;font-size:12px;padding:7px 10px;cursor:pointer;margin-top:0;flex:0 0 auto}.nc-side-gear:hover{border-color:#2e7d32;color:#d8ffe8}.nc-side-gear.mini{justify-content:center;width:34px;height:34px;box-sizing:border-box;padding:0;border-radius:9px;margin:6px auto 0}.nc-side-lang{flex:0 0 auto;padding:4px;display:flex;align-items:center;gap:2px;font-size:11px;opacity:.6}.nc-lang-btn{background:none;border:none;color:inherit;cursor:pointer;font-size:11px;padding:0 1px;opacity:.5;text-transform:uppercase}.nc-lang-btn.on{opacity:1;font-weight:700;color:#d8ffe8}.nc-cell.live{cursor:pointer}.nc-cell.live:hover{background:#ffffff0f}.nc-cell.active{outline:1px solid rgba(0,204,102,.5)}.nc-side-presets{display:flex;gap:4px;padding:2px 8px 6px}.nc-side-presets button{background:none;border:1px solid rgba(255,255,255,.15);border-radius:4px;color:inherit;cursor:pointer;padding:2px 8px}.nc-side-presets button:hover{background:#ffffff14}.nc-pin{flex:0 0 auto;width:28px;height:28px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:#ffffff0d;border:1px solid rgba(255,255,255,.22);color:#9aa89a;cursor:pointer;border-radius:50%;font-size:14px;line-height:1}.nc-pin:hover{filter:brightness(1.25)}.nc-pin.on{color:#e8c547;border-color:#e8c5478c;background:#e8c54714}.nc-technical{flex:0 0 auto;width:28px;height:28px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:#ffffff0d;border:1px solid rgba(255,255,255,.22);color:#9aa89a;cursor:pointer;border-radius:50%;font:12px/1 monospace}.nc-technical.on{color:#d8a8ff;border-color:#b478ff8c;background:#b478ff1a}.nc-mini-tip{position:fixed;left:56px;transform:translateY(-50%);background:#161b16;color:#e6ffe6;border:1px solid rgba(0,204,102,.4);padding:3px 10px;border-radius:4px;white-space:nowrap;z-index:1000;pointer-events:none;font-size:12px}.nc-roster-handle{flex:0 0 24px;width:24px;min-width:24px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:6px;background:transparent;color:#668875;cursor:grab;font:15px/1 monospace;touch-action:none}.nc-roster-handle:hover,.nc-roster-handle:focus-visible,.nc-roster-handle.active{color:#9fd;background:#00cc661a;outline:none}.nc-roster-handle:active,.nc-roster-handle.active{cursor:grabbing}.nc-side-card.nc-roster-dragging,.nc-cell.nc-roster-dragging{opacity:.62}.nc-side-card.nc-roster-over,.nc-cell.nc-roster-over{outline:2px solid rgba(0,204,102,.72);outline-offset:2px}.nc-tile{display:flex;flex-direction:column;min-height:0;min-width:0;position:relative;background:#0a0e0a;border:1px solid #1c241c;border-radius:8px;overflow:hidden}.nc-tile.focused{border-color:#2e7d32;box-shadow:0 0 0 1px #2e7d3244 inset}.nc-tile-head{flex:0 0 auto;display:flex;align-items:center;gap:6px;padding:3px 6px;background:#0e140e;border-bottom:1px solid #1c241c;height:28px}.nc-tile-name{flex:1 1 auto;min-width:0;display:inline-flex;align-items:center;gap:6px;background:none;border:none;color:#cfe;cursor:pointer;padding:0}.nc-tile-name b{font-size:12px;font-weight:600;color:#d8ffe8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-tile .nc-dot{width:7px;height:7px;flex:0 0 auto}.nc-tile-actions{flex:0 0 auto;display:inline-flex;gap:2px}.nc-tile-actions button{background:none;border:none;color:#9fd;cursor:pointer;min-width:22px;height:22px;font-size:13px;border-radius:4px;padding:0 3px}.nc-tile-actions button:hover{color:#d8ffe8}.nc-tile-actions .nc-tile-close:hover{color:#f88}.nc-tile-body{flex:1 1 auto;position:relative;min-height:0}.nc-tile-body .nc-terminal{width:100%;height:100%}.nc-tile-unavailable{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;color:#789a87;text-align:center;font-size:12px;background:repeating-linear-gradient(135deg,#0a0e0a,#0a0e0a 12px,#0d130d 12px,#0d130d 24px)}.nc-tile-composer{flex:0 0 auto;border-top:1px solid #1c241c}.nc-tile-files{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:#0e140e}.nc-tile-head{cursor:grab}.nc-tile-head:active{cursor:grabbing}.nc-grid{flex:1 1 auto;min-width:0;min-height:0;display:flex;flex-direction:row;padding:6px;gap:0;position:relative;background:#070a07}.nc-col{display:flex;flex-direction:column;min-width:120px;min-height:0;position:relative}.nc-col.drop-newcol:before{content:"";position:absolute;left:-3px;top:0;bottom:0;width:3px;background:#0c6;border-radius:2px;z-index:6}.nc-tile-slot{display:flex;flex-direction:column;min-height:60px;min-width:0;position:relative}.nc-tile-slot>.nc-tile{flex:1 1 auto;min-height:0}.nc-tile-slot.drop-left:after,.nc-tile-slot.drop-right:after,.nc-tile-slot.drop-top:after,.nc-tile-slot.drop-bottom:after{content:"";position:absolute;z-index:7;pointer-events:none;background:#00cc6647;border:2px solid #00cc66;border-radius:4px}.nc-tile-slot.drop-left:after{left:0;top:0;bottom:0;width:50%}.nc-tile-slot.drop-right:after{right:0;top:0;bottom:0;width:50%}.nc-tile-slot.drop-top:after{left:0;right:0;top:0;height:50%}.nc-tile-slot.drop-bottom:after{left:0;right:0;bottom:0;height:50%}.nc-grid-toolbar{position:absolute;top:10px;right:12px;z-index:8;display:flex;gap:4px;background:#0a100ad1;border:1px solid #1c241c;border-radius:8px;padding:3px}.nc-grid-toolbar button{background:none;border:none;color:#9fd;cursor:pointer;font-size:15px;line-height:1;padding:4px 7px;border-radius:6px}.nc-grid-toolbar button:hover{background:#1c3a1c;color:#d8ffe8}.nc-divider-v{flex:0 0 6px;cursor:col-resize;margin:0 1px;border-radius:2px}.nc-divider-v:hover{background:#1c3a1c}.nc-divider-h{flex:0 0 6px;cursor:row-resize;margin:1px 0;border-radius:2px}.nc-divider-h:hover{background:#1c3a1c}.nc-drop-line-v{flex:0 0 3px;align-self:stretch;background:#0c6;border-radius:2px}.nc-drop-line-end{margin-left:3px}.nc-grid-empty{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:#cfe;opacity:.4;font-size:13px;text-align:center;padding:20px}.nc-deckbar{display:flex;align-items:center;gap:8px;flex:0 0 auto;min-width:0;padding:5px 8px;background:#0e140e;border-bottom:1px solid #1c2a1c;overflow-x:auto;white-space:nowrap}.nc-deckbar-label{font-size:10px;text-transform:uppercase;letter-spacing:.06em;opacity:.5;color:#9fd;flex:0 0 auto}.nc-deck-sidebar-toggle{flex:0 0 auto;min-width:28px;height:26px;border:1px solid #243;border-radius:6px;background:#0a0e0a;color:#9fd;cursor:pointer;font:inherit}.nc-deck-sidebar-toggle:hover{border-color:#7aa903}.nc-deck-chips{display:flex;align-items:center;gap:6px;flex:0 1 auto;min-width:0}.nc-deck-owner-group{display:inline-flex;align-items:center;gap:4px;padding:2px 4px 2px 2px;border:1px solid #182318;border-radius:8px;background:#0b100b;flex:0 0 auto}.nc-deck-owner{max-width:120px;padding:0 4px;overflow:hidden;text-overflow:ellipsis;color:#789a87;font-size:9px;text-transform:uppercase;letter-spacing:.04em}.nc-deck-chip{display:inline-flex;align-items:center;border:1px solid #243;border-radius:6px;overflow:hidden;background:#0a0e0a}.nc-deck-chip.current{border-color:#7aa903}.nc-deck-chip.offline{opacity:.58;border-style:dashed}.nc-deck-chip.nc-deck-dragging{opacity:.58}.nc-deck-chip.nc-deck-over{box-shadow:0 0 0 2px #0c6 inset}.nc-deck-handle{align-self:stretch;min-width:25px;padding:0 5px;background:#ffffff09;border:0;border-right:1px solid #1c2a1c;color:#789a87;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;font:11px/1 monospace}.nc-deck-handle:hover,.nc-deck-handle:focus-visible,.nc-deck-handle.active{color:#bfffd8;background:#00cc661f;outline:none}.nc-deck-handle.active{cursor:grabbing}.nc-deck-open{background:none;border:none;color:#cfe;padding:3px 8px;font:inherit;font-size:12px;cursor:pointer;max-width:180px;overflow:hidden;text-overflow:ellipsis}.nc-deck-chip.current .nc-deck-open{color:#d9f7c7}.nc-deck-open:hover{background:#132013}.nc-deck-open:disabled,.nc-deck-mini:disabled,.nc-deck-newbtn:disabled{cursor:not-allowed;opacity:.55}.nc-deck-mini{background:none;border:none;border-left:1px solid #1c2a1c;color:#7a9;padding:3px 6px;font:inherit;font-size:11px;cursor:pointer}.nc-deck-mini:hover{background:#132013;color:#9fd}.nc-deck-del:hover{color:#f99}.nc-deck-newbtn{background:none;border:1px dashed #2a3a2a;color:#9fd;border-radius:6px;padding:3px 7px;font:inherit;font-size:11px;cursor:pointer;flex:0 0 auto}.nc-deck-newbtn:hover{border-color:#7aa903}.nc-deck-add{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto}.nc-deck-add input{padding:3px 8px;background:#122;border:1px solid #243;color:#cfe;border-radius:6px;font:inherit;font-size:12px;width:130px}.nc-deck-add input.invalid{border-color:#a44}.nc-deck-slug{color:#7a9;font-size:10px;max-width:130px;overflow:hidden;text-overflow:ellipsis}.nc-deck-ok,.nc-deck-cancel{background:#122;border:1px solid #243;color:#9fd;border-radius:6px;padding:3px 9px;font:inherit;font-size:12px;cursor:pointer}.nc-deck-ok:disabled{opacity:.4;cursor:default}.nc-deck-state{font-size:10px;color:#7a9;min-width:64px}.nc-deck-state.error,.nc-deck-error{color:#f88;font-size:10px}.nc-deck-fallback{color:#fd8;font-size:11px}.nc-tile-deck{background:#0a0e0a;border:1px solid #243;color:#9fd;border-radius:5px;font:inherit;font-size:11px;padding:1px 3px;max-width:92px}.nc-deck-owner-toggle{display:inline-flex;align-items:center;gap:2px;background:none;border:0;padding:0 2px;margin:0;color:inherit;font:inherit;cursor:pointer;border-radius:4px;flex:0 0 auto;max-width:140px}.nc-deck-owner-toggle:hover{background:#00cc6614}.nc-deck-owner-toggle:focus-visible{outline:2px solid #7aa903;outline-offset:1px}.nc-deck-owner-toggle .nc-deck-owner{padding:0 2px}.nc-deck-owner-caret{color:#5a7a68;font-size:9px;flex:0 0 auto}.nc-deck-owner-group.collapsed{background:#090d09}.nc-deck-owner-content{display:inline-flex;align-items:center;gap:4px}.nc-deck-owner-content[hidden]{display:none}.nc-deck-owner-group.collapsed .nc-deck-owner-content{gap:3px}.nc-deck-summary{display:inline-flex;align-items:center;gap:3px;padding:0 3px 0 1px;font-size:9px;color:#6f8c7c;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-deck-summary-count{background:#15241a;color:#9fd;border-radius:8px;padding:0 5px;font-size:9px;flex:0 0 auto}.nc-deck-summary-current{color:#d9f7c7}.nc-deck-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin:0 3px 0 4px;flex:0 0 auto;background:#2a3a2a}.nc-deck-dot.working{background:#0c6;box-shadow:0 0 5px #0c6}.nc-deck-dot.on{background:#6a9}.nc-deck-dot.neutral{background:#526652}.nc-deck-dot.warn{background:#d93}.nc-deck-chip.offline .nc-deck-dot{opacity:.7}.nc-pair-card{border:1px solid #2f5;border-radius:8px;box-shadow:0 0 0 1px #22ff5514}.nc-pair-input{width:100%;min-width:0;box-sizing:border-box;font-size:15px;padding:10px}.nc-pair-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.nc-pair-status{min-height:1em}.nc-pair-progress{color:#9f9;animation:nc-pair-pulse 1.2s ease-in-out infinite}@keyframes nc-pair-pulse{0%,to{opacity:1}50%{opacity:.45}}.nc-pair-hint{opacity:.85;margin-top:4px;font-size:12px}.nc-pair-notice{display:block}.nc-pair-advanced-toggle{align-self:flex-start}.nc-pair-advanced{display:flex;flex-direction:column;gap:8px;min-width:0}.nc-qr-overlay{z-index:80}.nc-qr-modal{max-width:min(480px,calc(100vw - 32px));width:100%}.nc-qr-video{width:100%;max-height:60dvh;border-radius:6px;background:#000;object-fit:cover}.nc-qr-upload{display:inline-flex;align-items:center;cursor:pointer}.nc-detail-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:75;background:#0009;display:flex;align-items:flex-end;justify-content:center;overscroll-behavior:contain}.nc-detail-sheet{width:100%;max-height:88dvh;display:flex;flex-direction:column;min-height:0;background:#0e140e;color:#cfe;border:1px solid #243;border-bottom:none;border-radius:14px 14px 0 0;box-shadow:0 -12px 40px #0000008c;outline:none}.nc-detail-head{display:flex;align-items:flex-start;gap:10px;padding:14px 14px 10px;border-bottom:1px solid #1b2a1b;position:sticky;top:0;background:#0e140e;z-index:1}.nc-detail-title{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.nc-detail-title b{font-size:16px;color:#d8ffe8;overflow-wrap:anywhere}.nc-detail-title small{font-size:12px;opacity:.65;overflow-wrap:anywhere}.nc-detail-close{padding:6px 8px;flex:none}.nc-detail-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 14px;display:flex;flex-direction:column;gap:16px}.nc-detail-body.plain{padding:0;gap:0}.nc-detail-section{display:flex;flex-direction:column;gap:8px;min-width:0}.nc-detail-foot{display:flex;flex-wrap:wrap;gap:8px;padding:10px 14px;border-top:1px solid #1b2a1b;background:#0b110b;padding-bottom:max(10px,env(safe-area-inset-bottom))}.nc-detail-foot .nc-btn{white-space:nowrap;display:inline-flex;align-items:center;gap:6px}.nc-detail-facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;padding:10px;border:1px solid #243;border-radius:8px;background:#0a0e0a;font-size:13px;min-width:0;overflow-wrap:anywhere}.nc-detail-facts dt{opacity:.65}.nc-detail-facts dd{margin:0}.nc-detail-grants{display:flex;flex-direction:column;gap:6px}.nc-detail-grant{display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #243;border-radius:8px;background:#0a0e0a;font-size:13px;min-width:0}.nc-detail-grant>span{flex:1;min-width:0;overflow-wrap:anywhere}.nc-detail-grant.unknown>span{opacity:.6;font-style:italic}.nc-detail-picker{display:flex;flex-direction:column;gap:6px}.nc-detail-picker input{padding:9px 10px;font:14px/1.2 inherit;box-sizing:border-box;background:#0a0e0a;color:#cfe;border:1px solid #243;border-radius:8px;width:100%;min-width:0}.nc-detail-picker input:focus{outline:none;border-color:#2e7d32}.nc-detail-picker-list{display:flex;flex-wrap:wrap;gap:6px}@media(min-width:600px){.nc-detail-overlay{align-items:stretch;justify-content:flex-end}.nc-detail-sheet{width:min(440px,100%);max-height:none;height:100%;border:none;border-left:1px solid #243;border-radius:0;box-shadow:-12px 0 40px #0000008c}}.nc-vl-prompt{display:flex;gap:8px;align-items:flex-end}.nc-vl-prompt textarea{flex:1 1 auto;min-height:64px;resize:vertical;background:#101810;color:#d8ffe8;border:1px solid #2d4634;border-radius:4px;padding:6px 8px;font:inherit}.nc-set-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#0000008c;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}.nc-set-panel{width:100%;max-width:560px;max-height:90vh;background:#0e140e;color:#cfe;border:1px solid #243;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px;box-shadow:0 12px 40px #00000080;overflow:hidden}@media(max-width:1023px){.nc-set-overlay{padding:0}.nc-set-panel{max-width:none;max-height:none;height:100%;border-radius:0;border:none}}.nc-set-head{display:flex;align-items:center;gap:8px}.nc-set-head b{font-size:16px;color:#d8ffe8;flex:1}.nc-set-close{background:none;border:none;color:#9fd;cursor:pointer;padding:4px}.nc-set-readonly{font-size:12px;color:#e0b020;border:1px solid #4a3a10;border-radius:8px;padding:8px 10px;background:#171307}.nc-set-tabs-wrap{position:relative;min-width:0}.nc-set-tabs-wrap:before,.nc-set-tabs-wrap:after{content:"";position:absolute;z-index:1;top:0;bottom:9px;width:28px;opacity:0;pointer-events:none;transition:opacity .16s ease}.nc-set-tabs-wrap:before{left:0;background:linear-gradient(90deg,#0e140e 10%,#0e140e00)}.nc-set-tabs-wrap:after{right:0;background:linear-gradient(270deg,#0e140e 10%,#0e140e00)}.nc-set-tabs-wrap.has-start-overflow:before,.nc-set-tabs-wrap.has-end-overflow:after{opacity:1}.nc-set-tabs{display:flex;gap:6px;min-width:0;overflow-x:auto;overflow-y:hidden;border-bottom:1px solid #1c241c;padding-bottom:8px;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:rgba(159,255,221,.35) transparent}.nc-set-tabs .nc-set-tabbtn{flex:0 0 auto;min-height:44px;white-space:nowrap}.nc-set-tabbtn{background:none;border:1px solid #1c241c;border-radius:8px;color:#9fd;font-size:12px;padding:6px 12px;cursor:pointer;text-transform:uppercase;letter-spacing:.5px}.nc-set-tabbtn.on{border-color:#2e7d32;background:#14200f;color:#d8ffe8}.nc-system-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.nc-system-tabs .nc-set-tabbtn{min-width:0;text-transform:none}.nc-system-group{display:flex;flex-direction:column;gap:8px}.nc-system-group>h3{margin:0;color:#d8ffe8;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.nc-system-diagnostics{gap:12px}.nc-alternate-screen-settings{border:1px solid #243;border-radius:10px;padding:10px}.nc-set-body{overflow-y:auto;flex:1;min-height:120px}.nc-set-tab{display:flex;flex-direction:column;gap:12px}.nc-set-tab .nc-check span{display:flex;flex-direction:column;gap:2px}.nc-set-tab .nc-check small{opacity:.6;font-size:11px}.nc-set-info{font-size:12px;opacity:.7;line-height:1.6}.nc-set-note{font-size:12px;color:#9fd}.nc-set-hint{font-size:11px;opacity:.7}.nc-set-form{display:flex;flex-direction:column;gap:8px}.nc-set-form .nc-field{display:flex;flex-direction:column;gap:4px;font-size:12px;opacity:.82}.nc-set-form .nc-field small{font-size:10px;opacity:.7;line-height:1.3}.nc-set-ports{display:grid;grid-template-columns:1fr 1fr;gap:8px}@media(max-width:520px){.nc-set-ports{grid-template-columns:1fr}}.nc-set-form input:not([type=checkbox]):not([type=file]){padding:9px 10px;font:14px/1.2 inherit;background:#0a0e0a;color:#cfe;border:1px solid #243;border-radius:8px;width:100%;min-width:0;max-width:100%;box-sizing:border-box}.nc-set-form input:focus{outline:none;border-color:#2e7d32}.nc-set-form input:disabled{opacity:.5}.nc-set-form textarea,.nc-set-form select{padding:9px 10px;font:13px/1.3 inherit;background:#0a0e0a;color:#cfe;border:1px solid #243;border-radius:8px;min-height:36px;width:100%;min-width:0;max-width:100%;box-sizing:border-box}.nc-set-form textarea{min-height:72px;resize:vertical}.nc-fleet-editor{gap:10px}.nc-fleet-view-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;position:sticky;top:0;z-index:2;background:#0e140e;padding-bottom:6px}.nc-fleet-view-tabs .nc-set-tabbtn{width:100%;text-transform:none}.nc-fleet-section-head,.nc-fleet-item{display:flex;align-items:center;justify-content:space-between;gap:8px}.nc-fleet-section-head{margin-top:4px;border-bottom:1px solid #243;padding-bottom:6px}.nc-fleet-item{border:1px solid #1c241c;border-radius:8px;padding:8px}.nc-fleet-label{color:#9fb89f;font-style:italic}.nc-fleet-item>span{display:flex;gap:6px;align-items:center;min-width:0}.nc-fleet-item>span:first-child{flex-direction:column;align-items:flex-start;min-width:0}.nc-fleet-item>span:last-child{flex-wrap:wrap;justify-content:flex-end}.nc-fleet-item>span:first-child b,.nc-fleet-item>span:first-child small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-fleet-item small{opacity:.6}.nc-fleet-tag{display:inline-block;padding:1px 6px;border-radius:6px;font-size:11px;font-weight:600;line-height:1.5;border:1px solid rgba(224,176,32,.55);color:#e0b020;background:#e0b0201f}.nc-fleet-tag.nc-fleet-tag-warn{color:#e8c547;border-color:#e8c5478c;background:#e8c5471a}.nc-cwd-rel-row{display:flex;align-items:center;gap:6px}.nc-cwd-rel-prefix{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;opacity:.85;flex:0 0 auto}.nc-cwd-rel-row input{flex:1;min-width:0}.nc-cwd-preview{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;opacity:.85;word-break:break-all}.nc-cwd-suggestion{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:#e8c547;border:1px solid rgba(232,197,71,.4);background:#e8c54714;border-radius:8px;padding:6px 8px}.nc-cwd-no-source{font-size:12px;opacity:.65}.nc-fleet-form{border:1px solid #2e7d32;border-radius:10px;padding:10px}.nc-fleet-key{display:flex;flex-direction:column;gap:7px;border:1px solid #36523b;border-radius:9px;padding:10px;background:#0a100b}.nc-fleet-key-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.nc-fleet-key-head>b{letter-spacing:.08em}.nc-fleet-key-head>span{font-size:11px;opacity:.72}.nc-fleet-key-input{display:flex;gap:6px}.nc-fleet-key-input>input{flex:1;min-width:0}.nc-fleet-key-missing{align-items:flex-start;color:#ffca80}.nc-fleet-provider-notice{border-left:2px solid #6b7f3e;padding-left:8px;line-height:1.35}.nc-fleet-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:75;padding:16px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;background:#000000b8;overscroll-behavior:contain}.nc-fleet-modal-dialog{width:min(680px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;border-radius:12px;background:#0e140e;box-shadow:0 14px 50px #000000b3;overscroll-behavior:contain}.nc-fleet-modal-dialog .nc-fleet-form{margin:0;padding:14px}.nc-fleet-head-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.nc-fleet-pair,.nc-fleet-env{display:flex;gap:6px}.nc-fleet-pair input,.nc-fleet-pair select,.nc-fleet-env input{flex:1;min-width:0}@media(max-width:520px){.nc-fleet-modal{padding:0;align-items:stretch}.nc-fleet-modal-dialog{width:100%;max-height:100dvh;border-radius:0}.nc-fleet-item{align-items:stretch;flex-direction:column}.nc-fleet-item>span:last-child{width:100%;justify-content:flex-start}.nc-fleet-pair{flex-direction:column}}.nc-invite-endpoint{border:1px solid #243;border-radius:8px;padding:9px 10px;overflow-wrap:anywhere}.nc-local-share{border:1px solid #243;border-radius:10px;padding:10px;background:#0a0e0a}.nc-local-share .nc-node-share{padding:2px 0}.nc-invite-advanced{display:flex;flex-direction:column;gap:8px;padding:9px;border-left:2px solid #243}.nc-invite-actions{flex-wrap:wrap}.nc-update-settings,.nc-backup-dialog{border:1px solid #243;border-radius:10px;padding:10px}.nc-backup-tabs{margin:0}.nc-backup-list{display:flex;flex-direction:column;gap:6px;max-height:42vh;overflow-y:auto}.nc-backup-row,.nc-backup-import-row{border:1px solid #1c241c;border-radius:8px;padding:8px}.nc-backup-import-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.7fr);gap:8px;align-items:center}@media(max-width:520px){.nc-backup-import-row{grid-template-columns:1fr}}.nc-set-node{border:1px solid #1c241c;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:8px;background:#0a0e0a}.nc-peer-group{display:flex;flex-direction:column;gap:8px}.nc-peer-group-title{display:flex;align-items:center;justify-content:space-between;color:#9fd;font-size:12px;font-weight:600;padding:2px 1px}.nc-peer-group-title span{color:#789;font-variant-numeric:tabular-nums}.nc-set-node.routed{border-style:dashed;background:#090d0b}.nc-node-editor{border-top:1px solid #243;padding-top:10px}.nc-node-row{flex-direction:row;align-items:center;gap:8px;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;min-height:48px}.nc-node-row:hover{border-color:#2e7d32}.nc-node-row:focus-visible{outline:2px solid #2e7d32;outline-offset:2px}.nc-node-row-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.nc-node-row-text b{color:#d8ffe8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-node-row-text small{opacity:.6;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-node-row-more{flex:none;opacity:.5;display:flex}.nc-set-node-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.nc-set-node-head b{color:#d8ffe8}.nc-set-node-head small{opacity:.6;font-size:11px}.nc-set-tunnel{margin-left:auto;font-size:11px;color:#f88}.nc-set-tunnel.up{color:#6c6}.nc-set-node-actions{display:flex;gap:6px;flex-wrap:wrap}.nc-set-node-actions .nc-btn{padding:5px 10px;font-size:12px}.nc-set-test{font-size:11px}.nc-set-test.ok{color:#6c6}.nc-set-test.ko{color:#f88}.nc-diagnostics .nc-field{display:flex;flex-direction:column;gap:4px;font-size:12px}.nc-diag-controls{border:1px solid #243;border-radius:10px;padding:10px}.nc-diag-filters{display:grid;grid-template-columns:minmax(110px,.45fr) minmax(0,1fr);gap:8px}.nc-diag-filters select,.nc-diag-filters input,.nc-diagnostics>.nc-field select{padding:8px 9px;font:12px/1.3 inherit;background:#0a0e0a;color:#cfe;border:1px solid #243;border-radius:8px;min-width:0;width:100%;box-sizing:border-box}.nc-diag-log{min-height:220px;max-height:42vh;margin:0;padding:10px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;background:#070a07;color:#bde8c8;border:1px solid #1c241c;border-radius:8px;font:11px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}@media(max-width:520px){.nc-set-tabs{scrollbar-width:none;-ms-overflow-style:none}.nc-set-tabs::-webkit-scrollbar{display:none}.nc-set-tabs .nc-set-tabbtn{min-width:max-content;padding-inline:12px}.nc-diag-filters{grid-template-columns:1fr}.nc-diag-log{min-height:35vh;max-height:48vh}}.nc-set-copyline{display:flex;gap:8px;align-items:center}.nc-set-copyline code{flex:1;font-size:10px;word-break:break-all;-webkit-user-select:all;user-select:all;background:#0a0e0a;border:1px solid #1c241c;border-radius:6px;padding:6px;max-height:72px;overflow-y:auto}.nc-set-akeys{display:flex;flex-direction:column;gap:6px}.nc-set-row{display:flex;gap:8px;flex-wrap:wrap}.nc-set-confirm{border:1px solid #4a3a10;border-radius:10px;padding:10px;background:#171307;font-size:12px;color:#e8d8a0;display:flex;flex-direction:column;gap:10px}.nc-set-panel .nc-check{display:flex;align-items:flex-start;gap:8px;font-size:13px;cursor:pointer}.nc-set-panel .nc-check input{accent-color:#2e7d32;margin-top:2px}.nc-set-panel .nc-btn{border:none;border-radius:8px;padding:8px 16px;font-size:13px;cursor:pointer}.nc-set-panel .nc-btn.ghost{background:none;border:1px solid #243;color:#9fd}.nc-set-panel .nc-btn.primary{background:#2e7d32;color:#fff}.nc-set-panel .nc-btn.danger{background:none;border:1px solid #532;color:#f88}.nc-set-panel .nc-btn:disabled{opacity:.5;cursor:default}.nc-set-panel .nc-sheet-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.nc-set-panel .nc-sheet-label{font-size:12px;opacity:.7;text-transform:uppercase;letter-spacing:.5px}.nc-set-panel .nc-err{color:#f88;font-size:12px}.nc-set-panel .nc-empty{opacity:.5;font-size:12px}.nc-set-panel .nc-dot{width:8px;height:8px;border-radius:50%;background:#333;display:inline-block;flex:0 0 8px}.nc-set-panel .nc-dot.on{background:#2e7d32}.nc-model-test{font-weight:600}.nc-model-test.ok{color:var(--success)}.nc-model-test.unknown-model{color:var(--error)}.nc-model-test.auth,.nc-model-test.unreachable{color:var(--warning)}.nc-model-test.unverified{color:var(--text-secondary);font-style:italic}.nc-wiz-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;background:#000000b3;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}.nc-wiz{width:100%;max-width:420px;max-height:90vh;overflow-y:auto;background:#0e140e;color:#cfe;border:1px solid #243;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:14px;box-shadow:0 12px 40px #00000080}.nc-wiz-head{display:flex;flex-direction:column;gap:4px}.nc-wiz-head b{font-size:17px;color:#d8ffe8}.nc-wiz-head small{font-size:12px;opacity:.65;text-transform:uppercase;letter-spacing:.5px}.nc-wiz-body{display:flex;flex-direction:column;gap:10px}.nc-wiz-body input{padding:9px 10px;font:14px/1.2 inherit;background:#0a0e0a;color:#cfe;border:1px solid #243;border-radius:8px}.nc-wiz-body input:focus{outline:none;border-color:#2e7d32}.nc-wiz-body .nc-field{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#bfe8cd}.nc-wiz-body .nc-field small{font-size:10px;opacity:.58;line-height:1.3}.nc-wiz-help{margin:0;font-size:11px;line-height:1.4;opacity:.7}.nc-wiz-ports{display:grid;grid-template-columns:1fr 1fr;gap:10px}@media(max-width:420px){.nc-wiz-ports{grid-template-columns:1fr}}.nc-wiz-done{font-size:13px;opacity:.85}.nc-wiz .nc-check{display:flex;align-items:flex-start;gap:8px;font-size:13px;cursor:pointer}.nc-wiz .nc-check input{accent-color:#2e7d32;margin-top:2px}.nc-wiz .nc-check span{display:flex;flex-direction:column;gap:2px}.nc-wiz .nc-check small{opacity:.6;font-size:11px}.nc-wiz .nc-btn{border:none;border-radius:8px;padding:8px 16px;font-size:13px;cursor:pointer}.nc-wiz .nc-btn.ghost{background:none;border:1px solid #243;color:#9fd}.nc-wiz .nc-btn.primary{background:#2e7d32;color:#fff}.nc-wiz .nc-btn:disabled{opacity:.5;cursor:default}.nc-wiz .nc-sheet-actions{display:flex;justify-content:flex-end;gap:8px}.nc-wiz .nc-err{color:#f88;font-size:12px}.nc-wiz-skip{background:none;border:none;color:#9fd;opacity:.6;font-size:12px;cursor:pointer;text-decoration:underline;align-self:center;padding:4px}.nc-wiz-skip:hover{opacity:1}.nc-ntf-toasts{position:fixed;top:10px;right:10px;z-index:2100;display:flex;flex-direction:column;gap:8px;max-width:min(360px,calc(100vw - 20px))}.nc-ntf-toast{display:flex;align-items:flex-start;gap:8px;background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:10px;padding:8px 8px 8px 12px;font-size:13px;box-shadow:0 2px 12px #0000008c}.nc-ntf-toast.high{border-left-color:var(--warning)}.nc-ntf-toast-txt{display:flex;flex-direction:column;gap:2px;min-width:0}.nc-ntf-toast-txt b{word-break:break-word}.nc-ntf-toast-txt small{color:var(--text-secondary);word-break:break-word}.nc-ntf-from{color:var(--text-tertiary);font-size:11px;font-family:var(--font-mono)}.nc-ntf-x{margin-left:auto;background:none;border:none;color:var(--text-tertiary);cursor:pointer;padding:2px;display:inline-flex;border-radius:6px}.nc-ntf-x:hover{color:var(--text-primary);background:var(--bg-hover)}.nc-ask-badge{position:fixed;bottom:64px;right:12px;z-index:2100;display:inline-flex;align-items:center;gap:6px;background:var(--accent);color:#fff;border:none;border-radius:999px;padding:8px 14px;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 2px 12px #0000008c}.nc-ask-badge:hover{background:var(--accent-hover)}.nc-ask-count{background:#00000059;border-radius:999px;padding:0 7px;font-size:12px;line-height:18px}.nc-ask-panel{position:fixed;bottom:10px;right:10px;z-index:2100;width:min(420px,calc(100vw - 20px));max-height:min(70vh,560px);display:flex;flex-direction:column;background:var(--bg-secondary);border:1px solid var(--border);border-radius:12px;box-shadow:0 4px 20px #0009}.nc-ask-panel-head{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border);font-size:13px}.nc-ask-panel-head .nc-ask-count{background:var(--accent)}.nc-ask-panel-body{overflow-y:auto;padding:10px 12px;display:flex;flex-direction:column;gap:10px}.nc-ask-card{background:var(--bg-tertiary);border:1px solid var(--border);border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:8px}.nc-ask-head{display:flex;align-items:center;gap:8px}.nc-ask-id{color:var(--text-tertiary);font-size:11px;margin-left:auto}.nc-ask-q{font-size:13px;white-space:pre-wrap;word-break:break-word}.nc-ask-opts{display:flex;flex-wrap:wrap;gap:6px}.nc-ask-reply{display:flex;gap:6px;align-items:flex-end}.nc-ask-reply textarea{flex:1;resize:vertical;min-height:34px;background:var(--bg-primary);color:var(--text-primary);border:1px solid var(--border);border-radius:8px;padding:6px 8px;font:inherit;font-size:13px}.nc-ask-card .nc-err{color:var(--error);font-size:12px}.nc-cell-switcher-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:flex;align-items:flex-end;background:#0000008c}.nc-cell-switcher{width:min(88vw,360px);min-height:260px;max-height:72vh;max-height:min(72dvh,540px);box-sizing:border-box;padding:12px 12px max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:8px;background:#0e140e;color:#cfe;border-right:1px solid #243;border-top:1px solid #243;border-radius:0 14px 0 0;box-shadow:10px -6px 30px #00000073;outline:none}.nc-cell-switcher-list{min-height:0;flex:1 1 auto;overflow-y:auto;display:flex;flex-direction:column;gap:6px;overscroll-behavior-y:contain}.nc-cell-switcher-row{min-height:44px;width:100%;display:flex;align-items:stretch;gap:6px;box-sizing:border-box;padding:0 6px 0 0;border:1px solid #1c241c;border-radius:9px;background:#0a0e0a;color:#cfe}.nc-cell-switcher-row.current{border-color:#2e7d32;background:#14200f}.nc-cell-switcher-row.selected{border-color:#79d9ff;background:#112637;box-shadow:0 0 0 2px #79d9ff33}.nc-cell-switcher-row.off{opacity:.48}.nc-cell-switcher-row-select{min-width:0;min-height:44px;flex:1 1 auto;display:flex;align-items:center;gap:10px;padding:8px 4px 8px 0;border:0;background:transparent;color:#cfe;text-align:left}.nc-cell-switcher-row-select[aria-disabled=true]{cursor:default}.nc-cell-switcher .nc-roster-handle{flex:0 0 36px;width:36px;min-width:36px;min-height:44px;margin:0;border:1px solid transparent;border-radius:8px;background:#ffffff06;color:#688475;touch-action:none}.nc-cell-switcher .nc-roster-handle.active,.nc-cell-switcher .nc-roster-handle:focus-visible{color:#bfffd8;border-color:#00cc6673;background:#00cc661f}.nc-cell-switcher-row.nc-roster-dragging{opacity:.62}.nc-cell-switcher-row.nc-roster-over{outline:2px solid rgba(0,204,102,.72);outline-offset:2px}.nc-cell-switcher-dot{flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:#355}.nc-cell-switcher-dot.on{background:#0c6;box-shadow:0 0 6px #0c68}.nc-cell-switcher-dot.warn{background:#e0b020;box-shadow:0 0 6px #e0b02088}.nc-cell-switcher-dot.working{animation:nc-cell-switcher-pulse 1.1s ease-in-out infinite}.nc-cell-switcher-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.nc-cell-switcher-copy b,.nc-cell-switcher-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-cell-switcher-copy b{color:#d8ffe8;font-size:14px}.nc-cell-switcher-copy small{opacity:.62;font-size:11px}.nc-cell-switcher-copy .nc-cell-switcher-state{opacity:.88;color:#d8ffe8}.nc-cell-switcher-notice{color:#ffd36b;font-size:12px}.nc-cell-switcher-actions{display:flex;min-width:0}.nc-cell-switcher-open{min-width:0;min-height:44px;width:100%;padding:0 12px;border:1px solid #79d9ff;border-radius:9px;background:#16445e;color:#effcff;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nc-cell-switcher-open:disabled{border-color:#2b3c2b;background:#14200f;color:#8fa898;opacity:.7}.nc-cell-switcher-controls{display:flex;align-items:center;gap:6px;min-width:0}.nc-cell-switcher-controls b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d8ffe8;font-size:14px}.nc-cell-switcher-controls button{min-width:44px;min-height:44px;border:1px solid #2b3c2b;border-radius:9px;background:#14200f;color:#cfe}.nc-cell-switcher-controls .nc-cell-switcher-filter{padding:0 9px}.nc-cell-switcher-controls .nc-cell-switcher-close{font-size:24px}@keyframes nc-cell-switcher-pulse{50%{opacity:.45}}@media(prefers-reduced-motion:reduce){.nc-cell-switcher-dot.working{animation:none}}.nc-vl-session-view{display:flex;flex-direction:column;height:100%;min-height:0;background:#0a0e0a;color:#cfe}.nc-vl-session-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:16px 20px 32px}.nc-vl-session-body .nc-vl-events{max-width:70ch;margin:0 auto}.nc-vl-session-body .nc-vl-events-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.nc-vl-session-body .nc-vl-ev{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.45}.nc-vl-session-body .nc-vl-ev-thinking{color:#7fa88f;font-style:italic}.nc-vl-session-body .nc-vl-ev-tool_start,.nc-vl-session-body .nc-vl-ev-tool_end,.nc-vl-session-body .nc-vl-ev-usage,.nc-vl-session-body .nc-vl-ev-writer_epoch{color:#6f8f7a;font-size:12px}.nc-vl-session-body .nc-vl-ev-turn_end,.nc-vl-session-body .nc-vl-ev-done{color:#8fd0a8}.nc-vl-session-body .nc-vl-ev.error{color:#e08a8a}.nc-vl-session-body .nc-vl-ev.gap{color:#c9b46a;font-size:12px}:root{color-scheme:dark}body,#root{margin:0;height:100vh;height:100dvh;background:#0a0e0a;font-family:ui-monospace,monospace}.nc-app{display:flex;flex-direction:column;height:100vh;height:100dvh;min-height:0}.nc-keybar{flex:0 0 auto}.nc-bar{display:flex;gap:10px;align-items:center;padding:8px;color:#cfe;background:#0e140e}.nc-bar button{background:none;border:1px solid #243;color:#9fd;border-radius:6px;padding:4px 10px}.nc-termwrap{position:relative;flex:1}.nc-auth{color:#cfe;padding:20px;display:flex;flex-direction:column;gap:10px;max-width:420px}.nc-auth input[type=text],.nc-auth input:not([type]){padding:10px;background:#122;border:1px solid #243;color:#cfe;border-radius:6px}.nc-auth button{padding:10px;background:#122;border:1px solid #243;color:#9fd;border-radius:6px}.nc-bar-right{margin-left:auto;display:flex;gap:4px}@media(pointer:coarse){.nc-bar button,.nc-bar-right button{min-height:42px;min-width:42px;font-size:20px}}.nc-bar button,.nc-bar-right button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.nc-bar>button{flex:0 0 auto}.nc-bar>b{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}.nc-bar-right{flex:0 0 auto}@media(max-width:480px){.nc-bar-label{display:none}}.nc-workspace{display:flex;flex-direction:row;height:100vh;height:100dvh;min-height:0;background:#0a0e0a;color:#cfe}.nc-workspace-main{flex:1 1 auto;min-width:0;min-height:0;display:flex;flex-direction:column}.nc-single-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#0a0e0a}.nc-bar-single .nc-bar-center{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.15}.nc-bar-single .nc-bar-center b{font-size:13px;font-weight:600;color:#d8ffe8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.nc-bar-sub{font-size:10px;opacity:.55}.nc-app{animation:nc-slide-in .2s ease-out}@keyframes nc-slide-in{0%{transform:translate(12%);opacity:0}to{transform:translate(0);opacity:1}}@media(prefers-reduced-motion:reduce){.nc-app{animation:none}}@keyframes nc-cell-working-blip{0%,to{opacity:1;transform:scale(1);box-shadow:0 0 7px #0c6c}50%{opacity:.22;transform:scale(.72);box-shadow:0 0 1px #0c62}}.nc-dot.on.working,.dot.on.working{animation:nc-cell-working-blip 1.1s ease-in-out infinite;transform-origin:center}@media(prefers-reduced-motion:reduce){.nc-dot.on.working,.dot.on.working{animation:none}}.nc-stale{position:fixed;top:8px;left:50%;transform:translate(-50%);z-index:2000;cursor:pointer;background:#1a2410;color:#d9f7c7;border:1px solid #7aa903;border-radius:8px;padding:6px 14px;font-size:13px;box-shadow:0 2px 10px #00000080}.nc-update{position:fixed;bottom:8px;left:50%;transform:translate(-50%);z-index:2000;display:flex;align-items:center;gap:10px;background:#0f1a0f;color:#d9f7c7;border:1px solid #2e7d32;border-radius:10px;padding:6px 8px 6px 14px;font-size:13px;box-shadow:0 2px 12px #0000008c}.nc-update-msg{white-space:nowrap}.nc-update-btn{display:inline-flex;align-items:center;justify-content:center;background:#2e7d32;border:1px solid #2e7d32;color:#06120a;border-radius:7px;padding:4px 12px;font:inherit;font-size:13px;cursor:pointer}.nc-update-btn:hover{background:#3a9d42}@media(prefers-reduced-motion:reduce){.nc-update{transition:none}}:root{--bg-primary: #0d1117;--bg-secondary: #161b22;--bg-tertiary: #21262d;--bg-hover: #30363d;--text-primary: #e6edf3;--text-secondary: #8b949e;--text-tertiary: #6e7681;--border: #30363d;--accent: #6c5ce7;--accent-hover: #7c6cf7;--success: #3fb950;--warning: #d29922;--error: #f85149;--user-bg: #1c2333;--assistant-bg: transparent;--font-mono: "SF Mono", monospace;--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;width:100%;overflow:hidden}body{font-family:var(--font-sans);background:var(--bg-primary);color:var(--text-primary);-webkit-font-smoothing:antialiased}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--bg-tertiary);border-radius:3px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spinning{animation:spin 1s linear infinite}
|