@dxos/plugin-automation 0.7.4 → 0.7.5-labs.5f04cf6
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/{AssistantPanel-N3QSALKY.mjs → AssistantPanel-KO6DZBTU.mjs} +10 -11
- package/dist/lib/browser/AssistantPanel-KO6DZBTU.mjs.map +7 -0
- package/dist/lib/browser/AutomationPanel-BMLM533Z.mjs +131 -0
- package/dist/lib/browser/AutomationPanel-BMLM533Z.mjs.map +7 -0
- package/dist/lib/browser/ChatContainer-SIAJFRFF.mjs +300 -0
- package/dist/lib/browser/ChatContainer-SIAJFRFF.mjs.map +7 -0
- package/dist/lib/browser/ai-client-6CRYUC6D.mjs +22 -0
- package/dist/lib/browser/ai-client-6CRYUC6D.mjs.map +7 -0
- package/dist/lib/browser/app-graph-builder-IJTTULDP.mjs +131 -0
- package/dist/lib/browser/app-graph-builder-IJTTULDP.mjs.map +7 -0
- package/dist/lib/browser/{chunk-7KB4UMXO.mjs → chunk-C3VRGDR6.mjs} +30 -4
- package/dist/lib/browser/chunk-C3VRGDR6.mjs.map +7 -0
- package/dist/lib/browser/chunk-EKJVAFT2.mjs +226 -0
- package/dist/lib/browser/chunk-EKJVAFT2.mjs.map +7 -0
- package/dist/lib/browser/{chunk-X5KMOH3I.mjs → chunk-HKX3D3ZP.mjs} +3 -3
- package/dist/lib/browser/chunk-HKX3D3ZP.mjs.map +7 -0
- package/dist/lib/browser/chunk-HZ4TA7HY.mjs +15 -0
- package/dist/lib/browser/chunk-HZ4TA7HY.mjs.map +7 -0
- package/dist/lib/browser/chunk-JSNPW6JF.mjs +14 -0
- package/dist/lib/browser/chunk-JSNPW6JF.mjs.map +7 -0
- package/dist/lib/browser/chunk-KPSDH6XZ.mjs +118 -0
- package/dist/lib/browser/chunk-KPSDH6XZ.mjs.map +7 -0
- package/dist/lib/browser/chunk-YZF3SDZL.mjs +139 -0
- package/dist/lib/browser/chunk-YZF3SDZL.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +143 -249
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/intent-resolver-AHDQ3KQP.mjs +24 -0
- package/dist/lib/browser/intent-resolver-AHDQ3KQP.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react-surface-IGMBLSV7.mjs +49 -0
- package/dist/lib/browser/react-surface-IGMBLSV7.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +6 -3
- package/dist/lib/node/{AssistantPanel-RIA4TI3B.cjs → AssistantPanel-PPFS2HKK.cjs} +20 -21
- package/dist/lib/node/AssistantPanel-PPFS2HKK.cjs.map +7 -0
- package/dist/lib/node/{AutomationPanel-HZS5WKI5.cjs → AutomationPanel-RXJDVLCF.cjs} +52 -72
- package/dist/lib/node/AutomationPanel-RXJDVLCF.cjs.map +7 -0
- package/dist/lib/node/ChatContainer-GS2SC5OG.cjs +318 -0
- package/dist/lib/node/ChatContainer-GS2SC5OG.cjs.map +7 -0
- package/dist/lib/node/ai-client-A3RRU55B.cjs +38 -0
- package/dist/lib/node/ai-client-A3RRU55B.cjs.map +7 -0
- package/dist/lib/node/app-graph-builder-MF5M4QRS.cjs +147 -0
- package/dist/lib/node/app-graph-builder-MF5M4QRS.cjs.map +7 -0
- package/dist/lib/node/{chunk-DTJ7XVO2.cjs → chunk-5VF5JKUN.cjs} +7 -7
- package/dist/lib/node/chunk-5VF5JKUN.cjs.map +7 -0
- package/dist/lib/node/{chunk-CUCUWUAF.cjs → chunk-BUQOZA4N.cjs} +32 -8
- package/dist/lib/node/chunk-BUQOZA4N.cjs.map +7 -0
- package/dist/lib/node/chunk-DNLBVFR7.cjs +147 -0
- package/dist/lib/node/chunk-DNLBVFR7.cjs.map +7 -0
- package/dist/lib/node/chunk-TWDGP26W.cjs +172 -0
- package/dist/lib/node/chunk-TWDGP26W.cjs.map +7 -0
- package/dist/lib/node/chunk-VEGLN4YN.cjs +250 -0
- package/dist/lib/node/chunk-VEGLN4YN.cjs.map +7 -0
- package/dist/lib/node/chunk-Z2YFE5SJ.cjs +49 -0
- package/dist/lib/node/chunk-Z2YFE5SJ.cjs.map +7 -0
- package/dist/lib/node/{meta.cjs → chunk-ZS5RZ7RM.cjs} +12 -8
- package/dist/lib/node/chunk-ZS5RZ7RM.cjs.map +7 -0
- package/dist/lib/node/index.cjs +159 -279
- package/dist/lib/node/index.cjs.map +4 -4
- package/dist/lib/node/intent-resolver-TBHYXBDI.cjs +39 -0
- package/dist/lib/node/intent-resolver-TBHYXBDI.cjs.map +7 -0
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/react-surface-BVUZMKYS.cjs +69 -0
- package/dist/lib/node/react-surface-BVUZMKYS.cjs.map +7 -0
- package/dist/lib/node/types/index.cjs +10 -7
- package/dist/lib/node/types/index.cjs.map +2 -2
- package/dist/lib/node-esm/{AssistantPanel-72YH43CH.mjs → AssistantPanel-XSSKKCJY.mjs} +10 -11
- package/dist/lib/node-esm/AssistantPanel-XSSKKCJY.mjs.map +7 -0
- package/dist/lib/node-esm/AutomationPanel-GQZZ4UBI.mjs +132 -0
- package/dist/lib/node-esm/AutomationPanel-GQZZ4UBI.mjs.map +7 -0
- package/dist/lib/node-esm/ChatContainer-57ILGC3R.mjs +301 -0
- package/dist/lib/node-esm/ChatContainer-57ILGC3R.mjs.map +7 -0
- package/dist/lib/node-esm/ai-client-2GBZRHBA.mjs +23 -0
- package/dist/lib/node-esm/ai-client-2GBZRHBA.mjs.map +7 -0
- package/dist/lib/node-esm/app-graph-builder-5N7OK23B.mjs +132 -0
- package/dist/lib/node-esm/app-graph-builder-5N7OK23B.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-5QUXIXNB.mjs +227 -0
- package/dist/lib/node-esm/chunk-5QUXIXNB.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-ICHNUP5M.mjs +119 -0
- package/dist/lib/node-esm/chunk-ICHNUP5M.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-ISYLEDVU.mjs +16 -0
- package/dist/lib/node-esm/chunk-ISYLEDVU.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-23LY7DYS.mjs → chunk-JCYVS5GG.mjs} +29 -4
- package/dist/lib/node-esm/chunk-JCYVS5GG.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-L2B6VGMG.mjs +16 -0
- package/dist/lib/node-esm/chunk-L2B6VGMG.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-U7HXYMPZ.mjs +141 -0
- package/dist/lib/node-esm/chunk-U7HXYMPZ.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-HNOBZHWK.mjs → chunk-X3LPRWIL.mjs} +3 -3
- package/dist/lib/node-esm/chunk-X3LPRWIL.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +143 -249
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/intent-resolver-DPJJHFGK.mjs +25 -0
- package/dist/lib/node-esm/intent-resolver-DPJJHFGK.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/react-surface-77S6XJOM.mjs +50 -0
- package/dist/lib/node-esm/react-surface-77S6XJOM.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +6 -3
- package/dist/types/src/AutomationPlugin.d.ts +1 -3
- package/dist/types/src/AutomationPlugin.d.ts.map +1 -1
- package/dist/types/src/artifacts.stories.d.ts +30 -0
- package/dist/types/src/artifacts.stories.d.ts.map +1 -0
- package/dist/types/src/capabilities/ai-client.d.ts +5 -0
- package/dist/types/src/capabilities/ai-client.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts +180 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/capabilities.d.ts +5 -0
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +182 -0
- package/dist/types/src/capabilities/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/intent-resolver.d.ts +4 -0
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts +4 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/components/AssistantPanel/AssistantPanel.d.ts.map +1 -1
- package/dist/types/src/components/AutomationPanel/AutomationPanel.d.ts +1 -1
- package/dist/types/src/components/AutomationPanel/AutomationPanel.d.ts.map +1 -1
- package/dist/types/src/components/AutomationPanel/AutomationPanel.stories.d.ts.map +1 -1
- package/dist/types/src/components/ChatContainer.d.ts +8 -0
- package/dist/types/src/components/ChatContainer.d.ts.map +1 -0
- package/dist/types/src/components/Thread/Thread.d.ts +14 -0
- package/dist/types/src/components/Thread/Thread.d.ts.map +1 -0
- package/dist/types/src/components/Thread/Thread.stories.d.ts +12 -0
- package/dist/types/src/components/Thread/Thread.stories.d.ts.map +1 -0
- package/dist/types/src/components/Thread/index.d.ts +2 -0
- package/dist/types/src/components/Thread/index.d.ts.map +1 -0
- package/dist/types/src/components/TriggerEditor/TriggerEditor.d.ts +1 -2
- package/dist/types/src/components/TriggerEditor/TriggerEditor.d.ts.map +1 -1
- package/dist/types/src/components/TriggerEditor/TriggerEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +8 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/hooks/email.d.ts.map +1 -1
- package/dist/types/src/hooks/index.d.ts +1 -0
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/invocation-handler.d.ts.map +1 -1
- package/dist/types/src/hooks/processor.d.ts +46 -0
- package/dist/types/src/hooks/processor.d.ts.map +1 -0
- package/dist/types/src/hooks/processor.test.d.ts +2 -0
- package/dist/types/src/hooks/processor.test.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +1 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +1 -2
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/testing/testing.d.ts +2 -0
- package/dist/types/src/testing/testing.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +76 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts +40 -39
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +16 -5
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/package.json +48 -47
- package/src/AutomationPlugin.tsx +85 -194
- package/src/artifacts.stories.tsx +180 -0
- package/src/capabilities/ai-client.ts +19 -0
- package/src/capabilities/app-graph-builder.ts +127 -0
- package/src/capabilities/capabilities.ts +12 -0
- package/src/capabilities/index.ts +12 -0
- package/src/capabilities/intent-resolver.ts +22 -0
- package/src/capabilities/react-surface.tsx +34 -0
- package/src/components/AssistantPanel/AssistantPanel.tsx +10 -8
- package/src/components/AutomationPanel/AutomationPanel.stories.tsx +1 -2
- package/src/components/AutomationPanel/AutomationPanel.tsx +61 -39
- package/src/components/ChatContainer.tsx +80 -0
- package/src/components/PromptEditor/PromptEditor.stories.tsx +3 -3
- package/src/components/Thread/Thread.stories.tsx +142 -0
- package/src/components/Thread/Thread.tsx +149 -0
- package/src/components/Thread/index.ts +5 -0
- package/src/components/TriggerEditor/TriggerEditor.stories.tsx +1 -2
- package/src/components/TriggerEditor/TriggerEditor.tsx +83 -16
- package/src/components/index.ts +5 -0
- package/src/hooks/email.ts +2 -2
- package/src/hooks/index.ts +1 -0
- package/src/hooks/invocation-handler.ts +2 -2
- package/src/hooks/processor.test.ts +15 -0
- package/src/hooks/processor.ts +161 -0
- package/src/index.ts +1 -4
- package/src/meta.ts +1 -1
- package/src/testing/testing.ts +9 -2
- package/src/translations.ts +13 -0
- package/src/types/schema.ts +9 -2
- package/src/types/types.ts +15 -21
- package/dist/lib/browser/AssistantPanel-N3QSALKY.mjs.map +0 -7
- package/dist/lib/browser/AutomationPanel-AQMN2CQR.mjs +0 -153
- package/dist/lib/browser/AutomationPanel-AQMN2CQR.mjs.map +0 -7
- package/dist/lib/browser/chunk-7KB4UMXO.mjs.map +0 -7
- package/dist/lib/browser/chunk-X5KMOH3I.mjs.map +0 -7
- package/dist/lib/browser/meta.mjs +0 -9
- package/dist/lib/browser/meta.mjs.map +0 -7
- package/dist/lib/node/AssistantPanel-RIA4TI3B.cjs.map +0 -7
- package/dist/lib/node/AutomationPanel-HZS5WKI5.cjs.map +0 -7
- package/dist/lib/node/chunk-CUCUWUAF.cjs.map +0 -7
- package/dist/lib/node/chunk-DTJ7XVO2.cjs.map +0 -7
- package/dist/lib/node/meta.cjs.map +0 -7
- package/dist/lib/node-esm/AssistantPanel-72YH43CH.mjs.map +0 -7
- package/dist/lib/node-esm/AutomationPanel-JUHOWQWW.mjs +0 -154
- package/dist/lib/node-esm/AutomationPanel-JUHOWQWW.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-23LY7DYS.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HNOBZHWK.mjs.map +0 -7
- package/dist/lib/node-esm/meta.mjs +0 -10
- package/dist/lib/node-esm/meta.mjs.map +0 -7
package/dist/lib/node/index.cjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
2
|
var __defProp = Object.defineProperty;
|
|
4
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
6
|
var __export = (target, all) => {
|
|
9
7
|
for (var name in all)
|
|
@@ -17,49 +15,49 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
15
|
}
|
|
18
16
|
return to;
|
|
19
17
|
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
19
|
var node_exports = {};
|
|
30
20
|
__export(node_exports, {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
21
|
+
AUTOMATION_PLUGIN: () => import_chunk_5VF5JKUN.AUTOMATION_PLUGIN,
|
|
22
|
+
AssistantPanel: () => import_chunk_VEGLN4YN.AssistantPanel,
|
|
23
|
+
AutomationAction: () => import_chunk_BUQOZA4N.AutomationAction,
|
|
24
|
+
AutomationPanel: () => import_chunk_VEGLN4YN.AutomationPanel,
|
|
34
25
|
AutomationPlugin: () => AutomationPlugin,
|
|
35
|
-
ChainInputSchema: () =>
|
|
36
|
-
ChainInputType: () =>
|
|
37
|
-
ChainPromptType: () =>
|
|
38
|
-
ChainType: () =>
|
|
26
|
+
ChainInputSchema: () => import_chunk_BUQOZA4N.ChainInputSchema,
|
|
27
|
+
ChainInputType: () => import_chunk_BUQOZA4N.ChainInputType,
|
|
28
|
+
ChainPromptType: () => import_chunk_BUQOZA4N.ChainPromptType,
|
|
29
|
+
ChainType: () => import_chunk_BUQOZA4N.ChainType,
|
|
30
|
+
ChatContainer: () => import_chunk_VEGLN4YN.ChatContainer,
|
|
31
|
+
GptChatType: () => import_chunk_BUQOZA4N.GptChatType,
|
|
32
|
+
PromptEditor: () => import_chunk_VEGLN4YN.PromptEditor,
|
|
33
|
+
Thread: () => import_chunk_TWDGP26W.Thread,
|
|
34
|
+
ThreadMessage: () => import_chunk_TWDGP26W.ThreadMessage,
|
|
35
|
+
TriggerEditor: () => import_chunk_DNLBVFR7.TriggerEditor,
|
|
39
36
|
chainPresets: () => chainPresets,
|
|
40
|
-
|
|
37
|
+
meta: () => import_chunk_5VF5JKUN.meta,
|
|
41
38
|
str: () => str
|
|
42
39
|
});
|
|
43
40
|
module.exports = __toCommonJS(node_exports);
|
|
44
|
-
var
|
|
45
|
-
var
|
|
46
|
-
var
|
|
41
|
+
var import_chunk_VEGLN4YN = require("./chunk-VEGLN4YN.cjs");
|
|
42
|
+
var import_chunk_BUQOZA4N = require("./chunk-BUQOZA4N.cjs");
|
|
43
|
+
var import_chunk_DNLBVFR7 = require("./chunk-DNLBVFR7.cjs");
|
|
44
|
+
var import_chunk_Z2YFE5SJ = require("./chunk-Z2YFE5SJ.cjs");
|
|
45
|
+
var import_chunk_TWDGP26W = require("./chunk-TWDGP26W.cjs");
|
|
46
|
+
var import_chunk_ZS5RZ7RM = require("./chunk-ZS5RZ7RM.cjs");
|
|
47
|
+
var import_chunk_5VF5JKUN = require("./chunk-5VF5JKUN.cjs");
|
|
47
48
|
var import_app_framework = require("@dxos/app-framework");
|
|
48
49
|
var import_functions = require("@dxos/functions");
|
|
49
|
-
var import_invariant = require("@dxos/invariant");
|
|
50
50
|
var import_plugin_client = require("@dxos/plugin-client");
|
|
51
|
-
var
|
|
52
|
-
var import_plugin_space = require("@dxos/plugin-space");
|
|
51
|
+
var import_plugin_deck = require("@dxos/plugin-deck");
|
|
53
52
|
var import_echo = require("@dxos/react-client/echo");
|
|
54
|
-
var import_react_ui_form = require("@dxos/react-ui-form");
|
|
55
|
-
var import_react2 = require("react");
|
|
56
53
|
var import_live_object = require("@dxos/live-object");
|
|
57
|
-
var AssistantPanel = (0, import_react2.lazy)(() => import("./AssistantPanel-RIA4TI3B.cjs"));
|
|
58
|
-
var AutomationPanel = (0, import_react2.lazy)(() => import("./AutomationPanel-HZS5WKI5.cjs"));
|
|
59
54
|
var translations_default = [
|
|
60
55
|
{
|
|
61
56
|
"en-US": {
|
|
62
|
-
[
|
|
57
|
+
[import_chunk_BUQOZA4N.GptChatType.typename]: {
|
|
58
|
+
"typename label": "GPT Chat"
|
|
59
|
+
},
|
|
60
|
+
[import_chunk_5VF5JKUN.AUTOMATION_PLUGIN]: {
|
|
63
61
|
"plugin name": "Automation",
|
|
64
62
|
"object placeholder": "New prompt",
|
|
65
63
|
"create object label": "Create prompt",
|
|
@@ -70,6 +68,7 @@ var translations_default = [
|
|
|
70
68
|
"value placeholder": "Enter value...",
|
|
71
69
|
"select preset template placeholder": "Select preset",
|
|
72
70
|
"open automation panel label": "Show Automations",
|
|
71
|
+
"automation panel label": "Automations",
|
|
73
72
|
"function select label": "Function",
|
|
74
73
|
"function select placeholder": "Select function",
|
|
75
74
|
"function enabled": "Enabled",
|
|
@@ -79,254 +78,128 @@ var translations_default = [
|
|
|
79
78
|
"trigger type webhook": "Webhook",
|
|
80
79
|
"trigger type websocket": "Websocket",
|
|
81
80
|
"trigger type subscription": "Subscription",
|
|
81
|
+
"trigger type email": "Email",
|
|
82
82
|
"trigger filter": "Filter",
|
|
83
83
|
"trigger cron": "Cron",
|
|
84
84
|
"trigger method": "Method",
|
|
85
85
|
"trigger endpoint": "Endpoint",
|
|
86
|
+
"trigger copy url": "Copy URL",
|
|
87
|
+
"trigger copy email": "Copy Email",
|
|
88
|
+
"trigger meta add": "Add",
|
|
89
|
+
"trigger meta remove": "Remove",
|
|
90
|
+
"trigger meta prop name placeholder": "New meta property name",
|
|
86
91
|
"open assistant panel label": "Show Assistant",
|
|
87
92
|
"assistant panel label": "Assistant"
|
|
88
93
|
}
|
|
89
94
|
}
|
|
90
95
|
}
|
|
91
96
|
];
|
|
92
|
-
var
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
97
|
+
var AutomationPlugin = () => (0, import_app_framework.definePlugin)(import_chunk_5VF5JKUN.meta, [
|
|
98
|
+
(0, import_app_framework.defineModule)({
|
|
99
|
+
id: `${import_chunk_5VF5JKUN.meta.id}/module/ai-client`,
|
|
100
|
+
activatesOn: import_plugin_client.ClientEvents.ClientReady,
|
|
101
|
+
activate: import_chunk_Z2YFE5SJ.AiClient
|
|
102
|
+
}),
|
|
103
|
+
(0, import_app_framework.defineModule)({
|
|
104
|
+
id: `${import_chunk_5VF5JKUN.meta.id}/module/translations`,
|
|
105
|
+
activatesOn: import_app_framework.Events.SetupTranslations,
|
|
106
|
+
activate: () => (0, import_app_framework.contributes)(import_app_framework.Capabilities.Translations, translations_default)
|
|
107
|
+
}),
|
|
108
|
+
(0, import_app_framework.defineModule)({
|
|
109
|
+
id: `${import_chunk_5VF5JKUN.meta.id}/module/metadata`,
|
|
110
|
+
activatesOn: (0, import_app_framework.oneOf)(import_app_framework.Events.Startup, import_app_framework.Events.SetupAppGraph),
|
|
111
|
+
activate: () => [
|
|
112
|
+
(0, import_app_framework.contributes)(import_app_framework.Capabilities.Metadata, {
|
|
113
|
+
id: import_chunk_BUQOZA4N.ChainType.typename,
|
|
114
|
+
metadata: {
|
|
115
|
+
placeholder: [
|
|
116
|
+
"object placeholder",
|
|
117
|
+
{
|
|
118
|
+
ns: import_chunk_5VF5JKUN.AUTOMATION_PLUGIN
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
icon: "ph--magic-wand--regular",
|
|
122
|
+
// TODO(wittjosiah): Move out of metadata.
|
|
123
|
+
loadReferences: async (chain) => await import_echo.RefArray.loadAll(chain.prompts ?? [])
|
|
110
124
|
}
|
|
111
|
-
},
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
125
|
+
}),
|
|
126
|
+
(0, import_app_framework.contributes)(import_app_framework.Capabilities.Metadata, {
|
|
127
|
+
id: import_chunk_BUQOZA4N.GptChatType.typename,
|
|
128
|
+
metadata: {
|
|
129
|
+
createObject: (props) => (0, import_app_framework.createIntent)(import_chunk_BUQOZA4N.AutomationAction.Create, props),
|
|
130
|
+
placeholder: [
|
|
131
|
+
"object placeholder",
|
|
132
|
+
{
|
|
133
|
+
ns: import_chunk_5VF5JKUN.AUTOMATION_PLUGIN
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
icon: "ph--atom--regular"
|
|
137
|
+
}
|
|
138
|
+
})
|
|
139
|
+
]
|
|
140
|
+
}),
|
|
141
|
+
(0, import_app_framework.defineModule)({
|
|
142
|
+
id: `${import_chunk_5VF5JKUN.meta.id}/module/schema`,
|
|
143
|
+
activatesOn: import_plugin_client.ClientEvents.SetupClient,
|
|
144
|
+
activate: () => [
|
|
145
|
+
(0, import_app_framework.contributes)(import_plugin_client.ClientCapabilities.SystemSchema, [
|
|
146
|
+
import_chunk_BUQOZA4N.ChainType,
|
|
147
|
+
import_chunk_BUQOZA4N.ChainPromptType,
|
|
148
|
+
import_functions.FunctionTrigger
|
|
149
|
+
]),
|
|
150
|
+
(0, import_app_framework.contributes)(import_plugin_client.ClientCapabilities.Schema, [
|
|
151
|
+
import_chunk_BUQOZA4N.GptChatType
|
|
152
|
+
])
|
|
153
|
+
]
|
|
154
|
+
}),
|
|
155
|
+
(0, import_app_framework.defineModule)({
|
|
156
|
+
id: `${import_chunk_5VF5JKUN.meta.id}/module/complementary-panels`,
|
|
157
|
+
activatesOn: import_app_framework.Events.Startup,
|
|
158
|
+
activate: () => [
|
|
159
|
+
(0, import_app_framework.contributes)(import_plugin_deck.DeckCapabilities.ComplementaryPanel, {
|
|
160
|
+
id: "automation",
|
|
161
|
+
label: [
|
|
162
|
+
"automation panel label",
|
|
135
163
|
{
|
|
136
|
-
|
|
137
|
-
label: [
|
|
138
|
-
"open assistant panel label",
|
|
139
|
-
{
|
|
140
|
-
ns: import_chunk_DTJ7XVO2.AUTOMATION_PLUGIN
|
|
141
|
-
}
|
|
142
|
-
],
|
|
143
|
-
icon: "ph--atom--regular"
|
|
164
|
+
ns: import_chunk_5VF5JKUN.AUTOMATION_PLUGIN
|
|
144
165
|
}
|
|
145
|
-
]
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
F: __dxlog_file,
|
|
155
|
-
L: 66,
|
|
156
|
-
S: void 0,
|
|
157
|
-
A: [
|
|
158
|
-
"resolve",
|
|
159
|
-
""
|
|
160
|
-
]
|
|
161
|
-
});
|
|
162
|
-
(0, import_invariant.invariant)(client, void 0, {
|
|
163
|
-
F: __dxlog_file,
|
|
164
|
-
L: 67,
|
|
165
|
-
S: void 0,
|
|
166
|
-
A: [
|
|
167
|
-
"client",
|
|
168
|
-
""
|
|
169
|
-
]
|
|
170
|
-
});
|
|
171
|
-
return [
|
|
172
|
-
// Create nodes for object settings.
|
|
173
|
-
(0, import_plugin_graph.createExtension)({
|
|
174
|
-
id: `${import_chunk_DTJ7XVO2.AUTOMATION_PLUGIN}/automation-for-subject`,
|
|
175
|
-
resolver: ({ id }) => {
|
|
176
|
-
if (!id.endsWith("~automation")) {
|
|
177
|
-
return;
|
|
178
|
-
}
|
|
179
|
-
const type = "orphan-settings-for-subject";
|
|
180
|
-
const icon = "ph--magic-wand--regular";
|
|
181
|
-
const [subjectId] = id.split("~");
|
|
182
|
-
const { spaceId, objectId } = (0, import_echo.parseId)(subjectId);
|
|
183
|
-
const spaces = (0, import_plugin_graph.toSignal)((onChange) => client.spaces.subscribe(() => onChange()).unsubscribe, () => client.spaces.get());
|
|
184
|
-
const space = spaces?.find((space2) => space2.id === spaceId && space2.state.get() === import_echo.SpaceState.SPACE_READY);
|
|
185
|
-
if (!objectId) {
|
|
186
|
-
const label2 = space ? space.properties.name || [
|
|
187
|
-
"unnamed space label",
|
|
188
|
-
{
|
|
189
|
-
ns: import_chunk_DTJ7XVO2.AUTOMATION_PLUGIN
|
|
190
|
-
}
|
|
191
|
-
] : [
|
|
192
|
-
"unnamed object settings label",
|
|
193
|
-
{
|
|
194
|
-
ns: import_chunk_DTJ7XVO2.AUTOMATION_PLUGIN
|
|
195
|
-
}
|
|
196
|
-
];
|
|
197
|
-
return {
|
|
198
|
-
id,
|
|
199
|
-
type,
|
|
200
|
-
data: null,
|
|
201
|
-
properties: {
|
|
202
|
-
icon,
|
|
203
|
-
label: label2,
|
|
204
|
-
showResolvedThreads: false,
|
|
205
|
-
object: null,
|
|
206
|
-
space
|
|
207
|
-
}
|
|
208
|
-
};
|
|
209
|
-
}
|
|
210
|
-
const [object] = (0, import_plugin_space.memoizeQuery)(space, {
|
|
211
|
-
id: objectId
|
|
212
|
-
});
|
|
213
|
-
if (!object || !subjectId) {
|
|
214
|
-
return;
|
|
215
|
-
}
|
|
216
|
-
const meta = resolve((0, import_echo.getTypename)(object) ?? "");
|
|
217
|
-
const label = meta.label?.(object) || object.name || meta.placeholder || [
|
|
218
|
-
"unnamed object settings label",
|
|
219
|
-
{
|
|
220
|
-
ns: import_chunk_DTJ7XVO2.AUTOMATION_PLUGIN
|
|
221
|
-
}
|
|
222
|
-
];
|
|
223
|
-
return {
|
|
224
|
-
id,
|
|
225
|
-
type,
|
|
226
|
-
data: null,
|
|
227
|
-
properties: {
|
|
228
|
-
icon,
|
|
229
|
-
label,
|
|
230
|
-
object
|
|
231
|
-
}
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
|
-
}),
|
|
235
|
-
(0, import_plugin_graph.createExtension)({
|
|
236
|
-
id: `${import_chunk_DTJ7XVO2.AUTOMATION_PLUGIN}/assistant-for-subject`,
|
|
237
|
-
resolver: ({ id }) => {
|
|
238
|
-
if (!id.endsWith("~assistant")) {
|
|
239
|
-
return;
|
|
240
|
-
}
|
|
241
|
-
const [subjectId] = id.split("~");
|
|
242
|
-
const { spaceId, objectId } = (0, import_echo.parseId)(subjectId);
|
|
243
|
-
const spaces = (0, import_plugin_graph.toSignal)((onChange) => client.spaces.subscribe(() => onChange()).unsubscribe, () => client.spaces.get());
|
|
244
|
-
const space = spaces?.find((space2) => space2.id === spaceId && space2.state.get() === import_echo.SpaceState.SPACE_READY);
|
|
245
|
-
if (!objectId) {
|
|
246
|
-
return {
|
|
247
|
-
id,
|
|
248
|
-
type: "orphan-automation-for-subject",
|
|
249
|
-
data: null,
|
|
250
|
-
properties: {
|
|
251
|
-
icon: "ph--atom--regular",
|
|
252
|
-
label: [
|
|
253
|
-
"assistant panel label",
|
|
254
|
-
{
|
|
255
|
-
ns: import_chunk_DTJ7XVO2.AUTOMATION_PLUGIN
|
|
256
|
-
}
|
|
257
|
-
],
|
|
258
|
-
object: null,
|
|
259
|
-
space
|
|
260
|
-
}
|
|
261
|
-
};
|
|
262
|
-
}
|
|
263
|
-
const [object] = (0, import_plugin_space.memoizeQuery)(space, {
|
|
264
|
-
id: objectId
|
|
265
|
-
});
|
|
266
|
-
return {
|
|
267
|
-
id,
|
|
268
|
-
type: "orphan-automation-for-subject",
|
|
269
|
-
data: null,
|
|
270
|
-
properties: {
|
|
271
|
-
icon: "ph--atom--regular",
|
|
272
|
-
label: [
|
|
273
|
-
"assistant panel label",
|
|
274
|
-
{
|
|
275
|
-
ns: import_chunk_DTJ7XVO2.AUTOMATION_PLUGIN
|
|
276
|
-
}
|
|
277
|
-
],
|
|
278
|
-
object
|
|
279
|
-
}
|
|
280
|
-
};
|
|
281
|
-
}
|
|
282
|
-
})
|
|
283
|
-
];
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
surface: {
|
|
287
|
-
component: ({ data, role }) => {
|
|
288
|
-
switch (role) {
|
|
289
|
-
case "complementary--assistant":
|
|
290
|
-
return /* @__PURE__ */ import_react.default.createElement(AssistantPanel, {
|
|
291
|
-
subject: data.subject
|
|
292
|
-
});
|
|
293
|
-
case "complementary--automation": {
|
|
294
|
-
const object = data.subject;
|
|
295
|
-
const space = (0, import_echo.isEchoObject)(object) ? (0, import_echo.getSpace)(object) : void 0;
|
|
296
|
-
if (space) {
|
|
297
|
-
(0, import_invariant.invariant)((0, import_echo.isEchoObject)(object), void 0, {
|
|
298
|
-
F: __dxlog_file,
|
|
299
|
-
L: 193,
|
|
300
|
-
S: void 0,
|
|
301
|
-
A: [
|
|
302
|
-
"isEchoObject(object)",
|
|
303
|
-
""
|
|
304
|
-
]
|
|
305
|
-
});
|
|
306
|
-
return /* @__PURE__ */ import_react.default.createElement(AutomationPanel, {
|
|
307
|
-
space,
|
|
308
|
-
object
|
|
309
|
-
});
|
|
310
|
-
}
|
|
311
|
-
break;
|
|
312
|
-
}
|
|
166
|
+
],
|
|
167
|
+
icon: "ph--magic-wand--regular"
|
|
168
|
+
}),
|
|
169
|
+
(0, import_app_framework.contributes)(import_plugin_deck.DeckCapabilities.ComplementaryPanel, {
|
|
170
|
+
id: "assistant",
|
|
171
|
+
label: [
|
|
172
|
+
"assistant panel label",
|
|
173
|
+
{
|
|
174
|
+
ns: import_chunk_5VF5JKUN.AUTOMATION_PLUGIN
|
|
313
175
|
}
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
}
|
|
176
|
+
],
|
|
177
|
+
icon: "ph--atom--regular"
|
|
178
|
+
})
|
|
179
|
+
]
|
|
180
|
+
}),
|
|
181
|
+
(0, import_app_framework.defineModule)({
|
|
182
|
+
id: `${import_chunk_5VF5JKUN.meta.id}/module/react-surface`,
|
|
183
|
+
activatesOn: import_app_framework.Events.Startup,
|
|
184
|
+
activate: import_chunk_Z2YFE5SJ.ReactSurface
|
|
185
|
+
}),
|
|
186
|
+
(0, import_app_framework.defineModule)({
|
|
187
|
+
id: `${import_chunk_5VF5JKUN.meta.id}/module/app-graph-builder`,
|
|
188
|
+
activatesOn: import_app_framework.Events.SetupAppGraph,
|
|
189
|
+
activate: import_chunk_Z2YFE5SJ.AppGraphBuilder
|
|
190
|
+
}),
|
|
191
|
+
(0, import_app_framework.defineModule)({
|
|
192
|
+
id: `${import_chunk_5VF5JKUN.meta.id}/module/intent-resolver`,
|
|
193
|
+
activatesOn: import_app_framework.Events.SetupIntents,
|
|
194
|
+
activate: import_chunk_Z2YFE5SJ.IntentResolver
|
|
195
|
+
})
|
|
196
|
+
]);
|
|
324
197
|
var str = (...text) => text.filter((value) => value !== void 0 && value !== false).flat().join("\n");
|
|
325
198
|
var chainPresets = [
|
|
326
199
|
{
|
|
327
200
|
id: "dxos.org/prompt/translate",
|
|
328
201
|
title: "Translate",
|
|
329
|
-
createPrompt: () => (0, import_live_object.create)(
|
|
202
|
+
createPrompt: () => (0, import_live_object.create)(import_chunk_BUQOZA4N.ChainPromptType, {
|
|
330
203
|
command: "say",
|
|
331
204
|
template: str(
|
|
332
205
|
// prettier-ignore
|
|
@@ -338,12 +211,12 @@ var chainPresets = [
|
|
|
338
211
|
),
|
|
339
212
|
inputs: [
|
|
340
213
|
{
|
|
341
|
-
type:
|
|
214
|
+
type: import_chunk_BUQOZA4N.ChainInputType.VALUE,
|
|
342
215
|
name: "language",
|
|
343
216
|
value: "japanese"
|
|
344
217
|
},
|
|
345
218
|
{
|
|
346
|
-
type:
|
|
219
|
+
type: import_chunk_BUQOZA4N.ChainInputType.PASS_THROUGH,
|
|
347
220
|
name: "input"
|
|
348
221
|
}
|
|
349
222
|
]
|
|
@@ -352,7 +225,7 @@ var chainPresets = [
|
|
|
352
225
|
{
|
|
353
226
|
id: "dxos.org/prompt/chess",
|
|
354
227
|
title: "Chess",
|
|
355
|
-
createPrompt: () => (0, import_live_object.create)(
|
|
228
|
+
createPrompt: () => (0, import_live_object.create)(import_chunk_BUQOZA4N.ChainPromptType, {
|
|
356
229
|
command: "hint",
|
|
357
230
|
template: str(
|
|
358
231
|
// prettier-ignore
|
|
@@ -364,7 +237,7 @@ var chainPresets = [
|
|
|
364
237
|
),
|
|
365
238
|
inputs: [
|
|
366
239
|
{
|
|
367
|
-
type:
|
|
240
|
+
type: import_chunk_BUQOZA4N.ChainInputType.CONTEXT,
|
|
368
241
|
name: "history",
|
|
369
242
|
value: "object.pgn"
|
|
370
243
|
}
|
|
@@ -374,7 +247,7 @@ var chainPresets = [
|
|
|
374
247
|
{
|
|
375
248
|
id: "dxos.org/prompt/mermaid",
|
|
376
249
|
title: "Mermaid",
|
|
377
|
-
createPrompt: () => (0, import_live_object.create)(
|
|
250
|
+
createPrompt: () => (0, import_live_object.create)(import_chunk_BUQOZA4N.ChainPromptType, {
|
|
378
251
|
command: "draw",
|
|
379
252
|
template: str(
|
|
380
253
|
// prettier-ignore
|
|
@@ -387,7 +260,7 @@ var chainPresets = [
|
|
|
387
260
|
),
|
|
388
261
|
inputs: [
|
|
389
262
|
{
|
|
390
|
-
type:
|
|
263
|
+
type: import_chunk_BUQOZA4N.ChainInputType.PASS_THROUGH,
|
|
391
264
|
name: "input"
|
|
392
265
|
}
|
|
393
266
|
]
|
|
@@ -396,7 +269,7 @@ var chainPresets = [
|
|
|
396
269
|
{
|
|
397
270
|
id: "dxos.org/prompt/list",
|
|
398
271
|
title: "List",
|
|
399
|
-
createPrompt: () => (0, import_live_object.create)(
|
|
272
|
+
createPrompt: () => (0, import_live_object.create)(import_chunk_BUQOZA4N.ChainPromptType, {
|
|
400
273
|
command: "list",
|
|
401
274
|
template: str(
|
|
402
275
|
// prettier-ignore
|
|
@@ -413,12 +286,12 @@ var chainPresets = [
|
|
|
413
286
|
),
|
|
414
287
|
inputs: [
|
|
415
288
|
{
|
|
416
|
-
type:
|
|
289
|
+
type: import_chunk_BUQOZA4N.ChainInputType.SCHEMA,
|
|
417
290
|
name: "schema",
|
|
418
291
|
value: "example.com/type/project"
|
|
419
292
|
},
|
|
420
293
|
{
|
|
421
|
-
type:
|
|
294
|
+
type: import_chunk_BUQOZA4N.ChainInputType.PASS_THROUGH,
|
|
422
295
|
name: "question"
|
|
423
296
|
}
|
|
424
297
|
]
|
|
@@ -427,7 +300,7 @@ var chainPresets = [
|
|
|
427
300
|
{
|
|
428
301
|
id: "dxos.org/prompt/base",
|
|
429
302
|
title: "RAG",
|
|
430
|
-
createPrompt: () => (0, import_live_object.create)(
|
|
303
|
+
createPrompt: () => (0, import_live_object.create)(import_chunk_BUQOZA4N.ChainPromptType, {
|
|
431
304
|
command: "rag",
|
|
432
305
|
template: str(
|
|
433
306
|
// prettier-ignore
|
|
@@ -442,11 +315,11 @@ var chainPresets = [
|
|
|
442
315
|
),
|
|
443
316
|
inputs: [
|
|
444
317
|
{
|
|
445
|
-
type:
|
|
318
|
+
type: import_chunk_BUQOZA4N.ChainInputType.RETRIEVER,
|
|
446
319
|
name: "context"
|
|
447
320
|
},
|
|
448
321
|
{
|
|
449
|
-
type:
|
|
322
|
+
type: import_chunk_BUQOZA4N.ChainInputType.CONTEXT,
|
|
450
323
|
name: "question",
|
|
451
324
|
value: "object.text"
|
|
452
325
|
}
|
|
@@ -456,7 +329,7 @@ var chainPresets = [
|
|
|
456
329
|
{
|
|
457
330
|
id: "dxos.org/prompt/lookup",
|
|
458
331
|
title: "Lookup",
|
|
459
|
-
createPrompt: () => (0, import_live_object.create)(
|
|
332
|
+
createPrompt: () => (0, import_live_object.create)(import_chunk_BUQOZA4N.ChainPromptType, {
|
|
460
333
|
command: "lookup",
|
|
461
334
|
template: str(
|
|
462
335
|
// prettier-ignore
|
|
@@ -468,7 +341,7 @@ var chainPresets = [
|
|
|
468
341
|
),
|
|
469
342
|
inputs: [
|
|
470
343
|
{
|
|
471
|
-
type:
|
|
344
|
+
type: import_chunk_BUQOZA4N.ChainInputType.CONTEXT,
|
|
472
345
|
name: "input",
|
|
473
346
|
value: "text"
|
|
474
347
|
}
|
|
@@ -478,7 +351,7 @@ var chainPresets = [
|
|
|
478
351
|
{
|
|
479
352
|
id: "dxos.org/prompt/extract",
|
|
480
353
|
title: "Extract",
|
|
481
|
-
createPrompt: () => (0, import_live_object.create)(
|
|
354
|
+
createPrompt: () => (0, import_live_object.create)(import_chunk_BUQOZA4N.ChainPromptType, {
|
|
482
355
|
command: "extract",
|
|
483
356
|
template: str(
|
|
484
357
|
// prettier-ignore
|
|
@@ -496,17 +369,17 @@ var chainPresets = [
|
|
|
496
369
|
),
|
|
497
370
|
inputs: [
|
|
498
371
|
{
|
|
499
|
-
type:
|
|
372
|
+
type: import_chunk_BUQOZA4N.ChainInputType.SCHEMA,
|
|
500
373
|
name: "contact",
|
|
501
374
|
value: "example.com/type/contact"
|
|
502
375
|
},
|
|
503
376
|
{
|
|
504
|
-
type:
|
|
377
|
+
type: import_chunk_BUQOZA4N.ChainInputType.SCHEMA,
|
|
505
378
|
name: "company",
|
|
506
379
|
value: "example.com/type/organization"
|
|
507
380
|
},
|
|
508
381
|
{
|
|
509
|
-
type:
|
|
382
|
+
type: import_chunk_BUQOZA4N.ChainInputType.CONTEXT,
|
|
510
383
|
name: "input",
|
|
511
384
|
value: "text"
|
|
512
385
|
}
|
|
@@ -516,7 +389,7 @@ var chainPresets = [
|
|
|
516
389
|
{
|
|
517
390
|
id: "dxos.org/prompt/discord",
|
|
518
391
|
title: "Summarize",
|
|
519
|
-
createPrompt: () => (0, import_live_object.create)(
|
|
392
|
+
createPrompt: () => (0, import_live_object.create)(import_chunk_BUQOZA4N.ChainPromptType, {
|
|
520
393
|
command: "summarize",
|
|
521
394
|
template: str(
|
|
522
395
|
// prettier-ignore
|
|
@@ -528,7 +401,7 @@ var chainPresets = [
|
|
|
528
401
|
),
|
|
529
402
|
inputs: [
|
|
530
403
|
{
|
|
531
|
-
type:
|
|
404
|
+
type: import_chunk_BUQOZA4N.ChainInputType.RESOLVER,
|
|
532
405
|
name: "context",
|
|
533
406
|
value: "discord.messages.recent"
|
|
534
407
|
}
|
|
@@ -536,9 +409,9 @@ var chainPresets = [
|
|
|
536
409
|
})
|
|
537
410
|
}
|
|
538
411
|
];
|
|
539
|
-
var src_default = AutomationPlugin;
|
|
540
412
|
// Annotate the CommonJS export names for ESM import in node:
|
|
541
413
|
0 && (module.exports = {
|
|
414
|
+
AUTOMATION_PLUGIN,
|
|
542
415
|
AssistantPanel,
|
|
543
416
|
AutomationAction,
|
|
544
417
|
AutomationPanel,
|
|
@@ -547,7 +420,14 @@ var src_default = AutomationPlugin;
|
|
|
547
420
|
ChainInputType,
|
|
548
421
|
ChainPromptType,
|
|
549
422
|
ChainType,
|
|
423
|
+
ChatContainer,
|
|
424
|
+
GptChatType,
|
|
425
|
+
PromptEditor,
|
|
426
|
+
Thread,
|
|
427
|
+
ThreadMessage,
|
|
428
|
+
TriggerEditor,
|
|
550
429
|
chainPresets,
|
|
430
|
+
meta,
|
|
551
431
|
str
|
|
552
432
|
});
|
|
553
433
|
//# sourceMappingURL=index.cjs.map
|