Commit graph

18 commits

Author SHA1 Message Date
Max
efc84fbb97 feat(doc): add yao doc CLI commands and YAML documentation for all packages
Implement yao doc process list/inspect/validate and yao doc runtime
list/inspect/validate commands. Validate uses engine addressing logic
(process.Of) and checks dynamic-ID group registries (model, store, fs,
task, schedule) to verify resources actually exist.

- cmd/doc/: CLI command tree with process and runtime subcommands
- cmd/root.go: wire docCmd into rootCmd
- 27 process doc.yml + doc.go pairs across yao packages
- cmd/doc/doc_test.go: integration tests

Made-with: Cursor
2026-04-23 21:37:43 +08:00
Max
c425b74383 Refactor error handling in various components to improve logging and message formatting
- Updated error messages to use fmt.Errorf with %s for better clarity and consistency.
- Enhanced logging statements to utilize formatted strings for improved readability.
- Refactored multiple Load functions across different modules to standardize error handling practices.
2025-09-28 10:24:17 +08:00
Max
fabced291c fix: Enhance loading functions to handle non-existent directories
- Added checks in various loading functions to ignore processing if the respective directories do not exist, improving error handling and preventing unnecessary operations.
- Updated the Load function signature to return warnings alongside errors, allowing for better feedback on loading issues across different components.
2025-05-13 09:10:10 +08:00
Max
8371a8959f chore: Update go-colorable dependency to v0.1.14 and refactor expression execution
- Bump github.com/mattn/go-colorable from v0.1.13 to v0.1.14 in go.mod and go.sum.
- Refactor expression execution in pipe and core data handling to use a map for improved type safety.
2025-03-28 23:37:13 +08:00
Max
8095996c95 Refactor WithGlobal method to handle nil data 2024-02-17 21:34:32 +08:00
Max
6b90d097e2 Update pipe widget with new processes 2024-02-17 21:12:28 +08:00
Max
2a867c0709 Fix error handling in process_test.go 2024-02-15 14:58:19 +08:00
Max
063568828b Add utils package import and dump output in process_test.go 2024-02-15 14:27:33 +08:00
Max
67090b0e31 Update pipe method names 2024-02-15 11:41:07 +08:00
Max
df3b173e4d Add new features to pipe module 2024-02-15 11:38:05 +08:00
Max
4c3db3a9a8 Update Pipe Widget documentation and add support for creating and running pipes using DSL 2024-02-15 11:32:26 +08:00
Max
24bf9c05a0 pipe widget add process handlers 2024-02-15 10:48:44 +08:00
Max
52a008bbcb Refactor UI rendering and add support for web UI 2024-02-15 10:10:33 +08:00
Max
14a97da330 Update API mirror URL and fix test case 2024-02-14 22:01:27 +08:00
Max
92a06bd5c2 Fix error handling in TestRun function 2024-02-14 21:41:12 +08:00
Max
864b35ecf1 [add] pipe widget (dev 80%) 2024-02-14 21:33:04 +08:00
Max
35bf78b08d [add] pipe widget (dev) 2024-02-13 20:54:25 +08:00
Max
ae599ec2e7 [add] pipe widget (dev) 2024-02-12 21:08:31 +08:00