Download docs/cordis-api/inherited.md from SaylorTwift/deepseek-harness: direct link, hf CLI and curl.
- Browser
- Download file 5.01 kB
-
https://huggingface.co/SaylorTwift/deepseek-harness/resolve/main/docs/cordis-api/inherited.md
- Command line
-
hf download hf://SaylorTwift/deepseek-harness/docs/cordis-api/inherited.md
-
curl -L -o inherited.md https://huggingface.co/SaylorTwift/deepseek-harness/resolve/main/docs/cordis-api/inherited.md
Inherited Cordis API
The framework ctx members and events every plugin sees beyond the harness tier β pinned vendor source (vendoring policy), summarized tersely so the harness pages stay focused on repository-owned vocabulary. Detailed Context, Fiber, Registry, and Service APIs are generated in context.md, fiber.md, registry.md, and service.md; the event-dispatch methods in events.md.
This file is GENERATED from source (scripts/gen-cordis-catalog.ts) and verified fresh by pnpm run verify-cordis-catalog (part of doc-sync) β do not edit it by hand. Signature blocks use a ts cordis-catalog fence and include the original source JSDoc immediately before each event or service method. doc-typecheck skips these bare declaration fragments; type names in a signature link to the page that documents them.
Inherited ctx members (cordis core + loader/hmr/timer)
ctx.on / ctx.onceβ Register an event listener (disposable). (vendor/cordis/src/events.ts:34)ctx.emit / ctx.parallel / ctx.serial / ctx.bail / ctx.waterfallβ Dispatch an event (sync / awaited / first-bail / short-circuit chain). (vendor/cordis/src/events.ts:34)ctx.plugin / ctx.injectβ Load a plugin / declare required services. (vendor/cordis/src/registry.ts:164)ctx.effectβ Register a disposable side effect tied to the fiber. (vendor/cordis/src/fiber.ts:9)ctx.get / ctx.set / ctx.provide / ctx.accessor / ctx.mixinβ Low-level service-store access and binding. (vendor/cordis/src/reflect.ts:7)ctx.extend / ctx.isolate / ctx.interceptβ Derive a child context (scoped services / isolation / interception). (vendor/cordis/src/context.ts:42)ctx.root / ctx.fiber / ctx.registry / ctx.reflect / ctx.events / ctx.loggerβ Ambient handles onto the running context graph. (vendor/cordis/src/context.ts:16)ctx.timer (+ interval / timeout / throttle / debounce)β Disposable timer helpers. Thetimerkey is provided at runtime; the four supported helpers are mixed onto ctx directly (declared via Pick). (vendor/timer/src/index.ts:4)ctx.loaderβ The config Loader that booted the app (present under the loader). (vendor/loader/src/index.ts:30)ctx.hmrβ The hot-module-reload watcher (present under the hmr plugin). (vendor/hmr/src/index.ts:15)
Inherited events (cordis core + loader/hmr/timer)
internal/pluginβ A plugin fiber was created. (vendor/cordis/src/events.ts:328)internal/statusβ A fiber changed lifecycle state. (vendor/cordis/src/events.ts:330)internal/serviceβ Interception hook for a service binding (no core producer). (vendor/cordis/src/events.ts:332)internal/updateβ Waterfall: a fiber config update is being applied. (vendor/cordis/src/events.ts:334)internal/getβ Waterfall: a service is being read from the store. (vendor/cordis/src/events.ts:336)internal/setβ Waterfall: a service is being written to the store. (vendor/cordis/src/events.ts:338)internal/listenerβ A listener was registered. (vendor/cordis/src/events.ts:340)internal/dispatchβ An event is being dispatched to listeners. (vendor/cordis/src/events.ts:342)hmr/changeβ A watched source file changed on disk. (vendor/hmr/src/index.ts:20)hmr/reloadβ Plugins are being reloaded after a change. (vendor/hmr/src/index.ts:21)exitβ The process is exiting on a signal. (vendor/loader/src/index.ts:23)loader/config-updateβ The loader config tree changed. (vendor/loader/src/index.ts:24)loader/entry-initβ A config entry is being initialized. (vendor/loader/src/index.ts:25)loader/partial-disposeβ An entry is being partially disposed on reload. (vendor/loader/src/index.ts:26)loader/patch-contextβ A context is being patched during a reload. (vendor/loader/src/index.ts:27)