flyspace-cli 0.1.37 → 0.1.38

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,7 +1,9 @@
1
1
  #!/usr/bin/env node
2
+ import { createRequire as __flyspaceCreateRequire } from 'node:module';
3
+ const require = __flyspaceCreateRequire(import.meta.url);
2
4
  import {
3
5
  getSupabaseClient
4
- } from "./chunk-GYHCSGMJ.js";
6
+ } from "./chunk-HYCTLDZE.js";
5
7
 
6
8
  // src/store/chat-admin-store.ts
7
9
  async function listChannels(profile) {
@@ -1,4 +1,37 @@
1
1
  #!/usr/bin/env node
2
+ import { createRequire as __flyspaceCreateRequire } from 'node:module';
3
+ const require = __flyspaceCreateRequire(import.meta.url);
4
+ var __create = Object.create;
5
+ var __defProp = Object.defineProperty;
6
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getProtoOf = Object.getPrototypeOf;
9
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
11
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
12
+ }) : x)(function(x) {
13
+ if (typeof require !== "undefined") return require.apply(this, arguments);
14
+ throw Error('Dynamic require of "' + x + '" is not supported');
15
+ });
16
+ var __commonJS = (cb, mod) => function __require2() {
17
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
18
+ };
19
+ var __copyProps = (to, from, except, desc) => {
20
+ if (from && typeof from === "object" || typeof from === "function") {
21
+ for (let key of __getOwnPropNames(from))
22
+ if (!__hasOwnProp.call(to, key) && key !== except)
23
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
24
+ }
25
+ return to;
26
+ };
27
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
28
+ // If the importer is in node compatibility mode or this is not an ESM
29
+ // file that has been converted to a CommonJS file using a Babel-
30
+ // compatible transform (i.e. "__esModule" has not been set), then set
31
+ // "default" to the CommonJS "module.exports" for node compatibility.
32
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
33
+ mod
34
+ ));
2
35
 
3
36
  // ../api/src/store/supabase-client.ts
4
37
  var client;
@@ -427,6 +460,9 @@ async function createThread(supabase, channelId, text, title) {
427
460
  }
428
461
 
429
462
  export {
463
+ __require,
464
+ __commonJS,
465
+ __toESM,
430
466
  setSupabaseClient,
431
467
  setSupabaseClientFactory,
432
468
  hasSupabaseCredentials,
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env node
2
+ import { createRequire as __flyspaceCreateRequire } from 'node:module';
3
+ const require = __flyspaceCreateRequire(import.meta.url);
2
4
  import {
3
5
  AGENT_AUTHOR,
4
6
  SYNCED_BOT_AUTHOR,
@@ -14,7 +16,7 @@ import {
14
16
  setSupabaseClientFactory,
15
17
  sweepScratchDir,
16
18
  syncPostToDashboard
17
- } from "./chunk-GYHCSGMJ.js";
19
+ } from "./chunk-HYCTLDZE.js";
18
20
 
19
21
  // src/index.ts
20
22
  import { execFile, spawn as spawn4 } from "child_process";