Justin Lin
634dc8f987
refactor: use bun in Dockerfile and CI workflow
2026-10-11 17:24:12 +11:00
Justin Lin
2feedc329c
refactor: use bun for package management
...
+ add package.json to each packages
+ update import path
2026-10-11 16:50:01 +11:00
Justin Lin
0b08a9a5d9
feat: init cmd-hook and move terminal-service to services directory
...
feat: put cmd-hook in container
feat: cmd-hook request type, auto restart setup
feat: handle ls
2025-05-05 19:51:06 +08:00
Justin Lin
f0a09ac4d9
Feat filegraph ( #194 )
...
* feat: update filegraph on touch command
* feat: update filegraph on mkdir
* feat: add different parsing opts for each command
* refactor: replace axios with fetch. put handleCommand to a new file
* feat: add config for mounting cli in dev stage
* refactor: clean up unused validators
* feat: add command handler for copy files. reuse resolvePath function
* feat: add rm handler, support specific files deletion. Glob not supported yet
* feat: handle discover cases that the folder is actually empty
* feat: handle discover empty folder better and support rmdir
* feat: handle mv command
* refactor: remove unused console logs
2025-04-29 20:40:02 +08:00
Justin Lin
9498bb77ef
fix: linting
2025-04-26 17:02:47 +08:00
Justin Lin
f7e2b00358
fix: test in game and file-graph
2025-04-26 12:52:12 +08:00
Justin Lin
26e79690f8
feat: add pwd handling to session and update related components
2025-04-25 11:33:16 +08:00
Justin Lin
87b8ca5d04
wip: replace packages with pure files
2025-04-24 23:20:40 +08:00
Justin Lin
2d95ca382f
wip: integrate filegraph into session
2025-04-24 22:05:10 +08:00
Justin Lin
cdd22634e0
refactor: replace "folder" with "directory" across file handling components and tests
2025-04-24 21:24:55 +08:00
Justin Lin
7e50c8e06c
refactor: remove condition tests and update file node interfaces in game session
...
TODO: replace "folder" with "directory"
2025-04-24 18:10:47 +08:00
Justin Lin
ab63595fba
feat: add JSON schema for quest
2025-04-23 17:40:55 +08:00
Justin Lin
52e9a13645
feat: add isFinished method to GameSession and update commandController to handle session completion
2025-04-23 17:10:51 +08:00
Justin Lin
cfbc386c16
refactor: update file-graph package structure and integrate with game session management
2025-04-23 17:04:00 +08:00
Justin Lin
b4b8f8baee
feat: load responses and tasks from existing session
2025-04-23 16:17:10 +08:00
Justin Lin
1616f62755
wip: migrate backend to new game package
2025-04-21 22:40:11 +08:00
Justin Lin
1d843f7355
refactor: remove unused quest-related schemas and consolidate exports
2025-04-21 21:42:54 +08:00
Justin Lin
d2cdd1304a
feat: getTasks
2025-04-21 18:31:33 +08:00
Justin Lin
254e4f75ed
feat: include responses from Exceptions
2025-04-21 12:31:53 +08:00
Justin Lin
0f0f43b838
refactor: Create a new super class Event and prevent duplicate logic
2025-04-21 12:23:09 +08:00
Justin Lin
2dc40a2254
refactor: add new name "Event" for the set Stage and Exception
2025-04-21 11:58:05 +08:00
Justin Lin
6e804f0ed4
refactor: reuse satisfies function in condition
2025-04-21 11:53:32 +08:00
Justin Lin
3656868b66
feat: catch-all exceptions
2025-04-21 11:45:23 +08:00
Justin Lin
cfce5ececa
feat: add global exceptions
2025-04-21 11:41:07 +08:00
Justin Lin
fb823814e0
feat: add stage exceptions
2025-04-21 11:19:59 +08:00
Justin Lin
f7780c3d98
feat: add get responses
2025-04-18 15:17:25 +08:00
Justin Lin
dae9e841ca
feat: add run command
2025-04-18 15:04:28 +08:00
Justin Lin
e622011b21
feat: add quest class and session getActiveStages
2025-04-18 14:54:10 +08:00
Justin Lin
471b781d85
refactor: separate schema to files
2025-04-18 14:33:41 +08:00
Justin Lin
19c44fbe52
wip: game schema
2024-10-10 16:22:20 +08:00
wancat
b449ea455a
feat: add Session and stage active check
2024-03-08 01:05:26 +08:00
wancat
5bea2ea78c
feat: add stage condition checks
2024-03-08 00:47:50 +08:00
wancat
77fe2d37b3
feat: create stage
2024-03-08 00:38:49 +08:00
wancat
65ad72223b
feat: add checkfiles into Condition
2024-03-08 00:24:51 +08:00
wancat
d612b2d6af
feat: add file matcher
2024-03-08 00:13:38 +08:00
wancat
b5e20766a3
refactor: rename paths
2024-03-07 00:50:42 +08:00
wancat
e5f5590a67
feat: add "or" and "not" matchers
2024-03-07 00:42:49 +08:00
wancat
e83d913852
refactor: separate matchers
2024-03-07 00:25:50 +08:00
wancat
8280f7073d
refactor: remove unnecessary patter matcher
2024-03-06 23:57:35 +08:00
wancat
4f3752060d
feat: condition matcher
2024-03-06 23:54:03 +08:00
wancat
cb26e1dcb0
feat: add output matcher
2024-03-06 23:32:23 +08:00
wancat
9eb08b45f4
feat: add pwdmatcher and update error matcher
2024-03-06 23:28:28 +08:00
wancat
3b4a808131
feat: create pattern and command matcher
2024-03-06 23:06:52 +08:00