@dxos/plugin-observability 0.8.4-main.74a063c4e0 → 0.8.4-main.765dc60934

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/LICENSE +102 -5
  2. package/README.md +1 -1
  3. package/dist/lib/neutral/ObservabilityPlugin.mjs +62 -0
  4. package/dist/lib/neutral/ObservabilityPlugin.mjs.map +7 -0
  5. package/dist/lib/{node-esm/cli/index.mjs → neutral/ObservabilityPlugin.node.mjs} +8 -7
  6. package/dist/lib/neutral/ObservabilityPlugin.node.mjs.map +7 -0
  7. package/dist/lib/{browser/ObservabilitySettings-EM7ABGCA.mjs → neutral/ObservabilitySettings-H6UKYDDT.mjs} +9 -13
  8. package/dist/lib/neutral/ObservabilitySettings-H6UKYDDT.mjs.map +7 -0
  9. package/dist/lib/neutral/app-graph-builder-PTVHNKQY.mjs +37 -0
  10. package/dist/lib/neutral/app-graph-builder-PTVHNKQY.mjs.map +7 -0
  11. package/dist/lib/neutral/capabilities/index.mjs +19 -0
  12. package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
  13. package/dist/lib/neutral/chunk-ANCT53Y3.mjs +19 -0
  14. package/dist/lib/neutral/chunk-ANCT53Y3.mjs.map +7 -0
  15. package/dist/lib/neutral/chunk-TQA4K4HH.mjs +106 -0
  16. package/dist/lib/neutral/chunk-TQA4K4HH.mjs.map +7 -0
  17. package/dist/lib/neutral/chunk-U3O7BYGC.mjs +8 -0
  18. package/dist/lib/neutral/chunk-U3O7BYGC.mjs.map +7 -0
  19. package/dist/lib/neutral/client-ready-TM7VE6CH.mjs +116 -0
  20. package/dist/lib/neutral/client-ready-TM7VE6CH.mjs.map +7 -0
  21. package/dist/lib/neutral/components/index.mjs +9 -0
  22. package/dist/lib/neutral/components/index.mjs.map +7 -0
  23. package/dist/lib/neutral/index.mjs +18 -0
  24. package/dist/lib/neutral/meta.json +1 -0
  25. package/dist/lib/neutral/meta.mjs +8 -0
  26. package/dist/lib/neutral/operation-handler-4WWRXOHR.mjs +13 -0
  27. package/dist/lib/neutral/operation-handler-4WWRXOHR.mjs.map +7 -0
  28. package/dist/lib/neutral/operations/index.mjs +8 -0
  29. package/dist/lib/neutral/plugin.mjs +16 -0
  30. package/dist/lib/neutral/plugin.mjs.map +7 -0
  31. package/dist/lib/neutral/react-surface-SHB2SLRK.mjs +35 -0
  32. package/dist/lib/neutral/react-surface-SHB2SLRK.mjs.map +7 -0
  33. package/dist/lib/{browser/send-event-VV2I6QYY.mjs → neutral/send-event-AUVYZHS2.mjs} +7 -10
  34. package/dist/lib/neutral/send-event-AUVYZHS2.mjs.map +7 -0
  35. package/dist/lib/neutral/settings-MZYK2WQR.mjs +30 -0
  36. package/dist/lib/neutral/settings-MZYK2WQR.mjs.map +7 -0
  37. package/dist/lib/neutral/state-5COCK3KV.mjs +27 -0
  38. package/dist/lib/neutral/state-5COCK3KV.mjs.map +7 -0
  39. package/dist/lib/{browser/toggle-H2GX3A6G.mjs → neutral/toggle-6WX7G476.mjs} +8 -11
  40. package/dist/lib/neutral/toggle-6WX7G476.mjs.map +7 -0
  41. package/dist/lib/{browser/chunk-K33HLC3Z.mjs → neutral/translations.mjs} +4 -12
  42. package/dist/lib/neutral/translations.mjs.map +7 -0
  43. package/dist/lib/neutral/types/index.mjs +14 -0
  44. package/dist/lib/neutral/types/index.mjs.map +7 -0
  45. package/dist/types/src/ObservabilityPlugin.d.ts +6 -0
  46. package/dist/types/src/ObservabilityPlugin.d.ts.map +1 -1
  47. package/dist/types/src/{cli/plugin.d.ts → ObservabilityPlugin.node.d.ts} +2 -1
  48. package/dist/types/src/ObservabilityPlugin.node.d.ts.map +1 -0
  49. package/dist/types/src/ObservabilityPlugin.test.d.ts +2 -0
  50. package/dist/types/src/ObservabilityPlugin.test.d.ts.map +1 -0
  51. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  52. package/dist/types/src/capabilities/client-ready.d.ts.map +1 -1
  53. package/dist/types/src/capabilities/index.d.ts +2 -6
  54. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  55. package/dist/types/src/capabilities/operation-handler.d.ts +1 -1
  56. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -1
  57. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  58. package/dist/types/src/capabilities/settings.d.ts +2 -5
  59. package/dist/types/src/capabilities/settings.d.ts.map +1 -1
  60. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  61. package/dist/types/src/components/ObservabilitySettings/ObservabilitySettings.d.ts +1 -1
  62. package/dist/types/src/components/ObservabilitySettings/ObservabilitySettings.d.ts.map +1 -1
  63. package/dist/types/src/components/ObservabilitySettings/ObservabilitySettings.stories.d.ts +9 -18
  64. package/dist/types/src/components/ObservabilitySettings/ObservabilitySettings.stories.d.ts.map +1 -1
  65. package/dist/types/src/components/index.d.ts +0 -1
  66. package/dist/types/src/components/index.d.ts.map +1 -1
  67. package/dist/types/src/index.d.ts +1 -4
  68. package/dist/types/src/index.d.ts.map +1 -1
  69. package/dist/types/src/meta.d.ts.map +1 -1
  70. package/dist/types/src/operations/index.d.ts +1 -3
  71. package/dist/types/src/operations/index.d.ts.map +1 -1
  72. package/dist/types/src/operations/send-event.d.ts +3 -3
  73. package/dist/types/src/operations/send-event.d.ts.map +1 -1
  74. package/dist/types/src/operations/toggle.d.ts +3 -3
  75. package/dist/types/src/operations/toggle.d.ts.map +1 -1
  76. package/dist/types/src/plugin.d.ts +4 -0
  77. package/dist/types/src/plugin.d.ts.map +1 -0
  78. package/dist/types/src/translations.d.ts +9 -19
  79. package/dist/types/src/translations.d.ts.map +1 -1
  80. package/dist/types/src/types/ObservabilityCapabilities.d.ts +28 -0
  81. package/dist/types/src/types/ObservabilityCapabilities.d.ts.map +1 -0
  82. package/dist/types/src/types/ObservabilityEvents.d.ts +4 -0
  83. package/dist/types/src/types/ObservabilityEvents.d.ts.map +1 -0
  84. package/dist/types/src/types/ObservabilityOperation.d.ts +10 -0
  85. package/dist/types/src/types/ObservabilityOperation.d.ts.map +1 -0
  86. package/dist/types/src/types/Settings.d.ts +3 -2
  87. package/dist/types/src/types/Settings.d.ts.map +1 -1
  88. package/dist/types/src/types/index.d.ts +3 -2
  89. package/dist/types/src/types/index.d.ts.map +1 -1
  90. package/dist/types/tsconfig.tsbuildinfo +1 -1
  91. package/package.json +75 -62
  92. package/src/{cli/plugin.ts → ObservabilityPlugin.node.ts} +5 -3
  93. package/src/ObservabilityPlugin.test.ts +25 -0
  94. package/src/ObservabilityPlugin.ts +20 -7
  95. package/src/capabilities/app-graph-builder.ts +1 -0
  96. package/src/capabilities/client-ready.ts +25 -4
  97. package/src/capabilities/index.ts +1 -1
  98. package/src/capabilities/operation-handler.ts +1 -1
  99. package/src/capabilities/react-surface.tsx +2 -9
  100. package/src/components/ObservabilitySettings/ObservabilitySettings.stories.tsx +2 -1
  101. package/src/components/ObservabilitySettings/ObservabilitySettings.tsx +8 -12
  102. package/src/components/index.ts +0 -2
  103. package/src/index.ts +1 -4
  104. package/src/meta.ts +1 -0
  105. package/src/operations/index.ts +1 -5
  106. package/src/operations/send-event.ts +3 -4
  107. package/src/operations/toggle.ts +3 -4
  108. package/src/plugin.ts +11 -0
  109. package/src/translations.ts +0 -9
  110. package/src/types/ObservabilityCapabilities.ts +42 -0
  111. package/src/types/{events.ts → ObservabilityEvents.ts} +3 -3
  112. package/src/types/ObservabilityOperation.ts +41 -0
  113. package/src/types/Settings.ts +5 -2
  114. package/src/types/index.ts +3 -2
  115. package/dist/lib/browser/ObservabilitySettings-EM7ABGCA.mjs.map +0 -7
  116. package/dist/lib/browser/capture-user-feedback-4HGXJGJL.mjs +0 -25
  117. package/dist/lib/browser/capture-user-feedback-4HGXJGJL.mjs.map +0 -7
  118. package/dist/lib/browser/chunk-J6DPYEFZ.mjs +0 -49
  119. package/dist/lib/browser/chunk-J6DPYEFZ.mjs.map +0 -7
  120. package/dist/lib/browser/chunk-K33HLC3Z.mjs.map +0 -7
  121. package/dist/lib/browser/chunk-VZR3FNBD.mjs +0 -85
  122. package/dist/lib/browser/chunk-VZR3FNBD.mjs.map +0 -7
  123. package/dist/lib/browser/cli/index.mjs +0 -20
  124. package/dist/lib/browser/cli/index.mjs.map +0 -7
  125. package/dist/lib/browser/index.mjs +0 -110
  126. package/dist/lib/browser/index.mjs.map +0 -7
  127. package/dist/lib/browser/meta.json +0 -1
  128. package/dist/lib/browser/operations/index.mjs +0 -16
  129. package/dist/lib/browser/operations/index.mjs.map +0 -7
  130. package/dist/lib/browser/send-event-VV2I6QYY.mjs.map +0 -7
  131. package/dist/lib/browser/toggle-H2GX3A6G.mjs.map +0 -7
  132. package/dist/lib/browser/types/index.mjs +0 -16
  133. package/dist/lib/node-esm/ObservabilitySettings-VP4A362Z.mjs +0 -32
  134. package/dist/lib/node-esm/ObservabilitySettings-VP4A362Z.mjs.map +0 -7
  135. package/dist/lib/node-esm/capture-user-feedback-SDQA2VYI.mjs +0 -26
  136. package/dist/lib/node-esm/capture-user-feedback-SDQA2VYI.mjs.map +0 -7
  137. package/dist/lib/node-esm/chunk-FZRJBWSE.mjs +0 -86
  138. package/dist/lib/node-esm/chunk-FZRJBWSE.mjs.map +0 -7
  139. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
  140. package/dist/lib/node-esm/chunk-JGHMP7UL.mjs +0 -35
  141. package/dist/lib/node-esm/chunk-JGHMP7UL.mjs.map +0 -7
  142. package/dist/lib/node-esm/chunk-K7WZOJZF.mjs +0 -50
  143. package/dist/lib/node-esm/chunk-K7WZOJZF.mjs.map +0 -7
  144. package/dist/lib/node-esm/cli/index.mjs.map +0 -7
  145. package/dist/lib/node-esm/index.mjs +0 -111
  146. package/dist/lib/node-esm/index.mjs.map +0 -7
  147. package/dist/lib/node-esm/meta.json +0 -1
  148. package/dist/lib/node-esm/operations/index.mjs +0 -17
  149. package/dist/lib/node-esm/operations/index.mjs.map +0 -7
  150. package/dist/lib/node-esm/send-event-EMV3VHAA.mjs +0 -24
  151. package/dist/lib/node-esm/send-event-EMV3VHAA.mjs.map +0 -7
  152. package/dist/lib/node-esm/toggle-XRNGEYNP.mjs +0 -49
  153. package/dist/lib/node-esm/toggle-XRNGEYNP.mjs.map +0 -7
  154. package/dist/lib/node-esm/types/index.mjs +0 -17
  155. package/dist/types/src/cli/index.d.ts +0 -2
  156. package/dist/types/src/cli/index.d.ts.map +0 -1
  157. package/dist/types/src/cli/plugin.d.ts.map +0 -1
  158. package/dist/types/src/components/FeedbackForm/FeedbackForm.d.ts +0 -6
  159. package/dist/types/src/components/FeedbackForm/FeedbackForm.d.ts.map +0 -1
  160. package/dist/types/src/components/FeedbackForm/FeedbackForm.stories.d.ts +0 -36
  161. package/dist/types/src/components/FeedbackForm/FeedbackForm.stories.d.ts.map +0 -1
  162. package/dist/types/src/components/FeedbackForm/index.d.ts +0 -2
  163. package/dist/types/src/components/FeedbackForm/index.d.ts.map +0 -1
  164. package/dist/types/src/containers/HelpContainer/HelpContainer.d.ts +0 -4
  165. package/dist/types/src/containers/HelpContainer/HelpContainer.d.ts.map +0 -1
  166. package/dist/types/src/containers/HelpContainer/index.d.ts +0 -2
  167. package/dist/types/src/containers/HelpContainer/index.d.ts.map +0 -1
  168. package/dist/types/src/containers/index.d.ts +0 -3
  169. package/dist/types/src/containers/index.d.ts.map +0 -1
  170. package/dist/types/src/operations/capture-user-feedback.d.ts +0 -5
  171. package/dist/types/src/operations/capture-user-feedback.d.ts.map +0 -1
  172. package/dist/types/src/operations/definitions.d.ts +0 -23
  173. package/dist/types/src/operations/definitions.d.ts.map +0 -1
  174. package/dist/types/src/types/capabilities.d.ts +0 -28
  175. package/dist/types/src/types/capabilities.d.ts.map +0 -1
  176. package/dist/types/src/types/events.d.ts +0 -6
  177. package/dist/types/src/types/events.d.ts.map +0 -1
  178. package/src/cli/index.ts +0 -5
  179. package/src/components/FeedbackForm/FeedbackForm.stories.tsx +0 -32
  180. package/src/components/FeedbackForm/FeedbackForm.tsx +0 -33
  181. package/src/components/FeedbackForm/index.ts +0 -5
  182. package/src/containers/HelpContainer/HelpContainer.tsx +0 -56
  183. package/src/containers/HelpContainer/index.ts +0 -5
  184. package/src/containers/index.ts +0 -7
  185. package/src/operations/capture-user-feedback.ts +0 -22
  186. package/src/operations/definitions.ts +0 -77
  187. package/src/types/capabilities.ts +0 -37
  188. /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs +0 -0
  189. /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs.map +0 -0
  190. /package/dist/lib/{browser/types → neutral}/index.mjs.map +0 -0
  191. /package/dist/lib/{node-esm/chunk-HSLMI22Q.mjs.map → neutral/meta.mjs.map} +0 -0
  192. /package/dist/lib/{node-esm/types → neutral/operations}/index.mjs.map +0 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/translations.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.id]: {\n 'plugin.name': 'Telemetry',\n 'settings.title': 'Telemetry settings',\n 'observability-toast.label': 'Privacy Notice',\n 'observability-toast.description':\n 'Composer collects usage and performance metrics to improve the product. No user data is collected.',\n 'observability-toast-action.label': 'Settings',\n 'observability-toast-action.alt': 'Open settings to learn more or to disable.',\n 'observability-toast-close.label': 'Okay',\n // TODO: Add link about telemetry privacy. Make it clearer that user data is not collected.\n 'observability.description':\n 'When enabled, basic usage data will used to improve the product. This may include performance metrics, error logs, and usage data. No personally identifiable information, other than your public key, is included with this data and no private data ever leaves your devices.',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
+ "mappings": ";;;AAMA,SAASA,YAAY;AAEd,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACD,KAAKE,EAAE,GAAG;QACT,eAAe;QACf,kBAAkB;QAClB,6BAA6B;QAC7B,mCACE;QACF,oCAAoC;QACpC,kCAAkC;QAClC,mCAAmC;;QAEnC,6BACE;MACJ;IACF;EACF;;",
6
+ "names": ["meta", "translations", "id"]
7
+ }
@@ -0,0 +1,14 @@
1
+ import {
2
+ ObservabilityCapabilities_exports,
3
+ ObservabilityEvents_exports,
4
+ ObservabilityOperation_exports,
5
+ Settings_exports
6
+ } from "../chunk-TQA4K4HH.mjs";
7
+ import "../chunk-J5LGTIGS.mjs";
8
+ export {
9
+ ObservabilityCapabilities_exports as ObservabilityCapabilities,
10
+ ObservabilityEvents_exports as ObservabilityEvents,
11
+ ObservabilityOperation_exports as ObservabilityOperation,
12
+ Settings_exports as Settings
13
+ };
14
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -3,6 +3,12 @@ import { type Observability } from '@dxos/observability';
3
3
  export type ObservabilityPluginOptions = {
4
4
  namespace: string;
5
5
  observability: () => Promise<Observability.Observability>;
6
+ /**
7
+ * Optional callback invoked by the help/feedback UI to download captured logs.
8
+ * When omitted the "Download logs" action is hidden.
9
+ */
10
+ downloadLogs?: () => void | Promise<void>;
6
11
  };
