@dxos/compute 0.8.4-main.f5c0578 → 0.8.4-main.fcc0d83b33

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.
Files changed (81) hide show
  1. package/README.md +36 -1
  2. package/dist/lib/neutral/index.mjs +5 -0
  3. package/dist/lib/neutral/index.mjs.map +7 -0
  4. package/dist/lib/neutral/meta.json +1 -0
  5. package/dist/types/src/index.d.ts +3 -5
  6. package/dist/types/src/index.d.ts.map +1 -1
  7. package/dist/types/src/umbrella.test.d.ts +2 -0
  8. package/dist/types/src/umbrella.test.d.ts.map +1 -0
  9. package/dist/types/tsconfig.tsbuildinfo +1 -1
  10. package/package.json +13 -50
  11. package/src/index.ts +8 -33
  12. package/src/umbrella.test.ts +47 -0
  13. package/dist/lib/browser/chunk-X2FWMHD4.mjs +0 -3107
  14. package/dist/lib/browser/chunk-X2FWMHD4.mjs.map +0 -7
  15. package/dist/lib/browser/index.mjs +0 -55
  16. package/dist/lib/browser/index.mjs.map +0 -7
  17. package/dist/lib/browser/meta.json +0 -1
  18. package/dist/lib/browser/testing/index.mjs +0 -176
  19. package/dist/lib/browser/testing/index.mjs.map +0 -7
  20. package/dist/lib/node-esm/chunk-RP7HSSCA.mjs +0 -3109
  21. package/dist/lib/node-esm/chunk-RP7HSSCA.mjs.map +0 -7
  22. package/dist/lib/node-esm/index.mjs +0 -56
  23. package/dist/lib/node-esm/index.mjs.map +0 -7
  24. package/dist/lib/node-esm/meta.json +0 -1
  25. package/dist/lib/node-esm/testing/index.mjs +0 -177
  26. package/dist/lib/node-esm/testing/index.mjs.map +0 -7
  27. package/dist/types/src/compute-graph-registry.d.ts +0 -34
  28. package/dist/types/src/compute-graph-registry.d.ts.map +0 -1
  29. package/dist/types/src/compute-graph.d.ts +0 -64
  30. package/dist/types/src/compute-graph.d.ts.map +0 -1
  31. package/dist/types/src/compute-graph.test.d.ts +0 -2
  32. package/dist/types/src/compute-graph.test.d.ts.map +0 -1
  33. package/dist/types/src/compute-node.d.ts +0 -25
  34. package/dist/types/src/compute-node.d.ts.map +0 -1
  35. package/dist/types/src/functions/async-function.d.ts +0 -66
  36. package/dist/types/src/functions/async-function.d.ts.map +0 -1
  37. package/dist/types/src/functions/edge-function.d.ts +0 -20
  38. package/dist/types/src/functions/edge-function.d.ts.map +0 -1
  39. package/dist/types/src/functions/function-defs.d.ts +0 -11
  40. package/dist/types/src/functions/function-defs.d.ts.map +0 -1
  41. package/dist/types/src/functions/index.d.ts +0 -4
  42. package/dist/types/src/functions/index.d.ts.map +0 -1
  43. package/dist/types/src/hyperformula.test.d.ts +0 -2
  44. package/dist/types/src/hyperformula.test.d.ts.map +0 -1
  45. package/dist/types/src/testing/index.d.ts +0 -4
  46. package/dist/types/src/testing/index.d.ts.map +0 -1
  47. package/dist/types/src/testing/test-builder.d.ts +0 -15
  48. package/dist/types/src/testing/test-builder.d.ts.map +0 -1
  49. package/dist/types/src/testing/test-plugin.d.ts +0 -36
  50. package/dist/types/src/testing/test-plugin.d.ts.map +0 -1
  51. package/dist/types/src/testing/util.d.ts +0 -2
  52. package/dist/types/src/testing/util.d.ts.map +0 -1
  53. package/dist/types/src/types/hyperformula.d.ts +0 -11
  54. package/dist/types/src/types/hyperformula.d.ts.map +0 -1
  55. package/dist/types/src/types/index.d.ts +0 -3
  56. package/dist/types/src/types/index.d.ts.map +0 -1
  57. package/dist/types/src/types/types.d.ts +0 -20
  58. package/dist/types/src/types/types.d.ts.map +0 -1
  59. package/dist/types/src/types/types.test.d.ts +0 -2
  60. package/dist/types/src/types/types.test.d.ts.map +0 -1
  61. package/dist/types/src/util.d.ts +0 -2
  62. package/dist/types/src/util.d.ts.map +0 -1
  63. package/dist/vendor/hyperformula.mjs +0 -36400
  64. package/src/compute-graph-registry.ts +0 -91
  65. package/src/compute-graph.test.ts +0 -89
  66. package/src/compute-graph.ts +0 -260
  67. package/src/compute-node.ts +0 -62
  68. package/src/functions/async-function.ts +0 -179
  69. package/src/functions/edge-function.ts +0 -112
  70. package/src/functions/function-defs.ts +0 -2427
  71. package/src/functions/index.ts +0 -7
  72. package/src/hyperformula.test.ts +0 -14
  73. package/src/testing/index.ts +0 -7
  74. package/src/testing/test-builder.ts +0 -54
  75. package/src/testing/test-plugin.ts +0 -101
  76. package/src/testing/util.ts +0 -9
  77. package/src/types/hyperformula.ts +0 -19
  78. package/src/types/index.ts +0 -6
  79. package/src/types/types.test.ts +0 -91
  80. package/src/types/types.ts +0 -80
  81. package/src/util.ts +0 -8
