Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Reloaded-Project/ReloadedCode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: Reloaded-Project/ReloadedCode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: add-run-start-hook
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 16 files changed
  • 1 contributor

Commits on Jun 9, 2026

  1. Changed: Replace session events with run hook chain

    - Rename SessionContext → HookRunContext, add model_name field
    - Replace on_session_start/on_session_end with on_run_start/on_run_end
    - Implement run-start/run-end as lightweight RunHook wrappers in the chain
    - Add RunHook trait, RunOriginal trampoline, RunConfig, RunOutput, RunUsage
    - Add run_hook() and shared_run_hook() registration to HookSetBuilder
    - Remove session_start/session_end storage; add run_hooks storage
    - Replace dispatch_session_start/dispatch_session_end with dispatch_run
    - Add EndReason::Failed variant
    - Add two examples (run-hook-chain, run-start-end) under serdesai
    - Update docs (architecture, examples, hooks) for run lifecycle
    Sewer56 committed Jun 9, 2026
    Configuration menu
    Copy the full SHA
    24fe03d View commit details
    Browse the repository at this point in the history
  2. Changed: Split run hook examples into focused standalone files

    - Move examples into run/ subfolder for organization
    - run-hook.rs: single RunHook trait example
    - chain.rs: multiple RunHook chaining with unwind order
    - event-hooks.rs: on_run_start/on_run_end event callbacks
    - README.MD: explains all three approaches and when to use each
    - Update example names in Cargo.toml: hooks-run-hook, hooks-run-chain, hooks-run-event
    Sewer56 committed Jun 9, 2026
    Configuration menu
    Copy the full SHA
    b7c0f88 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a0b646d View commit details
    Browse the repository at this point in the history
Loading