@dxos/plugin-testing 0.8.4-main.dfabb4ec29 → 0.8.4-main.effb148878

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 (34) hide show
  1. package/LICENSE +102 -5
  2. package/dist/lib/neutral/{chunk-7UPIIIZM.mjs → chunk-C7HWAFWJ.mjs} +5 -6
  3. package/dist/lib/neutral/chunk-C7HWAFWJ.mjs.map +7 -0
  4. package/dist/lib/neutral/{chunk-ZVN23V74.mjs → chunk-G6UPW2TF.mjs} +2 -1
  5. package/dist/lib/neutral/chunk-G6UPW2TF.mjs.map +7 -0
  6. package/dist/lib/neutral/{chunk-E4LBVPH5.mjs → chunk-S4IEYCPX.mjs} +2 -2
  7. package/dist/lib/neutral/components/index.mjs +2 -1
  8. package/dist/lib/neutral/components/index.mjs.map +3 -3
  9. package/dist/lib/neutral/core.mjs +1 -1
  10. package/dist/lib/neutral/harness.mjs +7 -8
  11. package/dist/lib/neutral/harness.mjs.map +3 -3
  12. package/dist/lib/neutral/index.mjs +2 -2
  13. package/dist/lib/neutral/meta.json +1 -1
  14. package/dist/lib/neutral/meta.mjs +1 -1
  15. package/dist/lib/neutral/{open-WBONYQ47.mjs → open-O5FFJF2B.mjs} +4 -1
  16. package/dist/lib/neutral/open-O5FFJF2B.mjs.map +7 -0
  17. package/dist/lib/neutral/operations/index.mjs +1 -1
  18. package/dist/lib/neutral/plugin.mjs +2 -2
  19. package/dist/types/src/core.d.ts.map +1 -1
  20. package/dist/types/src/harness.d.ts +1 -1
  21. package/dist/types/src/harness.d.ts.map +1 -1
  22. package/dist/types/src/meta.d.ts.map +1 -1
  23. package/dist/types/src/operations/open.d.ts.map +1 -1
  24. package/dist/types/tsconfig.tsbuildinfo +1 -1
  25. package/package.json +17 -16
  26. package/src/components/Layout/Layout.tsx +3 -3
  27. package/src/core.ts +15 -18
  28. package/src/harness.ts +8 -9
  29. package/src/meta.ts +1 -0
  30. package/src/operations/open.ts +2 -0
  31. package/dist/lib/neutral/chunk-7UPIIIZM.mjs.map +0 -7
  32. package/dist/lib/neutral/chunk-ZVN23V74.mjs.map +0 -7
  33. package/dist/lib/neutral/open-WBONYQ47.mjs.map +0 -7
  34. /package/dist/lib/neutral/{chunk-E4LBVPH5.mjs.map → chunk-S4IEYCPX.mjs.map} +0 -0
@@ -4,11 +4,14 @@ import "./chunk-J5LGTIGS.mjs";
4
4
  import * as Effect from "effect/Effect";
5
5
  import { LayoutOperation } from "@dxos/app-toolkit";
6
6
  import { Operation } from "@dxos/compute";
7
+ import { log } from "@dxos/log";
8
+ var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-testing/src/operations/open.ts";
7
9
  var handler = LayoutOperation.Open.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
10
+ log("LayoutOperation.Open handler start", void 0, { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 9, S: this });
8
11
  return input.subject;
9
12
  })));
10
13
  var open_default = handler;
11
14
  export {
12
15
  open_default as default
13
16
  };
14
- //# sourceMappingURL=open-WBONYQ47.mjs.map
17
+ //# sourceMappingURL=open-O5FFJF2B.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/operations/open.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { LayoutOperation } from '@dxos/app-toolkit';\nimport { Operation } from '@dxos/compute';\nimport { log } from '@dxos/log';\n\nconst handler: Operation.WithHandler<typeof LayoutOperation.Open> = LayoutOperation.Open.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n log('LayoutOperation.Open handler start');\n return input.subject;\n }),\n ),\n);\n\nexport default handler;\n"],
5
+ "mappings": ";;;AAIA,YAAYA,YAAY;AAExB,SAASC,uBAAuB;AAChC,SAASC,iBAAiB;AAC1B,SAASC,WAAW;AAEpB,IAAA,eAAoEF;IAI9D,UAAOG,gBAAa,KAAA,KAAA,UAAA,YAAA,kBAAA,WAAA,OAAA;AACtB,MAAA,sCAAA,QAAA,EAAA,YAAA,YAAA,GAAA,cAAA,GAAA,GAAA,GAAA,KAAA,CAAA;AAIJ,SAAA,MAAeC;;;",
6
+ "names": ["Effect", "LayoutOperation", "Operation", "log", "input", "handler"]
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TestingOperationHandlerSet
3
- } from "../chunk-E4LBVPH5.mjs";
3
+ } from "../chunk-S4IEYCPX.mjs";
4
4
  import "../chunk-J5LGTIGS.mjs";
5
5
  export {
6
6
  TestingOperationHandlerSet
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  meta
3
- } from "./chunk-ZVN23V74.mjs";
3
+ } from "./chunk-G6UPW2TF.mjs";
4
4
  import {
5
5
  TestingOperationHandlerSet
6
- } from "./chunk-E4LBVPH5.mjs";
6
+ } from "./chunk-S4IEYCPX.mjs";
7
7
  import "./chunk-J5LGTIGS.mjs";
8
8
 
9
9
  // src/plugin.ts
@@ -1 +1 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/core.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmB,KAAK,MAAM,EAAiB,MAAM,qBAAqB,CAAC;AAsBlF;;;;GAIG;AACH,eAAO,MAAM,WAAW,QAAO,MAAM,CAAC,MAAM,EAO3C,CAAC"}
1
+ {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/core.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAwB,MAAM,qBAAqB,CAAC;AAoBxE;;;;GAIG;AACH,eAAO,MAAM,WAAW,QAAO,MAAM,CAAC,MAAM,EAM3C,CAAC"}
@@ -12,7 +12,7 @@ export type ComposerTestAppOptions = Omit<TestAppOptions, 'plugins'> & {
12
12
  };
13
13
  /**
14
14
  * Creates a TestHarness pre-loaded with the Composer core plugins
15
- * (Attention, Graph, Operation, Runtime, Settings, optionally Theme).
15
+ * (Attention, Graph, ProcessManager, Settings, optionally Theme).
16
16
  *
17
17
  * For a ClientPlugin-backed harness, pass `ClientPlugin({ ... })` via `plugins`.
18
18
  */
@@ -1 +1 @@
1
- {"version":3,"file":"harness.d.ts","sourceRoot":"","sources":["../../../src/harness.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmB,KAAK,MAAM,EAAiB,MAAM,qBAAqB,CAAC;AAClF,OAAO,EAAiB,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAKnG,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,GAAG;IACrE,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;IAC1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAcF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,UAAgB,sBAAsB,KAAQ,OAAO,CAAC,WAAW,CAYlG,CAAC"}
1
+ {"version":3,"file":"harness.d.ts","sourceRoot":"","sources":["../../../src/harness.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAwB,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAiB,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAKnG,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,GAAG;IACrE,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;IAC1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAaF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,UAAgB,sBAAsB,KAAQ,OAAO,CAAC,WAAW,CAYlG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IAQzB,CAAC"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IASzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../src/operations/open.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,IAAI,CAM/D,CAAC;eAEa,OAAO"}
1
+ {"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../src/operations/open.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,IAAI,CAO/D,CAAC;eAEa,OAAO"}