@dxos/plugin-script 0.8.4-staging.60fe92afc8 → 0.9.1-main.c7dcc2e112

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/lib/neutral/{DeploymentDialog-M3AFYQHC.mjs → DeploymentDialog-7OIIL7LB.mjs} +10 -10
  2. package/dist/lib/neutral/DeploymentDialog-7OIIL7LB.mjs.map +7 -0
  3. package/dist/lib/neutral/{NotebookArticle-NV4AHOOS.mjs → NotebookArticle-E35G2Y2I.mjs} +2 -2
  4. package/dist/lib/neutral/NotebookArticle-E35G2Y2I.mjs.map +7 -0
  5. package/dist/lib/neutral/ScriptPlugin.mjs +2 -2
  6. package/dist/lib/neutral/ScriptPlugin.mjs.map +4 -4
  7. package/dist/lib/neutral/{ScriptPluginSettings-T4JMUSHN.mjs → ScriptPluginSettings-5AURDJTI.mjs} +3 -3
  8. package/dist/lib/neutral/ScriptPluginSettings-5AURDJTI.mjs.map +7 -0
  9. package/dist/lib/neutral/{ScriptProperties-RLXNAN3N.mjs → ScriptProperties-ADTWXG6O.mjs} +9 -10
  10. package/dist/lib/neutral/ScriptProperties-ADTWXG6O.mjs.map +7 -0
  11. package/dist/lib/neutral/{app-graph-builder-7AWFCEQF.mjs → app-graph-builder-POP3CX6G.mjs} +3 -3
  12. package/dist/lib/neutral/{app-graph-builder-7AWFCEQF.mjs.map → app-graph-builder-POP3CX6G.mjs.map} +3 -3
  13. package/dist/lib/neutral/blueprints/index.mjs +1 -1
  14. package/dist/lib/neutral/capabilities/index.mjs +4 -4
  15. package/dist/lib/neutral/capabilities/index.mjs.map +2 -2
  16. package/dist/lib/neutral/capabilities/node.mjs +2 -2
  17. package/dist/lib/neutral/capabilities/node.mjs.map +2 -2
  18. package/dist/lib/neutral/{chunk-BKXYHCJ6.mjs → chunk-JAJ64B3E.mjs} +2 -2
  19. package/dist/lib/neutral/chunk-NVV5UYY4.mjs +50 -0
  20. package/dist/lib/neutral/chunk-NVV5UYY4.mjs.map +7 -0
  21. package/dist/lib/neutral/{chunk-XFM63AKT.mjs → chunk-O6A5PTB3.mjs} +2 -2
  22. package/dist/lib/neutral/{chunk-PHKPB5JN.mjs → chunk-QV6NCUGM.mjs} +12 -12
  23. package/dist/lib/neutral/chunk-QV6NCUGM.mjs.map +7 -0
  24. package/dist/lib/neutral/{chunk-HABDH5SS.mjs → chunk-ZPFRRBZW.mjs} +6 -6
  25. package/dist/lib/neutral/{chunk-HABDH5SS.mjs.map → chunk-ZPFRRBZW.mjs.map} +3 -3
  26. package/dist/lib/neutral/components/index.mjs +13 -11
  27. package/dist/lib/neutral/components/index.mjs.map +3 -3
  28. package/dist/lib/neutral/containers/index.mjs +3 -3
  29. package/dist/lib/neutral/{create-AAA53WDL.mjs → create-6LC57CCC.mjs} +1 -1
  30. package/dist/lib/neutral/{create-script-P46JOEHH.mjs → create-script-YW437XYZ.mjs} +3 -3
  31. package/dist/lib/neutral/hooks/index.mjs +5 -5
  32. package/dist/lib/neutral/hooks/index.mjs.map +3 -3
  33. package/dist/lib/neutral/index.mjs +4 -4
  34. package/dist/lib/neutral/meta.json +1 -1
  35. package/dist/lib/neutral/meta.mjs +1 -1
  36. package/dist/lib/neutral/{operation-handler-YMUADD7Y.mjs → operation-handler-6IZ7L4L2.mjs} +2 -2
  37. package/dist/lib/neutral/operations/index.mjs +1 -1
  38. package/dist/lib/neutral/plugin.mjs +2 -2
  39. package/dist/lib/neutral/{react-surface-ACNZ35FV.mjs → react-surface-2TZDZQYA.mjs} +4 -4
  40. package/dist/lib/neutral/react-surface-2TZDZQYA.mjs.map +7 -0
  41. package/dist/lib/neutral/{settings-VJBW4OMK.mjs → settings-FD7HXEY6.mjs} +3 -3
  42. package/dist/lib/neutral/{settings-VJBW4OMK.mjs.map → settings-FD7HXEY6.mjs.map} +3 -3
  43. package/dist/lib/neutral/templates/index.mjs +1 -1
  44. package/dist/lib/neutral/translations.mjs +1 -1
  45. package/dist/lib/neutral/translations.mjs.map +3 -3
  46. package/dist/lib/neutral/types/index.mjs +2 -2
  47. package/dist/types/dx.config.d.ts +28 -0
  48. package/dist/types/dx.config.d.ts.map +1 -0
  49. package/dist/types/src/capabilities/index.d.ts +6 -17
  50. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  51. package/dist/types/src/capabilities/node.d.ts +4 -15
  52. package/dist/types/src/capabilities/node.d.ts.map +1 -1
  53. package/dist/types/src/capabilities/react-surface.d.ts +2 -2
  54. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  55. package/dist/types/src/components/ScriptToolbar/ScriptToolbar.d.ts.map +1 -1
  56. package/dist/types/src/components/TypescriptEditor/TypescriptEditor.d.ts.map +1 -1
  57. package/dist/types/src/constants.d.ts.map +1 -1
  58. package/dist/types/src/containers/DeploymentDialog/DeploymentDialog.d.ts.map +1 -1
  59. package/dist/types/src/containers/NotebookArticle/NotebookArticle.stories.d.ts.map +1 -1
  60. package/dist/types/src/containers/ScriptProperties/ScriptProperties.d.ts.map +1 -1
  61. package/dist/types/src/hooks/deploy.d.ts +10 -2
  62. package/dist/types/src/hooks/deploy.d.ts.map +1 -1
  63. package/dist/types/src/hooks/format.d.ts +5 -1
  64. package/dist/types/src/hooks/format.d.ts.map +1 -1
  65. package/dist/types/src/hooks/template.d.ts +5 -1
  66. package/dist/types/src/hooks/template.d.ts.map +1 -1
  67. package/dist/types/src/meta.d.ts +28 -2
  68. package/dist/types/src/meta.d.ts.map +1 -1
  69. package/dist/types/src/types/ScriptCapabilities.d.ts.map +1 -1
  70. package/dist/types/src/types/ScriptEvents.d.ts.map +1 -1
  71. package/dist/types/tsconfig.tsbuildinfo +1 -1
  72. package/dx.config.ts +26 -0
  73. package/package.json +58 -57
  74. package/src/ScriptPlugin.test.ts +1 -1
  75. package/src/ScriptPlugin.tsx +1 -1
  76. package/src/capabilities/app-graph-builder.ts +2 -2
  77. package/src/capabilities/index.ts +1 -7
  78. package/src/capabilities/node.ts +1 -7
  79. package/src/capabilities/react-surface.tsx +2 -2
  80. package/src/capabilities/settings.ts +2 -2
  81. package/src/components/NotebookStack/NotebookCell.tsx +2 -2
  82. package/src/components/NotebookStack/NotebookMenu.tsx +1 -1
  83. package/src/components/NotebookStack/NotebookStack.tsx +1 -1
  84. package/src/components/ScriptPluginSettings/ScriptPluginSettings.tsx +2 -2
  85. package/src/components/ScriptToolbar/ScriptToolbar.tsx +3 -2
  86. package/src/components/TestPanel/TestPanel.tsx +1 -1
  87. package/src/components/TypescriptEditor/TypescriptEditor.tsx +2 -1
  88. package/src/constants.ts +1 -1
  89. package/src/containers/DeploymentDialog/DeploymentDialog.tsx +15 -9
  90. package/src/containers/NotebookArticle/NotebookArticle.stories.tsx +2 -1
  91. package/src/containers/NotebookArticle/NotebookArticle.tsx +1 -1
  92. package/src/containers/ScriptProperties/BlueprintEditor.tsx +1 -1
  93. package/src/containers/ScriptProperties/FunctionBinding.tsx +1 -1
  94. package/src/containers/ScriptProperties/FunctionPublishing.tsx +1 -1
  95. package/src/containers/ScriptProperties/ScriptProperties.tsx +12 -5
  96. package/src/hooks/deploy.ts +3 -3
  97. package/src/hooks/format.ts +1 -1
  98. package/src/meta.ts +3 -19
  99. package/src/templates/commentary.ts +4 -3
  100. package/src/translations.ts +1 -1
  101. package/src/types/ScriptCapabilities.ts +4 -2
  102. package/src/types/ScriptEvents.ts +1 -1
  103. package/src/types/ScriptOperation.ts +1 -1
  104. package/dist/lib/neutral/DeploymentDialog-M3AFYQHC.mjs.map +0 -7
  105. package/dist/lib/neutral/NotebookArticle-NV4AHOOS.mjs.map +0 -7
  106. package/dist/lib/neutral/ScriptPluginSettings-T4JMUSHN.mjs.map +0 -7
  107. package/dist/lib/neutral/ScriptProperties-RLXNAN3N.mjs.map +0 -7
  108. package/dist/lib/neutral/chunk-PHKPB5JN.mjs.map +0 -7
  109. package/dist/lib/neutral/chunk-UA3BWOCZ.mjs +0 -38
  110. package/dist/lib/neutral/chunk-UA3BWOCZ.mjs.map +0 -7
  111. package/dist/lib/neutral/react-surface-ACNZ35FV.mjs.map +0 -7
  112. /package/dist/lib/neutral/{chunk-BKXYHCJ6.mjs.map → chunk-JAJ64B3E.mjs.map} +0 -0
  113. /package/dist/lib/neutral/{chunk-XFM63AKT.mjs.map → chunk-O6A5PTB3.mjs.map} +0 -0
  114. /package/dist/lib/neutral/{create-AAA53WDL.mjs.map → create-6LC57CCC.mjs.map} +0 -0
  115. /package/dist/lib/neutral/{create-script-P46JOEHH.mjs.map → create-script-YW437XYZ.mjs.map} +0 -0
  116. /package/dist/lib/neutral/{operation-handler-YMUADD7Y.mjs.map → operation-handler-6IZ7L4L2.mjs.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  defaultScriptsForIntegration,
3
3
  meta
4
- } from "./chunk-UA3BWOCZ.mjs";
4
+ } from "./chunk-NVV5UYY4.mjs";
5
5
  import "./chunk-J5LGTIGS.mjs";
