@lobu/runtime-device 23.0.0 → 24.0.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 +30 -27
- package/npm-shrinkwrap.json +131 -115
- package/package.json +2 -1
- package/vendor/cli/dist/bundled-skills/lobu/SKILL.md +73 -0
- package/vendor/cli/dist/commands/_lib/apply/apply-cmd.js +9 -11
- package/vendor/cli/dist/commands/_lib/apply/client.d.ts +3 -11
- package/vendor/cli/dist/commands/_lib/apply/client.js +3 -3
- package/vendor/cli/dist/commands/_lib/apply/desired-state.d.ts +0 -6
- package/vendor/cli/dist/commands/_lib/apply/desired-state.js +6 -15
- package/vendor/cli/dist/commands/_lib/apply/diff.js +1 -0
- package/vendor/cli/dist/commands/_lib/apply/map-config.js +8 -0
- package/vendor/cli/dist/commands/_lib/view-bundler.d.ts +2 -9
- package/vendor/cli/dist/commands/_lib/view-bundler.js +25 -97
- package/vendor/cli/dist/config/define.d.ts +8 -0
- package/vendor/cli/dist/connectors/README.md +1 -1
- package/vendor/cli/dist/connectors/linkedin-inbox-adapter.js +4 -7
- package/vendor/cli/dist/connectors/linkedin.ts +53 -34
- package/vendor/cli/dist/connectors/reddit.ts +92 -20
- package/vendor/cli/dist/connectors/slack.ts +1 -0
- package/vendor/cli/dist/connectors/whatsapp-web-adapter.js +41 -11
- package/vendor/cli/dist/connectors/whatsapp-web-helpers.ts +1 -1
- package/vendor/cli/dist/connectors/whatsapp_web.ts +2 -2
- package/vendor/cli/dist/connectors/x-identity.ts +5 -3
- package/vendor/cli/dist/runtime-components.json +4 -4
- package/vendor/cli/dist/templates/AGENTS.md.tmpl +10 -3
- package/vendor/cli/package.json +1 -1
- package/vendor/connector-sdk/package.json +1 -1
- package/vendor/connector-worker/dist/agent-turn/gateway-tools.d.ts +2 -2
- package/vendor/connector-worker/dist/agent-turn/gateway-tools.js +2 -2
- package/vendor/connector-worker/dist/agent-turn/guest-entry.js +34 -2
- package/vendor/connector-worker/dist/agent-turn/guest.bundle.js +362 -300
- package/vendor/connector-worker/dist/agent-turn/native-session.d.ts +12 -0
- package/vendor/connector-worker/dist/agent-turn/native-session.js +32 -6
- package/vendor/connector-worker/dist/agent-turn/types.d.ts +24 -3
- package/vendor/connector-worker/dist/daemon/agent-turn.js +5 -1
- package/vendor/connector-worker/dist/daemon/automation.js +20 -15
- package/vendor/connector-worker/dist/isolate/prelude.js +93 -44
- package/vendor/connector-worker/package.json +1 -1
- package/vendor/core/dist/agent-policy.js +0 -3
- package/vendor/core/dist/agent-tooling.d.ts +1 -1
- package/vendor/core/dist/agent-tooling.js +3 -1
- package/vendor/core/dist/contracts/agent-settings.d.ts +6 -2
- package/vendor/core/dist/contracts/agent-settings.js +12 -1
- package/vendor/core/dist/contracts/tools/manage-views.d.ts +53 -234
- package/vendor/core/dist/contracts/tools/manage-views.js +50 -76
- package/vendor/core/dist/contracts/tools/view-attach.d.ts +5 -8
- package/vendor/core/dist/contracts/tools/view-attach.js +14 -31
- package/vendor/core/dist/contracts/tools/view-definition.d.ts +21 -0
- package/vendor/core/dist/contracts/tools/view-definition.js +165 -0
- package/vendor/core/dist/contracts/worker/protocol.d.ts +39 -2
- package/vendor/core/dist/contracts/worker/protocol.js +24 -1
- package/vendor/core/dist/index.d.ts +1 -1
- package/vendor/core/dist/index.js +2 -1
- package/vendor/core/dist/suggestions.d.ts +15 -2
- package/vendor/core/dist/suggestions.js +48 -3
- package/vendor/core/dist/types.d.ts +26 -0
- package/vendor/core/dist/types.js +5 -0
- package/vendor/core/package.json +11 -5
- package/vendor/postgres/cf/src/connection.js +18 -0
- package/vendor/postgres/cjs/src/connection.js +18 -0
- package/vendor/postgres/src/connection.js +18 -0
- /package/vendor/postgres/{.bun-tag-f39dafdb2305d504 → .bun-tag-2f292c6554a8475e} +0 -0
|
@@ -159,6 +159,14 @@ function Connection(options, queues = {}, { onopen = noop, onend = noop, onclose
|
|
|
159
159
|
if (terminated)
|
|
160
160
|
return queryError(q, Errors.connection('CONNECTION_DESTROYED', options))
|
|
161
161
|
|
|
162
|
+
if (!socket) {
|
|
163
|
+
// A stale reservation can execute after closed() clears the socket.
|
|
164
|
+
// Do not signal backpressure: this connection cannot emit a drain event
|
|
165
|
+
// to resume queries queued behind the rejected write.
|
|
166
|
+
queryError(q, Errors.connection('CONNECTION_CLOSED', options))
|
|
167
|
+
return true
|
|
168
|
+
}
|
|
169
|
+
|
|
162
170
|
if (stream)
|
|
163
171
|
return queryError(q, Errors.generic('COPY_IN_PROGRESS', 'You cannot execute queries during copy'))
|
|
164
172
|
|
|
@@ -254,6 +262,16 @@ function Connection(options, queues = {}, { onopen = noop, onend = noop, onclose
|
|
|
254
262
|
}
|
|
255
263
|
|
|
256
264
|
function nextWrite(fn) {
|
|
265
|
+
if (!socket) {
|
|
266
|
+
// Cursor and COPY writes can still arrive after closed() clears the
|
|
267
|
+
// socket. A throw from this timer would be an uncaughtException, so
|
|
268
|
+
// reject the pending queries instead. Report no backpressure: a closed
|
|
269
|
+
// socket never emits the drain event that would resume them.
|
|
270
|
+
nextWriteTimer !== null && clearImmediate(nextWriteTimer)
|
|
271
|
+
chunk = nextWriteTimer = null
|
|
272
|
+
error(Errors.connection('CONNECTION_CLOSED', options))
|
|
273
|
+
return true
|
|
274
|
+
}
|
|
257
275
|
const x = socket.write(chunk, fn)
|
|
258
276
|
nextWriteTimer !== null && clearImmediate(nextWriteTimer)
|
|
259
277
|
chunk = nextWriteTimer = null
|
|
@@ -157,6 +157,14 @@ function Connection(options, queues = {}, { onopen = noop, onend = noop, onclose
|
|
|
157
157
|
if (terminated)
|
|
158
158
|
return queryError(q, Errors.connection('CONNECTION_DESTROYED', options))
|
|
159
159
|
|
|
160
|
+
if (!socket) {
|
|
161
|
+
// A stale reservation can execute after closed() clears the socket.
|
|
162
|
+
// Do not signal backpressure: this connection cannot emit a drain event
|
|
163
|
+
// to resume queries queued behind the rejected write.
|
|
164
|
+
queryError(q, Errors.connection('CONNECTION_CLOSED', options))
|
|
165
|
+
return true
|
|
166
|
+
}
|
|
167
|
+
|
|
160
168
|
if (stream)
|
|
161
169
|
return queryError(q, Errors.generic('COPY_IN_PROGRESS', 'You cannot execute queries during copy'))
|
|
162
170
|
|
|
@@ -252,6 +260,16 @@ function Connection(options, queues = {}, { onopen = noop, onend = noop, onclose
|
|
|
252
260
|
}
|
|
253
261
|
|
|
254
262
|
function nextWrite(fn) {
|
|
263
|
+
if (!socket) {
|
|
264
|
+
// Cursor and COPY writes can still arrive after closed() clears the
|
|
265
|
+
// socket. A throw from this timer would be an uncaughtException, so
|
|
266
|
+
// reject the pending queries instead. Report no backpressure: a closed
|
|
267
|
+
// socket never emits the drain event that would resume them.
|
|
268
|
+
nextWriteTimer !== null && clearImmediate(nextWriteTimer)
|
|
269
|
+
chunk = nextWriteTimer = null
|
|
270
|
+
error(Errors.connection('CONNECTION_CLOSED', options))
|
|
271
|
+
return true
|
|
272
|
+
}
|
|
255
273
|
const x = socket.write(chunk, fn)
|
|
256
274
|
nextWriteTimer !== null && clearImmediate(nextWriteTimer)
|
|
257
275
|
chunk = nextWriteTimer = null
|
|
@@ -157,6 +157,14 @@ function Connection(options, queues = {}, { onopen = noop, onend = noop, onclose
|
|
|
157
157
|
if (terminated)
|
|
158
158
|
return queryError(q, Errors.connection('CONNECTION_DESTROYED', options))
|
|
159
159
|
|
|
160
|
+
if (!socket) {
|
|
161
|
+
// A stale reservation can execute after closed() clears the socket.
|
|
162
|
+
// Do not signal backpressure: this connection cannot emit a drain event
|
|
163
|
+
// to resume queries queued behind the rejected write.
|
|
164
|
+
queryError(q, Errors.connection('CONNECTION_CLOSED', options))
|
|
165
|
+
return true
|
|
166
|
+
}
|
|
167
|
+
|
|
160
168
|
if (stream)
|
|
161
169
|
return queryError(q, Errors.generic('COPY_IN_PROGRESS', 'You cannot execute queries during copy'))
|
|
162
170
|
|
|
@@ -252,6 +260,16 @@ function Connection(options, queues = {}, { onopen = noop, onend = noop, onclose
|
|
|
252
260
|
}
|
|
253
261
|
|
|
254
262
|
function nextWrite(fn) {
|
|
263
|
+
if (!socket) {
|
|
264
|
+
// Cursor and COPY writes can still arrive after closed() clears the
|
|
265
|
+
// socket. A throw from this timer would be an uncaughtException, so
|
|
266
|
+
// reject the pending queries instead. Report no backpressure: a closed
|
|
267
|
+
// socket never emits the drain event that would resume them.
|
|
268
|
+
nextWriteTimer !== null && clearImmediate(nextWriteTimer)
|
|
269
|
+
chunk = nextWriteTimer = null
|
|
270
|
+
error(Errors.connection('CONNECTION_CLOSED', options))
|
|
271
|
+
return true
|
|
272
|
+
}
|
|
255
273
|
const x = socket.write(chunk, fn)
|
|
256
274
|
nextWriteTimer !== null && clearImmediate(nextWriteTimer)
|
|
257
275
|
chunk = nextWriteTimer = null
|
|
File without changes
|