@dxos/plugin-script 0.8.4-main.2e9d522 → 0.8.4-main.67995b8
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/{artifact-definition-24Q3IHOU.mjs → artifact-definition-CK3BIBSI.mjs} +4 -6
- package/dist/lib/browser/{artifact-definition-24Q3IHOU.mjs.map → artifact-definition-CK3BIBSI.mjs.map} +3 -3
- package/dist/lib/browser/index.mjs +2 -2
- package/dist/lib/browser/{intent-resolver-7B77IG3N.mjs → intent-resolver-S3H2SMUY.mjs} +2 -4
- package/dist/lib/browser/{intent-resolver-7B77IG3N.mjs.map → intent-resolver-S3H2SMUY.mjs.map} +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/{artifact-definition-WAJFALUI.mjs → artifact-definition-YCBV4YX2.mjs} +4 -6
- package/dist/lib/node-esm/{artifact-definition-WAJFALUI.mjs.map → artifact-definition-YCBV4YX2.mjs.map} +3 -3
- package/dist/lib/node-esm/index.mjs +2 -2
- package/dist/lib/node-esm/{intent-resolver-FRZGS4TB.mjs → intent-resolver-OHKNJFCC.mjs} +2 -4
- package/dist/lib/node-esm/{intent-resolver-FRZGS4TB.mjs.map → intent-resolver-OHKNJFCC.mjs.map} +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/capabilities/artifact-definition.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +55 -52
- package/src/capabilities/artifact-definition.ts +1 -8
- package/src/capabilities/intent-resolver.ts +1 -4
package/dist/lib/browser/{artifact-definition-24Q3IHOU.mjs → artifact-definition-CK3BIBSI.mjs}
RENAMED
|
@@ -165,9 +165,7 @@ var artifact_definition_default = () => {
|
|
|
165
165
|
});
|
|
166
166
|
const script = Obj.make(ScriptType, {
|
|
167
167
|
name,
|
|
168
|
-
source: Ref.make(
|
|
169
|
-
content: code
|
|
170
|
-
}))
|
|
168
|
+
source: Ref.make(DataType.makeText(code))
|
|
171
169
|
});
|
|
172
170
|
extensions.space.db.add(script);
|
|
173
171
|
await extensions.space.db.flush();
|
|
@@ -192,7 +190,7 @@ var artifact_definition_default = () => {
|
|
|
192
190
|
execute: async ({ id }, { extensions }) => {
|
|
193
191
|
invariant(extensions?.space, "No space", {
|
|
194
192
|
F: __dxlog_file,
|
|
195
|
-
L:
|
|
193
|
+
L: 180,
|
|
196
194
|
S: void 0,
|
|
197
195
|
A: [
|
|
198
196
|
"extensions?.space",
|
|
@@ -220,7 +218,7 @@ var artifact_definition_default = () => {
|
|
|
220
218
|
execute: async ({ id, code }, { extensions }) => {
|
|
221
219
|
invariant(extensions?.space, "No space", {
|
|
222
220
|
F: __dxlog_file,
|
|
223
|
-
L:
|
|
221
|
+
L: 202,
|
|
224
222
|
S: void 0,
|
|
225
223
|
A: [
|
|
226
224
|
"extensions?.space",
|
|
@@ -246,4 +244,4 @@ var artifact_definition_default = () => {
|
|
|
246
244
|
export {
|
|
247
245
|
artifact_definition_default as default
|
|
248
246
|
};
|
|
249
|
-
//# sourceMappingURL=artifact-definition-
|
|
247
|
+
//# sourceMappingURL=artifact-definition-CK3BIBSI.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/capabilities/artifact-definition.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Schema } from 'effect';\n\nimport { createTool, ToolResult } from '@dxos/ai';\nimport { Capabilities, contributes, createIntent, type PromiseIntentDispatcher } from '@dxos/app-framework';\nimport { createArtifactElement, ArtifactId } from '@dxos/assistant';\nimport { defineArtifact } from '@dxos/blueprints';\nimport { Filter, Obj, Ref } from '@dxos/echo';\nimport { ScriptType } from '@dxos/functions';\nimport { invariant } from '@dxos/invariant';\nimport { SpaceAction } from '@dxos/plugin-space/types';\nimport { type Space } from '@dxos/react-client/echo';\nimport { DataType } from '@dxos/schema';\n\nimport { meta } from '../meta';\n\n// TODO(burdon): Factor out.\ndeclare global {\n interface ToolContextExtensions {\n space?: Space;\n dispatch?: PromiseIntentDispatcher;\n }\n}\n\nexport default () => {\n const definition = defineArtifact({\n id: `artifact:${meta.id}`,\n name: meta.name,\n // TODO(dmaretskyi): Since writing scripts requires a lot of domain knowledge,\n // we should offload the work of synthesizing the code to a separate model.\n // The main reasoning model will give it a concrete task and the script model will synthesize the code, knowing all the docs.\n instructions: `\n If the user explicitly requests you to write a script, you can create one.\n If the user requests you to change one of the existing script, you can update it.\n You must not create a script unless the user explicitly requests it.\n Scripts are short code pieces of executable code that can be used to perform computations, integrate with external systems, and perform automated tasks.\n Each script must follow as strict shape for the definition but the body can contain any valid executable code.\n Scripts are written in JavaScript or TypeScript.\n Each script must define an input schema and output schema.\n Each script must have its own detailed description.\n\n Important: You cannot execute scripts. Scripts are only available as tools after the user deploys them. You must only call the available tools.\n\n Description:\n The description is a detailed description of the script.\n It is used to describe the script's purpose, input, and output.\n The description is used to generate the script's documentation.\n The description is also goes into the script metadata.\n The description is used by AI to understand the script and its purpose.\n The description must provide cases on when the script should be used.\n\n Schema: \n The schema is defined using a schema-DSL library called Effect Schema.\n The input schema describes the arguments that the script accepts.\n The output schema describes the result that the script produces.\n The schema is used to validate the script's input and output.\n The schema is also goes into the script metadata.\n The properties in the schema must have valid descriptions.\n The input and output schemas must both be a struct of fields.\n\n Restricts:\n The scripts can only import code from \"dxos:functions\" module. No other modules are allowed.\n Some web APIs are available - like fetch.\n\n Reasoning:\n Before writing a script, synthesize the following information:\n - Description\n - What APIs will be used.\n - Detailed input schema\n - Detailed output schema\n\n <apis>\n export function defineFunction(params: { \n description: string, \n inputSchema: Schema.Schema, \n outputSchema: Schema.Schema, \n handler: (params: { event: { data: TInput } }) => Promise<TOutput> \n }): FunctionDefinition\n /**\n * Effect Schema\n */\n export const Schema; \n\n // Examples: \n\n Schema.String\n Schema.Number\n Schema.Boolean\n Schema.Struct({\n from: Schema.String.annotations({ description: 'The source currency' }),\n to: Schema.String.annotations({ description: 'The target currency' }),\n })\n Schema.Array(Schema.String)\n Schema.Union(Schema.String, Schema.Number)\n Schema.optional(Schema.String)\n Schema.String.annotations({ description: 'The source currency' })\n </apis>\n\n <handler_function>\n Async function that takes the argument in the form of:\n\n type HandlerFunctionParam = {\n event: {\n data: T // The input schema\n },\n }\n\n The function must return the result that matches the output schema.\n </handler_function>\n \n <example>\n import { defineFunction, S } from 'dxos:functions';\n\n export default defineFunction({\n description: 'Returns the exchange rate between two currencies.',\n\n inputSchema: Schema.Struct({\n from: Schema.String.annotations({ description: 'The source currency' }),\n to: Schema.String.annotations({ description: 'The target currency' }),\n }),\n\n outputSchema: Schema.Struct({\n rate: Schema.String.annotations({ description: 'The exchange rate' }),\n }),\n\n handler: async ({\n event: {\n data: { from, to },\n },\n }: any) => {\n const res = await fetch(\\`https://free.ratesdb.com/v1/rates?from=\\${from}&to=\\${to}\\`);\n const {\n data: { rates },\n } = await res.json();\n\n return { rate: rates[to].toString() };\n },\n });\n </example>\n `,\n schema: ScriptType,\n tools: [\n createTool(meta.id, {\n name: 'create',\n description: 'Create a new script. Returns the artifact definition for the script',\n caption: 'Creating script...',\n schema: Schema.Struct({\n name: Schema.String.annotations({ description: 'The name of the script' }),\n code: Schema.String.annotations({\n description: 'The full code of the script in JavaScript or TypeScript. Must be valid executable code.',\n }),\n }),\n execute: async ({ name, code }, { extensions }) => {\n invariant(extensions?.space, 'No space');\n invariant(extensions?.dispatch, 'No intent dispatcher');\n const script = Obj.make(ScriptType, {
|
|
5
|
-
"mappings": ";;;;;AAIA,SAASA,cAAc;AAEvB,SAASC,YAAYC,kBAAkB;AACvC,SAASC,cAAcC,aAAaC,oBAAkD;AACtF,SAASC,uBAAuBC,kBAAkB;AAClD,SAASC,sBAAsB;AAC/B,SAASC,QAAQC,KAAKC,WAAW;AACjC,SAASC,kBAAkB;AAC3B,SAASC,iBAAiB;AAC1B,SAASC,mBAAmB;AAE5B,SAASC,gBAAgB;;AAYzB,IAAA,8BAAe,MAAA;AACb,QAAMC,aAAaC,eAAe;IAChCC,IAAI,YAAYC,KAAKD,EAAE;IACvBE,MAAMD,KAAKC;;;;IAIXC,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6GdC,QAAQC;IACRC,OAAO;MACLC,WAAWN,KAAKD,IAAI;QAClBE,MAAM;QACNM,aAAa;QACbC,SAAS;QACTL,QAAQM,OAAOC,OAAO;UACpBT,MAAMQ,OAAOE,OAAOC,YAAY;YAAEL,aAAa;UAAyB,CAAA;UACxEM,MAAMJ,OAAOE,OAAOC,YAAY;YAC9BL,aAAa;UACf,CAAA;QACF,CAAA;QACAO,SAAS,OAAO,EAAEb,MAAMY,KAAI,GAAI,EAAEE,WAAU,MAAE;AAC5CC,oBAAUD,YAAYE,OAAO,YAAA;;;;;;;;;AAC7BD,oBAAUD,YAAYG,UAAU,wBAAA;;;;;;;;;AAChC,gBAAMC,SAASC,IAAIC,KAAKjB,YAAY;
|
|
6
|
-
"names": ["Schema", "createTool", "ToolResult", "Capabilities", "contributes", "createIntent", "createArtifactElement", "ArtifactId", "defineArtifact", "Filter", "Obj", "Ref", "ScriptType", "invariant", "SpaceAction", "DataType", "definition", "defineArtifact", "id", "meta", "name", "instructions", "schema", "ScriptType", "tools", "createTool", "description", "caption", "Schema", "Struct", "String", "annotations", "code", "execute", "extensions", "invariant", "space", "dispatch", "script", "Obj", "make", "source", "Ref", "DataType", "
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Schema } from 'effect';\n\nimport { createTool, ToolResult } from '@dxos/ai';\nimport { Capabilities, contributes, createIntent, type PromiseIntentDispatcher } from '@dxos/app-framework';\nimport { createArtifactElement, ArtifactId } from '@dxos/assistant';\nimport { defineArtifact } from '@dxos/blueprints';\nimport { Filter, Obj, Ref } from '@dxos/echo';\nimport { ScriptType } from '@dxos/functions';\nimport { invariant } from '@dxos/invariant';\nimport { SpaceAction } from '@dxos/plugin-space/types';\nimport { type Space } from '@dxos/react-client/echo';\nimport { DataType } from '@dxos/schema';\n\nimport { meta } from '../meta';\n\n// TODO(burdon): Factor out.\ndeclare global {\n interface ToolContextExtensions {\n space?: Space;\n dispatch?: PromiseIntentDispatcher;\n }\n}\n\nexport default () => {\n const definition = defineArtifact({\n id: `artifact:${meta.id}`,\n name: meta.name,\n // TODO(dmaretskyi): Since writing scripts requires a lot of domain knowledge,\n // we should offload the work of synthesizing the code to a separate model.\n // The main reasoning model will give it a concrete task and the script model will synthesize the code, knowing all the docs.\n instructions: `\n If the user explicitly requests you to write a script, you can create one.\n If the user requests you to change one of the existing script, you can update it.\n You must not create a script unless the user explicitly requests it.\n Scripts are short code pieces of executable code that can be used to perform computations, integrate with external systems, and perform automated tasks.\n Each script must follow as strict shape for the definition but the body can contain any valid executable code.\n Scripts are written in JavaScript or TypeScript.\n Each script must define an input schema and output schema.\n Each script must have its own detailed description.\n\n Important: You cannot execute scripts. Scripts are only available as tools after the user deploys them. You must only call the available tools.\n\n Description:\n The description is a detailed description of the script.\n It is used to describe the script's purpose, input, and output.\n The description is used to generate the script's documentation.\n The description is also goes into the script metadata.\n The description is used by AI to understand the script and its purpose.\n The description must provide cases on when the script should be used.\n\n Schema: \n The schema is defined using a schema-DSL library called Effect Schema.\n The input schema describes the arguments that the script accepts.\n The output schema describes the result that the script produces.\n The schema is used to validate the script's input and output.\n The schema is also goes into the script metadata.\n The properties in the schema must have valid descriptions.\n The input and output schemas must both be a struct of fields.\n\n Restricts:\n The scripts can only import code from \"dxos:functions\" module. No other modules are allowed.\n Some web APIs are available - like fetch.\n\n Reasoning:\n Before writing a script, synthesize the following information:\n - Description\n - What APIs will be used.\n - Detailed input schema\n - Detailed output schema\n\n <apis>\n export function defineFunction(params: { \n description: string, \n inputSchema: Schema.Schema, \n outputSchema: Schema.Schema, \n handler: (params: { event: { data: TInput } }) => Promise<TOutput> \n }): FunctionDefinition\n /**\n * Effect Schema\n */\n export const Schema; \n\n // Examples: \n\n Schema.String\n Schema.Number\n Schema.Boolean\n Schema.Struct({\n from: Schema.String.annotations({ description: 'The source currency' }),\n to: Schema.String.annotations({ description: 'The target currency' }),\n })\n Schema.Array(Schema.String)\n Schema.Union(Schema.String, Schema.Number)\n Schema.optional(Schema.String)\n Schema.String.annotations({ description: 'The source currency' })\n </apis>\n\n <handler_function>\n Async function that takes the argument in the form of:\n\n type HandlerFunctionParam = {\n event: {\n data: T // The input schema\n },\n }\n\n The function must return the result that matches the output schema.\n </handler_function>\n \n <example>\n import { defineFunction, S } from 'dxos:functions';\n\n export default defineFunction({\n description: 'Returns the exchange rate between two currencies.',\n\n inputSchema: Schema.Struct({\n from: Schema.String.annotations({ description: 'The source currency' }),\n to: Schema.String.annotations({ description: 'The target currency' }),\n }),\n\n outputSchema: Schema.Struct({\n rate: Schema.String.annotations({ description: 'The exchange rate' }),\n }),\n\n handler: async ({\n event: {\n data: { from, to },\n },\n }: any) => {\n const res = await fetch(\\`https://free.ratesdb.com/v1/rates?from=\\${from}&to=\\${to}\\`);\n const {\n data: { rates },\n } = await res.json();\n\n return { rate: rates[to].toString() };\n },\n });\n </example>\n `,\n schema: ScriptType,\n tools: [\n createTool(meta.id, {\n name: 'create',\n description: 'Create a new script. Returns the artifact definition for the script',\n caption: 'Creating script...',\n schema: Schema.Struct({\n name: Schema.String.annotations({ description: 'The name of the script' }),\n code: Schema.String.annotations({\n description: 'The full code of the script in JavaScript or TypeScript. Must be valid executable code.',\n }),\n }),\n execute: async ({ name, code }, { extensions }) => {\n invariant(extensions?.space, 'No space');\n invariant(extensions?.dispatch, 'No intent dispatcher');\n const script = Obj.make(ScriptType, { name, source: Ref.make(DataType.makeText(code)) });\n extensions.space.db.add(script);\n await extensions.space.db.flush();\n\n const intent = createIntent(SpaceAction.AddObject, { target: extensions.space, object: script });\n const { data, error } = await extensions.dispatch(intent);\n if (!data || error) {\n return ToolResult.Error(error?.message ?? 'Failed to create chess game');\n }\n\n return ToolResult.Success(createArtifactElement(script.id));\n },\n }),\n createTool(meta.id, {\n name: 'inspect',\n description: 'Inspect a script. Returns the artifact definition for the script',\n caption: 'Inspecting script...',\n schema: Schema.Struct({\n id: ArtifactId,\n }),\n execute: async ({ id }, { extensions }) => {\n invariant(extensions?.space, 'No space');\n\n const script = (await extensions.space.db.query(Filter.ids(id)).first()) as ScriptType;\n const { content } = await script.source.load();\n\n return ToolResult.Success({\n name: script.name,\n code: content,\n });\n },\n }),\n createTool(meta.id, {\n name: 'update',\n description: 'Update a script. Returns the artifact definition for the script',\n caption: 'Updating script...',\n schema: Schema.Struct({\n id: ArtifactId,\n code: Schema.String.annotations({\n description: 'The full code of the script in JavaScript or TypeScript. Must be valid executable code.',\n }),\n }),\n execute: async ({ id, code }, { extensions }) => {\n invariant(extensions?.space, 'No space');\n\n const script = (await extensions.space.db.query(Filter.ids(id)).first()) as ScriptType;\n const source = await script.source.load();\n if (!source) {\n return ToolResult.Error('Script not found');\n }\n\n source.content = code;\n await extensions.space?.db.flush();\n\n return ToolResult.Success({\n name: script.name,\n });\n },\n }),\n ],\n });\n\n return contributes(Capabilities.ArtifactDefinition, definition);\n};\n"],
|
|
5
|
+
"mappings": ";;;;;AAIA,SAASA,cAAc;AAEvB,SAASC,YAAYC,kBAAkB;AACvC,SAASC,cAAcC,aAAaC,oBAAkD;AACtF,SAASC,uBAAuBC,kBAAkB;AAClD,SAASC,sBAAsB;AAC/B,SAASC,QAAQC,KAAKC,WAAW;AACjC,SAASC,kBAAkB;AAC3B,SAASC,iBAAiB;AAC1B,SAASC,mBAAmB;AAE5B,SAASC,gBAAgB;;AAYzB,IAAA,8BAAe,MAAA;AACb,QAAMC,aAAaC,eAAe;IAChCC,IAAI,YAAYC,KAAKD,EAAE;IACvBE,MAAMD,KAAKC;;;;IAIXC,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6GdC,QAAQC;IACRC,OAAO;MACLC,WAAWN,KAAKD,IAAI;QAClBE,MAAM;QACNM,aAAa;QACbC,SAAS;QACTL,QAAQM,OAAOC,OAAO;UACpBT,MAAMQ,OAAOE,OAAOC,YAAY;YAAEL,aAAa;UAAyB,CAAA;UACxEM,MAAMJ,OAAOE,OAAOC,YAAY;YAC9BL,aAAa;UACf,CAAA;QACF,CAAA;QACAO,SAAS,OAAO,EAAEb,MAAMY,KAAI,GAAI,EAAEE,WAAU,MAAE;AAC5CC,oBAAUD,YAAYE,OAAO,YAAA;;;;;;;;;AAC7BD,oBAAUD,YAAYG,UAAU,wBAAA;;;;;;;;;AAChC,gBAAMC,SAASC,IAAIC,KAAKjB,YAAY;YAAEH;YAAMqB,QAAQC,IAAIF,KAAKG,SAASC,SAASZ,IAAAA,CAAAA;UAAO,CAAA;AACtFE,qBAAWE,MAAMS,GAAGC,IAAIR,MAAAA;AACxB,gBAAMJ,WAAWE,MAAMS,GAAGE,MAAK;AAE/B,gBAAMC,SAASC,aAAaC,YAAYC,WAAW;YAAEC,QAAQlB,WAAWE;YAAOiB,QAAQf;UAAO,CAAA;AAC9F,gBAAM,EAAEgB,MAAMC,MAAK,IAAK,MAAMrB,WAAWG,SAASW,MAAAA;AAClD,cAAI,CAACM,QAAQC,OAAO;AAClB,mBAAOC,WAAWC,MAAMF,OAAOG,WAAW,6BAAA;UAC5C;AAEA,iBAAOF,WAAWG,QAAQC,sBAAsBtB,OAAOpB,EAAE,CAAA;QAC3D;MACF,CAAA;MACAO,WAAWN,KAAKD,IAAI;QAClBE,MAAM;QACNM,aAAa;QACbC,SAAS;QACTL,QAAQM,OAAOC,OAAO;UACpBX,IAAI2C;QACN,CAAA;QACA5B,SAAS,OAAO,EAAEf,GAAE,GAAI,EAAEgB,WAAU,MAAE;AACpCC,oBAAUD,YAAYE,OAAO,YAAA;;;;;;;;;AAE7B,gBAAME,SAAU,MAAMJ,WAAWE,MAAMS,GAAGiB,MAAMC,OAAOC,IAAI9C,EAAAA,CAAAA,EAAK+C,MAAK;AACrE,gBAAM,EAAEC,QAAO,IAAK,MAAM5B,OAAOG,OAAO0B,KAAI;AAE5C,iBAAOX,WAAWG,QAAQ;YACxBvC,MAAMkB,OAAOlB;YACbY,MAAMkC;UACR,CAAA;QACF;MACF,CAAA;MACAzC,WAAWN,KAAKD,IAAI;QAClBE,MAAM;QACNM,aAAa;QACbC,SAAS;QACTL,QAAQM,OAAOC,OAAO;UACpBX,IAAI2C;UACJ7B,MAAMJ,OAAOE,OAAOC,YAAY;YAC9BL,aAAa;UACf,CAAA;QACF,CAAA;QACAO,SAAS,OAAO,EAAEf,IAAIc,KAAI,GAAI,EAAEE,WAAU,MAAE;AAC1CC,oBAAUD,YAAYE,OAAO,YAAA;;;;;;;;;AAE7B,gBAAME,SAAU,MAAMJ,WAAWE,MAAMS,GAAGiB,MAAMC,OAAOC,IAAI9C,EAAAA,CAAAA,EAAK+C,MAAK;AACrE,gBAAMxB,SAAS,MAAMH,OAAOG,OAAO0B,KAAI;AACvC,cAAI,CAAC1B,QAAQ;AACX,mBAAOe,WAAWC,MAAM,kBAAA;UAC1B;AAEAhB,iBAAOyB,UAAUlC;AACjB,gBAAME,WAAWE,OAAOS,GAAGE,MAAAA;AAE3B,iBAAOS,WAAWG,QAAQ;YACxBvC,MAAMkB,OAAOlB;UACf,CAAA;QACF;MACF,CAAA;;EAEJ,CAAA;AAEA,SAAOgD,YAAYC,aAAaC,oBAAoBtD,UAAAA;AACtD;",
|
|
6
|
+
"names": ["Schema", "createTool", "ToolResult", "Capabilities", "contributes", "createIntent", "createArtifactElement", "ArtifactId", "defineArtifact", "Filter", "Obj", "Ref", "ScriptType", "invariant", "SpaceAction", "DataType", "definition", "defineArtifact", "id", "meta", "name", "instructions", "schema", "ScriptType", "tools", "createTool", "description", "caption", "Schema", "Struct", "String", "annotations", "code", "execute", "extensions", "invariant", "space", "dispatch", "script", "Obj", "make", "source", "Ref", "DataType", "makeText", "db", "add", "flush", "intent", "createIntent", "SpaceAction", "AddObject", "target", "object", "data", "error", "ToolResult", "Error", "message", "Success", "createArtifactElement", "ArtifactId", "query", "Filter", "ids", "first", "content", "load", "contributes", "Capabilities", "ArtifactDefinition"]
|
|
7
7
|
}
|
|
@@ -28,9 +28,9 @@ import {
|
|
|
28
28
|
// src/capabilities/index.ts
|
|
29
29
|
import { lazy } from "@dxos/app-framework";
|
|
30
30
|
var AppGraphBuilder = lazy(() => import("./app-graph-builder-HLQ7K3BT.mjs"));
|
|
31
|
-
var ArtifactDefinition = lazy(() => import("./artifact-definition-
|
|
31
|
+
var ArtifactDefinition = lazy(() => import("./artifact-definition-CK3BIBSI.mjs"));
|
|
32
32
|
var Compiler = lazy(() => import("./compiler-CXCUA4UQ.mjs"));
|
|
33
|
-
var IntentResolver = lazy(() => import("./intent-resolver-
|
|
33
|
+
var IntentResolver = lazy(() => import("./intent-resolver-S3H2SMUY.mjs"));
|
|
34
34
|
var ReactSurface = lazy(() => import("./react-surface-FYYXZA7C.mjs"));
|
|
35
35
|
var ScriptSettings = lazy(() => import("./settings-KCTBK5TY.mjs"));
|
|
36
36
|
|
|
@@ -49,9 +49,7 @@ var intent_resolver_default = () => contributes(Capabilities.IntentResolver, [
|
|
|
49
49
|
data: {
|
|
50
50
|
object: Obj.make(ScriptType, {
|
|
51
51
|
name,
|
|
52
|
-
source: Ref.make(
|
|
53
|
-
content
|
|
54
|
-
}))
|
|
52
|
+
source: Ref.make(DataType.makeText(content))
|
|
55
53
|
})
|
|
56
54
|
}
|
|
57
55
|
};
|
|
@@ -88,4 +86,4 @@ var intent_resolver_default = () => contributes(Capabilities.IntentResolver, [
|
|
|
88
86
|
export {
|
|
89
87
|
intent_resolver_default as default
|
|
90
88
|
};
|
|
91
|
-
//# sourceMappingURL=intent-resolver-
|
|
89
|
+
//# sourceMappingURL=intent-resolver-S3H2SMUY.mjs.map
|
package/dist/lib/browser/{intent-resolver-7B77IG3N.mjs.map → intent-resolver-S3H2SMUY.mjs.map}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/capabilities/intent-resolver.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Octokit } from '@octokit/core';\nimport { Predicate } from 'effect';\n\nimport { contributes, Capabilities, createResolver, createIntent, LayoutAction } from '@dxos/app-framework';\nimport { Obj, Ref } from '@dxos/echo';\nimport { ScriptType } from '@dxos/functions';\nimport { TokenManagerAction } from '@dxos/plugin-token-manager/types';\nimport { DataType } from '@dxos/schema';\n\nimport { DEPLOYMENT_DIALOG } from '../components';\nimport { defaultScriptsForIntegration } from '../meta';\nimport { templates } from '../templates';\nimport { ScriptAction } from '../types';\n\nexport default () =>\n contributes(Capabilities.IntentResolver, [\n createResolver({\n intent: ScriptAction.Create,\n resolve: async ({ name, gistUrl, initialTemplateId }) => {\n let content = templates[0].source;\n\n const gistId = gistUrl?.split('/').at(-1);\n if (gistId) {\n // TODO(wittjosiah): Capability which contributes Octokit?\n // NOTE: AccessToken not needed to read public gists.\n const octokit = new Octokit();\n const response = await octokit.request('GET /gists/{gist_id}', {\n gist_id: gistId,\n });\n const gistContent = Object.values(response.data.files ?? {})[0]?.content;\n if (gistContent) {\n content = gistContent;\n }\n }\n\n if (initialTemplateId) {\n const template = templates.find((template) => template.id === initialTemplateId);\n if (template) {\n content = template.source;\n name = template.name;\n }\n }\n\n return {\n data: {\n object: Obj.make(ScriptType, {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAIA,SAASA,eAAe;AACxB,SAASC,iBAAiB;AAE1B,SAASC,aAAaC,cAAcC,gBAAgBC,cAAcC,oBAAoB;AACtF,SAASC,KAAKC,WAAW;AACzB,SAASC,kBAAkB;AAC3B,SAASC,0BAA0B;AACnC,SAASC,gBAAgB;AAOzB,IAAA,0BAAe,MACbC,YAAYC,aAAaC,gBAAgB;EACvCC,eAAe;IACbC,QAAQC,aAAaC;IACrBC,SAAS,OAAO,EAAEC,MAAMC,SAASC,kBAAiB,MAAE;AAClD,UAAIC,UAAUC,UAAU,CAAA,EAAGC;AAE3B,YAAMC,SAASL,SAASM,MAAM,GAAA,EAAKC,GAAG,EAAC;AACvC,UAAIF,QAAQ;AAGV,cAAMG,UAAU,IAAIC,QAAAA;AACpB,cAAMC,WAAW,MAAMF,QAAQG,QAAQ,wBAAwB;UAC7DC,SAASP;QACX,CAAA;AACA,cAAMQ,cAAcC,OAAOC,OAAOL,SAASM,KAAKC,SAAS,CAAC,CAAA,EAAG,CAAA,GAAIf;AACjE,YAAIW,aAAa;AACfX,oBAAUW;QACZ;MACF;AAEA,UAAIZ,mBAAmB;AACrB,cAAMiB,WAAWf,UAAUgB,KAAK,CAACD,cAAaA,UAASE,OAAOnB,iBAAAA;AAC9D,YAAIiB,UAAU;AACZhB,oBAAUgB,SAASd;AACnBL,iBAAOmB,SAASnB;QAClB;MACF;AAEA,aAAO;QACLiB,MAAM;UACJK,QAAQC,IAAIC,KAAKC,YAAY;
|
|
6
|
-
"names": ["Octokit", "Predicate", "contributes", "Capabilities", "createResolver", "createIntent", "LayoutAction", "Obj", "Ref", "ScriptType", "TokenManagerAction", "DataType", "contributes", "Capabilities", "IntentResolver", "createResolver", "intent", "ScriptAction", "Create", "resolve", "name", "gistUrl", "initialTemplateId", "content", "templates", "source", "gistId", "split", "at", "octokit", "Octokit", "response", "request", "gist_id", "gistContent", "Object", "values", "data", "files", "template", "find", "id", "object", "Obj", "make", "ScriptType", "Ref", "DataType", "
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Octokit } from '@octokit/core';\nimport { Predicate } from 'effect';\n\nimport { contributes, Capabilities, createResolver, createIntent, LayoutAction } from '@dxos/app-framework';\nimport { Obj, Ref } from '@dxos/echo';\nimport { ScriptType } from '@dxos/functions';\nimport { TokenManagerAction } from '@dxos/plugin-token-manager/types';\nimport { DataType } from '@dxos/schema';\n\nimport { DEPLOYMENT_DIALOG } from '../components';\nimport { defaultScriptsForIntegration } from '../meta';\nimport { templates } from '../templates';\nimport { ScriptAction } from '../types';\n\nexport default () =>\n contributes(Capabilities.IntentResolver, [\n createResolver({\n intent: ScriptAction.Create,\n resolve: async ({ name, gistUrl, initialTemplateId }) => {\n let content = templates[0].source;\n\n const gistId = gistUrl?.split('/').at(-1);\n if (gistId) {\n // TODO(wittjosiah): Capability which contributes Octokit?\n // NOTE: AccessToken not needed to read public gists.\n const octokit = new Octokit();\n const response = await octokit.request('GET /gists/{gist_id}', {\n gist_id: gistId,\n });\n const gistContent = Object.values(response.data.files ?? {})[0]?.content;\n if (gistContent) {\n content = gistContent;\n }\n }\n\n if (initialTemplateId) {\n const template = templates.find((template) => template.id === initialTemplateId);\n if (template) {\n content = template.source;\n name = template.name;\n }\n }\n\n return {\n data: {\n object: Obj.make(ScriptType, { name, source: Ref.make(DataType.makeText(content)) }),\n },\n };\n },\n }),\n createResolver({\n intent: TokenManagerAction.AccessTokenCreated,\n resolve: async ({ accessToken }) => {\n const scriptTemplates = (defaultScriptsForIntegration[accessToken.source] ?? [])\n .map((id) => templates.find((t) => t.id === id))\n .filter(Predicate.isNotNullable);\n\n if (scriptTemplates.length > 0) {\n return {\n intents: [\n createIntent(LayoutAction.UpdateDialog, {\n part: 'dialog',\n subject: DEPLOYMENT_DIALOG,\n options: { blockAlign: 'start', state: true, props: { accessToken, scriptTemplates } },\n }),\n ],\n };\n }\n\n return { data: undefined };\n },\n }),\n ]);\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAIA,SAASA,eAAe;AACxB,SAASC,iBAAiB;AAE1B,SAASC,aAAaC,cAAcC,gBAAgBC,cAAcC,oBAAoB;AACtF,SAASC,KAAKC,WAAW;AACzB,SAASC,kBAAkB;AAC3B,SAASC,0BAA0B;AACnC,SAASC,gBAAgB;AAOzB,IAAA,0BAAe,MACbC,YAAYC,aAAaC,gBAAgB;EACvCC,eAAe;IACbC,QAAQC,aAAaC;IACrBC,SAAS,OAAO,EAAEC,MAAMC,SAASC,kBAAiB,MAAE;AAClD,UAAIC,UAAUC,UAAU,CAAA,EAAGC;AAE3B,YAAMC,SAASL,SAASM,MAAM,GAAA,EAAKC,GAAG,EAAC;AACvC,UAAIF,QAAQ;AAGV,cAAMG,UAAU,IAAIC,QAAAA;AACpB,cAAMC,WAAW,MAAMF,QAAQG,QAAQ,wBAAwB;UAC7DC,SAASP;QACX,CAAA;AACA,cAAMQ,cAAcC,OAAOC,OAAOL,SAASM,KAAKC,SAAS,CAAC,CAAA,EAAG,CAAA,GAAIf;AACjE,YAAIW,aAAa;AACfX,oBAAUW;QACZ;MACF;AAEA,UAAIZ,mBAAmB;AACrB,cAAMiB,WAAWf,UAAUgB,KAAK,CAACD,cAAaA,UAASE,OAAOnB,iBAAAA;AAC9D,YAAIiB,UAAU;AACZhB,oBAAUgB,SAASd;AACnBL,iBAAOmB,SAASnB;QAClB;MACF;AAEA,aAAO;QACLiB,MAAM;UACJK,QAAQC,IAAIC,KAAKC,YAAY;YAAEzB;YAAMK,QAAQqB,IAAIF,KAAKG,SAASC,SAASzB,OAAAA,CAAAA;UAAU,CAAA;QACpF;MACF;IACF;EACF,CAAA;EACAR,eAAe;IACbC,QAAQiC,mBAAmBC;IAC3B/B,SAAS,OAAO,EAAEgC,YAAW,MAAE;AAC7B,YAAMC,mBAAmBC,6BAA6BF,YAAY1B,MAAM,KAAK,CAAA,GAC1E6B,IAAI,CAACb,OAAOjB,UAAUgB,KAAK,CAACe,MAAMA,EAAEd,OAAOA,EAAAA,CAAAA,EAC3Ce,OAAOC,UAAUC,aAAa;AAEjC,UAAIN,gBAAgBO,SAAS,GAAG;AAC9B,eAAO;UACLC,SAAS;YACPC,aAAaC,aAAaC,cAAc;cACtCC,MAAM;cACNC,SAASC;cACTC,SAAS;gBAAEC,YAAY;gBAASC,OAAO;gBAAMC,OAAO;kBAAEnB;kBAAaC;gBAAgB;cAAE;YACvF,CAAA;;QAEJ;MACF;AAEA,aAAO;QAAEf,MAAMkC;MAAU;IAC3B;EACF,CAAA;CACD;",
|
|
6
|
+
"names": ["Octokit", "Predicate", "contributes", "Capabilities", "createResolver", "createIntent", "LayoutAction", "Obj", "Ref", "ScriptType", "TokenManagerAction", "DataType", "contributes", "Capabilities", "IntentResolver", "createResolver", "intent", "ScriptAction", "Create", "resolve", "name", "gistUrl", "initialTemplateId", "content", "templates", "source", "gistId", "split", "at", "octokit", "Octokit", "response", "request", "gist_id", "gistContent", "Object", "values", "data", "files", "template", "find", "id", "object", "Obj", "make", "ScriptType", "Ref", "DataType", "makeText", "TokenManagerAction", "AccessTokenCreated", "accessToken", "scriptTemplates", "defaultScriptsForIntegration", "map", "t", "filter", "Predicate", "isNotNullable", "length", "intents", "createIntent", "LayoutAction", "UpdateDialog", "part", "subject", "DEPLOYMENT_DIALOG", "options", "blockAlign", "state", "props", "undefined"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/meta.ts":{"bytes":2940,"imports":[],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":1319,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":8330,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/artifact-definition.ts":{"bytes":26874,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/blueprints","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/compiler/compiler.ts":{"bytes":5645,"imports":[{"path":"@typescript/vfs","kind":"import-statement","external":true},{"path":"typescript","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/compiler/index.ts":{"bytes":466,"imports":[{"path":"src/compiler/compiler.ts","kind":"import-statement","original":"./compiler"}],"format":"esm"},"src/capabilities/compiler.ts":{"bytes":3419,"imports":[{"path":"esbuild-wasm/esbuild.wasm?url","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions/bundler","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/compiler/index.ts","kind":"import-statement","original":"../compiler"}],"format":"esm"},"src/components/Settings/ScriptObjectSettings.tsx":{"bytes":26211,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@octokit/core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/Settings/ScriptPluginSettings.tsx":{"bytes":8525,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/Settings/index.ts":{"bytes":629,"imports":[{"path":"src/components/Settings/ScriptObjectSettings.tsx","kind":"import-statement","original":"./ScriptObjectSettings"},{"path":"src/components/Settings/ScriptPluginSettings.tsx","kind":"import-statement","original":"./ScriptPluginSettings"}],"format":"esm"},"src/components/TestPanel/TestPanel.tsx":{"bytes":29369,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/util/functions.ts":{"bytes":5730,"imports":[{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"format":"esm"},"src/util/deploy.ts":{"bytes":12879,"imports":[{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions/bundler","kind":"import-statement","external":true},{"path":"@dxos/functions/edge","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/util/functions.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"src/util/index.ts":{"bytes":549,"imports":[{"path":"src/util/deploy.ts","kind":"import-statement","original":"./deploy"},{"path":"src/util/functions.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"src/hooks/deploy.ts":{"bytes":13921,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/hooks/format.ts":{"bytes":4737,"imports":[{"path":"prettier","kind":"import-statement","external":true},{"path":"prettier/plugins/estree","kind":"import-statement","external":true},{"path":"prettier/plugins/typescript","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"raw-loader:./chat.ts?raw":{"bytes":2751,"imports":[]},"raw-loader:./chess.ts?raw":{"bytes":1365,"imports":[]},"raw-loader:./data-generator.ts?raw":{"bytes":1464,"imports":[]},"raw-loader:./discord.ts?raw":{"bytes":3687,"imports":[]},"raw-loader:./echo.ts?raw":{"bytes":115,"imports":[]},"raw-loader:./email.ts?raw":{"bytes":1032,"imports":[]},"raw-loader:./forex-effect.ts?raw":{"bytes":1266,"imports":[]},"raw-loader:./forex.ts?raw":{"bytes":621,"imports":[]},"raw-loader:./gmail.ts?raw":{"bytes":8826,"imports":[]},"src/templates/index.ts":{"bytes":5995,"imports":[{"path":"raw-loader:./chat.ts?raw","kind":"import-statement","original":"./chat.ts?raw"},{"path":"raw-loader:./chess.ts?raw","kind":"import-statement","original":"./chess.ts?raw"},{"path":"raw-loader:./data-generator.ts?raw","kind":"import-statement","original":"./data-generator.ts?raw"},{"path":"raw-loader:./discord.ts?raw","kind":"import-statement","original":"./discord.ts?raw"},{"path":"raw-loader:./echo.ts?raw","kind":"import-statement","original":"./echo.ts?raw"},{"path":"raw-loader:./email.ts?raw","kind":"import-statement","original":"./email.ts?raw"},{"path":"raw-loader:./forex-effect.ts?raw","kind":"import-statement","original":"./forex-effect.ts?raw"},{"path":"raw-loader:./forex.ts?raw","kind":"import-statement","original":"./forex.ts?raw"},{"path":"raw-loader:./gmail.ts?raw","kind":"import-statement","original":"./gmail.ts?raw"}],"format":"esm"},"src/hooks/template.ts":{"bytes":6900,"imports":[{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/templates/index.ts","kind":"import-statement","original":"../templates"}],"format":"esm"},"src/types/schema.ts":{"bytes":4260,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/index.ts":{"bytes":461,"imports":[{"path":"src/types/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/hooks/useCreateAndDeployScriptTemplates.ts":{"bytes":8132,"imports":[{"path":"effect/Function","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/hooks/useToolbarState.ts":{"bytes":1429,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/index.ts":{"bytes":891,"imports":[{"path":"src/hooks/deploy.ts","kind":"import-statement","original":"./deploy"},{"path":"src/hooks/format.ts","kind":"import-statement","original":"./format"},{"path":"src/hooks/template.ts","kind":"import-statement","original":"./template"},{"path":"src/hooks/useCreateAndDeployScriptTemplates.ts","kind":"import-statement","original":"./useCreateAndDeployScriptTemplates"},{"path":"src/hooks/useToolbarState.ts","kind":"import-statement","original":"./useToolbarState"}],"format":"esm"},"src/components/TestPanel/TestContainer.tsx":{"bytes":2447,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/components/TestPanel/TestPanel.tsx","kind":"import-statement","original":"./TestPanel"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"src/components/TestPanel/index.ts":{"bytes":584,"imports":[{"path":"src/components/TestPanel/TestContainer.tsx","kind":"import-statement","original":"./TestContainer"},{"path":"src/components/TestPanel/TestPanel.tsx","kind":"import-statement","original":"./TestPanel"}],"format":"esm"},"src/components/DeploymentDialog/DeploymentDialog.tsx":{"bytes":17268,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/hooks/useCreateAndDeployScriptTemplates.ts","kind":"import-statement","original":"../../hooks/useCreateAndDeployScriptTemplates"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/DeploymentDialog/index.ts":{"bytes":894,"imports":[{"path":"src/components/DeploymentDialog/DeploymentDialog.tsx","kind":"import-statement","original":"./DeploymentDialog"}],"format":"esm"},"src/components/ScriptToolbar/ScriptToolbar.tsx":{"bytes":7571,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/ScriptToolbar/index.ts":{"bytes":499,"imports":[{"path":"src/components/ScriptToolbar/ScriptToolbar.tsx","kind":"import-statement","original":"./ScriptToolbar"}],"format":"esm"},"src/components/TypescriptEditor/TypescriptEditor.tsx":{"bytes":14549,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@codemirror/lang-javascript","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/lint","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/theme-one-dark","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"@valtown/codemirror-continue","kind":"import-statement","external":true},{"path":"@valtown/codemirror-ts","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/components/TypescriptEditor/index.ts":{"bytes":509,"imports":[{"path":"src/components/TypescriptEditor/TypescriptEditor.tsx","kind":"import-statement","original":"./TypescriptEditor"}],"format":"esm"},"src/components/ScriptContainer.tsx":{"bytes":7669,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/components/ScriptToolbar/index.ts","kind":"import-statement","original":"./ScriptToolbar"},{"path":"src/components/TypescriptEditor/index.ts","kind":"import-statement","original":"./TypescriptEditor"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/components/index.ts":{"bytes":1409,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/Settings/index.ts","kind":"import-statement","original":"./Settings"},{"path":"src/components/TestPanel/index.ts","kind":"import-statement","original":"./TestPanel"},{"path":"src/components/DeploymentDialog/index.ts","kind":"import-statement","original":"./DeploymentDialog"},{"path":"src/components/ScriptContainer.tsx","kind":"dynamic-import","original":"./ScriptContainer"},{"path":"src/components/DeploymentDialog/index.ts","kind":"dynamic-import","original":"./DeploymentDialog"}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":10526,"imports":[{"path":"@octokit/core","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-token-manager/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/templates/index.ts","kind":"import-statement","original":"../templates"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":13044,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/settings.ts":{"bytes":2006,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":2135,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/artifact-definition.ts","kind":"dynamic-import","original":"./artifact-definition"},{"path":"src/capabilities/compiler.ts","kind":"dynamic-import","original":"./compiler"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"}],"format":"esm"},"src/events.ts":{"bytes":1184,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/translations.ts":{"bytes":11888,"imports":[{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/ScriptPlugin.tsx":{"bytes":11465,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":836,"imports":[{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/ScriptPlugin.tsx","kind":"import-statement","original":"./ScriptPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/intent-resolver-7B77IG3N.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5100},"dist/lib/browser/intent-resolver-7B77IG3N.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FIM2MVNJ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-P4HQKUCP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-3U6DTUH3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-R4R7VOFY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FMDXKOP7.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@octokit/core","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-token-manager/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":2263}},"bytes":2737},"dist/lib/browser/react-surface-FYYXZA7C.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6465},"dist/lib/browser/react-surface-FYYXZA7C.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FIM2MVNJ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5TVBECWH.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-P4HQKUCP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-3U6DTUH3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-R4R7VOFY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FMDXKOP7.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":2935}},"bytes":3528},"dist/lib/browser/settings-KCTBK5TY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1017},"dist/lib/browser/settings-KCTBK5TY.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/settings.ts","inputs":{"src/capabilities/settings.ts":{"bytesInOutput":352}},"bytes":584},"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12298},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FIM2MVNJ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5TVBECWH.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-P4HQKUCP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-3U6DTUH3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-R4R7VOFY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FMDXKOP7.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-HLQ7K3BT.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/artifact-definition-24Q3IHOU.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/compiler-CXCUA4UQ.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-7B77IG3N.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-FYYXZA7C.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/settings-KCTBK5TY.mjs","kind":"dynamic-import"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true}],"exports":["DEPLOYMENT_DIALOG","DeploymentDialog","SCRIPT_PLUGIN","ScriptCapabilities","ScriptContainer","ScriptObjectSettings","ScriptPlugin","ScriptPluginSettings","ScriptProperties","TestContainer","TestPanel","defaultScriptsForIntegration","meta"],"entryPoint":"src/index.ts","inputs":{"src/capabilities/index.ts":{"bytesInOutput":481},"src/index.ts":{"bytesInOutput":0},"src/ScriptPlugin.tsx":{"bytesInOutput":2509},"src/events.ts":{"bytesInOutput":223},"src/translations.ts":{"bytesInOutput":3955}},"bytes":8130},"dist/lib/browser/chunk-FIM2MVNJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":33879},"dist/lib/browser/chunk-FIM2MVNJ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-3U6DTUH3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@octokit/core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/browser/ScriptContainer-Z6SIGRRC.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/DeploymentDialog-M4QIHTDR.mjs","kind":"dynamic-import"}],"exports":["DeploymentDialog","ScriptContainer","ScriptObjectSettings","ScriptPluginSettings","ScriptProperties","TestContainer","TestPanel"],"inputs":{"src/components/Settings/ScriptObjectSettings.tsx":{"bytesInOutput":7800},"src/components/Settings/ScriptPluginSettings.tsx":{"bytesInOutput":2335},"src/components/TestPanel/TestPanel.tsx":{"bytesInOutput":8574},"src/components/TestPanel/TestContainer.tsx":{"bytesInOutput":537},"src/components/index.ts":{"bytesInOutput":184},"src/components/Settings/index.ts":{"bytesInOutput":0},"src/components/TestPanel/index.ts":{"bytesInOutput":0}},"bytes":19987},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"}],"exports":["ScriptAction","ScriptSettingsSchema"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":198},"dist/lib/browser/templates/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/templates/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-R4R7VOFY.mjs","kind":"import-statement"}],"exports":["dataGenerator","templates"],"entryPoint":"src/templates/index.ts","inputs":{},"bytes":181},"dist/lib/browser/app-graph-builder-HLQ7K3BT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3955},"dist/lib/browser/app-graph-builder-HLQ7K3BT.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":1815}},"bytes":2011},"dist/lib/browser/artifact-definition-24Q3IHOU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12211},"dist/lib/browser/artifact-definition-24Q3IHOU.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/blueprints","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/artifact-definition.ts","inputs":{"src/capabilities/artifact-definition.ts":{"bytesInOutput":9211}},"bytes":9413},"dist/lib/browser/compiler-CXCUA4UQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4173},"dist/lib/browser/compiler-CXCUA4UQ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5TVBECWH.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"esbuild-wasm/esbuild.wasm?url","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions/bundler","kind":"import-statement","external":true},{"path":"@typescript/vfs","kind":"import-statement","external":true},{"path":"typescript","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/compiler.ts","inputs":{"src/capabilities/compiler.ts":{"bytesInOutput":728},"src/compiler/compiler.ts":{"bytesInOutput":1414},"src/compiler/index.ts":{"bytesInOutput":0}},"bytes":2418},"dist/lib/browser/chunk-5TVBECWH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":654},"dist/lib/browser/chunk-5TVBECWH.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["ScriptCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":251}},"bytes":413},"dist/lib/browser/DeploymentDialog-M4QIHTDR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/DeploymentDialog-M4QIHTDR.mjs":{"imports":[{"path":"dist/lib/browser/chunk-P4HQKUCP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FMDXKOP7.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"}],"exports":["DEPLOYMENT_DIALOG","default"],"entryPoint":"src/components/DeploymentDialog/index.ts","inputs":{},"bytes":307},"dist/lib/browser/chunk-P4HQKUCP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8297},"dist/lib/browser/chunk-P4HQKUCP.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FMDXKOP7.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["DEPLOYMENT_DIALOG","DeploymentDialog_default"],"inputs":{"src/components/DeploymentDialog/DeploymentDialog.tsx":{"bytesInOutput":4846},"src/components/DeploymentDialog/index.ts":{"bytesInOutput":49}},"bytes":5234},"dist/lib/browser/ScriptContainer-Z6SIGRRC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":14949},"dist/lib/browser/ScriptContainer-Z6SIGRRC.mjs":{"imports":[{"path":"dist/lib/browser/chunk-3U6DTUH3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-R4R7VOFY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FMDXKOP7.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@codemirror/lang-javascript","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/lint","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/theme-one-dark","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"@valtown/codemirror-continue","kind":"import-statement","external":true},{"path":"@valtown/codemirror-ts","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ScriptContainer","default"],"entryPoint":"src/components/ScriptContainer.tsx","inputs":{"src/components/ScriptContainer.tsx":{"bytesInOutput":1792},"src/components/ScriptToolbar/ScriptToolbar.tsx":{"bytesInOutput":1767},"src/components/ScriptToolbar/index.ts":{"bytesInOutput":0},"src/components/TypescriptEditor/TypescriptEditor.tsx":{"bytesInOutput":3631},"src/components/TypescriptEditor/index.ts":{"bytesInOutput":0}},"bytes":7796},"dist/lib/browser/chunk-3U6DTUH3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13591},"dist/lib/browser/chunk-3U6DTUH3.mjs":{"imports":[{"path":"dist/lib/browser/chunk-R4R7VOFY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FMDXKOP7.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"prettier","kind":"import-statement","external":true},{"path":"prettier/plugins/estree","kind":"import-statement","external":true},{"path":"prettier/plugins/typescript","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true}],"exports":["createDeploy","createFormat","createTemplateSelect","useDeployDeps","useDeployState","useToolbarState"],"inputs":{"src/hooks/deploy.ts":{"bytesInOutput":3418},"src/hooks/useToolbarState.ts":{"bytesInOutput":186},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/format.ts":{"bytesInOutput":1221},"src/hooks/template.ts":{"bytesInOutput":1630}},"bytes":6929},"dist/lib/browser/chunk-R4R7VOFY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":25048},"dist/lib/browser/chunk-R4R7VOFY.mjs":{"imports":[],"exports":["data_generator_default","templates"],"inputs":{"raw-loader:./chat.ts?raw":{"bytesInOutput":2877},"raw-loader:./chess.ts?raw":{"bytesInOutput":1436},"raw-loader:./data-generator.ts?raw":{"bytesInOutput":1545},"raw-loader:./discord.ts?raw":{"bytesInOutput":3825},"raw-loader:./echo.ts?raw":{"bytesInOutput":146},"raw-loader:./email.ts?raw":{"bytesInOutput":1092},"raw-loader:./forex-effect.ts?raw":{"bytesInOutput":1335},"raw-loader:./forex.ts?raw":{"bytesInOutput":669},"raw-loader:./gmail.ts?raw":{"bytesInOutput":9106},"src/templates/index.ts":{"bytesInOutput":1297}},"bytes":23735},"dist/lib/browser/chunk-FMDXKOP7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13713},"dist/lib/browser/chunk-FMDXKOP7.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions/bundler","kind":"import-statement","external":true},{"path":"@dxos/functions/edge","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true}],"exports":["deployScript","getFunctionUrl","isScriptDeployed","useCreateAndDeployScriptTemplates"],"inputs":{"src/util/functions.ts":{"bytesInOutput":1584},"src/util/deploy.ts":{"bytesInOutput":3125},"src/util/index.ts":{"bytesInOutput":0},"src/hooks/useCreateAndDeployScriptTemplates.ts":{"bytesInOutput":1950}},"bytes":6961},"dist/lib/browser/chunk-IS4OG2UW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2272},"dist/lib/browser/chunk-IS4OG2UW.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true}],"exports":["ScriptAction","ScriptSettingsSchema"],"inputs":{"src/types/schema.ts":{"bytesInOutput":964},"src/types/index.ts":{"bytesInOutput":0}},"bytes":1131},"dist/lib/browser/chunk-QYAREHGH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1378},"dist/lib/browser/chunk-QYAREHGH.mjs":{"imports":[],"exports":["SCRIPT_PLUGIN","defaultScriptsForIntegration","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":760}},"bytes":888}}}
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":2940,"imports":[],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":1319,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":8330,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/artifact-definition.ts":{"bytes":26603,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/blueprints","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/compiler/compiler.ts":{"bytes":5645,"imports":[{"path":"@typescript/vfs","kind":"import-statement","external":true},{"path":"typescript","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/compiler/index.ts":{"bytes":466,"imports":[{"path":"src/compiler/compiler.ts","kind":"import-statement","original":"./compiler"}],"format":"esm"},"src/capabilities/compiler.ts":{"bytes":3419,"imports":[{"path":"esbuild-wasm/esbuild.wasm?url","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions/bundler","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/compiler/index.ts","kind":"import-statement","original":"../compiler"}],"format":"esm"},"src/components/Settings/ScriptObjectSettings.tsx":{"bytes":26211,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@octokit/core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/Settings/ScriptPluginSettings.tsx":{"bytes":8525,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/Settings/index.ts":{"bytes":629,"imports":[{"path":"src/components/Settings/ScriptObjectSettings.tsx","kind":"import-statement","original":"./ScriptObjectSettings"},{"path":"src/components/Settings/ScriptPluginSettings.tsx","kind":"import-statement","original":"./ScriptPluginSettings"}],"format":"esm"},"src/components/TestPanel/TestPanel.tsx":{"bytes":29369,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/util/functions.ts":{"bytes":5730,"imports":[{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"format":"esm"},"src/util/deploy.ts":{"bytes":12879,"imports":[{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions/bundler","kind":"import-statement","external":true},{"path":"@dxos/functions/edge","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/util/functions.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"src/util/index.ts":{"bytes":549,"imports":[{"path":"src/util/deploy.ts","kind":"import-statement","original":"./deploy"},{"path":"src/util/functions.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"src/hooks/deploy.ts":{"bytes":13921,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/hooks/format.ts":{"bytes":4737,"imports":[{"path":"prettier","kind":"import-statement","external":true},{"path":"prettier/plugins/estree","kind":"import-statement","external":true},{"path":"prettier/plugins/typescript","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"raw-loader:./chat.ts?raw":{"bytes":2751,"imports":[]},"raw-loader:./chess.ts?raw":{"bytes":1365,"imports":[]},"raw-loader:./data-generator.ts?raw":{"bytes":1464,"imports":[]},"raw-loader:./discord.ts?raw":{"bytes":3687,"imports":[]},"raw-loader:./echo.ts?raw":{"bytes":115,"imports":[]},"raw-loader:./email.ts?raw":{"bytes":1032,"imports":[]},"raw-loader:./forex-effect.ts?raw":{"bytes":1266,"imports":[]},"raw-loader:./forex.ts?raw":{"bytes":621,"imports":[]},"raw-loader:./gmail.ts?raw":{"bytes":8826,"imports":[]},"src/templates/index.ts":{"bytes":5995,"imports":[{"path":"raw-loader:./chat.ts?raw","kind":"import-statement","original":"./chat.ts?raw"},{"path":"raw-loader:./chess.ts?raw","kind":"import-statement","original":"./chess.ts?raw"},{"path":"raw-loader:./data-generator.ts?raw","kind":"import-statement","original":"./data-generator.ts?raw"},{"path":"raw-loader:./discord.ts?raw","kind":"import-statement","original":"./discord.ts?raw"},{"path":"raw-loader:./echo.ts?raw","kind":"import-statement","original":"./echo.ts?raw"},{"path":"raw-loader:./email.ts?raw","kind":"import-statement","original":"./email.ts?raw"},{"path":"raw-loader:./forex-effect.ts?raw","kind":"import-statement","original":"./forex-effect.ts?raw"},{"path":"raw-loader:./forex.ts?raw","kind":"import-statement","original":"./forex.ts?raw"},{"path":"raw-loader:./gmail.ts?raw","kind":"import-statement","original":"./gmail.ts?raw"}],"format":"esm"},"src/hooks/template.ts":{"bytes":6900,"imports":[{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/templates/index.ts","kind":"import-statement","original":"../templates"}],"format":"esm"},"src/types/schema.ts":{"bytes":4260,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/index.ts":{"bytes":461,"imports":[{"path":"src/types/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/hooks/useCreateAndDeployScriptTemplates.ts":{"bytes":8132,"imports":[{"path":"effect/Function","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/hooks/useToolbarState.ts":{"bytes":1429,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/index.ts":{"bytes":891,"imports":[{"path":"src/hooks/deploy.ts","kind":"import-statement","original":"./deploy"},{"path":"src/hooks/format.ts","kind":"import-statement","original":"./format"},{"path":"src/hooks/template.ts","kind":"import-statement","original":"./template"},{"path":"src/hooks/useCreateAndDeployScriptTemplates.ts","kind":"import-statement","original":"./useCreateAndDeployScriptTemplates"},{"path":"src/hooks/useToolbarState.ts","kind":"import-statement","original":"./useToolbarState"}],"format":"esm"},"src/components/TestPanel/TestContainer.tsx":{"bytes":2447,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/components/TestPanel/TestPanel.tsx","kind":"import-statement","original":"./TestPanel"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"src/components/TestPanel/index.ts":{"bytes":584,"imports":[{"path":"src/components/TestPanel/TestContainer.tsx","kind":"import-statement","original":"./TestContainer"},{"path":"src/components/TestPanel/TestPanel.tsx","kind":"import-statement","original":"./TestPanel"}],"format":"esm"},"src/components/DeploymentDialog/DeploymentDialog.tsx":{"bytes":17268,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/hooks/useCreateAndDeployScriptTemplates.ts","kind":"import-statement","original":"../../hooks/useCreateAndDeployScriptTemplates"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/DeploymentDialog/index.ts":{"bytes":894,"imports":[{"path":"src/components/DeploymentDialog/DeploymentDialog.tsx","kind":"import-statement","original":"./DeploymentDialog"}],"format":"esm"},"src/components/ScriptToolbar/ScriptToolbar.tsx":{"bytes":7571,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/ScriptToolbar/index.ts":{"bytes":499,"imports":[{"path":"src/components/ScriptToolbar/ScriptToolbar.tsx","kind":"import-statement","original":"./ScriptToolbar"}],"format":"esm"},"src/components/TypescriptEditor/TypescriptEditor.tsx":{"bytes":14549,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@codemirror/lang-javascript","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/lint","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/theme-one-dark","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"@valtown/codemirror-continue","kind":"import-statement","external":true},{"path":"@valtown/codemirror-ts","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/components/TypescriptEditor/index.ts":{"bytes":509,"imports":[{"path":"src/components/TypescriptEditor/TypescriptEditor.tsx","kind":"import-statement","original":"./TypescriptEditor"}],"format":"esm"},"src/components/ScriptContainer.tsx":{"bytes":7669,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/components/ScriptToolbar/index.ts","kind":"import-statement","original":"./ScriptToolbar"},{"path":"src/components/TypescriptEditor/index.ts","kind":"import-statement","original":"./TypescriptEditor"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/components/index.ts":{"bytes":1409,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/Settings/index.ts","kind":"import-statement","original":"./Settings"},{"path":"src/components/TestPanel/index.ts","kind":"import-statement","original":"./TestPanel"},{"path":"src/components/DeploymentDialog/index.ts","kind":"import-statement","original":"./DeploymentDialog"},{"path":"src/components/ScriptContainer.tsx","kind":"dynamic-import","original":"./ScriptContainer"},{"path":"src/components/DeploymentDialog/index.ts","kind":"dynamic-import","original":"./DeploymentDialog"}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":10348,"imports":[{"path":"@octokit/core","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-token-manager/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/templates/index.ts","kind":"import-statement","original":"../templates"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":13044,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/settings.ts":{"bytes":2006,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":2135,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/artifact-definition.ts","kind":"dynamic-import","original":"./artifact-definition"},{"path":"src/capabilities/compiler.ts","kind":"dynamic-import","original":"./compiler"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"}],"format":"esm"},"src/events.ts":{"bytes":1184,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/translations.ts":{"bytes":11888,"imports":[{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/ScriptPlugin.tsx":{"bytes":11465,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":836,"imports":[{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/ScriptPlugin.tsx","kind":"import-statement","original":"./ScriptPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/intent-resolver-S3H2SMUY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5029},"dist/lib/browser/intent-resolver-S3H2SMUY.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FIM2MVNJ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-P4HQKUCP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-3U6DTUH3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-R4R7VOFY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FMDXKOP7.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@octokit/core","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-token-manager/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":2227}},"bytes":2701},"dist/lib/browser/react-surface-FYYXZA7C.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6465},"dist/lib/browser/react-surface-FYYXZA7C.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FIM2MVNJ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5TVBECWH.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-P4HQKUCP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-3U6DTUH3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-R4R7VOFY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FMDXKOP7.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":2935}},"bytes":3528},"dist/lib/browser/settings-KCTBK5TY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1017},"dist/lib/browser/settings-KCTBK5TY.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/settings.ts","inputs":{"src/capabilities/settings.ts":{"bytesInOutput":352}},"bytes":584},"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12298},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FIM2MVNJ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5TVBECWH.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-P4HQKUCP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-3U6DTUH3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-R4R7VOFY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FMDXKOP7.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-HLQ7K3BT.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/artifact-definition-CK3BIBSI.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/compiler-CXCUA4UQ.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-S3H2SMUY.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-FYYXZA7C.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/settings-KCTBK5TY.mjs","kind":"dynamic-import"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true}],"exports":["DEPLOYMENT_DIALOG","DeploymentDialog","SCRIPT_PLUGIN","ScriptCapabilities","ScriptContainer","ScriptObjectSettings","ScriptPlugin","ScriptPluginSettings","ScriptProperties","TestContainer","TestPanel","defaultScriptsForIntegration","meta"],"entryPoint":"src/index.ts","inputs":{"src/capabilities/index.ts":{"bytesInOutput":481},"src/index.ts":{"bytesInOutput":0},"src/ScriptPlugin.tsx":{"bytesInOutput":2509},"src/events.ts":{"bytesInOutput":223},"src/translations.ts":{"bytesInOutput":3955}},"bytes":8130},"dist/lib/browser/chunk-FIM2MVNJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":33879},"dist/lib/browser/chunk-FIM2MVNJ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-3U6DTUH3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@octokit/core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/browser/ScriptContainer-Z6SIGRRC.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/DeploymentDialog-M4QIHTDR.mjs","kind":"dynamic-import"}],"exports":["DeploymentDialog","ScriptContainer","ScriptObjectSettings","ScriptPluginSettings","ScriptProperties","TestContainer","TestPanel"],"inputs":{"src/components/Settings/ScriptObjectSettings.tsx":{"bytesInOutput":7800},"src/components/Settings/ScriptPluginSettings.tsx":{"bytesInOutput":2335},"src/components/TestPanel/TestPanel.tsx":{"bytesInOutput":8574},"src/components/TestPanel/TestContainer.tsx":{"bytesInOutput":537},"src/components/index.ts":{"bytesInOutput":184},"src/components/Settings/index.ts":{"bytesInOutput":0},"src/components/TestPanel/index.ts":{"bytesInOutput":0}},"bytes":19987},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"}],"exports":["ScriptAction","ScriptSettingsSchema"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":198},"dist/lib/browser/templates/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/templates/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-R4R7VOFY.mjs","kind":"import-statement"}],"exports":["dataGenerator","templates"],"entryPoint":"src/templates/index.ts","inputs":{},"bytes":181},"dist/lib/browser/app-graph-builder-HLQ7K3BT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3955},"dist/lib/browser/app-graph-builder-HLQ7K3BT.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":1815}},"bytes":2011},"dist/lib/browser/artifact-definition-CK3BIBSI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12068},"dist/lib/browser/artifact-definition-CK3BIBSI.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/blueprints","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/artifact-definition.ts","inputs":{"src/capabilities/artifact-definition.ts":{"bytesInOutput":9166}},"bytes":9368},"dist/lib/browser/compiler-CXCUA4UQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4173},"dist/lib/browser/compiler-CXCUA4UQ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5TVBECWH.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"esbuild-wasm/esbuild.wasm?url","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions/bundler","kind":"import-statement","external":true},{"path":"@typescript/vfs","kind":"import-statement","external":true},{"path":"typescript","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/compiler.ts","inputs":{"src/capabilities/compiler.ts":{"bytesInOutput":728},"src/compiler/compiler.ts":{"bytesInOutput":1414},"src/compiler/index.ts":{"bytesInOutput":0}},"bytes":2418},"dist/lib/browser/chunk-5TVBECWH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":654},"dist/lib/browser/chunk-5TVBECWH.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["ScriptCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":251}},"bytes":413},"dist/lib/browser/DeploymentDialog-M4QIHTDR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/DeploymentDialog-M4QIHTDR.mjs":{"imports":[{"path":"dist/lib/browser/chunk-P4HQKUCP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FMDXKOP7.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"}],"exports":["DEPLOYMENT_DIALOG","default"],"entryPoint":"src/components/DeploymentDialog/index.ts","inputs":{},"bytes":307},"dist/lib/browser/chunk-P4HQKUCP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8297},"dist/lib/browser/chunk-P4HQKUCP.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FMDXKOP7.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["DEPLOYMENT_DIALOG","DeploymentDialog_default"],"inputs":{"src/components/DeploymentDialog/DeploymentDialog.tsx":{"bytesInOutput":4846},"src/components/DeploymentDialog/index.ts":{"bytesInOutput":49}},"bytes":5234},"dist/lib/browser/ScriptContainer-Z6SIGRRC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":14949},"dist/lib/browser/ScriptContainer-Z6SIGRRC.mjs":{"imports":[{"path":"dist/lib/browser/chunk-3U6DTUH3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-R4R7VOFY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FMDXKOP7.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@codemirror/lang-javascript","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/lint","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/theme-one-dark","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"@valtown/codemirror-continue","kind":"import-statement","external":true},{"path":"@valtown/codemirror-ts","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ScriptContainer","default"],"entryPoint":"src/components/ScriptContainer.tsx","inputs":{"src/components/ScriptContainer.tsx":{"bytesInOutput":1792},"src/components/ScriptToolbar/ScriptToolbar.tsx":{"bytesInOutput":1767},"src/components/ScriptToolbar/index.ts":{"bytesInOutput":0},"src/components/TypescriptEditor/TypescriptEditor.tsx":{"bytesInOutput":3631},"src/components/TypescriptEditor/index.ts":{"bytesInOutput":0}},"bytes":7796},"dist/lib/browser/chunk-3U6DTUH3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13591},"dist/lib/browser/chunk-3U6DTUH3.mjs":{"imports":[{"path":"dist/lib/browser/chunk-R4R7VOFY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FMDXKOP7.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"prettier","kind":"import-statement","external":true},{"path":"prettier/plugins/estree","kind":"import-statement","external":true},{"path":"prettier/plugins/typescript","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true}],"exports":["createDeploy","createFormat","createTemplateSelect","useDeployDeps","useDeployState","useToolbarState"],"inputs":{"src/hooks/deploy.ts":{"bytesInOutput":3418},"src/hooks/useToolbarState.ts":{"bytesInOutput":186},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/format.ts":{"bytesInOutput":1221},"src/hooks/template.ts":{"bytesInOutput":1630}},"bytes":6929},"dist/lib/browser/chunk-R4R7VOFY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":25048},"dist/lib/browser/chunk-R4R7VOFY.mjs":{"imports":[],"exports":["data_generator_default","templates"],"inputs":{"raw-loader:./chat.ts?raw":{"bytesInOutput":2877},"raw-loader:./chess.ts?raw":{"bytesInOutput":1436},"raw-loader:./data-generator.ts?raw":{"bytesInOutput":1545},"raw-loader:./discord.ts?raw":{"bytesInOutput":3825},"raw-loader:./echo.ts?raw":{"bytesInOutput":146},"raw-loader:./email.ts?raw":{"bytesInOutput":1092},"raw-loader:./forex-effect.ts?raw":{"bytesInOutput":1335},"raw-loader:./forex.ts?raw":{"bytesInOutput":669},"raw-loader:./gmail.ts?raw":{"bytesInOutput":9106},"src/templates/index.ts":{"bytesInOutput":1297}},"bytes":23735},"dist/lib/browser/chunk-FMDXKOP7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13713},"dist/lib/browser/chunk-FMDXKOP7.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IS4OG2UW.mjs","kind":"import-statement"},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions/bundler","kind":"import-statement","external":true},{"path":"@dxos/functions/edge","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true}],"exports":["deployScript","getFunctionUrl","isScriptDeployed","useCreateAndDeployScriptTemplates"],"inputs":{"src/util/functions.ts":{"bytesInOutput":1584},"src/util/deploy.ts":{"bytesInOutput":3125},"src/util/index.ts":{"bytesInOutput":0},"src/hooks/useCreateAndDeployScriptTemplates.ts":{"bytesInOutput":1950}},"bytes":6961},"dist/lib/browser/chunk-IS4OG2UW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2272},"dist/lib/browser/chunk-IS4OG2UW.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QYAREHGH.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true}],"exports":["ScriptAction","ScriptSettingsSchema"],"inputs":{"src/types/schema.ts":{"bytesInOutput":964},"src/types/index.ts":{"bytesInOutput":0}},"bytes":1131},"dist/lib/browser/chunk-QYAREHGH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1378},"dist/lib/browser/chunk-QYAREHGH.mjs":{"imports":[],"exports":["SCRIPT_PLUGIN","defaultScriptsForIntegration","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":760}},"bytes":888}}}
|
package/dist/lib/node-esm/{artifact-definition-WAJFALUI.mjs → artifact-definition-YCBV4YX2.mjs}
RENAMED
|
@@ -166,9 +166,7 @@ var artifact_definition_default = () => {
|
|
|
166
166
|
});
|
|
167
167
|
const script = Obj.make(ScriptType, {
|
|
168
168
|
name,
|
|
169
|
-
source: Ref.make(
|
|
170
|
-
content: code
|
|
171
|
-
}))
|
|
169
|
+
source: Ref.make(DataType.makeText(code))
|
|
172
170
|
});
|
|
173
171
|
extensions.space.db.add(script);
|
|
174
172
|
await extensions.space.db.flush();
|
|
@@ -193,7 +191,7 @@ var artifact_definition_default = () => {
|
|
|
193
191
|
execute: async ({ id }, { extensions }) => {
|
|
194
192
|
invariant(extensions?.space, "No space", {
|
|
195
193
|
F: __dxlog_file,
|
|
196
|
-
L:
|
|
194
|
+
L: 180,
|
|
197
195
|
S: void 0,
|
|
198
196
|
A: [
|
|
199
197
|
"extensions?.space",
|
|
@@ -221,7 +219,7 @@ var artifact_definition_default = () => {
|
|
|
221
219
|
execute: async ({ id, code }, { extensions }) => {
|
|
222
220
|
invariant(extensions?.space, "No space", {
|
|
223
221
|
F: __dxlog_file,
|
|
224
|
-
L:
|
|
222
|
+
L: 202,
|
|
225
223
|
S: void 0,
|
|
226
224
|
A: [
|
|
227
225
|
"extensions?.space",
|
|
@@ -247,4 +245,4 @@ var artifact_definition_default = () => {
|
|
|
247
245
|
export {
|
|
248
246
|
artifact_definition_default as default
|
|
249
247
|
};
|
|
250
|
-
//# sourceMappingURL=artifact-definition-
|
|
248
|
+
//# sourceMappingURL=artifact-definition-YCBV4YX2.mjs.map
|