hanoman 0.1.52 → 0.1.54

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.54",
3
+ "sha": "60388865",
4
+ "builtAt": "2026-08-21T02:07:30.384Z"
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`,
@@ -7273,6 +7284,28 @@ var init_terminal_workspace = __esm({
7273
7284
  }
7274
7285
  });
7275
7286
 
7287
+ // ../shared/src/terminal-io.ts
7288
+ var TERMINAL_RESPONSE;
7289
+ var init_terminal_io = __esm({
7290
+ "../shared/src/terminal-io.ts"() {
7291
+ "use strict";
7292
+ TERMINAL_RESPONSE = new RegExp([
7293
+ "\\x1b\\[[?>][0-9;]*c",
7294
+ // balasan DA
7295
+ "\\x1b\\[\\??[0-9]+;[0-9]+R",
7296
+ // CPR / DECXCPR
7297
+ "\\x1b\\[\\??[0-9;]*n",
7298
+ // balasan DSR
7299
+ "\\x1b\\[\\??[0-9;]*\\$y",
7300
+ // DECRPM
7301
+ "\\x1b\\][0-9][0-9;]*;[^\\x07\\x1b]*(?:\\x07|\\x1b\\\\)",
7302
+ // balasan warna OSC
7303
+ "\\x1bP[0-9]*[$+>][a-z|][^\\x1b]*\\x1b\\\\"
7304
+ // DECRPSS / XTGETTCAP / XTVERSION
7305
+ ].join("|"), "g");
7306
+ }
7307
+ });
7308
+
7276
7309
  // ../shared/src/index.ts
7277
7310
  var init_src = __esm({
7278
7311
  "../shared/src/index.ts"() {
@@ -7307,6 +7340,7 @@ var init_src = __esm({
7307
7340
  init_changelog();
7308
7341
  init_cron_expr();
7309
7342
  init_terminal_workspace();
7343
+ init_terminal_io();
7310
7344
  }
7311
7345
  });
7312
7346