6
6
  export {
7
7
  defaultScriptsForIntegration,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ScriptHandlers
3
- } from "./chunk-XFM63AKT.mjs";
3
+ } from "./chunk-O6A5PTB3.mjs";
4
4
  import "./chunk-TRKXIP2Q.mjs";
5
5
  import "./chunk-J5LGTIGS.mjs";
6
6
 
@@ -15,4 +15,4 @@ var operation_handler_default = Capability.makeModule(Effect.fnUntraced(function
15
15
  export {
16
16
  operation_handler_default as default
17
17
  };
18
- //# sourceMappingURL=operation-handler-YMUADD7Y.mjs.map
18
+ //# sourceMappingURL=operation-handler-6IZ7L4L2.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ScriptOperationHandlerSet
3
- } from "../chunk-BKXYHCJ6.mjs";
3
+ } from "../chunk-JAJ64B3E.mjs";
4
4
  import "../chunk-J5LGTIGS.mjs";
5
5
  export {
6
6
  ScriptOperationHandlerSet
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ScriptOperationHandlerSet
3
- } from "./chunk-BKXYHCJ6.mjs";
3
+ } from "./chunk-JAJ64B3E.mjs";
4
4
  import {
5
5
  meta
6
- } from "./chunk-UA3BWOCZ.mjs";
6
+ } from "./chunk-NVV5UYY4.mjs";
7
7
  import "./chunk-J5LGTIGS.mjs";
8
8
 
9
9
  // src/plugin.ts
@@ -24,13 +24,13 @@ import { Notebook, ScriptCapabilities } from "#types";
24
24
  // src/constants.ts
25
25
  import { DXN } from "@dxos/keys";
26
26
  import { meta } from "#meta";
27
- var DEPLOYMENT_DIALOG = DXN.make(`${meta.id}.deploymentDialog`);
27
+ var DEPLOYMENT_DIALOG = DXN.make(`${meta.profile.key}.deploymentDialog`);
28
28
 
29
29
  // src/capabilities/react-surface.tsx