7
12
  export declare const ObservabilityPlugin: Plugin.PluginFactory<ObservabilityPluginOptions>;
13
+ export default ObservabilityPlugin;
8
14
  //# sourceMappingURL=ObservabilityPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObservabilityPlugin.d.ts","sourceRoot":"","sources":["../../../src/ObservabilityPlugin.ts"],"names":[],"mappings":"AAMA,OAAO,EAAiD,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE5F,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAgBzD,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;CAC3D,CAAC;AAEF,eAAO,MAAM,mBAAmB,kDA2C/B,CAAC"}
1
+ {"version":3,"file":"ObservabilityPlugin.d.ts","sourceRoot":"","sources":["../../../src/ObservabilityPlugin.ts"],"names":[],"mappings":"AAMA,OAAO,EAAiD,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE5F,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAczD,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAC1D;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,mBAAmB,kDAmD/B,CAAC;eAEa,mBAAmB"}
@@ -1,3 +1,4 @@
1
1
  import { Plugin } from '@dxos/app-framework';
2
2
  export declare const ObservabilityPlugin: Plugin.PluginFactory<void>;
3
- //# sourceMappingURL=plugin.d.ts.map
3
+ export default ObservabilityPlugin;
4
+ //# sourceMappingURL=ObservabilityPlugin.node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObservabilityPlugin.node.d.ts","sourceRoot":"","sources":["../../../src/ObservabilityPlugin.node.ts"],"names":[],"mappings":"AAMA,OAAO,EAA4B,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAQvE,eAAO,MAAM,mBAAmB,4BAgB/B,CAAC;eAEa,mBAAmB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ObservabilityPlugin.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObservabilityPlugin.test.d.ts","sourceRoot":"","sources":["../../../src/ObservabilityPlugin.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAe,MAAM,oBAAoB,CAAC;;AAK/D,wBAqBE"}
1
+ {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAe,MAAM,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"client-ready.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/client-ready.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE/D,OAAO,EAAE,KAAK,aAAa,EAAyB,MAAM,qBAAqB,CAAC;AAMhF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,aAAa,CAAC,aAAa,CAAC;CAC5C,CAAC;;AAEF,wBAiEE"}
1
+ {"version":3,"file":"client-ready.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/client-ready.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAG/D,OAAO,EAAE,KAAK,aAAa,EAAyB,MAAM,qBAAqB,CAAC;AAKhF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,aAAa,CAAC,aAAa,CAAC;CAC5C,CAAC"}
@@ -1,15 +1,11 @@
1
1
  import { Capability } from '@dxos/app-framework';
