santriverse-skills 0.2.4 → 0.3.2
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/DESIGN-PARITY.md +62 -62
- package/LICENSE +21 -21
- package/PANDUAN-INSTALASI.md +128 -0
- package/README.md +33 -21
- package/assets/antigravity.svg +39 -39
- package/bin/cli.js +10 -2
- package/package.json +55 -54
- package/registry.json +21 -21
- package/scripts/antigravity_control.py +132 -132
- package/scripts/build-santrihub.js +60 -88
- package/src/antigravity-control.js +22 -22
- package/src/antigravity.js +231 -231
- package/src/auth.js +167 -167
- package/src/banner.js +36 -36
- package/src/browser-app.js +42 -0
- package/src/dashboard-ui.js +86 -3
- package/src/dashboard.css +59 -1
- package/src/dashboard.html +9 -0
- package/src/dashboard.js +182 -3
- package/src/desktop-host.js +117 -28
- package/src/detect.js +243 -243
- package/src/extensions.js +64 -64
- package/src/github-import.js +9 -9
- package/src/harnesses.js +264 -0
- package/src/install.js +36 -2
- package/src/library.js +266 -0
- package/src/local-import.js +86 -86
- package/src/mcp-gateway.js +193 -0
- package/src/mcp-server.js +85 -23
- package/src/profiles.js +75 -0
- package/src/registry.js +92 -92
- package/src/repo.js +128 -128
- package/src/runtime-status.js +30 -30
- package/src/sources.js +124 -124
- package/src/targz.js +85 -85
- package/src/update.js +9 -5
- package/src/verification-bridge.js +11 -11
- package/src/wizard.js +185 -185
- package/scripts/santrihub-sea-main.js +0 -80
package/DESIGN-PARITY.md
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
# SantriHub — acuan parity Notes
|
|
2
|
-
|
|
3
|
-
Sumber read-only: `apps/notes/src/styles/index.css` (seluruh 468 baris), `Sidebar.tsx`, `Home.tsx`. Dashboard vanilla tanpa build/CDN. Notes tidak punya `--bg`/`--text`: nama aslinya `--canvas`/`--ink`.
|
|
4
|
-
|
|
5
|
-
| Notes (nilai eksak) | Dashboard |
|
|
6
|
-
|---|---|
|
|
7
|
-
| dark canvas `25 25 27`, panel `31 31 34` | body/canvas dan sidebar identik, dark default |
|
|
8
|
-
| ink `238 237 234`, muted `160 157 151` | teks utama/sekunder identik |
|
|
9
|
-
| line `57 57 61`, accent `147 130 255` | border `1px solid rgb(var(--line))`; focus/aksen `rgb(var(--accent))` |
|
|
10
|
-
| font `Inter, ui-sans-serif, system-ui, sans-serif` | stack identik; tanpa Google Fonts eksternal; Inter hanya bila terpasang lokal |
|
|
11
|
-
| sidebar min 210px / max 420px; fallback `--sb-w:260px`; rail 52px | default 260px, rail 52px; resize 210–420px |
|
|
12
|
-
| sidebar transition `.3s cubic-bezier(.22,.8,.3,1)` untuk transform/width/margin-right | collapse/drawer identik |
|
|
13
|
-
| workspace-head min-height 62px, gap 10px, padding 11px 12px | identik |
|
|
14
|
-
| logo 31px, radius 9px | workspace dan rail; fallback SV bila gagal |
|
|
15
|
-
| workspace name 13px/650/-.01em; subtitle 10px | SantriHub / Workspace lokal |
|
|
16
|
-
| sidebar-scroll padding 3px 8px; nav gap 2px | identik |
|
|
17
|
-
| nav height 33px, gap 9px, padding 0 9px, radius 7px, 13px/500 | tombol nav berikon inline SVG |
|
|
18
|
-
| hover/aktif `rgb(var(--line) / .7)` | identik |
|
|
19
|
-
| nav-section margin-top 20px; label height 26px, padding 0 6px 0 9px, 10px/650/.055em uppercase | identik |
|
|
20
|
-
| new-page 38px, margin 8px, padding 0 11px, dashed border, radius 8px, 12px | aksi katalog sidebar |
|
|
21
|
-
| user-card 58px, gap 9px, padding 8px 10px; avatar 31px / 50% | profil akun Santriverse, inisial |
|
|
22
|
-
| user-copy 11px/600, email 9px; dropup radius 14px, bottom calc(100% + 9px), shadow 0 18px 50px rgb(0 0 0 / .18) | profil dan logout; Notes tidak memiliki keyframes dropup |
|
|
23
|
-
| rail button 36px/radius 8px; logo toggle radius 9px | rail collapsed |
|
|
24
|
-
| rail logo opacity .16s ease, transform .2s cubic-bezier(.22,.8,.3,1) | identik |
|
|
25
|
-
| home width min(100%,1180px), padding 52px clamp(24px,5vw,72px) 80px | halaman utama dan ritme halaman katalog |
|
|
26
|
-
| banner margin-bottom 48px; marquee 10px/650/.11em; padding 8px 0 | teks integrasi Skills + MCP ke Antigravity |
|
|
27
|
-
| home-marquee 26s linear infinite, translateX(-50%) | identik; dua salinan aria-hidden |
|
|
28
|
-
| h1 clamp(32px,4vw,54px)/650/-.052em, line-height 1.05 | sapaan member |
|
|
29
|
-
| typewriter greeting type 58ms, erase 30ms, hold 1700ms | identik; reduced-motion statis |
|
|
30
|
-
| caret 2px × .9em; margin-left 4px; 1s step-end infinite; opacity 1 pada 0/100%, 0 pada 50% | identik |
|
|
31
|
-
| home-actions gap 11px, margin-top 32px | search + aksi utama |
|
|
32
|
-
| search 46px / radius 13px / panel .65, border-color .16s, box-shadow .16s | identik |
|
|
33
|
-
| create 46px / radius 12px / 12px/650 / ink background | identik |
|
|
34
|
-
| home-section margin 42px 0 15px, 13px/650 | ringkasan |
|
|
35
|
-
| grid auto-fill minmax(205px,1fr), gap 14px | kartu ringkasan |
|
|
36
|
-
| card min-height178px, padding20px, radius16px; tint border22% / bg8%; transform/border/shadow .18s ease | identik |
|
|
37
|
-
| card hover translateY(-2px), shadow 0 12px 30px rgb(0 0 0 / .07) | identik |
|
|
38
|
-
| card icon37px/radius10px; title14px/650, margin24px; meta10px/padding-top13px | identik |
|
|
39
|
-
| empty min-height230px/gap12px/dashed/radius16px | state kosong |
|
|
40
|
-
| gate card width420px/padding40px/radius18px; dark shadow 0 20px 70px rgb(0 0 0 / .4) | login premium terkunci |
|
|
41
|
-
| toast padding10px 14px/radius10px/12px/600, shadow 0 10px 32px rgb(0 0 0 / .18) | status operasi |
|
|
42
|
-
| toast-in .2s cubic-bezier(.22,.8,.3,1), opacity0/y8px ke opacity1/y0; toast-out .18s ease, y0 ke y5px | toast masuk; status terakhir tetap tersedia |
|
|
43
|
-
| label marquee 4s linear, translateX(calc(-50% - 1rem)), gap2rem | dicatat; nav pendek tidak perlu label marquee |
|
|
44
|
-
| focus-visible outline2px solid accent, offset2px | semua tombol/input/link |
|
|
45
|
-
| scrollbar: toolbar none; tab-scroll thin; tidak ada global scrollbar custom | main/sidebar native thin; tanpa pseudo scrollbar dekoratif |
|
|
46
|
-
| breakpoint tunggal max-width720px; sidebar min(84vw,310px), shadow14px 0 45px rgb(0 0 0 / .2); backdrop black .36 blur2px | drawer mobile + backdrop |
|
|
47
|
-
| mobile home padding66px 20px 72px, banner margin30px, actions column; grid min150px gap11px; card min152px padding16px | identik |
|
|
48
|
-
| reduced-motion semua transition/animation .01ms, iteration1, scroll auto | identik + timer typewriter statis |
|
|
49
|
-
|
|
50
|
-
## Struktur sumber
|
|
51
|
-
|
|
52
|
-
Sidebar: `sidebar-rail > rail-brand-toggle + rail-btn + rail-spacer + rail-bottom-actions`; `sidebar > workspace-head + sidebar-scroll (main-nav + sidebar-search + nav-section/section-label) + new-page + user-card/ProfileMenu + resize-handle`. ProfileMenu menutup lewat klik luar/Escape; nama dan email aman via textContent. MarqueeText menduplikasi teks hanya saat hover overflow, salinan aria-hidden.
|
|
53
|
-
|
|
54
|
-
Home: `home > home-banner/home-marquee + home-head/typewriter/type-caret + home-actions/home-search/home-create + home-section + home-grid/home-card`; home-empty ketika kosong.
|
|
55
|
-
|
|
56
|
-
## Root cause logo
|
|
57
|
-
|
|
58
|
-
Port 5199: PID 29432, command `node bin/cli.js dashboard --port=5199`, mulai 2026-10-05 17:10:56. `src/dashboard.js` diubah 17:46:47, HTML 17:47:26. HTTP logo 404 `application/json`, `/api/status?scope=project` 404 `Tidak ditemukan`. Proses lama menyimpan STATIC/routes lama tetapi membaca HTML baru dari disk. `default-src 'self'` sudah mengizinkan gambar same-origin; CSP bukan penyebab. Port 5200 tidak berjalan saat audit. Solusi: jalankan proses terbaru pada 5200; jangan memakai tab 5199 lama. Fallback teks mencegah kotak kosong bila asset gagal.
|
|
59
|
-
|
|
60
|
-
## Batas parity
|
|
61
|
-
|
|
62
|
-
Tidak menyalin React/Tailwind, editor, modal share, atau font remote. Nama package/bin dan ID MCP tetap kompatibel; nama UI SantriHub. Halaman premium tidak dibypass. Bukti browser dan gate dicatat setelah verifikasi nyata.
|
|
1
|
+
# SantriHub — acuan parity Notes
|
|
2
|
+
|
|
3
|
+
Sumber read-only: `apps/notes/src/styles/index.css` (seluruh 468 baris), `Sidebar.tsx`, `Home.tsx`. Dashboard vanilla tanpa build/CDN. Notes tidak punya `--bg`/`--text`: nama aslinya `--canvas`/`--ink`.
|
|
4
|
+
|
|
5
|
+
| Notes (nilai eksak) | Dashboard |
|
|
6
|
+
|---|---|
|
|
7
|
+
| dark canvas `25 25 27`, panel `31 31 34` | body/canvas dan sidebar identik, dark default |
|
|
8
|
+
| ink `238 237 234`, muted `160 157 151` | teks utama/sekunder identik |
|
|
9
|
+
| line `57 57 61`, accent `147 130 255` | border `1px solid rgb(var(--line))`; focus/aksen `rgb(var(--accent))` |
|
|
10
|
+
| font `Inter, ui-sans-serif, system-ui, sans-serif` | stack identik; tanpa Google Fonts eksternal; Inter hanya bila terpasang lokal |
|
|
11
|
+
| sidebar min 210px / max 420px; fallback `--sb-w:260px`; rail 52px | default 260px, rail 52px; resize 210–420px |
|
|
12
|
+
| sidebar transition `.3s cubic-bezier(.22,.8,.3,1)` untuk transform/width/margin-right | collapse/drawer identik |
|
|
13
|
+
| workspace-head min-height 62px, gap 10px, padding 11px 12px | identik |
|
|
14
|
+
| logo 31px, radius 9px | workspace dan rail; fallback SV bila gagal |
|
|
15
|
+
| workspace name 13px/650/-.01em; subtitle 10px | SantriHub / Workspace lokal |
|
|
16
|
+
| sidebar-scroll padding 3px 8px; nav gap 2px | identik |
|
|
17
|
+
| nav height 33px, gap 9px, padding 0 9px, radius 7px, 13px/500 | tombol nav berikon inline SVG |
|
|
18
|
+
| hover/aktif `rgb(var(--line) / .7)` | identik |
|
|
19
|
+
| nav-section margin-top 20px; label height 26px, padding 0 6px 0 9px, 10px/650/.055em uppercase | identik |
|
|
20
|
+
| new-page 38px, margin 8px, padding 0 11px, dashed border, radius 8px, 12px | aksi katalog sidebar |
|
|
21
|
+
| user-card 58px, gap 9px, padding 8px 10px; avatar 31px / 50% | profil akun Santriverse, inisial |
|
|
22
|
+
| user-copy 11px/600, email 9px; dropup radius 14px, bottom calc(100% + 9px), shadow 0 18px 50px rgb(0 0 0 / .18) | profil dan logout; Notes tidak memiliki keyframes dropup |
|
|
23
|
+
| rail button 36px/radius 8px; logo toggle radius 9px | rail collapsed |
|
|
24
|
+
| rail logo opacity .16s ease, transform .2s cubic-bezier(.22,.8,.3,1) | identik |
|
|
25
|
+
| home width min(100%,1180px), padding 52px clamp(24px,5vw,72px) 80px | halaman utama dan ritme halaman katalog |
|
|
26
|
+
| banner margin-bottom 48px; marquee 10px/650/.11em; padding 8px 0 | teks integrasi Skills + MCP ke Antigravity |
|
|
27
|
+
| home-marquee 26s linear infinite, translateX(-50%) | identik; dua salinan aria-hidden |
|
|
28
|
+
| h1 clamp(32px,4vw,54px)/650/-.052em, line-height 1.05 | sapaan member |
|
|
29
|
+
| typewriter greeting type 58ms, erase 30ms, hold 1700ms | identik; reduced-motion statis |
|
|
30
|
+
| caret 2px × .9em; margin-left 4px; 1s step-end infinite; opacity 1 pada 0/100%, 0 pada 50% | identik |
|
|
31
|
+
| home-actions gap 11px, margin-top 32px | search + aksi utama |
|
|
32
|
+
| search 46px / radius 13px / panel .65, border-color .16s, box-shadow .16s | identik |
|
|
33
|
+
| create 46px / radius 12px / 12px/650 / ink background | identik |
|
|
34
|
+
| home-section margin 42px 0 15px, 13px/650 | ringkasan |
|
|
35
|
+
| grid auto-fill minmax(205px,1fr), gap 14px | kartu ringkasan |
|
|
36
|
+
| card min-height178px, padding20px, radius16px; tint border22% / bg8%; transform/border/shadow .18s ease | identik |
|
|
37
|
+
| card hover translateY(-2px), shadow 0 12px 30px rgb(0 0 0 / .07) | identik |
|
|
38
|
+
| card icon37px/radius10px; title14px/650, margin24px; meta10px/padding-top13px | identik |
|
|
39
|
+
| empty min-height230px/gap12px/dashed/radius16px | state kosong |
|
|
40
|
+
| gate card width420px/padding40px/radius18px; dark shadow 0 20px 70px rgb(0 0 0 / .4) | login premium terkunci |
|
|
41
|
+
| toast padding10px 14px/radius10px/12px/600, shadow 0 10px 32px rgb(0 0 0 / .18) | status operasi |
|
|
42
|
+
| toast-in .2s cubic-bezier(.22,.8,.3,1), opacity0/y8px ke opacity1/y0; toast-out .18s ease, y0 ke y5px | toast masuk; status terakhir tetap tersedia |
|
|
43
|
+
| label marquee 4s linear, translateX(calc(-50% - 1rem)), gap2rem | dicatat; nav pendek tidak perlu label marquee |
|
|
44
|
+
| focus-visible outline2px solid accent, offset2px | semua tombol/input/link |
|
|
45
|
+
| scrollbar: toolbar none; tab-scroll thin; tidak ada global scrollbar custom | main/sidebar native thin; tanpa pseudo scrollbar dekoratif |
|
|
46
|
+
| breakpoint tunggal max-width720px; sidebar min(84vw,310px), shadow14px 0 45px rgb(0 0 0 / .2); backdrop black .36 blur2px | drawer mobile + backdrop |
|
|
47
|
+
| mobile home padding66px 20px 72px, banner margin30px, actions column; grid min150px gap11px; card min152px padding16px | identik |
|
|
48
|
+
| reduced-motion semua transition/animation .01ms, iteration1, scroll auto | identik + timer typewriter statis |
|
|
49
|
+
|
|
50
|
+
## Struktur sumber
|
|
51
|
+
|
|
52
|
+
Sidebar: `sidebar-rail > rail-brand-toggle + rail-btn + rail-spacer + rail-bottom-actions`; `sidebar > workspace-head + sidebar-scroll (main-nav + sidebar-search + nav-section/section-label) + new-page + user-card/ProfileMenu + resize-handle`. ProfileMenu menutup lewat klik luar/Escape; nama dan email aman via textContent. MarqueeText menduplikasi teks hanya saat hover overflow, salinan aria-hidden.
|
|
53
|
+
|
|
54
|
+
Home: `home > home-banner/home-marquee + home-head/typewriter/type-caret + home-actions/home-search/home-create + home-section + home-grid/home-card`; home-empty ketika kosong.
|
|
55
|
+
|
|
56
|
+
## Root cause logo
|
|
57
|
+
|
|
58
|
+
Port 5199: PID 29432, command `node bin/cli.js dashboard --port=5199`, mulai 2026-10-05 17:10:56. `src/dashboard.js` diubah 17:46:47, HTML 17:47:26. HTTP logo 404 `application/json`, `/api/status?scope=project` 404 `Tidak ditemukan`. Proses lama menyimpan STATIC/routes lama tetapi membaca HTML baru dari disk. `default-src 'self'` sudah mengizinkan gambar same-origin; CSP bukan penyebab. Port 5200 tidak berjalan saat audit. Solusi: jalankan proses terbaru pada 5200; jangan memakai tab 5199 lama. Fallback teks mencegah kotak kosong bila asset gagal.
|
|
59
|
+
|
|
60
|
+
## Batas parity
|
|
61
|
+
|
|
62
|
+
Tidak menyalin React/Tailwind, editor, modal share, atau font remote. Nama package/bin dan ID MCP tetap kompatibel; nama UI SantriHub. Halaman premium tidak dibypass. Bukti browser dan gate dicatat setelah verifikasi nyata.
|
|
63
63
|
|
|
64
64
|
## Scale pass Oktober 2026
|
|
65
65
|
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 askiya
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 askiya
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Panduan Instalasi SantriHub
|
|
2
|
+
|
|
3
|
+
SantriHub menghubungkan skill dan MCP Santriverse ke AI agent di komputer Anda. Pilih cara sesuai komputer Anda:
|
|
4
|
+
|
|
5
|
+
| Komputer | Cara |
|
|
6
|
+
|---|---|
|
|
7
|
+
| Windows 10/11 | [A. Installer](#a-windows-pakai-installer-disarankan) (paling mudah) |
|
|
8
|
+
| Windows yang menolak installer | [B. Lewat Node.js](#b-windows-lewat-nodejs-jika-installer-diblokir) |
|
|
9
|
+
| macOS | [C. macOS](#c-macos) |
|
|
10
|
+
| Linux | [D. Linux](#d-linux) |
|
|
11
|
+
|
|
12
|
+
Semua cara memakai akun **Member Premium Santriverse** untuk login.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## A. Windows: pakai installer (disarankan)
|
|
17
|
+
|
|
18
|
+
1. Download **SantriHub-Setup.exe**:
|
|
19
|
+
https://github.com/askiya/SANTRI-SKILLS/releases/latest/download/SantriHub-Setup.exe
|
|
20
|
+
2. Buka file yang sudah terdownload.
|
|
21
|
+
3. Jika muncul layar biru **"Windows protected your PC"**, klik **More info**, lalu **Run anyway**.
|
|
22
|
+
Peringatan ini muncul karena installer belum memakai sertifikat berbayar. Aplikasi yang terpasang berjalan di atas Node.js resmi yang sudah ditandatangani.
|
|
23
|
+
4. Klik **Next** sampai selesai. Tidak perlu hak administrator.
|
|
24
|
+
5. SantriHub terbuka otomatis. Selanjutnya buka dari **Start Menu → SantriHub** (atau ikon di Desktop jika dicentang saat instalasi).
|
|
25
|
+
6. Klik **Login**, masuk dengan akun Santriverse di browser, lalu kembali ke SantriHub.
|
|
26
|
+
|
|
27
|
+
Mendukung PC biasa (x64) dan laptop ARM (misalnya Snapdragon). Pembaruan cukup lewat tombol **Update** di dalam SantriHub.
|
|
28
|
+
|
|
29
|
+
> **Installer tidak mau jalan sama sekali?** Biasanya karena *Smart App Control* (Windows 11) atau kebijakan kantor/sekolah. Pakai cara B di bawah.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## B. Windows: lewat Node.js (jika installer diblokir)
|
|
34
|
+
|
|
35
|
+
Cara ini memakai Node.js resmi, jadi tetap jalan di komputer yang menolak installer.
|
|
36
|
+
|
|
37
|
+
### 1. Pasang Node.js (sekali saja)
|
|
38
|
+
|
|
39
|
+
1. Buka https://nodejs.org
|
|
40
|
+
2. Klik tombol download versi **LTS**, lalu pilih **Windows Installer (.msi)**.
|
|
41
|
+
3. Buka file `.msi`, klik **Next** terus dengan pilihan bawaan, lalu **Install**, lalu **Finish**.
|
|
42
|
+
Jika ada centang *"Automatically install the necessary tools"*, biarkan **tidak** dicentang. Tidak dibutuhkan.
|
|
43
|
+
4. Cek: tekan tombol **Windows**, ketik `cmd`, tekan Enter. Di jendela hitam ketik:
|
|
44
|
+
```
|
|
45
|
+
node -v
|
|
46
|
+
```
|
|
47
|
+
Jika muncul angka versi (misalnya `v24.22.2`), Node.js sudah terpasang.
|
|
48
|
+
Jika muncul *"not recognized"*, tutup jendela itu, buka lagi, dan coba ulang (atau restart komputer).
|
|
49
|
+
|
|
50
|
+
### 2. Jalankan SantriHub
|
|
51
|
+
|
|
52
|
+
Di jendela **Command Prompt** (`cmd`) ketik:
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
npx santriverse-skills@latest app
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
- Pertama kali, ketik `y` lalu Enter jika ditanya *"Ok to proceed?"*.
|
|
59
|
+
- Jendela SantriHub akan terbuka. Jendela Command Prompt boleh di-minimize.
|
|
60
|
+
- Untuk membuka lagi lain kali, jalankan perintah yang sama. `@latest` membuat Anda selalu memakai versi terbaru.
|
|
61
|
+
|
|
62
|
+
> Pakai **Command Prompt** (`cmd`), bukan PowerShell. Di PowerShell sering muncul error *"running scripts is disabled"*. Jika terpaksa pakai PowerShell, ketik `npx.cmd santriverse-skills@latest app`.
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## C. macOS
|
|
67
|
+
|
|
68
|
+
Di macOS, SantriHub berjalan sebagai halaman **localhost** di browser Anda (Safari, Chrome, dll.).
|
|
69
|
+
|
|
70
|
+
### 1. Pasang Node.js (sekali saja)
|
|
71
|
+
|
|
72
|
+
1. Buka https://nodejs.org
|
|
73
|
+
2. Download versi **LTS** untuk macOS (**macOS Installer (.pkg)**). Installer ini cocok untuk Mac Intel maupun Apple Silicon (M1/M2/M3/M4).
|
|
74
|
+
3. Buka file `.pkg`, ikuti langkahnya sampai selesai.
|
|
75
|
+
4. Cek: buka **Terminal** (tekan `Cmd + Spasi`, ketik `Terminal`, Enter), lalu ketik:
|
|
76
|
+
```
|
|
77
|
+
node -v
|
|
78
|
+
```
|
|
79
|
+
Muncul angka versi berarti siap.
|
|
80
|
+
|
|
81
|
+
Sudah memakai Homebrew? Cukup `brew install node`.
|
|
82
|
+
|
|
83
|
+
### 2. Jalankan SantriHub
|
|
84
|
+
|
|
85
|
+
Di Terminal ketik:
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
npx santriverse-skills@latest app
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
- Ketik `y` lalu Enter jika ditanya *"Ok to proceed?"*.
|
|
92
|
+
- Browser terbuka di `http://127.0.0.1:4173`. Itulah SantriHub.
|
|
93
|
+
- **Biarkan jendela Terminal tetap terbuka** selama memakai SantriHub. Untuk berhenti, kembali ke Terminal dan tekan `Ctrl + C`.
|
|
94
|
+
- Lain kali, jalankan perintah yang sama lagi.
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## D. Linux
|
|
99
|
+
|
|
100
|
+
Pasang Node.js LTS (lewat https://nodejs.org atau package manager distro Anda), lalu jalankan:
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
npx santriverse-skills@latest app
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Browser default terbuka di `http://127.0.0.1:4173`. Biarkan terminal terbuka; `Ctrl + C` untuk berhenti.
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Setelah terpasang
|
|
111
|
+
|
|
112
|
+
1. **Login** dengan akun Member Premium Santriverse.
|
|
113
|
+
2. Pilih skill di halaman **Skills**, lalu klik pasang.
|
|
114
|
+
3. Daftarkan MCP di halaman **MCP Servers**.
|
|
115
|
+
4. **Reload** AI agent Anda (misalnya Google Antigravity) supaya skill dan MCP terbaca.
|
|
116
|
+
|
|
117
|
+
## Menghapus SantriHub
|
|
118
|
+
|
|
119
|
+
- **Windows (installer):** Settings → Apps → Installed apps → **SantriHub** → Uninstall.
|
|
120
|
+
- **Cara Node.js / macOS / Linux:** tidak ada yang terpasang permanen. Cukup berhenti menjalankan perintahnya.
|
|
121
|
+
|
|
122
|
+
Skill yang sudah terpasang ke AI agent tidak ikut terhapus. Hapus dari dalam SantriHub sebelum uninstall jika ingin bersih.
|
|
123
|
+
|
|
124
|
+
## Ada masalah?
|
|
125
|
+
|
|
126
|
+
**Windows:** download **SantriHub-Diagnosa.zip** dari https://github.com/askiya/SANTRI-SKILLS/releases/latest, ekstrak, lalu klik dua kali `diagnosa-santrihub.cmd`. Laporan `diagnosa-santrihub.txt` muncul di Desktop. Kirim file itu ke admin Santriverse. Skrip ini hanya membaca info sistem dan tidak mengubah apa pun.
|
|
127
|
+
|
|
128
|
+
**macOS/Linux:** kirim screenshot jendela Terminal ke admin Santriverse.
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<img alt="Tested dengan node --test" src="https://img.shields.io/badge/tests-node%20--test-brightgreen">
|
|
9
9
|
<img alt="Node.js 18.17 atau lebih baru" src="https://img.shields.io/badge/node-%3E%3D18.17-339933?logo=nodedotjs&logoColor=white">
|
|
10
10
|
<a href="LICENSE"><img alt="Lisensi MIT" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
|
|
11
|
-
<img alt="npm
|
|
11
|
+
<a href="https://www.npmjs.com/package/santriverse-skills"><img alt="Versi npm" src="https://img.shields.io/npm/v/santriverse-skills?logo=npm&logoColor=white"></a>
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
14
|
CLI tanpa dependency runtime untuk memasang koleksi **Google Apps Script Skills** dan **Pedoman Monorepo Santriverse** ke Google Antigravity sebagai Agent Skills atau MCP server. Katalog bawaan berasal dari [`registry.json`](registry.json). Pengguna juga dapat memasang katalog lokal terverifikasi sendiri melalui `SANTRI_SKILLS_REGISTRY`; URL katalog jarak jauh sengaja belum diterima sampai tersedia signature/pinning agar daftar perintah MCP tidak menjadi celah supply-chain.
|
|
@@ -118,41 +118,52 @@ Kontrak backend:
|
|
|
118
118
|
- `DELETE /skills/session` mencabut sesi saat logout.
|
|
119
119
|
- `GET /skills/catalog` mengembalikan `{success, sources, mcpServers}` yang lolos validator registry ketat.
|
|
120
120
|
|
|
121
|
-
## SantriHub untuk Windows
|
|
121
|
+
## SantriHub untuk Windows, macOS dan Linux
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
Panduan langkah demi langkah untuk member: **[PANDUAN-INSTALASI.md](PANDUAN-INSTALASI.md)**.
|
|
124
124
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
125
|
+
| Sistem | Cara |
|
|
126
|
+
|---|---|
|
|
127
|
+
| Windows 10/11 (x64, ARM64) | [SantriHub-Setup.exe (versi terbaru)](https://github.com/askiya/SANTRI-SKILLS/releases/latest/download/SantriHub-Setup.exe): jendela aplikasi, tanpa Node.js/Git/terminal |
|
|
128
|
+
| Windows yang memblokir installer, macOS, Linux | Node.js LTS + `npx santriverse-skills@latest app` |
|
|
129
|
+
|
|
130
|
+
- **Windows:** dipasang per-user di `%LOCALAPPDATA%\Programs\SantriHub` (tanpa hak administrator), shortcut Start Menu + opsional Desktop, uninstall dari Settings → Apps.
|
|
131
|
+
- Jendelanya adalah dashboard yang sama di dalam Microsoft Edge mode aplikasi (bawaan Windows). Tanpa Edge, SantriHub memakai Google Chrome atau Brave; tanpa ketiganya, dashboard dibuka sebagai tab di browser default dan berhenti sendiri setelah 15 menit tidak dipakai. Menutup jendela menghentikan server lokal; membuka SantriHub dua kali memakai instance yang sama.
|
|
132
|
+
- **macOS/Linux:** `app` menjalankan dashboard di `http://127.0.0.1:4173` (atau port bebas lain) dan membukanya di browser default. Terminal tetap terbuka; `Ctrl+C` menghentikannya.
|
|
133
|
+
- **Halaman AI Agents:** satu tabel untuk mengaktifkan skill dan MCP katalog per AI agent di komputer ini: Google Antigravity, Claude Code, Codex, Gemini CLI, Cursor, VS Code (Copilot), dan Windsurf. Lokasi tiap agent ada di [`src/harnesses.js`](src/harnesses.js). Hanya folder skill bermarker SantriHub dan entri MCP yang dicatat di `~/.santrihub/harness-mcp.json` yang diubah atau dihapus; config lain dipertahankan dan dibackup. Agent yang membaca folder skill agent lain (misalnya Cursor dan VS Code membaca `~/.claude/skills`) ditandai "lewat folder lain".
|
|
134
|
+
- **Halaman Skill Saya:** library skill pribadi di `~/.santrihub/library` ([`src/library.js`](src/library.js)). Impor dari repository GitHub publik mana pun: setiap folder berisi `SKILL.md` ikut beserta file teksnya (script hanya jika dicentang, file > 512 KB dilewati). Repository tanpa `SKILL.md` dibuatkan satu dari `AGENTS.md`/`CLAUDE.md`/`README.md`, dan frontmatter yang kurang (`name`, `description`) diperbaiki otomatis. Skill juga bisa ditulis atau diunggah dari Markdown. **Cek update** mengambil ulang dari GitHub dan memperbarui salinan yang aktif di AI agent. Skill library diaktifkan per agent di halaman AI Agents seperti skill katalog.
|
|
135
|
+
- **SantriHub MCP Gateway** ([`src/mcp-gateway.js`](src/mcp-gateway.js), `santriverse-skills mcp-gateway`): satu entri MCP `santrihub` di setiap agent. Di belakangnya ada MCP katalog yang dicentang di panel Gateway (`~/.santrihub/gateway.json`). Tool dari server `x` ditawarkan sebagai `x__<tool>` (maks 64 karakter) dan panggilannya diteruskan ke server asalnya. Server yang gagal start dilewati tanpa mengganggu yang lain. Yang diteruskan hanya tools; resources dan prompts tidak.
|
|
136
|
+
- **Profil** ([`src/profiles.js`](src/profiles.js)): simpan skill + MCP SantriHub yang aktif di satu agent sebagai profil bernama, lalu terapkan ke agent lain sekali klik (hanya menambahkan). Profil bisa diekspor/impor sebagai JSON (`santrihub-profil.json`) untuk pindah perangkat. Isinya hanya id, tanpa command atau rahasia.
|
|
129
137
|
- **Login tetap wajib Member Premium Santriverse.** Verifikasi berjalan ke API Santriverse pada setiap aksi, persis seperti `dashboard`.
|
|
130
|
-
- Installer belum ditandatangani sertifikat, jadi
|
|
131
|
-
|
|
132
|
-
Dari terminal (Node.js 18.17+), jendela yang sama:
|
|
133
|
-
|
|
134
|
-
```bash
|
|
135
|
-
npx github:askiya/SANTRI-SKILLS app
|
|
136
|
-
```
|
|
138
|
+
- Installer belum ditandatangani sertifikat, jadi SmartScreen dapat menampilkan peringatan (**More info → Run anyway**) dan Smart App Control di Windows 11 dapat memblokir installer-nya. Aplikasi yang terpasang sendiri tidak berisi program tanpa tanda tangan (lihat di bawah). Workflow rilis menandatangani installer otomatis begitu variabel `AZURE_SIGNING_*` diisi (lihat komentar di `.github/workflows/release-santrihub.yml`). Cocokkan hash dengan `SHA256SUMS.txt` di halaman rilis.
|
|
139
|
+
- Tidak bisa dipasang atau dibuka? Jalankan `support/diagnosa-santrihub.cmd` (juga tersedia sebagai `SantriHub-Diagnosa.zip` di halaman rilis). Skrip ini hanya membaca info sistem lalu menulis `diagnosa-santrihub.txt` ke Desktop.
|
|
137
140
|
|
|
138
141
|
### Pembaruan otomatis
|
|
139
142
|
|
|
140
143
|
Saat rilis baru terbit, tombol **⬆ Update vX.Y.Z** muncul di top bar dashboard (dicek lewat redirect `releases/latest` GitHub, di-cache 1 jam).
|
|
141
144
|
|
|
142
|
-
- **
|
|
145
|
+
- **Aplikasi Windows (installer):** klik **Update sekarang** → installer resmi rilis itu diunduh, SHA-256-nya wajib cocok dengan `SHA256SUMS.txt` rilis yang sama, lalu dipasang senyap dan SantriHub terbuka lagi otomatis. Skill dan pengaturan tidak tersentuh.
|
|
143
146
|
- **`npx santriverse-skills dashboard`:** dialog menampilkan perintah `npx santriverse-skills@latest dashboard` untuk disalin.
|
|
144
147
|
|
|
145
|
-
### Cara kerja
|
|
148
|
+
### Cara kerja aplikasi Windows
|
|
149
|
+
|
|
150
|
+
Installer memasang dua hal:
|
|
151
|
+
|
|
152
|
+
- `runtime\node.exe`: **Node.js resmi** (x64 atau ARM64 sesuai CPU) yang tidak diubah sedikit pun, jadi tanda tangan digital OpenJS Foundation tetap sah dan Smart App Control/SmartScreen mengizinkannya. Versi dan SHA-256-nya dipatok di `scripts/build-santrihub.js`.
|
|
153
|
+
- `app\`: aplikasi SantriHub (JavaScript) plus penanda `santrihub-install.json`.
|
|
154
|
+
|
|
155
|
+
Shortcut menjalankan `runtime\node.exe "app\bin\cli.js" app` dalam keadaan minimized; aplikasi lalu menjalankan ulang dirinya tanpa jendela console. MCP yang didaftarkan dashboard memakai `runtime\node.exe app\bin\cli.js mcp-serve`. Path ini tetap sama setelah update, sehingga entri MCP tetap berlaku.
|
|
146
156
|
|
|
147
|
-
`SantriHub.exe`
|
|
157
|
+
Versi ≤ 0.2.5 memakai `SantriHub.exe` (Node.js Single Executable Application). Menambal `node.exe` menghapus tanda tangan aslinya, sehingga exe itu diblokir di sebagian laptop. Saat update, installer menghapus `SantriHub.exe`, dan aplikasi memindahkan entri MCP lama `SantriHub.exe mcp-serve` ke `node.exe` yang baru.
|
|
148
158
|
|
|
149
159
|
### Membuat rilis
|
|
150
160
|
|
|
151
|
-
1. Naikkan `version` di `package.json` (misalnya `0.
|
|
152
|
-
2. Buat dan push tag yang sama persis: `git tag v0.
|
|
153
|
-
3. Workflow [`release-santrihub.yml`](.github/workflows/release-santrihub.yml) di runner Windows menjalankan tes,
|
|
161
|
+
1. Naikkan `version` di `package.json` (misalnya `0.3.0`) dan commit.
|
|
162
|
+
2. Buat dan push tag yang sama persis: `git tag v0.3.0 && git push origin v0.3.0`.
|
|
163
|
+
3. Workflow [`release-santrihub.yml`](.github/workflows/release-santrihub.yml) di runner Windows menjalankan tes, menyiapkan `dist/SantriHub/` (aplikasi + Node.js resmi, tanda tangan OpenJS diverifikasi), smoke test (`--version` dan MCP stdio), membuat `SantriHub-Setup.exe` dengan Inno Setup, menguji install/uninstall diam-diam, lalu menerbitkan GitHub Release berisi installer, `SantriHub-Diagnosa.zip`, dan `SHA256SUMS.txt`.
|
|
164
|
+
4. Publish ke npm (`npm publish`) agar `npx santriverse-skills@latest app` (macOS/Linux/Windows tanpa installer) ikut versi baru.
|
|
154
165
|
|
|
155
|
-
Build lokal
|
|
166
|
+
Build lokal: `npm run build:exe` → `dist/SantriHub/`; installer (Inno Setup 6.3+): `ISCC.exe /DAppVersion=0.3.0 installer\santrihub.iss` → `dist/SantriHub-Setup.exe`.
|
|
156
167
|
|
|
157
168
|
## Santri Code untuk VS Code dan Antigravity
|
|
158
169
|
|
|
@@ -279,6 +290,7 @@ Installer menambahkan entry `santri-skills` tanpa menghapus MCP server lain. Fil
|
|
|
279
290
|
| `santrihub_status` | Bukti read-only proses MCP aktif dan identitas instalasinya; tanpa config/secret |
|
|
280
291
|
| `list_skills` | Daftar skill dan deskripsinya |
|
|
281
292
|
| `get_skill` | Baca isi lengkap satu `SKILL.md` |
|
|
293
|
+
| `get_skill_file` | Daftar file pendukung skill (`references/`, `templates/`, ...) atau baca satu file teks (maks 512 KB, read-only) |
|
|
282
294
|
| `search_docs` | Cari Markdown dari dua repository sumber |
|
|
283
295
|
|
|
284
296
|
Katalog MCP terbatas pada sumber dalam [`registry.json`](registry.json):
|
package/assets/antigravity.svg
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
<svg width="120" height="120" viewBox="0 0 136 136" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<style>
|
|
3
|
-
.fav-bg { fill: #FFFFFF; }
|
|
4
|
-
@media (prefers-color-scheme: dark) {
|
|
5
|
-
.fav-bg { fill: #000000; }
|
|
6
|
-
}
|
|
7
|
-
</style>
|
|
8
|
-
<circle class="fav-bg" cx="68" cy="68" r="65" fill="#FFFFFF"/>
|
|
9
|
-
<g transform="translate(12 10)">
|
|
10
|
-
<path d="M89.6992 93.695C94.3659 97.195 101.366 94.8617 94.9492 88.445C75.6992 69.7783 79.7825 18.445 55.8659 18.445C31.9492 18.445 36.0325 69.7783 16.7825 88.445C9.78251 95.445 17.3658 97.195 22.0325 93.695C40.1159 81.445 38.9492 59.8617 55.8659 59.8617C72.7825 59.8617 71.6159 81.445 89.6992 93.695Z" fill="#3186FF"/>
|
|
11
|
-
<mask id="ag_fav_m" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="13" y="18" width="85" height="78">
|
|
12
|
-
<path d="M89.6992 93.695C94.3659 97.195 101.366 94.8617 94.9492 88.445C75.6992 69.7783 79.7825 18.445 55.8659 18.445C31.9492 18.445 36.0325 69.7783 16.7825 88.445C9.78251 95.445 17.3658 97.195 22.0325 93.695C40.1159 81.445 38.9492 59.8617 55.8659 59.8617C72.7825 59.8617 71.6159 81.445 89.6992 93.695Z" fill="black"/>
|
|
13
|
-
</mask>
|
|
14
|
-
<g mask="url(#ag_fav_m)">
|
|
15
|
-
<g filter="url(#ag_fav_f0)"><ellipse cx="22.7873" cy="26.8098" rx="22.7873" ry="26.8098" transform="matrix(-0.112784 0.99362 -0.99362 -0.112781 66.2473 -15.5344)" fill="#FFE432"/></g>
|
|
16
|
-
<g filter="url(#ag_fav_f1)"><ellipse cx="96.491" cy="35.1231" rx="29.5007" ry="30.1492" transform="rotate(76.9243 96.491 35.1231)" fill="#FC413D"/></g>
|
|
17
|
-
<g filter="url(#ag_fav_f2)"><ellipse cx="9.02988" cy="41.6647" rx="30.832" ry="39.9417" transform="rotate(74.1257 9.02988 41.6647)" fill="#00B95C"/></g>
|
|
18
|
-
<g filter="url(#ag_fav_f3)"><ellipse cx="11.2212" cy="42.8915" rx="30.22" ry="33.2695" transform="rotate(45.6065 11.2212 42.8915)" fill="#00B95C"/></g>
|
|
19
|
-
<g filter="url(#ag_fav_f4)"><ellipse cx="75.7546" cy="104.822" rx="29.0177" ry="27.943" transform="rotate(76.9243 75.7546 104.822)" fill="#3186FF"/></g>
|
|
20
|
-
<g filter="url(#ag_fav_f5)"><ellipse cx="33.5661" cy="35.4043" rx="33.5661" ry="35.4043" transform="matrix(-0.409539 0.912293 -0.912294 -0.409537 101.25 -15.1674)" fill="#FBBC04"/></g>
|
|
21
|
-
<g filter="url(#ag_fav_f6)"><path d="M2.56802 149.695C-15.8116 142.48 15.5987 83.1163 23.4093 63.2203C31.22 43.3244 52.4514 33.0447 70.831 40.26C89.2107 47.4753 110.996 87.2162 103.185 107.112C95.3742 127.008 20.9477 156.91 2.56802 149.695Z" fill="#3186FF"/></g>
|
|
22
|
-
<g filter="url(#ag_fav_f7)"><path d="M113.934 75.8079C109.013 81.5509 96.1724 78.6224 85.253 69.2667C74.3335 59.911 69.4704 47.6711 74.391 41.928C79.3116 36.185 92.1525 39.1136 103.072 48.4692C113.991 57.8249 118.855 70.0648 113.934 75.8079Z" fill="#749BFF"/></g>
|
|
23
|
-
<g filter="url(#ag_fav_f8)"><ellipse cx="92.611" cy="23.7962" rx="44.2411" ry="27.5016" transform="rotate(34.0763 92.611 23.7962)" fill="#FC413D"/></g>
|
|
24
|
-
<g filter="url(#ag_fav_f9)"><ellipse cx="23.4949" cy="29.5887" rx="23.7071" ry="13.7869" transform="rotate(112.516 23.4949 29.5887)" fill="#FFEE48"/></g>
|
|
25
|
-
</g>
|
|
26
|
-
</g>
|
|
27
|
-
<defs>
|
|
28
|
-
<filter id="ag_fav_f0" x="2.49348" y="-26.5423" width="69.0899" height="61.2525" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="3.89034"/></filter>
|
|
29
|
-
<filter id="ag_fav_f1" x="28.7524" y="-32.0333" width="135.477" height="134.313" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="18.8078"/></filter>
|
|
30
|
-
<filter id="ag_fav_f2" x="-62.2884" y="-21.9253" width="142.637" height="127.18" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="15.9884"/></filter>
|
|
31
|
-
<filter id="ag_fav_f3" x="-52.5697" y="-20.8346" width="127.582" height="127.452" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="15.9884"/></filter>
|
|
32
|
-
<filter id="ag_fav_f4" x="17.3619" y="45.4646" width="116.786" height="118.715" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="15.1937"/></filter>
|
|
33
|
-
<filter id="ag_fav_f5" x="-7.44765" y="-60.4737" width="125.303" height="122.858" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="13.7698"/></filter>
|
|
34
|
-
<filter id="ag_fav_f6" x="-27.7086" y="13.3597" width="157.119" height="162.029" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="12.297"/></filter>
|
|
35
|
-
<filter id="ag_fav_f7" x="50.4638" y="16.981" width="87.3973" height="83.7738" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="11.0036"/></filter>
|
|
36
|
-
<filter id="ag_fav_f8" x="34.2604" y="-28.457" width="116.701" height="104.506" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="9.29385"/></filter>
|
|
37
|
-
<filter id="ag_fav_f9" x="-15.1522" y="-15.9493" width="77.2941" height="91.076" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="11.5027"/></filter>
|
|
38
|
-
</defs>
|
|
39
|
-
</svg>
|
|
1
|
+
<svg width="120" height="120" viewBox="0 0 136 136" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<style>
|
|
3
|
+
.fav-bg { fill: #FFFFFF; }
|
|
4
|
+
@media (prefers-color-scheme: dark) {
|
|
5
|
+
.fav-bg { fill: #000000; }
|
|
6
|
+
}
|
|
7
|
+
</style>
|
|
8
|
+
<circle class="fav-bg" cx="68" cy="68" r="65" fill="#FFFFFF"/>
|
|
9
|
+
<g transform="translate(12 10)">
|
|
10
|
+
<path d="M89.6992 93.695C94.3659 97.195 101.366 94.8617 94.9492 88.445C75.6992 69.7783 79.7825 18.445 55.8659 18.445C31.9492 18.445 36.0325 69.7783 16.7825 88.445C9.78251 95.445 17.3658 97.195 22.0325 93.695C40.1159 81.445 38.9492 59.8617 55.8659 59.8617C72.7825 59.8617 71.6159 81.445 89.6992 93.695Z" fill="#3186FF"/>
|
|
11
|
+
<mask id="ag_fav_m" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="13" y="18" width="85" height="78">
|
|
12
|
+
<path d="M89.6992 93.695C94.3659 97.195 101.366 94.8617 94.9492 88.445C75.6992 69.7783 79.7825 18.445 55.8659 18.445C31.9492 18.445 36.0325 69.7783 16.7825 88.445C9.78251 95.445 17.3658 97.195 22.0325 93.695C40.1159 81.445 38.9492 59.8617 55.8659 59.8617C72.7825 59.8617 71.6159 81.445 89.6992 93.695Z" fill="black"/>
|
|
13
|
+
</mask>
|
|
14
|
+
<g mask="url(#ag_fav_m)">
|
|
15
|
+
<g filter="url(#ag_fav_f0)"><ellipse cx="22.7873" cy="26.8098" rx="22.7873" ry="26.8098" transform="matrix(-0.112784 0.99362 -0.99362 -0.112781 66.2473 -15.5344)" fill="#FFE432"/></g>
|
|
16
|
+
<g filter="url(#ag_fav_f1)"><ellipse cx="96.491" cy="35.1231" rx="29.5007" ry="30.1492" transform="rotate(76.9243 96.491 35.1231)" fill="#FC413D"/></g>
|
|
17
|
+
<g filter="url(#ag_fav_f2)"><ellipse cx="9.02988" cy="41.6647" rx="30.832" ry="39.9417" transform="rotate(74.1257 9.02988 41.6647)" fill="#00B95C"/></g>
|
|
18
|
+
<g filter="url(#ag_fav_f3)"><ellipse cx="11.2212" cy="42.8915" rx="30.22" ry="33.2695" transform="rotate(45.6065 11.2212 42.8915)" fill="#00B95C"/></g>
|
|
19
|
+
<g filter="url(#ag_fav_f4)"><ellipse cx="75.7546" cy="104.822" rx="29.0177" ry="27.943" transform="rotate(76.9243 75.7546 104.822)" fill="#3186FF"/></g>
|
|
20
|
+
<g filter="url(#ag_fav_f5)"><ellipse cx="33.5661" cy="35.4043" rx="33.5661" ry="35.4043" transform="matrix(-0.409539 0.912293 -0.912294 -0.409537 101.25 -15.1674)" fill="#FBBC04"/></g>
|
|
21
|
+
<g filter="url(#ag_fav_f6)"><path d="M2.56802 149.695C-15.8116 142.48 15.5987 83.1163 23.4093 63.2203C31.22 43.3244 52.4514 33.0447 70.831 40.26C89.2107 47.4753 110.996 87.2162 103.185 107.112C95.3742 127.008 20.9477 156.91 2.56802 149.695Z" fill="#3186FF"/></g>
|
|
22
|
+
<g filter="url(#ag_fav_f7)"><path d="M113.934 75.8079C109.013 81.5509 96.1724 78.6224 85.253 69.2667C74.3335 59.911 69.4704 47.6711 74.391 41.928C79.3116 36.185 92.1525 39.1136 103.072 48.4692C113.991 57.8249 118.855 70.0648 113.934 75.8079Z" fill="#749BFF"/></g>
|
|
23
|
+
<g filter="url(#ag_fav_f8)"><ellipse cx="92.611" cy="23.7962" rx="44.2411" ry="27.5016" transform="rotate(34.0763 92.611 23.7962)" fill="#FC413D"/></g>
|
|
24
|
+
<g filter="url(#ag_fav_f9)"><ellipse cx="23.4949" cy="29.5887" rx="23.7071" ry="13.7869" transform="rotate(112.516 23.4949 29.5887)" fill="#FFEE48"/></g>
|
|
25
|
+
</g>
|
|
26
|
+
</g>
|
|
27
|
+
<defs>
|
|
28
|
+
<filter id="ag_fav_f0" x="2.49348" y="-26.5423" width="69.0899" height="61.2525" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="3.89034"/></filter>
|
|
29
|
+
<filter id="ag_fav_f1" x="28.7524" y="-32.0333" width="135.477" height="134.313" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="18.8078"/></filter>
|
|
30
|
+
<filter id="ag_fav_f2" x="-62.2884" y="-21.9253" width="142.637" height="127.18" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="15.9884"/></filter>
|
|
31
|
+
<filter id="ag_fav_f3" x="-52.5697" y="-20.8346" width="127.582" height="127.452" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="15.9884"/></filter>
|
|
32
|
+
<filter id="ag_fav_f4" x="17.3619" y="45.4646" width="116.786" height="118.715" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="15.1937"/></filter>
|
|
33
|
+
<filter id="ag_fav_f5" x="-7.44765" y="-60.4737" width="125.303" height="122.858" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="13.7698"/></filter>
|
|
34
|
+
<filter id="ag_fav_f6" x="-27.7086" y="13.3597" width="157.119" height="162.029" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="12.297"/></filter>
|
|
35
|
+
<filter id="ag_fav_f7" x="50.4638" y="16.981" width="87.3973" height="83.7738" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="11.0036"/></filter>
|
|
36
|
+
<filter id="ag_fav_f8" x="34.2604" y="-28.457" width="116.701" height="104.506" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="9.29385"/></filter>
|
|
37
|
+
<filter id="ag_fav_f9" x="-15.1522" y="-15.9493" width="77.2941" height="91.076" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="11.5027"/></filter>
|
|
38
|
+
</defs>
|
|
39
|
+
</svg>
|
package/bin/cli.js
CHANGED
|
@@ -41,9 +41,10 @@ Penggunaan:
|
|
|
41
41
|
npx santriverse-skills list Daftar skill dari semua repo
|
|
42
42
|
npx santriverse-skills mcp-install Daftarkan MCP server ke Antigravity
|
|
43
43
|
npx santriverse-skills mcp-serve Jalankan MCP stdio server
|
|
44
|
+
npx santriverse-skills mcp-gateway Jalankan SantriHub MCP Gateway (MCP pilihan di SantriHub)
|
|
44
45
|
npx santriverse-skills uninstall Hapus instalasi milik Santri Skills
|
|
45
46
|
npx santriverse-skills dashboard Buka dashboard localhost (pilih skill/MCP via browser)
|
|
46
|
-
npx santriverse-skills app Buka SantriHub
|
|
47
|
+
npx santriverse-skills app Buka SantriHub (Windows: jendela aplikasi; macOS/Linux: browser)
|
|
47
48
|
|
|
48
49
|
Opsi:
|
|
49
50
|
--scope=project|global Target instalasi (default: tanya)
|
|
@@ -122,7 +123,12 @@ async function main() {
|
|
|
122
123
|
const { command, flags } = parse(process.argv.slice(2));
|
|
123
124
|
if (flags.version || command === 'version') return console.log(pkg.version);
|
|
124
125
|
if (command === 'mcp-serve') return require('../src/mcp-server').serve(); // stdout must stay JSON-only
|
|
125
|
-
if (command === '
|
|
126
|
+
if (command === 'mcp-gateway') return require('../src/mcp-gateway').serve(); // ditto
|
|
127
|
+
if (command === 'app') {
|
|
128
|
+
// Windows: app window (Edge/Chrome/Brave). macOS/Linux: dashboard in the default browser.
|
|
129
|
+
if (process.platform === 'win32') return require('../src/desktop-host').startDesktop({ version: pkg.version });
|
|
130
|
+
return require('../src/browser-app').startBrowserApp({ version: pkg.version });
|
|
131
|
+
}
|
|
126
132
|
|
|
127
133
|
console.log(banner(pkg.version));
|
|
128
134
|
if (flags.help || command === 'help') return console.log(help());
|
|
@@ -147,5 +153,7 @@ async function main() {
|
|
|
147
153
|
|
|
148
154
|
main().catch((err) => {
|
|
149
155
|
console.error(`\n ${c.red('✗')} ${err.message}\n`);
|
|
156
|
+
// The installed Windows app has no visible console: say it in a message box too.
|
|
157
|
+
if (process.platform === 'win32' && process.argv[2] === 'app') require('../src/desktop-host').alertStartupFailure(err);
|
|
150
158
|
process.exitCode = 1;
|
|
151
159
|
});
|