hanoman 0.1.52 → 0.1.53

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.52",
3
- "sha": "63ccb72e",
4
- "builtAt": "2026-08-20T13:00:54.064Z"
2
+ "version": "0.1.53",
3
+ "sha": "b9082276",
4
+ "builtAt": "2026-08-20T22:42:53.323Z"
5
5
  }
package/dist/cli.js CHANGED
@@ -5611,9 +5611,20 @@ var init_api = __esm({
5611
5611
  // SPEC-255 · ADR-0064 · rename slug project (efek: DSN, Help Center, sync).
5612
5612
  projectRename: (id) => `${API}/projects/${encodeURIComponent(id)}/rename`,
5613
5613
  branches: (id) => `${API}/projects/${id}/branches`,
5614
- // SPEC-360 · ADR-0077 · branch ter-merge (nilai turunan git) + hapus batch local/origin.
5615
- branchesUnused: (id, base) => `${API}/projects/${id}/branches/unused${base ? `?base=${encodeURIComponent(base)}` : ""}`,
5614
+ // SPEC-360 · ADR-0077 · daftar branch (nilai turunan git) + hapus batch local/origin.
5615
+ // SPEC-859 · `include=all` memuat branch yang belum ter-merge; tanpa itu hanya yang ter-merge.
5616
+ branchesUnused: (id, base, include) => {
5617
+ const q = new URLSearchParams();
5618
+ if (base) q.set("base", base);
5619
+ if (include) q.set("include", include);
5620
+ const s2 = q.toString();
5621
+ return `${API}/projects/${id}/branches/unused${s2 ? `?${s2}` : ""}`;
5622
+ },
5616
5623
  branchesDelete: (id) => `${API}/projects/${id}/branches/delete`,
5624
+ // SPEC-861 · ADR-0132 · worktree HIDUP (nilai turunan git) + sinyal mahal per baris + hapus batch.
5625
+ worktrees: (id) => `${API}/projects/${id}/worktrees`,
5626
+ worktreeStats: (id, name) => `${API}/projects/${id}/worktrees/stats?name=${encodeURIComponent(name)}`,
5627
+ worktreesDelete: (id) => `${API}/projects/${id}/worktrees/delete`,
5617
5628
  // SPEC-217 · path per-mesin (LocalBinding, tak disync) + clone dari gitRemote
5618
5629
  binding: (id) => `${API}/projects/${id}/binding`,
5619
5630
  clone: (id) => `${API}/projects/${id}/clone`,