2
- import { OperationHandlerSet } from '@dxos/operation';
2
+ import { OperationHandlerSet } from '@dxos/compute';
3
3
  import type { ClientReadyOptions } from './client-ready';
4
4
  export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
5
5
  export declare const ClientReady: Capability.LazyCapability<ClientReadyOptions, Capability.ModuleReturn, Error>;
6
6
  export declare const OperationHandler: Capability.LazyCapability<OperationHandlerSet.OperationHandlerSet, Capability.ModuleReturn, Error>;
7
7
  export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
8
- export declare const ObservabilitySettings: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
9
- enabled: boolean;
10
- }, {
11
- enabled: boolean;
12
- }>>>, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-toolkit").AppCapabilities.Settings>>], Error>;
8
+ export declare const ObservabilitySettings: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<import("../types/Settings").Settings, import("../types/Settings").Settings>>>, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-toolkit").AppCapabilities.Settings>>], Error>;
13
9
  export declare const ObservabilityState: Capability.LazyCapability<{
14
10
  namespace: string;
15
11
  }, Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,eAAO,MAAM,eAAe,qIAA0E,CAAC;AACvG,eAAO,MAAM,WAAW,+EAAqF,CAAC;AAC9G,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,YAAY,iJAAmE,CAAC;AAC7F,eAAO,MAAM,qBAAqB;;;;mHAAuE,CAAC;AAC1G,eAAO,MAAM,kBAAkB;;;;;;;;YAAiE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,eAAO,MAAM,eAAe,qIAA0E,CAAC;AACvG,eAAO,MAAM,WAAW,+EAAqF,CAAC;AAC9G,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,YAAY,iJAAmE,CAAC;AAC7F,eAAO,MAAM,qBAAqB,uTAAuE,CAAC;AAC1G,eAAO,MAAM,kBAAkB;;;;;;;;YAAiE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import { Capability } from '@dxos/app-framework';