package/README.md CHANGED
@@ -1,3 +1,38 @@
1
1
  # @dxos/compute
2
2
 
3
- Basic compute API.
3
+ Umbrella package for AI-aware DXOS compute primitives.
4
+
5
+ ## Usage
6
+
7
+ Importing from `@dxos/compute` is equivalent to importing from the underlying
8
+ source packages. Namespaces preserve their nesting — there is no extra wrapping
9
+ or unwrapping:
10
+
11
+ ```ts
12
+ import { Blueprint, Operation, Routine, Process, Script, Trace, Trigger } from '@dxos/compute';
13
+
14
+ Blueprint.make({ /* ... */ });
15
+ Operation.lazy(() => /* ... */);
16
+ Trace.write(Trace.OperationStart, { /* ... */ });
17
+ ```
18
+
19
+ This single surface subsumes:
20
+
21
+ | Re-exported from | Includes |
22
+ | ------------------ | --------------------------------------------------------------- |
23
+ | `@dxos/operation` | `Operation`, `OperationInvoker`, `OperationHandlerSet`, `OperationRegistry`, errors |
24
+ | `@dxos/blueprints` | `Blueprint`, `Routine`, `Template` |
25
+ | `@dxos/functions` | `Process`, `Trigger`, `TriggerEvent`, `Script`, `Trace`, `ServiceResolver`, `StorageService`, `CredentialsService`, `ExampleHandlers`, services, errors, sdk |
26
+
27
+ The HyperFormula-based compute graph that previously lived here moved to
28
+ [`@dxos/compute-hyperformula`](../compute-hyperformula).
29
+
30
+ ## Roadmap
31
+
32
+ - Stage 1 (current): re-exports — consumers depend only on `@dxos/compute`
33
+ while the source packages stay in place.
34
+ - Stage 2: migrate source into `@dxos/compute` and remove
35
+ `@dxos/operation`, `@dxos/blueprints`, and `@dxos/functions`.
36
+ - A companion `@dxos/compute-runtime-local` package will host the local
37
+ implementations of the services defined here (currently in
38
+ `@dxos/functions-runtime`).
@@ -0,0 +1,5 @@
1
+ // src/index.ts
2
+ export * from "@dxos/operation";
3
+ export * from "@dxos/blueprints";
4
+ export * from "@dxos/functions";
5
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/index.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2026 DXOS.org\n//\n\n// Umbrella re-exports of AI compute primitives.\n// Importing from `@dxos/compute` is equivalent to importing from the source\n// packages: `Blueprint` is the same `Blueprint` namespace as in\n// `@dxos/blueprints`, `Operation` is the same as in `@dxos/operation`, etc.\nexport * from '@dxos/operation';\nexport * from '@dxos/blueprints';\nexport * from '@dxos/functions';\n"],
5
+ "mappings": ";AAQA,cAAc;AACd,cAAc;AACd,cAAc;",
6
+ "names": []
7
+ }
@@ -0,0 +1 @@
1
+ {"inputs":{"src/index.ts":{"bytes":1296,"imports":[{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/blueprints","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/lib/neutral/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":562},"dist/lib/neutral/index.mjs":{"imports":[{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/blueprints","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":100}},"bytes":151}}}
@@ -1,6 +1,4 @@
1
- export * from './compute-graph';
2
- export * from './compute-graph-registry';
3
- export * from './compute-node';
4
- export * from './functions';
5
- export * from './types';
1
+ export * from '@dxos/operation';
2
+ export * from '@dxos/blueprints';
3
+ export * from '@dxos/functions';
6
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AA+BA,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=umbrella.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"umbrella.test.d.ts","sourceRoot":"","sources":["../../../src/umbrella.test.ts"],"names":[],"mappings":""}