catenext 0.0.0-stage → 0.1.1
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 +48 -0
- package/LICENSE +21 -0
- package/README.md +45 -2
- package/dist/index.js +2719 -0
- package/dist/index.js.map +7 -0
- package/package.json +60 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
Semua perubahan penting Catenext dicatat di sini, satu bagian per versi rilis CLI
|
|
4
|
+
(`catenext` di npm). Format mengikuti [Keep a Changelog](https://keepachangelog.com/id/1.1.0/)
|
|
5
|
+
dan versi memakai [SemVer](https://semver.org/lang/id/).
|
|
6
|
+
|
|
7
|
+
Aturan: setiap PR yang mengubah perilaku menambah baris di **Belum dirilis**. Saat rilis, bagian
|
|
8
|
+
itu diganti judul versi + tanggal (`## [X.Y.Z] - YYYY-MM-DD`), dan workflow *Release CLI* menolak
|
|
9
|
+
tag yang versinya belum ada di file ini. Perbarui juga [docs/STATUS.md](docs/STATUS.md).
|
|
10
|
+
|
|
11
|
+
## [Belum dirilis]
|
|
12
|
+
|
|
13
|
+
## [0.1.1] - 2026-11-25
|
|
14
|
+
|
|
15
|
+
### Diperbaiki
|
|
16
|
+
- CLI kini terhubung ke server resmi `https://catenext.mapan.digital` secara default. Di 0.1.0
|
|
17
|
+
default-nya `http://localhost:8787`, sehingga `catenext login` perlu `--api-url`.
|
|
18
|
+
Server lokal tetap bisa dipakai lewat `--api-url http://localhost:8787` atau `CATENEXT_API_URL`.
|
|
19
|
+
|
|
20
|
+
### Ditambahkan
|
|
21
|
+
- `CHANGELOG.md` dan `docs/STATUS.md`; rilis CLI gagal bila versinya belum dicatat di changelog.
|
|
22
|
+
- Paket npm menyertakan `CHANGELOG.md`.
|
|
23
|
+
|
|
24
|
+
## [0.1.0] - 2026-11-25
|
|
25
|
+
|
|
26
|
+
Rilis publik pertama. Web + API live di https://catenext.mapan.digital (paket Free; Pro/Team
|
|
27
|
+
sudah dibangun tetapi terkunci, "Segera hadir").
|
|
28
|
+
|
|
29
|
+
### Ditambahkan
|
|
30
|
+
- **CLI `catenext`**: `login` lewat browser (device flow, API key dikirim terenkripsi X25519 +
|
|
31
|
+
AES-GCM, opsi `--with-key`/`--no-browser`), `init` (konfigurasi MCP untuk Claude Code, Cursor,
|
|
32
|
+
OpenCode + blok `AGENTS.md`), `verify`, `sync` (`--dry-run`/`--fix`), `remove`, perintah
|
|
33
|
+
epic/task/persona, dan fallback tanpa MCP: `next`, `claim`, `done`, `block`.
|
|
34
|
+
- **Server MCP (stdio)**: konteks proyek dan handoff hulu, ambil/klaim/selesaikan task, rencana
|
|
35
|
+
epic → task, persona, `load_skill` dan `save_repo_skill` (skill repo di `.catenext/skills/`).
|
|
36
|
+
- **API** (Hono + Better-Auth + Drizzle, Postgres dengan RLS per workspace): proyek, epic, task
|
|
37
|
+
dengan dependensi (`is_ready`, `blocked_by`), handoff, persona, API key, activity dengan nama
|
|
38
|
+
agen, SSE.
|
|
39
|
+
- **Kuota paket Free** (1 proyek, 1 epic aktif, 25 task/bulan, 500 panggilan tulis, 5.000 baca,
|
|
40
|
+
60 req/menit, retensi 14 hari) dengan 402/429 dan header peringatan ≥80%.
|
|
41
|
+
- **Web**: dashboard proyek, onboarding 6 langkah, 2 template epic (fitur login, CRUD API), kartu
|
|
42
|
+
kuota, halaman paket, Keamanan & Akses, halaman persetujuan `/device` untuk login CLI.
|
|
43
|
+
- **Deploy**: Docker Compose + Caddy, skrip VPS, `.env` acak, backup terenkripsi harian, restore,
|
|
44
|
+
update; runbook untuk VPS bersama di belakang nginx.
|
|
45
|
+
- **Rilis npm** lewat mirror publik `TenkuryuCode/catenext-cli` dengan provenance SLSA.
|
|
46
|
+
|
|
47
|
+
### Catatan
|
|
48
|
+
- Default API URL 0.1.0 masih `http://localhost:8787` (diperbaiki di 0.1.1).
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Raihan Prasetia
|
|
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.
|
package/README.md
CHANGED
|
@@ -1,3 +1,46 @@
|
|
|
1
|
-
#
|
|
1
|
+
# catenext
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
CLI & server MCP lokal untuk **Catenext**: estafet task dan konteks antar-agen AI coding
|
|
4
|
+
(Claude Code, Cursor, Codex, OpenCode, ...) tanpa kehilangan konteks.
|
|
5
|
+
|
|
6
|
+
- **Zero Source-Code Upload**: Cloud hanya menerima metadata dan ringkasan handoff pendek. Kode
|
|
7
|
+
tetap di repo Anda.
|
|
8
|
+
- **Secret-scrubber lokal**: handoff, rencana, dan skill disensor di mesin Anda sebelum dikirim.
|
|
9
|
+
- **Setup bersih**: `init --dry-run` menampilkan diff dulu, `remove` membersihkan semuanya.
|
|
10
|
+
- Repo ini adalah mirror publik CLI. Setiap rilis npm dibuat oleh GitHub Actions di repo ini
|
|
11
|
+
dengan [npm provenance](https://docs.npmjs.com/generating-provenance-statements), jadi Anda bisa
|
|
12
|
+
memverifikasi bahwa paket dibangun dari source yang terlihat di sini.
|
|
13
|
+
|
|
14
|
+
## Mulai
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install -g catenext # atau: npx catenext <perintah>
|
|
18
|
+
catenext login # tempel API key dari Dashboard > Keamanan & Akses
|
|
19
|
+
cd ~/code/backend
|
|
20
|
+
catenext init --project <project_id> --dry-run # lihat perubahan dulu
|
|
21
|
+
catenext init --project <project_id>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
`init` menulis `.catenext/config.yaml`, satu entri MCP `"catenext"` untuk Claude Code (`.mcp.json`)
|
|
25
|
+
dan Cursor (`.cursor/mcp.json`), satu baris `.gitignore`, dan blok petunjuk di `AGENTS.md`.
|
|
26
|
+
Mulai ulang IDE, lalu minta agen: "ambil task Catenext berikutnya".
|
|
27
|
+
|
|
28
|
+
## Perintah
|
|
29
|
+
|
|
30
|
+
| Perintah | Fungsi |
|
|
31
|
+
| --- | --- |
|
|
32
|
+
| `catenext login` | Simpan API key di `~/.catenext/credentials.json` (izin 0600) |
|
|
33
|
+
| `catenext init [--dry-run]` | Pasang Catenext di repo ini |
|
|
34
|
+
| `catenext sync [--fix] [--dry-run]` | Selaraskan entri MCP & indeks skill; `--fix` memperbaiki entri basi/duplikat |
|
|
35
|
+
| `catenext remove [--all]` | Hapus semua jejak Catenext dari repo ini |
|
|
36
|
+
| `catenext next` / `claim` / `done` / `block` | Fallback untuk agen tanpa MCP |
|
|
37
|
+
| `catenext epic` / `task` / `persona` | Merencanakan dari terminal |
|
|
38
|
+
| `catenext mcp` | Server MCP stdio (dijalankan otomatis oleh IDE) |
|
|
39
|
+
|
|
40
|
+
Tool MCP: `get_project_context`, `get_ready_tasks`, `claim_task`, `complete_handoff`,
|
|
41
|
+
`report_blocker`, `create_tasks`, `list_epics`, `create_epic`, `list_personas`, `upsert_persona`,
|
|
42
|
+
`load_skill`, `save_repo_skill`.
|
|
43
|
+
|
|
44
|
+
## Lisensi
|
|
45
|
+
|
|
46
|
+
MIT
|