3
- import type { OperationHandlerSet } from '@dxos/operation';
3
+ import type { OperationHandlerSet } from '@dxos/compute';
4
4
  declare const _default: (props: OperationHandlerSet.OperationHandlerSet) => Effect.Effect<Capability.ModuleReturn, Error, Capability.Service>;
5
5
  export default _default;
6
6
  //# sourceMappingURL=operation-handler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"operation-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/operation-handler.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;;AAI3D,wBAIE"}
1
+ {"version":3,"file":"operation-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/operation-handler.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAU/D,wBAwBE"}
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,10 +1,7 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import { Capability } from '@dxos/app-framework';
3
3
  import { AppCapabilities } from '@dxos/app-toolkit';
4
- declare const _default: (props: void) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
5
- enabled: boolean;
6
- }, {
7
- enabled: boolean;
8
- }>>>, Capability.Capability<Capability.InterfaceDef<AppCapabilities.Settings>>], never, never>;
4
+ import { Settings } from '#types';
5
+ declare const _default: (props: void) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<Settings.Settings, Settings.Settings>>>, Capability.Capability<Capability.InterfaceDef<AppCapabilities.Settings>>], never, never>;
9
6
  export default _default;
10
7
  //# sourceMappingURL=settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/settings.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;;;;;;AAMpD,wBAmBE"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/settings.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIpD,OAAO,EAA6B,QAAQ,EAAE,MAAM,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;;eAQJ,MAAM;;;;;;;;AADjE,wBAeE"}
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;;eAQJ,MAAM"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type AppSurface } from '@dxos/app-toolkit/ui';
3
- import { type Settings } from '#types';
3
+ import { Settings } from '#types';
4
4
  export type ObservabilitySettingsProps = AppSurface.SettingsArticleProps<Settings.Settings>;
