Commit Graph

18 Commits

Author SHA1 Message Date
hypercross 70b1ac1e43 refactor: change how we define command 2026-04-06 10:06:04 +08:00
hypercross 2d5200bdb7 refactor: renaming api 2026-04-06 09:48:20 +08:00
hypercross dd73deabb0 refactor: just throw Error if fail 2026-04-04 23:42:49 +08:00
hypercross b90a4bba52 refactor: massive way of writing fix 2026-04-04 21:53:37 +08:00
hypercross 9e2947a8d6 refactor: prompt validation 2026-04-04 21:38:07 +08:00
hypercross af9254603a refactor: don't use this 2026-04-04 20:57:58 +08:00
hypercross 6e1c42015f refactor: api surface change 2026-04-04 20:50:17 +08:00
hypercross be4ff7ae08 feat: add currentPlayer to prompt 2026-04-04 11:01:25 +08:00
hypercross 6c8d6e0790 refactor: add promptEnd event 2026-04-04 01:00:46 +08:00
hypercross b1b059de8c refactor: improved PromptEvent handling 2026-04-03 14:10:42 +08:00
hyper c886e904a8 refactor: change PromptEvent reject/resolve to cancel/tryCommit 2026-04-02 19:08:14 +08:00
hypercross 2581a8e0e6 refactor: add src alias to @/ 2026-04-02 16:03:44 +08:00
hypercross 4f49599527 fix: fix imports 2026-04-02 15:36:32 +08:00
hypercross e945d28fc3 refactor: even tighter api 2026-04-02 14:46:34 +08:00
hypercross 5042d6ebc7 refactor: allow run command to return a typed result 2026-04-02 10:38:31 +08:00
hypercross 40788d445d refactor: replace rule.ts with a command runner based solution 2026-04-02 09:33:03 +08:00
hypercross bcb31da773 refactor: move runner context to handler's this 2026-04-02 09:05:47 +08:00
hypercross 3bc35df63c feat: add command runner and registry 2026-04-02 08:58:11 +08:00