Skip to content

Surface abstraction for engine and runner#20

Merged
dimiro1 merged 2 commits intomainfrom
extract-modules-from-runner
Dec 15, 2025
Merged

Surface abstraction for engine and runner#20
dimiro1 merged 2 commits intomainfrom
extract-modules-from-runner

Conversation

@dimiro1
Copy link
Owner

@dimiro1 dimiro1 commented Dec 15, 2025

The idea is to later be able to support different script engines or wasm

  • Reorganize internal packages into services/ and runtime/
  • Introduce the concept of a engine and runtime.

- Move service interfaces (ai, email, env, http, kv, logger) to internal/services/
- Rename stdlib to runtime for language-agnostic utilities
- Extract business logic from Lua wrappers into runtime packages
- Add unit tests for all runtime packages
- Currently the only runtime is lua
- The work was done to be able to later support other runtimes such as
  wasm.
@dimiro1 dimiro1 merged commit ba9affd into main Dec 15, 2025
2 checks passed
@dimiro1 dimiro1 deleted the extract-modules-from-runner branch December 15, 2025 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant