@dxos/plugin-automation 0.8.4-main.1da679c → 0.8.4-main.1f223c7
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.
- package/dist/lib/browser/AutomationContainer-BRV5AJZ3.mjs +35 -0
- package/dist/lib/browser/AutomationContainer-BRV5AJZ3.mjs.map +7 -0
- package/dist/lib/browser/{app-graph-builder-SRA3X2GQ.mjs → app-graph-builder-4OFKIRAI.mjs} +3 -3
- package/dist/lib/browser/{app-graph-builder-SRA3X2GQ.mjs.map → app-graph-builder-4OFKIRAI.mjs.map} +1 -1
- package/dist/lib/browser/{chunk-NQGKPPXI.mjs → chunk-EIY2EUWC.mjs} +3 -3
- package/dist/lib/browser/chunk-EIY2EUWC.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +9 -20
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/{intent-resolver-CMLGPFD6.mjs → intent-resolver-4PSYSQQG.mjs} +3 -3
- package/dist/lib/browser/{intent-resolver-CMLGPFD6.mjs.map → intent-resolver-4PSYSQQG.mjs.map} +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-IYFH2BEM.mjs → react-surface-M52XGLXY.mjs} +15 -15
- package/dist/lib/browser/react-surface-M52XGLXY.mjs.map +7 -0
- package/dist/lib/node-esm/AutomationContainer-FYRDTERM.mjs +36 -0
- package/dist/lib/node-esm/AutomationContainer-FYRDTERM.mjs.map +7 -0
- package/dist/lib/node-esm/{app-graph-builder-R5XQJKZS.mjs → app-graph-builder-555IHYOB.mjs} +3 -3
- package/dist/lib/node-esm/{app-graph-builder-R5XQJKZS.mjs.map → app-graph-builder-555IHYOB.mjs.map} +1 -1
- package/dist/lib/node-esm/{chunk-UAOO5IZQ.mjs → chunk-CICQ73ZT.mjs} +3 -3
- package/dist/lib/node-esm/chunk-CICQ73ZT.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +9 -20
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/{intent-resolver-NUPI6NC6.mjs → intent-resolver-6ZGBUILG.mjs} +3 -3
- package/dist/lib/node-esm/{intent-resolver-NUPI6NC6.mjs.map → intent-resolver-6ZGBUILG.mjs.map} +1 -1
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-FDRJ76PK.mjs → react-surface-Y6AOXM75.mjs} +15 -15
- package/dist/lib/node-esm/react-surface-Y6AOXM75.mjs.map +7 -0
- package/dist/types/src/AutomationPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +0 -2
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/components/AutomationContainer.d.ts +5 -0
- package/dist/types/src/components/AutomationContainer.d.ts.map +1 -0
- package/dist/types/src/components/AutomationPanel/AutomationPanel.stories.d.ts +0 -2
- package/dist/types/src/components/AutomationPanel/AutomationPanel.stories.d.ts.map +1 -1
- package/dist/types/src/components/TriggerEditor/TriggerEditor.stories.d.ts +0 -2
- package/dist/types/src/components/TriggerEditor/TriggerEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +0 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +0 -2
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +26 -45
- package/src/AutomationPlugin.tsx +1 -6
- package/src/capabilities/index.ts +0 -3
- package/src/capabilities/react-surface.tsx +11 -11
- package/src/components/{AutomationSettings.tsx → AutomationContainer.tsx} +2 -4
- package/src/components/index.ts +1 -1
- package/src/index.ts +0 -1
- package/src/translations.ts +0 -4
- package/dist/lib/browser/AutomationSettings-S3F2VT7Q.mjs +0 -70
- package/dist/lib/browser/AutomationSettings-S3F2VT7Q.mjs.map +0 -7
- package/dist/lib/browser/chunk-CRUNQZ2M.mjs +0 -15
- package/dist/lib/browser/chunk-CRUNQZ2M.mjs.map +0 -7
- package/dist/lib/browser/chunk-NQGKPPXI.mjs.map +0 -7
- package/dist/lib/browser/chunk-P6YOYDXP.mjs +0 -53
- package/dist/lib/browser/chunk-P6YOYDXP.mjs.map +0 -7
- package/dist/lib/browser/chunk-UHXDXRP4.mjs +0 -14
- package/dist/lib/browser/chunk-UHXDXRP4.mjs.map +0 -7
- package/dist/lib/browser/compute-runtime-G25R3RSS.mjs +0 -154
- package/dist/lib/browser/compute-runtime-G25R3RSS.mjs.map +0 -7
- package/dist/lib/browser/hooks/index.mjs +0 -12
- package/dist/lib/browser/hooks/index.mjs.map +0 -7
- package/dist/lib/browser/react-surface-IYFH2BEM.mjs.map +0 -7
- package/dist/lib/node-esm/AutomationSettings-C3GNAUYC.mjs +0 -71
- package/dist/lib/node-esm/AutomationSettings-C3GNAUYC.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-BTD2B4SZ.mjs +0 -16
- package/dist/lib/node-esm/chunk-BTD2B4SZ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-CTAX6WBZ.mjs +0 -16
- package/dist/lib/node-esm/chunk-CTAX6WBZ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-UAOO5IZQ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-XL33Y62M.mjs +0 -54
- package/dist/lib/node-esm/chunk-XL33Y62M.mjs.map +0 -7
- package/dist/lib/node-esm/compute-runtime-LHO62OVM.mjs +0 -155
- package/dist/lib/node-esm/compute-runtime-LHO62OVM.mjs.map +0 -7
- package/dist/lib/node-esm/hooks/index.mjs +0 -13
- package/dist/lib/node-esm/hooks/index.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-FDRJ76PK.mjs.map +0 -7
- package/dist/types/src/capabilities/capabilities.d.ts +0 -18
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/compute-runtime.d.ts +0 -5
- package/dist/types/src/capabilities/compute-runtime.d.ts.map +0 -1
- package/dist/types/src/components/AutomationSettings.d.ts +0 -5
- package/dist/types/src/components/AutomationSettings.d.ts.map +0 -1
- package/dist/types/src/components/TriggerSettings.d.ts +0 -6
- package/dist/types/src/components/TriggerSettings.d.ts.map +0 -1
- package/dist/types/src/hooks/index.d.ts +0 -3
- package/dist/types/src/hooks/index.d.ts.map +0 -1
- package/dist/types/src/hooks/useComputeRuntimeCallback.d.ts +0 -8
- package/dist/types/src/hooks/useComputeRuntimeCallback.d.ts.map +0 -1
- package/dist/types/src/hooks/useTriggerRuntimeControls.d.ts +0 -11
- package/dist/types/src/hooks/useTriggerRuntimeControls.d.ts.map +0 -1
- package/src/capabilities/capabilities.ts +0 -52
- package/src/capabilities/compute-runtime.ts +0 -124
- package/src/components/TriggerSettings.tsx +0 -25
- package/src/hooks/index.ts +0 -6
- package/src/hooks/useComputeRuntimeCallback.ts +0 -30
- package/src/hooks/useTriggerRuntimeControls.ts +0 -52
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AutomationPanel
|
|
3
|
+
} from "./chunk-4TWQV33E.mjs";
|
|
4
|
+
import "./chunk-S4SM663I.mjs";
|
|
5
|
+
import {
|
|
6
|
+
AUTOMATION_PLUGIN
|
|
7
|
+
} from "./chunk-GW5U2DGT.mjs";
|
|
8
|
+
|
|
9
|
+
// src/components/AutomationContainer.tsx
|
|
10
|
+
import { useSignals as _useSignals } from "@preact-signals/safe-react/tracking";
|
|
11
|
+
import React from "react";
|
|
12
|
+
import { useTranslation } from "@dxos/react-ui";
|
|
13
|
+
import { ControlPage, ControlSection } from "@dxos/react-ui-form";
|
|
14
|
+
var AutomationContainer = (props) => {
|
|
15
|
+
var _effect = _useSignals();
|
|
16
|
+
try {
|
|
17
|
+
const { t } = useTranslation(AUTOMATION_PLUGIN);
|
|
18
|
+
return /* @__PURE__ */ React.createElement(ControlPage, null, /* @__PURE__ */ React.createElement(ControlSection, {
|
|
19
|
+
title: t("automation verbose label", {
|
|
20
|
+
ns: AUTOMATION_PLUGIN
|
|
21
|
+
}),
|
|
22
|
+
description: t("automation description", {
|
|
23
|
+
ns: AUTOMATION_PLUGIN
|
|
24
|
+
})
|
|
25
|
+
}, /* @__PURE__ */ React.createElement(AutomationPanel, props)));
|
|
26
|
+
} finally {
|
|
27
|
+
_effect.f();
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
var AutomationContainer_default = AutomationContainer;
|
|
31
|
+
export {
|
|
32
|
+
AutomationContainer,
|
|
33
|
+
AutomationContainer_default as default
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=AutomationContainer-BRV5AJZ3.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/AutomationContainer.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { useTranslation } from '@dxos/react-ui';\nimport { ControlPage, ControlSection } from '@dxos/react-ui-form';\n\nimport { AUTOMATION_PLUGIN } from '../meta';\n\nimport { AutomationPanel, type AutomationPanelProps } from './AutomationPanel';\n\nexport const AutomationContainer = (props: AutomationPanelProps) => {\n const { t } = useTranslation(AUTOMATION_PLUGIN);\n return (\n <ControlPage>\n <ControlSection\n title={t('automation verbose label', { ns: AUTOMATION_PLUGIN })}\n description={t('automation description', { ns: AUTOMATION_PLUGIN })}\n >\n <AutomationPanel {...props} />\n </ControlSection>\n </ControlPage>\n );\n};\n\nexport default AutomationContainer;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,sBAAsB;AAC/B,SAASC,aAAaC,sBAAsB;AAMrC,IAAMC,sBAAsB,CAACC,UAAAA;;;AAClC,UAAM,EAAEC,EAAC,IAAKC,eAAeC,iBAAAA;AAC7B,WACE,sBAAA,cAACC,aAAAA,MACC,sBAAA,cAACC,gBAAAA;MACCC,OAAOL,EAAE,4BAA4B;QAAEM,IAAIJ;MAAkB,CAAA;MAC7DK,aAAaP,EAAE,0BAA0B;QAAEM,IAAIJ;MAAkB,CAAA;OAEjE,sBAAA,cAACM,iBAAoBT,KAAAA,CAAAA,CAAAA;;;;AAI7B;AAEA,IAAA,8BAAeD;",
|
|
6
|
+
"names": ["React", "useTranslation", "ControlPage", "ControlSection", "AutomationContainer", "props", "t", "useTranslation", "AUTOMATION_PLUGIN", "ControlPage", "ControlSection", "title", "ns", "description", "AutomationPanel"]
|
|
7
|
+
}
|
|
@@ -11,7 +11,7 @@ import { ScriptType } from "@dxos/functions";
|
|
|
11
11
|
import { ATTENDABLE_PATH_SEPARATOR, PLANK_COMPANION_TYPE } from "@dxos/plugin-deck/types";
|
|
12
12
|
import { createExtension } from "@dxos/plugin-graph";
|
|
13
13
|
import { SPACE_PLUGIN } from "@dxos/plugin-space";
|
|
14
|
-
var app_graph_builder_default = (
|
|
14
|
+
var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBuilder, [
|
|
15
15
|
createExtension({
|
|
16
16
|
id: `${meta.id}/space-settings-automation`,
|
|
17
17
|
connector: (node) => Rx.make((get) => pipe(get(node), Option.flatMap((node2) => node2.type === `${SPACE_PLUGIN}/settings` ? Option.some(node2) : Option.none()), Option.map((node2) => [
|
|
@@ -73,8 +73,8 @@ var app_graph_builder_default = ((context) => contributes(Capabilities.AppGraphB
|
|
|
73
73
|
}
|
|
74
74
|
]), Option.getOrElse(() => [])))
|
|
75
75
|
})
|
|
76
|
-
])
|
|
76
|
+
]);
|
|
77
77
|
export {
|
|
78
78
|
app_graph_builder_default as default
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=app-graph-builder-
|
|
80
|
+
//# sourceMappingURL=app-graph-builder-4OFKIRAI.mjs.map
|
package/dist/lib/browser/{app-graph-builder-SRA3X2GQ.mjs.map → app-graph-builder-4OFKIRAI.mjs.map}
RENAMED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/capabilities/app-graph-builder.ts"],
|
|
4
4
|
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Rx } from '@effect-rx/rx-react';\nimport { Option, pipe } from 'effect';\n\nimport { Capabilities, type PluginContext, contributes } from '@dxos/app-framework';\nimport { Obj } from '@dxos/echo';\nimport { ScriptType } from '@dxos/functions';\nimport { ATTENDABLE_PATH_SEPARATOR, PLANK_COMPANION_TYPE } from '@dxos/plugin-deck/types';\nimport { createExtension } from '@dxos/plugin-graph';\nimport { SPACE_PLUGIN } from '@dxos/plugin-space';\n\nimport { meta } from '../meta';\n\nexport default (context: PluginContext) =>\n contributes(Capabilities.AppGraphBuilder, [\n createExtension({\n id: `${meta.id}/space-settings-automation`,\n connector: (node) =>\n Rx.make((get) =>\n pipe(\n get(node),\n Option.flatMap((node) => (node.type === `${SPACE_PLUGIN}/settings` ? Option.some(node) : Option.none())),\n Option.map((node) => [\n {\n id: `automation-${node.id}`,\n type: `${meta.id}/space-settings-automation`,\n data: `${meta.id}/space-settings-automation`,\n properties: {\n label: ['automation panel label', { ns: meta.id }],\n icon: 'ph--lightning--regular',\n },\n },\n ]),\n Option.getOrElse(() => []),\n ),\n ),\n }),\n createExtension({\n id: `${meta.id}/space-settings-functions`,\n connector: (node) =>\n Rx.make((get) =>\n pipe(\n get(node),\n Option.flatMap((node) => (node.type === `${SPACE_PLUGIN}/settings` ? Option.some(node) : Option.none())),\n Option.map((node) => [\n {\n id: `functions-${node.id}`,\n type: `${meta.id}/space-settings-functions`,\n data: `${meta.id}/space-settings-functions`,\n properties: {\n label: ['functions panel label', { ns: meta.id }],\n icon: 'ph--function--regular',\n },\n },\n ]),\n Option.getOrElse(() => []),\n ),\n ),\n }),\n createExtension({\n id: `${meta.id}/script-companion`,\n connector: (node) =>\n Rx.make((get) =>\n pipe(\n get(node),\n Option.flatMap((node) => (Obj.instanceOf(ScriptType, node.data) ? Option.some(node) : Option.none())),\n Option.map((node) => [\n {\n id: [node.id, 'automation'].join(ATTENDABLE_PATH_SEPARATOR),\n type: PLANK_COMPANION_TYPE,\n data: 'automation',\n properties: {\n label: ['script automation label', { ns: meta.id }],\n icon: 'ph--lightning--regular',\n disposition: 'hidden',\n },\n },\n ]),\n Option.getOrElse(() => []),\n ),\n ),\n }),\n ]);\n"],
|
|
5
|
-
"mappings": ";;;;;AAIA,SAASA,UAAU;AACnB,SAASC,QAAQC,YAAY;AAE7B,SAASC,cAAkCC,mBAAmB;AAC9D,SAASC,WAAW;AACpB,SAASC,kBAAkB;AAC3B,SAASC,2BAA2BC,4BAA4B;AAChE,SAASC,uBAAuB;AAChC,SAASC,oBAAoB;AAI7B,IAAA,
|
|
5
|
+
"mappings": ";;;;;AAIA,SAASA,UAAU;AACnB,SAASC,QAAQC,YAAY;AAE7B,SAASC,cAAkCC,mBAAmB;AAC9D,SAASC,WAAW;AACpB,SAASC,kBAAkB;AAC3B,SAASC,2BAA2BC,4BAA4B;AAChE,SAASC,uBAAuB;AAChC,SAASC,oBAAoB;AAI7B,IAAA,4BAAe,CAACC,YACdC,YAAYC,aAAaC,iBAAiB;EACxCC,gBAAgB;IACdC,IAAI,GAAGC,KAAKD,EAAE;IACdE,WAAW,CAACC,SACVC,GAAGC,KAAK,CAACC,QACPC,KACED,IAAIH,IAAAA,GACJK,OAAOC,QAAQ,CAACN,UAAUA,MAAKO,SAAS,GAAGC,YAAAA,cAA0BH,OAAOI,KAAKT,KAAAA,IAAQK,OAAOK,KAAI,CAAA,GACpGL,OAAOM,IAAI,CAACX,UAAS;MACnB;QACEH,IAAI,cAAcG,MAAKH,EAAE;QACzBU,MAAM,GAAGT,KAAKD,EAAE;QAChBe,MAAM,GAAGd,KAAKD,EAAE;QAChBgB,YAAY;UACVC,OAAO;YAAC;YAA0B;cAAEC,IAAIjB,KAAKD;YAAG;;UAChDmB,MAAM;QACR;MACF;KACD,GACDX,OAAOY,UAAU,MAAM,CAAA,CAAE,CAAA,CAAA;EAGjC,CAAA;EACArB,gBAAgB;IACdC,IAAI,GAAGC,KAAKD,EAAE;IACdE,WAAW,CAACC,SACVC,GAAGC,KAAK,CAACC,QACPC,KACED,IAAIH,IAAAA,GACJK,OAAOC,QAAQ,CAACN,UAAUA,MAAKO,SAAS,GAAGC,YAAAA,cAA0BH,OAAOI,KAAKT,KAAAA,IAAQK,OAAOK,KAAI,CAAA,GACpGL,OAAOM,IAAI,CAACX,UAAS;MACnB;QACEH,IAAI,aAAaG,MAAKH,EAAE;QACxBU,MAAM,GAAGT,KAAKD,EAAE;QAChBe,MAAM,GAAGd,KAAKD,EAAE;QAChBgB,YAAY;UACVC,OAAO;YAAC;YAAyB;cAAEC,IAAIjB,KAAKD;YAAG;;UAC/CmB,MAAM;QACR;MACF;KACD,GACDX,OAAOY,UAAU,MAAM,CAAA,CAAE,CAAA,CAAA;EAGjC,CAAA;EACArB,gBAAgB;IACdC,IAAI,GAAGC,KAAKD,EAAE;IACdE,WAAW,CAACC,SACVC,GAAGC,KAAK,CAACC,QACPC,KACED,IAAIH,IAAAA,GACJK,OAAOC,QAAQ,CAACN,UAAUkB,IAAIC,WAAWC,YAAYpB,MAAKY,IAAI,IAAIP,OAAOI,KAAKT,KAAAA,IAAQK,OAAOK,KAAI,CAAA,GACjGL,OAAOM,IAAI,CAACX,UAAS;MACnB;QACEH,IAAI;UAACG,MAAKH;UAAI;UAAcwB,KAAKC,yBAAAA;QACjCf,MAAMgB;QACNX,MAAM;QACNC,YAAY;UACVC,OAAO;YAAC;YAA2B;cAAEC,IAAIjB,KAAKD;YAAG;;UACjDmB,MAAM;UACNQ,aAAa;QACf;MACF;KACD,GACDnB,OAAOY,UAAU,MAAM,CAAA,CAAE,CAAA,CAAA;EAGjC,CAAA;CACD;",
|
|
6
6
|
"names": ["Rx", "Option", "pipe", "Capabilities", "contributes", "Obj", "ScriptType", "ATTENDABLE_PATH_SEPARATOR", "PLANK_COMPANION_TYPE", "createExtension", "SPACE_PLUGIN", "context", "contributes", "Capabilities", "AppGraphBuilder", "createExtension", "id", "meta", "connector", "node", "Rx", "make", "get", "pipe", "Option", "flatMap", "type", "SPACE_PLUGIN", "some", "none", "map", "data", "properties", "label", "ns", "icon", "getOrElse", "Obj", "instanceOf", "ScriptType", "join", "ATTENDABLE_PATH_SEPARATOR", "PLANK_COMPANION_TYPE", "disposition"]
|
|
7
7
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// src/components/index.ts
|
|
2
2
|
import { lazy } from "react";
|
|
3
|
+
var AutomationContainer = lazy(() => import("./AutomationContainer-BRV5AJZ3.mjs"));
|
|
3
4
|
var AutomationPanel = lazy(() => import("./AutomationPanel-N5HFJJXW.mjs"));
|
|
4
|
-
var AutomationSettings = lazy(() => import("./AutomationSettings-S3F2VT7Q.mjs"));
|
|
5
5
|
var FunctionsContainer = lazy(() => import("./FunctionsContainer-U4HASI4P.mjs"));
|
|
6
6
|
var FunctionsPanel = lazy(() => import("./FunctionsPanel-I443Y6KB.mjs"));
|
|
7
7
|
|
|
8
8
|
export {
|
|
9
|
+
AutomationContainer,
|
|
9
10
|
AutomationPanel,
|
|
10
|
-
AutomationSettings,
|
|
11
11
|
FunctionsContainer,
|
|
12
12
|
FunctionsPanel
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-EIY2EUWC.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/index.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { lazy } from 'react';\n\nexport * from './TriggerEditor';\n\nexport const AutomationContainer = lazy(() => import('./AutomationContainer'));\nexport const AutomationPanel = lazy(() => import('./AutomationPanel'));\nexport const FunctionsContainer = lazy(() => import('./FunctionsContainer'));\nexport const FunctionsPanel = lazy(() => import('./FunctionsPanel'));\n"],
|
|
5
|
+
"mappings": ";AAIA,SAASA,YAAY;AAId,IAAMC,sBAAsBC,KAAK,MAAM,OAAO,oCAAA,CAAA;AAC9C,IAAMC,kBAAkBD,KAAK,MAAM,OAAO,gCAAA,CAAA;AAC1C,IAAME,qBAAqBF,KAAK,MAAM,OAAO,mCAAA,CAAA;AAC7C,IAAMG,iBAAiBH,KAAK,MAAM,OAAO,+BAAA,CAAA;",
|
|
6
|
+
"names": ["lazy", "AutomationContainer", "lazy", "AutomationPanel", "FunctionsContainer", "FunctionsPanel"]
|
|
7
|
+
}
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
+
AutomationContainer,
|
|
2
3
|
AutomationPanel,
|
|
3
|
-
AutomationSettings,
|
|
4
4
|
FunctionsContainer,
|
|
5
5
|
FunctionsPanel
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
AppGraphBuilder,
|
|
9
|
-
ComputeRuntime,
|
|
10
|
-
IntentResolver,
|
|
11
|
-
ReactSurface
|
|
12
|
-
} from "./chunk-UHXDXRP4.mjs";
|
|
13
|
-
import {
|
|
14
|
-
AutomationCapabilities
|
|
15
|
-
} from "./chunk-CRUNQZ2M.mjs";
|
|
6
|
+
} from "./chunk-EIY2EUWC.mjs";
|
|
16
7
|
import {
|
|
17
8
|
TriggerEditor
|
|
18
9
|
} from "./chunk-S4SM663I.mjs";
|
|
@@ -26,6 +17,12 @@ import { Capabilities, Events, contributes, defineModule, definePlugin } from "@
|
|
|
26
17
|
import { FunctionTrigger, FunctionType } from "@dxos/functions";
|
|
27
18
|
import { ClientCapabilities, ClientEvents } from "@dxos/plugin-client";
|
|
28
19
|
|
|
20
|
+
// src/capabilities/index.ts
|
|
21
|
+
import { lazy } from "@dxos/app-framework";
|
|
22
|
+
var AppGraphBuilder = lazy(() => import("./app-graph-builder-4OFKIRAI.mjs"));
|
|
23
|
+
var IntentResolver = lazy(() => import("./intent-resolver-4PSYSQQG.mjs"));
|
|
24
|
+
var ReactSurface = lazy(() => import("./react-surface-M52XGLXY.mjs"));
|
|
25
|
+
|
|
29
26
|
// src/translations.ts
|
|
30
27
|
var translations = [
|
|
31
28
|
{
|
|
@@ -36,8 +33,6 @@ var translations = [
|
|
|
36
33
|
"script automation label": "Automation",
|
|
37
34
|
"automation verbose label": "Manage automations",
|
|
38
35
|
"automation description": "You can manage all the triggers which automate your space here.",
|
|
39
|
-
"runtime label": "Enable Local Runtime",
|
|
40
|
-
"runtime description": "This will start a trigger dispatcher locally for this space to run triggers on your device while Composer is running.",
|
|
41
36
|
"functions panel label": "Functions",
|
|
42
37
|
"functions verbose label": "Manage deployed functions",
|
|
43
38
|
"functions description": "You can manage all the functions deployed from your space on EDGE here.",
|
|
@@ -91,19 +86,13 @@ var AutomationPlugin = () => definePlugin(meta, [
|
|
|
91
86
|
id: `${meta.id}/module/react-surface`,
|
|
92
87
|
activatesOn: Events.SetupReactSurface,
|
|
93
88
|
activate: ReactSurface
|
|
94
|
-
}),
|
|
95
|
-
defineModule({
|
|
96
|
-
id: `${meta.id}/module/compute-runtime`,
|
|
97
|
-
activatesOn: ClientEvents.ClientReady,
|
|
98
|
-
activate: ComputeRuntime
|
|
99
89
|
})
|
|
100
90
|
]);
|
|
101
91
|
export {
|
|
102
92
|
AUTOMATION_PLUGIN,
|
|
103
|
-
|
|
93
|
+
AutomationContainer,
|
|
104
94
|
AutomationPanel,
|
|
105
95
|
AutomationPlugin,
|
|
106
|
-
AutomationSettings,
|
|
107
96
|
FunctionsContainer,
|
|
108
97
|
FunctionsPanel,
|
|
109
98
|
TriggerEditor,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../src/AutomationPlugin.tsx", "../../../src/translations.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Capabilities, Events, contributes, defineModule, definePlugin } from '@dxos/app-framework';\nimport { FunctionTrigger, FunctionType } from '@dxos/functions';\nimport { ClientCapabilities, ClientEvents } from '@dxos/plugin-client';\n\nimport { AppGraphBuilder,
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["Capabilities", "Events", "contributes", "defineModule", "definePlugin", "FunctionTrigger", "FunctionType", "ClientCapabilities", "ClientEvents", "translations", "meta", "id", "AutomationPlugin", "definePlugin", "meta", "defineModule", "id", "activatesOn", "Events", "SetupTranslations", "activate", "contributes", "Capabilities", "Translations", "translations", "ClientEvents", "SetupSchema", "ClientCapabilities", "Schema", "FunctionType", "FunctionTrigger", "SetupAppGraph", "AppGraphBuilder", "SetupIntentResolver", "IntentResolver", "SetupReactSurface", "ReactSurface"
|
|
3
|
+
"sources": ["../../../src/AutomationPlugin.tsx", "../../../src/capabilities/index.ts", "../../../src/translations.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Capabilities, Events, contributes, defineModule, definePlugin } from '@dxos/app-framework';\nimport { FunctionTrigger, FunctionType } from '@dxos/functions';\nimport { ClientCapabilities, ClientEvents } from '@dxos/plugin-client';\n\nimport { AppGraphBuilder, IntentResolver, ReactSurface } from './capabilities';\nimport { meta } from './meta';\nimport { translations } from './translations';\n\nexport const AutomationPlugin = () =>\n definePlugin(meta, [\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, translations),\n }),\n defineModule({\n id: `${meta.id}/module/schema`,\n activatesOn: ClientEvents.SetupSchema,\n activate: () => contributes(ClientCapabilities.Schema, [FunctionType, FunctionTrigger]),\n }),\n defineModule({\n id: `${meta.id}/module/app-graph-builder`,\n activatesOn: Events.SetupAppGraph,\n activate: AppGraphBuilder,\n }),\n defineModule({\n id: `${meta.id}/module/intent-resolver`,\n activatesOn: Events.SetupIntentResolver,\n activate: IntentResolver,\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n activate: ReactSurface,\n }),\n ]);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { lazy } from '@dxos/app-framework';\n\nexport const AppGraphBuilder = lazy(() => import('./app-graph-builder'));\nexport const IntentResolver = lazy(() => import('./intent-resolver'));\nexport const ReactSurface = lazy(() => import('./react-surface'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from './meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.id]: {\n 'plugin name': 'Automation',\n 'automation panel label': 'Automations',\n 'script automation label': 'Automation',\n 'automation verbose label': 'Manage automations',\n 'automation description': 'You can manage all the triggers which automate your space here.',\n\n 'functions panel label': 'Functions',\n 'functions verbose label': 'Manage deployed functions',\n 'functions description': 'You can manage all the functions deployed from your space on EDGE here.',\n 'function copy id': 'Copy Function ID',\n 'no functions found': 'No functions found',\n 'go to function source button label': 'Show function source',\n\n 'trigger editor title': 'Configure Trigger',\n 'new trigger label': 'Add Trigger',\n 'trigger type timer': 'Timer',\n 'trigger type webhook': 'Webhook',\n 'trigger type websocket': 'Websocket',\n 'trigger type subscription': 'Subscription',\n 'trigger type email': 'Email',\n 'trigger type queue': 'Queue',\n\n 'trigger copy url': 'Copy URL',\n 'trigger copy email': 'Copy Email',\n\n 'trigger payload add': 'Add',\n 'trigger payload remove': 'Remove',\n 'trigger payload prop name placeholder': 'New payload property name',\n },\n },\n },\n] as const satisfies Resource[];\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;AAIA,SAASA,cAAcC,QAAQC,aAAaC,cAAcC,oBAAoB;AAC9E,SAASC,iBAAiBC,oBAAoB;AAC9C,SAASC,oBAAoBC,oBAAoB;;;ACFjD,SAASC,YAAY;AAEd,IAAMC,kBAAkBC,KAAK,MAAM,OAAO,kCAAA,CAAA;AAC1C,IAAMC,iBAAiBD,KAAK,MAAM,OAAO,gCAAA,CAAA;AACzC,IAAME,eAAeF,KAAK,MAAM,OAAO,8BAAA,CAAA;;;ACAvC,IAAMG,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,0BAA0B;QAC1B,2BAA2B;QAC3B,4BAA4B;QAC5B,0BAA0B;QAE1B,yBAAyB;QACzB,2BAA2B;QAC3B,yBAAyB;QACzB,oBAAoB;QACpB,sBAAsB;QACtB,sCAAsC;QAEtC,wBAAwB;QACxB,qBAAqB;QACrB,sBAAsB;QACtB,wBAAwB;QACxB,0BAA0B;QAC1B,6BAA6B;QAC7B,sBAAsB;QACtB,sBAAsB;QAEtB,oBAAoB;QACpB,sBAAsB;QAEtB,uBAAuB;QACvB,0BAA0B;QAC1B,yCAAyC;MAC3C;IACF;EACF;;;;AF9BK,IAAMC,mBAAmB,MAC9BC,aAAaC,MAAM;EACjBC,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOC;IACpBC,UAAU,MAAMC,YAAYC,aAAaC,cAAcC,YAAAA;EACzD,CAAA;EACAT,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaQ,aAAaC;IAC1BN,UAAU,MAAMC,YAAYM,mBAAmBC,QAAQ;MAACC;MAAcC;KAAgB;EACxF,CAAA;EACAf,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOa;IACpBX,UAAUY;EACZ,CAAA;EACAjB,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOe;IACpBb,UAAUc;EACZ,CAAA;EACAnB,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOiB;IACpBf,UAAUgB;EACZ,CAAA;CACD;",
|
|
6
|
+
"names": ["Capabilities", "Events", "contributes", "defineModule", "definePlugin", "FunctionTrigger", "FunctionType", "ClientCapabilities", "ClientEvents", "lazy", "AppGraphBuilder", "lazy", "IntentResolver", "ReactSurface", "translations", "meta", "id", "AutomationPlugin", "definePlugin", "meta", "defineModule", "id", "activatesOn", "Events", "SetupTranslations", "activate", "contributes", "Capabilities", "Translations", "translations", "ClientEvents", "SetupSchema", "ClientCapabilities", "Schema", "FunctionType", "FunctionTrigger", "SetupAppGraph", "AppGraphBuilder", "SetupIntentResolver", "IntentResolver", "SetupReactSurface", "ReactSurface"]
|
|
7
7
|
}
|
|
@@ -10,7 +10,7 @@ import { FunctionTrigger, FunctionType, ScriptType } from "@dxos/functions";
|
|
|
10
10
|
import { ATTENDABLE_PATH_SEPARATOR } from "@dxos/plugin-deck/types";
|
|
11
11
|
import { SpaceAction } from "@dxos/plugin-space/types";
|
|
12
12
|
import { Filter } from "@dxos/react-client/echo";
|
|
13
|
-
var intent_resolver_default = (
|
|
13
|
+
var intent_resolver_default = (context) => contributes(Capabilities.IntentResolver, [
|
|
14
14
|
createResolver({
|
|
15
15
|
intent: AutomationAction.CreateTriggerFromTemplate,
|
|
16
16
|
resolve: async ({ space, template, enabled = false, scriptName, input }) => {
|
|
@@ -70,8 +70,8 @@ var intent_resolver_default = ((context) => contributes(Capabilities.IntentResol
|
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
})
|
|
73
|
-
])
|
|
73
|
+
]);
|
|
74
74
|
export {
|
|
75
75
|
intent_resolver_default as default
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=intent-resolver-
|
|
77
|
+
//# sourceMappingURL=intent-resolver-4PSYSQQG.mjs.map
|
package/dist/lib/browser/{intent-resolver-CMLGPFD6.mjs.map → intent-resolver-4PSYSQQG.mjs.map}
RENAMED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/capabilities/intent-resolver.ts"],
|
|
4
4
|
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport {\n Capabilities,\n LayoutAction,\n type PluginContext,\n contributes,\n createIntent,\n createResolver,\n} from '@dxos/app-framework';\nimport { Obj, Ref } from '@dxos/echo';\nimport { FunctionTrigger, FunctionType, ScriptType } from '@dxos/functions';\nimport { type DXN } from '@dxos/keys';\nimport { ATTENDABLE_PATH_SEPARATOR } from '@dxos/plugin-deck/types';\nimport { SpaceAction } from '@dxos/plugin-space/types';\nimport { Filter } from '@dxos/react-client/echo';\n\nimport { AutomationAction } from '../types';\n\nexport default (context: PluginContext) =>\n contributes(Capabilities.IntentResolver, [\n createResolver({\n intent: AutomationAction.CreateTriggerFromTemplate,\n resolve: async ({ space, template, enabled = false, scriptName, input }) => {\n const trigger = Obj.make(FunctionTrigger, { enabled, input });\n\n // TODO(wittjosiah): Factor out function lookup by script name?\n if (scriptName) {\n const {\n objects: [script],\n } = await space.db.query(Filter.type(ScriptType, { name: scriptName })).run();\n if (script) {\n const {\n objects: [fn],\n } = await space.db.query(Filter.type(FunctionType, { source: Ref.make(script) })).run();\n if (fn) {\n trigger.function = Ref.make(fn);\n }\n }\n }\n\n switch (template.type) {\n case 'timer': {\n trigger.spec = { kind: 'timer', cron: template.cron };\n break;\n }\n case 'queue': {\n trigger.spec = { kind: 'queue', queue: (template.queueDXN as DXN).toString() };\n break;\n }\n default: {\n break;\n }\n }\n\n return {\n intents: [\n createIntent(SpaceAction.AddObject, { object: trigger, target: space, hidden: true }),\n createIntent(LayoutAction.Open, {\n part: 'main',\n subject: [`automation-settings${ATTENDABLE_PATH_SEPARATOR}${space.id}`],\n options: {\n workspace: space.id,\n },\n }),\n ],\n };\n },\n }),\n ]);\n"],
|
|
5
|
-
"mappings": ";;;;;;AAIA,SACEA,cACAC,cAEAC,aACAC,cACAC,sBACK;AACP,SAASC,KAAKC,WAAW;AACzB,SAASC,iBAAiBC,cAAcC,kBAAkB;AAE1D,SAASC,iCAAiC;AAC1C,SAASC,mBAAmB;AAC5B,SAASC,cAAc;AAIvB,IAAA,
|
|
5
|
+
"mappings": ";;;;;;AAIA,SACEA,cACAC,cAEAC,aACAC,cACAC,sBACK;AACP,SAASC,KAAKC,WAAW;AACzB,SAASC,iBAAiBC,cAAcC,kBAAkB;AAE1D,SAASC,iCAAiC;AAC1C,SAASC,mBAAmB;AAC5B,SAASC,cAAc;AAIvB,IAAA,0BAAe,CAACC,YACdC,YAAYC,aAAaC,gBAAgB;EACvCC,eAAe;IACbC,QAAQC,iBAAiBC;IACzBC,SAAS,OAAO,EAAEC,OAAOC,UAAUC,UAAU,OAAOC,YAAYC,MAAK,MAAE;AACrE,YAAMC,UAAUC,IAAIC,KAAKC,iBAAiB;QAAEN;QAASE;MAAM,CAAA;AAG3D,UAAID,YAAY;AACd,cAAM,EACJM,SAAS,CAACC,MAAAA,EAAO,IACf,MAAMV,MAAMW,GAAGC,MAAMC,OAAOC,KAAKC,YAAY;UAAEC,MAAMb;QAAW,CAAA,CAAA,EAAIc,IAAG;AAC3E,YAAIP,QAAQ;AACV,gBAAM,EACJD,SAAS,CAACS,EAAAA,EAAG,IACX,MAAMlB,MAAMW,GAAGC,MAAMC,OAAOC,KAAKK,cAAc;YAAEC,QAAQC,IAAId,KAAKG,MAAAA;UAAQ,CAAA,CAAA,EAAIO,IAAG;AACrF,cAAIC,IAAI;AACNb,oBAAQiB,WAAWD,IAAId,KAAKW,EAAAA;UAC9B;QACF;MACF;AAEA,cAAQjB,SAASa,MAAI;QACnB,KAAK,SAAS;AACZT,kBAAQkB,OAAO;YAAEC,MAAM;YAASC,MAAMxB,SAASwB;UAAK;AACpD;QACF;QACA,KAAK,SAAS;AACZpB,kBAAQkB,OAAO;YAAEC,MAAM;YAASE,OAAQzB,SAAS0B,SAAiBC,SAAQ;UAAG;AAC7E;QACF;QACA,SAAS;AACP;QACF;MACF;AAEA,aAAO;QACLC,SAAS;UACPC,aAAaC,YAAYC,WAAW;YAAEC,QAAQ5B;YAAS6B,QAAQlC;YAAOmC,QAAQ;UAAK,CAAA;UACnFL,aAAaM,aAAaC,MAAM;YAC9BC,MAAM;YACNC,SAAS;cAAC,sBAAsBC,yBAAAA,GAA4BxC,MAAMyC,EAAE;;YACpEC,SAAS;cACPC,WAAW3C,MAAMyC;YACnB;UACF,CAAA;;MAEJ;IACF;EACF,CAAA;CACD;",
|
|
6
6
|
"names": ["Capabilities", "LayoutAction", "contributes", "createIntent", "createResolver", "Obj", "Ref", "FunctionTrigger", "FunctionType", "ScriptType", "ATTENDABLE_PATH_SEPARATOR", "SpaceAction", "Filter", "context", "contributes", "Capabilities", "IntentResolver", "createResolver", "intent", "AutomationAction", "CreateTriggerFromTemplate", "resolve", "space", "template", "enabled", "scriptName", "input", "trigger", "Obj", "make", "FunctionTrigger", "objects", "script", "db", "query", "Filter", "type", "ScriptType", "name", "run", "fn", "FunctionType", "source", "Ref", "function", "spec", "kind", "cron", "queue", "queueDXN", "toString", "intents", "createIntent", "SpaceAction", "AddObject", "object", "target", "hidden", "LayoutAction", "Open", "part", "subject", "ATTENDABLE_PATH_SEPARATOR", "id", "options", "workspace"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/meta.ts":{"bytes":1682,"imports":[],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":3096,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":11375,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/compute-runtime.ts":{"bytes":19294,"imports":[{"path":"@effect/ai","kind":"import-statement","external":true},{"path":"@effect/platform-browser","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/types/schema.ts":{"bytes":4024,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/index.ts":{"bytes":465,"imports":[{"path":"src/types/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":9190,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/components/TriggerEditor/FunctionInputEditor.tsx":{"bytes":8587,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"format":"esm"},"src/components/TriggerEditor/SpecSelector.tsx":{"bytes":6778,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/TriggerEditor/TriggerEditor.tsx":{"bytes":12185,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/components/TriggerEditor/FunctionInputEditor.tsx","kind":"import-statement","original":"./FunctionInputEditor"},{"path":"src/components/TriggerEditor/SpecSelector.tsx","kind":"import-statement","original":"./SpecSelector"}],"format":"esm"},"src/components/TriggerEditor/index.ts":{"bytes":503,"imports":[{"path":"src/components/TriggerEditor/TriggerEditor.tsx","kind":"import-statement","original":"./TriggerEditor"}],"format":"esm"},"src/components/AutomationPanel/AutomationPanel.tsx":{"bytes":20479,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/TriggerEditor/index.ts","kind":"import-statement","original":"../TriggerEditor"}],"format":"esm"},"src/components/AutomationPanel/index.ts":{"bytes":800,"imports":[{"path":"src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"},{"path":"src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"}],"format":"esm"},"src/hooks/useComputeRuntimeCallback.ts":{"bytes":3152,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../capabilities"}],"format":"esm"},"src/hooks/useTriggerRuntimeControls.ts":{"bytes":4790,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/hooks/useComputeRuntimeCallback.ts","kind":"import-statement","original":"./useComputeRuntimeCallback"}],"format":"esm"},"src/hooks/index.ts":{"bytes":641,"imports":[{"path":"src/hooks/useComputeRuntimeCallback.ts","kind":"import-statement","original":"./useComputeRuntimeCallback"},{"path":"src/hooks/useTriggerRuntimeControls.ts","kind":"import-statement","original":"./useTriggerRuntimeControls"}],"format":"esm"},"src/components/TriggerSettings.tsx":{"bytes":3616,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/AutomationSettings.tsx":{"bytes":3521,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/components/AutomationPanel/index.ts","kind":"import-statement","original":"./AutomationPanel"},{"path":"src/components/TriggerSettings.tsx","kind":"import-statement","original":"./TriggerSettings"}],"format":"esm"},"src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytes":12134,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/FunctionsPanel/index.ts":{"bytes":783,"imports":[{"path":"src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"},{"path":"src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"}],"format":"esm"},"src/components/FunctionsContainer.tsx":{"bytes":3192,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/components/FunctionsPanel/index.ts","kind":"import-statement","original":"./FunctionsPanel"}],"format":"esm"},"src/components/index.ts":{"bytes":1681,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/TriggerEditor/index.ts","kind":"import-statement","original":"./TriggerEditor"},{"path":"src/components/AutomationPanel/index.ts","kind":"dynamic-import","original":"./AutomationPanel"},{"path":"src/components/AutomationSettings.tsx","kind":"dynamic-import","original":"./AutomationSettings"},{"path":"src/components/FunctionsContainer.tsx","kind":"dynamic-import","original":"./FunctionsContainer"},{"path":"src/components/FunctionsPanel/index.ts","kind":"dynamic-import","original":"./FunctionsPanel"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":7148,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1665,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/compute-runtime.ts","kind":"dynamic-import","original":"./compute-runtime"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/translations.ts":{"bytes":5231,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/AutomationPlugin.tsx":{"bytes":5995,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":864,"imports":[{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/AutomationPlugin.tsx","kind":"import-statement","original":"./AutomationPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/FunctionsPanel-I443Y6KB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/FunctionsPanel-I443Y6KB.mjs":{"imports":[{"path":"dist/lib/browser/chunk-Z5DT4MHW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"}],"exports":["FunctionsPanel","default"],"entryPoint":"src/components/FunctionsPanel/index.ts","inputs":{},"bytes":233},"dist/lib/browser/FunctionsContainer-U4HASI4P.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1531},"dist/lib/browser/FunctionsContainer-U4HASI4P.mjs":{"imports":[{"path":"dist/lib/browser/chunk-Z5DT4MHW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["FunctionsContainer","default"],"entryPoint":"src/components/FunctionsContainer.tsx","inputs":{"src/components/FunctionsContainer.tsx":{"bytesInOutput":823}},"bytes":1113},"dist/lib/browser/chunk-Z5DT4MHW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6640},"dist/lib/browser/chunk-Z5DT4MHW.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["FunctionsPanel","FunctionsPanel_default"],"inputs":{"src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytesInOutput":3203},"src/components/FunctionsPanel/index.ts":{"bytesInOutput":45}},"bytes":3504},"dist/lib/browser/react-surface-IYFH2BEM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3540},"dist/lib/browser/react-surface-IYFH2BEM.mjs":{"imports":[{"path":"dist/lib/browser/chunk-NQGKPPXI.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-S4SM663I.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":1672}},"bytes":1971},"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5250},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-NQGKPPXI.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UHXDXRP4.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-CRUNQZ2M.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-S4SM663I.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true}],"exports":["AUTOMATION_PLUGIN","AutomationCapabilities","AutomationPanel","AutomationPlugin","AutomationSettings","FunctionsContainer","FunctionsPanel","TriggerEditor","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/AutomationPlugin.tsx":{"bytesInOutput":1241},"src/translations.ts":{"bytesInOutput":1563}},"bytes":3524},"dist/lib/browser/chunk-NQGKPPXI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":833},"dist/lib/browser/chunk-NQGKPPXI.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/browser/AutomationPanel-N5HFJJXW.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/AutomationSettings-S3F2VT7Q.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/FunctionsContainer-U4HASI4P.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/FunctionsPanel-I443Y6KB.mjs","kind":"dynamic-import"}],"exports":["AutomationPanel","AutomationSettings","FunctionsContainer","FunctionsPanel"],"inputs":{"src/components/index.ts":{"bytesInOutput":344}},"bytes":508},"dist/lib/browser/hooks/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/hooks/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-P6YOYDXP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UHXDXRP4.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-CRUNQZ2M.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"}],"exports":["useComputeRuntimeCallback","useTriggerRuntimeControls"],"entryPoint":"src/hooks/index.ts","inputs":{},"bytes":298},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-HN7OHFCB.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"}],"exports":["AutomationAction"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":158},"dist/lib/browser/app-graph-builder-SRA3X2GQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5344},"dist/lib/browser/app-graph-builder-SRA3X2GQ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":2527}},"bytes":2723},"dist/lib/browser/compute-runtime-G25R3RSS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9657},"dist/lib/browser/compute-runtime-G25R3RSS.mjs":{"imports":[{"path":"dist/lib/browser/chunk-CRUNQZ2M.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@effect/ai","kind":"import-statement","external":true},{"path":"@effect/platform-browser","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/compute-runtime.ts","inputs":{"src/capabilities/compute-runtime.ts":{"bytesInOutput":6254}},"bytes":6493},"dist/lib/browser/intent-resolver-CMLGPFD6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4442},"dist/lib/browser/intent-resolver-CMLGPFD6.mjs":{"imports":[{"path":"dist/lib/browser/chunk-HN7OHFCB.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":2030}},"bytes":2263},"dist/lib/browser/chunk-HN7OHFCB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2058},"dist/lib/browser/chunk-HN7OHFCB.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["AutomationAction"],"inputs":{"src/types/schema.ts":{"bytesInOutput":963},"src/types/index.ts":{"bytesInOutput":0}},"bytes":1110},"dist/lib/browser/AutomationPanel-N5HFJJXW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/AutomationPanel-N5HFJJXW.mjs":{"imports":[{"path":"dist/lib/browser/chunk-4TWQV33E.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-S4SM663I.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"}],"exports":["AutomationPanel","default"],"entryPoint":"src/components/AutomationPanel/index.ts","inputs":{},"bytes":269},"dist/lib/browser/AutomationSettings-S3F2VT7Q.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3397},"dist/lib/browser/AutomationSettings-S3F2VT7Q.mjs":{"imports":[{"path":"dist/lib/browser/chunk-P6YOYDXP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UHXDXRP4.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-CRUNQZ2M.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-4TWQV33E.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-S4SM663I.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["AutomationSettings","default"],"entryPoint":"src/components/AutomationSettings.tsx","inputs":{"src/components/AutomationSettings.tsx":{"bytesInOutput":924},"src/components/TriggerSettings.tsx":{"bytesInOutput":927}},"bytes":2392},"dist/lib/browser/chunk-P6YOYDXP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4266},"dist/lib/browser/chunk-P6YOYDXP.mjs":{"imports":[{"path":"dist/lib/browser/chunk-CRUNQZ2M.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["useComputeRuntimeCallback","useTriggerRuntimeControls"],"inputs":{"src/hooks/useComputeRuntimeCallback.ts":{"bytesInOutput":524},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useTriggerRuntimeControls.ts":{"bytesInOutput":1033}},"bytes":1822},"dist/lib/browser/chunk-UHXDXRP4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":821},"dist/lib/browser/chunk-UHXDXRP4.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-SRA3X2GQ.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/compute-runtime-G25R3RSS.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-CMLGPFD6.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-IYFH2BEM.mjs","kind":"dynamic-import"}],"exports":["AppGraphBuilder","ComputeRuntime","IntentResolver","ReactSurface"],"inputs":{"src/capabilities/index.ts":{"bytesInOutput":343}},"bytes":499},"dist/lib/browser/chunk-CRUNQZ2M.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1960},"dist/lib/browser/chunk-CRUNQZ2M.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["AutomationCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":284}},"bytes":450},"dist/lib/browser/chunk-4TWQV33E.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11239},"dist/lib/browser/chunk-4TWQV33E.mjs":{"imports":[{"path":"dist/lib/browser/chunk-S4SM663I.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["AutomationPanel","AutomationPanel_default"],"inputs":{"src/components/AutomationPanel/AutomationPanel.tsx":{"bytesInOutput":5113},"src/components/AutomationPanel/index.ts":{"bytesInOutput":47}},"bytes":5477},"dist/lib/browser/chunk-S4SM663I.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13994},"dist/lib/browser/chunk-S4SM663I.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["TriggerEditor"],"inputs":{"src/components/TriggerEditor/TriggerEditor.tsx":{"bytesInOutput":2917},"src/components/TriggerEditor/FunctionInputEditor.tsx":{"bytesInOutput":2203},"src/components/TriggerEditor/SpecSelector.tsx":{"bytesInOutput":1764},"src/components/TriggerEditor/index.ts":{"bytesInOutput":0}},"bytes":7226},"dist/lib/browser/chunk-GW5U2DGT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":814},"dist/lib/browser/chunk-GW5U2DGT.mjs":{"imports":[],"exports":["AUTOMATION_PLUGIN","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":382}},"bytes":482}}}
|
|
1
|
+
{"inputs":{"src/components/TriggerEditor/FunctionInputEditor.tsx":{"bytes":8587,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"format":"esm"},"src/meta.ts":{"bytes":1682,"imports":[],"format":"esm"},"src/components/TriggerEditor/SpecSelector.tsx":{"bytes":6778,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/TriggerEditor/TriggerEditor.tsx":{"bytes":12185,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/components/TriggerEditor/FunctionInputEditor.tsx","kind":"import-statement","original":"./FunctionInputEditor"},{"path":"src/components/TriggerEditor/SpecSelector.tsx","kind":"import-statement","original":"./SpecSelector"}],"format":"esm"},"src/components/TriggerEditor/index.ts":{"bytes":503,"imports":[{"path":"src/components/TriggerEditor/TriggerEditor.tsx","kind":"import-statement","original":"./TriggerEditor"}],"format":"esm"},"src/components/AutomationPanel/AutomationPanel.tsx":{"bytes":20479,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/TriggerEditor/index.ts","kind":"import-statement","original":"../TriggerEditor"}],"format":"esm"},"src/components/AutomationPanel/index.ts":{"bytes":800,"imports":[{"path":"src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"},{"path":"src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"}],"format":"esm"},"src/components/AutomationContainer.tsx":{"bytes":3109,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/components/AutomationPanel/index.ts","kind":"import-statement","original":"./AutomationPanel"}],"format":"esm"},"src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytes":12134,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/FunctionsPanel/index.ts":{"bytes":783,"imports":[{"path":"src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"},{"path":"src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"}],"format":"esm"},"src/components/FunctionsContainer.tsx":{"bytes":3192,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/components/FunctionsPanel/index.ts","kind":"import-statement","original":"./FunctionsPanel"}],"format":"esm"},"src/components/index.ts":{"bytes":1687,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/TriggerEditor/index.ts","kind":"import-statement","original":"./TriggerEditor"},{"path":"src/components/AutomationContainer.tsx","kind":"dynamic-import","original":"./AutomationContainer"},{"path":"src/components/AutomationPanel/index.ts","kind":"dynamic-import","original":"./AutomationPanel"},{"path":"src/components/FunctionsContainer.tsx","kind":"dynamic-import","original":"./FunctionsContainer"},{"path":"src/components/FunctionsPanel/index.ts","kind":"dynamic-import","original":"./FunctionsPanel"}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":11375,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/schema.ts":{"bytes":4024,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/index.ts":{"bytes":465,"imports":[{"path":"src/types/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":9190,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":7273,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1304,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/translations.ts":{"bytes":4690,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/AutomationPlugin.tsx":{"bytes":5379,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":659,"imports":[{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/AutomationPlugin.tsx","kind":"import-statement","original":"./AutomationPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/react-surface-M52XGLXY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3604},"dist/lib/browser/react-surface-M52XGLXY.mjs":{"imports":[{"path":"dist/lib/browser/chunk-EIY2EUWC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-S4SM663I.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":1702}},"bytes":2002},"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5278},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-EIY2EUWC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-S4SM663I.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-4OFKIRAI.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-4PSYSQQG.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-M52XGLXY.mjs","kind":"dynamic-import"}],"exports":["AUTOMATION_PLUGIN","AutomationContainer","AutomationPanel","AutomationPlugin","FunctionsContainer","FunctionsPanel","TriggerEditor","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/AutomationPlugin.tsx":{"bytesInOutput":1101},"src/capabilities/index.ts":{"bytesInOutput":268},"src/translations.ts":{"bytesInOutput":1362}},"bytes":3282},"dist/lib/browser/chunk-EIY2EUWC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":836},"dist/lib/browser/chunk-EIY2EUWC.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/browser/AutomationContainer-BRV5AJZ3.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/AutomationPanel-N5HFJJXW.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/FunctionsContainer-U4HASI4P.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/FunctionsPanel-I443Y6KB.mjs","kind":"dynamic-import"}],"exports":["AutomationContainer","AutomationPanel","FunctionsContainer","FunctionsPanel"],"inputs":{"src/components/index.ts":{"bytesInOutput":346}},"bytes":511},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-HN7OHFCB.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"}],"exports":["AutomationAction"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":158},"dist/lib/browser/AutomationPanel-N5HFJJXW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/AutomationPanel-N5HFJJXW.mjs":{"imports":[{"path":"dist/lib/browser/chunk-4TWQV33E.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-S4SM663I.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"}],"exports":["AutomationPanel","default"],"entryPoint":"src/components/AutomationPanel/index.ts","inputs":{},"bytes":269},"dist/lib/browser/AutomationContainer-BRV5AJZ3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1513},"dist/lib/browser/AutomationContainer-BRV5AJZ3.mjs":{"imports":[{"path":"dist/lib/browser/chunk-4TWQV33E.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-S4SM663I.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["AutomationContainer","default"],"entryPoint":"src/components/AutomationContainer.tsx","inputs":{"src/components/AutomationContainer.tsx":{"bytesInOutput":811}},"bytes":1137},"dist/lib/browser/chunk-4TWQV33E.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11239},"dist/lib/browser/chunk-4TWQV33E.mjs":{"imports":[{"path":"dist/lib/browser/chunk-S4SM663I.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["AutomationPanel","AutomationPanel_default"],"inputs":{"src/components/AutomationPanel/AutomationPanel.tsx":{"bytesInOutput":5113},"src/components/AutomationPanel/index.ts":{"bytesInOutput":47}},"bytes":5477},"dist/lib/browser/chunk-S4SM663I.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13994},"dist/lib/browser/chunk-S4SM663I.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["TriggerEditor"],"inputs":{"src/components/TriggerEditor/TriggerEditor.tsx":{"bytesInOutput":2917},"src/components/TriggerEditor/FunctionInputEditor.tsx":{"bytesInOutput":2203},"src/components/TriggerEditor/SpecSelector.tsx":{"bytesInOutput":1764},"src/components/TriggerEditor/index.ts":{"bytesInOutput":0}},"bytes":7226},"dist/lib/browser/FunctionsPanel-I443Y6KB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/FunctionsPanel-I443Y6KB.mjs":{"imports":[{"path":"dist/lib/browser/chunk-Z5DT4MHW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"}],"exports":["FunctionsPanel","default"],"entryPoint":"src/components/FunctionsPanel/index.ts","inputs":{},"bytes":233},"dist/lib/browser/FunctionsContainer-U4HASI4P.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1531},"dist/lib/browser/FunctionsContainer-U4HASI4P.mjs":{"imports":[{"path":"dist/lib/browser/chunk-Z5DT4MHW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["FunctionsContainer","default"],"entryPoint":"src/components/FunctionsContainer.tsx","inputs":{"src/components/FunctionsContainer.tsx":{"bytesInOutput":823}},"bytes":1113},"dist/lib/browser/chunk-Z5DT4MHW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6640},"dist/lib/browser/chunk-Z5DT4MHW.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["FunctionsPanel","FunctionsPanel_default"],"inputs":{"src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytesInOutput":3203},"src/components/FunctionsPanel/index.ts":{"bytesInOutput":45}},"bytes":3504},"dist/lib/browser/app-graph-builder-4OFKIRAI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5344},"dist/lib/browser/app-graph-builder-4OFKIRAI.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":2525}},"bytes":2721},"dist/lib/browser/intent-resolver-4PSYSQQG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4442},"dist/lib/browser/intent-resolver-4PSYSQQG.mjs":{"imports":[{"path":"dist/lib/browser/chunk-HN7OHFCB.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":2028}},"bytes":2261},"dist/lib/browser/chunk-HN7OHFCB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2058},"dist/lib/browser/chunk-HN7OHFCB.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GW5U2DGT.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["AutomationAction"],"inputs":{"src/types/schema.ts":{"bytesInOutput":963},"src/types/index.ts":{"bytesInOutput":0}},"bytes":1110},"dist/lib/browser/chunk-GW5U2DGT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":814},"dist/lib/browser/chunk-GW5U2DGT.mjs":{"imports":[],"exports":["AUTOMATION_PLUGIN","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":382}},"bytes":482}}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
AutomationContainer,
|
|
3
3
|
FunctionsContainer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EIY2EUWC.mjs";
|
|
5
5
|
import "./chunk-S4SM663I.mjs";
|
|
6
6
|
import {
|
|
7
7
|
meta
|
|
@@ -13,35 +13,35 @@ import { Capabilities, contributes, createSurface, useLayout } from "@dxos/app-f
|
|
|
13
13
|
import { Obj } from "@dxos/echo";
|
|
14
14
|
import { ScriptType } from "@dxos/functions";
|
|
15
15
|
import { getSpace, parseId, useSpace } from "@dxos/react-client/echo";
|
|
16
|
-
var react_surface_default = (
|
|
16
|
+
var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
17
17
|
createSurface({
|
|
18
|
-
id: `${meta.id}/space-settings-
|
|
18
|
+
id: `${meta.id}/space-settings-automation`,
|
|
19
19
|
role: "article",
|
|
20
|
-
filter: (data) => data.subject === `${meta.id}/space-settings-
|
|
20
|
+
filter: (data) => data.subject === `${meta.id}/space-settings-automation`,
|
|
21
21
|
component: () => {
|
|
22
22
|
const layout = useLayout();
|
|
23
23
|
const { spaceId } = parseId(layout.workspace);
|
|
24
24
|
const space = useSpace(spaceId);
|
|
25
|
-
if (!space) {
|
|
25
|
+
if (!space || !spaceId) {
|
|
26
26
|
return null;
|
|
27
27
|
}
|
|
28
|
-
return /* @__PURE__ */ React.createElement(
|
|
28
|
+
return /* @__PURE__ */ React.createElement(AutomationContainer, {
|
|
29
29
|
space
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
}),
|
|
33
33
|
createSurface({
|
|
34
|
-
id: `${meta.id}/space-settings-
|
|
34
|
+
id: `${meta.id}/space-settings-functions`,
|
|
35
35
|
role: "article",
|
|
36
|
-
filter: (data) => data.subject === `${meta.id}/space-settings-
|
|
36
|
+
filter: (data) => data.subject === `${meta.id}/space-settings-functions`,
|
|
37
37
|
component: () => {
|
|
38
38
|
const layout = useLayout();
|
|
39
39
|
const { spaceId } = parseId(layout.workspace);
|
|
40
40
|
const space = useSpace(spaceId);
|
|
41
|
-
if (!space) {
|
|
41
|
+
if (!space || !spaceId) {
|
|
42
42
|
return null;
|
|
43
43
|
}
|
|
44
|
-
return /* @__PURE__ */ React.createElement(
|
|
44
|
+
return /* @__PURE__ */ React.createElement(FunctionsContainer, {
|
|
45
45
|
space
|
|
46
46
|
});
|
|
47
47
|
}
|
|
@@ -50,15 +50,15 @@ var react_surface_default = (() => contributes(Capabilities.ReactSurface, [
|
|
|
50
50
|
id: `${meta.id}/companion/automation`,
|
|
51
51
|
role: "article",
|
|
52
52
|
filter: (data) => Obj.instanceOf(ScriptType, data.companionTo) && data.subject === "automation",
|
|
53
|
-
component: ({ data }) => {
|
|
54
|
-
return /* @__PURE__ */ React.createElement(
|
|
53
|
+
component: ({ data, role }) => {
|
|
54
|
+
return /* @__PURE__ */ React.createElement(AutomationContainer, {
|
|
55
55
|
space: getSpace(data.companionTo),
|
|
56
56
|
object: data.companionTo
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
|
-
])
|
|
60
|
+
]);
|
|
61
61
|
export {
|
|
62
62
|
react_surface_default as default
|
|
63
63
|
};
|
|
64
|
-
//# sourceMappingURL=react-surface-
|
|
64
|
+
//# sourceMappingURL=react-surface-M52XGLXY.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/react-surface.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Capabilities, contributes, createSurface, useLayout } from '@dxos/app-framework';\nimport { Obj } from '@dxos/echo';\nimport { ScriptType } from '@dxos/functions';\nimport { getSpace, parseId, useSpace } from '@dxos/react-client/echo';\n\nimport { AutomationContainer, FunctionsContainer } from '../components';\nimport { meta } from '../meta';\n\nexport default () =>\n contributes(Capabilities.ReactSurface, [\n createSurface({\n id: `${meta.id}/space-settings-automation`,\n role: 'article',\n filter: (data): data is { subject: string } => data.subject === `${meta.id}/space-settings-automation`,\n component: () => {\n const layout = useLayout();\n const { spaceId } = parseId(layout.workspace);\n const space = useSpace(spaceId);\n if (!space || !spaceId) {\n return null;\n }\n\n return <AutomationContainer space={space} />;\n },\n }),\n createSurface({\n id: `${meta.id}/space-settings-functions`,\n role: 'article',\n filter: (data): data is { subject: string } => data.subject === `${meta.id}/space-settings-functions`,\n component: () => {\n const layout = useLayout();\n const { spaceId } = parseId(layout.workspace);\n const space = useSpace(spaceId);\n if (!space || !spaceId) {\n return null;\n }\n\n return <FunctionsContainer space={space} />;\n },\n }),\n createSurface({\n id: `${meta.id}/companion/automation`,\n role: 'article',\n filter: (data): data is { companionTo: ScriptType; subject: 'automation' } =>\n Obj.instanceOf(ScriptType, data.companionTo) && data.subject === 'automation',\n component: ({ data, role }) => {\n return <AutomationContainer space={getSpace(data.companionTo)!} object={data.companionTo} />;\n },\n }),\n ]);\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,cAAcC,aAAaC,eAAeC,iBAAiB;AACpE,SAASC,WAAW;AACpB,SAASC,kBAAkB;AAC3B,SAASC,UAAUC,SAASC,gBAAgB;AAK5C,IAAA,wBAAe,MACbC,YAAYC,aAAaC,cAAc;EACrCC,cAAc;IACZC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SAAsCA,KAAKC,YAAY,GAAGJ,KAAKD,EAAE;IAC1EM,WAAW,MAAA;AACT,YAAMC,SAASC,UAAAA;AACf,YAAM,EAAEC,QAAO,IAAKC,QAAQH,OAAOI,SAAS;AAC5C,YAAMC,QAAQC,SAASJ,OAAAA;AACvB,UAAI,CAACG,SAAS,CAACH,SAAS;AACtB,eAAO;MACT;AAEA,aAAO,sBAAA,cAACK,qBAAAA;QAAoBF;;IAC9B;EACF,CAAA;EACAb,cAAc;IACZC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SAAsCA,KAAKC,YAAY,GAAGJ,KAAKD,EAAE;IAC1EM,WAAW,MAAA;AACT,YAAMC,SAASC,UAAAA;AACf,YAAM,EAAEC,QAAO,IAAKC,QAAQH,OAAOI,SAAS;AAC5C,YAAMC,QAAQC,SAASJ,OAAAA;AACvB,UAAI,CAACG,SAAS,CAACH,SAAS;AACtB,eAAO;MACT;AAEA,aAAO,sBAAA,cAACM,oBAAAA;QAAmBH;;IAC7B;EACF,CAAA;EACAb,cAAc;IACZC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SACPY,IAAIC,WAAWC,YAAYd,KAAKe,WAAW,KAAKf,KAAKC,YAAY;IACnEC,WAAW,CAAC,EAAEF,MAAMF,KAAI,MAAE;AACxB,aAAO,sBAAA,cAACY,qBAAAA;QAAoBF,OAAOQ,SAAShB,KAAKe,WAAW;QAAIE,QAAQjB,KAAKe;;IAC/E;EACF,CAAA;CACD;",
|
|
6
|
+
"names": ["React", "Capabilities", "contributes", "createSurface", "useLayout", "Obj", "ScriptType", "getSpace", "parseId", "useSpace", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "meta", "role", "filter", "data", "subject", "component", "layout", "useLayout", "spaceId", "parseId", "workspace", "space", "useSpace", "AutomationContainer", "FunctionsContainer", "Obj", "instanceOf", "ScriptType", "companionTo", "getSpace", "object"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
AutomationPanel
|
|
4
|
+
} from "./chunk-AONUBWBE.mjs";
|
|
5
|
+
import "./chunk-ZOJVKPCA.mjs";
|
|
6
|
+
import {
|
|
7
|
+
AUTOMATION_PLUGIN
|
|
8
|
+
} from "./chunk-NK5N3QKD.mjs";
|
|
9
|
+
|
|
10
|
+
// src/components/AutomationContainer.tsx
|
|
11
|
+
import { useSignals as _useSignals } from "@preact-signals/safe-react/tracking";
|
|
12
|
+
import React from "react";
|
|
13
|
+
import { useTranslation } from "@dxos/react-ui";
|
|
14
|
+
import { ControlPage, ControlSection } from "@dxos/react-ui-form";
|
|
15
|
+
var AutomationContainer = (props) => {
|
|
16
|
+
var _effect = _useSignals();
|
|
17
|
+
try {
|
|
18
|
+
const { t } = useTranslation(AUTOMATION_PLUGIN);
|
|
19
|
+
return /* @__PURE__ */ React.createElement(ControlPage, null, /* @__PURE__ */ React.createElement(ControlSection, {
|
|
20
|
+
title: t("automation verbose label", {
|
|
21
|
+
ns: AUTOMATION_PLUGIN
|
|
22
|
+
}),
|
|
23
|
+
description: t("automation description", {
|
|
24
|
+
ns: AUTOMATION_PLUGIN
|
|
25
|
+
})
|
|
26
|
+
}, /* @__PURE__ */ React.createElement(AutomationPanel, props)));
|
|
27
|
+
} finally {
|
|
28
|
+
_effect.f();
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var AutomationContainer_default = AutomationContainer;
|
|
32
|
+
export {
|
|
33
|
+
AutomationContainer,
|
|
34
|
+
AutomationContainer_default as default
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=AutomationContainer-FYRDTERM.mjs.map
|