5
5
  export declare const ObservabilitySettings: ({ settings, onSettingsChange }: ObservabilitySettingsProps) => React.JSX.Element;
6
6
  //# sourceMappingURL=ObservabilitySettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObservabilitySettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/ObservabilitySettings/ObservabilitySettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAKvD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,0BAA0B,GAAG,UAAU,CAAC,oBAAoB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAE5F,eAAO,MAAM,qBAAqB,GAAI,gCAAgC,0BAA0B,sBAsB/F,CAAC"}
1
+ {"version":3,"file":"ObservabilitySettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/ObservabilitySettings/ObservabilitySettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAKvD,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,MAAM,MAAM,0BAA0B,GAAG,UAAU,CAAC,oBAAoB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAE5F,eAAO,MAAM,qBAAqB,mCAAoC,0BAA0B,sBAkB/F,CAAC"}
@@ -8,24 +8,15 @@ declare const meta: {
8
8
  layout: string;
9
9
  translations: [{
10
10
  readonly 'en-US': {
11
- readonly [meta.id]: {
12
- readonly 'plugin.name': "Telemetry";
13
- readonly 'settings.title': "Telemetry settings";
14
- readonly 'observability-toast.label': "Privacy Notice";
15
- readonly 'observability-toast.description': "Composer collects usage and performance metrics to improve the product. No user data is collected.";
16
- readonly 'observability-toast-action.label': "Settings";
17
- readonly 'observability-toast-action.alt': "Open settings to learn more or to disable.";
18
- readonly 'observability-toast-close.label': "Okay";
19
- readonly 'observability-enabled.label': "Enable telemetry";
20
- readonly 'observability-enabled.description': "Send anonymous usage and performance data to help improve the product.";
21
- readonly 'observability.description': "When enabled, basic usage data will used to improve the product. This may include performance metrics, error logs, and usage data. No personally identifiable information, other than your public key, is included with this data and no private data ever leaves your devices.";
22
- readonly 'help.label': "Feedback & Support";
23
- readonly 'feedback-textarea.label': "Feedback";
24
- readonly 'feedback-textarea.placeholder': "Please enter your feedback, technical issue, or feature request.";
25
- readonly 'include-debug-logs.label': "Include debug logs";
26
- readonly 'send-feedback.label': "Send Feedback";
27
- readonly 'feedback-toast.label': "Thank you for your feedback!";
28
- readonly 'feedback-toast.description': "We will review your feedback and get back to you as soon as possible.";
11
+ readonly [x: string]: {
12
+ readonly 'plugin.name': 'Telemetry';
13
+ readonly 'settings.title': 'Telemetry settings';
14
+ readonly 'observability-toast.label': 'Privacy Notice';
15
+ readonly 'observability-toast.description': 'Composer collects usage and performance metrics to improve the product. No user data is collected.';
16
+ readonly 'observability-toast-action.label': 'Settings';
17
+ readonly 'observability-toast-action.alt': 'Open settings to learn more or to disable.';
18
+ readonly 'observability-toast-close.label': 'Okay';
19
+ readonly 'observability.description': 'When enabled, basic usage data will used to improve the product. This may include performance metrics, error logs, and usage data. No personally identifiable information, other than your public key, is included with this data and no private data ever leaves your devices.';
29
20
  };
30
21
  };
31
22
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"ObservabilitySettings.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/ObservabilitySettings/ObservabilitySettings.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOjE,QAAA,MAAM,IAAI;;;;;;;;;yBALmD,CAEzD,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;CAYkC,CAAC;AAE/C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
1
+ {"version":3,"file":"ObservabilitySettings.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/ObservabilitySettings/ObservabilitySettings.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQjE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CASoC,CAAC;eAEhC,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
@@ -1,4 +1,3 @@
1
1
  import { type ComponentType } from 'react';
2
- export * from './FeedbackForm';
3
2
  export declare const ObservabilitySettings: ComponentType<any>;
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,cAAc,gBAAgB,CAAC;AAE/B,eAAO,MAAM,qBAAqB,EAAE,aAAa,CAAC,GAAG,CAAiD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,qBAAqB,EAAE,aAAa,CAAC,GAAG,CAAiD,CAAC"}
@@ -1,6 +1,3 @@
1
- export { ObservabilityCapabilities, ObservabilityEvents } from './types';
2
- export * from './components';
3
1
  export * from './meta';
4
- export * from './ObservabilityPlugin';
5
- export { translations as observabilityTranslations } from './translations';
2
+ export * from './types';
6
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACzE,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,YAAY,IAAI,yBAAyB,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IAQzB,CAAC"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IASzB,CAAC"}
@@ -1,5 +1,3 @@
1
- import { OperationHandlerSet } from '@dxos/operation';
2
- export * as ObservabilityOperation from './definitions';
3
- export { UserFeedback } from './definitions';
1
+ import { OperationHandlerSet } from '@dxos/compute';
4
2
  export declare const ObservabilityOperationHandlerSet: OperationHandlerSet.OperationHandlerSet;
5
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/operations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,OAAO,KAAK,sBAAsB,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,eAAO,MAAM,gCAAgC,yCAI5C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/operations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,eAAO,MAAM,gCAAgC,yCAG5C,CAAC"}
@@ -1,5 +1,5 @@
1
- import { Operation } from '@dxos/operation';
2
- import { SendEvent } from './definitions';
3
- declare const handler: Operation.WithHandler<typeof SendEvent>;
1
+ import { Operation } from '@dxos/compute';
2
+ import { ObservabilityOperation } from '../types';
3
+ declare const handler: Operation.WithHandler<typeof ObservabilityOperation.SendEvent>;
4
4
  export default handler;
5
5
  //# sourceMappingURL=send-event.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-event.d.ts","sourceRoot":"","sources":["../../../../src/operations/send-event.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,SAAS,CASpD,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"send-event.d.ts","sourceRoot":"","sources":["../../../../src/operations/send-event.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAA6B,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAE7E,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,SAAS,CAS3E,CAAC;eAEa,OAAO"}
@@ -1,5 +1,5 @@
1
- import { Operation } from '@dxos/operation';
2
- import { Toggle } from './definitions';
3
- declare const handler: Operation.WithHandler<typeof Toggle>;
1
+ import { Operation } from '@dxos/compute';
2
+ import { ObservabilityOperation } from '../types';
3
+ declare const handler: Operation.WithHandler<typeof ObservabilityOperation.Toggle>;
4
4
  export default handler;
5
5
  //# sourceMappingURL=toggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../../src/operations/toggle.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAK5C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,MAAM,CA4BjD,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../../src/operations/toggle.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAK1C,OAAO,EAA6B,sBAAsB,EAAiB,MAAM,UAAU,CAAC;AAE5F,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,MAAM,CA4BxE,CAAC;eAEa,OAAO"}
@@ -0,0 +1,4 @@
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const ObservabilityPlugin: Plugin.PluginFactory<import("#plugin").ObservabilityPluginOptions>;
3
+ export { ObservabilityOperationHandlerSet } from './operations';
4
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,mBAAmB,oEAA6C,CAAC;AAE9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,cAAc,CAAC"}
@@ -1,24 +1,14 @@
1
- import { meta } from '#meta';
2
1
  export declare const translations: [{
3
2
  readonly 'en-US': {
4
- readonly [meta.id]: {
5
- readonly 'plugin.name': "Telemetry";
6
- readonly 'settings.title': "Telemetry settings";
7
- readonly 'observability-toast.label': "Privacy Notice";
8
- readonly 'observability-toast.description': "Composer collects usage and performance metrics to improve the product. No user data is collected.";
9
- readonly 'observability-toast-action.label': "Settings";
10
- readonly 'observability-toast-action.alt': "Open settings to learn more or to disable.";
11
- readonly 'observability-toast-close.label': "Okay";
12
- readonly 'observability-enabled.label': "Enable telemetry";
13
- readonly 'observability-enabled.description': "Send anonymous usage and performance data to help improve the product.";
14
- readonly 'observability.description': "When enabled, basic usage data will used to improve the product. This may include performance metrics, error logs, and usage data. No personally identifiable information, other than your public key, is included with this data and no private data ever leaves your devices.";
15
- readonly 'help.label': "Feedback & Support";
16
- readonly 'feedback-textarea.label': "Feedback";
17
- readonly 'feedback-textarea.placeholder': "Please enter your feedback, technical issue, or feature request.";
18
- readonly 'include-debug-logs.label': "Include debug logs";
19
- readonly 'send-feedback.label': "Send Feedback";
20
- readonly 'feedback-toast.label': "Thank you for your feedback!";
21
- readonly 'feedback-toast.description': "We will review your feedback and get back to you as soon as possible.";
3
+ readonly [x: string]: {
4
+ readonly 'plugin.name': 'Telemetry';
5
+ readonly 'settings.title': 'Telemetry settings';
6
+ readonly 'observability-toast.label': 'Privacy Notice';
7
+ readonly 'observability-toast.description': 'Composer collects usage and performance metrics to improve the product. No user data is collected.';
8
+ readonly 'observability-toast-action.label': 'Settings';
9
+ readonly 'observability-toast-action.alt': 'Open settings to learn more or to disable.';
10
+ readonly 'observability-toast-close.label': 'Okay';
11
+ readonly 'observability.description': 'When enabled, basic usage data will used to improve the product. This may include performance metrics, error logs, and usage data. No personally identifiable information, other than your public key, is included with this data and no private data ever leaves your devices.';
22
12
  };
23
13
  };
24
14
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE7B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;UAqBR;;EAGwB,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;oCAIF,WAAW;uCACR,oBAAoB;kDACT,gBAAgB;wDAE3C,oGAAoG;yDAClE,UAAU;uDACZ,4CAA4C;wDAC3C,MAAM;kDAGvC,iRAAiR;;;EAI5P,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { type Atom } from '@effect-atom/atom-react';
2
+ import * as Schema from 'effect/Schema';
3
+ import { Capability } from '@dxos/app-framework';
4
+ import { type Client } from '@dxos/client';
5
+ import { type Observability as ObservabilityNs } from '@dxos/observability';
6
+ export declare const Namespace: Capability.InterfaceDef<string>;
7
+ export declare const Settings: Capability.InterfaceDef<Atom.Writable<import("./Settings").Settings, import("./Settings").Settings>>;
8
+ export declare const StateSchema: Schema.mutable<Schema.Struct<{
9
+ group: Schema.optional<typeof Schema.String>;
10
+ notified: Schema.optional<typeof Schema.Boolean>;
11
+ }>>;
12
+ export type State = Schema.Schema.Type<typeof StateSchema>;
13
+ export declare const State: Capability.InterfaceDef<Atom.Writable<{
14
+ group?: string | undefined;
15
+ notified?: boolean | undefined;
16
+ }, {
17
+ group?: string | undefined;
18
+ notified?: boolean | undefined;
19
+ }>>;
20
+ export declare const Observability: Capability.InterfaceDef<ObservabilityNs.Observability>;
21
+ /**
22
+ * Optional capability — when contributed, the help/feedback UI exposes a "Download logs" action.
23
+ * The callback is responsible for the entire download (read store, encode, save file).
24
+ */
25
+ export type LogDownloader = () => void | Promise<void>;
26
+ export declare const LogDownloader: Capability.InterfaceDef<LogDownloader>;
27
+ export declare const ClientCapability: Capability.InterfaceDef<Client>;
28
+ //# sourceMappingURL=ObservabilityCapabilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObservabilityCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/ObservabilityCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,KAAK,aAAa,IAAI,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAI5E,eAAO,MAAM,SAAS,iCAA6D,CAAC;AAEpF,eAAO,MAAM,QAAQ,sGAAkG,CAAC;AAExH,eAAO,MAAM,WAAW;;;GAKvB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAE3D,eAAO,MAAM,KAAK;;;;;;GAAuE,CAAC;AAE1F,eAAO,MAAM,aAAa,wDAAwF,CAAC;AAEnH;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACvD,eAAO,MAAM,aAAa,wCAAyE,CAAC;AAIpG,eAAO,MAAM,gBAAgB,iCAAsE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ActivationEvent } from '@dxos/app-framework';
2
+ export declare const StateReady: ActivationEvent.ActivationEvent;
3
+ export declare const ClientReadyEvent: ActivationEvent.ActivationEvent;
4
+ //# sourceMappingURL=ObservabilityEvents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObservabilityEvents.d.ts","sourceRoot":"","sources":["../../../../src/types/ObservabilityEvents.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAKtD,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,eAA+D,CAAC;AAGzG,eAAO,MAAM,gBAAgB,iCAAoE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { Capability } from '@dxos/app-framework';
2
+ import { Operation } from '@dxos/compute';
3
+ export declare const Toggle: Operation.Definition<{
4
+ readonly state?: boolean | undefined;
5
+ }, boolean, Capability.Service>;
6
+ export declare const SendEvent: Operation.Definition<{
7
+ readonly name: string;
8
+ readonly properties?: any;
9
+ }, void, Capability.Service>;
10
+ //# sourceMappingURL=ObservabilityOperation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObservabilityOperation.d.ts","sourceRoot":"","sources":["../../../../src/types/ObservabilityOperation.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,eAAO,MAAM,MAAM;;+BAWjB,CAAC;AAEH,eAAO,MAAM,SAAS;;;4BAYpB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import * as Schema from 'effect/Schema';
2
2
  export declare const Settings: Schema.mutable<Schema.Struct<{
3
- enabled: typeof Schema.Boolean;
3
+ enabled: Schema.SchemaClass<boolean, boolean, never>;
4
4
  }>>;
5
- export type Settings = Schema.Schema.Type<typeof Settings>;
5
+ export interface Settings extends Schema.Schema.Type<typeof Settings> {
6
+ }
6
7
  //# sourceMappingURL=Settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../../../src/types/Settings.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,eAAO,MAAM,QAAQ;;GAQpB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../../../src/types/Settings.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,eAAO,MAAM,QAAQ;;GAWpB,CAAC;AAEF,MAAM,WAAW,QAAS,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC;CAAG"}
@@ -1,4 +1,5 @@
1
- export * from './capabilities';
2
- export * from './events';
1
+ export * as ObservabilityCapabilities from './ObservabilityCapabilities';
2
+ export * as ObservabilityEvents from './ObservabilityEvents';
3
+ export * as ObservabilityOperation from './ObservabilityOperation';
3
4
  export * as Settings from './Settings';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,yBAAyB,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,mBAAmB,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,sBAAsB,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC"}