@dxos/plugin-pipeline 0.8.4-main.4a85c3132b → 0.8.4-main.6fa680abb7

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 (69) hide show
  1. package/dist/lib/browser/{PipelineContainer-2ZYSZATA.mjs → PipelineContainer-FAOVECDX.mjs} +10 -12
  2. package/dist/lib/browser/PipelineContainer-FAOVECDX.mjs.map +7 -0
  3. package/dist/lib/browser/{PipelineObjectSettings-D36OYVHW.mjs → PipelineObjectSettings-JFOS6Z37.mjs} +2 -6
  4. package/dist/lib/browser/PipelineObjectSettings-JFOS6Z37.mjs.map +7 -0
  5. package/dist/lib/browser/app-graph-builder-QQKBLYFD.mjs +56 -0
  6. package/dist/lib/browser/app-graph-builder-QQKBLYFD.mjs.map +7 -0
  7. package/dist/lib/browser/{chunk-QWNKLHBY.mjs → chunk-3A235GUD.mjs} +2 -9
  8. package/dist/lib/browser/{chunk-QWNKLHBY.mjs.map → chunk-3A235GUD.mjs.map} +2 -2
  9. package/dist/lib/browser/index.mjs +12 -36
  10. package/dist/lib/browser/index.mjs.map +3 -3
  11. package/dist/lib/browser/meta.json +1 -1
  12. package/dist/lib/browser/{react-surface-ZGQVH4VX.mjs → react-surface-XD6PVALN.mjs} +9 -8
  13. package/dist/lib/browser/react-surface-XD6PVALN.mjs.map +7 -0
  14. package/dist/lib/browser/types/index.mjs +0 -9
  15. package/dist/types/src/PipelinePlugin.d.ts.map +1 -1
  16. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +1 -1
  17. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -1
  18. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -1
  19. package/dist/types/src/components/PipelineComponent/PipelineColumn.d.ts.map +1 -0
  20. package/dist/types/src/components/PipelineComponent/PipelineComponent.d.ts.map +1 -0
  21. package/dist/types/src/components/{PipelineComponent.stories.d.ts → PipelineComponent/PipelineComponent.stories.d.ts} +1 -0
  22. package/dist/types/src/components/PipelineComponent/PipelineComponent.stories.d.ts.map +1 -0
  23. package/dist/types/src/components/PipelineComponent/index.d.ts +3 -0
  24. package/dist/types/src/components/PipelineComponent/index.d.ts.map +1 -0
  25. package/dist/types/src/components/index.d.ts +0 -1
  26. package/dist/types/src/components/index.d.ts.map +1 -1
  27. package/dist/types/src/containers/PipelineContainer/PipelineContainer.d.ts +1 -1
  28. package/dist/types/src/containers/PipelineContainer/PipelineContainer.d.ts.map +1 -1
  29. package/dist/types/src/containers/PipelineContainer/PipelineContainer.stories.d.ts +1 -0
  30. package/dist/types/src/containers/PipelineContainer/PipelineContainer.stories.d.ts.map +1 -1
  31. package/dist/types/src/containers/PipelineObjectSettings/PipelineObjectSettings.d.ts.map +1 -1
  32. package/dist/types/src/templates/research.d.ts.map +1 -1
  33. package/dist/types/src/translations.d.ts +1 -0
  34. package/dist/types/src/translations.d.ts.map +1 -1
  35. package/dist/types/src/types/index.d.ts +0 -2
  36. package/dist/types/src/types/index.d.ts.map +1 -1
  37. package/dist/types/tsconfig.tsbuildinfo +1 -1
  38. package/package.json +41 -41
  39. package/src/PipelinePlugin.tsx +1 -14
  40. package/src/capabilities/app-graph-builder/app-graph-builder.ts +7 -9
  41. package/src/capabilities/operation-resolver/operation-resolver.ts +1 -21
  42. package/src/capabilities/react-surface/react-surface.tsx +7 -4
  43. package/src/components/{PipelineColumn.tsx → PipelineComponent/PipelineColumn.tsx} +1 -1
  44. package/src/components/{PipelineComponent.stories.tsx → PipelineComponent/PipelineComponent.stories.tsx} +2 -2
  45. package/src/components/{PipelineComponent.tsx → PipelineComponent/PipelineComponent.tsx} +1 -1
  46. package/src/components/PipelineComponent/index.ts +6 -0
  47. package/src/components/index.ts +0 -1
  48. package/src/containers/PipelineContainer/PipelineContainer.stories.tsx +1 -1
  49. package/src/containers/PipelineContainer/PipelineContainer.tsx +5 -6
  50. package/src/containers/PipelineObjectSettings/PipelineObjectSettings.tsx +0 -1
  51. package/src/meta.ts +1 -1
  52. package/src/templates/research.ts +6 -5
  53. package/src/translations.ts +1 -0
  54. package/src/types/index.ts +0 -3
  55. package/dist/lib/browser/PipelineContainer-2ZYSZATA.mjs.map +0 -7
  56. package/dist/lib/browser/PipelineObjectSettings-D36OYVHW.mjs.map +0 -7
  57. package/dist/lib/browser/app-graph-builder-NUJB33F7.mjs +0 -65
  58. package/dist/lib/browser/app-graph-builder-NUJB33F7.mjs.map +0 -7
  59. package/dist/lib/browser/chunk-N6FZHYWT.mjs +0 -42
  60. package/dist/lib/browser/chunk-N6FZHYWT.mjs.map +0 -7
  61. package/dist/lib/browser/react-surface-ZGQVH4VX.mjs.map +0 -7
  62. package/dist/types/src/components/PipelineColumn.d.ts.map +0 -1
  63. package/dist/types/src/components/PipelineComponent.d.ts.map +0 -1
  64. package/dist/types/src/components/PipelineComponent.stories.d.ts.map +0 -1
  65. package/dist/types/src/types/PipelineAction.d.ts +0 -25
  66. package/dist/types/src/types/PipelineAction.d.ts.map +0 -1
  67. package/src/types/PipelineAction.ts +0 -29
  68. /package/dist/types/src/components/{PipelineColumn.d.ts → PipelineComponent/PipelineColumn.d.ts} +0 -0
  69. /package/dist/types/src/components/{PipelineComponent.d.ts → PipelineComponent/PipelineComponent.d.ts} +0 -0
