@lobu/runtime-device 24.5.0 → 24.6.0
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/component.json +1 -1
- package/dist/dependencies.bun.lock +32 -17
- package/npm-shrinkwrap.json +140 -89
- package/package.json +2 -1
- package/vendor/cli/dist/bundled-skills/lobu/SKILL.md +57 -9
- package/vendor/cli/dist/commands/_lib/view-bundler.js +9 -1
- package/vendor/cli/dist/connectors/linkedin-identity.ts +43 -0
- package/vendor/cli/dist/connectors/linkedin.ts +154 -3
- package/vendor/cli/dist/connectors/x-like-follow.ts +329 -0
- package/vendor/cli/dist/connectors/x.ts +709 -80
- package/vendor/cli/dist/internal/connector-compiler.js +3 -1
- package/vendor/cli/dist/runtime-components.json +4 -4
- package/vendor/cli/package.json +2 -1
- package/vendor/connector-sdk/package.json +1 -1
- package/vendor/connector-worker/dist/compile/index.d.ts +4 -3
- package/vendor/connector-worker/dist/compile/index.js +6 -3
- package/vendor/connector-worker/package.json +1 -1
- package/vendor/core/dist/contracts/tools/view-host.d.ts +7 -0
- package/vendor/core/dist/contracts/tools/view-host.js +28 -0
- package/vendor/core/dist/contracts/tools/view-runtime.d.ts +2 -4
- package/vendor/core/dist/contracts/tools/view-runtime.js +19 -7
- package/vendor/core/package.json +11 -1
- package/vendor/views/dist/api.d.ts +290 -0
- package/vendor/views/dist/api.js +714 -0
- package/vendor/views/dist/bridge.d.ts +157 -0
- package/vendor/views/dist/bridge.js +372 -0
- package/vendor/views/dist/components.d.ts +172 -0
- package/vendor/views/dist/components.js +376 -0
- package/vendor/views/dist/index.d.ts +13 -0
- package/vendor/views/dist/index.js +3 -0
- package/vendor/views/dist/native.d.ts +327 -0
- package/vendor/views/dist/native.js +57 -0
- package/vendor/views/package.json +53 -0
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobu/runtime-device",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.6.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@lobu/runtime-device",
|
|
9
|
-
"version": "24.
|
|
9
|
+
"version": "24.6.0",
|
|
10
10
|
"license": "BUSL-1.1",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@lobu/cli": "file:vendor/cli",
|
|
13
13
|
"@lobu/connector-sdk": "file:vendor/connector-sdk",
|
|
14
14
|
"@lobu/connector-worker": "file:vendor/connector-worker",
|
|
15
15
|
"@lobu/core": "file:vendor/core",
|
|
16
|
+
"@lobu/views": "file:vendor/views",
|
|
16
17
|
"ajv-formats": "^3.0.1",
|
|
17
18
|
"chalk": "^5.3.0",
|
|
18
19
|
"cli-cursor": "^5.0.0",
|
|
@@ -61,17 +62,17 @@
|
|
|
61
62
|
}
|
|
62
63
|
},
|
|
63
64
|
"node_modules/@aws-sdk/client-bedrock-runtime": {
|
|
64
|
-
"version": "3.
|
|
65
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/client-bedrock-runtime/-/client-bedrock-runtime-3.
|
|
66
|
-
"integrity": "sha512-
|
|
65
|
+
"version": "3.1162.0",
|
|
66
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/client-bedrock-runtime/-/client-bedrock-runtime-3.1162.0.tgz",
|
|
67
|
+
"integrity": "sha512-5JiQfVsvbQ4E/v7+E9dDF0VYp02OKdKceAJyBzK3H+Ia13ntMZFgD5YL/xpgNR2SuK89MxuwdU5ilAqiXbarKw==",
|
|
67
68
|
"license": "Apache-2.0",
|
|
68
69
|
"dependencies": {
|
|
69
|
-
"@aws-sdk/core": "^3.
|
|
70
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
70
|
+
"@aws-sdk/core": "^3.980.0",
|
|
71
|
+
"@aws-sdk/credential-provider-node": "^3.972.93",
|
|
71
72
|
"@aws-sdk/eventstream-handler-node": "^3.972.40",
|
|
72
73
|
"@aws-sdk/middleware-eventstream": "^3.972.36",
|
|
73
|
-
"@aws-sdk/middleware-websocket": "^3.972.
|
|
74
|
-
"@aws-sdk/token-providers": "3.
|
|
74
|
+
"@aws-sdk/middleware-websocket": "^3.972.63",
|
|
75
|
+
"@aws-sdk/token-providers": "3.1162.0",
|
|
75
76
|
"@aws-sdk/types": "^3.975.0",
|
|
76
77
|
"@smithy/core": "^3.38.0",
|
|
77
78
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
@@ -84,9 +85,9 @@
|
|
|
84
85
|
}
|
|
85
86
|
},
|
|
86
87
|
"node_modules/@aws-sdk/core": {
|
|
87
|
-
"version": "3.
|
|
88
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.
|
|
89
|
-
"integrity": "sha512-
|
|
88
|
+
"version": "3.980.0",
|
|
89
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.980.0.tgz",
|
|
90
|
+
"integrity": "sha512-2RVSP/SsPS8HSPPzIPWNYFnSmlOdxx8VDlt5gDOuMaq9UiIi35pUyo6ZEuJcysjVCu0L8Lv5dJevLLpEkyF0/Q==",
|
|
90
91
|
"license": "Apache-2.0",
|
|
91
92
|
"dependencies": {
|
|
92
93
|
"@aws-sdk/types": "^3.975.0",
|
|
@@ -103,12 +104,12 @@
|
|
|
103
104
|
}
|
|
104
105
|
},
|
|
105
106
|
"node_modules/@aws-sdk/credential-provider-env": {
|
|
106
|
-
"version": "3.972.
|
|
107
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.
|
|
108
|
-
"integrity": "sha512-
|
|
107
|
+
"version": "3.972.81",
|
|
108
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.81.tgz",
|
|
109
|
+
"integrity": "sha512-VD+EVZ9UHNZhSm4KtakXZAPzgfOw4mRx66dAXNUtHcdJUisbsE7kpi1PRZFMquvuqVfx52fCDBgJgYyOFT/4hQ==",
|
|
109
110
|
"license": "Apache-2.0",
|
|
110
111
|
"dependencies": {
|
|
111
|
-
"@aws-sdk/core": "^3.
|
|
112
|
+
"@aws-sdk/core": "^3.980.0",
|
|
112
113
|
"@aws-sdk/types": "^3.975.0",
|
|
113
114
|
"@smithy/core": "^3.38.0",
|
|
114
115
|
"@smithy/types": "^4.19.0",
|
|
@@ -119,12 +120,12 @@
|
|
|
119
120
|
}
|
|
120
121
|
},
|
|
121
122
|
"node_modules/@aws-sdk/credential-provider-http": {
|
|
122
|
-
"version": "3.972.
|
|
123
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.
|
|
124
|
-
"integrity": "sha512-
|
|
123
|
+
"version": "3.972.83",
|
|
124
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.83.tgz",
|
|
125
|
+
"integrity": "sha512-NsLT02HXcWAQAgpuDJznoJDPIDH/Hh2LiQVlYc+1bVGsksEUZuYCMKa1E1L5qvzc5LLTphp7BP9LYVIhf+MbQA==",
|
|
125
126
|
"license": "Apache-2.0",
|
|
126
127
|
"dependencies": {
|
|
127
|
-
"@aws-sdk/core": "^3.
|
|
128
|
+
"@aws-sdk/core": "^3.980.0",
|
|
128
129
|
"@aws-sdk/types": "^3.975.0",
|
|
129
130
|
"@smithy/core": "^3.38.0",
|
|
130
131
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
@@ -137,19 +138,19 @@
|
|
|
137
138
|
}
|
|
138
139
|
},
|
|
139
140
|
"node_modules/@aws-sdk/credential-provider-ini": {
|
|
140
|
-
"version": "3.973.
|
|
141
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.
|
|
142
|
-
"integrity": "sha512-
|
|
141
|
+
"version": "3.973.26",
|
|
142
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.26.tgz",
|
|
143
|
+
"integrity": "sha512-vRydnN8wPqh5APe5R+/y4/UOts7QQQQP1UTczJq3fLcLzkQblbkYpLn+Srr8w9S/gzXU1pbiPKTv479unRawAA==",
|
|
143
144
|
"license": "Apache-2.0",
|
|
144
145
|
"dependencies": {
|
|
145
|
-
"@aws-sdk/core": "^3.
|
|
146
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
147
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
148
|
-
"@aws-sdk/credential-provider-login": "^3.972.
|
|
149
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
150
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
151
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
152
|
-
"@aws-sdk/nested-clients": "^3.
|
|
146
|
+
"@aws-sdk/core": "^3.980.0",
|
|
147
|
+
"@aws-sdk/credential-provider-env": "^3.972.81",
|
|
148
|
+
"@aws-sdk/credential-provider-http": "^3.972.83",
|
|
149
|
+
"@aws-sdk/credential-provider-login": "^3.972.88",
|
|
150
|
+
"@aws-sdk/credential-provider-process": "^3.972.81",
|
|
151
|
+
"@aws-sdk/credential-provider-sso": "^3.973.25",
|
|
152
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.87",
|
|
153
|
+
"@aws-sdk/nested-clients": "^3.998.0",
|
|
153
154
|
"@aws-sdk/types": "^3.975.0",
|
|
154
155
|
"@smithy/core": "^3.38.0",
|
|
155
156
|
"@smithy/credential-provider-imds": "^4.5.2",
|
|
@@ -161,13 +162,13 @@
|
|
|
161
162
|
}
|
|
162
163
|
},
|
|
163
164
|
"node_modules/@aws-sdk/credential-provider-login": {
|
|
164
|
-
"version": "3.972.
|
|
165
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.
|
|
166
|
-
"integrity": "sha512-
|
|
165
|
+
"version": "3.972.88",
|
|
166
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.88.tgz",
|
|
167
|
+
"integrity": "sha512-J8IcBpuFj3j3RImHq/dVO5HtnUbFgvzg7JQvzLt5A42VmzLLgPLM+CUWN68jpIMdIPayu1bb1T+mJjDv9Sq1aA==",
|
|
167
168
|
"license": "Apache-2.0",
|
|
168
169
|
"dependencies": {
|
|
169
|
-
"@aws-sdk/core": "^3.
|
|
170
|
-
"@aws-sdk/nested-clients": "^3.
|
|
170
|
+
"@aws-sdk/core": "^3.980.0",
|
|
171
|
+
"@aws-sdk/nested-clients": "^3.998.0",
|
|
171
172
|
"@aws-sdk/types": "^3.975.0",
|
|
172
173
|
"@smithy/core": "^3.38.0",
|
|
173
174
|
"@smithy/types": "^4.19.0",
|
|
@@ -178,17 +179,17 @@
|
|
|
178
179
|
}
|
|
179
180
|
},
|
|
180
181
|
"node_modules/@aws-sdk/credential-provider-node": {
|
|
181
|
-
"version": "3.972.
|
|
182
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.
|
|
183
|
-
"integrity": "sha512-
|
|
182
|
+
"version": "3.972.93",
|
|
183
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.93.tgz",
|
|
184
|
+
"integrity": "sha512-f5Grg1sgckk11ojxZ7NUYG1ZCOvcNhuuPngKWVxOKGuZokj8eOmo/75+GyR6qAQx4wAGytglZ53r4a3UPleAPQ==",
|
|
184
185
|
"license": "Apache-2.0",
|
|
185
186
|
"dependencies": {
|
|
186
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
187
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
188
|
-
"@aws-sdk/credential-provider-ini": "^3.973.
|
|
189
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
190
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
191
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
187
|
+
"@aws-sdk/credential-provider-env": "^3.972.81",
|
|
188
|
+
"@aws-sdk/credential-provider-http": "^3.972.83",
|
|
189
|
+
"@aws-sdk/credential-provider-ini": "^3.973.26",
|
|
190
|
+
"@aws-sdk/credential-provider-process": "^3.972.81",
|
|
191
|
+
"@aws-sdk/credential-provider-sso": "^3.973.25",
|
|
192
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.87",
|
|
192
193
|
"@aws-sdk/types": "^3.975.0",
|
|
193
194
|
"@smithy/core": "^3.38.0",
|
|
194
195
|
"@smithy/credential-provider-imds": "^4.5.2",
|
|
@@ -200,12 +201,12 @@
|
|
|
200
201
|
}
|
|
201
202
|
},
|
|
202
203
|
"node_modules/@aws-sdk/credential-provider-process": {
|
|
203
|
-
"version": "3.972.
|
|
204
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.
|
|
205
|
-
"integrity": "sha512-
|
|
204
|
+
"version": "3.972.81",
|
|
205
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.81.tgz",
|
|
206
|
+
"integrity": "sha512-6NBoFaNJbHB0YjcKW4WfrYIDmaMjtwbxlRreAf3MnXkD9WJX8XYu62pa78M0AQGgEt2TJmcNxqL3btAAjV67bA==",
|
|
206
207
|
"license": "Apache-2.0",
|
|
207
208
|
"dependencies": {
|
|
208
|
-
"@aws-sdk/core": "^3.
|
|
209
|
+
"@aws-sdk/core": "^3.980.0",
|
|
209
210
|
"@aws-sdk/types": "^3.975.0",
|
|
210
211
|
"@smithy/core": "^3.38.0",
|
|
211
212
|
"@smithy/types": "^4.19.0",
|
|
@@ -216,14 +217,14 @@
|
|
|
216
217
|
}
|
|
217
218
|
},
|
|
218
219
|
"node_modules/@aws-sdk/credential-provider-sso": {
|
|
219
|
-
"version": "3.973.
|
|
220
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.
|
|
221
|
-
"integrity": "sha512-
|
|
220
|
+
"version": "3.973.25",
|
|
221
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.25.tgz",
|
|
222
|
+
"integrity": "sha512-p1fNaa3as6S2L0wrWqe1cEz1r4iGQa7GbW23KJE3rJy+ZZxhPr6pr9cyCAJ7fAnzoMELvQGZZAuv/rG1ogRuOQ==",
|
|
222
223
|
"license": "Apache-2.0",
|
|
223
224
|
"dependencies": {
|
|
224
|
-
"@aws-sdk/core": "^3.
|
|
225
|
-
"@aws-sdk/nested-clients": "^3.
|
|
226
|
-
"@aws-sdk/token-providers": "3.
|
|
225
|
+
"@aws-sdk/core": "^3.980.0",
|
|
226
|
+
"@aws-sdk/nested-clients": "^3.998.0",
|
|
227
|
+
"@aws-sdk/token-providers": "3.1162.0",
|
|
227
228
|
"@aws-sdk/types": "^3.975.0",
|
|
228
229
|
"@smithy/core": "^3.38.0",
|
|
229
230
|
"@smithy/types": "^4.19.0",
|
|
@@ -234,13 +235,13 @@
|
|
|
234
235
|
}
|
|
235
236
|
},
|
|
236
237
|
"node_modules/@aws-sdk/credential-provider-web-identity": {
|
|
237
|
-
"version": "3.972.
|
|
238
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.
|
|
239
|
-
"integrity": "sha512-
|
|
238
|
+
"version": "3.972.87",
|
|
239
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.87.tgz",
|
|
240
|
+
"integrity": "sha512-O2P6CUfMP2qi8vgYB6UHYj/NYTEAAdTr2geEVdVchr3JBofK4Q6W917FiVr2sleA72R59YAXMEhrpzPwkX/xdA==",
|
|
240
241
|
"license": "Apache-2.0",
|
|
241
242
|
"dependencies": {
|
|
242
|
-
"@aws-sdk/core": "^3.
|
|
243
|
-
"@aws-sdk/nested-clients": "^3.
|
|
243
|
+
"@aws-sdk/core": "^3.980.0",
|
|
244
|
+
"@aws-sdk/nested-clients": "^3.998.0",
|
|
244
245
|
"@aws-sdk/types": "^3.975.0",
|
|
245
246
|
"@smithy/core": "^3.38.0",
|
|
246
247
|
"@smithy/types": "^4.19.0",
|
|
@@ -281,12 +282,12 @@
|
|
|
281
282
|
}
|
|
282
283
|
},
|
|
283
284
|
"node_modules/@aws-sdk/middleware-websocket": {
|
|
284
|
-
"version": "3.972.
|
|
285
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-websocket/-/middleware-websocket-3.972.
|
|
286
|
-
"integrity": "sha512-
|
|
285
|
+
"version": "3.972.63",
|
|
286
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-websocket/-/middleware-websocket-3.972.63.tgz",
|
|
287
|
+
"integrity": "sha512-fgY5UA9oeQYwxR5MyhIHUs9wGrXJGXLK71MQck1z3ArEb/GvQ0TmZm/RPs+cIbcaoKtIGqMb2u8AZ1rGFKYzKg==",
|
|
287
288
|
"license": "Apache-2.0",
|
|
288
289
|
"dependencies": {
|
|
289
|
-
"@aws-sdk/core": "^3.
|
|
290
|
+
"@aws-sdk/core": "^3.980.0",
|
|
290
291
|
"@aws-sdk/types": "^3.975.0",
|
|
291
292
|
"@smithy/core": "^3.38.0",
|
|
292
293
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
@@ -299,12 +300,12 @@
|
|
|
299
300
|
}
|
|
300
301
|
},
|
|
301
302
|
"node_modules/@aws-sdk/nested-clients": {
|
|
302
|
-
"version": "3.
|
|
303
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.
|
|
304
|
-
"integrity": "sha512
|
|
303
|
+
"version": "3.998.0",
|
|
304
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.998.0.tgz",
|
|
305
|
+
"integrity": "sha512-aOD1oQVWG6UjOOEdp0MsrWE93vG8pPbvtymmeNtglGxAARplh1wzhHs4npqtY5JN5GBSrTaLbn1hQQ3W2Lk8ow==",
|
|
305
306
|
"license": "Apache-2.0",
|
|
306
307
|
"dependencies": {
|
|
307
|
-
"@aws-sdk/core": "^3.
|
|
308
|
+
"@aws-sdk/core": "^3.980.0",
|
|
308
309
|
"@aws-sdk/signature-v4-multi-region": "^3.996.51",
|
|
309
310
|
"@aws-sdk/types": "^3.975.0",
|
|
310
311
|
"@smithy/core": "^3.38.0",
|
|
@@ -333,13 +334,13 @@
|
|
|
333
334
|
}
|
|
334
335
|
},
|
|
335
336
|
"node_modules/@aws-sdk/token-providers": {
|
|
336
|
-
"version": "3.
|
|
337
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.
|
|
338
|
-
"integrity": "sha512-
|
|
337
|
+
"version": "3.1162.0",
|
|
338
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1162.0.tgz",
|
|
339
|
+
"integrity": "sha512-vOD6Ac0M43LtXaPu+/+wUMQCd27zIpKt/Le/a645qhx7T1MZeEK71PDhtIHGHgnQjGyNSfC6Z5RNud/hQb3veg==",
|
|
339
340
|
"license": "Apache-2.0",
|
|
340
341
|
"dependencies": {
|
|
341
|
-
"@aws-sdk/core": "^3.
|
|
342
|
-
"@aws-sdk/nested-clients": "^3.
|
|
342
|
+
"@aws-sdk/core": "^3.980.0",
|
|
343
|
+
"@aws-sdk/nested-clients": "^3.998.0",
|
|
343
344
|
"@aws-sdk/types": "^3.975.0",
|
|
344
345
|
"@smithy/core": "^3.38.0",
|
|
345
346
|
"@smithy/types": "^4.19.0",
|
|
@@ -1296,6 +1297,10 @@
|
|
|
1296
1297
|
"resolved": "vendor/core",
|
|
1297
1298
|
"link": true
|
|
1298
1299
|
},
|
|
1300
|
+
"node_modules/@lobu/views": {
|
|
1301
|
+
"resolved": "vendor/views",
|
|
1302
|
+
"link": true
|
|
1303
|
+
},
|
|
1299
1304
|
"node_modules/@mariozechner/pi-agent-core": {
|
|
1300
1305
|
"version": "0.73.1",
|
|
1301
1306
|
"resolved": "https://registry.npmjs.org/@mariozechner/pi-agent-core/-/pi-agent-core-0.73.1.tgz",
|
|
@@ -1495,12 +1500,12 @@
|
|
|
1495
1500
|
}
|
|
1496
1501
|
},
|
|
1497
1502
|
"node_modules/@smithy/core": {
|
|
1498
|
-
"version": "3.
|
|
1499
|
-
"resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.
|
|
1500
|
-
"integrity": "sha512-
|
|
1503
|
+
"version": "3.39.0",
|
|
1504
|
+
"resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.39.0.tgz",
|
|
1505
|
+
"integrity": "sha512-JJ/46AWQ4ipS1N2eZmUj7yzIhH8NhQIfAE+dce7NSB6dmFh+7hvD4pbofcoT4I0Xzfy/LNhZx3V2QhwYyAiqdg==",
|
|
1501
1506
|
"license": "Apache-2.0",
|
|
1502
1507
|
"dependencies": {
|
|
1503
|
-
"@smithy/types": "^4.
|
|
1508
|
+
"@smithy/types": "^4.20.0",
|
|
1504
1509
|
"tslib": "^2.6.2"
|
|
1505
1510
|
},
|
|
1506
1511
|
"engines": {
|
|
@@ -1536,13 +1541,13 @@
|
|
|
1536
1541
|
}
|
|
1537
1542
|
},
|
|
1538
1543
|
"node_modules/@smithy/node-http-handler": {
|
|
1539
|
-
"version": "4.14.
|
|
1540
|
-
"resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.14.
|
|
1541
|
-
"integrity": "sha512
|
|
1544
|
+
"version": "4.14.2",
|
|
1545
|
+
"resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.14.2.tgz",
|
|
1546
|
+
"integrity": "sha512-i1uORV1v3qBqP43ayRKzIdm1q5x14tf8N4Dd06/QUX1Szm6VxHMrTsu20X5E63UFsaNZCRjI4SXG0jDmqYa+3w==",
|
|
1542
1547
|
"license": "Apache-2.0",
|
|
1543
1548
|
"dependencies": {
|
|
1544
|
-
"@smithy/core": "^3.
|
|
1545
|
-
"@smithy/types": "^4.
|
|
1549
|
+
"@smithy/core": "^3.39.0",
|
|
1550
|
+
"@smithy/types": "^4.20.0",
|
|
1546
1551
|
"tslib": "^2.6.2"
|
|
1547
1552
|
},
|
|
1548
1553
|
"engines": {
|
|
@@ -1564,9 +1569,9 @@
|
|
|
1564
1569
|
}
|
|
1565
1570
|
},
|
|
1566
1571
|
"node_modules/@smithy/types": {
|
|
1567
|
-
"version": "4.
|
|
1568
|
-
"resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.
|
|
1569
|
-
"integrity": "sha512-
|
|
1572
|
+
"version": "4.20.0",
|
|
1573
|
+
"resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.20.0.tgz",
|
|
1574
|
+
"integrity": "sha512-lCA6QG22dPk9ecHbv91jDQZsmtPUjdS1aE2Il6NNPqe7DrYc0dZQi6DhcESk2KYXH2sp5xbAcGdYMZDFnuzA2A==",
|
|
1570
1575
|
"license": "Apache-2.0",
|
|
1571
1576
|
"dependencies": {
|
|
1572
1577
|
"tslib": "^2.6.2"
|
|
@@ -4294,6 +4299,29 @@
|
|
|
4294
4299
|
"integrity": "sha512-s/I5zEAo79SUK0Qw4dpZKpiMwbQ6Gz0KU2NRr7eaO4x/p2g7Vvmn3hdeXDg8VsaUjfj/ora+e9oi27LX/C9+mw==",
|
|
4295
4300
|
"license": "MIT"
|
|
4296
4301
|
},
|
|
4302
|
+
"node_modules/react": {
|
|
4303
|
+
"version": "19.3.1",
|
|
4304
|
+
"resolved": "https://registry.npmjs.org/react/-/react-19.3.1.tgz",
|
|
4305
|
+
"integrity": "sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw==",
|
|
4306
|
+
"license": "MIT",
|
|
4307
|
+
"peer": true,
|
|
4308
|
+
"engines": {
|
|
4309
|
+
"node": ">=0.10.0"
|
|
4310
|
+
}
|
|
4311
|
+
},
|
|
4312
|
+
"node_modules/react-dom": {
|
|
4313
|
+
"version": "19.3.1",
|
|
4314
|
+
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.3.1.tgz",
|
|
4315
|
+
"integrity": "sha512-Y0bARz53lhEC1NMCASs0/j+faB/zqt3R8hpvg1e8+61ZVJ4UL0UdC4cBbXfZMcIuhrfgeILTLe+ZeBCavQPtKQ==",
|
|
4316
|
+
"license": "MIT",
|
|
4317
|
+
"peer": true,
|
|
4318
|
+
"dependencies": {
|
|
4319
|
+
"scheduler": "^0.28.0"
|
|
4320
|
+
},
|
|
4321
|
+
"peerDependencies": {
|
|
4322
|
+
"react": "^19.3.1"
|
|
4323
|
+
}
|
|
4324
|
+
},
|
|
4297
4325
|
"node_modules/readable-stream": {
|
|
4298
4326
|
"version": "4.8.0",
|
|
4299
4327
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.8.0.tgz",
|
|
@@ -4400,6 +4428,13 @@
|
|
|
4400
4428
|
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
|
|
4401
4429
|
"license": "MIT"
|
|
4402
4430
|
},
|
|
4431
|
+
"node_modules/scheduler": {
|
|
4432
|
+
"version": "0.28.0",
|
|
4433
|
+
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.28.0.tgz",
|
|
4434
|
+
"integrity": "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==",
|
|
4435
|
+
"license": "MIT",
|
|
4436
|
+
"peer": true
|
|
4437
|
+
},
|
|
4403
4438
|
"node_modules/seek-bzip": {
|
|
4404
4439
|
"version": "2.0.0",
|
|
4405
4440
|
"resolved": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-2.0.0.tgz",
|
|
@@ -5346,7 +5381,7 @@
|
|
|
5346
5381
|
},
|
|
5347
5382
|
"vendor/cli": {
|
|
5348
5383
|
"name": "@lobu/cli",
|
|
5349
|
-
"version": "24.
|
|
5384
|
+
"version": "24.6.0",
|
|
5350
5385
|
"license": "Apache-2.0",
|
|
5351
5386
|
"dependencies": {
|
|
5352
5387
|
"@clack/prompts": "^1.2.0",
|
|
@@ -5354,6 +5389,7 @@
|
|
|
5354
5389
|
"@lobu/connector-sdk": "file:../connector-sdk",
|
|
5355
5390
|
"@lobu/connector-worker": "file:../connector-worker",
|
|
5356
5391
|
"@lobu/core": "file:../core",
|
|
5392
|
+
"@lobu/views": "file:../views",
|
|
5357
5393
|
"@sinclair/typebox": "^0.34.41",
|
|
5358
5394
|
"ajv": "^8.17.1",
|
|
5359
5395
|
"chalk": "^5.3.0",
|
|
@@ -5377,7 +5413,7 @@
|
|
|
5377
5413
|
},
|
|
5378
5414
|
"vendor/connector-sdk": {
|
|
5379
5415
|
"name": "@lobu/connector-sdk",
|
|
5380
|
-
"version": "24.
|
|
5416
|
+
"version": "24.6.0",
|
|
5381
5417
|
"license": "BUSL-1.1",
|
|
5382
5418
|
"dependencies": {
|
|
5383
5419
|
"@lobu/core": "file:../core",
|
|
@@ -5392,7 +5428,7 @@
|
|
|
5392
5428
|
},
|
|
5393
5429
|
"vendor/connector-worker": {
|
|
5394
5430
|
"name": "@lobu/connector-worker",
|
|
5395
|
-
"version": "24.
|
|
5431
|
+
"version": "24.6.0",
|
|
5396
5432
|
"license": "BUSL-1.1",
|
|
5397
5433
|
"dependencies": {
|
|
5398
5434
|
"@agentclientprotocol/sdk": "1.4.0",
|
|
@@ -5417,7 +5453,7 @@
|
|
|
5417
5453
|
},
|
|
5418
5454
|
"vendor/core": {
|
|
5419
5455
|
"name": "@lobu/core",
|
|
5420
|
-
"version": "24.
|
|
5456
|
+
"version": "24.6.0",
|
|
5421
5457
|
"license": "Apache-2.0",
|
|
5422
5458
|
"dependencies": {
|
|
5423
5459
|
"@opentelemetry/api": "^1.9.0",
|
|
@@ -5481,6 +5517,21 @@
|
|
|
5481
5517
|
"url": "https://github.com/sponsors/porsager"
|
|
5482
5518
|
},
|
|
5483
5519
|
"name": "postgres"
|
|
5520
|
+
},
|
|
5521
|
+
"vendor/views": {
|
|
5522
|
+
"name": "@lobu/views",
|
|
5523
|
+
"version": "24.6.0",
|
|
5524
|
+
"license": "Apache-2.0",
|
|
5525
|
+
"dependencies": {
|
|
5526
|
+
"@lobu/core": "file:../core"
|
|
5527
|
+
},
|
|
5528
|
+
"engines": {
|
|
5529
|
+
"node": ">=18"
|
|
5530
|
+
},
|
|
5531
|
+
"peerDependencies": {
|
|
5532
|
+
"react": "^19.0.0",
|
|
5533
|
+
"react-dom": "^19.0.0"
|
|
5534
|
+
}
|
|
5484
5535
|
}
|
|
5485
5536
|
}
|
|
5486
5537
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobu/runtime-device",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"repository": {
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"@lobu/cli": "file:vendor/cli",
|
|
37
37
|
"@lobu/connector-worker": "file:vendor/connector-worker",
|
|
38
38
|
"@lobu/core": "file:vendor/core",
|
|
39
|
+
"@lobu/views": "file:vendor/views",
|
|
39
40
|
"ora": "file:vendor/ora"
|
|
40
41
|
}
|
|
41
42
|
}
|
|
@@ -251,7 +251,7 @@ Views are custom React panels attached to entity types, records, events, or the
|
|
|
251
251
|
Module shape (the server resolves React, React DOM, `@lobu/views` and `@lobu/views/components`; other dependencies need the CLI path with `node_modules` present):
|
|
252
252
|
|
|
253
253
|
```tsx
|
|
254
|
-
import { defineView,
|
|
254
|
+
import { defineView, tool, useAction, useParams, useQuery } from "@lobu/views";
|
|
255
255
|
import {
|
|
256
256
|
Card,
|
|
257
257
|
DataTable,
|
|
@@ -272,11 +272,9 @@ export const view = defineView({
|
|
|
272
272
|
|
|
273
273
|
export default function Pipeline() {
|
|
274
274
|
const [params, setParams] = useParams();
|
|
275
|
-
const deals = useQuery
|
|
276
|
-
sql`SELECT id, title FROM deal WHERE stage = ${params.stage} LIMIT 100`
|
|
277
|
-
);
|
|
275
|
+
const deals = useQuery(tool("manage_entity", { action: "list", entity_type: "deal", filters: [{ field: "stage", op: "eq", value: String(params.stage) }], limit: 100 }));
|
|
278
276
|
const markWon = useAction("markWon");
|
|
279
|
-
const rows = deals.data ?? [];
|
|
277
|
+
const rows = deals.data?.entities ?? [];
|
|
280
278
|
// Keep the filter mounted across query states: an early return on
|
|
281
279
|
// loading/error would unmount the focused input on every keystroke
|
|
282
280
|
// (each keystroke re-queries). Render states inline instead.
|
|
@@ -292,7 +290,7 @@ export default function Pipeline() {
|
|
|
292
290
|
<EmptyState title="No deals in this stage." />
|
|
293
291
|
)}
|
|
294
292
|
{!deals.loading && !deals.error && rows.length > 0 && (
|
|
295
|
-
<DataTable columns={[{ key: "
|
|
293
|
+
<DataTable columns={[{ key: "name", header: "Name" }]} rows={rows} keyOf={(r) => r.id ?? r.slug} />
|
|
296
294
|
)}
|
|
297
295
|
{deals.truncated && <TruncatedNotice shown={rows.length} />}
|
|
298
296
|
</Card>
|
|
@@ -318,14 +316,64 @@ Workspace attachment does not render individual events. For an event presentatio
|
|
|
318
316
|
|
|
319
317
|
Before reporting a view working, open each attached surface, including an event page and peek when declared. Exercise filtering, drilldown, keyboard navigation, and a narrow pane; check loading, missing/error, and truncated data states. Refresh and reopen an earlier event of the kind to verify the view stays on that event rather than jumping to the newest one. Views render in an iframe, so an empty parent-page DOM is not evidence the view is empty; inspect the frame through an authorized browser or accessibility surface. A successful compile proves only that the bundle was built.
|
|
320
318
|
|
|
319
|
+
Import reusable UI from **`@lobu/views/components`**. Discover this kit with `search_sdk({ query: "@lobu/views/components" })` or a component name. Start with the largest suitable native surface; compose smaller parts only for needs it does not cover:
|
|
320
|
+
|
|
321
|
+
| Need | Component and minimum input |
|
|
322
|
+
| --- | --- |
|
|
323
|
+
| Complete entity list | `EntityListPage title={title} table={tableProps}` |
|
|
324
|
+
| SQL, computed TypeScript or local rows | `EntityListPage title={title}` with `DataTable columns={columns} rows={rows} keyOf={keyOf}` as children |
|
|
325
|
+
| Complete record body | `EntityRecordPage entity={entity} owner={workspace} schema={schema}` |
|
|
326
|
+
| Entity table or individual fields | `EntityTableView`, `RecordSpecSheet`, `SchemaValue`, `EntityAvatar` |
|
|
327
|
+
| Saved resource identity and navigation | `AutomationReference`, `AgentReference`, `ConnectorReference` |
|
|
328
|
+
| Automation instructions, sources, triggers, outputs and code | `AutomationDefinition value={definition}` |
|
|
329
|
+
| Agent identity, models and settings | `AgentDefinition value={definition}` |
|
|
330
|
+
| Connector actions, feeds, schemas and source | `ConnectorDefinition value={definition}` |
|
|
331
|
+
| Current / Proposed comparison | Existing `Tabs` with the same definition component in each panel |
|
|
332
|
+
| Optional technical details | `JsonDiff before={current} after={proposed}` inside collapsed `<details>` |
|
|
333
|
+
|
|
334
|
+
The host supplies native JS/CSS, React and live theme. Do not copy product markup or bundle a second React. Exported prop types describe the shared contracts. Use `Button`, `Badge`, `Card`, chart and state components for surrounding UI.
|
|
335
|
+
|
|
336
|
+
**Page bodies are controlled.** Supply data and slots; they fetch nothing and authorize no writes. `EntityListPage` accepts `title`, optional `actions`/`controls`, and either `table: EntityTableViewProps` or `children`. Its `loading`, `error`, `onRetry` and `empty` affect only results, keeping controls mounted. Native table props include rows, schema, linked lookups, sorting and pagination; honor `metadata.has_more`. For SQL/TypeScript rows use `DataTable`, without inventing entity IDs or types. `EntityRecordPage` renders the native title/avatar and schema fields; `actions`, `details`, `summary`, and `children` supply editing, links, activity and tabs. Default `layout="record"` adapts to width; `layout="content"` retains the header while children own the layout. A `null` title/details/summary hides that slot. Preserve zero and false.
|
|
337
|
+
|
|
338
|
+
**References resolve saved identity.** Pass `mode="live"`, mounted `workspace`, optional `appearance="inline" | "row"` (default row), and `automationId` (positive decimal string), `agentId`, or `connectorKey` plus optional numeric `connectionId`. Discover IDs first. These reuse product rows and visiting-user permission checks; they accept no authored name/status or mutation callbacks. Invalid selectors, another workspace, missing records and refused reads show unavailable. A connector definition does not imply a connected account. Reads refresh on mount, focus, reconnect and host invalidation, without interval polling.
|
|
339
|
+
|
|
340
|
+
**Definitions render supplied objects.** All three have the same signature: `{ value: Record<string, unknown> }`. Pass the existing saved definition or complete proposed snapshot, not a patch. Automation fields include `name`, `description`, `prompt`, `sources`, `triggers`, `outputs`, `reaction_script`; Agent fields include `name`, `description`, `identity_md`, `settings`; Connector fields include `name`, `description`, `version`, `actions_schema`, `feeds_schema`, `source_code`. Remaining nested settings stay inspectable. Missing fields differ from empty values. Bodies fetch nothing, execute no supplied code, and add no save/approval controls. Label authored objects as Snapshot or Proposal preview; use a reference for live identity. Never supply credentials.
|
|
341
|
+
|
|
342
|
+
Show changes as **Current / Proposed**, defaulting to Proposed, with the same native body on both sides. Keep JSON diff optional. Rendering does not save or apply anything and needs no new proposal endpoint. For an existing approval, render its held current/proposed snapshots; do not merge in newer live values. Writes remain on existing declared `useAction` paths or native authorized editor/review pages. An authored preview must not imply a held approval or authority to apply it.
|
|
343
|
+
|
|
344
|
+
```tsx
|
|
345
|
+
import {
|
|
346
|
+
Card, ConnectorDefinition, JsonDiff,
|
|
347
|
+
Tabs, TabsList, TabsTrigger, TabsContent,
|
|
348
|
+
} from "@lobu/views/components";
|
|
349
|
+
|
|
350
|
+
// current and proposed are complete definition objects from authorized reads
|
|
351
|
+
// and the requested edit. Use AgentDefinition or AutomationDefinition identically.
|
|
352
|
+
<Card title="Connector proposal preview" description="Nothing has been applied.">
|
|
353
|
+
<Tabs defaultValue="proposed">
|
|
354
|
+
<TabsList label="Definition version">
|
|
355
|
+
<TabsTrigger value="current">Current</TabsTrigger>
|
|
356
|
+
<TabsTrigger value="proposed">Proposed</TabsTrigger>
|
|
357
|
+
</TabsList>
|
|
358
|
+
<TabsContent value="current"><ConnectorDefinition value={current} /></TabsContent>
|
|
359
|
+
<TabsContent value="proposed"><ConnectorDefinition value={proposed} /></TabsContent>
|
|
360
|
+
</Tabs>
|
|
361
|
+
<details><summary>Technical diff</summary><JsonDiff before={current} after={proposed} /></details>
|
|
362
|
+
</Card>
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
Use `useHost().openRecord({ entity_id, entity_type? }, { mode: "peek" })` for a record's native peek. String source keys require the type. The promise reports the actual `{ mode: "peek" | "page" }`; a host without native peek opens the server-returned record URL. Errors remain errors. `useHost().theme` follows live theme changes; native components inherit the host palette and typography automatically. Use semantic host style variables and avoid hardcoded light/dark colors.
|
|
366
|
+
|
|
321
367
|
Rules that are load-bearing, not style:
|
|
322
368
|
|
|
323
|
-
-
|
|
369
|
+
- Use structured reads: `useQuery(tool("manage_entity", { action: "list", entity_type: type, filters, limit: 100 }))`. The host admits entity `list/get/list_links` and entity-type schema `list/get` reads; tools marked read-only are also available. Use existing tool input/result contracts and preserve server authorization. Send structured arguments, never TypeScript inside a string. `sql` remains available; script-string queries are compatibility support for installed views. `query_sql` allows 500 rows max with a 5 second timeout — branch on the typed `errorCode` (e.g. `UPSTREAM_TIMEOUT`), never on message text, and render `truncated` honestly instead of passing partial data off as complete. Each `query_sql` cell is bounded too: strings keep their first 4,000 Unicode code points plus "… [truncated]"; JSON values over 16 KiB become `{ _truncated: true, bytes }` (attachments become null with `attachments_truncated`). `truncatedColumns` names the affected columns. Select smaller elements or fields, for example one array element per row with `jsonb_array_elements(...)`, and paginate as needed; each returned cell is still subject to these limits.
|
|
324
370
|
- Never aggregate history in a view: no `GROUP BY`, `DISTINCT ON`, per-row regexp, or leading-wildcard `LIKE` over `events` or other growing tables. For "latest state" views, have an Automation maintain keyed event outputs (each run supersedes the previous event with the same key) and read the current head with `read_knowledge`.
|
|
325
|
-
- Writes go only through declared view actions (`useAction` → `invoke_view_action`), which emit the declared event kind and can activate workspace-triggered Automations. Action `value` payloads are capped at 4000 JSON chars — save content first, then pass the id. A subject shown from a superseded event rejects with 409; refetch and ask the user to re-confirm rather than retrying blindly.
|
|
326
|
-
- Link with `Link` from `@lobu/views/components` (or `useHost().openLink`): `href="<type>/<slug>"` opens that record in the workspace,
|
|
371
|
+
- `run_sdk` is not exposed to views. Writes go only through declared view actions (`useAction` → `invoke_view_action`), which emit the declared event kind and can activate workspace-triggered Automations. Action `value` payloads are capped at 4000 JSON chars — save content first, then pass the id. A subject shown from a superseded event rejects with 409; refetch and ask the user to re-confirm rather than retrying blindly.
|
|
372
|
+
- Link with `Link` from `@lobu/views/components` (or `useHost().openLink`): `href="<type>/<slug>"` opens that record in the workspace, supported links within the same workspace open in the peek pane, other app links navigate normally, and external URLs open a new tab. A plain `<a href>` goes nowhere inside the sandboxed frame.
|
|
373
|
+
- For several offers, publish one event with a card for each held proposal. Obtain the real pending approval through the existing agent/Automation write method under its normal policy, then read its returned event ID to obtain the canonical review URL. Link each card to that exact review; the host opens it in peek. Each offer has its own run and decision. Use native Current/Proposed fields for updates and the proposed definition for creation. A resource snapshot alone is a preview, not an approval: never fabricate Approve/Reject buttons or imply that a missing resource ID creates anything. Existing settings `?run_id=` links remain compatible; new offers use the proposal review instead of the settings page.
|
|
327
374
|
- Views run in a sandboxed frame with no direct network: no fetch, no third-party calls at runtime. Reuse local React components through relative imports and `source_files: { entrypoint, files }` plus `dependencies: {}` for local-only components with `views.set`, or use `viewFromFile` + `lobu apply`. Extra npm dependencies need the CLI-bundled `compiled_code`; listing `dependencies` alone does not install packages.
|
|
328
375
|
- Never early-return the whole view on loading/error: each filter keystroke re-queries, so an early return unmounts the focused input mid-typing. Keep filters mounted and render query states inline in the results area.
|
|
376
|
+
- Before calling a view verified, exercise the exact compiled artifact and host runtime in a sandboxed browser: representative data, loading, empty and error states, filters, sort/pagination, links/peek, declared actions, light/dark and narrow layouts. Fix failures and rerun. Registration compiles the module and requires an isolated browser check of the exact candidate against bounded empty/error/loading fixtures in light/dark themes and inline/fullscreen modes for every distinct attached scope (at most eight per module; each scope is its own bounded runner request). A failed check returns 422; an unavailable runner returns 503; both preserve the saved view. Fixture validation does not prove successful workspace data or every interaction. Distinguish compiled, browser-verified, stored and deployed; never claim more than the evidence.
|
|
329
377
|
- Params sync to the URL on Lobu hosts only; elsewhere they stay frame-local. `refetch()` re-reads on demand; only Lobu hosts push live data-changed refreshes.
|
|
330
378
|
|
|
331
379
|
## Connectors, Feeds, and Operations
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import * as ViewAPI from "@lobu/views";
|
|
2
|
+
import * as ViewComponents from "@lobu/views/components";
|
|
1
3
|
/**
|
|
2
4
|
* Bundle a Lobu view module for the browser and extract its metadata.
|
|
3
5
|
*
|
|
@@ -36,7 +38,13 @@ export async function bundleViewFromFile(entry, projectRoot) {
|
|
|
36
38
|
const capture = createSourceCapture(entry, projectRoot);
|
|
37
39
|
const browser = await build({
|
|
38
40
|
...VIEW_BUILD_OPTIONS,
|
|
39
|
-
plugins: [
|
|
41
|
+
plugins: [
|
|
42
|
+
capture.plugin,
|
|
43
|
+
viewRuntimePlugin({
|
|
44
|
+
"@lobu/views": Object.keys(ViewAPI),
|
|
45
|
+
"@lobu/views/components": Object.keys(ViewComponents),
|
|
46
|
+
}),
|
|
47
|
+
],
|
|
40
48
|
stdin: { contents: viewMountEntry(rel), loader: "js", resolveDir: dir },
|
|
41
49
|
});
|
|
42
50
|
const compiledCode = browser.outputFiles?.[0]?.text ?? "";
|