Commit Graph
72 Commits
Author SHA1 Message Date
Tim 679f956c4a Enforce Effect.fnUntraced for functions returning Effect.gen (#9506) 2026-10-19 10:08:06 +13:00
Tim 8cb0a4f28f Add DecisionModel to effect/unstable/ai (#8287) 2026-09-18 23:11:10 +12:00
Sebastian Lorenz a90ef9da69 Remove Temporal polyfill from scratchpad (#7472) 2026-08-26 19:41:55 +02:00
Sebastian Lorenz 9867b9fc69 Improve configuration (#6701) 2026-07-28 19:55:11 +02:00
Kris KaczorandTim Smart 5a8485397b Introduce Temporal's Duration inspired DurationObject to Duration.Input (#1696)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-03-12 01:11:59 +00:00
Maxwell BrownandClaude Opus 4.6 44e3c567f4 Add @effect/ai-openrouter package (#1221)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 20:15:39 -05:00
Tim 33f368f3c3 @effect/ai-openai-compat (#1208) 2026-02-12 00:31:54 +00:00
Maxwell BrownandClaude Opus 4.5 234dc6e805 Add Anthropic AI provider package (#1157)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 19:20:24 +00:00
Maxwell BrownandClaude Opus 4.5 56d6df265a Add remaining OpenAI provider integration package modules (#1102)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 03:14:15 +00:00
Giulio Canti 184545c9a6 Remove overly aggressive dependency cleanup in fromJsonSchemaMultiDocument (#915) 2026-01-12 19:35:43 +01:00
Sebastian Lorenz 5ae7197320 chore: update tsconfig (#896) 2026-01-09 12:15:02 +01:00
Sebastian Lorenz dd394cba29 chore: apply dprint also to .tst.ts files (#880) 2026-01-08 12:05:39 +01:00
Maxwell Brown bdf804c144 Port OpenTelemetry integration package (#861) 2026-01-05 12:18:19 -05:00
Maxwell BrownandTim Smart 8c7ed00e5c Port child process execution APIs (#804)
Co-authored-by: Tim Smart <hello@timsmart.co>
2025-12-12 12:34:14 -05:00
Tim ef996a5f4b add Cluster modules (#433) 2025-08-28 22:32:11 +12:00
Tim 7b73a442b6 update lsp settings (#331) 2025-07-19 00:28:54 +12:00
Sebastian Lorenz 0ba34d0d45 review and update tsconfig options (#319) 2025-07-17 15:12:14 +02:00
Sebastian Lorenz b9507dbdc7 consolidate benchmark and dtslint config with tsconfig.test.json (#297) 2025-07-15 11:53:26 +02:00
Tim 4935fdf462 add BunHttpServer (#292) 2025-07-15 13:45:19 +12:00
Sebastian Lorenz 2f3a6ca422 remove cjs builds and simplify dist structure (#201) 2025-07-10 11:30:33 +02:00
Michael ArnaldiandClaude ace7cdd6b1 feat: complete Schema.ts JSDoc documentation with all examples compilation fixed (#230)
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-05 20:20:58 +02:00
Michael ArnaldiandClaude 9ea940b4b9 fix: exclude scripts from lint command and fix import ordering (#218)
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-03 17:48:46 +02:00
Tim d14e0c4c3e rename Context to ServiceMap (#216) 2025-07-03 23:53:39 +12:00
Tim 9b2c3e7128 build exports based on .index.ts (#183) 2025-06-27 14:20:01 +12:00
Tim b0c0493140 improve batch grouping (#153) 2025-06-06 15:34:26 +12:00
Giulio Canti 5fa4056aa9 Schema v4 (#92)
* improve Declaration annotations type

* remove useless Encoding class

* redefine declarations

* Opaque docs

* error pattern

* add extend, pick, omit

* better error definitions

* move extend, pick, omit out of the struct interface

* add asCheck / asCheckEncoded

* add tag

* flip Transformation type parameters

* renaming

* flip SchemaParser type parameters

* align Link constructor to encodeTo / decodeTo APIs

* add json transformation and UnknownFromJsonString

* align node version to effect repo

* add compose* APIs

* add transformOrFail

* move json default serialization to its own namespace to allow more defaults

* refactor: rename SchemaToSerializer to SchemaSerializerJson and update references

* remove Class APIs

* replace encodeTo API interface with decodeTo

* remove IntrinsicContext

* add schema decoding / encoding APIs
2025-05-05 16:10:30 +02:00
Tim c9ce64ff90 add HttpClient (#94) 2025-05-04 21:56:04 +12:00
Giulio Canti 6a99b36e25 move schema v4 code to monorepo (#91) 2025-05-02 09:51:05 +02:00
Tim d058283103 add Logger.toFile (#90)
* add Logger.toFile

* update example

* update docgen config

* fix

* relax no-console
2025-05-02 17:11:23 +12:00
Tim b7bd66318d add FileSystem (#86) 2025-05-02 14:11:26 +12:00
Tim 4db1e23b84 monorepo (#85) 2025-05-02 12:21:06 +12:00
Michael Arnaldi 07688cb530 fix retry and repeat considering schedule with an error (#67)
* fix retry and repeat considering schedule with an error

* fix
2025-03-16 16:38:41 +01:00
Michael Arnaldi ff4dedf9b3 add examples, rename async to callback in stream and channel (#65)
* silence rollup warning related to fast-check

* remove cjs build

* add examples, update Stream.async naming
2025-03-16 12:08:12 +01:00
Michael Arnaldi b584b83ecc Fix tracer context and cache (#61)
* fix stm bundle

* remove leftover

* add unsafeEnd

* remove trace middleware

* cache span
2025-03-15 12:58:55 +01:00
Michael ArnaldiandTim a526493f67 Examples & forEach perf fix (#58)
* Improve batching example

* perf fixes

* remove setInterval from batch.ts

* improve layer example

* use bench utility in batch example

---------

Co-authored-by: Tim <hello@timsmart.co>
2025-03-14 10:43:22 +01:00
Michael ArnaldiandTim 3a03c16f84 Experiment making STM a plain Effect (#50)
* Experiment making STM a plain Effect

* improve naming and structure

* commit only on clean exit

* improve

* make nested tx compose

* move retry to defects

* improve naming, handle interruption on awaitPendingTxJournal

* unify import

* use async return instead of onInterrupt

* schedule individual pending

* avoid intermediate array

* improve example

* add concurrency to example

* separate journaled and transaction

* add docs, improve naming, switch to interrupt for retry

* unify atomic and transaction

* fix return

* add bundle test

* use forkScoped in bundle test

* avoid unnecessary boxing

* improve perf

* fix jsdoc

* make tag more unique

* transaction play (#51)

---------

Co-authored-by: Tim <hello@timsmart.co>
2025-03-11 08:26:25 +01:00
Tim fcf41d8afe rename Mailbox to Queue 2025-01-14 17:12:06 +13:00
Tim 139a8f03e4 Stream.async (#32) 2025-01-14 13:26:39 +13:00
Tim e1c192337c wip 2025-01-13 13:11:35 +13:00
Michael Arnaldi cfbc92a30b Refactor Mailbox (#23) 2025-01-13 11:47:23 +13:00
Michael Arnaldi f6fa527997 Refactor bundle to use package imports (#27)
* Add schedule to bundle test

* use package imports for dist
2025-01-12 19:19:11 +01:00
Maxwell Brown 2fd9f52542 Add Schedule (#22) 2025-01-11 11:44:10 +13:00
Tim 097e008335 add rollup config (#21)
* add rollup config

* add babel patch

* dedupe pipe

* fix pipe

* PipeInspectableProto
2025-01-07 14:53:25 +13:00
Tim adf138b8f6 revert scratchpad/channel.ts 2025-01-04 20:35:39 +13:00
Tim 4a3c01d299 fix forkIn interruption 2025-01-04 20:33:48 +13:00
Maxwell Brown 72d33c1980 Add logging (#15) 2025-01-04 15:58:05 +13:00
Michael ArnaldiandTim 31834c5a90 Keep process alive when fibers are running (#13)
* Keep process alive when fibers are running

* No longer needing to add a handle in `Effect.never`

* wip

---------

Co-authored-by: Tim <hello@timsmart.co>
2025-01-01 10:41:35 +13:00
Tim 7505bf9efe improve type safety by completing entries instead 2025-01-01 10:21:43 +13:00
Tim e71f58b118 wip 2024-12-30 21:37:33 +13:00
Tim e950f19249 time based batching (#9)
* time based batching

* wip

* add bench

* optimize request map creation

* move context type to requests

* use constructor pattern for Request tests
2024-12-29 15:57:34 +13:00