Phase 2 of Core DI migration: - Add *core.Core field + SetCore() to PrepSubsystem and monitor.Subsystem - Register agentic/monitor/brain as Core services with lifecycle hooks - Mark SetCompletionNotifier and SetNotifier as deprecated (removed in Phase 3) - Fix monitor test to match actual event names - initServices() now wires Core refs before legacy callbacks Co-Authored-By: Virgil <virgil@lethean.io>
22 lines
No EOL
706 B
JavaScript
22 lines
No EOL
706 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2022 Google LLC
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
/**
|
|
* @fileoverview
|
|
*
|
|
* This file exports a boolean const whose value will depend on what environment
|
|
* the module is being imported from.
|
|
*/
|
|
const NODE_MODE = false;
|
|
/**
|
|
* A boolean that will be `true` in server environments like Node, and `false`
|
|
* in browser environments. Note that your server environment or toolchain must
|
|
* support the `"node"` export condition for this to be `true`.
|
|
*
|
|
* This can be used when authoring components to change behavior based on
|
|
* whether or not the component is executing in an SSR context.
|
|
*/
|
|
export const isServer = NODE_MODE;
|
|
//# sourceMappingURL=is-server.js.map
|