@dxos/plugin-automation 0.8.2-main.2f9c567 → 0.8.2-main.30e4dbb
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-3MP23OGQ.mjs → AutomationContainer-PDPL34DX.mjs} +3 -3
- package/dist/lib/browser/{AutomationPanel-75HVBBNG.mjs → AutomationPanel-3WG2B7JM.mjs} +3 -3
- package/dist/lib/browser/{chunk-N4PTKEWO.mjs → chunk-GUPG3Q72.mjs} +3 -3
- package/dist/lib/browser/{chunk-HTVXRMNH.mjs → chunk-QFIPNCNF.mjs} +4 -4
- package/dist/lib/browser/{chunk-HTVXRMNH.mjs.map → chunk-QFIPNCNF.mjs.map} +2 -2
- package/dist/lib/browser/{chunk-Q2ACSERA.mjs → chunk-W4T2BTH2.mjs} +13 -13
- package/dist/lib/browser/chunk-W4T2BTH2.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +4 -4
- package/dist/lib/browser/{intent-resolver-YH4YPX52.mjs → intent-resolver-TCUIVOEW.mjs} +3 -3
- package/dist/lib/browser/{intent-resolver-YH4YPX52.mjs.map → intent-resolver-TCUIVOEW.mjs.map} +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-GA67CQBV.mjs → react-surface-P65PEZPN.mjs} +3 -3
- package/dist/lib/node/{AutomationContainer-RIDHNHPT.cjs → AutomationContainer-EXTHQ7B3.cjs} +7 -7
- package/dist/lib/node/{AutomationPanel-6RLBWAGL.cjs → AutomationPanel-G7R6RL7O.cjs} +8 -8
- package/dist/lib/node/{AutomationPanel-6RLBWAGL.cjs.map → AutomationPanel-G7R6RL7O.cjs.map} +2 -2
- package/dist/lib/node/{chunk-ESVJ2X6U.cjs → chunk-A4DMUH7U.cjs} +15 -15
- package/dist/lib/node/chunk-A4DMUH7U.cjs.map +7 -0
- package/dist/lib/node/{chunk-HZTVNN4S.cjs → chunk-B3OL2E3B.cjs} +6 -6
- package/dist/lib/node/{chunk-52JFIUOD.cjs → chunk-F74YVA6P.cjs} +8 -8
- package/dist/lib/node/{chunk-52JFIUOD.cjs.map → chunk-F74YVA6P.cjs.map} +2 -2
- package/dist/lib/node/index.cjs +9 -9
- package/dist/lib/node/{intent-resolver-6FJ6PJJI.cjs → intent-resolver-6XS2NYC7.cjs} +6 -6
- package/dist/lib/node/{intent-resolver-6FJ6PJJI.cjs.map → intent-resolver-6XS2NYC7.cjs.map} +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-UJDYSHZ5.cjs → react-surface-OYJMJXJI.cjs} +9 -9
- package/dist/lib/node-esm/{AutomationContainer-MCUWF267.mjs → AutomationContainer-FSWEGDKP.mjs} +3 -3
- package/dist/lib/node-esm/{AutomationPanel-U34H2Q7Z.mjs → AutomationPanel-LIPLJA55.mjs} +3 -3
- package/dist/lib/node-esm/{chunk-WYXWQFPK.mjs → chunk-27IHWHDH.mjs} +4 -4
- package/dist/lib/node-esm/{chunk-WYXWQFPK.mjs.map → chunk-27IHWHDH.mjs.map} +2 -2
- package/dist/lib/node-esm/{chunk-5JC4JVYZ.mjs → chunk-IS3BYE3I.mjs} +13 -13
- package/dist/lib/node-esm/chunk-IS3BYE3I.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-RG3M42SO.mjs → chunk-YCNX76NJ.mjs} +3 -3
- package/dist/lib/node-esm/index.mjs +4 -4
- package/dist/lib/node-esm/{intent-resolver-PVY22PBL.mjs → intent-resolver-CHDYUFFN.mjs} +3 -3
- package/dist/lib/node-esm/{intent-resolver-PVY22PBL.mjs.map → intent-resolver-CHDYUFFN.mjs.map} +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-R72A4EHM.mjs → react-surface-FDGQORLY.mjs} +3 -3
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/components/AutomationContainer.d.ts.map +1 -1
- package/dist/types/src/components/AutomationPanel/AutomationPanel.d.ts.map +1 -1
- package/dist/types/src/components/FunctionsContainer.d.ts.map +1 -1
- package/dist/types/src/components/FunctionsPanel/FunctionsPanel.d.ts.map +1 -1
- package/dist/types/src/components/TriggerEditor/FunctionInputEditor.d.ts +12 -0
- package/dist/types/src/components/TriggerEditor/FunctionInputEditor.d.ts.map +1 -0
- package/dist/types/src/components/TriggerEditor/SpecSelector.d.ts.map +1 -1
- package/dist/types/src/components/TriggerEditor/TriggerEditor.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +26 -26
- package/src/capabilities/intent-resolver.ts +2 -2
- package/src/components/AutomationPanel/AutomationPanel.stories.tsx +1 -1
- package/src/components/AutomationPanel/AutomationPanel.tsx +2 -2
- package/src/components/TriggerEditor/{FunctionPayloadEditor.tsx → FunctionInputEditor.tsx} +9 -9
- package/src/components/TriggerEditor/TriggerEditor.stories.tsx +2 -2
- package/src/components/TriggerEditor/TriggerEditor.tsx +7 -7
- package/dist/lib/browser/chunk-Q2ACSERA.mjs.map +0 -7
- package/dist/lib/node/chunk-ESVJ2X6U.cjs.map +0 -7
- package/dist/lib/node-esm/chunk-5JC4JVYZ.mjs.map +0 -7
- package/dist/types/src/components/TriggerEditor/FunctionPayloadEditor.d.ts +0 -12
- package/dist/types/src/components/TriggerEditor/FunctionPayloadEditor.d.ts.map +0 -1
- /package/dist/lib/browser/{AutomationContainer-3MP23OGQ.mjs.map → AutomationContainer-PDPL34DX.mjs.map} +0 -0
- /package/dist/lib/browser/{AutomationPanel-75HVBBNG.mjs.map → AutomationPanel-3WG2B7JM.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-N4PTKEWO.mjs.map → chunk-GUPG3Q72.mjs.map} +0 -0
- /package/dist/lib/browser/{react-surface-GA67CQBV.mjs.map → react-surface-P65PEZPN.mjs.map} +0 -0
- /package/dist/lib/node/{AutomationContainer-RIDHNHPT.cjs.map → AutomationContainer-EXTHQ7B3.cjs.map} +0 -0
- /package/dist/lib/node/{chunk-HZTVNN4S.cjs.map → chunk-B3OL2E3B.cjs.map} +0 -0
- /package/dist/lib/node/{react-surface-UJDYSHZ5.cjs.map → react-surface-OYJMJXJI.cjs.map} +0 -0
- /package/dist/lib/node-esm/{AutomationContainer-MCUWF267.mjs.map → AutomationContainer-FSWEGDKP.mjs.map} +0 -0
- /package/dist/lib/node-esm/{AutomationPanel-U34H2Q7Z.mjs.map → AutomationPanel-LIPLJA55.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-RG3M42SO.mjs.map → chunk-YCNX76NJ.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-surface-R72A4EHM.mjs.map → react-surface-FDGQORLY.mjs.map} +0 -0
package/dist/lib/browser/{AutomationContainer-3MP23OGQ.mjs → AutomationContainer-PDPL34DX.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AutomationPanel
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QFIPNCNF.mjs";
|
|
4
|
+
import "./chunk-W4T2BTH2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
AUTOMATION_PLUGIN
|
|
7
7
|
} from "./chunk-WKKQV4PC.mjs";
|
|
@@ -31,4 +31,4 @@ export {
|
|
|
31
31
|
AutomationContainer,
|
|
32
32
|
AutomationContainer_default as default
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=AutomationContainer-
|
|
34
|
+
//# sourceMappingURL=AutomationContainer-PDPL34DX.mjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AutomationPanel,
|
|
3
3
|
AutomationPanel_default
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-QFIPNCNF.mjs";
|
|
5
|
+
import "./chunk-W4T2BTH2.mjs";
|
|
6
6
|
import "./chunk-WKKQV4PC.mjs";
|
|
7
7
|
export {
|
|
8
8
|
AutomationPanel,
|
|
9
9
|
AutomationPanel_default as default
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=AutomationPanel-
|
|
11
|
+
//# sourceMappingURL=AutomationPanel-3WG2B7JM.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// packages/plugins/plugin-automation/src/components/index.ts
|
|
2
2
|
import { lazy } from "react";
|
|
3
|
-
var AutomationContainer = lazy(() => import("./AutomationContainer-
|
|
4
|
-
var AutomationPanel = lazy(() => import("./AutomationPanel-
|
|
3
|
+
var AutomationContainer = lazy(() => import("./AutomationContainer-PDPL34DX.mjs"));
|
|
4
|
+
var AutomationPanel = lazy(() => import("./AutomationPanel-3WG2B7JM.mjs"));
|
|
5
5
|
var FunctionsContainer = lazy(() => import("./FunctionsContainer-HLISW5QI.mjs"));
|
|
6
6
|
var FunctionsPanel = lazy(() => import("./FunctionsPanel-OKFRBXLO.mjs"));
|
|
7
7
|
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
FunctionsContainer,
|
|
12
12
|
FunctionsPanel
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-GUPG3Q72.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TriggerEditor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W4T2BTH2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
AUTOMATION_PLUGIN
|
|
6
6
|
} from "./chunk-WKKQV4PC.mjs";
|
|
@@ -100,13 +100,13 @@ var AutomationPanel = ({ space, object, initialTrigger, onDone }) => {
|
|
|
100
100
|
})));
|
|
101
101
|
};
|
|
102
102
|
var getCopyAction = (client, trigger) => {
|
|
103
|
-
if (trigger?.spec?.
|
|
103
|
+
if (trigger?.spec?.kind === TriggerKind.Email) {
|
|
104
104
|
return {
|
|
105
105
|
translationKey: "trigger copy email",
|
|
106
106
|
contentProvider: () => `${getSpace(trigger).id}@dxos.network`
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
-
if (trigger?.spec?.
|
|
109
|
+
if (trigger?.spec?.kind === TriggerKind.Webhook) {
|
|
110
110
|
return {
|
|
111
111
|
translationKey: "trigger copy url",
|
|
112
112
|
contentProvider: () => getWebhookUrl(client, trigger)
|
|
@@ -137,4 +137,4 @@ export {
|
|
|
137
137
|
AutomationPanel,
|
|
138
138
|
AutomationPanel_default
|
|
139
139
|
};
|
|
140
|
-
//# sourceMappingURL=chunk-
|
|
140
|
+
//# sourceMappingURL=chunk-QFIPNCNF.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/AutomationPanel/AutomationPanel.tsx", "../../../src/components/AutomationPanel/index.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { Schema } from 'effect';\nimport React, { useState } from 'react';\n\nimport {\n FunctionType,\n FunctionTrigger,\n FunctionTriggerSchema,\n TriggerKind,\n type FunctionTriggerType,\n ScriptType,\n} from '@dxos/functions';\nimport { type Client, useClient } from '@dxos/react-client';\nimport { live, Filter, useQuery, type Space, type Live, getSpace } from '@dxos/react-client/echo';\nimport { Clipboard, IconButton, Input, Separator, useTranslation } from '@dxos/react-ui';\nimport { ControlItem, controlItemClasses } from '@dxos/react-ui-form';\nimport { List } from '@dxos/react-ui-list';\nimport { ghostHover, mx } from '@dxos/react-ui-theme';\n\nimport { AUTOMATION_PLUGIN } from '../../meta';\nimport { TriggerEditor, type TriggerEditorProps } from '../TriggerEditor';\n\nconst grid = 'grid grid-cols-[40px_1fr_32px] min-bs-[2.5rem]';\n\nexport type AutomationPanelProps = {\n space: Space;\n object?: Live<any>;\n initialTrigger?: FunctionTriggerType;\n onDone?: () => void;\n};\n\n// TODO(burdon): Factor out common layout with ViewEditor.\nexport const AutomationPanel = ({ space, object, initialTrigger, onDone }: AutomationPanelProps) => {\n const { t } = useTranslation(AUTOMATION_PLUGIN);\n const client = useClient();\n const triggers = useQuery(space, Filter.schema(FunctionTrigger));\n const functions = useQuery(space, Filter.schema(FunctionType));\n const scripts = useQuery(space, Filter.schema(ScriptType));\n\n const [trigger, setTrigger] = useState<FunctionTriggerType | undefined>(initialTrigger);\n const [selected, setSelected] = useState<FunctionTrigger>();\n\n const handleSelect = (trigger: FunctionTrigger) => {\n const { id: _, ...values } = trigger;\n setTrigger(values);\n setSelected(trigger);\n };\n\n const handleAdd = () => {\n setTrigger(live(FunctionTriggerSchema, {}));\n setSelected(undefined);\n };\n\n const handleDelete = (trigger: FunctionTrigger) => {\n space.db.remove(trigger);\n setTrigger(undefined);\n setSelected(undefined);\n };\n\n const handleSave: TriggerEditorProps['onSave'] = (trigger) => {\n if (selected) {\n Object.assign(selected, trigger);\n } else {\n space.db.add(live(FunctionTrigger, trigger));\n }\n\n setTrigger(undefined);\n setSelected(undefined);\n onDone?.();\n };\n\n const handleCancel: TriggerEditorProps['onCancel'] = () => {\n setTrigger(undefined);\n onDone?.();\n };\n\n return (\n <div className='flex flex-col w-full'>\n {trigger ? (\n <ControlItem title={t('trigger editor title')}>\n <TriggerEditor space={space} trigger={trigger} onSave={handleSave} onCancel={handleCancel} />\n </ControlItem>\n ) : (\n <div role='none' className={controlItemClasses}>\n <List.Root<FunctionTrigger> items={triggers} isItem={Schema.is(FunctionTrigger)} getId={(field) => field.id}>\n {({ items: triggers }) => (\n <div role='list' className='flex flex-col w-full'>\n {triggers?.map((trigger) => {\n const copyAction = getCopyAction(client, trigger);\n return (\n <List.Item<FunctionTrigger>\n key={trigger.id}\n item={trigger}\n classNames={mx(grid, ghostHover, 'items-center', 'px-2')}\n >\n <Input.Root>\n <Input.Switch\n checked={trigger.enabled}\n onCheckedChange={(checked) => (trigger.enabled = checked)}\n />\n </Input.Root>\n\n <div className={'flex'}>\n <List.ItemTitle\n classNames='px-1 cursor-pointer w-0 shrink truncate'\n onClick={() => handleSelect(trigger)}\n >\n {getFunctionName(scripts, functions, trigger) ?? '∅'}\n </List.ItemTitle>\n\n {/* TODO: a better way to expose copy action */}\n {copyAction && (\n <Clipboard.IconButton\n label={t(copyAction.translationKey)}\n value={copyAction.contentProvider()}\n />\n )}\n </div>\n\n <List.ItemDeleteButton onClick={() => handleDelete(trigger)} />\n </List.Item>\n );\n })}\n </div>\n )}\n </List.Root>\n {triggers.length > 0 && <Separator classNames='mlb-4' />}\n <IconButton icon='ph--plus--regular' label={t('new trigger label')} onClick={handleAdd} />\n </div>\n )}\n </div>\n );\n};\n\nconst getCopyAction = (client: Client, trigger: FunctionTrigger | undefined) => {\n if (trigger?.spec?.
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { Schema } from 'effect';\nimport React, { useState } from 'react';\n\nimport {\n FunctionType,\n FunctionTrigger,\n FunctionTriggerSchema,\n TriggerKind,\n type FunctionTriggerType,\n ScriptType,\n} from '@dxos/functions';\nimport { type Client, useClient } from '@dxos/react-client';\nimport { live, Filter, useQuery, type Space, type Live, getSpace } from '@dxos/react-client/echo';\nimport { Clipboard, IconButton, Input, Separator, useTranslation } from '@dxos/react-ui';\nimport { ControlItem, controlItemClasses } from '@dxos/react-ui-form';\nimport { List } from '@dxos/react-ui-list';\nimport { ghostHover, mx } from '@dxos/react-ui-theme';\n\nimport { AUTOMATION_PLUGIN } from '../../meta';\nimport { TriggerEditor, type TriggerEditorProps } from '../TriggerEditor';\n\nconst grid = 'grid grid-cols-[40px_1fr_32px] min-bs-[2.5rem]';\n\nexport type AutomationPanelProps = {\n space: Space;\n object?: Live<any>;\n initialTrigger?: FunctionTriggerType;\n onDone?: () => void;\n};\n\n// TODO(burdon): Factor out common layout with ViewEditor.\nexport const AutomationPanel = ({ space, object, initialTrigger, onDone }: AutomationPanelProps) => {\n const { t } = useTranslation(AUTOMATION_PLUGIN);\n const client = useClient();\n const triggers = useQuery(space, Filter.schema(FunctionTrigger));\n const functions = useQuery(space, Filter.schema(FunctionType));\n const scripts = useQuery(space, Filter.schema(ScriptType));\n\n const [trigger, setTrigger] = useState<FunctionTriggerType | undefined>(initialTrigger);\n const [selected, setSelected] = useState<FunctionTrigger>();\n\n const handleSelect = (trigger: FunctionTrigger) => {\n const { id: _, ...values } = trigger;\n setTrigger(values);\n setSelected(trigger);\n };\n\n const handleAdd = () => {\n setTrigger(live(FunctionTriggerSchema, {}));\n setSelected(undefined);\n };\n\n const handleDelete = (trigger: FunctionTrigger) => {\n space.db.remove(trigger);\n setTrigger(undefined);\n setSelected(undefined);\n };\n\n const handleSave: TriggerEditorProps['onSave'] = (trigger) => {\n if (selected) {\n Object.assign(selected, trigger);\n } else {\n space.db.add(live(FunctionTrigger, trigger));\n }\n\n setTrigger(undefined);\n setSelected(undefined);\n onDone?.();\n };\n\n const handleCancel: TriggerEditorProps['onCancel'] = () => {\n setTrigger(undefined);\n onDone?.();\n };\n\n return (\n <div className='flex flex-col w-full'>\n {trigger ? (\n <ControlItem title={t('trigger editor title')}>\n <TriggerEditor space={space} trigger={trigger} onSave={handleSave} onCancel={handleCancel} />\n </ControlItem>\n ) : (\n <div role='none' className={controlItemClasses}>\n <List.Root<FunctionTrigger> items={triggers} isItem={Schema.is(FunctionTrigger)} getId={(field) => field.id}>\n {({ items: triggers }) => (\n <div role='list' className='flex flex-col w-full'>\n {triggers?.map((trigger) => {\n const copyAction = getCopyAction(client, trigger);\n return (\n <List.Item<FunctionTrigger>\n key={trigger.id}\n item={trigger}\n classNames={mx(grid, ghostHover, 'items-center', 'px-2')}\n >\n <Input.Root>\n <Input.Switch\n checked={trigger.enabled}\n onCheckedChange={(checked) => (trigger.enabled = checked)}\n />\n </Input.Root>\n\n <div className={'flex'}>\n <List.ItemTitle\n classNames='px-1 cursor-pointer w-0 shrink truncate'\n onClick={() => handleSelect(trigger)}\n >\n {getFunctionName(scripts, functions, trigger) ?? '∅'}\n </List.ItemTitle>\n\n {/* TODO: a better way to expose copy action */}\n {copyAction && (\n <Clipboard.IconButton\n label={t(copyAction.translationKey)}\n value={copyAction.contentProvider()}\n />\n )}\n </div>\n\n <List.ItemDeleteButton onClick={() => handleDelete(trigger)} />\n </List.Item>\n );\n })}\n </div>\n )}\n </List.Root>\n {triggers.length > 0 && <Separator classNames='mlb-4' />}\n <IconButton icon='ph--plus--regular' label={t('new trigger label')} onClick={handleAdd} />\n </div>\n )}\n </div>\n );\n};\n\nconst getCopyAction = (client: Client, trigger: FunctionTrigger | undefined) => {\n if (trigger?.spec?.kind === TriggerKind.Email) {\n return { translationKey: 'trigger copy email', contentProvider: () => `${getSpace(trigger)!.id}@dxos.network` };\n }\n\n if (trigger?.spec?.kind === TriggerKind.Webhook) {\n return { translationKey: 'trigger copy url', contentProvider: () => getWebhookUrl(client, trigger) };\n }\n\n return undefined;\n};\n\nconst getWebhookUrl = (client: Client, trigger: FunctionTrigger) => {\n const spaceId = getSpace(trigger)!.id;\n const edgeUrl = new URL(client.config.values.runtime!.services!.edge!.url!);\n const isSecure = edgeUrl.protocol.startsWith('https') || edgeUrl.protocol.startsWith('wss');\n edgeUrl.protocol = isSecure ? 'https' : 'http';\n return new URL(`/webhook/${spaceId}:${trigger.id}`, edgeUrl).toString();\n};\n\nconst getFunctionName = (scripts: ScriptType[], functions: FunctionType[], trigger: FunctionTriggerType) => {\n // TODO(wittjosiah): Truncation should be done in the UI.\n // Warning that the List component is currently a can of worms.\n const shortId = trigger.function && `${trigger.function.dxn.toString().slice(0, 16)}…`;\n const functionObject = functions.find((fn) => fn === trigger.function?.target);\n if (!functionObject) {\n return shortId;\n }\n\n return scripts.find((s) => functionObject.source?.target?.id === s.id)?.name ?? shortId;\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { AutomationPanel } from './AutomationPanel';\n\nexport * from './AutomationPanel';\n\nexport default AutomationPanel;\n"],
|
|
5
5
|
"mappings": ";;;;;;;;A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AAO1F,QAAQqF,UAAUM,MAAAA;AACvE,MAAI,CAACH,gBAAgB;AACnB,WAAOJ;EACT;AAEA,SAAOtF,QAAQ2F,KAAK,CAACG,MAAMJ,eAAeK,QAAQF,QAAQrF,OAAOsF,EAAEtF,EAAE,GAAGwF,QAAQV;AAClF;;;AC/JA,IAAA,0BAAeW;",
|
|
6
|
-
"names": ["Schema", "React", "useState", "FunctionType", "FunctionTrigger", "FunctionTriggerSchema", "TriggerKind", "ScriptType", "useClient", "live", "Filter", "useQuery", "getSpace", "Clipboard", "IconButton", "Input", "Separator", "useTranslation", "ControlItem", "controlItemClasses", "List", "ghostHover", "mx", "grid", "AutomationPanel", "space", "object", "initialTrigger", "onDone", "t", "useTranslation", "AUTOMATION_PLUGIN", "client", "useClient", "triggers", "useQuery", "Filter", "schema", "FunctionTrigger", "functions", "FunctionType", "scripts", "ScriptType", "trigger", "setTrigger", "useState", "selected", "setSelected", "handleSelect", "id", "_", "values", "handleAdd", "live", "FunctionTriggerSchema", "undefined", "handleDelete", "db", "remove", "handleSave", "Object", "assign", "add", "handleCancel", "div", "className", "ControlItem", "title", "TriggerEditor", "onSave", "onCancel", "role", "controlItemClasses", "List", "Root", "items", "isItem", "Schema", "is", "getId", "field", "map", "copyAction", "getCopyAction", "Item", "key", "item", "classNames", "mx", "ghostHover", "Input", "Switch", "checked", "enabled", "onCheckedChange", "ItemTitle", "onClick", "getFunctionName", "Clipboard", "IconButton", "label", "translationKey", "value", "contentProvider", "ItemDeleteButton", "length", "Separator", "icon", "spec", "
|
|
6
|
+
"names": ["Schema", "React", "useState", "FunctionType", "FunctionTrigger", "FunctionTriggerSchema", "TriggerKind", "ScriptType", "useClient", "live", "Filter", "useQuery", "getSpace", "Clipboard", "IconButton", "Input", "Separator", "useTranslation", "ControlItem", "controlItemClasses", "List", "ghostHover", "mx", "grid", "AutomationPanel", "space", "object", "initialTrigger", "onDone", "t", "useTranslation", "AUTOMATION_PLUGIN", "client", "useClient", "triggers", "useQuery", "Filter", "schema", "FunctionTrigger", "functions", "FunctionType", "scripts", "ScriptType", "trigger", "setTrigger", "useState", "selected", "setSelected", "handleSelect", "id", "_", "values", "handleAdd", "live", "FunctionTriggerSchema", "undefined", "handleDelete", "db", "remove", "handleSave", "Object", "assign", "add", "handleCancel", "div", "className", "ControlItem", "title", "TriggerEditor", "onSave", "onCancel", "role", "controlItemClasses", "List", "Root", "items", "isItem", "Schema", "is", "getId", "field", "map", "copyAction", "getCopyAction", "Item", "key", "item", "classNames", "mx", "ghostHover", "Input", "Switch", "checked", "enabled", "onCheckedChange", "ItemTitle", "onClick", "getFunctionName", "Clipboard", "IconButton", "label", "translationKey", "value", "contentProvider", "ItemDeleteButton", "length", "Separator", "icon", "spec", "kind", "TriggerKind", "Email", "getSpace", "Webhook", "getWebhookUrl", "spaceId", "edgeUrl", "URL", "config", "runtime", "services", "edge", "url", "isSecure", "protocol", "startsWith", "toString", "shortId", "function", "dxn", "slice", "functionObject", "find", "fn", "target", "s", "source", "name", "AutomationPanel"]
|
|
7
7
|
}
|
|
@@ -11,28 +11,28 @@ import { Filter, Ref, useQuery } from "@dxos/react-client/echo";
|
|
|
11
11
|
import { useTranslation as useTranslation2 } from "@dxos/react-ui";
|
|
12
12
|
import { Form as Form2, SelectInput as SelectInput2, useRefQueryLookupHandler } from "@dxos/react-ui-form";
|
|
13
13
|
|
|
14
|
-
// packages/plugins/plugin-automation/src/components/TriggerEditor/
|
|
14
|
+
// packages/plugins/plugin-automation/src/components/TriggerEditor/FunctionInputEditor.tsx
|
|
15
15
|
import React, { useCallback, useMemo } from "react";
|
|
16
16
|
import { RefImpl, toEffectSchema } from "@dxos/echo-schema";
|
|
17
17
|
import { useOnTransition } from "@dxos/react-ui";
|
|
18
18
|
import { Form, useFormValues } from "@dxos/react-ui-form";
|
|
19
|
-
var
|
|
19
|
+
var FunctionInputEditor = ({ functions, getValue, onValueChange, onQueryRefOptions }) => {
|
|
20
20
|
const selectedFunctionValue = useFormValues([
|
|
21
21
|
"function"
|
|
22
22
|
]);
|
|
23
|
-
const
|
|
23
|
+
const selectedFunctionId = useMemo(() => {
|
|
24
24
|
if (selectedFunctionValue instanceof RefImpl) {
|
|
25
|
-
return selectedFunctionValue.dxn.toString().split("dxn:
|
|
25
|
+
return selectedFunctionValue.dxn.toString().split("dxn:echo:@:").at(1);
|
|
26
26
|
}
|
|
27
27
|
}, [
|
|
28
28
|
selectedFunctionValue
|
|
29
29
|
]);
|
|
30
|
-
const selectedFunction = useMemo(() => functions.find((f) => f.
|
|
30
|
+
const selectedFunction = useMemo(() => functions.find((f) => f.id === selectedFunctionId), [
|
|
31
31
|
functions,
|
|
32
|
-
|
|
32
|
+
selectedFunctionId
|
|
33
33
|
]);
|
|
34
34
|
useOnTransition(
|
|
35
|
-
// Clear function parameter
|
|
35
|
+
// Clear function parameter input when the function changes.
|
|
36
36
|
selectedFunctionValue,
|
|
37
37
|
(prevValue) => prevValue !== void 0 && prevValue !== selectedFunctionValue,
|
|
38
38
|
(currValue) => currValue !== void 0,
|
|
@@ -144,8 +144,8 @@ var TriggerEditor = ({ space, trigger, onSave, onCancel }) => {
|
|
|
144
144
|
["function"]: (props) => {
|
|
145
145
|
const getValue = useCallback3(() => {
|
|
146
146
|
const formValue = props.getValue();
|
|
147
|
-
if (formValue
|
|
148
|
-
return formValue.toString();
|
|
147
|
+
if (Ref.isRef(formValue)) {
|
|
148
|
+
return formValue.dxn.toString();
|
|
149
149
|
}
|
|
150
150
|
return void 0;
|
|
151
151
|
}, [
|
|
@@ -167,8 +167,8 @@ var TriggerEditor = ({ space, trigger, onSave, onCancel }) => {
|
|
|
167
167
|
options: getWorkflowOptions(workflows).concat(getFunctionOptions(scripts, functions))
|
|
168
168
|
});
|
|
169
169
|
},
|
|
170
|
-
["spec.
|
|
171
|
-
["
|
|
170
|
+
["spec.kind"]: SpecSelector,
|
|
171
|
+
["input"]: (props) => /* @__PURE__ */ React3.createElement(FunctionInputEditor, {
|
|
172
172
|
...props,
|
|
173
173
|
functions,
|
|
174
174
|
onQueryRefOptions: handleRefQueryLookup
|
|
@@ -201,11 +201,11 @@ var getFunctionOptions = (scripts, functions) => {
|
|
|
201
201
|
const getLabel = (fn) => scripts.find((s) => fn.source?.target?.id === s.id)?.name ?? fn.name;
|
|
202
202
|
return functions.map((fn) => ({
|
|
203
203
|
label: getLabel(fn),
|
|
204
|
-
value: `dxn:
|
|
204
|
+
value: `dxn:echo:@:${fn.id}`
|
|
205
205
|
}));
|
|
206
206
|
};
|
|
207
207
|
|
|
208
208
|
export {
|
|
209
209
|
TriggerEditor
|
|
210
210
|
};
|
|
211
|
-
//# sourceMappingURL=chunk-
|
|
211
|
+
//# sourceMappingURL=chunk-W4T2BTH2.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/TriggerEditor/TriggerEditor.tsx", "../../../src/components/TriggerEditor/FunctionInputEditor.tsx", "../../../src/components/TriggerEditor/SpecSelector.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React, { useCallback, useMemo } from 'react';\n\nimport { ComputeGraph } from '@dxos/conductor';\nimport { DXN } from '@dxos/echo';\nimport {\n FunctionType,\n FunctionTriggerSchema,\n type FunctionTriggerType,\n type FunctionTrigger,\n ScriptType,\n} from '@dxos/functions';\nimport { Filter, Ref, useQuery, type Space } from '@dxos/react-client/echo';\nimport { useTranslation } from '@dxos/react-ui';\nimport { type CustomInputMap, Form, SelectInput, useRefQueryLookupHandler } from '@dxos/react-ui-form';\n\nimport { FunctionInputEditor } from './FunctionInputEditor';\nimport { SpecSelector } from './SpecSelector';\nimport { AUTOMATION_PLUGIN } from '../../meta';\n\nexport type TriggerEditorProps = {\n space: Space;\n trigger: FunctionTriggerType;\n onSave?: (trigger: Omit<FunctionTrigger, 'id'>) => void;\n onCancel?: () => void;\n};\n\nexport const TriggerEditor = ({ space, trigger, onSave, onCancel }: TriggerEditorProps) => {\n const { t } = useTranslation(AUTOMATION_PLUGIN);\n\n const functions = useQuery(space, Filter.schema(FunctionType));\n const workflows = useQuery(space, Filter.schema(ComputeGraph));\n const scripts = useQuery(space, Filter.schema(ScriptType));\n\n const handleSave = (values: FunctionTriggerType) => {\n onSave?.(values);\n };\n\n const handleRefQueryLookup = useRefQueryLookupHandler({ space });\n\n const Custom = useMemo(\n (): CustomInputMap => ({\n ['function' satisfies keyof FunctionTriggerType]: (props) => {\n const getValue = useCallback(() => {\n const formValue = props.getValue();\n if (Ref.isRef(formValue)) {\n return formValue.dxn.toString() as string;\n }\n return undefined;\n }, [props]);\n\n const handleOnValueChange = useCallback(\n (_type: any, dxnString: string) => {\n const dxn = DXN.parse(dxnString);\n if (dxn) {\n const ref = Ref.fromDXN(dxn);\n props.onValueChange('object', ref);\n }\n },\n [props.onValueChange],\n );\n\n return (\n <SelectInput\n {...props}\n getValue={getValue as any}\n onValueChange={handleOnValueChange}\n options={getWorkflowOptions(workflows).concat(getFunctionOptions(scripts, functions))}\n />\n );\n },\n ['spec.kind' as const]: SpecSelector,\n ['input' as const]: (props) => (\n <FunctionInputEditor {...props} functions={functions} onQueryRefOptions={handleRefQueryLookup} />\n ),\n }),\n [workflows, scripts, functions, t],\n );\n\n return (\n <div role='none' className='bs-full is-full'>\n <Form\n schema={FunctionTriggerSchema}\n values={trigger}\n onSave={handleSave}\n onCancel={onCancel}\n Custom={Custom}\n onQueryRefOptions={handleRefQueryLookup}\n />\n </div>\n );\n};\n\nconst getWorkflowOptions = (graphs: ComputeGraph[]) => {\n return graphs.map((graph) => ({ label: `compute-${graph.id}`, value: `dxn:echo:@:${graph.id}` }));\n};\n\nconst getFunctionOptions = (scripts: ScriptType[], functions: FunctionType[]) => {\n const getLabel = (fn: FunctionType) => scripts.find((s) => fn.source?.target?.id === s.id)?.name ?? fn.name;\n return functions.map((fn) => ({ label: getLabel(fn), value: `dxn:echo:@:${fn.id}` }));\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport React, { useCallback, useMemo } from 'react';\n\nimport { type JsonPath, RefImpl, toEffectSchema } from '@dxos/echo-schema';\nimport { type FunctionType } from '@dxos/functions';\nimport { useOnTransition } from '@dxos/react-ui';\nimport { Form, type FormInputStateProps, type QueryRefOptions, useFormValues } from '@dxos/react-ui-form';\n\nexport type FunctionInputEditorProps = {\n functions: FunctionType[];\n onQueryRefOptions: QueryRefOptions;\n} & FormInputStateProps;\n\n/**\n * Editor component for function input parameters.\n */\nexport const FunctionInputEditor = ({\n functions,\n getValue,\n onValueChange,\n onQueryRefOptions,\n}: FunctionInputEditorProps) => {\n const selectedFunctionValue = useFormValues(['function' as JsonPath]);\n const selectedFunctionId = useMemo(() => {\n if (selectedFunctionValue instanceof RefImpl) {\n return selectedFunctionValue.dxn.toString().split('dxn:echo:@:').at(1);\n }\n }, [selectedFunctionValue]);\n\n const selectedFunction = useMemo(\n () => functions.find((f) => f.id === selectedFunctionId),\n [functions, selectedFunctionId],\n );\n\n useOnTransition(\n // Clear function parameter input when the function changes.\n selectedFunctionValue,\n (prevValue) => prevValue !== undefined && prevValue !== selectedFunctionValue,\n (currValue) => currValue !== undefined,\n () => onValueChange('object', {}),\n );\n\n const inputSchema = useMemo(() => selectedFunction?.inputSchema, [selectedFunction]);\n const effectSchema = useMemo(() => (inputSchema ? toEffectSchema(inputSchema) : undefined), [inputSchema]);\n const propertyCount = inputSchema?.properties ? Object.keys(inputSchema.properties).length : 0;\n\n const values = useMemo(() => getValue() ?? {}, [getValue]);\n\n const handleValuesChanged = useCallback(\n (values: any) => {\n onValueChange('object', values);\n },\n [onValueChange],\n );\n\n if (selectedFunction === undefined || effectSchema === undefined || propertyCount === 0) {\n return null;\n }\n\n return (\n <>\n <h3 className='text-md'>Function parameters</h3>\n {/* TODO(ZaymonFC): Try using <FormFields /> internal component for this nesting.\n This would allow errors to flow up to the root context. */}\n <Form\n schema={effectSchema}\n values={values}\n classNames='p-0'\n onValuesChanged={handleValuesChanged}\n onQueryRefOptions={onQueryRefOptions}\n />\n </>\n );\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport React, { useCallback, useMemo } from 'react';\n\nimport { type FunctionTriggerType, TriggerKind, type TriggerType } from '@dxos/functions';\nimport { useTranslation } from '@dxos/react-ui';\nimport { SelectInput, type InputProps, useInputProps } from '@dxos/react-ui-form';\n\nimport { AUTOMATION_PLUGIN } from '../../meta';\n\nexport type SpecSelectorProps = InputProps;\n\nexport const SpecSelector = (props: SpecSelectorProps) => {\n const { t } = useTranslation(AUTOMATION_PLUGIN);\n const specProps = useInputProps(['spec' satisfies keyof FunctionTriggerType]);\n\n const handleTypeChange = useCallback(\n (_type: any, value: string): TriggerType | undefined => {\n const getDefaultTriggerSpec = (kind: string) => {\n switch (kind) {\n case TriggerKind.Timer:\n return { type: TriggerKind.Timer, cron: '' };\n case TriggerKind.Subscription:\n return { type: TriggerKind.Subscription, filter: {} };\n case TriggerKind.Queue:\n return { type: TriggerKind.Queue, queue: '' };\n case TriggerKind.Email:\n return { type: TriggerKind.Email };\n case TriggerKind.Webhook:\n return { type: TriggerKind.Webhook };\n default:\n return undefined;\n }\n };\n\n const defaultSpec = getDefaultTriggerSpec(value);\n if (!defaultSpec) {\n return;\n }\n\n // Update the entire spec object, not just the `spec.type`.\n specProps.onValueChange('object', defaultSpec);\n },\n [specProps],\n );\n\n const options = useMemo(\n () =>\n Object.values(TriggerKind).map((kind) => ({\n value: kind,\n label: t(`trigger type ${kind}`),\n })),\n [t],\n );\n\n return <SelectInput {...props} options={options} onValueChange={handleTypeChange} />;\n};\n"],
|
|
5
|
+
"mappings": ";;;;;AAIA,OAAOA,UAASC,eAAAA,cAAaC,WAAAA,gBAAe;AAE5C,SAASC,oBAAoB;AAC7B,SAASC,WAAW;AACpB,SACEC,cACAC,uBAGAC,kBACK;AACP,SAASC,QAAQC,KAAKC,gBAA4B;AAClD,SAASC,kBAAAA,uBAAsB;AAC/B,SAA8BC,QAAAA,OAAMC,eAAAA,cAAaC,gCA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AGpC,SACE,gBAAAmC,OAAA,cAACS,OAAAA;IAAIC,MAAK;IAAOC,WAAU;KACzB,gBAAAX,OAAA,cAACY,OAAAA;IACCzC,QAAQ0C;IACRnC,QAAQhB;IACRC,QAAQc;IACRb;IACAiB;IACA2B,mBAAmB7B;;AAI3B;AAEA,IAAMwB,qBAAqB,CAACW,WAAAA;AAC1B,SAAOA,OAAOC,IAAI,CAACC,WAAW;IAAEC,OAAO,WAAWD,MAAME,EAAE;IAAIC,OAAO,cAAcH,MAAME,EAAE;EAAG,EAAA;AAChG;AAEA,IAAMb,qBAAqB,CAAC9B,SAAuBP,cAAAA;AACjD,QAAMoD,WAAW,CAACC,OAAqB9C,QAAQ+C,KAAK,CAACC,MAAMF,GAAGG,QAAQC,QAAQP,OAAOK,EAAEL,EAAE,GAAGQ,QAAQL,GAAGK;AACvG,SAAO1D,UAAU+C,IAAI,CAACM,QAAQ;IAAEJ,OAAOG,SAASC,EAAAA;IAAKF,OAAO,cAAcE,GAAGH,EAAE;EAAG,EAAA;AACpF;",
|
|
6
|
+
"names": ["React", "useCallback", "useMemo", "ComputeGraph", "DXN", "FunctionType", "FunctionTriggerSchema", "ScriptType", "Filter", "Ref", "useQuery", "useTranslation", "Form", "SelectInput", "useRefQueryLookupHandler", "React", "useCallback", "useMemo", "RefImpl", "toEffectSchema", "useOnTransition", "Form", "useFormValues", "FunctionInputEditor", "functions", "getValue", "onValueChange", "onQueryRefOptions", "selectedFunctionValue", "useFormValues", "selectedFunctionId", "useMemo", "RefImpl", "dxn", "toString", "split", "at", "selectedFunction", "find", "f", "id", "useOnTransition", "prevValue", "undefined", "currValue", "inputSchema", "effectSchema", "toEffectSchema", "propertyCount", "properties", "Object", "keys", "length", "values", "handleValuesChanged", "useCallback", "h3", "className", "Form", "schema", "classNames", "onValuesChanged", "React", "useCallback", "useMemo", "TriggerKind", "useTranslation", "SelectInput", "useInputProps", "SpecSelector", "props", "t", "useTranslation", "AUTOMATION_PLUGIN", "specProps", "useInputProps", "handleTypeChange", "useCallback", "_type", "value", "getDefaultTriggerSpec", "kind", "TriggerKind", "Timer", "type", "cron", "Subscription", "filter", "Queue", "queue", "Email", "Webhook", "undefined", "defaultSpec", "onValueChange", "options", "useMemo", "Object", "values", "map", "label", "React", "SelectInput", "TriggerEditor", "space", "trigger", "onSave", "onCancel", "t", "useTranslation", "AUTOMATION_PLUGIN", "functions", "useQuery", "Filter", "schema", "FunctionType", "workflows", "ComputeGraph", "scripts", "ScriptType", "handleSave", "values", "handleRefQueryLookup", "useRefQueryLookupHandler", "Custom", "useMemo", "props", "getValue", "useCallback", "formValue", "Ref", "isRef", "dxn", "toString", "undefined", "handleOnValueChange", "_type", "dxnString", "DXN", "parse", "ref", "fromDXN", "onValueChange", "React", "SelectInput", "options", "getWorkflowOptions", "concat", "getFunctionOptions", "SpecSelector", "FunctionInputEditor", "onQueryRefOptions", "div", "role", "className", "Form", "FunctionTriggerSchema", "graphs", "map", "graph", "label", "id", "value", "getLabel", "fn", "find", "s", "source", "target", "name"]
|
|
7
|
+
}
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
AutomationPanel,
|
|
4
4
|
FunctionsContainer,
|
|
5
5
|
FunctionsPanel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GUPG3Q72.mjs";
|
|
7
7
|
import {
|
|
8
8
|
TriggerEditor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-W4T2BTH2.mjs";
|
|
10
10
|
import {
|
|
11
11
|
AUTOMATION_PLUGIN,
|
|
12
12
|
meta
|
|
@@ -20,8 +20,8 @@ import { ClientCapabilities, ClientEvents } from "@dxos/plugin-client";
|
|
|
20
20
|
// packages/plugins/plugin-automation/src/capabilities/index.ts
|
|
21
21
|
import { lazy } from "@dxos/app-framework";
|
|
22
22
|
var AppGraphBuilder = lazy(() => import("./app-graph-builder-ND64CHOM.mjs"));
|
|
23
|
-
var IntentResolver = lazy(() => import("./intent-resolver-
|
|
24
|
-
var ReactSurface = lazy(() => import("./react-surface-
|
|
23
|
+
var IntentResolver = lazy(() => import("./intent-resolver-TCUIVOEW.mjs"));
|
|
24
|
+
var ReactSurface = lazy(() => import("./react-surface-P65PEZPN.mjs"));
|
|
25
25
|
|
|
26
26
|
// packages/plugins/plugin-automation/src/translations.ts
|
|
27
27
|
var translations_default = [
|
|
@@ -35,14 +35,14 @@ var intent_resolver_default = (context) => contributes(Capabilities.IntentResolv
|
|
|
35
35
|
switch (template.type) {
|
|
36
36
|
case "timer": {
|
|
37
37
|
trigger.spec = {
|
|
38
|
-
|
|
38
|
+
kind: TriggerKind.Timer,
|
|
39
39
|
cron: template.cron
|
|
40
40
|
};
|
|
41
41
|
break;
|
|
42
42
|
}
|
|
43
43
|
case "queue": {
|
|
44
44
|
trigger.spec = {
|
|
45
|
-
|
|
45
|
+
kind: TriggerKind.Queue,
|
|
46
46
|
queue: template.queueDXN.toString()
|
|
47
47
|
};
|
|
48
48
|
break;
|
|
@@ -74,4 +74,4 @@ var intent_resolver_default = (context) => contributes(Capabilities.IntentResolv
|
|
|
74
74
|
export {
|
|
75
75
|
intent_resolver_default as default
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=intent-resolver-
|
|
77
|
+
//# sourceMappingURL=intent-resolver-TCUIVOEW.mjs.map
|
package/dist/lib/browser/{intent-resolver-YH4YPX52.mjs.map → intent-resolver-TCUIVOEW.mjs.map}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/capabilities/intent-resolver.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport {\n contributes,\n Capabilities,\n createResolver,\n type PluginsContext,\n createIntent,\n LayoutAction,\n} from '@dxos/app-framework';\nimport { Type } from '@dxos/echo';\nimport { FunctionTrigger, FunctionType, ScriptType, TriggerKind } from '@dxos/functions';\nimport { type DXN } from '@dxos/keys';\nimport { live } from '@dxos/live-object';\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: PluginsContext) =>\n contributes(Capabilities.IntentResolver, [\n createResolver({\n intent: AutomationAction.CreateTriggerFromTemplate,\n resolve: async ({ space, template, enabled = false, scriptName, input }) => {\n const trigger = live(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.schema(ScriptType, { name: scriptName })).run();\n if (script) {\n const {\n objects: [fn],\n } = await space.db.query(Filter.schema(FunctionType, { source: script })).run();\n if (fn) {\n trigger.function = Type.ref(fn);\n }\n }\n }\n\n switch (template.type) {\n case 'timer': {\n trigger.spec = {
|
|
5
|
-
"mappings": ";;;;;;AAIA,SACEA,aACAC,cACAC,gBAEAC,cACAC,oBACK;AACP,SAASC,YAAY;AACrB,SAASC,iBAAiBC,cAAcC,YAAYC,mBAAmB;AAEvE,SAASC,YAAY;AACrB,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,KAAKC,iBAAiB;QAAEL;QAASE;MAAM,CAAA;AAGvD,UAAID,YAAY;AACd,cAAM,EACJK,SAAS,CAACC,MAAAA,EAAO,IACf,MAAMT,MAAMU,GAAGC,MAAMC,OAAOC,OAAOC,YAAY;UAAEC,MAAMZ;QAAW,CAAA,CAAA,EAAIa,IAAG;AAC7E,YAAIP,QAAQ;AACV,gBAAM,EACJD,SAAS,CAACS,EAAAA,EAAG,IACX,MAAMjB,MAAMU,GAAGC,MAAMC,OAAOC,OAAOK,cAAc;YAAEC,QAAQV;UAAO,CAAA,CAAA,EAAIO,IAAG;AAC7E,cAAIC,IAAI;AACNZ,oBAAQe,WAAWC,KAAKC,IAAIL,EAAAA;UAC9B;QACF;MACF;AAEA,cAAQhB,SAASsB,MAAI;QACnB,KAAK,SAAS;AACZlB,kBAAQmB,OAAO;
|
|
6
|
-
"names": ["contributes", "Capabilities", "createResolver", "createIntent", "LayoutAction", "Type", "FunctionTrigger", "FunctionType", "ScriptType", "TriggerKind", "live", "ATTENDABLE_PATH_SEPARATOR", "SpaceAction", "Filter", "context", "contributes", "Capabilities", "IntentResolver", "createResolver", "intent", "AutomationAction", "CreateTriggerFromTemplate", "resolve", "space", "template", "enabled", "scriptName", "input", "trigger", "live", "FunctionTrigger", "objects", "script", "db", "query", "Filter", "schema", "ScriptType", "name", "run", "fn", "FunctionType", "source", "function", "Type", "ref", "type", "spec", "TriggerKind", "Timer", "cron", "Queue", "queue", "queueDXN", "toString", "intents", "createIntent", "SpaceAction", "AddObject", "object", "target", "LayoutAction", "Open", "part", "subject", "ATTENDABLE_PATH_SEPARATOR", "id", "options", "workspace"]
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport {\n contributes,\n Capabilities,\n createResolver,\n type PluginsContext,\n createIntent,\n LayoutAction,\n} from '@dxos/app-framework';\nimport { Type } from '@dxos/echo';\nimport { FunctionTrigger, FunctionType, ScriptType, TriggerKind } from '@dxos/functions';\nimport { type DXN } from '@dxos/keys';\nimport { live } from '@dxos/live-object';\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: PluginsContext) =>\n contributes(Capabilities.IntentResolver, [\n createResolver({\n intent: AutomationAction.CreateTriggerFromTemplate,\n resolve: async ({ space, template, enabled = false, scriptName, input }) => {\n const trigger = live(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.schema(ScriptType, { name: scriptName })).run();\n if (script) {\n const {\n objects: [fn],\n } = await space.db.query(Filter.schema(FunctionType, { source: script })).run();\n if (fn) {\n trigger.function = Type.ref(fn);\n }\n }\n }\n\n switch (template.type) {\n case 'timer': {\n trigger.spec = { kind: TriggerKind.Timer, cron: template.cron };\n break;\n }\n case 'queue': {\n trigger.spec = { kind: TriggerKind.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 }),\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,aACAC,cACAC,gBAEAC,cACAC,oBACK;AACP,SAASC,YAAY;AACrB,SAASC,iBAAiBC,cAAcC,YAAYC,mBAAmB;AAEvE,SAASC,YAAY;AACrB,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,KAAKC,iBAAiB;QAAEL;QAASE;MAAM,CAAA;AAGvD,UAAID,YAAY;AACd,cAAM,EACJK,SAAS,CAACC,MAAAA,EAAO,IACf,MAAMT,MAAMU,GAAGC,MAAMC,OAAOC,OAAOC,YAAY;UAAEC,MAAMZ;QAAW,CAAA,CAAA,EAAIa,IAAG;AAC7E,YAAIP,QAAQ;AACV,gBAAM,EACJD,SAAS,CAACS,EAAAA,EAAG,IACX,MAAMjB,MAAMU,GAAGC,MAAMC,OAAOC,OAAOK,cAAc;YAAEC,QAAQV;UAAO,CAAA,CAAA,EAAIO,IAAG;AAC7E,cAAIC,IAAI;AACNZ,oBAAQe,WAAWC,KAAKC,IAAIL,EAAAA;UAC9B;QACF;MACF;AAEA,cAAQhB,SAASsB,MAAI;QACnB,KAAK,SAAS;AACZlB,kBAAQmB,OAAO;YAAEC,MAAMC,YAAYC;YAAOC,MAAM3B,SAAS2B;UAAK;AAC9D;QACF;QACA,KAAK,SAAS;AACZvB,kBAAQmB,OAAO;YAAEC,MAAMC,YAAYG;YAAOC,OAAQ7B,SAAS8B,SAAiBC,SAAQ;UAAG;AACvF;QACF;QACA,SAAS;AACP;QACF;MACF;AAEA,aAAO;QACLC,SAAS;UACPC,aAAaC,YAAYC,WAAW;YAAEC,QAAQhC;YAASiC,QAAQtC;UAAM,CAAA;UACrEkC,aAAaK,aAAaC,MAAM;YAC9BC,MAAM;YACNC,SAAS;cAAC,sBAAsBC,yBAAAA,GAA4B3C,MAAM4C,EAAE;;YACpEC,SAAS;cACPC,WAAW9C,MAAM4C;YACnB;UACF,CAAA;;MAEJ;IACF;EACF,CAAA;CACD;",
|
|
6
|
+
"names": ["contributes", "Capabilities", "createResolver", "createIntent", "LayoutAction", "Type", "FunctionTrigger", "FunctionType", "ScriptType", "TriggerKind", "live", "ATTENDABLE_PATH_SEPARATOR", "SpaceAction", "Filter", "context", "contributes", "Capabilities", "IntentResolver", "createResolver", "intent", "AutomationAction", "CreateTriggerFromTemplate", "resolve", "space", "template", "enabled", "scriptName", "input", "trigger", "live", "FunctionTrigger", "objects", "script", "db", "query", "Filter", "schema", "ScriptType", "name", "run", "fn", "FunctionType", "source", "function", "Type", "ref", "type", "spec", "kind", "TriggerKind", "Timer", "cron", "Queue", "queue", "queueDXN", "toString", "intents", "createIntent", "SpaceAction", "AddObject", "object", "target", "LayoutAction", "Open", "part", "subject", "ATTENDABLE_PATH_SEPARATOR", "id", "options", "workspace"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-automation/src/components/TriggerEditor/FunctionPayloadEditor.tsx":{"bytes":8328,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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"},"packages/plugins/plugin-automation/src/meta.ts":{"bytes":1764,"imports":[],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/SpecSelector.tsx":{"bytes":7106,"imports":[{"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":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx":{"bytes":12227,"imports":[{"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","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/FunctionPayloadEditor.tsx","kind":"import-statement","original":"./FunctionPayloadEditor"},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/SpecSelector.tsx","kind":"import-statement","original":"./SpecSelector"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts":{"bytes":544,"imports":[{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx","kind":"import-statement","original":"./TriggerEditor"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx":{"bytes":21074,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"react","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":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts","kind":"import-statement","original":"../TriggerEditor"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts":{"bytes":849,"imports":[{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"},{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx":{"bytes":3556,"imports":[{"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":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","kind":"import-statement","original":"./AutomationPanel"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytes":11677,"imports":[{"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":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts":{"bytes":832,"imports":[{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"},{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx":{"bytes":3536,"imports":[{"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":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts","kind":"import-statement","original":"./FunctionsPanel"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/index.ts":{"bytes":1736,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts","kind":"import-statement","original":"./TriggerEditor"},{"path":"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx","kind":"dynamic-import","original":"./AutomationContainer"},{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","kind":"dynamic-import","original":"./AutomationPanel"},{"path":"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx","kind":"dynamic-import","original":"./FunctionsContainer"},{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts","kind":"dynamic-import","original":"./FunctionsPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts":{"bytes":8950,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/types.ts":{"bytes":4378,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts":{"bytes":9474,"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/live-object","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":"packages/plugins/plugin-automation/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx":{"bytes":7985,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/index.ts":{"bytes":1353,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"packages/plugins/plugin-automation/src/translations.ts":{"bytes":4657,"imports":[{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/AutomationPlugin.tsx":{"bytes":5488,"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":"packages/plugins/plugin-automation/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-automation/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/plugins/plugin-automation/src/index.ts":{"bytes":704,"imports":[{"path":"packages/plugins/plugin-automation/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-automation/src/AutomationPlugin.tsx","kind":"import-statement","original":"./AutomationPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-automation/dist/lib/browser/react-surface-GA67CQBV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3897},"packages/plugins/plugin-automation/dist/lib/browser/react-surface-GA67CQBV.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-N4PTKEWO.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-Q2ACSERA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-stack","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx":{"bytesInOutput":1842}},"bytes":2196},"packages/plugins/plugin-automation/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5188},"packages/plugins/plugin-automation/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-N4PTKEWO.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-Q2ACSERA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.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":"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-ND64CHOM.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/intent-resolver-YH4YPX52.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/react-surface-GA67CQBV.mjs","kind":"dynamic-import"}],"exports":["AUTOMATION_PLUGIN","AutomationContainer","AutomationPanel","AutomationPlugin","FunctionsContainer","FunctionsPanel","TriggerEditor","meta"],"entryPoint":"packages/plugins/plugin-automation/src/index.ts","inputs":{"packages/plugins/plugin-automation/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-automation/src/AutomationPlugin.tsx":{"bytesInOutput":1109},"packages/plugins/plugin-automation/src/capabilities/index.ts":{"bytesInOutput":268},"packages/plugins/plugin-automation/src/translations.ts":{"bytesInOutput":1380}},"bytes":3448},"packages/plugins/plugin-automation/dist/lib/browser/chunk-N4PTKEWO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":836},"packages/plugins/plugin-automation/dist/lib/browser/chunk-N4PTKEWO.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/dist/lib/browser/AutomationContainer-3MP23OGQ.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-75HVBBNG.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/FunctionsContainer-HLISW5QI.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/FunctionsPanel-OKFRBXLO.mjs","kind":"dynamic-import"}],"exports":["AutomationContainer","AutomationPanel","FunctionsContainer","FunctionsPanel"],"inputs":{"packages/plugins/plugin-automation/src/components/index.ts":{"bytesInOutput":346}},"bytes":546},"packages/plugins/plugin-automation/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-ADYCSC6Y.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"}],"exports":["AutomationAction"],"entryPoint":"packages/plugins/plugin-automation/src/types.ts","inputs":{},"bytes":156},"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-75HVBBNG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-75HVBBNG.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-HTVXRMNH.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-Q2ACSERA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"}],"exports":["AutomationPanel","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","inputs":{},"bytes":269},"packages/plugins/plugin-automation/dist/lib/browser/AutomationContainer-3MP23OGQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1800},"packages/plugins/plugin-automation/dist/lib/browser/AutomationContainer-3MP23OGQ.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-HTVXRMNH.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-Q2ACSERA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"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":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["AutomationContainer","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx","inputs":{"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx":{"bytesInOutput":805}},"bytes":1166},"packages/plugins/plugin-automation/dist/lib/browser/chunk-HTVXRMNH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11770},"packages/plugins/plugin-automation/dist/lib/browser/chunk-HTVXRMNH.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-Q2ACSERA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"react","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":{"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx":{"bytesInOutput":4990},"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts":{"bytesInOutput":47}},"bytes":5424},"packages/plugins/plugin-automation/dist/lib/browser/chunk-Q2ACSERA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":14312},"packages/plugins/plugin-automation/dist/lib/browser/chunk-Q2ACSERA.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"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","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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":"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":{"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx":{"bytesInOutput":2763},"packages/plugins/plugin-automation/src/components/TriggerEditor/FunctionPayloadEditor.tsx":{"bytesInOutput":1981},"packages/plugins/plugin-automation/src/components/TriggerEditor/SpecSelector.tsx":{"bytesInOutput":1614},"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts":{"bytesInOutput":0}},"bytes":6842},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsPanel-OKFRBXLO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsPanel-OKFRBXLO.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-IDCVJ2JW.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"}],"exports":["FunctionsPanel","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts","inputs":{},"bytes":233},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsContainer-HLISW5QI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1786},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsContainer-HLISW5QI.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-IDCVJ2JW.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"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":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["FunctionsContainer","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx","inputs":{"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx":{"bytesInOutput":799}},"bytes":1124},"packages/plugins/plugin-automation/dist/lib/browser/chunk-IDCVJ2JW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6530},"packages/plugins/plugin-automation/dist/lib/browser/chunk-IDCVJ2JW.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"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":{"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytesInOutput":2904},"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts":{"bytesInOutput":45}},"bytes":3275},"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-ND64CHOM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3935},"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-ND64CHOM.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts":{"bytesInOutput":2112}},"bytes":2343},"packages/plugins/plugin-automation/dist/lib/browser/intent-resolver-YH4YPX52.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4533},"packages/plugins/plugin-automation/dist/lib/browser/intent-resolver-YH4YPX52.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-ADYCSC6Y.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.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/live-object","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":"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts":{"bytesInOutput":2063}},"bytes":2331},"packages/plugins/plugin-automation/dist/lib/browser/chunk-ADYCSC6Y.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2184},"packages/plugins/plugin-automation/dist/lib/browser/chunk-ADYCSC6Y.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["AutomationAction"],"inputs":{"packages/plugins/plugin-automation/src/types.ts":{"bytesInOutput":1025}},"bytes":1213},"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":827},"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs":{"imports":[],"exports":["AUTOMATION_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-automation/src/meta.ts":{"bytesInOutput":395}},"bytes":530}}}
|
|
1
|
+
{"inputs":{"packages/plugins/plugin-automation/src/components/TriggerEditor/FunctionInputEditor.tsx":{"bytes":8298,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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"},"packages/plugins/plugin-automation/src/meta.ts":{"bytes":1764,"imports":[],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/SpecSelector.tsx":{"bytes":7106,"imports":[{"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":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx":{"bytes":12241,"imports":[{"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","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/FunctionInputEditor.tsx","kind":"import-statement","original":"./FunctionInputEditor"},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/SpecSelector.tsx","kind":"import-statement","original":"./SpecSelector"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts":{"bytes":544,"imports":[{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx","kind":"import-statement","original":"./TriggerEditor"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx":{"bytes":21074,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"react","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":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts","kind":"import-statement","original":"../TriggerEditor"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts":{"bytes":849,"imports":[{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"},{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx":{"bytes":3556,"imports":[{"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":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","kind":"import-statement","original":"./AutomationPanel"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytes":11677,"imports":[{"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":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts":{"bytes":832,"imports":[{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"},{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx":{"bytes":3536,"imports":[{"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":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts","kind":"import-statement","original":"./FunctionsPanel"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/components/index.ts":{"bytes":1736,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts","kind":"import-statement","original":"./TriggerEditor"},{"path":"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx","kind":"dynamic-import","original":"./AutomationContainer"},{"path":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","kind":"dynamic-import","original":"./AutomationPanel"},{"path":"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx","kind":"dynamic-import","original":"./FunctionsContainer"},{"path":"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts","kind":"dynamic-import","original":"./FunctionsPanel"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts":{"bytes":8950,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/types.ts":{"bytes":4378,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts":{"bytes":9486,"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/live-object","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":"packages/plugins/plugin-automation/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx":{"bytes":7985,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/capabilities/index.ts":{"bytes":1353,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"packages/plugins/plugin-automation/src/translations.ts":{"bytes":4657,"imports":[{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-automation/src/AutomationPlugin.tsx":{"bytes":5488,"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":"packages/plugins/plugin-automation/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-automation/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/plugins/plugin-automation/src/index.ts":{"bytes":704,"imports":[{"path":"packages/plugins/plugin-automation/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-automation/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-automation/src/AutomationPlugin.tsx","kind":"import-statement","original":"./AutomationPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-automation/dist/lib/browser/react-surface-P65PEZPN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3897},"packages/plugins/plugin-automation/dist/lib/browser/react-surface-P65PEZPN.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-GUPG3Q72.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-W4T2BTH2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-stack","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-automation/src/capabilities/react-surface.tsx":{"bytesInOutput":1842}},"bytes":2196},"packages/plugins/plugin-automation/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5188},"packages/plugins/plugin-automation/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-GUPG3Q72.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-W4T2BTH2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.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":"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-ND64CHOM.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/intent-resolver-TCUIVOEW.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/react-surface-P65PEZPN.mjs","kind":"dynamic-import"}],"exports":["AUTOMATION_PLUGIN","AutomationContainer","AutomationPanel","AutomationPlugin","FunctionsContainer","FunctionsPanel","TriggerEditor","meta"],"entryPoint":"packages/plugins/plugin-automation/src/index.ts","inputs":{"packages/plugins/plugin-automation/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-automation/src/AutomationPlugin.tsx":{"bytesInOutput":1109},"packages/plugins/plugin-automation/src/capabilities/index.ts":{"bytesInOutput":268},"packages/plugins/plugin-automation/src/translations.ts":{"bytesInOutput":1380}},"bytes":3448},"packages/plugins/plugin-automation/dist/lib/browser/chunk-GUPG3Q72.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":836},"packages/plugins/plugin-automation/dist/lib/browser/chunk-GUPG3Q72.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-automation/dist/lib/browser/AutomationContainer-PDPL34DX.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-3WG2B7JM.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/FunctionsContainer-HLISW5QI.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/FunctionsPanel-OKFRBXLO.mjs","kind":"dynamic-import"}],"exports":["AutomationContainer","AutomationPanel","FunctionsContainer","FunctionsPanel"],"inputs":{"packages/plugins/plugin-automation/src/components/index.ts":{"bytesInOutput":346}},"bytes":546},"packages/plugins/plugin-automation/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-ADYCSC6Y.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"}],"exports":["AutomationAction"],"entryPoint":"packages/plugins/plugin-automation/src/types.ts","inputs":{},"bytes":156},"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-3WG2B7JM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/browser/AutomationPanel-3WG2B7JM.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-QFIPNCNF.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-W4T2BTH2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"}],"exports":["AutomationPanel","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts","inputs":{},"bytes":269},"packages/plugins/plugin-automation/dist/lib/browser/AutomationContainer-PDPL34DX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1800},"packages/plugins/plugin-automation/dist/lib/browser/AutomationContainer-PDPL34DX.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-QFIPNCNF.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-W4T2BTH2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"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":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["AutomationContainer","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx","inputs":{"packages/plugins/plugin-automation/src/components/AutomationContainer.tsx":{"bytesInOutput":805}},"bytes":1166},"packages/plugins/plugin-automation/dist/lib/browser/chunk-QFIPNCNF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11770},"packages/plugins/plugin-automation/dist/lib/browser/chunk-QFIPNCNF.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-W4T2BTH2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"react","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":{"packages/plugins/plugin-automation/src/components/AutomationPanel/AutomationPanel.tsx":{"bytesInOutput":4990},"packages/plugins/plugin-automation/src/components/AutomationPanel/index.ts":{"bytesInOutput":47}},"bytes":5424},"packages/plugins/plugin-automation/dist/lib/browser/chunk-W4T2BTH2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":14313},"packages/plugins/plugin-automation/dist/lib/browser/chunk-W4T2BTH2.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"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","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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":"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":{"packages/plugins/plugin-automation/src/components/TriggerEditor/TriggerEditor.tsx":{"bytesInOutput":2757},"packages/plugins/plugin-automation/src/components/TriggerEditor/FunctionInputEditor.tsx":{"bytesInOutput":1972},"packages/plugins/plugin-automation/src/components/TriggerEditor/SpecSelector.tsx":{"bytesInOutput":1614},"packages/plugins/plugin-automation/src/components/TriggerEditor/index.ts":{"bytesInOutput":0}},"bytes":6825},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsPanel-OKFRBXLO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsPanel-OKFRBXLO.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-IDCVJ2JW.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"}],"exports":["FunctionsPanel","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts","inputs":{},"bytes":233},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsContainer-HLISW5QI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1786},"packages/plugins/plugin-automation/dist/lib/browser/FunctionsContainer-HLISW5QI.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-IDCVJ2JW.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"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":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["FunctionsContainer","default"],"entryPoint":"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx","inputs":{"packages/plugins/plugin-automation/src/components/FunctionsContainer.tsx":{"bytesInOutput":799}},"bytes":1124},"packages/plugins/plugin-automation/dist/lib/browser/chunk-IDCVJ2JW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6530},"packages/plugins/plugin-automation/dist/lib/browser/chunk-IDCVJ2JW.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"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":{"packages/plugins/plugin-automation/src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytesInOutput":2904},"packages/plugins/plugin-automation/src/components/FunctionsPanel/index.ts":{"bytesInOutput":45}},"bytes":3275},"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-ND64CHOM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3935},"packages/plugins/plugin-automation/dist/lib/browser/app-graph-builder-ND64CHOM.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-automation/src/capabilities/app-graph-builder.ts":{"bytesInOutput":2112}},"bytes":2343},"packages/plugins/plugin-automation/dist/lib/browser/intent-resolver-TCUIVOEW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4541},"packages/plugins/plugin-automation/dist/lib/browser/intent-resolver-TCUIVOEW.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-ADYCSC6Y.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.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/live-object","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":"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-automation/src/capabilities/intent-resolver.ts":{"bytesInOutput":2063}},"bytes":2331},"packages/plugins/plugin-automation/dist/lib/browser/chunk-ADYCSC6Y.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2184},"packages/plugins/plugin-automation/dist/lib/browser/chunk-ADYCSC6Y.mjs":{"imports":[{"path":"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["AutomationAction"],"inputs":{"packages/plugins/plugin-automation/src/types.ts":{"bytesInOutput":1025}},"bytes":1213},"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":827},"packages/plugins/plugin-automation/dist/lib/browser/chunk-WKKQV4PC.mjs":{"imports":[],"exports":["AUTOMATION_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-automation/src/meta.ts":{"bytesInOutput":395}},"bytes":530}}}
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
AutomationContainer,
|
|
3
3
|
AutomationPanel,
|
|
4
4
|
FunctionsContainer
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-GUPG3Q72.mjs";
|
|
6
|
+
import "./chunk-W4T2BTH2.mjs";
|
|
7
7
|
import {
|
|
8
8
|
meta
|
|
9
9
|
} from "./chunk-WKKQV4PC.mjs";
|
|
@@ -65,4 +65,4 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
|
65
65
|
export {
|
|
66
66
|
react_surface_default as default
|
|
67
67
|
};
|
|
68
|
-
//# sourceMappingURL=react-surface-
|
|
68
|
+
//# sourceMappingURL=react-surface-P65PEZPN.mjs.map
|
|
@@ -26,14 +26,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var AutomationContainer_EXTHQ7B3_exports = {};
|
|
30
|
+
__export(AutomationContainer_EXTHQ7B3_exports, {
|
|
31
31
|
AutomationContainer: () => AutomationContainer,
|
|
32
32
|
default: () => AutomationContainer_default
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
35
|
-
var
|
|
36
|
-
var
|
|
34
|
+
module.exports = __toCommonJS(AutomationContainer_EXTHQ7B3_exports);
|
|
35
|
+
var import_chunk_F74YVA6P = require("./chunk-F74YVA6P.cjs");
|
|
36
|
+
var import_chunk_A4DMUH7U = require("./chunk-A4DMUH7U.cjs");
|
|
37
37
|
var import_chunk_7GXNXMSM = require("./chunk-7GXNXMSM.cjs");
|
|
38
38
|
var import_react = __toESM(require("react"));
|
|
39
39
|
var import_react_ui = require("@dxos/react-ui");
|
|
@@ -50,7 +50,7 @@ var AutomationContainer = ({ space }) => {
|
|
|
50
50
|
description: t("automation description", {
|
|
51
51
|
ns: import_chunk_7GXNXMSM.AUTOMATION_PLUGIN
|
|
52
52
|
})
|
|
53
|
-
}, /* @__PURE__ */ import_react.default.createElement(
|
|
53
|
+
}, /* @__PURE__ */ import_react.default.createElement(import_chunk_F74YVA6P.AutomationPanel, {
|
|
54
54
|
space
|
|
55
55
|
}))));
|
|
56
56
|
};
|
|
@@ -59,4 +59,4 @@ var AutomationContainer_default = AutomationContainer;
|
|
|
59
59
|
0 && (module.exports = {
|
|
60
60
|
AutomationContainer
|
|
61
61
|
});
|
|
62
|
-
//# sourceMappingURL=AutomationContainer-
|
|
62
|
+
//# sourceMappingURL=AutomationContainer-EXTHQ7B3.cjs.map
|