@automagik/omni 2.260422.12 → 2.260422.13
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/index.js
CHANGED
|
@@ -27373,7 +27373,8 @@ var init_common = __esm(() => {
|
|
|
27373
27373
|
"discord",
|
|
27374
27374
|
"slack",
|
|
27375
27375
|
"telegram",
|
|
27376
|
-
"gupshup"
|
|
27376
|
+
"gupshup",
|
|
27377
|
+
"twilio-whatsapp"
|
|
27377
27378
|
]);
|
|
27378
27379
|
ContentTypeSchema = exports_external.enum([
|
|
27379
27380
|
"text",
|
|
@@ -27843,6 +27844,13 @@ var init_instance = __esm(() => {
|
|
|
27843
27844
|
slackAppToken: exports_external.string().nullable(),
|
|
27844
27845
|
slackSigningSecret: exports_external.string().nullable(),
|
|
27845
27846
|
telegramBotToken: exports_external.string().nullable(),
|
|
27847
|
+
twilioAccountSid: exports_external.string().nullable().optional(),
|
|
27848
|
+
twilioAuthToken: exports_external.string().nullable().optional(),
|
|
27849
|
+
twilioFrom: exports_external.string().nullable().optional(),
|
|
27850
|
+
twilioMessagingServiceSid: exports_external.string().nullable().optional(),
|
|
27851
|
+
twilioStatusCallbackUrl: exports_external.string().nullable().optional(),
|
|
27852
|
+
twilioWebhookUrl: exports_external.string().nullable().optional(),
|
|
27853
|
+
twilioValidateSignature: exports_external.boolean().optional(),
|
|
27846
27854
|
agentId: exports_external.string().uuid().nullable().optional(),
|
|
27847
27855
|
agentTimeout: exports_external.number().int().positive(),
|
|
27848
27856
|
agentStreamMode: exports_external.boolean(),
|
|
@@ -28101,6 +28109,7 @@ var init_channel = __esm(() => {
|
|
|
28101
28109
|
"telegram",
|
|
28102
28110
|
"a2a",
|
|
28103
28111
|
"gupshup",
|
|
28112
|
+
"twilio-whatsapp",
|
|
28104
28113
|
"internal"
|
|
28105
28114
|
];
|
|
28106
28115
|
CONTENT_TYPES = [
|
|
@@ -34585,10 +34594,14 @@ function defaultWait(ms) {
|
|
|
34585
34594
|
var MESSAGING_WINDOW_MS, DEFAULT_TYPING_INDICATOR_MS = 2500, CHANNELS_WITH_MESSAGING_WINDOW, CHANNELS_WITH_TYPING_INDICATOR;
|
|
34586
34595
|
var init_capabilities = __esm(() => {
|
|
34587
34596
|
MESSAGING_WINDOW_MS = 24 * 60 * 60 * 1000;
|
|
34588
|
-
CHANNELS_WITH_MESSAGING_WINDOW = new Set([
|
|
34597
|
+
CHANNELS_WITH_MESSAGING_WINDOW = new Set([
|
|
34598
|
+
"whatsapp-cloud",
|
|
34599
|
+
"twilio-whatsapp"
|
|
34600
|
+
]);
|
|
34589
34601
|
CHANNELS_WITH_TYPING_INDICATOR = new Set([
|
|
34590
34602
|
"whatsapp-baileys",
|
|
34591
34603
|
"whatsapp-cloud",
|
|
34604
|
+
"twilio-whatsapp",
|
|
34592
34605
|
"discord",
|
|
34593
34606
|
"slack",
|
|
34594
34607
|
"telegram"
|
|
@@ -53173,7 +53186,7 @@ var init_src = __esm(() => {
|
|
|
53173
53186
|
init_hooks();
|
|
53174
53187
|
});
|
|
53175
53188
|
|
|
53176
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53189
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/entity.js
|
|
53177
53190
|
function is(value, type) {
|
|
53178
53191
|
if (!value || typeof value !== "object") {
|
|
53179
53192
|
return false;
|
|
@@ -53201,7 +53214,7 @@ var init_entity = __esm(() => {
|
|
|
53201
53214
|
hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
|
|
53202
53215
|
});
|
|
53203
53216
|
|
|
53204
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53217
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/column.js
|
|
53205
53218
|
var Column;
|
|
53206
53219
|
var init_column = __esm(() => {
|
|
53207
53220
|
init_entity();
|
|
@@ -53255,7 +53268,7 @@ var init_column = __esm(() => {
|
|
|
53255
53268
|
};
|
|
53256
53269
|
});
|
|
53257
53270
|
|
|
53258
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53271
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/column-builder.js
|
|
53259
53272
|
var ColumnBuilder;
|
|
53260
53273
|
var init_column_builder = __esm(() => {
|
|
53261
53274
|
init_entity();
|
|
@@ -53315,13 +53328,13 @@ var init_column_builder = __esm(() => {
|
|
|
53315
53328
|
};
|
|
53316
53329
|
});
|
|
53317
53330
|
|
|
53318
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53331
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/table.utils.js
|
|
53319
53332
|
var TableName;
|
|
53320
53333
|
var init_table_utils = __esm(() => {
|
|
53321
53334
|
TableName = Symbol.for("drizzle:Name");
|
|
53322
53335
|
});
|
|
53323
53336
|
|
|
53324
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53337
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/foreign-keys.js
|
|
53325
53338
|
var ForeignKeyBuilder, ForeignKey;
|
|
53326
53339
|
var init_foreign_keys = __esm(() => {
|
|
53327
53340
|
init_entity();
|
|
@@ -53379,13 +53392,13 @@ var init_foreign_keys = __esm(() => {
|
|
|
53379
53392
|
};
|
|
53380
53393
|
});
|
|
53381
53394
|
|
|
53382
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53395
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/tracing-utils.js
|
|
53383
53396
|
function iife(fn, ...args) {
|
|
53384
53397
|
return fn(...args);
|
|
53385
53398
|
}
|
|
53386
53399
|
var init_tracing_utils = () => {};
|
|
53387
53400
|
|
|
53388
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53401
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/unique-constraint.js
|
|
53389
53402
|
function uniqueKeyName(table, columns) {
|
|
53390
53403
|
return `${table[TableName]}_${columns.join("_")}_unique`;
|
|
53391
53404
|
}
|
|
@@ -53393,7 +53406,7 @@ var init_unique_constraint = __esm(() => {
|
|
|
53393
53406
|
init_table_utils();
|
|
53394
53407
|
});
|
|
53395
53408
|
|
|
53396
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53409
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/utils/array.js
|
|
53397
53410
|
function parsePgArrayValue(arrayString, startFrom, inQuotes) {
|
|
53398
53411
|
for (let i2 = startFrom;i2 < arrayString.length; i2++) {
|
|
53399
53412
|
const char = arrayString[i2];
|
|
@@ -53470,7 +53483,7 @@ function makePgArray(array) {
|
|
|
53470
53483
|
}
|
|
53471
53484
|
var init_array = () => {};
|
|
53472
53485
|
|
|
53473
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53486
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/common.js
|
|
53474
53487
|
var PgColumnBuilder, PgColumn, ExtraConfigColumn, IndexedColumn, PgArrayBuilder, PgArray;
|
|
53475
53488
|
var init_common2 = __esm(() => {
|
|
53476
53489
|
init_column_builder();
|
|
@@ -53623,7 +53636,7 @@ var init_common2 = __esm(() => {
|
|
|
53623
53636
|
};
|
|
53624
53637
|
});
|
|
53625
53638
|
|
|
53626
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53639
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/enum.js
|
|
53627
53640
|
function isPgEnum(obj) {
|
|
53628
53641
|
return !!obj && typeof obj === "function" && isPgEnumSym in obj && obj[isPgEnumSym] === true;
|
|
53629
53642
|
}
|
|
@@ -53646,7 +53659,7 @@ var init_enum = __esm(() => {
|
|
|
53646
53659
|
};
|
|
53647
53660
|
});
|
|
53648
53661
|
|
|
53649
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53662
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/subquery.js
|
|
53650
53663
|
var Subquery, WithSubquery;
|
|
53651
53664
|
var init_subquery = __esm(() => {
|
|
53652
53665
|
init_entity();
|
|
@@ -53667,11 +53680,11 @@ var init_subquery = __esm(() => {
|
|
|
53667
53680
|
};
|
|
53668
53681
|
});
|
|
53669
53682
|
|
|
53670
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53683
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/version.js
|
|
53671
53684
|
var version = "0.38.4";
|
|
53672
53685
|
var init_version = () => {};
|
|
53673
53686
|
|
|
53674
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53687
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/tracing.js
|
|
53675
53688
|
var otel, rawTracer, tracer;
|
|
53676
53689
|
var init_tracing2 = __esm(() => {
|
|
53677
53690
|
init_tracing_utils();
|
|
@@ -53701,13 +53714,13 @@ var init_tracing2 = __esm(() => {
|
|
|
53701
53714
|
};
|
|
53702
53715
|
});
|
|
53703
53716
|
|
|
53704
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53717
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/view-common.js
|
|
53705
53718
|
var ViewBaseConfig;
|
|
53706
53719
|
var init_view_common = __esm(() => {
|
|
53707
53720
|
ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
|
|
53708
53721
|
});
|
|
53709
53722
|
|
|
53710
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53723
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/table.js
|
|
53711
53724
|
function getTableName(table) {
|
|
53712
53725
|
return table[TableName];
|
|
53713
53726
|
}
|
|
@@ -53755,7 +53768,7 @@ var init_table = __esm(() => {
|
|
|
53755
53768
|
};
|
|
53756
53769
|
});
|
|
53757
53770
|
|
|
53758
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
53771
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/sql/sql.js
|
|
53759
53772
|
function isSQLWrapper(value) {
|
|
53760
53773
|
return value !== null && value !== undefined && typeof value.getSQL === "function";
|
|
53761
53774
|
}
|
|
@@ -54132,7 +54145,7 @@ var init_sql = __esm(() => {
|
|
|
54132
54145
|
};
|
|
54133
54146
|
});
|
|
54134
54147
|
|
|
54135
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54148
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/alias.js
|
|
54136
54149
|
function aliasedTable(table, tableAlias) {
|
|
54137
54150
|
return new Proxy(table, new TableAliasProxyHandler(tableAlias, false));
|
|
54138
54151
|
}
|
|
@@ -54218,7 +54231,7 @@ var init_alias = __esm(() => {
|
|
|
54218
54231
|
};
|
|
54219
54232
|
});
|
|
54220
54233
|
|
|
54221
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54234
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/errors.js
|
|
54222
54235
|
var DrizzleError, TransactionRollbackError;
|
|
54223
54236
|
var init_errors3 = __esm(() => {
|
|
54224
54237
|
init_entity();
|
|
@@ -54238,7 +54251,7 @@ var init_errors3 = __esm(() => {
|
|
|
54238
54251
|
};
|
|
54239
54252
|
});
|
|
54240
54253
|
|
|
54241
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54254
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/sql/expressions/conditions.js
|
|
54242
54255
|
function bindIfParam(value, column) {
|
|
54243
54256
|
if (isDriverValueEncoder(column) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column) && !is(value, Table) && !is(value, View)) {
|
|
54244
54257
|
return new Param(value, column);
|
|
@@ -54344,7 +54357,7 @@ var init_conditions2 = __esm(() => {
|
|
|
54344
54357
|
init_sql();
|
|
54345
54358
|
});
|
|
54346
54359
|
|
|
54347
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54360
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/sql/expressions/select.js
|
|
54348
54361
|
function asc(column) {
|
|
54349
54362
|
return sql`${column} asc`;
|
|
54350
54363
|
}
|
|
@@ -54355,18 +54368,18 @@ var init_select = __esm(() => {
|
|
|
54355
54368
|
init_sql();
|
|
54356
54369
|
});
|
|
54357
54370
|
|
|
54358
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54371
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/sql/expressions/index.js
|
|
54359
54372
|
var init_expressions = __esm(() => {
|
|
54360
54373
|
init_conditions2();
|
|
54361
54374
|
init_select();
|
|
54362
54375
|
});
|
|
54363
54376
|
|
|
54364
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54377
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/expressions.js
|
|
54365
54378
|
var init_expressions2 = __esm(() => {
|
|
54366
54379
|
init_expressions();
|
|
54367
54380
|
});
|
|
54368
54381
|
|
|
54369
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54382
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/logger.js
|
|
54370
54383
|
var ConsoleLogWriter, DefaultLogger, NoopLogger;
|
|
54371
54384
|
var init_logger2 = __esm(() => {
|
|
54372
54385
|
init_entity();
|
|
@@ -54400,7 +54413,7 @@ var init_logger2 = __esm(() => {
|
|
|
54400
54413
|
};
|
|
54401
54414
|
});
|
|
54402
54415
|
|
|
54403
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54416
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/query-promise.js
|
|
54404
54417
|
var QueryPromise;
|
|
54405
54418
|
var init_query_promise = __esm(() => {
|
|
54406
54419
|
init_entity();
|
|
@@ -54425,7 +54438,7 @@ var init_query_promise = __esm(() => {
|
|
|
54425
54438
|
};
|
|
54426
54439
|
});
|
|
54427
54440
|
|
|
54428
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54441
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/utils.js
|
|
54429
54442
|
function mapResultRow(columns, row, joinsNotNullableMap) {
|
|
54430
54443
|
const nullifyMap = {};
|
|
54431
54444
|
const result = columns.reduce((result2, { path, field }, columnIndex) => {
|
|
@@ -54584,7 +54597,7 @@ var init_utils = __esm(() => {
|
|
|
54584
54597
|
init_view_common();
|
|
54585
54598
|
});
|
|
54586
54599
|
|
|
54587
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54600
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/int.common.js
|
|
54588
54601
|
var PgIntColumnBaseBuilder;
|
|
54589
54602
|
var init_int_common = __esm(() => {
|
|
54590
54603
|
init_entity();
|
|
@@ -54628,7 +54641,7 @@ var init_int_common = __esm(() => {
|
|
|
54628
54641
|
};
|
|
54629
54642
|
});
|
|
54630
54643
|
|
|
54631
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54644
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/bigint.js
|
|
54632
54645
|
function bigint(a2, b3) {
|
|
54633
54646
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
54634
54647
|
if (config2.mode === "number") {
|
|
@@ -54683,7 +54696,7 @@ var init_bigint = __esm(() => {
|
|
|
54683
54696
|
};
|
|
54684
54697
|
});
|
|
54685
54698
|
|
|
54686
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54699
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/bigserial.js
|
|
54687
54700
|
function bigserial(a2, b3) {
|
|
54688
54701
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
54689
54702
|
if (config2.mode === "number") {
|
|
@@ -54740,7 +54753,7 @@ var init_bigserial = __esm(() => {
|
|
|
54740
54753
|
};
|
|
54741
54754
|
});
|
|
54742
54755
|
|
|
54743
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54756
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/boolean.js
|
|
54744
54757
|
function boolean(name) {
|
|
54745
54758
|
return new PgBooleanBuilder(name ?? "");
|
|
54746
54759
|
}
|
|
@@ -54765,7 +54778,7 @@ var init_boolean = __esm(() => {
|
|
|
54765
54778
|
};
|
|
54766
54779
|
});
|
|
54767
54780
|
|
|
54768
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54781
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/char.js
|
|
54769
54782
|
function char(a2, b3 = {}) {
|
|
54770
54783
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
54771
54784
|
return new PgCharBuilder(name, config2);
|
|
@@ -54796,7 +54809,7 @@ var init_char = __esm(() => {
|
|
|
54796
54809
|
};
|
|
54797
54810
|
});
|
|
54798
54811
|
|
|
54799
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54812
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/cidr.js
|
|
54800
54813
|
function cidr(name) {
|
|
54801
54814
|
return new PgCidrBuilder(name ?? "");
|
|
54802
54815
|
}
|
|
@@ -54821,7 +54834,7 @@ var init_cidr = __esm(() => {
|
|
|
54821
54834
|
};
|
|
54822
54835
|
});
|
|
54823
54836
|
|
|
54824
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54837
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/custom.js
|
|
54825
54838
|
function customType(customTypeParams) {
|
|
54826
54839
|
return (a2, b3) => {
|
|
54827
54840
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
@@ -54867,7 +54880,7 @@ var init_custom = __esm(() => {
|
|
|
54867
54880
|
};
|
|
54868
54881
|
});
|
|
54869
54882
|
|
|
54870
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54883
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/date.common.js
|
|
54871
54884
|
var PgDateColumnBaseBuilder;
|
|
54872
54885
|
var init_date_common = __esm(() => {
|
|
54873
54886
|
init_entity();
|
|
@@ -54881,7 +54894,7 @@ var init_date_common = __esm(() => {
|
|
|
54881
54894
|
};
|
|
54882
54895
|
});
|
|
54883
54896
|
|
|
54884
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54897
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/date.js
|
|
54885
54898
|
function date(a2, b3) {
|
|
54886
54899
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
54887
54900
|
if (config2?.mode === "date") {
|
|
@@ -54933,7 +54946,7 @@ var init_date = __esm(() => {
|
|
|
54933
54946
|
};
|
|
54934
54947
|
});
|
|
54935
54948
|
|
|
54936
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54949
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/double-precision.js
|
|
54937
54950
|
function doublePrecision(name) {
|
|
54938
54951
|
return new PgDoublePrecisionBuilder(name ?? "");
|
|
54939
54952
|
}
|
|
@@ -54964,7 +54977,7 @@ var init_double_precision = __esm(() => {
|
|
|
54964
54977
|
};
|
|
54965
54978
|
});
|
|
54966
54979
|
|
|
54967
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
54980
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/inet.js
|
|
54968
54981
|
function inet(name) {
|
|
54969
54982
|
return new PgInetBuilder(name ?? "");
|
|
54970
54983
|
}
|
|
@@ -54989,7 +55002,7 @@ var init_inet = __esm(() => {
|
|
|
54989
55002
|
};
|
|
54990
55003
|
});
|
|
54991
55004
|
|
|
54992
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55005
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/integer.js
|
|
54993
55006
|
function integer(name) {
|
|
54994
55007
|
return new PgIntegerBuilder(name ?? "");
|
|
54995
55008
|
}
|
|
@@ -55021,7 +55034,7 @@ var init_integer = __esm(() => {
|
|
|
55021
55034
|
};
|
|
55022
55035
|
});
|
|
55023
55036
|
|
|
55024
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55037
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/interval.js
|
|
55025
55038
|
function interval(a2, b3 = {}) {
|
|
55026
55039
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
55027
55040
|
return new PgIntervalBuilder(name, config2);
|
|
@@ -55053,7 +55066,7 @@ var init_interval = __esm(() => {
|
|
|
55053
55066
|
};
|
|
55054
55067
|
});
|
|
55055
55068
|
|
|
55056
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55069
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/json.js
|
|
55057
55070
|
function json(name) {
|
|
55058
55071
|
return new PgJsonBuilder(name ?? "");
|
|
55059
55072
|
}
|
|
@@ -55094,7 +55107,7 @@ var init_json = __esm(() => {
|
|
|
55094
55107
|
};
|
|
55095
55108
|
});
|
|
55096
55109
|
|
|
55097
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55110
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/jsonb.js
|
|
55098
55111
|
function jsonb(name) {
|
|
55099
55112
|
return new PgJsonbBuilder(name ?? "");
|
|
55100
55113
|
}
|
|
@@ -55135,7 +55148,7 @@ var init_jsonb = __esm(() => {
|
|
|
55135
55148
|
};
|
|
55136
55149
|
});
|
|
55137
55150
|
|
|
55138
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55151
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/line.js
|
|
55139
55152
|
function line(a2, b3) {
|
|
55140
55153
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
55141
55154
|
if (!config2?.mode || config2.mode === "tuple") {
|
|
@@ -55194,7 +55207,7 @@ var init_line = __esm(() => {
|
|
|
55194
55207
|
};
|
|
55195
55208
|
});
|
|
55196
55209
|
|
|
55197
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55210
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/macaddr.js
|
|
55198
55211
|
function macaddr(name) {
|
|
55199
55212
|
return new PgMacaddrBuilder(name ?? "");
|
|
55200
55213
|
}
|
|
@@ -55219,7 +55232,7 @@ var init_macaddr = __esm(() => {
|
|
|
55219
55232
|
};
|
|
55220
55233
|
});
|
|
55221
55234
|
|
|
55222
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55235
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/macaddr8.js
|
|
55223
55236
|
function macaddr8(name) {
|
|
55224
55237
|
return new PgMacaddr8Builder(name ?? "");
|
|
55225
55238
|
}
|
|
@@ -55244,7 +55257,7 @@ var init_macaddr8 = __esm(() => {
|
|
|
55244
55257
|
};
|
|
55245
55258
|
});
|
|
55246
55259
|
|
|
55247
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55260
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/numeric.js
|
|
55248
55261
|
function numeric(a2, b3) {
|
|
55249
55262
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
55250
55263
|
return new PgNumericBuilder(name, config2?.precision, config2?.scale);
|
|
@@ -55286,7 +55299,7 @@ var init_numeric = __esm(() => {
|
|
|
55286
55299
|
};
|
|
55287
55300
|
});
|
|
55288
55301
|
|
|
55289
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55302
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/point.js
|
|
55290
55303
|
function point(a2, b3) {
|
|
55291
55304
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
55292
55305
|
if (!config2?.mode || config2.mode === "tuple") {
|
|
@@ -55351,7 +55364,7 @@ var init_point = __esm(() => {
|
|
|
55351
55364
|
};
|
|
55352
55365
|
});
|
|
55353
55366
|
|
|
55354
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55367
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/postgis_extension/utils.js
|
|
55355
55368
|
function hexToBytes(hex) {
|
|
55356
55369
|
const bytes = [];
|
|
55357
55370
|
for (let c8 = 0;c8 < hex.length; c8 += 2) {
|
|
@@ -55391,7 +55404,7 @@ function parseEWKB(hex) {
|
|
|
55391
55404
|
}
|
|
55392
55405
|
var init_utils2 = () => {};
|
|
55393
55406
|
|
|
55394
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55407
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/postgis_extension/geometry.js
|
|
55395
55408
|
function geometry(a2, b3) {
|
|
55396
55409
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
55397
55410
|
if (!config2?.mode || config2.mode === "tuple") {
|
|
@@ -55450,7 +55463,7 @@ var init_geometry = __esm(() => {
|
|
|
55450
55463
|
};
|
|
55451
55464
|
});
|
|
55452
55465
|
|
|
55453
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55466
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/real.js
|
|
55454
55467
|
function real(name) {
|
|
55455
55468
|
return new PgRealBuilder(name ?? "");
|
|
55456
55469
|
}
|
|
@@ -55485,7 +55498,7 @@ var init_real = __esm(() => {
|
|
|
55485
55498
|
};
|
|
55486
55499
|
});
|
|
55487
55500
|
|
|
55488
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55501
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/serial.js
|
|
55489
55502
|
function serial(name) {
|
|
55490
55503
|
return new PgSerialBuilder(name ?? "");
|
|
55491
55504
|
}
|
|
@@ -55512,7 +55525,7 @@ var init_serial = __esm(() => {
|
|
|
55512
55525
|
};
|
|
55513
55526
|
});
|
|
55514
55527
|
|
|
55515
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55528
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/smallint.js
|
|
55516
55529
|
function smallint(name) {
|
|
55517
55530
|
return new PgSmallIntBuilder(name ?? "");
|
|
55518
55531
|
}
|
|
@@ -55544,7 +55557,7 @@ var init_smallint = __esm(() => {
|
|
|
55544
55557
|
};
|
|
55545
55558
|
});
|
|
55546
55559
|
|
|
55547
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55560
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/smallserial.js
|
|
55548
55561
|
function smallserial(name) {
|
|
55549
55562
|
return new PgSmallSerialBuilder(name ?? "");
|
|
55550
55563
|
}
|
|
@@ -55571,7 +55584,7 @@ var init_smallserial = __esm(() => {
|
|
|
55571
55584
|
};
|
|
55572
55585
|
});
|
|
55573
55586
|
|
|
55574
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55587
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/text.js
|
|
55575
55588
|
function text(a2, b3 = {}) {
|
|
55576
55589
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
55577
55590
|
return new PgTextBuilder(name, config2);
|
|
@@ -55600,7 +55613,7 @@ var init_text = __esm(() => {
|
|
|
55600
55613
|
};
|
|
55601
55614
|
});
|
|
55602
55615
|
|
|
55603
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55616
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/time.js
|
|
55604
55617
|
function time(a2, b3 = {}) {
|
|
55605
55618
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
55606
55619
|
return new PgTimeBuilder(name, config2.withTimezone ?? false, config2.precision);
|
|
@@ -55640,7 +55653,7 @@ var init_time = __esm(() => {
|
|
|
55640
55653
|
};
|
|
55641
55654
|
});
|
|
55642
55655
|
|
|
55643
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55656
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/timestamp.js
|
|
55644
55657
|
function timestamp(a2, b3 = {}) {
|
|
55645
55658
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
55646
55659
|
if (config2?.mode === "string") {
|
|
@@ -55712,7 +55725,7 @@ var init_timestamp = __esm(() => {
|
|
|
55712
55725
|
};
|
|
55713
55726
|
});
|
|
55714
55727
|
|
|
55715
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55728
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/uuid.js
|
|
55716
55729
|
function uuid(name) {
|
|
55717
55730
|
return new PgUUIDBuilder(name ?? "");
|
|
55718
55731
|
}
|
|
@@ -55741,7 +55754,7 @@ var init_uuid = __esm(() => {
|
|
|
55741
55754
|
};
|
|
55742
55755
|
});
|
|
55743
55756
|
|
|
55744
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55757
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/varchar.js
|
|
55745
55758
|
function varchar(a2, b3 = {}) {
|
|
55746
55759
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
55747
55760
|
return new PgVarcharBuilder(name, config2);
|
|
@@ -55772,7 +55785,7 @@ var init_varchar = __esm(() => {
|
|
|
55772
55785
|
};
|
|
55773
55786
|
});
|
|
55774
55787
|
|
|
55775
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55788
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/vector_extension/bit.js
|
|
55776
55789
|
function bit(a2, b3) {
|
|
55777
55790
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
55778
55791
|
return new PgBinaryVectorBuilder(name, config2);
|
|
@@ -55801,7 +55814,7 @@ var init_bit = __esm(() => {
|
|
|
55801
55814
|
};
|
|
55802
55815
|
});
|
|
55803
55816
|
|
|
55804
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55817
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/vector_extension/halfvec.js
|
|
55805
55818
|
function halfvec(a2, b3) {
|
|
55806
55819
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
55807
55820
|
return new PgHalfVectorBuilder(name, config2);
|
|
@@ -55836,7 +55849,7 @@ var init_halfvec = __esm(() => {
|
|
|
55836
55849
|
};
|
|
55837
55850
|
});
|
|
55838
55851
|
|
|
55839
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55852
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/vector_extension/sparsevec.js
|
|
55840
55853
|
function sparsevec(a2, b3) {
|
|
55841
55854
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
55842
55855
|
return new PgSparseVectorBuilder(name, config2);
|
|
@@ -55865,7 +55878,7 @@ var init_sparsevec = __esm(() => {
|
|
|
55865
55878
|
};
|
|
55866
55879
|
});
|
|
55867
55880
|
|
|
55868
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55881
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/vector_extension/vector.js
|
|
55869
55882
|
function vector(a2, b3) {
|
|
55870
55883
|
const { name, config: config2 } = getColumnNameAndConfig(a2, b3);
|
|
55871
55884
|
return new PgVectorBuilder(name, config2);
|
|
@@ -55900,7 +55913,7 @@ var init_vector = __esm(() => {
|
|
|
55900
55913
|
};
|
|
55901
55914
|
});
|
|
55902
55915
|
|
|
55903
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55916
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/all.js
|
|
55904
55917
|
function getPgColumnBuilders() {
|
|
55905
55918
|
return {
|
|
55906
55919
|
bigint,
|
|
@@ -55972,7 +55985,7 @@ var init_all = __esm(() => {
|
|
|
55972
55985
|
init_vector();
|
|
55973
55986
|
});
|
|
55974
55987
|
|
|
55975
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
55988
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/table.js
|
|
55976
55989
|
function pgTableWithSchema(name, columns, extraConfig, schema, baseName = name) {
|
|
55977
55990
|
const rawTable = new PgTable(name, schema, baseName);
|
|
55978
55991
|
const parsedColumns = typeof columns === "function" ? columns(getPgColumnBuilders()) : columns;
|
|
@@ -56023,7 +56036,7 @@ var init_table2 = __esm(() => {
|
|
|
56023
56036
|
};
|
|
56024
56037
|
});
|
|
56025
56038
|
|
|
56026
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
56039
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/primary-keys.js
|
|
56027
56040
|
function primaryKey(...config2) {
|
|
56028
56041
|
if (config2[0].columns) {
|
|
56029
56042
|
return new PrimaryKeyBuilder(config2[0].columns, config2[0].name);
|
|
@@ -56061,7 +56074,7 @@ var init_primary_keys = __esm(() => {
|
|
|
56061
56074
|
};
|
|
56062
56075
|
});
|
|
56063
56076
|
|
|
56064
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
56077
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/relations.js
|
|
56065
56078
|
function getOperators() {
|
|
56066
56079
|
return {
|
|
56067
56080
|
and,
|
|
@@ -56293,26 +56306,26 @@ var init_relations = __esm(() => {
|
|
|
56293
56306
|
};
|
|
56294
56307
|
});
|
|
56295
56308
|
|
|
56296
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
56309
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/sql/functions/aggregate.js
|
|
56297
56310
|
var init_aggregate = () => {};
|
|
56298
56311
|
|
|
56299
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
56312
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/sql/functions/vector.js
|
|
56300
56313
|
var init_vector2 = () => {};
|
|
56301
56314
|
|
|
56302
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
56315
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/sql/functions/index.js
|
|
56303
56316
|
var init_functions = __esm(() => {
|
|
56304
56317
|
init_aggregate();
|
|
56305
56318
|
init_vector2();
|
|
56306
56319
|
});
|
|
56307
56320
|
|
|
56308
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
56321
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/sql/index.js
|
|
56309
56322
|
var init_sql2 = __esm(() => {
|
|
56310
56323
|
init_expressions();
|
|
56311
56324
|
init_functions();
|
|
56312
56325
|
init_sql();
|
|
56313
56326
|
});
|
|
56314
56327
|
|
|
56315
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
56328
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/index.js
|
|
56316
56329
|
var init_drizzle_orm = __esm(() => {
|
|
56317
56330
|
init_alias();
|
|
56318
56331
|
init_column_builder();
|
|
@@ -56330,10 +56343,10 @@ var init_drizzle_orm = __esm(() => {
|
|
|
56330
56343
|
init_view_common();
|
|
56331
56344
|
});
|
|
56332
56345
|
|
|
56333
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
56346
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/alias.js
|
|
56334
56347
|
var init_alias2 = () => {};
|
|
56335
56348
|
|
|
56336
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
56349
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/checks.js
|
|
56337
56350
|
function check(name, value) {
|
|
56338
56351
|
return new CheckBuilder(name, value);
|
|
56339
56352
|
}
|
|
@@ -56363,7 +56376,7 @@ var init_checks = __esm(() => {
|
|
|
56363
56376
|
};
|
|
56364
56377
|
});
|
|
56365
56378
|
|
|
56366
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
56379
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/columns/index.js
|
|
56367
56380
|
var init_columns = __esm(() => {
|
|
56368
56381
|
init_bigint();
|
|
56369
56382
|
init_bigserial();
|
|
@@ -56402,7 +56415,7 @@ var init_columns = __esm(() => {
|
|
|
56402
56415
|
init_vector();
|
|
56403
56416
|
});
|
|
56404
56417
|
|
|
56405
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
56418
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/query-builders/delete.js
|
|
56406
56419
|
var PgDeleteBase;
|
|
56407
56420
|
var init_delete = __esm(() => {
|
|
56408
56421
|
init_entity();
|
|
@@ -56458,7 +56471,7 @@ var init_delete = __esm(() => {
|
|
|
56458
56471
|
};
|
|
56459
56472
|
});
|
|
56460
56473
|
|
|
56461
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
56474
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/casing.js
|
|
56462
56475
|
function toSnakeCase(input) {
|
|
56463
56476
|
const words = input.replace(/['\u2019]/g, "").match(/[\da-z]+|[A-Z]+(?![a-z])|[A-Z][\da-z]+/g) ?? [];
|
|
56464
56477
|
return words.map((word) => word.toLowerCase()).join("_");
|
|
@@ -56515,7 +56528,7 @@ var init_casing = __esm(() => {
|
|
|
56515
56528
|
};
|
|
56516
56529
|
});
|
|
56517
56530
|
|
|
56518
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
56531
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/view-base.js
|
|
56519
56532
|
var PgViewBase;
|
|
56520
56533
|
var init_view_base = __esm(() => {
|
|
56521
56534
|
init_entity();
|
|
@@ -56525,7 +56538,7 @@ var init_view_base = __esm(() => {
|
|
|
56525
56538
|
};
|
|
56526
56539
|
});
|
|
56527
56540
|
|
|
56528
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
56541
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/dialect.js
|
|
56529
56542
|
var PgDialect;
|
|
56530
56543
|
var init_dialect = __esm(() => {
|
|
56531
56544
|
init_alias();
|
|
@@ -57100,7 +57113,7 @@ var init_dialect = __esm(() => {
|
|
|
57100
57113
|
};
|
|
57101
57114
|
});
|
|
57102
57115
|
|
|
57103
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
57116
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/selection-proxy.js
|
|
57104
57117
|
var SelectionProxyHandler;
|
|
57105
57118
|
var init_selection_proxy = __esm(() => {
|
|
57106
57119
|
init_alias();
|
|
@@ -57161,7 +57174,7 @@ var init_selection_proxy = __esm(() => {
|
|
|
57161
57174
|
};
|
|
57162
57175
|
});
|
|
57163
57176
|
|
|
57164
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
57177
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/query-builders/query-builder.js
|
|
57165
57178
|
var TypedQueryBuilder;
|
|
57166
57179
|
var init_query_builder = __esm(() => {
|
|
57167
57180
|
init_entity();
|
|
@@ -57173,7 +57186,7 @@ var init_query_builder = __esm(() => {
|
|
|
57173
57186
|
};
|
|
57174
57187
|
});
|
|
57175
57188
|
|
|
57176
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
57189
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/query-builders/select.js
|
|
57177
57190
|
function createSetOperator(type, isAll) {
|
|
57178
57191
|
return (leftSelect, rightSelect, ...restSelects) => {
|
|
57179
57192
|
const setOperators = [rightSelect, ...restSelects].map((select2) => ({
|
|
@@ -57473,7 +57486,7 @@ var init_select2 = __esm(() => {
|
|
|
57473
57486
|
exceptAll = createSetOperator("except", true);
|
|
57474
57487
|
});
|
|
57475
57488
|
|
|
57476
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
57489
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js
|
|
57477
57490
|
var QueryBuilder;
|
|
57478
57491
|
var init_query_builder2 = __esm(() => {
|
|
57479
57492
|
init_entity();
|
|
@@ -57560,7 +57573,7 @@ var init_query_builder2 = __esm(() => {
|
|
|
57560
57573
|
};
|
|
57561
57574
|
});
|
|
57562
57575
|
|
|
57563
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
57576
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/query-builders/insert.js
|
|
57564
57577
|
var PgInsertBuilder, PgInsertBase;
|
|
57565
57578
|
var init_insert = __esm(() => {
|
|
57566
57579
|
init_entity();
|
|
@@ -57680,7 +57693,7 @@ var init_insert = __esm(() => {
|
|
|
57680
57693
|
};
|
|
57681
57694
|
});
|
|
57682
57695
|
|
|
57683
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
57696
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js
|
|
57684
57697
|
var PgRefreshMaterializedView;
|
|
57685
57698
|
var init_refresh_materialized_view = __esm(() => {
|
|
57686
57699
|
init_entity();
|
|
@@ -57737,7 +57750,7 @@ var init_refresh_materialized_view = __esm(() => {
|
|
|
57737
57750
|
};
|
|
57738
57751
|
});
|
|
57739
57752
|
|
|
57740
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
57753
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/query-builders/update.js
|
|
57741
57754
|
var PgUpdateBuilder, PgUpdateBase;
|
|
57742
57755
|
var init_update = __esm(() => {
|
|
57743
57756
|
init_entity();
|
|
@@ -57889,7 +57902,7 @@ var init_update = __esm(() => {
|
|
|
57889
57902
|
};
|
|
57890
57903
|
});
|
|
57891
57904
|
|
|
57892
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
57905
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/query-builders/index.js
|
|
57893
57906
|
var init_query_builders = __esm(() => {
|
|
57894
57907
|
init_delete();
|
|
57895
57908
|
init_insert();
|
|
@@ -57899,7 +57912,7 @@ var init_query_builders = __esm(() => {
|
|
|
57899
57912
|
init_update();
|
|
57900
57913
|
});
|
|
57901
57914
|
|
|
57902
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
57915
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/query-builders/count.js
|
|
57903
57916
|
var PgCountBuilder;
|
|
57904
57917
|
var init_count = __esm(() => {
|
|
57905
57918
|
init_entity();
|
|
@@ -57945,7 +57958,7 @@ var init_count = __esm(() => {
|
|
|
57945
57958
|
};
|
|
57946
57959
|
});
|
|
57947
57960
|
|
|
57948
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
57961
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/query-builders/query.js
|
|
57949
57962
|
var RelationalQueryBuilder, PgRelationalQuery;
|
|
57950
57963
|
var init_query = __esm(() => {
|
|
57951
57964
|
init_entity();
|
|
@@ -58034,7 +58047,7 @@ var init_query = __esm(() => {
|
|
|
58034
58047
|
};
|
|
58035
58048
|
});
|
|
58036
58049
|
|
|
58037
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
58050
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/query-builders/raw.js
|
|
58038
58051
|
var PgRaw;
|
|
58039
58052
|
var init_raw = __esm(() => {
|
|
58040
58053
|
init_entity();
|
|
@@ -58066,7 +58079,7 @@ var init_raw = __esm(() => {
|
|
|
58066
58079
|
};
|
|
58067
58080
|
});
|
|
58068
58081
|
|
|
58069
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
58082
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/db.js
|
|
58070
58083
|
var PgDatabase;
|
|
58071
58084
|
var init_db = __esm(() => {
|
|
58072
58085
|
init_entity();
|
|
@@ -58203,7 +58216,7 @@ var init_db = __esm(() => {
|
|
|
58203
58216
|
};
|
|
58204
58217
|
});
|
|
58205
58218
|
|
|
58206
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
58219
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/indexes.js
|
|
58207
58220
|
function index(name) {
|
|
58208
58221
|
return new IndexBuilderOn(false, name);
|
|
58209
58222
|
}
|
|
@@ -58292,31 +58305,31 @@ var init_indexes = __esm(() => {
|
|
|
58292
58305
|
};
|
|
58293
58306
|
});
|
|
58294
58307
|
|
|
58295
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
58308
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/policies.js
|
|
58296
58309
|
var init_policies = () => {};
|
|
58297
58310
|
|
|
58298
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
58311
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/roles.js
|
|
58299
58312
|
var init_roles = () => {};
|
|
58300
58313
|
|
|
58301
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
58314
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/sequence.js
|
|
58302
58315
|
var init_sequence = () => {};
|
|
58303
58316
|
|
|
58304
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
58317
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/view-common.js
|
|
58305
58318
|
var PgViewConfig;
|
|
58306
58319
|
var init_view_common2 = __esm(() => {
|
|
58307
58320
|
PgViewConfig = Symbol.for("drizzle:PgViewConfig");
|
|
58308
58321
|
});
|
|
58309
58322
|
|
|
58310
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
58323
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/view.js
|
|
58311
58324
|
var PgMaterializedViewConfig;
|
|
58312
58325
|
var init_view = __esm(() => {
|
|
58313
58326
|
PgMaterializedViewConfig = Symbol.for("drizzle:PgMaterializedViewConfig");
|
|
58314
58327
|
});
|
|
58315
58328
|
|
|
58316
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
58329
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/schema.js
|
|
58317
58330
|
var init_schema = () => {};
|
|
58318
58331
|
|
|
58319
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
58332
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/session.js
|
|
58320
58333
|
var PgPreparedQuery, PgSession, PgTransaction;
|
|
58321
58334
|
var init_session = __esm(() => {
|
|
58322
58335
|
init_entity();
|
|
@@ -58392,15 +58405,15 @@ var init_session = __esm(() => {
|
|
|
58392
58405
|
};
|
|
58393
58406
|
});
|
|
58394
58407
|
|
|
58395
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
58408
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/utils.js
|
|
58396
58409
|
var init_utils3 = () => {};
|
|
58397
58410
|
|
|
58398
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
58411
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/utils/index.js
|
|
58399
58412
|
var init_utils4 = __esm(() => {
|
|
58400
58413
|
init_array();
|
|
58401
58414
|
});
|
|
58402
58415
|
|
|
58403
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
58416
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/pg-core/index.js
|
|
58404
58417
|
var init_pg_core = __esm(() => {
|
|
58405
58418
|
init_alias2();
|
|
58406
58419
|
init_checks();
|
|
@@ -58536,6 +58549,7 @@ var init_schema2 = __esm(() => {
|
|
|
58536
58549
|
"telegram",
|
|
58537
58550
|
"a2a",
|
|
58538
58551
|
"gupshup",
|
|
58552
|
+
"twilio-whatsapp",
|
|
58539
58553
|
"internal"
|
|
58540
58554
|
];
|
|
58541
58555
|
agentTypes = ["agent", "team", "workflow"];
|
|
@@ -58793,6 +58807,13 @@ var init_schema2 = __esm(() => {
|
|
|
58793
58807
|
gupshupAuthToken: text("gupshup_auth_token"),
|
|
58794
58808
|
gupshupEventId: varchar("gupshup_event_id", { length: 255 }),
|
|
58795
58809
|
webhookVerifyToken: text("webhook_verify_token"),
|
|
58810
|
+
twilioAccountSid: varchar("twilio_account_sid", { length: 34 }),
|
|
58811
|
+
twilioAuthToken: text("twilio_auth_token"),
|
|
58812
|
+
twilioFrom: varchar("twilio_from", { length: 64 }),
|
|
58813
|
+
twilioMessagingServiceSid: varchar("twilio_messaging_service_sid", { length: 34 }),
|
|
58814
|
+
twilioStatusCallbackUrl: text("twilio_status_callback_url"),
|
|
58815
|
+
twilioWebhookUrl: text("twilio_webhook_url"),
|
|
58816
|
+
twilioValidateSignature: boolean("twilio_validate_signature").notNull().default(true),
|
|
58796
58817
|
agentId: uuid("agent_id").references(() => agents.id, { onDelete: "set null" }),
|
|
58797
58818
|
agentTimeout: integer("agent_timeout").notNull().default(60),
|
|
58798
58819
|
agentStreamMode: boolean("agent_stream_mode").notNull().default(false),
|
|
@@ -61807,7 +61828,7 @@ var init_src2 = __esm(() => {
|
|
|
61807
61828
|
src_default = Postgres;
|
|
61808
61829
|
});
|
|
61809
61830
|
|
|
61810
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
61831
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/postgres-js/session.js
|
|
61811
61832
|
var PostgresJsPreparedQuery, PostgresJsSession, PostgresJsTransaction;
|
|
61812
61833
|
var init_session2 = __esm(() => {
|
|
61813
61834
|
init_entity();
|
|
@@ -61923,7 +61944,7 @@ var init_session2 = __esm(() => {
|
|
|
61923
61944
|
};
|
|
61924
61945
|
});
|
|
61925
61946
|
|
|
61926
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
61947
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/postgres-js/driver.js
|
|
61927
61948
|
function construct(client, config2 = {}) {
|
|
61928
61949
|
const transparentParser = (val) => val;
|
|
61929
61950
|
for (const type of ["1184", "1082", "1083", "1114"]) {
|
|
@@ -61998,7 +62019,7 @@ var init_driver = __esm(() => {
|
|
|
61998
62019
|
})(drizzle || (drizzle = {}));
|
|
61999
62020
|
});
|
|
62000
62021
|
|
|
62001
|
-
// ../../node_modules/.bun/drizzle-orm@0.38.4+
|
|
62022
|
+
// ../../node_modules/.bun/drizzle-orm@0.38.4+9cdbbb2a2ed4af97/node_modules/drizzle-orm/postgres-js/index.js
|
|
62002
62023
|
var init_postgres_js = __esm(() => {
|
|
62003
62024
|
init_driver();
|
|
62004
62025
|
init_session2();
|
|
@@ -113818,7 +113839,7 @@ import { fileURLToPath } from "url";
|
|
|
113818
113839
|
// package.json
|
|
113819
113840
|
var package_default = {
|
|
113820
113841
|
name: "@automagik/omni",
|
|
113821
|
-
version: "2.260422.
|
|
113842
|
+
version: "2.260422.13",
|
|
113822
113843
|
description: "LLM-optimized CLI for Omni",
|
|
113823
113844
|
type: "module",
|
|
113824
113845
|
bin: {
|
|
@@ -115843,7 +115864,7 @@ function createChannelsCommand() {
|
|
|
115843
115864
|
}
|
|
115844
115865
|
});
|
|
115845
115866
|
channels.command("add <type>").description("Add a new channel instance (interactive setup)").option("--token <token>", "Bot token (for Telegram, Discord, Slack)").option("--name <name>", "Instance name (auto-generated if not provided)").action(async (type, options) => {
|
|
115846
|
-
const validTypes = ["telegram", "discord", "slack", "whatsapp-baileys", "whatsapp-cloud"];
|
|
115867
|
+
const validTypes = ["telegram", "discord", "slack", "whatsapp-baileys", "whatsapp-cloud", "twilio-whatsapp"];
|
|
115847
115868
|
if (!validTypes.includes(type)) {
|
|
115848
115869
|
error(`Unknown channel type: ${type}. Available: ${validTypes.join(", ")}`);
|
|
115849
115870
|
}
|
|
@@ -115986,7 +116007,14 @@ async function addWhatsApp(channel, options) {
|
|
|
115986
116007
|
|
|
115987
116008
|
// src/commands/chats.ts
|
|
115988
116009
|
init_output();
|
|
115989
|
-
var VALID_CHANNELS = [
|
|
116010
|
+
var VALID_CHANNELS = [
|
|
116011
|
+
"whatsapp-baileys",
|
|
116012
|
+
"whatsapp-cloud",
|
|
116013
|
+
"discord",
|
|
116014
|
+
"slack",
|
|
116015
|
+
"telegram",
|
|
116016
|
+
"twilio-whatsapp"
|
|
116017
|
+
];
|
|
115990
116018
|
async function buildInstanceNameMap(client) {
|
|
115991
116019
|
try {
|
|
115992
116020
|
const result = await client.instances.list();
|
|
@@ -120130,7 +120158,15 @@ function createInstallCommand() {
|
|
|
120130
120158
|
// src/commands/instances.ts
|
|
120131
120159
|
var import_qrcode_terminal = __toESM(require_main(), 1);
|
|
120132
120160
|
init_output();
|
|
120133
|
-
var VALID_CHANNELS2 = [
|
|
120161
|
+
var VALID_CHANNELS2 = [
|
|
120162
|
+
"whatsapp-baileys",
|
|
120163
|
+
"whatsapp-cloud",
|
|
120164
|
+
"discord",
|
|
120165
|
+
"slack",
|
|
120166
|
+
"telegram",
|
|
120167
|
+
"gupshup",
|
|
120168
|
+
"twilio-whatsapp"
|
|
120169
|
+
];
|
|
120134
120170
|
var VALID_SYNC_TYPES = ["profile", "messages", "contacts", "groups", "all"];
|
|
120135
120171
|
function setVal(body, key, val) {
|
|
120136
120172
|
if (val === "null")
|
|
@@ -120206,6 +120242,7 @@ function applyGateFields(body, opts) {
|
|
|
120206
120242
|
function applyMiscFields(body, opts) {
|
|
120207
120243
|
setVal(body, "ttsVoiceId", opts.ttsVoice);
|
|
120208
120244
|
setVal(body, "ttsModelId", opts.ttsModel);
|
|
120245
|
+
setVal(body, "readReceipts", opts.readReceipts);
|
|
120209
120246
|
setVal(body, "accessMode", opts.accessMode);
|
|
120210
120247
|
setVal(body, "token", opts.token);
|
|
120211
120248
|
setVal(body, "telegramBotToken", opts.telegramToken);
|
|
@@ -120216,6 +120253,13 @@ function applyMiscFields(body, opts) {
|
|
|
120216
120253
|
setVal(body, "gupshupAuthToken", opts.gupshupAuthToken);
|
|
120217
120254
|
setVal(body, "gupshupEventId", opts.gupshupEventId);
|
|
120218
120255
|
setVal(body, "webhookVerifyToken", opts.gupshupWebhookVerifyToken);
|
|
120256
|
+
setVal(body, "twilioAccountSid", opts.twilioAccountSid);
|
|
120257
|
+
setVal(body, "twilioAuthToken", opts.twilioAuthToken);
|
|
120258
|
+
setVal(body, "twilioFrom", opts.twilioFrom);
|
|
120259
|
+
setVal(body, "twilioMessagingServiceSid", opts.twilioMessagingServiceSid);
|
|
120260
|
+
setVal(body, "twilioStatusCallbackUrl", opts.twilioStatusCallbackUrl);
|
|
120261
|
+
setVal(body, "twilioWebhookUrl", opts.twilioWebhookUrl);
|
|
120262
|
+
setBool(body, "twilioValidateSignature", opts.twilioValidateSignature);
|
|
120219
120263
|
setVal(body, "bridgeTmuxSession", opts.bridgeTmuxSession);
|
|
120220
120264
|
if (opts.triggerEvents !== undefined) {
|
|
120221
120265
|
const raw2 = opts.triggerEvents;
|
|
@@ -120327,7 +120371,7 @@ function createInstancesCommand() {
|
|
|
120327
120371
|
error(`Failed to get instance: ${message}`, undefined, 3);
|
|
120328
120372
|
}
|
|
120329
120373
|
});
|
|
120330
|
-
instances.command("create").description("Create a new instance (supports all API fields)").requiredOption("--name <name>", "Instance name").requiredOption("--channel <type>", `Channel type (${VALID_CHANNELS2.join(", ")})`).option("--agent-fk-id <uuid>", 'Agent FK UUID (references agents table, use "null" to clear). When set without --reply-filter-mode, reply filter defaults to {mode:"all", onDm:true} so messages are dispatched instead of silently dropped (omni#443).').option("--agent-provider <id>", "Agent provider ID").option("--agent <id>", "Agent ID").option("--agent-type <type>", "Agent type: agent, team, or workflow").option("--agent-timeout <seconds>", "Agent timeout in seconds", (v) => Number.parseInt(v, 10)).option("--agent-stream-mode", "Enable streaming responses").option("--agent-session-strategy <strategy>", "Session strategy: per_user, per_chat, per_user_per_chat").option("--agent-prefix-sender-name", "Prefix messages with sender name").option("--no-agent-prefix-sender-name", "Disable sender name prefix").option("--agent-wait-for-media", "Wait for media processing before dispatch").option("--no-agent-wait-for-media", "Dispatch immediately without waiting for media").option("--agent-send-media-path", "Include file path in formatted media text").option("--no-agent-send-media-path", "Exclude file path from formatted media text").option("--agent-send-media-path-types <types>", "Content types that receive file path (comma-separated: image,video,document)").option("--reply-filter-mode <mode>", "Reply filter: all or filtered").option("--reply-on-dm", "Reply to DMs").option("--no-reply-on-dm", "Ignore DMs").option("--reply-on-mention", "Reply when @mentioned").option("--no-reply-on-mention", "Ignore @mentions").option("--reply-on-reply", "Reply when message is reply to bot").option("--no-reply-on-reply", "Ignore replies").option("--reply-on-name", "Reply when bot name appears in text").option("--no-reply-on-name", "Ignore name matches").option("--reply-name-patterns <patterns>", "Custom name patterns (comma-separated)").option("--enable-auto-split", "Split responses on double newlines").option("--no-enable-auto-split", "Disable auto-split").option("--message-format-mode <mode>", "Format mode: convert or passthrough").option("--debounce-mode <mode>", "Debounce mode: disabled, fixed, or randomized").option("--debounce-min <ms>", "Minimum debounce delay in ms", (v) => Number.parseInt(v, 10)).option("--debounce-max <ms>", "Maximum debounce delay in ms", (v) => Number.parseInt(v, 10)).option("--debounce-restart-on-typing", "Restart debounce timer on typing").option("--debounce-group <ms>", "Group chat debounce in ms", (v) => Number.parseInt(v, 10)).option("--split-delay-mode <mode>", "Split delay mode: disabled, fixed, or randomized").option("--split-delay-fixed <ms>", "Fixed delay between split chunks in ms", (v) => Number.parseInt(v, 10)).option("--split-delay-min <ms>", "Minimum delay between split chunks in ms", (v) => Number.parseInt(v, 10)).option("--split-delay-max <ms>", "Maximum delay between split chunks in ms", (v) => Number.parseInt(v, 10)).option("--agent-gate", "Enable LLM response gate").option("--agent-gate-model <model>", "Model for response gate").option("--agent-gate-prompt <prompt>", "Custom gate prompt").option("--tts-voice <id>", "ElevenLabs voice ID").option("--tts-model <id>", "ElevenLabs model ID").option("--access-mode <mode>", "Access mode: disabled, blocklist, or allowlist").option("--reaction-ack <mode>", "Reaction ack mode (on|off)").option("--reaction-ack-emoji <json>", "Per-channel emoji map as JSON").option("--ack-timeout <ms>", "Ack timeout in milliseconds", (v) => Number.parseInt(v, 10)).option("--agent-stalled-timeout-ms <ms>", "Idle threshold in ms before the internal turn.stalled event fires (no channel message is ever sent)", (v) => Number.parseInt(v, 10)).option("--token <token>", "Generic bot token (auto-resolves to channel-specific field)").option("--telegram-token <token>", "Telegram bot token").option("--discord-token <token>", "Discord bot token").option("--slack-bot-token <token>", "Slack bot token").option("--slack-app-token <token>", "Slack app token").option("--gupshup-callback-url <url>", "Gupshup Custom Integration callback URL").option("--gupshup-auth-token <token>", "Gupshup Custom Integration auth token").option("--gupshup-event-id <id>", "Gupshup event ID (default: nx_omni_agent_reply)").option("--gupshup-webhook-verify-token <token>", "Gupshup webhook verify token").option("--bridge-tmux-session <name>", 'Tmux session name the genie bridge spawns into for this instance (propagated as GENIE_TMUX_SESSION via NATS). Use "null" to clear.').option("--is-default", "Set as default instance for channel").action(async (options) => {
|
|
120374
|
+
instances.command("create").description("Create a new instance (supports all API fields)").requiredOption("--name <name>", "Instance name").requiredOption("--channel <type>", `Channel type (${VALID_CHANNELS2.join(", ")})`).option("--agent-fk-id <uuid>", 'Agent FK UUID (references agents table, use "null" to clear). When set without --reply-filter-mode, reply filter defaults to {mode:"all", onDm:true} so messages are dispatched instead of silently dropped (omni#443).').option("--agent-provider <id>", "Agent provider ID").option("--agent <id>", "Agent ID").option("--agent-type <type>", "Agent type: agent, team, or workflow").option("--agent-timeout <seconds>", "Agent timeout in seconds", (v) => Number.parseInt(v, 10)).option("--agent-stream-mode", "Enable streaming responses").option("--agent-session-strategy <strategy>", "Session strategy: per_user, per_chat, per_user_per_chat").option("--agent-prefix-sender-name", "Prefix messages with sender name").option("--no-agent-prefix-sender-name", "Disable sender name prefix").option("--agent-wait-for-media", "Wait for media processing before dispatch").option("--no-agent-wait-for-media", "Dispatch immediately without waiting for media").option("--agent-send-media-path", "Include file path in formatted media text").option("--no-agent-send-media-path", "Exclude file path from formatted media text").option("--agent-send-media-path-types <types>", "Content types that receive file path (comma-separated: image,video,document)").option("--reply-filter-mode <mode>", "Reply filter: all or filtered").option("--reply-on-dm", "Reply to DMs").option("--no-reply-on-dm", "Ignore DMs").option("--reply-on-mention", "Reply when @mentioned").option("--no-reply-on-mention", "Ignore @mentions").option("--reply-on-reply", "Reply when message is reply to bot").option("--no-reply-on-reply", "Ignore replies").option("--reply-on-name", "Reply when bot name appears in text").option("--no-reply-on-name", "Ignore name matches").option("--reply-name-patterns <patterns>", "Custom name patterns (comma-separated)").option("--enable-auto-split", "Split responses on double newlines").option("--no-enable-auto-split", "Disable auto-split").option("--message-format-mode <mode>", "Format mode: convert or passthrough").option("--debounce-mode <mode>", "Debounce mode: disabled, fixed, or randomized").option("--debounce-min <ms>", "Minimum debounce delay in ms", (v) => Number.parseInt(v, 10)).option("--debounce-max <ms>", "Maximum debounce delay in ms", (v) => Number.parseInt(v, 10)).option("--debounce-restart-on-typing", "Restart debounce timer on typing").option("--debounce-group <ms>", "Group chat debounce in ms", (v) => Number.parseInt(v, 10)).option("--split-delay-mode <mode>", "Split delay mode: disabled, fixed, or randomized").option("--split-delay-fixed <ms>", "Fixed delay between split chunks in ms", (v) => Number.parseInt(v, 10)).option("--split-delay-min <ms>", "Minimum delay between split chunks in ms", (v) => Number.parseInt(v, 10)).option("--split-delay-max <ms>", "Maximum delay between split chunks in ms", (v) => Number.parseInt(v, 10)).option("--agent-gate", "Enable LLM response gate").option("--agent-gate-model <model>", "Model for response gate").option("--agent-gate-prompt <prompt>", "Custom gate prompt").option("--tts-voice <id>", "ElevenLabs voice ID").option("--tts-model <id>", "ElevenLabs model ID").option("--read-receipts <mode>", "Read receipts mode: on, off, or exclude-self").option("--access-mode <mode>", "Access mode: disabled, blocklist, or allowlist").option("--reaction-ack <mode>", "Reaction ack mode (on|off)").option("--reaction-ack-emoji <json>", "Per-channel emoji map as JSON").option("--ack-timeout <ms>", "Ack timeout in milliseconds", (v) => Number.parseInt(v, 10)).option("--agent-stalled-timeout-ms <ms>", "Idle threshold in ms before the internal turn.stalled event fires (no channel message is ever sent)", (v) => Number.parseInt(v, 10)).option("--token <token>", "Generic bot token (auto-resolves to channel-specific field)").option("--telegram-token <token>", "Telegram bot token").option("--discord-token <token>", "Discord bot token").option("--slack-bot-token <token>", "Slack bot token").option("--slack-app-token <token>", "Slack app token").option("--gupshup-callback-url <url>", "Gupshup Custom Integration callback URL").option("--gupshup-auth-token <token>", "Gupshup Custom Integration auth token").option("--gupshup-event-id <id>", "Gupshup event ID (default: nx_omni_agent_reply)").option("--gupshup-webhook-verify-token <token>", "Gupshup webhook verify token").option("--twilio-account-sid <sid>", "Twilio Account SID").option("--twilio-auth-token <token>", "Twilio Auth Token").option("--twilio-from <address>", "Twilio WhatsApp sender address (whatsapp:+E164)").option("--twilio-messaging-service-sid <sid>", "Twilio Messaging Service SID").option("--twilio-status-callback-url <url>", "Twilio outbound status callback URL").option("--twilio-webhook-url <url>", "Public Twilio webhook URL for signature validation").option("--twilio-validate-signature", "Validate X-Twilio-Signature on webhooks").option("--no-twilio-validate-signature", "Disable X-Twilio-Signature validation").option("--bridge-tmux-session <name>", 'Tmux session name the genie bridge spawns into for this instance (propagated as GENIE_TMUX_SESSION via NATS). Use "null" to clear.').option("--is-default", "Set as default instance for channel").action(async (options) => {
|
|
120331
120375
|
const channel = options.channel;
|
|
120332
120376
|
if (!VALID_CHANNELS2.includes(channel)) {
|
|
120333
120377
|
error(`Invalid channel: ${channel}`, { validChannels: VALID_CHANNELS2 });
|
|
@@ -120473,13 +120517,20 @@ function createInstancesCommand() {
|
|
|
120473
120517
|
error(`Failed to request pairing code: ${message}`);
|
|
120474
120518
|
}
|
|
120475
120519
|
});
|
|
120476
|
-
instances.command("connect <id>").description("Connect an instance").option("--force-new-qr", "Force generation of new QR code").option("--token <token>", "Discord bot token (for Discord instances)").action(async (rawId, options) => {
|
|
120520
|
+
instances.command("connect <id>").description("Connect an instance").option("--force-new-qr", "Force generation of new QR code").option("--token <token>", "Discord bot token (for Discord instances)").option("--twilio-account-sid <sid>", "Twilio Account SID").option("--twilio-auth-token <token>", "Twilio Auth Token").option("--twilio-from <address>", "Twilio WhatsApp sender address (whatsapp:+E164)").option("--twilio-messaging-service-sid <sid>", "Twilio Messaging Service SID").option("--twilio-status-callback-url <url>", "Twilio outbound status callback URL").option("--twilio-webhook-url <url>", "Public Twilio webhook URL for signature validation").option("--twilio-validate-signature", "Validate X-Twilio-Signature on webhooks").option("--no-twilio-validate-signature", "Disable X-Twilio-Signature validation").action(async (rawId, options) => {
|
|
120477
120521
|
const client = getClient();
|
|
120478
120522
|
try {
|
|
120479
120523
|
const id = await resolveInstanceId(rawId);
|
|
120480
120524
|
const result = await client.instances.connect(id, {
|
|
120481
120525
|
forceNewQr: options.forceNewQr,
|
|
120482
|
-
token: options.token
|
|
120526
|
+
token: options.token,
|
|
120527
|
+
twilioAccountSid: options.twilioAccountSid,
|
|
120528
|
+
twilioAuthToken: options.twilioAuthToken,
|
|
120529
|
+
twilioFrom: options.twilioFrom,
|
|
120530
|
+
twilioMessagingServiceSid: options.twilioMessagingServiceSid,
|
|
120531
|
+
twilioStatusCallbackUrl: options.twilioStatusCallbackUrl,
|
|
120532
|
+
twilioWebhookUrl: options.twilioWebhookUrl,
|
|
120533
|
+
twilioValidateSignature: options.twilioValidateSignature
|
|
120483
120534
|
});
|
|
120484
120535
|
success(result.message, {
|
|
120485
120536
|
status: result.status
|
|
@@ -120588,7 +120639,7 @@ function createInstancesCommand() {
|
|
|
120588
120639
|
throw new Error(err?.error?.message ?? `HTTP ${response.status}`);
|
|
120589
120640
|
}
|
|
120590
120641
|
}
|
|
120591
|
-
instances.command("update <id>").description("Update an instance (supports all API fields)").option("--name <name>", "Instance name").option("--is-default", "Set as default instance for channel").option("--no-is-default", "Unset as default instance for channel").option("--agent-fk-id <uuid>", 'Agent FK UUID (references agents table, use "null" to clear). When assigning an agent on an instance with no reply filter, the filter defaults to {mode:"all", onDm:true} so messages are dispatched instead of silently dropped (omni#443).').option("--agent-provider <id>", 'Agent provider ID (use "null" to clear)').option("--agent <id>", 'Agent ID (use "null" to clear)').option("--agent-type <type>", "Agent type: agent, team, or workflow").option("--agent-timeout <seconds>", "Agent timeout in seconds", (v) => Number.parseInt(v, 10)).option("--agent-stream-mode", "Enable streaming responses").option("--no-agent-stream-mode", "Disable streaming responses").option("--agent-session-strategy <strategy>", "Session strategy: per_user, per_chat, per_user_per_chat").option("--agent-prefix-sender-name", "Prefix messages with sender name").option("--no-agent-prefix-sender-name", "Disable sender name prefix").option("--agent-wait-for-media", "Wait for media processing before dispatch").option("--no-agent-wait-for-media", "Dispatch immediately without waiting for media").option("--agent-send-media-path", "Include file path in formatted media text").option("--no-agent-send-media-path", "Exclude file path from formatted media text").option("--agent-send-media-path-types <types>", "Content types that receive file path (comma-separated: image,video,document)").option("--reply-filter-mode <mode>", "Reply filter: all or filtered").option("--reply-on-dm", "Reply to DMs (requires --reply-filter-mode filtered)").option("--no-reply-on-dm", "Ignore DMs").option("--reply-on-mention", "Reply when @mentioned").option("--no-reply-on-mention", "Ignore @mentions").option("--reply-on-reply", "Reply when message is reply to bot").option("--no-reply-on-reply", "Ignore replies").option("--reply-on-name", "Reply when bot name appears in text").option("--no-reply-on-name", "Ignore name matches").option("--reply-name-patterns <patterns>", "Custom name patterns (comma-separated)").option("--clear-reply-filter", "Remove reply filter (set to null)").option("--enable-auto-split", "Split responses on double newlines").option("--no-enable-auto-split", "Disable auto-split").option("--message-format-mode <mode>", "Format mode: convert or passthrough").option("--debounce-mode <mode>", "Debounce mode: disabled, fixed, or randomized").option("--debounce-min <ms>", "Minimum debounce delay in ms", (v) => Number.parseInt(v, 10)).option("--debounce-max <ms>", "Maximum debounce delay in ms", (v) => Number.parseInt(v, 10)).option("--debounce-restart-on-typing", "Restart debounce timer on typing").option("--no-debounce-restart-on-typing", "Do not restart debounce on typing").option("--debounce-group <ms>", 'Group chat debounce in ms (use "null" to inherit)', (v) => v === "null" ? null : Number.parseInt(v, 10)).option("--split-delay-mode <mode>", "Split delay mode: disabled, fixed, or randomized").option("--split-delay-fixed <ms>", "Fixed delay between split chunks in ms", (v) => Number.parseInt(v, 10)).option("--split-delay-min <ms>", "Minimum delay between split chunks in ms", (v) => Number.parseInt(v, 10)).option("--split-delay-max <ms>", "Maximum delay between split chunks in ms", (v) => Number.parseInt(v, 10)).option("--agent-gate", "Enable LLM response gate").option("--no-agent-gate", "Disable LLM response gate").option("--agent-gate-model <model>", 'Model for response gate (use "null" for default)').option("--agent-gate-prompt <prompt>", 'Custom gate prompt (use "null" for default)').option("--tts-voice <id>", 'ElevenLabs voice ID (use "null" to clear)').option("--tts-model <id>", 'ElevenLabs model ID (use "null" to clear)').option("--access-mode <mode>", "Access mode: disabled, blocklist, or allowlist").option("--reaction-ack <mode>", "Reaction ack mode (on|off)").option("--reaction-ack-emoji <json>", "Per-channel emoji map as JSON").option("--ack-timeout <ms>", "Ack timeout in milliseconds", (v) => Number.parseInt(v, 10)).option("--agent-stalled-timeout-ms <ms>", "Idle threshold in ms before the internal turn.stalled event fires (no channel message is ever sent)", (v) => Number.parseInt(v, 10)).option("--token <token>", "Generic bot token (auto-resolves to channel-specific field)").option("--telegram-token <token>", 'Telegram bot token (use "null" to clear)').option("--discord-token <token>", 'Discord bot token (use "null" to clear)').option("--slack-bot-token <token>", 'Slack bot token (use "null" to clear)').option("--slack-app-token <token>", 'Slack app token (use "null" to clear)').option("--trigger-events <events>", 'Trigger events (comma-separated, use "null" to clear)').option("--profile-name <name>", "Update WhatsApp display name (push name)").option("--bridge-tmux-session <name>", 'Tmux session name the genie bridge spawns into for this instance (propagated as GENIE_TMUX_SESSION via NATS). Use "null" to clear.').action(async (rawId, options) => {
|
|
120642
|
+
instances.command("update <id>").description("Update an instance (supports all API fields)").option("--name <name>", "Instance name").option("--is-default", "Set as default instance for channel").option("--no-is-default", "Unset as default instance for channel").option("--agent-fk-id <uuid>", 'Agent FK UUID (references agents table, use "null" to clear). When assigning an agent on an instance with no reply filter, the filter defaults to {mode:"all", onDm:true} so messages are dispatched instead of silently dropped (omni#443).').option("--agent-provider <id>", 'Agent provider ID (use "null" to clear)').option("--agent <id>", 'Agent ID (use "null" to clear)').option("--agent-type <type>", "Agent type: agent, team, or workflow").option("--agent-timeout <seconds>", "Agent timeout in seconds", (v) => Number.parseInt(v, 10)).option("--agent-stream-mode", "Enable streaming responses").option("--no-agent-stream-mode", "Disable streaming responses").option("--agent-session-strategy <strategy>", "Session strategy: per_user, per_chat, per_user_per_chat").option("--agent-prefix-sender-name", "Prefix messages with sender name").option("--no-agent-prefix-sender-name", "Disable sender name prefix").option("--agent-wait-for-media", "Wait for media processing before dispatch").option("--no-agent-wait-for-media", "Dispatch immediately without waiting for media").option("--agent-send-media-path", "Include file path in formatted media text").option("--no-agent-send-media-path", "Exclude file path from formatted media text").option("--agent-send-media-path-types <types>", "Content types that receive file path (comma-separated: image,video,document)").option("--reply-filter-mode <mode>", "Reply filter: all or filtered").option("--reply-on-dm", "Reply to DMs (requires --reply-filter-mode filtered)").option("--no-reply-on-dm", "Ignore DMs").option("--reply-on-mention", "Reply when @mentioned").option("--no-reply-on-mention", "Ignore @mentions").option("--reply-on-reply", "Reply when message is reply to bot").option("--no-reply-on-reply", "Ignore replies").option("--reply-on-name", "Reply when bot name appears in text").option("--no-reply-on-name", "Ignore name matches").option("--reply-name-patterns <patterns>", "Custom name patterns (comma-separated)").option("--clear-reply-filter", "Remove reply filter (set to null)").option("--enable-auto-split", "Split responses on double newlines").option("--no-enable-auto-split", "Disable auto-split").option("--message-format-mode <mode>", "Format mode: convert or passthrough").option("--debounce-mode <mode>", "Debounce mode: disabled, fixed, or randomized").option("--debounce-min <ms>", "Minimum debounce delay in ms", (v) => Number.parseInt(v, 10)).option("--debounce-max <ms>", "Maximum debounce delay in ms", (v) => Number.parseInt(v, 10)).option("--debounce-restart-on-typing", "Restart debounce timer on typing").option("--no-debounce-restart-on-typing", "Do not restart debounce on typing").option("--debounce-group <ms>", 'Group chat debounce in ms (use "null" to inherit)', (v) => v === "null" ? null : Number.parseInt(v, 10)).option("--split-delay-mode <mode>", "Split delay mode: disabled, fixed, or randomized").option("--split-delay-fixed <ms>", "Fixed delay between split chunks in ms", (v) => Number.parseInt(v, 10)).option("--split-delay-min <ms>", "Minimum delay between split chunks in ms", (v) => Number.parseInt(v, 10)).option("--split-delay-max <ms>", "Maximum delay between split chunks in ms", (v) => Number.parseInt(v, 10)).option("--agent-gate", "Enable LLM response gate").option("--no-agent-gate", "Disable LLM response gate").option("--agent-gate-model <model>", 'Model for response gate (use "null" for default)').option("--agent-gate-prompt <prompt>", 'Custom gate prompt (use "null" for default)').option("--tts-voice <id>", 'ElevenLabs voice ID (use "null" to clear)').option("--tts-model <id>", 'ElevenLabs model ID (use "null" to clear)').option("--read-receipts <mode>", "Read receipts mode: on, off, or exclude-self").option("--access-mode <mode>", "Access mode: disabled, blocklist, or allowlist").option("--reaction-ack <mode>", "Reaction ack mode (on|off)").option("--reaction-ack-emoji <json>", "Per-channel emoji map as JSON").option("--ack-timeout <ms>", "Ack timeout in milliseconds", (v) => Number.parseInt(v, 10)).option("--agent-stalled-timeout-ms <ms>", "Idle threshold in ms before the internal turn.stalled event fires (no channel message is ever sent)", (v) => Number.parseInt(v, 10)).option("--token <token>", "Generic bot token (auto-resolves to channel-specific field)").option("--telegram-token <token>", 'Telegram bot token (use "null" to clear)').option("--discord-token <token>", 'Discord bot token (use "null" to clear)').option("--slack-bot-token <token>", 'Slack bot token (use "null" to clear)').option("--slack-app-token <token>", 'Slack app token (use "null" to clear)').option("--twilio-account-sid <sid>", 'Twilio Account SID (use "null" to clear)').option("--twilio-auth-token <token>", 'Twilio Auth Token (use "null" to clear)').option("--twilio-from <address>", 'Twilio WhatsApp sender address (use "null" to clear)').option("--twilio-messaging-service-sid <sid>", 'Twilio Messaging Service SID (use "null" to clear)').option("--twilio-status-callback-url <url>", 'Twilio outbound status callback URL (use "null" to clear)').option("--twilio-webhook-url <url>", 'Public Twilio webhook URL for signature validation (use "null" to clear)').option("--twilio-validate-signature", "Validate X-Twilio-Signature on webhooks").option("--no-twilio-validate-signature", "Disable X-Twilio-Signature validation").option("--trigger-events <events>", 'Trigger events (comma-separated, use "null" to clear)').option("--profile-name <name>", "Update WhatsApp display name (push name)").option("--bridge-tmux-session <name>", 'Tmux session name the genie bridge spawns into for this instance (propagated as GENIE_TMUX_SESSION via NATS). Use "null" to clear.').action(async (rawId, options) => {
|
|
120592
120643
|
const client = getClient();
|
|
120593
120644
|
try {
|
|
120594
120645
|
const id = await resolveInstanceId(rawId);
|