Max
595709f834
# Enhanced Yao AI Agent SDK
...
Improved the Yao AI Agent SDK with better type definitions and error handling.
## Key Updates
- Added typed interfaces for attachments and messages
- Optimized attachment handling (only send when present)
- Enhanced error handling with specific error messages
- Improved event system for message streaming
- Added comprehensive TypeScript definitions
2025-05-05 12:48:58 +08:00
Max
77efc03582
feat: Enhance global build context and component handling
...
- Update NewGlobalBuildContext to accept a template parameter for improved context management.
- Refactor component handling in Compile method to include JIT components, enhancing dynamic component loading.
- Modify TemplateRender to utilize the updated global context, improving template processing.
- Adjust component attribute parsing to use "s:route" for better clarity in component identification.
2025-04-23 16:08: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
e59dacefa2
Improve error handling in request value execution
...
- Modify request value execution to log errors when method calls fail
- Prevent propagation of errors during value resolution
- Update error message in data merging to be more descriptive
2025-03-06 10:48:27 +08:00
Max
68a97a48e6
Update URL handling in request data to use mapped URL
2024-12-03 16:21:52 +08:00
Max
35911de0ea
Enhance SEO metadata handling by adding keywords support and fixing og:title attribute syntax
2024-11-29 11:12:37 +08:00
Max
574c2aad82
fix sui dynamic components render bug
2024-09-30 18:42:42 +08:00
Max
371490360e
fix misspelling
2024-09-30 17:07:29 +08:00
Max
369d6cc4d8
fix sui dynamic components import bug
2024-09-30 17:02:24 +08:00
Max
896e52a52a
Fix PublicRoot bug and get Sid from request
2024-09-25 08:25:37 +08:00
Max
67ad169bf5
Refactor dynamic component parsing in SUI core
2024-09-11 09:24:34 +08:00
Max
fb6518e91f
Fix the bug in real-time rendering mode
2024-09-10 16:29:15 +08:00
Max
07353d0084
Add s:route attribute to real time render components
2024-09-03 17:40:31 +08:00
Max
d00b62caf1
Refactor event binding in SUI core to support just-in-time mode
2024-09-02 18:28:16 +08:00
Max
db033a10fd
[add] SUI real-time rendering mode supports event binding (page event only)
2024-09-02 17:04:22 +08:00
Max
a3d2baef40
Refactor component attribute handling to support spread operator
2024-08-30 10:42:25 +08:00
Max
219f71b00e
chore: Refactor TemplateRender to handle optional request parameters
2024-08-23 12:20:33 +08:00
Max
0f6bc06172
fix render public root bug
2024-08-10 17:18:35 +08:00
Max
80779bb0fc
[feat] add SUI template.render process
2024-08-10 16:58:38 +08:00
Max
f531b32634
Improve SUI Component element manipulation methods and add queryAll method
2024-08-08 18:57:47 +08:00
Max
38884a7b0c
Improve SUI Component element manipulation methods and add queryAll method
2024-08-07 17:42:16 +08:00
Max
252e1793ac
chore: Add empty expression helper and improve SUI Component element manipulation methods
2024-08-07 11:11:11 +08:00
Max
f6ae0cef47
[add] Empty expression helper
2024-08-07 11:08:25 +08:00
Max
c5cf0babf9
Refactor component initialization script to include injected code
2024-08-07 11:02:43 +08:00
Max
f44021d582
chore: improve SUI Component element manipulation methods
2024-08-06 20:10:48 +08:00
Max
d61ebadf43
chore: improve SUI Component element manipulation methods
2024-08-06 18:49:21 +08:00
Max
ad7954dbb2
chore: Update cacheStore field name in PageSetting struct
2024-08-06 14:48:12 +08:00
Max
2a19ef857b
chore: Update __Query class to accept both string and Element types for selector
2024-08-06 09:31:36 +08:00
Max
9977b62a09
[feat] SUI $backend function call supports custom Guard
2024-08-05 08:32:59 +08:00
Max
d170ab6e53
Optimize $backend function call
2024-08-04 11:40:15 +08:00
Max
6f1f558ecd
feat: Add source map URL to libsui.min.js for better debugging
2024-08-03 17:08:38 +08:00
Max
a2e5a52ad8
feat: Update event handling in sui/core to support event component names
2024-08-03 11:23:59 +08:00
Max
5514fea7ec
feat: Add yao.ts to libsui for Pure JavaScript SDK
2024-08-03 08:52:05 +08:00
Max
5f5af44018
Optimize libsui js-sdk loading logic
2024-08-03 08:37:54 +08:00
Max
a07c1ece51
Add s:render feature for data update rendering (dev)
2024-08-02 21:18:02 +08:00
Max
743339d3d4
feat: Add Store function to utils in injections.go
2024-08-02 19:05:35 +08:00
Max
83e1081c9b
feat: Update script loading to handle source root mapping from tsconfig.json
2024-08-01 19:11:27 +08:00
Max
44eb60377d
Update file extensions for backend scripts
2024-08-01 18:43:15 +08:00
Max
fc1f80e0f5
feat: Add sourceRoots to Static struct in types.go
2024-08-01 18:16:59 +08:00
Max
db397f8cda
feat: add state propagation mechanism support to sui components
2024-07-30 10:52:13 +08:00
Max
0870332e8b
Add $utils object in libsui for enhanced utility functions
2024-07-30 09:33:43 +08:00
Max
271b494c59
Refactor component event injection to handle missing event selectors
2024-07-30 06:07:13 +08:00
Max
a8d151993e
Refactor component event injection to handle missing event selectors
2024-07-29 17:34:13 +08:00
Max
dc3c637c5e
Refactor component event injection to handle missing event selectors
2024-07-29 16:46:21 +08:00
Max
b6e2d3ae8e
Refactor slot cloning logic in build.go
2024-07-29 11:46:09 +08:00
Max
4c5278938c
Refactor SUI core to improve import parsing and aliasing
2024-07-28 19:27:16 +08:00
Max
1763a4f2e7
feat: Support component import and aliasing in SUI
2024-07-28 19:16:02 +08:00
Max
93d36b7f03
Optimize SUI core to parse imports and set namespace attribute
2024-07-28 17:55:47 +08:00
Max
76d0dde315
Optimize SUI component property parsing
2024-07-27 17:03:48 +08:00
Max
5050443e63
Optimize SUI core to load script with disableCache option
2024-07-27 10:28:17 +08:00