@opengeni/core 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,14 @@
1
+ # @opengeni/core
2
+
3
+ `@opengeni/core` is the extracted OpenGeni server core: domain flows, access checks, billing/admission helpers, sandbox fleet/routing helpers, and the shared dependency types that HTTP routes and embedded hosts use.
4
+
5
+ It owns code that is not intrinsically HTTP or Temporal process bootstrapping:
6
+
7
+ - access: `requireAccessContext`, `requireAccessGrant`, `requirePermission`
8
+ - domain: session creation/follow-up, scheduled-task validation, environments, packs, capabilities, workspace members
9
+ - billing/admission: `checkLimit`, `requireLimit`, `recordWorkspaceUsage`
10
+ - dependencies: `AppDependencies`, `ApiRouteDeps`, `SessionWorkflowClient`
11
+
12
+ `@opengeni/api-router` owns the Hono app, middleware, HTTP route adapters, MCP HTTP transport, and API-direct sandbox endpoints. `@opengeni/worker-bundle` owns Temporal worker construction, workflows, activities, and process lifecycle. Both consume `@opengeni/core`; core does not import either app.
13
+
14
+ The package is used by standalone OpenGeni through those app runners and by embedded hosts that call core directly or mount the API router.