30
30
  var react_surface_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.ReactSurface, [
31
31
  Surface.create({
32
32
  id: "pluginSettings",
33
- filter: AppSurface.settings(AppSurface.Article, meta2.id),
33
+ filter: AppSurface.settings(AppSurface.Article, meta2.profile.key),
34
34
  component: ({ data: { subject } }) => {
35
35
  const { settings, updateSettings } = useSettingsState(subject.atom);
36
36
  const client = useClient();
@@ -77,7 +77,7 @@ var react_surface_default = Capability.makeModule(() => Effect.succeed(Capabilit
77
77
  }
78
78
  }),
79
79
  Surface.create({
80
- id: "properties",
80
+ id: "objectProperties",
81
81
  filter: AppSurface.object(AppSurface.ObjectProperties, Script.Script),
82
82
  component: ({ data, role }) => /* @__PURE__ */ React.createElement(ScriptProperties, {
83
83
  role,
@@ -118,4 +118,4 @@ var react_surface_default = Capability.makeModule(() => Effect.succeed(Capabilit
118
118
  export {
119
119
  react_surface_default as default
120
120
  };
121
- //# sourceMappingURL=react-surface-ACNZ35FV.mjs.map
121
+ //# sourceMappingURL=react-surface-2TZDZQYA.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/react-surface.tsx", "../../../src/constants.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React, { type ComponentProps } from 'react';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Surface, useAtomCapability, useSettingsState } from '@dxos/app-framework/ui';\nimport { AppSurface } from '@dxos/app-toolkit/ui';\nimport { Script } from '@dxos/compute';\nimport { InvocationTraceContainer } from '@dxos/devtools';\nimport { Feed } from '@dxos/echo';\nimport { useClient } from '@dxos/react-client';\nimport { getSpace } from '@dxos/react-client/echo';\nimport { Panel } from '@dxos/react-ui';\n\nimport { ScriptPluginSettings } from '#components';\nimport { DeploymentDialog, NotebookArticle, ScriptArticle, ScriptProperties, TestContainer } from '#containers';\nimport { useCompiler } from '#hooks';\nimport { meta } from '#meta';\nimport { Notebook, ScriptCapabilities, type Settings } from '#types';\n\nimport { DEPLOYMENT_DIALOG } from '../constants';\nimport { getAccessCredential } from '../util';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(Capabilities.ReactSurface, [\n Surface.create({\n id: 'pluginSettings',\n filter: AppSurface.settings(AppSurface.Article, meta.profile.key),\n component: ({ data: { subject } }) => {\n const { settings, updateSettings } = useSettingsState<Settings.Settings>(subject.atom);\n const client = useClient();\n // TODO(burdon): Check token.\n const handleAuthenticate = async () => {\n const { identityKey } = client.halo.identity.get()!;\n await client.halo.writeCredentials([getAccessCredential(identityKey)]);\n };\n return (\n <ScriptPluginSettings\n settings={settings}\n onSettingsChange={updateSettings}\n onAuthenticate={handleAuthenticate}\n />\n );\n },\n }),\n Surface.create({\n id: 'script.article',\n // TODO(wittjosiah): Split into multiple surfaces if this filter proves too strict for non-article roles.\n filter: AppSurface.oneOf(\n AppSurface.object(AppSurface.Article, Script.Script),\n AppSurface.object(AppSurface.Section, Script.Script),\n ),\n component: ({ data, role }) => {\n const compiler = useCompiler();\n const settings = useAtomCapability(ScriptCapabilities.Settings);\n return (\n <ScriptArticle\n role={role}\n subject={data.subject}\n attendableId={data.attendableId}\n settings={settings}\n env={compiler?.environment}\n />\n );\n },\n }),\n Surface.create({\n id: 'notebook.article',\n filter: AppSurface.object(AppSurface.Article, Notebook.Notebook),\n component: ({ data, role }) => {\n const compiler = useCompiler();\n return (\n <NotebookArticle\n role={role}\n subject={data.subject}\n attendableId={data.attendableId}\n env={compiler?.environment}\n />\n );\n },\n }),\n Surface.create({\n id: 'objectProperties',\n filter: AppSurface.object(AppSurface.ObjectProperties, Script.Script),\n component: ({ data, role }) => <ScriptProperties role={role} subject={data.subject} />,\n }),\n Surface.create({\n id: 'companion.execute',\n filter: AppSurface.allOf(\n AppSurface.literal(AppSurface.Article, 'execute'),\n AppSurface.companion(AppSurface.Article, Script.Script),\n ),\n component: ({ data, role }) => <TestContainer script={data.companionTo} role={role} />,\n }),\n Surface.create({\n id: 'companion.logs',\n filter: AppSurface.allOf(\n AppSurface.literal(AppSurface.Article, 'logs'),\n AppSurface.companion(AppSurface.Article, Script.Script),\n ),\n component: ({ data, role }) => {\n const space = getSpace(data.companionTo);\n const feed = space?.properties.invocationTraceFeed?.target;\n const feedDXN = feed ? Feed.getQueueUri(feed) : undefined;\n return (\n <Panel.Root role={role}>\n <Panel.Content>\n <InvocationTraceContainer\n db={space?.db}\n feedDXN={feedDXN}\n target={data.companionTo}\n detailAxis='block'\n />\n </Panel.Content>\n </Panel.Root>\n );\n },\n }),\n Surface.create({\n id: DEPLOYMENT_DIALOG,\n filter: AppSurface.component<ComponentProps<typeof DeploymentDialog>>(AppSurface.Dialog, DEPLOYMENT_DIALOG),\n component: ({ data }) => <DeploymentDialog {...data.props} />,\n }),\n ]),\n ),\n);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { DXN } from '@dxos/keys';\n\nimport { meta } from '#meta';\n\nexport const DEPLOYMENT_DIALOG = DXN.make(`${meta.profile.key}.deploymentDialog`);\n"],
5
+ "mappings": ";;;;;;AAIA,YAAYA,YAAY;AACxB,OAAOC,WAAoC;AAE3C,SAASC,cAAcC,kBAAkB;AACzC,SAASC,SAASC,mBAAmBC,wBAAwB;AAC7D,SAASC,kBAAkB;AAC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J,OAAOK,KAAKC,YAAYN,IAAAA,IAAQO;AAChD,aACE,sBAAA,cAACC,MAAMC,MAAI;QAAC/B;SACV,sBAAA,cAAC8B,MAAME,SAAO,MACZ,sBAAA,cAACC,0BAAAA;QACCC,IAAId,OAAOc;QACXR;QACAD,QAAQ9C,KAAKwC;QACbgB,YAAW;;IAKrB;EACF,CAAA;EACAnE,QAAQC,OAAO;IACbC,IAAIkE;IACJjE,QAAQC,WAAWM,UAAmDN,WAAWiE,QAAQD,iBAAAA;IACzF1D,WAAW,CAAC,EAAEC,KAAI,MAAO,sBAAA,cAAC2D,kBAAqB3D,KAAK4D,KAAK;EAC3D,CAAA;CACD,CAAA,CAAA;",
6
+ "names": ["Effect", "React", "Capabilities", "Capability", "Surface", "useAtomCapability", "useSettingsState", "AppSurface", "Script", "InvocationTraceContainer", "Feed", "useClient", "getSpace", "Panel", "ScriptPluginSettings", "DeploymentDialog", "NotebookArticle", "ScriptArticle", "ScriptProperties", "TestContainer", "useCompiler", "meta", "Notebook", "ScriptCapabilities", "DXN", "meta", "DEPLOYMENT_DIALOG", "make", "profile", "key", "Capability", "makeModule", "succeed", "contributes", "Capabilities", "ReactSurface", "Surface", "create", "id", "filter", "AppSurface", "settings", "Article", "meta", "profile", "key", "component", "data", "subject", "updateSettings", "useSettingsState", "atom", "client", "useClient", "handleAuthenticate", "identityKey", "halo", "identity", "get", "writeCredentials", "getAccessCredential", "ScriptPluginSettings", "onSettingsChange", "onAuthenticate", "oneOf", "object", "Script", "Section", "role", "compiler", "useCompiler", "useAtomCapability", "ScriptCapabilities", "Settings", "ScriptArticle", "attendableId", "env", "environment", "Notebook", "NotebookArticle", "ObjectProperties", "ScriptProperties", "allOf", "literal", "companion", "TestContainer", "script", "companionTo", "space", "getSpace", "feed", "properties", "invocationTraceFeed", "target", "feedDXN", "Feed", "getQueueUri", "undefined", "Panel", "Root", "Content", "InvocationTraceContainer", "db", "detailAxis", "DEPLOYMENT_DIALOG", "Dialog", "DeploymentDialog", "props"]
7
+ }
@@ -9,7 +9,7 @@ import { meta } from "#meta";
9
9
  import { ScriptCapabilities, Settings } from "#types";
10
10
  var settings_default = Capability.makeModule(() => Effect.sync(() => {
11
11
  const settingsAtom = createKvsStore({
12
- key: meta.id,
12
+ key: meta.profile.key,
13
13
  schema: Settings.Settings,
14
14
  defaultValue: () => ({
15
15
  editorInputMode: "vscode"
@@ -18,7 +18,7 @@ var settings_default = Capability.makeModule(() => Effect.sync(() => {
18
18
  return [
19
19
  Capability.contributes(ScriptCapabilities.Settings, settingsAtom),
20
20
  Capability.contributes(AppCapabilities.Settings, {
21
- prefix: meta.id,
21
+ prefix: meta.profile.key,
22
22
  schema: Settings.Settings,
23
23
  atom: settingsAtom
24
24
  })
@@ -27,4 +27,4 @@ var settings_default = Capability.makeModule(() => Effect.sync(() => {
27
27
  export {
28
28
  settings_default as default
29
29
  };
30
- //# sourceMappingURL=settings-VJBW4OMK.mjs.map
30
+ //# sourceMappingURL=settings-FD7HXEY6.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/capabilities/settings.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\nimport { AppCapabilities } from '@dxos/app-toolkit';\nimport { createKvsStore } from '@dxos/effect';\n\nimport { meta } from '#meta';\nimport { ScriptCapabilities, Settings } from '#types';\n\nexport default Capability.makeModule(() =>\n Effect.sync(() => {\n const settingsAtom = createKvsStore({\n key: meta.id,\n schema: Settings.Settings,\n defaultValue: () => ({\n editorInputMode: 'vscode' as const,\n }),\n });\n\n return [\n Capability.contributes(ScriptCapabilities.Settings, settingsAtom),\n Capability.contributes(AppCapabilities.Settings, {\n prefix: meta.id,\n schema: Settings.Settings,\n atom: settingsAtom,\n }),\n ];\n }),\n);\n"],
5
- "mappings": ";;;AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,uBAAuB;AAChC,SAASC,sBAAsB;AAE/B,SAASC,YAAY;AACrB,SAASC,oBAAoBC,gBAAgB;AAE7C,IAAA,mBAAeL,WAAWM,WAAW,MAC5BC,YAAK,MAAA;AACV,QAAMC,eAAeN,eAAe;IAClCO,KAAKN,KAAKO;IACVC,QAAQN,SAASA;IACjBO,cAAc,OAAO;MACnBC,iBAAiB;IACnB;EACF,CAAA;AAEA,SAAO;IACLb,WAAWc,YAAYV,mBAAmBC,UAAUG,YAAAA;IACpDR,WAAWc,YAAYb,gBAAgBI,UAAU;MAC/CU,QAAQZ,KAAKO;MACbC,QAAQN,SAASA;MACjBW,MAAMR;IACR,CAAA;;AAEJ,CAAA,CAAA;",
6
- "names": ["Effect", "Capability", "AppCapabilities", "createKvsStore", "meta", "ScriptCapabilities", "Settings", "makeModule", "sync", "settingsAtom", "key", "id", "schema", "defaultValue", "editorInputMode", "contributes", "prefix", "atom"]
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\nimport { AppCapabilities } from '@dxos/app-toolkit';\nimport { createKvsStore } from '@dxos/effect';\n\nimport { meta } from '#meta';\nimport { ScriptCapabilities, Settings } from '#types';\n\nexport default Capability.makeModule(() =>\n Effect.sync(() => {\n const settingsAtom = createKvsStore({\n key: meta.profile.key,\n schema: Settings.Settings,\n defaultValue: () => ({\n editorInputMode: 'vscode' as const,\n }),\n });\n\n return [\n Capability.contributes(ScriptCapabilities.Settings, settingsAtom),\n Capability.contributes(AppCapabilities.Settings, {\n prefix: meta.profile.key,\n schema: Settings.Settings,\n atom: settingsAtom,\n }),\n ];\n }),\n);\n"],
5
+ "mappings": ";;;AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,uBAAuB;AAChC,SAASC,sBAAsB;AAE/B,SAASC,YAAY;AACrB,SAASC,oBAAoBC,gBAAgB;AAE7C,IAAA,mBAAeL,WAAWM,WAAW,MAC5BC,YAAK,MAAA;AACV,QAAMC,eAAeN,eAAe;IAClCO,KAAKN,KAAKO,QAAQD;IAClBE,QAAQN,SAASA;IACjBO,cAAc,OAAO;MACnBC,iBAAiB;IACnB;EACF,CAAA;AAEA,SAAO;IACLb,WAAWc,YAAYV,mBAAmBC,UAAUG,YAAAA;IACpDR,WAAWc,YAAYb,gBAAgBI,UAAU;MAC/CU,QAAQZ,KAAKO,QAAQD;MACrBE,QAAQN,SAASA;MACjBW,MAAMR;IACR,CAAA;;AAEJ,CAAA,CAAA;",
6
+ "names": ["Effect", "Capability", "AppCapabilities", "createKvsStore", "meta", "ScriptCapabilities", "Settings", "makeModule", "sync", "settingsAtom", "key", "profile", "schema", "defaultValue", "editorInputMode", "contributes", "prefix", "atom"]
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  data_generator_default,
3
3
  templates
4
- } from "../chunk-PHKPB5JN.mjs";
4
+ } from "../chunk-QV6NCUGM.mjs";
5
5
  import "../chunk-J5LGTIGS.mjs";
6
6
  export {
7
7
  data_generator_default as dataGenerator,
@@ -30,7 +30,7 @@ var translations = [
30
30
  "delete-object.label": "Delete notebook",
31
31
  "object-deleted.label": "Notebook deleted"
32
32
  },
33
- [meta.id]: {
33
+ [meta.profile.key]: {
34
34
  "plugin.name": "Scripts",
35
35
  "settings.title": "Scripts settings",
36
36
  "description.label": "Description",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/translations.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Script } from '@dxos/compute';\nimport { Type } from '@dxos/echo';\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from '#meta';\nimport { Notebook } from '#types';\n\nexport const translations = [\n {\n 'en-US': {\n [Type.getTypename(Script.Script)]: {\n 'typename.label': 'Script',\n 'typename.label_zero': 'Scripts',\n 'typename.label_one': 'Script',\n 'typename.label_other': 'Scripts',\n 'object-name.placeholder': 'New script',\n 'add-object.label': 'Add script',\n 'rename-object.label': 'Rename script',\n 'delete-object.label': 'Delete script',\n 'object-deleted.label': 'Script deleted',\n },\n [Type.getTypename(Notebook.Notebook)]: {\n 'typename.label': 'Notebook',\n 'typename.label_zero': 'Notebooks',\n 'typename.label_one': 'Notebook',\n 'typename.label_other': 'Notebooks',\n 'object-name.placeholder': 'New notebook',\n 'add-object.label': 'Add notebook',\n 'rename-object.label': 'Rename notebook',\n 'delete-object.label': 'Delete notebook',\n 'object-deleted.label': 'Notebook deleted',\n },\n [meta.id]: {\n 'plugin.name': 'Scripts',\n 'settings.title': 'Scripts settings',\n 'description.label': 'Description',\n 'description.placeholder': 'Enter description',\n 'binding.placeholder': 'Function name',\n 'function-request.placeholder': 'Function request',\n 'deploy.label': 'Deploy',\n 'deployed.label': 'Current version of the script is deployed',\n 'upload-failed.label': 'Upload failed',\n 'copy-link.label': 'Copy function link',\n 'format.label': 'Format',\n 'toggle-details.label': 'Toggle details panel',\n 'authenticate-action.label': 'Authenticate functions service',\n 'authenticate-action.description':\n 'Sign in to the remote functions service to enable script deployment and execution.',\n 'authenticate-button.label': 'Authenticate',\n 'name.label': 'Name',\n 'remote-function-settings.heading': 'Remote Function',\n 'function-url.label': 'Invocation URL',\n 'function-binding.label': 'Function binding',\n 'function-binding.placeholder': 'Enter binding name (e.g., NAME)',\n 'script-publish-settings.label': 'Publishing',\n 'script-publish-settings.description': 'Scripts can be shared publicly as Github gists.',\n 'no-github-token.label': 'This space has no GitHub access token available.',\n 'open-token-manager.label': 'Open Token Manager',\n 'publish.label': 'Publish',\n 'blueprint-editor.label': 'Blueprint',\n 'blueprint-editor.description': 'Create a blueprint that exposes this script as a tool.',\n 'blueprint-instructions.label': 'Instructions',\n 'blueprint-instructions.placeholder': 'Describe how this tool should be used.',\n 'create-blueprint.label': 'Create blueprint',\n 'update-blueprint.label': 'Update blueprint',\n 'function-panel.label': 'Debug Function',\n 'script-test.label': 'Test',\n 'script-logs.label': 'Logs',\n 'compute.label': 'Compute',\n\n 'deployment-dialog.title': 'Default Scripts',\n 'deployment-dialog-scripts-found.message': 'Script templates:',\n 'deployment-dialog-deploy-functions-button.label_one': 'Create and deploy script',\n 'deployment-dialog-deploy-functions-button.label_other': 'Create and deploy scripts',\n 'deployment-dialog-deploy-functions-pending-button.label_one': 'Deploying script',\n 'deployment-dialog-deploy-functions-pending-button.label_other': 'Deploying scripts',\n 'deployment-dialog-skip-button.label': 'Skip',\n\n 'script-deployment-toast.label_one': 'Script deployed',\n 'script-deployment-toast.label_other': 'Scripts deployed',\n 'script-deployment-toast.description_one': 'Your script has been deployed successfully.',\n 'script-deployment-toast.description_other': 'Your scripts have been deployed successfully.',\n 'script-deployment-toast-close.label_one': 'Close',\n 'script-deployment-toast-close.label_other': 'Close',\n 'script-deployment-error-toast.label_one': 'Script deployment failed',\n 'script-deployment-error-toast.label_other': 'Scripts deployment failed',\n 'script-deployment-error-toast.description_one': 'There was an error deploying your script.',\n 'script-deployment-error-toast.description_other': 'There was an error deploying your scripts.',\n 'script-deployment-error-toast-close.label_one': 'Close',\n 'script-deployment-error-toast-close.label_other': 'Close',\n\n 'notebook-cell.placeholder': 'Enter script',\n 'notebook-cell-delete.label': 'Delete cell',\n 'notebook-cell-prompt-run.label': 'Run',\n 'notebook-cell-insert-markdown.label': 'Insert Markdown',\n 'notebook-cell-insert-script.label': 'Insert Script',\n 'notebook-cell-insert-prompt.label': 'Insert Prompt',\n 'notebook-cell-insert-query.label': 'Insert Query',\n 'notebook-markdown.placeholder': 'Enter Markdown',\n 'notebook-prompt.placeholder': 'Enter prompt',\n 'notebook-cell-insert.label': 'Insert cell',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
- "mappings": ";;;AAIA,SAASA,cAAc;AACvB,SAASC,YAAY;AAGrB,SAASC,YAAY;AACrB,SAASC,gBAAgB;AAElB,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACH,KAAKI,YAAYL,OAAOA,MAAM,CAAA,GAAI;QACjC,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QACrC,oCAAoC;QACpC,iCAAiC;QACjC,+BAA+B;QAC/B,8BAA8B;MAChC;IACF;EACF;;",
6
- "names": ["Script", "Type", "meta", "Notebook", "translations", "getTypename", "id"]
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Script } from '@dxos/compute';\nimport { Type } from '@dxos/echo';\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from '#meta';\nimport { Notebook } from '#types';\n\nexport const translations = [\n {\n 'en-US': {\n [Type.getTypename(Script.Script)]: {\n 'typename.label': 'Script',\n 'typename.label_zero': 'Scripts',\n 'typename.label_one': 'Script',\n 'typename.label_other': 'Scripts',\n 'object-name.placeholder': 'New script',\n 'add-object.label': 'Add script',\n 'rename-object.label': 'Rename script',\n 'delete-object.label': 'Delete script',\n 'object-deleted.label': 'Script deleted',\n },\n [Type.getTypename(Notebook.Notebook)]: {\n 'typename.label': 'Notebook',\n 'typename.label_zero': 'Notebooks',\n 'typename.label_one': 'Notebook',\n 'typename.label_other': 'Notebooks',\n 'object-name.placeholder': 'New notebook',\n 'add-object.label': 'Add notebook',\n 'rename-object.label': 'Rename notebook',\n 'delete-object.label': 'Delete notebook',\n 'object-deleted.label': 'Notebook deleted',\n },\n [meta.profile.key]: {\n 'plugin.name': 'Scripts',\n 'settings.title': 'Scripts settings',\n 'description.label': 'Description',\n 'description.placeholder': 'Enter description',\n 'binding.placeholder': 'Function name',\n 'function-request.placeholder': 'Function request',\n 'deploy.label': 'Deploy',\n 'deployed.label': 'Current version of the script is deployed',\n 'upload-failed.label': 'Upload failed',\n 'copy-link.label': 'Copy function link',\n 'format.label': 'Format',\n 'toggle-details.label': 'Toggle details panel',\n 'authenticate-action.label': 'Authenticate functions service',\n 'authenticate-action.description':\n 'Sign in to the remote functions service to enable script deployment and execution.',\n 'authenticate-button.label': 'Authenticate',\n 'name.label': 'Name',\n 'remote-function-settings.heading': 'Remote Function',\n 'function-url.label': 'Invocation URL',\n 'function-binding.label': 'Function binding',\n 'function-binding.placeholder': 'Enter binding name (e.g., NAME)',\n 'script-publish-settings.label': 'Publishing',\n 'script-publish-settings.description': 'Scripts can be shared publicly as Github gists.',\n 'no-github-token.label': 'This space has no GitHub access token available.',\n 'open-token-manager.label': 'Open Token Manager',\n 'publish.label': 'Publish',\n 'blueprint-editor.label': 'Blueprint',\n 'blueprint-editor.description': 'Create a blueprint that exposes this script as a tool.',\n 'blueprint-instructions.label': 'Instructions',\n 'blueprint-instructions.placeholder': 'Describe how this tool should be used.',\n 'create-blueprint.label': 'Create blueprint',\n 'update-blueprint.label': 'Update blueprint',\n 'function-panel.label': 'Debug Function',\n 'script-test.label': 'Test',\n 'script-logs.label': 'Logs',\n 'compute.label': 'Compute',\n\n 'deployment-dialog.title': 'Default Scripts',\n 'deployment-dialog-scripts-found.message': 'Script templates:',\n 'deployment-dialog-deploy-functions-button.label_one': 'Create and deploy script',\n 'deployment-dialog-deploy-functions-button.label_other': 'Create and deploy scripts',\n 'deployment-dialog-deploy-functions-pending-button.label_one': 'Deploying script',\n 'deployment-dialog-deploy-functions-pending-button.label_other': 'Deploying scripts',\n 'deployment-dialog-skip-button.label': 'Skip',\n\n 'script-deployment-toast.label_one': 'Script deployed',\n 'script-deployment-toast.label_other': 'Scripts deployed',\n 'script-deployment-toast.description_one': 'Your script has been deployed successfully.',\n 'script-deployment-toast.description_other': 'Your scripts have been deployed successfully.',\n 'script-deployment-toast-close.label_one': 'Close',\n 'script-deployment-toast-close.label_other': 'Close',\n 'script-deployment-error-toast.label_one': 'Script deployment failed',\n 'script-deployment-error-toast.label_other': 'Scripts deployment failed',\n 'script-deployment-error-toast.description_one': 'There was an error deploying your script.',\n 'script-deployment-error-toast.description_other': 'There was an error deploying your scripts.',\n 'script-deployment-error-toast-close.label_one': 'Close',\n 'script-deployment-error-toast-close.label_other': 'Close',\n\n 'notebook-cell.placeholder': 'Enter script',\n 'notebook-cell-delete.label': 'Delete cell',\n 'notebook-cell-prompt-run.label': 'Run',\n 'notebook-cell-insert-markdown.label': 'Insert Markdown',\n 'notebook-cell-insert-script.label': 'Insert Script',\n 'notebook-cell-insert-prompt.label': 'Insert Prompt',\n 'notebook-cell-insert-query.label': 'Insert Query',\n 'notebook-markdown.placeholder': 'Enter Markdown',\n 'notebook-prompt.placeholder': 'Enter prompt',\n 'notebook-cell-insert.label': 'Insert cell',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
+ "mappings": ";;;AAIA,SAASA,cAAc;AACvB,SAASC,YAAY;AAGrB,SAASC,YAAY;AACrB,SAASC,gBAAgB;AAElB,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACH,KAAKI,YAAYL,OAAOA,MAAM,CAAA,GAAI;QACjC,kBAAkB;QAClB,uBAAuB;QACvB,sBAAsB;QACtB,wBAAwB;QACxB,2BAA2B;QAC3B,oBAAoB;QACpB,uBAAuB;QACvB,uBAAuB;QACvB,wBAAwB;MAC1B;MACA,CAACC,KAAKI,YAAYF,SAASA,QAAQ,CAAA,GAAI;QACrC,kBAAkB;QAClB,uBAAuB;QACvB,sBAAsB;QACtB,wBAAwB;QACxB,2BAA2B;QAC3B,oBAAoB;QACpB,uBAAuB;QACvB,uBAAuB;QACvB,wBAAwB;MAC1B;MACA,CAACD,KAAKI,QAAQC,GAAG,GAAG;QAClB,eAAe;QACf,kBAAkB;QAClB,qBAAqB;QACrB,2BAA2B;QAC3B,uBAAuB;QACvB,gCAAgC;QAChC,gBAAgB;QAChB,kBAAkB;QAClB,uBAAuB;QACvB,mBAAmB;QACnB,gBAAgB;QAChB,wBAAwB;QACxB,6BAA6B;QAC7B,mCACE;QACF,6BAA6B;QAC7B,cAAc;QACd,oCAAoC;QACpC,sBAAsB;QACtB,0BAA0B;QAC1B,gCAAgC;QAChC,iCAAiC;QACjC,uCAAuC;QACvC,yBAAyB;QACzB,4BAA4B;QAC5B,iBAAiB;QACjB,0BAA0B;QAC1B,gCAAgC;QAChC,gCAAgC;QAChC,sCAAsC;QACtC,0BAA0B;QAC1B,0BAA0B;QAC1B,wBAAwB;QACxB,qBAAqB;QACrB,qBAAqB;QACrB,iBAAiB;QAEjB,2BAA2B;QAC3B,2CAA2C;QAC3C,uDAAuD;QACvD,yDAAyD;QACzD,+DAA+D;QAC/D,iEAAiE;QACjE,uCAAuC;QAEvC,qCAAqC;QACrC,uCAAuC;QACvC,2CAA2C;QAC3C,6CAA6C;QAC7C,2CAA2C;QAC3C,6CAA6C;QAC7C,2CAA2C;QAC3C,6CAA6C;QAC7C,iDAAiD;QACjD,mDAAmD;QACnD,iDAAiD;QACjD,mDAAmD;QAEnD,6BAA6B;QAC7B,8BAA8B;QAC9B,kCAAkC;QAClC,uCAAuC;QACvC,qCAAqC;QACrC,qCAAqC;QACrC,oCAAoC;QACpC,iCAAiC;QACjC,+BAA+B;QAC/B,8BAA8B;MAChC;IACF;EACF;;",
6
+ "names": ["Script", "Type", "meta", "Notebook", "translations", "getTypename", "profile", "key"]
7
7
  }
@@ -4,8 +4,8 @@ import {
4
4
  ScriptEvents_exports,
5
5
  ScriptOperation_exports,
6
6
  Settings_exports
7
- } from "../chunk-HABDH5SS.mjs";
8
- import "../chunk-PHKPB5JN.mjs";
7
+ } from "../chunk-ZPFRRBZW.mjs";
8
+ import "../chunk-QV6NCUGM.mjs";
9
9
  import "../chunk-J5LGTIGS.mjs";
10
10
  export {
11
11
  Notebook_exports as Notebook,
@@ -0,0 +1,28 @@
1
+ declare const _default: {
2
+ readonly plugin: {
3
+ readonly key: string;
4
+ readonly name: string;
5
+ readonly description?: string | undefined;
6
+ readonly author?: string | undefined;
7
+ readonly homePage?: string | undefined;
8
+ readonly source?: string | undefined;
9
+ readonly screenshots?: readonly {
10
+ readonly light?: string | undefined;
11
+ readonly dark?: string | undefined;
12
+ }[] | undefined;
13
+ readonly tags?: readonly string[] | undefined;
14
+ readonly icon?: {
15
+ readonly key: string;
16
+ readonly hue?: string | undefined;
17
+ } | undefined;
18
+ readonly spec?: string | undefined;
19
+ readonly dependsOn?: readonly string[] | undefined;
20
+ };
21
+ readonly publish?: {
22
+ readonly buildCommand?: string | undefined;
23
+ readonly outputDirectory?: string | undefined;
24
+ readonly assetBaseUrl?: string | undefined;
25
+ } | undefined;
26
+ };
27
+ export default _default;
28
+ //# sourceMappingURL=dx.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dx.config.d.ts","sourceRoot":"","sources":["../../dx.config.ts"],"names":[],"mappings":""}
@@ -1,21 +1,10 @@
1
1
  import { Capability } from '@dxos/app-framework';
2
- import { type AppCapabilities } from '@dxos/app-toolkit';
3
2
  import type { OperationHandlerSet } from '@dxos/compute';
4
- export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
5
- export declare const BlueprintDefinition: Capability.LazyCapability<void, Capability.Capability<typeof AppCapabilities.BlueprintDefinition>[]>;
6
- export declare const CreateObject: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<Readonly<{
7
- id: string;
8
- createObject: import("@dxos/plugin-space").CreateObject;
9
- inputSchema?: import("effect/Schema").Schema.AnyNoContext;
10
- customPanel?: import("react").ComponentType<import("@dxos/plugin-space").SpaceCapabilities.CreateObjectCustomPanelProps>;
11
- }>>>, Capability.Capability<Capability.InterfaceDef<Readonly<{
12
- id: string;
13
- createObject: import("@dxos/plugin-space").CreateObject;
14
- inputSchema?: import("effect/Schema").Schema.AnyNoContext;
15
- customPanel?: import("react").ComponentType<import("@dxos/plugin-space").SpaceCapabilities.CreateObjectCustomPanelProps>;
16
- }>>>], Error>;
17
- export declare const Compiler: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("../compiler").Compiler>>, Error>;
3
+ export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
4
+ export declare const BlueprintDefinition: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
5
+ export declare const CreateObject: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
6
+ export declare const Compiler: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
18
7
  export declare const OperationHandler: Capability.LazyCapability<OperationHandlerSet.OperationHandlerSet, Capability.ModuleReturn, Error>;
19
- export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
20
- export declare const ScriptSettings: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<import("../types/Settings").Settings, import("../types/Settings").Settings>>>, Capability.Capability<Capability.InterfaceDef<AppCapabilities.Settings>>], Error>;
8
+ export declare const ReactSurface: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
9
+ export declare const ScriptSettings: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
21
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD,eAAO,MAAM,eAAe,qIAA0E,CAAC;AAGvG,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,cAAc,CACzD,IAAI,EACJ,UAAU,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,mBAAmB,CAAC,EAAE,CACa,CAAC;AACnF,eAAO,MAAM,YAAY;;;;;;;;;;aAAmE,CAAC;AAC7F,eAAO,MAAM,QAAQ,wHAA0D,CAAC;AAChF,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,YAAY,iJAAmE,CAAC;AAC7F,eAAO,MAAM,cAAc,2RAAgE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD,eAAO,MAAM,eAAe,iEAA0E,CAAC;AACvG,eAAO,MAAM,mBAAmB,iEAAiF,CAAC;AAClH,eAAO,MAAM,YAAY,iEAAmE,CAAC;AAC7F,eAAO,MAAM,QAAQ,iEAA0D,CAAC;AAChF,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,YAAY,iEAAmE,CAAC;AAC7F,eAAO,MAAM,cAAc,iEAAgE,CAAC"}
@@ -1,19 +1,8 @@
1
1
  import { Capability } from '@dxos/app-framework';
2
- import { type AppCapabilities } from '@dxos/app-toolkit';
3
2
  import type { OperationHandlerSet } from '@dxos/compute';
4
- export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
5
- export declare const BlueprintDefinition: Capability.LazyCapability<void, Capability.Capability<typeof AppCapabilities.BlueprintDefinition>[]>;
6
- export declare const CreateObject: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<Readonly<{
7
- id: string;
8
- createObject: import("@dxos/plugin-space").CreateObject;
9
- inputSchema?: import("effect/Schema").Schema.AnyNoContext;
10
- customPanel?: import("react").ComponentType<import("@dxos/plugin-space").SpaceCapabilities.CreateObjectCustomPanelProps>;
11
- }>>>, Capability.Capability<Capability.InterfaceDef<Readonly<{
12
- id: string;
13
- createObject: import("@dxos/plugin-space").CreateObject;
14
- inputSchema?: import("effect/Schema").Schema.AnyNoContext;
15
- customPanel?: import("react").ComponentType<import("@dxos/plugin-space").SpaceCapabilities.CreateObjectCustomPanelProps>;
16
- }>>>], Error>;
17
- export declare const Compiler: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("../compiler").Compiler>>, Error>;
3
+ export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
4
+ export declare const BlueprintDefinition: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
5
+ export declare const CreateObject: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
6
+ export declare const Compiler: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
18
7
  export declare const OperationHandler: Capability.LazyCapability<OperationHandlerSet.OperationHandlerSet, Capability.ModuleReturn, Error>;
19
8
  //# sourceMappingURL=node.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/node.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD,eAAO,MAAM,eAAe,qIAA0E,CAAC;AAGvG,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,cAAc,CACzD,IAAI,EACJ,UAAU,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,mBAAmB,CAAC,EAAE,CACa,CAAC;AACnF,eAAO,MAAM,YAAY;;;;;;;;;;aAAmE,CAAC;AAC7F,eAAO,MAAM,QAAQ,wHAA0D,CAAC;AAChF,eAAO,MAAM,gBAAgB,oGAG5B,CAAC"}
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/node.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD,eAAO,MAAM,eAAe,iEAA0E,CAAC;AACvG,eAAO,MAAM,mBAAmB,iEAAiF,CAAC;AAClH,eAAO,MAAM,YAAY,iEAAmE,CAAC;AAC7F,eAAO,MAAM,QAAQ,iEAA0D,CAAC;AAChF,eAAO,MAAM,gBAAgB,oGAG5B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as Effect from 'effect/Effect';
2
- import { Capabilities, Capability } from '@dxos/app-framework';
3
- declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
2
+ import { Capability } from '@dxos/app-framework';
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<any>>, never, never>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=react-surface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScriptToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ScriptToolbar/ScriptToolbar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,EAA+B,aAAa,EAAsC,MAAM,qBAAqB,CAAC;AAErH,OAAO,EAEL,KAAK,uBAAuB,EAK7B,MAAM,QAAQ,CAAC;AAGhB,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,aAAa,EAAE,cAAc,CAAC,GAAG;IACrE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,uBAAuB,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,aAAa;;2HAkBzB,CAAC"}
1
+ {"version":3,"file":"ScriptToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ScriptToolbar/ScriptToolbar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,EAA+B,aAAa,EAAsC,MAAM,qBAAqB,CAAC;AAErH,OAAO,EAEL,KAAK,uBAAuB,EAK7B,MAAM,QAAQ,CAAC;AAGhB,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,aAAa,EAAE,cAAc,CAAC,GAAG;IACrE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,uBAAuB,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,aAAa;;2HAkBzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TypescriptEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/TypescriptEditor/TypescriptEditor.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,iBAAiB,CAAC;AAGpE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAkB,KAAK,eAAe,EAAmB,MAAM,gBAAgB,CAAC;AAEvF,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,uBAAuB,CAAC;AAE/E,OAAO,EACL,KAAK,sBAAsB,EAK5B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG7D,MAAM,MAAM,qBAAqB,GAAG,eAAe,CACjD;IACE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,GAAG,CAAC,EAAE,4BAA4B,CAAC;IACnC,OAAO,CAAC,EAAE,sBAAsB,CAAC;CAClC,GAAG,IAAI,CAAC,kBAAkB,EAAE,cAAc,GAAG,YAAY,GAAG,UAAU,GAAG,WAAW,CAAC,CACvF,CAAC;AAEF,eAAO,MAAM,gBAAgB;;2HAmE5B,CAAC;eAmCa,gBAAgB"}
1
+ {"version":3,"file":"TypescriptEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/TypescriptEditor/TypescriptEditor.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,iBAAiB,CAAC;AAGpE,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAkB,KAAK,eAAe,EAAmB,MAAM,gBAAgB,CAAC;AAEvF,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,uBAAuB,CAAC;AAE/E,OAAO,EACL,KAAK,sBAAsB,EAK5B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG7D,MAAM,MAAM,qBAAqB,GAAG,eAAe,CACjD;IACE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,GAAG,CAAC,EAAE,4BAA4B,CAAC;IACnC,OAAO,CAAC,EAAE,sBAAsB,CAAC;CAClC,GAAG,IAAI,CAAC,kBAAkB,EAAE,cAAc,GAAG,YAAY,GAAG,UAAU,GAAG,WAAW,CAAC,CACvF,CAAC;AAEF,eAAO,MAAM,gBAAgB;;2HAmE5B,CAAC;eAmCa,gBAAgB"}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/constants.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAIjC,eAAO,MAAM,iBAAiB,SAA0C,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/constants.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAIjC,eAAO,MAAM,iBAAiB,SAAmD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DeploymentDialog.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DeploymentDialog/DeploymentDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAMlD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAK/C,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAOhD,MAAM,MAAM,qBAAqB,GAAG;IAClC,WAAW,EAAE,WAAW,CAAC,WAAW,CAAC;IACrC,eAAe,EAAE,QAAQ,EAAE,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,qCAAsC,qBAAqB,sBAuEvF,CAAC"}
1
+ {"version":3,"file":"DeploymentDialog.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DeploymentDialog/DeploymentDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAMlD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAK/C,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAOhD,MAAM,MAAM,qBAAqB,GAAG;IAClC,WAAW,EAAE,WAAW,CAAC,WAAW,CAAC;IACrC,eAAe,EAAE,QAAQ,EAAE,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,qCAAsC,qBAAqB,sBA6EvF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NotebookArticle.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/NotebookArticle/NotebookArticle.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AA0BjE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CAyCtC,CAAC;eAEa,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
1
+ {"version":3,"file":"NotebookArticle.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/NotebookArticle/NotebookArticle.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AA2BjE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CAyCtC,CAAC;eAEa,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScriptProperties.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ScriptProperties/ScriptProperties.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAM5C,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,qBAAqB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAEpF,eAAO,MAAM,gBAAgB,wBAAyB,qBAAqB,sBAQ1E,CAAC"}
1
+ {"version":3,"file":"ScriptProperties.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ScriptProperties/ScriptProperties.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,qBAAqB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAEpF,eAAO,MAAM,gBAAgB,wBAAyB,qBAAqB,sBAc1E,CAAC"}
@@ -35,12 +35,20 @@ export declare const createDeploy: ({ state, script, space, fn, client, existing
35
35
  icon: string;
36
36
  hidden: boolean;
37
37
  classNames: "" | "font-medium border-error-text text-error-fg bg-error-surface" | "font-medium border-info-text text-info-fg bg-info-surface" | "font-medium border-neutral-text text-neutral-fg bg-neutral-surface" | "font-medium border-success-text text-success-fg bg-success-surface" | "font-medium border-warning-text text-warning-fg bg-warning-surface" | undefined;
38
- } & import("@dxos/ui-types").MenuActionProperties;
38
+ } & import("@dxos/ui-types").MenuItemChrome & {
39
+ variant?: 'action' | 'toggle';
40
+ value?: string;
41
+ checked?: boolean;
42
+ };
39
43
  data: () => import("effect/Effect").Effect<void, never, never>;
40
44
  } | {
41
45
  id: string;
42
46
  type: string;
43
- properties: DeployActionProperties & import("@dxos/ui-types").MenuActionProperties;
47
+ properties: DeployActionProperties & import("@dxos/ui-types").MenuItemChrome & {
48
+ variant?: 'action' | 'toggle';
49
+ value?: string;
50
+ checked?: boolean;
51
+ };
44
52
  data: () => import("effect/Effect").Effect<void, never, never>;
45
53
  })[];
46
54
  edges: {
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/hooks/deploy.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,GAAG,EAAc,MAAM,YAAY,CAAC;AAG7C,OAAO,EAAE,KAAK,MAAM,EAAa,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,KAAK,KAAK,EAAsB,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQ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K,EAAsB,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQhD,MAAM,MAAM,sBAAsB,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3E,MAAM,MAAM,WAAW,GAAG;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAEjE,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,uBAAuB,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;IACtB,EAAE,EAAE,SAAS,CAAC,mBAAmB,CAAC;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,CAAC,EAAE,SAAS,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,YAAY,gEAAiE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8D5G,CAAC;AAEF,eAAO,MAAM,cAAc,sBAAuB;IAAE,KAAK,EAAE,uBAAuB,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAA;CAAE,SAoB1G,CAAC;AAEF,eAAO,MAAM,aAAa,eAAgB;IAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAA;CAAE;;;;;;;;;;;;;;;CAMlE,CAAC"}
@@ -11,7 +11,11 @@ export declare const createFormat: (script: Script.Script) => {
11
11
  ns: string;
12
12
  }];
13
13
  icon: string;
14
- } & import("@dxos/ui-types").MenuActionProperties;
14
+ } & import("@dxos/ui-types").MenuItemChrome & {
15
+ variant?: 'action' | 'toggle';
16
+ value?: string;
17
+ checked?: boolean;
18
+ };
15
19
  data: () => import("effect/Effect").Effect<void, never, never>;
16
20
  }[];
17
21
  edges: {
@@ -1 +1 @@
1
- {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../src/hooks/format.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,MAAM,sBAAsB,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC;AAExD,eAAO,MAAM,YAAY,WAAY,MAAM,CAAC,MAAM;;;;;;;;;;;;;;;;;CAuCjD,CAAC"}
1
+ {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../src/hooks/format.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,MAAM,sBAAsB,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC;AAExD,eAAO,MAAM,YAAY,WAAY,MAAM,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;CAuCjD,CAAC"}
@@ -7,7 +7,11 @@ export declare const createTemplateSelect: (script: Script.Script) => {
7
7
  nodes: {
8
8
  id: string;
9
9
  type: string;
10
- properties: TemplateActionProperties & import("@dxos/ui-types").MenuActionProperties;
10
+ properties: TemplateActionProperties & import("@dxos/ui-types").MenuItemChrome & {
11
+ variant?: 'action' | 'toggle';
12
+ value?: string;
13
+ checked?: boolean;
14
+ };
11
15
  data: () => import("effect/Effect").Effect<void, never, never>;
12
16
  }[];
13
17
  edges: {
@@ -1 +1 @@
1
- {"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../src/hooks/template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAOvC,MAAM,MAAM,wBAAwB,GAAG;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAiC3E,eAAO,MAAM,oBAAoB,WAAY,MAAM,CAAC,MAAM;;;;;;;;;;;;CASzD,CAAC"}
1
+ {"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../src/hooks/template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAOvC,MAAM,MAAM,wBAAwB,GAAG;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAiC3E,eAAO,MAAM,oBAAoB,WAAY,MAAM,CAAC,MAAM;;;;;;;;;;;;;;;;CASzD,CAAC"}
@@ -1,4 +1,30 @@
1
- import { Plugin } from '@dxos/app-framework';
2
- export declare const meta: Plugin.Meta;
1
+ export declare const meta: {
2
+ readonly profile: {
3
+ readonly key: string;
4
+ readonly name: string;
5
+ readonly description?: string | undefined;
6
+ readonly homePage?: string | undefined;
7
+ readonly source?: string | undefined;
8
+ readonly tags?: readonly string[] | undefined;
9
+ readonly screenshots?: readonly {
10
+ readonly light?: string | undefined;
11
+ readonly dark?: string | undefined;
12
+ }[] | undefined;
13
+ readonly icon?: {
14
+ readonly key: string;
15
+ readonly hue?: string | undefined;
16
+ } | undefined;
17
+ readonly dependsOn?: readonly string[] | undefined;
18
+ readonly spec?: string | undefined;
19
+ readonly author?: string | undefined;
20
+ };
21
+ readonly release?: {
22
+ readonly version: string;
23
+ readonly moduleUrl: string;
24
+ readonly dependencies?: {
25
+ readonly [x: string]: string;
26
+ } | undefined;
27
+ } | undefined;
28
+ };
3
29
  export declare const defaultScriptsForIntegration: Record<string, string[]>;
4
30
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,IAAI,aAiBf,CAAC;AAGH,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAGjE,CAAC"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AAGrD,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAGjE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScriptCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/ScriptCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAIjD,OAAO,EAAE,KAAK,QAAQ,IAAI,YAAY,EAAE,MAAM,aAAa,CAAC;AAI5D,eAAO,MAAM,QAAQ,sGAAkG,CAAC;AACxH,eAAO,MAAM,QAAQ,uCAAkE,CAAC"}
1
+ {"version":3,"file":"ScriptCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/ScriptCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAIjD,OAAO,EAAE,KAAK,QAAQ,IAAI,YAAY,EAAE,MAAM,aAAa,CAAC;AAI5D,eAAO,MAAM,QAAQ,sGAEpB,CAAC;AACF,eAAO,MAAM,QAAQ,uCAA2E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScriptEvents.d.ts","sourceRoot":"","sources":["../../../../src/types/ScriptEvents.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD,eAAO,MAAM,aAAa,iCAA0D,CAAC"}
1
+ {"version":3,"file":"ScriptEvents.d.ts","sourceRoot":"","sources":["../../../../src/types/ScriptEvents.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD,eAAO,MAAM,aAAa,iCAAkE,CAAC"}