Commit Graph
4281 Commits
Author SHA1 Message Date
github-actions[bot]andgithub-actions[bot] 238d638b30 Version Packages (#4393)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-04 06:58:00 +01:00
Giulio Canti 1b4a4e904e Fix internal import in Schema.ts, closes #4391 (#4392) 2025-02-04 06:44:58 +01:00
github-actions[bot] 096d254bfe Version Packages (#4322) 2025-02-03 22:24:24 -05:00
Maxwell Brown f0894708e9 Add GenAI telemetry annotations to AI chat completions (#4389) 2025-02-03 20:34:12 -05:00
Maxim Khramtsov f269122508 A more precise signature has been applied for Effect.schedule (#4387) 2025-02-04 08:57:28 +13:00
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 BrownandMichael 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
Giulio CantiandSebastian 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 LorenzandGiulio 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
Maxwell Brown bb05fb8345 Ensure nested configs can be loaded from env file (#4360) 2025-01-29 17:25:58 +13: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
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]andgithub-actions[bot] f523f1a752 Version Packages (#4321)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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]andgithub-actions[bot] aba2e3a81a Version Packages (#4288)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-22 15:41:55 +13:00
Giulio CantiandTim fc5e0f0d35 improve UnknownException error messages (#4292)
Co-authored-by: Tim <hello@timsmart.co>
2025-01-22 15:31:39 +13:00
Maxwell Brown 5c5612fa94 Allow configuring OpenAI API URL and API key (#4316) 2025-01-22 09:09:31 +13:00
Maxim KhramtsovandTim 8b4e75d35d Added type-level validation for the Effect.Service (#4298)
Co-authored-by: Tim <hello@timsmart.co>
2025-01-22 08:25:40 +13:00