@dxos/compute
v0.10.0
Published
Umbrella package for AI-aware DXOS compute primitives.
Keywords
Readme
@dxos/compute
Umbrella package for AI-aware DXOS compute primitives.
Usage
Importing from @dxos/compute is equivalent to importing from the underlying
source packages. Namespaces preserve their nesting — there is no extra wrapping
or unwrapping:
import { Skill, Operation, Instructions, Process, Script, Trace, Trigger } from '@dxos/compute';
Skill.make({ /* ... */ });
Operation.lazy(() => /* ... */);
Trace.write(Trace.OperationStart, { /* ... */ });This single surface subsumes:
| Re-exported from | Includes |
| ------------------ | --------------------------------------------------------------- |
| @dxos/operation | Operation, OperationInvoker, OperationHandlerSet, OperationRegistry, errors |
| @dxos/compute | Skill, Instructions, Template |
| @dxos/functions | Process, Trigger, TriggerEvent, Script, Trace, ServiceResolver, StorageService, CredentialsService, ExampleHandlers, services, errors, sdk |
The HyperFormula-based compute graph that previously lived here moved to
@dxos/compute-hyperformula.
Roadmap
- Stage 1 (current): re-exports — consumers depend only on
@dxos/computewhile the source packages stay in place. - Stage 2: migrate source into
@dxos/computeand remove@dxos/operationand@dxos/functions. - A companion
@dxos/compute-runtime-localpackage will host the local implementations of the services defined here (currently in@dxos/functions-runtime).
