Maxwell Brown
fcf3b7cc07
Rename correlationId to toolCallId for AI structured outputs ( #4388 )
2025-02-02 09:36:22 -05:00
Maxwell Brown
f5e3b1bcdf
Support non-identified schemas in Completions.structured and AiChat.structured ( #4378 )
2025-02-02 07:53:54 -05:00
Maxwell Brown and Michael Arnaldi
a0c85e6601
Add Embeddings service to the AI integration packages ( #4368 )
...
Co-authored-by: Michael Arnaldi <michael.arnaldi@effectful.co >
2025-02-02 07:52:19 -05:00
Giulio Canti
5a9d78542d
[internal] improve assertions ( #4386 )
2025-02-01 12:49:49 +01:00
Giulio Canti
0275faa38f
Schema: improve handleForbidden implementation with SyncScheduler ( #4385 )
2025-02-01 11:04:11 +01:00
Giulio Canti
5426b2db32
test: add assertions for Option and Cause using node:assert, vitest, … ( #4384 )
2025-02-01 07:55:39 +01:00
Ethan Niser
c9175aef41
Platform: add sync (fsync) ( #4345 )
2025-02-01 18:11:09 +13:00
Vincent François
e374d94778
fix effect vitest layer ( #4382 )
2025-02-01 17:01:58 +13:00
Takeshi
fd92e694ca
Add missing listen example for Bun ( #4383 )
2025-02-01 17:00:31 +13:00
Giulio Canti
dedadf1659
tests: use assertIncludes instead of assertTrue where applicable ( #4381 )
2025-01-31 19:48:31 +01:00
Sebastian Lorenz
c45b5592b5
fix imports ( #4380 )
2025-01-31 19:42:11 +01:00
Sebastian Lorenz
8c23f5ad60
rename to vitest.setup.ts ( #4379 )
2025-01-31 19:04:21 +01:00
Giulio Canti and Sebastian Lorenz
ae8518c980
refactor platform tests ( #4377 )
...
Co-authored-by: Sebastian Lorenz <fubhy@fubhy.com >
2025-01-31 18:50:59 +01:00
Giulio Canti
d1a5b43aca
Tests: remove deprecated adapter, closes #3072 ( #4372 )
2025-01-31 11:46:23 +01:00
Giulio Canti
aa26d9b446
Simplify internal/cause.ts by using the internal Option.mergeWith ( #4369 )
2025-01-31 06:36:06 +01:00
Giulio Canti
72f09dc58b
Refactor spanSymbol usage to ensure consistent internal access ( #4367 )
2025-01-30 19:40:04 +01:00
Giulio Canti
c180a67ea6
internal: add a few 4.0 todos ( #4366 )
2025-01-30 19:30:16 +01:00
Giulio Canti
207491b208
internal: add SchemaTest utils ( #4365 )
2025-01-30 19:14:11 +01:00
Sebastian Lorenz and Giulio Canti
766113c0ea
Fix handling of hrtime in Duration.decode ( #4341 )
...
Co-authored-by: Giulio Canti <giulio.canti@gmail.com >
2025-01-30 16:55:39 +01:00
Sebastian Lorenz
fe0e4e8b3d
remove regex index reset in Duration.decode ( #4348 )
2025-01-30 13:05:56 +01:00
Giulio Canti
6f1c3d7b45
Enhance test reliability by using node:assert ( #4350 )
2025-01-30 12:56:50 +01:00
Michael Arnaldi
8bdb19b5e8
Fix forkIn when scope is empty ( #44 )
2025-01-30 12:22:10 +01:00
Michael Arnaldi
769e5b953b
Extract functions from scope ( #43 )
...
* Extract functions from scope
* Apply middleware strategy to scope close
* Add check that default scope is never created
* extract close
* make close type safe
2025-01-29 21:33:25 +13:00
Maxwell Brown
bb05fb8345
Ensure nested configs can be loaded from env file ( #4360 )
2025-01-29 17:25:58 +13:00
Giulio Canti
7437058771
Refactor zod comparison and add URLs section, closes #4346 ( #4358 )
2025-01-28 11:11:49 +01:00
Maxwell Brown
7b03057507
Expose Schedule.isSchedule ( #4344 )
2025-01-28 10:19:12 +01:00
Tim
62934fc61a
optimize streaming response for NodeHttpServer ( #4354 )
2025-01-28 15:00:46 +13:00
Tim
8f6006a610
fix HttpServerRequest.arrayBuffer for bun & web handlers ( #4353 )
2025-01-28 13:48:09 +13:00
Tim
9172efba98
optimize Stream.toReadableStream ( #4352 )
2025-01-28 13:45:46 +13:00
Tim
430c846cba
fix Layer.scope types to correctly use the Scope tag identifier ( #4351 )
2025-01-28 12:03:11 +13:00
Michael Arnaldi
cc3a2c3254
Make Scope Implicit ( #42 )
2025-01-28 10:35:59 +13:00
Michael Arnaldi
d1ec91dd93
Make Reference<X> a valid Tag<never, X> ( #41 )
2025-01-28 09:15:40 +13:00
Maxwell Brown
3f60cae09b
Upgrade dependencies ( #40 )
...
* upgrade dependencies
* fix types
2025-01-26 20:07:20 -05:00
Giulio Canti
502223adf1
Cause: add jsdocs and tests ( #4340 )
2025-01-25 11:21:29 +01:00
Giulio Canti
59b3cfbbd5
Cookies: unsafeMakeCookie and unsafeSetAll now throw a more infor… ( #4334 )
2025-01-25 09:06:04 +01:00
Maxwell Brown
6811009944
Fix the RPC readme ( #4336 )
2025-01-25 11:49:15 +13:00
Johannes Schickling
ff529da0a7
Semaphore take fifo comment ( #4325 )
2025-01-24 23:35:26 +13:00
Giulio Canti
712277f949
Cron: unsafeParse now throws a more informative error instead of a … ( #4333 )
2025-01-24 06:29:36 +01:00
Giulio Canti
e59a3546c3
Enhance JSDoc comments in the Option module ( #4332 )
2025-01-23 17:45:02 +01:00
Giulio Canti
107e6f0557
Schema: Improve encoding in Defect and add test for array-based def… ( #4331 )
2025-01-23 12:45:06 +01:00
Giulio Canti
e386d2f1b3
Add missing overload for Option.as ( #4330 )
2025-01-23 12:07:32 +01:00
Giulio Canti
65c11b9266
Schema: Update itemsCount to allow 0 as a valid argument, closes … ( #4329 )
2025-01-23 11:47:15 +01:00
Giulio Canti
55147c5ad1
Add HRTime schema for backward compatibility with Duration ( #4327 )
2025-01-22 21:56:08 +01:00
Giulio Canti
602939adbb
Simplify gen implementations in Either and Option ( #4324 )
2025-01-22 15:56:52 +01:00
Giulio Canti
00f9a476da
Mark "mutually suspended schemas" test as flaky with retry option ( #4323 )
2025-01-22 15:48:51 +01:00
Giulio Canti
a9c94c8077
Schema: Fix Duration Encoding to Support All Duration Types ( #4313 )
2025-01-22 15:30:31 +01:00
github-actions[bot] and github-actions[bot]
f523f1a752
Version Packages ( #4321 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
effect@3.12.7
@effect/ai-openai@0.11.1
@effect/ai@0.8.1
@effect/cli@0.54.1
@effect/cluster-browser@0.18.1
@effect/cluster-node@0.25.1
@effect/cluster-workflow@0.23.1
@effect/cluster@0.24.1
@effect/experimental@0.39.1
@effect/opentelemetry@0.42.7
@effect/platform-browser@0.54.1
@effect/platform-bun@0.55.1
@effect/platform-node-shared@0.25.1
@effect/platform-node@0.71.1
@effect/platform@0.75.1
@effect/printer-ansi@0.40.7
@effect/printer@0.40.7
@effect/rpc-http@0.48.1
@effect/rpc@0.50.1
@effect/sql-clickhouse@0.13.1
@effect/sql-d1@0.26.1
@effect/sql-drizzle@0.27.1
@effect/sql-kysely@0.24.1
@effect/sql-libsql@0.18.1
@effect/sql-mssql@0.29.1
@effect/sql-mysql2@0.29.1
@effect/sql-pg@0.29.1
@effect/sql-sqlite-bun@0.29.1
@effect/sql-sqlite-do@0.6.1
@effect/sql-sqlite-node@0.29.1
@effect/sql-sqlite-react-native@0.31.1
@effect/sql-sqlite-wasm@0.29.1
@effect/sql@0.28.1
@effect/typeclass@0.31.7
@effect/vitest@0.17.3
2025-01-22 09:00:45 -05:00
Maxim Khramtsov
8dff1d1bff
[Fix] Cannot find name 'MissingSelfGeneric'. ( #4320 )
2025-01-22 08:53:20 -05:00
github-actions[bot] and github-actions[bot]
aba2e3a81a
Version Packages ( #4288 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@effect/cluster-node@0.25.0
@effect/cluster-workflow@0.23.0
@effect/cluster@0.24.0
@effect/cluster-browser@0.18.0
@effect/cli@0.54.0
@effect/ai@0.8.0
@effect/ai-openai@0.11.0
@effect/experimental@0.39.0
@effect/opentelemetry@0.42.6
@effect/platform-browser@0.54.0
@effect/platform-bun@0.55.0
@effect/platform-node-shared@0.25.0
@effect/platform-node@0.71.0
@effect/platform@0.75.0
@effect/printer-ansi@0.40.6
@effect/printer@0.40.6
@effect/rpc-http@0.48.0
@effect/rpc@0.50.0
@effect/sql-clickhouse@0.13.0
@effect/sql-d1@0.26.0
@effect/sql-drizzle@0.27.0
@effect/sql-kysely@0.24.0
@effect/sql-libsql@0.18.0
@effect/sql-mssql@0.29.0
@effect/sql-mysql2@0.29.0
@effect/sql-pg@0.29.0
@effect/sql-sqlite-bun@0.29.0
@effect/sql-sqlite-do@0.6.0
@effect/sql-sqlite-node@0.29.0
@effect/sql-sqlite-react-native@0.31.0
@effect/sql-sqlite-wasm@0.29.0
@effect/sql@0.28.0
@effect/typeclass@0.31.6
@effect/vitest@0.17.2
effect@3.12.6
2025-01-22 15:41:55 +13:00
Giulio Canti and Tim
fc5e0f0d35
improve UnknownException error messages ( #4292 )
...
Co-authored-by: Tim <hello@timsmart.co >
2025-01-22 15:31:39 +13:00