7 Commits
Author SHA1 Message Date
藍+85CD 3a4e33cd9f refactor(utils-stream): export from std 2025-07-23 22:02:53 +08:00
藍+85CD af733fbace refactor: use std (#171)
* refactor(utils-stream): use std

* refactor(shared): add trampoline

* refactor(generate-text): use trampoline from std

* refactor(xsfetch): use std

* chore: clean comments

* fix(utils-stream): revert changes
2025-07-01 15:28:24 +08:00
藍+85CD ed976919f6 refactor(eslint): use moeru config (#170)
* refactor(eslint): use moeru config

* chore: disable prefer let

* chore: lint code

* chore: lint code

* fix: lint code
2025-07-01 14:52:49 +08:00
藍+85CDandNeko f51578f9b0 feat: new package generate-image (#123)
* feat: new package `generate-image`

* fix(generate-image): url path

* fix: lint errors

* docs: add generate-image

* chore(xsai): update exports

---------

Co-authored-by: Neko <neko@ayaka.moe>
2025-03-27 20:22:13 +08:00
藍+85CD 0fd6b6e95e feat: new package @xsai-ext/compat (#94)
* chore: new experimental package `@xsai-ext/compat`

* chore(scripts): exclude private package

* fix(xsai): export shared

* feat(compat): add embed

* chore(compat): update embed

* feat(compat): add generate text

* fix(utils-stream): export types

* fix(compat/embed): export result types

* refactor(compat): unsupported types

* fix(compat): export core message type

* feat(compat): add stream text

* chore(compat): update types

* chore(compat): update version

* feat(compat): support prompt, system

* feat(compat): add {generate,stream}-object

* fix(compat): set stream object return type

* feat(compat): add unsupported utils

* fix(compat): improve convert tools

* chore: add mastra example

* fix(compat/generate-text): export result type

* fix(compat/stream-text): export result type

* chore(compat): mark as public

* docs: add compat

* docs: add verified version

* chore: remove mastra example
2025-03-10 15:34:28 +08:00
藍+85CD 91a7b14e13 docs: add utils (#93)
* docs: add utils

* fix(utils-stream): set return type

* chore(utils-stream): add comment
2025-03-06 22:06:25 +08:00
藍+85CD ac14b49433 feat!: new utils-{chat,stream} package (#36)
* refactor!: new `utils-{chat,stream}` package

* fix: lint code

* feat(utils-stream): add smoothStream

* refactor(utils-stream/smooth-stream): handle zero delay

* feat(utils-stream): add simulateReadableStream

* chore!: relicense to apache-2.0

* chore(utils): remove private field

* fix(license): update copyright

* Revert "fix(license): update copyright"

This reverts commit 7a85cd66756a6591a0544c63a001ee13df71b00f.

* Revert "chore!: relicense to apache-2.0"

This reverts commit 826b420692cfa73788171a97fb3e1b343f9d0b88.

* chore(utils-stream): add license header

* chore(utils-stream): update license header
2025-01-24 07:43:54 +08:00