@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.
@@ -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-SI5QXQNT.js";
8
+ } from "./chunk-BTGLMYRA.js";
8
9
  import {
9
10
  __commonJS,
10
11
  __require
11
- } from "./chunk-QGM4M3NI.js";
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-QGM4M3NI.js";
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,3 +1,5 @@
1
+ import { createRequire as __$$createRequire } from "node:module"; const require = __$$createRequire(import.meta.url);
2
+
1
3
  // src/oauth-flow.ts
2
4
  import { randomBytes, createHash } from "crypto";
3
5
  import { readFile, writeFile, mkdir } from "fs/promises";
@@ -1,3 +1,4 @@
1
+ import { createRequire as __$$createRequire } from "node:module"; const require = __$$createRequire(import.meta.url);
1
2
  var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,4 +1,5 @@
1
- import "./chunk-QGM4M3NI.js";
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-NCLSWYPS.js";
4
- import "./chunk-QGM4M3NI.js";
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-D57ZVLAB.js");
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-HAIJBY4O.js");
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-C6JZGQB3.js")).default;
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.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;
@@ -0,0 +1,8 @@
1
+ import { createRequire as __$$createRequire } from "node:module"; const require = __$$createRequire(import.meta.url);
2
+ import {
3
+ OAuthFlow
4
+ } from "./chunk-C55R7CVG.js";
5
+ import "./chunk-SUJ4YNP5.js";
6
+ export {
7
+ OAuthFlow
8
+ };
@@ -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-SI5QXQNT.js";
8
+ } from "./chunk-BTGLMYRA.js";
8
9
  import {
9
10
  __toESM
10
- } from "./chunk-QGM4M3NI.js";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spikelabs/lobster-shell-plugin",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Connect your OpenClaw agent to Lobster Shell cloud",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,7 +0,0 @@
1
- import {
2
- OAuthFlow
3
- } from "./chunk-NCLSWYPS.js";
4
- import "./chunk-QGM4M3NI.js";
5
- export {
6
- OAuthFlow
7
- };