@dxos/plugin-thread 0.8.2-main.f11618f → 0.8.2-staging.7ac8446
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/{ChatContainer-WC6KQDDU.mjs → ChatContainer-IOOAQW6S.mjs} +5 -5
- package/dist/lib/browser/ChatContainer-IOOAQW6S.mjs.map +7 -0
- package/dist/lib/browser/{chunk-AYNXYEKP.mjs → chunk-QDJ3Y6WF.mjs} +1 -1
- package/dist/lib/browser/{chunk-AYNXYEKP.mjs.map → chunk-QDJ3Y6WF.mjs.map} +2 -2
- package/dist/lib/browser/{chunk-Q66FBBJD.mjs → chunk-S5ZR4FYW.mjs} +5 -5
- package/dist/lib/browser/{chunk-FY5OCUP6.mjs → chunk-TFVPUPOO.mjs} +2 -2
- package/dist/lib/browser/index.mjs +2 -2
- package/dist/lib/browser/{intent-resolver-3UW6ROYT.mjs → intent-resolver-QAY4FLLM.mjs} +5 -5
- package/dist/lib/browser/intent-resolver-QAY4FLLM.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-F2AIYIUH.mjs → react-surface-MT3OWULR.mjs} +7 -7
- package/dist/lib/browser/{react-surface-F2AIYIUH.mjs.map → react-surface-MT3OWULR.mjs.map} +3 -3
- package/dist/lib/browser/{settings-2VZ7S4SK.mjs → settings-4FEC7EAX.mjs} +3 -3
- package/dist/lib/browser/settings-4FEC7EAX.mjs.map +7 -0
- package/dist/lib/browser/{state-KBGI3QTR.mjs → state-PNMSLKAH.mjs} +4 -4
- package/dist/lib/browser/state-PNMSLKAH.mjs.map +7 -0
- package/dist/lib/node/{ChatContainer-LVYQ67PJ.cjs → ChatContainer-4FNDRF3G.cjs} +11 -11
- package/dist/lib/node/ChatContainer-4FNDRF3G.cjs.map +7 -0
- package/dist/lib/node/{chunk-W25MBII2.cjs → chunk-AKINTFBH.cjs} +4 -4
- package/dist/lib/node/{chunk-W25MBII2.cjs.map → chunk-AKINTFBH.cjs.map} +2 -2
- package/dist/lib/node/{chunk-RIYLEDQ7.cjs → chunk-E7Z3BKRQ.cjs} +6 -6
- package/dist/lib/node/{chunk-IX63EKGL.cjs → chunk-S2A6BXEA.cjs} +8 -8
- package/dist/lib/node/index.cjs +9 -9
- package/dist/lib/node/{intent-resolver-DC6HDNTX.cjs → intent-resolver-S6FE5OR7.cjs} +7 -7
- package/dist/lib/node/intent-resolver-S6FE5OR7.cjs.map +7 -0
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-GP5IH5LN.cjs → react-surface-Z45BYECE.cjs} +13 -13
- package/dist/lib/node/{react-surface-GP5IH5LN.cjs.map → react-surface-Z45BYECE.cjs.map} +3 -3
- package/dist/lib/node/{settings-7MGTJ46L.cjs → settings-IXCPE55J.cjs} +5 -5
- package/dist/lib/node/settings-IXCPE55J.cjs.map +7 -0
- package/dist/lib/node/{state-FOHMAVSU.cjs → state-AT73KPGZ.cjs} +6 -6
- package/dist/lib/node/state-AT73KPGZ.cjs.map +7 -0
- package/dist/lib/node-esm/{ChatContainer-WMOPMK5H.mjs → ChatContainer-NYLCL6QA.mjs} +5 -5
- package/dist/lib/node-esm/ChatContainer-NYLCL6QA.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-7DOPZH6Y.mjs → chunk-ADTVMESP.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-T6E5EY7Z.mjs → chunk-J56FORYF.mjs} +1 -1
- package/dist/lib/node-esm/{chunk-T6E5EY7Z.mjs.map → chunk-J56FORYF.mjs.map} +2 -2
- package/dist/lib/node-esm/{chunk-QUTIMZJ4.mjs → chunk-WSE23GSG.mjs} +5 -5
- package/dist/lib/node-esm/index.mjs +2 -2
- package/dist/lib/node-esm/{intent-resolver-OAMDKGAA.mjs → intent-resolver-OURFRSSF.mjs} +5 -5
- package/dist/lib/node-esm/intent-resolver-OURFRSSF.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-45GRKLWG.mjs → react-surface-KIJ767JK.mjs} +7 -7
- package/dist/lib/node-esm/{react-surface-45GRKLWG.mjs.map → react-surface-KIJ767JK.mjs.map} +3 -3
- package/dist/lib/node-esm/{settings-AJAZ3O47.mjs → settings-ZUJQ4LWI.mjs} +3 -3
- package/dist/lib/node-esm/settings-ZUJQ4LWI.mjs.map +7 -0
- package/dist/lib/node-esm/{state-IRLEO2SB.mjs → state-SSDX5O67.mjs} +4 -4
- package/dist/lib/node-esm/state-SSDX5O67.mjs.map +7 -0
- package/dist/types/src/components/CommentsContainer.d.ts.map +1 -1
- package/dist/types/src/components/testing.d.ts +9 -121
- package/dist/types/src/components/testing.d.ts.map +1 -1
- package/dist/types/src/hooks/analytics.d.ts +2 -2
- package/dist/types/src/hooks/analytics.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +8 -114
- package/dist/types/src/types.d.ts.map +1 -1
- package/package.json +33 -33
- package/src/capabilities/intent-resolver.ts +4 -4
- package/src/capabilities/settings.ts +2 -2
- package/src/capabilities/state.ts +3 -3
- package/src/components/Chat.stories.tsx +2 -2
- package/src/components/ChatContainer.tsx +2 -2
- package/src/components/CommentsContainer.tsx +8 -2
- package/src/components/testing.ts +3 -3
- package/src/hooks/analytics.ts +6 -2
- package/dist/lib/browser/ChatContainer-WC6KQDDU.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-3UW6ROYT.mjs.map +0 -7
- package/dist/lib/browser/settings-2VZ7S4SK.mjs.map +0 -7
- package/dist/lib/browser/state-KBGI3QTR.mjs.map +0 -7
- package/dist/lib/node/ChatContainer-LVYQ67PJ.cjs.map +0 -7
- package/dist/lib/node/intent-resolver-DC6HDNTX.cjs.map +0 -7
- package/dist/lib/node/settings-7MGTJ46L.cjs.map +0 -7
- package/dist/lib/node/state-FOHMAVSU.cjs.map +0 -7
- package/dist/lib/node-esm/ChatContainer-WMOPMK5H.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-OAMDKGAA.mjs.map +0 -7
- package/dist/lib/node-esm/settings-AJAZ3O47.mjs.map +0 -7
- package/dist/lib/node-esm/state-IRLEO2SB.mjs.map +0 -7
- /package/dist/lib/browser/{chunk-Q66FBBJD.mjs.map → chunk-S5ZR4FYW.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-FY5OCUP6.mjs.map → chunk-TFVPUPOO.mjs.map} +0 -0
- /package/dist/lib/node/{chunk-RIYLEDQ7.cjs.map → chunk-E7Z3BKRQ.cjs.map} +0 -0
- /package/dist/lib/node/{chunk-IX63EKGL.cjs.map → chunk-S2A6BXEA.cjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-7DOPZH6Y.mjs.map → chunk-ADTVMESP.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-QUTIMZJ4.mjs.map → chunk-WSE23GSG.mjs.map} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/intent-resolver.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capabilities, contributes, createIntent, createResolver, type PluginsContext } from '@dxos/app-framework';\nimport { ObjectId, Ref } from '@dxos/echo-schema';\nimport { invariant } from '@dxos/invariant';\nimport { DXN, QueueSubspaceTags } from '@dxos/keys';\nimport { refFromDXN } from '@dxos/live-object';\nimport { log } from '@dxos/log';\nimport { ATTENDABLE_PATH_SEPARATOR, DeckAction } from '@dxos/plugin-deck/types';\nimport { ObservabilityAction } from '@dxos/plugin-observability/types';\nimport { ChannelType, ThreadType } from '@dxos/plugin-space/types';\nimport { create, fullyQualifiedId, getSpace, makeRef } from '@dxos/react-client/echo';\nimport { MessageType } from '@dxos/schema';\n\nimport { ThreadCapabilities } from './capabilities';\nimport { THREAD_PLUGIN } from '../meta';\nimport { ThreadAction } from '../types';\n\nexport default (context: PluginsContext) =>\n contributes(Capabilities.IntentResolver, [\n createResolver({\n intent: ThreadAction.CreateChannel,\n resolve: ({ spaceId, name }) => ({\n data: {\n object: create(ChannelType, {\n name,\n queue: refFromDXN(new DXN(DXN.kind.QUEUE, [QueueSubspaceTags.DATA, spaceId, ObjectId.random()])),\n }),\n },\n }),\n }),\n createResolver({\n intent: ThreadAction.Create,\n resolve: ({ name, cursor, subject }) => {\n // Seed the threads array if it does not exist.\n if (subject?.threads === undefined) {\n try {\n // Static schema will throw an error if subject does not support threads array property.\n subject.threads = [];\n } catch (err) {\n log.error('Subject does not support threads array', { typename: subject?.typename });\n return;\n }\n }\n\n const { state } = context.requestCapability(ThreadCapabilities.MutableState);\n const subjectId = fullyQualifiedId(subject);\n const thread = create(ThreadType, { name, anchor: cursor, messages: [], status: 'staged' });\n const draft = state.drafts[subjectId];\n if (draft) {\n draft.push(thread);\n } else {\n state.drafts[subjectId] = [thread];\n }\n\n return {\n data: { object: thread },\n intents: [\n createIntent(ThreadAction.Select, { current: fullyQualifiedId(thread) }),\n createIntent(DeckAction.ChangeCompanion, {\n primary: subjectId,\n companion: `${subjectId}${ATTENDABLE_PATH_SEPARATOR}comments`,\n }),\n ],\n };\n },\n }),\n createResolver({\n intent: ThreadAction.Select,\n resolve: ({ current }) => {\n const { state } = context.requestCapability(ThreadCapabilities.MutableState);\n state.current = current;\n },\n }),\n createResolver({\n intent: ThreadAction.ToggleResolved,\n resolve: ({ thread }) => {\n if (thread.status === 'active' || thread.status === undefined) {\n thread.status = 'resolved';\n } else if (thread.status === 'resolved') {\n thread.status = 'active';\n }\n\n const space = getSpace(thread);\n invariant(space, 'Space not found');\n const spaceId = space.id;\n\n return {\n intents: [\n createIntent(ObservabilityAction.SendEvent, {\n name: 'threads.toggle-resolved',\n properties: {\n spaceId,\n threadId: thread.id,\n },\n }),\n ],\n };\n },\n }),\n createResolver({\n intent: ThreadAction.Delete,\n resolve: ({ subject, thread }, undo) => {\n const { state } = context.requestCapability(ThreadCapabilities.MutableState);\n const subjectId = fullyQualifiedId(subject);\n const draft = state.drafts[subjectId];\n if (draft) {\n // Check if we're deleting a draft; if so, remove it.\n const index = draft.findIndex((t) => t.id === thread.id);\n if (index !== -1) {\n draft.splice(index, 1);\n return;\n }\n }\n\n const space = getSpace(thread);\n if (!space || !subject.threads) {\n return;\n }\n\n if (!undo) {\n const index = subject.threads.findIndex((t: any) => t?.id === thread.id);\n const cursor = subject.threads[index]?.anchor;\n if (index !== -1) {\n subject.threads?.splice(index, 1);\n }\n\n space.db.remove(thread);\n\n return {\n undoable: {\n message: ['thread deleted label', { ns: THREAD_PLUGIN }],\n data: { cursor },\n },\n intents: [\n createIntent(ObservabilityAction.SendEvent, {\n name: 'threads.delete',\n properties: {\n spaceId: space.id,\n threadId: thread.id,\n },\n }),\n ],\n };\n } else {\n // TODO(wittjosiah): SDK should do this automatically.\n const savedThread = space.db.add(thread);\n subject.threads.push(savedThread);\n\n return {\n intents: [\n createIntent(ObservabilityAction.SendEvent, {\n name: 'threads.undo-delete',\n properties: {\n spaceId: space.id,\n threadId: thread.id,\n },\n }),\n ],\n };\n }\n },\n }),\n createResolver({\n intent: ThreadAction.AddMessage,\n resolve: ({ thread, subject, sender, text }) => {\n const { state } = context.requestCapability(ThreadCapabilities.MutableState);\n const subjectId = fullyQualifiedId(subject);\n const space = getSpace(subject);\n invariant(space, 'Space not found');\n const intents = [];\n\n const message = create(MessageType, {\n sender,\n created: new Date().toISOString(),\n blocks: [{ type: 'text', text }],\n // TODO(wittjosiah): Context based on attention.\n // context: context ? makeRef(context) : undefined,\n });\n thread.messages.push(makeRef(message));\n\n if (state.drafts[subjectId]?.find((t) => t === thread)) {\n // Move draft to document.\n thread.status = 'active';\n subject.threads ? subject.threads.push(makeRef(thread)) : (subject.threads = [makeRef(thread)]);\n state.drafts[subjectId] = state.drafts[subjectId]?.filter(({ id }) => id !== thread.id);\n intents.push(\n createIntent(ObservabilityAction.SendEvent, {\n name: 'threads.create',\n properties: {\n spaceId: space.id,\n threadId: thread.id,\n },\n }),\n );\n }\n\n intents.push(\n createIntent(ObservabilityAction.SendEvent, {\n name: 'threads.message.add',\n properties: {\n spaceId: space.id,\n threadId: thread.id,\n threadLength: thread.messages.length,\n messageId: message.id,\n messageLength: text.length,\n },\n }),\n );\n\n return { intents };\n },\n }),\n createResolver({\n intent: ThreadAction.DeleteMessage,\n resolve: ({ subject, thread, messageId, message, messageIndex }, undo) => {\n const space = getSpace(subject);\n invariant(space, 'Space not found');\n\n if (!undo) {\n const messageIndex = thread.messages.findIndex(Ref.hasObjectId(messageId));\n const message = thread.messages[messageIndex]?.target;\n if (!message) {\n return;\n }\n\n if (messageIndex === 0 && thread.messages.length === 1) {\n // If the message is the only message in the thread, delete the thread.\n return {\n intents: [createIntent(ThreadAction.Delete, { subject, thread })],\n };\n } else {\n thread.messages.splice(messageIndex, 1);\n }\n\n return {\n undoable: {\n message: ['message deleted label', { ns: THREAD_PLUGIN }],\n data: { message, messageIndex },\n },\n intents: [\n createIntent(ObservabilityAction.SendEvent, {\n name: 'threads.message.delete',\n properties: {\n spaceId: space.id,\n threadId: thread.id,\n messageId: message.id,\n },\n }),\n ],\n };\n } else {\n if (messageIndex === undefined || !message) {\n return;\n }\n\n thread.messages.splice(messageIndex, 0, makeRef(message));\n return {\n intents: [\n createIntent(ObservabilityAction.SendEvent, {\n name: 'threads.message.undo-delete',\n properties: {\n spaceId: space.id,\n threadId: thread.id,\n messageId: message.id,\n },\n }),\n ],\n };\n }\n },\n }),\n ]);\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": ["import_types", "context", "contributes", "Capabilities", "IntentResolver", "createResolver", "intent", "ThreadAction", "CreateChannel", "resolve", "spaceId", "name", "data", "object", "create", "ChannelType", "queue", "refFromDXN", "DXN", "kind", "QUEUE", "QueueSubspaceTags", "DATA", "ObjectId", "random", "Create", "cursor", "subject", "threads", "undefined", "err", "log", "error", "typename", "state", "requestCapability", "ThreadCapabilities", "MutableState", "subjectId", "fullyQualifiedId", "thread", "ThreadType", "anchor", "messages", "status", "draft", "drafts", "push", "intents", "createIntent", "Select", "current", "DeckAction", "ChangeCompanion", "primary", "companion", "ATTENDABLE_PATH_SEPARATOR", "ToggleResolved", "space", "getSpace", "invariant", "id", "ObservabilityAction", "SendEvent", "properties", "threadId", "Delete", "undo", "index", "findIndex", "t", "splice", "db", "remove", "undoable", "message", "ns", "THREAD_PLUGIN", "savedThread", "add", "AddMessage", "sender", "text", "MessageType", "created", "Date", "toISOString", "blocks", "type", "makeRef", "find", "filter", "threadLength", "length", "messageId", "messageLength", "DeleteMessage", "messageIndex", "Ref", "hasObjectId", "target"]
|
|
7
|
+
}
|
package/dist/lib/node/meta.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-thread/src/meta.ts":{"bytes":1656,"imports":[],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/capabilities.ts":{"bytes":2014,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts":{"bytes":4972,"imports":[{"path":"@dxos/app-framework","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":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/types.ts":{"bytes":9968,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts":{"bytes":36355,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/extensions/threads.ts":{"bytes":14078,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/extensions/index.ts":{"bytes":512,"imports":[{"path":"packages/plugins/plugin-thread/src/extensions/threads.ts","kind":"import-statement","original":"./threads"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/markdown.ts":{"bytes":2695,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/extensions/index.ts","kind":"import-statement","original":"../extensions"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytes":3522,"imports":[{"path":"@codemirror/language","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}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytes":3661,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytes":4029,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytes":602,"imports":[{"path":"packages/plugins/plugin-thread/src/hooks/useStatus.ts","kind":"import-statement","original":"./useStatus"},{"path":"packages/plugins/plugin-thread/src/hooks/analytics.ts","kind":"import-statement","original":"./analytics"}],"format":"esm"},"packages/plugins/plugin-thread/src/util.ts":{"bytes":3020,"imports":[{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytes":23488,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","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/react-ui-thread","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytes":25023,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","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","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/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytes":7517,"imports":[{"path":"@phosphor-icons/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-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytes":19868,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","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","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/index.ts","kind":"import-statement","original":"../capabilities"},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytes":1673,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytes":18505,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","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","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":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/index.ts":{"bytes":1495,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx","kind":"import-statement","original":"./CommentsContainer"},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx","kind":"import-statement","original":"./ThreadComplementary"},{"path":"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx","kind":"import-statement","original":"./ThreadSettings"},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"dynamic-import","original":"./ChatContainer"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx":{"bytes":9771,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/settings.ts":{"bytes":1937,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/state.ts":{"bytes":2830,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/index.ts":{"bytes":2127,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-thread/src/capabilities/markdown.ts","kind":"dynamic-import","original":"./markdown"},{"path":"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-thread/src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"},{"path":"packages/plugins/plugin-thread/src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"packages/plugins/plugin-thread/src/events.ts":{"bytes":1278,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/translations.ts":{"bytes":5477,"imports":[{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytes":18844,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","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/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-thread/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-thread/src/index.ts":{"bytes":958,"imports":[{"path":"packages/plugins/plugin-thread/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-thread/src/ThreadPlugin.tsx","kind":"import-statement","original":"./ThreadPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-thread/dist/lib/node/state-FOHMAVSU.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1435},"packages/plugins/plugin-thread/dist/lib/node/state-FOHMAVSU.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-NQ5DTPOY.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/state.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/state.ts":{"bytesInOutput":543}},"bytes":779},"packages/plugins/plugin-thread/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11557},"packages/plugins/plugin-thread/dist/lib/node/index.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-IX63EKGL.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-NQ5DTPOY.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-W25MBII2.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","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/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["THREAD_ITEM","THREAD_PLUGIN","ThreadCapabilities","ThreadEvents","ThreadPlugin","meta","useOnEditAnalytics","useStatus"],"entryPoint":"packages/plugins/plugin-thread/src/index.ts","inputs":{"packages/plugins/plugin-thread/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-thread/src/events.ts":{"bytesInOutput":224},"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytesInOutput":4356},"packages/plugins/plugin-thread/src/translations.ts":{"bytesInOutput":1634}},"bytes":6993},"packages/plugins/plugin-thread/dist/lib/node/types.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-thread/dist/lib/node/types.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"}],"exports":["ThreadAction","ThreadSettingsSchema"],"entryPoint":"packages/plugins/plugin-thread/src/types.ts","inputs":{},"bytes":196},"packages/plugins/plugin-thread/dist/lib/node/app-graph-builder-HZNWT4QU.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2343},"packages/plugins/plugin-thread/dist/lib/node/app-graph-builder-HZNWT4QU.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","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":"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts":{"bytesInOutput":1098}},"bytes":1325},"packages/plugins/plugin-thread/dist/lib/node/intent-resolver-DC6HDNTX.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":16283},"packages/plugins/plugin-thread/dist/lib/node/intent-resolver-DC6HDNTX.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-NQ5DTPOY.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts":{"bytesInOutput":9093}},"bytes":9439},"packages/plugins/plugin-thread/dist/lib/node/markdown-L2WMCQKM.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8499},"packages/plugins/plugin-thread/dist/lib/node/markdown-L2WMCQKM.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-NQ5DTPOY.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/markdown.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/markdown.ts":{"bytesInOutput":469},"packages/plugins/plugin-thread/src/extensions/threads.ts":{"bytesInOutput":2944},"packages/plugins/plugin-thread/src/extensions/index.ts":{"bytesInOutput":0}},"bytes":3838},"packages/plugins/plugin-thread/dist/lib/node/ChatContainer-LVYQ67PJ.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9558},"packages/plugins/plugin-thread/dist/lib/node/ChatContainer-LVYQ67PJ.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-RIYLEDQ7.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-W25MBII2.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","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","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":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["ChatContainer","ChatHeading","default"],"entryPoint":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","inputs":{"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytesInOutput":4331}},"bytes":4730},"packages/plugins/plugin-thread/dist/lib/node/react-surface-GP5IH5LN.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":33976},"packages/plugins/plugin-thread/dist/lib/node/react-surface-GP5IH5LN.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-IX63EKGL.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-NQ5DTPOY.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-RIYLEDQ7.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-W25MBII2.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","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","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/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@phosphor-icons/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-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","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","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/dist/lib/node/ChatContainer-LVYQ67PJ.cjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx":{"bytesInOutput":2248},"packages/plugins/plugin-thread/src/components/index.ts":{"bytesInOutput":102},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytesInOutput":6586},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytesInOutput":1741},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytesInOutput":5011},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytesInOutput":213}},"bytes":16891},"packages/plugins/plugin-thread/dist/lib/node/chunk-IX63EKGL.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1047},"packages/plugins/plugin-thread/dist/lib/node/chunk-IX63EKGL.cjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/dist/lib/node/app-graph-builder-HZNWT4QU.cjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/node/intent-resolver-DC6HDNTX.cjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/node/markdown-L2WMCQKM.cjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/node/react-surface-GP5IH5LN.cjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/node/settings-7MGTJ46L.cjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/node/state-FOHMAVSU.cjs","kind":"dynamic-import"}],"exports":["AppGraphBuilder","IntentResolver","Markdown","ReactSurface","ThreadState"],"inputs":{"packages/plugins/plugin-thread/src/capabilities/index.ts":{"bytesInOutput":460}},"bytes":656},"packages/plugins/plugin-thread/dist/lib/node/chunk-NQ5DTPOY.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1052},"packages/plugins/plugin-thread/dist/lib/node/chunk-NQ5DTPOY.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["ThreadCapabilities"],"inputs":{"packages/plugins/plugin-thread/src/capabilities/capabilities.ts":{"bytesInOutput":343}},"bytes":545},"packages/plugins/plugin-thread/dist/lib/node/chunk-RIYLEDQ7.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":15899},"packages/plugins/plugin-thread/dist/lib/node/chunk-RIYLEDQ7.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-W25MBII2.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@codemirror/language","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/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","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/react-ui-thread","kind":"import-statement","external":true}],"exports":["MessageContainer","command","getMessageMetadata"],"inputs":{"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytesInOutput":688},"packages/plugins/plugin-thread/src/util.ts":{"bytesInOutput":547},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytesInOutput":6102}},"bytes":7752},"packages/plugins/plugin-thread/dist/lib/node/chunk-W25MBII2.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4018},"packages/plugins/plugin-thread/dist/lib/node/chunk-W25MBII2.cjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","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":["useOnEditAnalytics","useStatus"],"inputs":{"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytesInOutput":748},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytesInOutput":882},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytesInOutput":0}},"bytes":1836},"packages/plugins/plugin-thread/dist/lib/node/settings-7MGTJ46L.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":958},"packages/plugins/plugin-thread/dist/lib/node/settings-7MGTJ46L.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/settings.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/settings.ts":{"bytesInOutput":303}},"bytes":575},"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5144},"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["ThreadAction","ThreadSettingsSchema"],"inputs":{"packages/plugins/plugin-thread/src/types.ts":{"bytesInOutput":2332}},"bytes":2532},"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":783},"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs":{"imports":[],"exports":["THREAD_ITEM","THREAD_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-thread/src/meta.ts":{"bytesInOutput":306}},"bytes":448}}}
|
|
1
|
+
{"inputs":{"packages/plugins/plugin-thread/src/meta.ts":{"bytes":1656,"imports":[],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/capabilities.ts":{"bytes":2014,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts":{"bytes":4972,"imports":[{"path":"@dxos/app-framework","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":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/types.ts":{"bytes":9968,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts":{"bytes":36379,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/extensions/threads.ts":{"bytes":14078,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/extensions/index.ts":{"bytes":512,"imports":[{"path":"packages/plugins/plugin-thread/src/extensions/threads.ts","kind":"import-statement","original":"./threads"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/markdown.ts":{"bytes":2695,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/extensions/index.ts","kind":"import-statement","original":"../extensions"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytes":3522,"imports":[{"path":"@codemirror/language","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}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytes":3661,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytes":4073,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytes":602,"imports":[{"path":"packages/plugins/plugin-thread/src/hooks/useStatus.ts","kind":"import-statement","original":"./useStatus"},{"path":"packages/plugins/plugin-thread/src/hooks/analytics.ts","kind":"import-statement","original":"./analytics"}],"format":"esm"},"packages/plugins/plugin-thread/src/util.ts":{"bytes":3020,"imports":[{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytes":23488,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","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/react-ui-thread","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytes":25023,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","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","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/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytes":7688,"imports":[{"path":"@phosphor-icons/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-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytes":19868,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","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","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/index.ts","kind":"import-statement","original":"../capabilities"},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytes":1673,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytes":18541,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","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","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":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/index.ts":{"bytes":1495,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx","kind":"import-statement","original":"./CommentsContainer"},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx","kind":"import-statement","original":"./ThreadComplementary"},{"path":"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx","kind":"import-statement","original":"./ThreadSettings"},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"dynamic-import","original":"./ChatContainer"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx":{"bytes":9771,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/settings.ts":{"bytes":1949,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/state.ts":{"bytes":2844,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"packages/plugins/plugin-thread/src/capabilities/index.ts":{"bytes":2127,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-thread/src/capabilities/markdown.ts","kind":"dynamic-import","original":"./markdown"},{"path":"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-thread/src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"},{"path":"packages/plugins/plugin-thread/src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"packages/plugins/plugin-thread/src/events.ts":{"bytes":1278,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/translations.ts":{"bytes":5477,"imports":[{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytes":18844,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","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/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-thread/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-thread/src/index.ts":{"bytes":958,"imports":[{"path":"packages/plugins/plugin-thread/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-thread/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-thread/src/ThreadPlugin.tsx","kind":"import-statement","original":"./ThreadPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-thread/dist/lib/node/state-AT73KPGZ.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1445},"packages/plugins/plugin-thread/dist/lib/node/state-AT73KPGZ.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-NQ5DTPOY.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/state.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/state.ts":{"bytesInOutput":549}},"bytes":785},"packages/plugins/plugin-thread/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11557},"packages/plugins/plugin-thread/dist/lib/node/index.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-S2A6BXEA.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-NQ5DTPOY.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-AKINTFBH.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","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/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["THREAD_ITEM","THREAD_PLUGIN","ThreadCapabilities","ThreadEvents","ThreadPlugin","meta","useOnEditAnalytics","useStatus"],"entryPoint":"packages/plugins/plugin-thread/src/index.ts","inputs":{"packages/plugins/plugin-thread/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-thread/src/events.ts":{"bytesInOutput":224},"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytesInOutput":4356},"packages/plugins/plugin-thread/src/translations.ts":{"bytesInOutput":1634}},"bytes":6993},"packages/plugins/plugin-thread/dist/lib/node/types.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-thread/dist/lib/node/types.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"}],"exports":["ThreadAction","ThreadSettingsSchema"],"entryPoint":"packages/plugins/plugin-thread/src/types.ts","inputs":{},"bytes":196},"packages/plugins/plugin-thread/dist/lib/node/app-graph-builder-HZNWT4QU.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2343},"packages/plugins/plugin-thread/dist/lib/node/app-graph-builder-HZNWT4QU.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","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":"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/app-graph-builder.ts":{"bytesInOutput":1098}},"bytes":1325},"packages/plugins/plugin-thread/dist/lib/node/intent-resolver-S6FE5OR7.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":16295},"packages/plugins/plugin-thread/dist/lib/node/intent-resolver-S6FE5OR7.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-NQ5DTPOY.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/intent-resolver.ts":{"bytesInOutput":9101}},"bytes":9447},"packages/plugins/plugin-thread/dist/lib/node/markdown-L2WMCQKM.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8499},"packages/plugins/plugin-thread/dist/lib/node/markdown-L2WMCQKM.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-NQ5DTPOY.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/markdown.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/markdown.ts":{"bytesInOutput":469},"packages/plugins/plugin-thread/src/extensions/threads.ts":{"bytesInOutput":2944},"packages/plugins/plugin-thread/src/extensions/index.ts":{"bytesInOutput":0}},"bytes":3838},"packages/plugins/plugin-thread/dist/lib/node/ChatContainer-4FNDRF3G.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9584},"packages/plugins/plugin-thread/dist/lib/node/ChatContainer-4FNDRF3G.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-E7Z3BKRQ.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-AKINTFBH.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/live-object","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","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":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["ChatContainer","ChatHeading","default"],"entryPoint":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","inputs":{"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytesInOutput":4343}},"bytes":4742},"packages/plugins/plugin-thread/dist/lib/node/react-surface-Z45BYECE.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":34075},"packages/plugins/plugin-thread/dist/lib/node/react-surface-Z45BYECE.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-S2A6BXEA.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-NQ5DTPOY.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-E7Z3BKRQ.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-AKINTFBH.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","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","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/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@phosphor-icons/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-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","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","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/dist/lib/node/ChatContainer-4FNDRF3G.cjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-thread/src/capabilities/react-surface.tsx":{"bytesInOutput":2248},"packages/plugins/plugin-thread/src/components/index.ts":{"bytesInOutput":102},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytesInOutput":6586},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytesInOutput":1776},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytesInOutput":5011},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytesInOutput":213}},"bytes":16926},"packages/plugins/plugin-thread/dist/lib/node/chunk-S2A6BXEA.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1047},"packages/plugins/plugin-thread/dist/lib/node/chunk-S2A6BXEA.cjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/dist/lib/node/app-graph-builder-HZNWT4QU.cjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/node/intent-resolver-S6FE5OR7.cjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/node/markdown-L2WMCQKM.cjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/node/react-surface-Z45BYECE.cjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/node/settings-IXCPE55J.cjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/node/state-AT73KPGZ.cjs","kind":"dynamic-import"}],"exports":["AppGraphBuilder","IntentResolver","Markdown","ReactSurface","ThreadState"],"inputs":{"packages/plugins/plugin-thread/src/capabilities/index.ts":{"bytesInOutput":460}},"bytes":656},"packages/plugins/plugin-thread/dist/lib/node/chunk-NQ5DTPOY.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1052},"packages/plugins/plugin-thread/dist/lib/node/chunk-NQ5DTPOY.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["ThreadCapabilities"],"inputs":{"packages/plugins/plugin-thread/src/capabilities/capabilities.ts":{"bytesInOutput":343}},"bytes":545},"packages/plugins/plugin-thread/dist/lib/node/chunk-E7Z3BKRQ.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":15899},"packages/plugins/plugin-thread/dist/lib/node/chunk-E7Z3BKRQ.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-AKINTFBH.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@codemirror/language","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/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","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/react-ui-thread","kind":"import-statement","external":true}],"exports":["MessageContainer","command","getMessageMetadata"],"inputs":{"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytesInOutput":688},"packages/plugins/plugin-thread/src/util.ts":{"bytesInOutput":547},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytesInOutput":6102}},"bytes":7752},"packages/plugins/plugin-thread/dist/lib/node/chunk-AKINTFBH.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4049},"packages/plugins/plugin-thread/dist/lib/node/chunk-AKINTFBH.cjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","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":["useOnEditAnalytics","useStatus"],"inputs":{"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytesInOutput":748},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytesInOutput":882},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytesInOutput":0}},"bytes":1836},"packages/plugins/plugin-thread/dist/lib/node/settings-IXCPE55J.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":966},"packages/plugins/plugin-thread/dist/lib/node/settings-IXCPE55J.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/capabilities/settings.ts","inputs":{"packages/plugins/plugin-thread/src/capabilities/settings.ts":{"bytesInOutput":307}},"bytes":579},"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5144},"packages/plugins/plugin-thread/dist/lib/node/chunk-46BSFPBV.cjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["ThreadAction","ThreadSettingsSchema"],"inputs":{"packages/plugins/plugin-thread/src/types.ts":{"bytesInOutput":2332}},"bytes":2532},"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":783},"packages/plugins/plugin-thread/dist/lib/node/chunk-ONLWOUYZ.cjs":{"imports":[],"exports":["THREAD_ITEM","THREAD_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-thread/src/meta.ts":{"bytesInOutput":306}},"bytes":448}}}
|
|
@@ -26,15 +26,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var react_surface_Z45BYECE_exports = {};
|
|
30
|
+
__export(react_surface_Z45BYECE_exports, {
|
|
31
31
|
default: () => react_surface_default
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
34
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(react_surface_Z45BYECE_exports);
|
|
34
|
+
var import_chunk_S2A6BXEA = require("./chunk-S2A6BXEA.cjs");
|
|
35
35
|
var import_chunk_NQ5DTPOY = require("./chunk-NQ5DTPOY.cjs");
|
|
36
|
-
var
|
|
37
|
-
var
|
|
36
|
+
var import_chunk_E7Z3BKRQ = require("./chunk-E7Z3BKRQ.cjs");
|
|
37
|
+
var import_chunk_AKINTFBH = require("./chunk-AKINTFBH.cjs");
|
|
38
38
|
var import_chunk_46BSFPBV = require("./chunk-46BSFPBV.cjs");
|
|
39
39
|
var import_chunk_ONLWOUYZ = require("./chunk-ONLWOUYZ.cjs");
|
|
40
40
|
var import_react = __toESM(require("react"));
|
|
@@ -120,11 +120,11 @@ var CommentContainer = ({ thread, detached, current, onAttend, onComment, onReso
|
|
|
120
120
|
const identity = (0, import_halo.useIdentity)();
|
|
121
121
|
const space = (0, import_echo2.getSpace)(thread);
|
|
122
122
|
const members = (0, import_echo2.useMembers)(space?.key);
|
|
123
|
-
const activity = (0,
|
|
123
|
+
const activity = (0, import_chunk_AKINTFBH.useStatus)(space, (0, import_echo2.fullyQualifiedId)(thread));
|
|
124
124
|
const { t } = (0, import_react_ui.useTranslation)(import_chunk_ONLWOUYZ.THREAD_PLUGIN);
|
|
125
125
|
const threadScrollRef = (0, import_react4.useRef)(null);
|
|
126
126
|
const { themeMode } = (0, import_react_ui.useThemeContext)();
|
|
127
|
-
const textboxMetadata = (0,
|
|
127
|
+
const textboxMetadata = (0, import_chunk_E7Z3BKRQ.getMessageMetadata)((0, import_echo2.fullyQualifiedId)(thread), identity);
|
|
128
128
|
const [_count, _setCount] = (0, import_react4.useState)(0);
|
|
129
129
|
const rerenderEditor = () => _setCount((count) => count + 1);
|
|
130
130
|
const messageRef = (0, import_react4.useRef)("");
|
|
@@ -138,7 +138,7 @@ var CommentContainer = ({ thread, detached, current, onAttend, onComment, onReso
|
|
|
138
138
|
(0, import_react_ui_editor.listener)({
|
|
139
139
|
onChange: (text) => messageRef.current = text
|
|
140
140
|
}),
|
|
141
|
-
|
|
141
|
+
import_chunk_E7Z3BKRQ.command
|
|
142
142
|
], [
|
|
143
143
|
_count
|
|
144
144
|
]);
|
|
@@ -199,7 +199,7 @@ var CommentContainer = ({ thread, detached, current, onAttend, onComment, onReso
|
|
|
199
199
|
onResolve: handleResolve
|
|
200
200
|
}), onThreadDelete && /* @__PURE__ */ import_react4.default.createElement(DeleteThreadButton, {
|
|
201
201
|
onDelete: handleThreadDelete
|
|
202
|
-
}))), import_live_object.RefArray.targets(thread.messages?.filter(import_util.isNonNullable) ?? []).map((message) => /* @__PURE__ */ import_react4.default.createElement(
|
|
202
|
+
}))), import_live_object.RefArray.targets(thread.messages?.filter(import_util.isNonNullable) ?? []).map((message) => /* @__PURE__ */ import_react4.default.createElement(import_chunk_E7Z3BKRQ.MessageContainer, {
|
|
203
203
|
key: message.id,
|
|
204
204
|
editable: true,
|
|
205
205
|
message,
|
|
@@ -241,7 +241,7 @@ var CommentsContainer = ({ threads, detached = [], currentId, showResolvedThread
|
|
|
241
241
|
});
|
|
242
242
|
}) : /* @__PURE__ */ import_react6.default.createElement("div", {
|
|
243
243
|
role: "alert",
|
|
244
|
-
className: (0, import_react_ui_theme2.mx)(import_react_ui_theme2.
|
|
244
|
+
className: (0, import_react_ui_theme2.mx)(import_react_ui_theme2.descriptionText, "place-self-center border border-dashed border-unAccent rounded-lg text-center p-4 m-4")
|
|
245
245
|
}, /* @__PURE__ */ import_react6.default.createElement("h2", {
|
|
246
246
|
className: "mbe-2 font-medium text-baseText"
|
|
247
247
|
}, t("no comments title")), /* @__PURE__ */ import_react6.default.createElement("p", null, /* @__PURE__ */ import_react6.default.createElement(import_react_ui2.Trans, {
|
|
@@ -387,7 +387,7 @@ var ThreadComplementary = ({ subject }) => {
|
|
|
387
387
|
var ThreadSettings = ({ settings }) => {
|
|
388
388
|
return /* @__PURE__ */ import_react8.default.createElement(import_react_ui_form.DeprecatedFormContainer, null);
|
|
389
389
|
};
|
|
390
|
-
var ChatContainer = (0, import_react2.lazy)(() => import("./ChatContainer-
|
|
390
|
+
var ChatContainer = (0, import_react2.lazy)(() => import("./ChatContainer-4FNDRF3G.cjs"));
|
|
391
391
|
var react_surface_default = () => (0, import_app_framework.contributes)(import_app_framework.Capabilities.ReactSurface, [
|
|
392
392
|
(0, import_app_framework.createSurface)({
|
|
393
393
|
id: `${import_chunk_ONLWOUYZ.THREAD_PLUGIN}/channel`,
|
|
@@ -436,4 +436,4 @@ var react_surface_default = () => (0, import_app_framework.contributes)(import_a
|
|
|
436
436
|
})
|
|
437
437
|
})
|
|
438
438
|
]);
|
|
439
|
-
//# sourceMappingURL=react-surface-
|
|
439
|
+
//# sourceMappingURL=react-surface-Z45BYECE.cjs.map
|