@spikelabs/lobster-shell-plugin 0.3.3 → 0.3.4
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/{ably-node-D57ZVLAB.js → ably-node-RW2ZYYHZ.js} +3 -2
- package/dist/{chunk-SI5QXQNT.js → chunk-BTGLMYRA.js} +2 -1
- package/dist/{chunk-NCLSWYPS.js → chunk-C55R7CVG.js} +2 -0
- package/dist/{chunk-QGM4M3NI.js → chunk-SUJ4YNP5.js} +1 -0
- package/dist/{client-IG4TDXCA.js → client-VTS5WPGP.js} +2 -1
- package/dist/index.js +7 -6
- package/dist/oauth-flow-WNR6HEYC.js +8 -0
- package/dist/{wrapper-C6JZGQB3.js → wrapper-A4XKEVXU.js} +3 -2
- package/package.json +1 -1
- package/dist/oauth-flow-HAIJBY4O.js +0 -7
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import { createRequire as __$$createRequire } from "node:module"; const require = __$$createRequire(import.meta.url);
|
|
1
2
|
import {
|
|
2
3
|
require_receiver,
|
|
3
4
|
require_sender,
|
|
4
5
|
require_stream,
|
|
5
6
|
require_websocket,
|
|
6
7
|
require_websocket_server
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BTGLMYRA.js";
|
|
8
9
|
import {
|
|
9
10
|
__commonJS,
|
|
10
11
|
__require
|
|
11
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SUJ4YNP5.js";
|
|
12
13
|
|
|
13
14
|
// node_modules/.pnpm/ws@8.19.0/node_modules/ws/index.js
|
|
14
15
|
var require_ws = __commonJS({
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { createRequire as __$$createRequire } from "node:module"; const require = __$$createRequire(import.meta.url);
|
|
1
2
|
import {
|
|
2
3
|
__commonJS,
|
|
3
4
|
__require
|
|
4
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SUJ4YNP5.js";
|
|
5
6
|
|
|
6
7
|
// node_modules/.pnpm/ws@8.19.0/node_modules/ws/lib/constants.js
|
|
7
8
|
var require_constants = __commonJS({
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import { createRequire as __$$createRequire } from "node:module"; const require = __$$createRequire(import.meta.url);
|
|
2
|
+
import "./chunk-SUJ4YNP5.js";
|
|
2
3
|
|
|
3
4
|
// node_modules/.pnpm/@tanstack+react-query@5.90.21_react@19.2.4/node_modules/@tanstack/react-query/build/modern/queryOptions.js
|
|
4
5
|
function queryOptions(options) {
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { createRequire as __$$createRequire } from "node:module"; const require = __$$createRequire(import.meta.url);
|
|
1
2
|
import {
|
|
2
3
|
OAuthFlow
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-C55R7CVG.js";
|
|
5
|
+
import "./chunk-SUJ4YNP5.js";
|
|
5
6
|
|
|
6
7
|
// src/index.ts
|
|
7
8
|
import { hostname, platform } from "os";
|
|
@@ -180,7 +181,7 @@ var CloudBridge = class {
|
|
|
180
181
|
this._status = "connecting";
|
|
181
182
|
this.logger.info("[lobster:bridge] Connecting to Ably\u2026");
|
|
182
183
|
try {
|
|
183
|
-
const Ably = await import("./ably-node-
|
|
184
|
+
const Ably = await import("./ably-node-RW2ZYYHZ.js");
|
|
184
185
|
this.ably = new Ably.Realtime({
|
|
185
186
|
authCallback: async (_params, callback) => {
|
|
186
187
|
try {
|
|
@@ -342,7 +343,7 @@ var CloudBridge = class {
|
|
|
342
343
|
});
|
|
343
344
|
if (res.status === 401 && auth.refreshToken) {
|
|
344
345
|
this.logger.info("[lobster:bridge] Access token expired, refreshing\u2026");
|
|
345
|
-
const { OAuthFlow: OAuthFlow2 } = await import("./oauth-flow-
|
|
346
|
+
const { OAuthFlow: OAuthFlow2 } = await import("./oauth-flow-WNR6HEYC.js");
|
|
346
347
|
const oauthFlow2 = new OAuthFlow2({
|
|
347
348
|
stateDir: this.stateDir,
|
|
348
349
|
cloudUrl: this.cloudUrl,
|
|
@@ -409,7 +410,7 @@ var GatewayWsClient = class {
|
|
|
409
410
|
// Connect
|
|
410
411
|
// -------------------------------------------------------------------------
|
|
411
412
|
async connect() {
|
|
412
|
-
const WebSocket = (await import("./wrapper-
|
|
413
|
+
const WebSocket = (await import("./wrapper-A4XKEVXU.js")).default;
|
|
413
414
|
return new Promise((resolve, reject) => {
|
|
414
415
|
const url = `ws://127.0.0.1:${this.port}`;
|
|
415
416
|
this.logger.info(`[lobster:ws] Connecting to gateway at ${url}`);
|
|
@@ -546,7 +547,7 @@ function initApiClient(cloudBridge) {
|
|
|
546
547
|
// src/index.ts
|
|
547
548
|
var PLUGIN_ID = "lobster-shell";
|
|
548
549
|
var CHANNEL_ID = "lobster-shell";
|
|
549
|
-
var PLUGIN_VERSION = "0.3.
|
|
550
|
+
var PLUGIN_VERSION = "0.3.4";
|
|
550
551
|
var DEFAULT_CLOUD_URL = "https://www.lobstershell.ai";
|
|
551
552
|
var gatewayPort;
|
|
552
553
|
var bridge2 = null;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import { createRequire as __$$createRequire } from "node:module"; const require = __$$createRequire(import.meta.url);
|
|
1
2
|
import {
|
|
2
3
|
require_receiver,
|
|
3
4
|
require_sender,
|
|
4
5
|
require_stream,
|
|
5
6
|
require_websocket,
|
|
6
7
|
require_websocket_server
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BTGLMYRA.js";
|
|
8
9
|
import {
|
|
9
10
|
__toESM
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SUJ4YNP5.js";
|
|
11
12
|
|
|
12
13
|
// node_modules/.pnpm/ws@8.19.0/node_modules/ws/wrapper.mjs
|
|
13
14
|
var import_stream = __toESM(require_stream(), 1);
|
package/package.json
CHANGED