@dxos/plugin-observability 0.8.1-main.ae460ac → 0.8.1-staging.31c3ee1
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/app-graph-builder-OCAR3KUZ.mjs +40 -0
- package/dist/lib/browser/app-graph-builder-OCAR3KUZ.mjs.map +7 -0
- package/dist/lib/browser/chunk-6Q6ZJ3N4.mjs +123 -0
- package/dist/lib/browser/chunk-6Q6ZJ3N4.mjs.map +7 -0
- package/dist/lib/browser/{chunk-WEVYEGVJ.mjs → chunk-ECWB7E2O.mjs} +2 -2
- package/dist/lib/browser/chunk-RI4RE346.mjs +178 -0
- package/dist/lib/browser/chunk-RI4RE346.mjs.map +7 -0
- package/dist/lib/browser/{chunk-BMBRX6IW.mjs → chunk-RKH5BBR4.mjs} +1 -1
- package/dist/lib/browser/{chunk-BMBRX6IW.mjs.map → chunk-RKH5BBR4.mjs.map} +2 -2
- package/dist/lib/browser/{client-ready-G43SJ5KX.mjs → client-ready-LRY24QM5.mjs} +4 -5
- package/dist/lib/browser/{client-ready-G43SJ5KX.mjs.map → client-ready-LRY24QM5.mjs.map} +3 -3
- package/dist/lib/browser/index.mjs +30 -9
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intents-resolver-T4PF2V23.mjs → intent-resolver-ZKNJCLDV.mjs} +34 -21
- package/dist/lib/browser/intent-resolver-ZKNJCLDV.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react-surface-S36FDV7I.mjs +32 -0
- package/dist/lib/browser/react-surface-S36FDV7I.mjs.map +7 -0
- package/dist/lib/browser/{settings-3DXJFOJA.mjs → settings-JFZJTDH7.mjs} +4 -4
- package/dist/lib/browser/{state-LG42JNIS.mjs → state-GHBXMIQI.mjs} +3 -3
- package/dist/lib/browser/types.mjs +2 -2
- package/dist/lib/node/app-graph-builder-JPUTX4LQ.cjs +56 -0
- package/dist/lib/node/app-graph-builder-JPUTX4LQ.cjs.map +7 -0
- package/dist/lib/node/{chunk-7I7D7NBM.cjs → chunk-2ERIOZP3.cjs} +4 -4
- package/dist/lib/node/{chunk-7I7D7NBM.cjs.map → chunk-2ERIOZP3.cjs.map} +2 -2
- package/dist/lib/node/chunk-FIL4BZE2.cjs +148 -0
- package/dist/lib/node/chunk-FIL4BZE2.cjs.map +7 -0
- package/dist/lib/node/chunk-V4ZLLL5M.cjs +198 -0
- package/dist/lib/node/chunk-V4ZLLL5M.cjs.map +7 -0
- package/dist/lib/node/{chunk-X7HWBFE2.cjs → chunk-WJQ2MG7S.cjs} +7 -7
- package/dist/lib/node/{client-ready-352F6HCO.cjs → client-ready-KHGLQOQZ.cjs} +18 -19
- package/dist/lib/node/{client-ready-352F6HCO.cjs.map → client-ready-KHGLQOQZ.cjs.map} +3 -3
- package/dist/lib/node/index.cjs +43 -23
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/intent-resolver-5SANBSGX.cjs +88 -0
- package/dist/lib/node/intent-resolver-5SANBSGX.cjs.map +7 -0
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-G4DDWTSN.cjs → react-surface-MWJS6OMP.cjs} +21 -14
- package/dist/lib/node/react-surface-MWJS6OMP.cjs.map +7 -0
- package/dist/lib/node/{settings-ZFZ4YONA.cjs → settings-ARLOGCYU.cjs} +9 -9
- package/dist/lib/node/{state-FNK3OBM7.cjs → state-5GZLUTX7.cjs} +8 -8
- package/dist/lib/node/types.cjs +4 -4
- package/dist/lib/node/types.cjs.map +1 -1
- package/dist/lib/node-esm/app-graph-builder-RKURIIFT.mjs +41 -0
- package/dist/lib/node-esm/app-graph-builder-RKURIIFT.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-HTL7V6A2.mjs → chunk-KT5SDFBU.mjs} +1 -1
- package/dist/lib/node-esm/{chunk-HTL7V6A2.mjs.map → chunk-KT5SDFBU.mjs.map} +2 -2
- package/dist/lib/node-esm/chunk-M3MGU3DN.mjs +179 -0
- package/dist/lib/node-esm/chunk-M3MGU3DN.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-MW737PHD.mjs +124 -0
- package/dist/lib/node-esm/chunk-MW737PHD.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-KPH3N6JS.mjs → chunk-U3JYGK3O.mjs} +2 -2
- package/dist/lib/node-esm/{client-ready-NXRLOXLL.mjs → client-ready-4BUMAISA.mjs} +4 -5
- package/dist/lib/node-esm/{client-ready-NXRLOXLL.mjs.map → client-ready-4BUMAISA.mjs.map} +3 -3
- package/dist/lib/node-esm/index.mjs +30 -9
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/{intents-resolver-IXURWG7Z.mjs → intent-resolver-5EFEXLWX.mjs} +34 -21
- package/dist/lib/node-esm/intent-resolver-5EFEXLWX.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/react-surface-VLQBOZTX.mjs +33 -0
- package/dist/lib/node-esm/react-surface-VLQBOZTX.mjs.map +7 -0
- package/dist/lib/node-esm/{settings-UNFUTWGX.mjs → settings-765HDSFY.mjs} +4 -4
- package/dist/lib/node-esm/{state-UXRA6NQC.mjs → state-R2UVEG7B.mjs} +3 -3
- package/dist/lib/node-esm/types.mjs +2 -2
- package/dist/types/src/ObservabilityPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +181 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/client-ready.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +177 -0
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/{intents-resolver.d.ts → intent-resolver.d.ts} +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/FeedbackForm.d.ts +6 -0
- package/dist/types/src/components/FeedbackForm.d.ts.map +1 -0
- package/dist/types/src/components/HelpContainer.d.ts +3 -0
- package/dist/types/src/components/HelpContainer.d.ts.map +1 -0
- package/dist/types/src/components/ObservabilitySettings.d.ts +2 -1
- package/dist/types/src/components/ObservabilitySettings.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +2 -0
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -5
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +4 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +142 -16
- package/dist/types/src/types.d.ts.map +1 -1
- package/package.json +21 -20
- package/src/ObservabilityPlugin.ts +6 -0
- package/src/capabilities/app-graph-builder.ts +33 -0
- package/src/capabilities/client-ready.ts +0 -1
- package/src/capabilities/index.ts +2 -1
- package/src/capabilities/{intents-resolver.ts → intent-resolver.ts} +21 -15
- package/src/capabilities/react-surface.tsx +8 -4
- package/src/components/FeedbackForm.tsx +82 -0
- package/src/components/HelpContainer.tsx +23 -0
- package/src/components/index.ts +2 -0
- package/src/index.ts +1 -0
- package/src/meta.ts +2 -2
- package/src/translations.ts +5 -0
- package/src/types.ts +168 -21
- package/dist/lib/browser/chunk-LJICNNK4.mjs +0 -58
- package/dist/lib/browser/chunk-LJICNNK4.mjs.map +0 -7
- package/dist/lib/browser/chunk-VOXXTFUV.mjs +0 -37
- package/dist/lib/browser/chunk-VOXXTFUV.mjs.map +0 -7
- package/dist/lib/browser/intents-resolver-T4PF2V23.mjs.map +0 -7
- package/dist/lib/browser/react-surface-TRXHCMO5.mjs +0 -24
- package/dist/lib/browser/react-surface-TRXHCMO5.mjs.map +0 -7
- package/dist/lib/node/chunk-XBDGBB5D.cjs +0 -78
- package/dist/lib/node/chunk-XBDGBB5D.cjs.map +0 -7
- package/dist/lib/node/chunk-YHIPA37Q.cjs +0 -65
- package/dist/lib/node/chunk-YHIPA37Q.cjs.map +0 -7
- package/dist/lib/node/intents-resolver-UCNXONFF.cjs +0 -75
- package/dist/lib/node/intents-resolver-UCNXONFF.cjs.map +0 -7
- package/dist/lib/node/react-surface-G4DDWTSN.cjs.map +0 -7
- package/dist/lib/node-esm/chunk-DSC5SQ7W.mjs +0 -59
- package/dist/lib/node-esm/chunk-DSC5SQ7W.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-N5NBR55J.mjs +0 -38
- package/dist/lib/node-esm/chunk-N5NBR55J.mjs.map +0 -7
- package/dist/lib/node-esm/intents-resolver-IXURWG7Z.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-QYURTQNR.mjs +0 -25
- package/dist/lib/node-esm/react-surface-QYURTQNR.mjs.map +0 -7
- package/dist/types/src/capabilities/intents-resolver.d.ts.map +0 -1
- /package/dist/lib/browser/{chunk-WEVYEGVJ.mjs.map → chunk-ECWB7E2O.mjs.map} +0 -0
- /package/dist/lib/browser/{settings-3DXJFOJA.mjs.map → settings-JFZJTDH7.mjs.map} +0 -0
- /package/dist/lib/browser/{state-LG42JNIS.mjs.map → state-GHBXMIQI.mjs.map} +0 -0
- /package/dist/lib/node/{chunk-X7HWBFE2.cjs.map → chunk-WJQ2MG7S.cjs.map} +0 -0
- /package/dist/lib/node/{settings-ZFZ4YONA.cjs.map → settings-ARLOGCYU.cjs.map} +0 -0
- /package/dist/lib/node/{state-FNK3OBM7.cjs.map → state-5GZLUTX7.cjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-KPH3N6JS.mjs.map → chunk-U3JYGK3O.mjs.map} +0 -0
- /package/dist/lib/node-esm/{settings-UNFUTWGX.mjs.map → settings-765HDSFY.mjs.map} +0 -0
- /package/dist/lib/node-esm/{state-UXRA6NQC.mjs.map → state-R2UVEG7B.mjs.map} +0 -0
|
@@ -1,3 +1,180 @@
|
|
|
1
|
+
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<Readonly<{
|
|
2
|
+
id: string;
|
|
3
|
+
position: import("@dxos/util").Position;
|
|
4
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
5
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
6
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
7
|
+
type?: string;
|
|
8
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
9
|
+
}> | Readonly<{
|
|
10
|
+
id: string;
|
|
11
|
+
position: import("@dxos/util").Position;
|
|
12
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
13
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
14
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
15
|
+
type?: string;
|
|
16
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
17
|
+
}>[] | (Readonly<{
|
|
18
|
+
id: string;
|
|
19
|
+
position: import("@dxos/util").Position;
|
|
20
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
21
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
22
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
23
|
+
type?: string;
|
|
24
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
25
|
+
}> | Readonly<{
|
|
26
|
+
id: string;
|
|
27
|
+
position: import("@dxos/util").Position;
|
|
28
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
29
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
30
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
31
|
+
type?: string;
|
|
32
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
33
|
+
}>[] | (Readonly<{
|
|
34
|
+
id: string;
|
|
35
|
+
position: import("@dxos/util").Position;
|
|
36
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
37
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
38
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
39
|
+
type?: string;
|
|
40
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
41
|
+
}> | Readonly<{
|
|
42
|
+
id: string;
|
|
43
|
+
position: import("@dxos/util").Position;
|
|
44
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
45
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
46
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
47
|
+
type?: string;
|
|
48
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
49
|
+
}>[] | (Readonly<{
|
|
50
|
+
id: string;
|
|
51
|
+
position: import("@dxos/util").Position;
|
|
52
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
53
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
54
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
55
|
+
type?: string;
|
|
56
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
57
|
+
}> | Readonly<{
|
|
58
|
+
id: string;
|
|
59
|
+
position: import("@dxos/util").Position;
|
|
60
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
61
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
62
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
63
|
+
type?: string;
|
|
64
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
65
|
+
}>[] | (Readonly<{
|
|
66
|
+
id: string;
|
|
67
|
+
position: import("@dxos/util").Position;
|
|
68
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
69
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
70
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
71
|
+
type?: string;
|
|
72
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
73
|
+
}> | Readonly<{
|
|
74
|
+
id: string;
|
|
75
|
+
position: import("@dxos/util").Position;
|
|
76
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
77
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
78
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
79
|
+
type?: string;
|
|
80
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
81
|
+
}>[] | (Readonly<{
|
|
82
|
+
id: string;
|
|
83
|
+
position: import("@dxos/util").Position;
|
|
84
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
85
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
86
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
87
|
+
type?: string;
|
|
88
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
89
|
+
}> | Readonly<{
|
|
90
|
+
id: string;
|
|
91
|
+
position: import("@dxos/util").Position;
|
|
92
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
93
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
94
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
95
|
+
type?: string;
|
|
96
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
97
|
+
}>[] | (Readonly<{
|
|
98
|
+
id: string;
|
|
99
|
+
position: import("@dxos/util").Position;
|
|
100
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
101
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
102
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
103
|
+
type?: string;
|
|
104
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
105
|
+
}> | Readonly<{
|
|
106
|
+
id: string;
|
|
107
|
+
position: import("@dxos/util").Position;
|
|
108
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
109
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
110
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
111
|
+
type?: string;
|
|
112
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
113
|
+
}>[] | (Readonly<{
|
|
114
|
+
id: string;
|
|
115
|
+
position: import("@dxos/util").Position;
|
|
116
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
117
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
118
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
119
|
+
type?: string;
|
|
120
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
121
|
+
}> | Readonly<{
|
|
122
|
+
id: string;
|
|
123
|
+
position: import("@dxos/util").Position;
|
|
124
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
125
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
126
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
127
|
+
type?: string;
|
|
128
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
129
|
+
}>[] | (Readonly<{
|
|
130
|
+
id: string;
|
|
131
|
+
position: import("@dxos/util").Position;
|
|
132
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
133
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
134
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
135
|
+
type?: string;
|
|
136
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
137
|
+
}> | Readonly<{
|
|
138
|
+
id: string;
|
|
139
|
+
position: import("@dxos/util").Position;
|
|
140
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
141
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
142
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
143
|
+
type?: string;
|
|
144
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
145
|
+
}>[] | (Readonly<{
|
|
146
|
+
id: string;
|
|
147
|
+
position: import("@dxos/util").Position;
|
|
148
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
149
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
150
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
151
|
+
type?: string;
|
|
152
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
153
|
+
}> | Readonly<{
|
|
154
|
+
id: string;
|
|
155
|
+
position: import("@dxos/util").Position;
|
|
156
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
157
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
158
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
159
|
+
type?: string;
|
|
160
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
161
|
+
}>[] | (any[] | Readonly<{
|
|
162
|
+
id: string;
|
|
163
|
+
position: import("@dxos/util").Position;
|
|
164
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
165
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
166
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
167
|
+
type?: string;
|
|
168
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
169
|
+
}> | Readonly<{
|
|
170
|
+
id: string;
|
|
171
|
+
position: import("@dxos/util").Position;
|
|
172
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
173
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
174
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
175
|
+
type?: string;
|
|
176
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
177
|
+
}>[])[])[])[])[])[])[])[])[])[])[]> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
1
178
|
export declare const ClientReady: (props?: {
|
|
2
179
|
context: import("@dxos/app-framework").PluginsContext;
|
|
3
180
|
namespace: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW;;;;+KAAuC,CAAC;AAChE,eAAO,MAAM,cAAc;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;qBAQw2F,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;qFARnmV,CAAC;AACzE,eAAO,MAAM,WAAW;;;;+KAAuC,CAAC;AAChE,eAAO,MAAM,cAAc;;;6LAA0C,CAAC;AACtE,eAAO,MAAM,YAAY,gMAAwC,CAAC;AAClE,eAAO,MAAM,qBAAqB,4LAAmC,CAAC;AACtE,eAAO,MAAM,kBAAkB;;wOAAgC,CAAC;AAEhE,cAAc,gBAAgB,CAAC"}
|
|
@@ -4,4 +4,4 @@ declare const _default: ({ context, namespace }: {
|
|
|
4
4
|
namespace: string;
|
|
5
5
|
}) => import("@dxos/app-framework").Capability<Capabilities.IntentResolver>;
|
|
6
6
|
export default _default;
|
|
7
|
-
//# sourceMappingURL=
|
|
7
|
+
//# sourceMappingURL=intent-resolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAA6C,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;iDAS3E;IAAE,OAAO,EAAE,cAAc,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;AAAtF,wBAsDK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAe,YAAY,EAAiB,MAAM,qBAAqB,CAAC;;AAM/E,
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAe,YAAY,EAAiB,MAAM,qBAAqB,CAAC;;AAM/E,wBAcK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeedbackForm.d.ts","sourceRoot":"","sources":["../../../../src/components/FeedbackForm.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAO7D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AA+CxC,eAAO,MAAM,YAAY,eAAgB;IAAE,MAAM,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAA;CAAE,sBAuBlF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelpContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/HelpContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAO3C,eAAO,MAAM,aAAa,yBAWzB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
export declare const ObservabilitySettingsSchema: S.mutable<S.Struct<{
|
|
3
4
|
enabled: typeof S.Boolean;
|
|
@@ -5,5 +6,5 @@ export declare const ObservabilitySettingsSchema: S.mutable<S.Struct<{
|
|
|
5
6
|
export type ObservabilitySettingsProps = S.Schema.Type<typeof ObservabilitySettingsSchema>;
|
|
6
7
|
export declare const ObservabilitySettings: ({ settings }: {
|
|
7
8
|
settings: ObservabilitySettingsProps;
|
|
8
|
-
}) =>
|
|
9
|
+
}) => React.JSX.Element;
|
|
9
10
|
//# sourceMappingURL=ObservabilitySettings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObservabilitySettings.d.ts","sourceRoot":"","sources":["../../../../src/components/ObservabilitySettings.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObservabilitySettings.d.ts","sourceRoot":"","sources":["../../../../src/components/ObservabilitySettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAOtC,eAAO,MAAM,2BAA2B;;GAQvC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE3F,eAAO,MAAM,qBAAqB,iBAAkB;IAAE,QAAQ,EAAE,0BAA0B,CAAA;CAAE,sBAqB3F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,cAAc,QAAQ,CAAC;AACvB,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,uBAAuB,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
+
import { type PluginMeta } from '@dxos/app-framework';
|
|
1
2
|
export declare const OBSERVABILITY_PLUGIN = "dxos.org/plugin/observability";
|
|
2
|
-
export declare const meta:
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
icon: string;
|
|
6
|
-
};
|
|
3
|
+
export declare const meta: PluginMeta;
|
|
7
4
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,oBAAoB,kCAAkC,CAAC;AAEpE,eAAO,MAAM,IAAI,EAAE,UAIlB,CAAC"}
|
|
@@ -9,6 +9,10 @@ declare const _default: {
|
|
|
9
9
|
'observability toast close label': string;
|
|
10
10
|
'observability enabled label': string;
|
|
11
11
|
'observability description': string;
|
|
12
|
+
'help label': string;
|
|
13
|
+
'feedback text area label': string;
|
|
14
|
+
'feedback text area placeholder': string;
|
|
15
|
+
'send feedback label': string;
|
|
12
16
|
};
|
|
13
17
|
};
|
|
14
18
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAMA,wBAuBE"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { S } from '@dxos/echo-schema';
|
|
2
2
|
export declare const UserFeedback: S.Struct<{
|
|
3
|
-
|
|
4
|
-
email: S.filter<S.Schema<string, string, never>>;
|
|
5
|
-
message: S.filter<S.Schema<string, string, never>>;
|
|
3
|
+
message: S.filter<S.filter<typeof S.String>>;
|
|
6
4
|
}>;
|
|
7
5
|
export type UserFeedback = S.Schema.Type<typeof UserFeedback>;
|
|
8
6
|
export declare namespace ObservabilityAction {
|
|
@@ -16,31 +14,159 @@ export declare namespace ObservabilityAction {
|
|
|
16
14
|
}>;
|
|
17
15
|
export class Toggle extends Toggle_base {
|
|
18
16
|
}
|
|
19
|
-
const
|
|
17
|
+
const CaptureUserFeedback_base: S.TaggedClass<CaptureUserFeedback, "dxos.org/plugin/observability/action/capture-feedback", {
|
|
18
|
+
readonly _tag: S.tag<"dxos.org/plugin/observability/action/capture-feedback">;
|
|
19
|
+
} & {
|
|
20
|
+
input: S.Struct<{
|
|
21
|
+
message: S.filter<S.filter<typeof S.String>>;
|
|
22
|
+
}>;
|
|
23
|
+
output: typeof S.Void;
|
|
24
|
+
}>;
|
|
25
|
+
export class CaptureUserFeedback extends CaptureUserFeedback_base {
|
|
26
|
+
}
|
|
27
|
+
const BaseSendEvent_base: S.TaggedClass<BaseSendEvent, "dxos.org/plugin/observability/action/send-event", {
|
|
20
28
|
readonly _tag: S.tag<"dxos.org/plugin/observability/action/send-event">;
|
|
21
29
|
} & {
|
|
22
30
|
input: S.Struct<{
|
|
23
31
|
name: typeof S.String;
|
|
24
32
|
properties: S.optional<typeof S.Object>;
|
|
25
|
-
installationId: S.optional<typeof S.String>;
|
|
26
|
-
identityId: S.optional<typeof S.String>;
|
|
27
|
-
timestamp: S.optional<typeof S.Date>;
|
|
28
33
|
}>;
|
|
29
34
|
output: typeof S.Void;
|
|
30
35
|
}>;
|
|
31
|
-
|
|
36
|
+
/** Base intent for sending events. */
|
|
37
|
+
export class BaseSendEvent extends BaseSendEvent_base {
|
|
32
38
|
}
|
|
33
|
-
const
|
|
34
|
-
readonly _tag: S.tag<"dxos.org/plugin/observability/action/
|
|
39
|
+
const SendEvent_base: S.TaggedClass<SendEvent, "dxos.org/plugin/observability/action/send-event", {
|
|
40
|
+
readonly _tag: S.tag<"dxos.org/plugin/observability/action/send-event">;
|
|
35
41
|
} & {
|
|
36
|
-
input: S.Struct<{
|
|
37
|
-
name: S.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
42
|
+
input: S.Union<[S.Struct<{
|
|
43
|
+
name: S.Literal<["identity.create"]>;
|
|
44
|
+
}>, S.Struct<{
|
|
45
|
+
name: S.Literal<["identity.join"]>;
|
|
46
|
+
}>, S.Struct<{
|
|
47
|
+
name: S.Literal<["identity.recover"]>;
|
|
48
|
+
}>, S.Struct<{
|
|
49
|
+
name: S.Literal<["identity.share"]>;
|
|
50
|
+
}>, S.Struct<{
|
|
51
|
+
name: S.Literal<["navigation.activate"]>;
|
|
52
|
+
properties: S.Struct<{
|
|
53
|
+
subjectId: typeof S.String;
|
|
54
|
+
typename: S.optional<typeof S.String>;
|
|
55
|
+
}>;
|
|
56
|
+
}>, S.Struct<{
|
|
57
|
+
name: S.Literal<["page.load"]>;
|
|
58
|
+
properties: S.Struct<{
|
|
59
|
+
loadDuration: typeof S.Number;
|
|
60
|
+
}>;
|
|
61
|
+
}>, S.Struct<{
|
|
62
|
+
name: S.Literal<["plugins.toggle"]>;
|
|
63
|
+
properties: S.Struct<{
|
|
64
|
+
plugin: typeof S.String;
|
|
65
|
+
enabled: typeof S.Boolean;
|
|
66
|
+
}>;
|
|
67
|
+
}>, S.Struct<{
|
|
68
|
+
name: S.Literal<["space.create"]>;
|
|
69
|
+
properties: S.Struct<{
|
|
70
|
+
spaceId: typeof S.String;
|
|
71
|
+
}>;
|
|
72
|
+
}>, S.Struct<{
|
|
73
|
+
name: S.Literal<["space.join"]>;
|
|
74
|
+
properties: S.Struct<{
|
|
75
|
+
spaceId: typeof S.String;
|
|
76
|
+
}>;
|
|
77
|
+
}>, S.Struct<{
|
|
78
|
+
name: S.Literal<["space.limit"]>;
|
|
79
|
+
properties: S.Struct<{
|
|
80
|
+
spaceId: typeof S.String;
|
|
81
|
+
}>;
|
|
82
|
+
}>, S.Struct<{
|
|
83
|
+
name: S.Literal<["space.lock"]>;
|
|
84
|
+
properties: S.Struct<{
|
|
85
|
+
spaceId: typeof S.String;
|
|
86
|
+
}>;
|
|
87
|
+
}>, S.Struct<{
|
|
88
|
+
name: S.Literal<["space.migrate"]>;
|
|
89
|
+
properties: S.Struct<{
|
|
90
|
+
spaceId: typeof S.String;
|
|
91
|
+
targetVersion: S.optional<typeof S.String>;
|
|
92
|
+
version: S.optional<typeof S.String>;
|
|
93
|
+
}>;
|
|
94
|
+
}>, S.Struct<{
|
|
95
|
+
name: S.Literal<["space.object.add"]>;
|
|
96
|
+
properties: S.Struct<{
|
|
97
|
+
spaceId: typeof S.String;
|
|
98
|
+
objectId: typeof S.String;
|
|
99
|
+
typename: S.optional<typeof S.String>;
|
|
100
|
+
}>;
|
|
101
|
+
}>, S.Struct<{
|
|
102
|
+
name: S.Literal<["space.share"]>;
|
|
103
|
+
properties: S.Struct<{
|
|
104
|
+
spaceId: typeof S.String;
|
|
105
|
+
}>;
|
|
106
|
+
}>, S.Struct<{
|
|
107
|
+
name: S.Literal<["space.unlock"]>;
|
|
108
|
+
properties: S.Struct<{
|
|
109
|
+
spaceId: typeof S.String;
|
|
110
|
+
}>;
|
|
111
|
+
}>, S.Struct<{
|
|
112
|
+
name: S.Literal<["threads.create"]>;
|
|
113
|
+
properties: S.Struct<{
|
|
114
|
+
spaceId: typeof S.String;
|
|
115
|
+
threadId: typeof S.String;
|
|
116
|
+
}>;
|
|
117
|
+
}>, S.Struct<{
|
|
118
|
+
name: S.Literal<["threads.delete"]>;
|
|
119
|
+
properties: S.Struct<{
|
|
120
|
+
spaceId: typeof S.String;
|
|
121
|
+
threadId: typeof S.String;
|
|
122
|
+
}>;
|
|
123
|
+
}>, S.Struct<{
|
|
124
|
+
name: S.Literal<["threads.message.add"]>;
|
|
125
|
+
properties: S.Struct<{
|
|
126
|
+
spaceId: typeof S.String;
|
|
127
|
+
threadId: typeof S.String;
|
|
128
|
+
threadLength: typeof S.Number;
|
|
129
|
+
messageId: typeof S.String;
|
|
130
|
+
messageLength: typeof S.Number;
|
|
131
|
+
}>;
|
|
132
|
+
}>, S.Struct<{
|
|
133
|
+
name: S.Literal<["threads.message.delete"]>;
|
|
134
|
+
properties: S.Struct<{
|
|
135
|
+
spaceId: typeof S.String;
|
|
136
|
+
threadId: typeof S.String;
|
|
137
|
+
messageId: typeof S.String;
|
|
138
|
+
}>;
|
|
139
|
+
}>, S.Struct<{
|
|
140
|
+
name: S.Literal<["threads.message.undo-delete"]>;
|
|
141
|
+
properties: S.Struct<{
|
|
142
|
+
spaceId: typeof S.String;
|
|
143
|
+
threadId: typeof S.String;
|
|
144
|
+
messageId: typeof S.String;
|
|
145
|
+
}>;
|
|
146
|
+
}>, S.Struct<{
|
|
147
|
+
name: S.Literal<["threads.message.update"]>;
|
|
148
|
+
properties: S.Struct<{
|
|
149
|
+
spaceId: typeof S.String;
|
|
150
|
+
messageId: typeof S.String;
|
|
151
|
+
messageLength: typeof S.Number;
|
|
152
|
+
}>;
|
|
153
|
+
}>, S.Struct<{
|
|
154
|
+
name: S.Literal<["threads.toggle-resolved"]>;
|
|
155
|
+
properties: S.Struct<{
|
|
156
|
+
spaceId: typeof S.String;
|
|
157
|
+
threadId: typeof S.String;
|
|
158
|
+
}>;
|
|
159
|
+
}>, S.Struct<{
|
|
160
|
+
name: S.Literal<["threads.undo-delete"]>;
|
|
161
|
+
properties: S.Struct<{
|
|
162
|
+
spaceId: typeof S.String;
|
|
163
|
+
threadId: typeof S.String;
|
|
164
|
+
}>;
|
|
165
|
+
}>]>;
|
|
41
166
|
output: typeof S.Void;
|
|
42
167
|
}>;
|
|
43
|
-
|
|
168
|
+
/** Intent with strict types for first-party events. */
|
|
169
|
+
export class SendEvent extends SendEvent_base {
|
|
44
170
|
}
|
|
45
171
|
export {};
|
|
46
172
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAUtC,eAAO,MAAM,YAAY;;EAEvB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC;AAI9D,yBAAiB,mBAAmB,CAAC;;;;;;;;;IACnC,MAAM,OAAO,MAAO,SAAQ,WAK1B;KAAG;;;;;;;;;IAEL,MAAM,OAAO,mBAAoB,SAAQ,wBAMxC;KAAG;;;;;;;;;;IAEJ,sCAAsC;IACtC,MAAM,OAAO,aAAc,SAAQ,kBAMjC;KAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEL,uDAAuD;IACvD,MAAM,OAAO,SAAU,SAAQ,cAuJ7B;KAAG;;CACN"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-observability",
|
|
3
|
-
"version": "0.8.1-
|
|
3
|
+
"version": "0.8.1-staging.31c3ee1",
|
|
4
4
|
"description": "DXOS app framework plugin for hooking up app observability",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -35,35 +35,36 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@preact/signals-core": "^1.6.0",
|
|
37
37
|
"localforage": "^1.10.0",
|
|
38
|
-
"@dxos/app-framework": "0.8.1-
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/
|
|
41
|
-
"@dxos/
|
|
42
|
-
"@dxos/
|
|
43
|
-
"@dxos/
|
|
44
|
-
"@dxos/
|
|
45
|
-
"@dxos/log": "0.8.1-
|
|
46
|
-
"@dxos/observability": "0.8.1-
|
|
47
|
-
"@dxos/protocols": "0.8.1-
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/react-
|
|
50
|
-
"@dxos/react-ui-
|
|
51
|
-
"@dxos/
|
|
38
|
+
"@dxos/app-framework": "0.8.1-staging.31c3ee1",
|
|
39
|
+
"@dxos/context": "0.8.1-staging.31c3ee1",
|
|
40
|
+
"@dxos/async": "0.8.1-staging.31c3ee1",
|
|
41
|
+
"@dxos/echo-schema": "0.8.1-staging.31c3ee1",
|
|
42
|
+
"@dxos/live-object": "0.8.1-staging.31c3ee1",
|
|
43
|
+
"@dxos/invariant": "0.8.1-staging.31c3ee1",
|
|
44
|
+
"@dxos/local-storage": "0.8.1-staging.31c3ee1",
|
|
45
|
+
"@dxos/log": "0.8.1-staging.31c3ee1",
|
|
46
|
+
"@dxos/observability": "0.8.1-staging.31c3ee1",
|
|
47
|
+
"@dxos/protocols": "0.8.1-staging.31c3ee1",
|
|
48
|
+
"@dxos/plugin-graph": "0.8.1-staging.31c3ee1",
|
|
49
|
+
"@dxos/react-client": "0.8.1-staging.31c3ee1",
|
|
50
|
+
"@dxos/react-ui-form": "0.8.1-staging.31c3ee1",
|
|
51
|
+
"@dxos/react-ui-stack": "0.8.1-staging.31c3ee1",
|
|
52
|
+
"@dxos/util": "0.8.1-staging.31c3ee1"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
54
55
|
"@phosphor-icons/react": "^2.1.5",
|
|
55
56
|
"@types/react": "~18.2.0",
|
|
56
57
|
"react": "~18.2.0",
|
|
57
58
|
"vite": "5.4.7",
|
|
58
|
-
"@dxos/react-ui": "0.8.1-
|
|
59
|
-
"@dxos/react-ui-theme": "0.8.1-
|
|
60
|
-
"@dxos/storybook-utils": "0.8.1-
|
|
59
|
+
"@dxos/react-ui": "0.8.1-staging.31c3ee1",
|
|
60
|
+
"@dxos/react-ui-theme": "0.8.1-staging.31c3ee1",
|
|
61
|
+
"@dxos/storybook-utils": "0.8.1-staging.31c3ee1"
|
|
61
62
|
},
|
|
62
63
|
"peerDependencies": {
|
|
63
64
|
"@phosphor-icons/react": "^2.1.5",
|
|
64
65
|
"react": "~18.2.0",
|
|
65
|
-
"@dxos/react-ui": "0.8.1-
|
|
66
|
-
"@dxos/react-ui-theme": "0.8.1-
|
|
66
|
+
"@dxos/react-ui": "0.8.1-staging.31c3ee1",
|
|
67
|
+
"@dxos/react-ui-theme": "0.8.1-staging.31c3ee1"
|
|
67
68
|
},
|
|
68
69
|
"publishConfig": {
|
|
69
70
|
"access": "public"
|
|
@@ -6,6 +6,7 @@ import { allOf, Capabilities, contributes, defineModule, definePlugin, Events }
|
|
|
6
6
|
import { type Observability } from '@dxos/observability';
|
|
7
7
|
|
|
8
8
|
import {
|
|
9
|
+
AppGraphBuilder,
|
|
9
10
|
ClientReady,
|
|
10
11
|
IntentResolver,
|
|
11
12
|
ObservabilityCapabilities,
|
|
@@ -50,6 +51,11 @@ export const ObservabilityPlugin = (options: { namespace: string; observability:
|
|
|
50
51
|
activatesOn: Events.SetupReactSurface,
|
|
51
52
|
activate: ReactSurface,
|
|
52
53
|
}),
|
|
54
|
+
defineModule({
|
|
55
|
+
id: `${meta.id}/module/app-graph-builder`,
|
|
56
|
+
activatesOn: Events.SetupAppGraph,
|
|
57
|
+
activate: AppGraphBuilder,
|
|
58
|
+
}),
|
|
53
59
|
defineModule({
|
|
54
60
|
id: `${meta.id}/module/client-ready`,
|
|
55
61
|
activatesOn: allOf(Events.DispatcherReady, ObservabilityEvents.StateReady, ClientReadyEvent),
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { Capabilities, contributes, type PluginsContext } from '@dxos/app-framework';
|
|
6
|
+
import { createExtension, type Node } from '@dxos/plugin-graph';
|
|
7
|
+
|
|
8
|
+
import { OBSERVABILITY_PLUGIN } from '../meta';
|
|
9
|
+
|
|
10
|
+
// NOTE: Copied from @dxos/plugin-deck to break circular dependency.
|
|
11
|
+
const ATTENDABLE_PATH_SEPARATOR = '~';
|
|
12
|
+
const DECK_COMPANION_TYPE = 'dxos.org/plugin/deck/deck-companion';
|
|
13
|
+
|
|
14
|
+
export default (context: PluginsContext) =>
|
|
15
|
+
contributes(Capabilities.AppGraphBuilder, [
|
|
16
|
+
createExtension({
|
|
17
|
+
id: `${OBSERVABILITY_PLUGIN}/help`,
|
|
18
|
+
filter: (node): node is Node<null> => node.id === 'root',
|
|
19
|
+
connector: ({ node }) => [
|
|
20
|
+
{
|
|
21
|
+
id: [node.id, 'help'].join(ATTENDABLE_PATH_SEPARATOR),
|
|
22
|
+
type: DECK_COMPANION_TYPE,
|
|
23
|
+
data: null,
|
|
24
|
+
properties: {
|
|
25
|
+
label: ['help label', { ns: OBSERVABILITY_PLUGIN }],
|
|
26
|
+
icon: 'ph--question--regular',
|
|
27
|
+
disposition: 'hidden',
|
|
28
|
+
position: 'hoist',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
}),
|
|
33
|
+
]);
|
|
@@ -61,7 +61,6 @@ export default async ({ context, namespace, observability }: ClientReadyOptions)
|
|
|
61
61
|
createIntent(ObservabilityAction.SendEvent, {
|
|
62
62
|
name: 'page.load',
|
|
63
63
|
properties: {
|
|
64
|
-
href: window.location.href,
|
|
65
64
|
// TODO(wittjosiah): These apis are deprecated. Is there a better way to find this information?
|
|
66
65
|
loadDuration: window.performance.timing.loadEventEnd - window.performance.timing.loadEventStart,
|
|
67
66
|
},
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import { lazy } from '@dxos/app-framework';
|
|
6
6
|
|
|
7
|
+
export const AppGraphBuilder = lazy(() => import('./app-graph-builder'));
|
|
7
8
|
export const ClientReady = lazy(() => import('./client-ready'));
|
|
8
|
-
export const IntentResolver = lazy(() => import('./
|
|
9
|
+
export const IntentResolver = lazy(() => import('./intent-resolver'));
|
|
9
10
|
export const ReactSurface = lazy(() => import('./react-surface'));
|
|
10
11
|
export const ObservabilitySettings = lazy(() => import('./settings'));
|
|
11
12
|
export const ObservabilityState = lazy(() => import('./state'));
|