Commit Graph

193 Commits

Author SHA1 Message Date
Michael Mikovsky 84ac117ee0 Replace procedure name string in packet with u32, remove HeaderRef. 2026-05-28 12:56:59 -06:00
Michael Mikovsky 99579495a5 Add some tests for streams 2026-05-28 12:49:35 -06:00
Michael Mikovsky 65a7f675a9 Make new error structs, improve tests, remake file structure. 2026-05-28 12:41:32 -06:00
Michael Mikovsky 3973589a35 Improve protocol implementation 2026-05-28 11:48:46 -06:00
Michael Mikovsky fa8cb6269c Work on remaking routing 2026-05-27 11:04:22 -06:00
Michael Mikovsky 129720145a Add packet. 2026-05-16 14:14:00 -06:00
Michael Mikovsky 56abb5e1e0 Big rewrite. 2026-05-16 13:10:51 -06:00
Michael Mikovsky da9166daf0 Reduce leaf fail hook actions 2026-05-09 13:53:49 -06:00
Michael Mikovsky 71d1aee235 Reduce leaf send call actions 2026-05-09 13:40:21 -06:00
Michael Mikovsky a68e86ef6d Reduce leaf hook data actions 2026-05-09 13:25:16 -06:00
Michael Mikovsky 97f3e305bb Dispatch local runtime effects to leaves 2026-05-09 13:14:34 -06:00
Michael Mikovsky 99b54b0bdf Add runtime connection registration helpers 2026-05-09 13:06:43 -06:00
Michael Mikovsky fcde5d66d2 Add local runtime effect draining 2026-05-09 12:59:07 -06:00
Michael Mikovsky 4e3f975b54 Preserve runtime effects on send failure 2026-05-09 12:54:11 -06:00
Michael Mikovsky 8bf660546a Fix runtime tick outcome counting 2026-05-09 12:51:03 -06:00
Michael Mikovsky 0f54b53a79 Fix runtime child route forwarding 2026-05-09 12:47:51 -06:00
Michael Mikovsky a61c0ce72d Add runtime API redesign scaffold 2026-05-09 12:45:14 -06:00
Michael Mikovsky 366771356c Simplify procedure session advancement 2026-04-30 10:23:19 -06:00
Michael Mikovsky 7c0ee31d38 Reduce hook table public surface 2026-04-30 10:15:54 -06:00
Michael Mikovsky 71b311065d Add crossbeam channel router leaf example 2026-04-29 22:14:04 -06:00
Michael Mikovsky 371f3ae492 Add router-aware endpoint topology APIs 2026-04-26 16:13:28 -06:00
Michael Mikovsky 99d1097f2a Add root-default endpoint creation macro 2026-04-26 15:36:45 -06:00
Michael Mikovsky f16be8d64a Support module-inferred leaf hosts 2026-04-26 15:19:33 -06:00
Michael Mikovsky 54c44b407e Remove the old leaf declaration path
Delete the deprecated Leaf derive path, migrate the remaining tests and example to leaf!, and add direct coverage for endpoint-only, TUI-only, and shared-host leaf declarations.
2026-04-26 14:14:49 -06:00
Michael Mikovsky 0aa0b187d7 Tighten compile-time leaf inventory checks 2026-04-26 13:55:53 -06:00
Michael Mikovsky bc22d349bf Add compile-time leaf declarations
Introduce a function-like leaf declaration macro, bind endpoint and TUI hosts to shared generated metadata, and move remote shell endpoint construction out of the leaf module into the examples and runtime assembly code.
2026-04-26 13:54:44 -06:00
Michael Mikovsky fccd61ea29 Document the macro system architecture 2026-04-26 13:43:06 -06:00
Michael Mikovsky 990be30232 unshell-macros is now a workspace dependency 2026-04-26 13:02:53 -06:00
Michael Mikovsky 4f8835bd25 Fix examples for renamed leaf endpoint surface
Update the remote shell examples to use unshell::leaves and the leaf_endpoint feature-gated endpoint module, and restore the local macro aliasing needed after removing the direct unshell dependency from unshell-leaves.
2026-04-26 12:57:56 -06:00
Michael Mikovsky d4100d0604 Split protocol and leaf surfaces into crates
Move the protocol runtime into unshell-protocol and remote shell leaf code into unshell-leaves so endpoint and TUI roles can compile independently without circular dependencies.
2026-04-26 12:39:06 -06:00
Michael Mikovsky 74f08333ae Split unshell macros into focused modules 2026-04-26 12:08:34 -06:00
Michael Mikovsky 2b753685ca Document examples and add local remote shell endpoint demo 2026-04-26 11:25:46 -06:00
Michael Mikovsky f332e58e44 Deepen protocol docs and explain runtime flow 2026-04-26 11:18:49 -06:00
Michael Mikovsky 17be0f9daa Improve protocol documentation and runtime structure 2026-04-26 01:53:37 -06:00
Michael Mikovsky 01faebc44b Remove hook-path micro-optimizations 2026-04-26 01:34:51 -06:00
Michael Mikovsky 7a9e338d68 Collapse local procedure lookup into one pass 2026-04-26 01:18:59 -06:00
Michael Mikovsky a043d9747d Shortcut pending hook activation on first data 2026-04-25 23:45:17 -06:00
Michael Mikovsky e50ebb1e35 Reuse host hook keys during inbound hook resolution 2026-04-25 23:42:28 -06:00
Michael Mikovsky 4c790a4ad3 Align tool benchmarks with steady-state receive cost 2026-04-25 22:55:25 -06:00
Michael Mikovsky 090c2740f8 Simplify hook state and preallocate frame encoding 2026-04-25 22:42:45 -06:00
Michael Mikovsky 80611a4d74 Avoid cloning call payloads in runtimes 2026-04-25 21:14:02 -06:00
Michael Mikovsky 31a0bd39b0 Simplify endpoint outcome state handling 2026-04-25 20:47:37 -06:00
Michael Mikovsky f2c6a54060 Optimize framed packet encoding 2026-04-25 20:41:02 -06:00
Michael Mikovsky 25988de1e1 Optimize framed packet encoding 2026-04-25 19:03:08 -06:00
Michael Mikovsky 7bea3e2b6b Add procedure-scoped stateful leaves 2026-04-25 17:42:39 -06:00
Michael Mikovsky 5e9b49a4d9 Split remote shell leaf module 2026-04-25 16:27:10 -06:00
Michael Mikovsky 7e266e2a38 Add stateful call leaf runtime 2026-04-25 15:35:08 -06:00
Michael Mikovsky 56bc7ee4f8 Various formatting changes. 2026-04-25 14:52:49 -06:00
Michael Mikovsky 396c707662 Reorganize protocol examples 2026-04-25 14:46:59 -06:00
Michael Mikovsky b1ebe34ec1 Add derive-based protocol leaf declarations 2026-04-25 14:41:00 -06:00