Commit Graph
235 Commits
Author SHA1 Message Date
chrnx ec1214e9e5 feat(mesh): export flag on providers, steps, and routes
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 20:25:53 -05:00
chrnx 31f91ee61f feat(mesh): RPC frame protocol and codec
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 20:23:58 -05:00
chrnx a4fb19210e Merge feature/streams: spec #2 green-tea streams
Multicast channel primitive + SSE/ndjson streaming + WebSocket duplex,
all on one AsyncIterable seam. Transport owns stream lifecycle; ws is a
lazy optional peer dep. De-hardcodes HTTP method.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 15:51:07 -05:00
chrnx e365cee3bf fix: transport owns WS stream lifecycle (force-cancel outbound, emit stream:error, balanced events)
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 15:40:50 -05:00
chrnx b58db71405 feat: export streams API and add SSE/WS example endpoints
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 15:34:27 -05:00
chrnx 04688ab621 feat: wire SSE/WS routes through the graph with stream lifecycle events
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 15:32:17 -05:00
chrnx abc4603050 feat: WebSocket upgrade path with lazy optional ws dependency
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 15:29:14 -05:00
chrnx 8aac7f24bd fix: prevent stream hang/crash on client disconnect during backpressure
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 15:26:17 -05:00
chrnx 0eaefd0053 feat: SSE/ndjson streaming responses with backpressure and cleanup
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 15:22:18 -05:00
chrnx fdbba5f06d feat: @inbound and @abort handler argument decorators
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 15:18:38 -05:00
chrnx 732e1eb636 feat: Sse/Ws/Stream/Post route decorators with transport metadata
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 15:17:08 -05:00
chrnx a94a987a35 feat: pipeline returns StreamResult for async-iterable handlers
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 15:15:05 -05:00
chrnx a3dad32384 feat: SSE and ndjson stream encoders
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 15:13:09 -05:00
chrnx f96d349c74 feat: multicast channel primitive + isAsyncIterable guard
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 15:11:28 -05:00
chrnx 35c60c44c3 docs: add runtime adapters (Node/Deno/Bun/edge) to roadmap
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-26 02:07:43 -05:00
chrnx b0b0b1388d docs: add README, MIT license, and DCO-based contributing guide
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-26 02:00:21 -05:00
chrnx ccaacb9a02 fix: stream errors -> 500, guard non-object body picks, test @query e2e 2026-06-26 01:51:02 -05:00
chrnx 7114bf685e feat: handlers declare deps via arg decorators, graph-validated at boot 2026-06-26 01:44:57 -05:00
chrnx 5bb825e293 feat: parse query string and json body into the request 2026-06-26 01:42:01 -05:00
chrnx 751db324d6 feat: handler argument decorators (needs/ctx/param/query/body/headers) 2026-06-26 01:40:04 -05:00
chrnx 97faff4c06 fix: guard handler errors, dedupe runner names, export flow core, test optional provider 2026-06-26 01:11:26 -05:00
chrnx 04c8b3a743 feat: end-to-end example demonstrating the four core ideas 2026-06-26 01:04:24 -05:00
chrnx 221a230270 fix: spread provider returns in boot snapshot; dedupe path-join; guard step runner 2026-06-26 01:01:06 -05:00
chrnx 62eb6587ea feat: boot orchestrator, app, inspect, fail-fast providers
Wires all modules together into createApp(): topo-ordered providers run
at boot (fail-fast for required), pipeline runs per request, inspect()
returns the ordered chain, plugins observe via Bus without mutating state.
2026-06-26 00:55:02 -05:00
chrnx 3803d4fe95 feat: node http transport with :param route matching 2026-06-26 00:49:29 -05:00
chrnx 23a31f9264 feat: request pipeline with ctx accumulation, throw handling, lifecycle events 2026-06-26 00:47:55 -05:00
chrnx af4642d449 feat: JsonTransformer and error-to-response mapping 2026-06-26 00:45:49 -05:00
chrnx c072eea7c9 feat: structurally-isolated plugin handle (on + scope.add only) 2026-06-26 00:44:17 -05:00
chrnx e7187eb673 feat: decorators and reflect-metadata readers for providers/steps/modules/routes 2026-06-26 00:42:18 -05:00
chrnx 201572512e feat: dependency graph topological sort with cycle/missing-dep validation 2026-06-26 00:40:25 -05:00
chrnx f7098b48ef feat: scope-aware async (transport-agnostic) DI container 2026-06-26 00:38:49 -05:00
chrnx 11fc746d28 feat: typed flow core with compile-time context guarantee 2026-06-26 00:35:44 -05:00
chrnx 96880d055b feat: read-only lifecycle observer bus 2026-06-26 00:33:48 -05:00
chrnx efa89360e4 feat: typed http signals (Unauthorized, Redirect, NotModified, NotFound) 2026-06-26 00:31:41 -05:00
chrnx 04e4ae5c54 chore: scaffold @green-tea/core with vitest and strict ts 2026-06-26 00:29:40 -05:00