@@ -1,42 +0,0 @@
1
- import {
2
- __export,
3
- meta
4
- } from "./chunk-QWNKLHBY.mjs";
5
-
6
- // src/types/PipelineAction.ts
7
- var PipelineAction_exports = {};
8
- __export(PipelineAction_exports, {
9
- PipelineOperation: () => PipelineOperation
10
- });
11
- import * as Schema from "effect/Schema";
12
- import { Capability } from "@dxos/app-framework";
13
- import { Collection } from "@dxos/echo";
14
- import { Operation } from "@dxos/operation";
15
- import { SpaceSchema } from "@dxos/react-client/echo";
16
- var PIPELINE_OPERATION = `${meta.id}/operation`;
17
- (function(PipelineOperation2) {
18
- PipelineOperation2.OnCreateSpace = Operation.make({
19
- meta: {
20
- key: `${PIPELINE_OPERATION}/on-create-space`,
21
- name: "On Create Space"
22
- },
23
- services: [
24
- Capability.Service
25
- ],
26
- schema: {
27
- input: Schema.Struct({
28
- space: SpaceSchema,
29
- rootCollection: Collection.Collection,
30
- isDefault: Schema.optional(Schema.Boolean)
31
- }),
32
- output: Schema.Void
33
- }
34
- });
35
- })(PipelineOperation || (PipelineOperation = {}));
36
- var PipelineOperation;
37
-
38
- export {
39
- PipelineOperation,
40
- PipelineAction_exports
41
- };
42
- //# sourceMappingURL=chunk-N6FZHYWT.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/types/PipelineAction.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Capability } from '@dxos/app-framework';\nimport { Collection } from '@dxos/echo';\nimport { Operation } from '@dxos/operation';\nimport { SpaceSchema } from '@dxos/react-client/echo';\n\nimport { meta } from '../meta';\n\nconst PIPELINE_OPERATION = `${meta.id}/operation`;\n\nexport namespace PipelineOperation {\n export const OnCreateSpace = Operation.make({\n meta: { key: `${PIPELINE_OPERATION}/on-create-space`, name: 'On Create Space' },\n services: [Capability.Service],\n schema: {\n input: Schema.Struct({\n space: SpaceSchema,\n rootCollection: Collection.Collection,\n isDefault: Schema.optional(Schema.Boolean),\n }),\n output: Schema.Void,\n },\n });\n}\n"],
5
- "mappings": ";;;;;;AAAA;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,kBAAkB;AAC3B,SAASC,iBAAiB;AAC1B,SAASC,mBAAmB;AAI5B,IAAMC,qBAAqB,GAAGC,KAAKC,EAAE;UAEpBC,oBAAAA;qBACFC,gBAAgBC,UAAUC,KAAK;IAC1CL,MAAM;MAAEM,KAAK,GAAGP,kBAAAA;MAAsCQ,MAAM;IAAkB;IAC9EC,UAAU;MAACC,WAAWC;;IACtBC,QAAQ;MACNC,OAAcC,cAAO;QACnBC,OAAOC;QACPC,gBAAgBC,WAAWA;QAC3BC,WAAkBC,gBAAgBC,cAAO;MAC3C,CAAA;MACAC,QAAeC;IACjB;EACF,CAAA;AACF,GAbiBpB,sBAAAA,oBAAAA,CAAAA,EAAAA;;",
6
- "names": ["Schema", "Capability", "Collection", "Operation", "SpaceSchema", "PIPELINE_OPERATION", "meta", "id", "PipelineOperation", "OnCreateSpace", "Operation", "make", "key", "name", "services", "Capability", "Service", "schema", "input", "Struct", "space", "SpaceSchema", "rootCollection", "Collection", "isDefault", "optional", "Boolean", "output", "Void"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/capabilities/react-surface/react-surface.tsx", "../../../src/containers/index.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React from 'react';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Surface } from '@dxos/app-framework/ui';\nimport { InvocationTraceContainer } from '@dxos/devtools';\nimport { Obj } from '@dxos/echo';\nimport { Panel } from '@dxos/react-ui';\nimport { Pipeline } from '@dxos/types';\n\nimport { PipelineContainer, PipelineObjectSettings } from '../../containers';\nimport { meta } from '../../meta';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(Capabilities.ReactSurface, [\n Surface.create({\n id: meta.id,\n role: 'article',\n filter: (data): data is { subject: Pipeline.Pipeline } => Obj.instanceOf(Pipeline.Pipeline, data.subject),\n component: ({ data, role }) => <PipelineContainer role={role} subject={data.subject} />,\n }),\n Surface.create({\n id: `${meta.id}/companion/invocations`,\n role: 'article',\n filter: (data): data is { companionTo: Pipeline.Pipeline } =>\n Obj.instanceOf(Pipeline.Pipeline, data.companionTo) && data.subject === 'invocations',\n component: ({ data, role }) => {\n const db = Obj.getDatabase(data.companionTo);\n // TODO(wittjosiah): Filter the invocations to those relevant to the project.\n return (\n <Panel.Root role={role} className='dx-article'>\n <Panel.Content asChild>\n <InvocationTraceContainer db={db} detailAxis='block' />\n </Panel.Content>\n </Panel.Root>\n );\n },\n }),\n Surface.create({\n id: `${meta.id}/object-settings`,\n role: 'object-settings',\n filter: (data): data is { subject: Pipeline.Pipeline } => Obj.instanceOf(Pipeline.Pipeline, data.subject),\n component: ({ data }) => <PipelineObjectSettings pipeline={data.subject} />,\n }),\n ]),\n ),\n);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type ComponentType, lazy } from 'react';\n\nexport const PipelineContainer: ComponentType<any> = lazy(() => import('./PipelineContainer'));\nexport const PipelineObjectSettings: ComponentType<any> = lazy(() => import('./PipelineObjectSettings'));\n"],
5
- "mappings": ";;;;;AAIA,YAAYA,YAAY;AACxB,OAAOC,WAAW;AAElB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,eAAe;AACxB,SAASC,gCAAgC;AACzC,SAASC,WAAW;AACpB,SAASC,aAAa;AACtB,SAASC,gBAAgB;;;ACRzB,SAA6BC,YAAY;AAElC,IAAMC,oBAAwCC,KAAK,MAAM,OAAO,kCAAA,CAAA;AAChE,IAAMC,yBAA6CD,KAAK,MAAM,OAAO,uCAAA,CAAA;;;ADU5E,IAAA,wBAAeE,WAAWC,WAAW,MAC5BC,eACLF,WAAWG,YAAYC,aAAaC,cAAc;EAChDC,QAAQC,OAAO;IACbC,IAAIC,KAAKD;IACTE,MAAM;IACNC,QAAQ,CAACC,SAAiDC,IAAIC,WAAWC,SAASA,UAAUH,KAAKI,OAAO;IACxGC,WAAW,CAAC,EAAEL,MAAMF,KAAI,MAAO,sBAAA,cAACQ,mBAAAA;MAAkBR;MAAYM,SAASJ,KAAKI;;EAC9E,CAAA;EACAV,QAAQC,OAAO;IACbC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SACPC,IAAIC,WAAWC,SAASA,UAAUH,KAAKO,WAAW,KAAKP,KAAKI,YAAY;IAC1EC,WAAW,CAAC,EAAEL,MAAMF,KAAI,MAAE;AACxB,YAAMU,KAAKP,IAAIQ,YAAYT,KAAKO,WAAW;AAE3C,aACE,sBAAA,cAACG,MAAMC,MAAI;QAACb;QAAYc,WAAU;SAChC,sBAAA,cAACF,MAAMG,SAAO;QAACC,SAAAA;SACb,sBAAA,cAACC,0BAAAA;QAAyBP;QAAQQ,YAAW;;IAIrD;EACF,CAAA;EACAtB,QAAQC,OAAO;IACbC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SAAiDC,IAAIC,WAAWC,SAASA,UAAUH,KAAKI,OAAO;IACxGC,WAAW,CAAC,EAAEL,KAAI,MAAO,sBAAA,cAACiB,wBAAAA;MAAuBC,UAAUlB,KAAKI;;EAClE,CAAA;CACD,CAAA,CAAA;",
6
- "names": ["Effect", "React", "Capabilities", "Capability", "Surface", "InvocationTraceContainer", "Obj", "Panel", "Pipeline", "lazy", "PipelineContainer", "lazy", "PipelineObjectSettings", "Capability", "makeModule", "succeed", "contributes", "Capabilities", "ReactSurface", "Surface", "create", "id", "meta", "role", "filter", "data", "Obj", "instanceOf", "Pipeline", "subject", "component", "PipelineContainer", "companionTo", "db", "getDatabase", "Panel", "Root", "className", "Content", "asChild", "InvocationTraceContainer", "detailAxis", "PipelineObjectSettings", "pipeline"]
7
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"PipelineColumn.d.ts","sourceRoot":"","sources":["../../../../src/components/PipelineColumn.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAQrE,OAAO,EAAwB,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAEnF,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AAY5C,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;AAGvH,eAAO,MAAM,cAAc;oDAAmD,mBAAmB;;CA6DhG,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":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AEvB,YAAY,EAAE,SAAS,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PipelineComponent.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/PipelineComponent.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAejE,OAAO,EAAU,QAAQ,EAAE,MAAM,aAAa,CAAC;AA6I/C,QAAA,MAAM,IAAI;;;;;;;yBA3JiC,CAAQ,QAAQ,CAAC,QAE5D,CAAC,QAAQ,CAAC;;;;;;;;;;yBAOA,CAAQ,IAAI,CAAE,EAAC,CAAC;;;;;;;;;;;;;;;;;CA6LgB,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAEvB,CAAC"}
@@ -1,25 +0,0 @@
1
- import * as Schema from 'effect/Schema';
2
- import { Capability } from '@dxos/app-framework';
3
- export declare namespace PipelineOperation {
4
- const OnCreateSpace: Omit<{
5
- readonly meta: {
6
- readonly key: `${string}/on-create-space`;
7
- readonly name: "On Create Space";
8
- };
9
- readonly services: readonly [typeof Capability.Service];
10
- readonly schema: {
11
- readonly input: Schema.Struct<{
12
- space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
13
- rootCollection: import("@dxos/echo/Type").Obj<{
14
- readonly name?: string | undefined;
15
- readonly objects: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>[];
16
- }, Schema.Struct.Fields>;
17
- isDefault: Schema.optional<typeof Schema.Boolean>;
18
- }>;
19
- readonly output: typeof Schema.Void;
20
- };
21
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
22
- readonly executionMode: "sync" | "async";
23
- };
24
- }
25
- //# sourceMappingURL=PipelineAction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PipelineAction.d.ts","sourceRoot":"","sources":["../../../../src/types/PipelineAction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AASjD,yBAAiB,iBAAiB,CAAC;IAC1B,MAAM,aAAa;;;;;;;;;;;;;;;;;;;KAWxB,CAAC;CACJ"}
@@ -1,29 +0,0 @@
1
- //
2
- // Copyright 2025 DXOS.org
3
- //
4
-
5
- import * as Schema from 'effect/Schema';
6
-
7
- import { Capability } from '@dxos/app-framework';
8
- import { Collection } from '@dxos/echo';
9
- import { Operation } from '@dxos/operation';
10
- import { SpaceSchema } from '@dxos/react-client/echo';
11
-
12
- import { meta } from '../meta';
13
-
14
- const PIPELINE_OPERATION = `${meta.id}/operation`;
15
-
16
- export namespace PipelineOperation {
17
- export const OnCreateSpace = Operation.make({
18
- meta: { key: `${PIPELINE_OPERATION}/on-create-space`, name: 'On Create Space' },
19
- services: [Capability.Service],
20
- schema: {
21
- input: Schema.Struct({
22
- space: SpaceSchema,
23
- rootCollection: Collection.Collection,
24
- isDefault: Schema.optional(Schema.Boolean),
25
- }),
26
- output: Schema.Void,
27
- },
28
- });
29
- }