rudel 0.1.12 → 0.1.14
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/cli.js +100 -99
- package/package.json +5 -4
package/dist/cli.js
CHANGED
|
@@ -28,7 +28,7 @@ var __export = (target, all) => {
|
|
|
28
28
|
};
|
|
29
29
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
30
30
|
|
|
31
|
-
// ../../node_modules
|
|
31
|
+
// ../../node_modules/sisteransi/src/index.js
|
|
32
32
|
var require_src = __commonJS((exports, module) => {
|
|
33
33
|
var ESC = "\x1B";
|
|
34
34
|
var CSI = `${ESC}[`;
|
|
@@ -86,7 +86,7 @@ var require_src = __commonJS((exports, module) => {
|
|
|
86
86
|
module.exports = { cursor, scroll, erase, beep };
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
// ../../node_modules
|
|
89
|
+
// ../../node_modules/@stricli/core/dist/index.js
|
|
90
90
|
function checkEnvironmentVariable(process2, varName) {
|
|
91
91
|
const value = process2.env?.[varName];
|
|
92
92
|
return typeof value === "string" && value !== "0";
|
|
@@ -1889,7 +1889,7 @@ async function run(app, inputs, context) {
|
|
|
1889
1889
|
// package.json
|
|
1890
1890
|
var package_default = {
|
|
1891
1891
|
name: "rudel",
|
|
1892
|
-
version: "0.1.
|
|
1892
|
+
version: "0.1.14",
|
|
1893
1893
|
type: "module",
|
|
1894
1894
|
description: "CLI for the Coding Agent Analytics Platform rudel.ai",
|
|
1895
1895
|
license: "MIT",
|
|
@@ -1922,6 +1922,7 @@ var package_default = {
|
|
|
1922
1922
|
dev: "bun run src/bin/cli.ts",
|
|
1923
1923
|
"check-types": "tsc --noEmit",
|
|
1924
1924
|
build: "bun build src/bin/cli.ts --outdir dist --target node",
|
|
1925
|
+
prepack: "bun run build",
|
|
1925
1926
|
test: "bun test"
|
|
1926
1927
|
},
|
|
1927
1928
|
dependencies: {
|
|
@@ -1949,7 +1950,7 @@ import { readdir as readdir2, readFile as readFile2, stat } from "node:fs/promis
|
|
|
1949
1950
|
import { homedir as homedir2 } from "node:os";
|
|
1950
1951
|
import { dirname as dirname2, join as join3 } from "node:path";
|
|
1951
1952
|
|
|
1952
|
-
// ../../node_modules
|
|
1953
|
+
// ../../node_modules/zod/v3/external.js
|
|
1953
1954
|
var exports_external = {};
|
|
1954
1955
|
__export(exports_external, {
|
|
1955
1956
|
void: () => voidType,
|
|
@@ -2061,7 +2062,7 @@ __export(exports_external, {
|
|
|
2061
2062
|
BRAND: () => BRAND
|
|
2062
2063
|
});
|
|
2063
2064
|
|
|
2064
|
-
// ../../node_modules
|
|
2065
|
+
// ../../node_modules/zod/v3/helpers/util.js
|
|
2065
2066
|
var util;
|
|
2066
2067
|
(function(util2) {
|
|
2067
2068
|
util2.assertEqual = (_) => {};
|
|
@@ -2192,7 +2193,7 @@ var getParsedType = (data) => {
|
|
|
2192
2193
|
}
|
|
2193
2194
|
};
|
|
2194
2195
|
|
|
2195
|
-
// ../../node_modules
|
|
2196
|
+
// ../../node_modules/zod/v3/ZodError.js
|
|
2196
2197
|
var ZodIssueCode = util.arrayToEnum([
|
|
2197
2198
|
"invalid_type",
|
|
2198
2199
|
"invalid_literal",
|
|
@@ -2311,7 +2312,7 @@ ZodError.create = (issues) => {
|
|
|
2311
2312
|
return error;
|
|
2312
2313
|
};
|
|
2313
2314
|
|
|
2314
|
-
// ../../node_modules
|
|
2315
|
+
// ../../node_modules/zod/v3/locales/en.js
|
|
2315
2316
|
var errorMap = (issue, _ctx) => {
|
|
2316
2317
|
let message;
|
|
2317
2318
|
switch (issue.code) {
|
|
@@ -2414,7 +2415,7 @@ var errorMap = (issue, _ctx) => {
|
|
|
2414
2415
|
};
|
|
2415
2416
|
var en_default = errorMap;
|
|
2416
2417
|
|
|
2417
|
-
// ../../node_modules
|
|
2418
|
+
// ../../node_modules/zod/v3/errors.js
|
|
2418
2419
|
var overrideErrorMap = en_default;
|
|
2419
2420
|
function setErrorMap(map) {
|
|
2420
2421
|
overrideErrorMap = map;
|
|
@@ -2422,7 +2423,7 @@ function setErrorMap(map) {
|
|
|
2422
2423
|
function getErrorMap() {
|
|
2423
2424
|
return overrideErrorMap;
|
|
2424
2425
|
}
|
|
2425
|
-
// ../../node_modules
|
|
2426
|
+
// ../../node_modules/zod/v3/helpers/parseUtil.js
|
|
2426
2427
|
var makeIssue = (params) => {
|
|
2427
2428
|
const { data, path, errorMaps, issueData } = params;
|
|
2428
2429
|
const fullPath = [...path, ...issueData.path || []];
|
|
@@ -2528,14 +2529,14 @@ var isAborted = (x) => x.status === "aborted";
|
|
|
2528
2529
|
var isDirty = (x) => x.status === "dirty";
|
|
2529
2530
|
var isValid = (x) => x.status === "valid";
|
|
2530
2531
|
var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
|
|
2531
|
-
// ../../node_modules
|
|
2532
|
+
// ../../node_modules/zod/v3/helpers/errorUtil.js
|
|
2532
2533
|
var errorUtil;
|
|
2533
2534
|
(function(errorUtil2) {
|
|
2534
2535
|
errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
|
|
2535
2536
|
errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
|
|
2536
2537
|
})(errorUtil || (errorUtil = {}));
|
|
2537
2538
|
|
|
2538
|
-
// ../../node_modules
|
|
2539
|
+
// ../../node_modules/zod/v3/types.js
|
|
2539
2540
|
class ParseInputLazyPath {
|
|
2540
2541
|
constructor(parent, value, path, key) {
|
|
2541
2542
|
this._cachedPath = [];
|
|
@@ -6451,7 +6452,7 @@ import { existsSync as existsSync2, readFileSync as readFileSync2, writeFileSync
|
|
|
6451
6452
|
import { homedir as homedir3 } from "node:os";
|
|
6452
6453
|
import { join as join4 } from "node:path";
|
|
6453
6454
|
|
|
6454
|
-
// ../../node_modules
|
|
6455
|
+
// ../../node_modules/smol-toml/dist/error.js
|
|
6455
6456
|
/*!
|
|
6456
6457
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
6457
6458
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -6521,7 +6522,7 @@ ${codeblock}`, options);
|
|
|
6521
6522
|
}
|
|
6522
6523
|
}
|
|
6523
6524
|
|
|
6524
|
-
// ../../node_modules
|
|
6525
|
+
// ../../node_modules/smol-toml/dist/util.js
|
|
6525
6526
|
/*!
|
|
6526
6527
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
6527
6528
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -6629,7 +6630,7 @@ function getStringEnd(str, seek) {
|
|
|
6629
6630
|
return seek;
|
|
6630
6631
|
}
|
|
6631
6632
|
|
|
6632
|
-
// ../../node_modules
|
|
6633
|
+
// ../../node_modules/smol-toml/dist/date.js
|
|
6633
6634
|
/*!
|
|
6634
6635
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
6635
6636
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -6749,7 +6750,7 @@ class TomlDate extends Date {
|
|
|
6749
6750
|
}
|
|
6750
6751
|
}
|
|
6751
6752
|
|
|
6752
|
-
// ../../node_modules
|
|
6753
|
+
// ../../node_modules/smol-toml/dist/primitive.js
|
|
6753
6754
|
/*!
|
|
6754
6755
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
6755
6756
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -6921,7 +6922,7 @@ function parseValue(value, toml, ptr, integersAsBigInt) {
|
|
|
6921
6922
|
return date;
|
|
6922
6923
|
}
|
|
6923
6924
|
|
|
6924
|
-
// ../../node_modules
|
|
6925
|
+
// ../../node_modules/smol-toml/dist/extract.js
|
|
6925
6926
|
/*!
|
|
6926
6927
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
6927
6928
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -7016,7 +7017,7 @@ function extractValue(str, ptr, end, depth, integersAsBigInt) {
|
|
|
7016
7017
|
];
|
|
7017
7018
|
}
|
|
7018
7019
|
|
|
7019
|
-
// ../../node_modules
|
|
7020
|
+
// ../../node_modules/smol-toml/dist/struct.js
|
|
7020
7021
|
/*!
|
|
7021
7022
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
7022
7023
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -7193,7 +7194,7 @@ function parseArray(str, ptr, depth, integersAsBigInt) {
|
|
|
7193
7194
|
return [res, ptr];
|
|
7194
7195
|
}
|
|
7195
7196
|
|
|
7196
|
-
// ../../node_modules
|
|
7197
|
+
// ../../node_modules/smol-toml/dist/parse.js
|
|
7197
7198
|
/*!
|
|
7198
7199
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
7199
7200
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -7334,7 +7335,7 @@ function parse(toml, { maxDepth = 1000, integersAsBigInt } = {}) {
|
|
|
7334
7335
|
return res;
|
|
7335
7336
|
}
|
|
7336
7337
|
|
|
7337
|
-
// ../../node_modules
|
|
7338
|
+
// ../../node_modules/smol-toml/dist/stringify.js
|
|
7338
7339
|
/*!
|
|
7339
7340
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
7340
7341
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -7508,7 +7509,7 @@ function stringify(obj, { maxDepth = 1000, numbersAsFloat = false } = {}) {
|
|
|
7508
7509
|
return str;
|
|
7509
7510
|
}
|
|
7510
7511
|
|
|
7511
|
-
// ../../node_modules
|
|
7512
|
+
// ../../node_modules/smol-toml/dist/index.js
|
|
7512
7513
|
/*!
|
|
7513
7514
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
7514
7515
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -8125,7 +8126,7 @@ var devRouteMap = buildRouteMap({
|
|
|
8125
8126
|
}
|
|
8126
8127
|
});
|
|
8127
8128
|
|
|
8128
|
-
// ../../node_modules
|
|
8129
|
+
// ../../node_modules/@clack/core/dist/index.mjs
|
|
8129
8130
|
var import_sisteransi = __toESM(require_src(), 1);
|
|
8130
8131
|
import { styleText as D } from "node:util";
|
|
8131
8132
|
import { stdout as R, stdin as q } from "node:process";
|
|
@@ -8721,7 +8722,7 @@ class Tt extends B {
|
|
|
8721
8722
|
}
|
|
8722
8723
|
}
|
|
8723
8724
|
|
|
8724
|
-
// ../../node_modules
|
|
8725
|
+
// ../../node_modules/@clack/prompts/dist/index.mjs
|
|
8725
8726
|
import { styleText as t, stripVTControlCharacters as ue } from "node:util";
|
|
8726
8727
|
import N2 from "node:process";
|
|
8727
8728
|
var import_sisteransi2 = __toESM(require_src(), 1);
|
|
@@ -9316,7 +9317,7 @@ var disableCommand = buildCommand({
|
|
|
9316
9317
|
}
|
|
9317
9318
|
});
|
|
9318
9319
|
|
|
9319
|
-
// ../../node_modules
|
|
9320
|
+
// ../../node_modules/@orpc/shared/dist/index.mjs
|
|
9320
9321
|
function resolveMaybeOptionalOptions(rest) {
|
|
9321
9322
|
return rest[0] ?? {};
|
|
9322
9323
|
}
|
|
@@ -9675,7 +9676,7 @@ function tryDecodeURIComponent(value2) {
|
|
|
9675
9676
|
return value2;
|
|
9676
9677
|
}
|
|
9677
9678
|
}
|
|
9678
|
-
//
|
|
9679
|
+
// node_modules/@orpc/client/dist/shared/client.BKHdcV-f.mjs
|
|
9679
9680
|
var ORPC_CLIENT_PACKAGE_NAME = "@orpc/client";
|
|
9680
9681
|
var ORPC_CLIENT_PACKAGE_VERSION = "1.13.6";
|
|
9681
9682
|
var COMMON_ORPC_ERROR_DEFS = {
|
|
@@ -9828,7 +9829,7 @@ function createORPCErrorFromJson(json, options = {}) {
|
|
|
9828
9829
|
...json
|
|
9829
9830
|
});
|
|
9830
9831
|
}
|
|
9831
|
-
// ../../node_modules
|
|
9832
|
+
// ../../node_modules/@orpc/standard-server/dist/index.mjs
|
|
9832
9833
|
class EventEncoderError extends TypeError {
|
|
9833
9834
|
}
|
|
9834
9835
|
|
|
@@ -10052,7 +10053,7 @@ function mergeStandardHeaders(a, b) {
|
|
|
10052
10053
|
return merged;
|
|
10053
10054
|
}
|
|
10054
10055
|
|
|
10055
|
-
//
|
|
10056
|
+
// node_modules/@orpc/client/dist/shared/client.BLtwTQUg.mjs
|
|
10056
10057
|
function mapEventIterator(iterator, maps) {
|
|
10057
10058
|
const mapError = async (error) => {
|
|
10058
10059
|
let mappedError = await maps.error(error);
|
|
@@ -10088,7 +10089,7 @@ function mapEventIterator(iterator, maps) {
|
|
|
10088
10089
|
}
|
|
10089
10090
|
});
|
|
10090
10091
|
}
|
|
10091
|
-
//
|
|
10092
|
+
// node_modules/@orpc/client/dist/index.mjs
|
|
10092
10093
|
function resolveFriendlyClientOptions(options) {
|
|
10093
10094
|
return {
|
|
10094
10095
|
...options,
|
|
@@ -10114,7 +10115,7 @@ function createORPCClient(link, options = {}) {
|
|
|
10114
10115
|
return preventNativeAwait(recursive);
|
|
10115
10116
|
}
|
|
10116
10117
|
|
|
10117
|
-
// ../../node_modules
|
|
10118
|
+
// ../../node_modules/@orpc/standard-server-fetch/dist/index.mjs
|
|
10118
10119
|
function toEventIterator(stream, options = {}) {
|
|
10119
10120
|
const eventStream = stream?.pipeThrough(new TextDecoderStream).pipeThrough(new EventDecoderStream);
|
|
10120
10121
|
const reader = eventStream?.getReader();
|
|
@@ -10377,7 +10378,7 @@ function toStandardLazyResponse(response, options = {}) {
|
|
|
10377
10378
|
};
|
|
10378
10379
|
}
|
|
10379
10380
|
|
|
10380
|
-
//
|
|
10381
|
+
// node_modules/@orpc/client/dist/shared/client.vZdLqpTj.mjs
|
|
10381
10382
|
class CompositeStandardLinkPlugin {
|
|
10382
10383
|
plugins;
|
|
10383
10384
|
constructor(plugins = []) {
|
|
@@ -10747,7 +10748,7 @@ class StandardRPCLink extends StandardLink {
|
|
|
10747
10748
|
}
|
|
10748
10749
|
}
|
|
10749
10750
|
|
|
10750
|
-
//
|
|
10751
|
+
// node_modules/@orpc/client/dist/adapters/fetch/index.mjs
|
|
10751
10752
|
class CompositeLinkFetchPlugin extends CompositeStandardLinkPlugin {
|
|
10752
10753
|
initRuntimeAdapter(options) {
|
|
10753
10754
|
for (const plugin of this.plugins) {
|
|
@@ -10872,7 +10873,7 @@ async function verifyAuth() {
|
|
|
10872
10873
|
}
|
|
10873
10874
|
}
|
|
10874
10875
|
|
|
10875
|
-
// ../../node_modules
|
|
10876
|
+
// ../../node_modules/p-map/index.js
|
|
10876
10877
|
async function pMap(iterable, mapper, {
|
|
10877
10878
|
concurrency = Number.POSITIVE_INFINITY,
|
|
10878
10879
|
stopOnError = true,
|
|
@@ -11001,12 +11002,12 @@ import { mkdir as mkdir2, writeFile as writeFile2 } from "node:fs/promises";
|
|
|
11001
11002
|
import { homedir as homedir8 } from "node:os";
|
|
11002
11003
|
import { dirname as dirname4, join as join9 } from "node:path";
|
|
11003
11004
|
|
|
11004
|
-
// ../../node_modules
|
|
11005
|
+
// ../../node_modules/@orpc/contract/node_modules/@orpc/shared/dist/index.mjs
|
|
11005
11006
|
function resolveMaybeOptionalOptions2(rest) {
|
|
11006
11007
|
return rest[0] ?? {};
|
|
11007
11008
|
}
|
|
11008
11009
|
var ORPC_SHARED_PACKAGE_NAME2 = "@orpc/shared";
|
|
11009
|
-
var ORPC_SHARED_PACKAGE_VERSION2 = "1.
|
|
11010
|
+
var ORPC_SHARED_PACKAGE_VERSION2 = "1.14.1";
|
|
11010
11011
|
function once2(fn) {
|
|
11011
11012
|
let cached;
|
|
11012
11013
|
return () => {
|
|
@@ -11196,9 +11197,9 @@ function isObject2(value2) {
|
|
|
11196
11197
|
function isTypescriptObject2(value2) {
|
|
11197
11198
|
return !!value2 && (typeof value2 === "object" || typeof value2 === "function");
|
|
11198
11199
|
}
|
|
11199
|
-
// ../../node_modules
|
|
11200
|
+
// ../../node_modules/@orpc/contract/node_modules/@orpc/client/dist/shared/client.B2S3uk-N.mjs
|
|
11200
11201
|
var ORPC_CLIENT_PACKAGE_NAME2 = "@orpc/client";
|
|
11201
|
-
var ORPC_CLIENT_PACKAGE_VERSION2 = "1.
|
|
11202
|
+
var ORPC_CLIENT_PACKAGE_VERSION2 = "1.14.1";
|
|
11202
11203
|
var COMMON_ORPC_ERROR_DEFS2 = {
|
|
11203
11204
|
BAD_REQUEST: {
|
|
11204
11205
|
status: 400,
|
|
@@ -11349,7 +11350,7 @@ function createORPCErrorFromJson2(json, options = {}) {
|
|
|
11349
11350
|
...json
|
|
11350
11351
|
});
|
|
11351
11352
|
}
|
|
11352
|
-
// ../../node_modules
|
|
11353
|
+
// ../../node_modules/@orpc/contract/node_modules/@orpc/client/node_modules/@orpc/standard-server/dist/index.mjs
|
|
11353
11354
|
class EventEncoderError2 extends TypeError {
|
|
11354
11355
|
}
|
|
11355
11356
|
|
|
@@ -11494,7 +11495,7 @@ function getEventMeta2(container) {
|
|
|
11494
11495
|
return isTypescriptObject2(container) ? Reflect.get(container, EVENT_SOURCE_META_SYMBOL2) : undefined;
|
|
11495
11496
|
}
|
|
11496
11497
|
|
|
11497
|
-
// ../../node_modules
|
|
11498
|
+
// ../../node_modules/@orpc/contract/node_modules/@orpc/client/dist/shared/client.BLtwTQUg.mjs
|
|
11498
11499
|
function mapEventIterator2(iterator, maps) {
|
|
11499
11500
|
const mapError = async (error) => {
|
|
11500
11501
|
let mappedError = await maps.error(error);
|
|
@@ -11530,7 +11531,7 @@ function mapEventIterator2(iterator, maps) {
|
|
|
11530
11531
|
}
|
|
11531
11532
|
});
|
|
11532
11533
|
}
|
|
11533
|
-
// ../../node_modules
|
|
11534
|
+
// ../../node_modules/@orpc/contract/dist/shared/contract.D_dZrO__.mjs
|
|
11534
11535
|
function mergeErrorMap(errorMap1, errorMap2) {
|
|
11535
11536
|
return { ...errorMap1, ...errorMap2 };
|
|
11536
11537
|
}
|
|
@@ -11552,7 +11553,7 @@ function isContractProcedure(item) {
|
|
|
11552
11553
|
}
|
|
11553
11554
|
return (typeof item === "object" || typeof item === "function") && item !== null && "~orpc" in item && typeof item["~orpc"] === "object" && item["~orpc"] !== null && "errorMap" in item["~orpc"] && "route" in item["~orpc"] && "meta" in item["~orpc"];
|
|
11554
11555
|
}
|
|
11555
|
-
// ../../node_modules
|
|
11556
|
+
// ../../node_modules/@orpc/contract/node_modules/@orpc/client/dist/shared/client.BUWX4iqI.mjs
|
|
11556
11557
|
class StandardRPCSerializer2 {
|
|
11557
11558
|
constructor(jsonSerializer) {
|
|
11558
11559
|
this.jsonSerializer = jsonSerializer;
|
|
@@ -11619,7 +11620,7 @@ class StandardRPCSerializer2 {
|
|
|
11619
11620
|
return this.jsonSerializer.deserialize(serialized.json, serialized.meta ?? [], serialized.maps, (i) => data.get(i.toString()));
|
|
11620
11621
|
}
|
|
11621
11622
|
}
|
|
11622
|
-
// ../../node_modules
|
|
11623
|
+
// ../../node_modules/@orpc/contract/dist/index.mjs
|
|
11623
11624
|
function mergeMeta(meta1, meta2) {
|
|
11624
11625
|
return { ...meta1, ...meta2 };
|
|
11625
11626
|
}
|
|
@@ -13284,7 +13285,7 @@ import { existsSync as existsSync8, mkdirSync as mkdirSync3, readFileSync as rea
|
|
|
13284
13285
|
import { homedir as homedir9 } from "node:os";
|
|
13285
13286
|
import { join as join10 } from "node:path";
|
|
13286
13287
|
|
|
13287
|
-
// ../../node_modules
|
|
13288
|
+
// ../../node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
13288
13289
|
import { dirname as dirname5, posix, sep } from "path";
|
|
13289
13290
|
function createModulerModifier() {
|
|
13290
13291
|
const getModuleFromFileName = createGetModuleFromFilename();
|
|
@@ -13320,7 +13321,7 @@ function normalizeWindowsPath(path) {
|
|
|
13320
13321
|
return path.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
13321
13322
|
}
|
|
13322
13323
|
|
|
13323
|
-
// ../../node_modules
|
|
13324
|
+
// ../../node_modules/@posthog/core/dist/featureFlagUtils.mjs
|
|
13324
13325
|
var normalizeFlagsResponse = (flagsResponse) => {
|
|
13325
13326
|
if ("flags" in flagsResponse) {
|
|
13326
13327
|
const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
|
|
@@ -13391,7 +13392,7 @@ var parsePayload = (response) => {
|
|
|
13391
13392
|
}
|
|
13392
13393
|
};
|
|
13393
13394
|
|
|
13394
|
-
// ../../node_modules
|
|
13395
|
+
// ../../node_modules/@posthog/core/dist/vendor/uuidv7.mjs
|
|
13395
13396
|
/*! For license information please see uuidv7.mjs.LICENSE.txt */
|
|
13396
13397
|
var DIGITS = "0123456789abcdef";
|
|
13397
13398
|
|
|
@@ -13569,7 +13570,7 @@ var defaultGenerator;
|
|
|
13569
13570
|
var uuidv7 = () => uuidv7obj().toString();
|
|
13570
13571
|
var uuidv7obj = () => (defaultGenerator || (defaultGenerator = new V7Generator)).generate();
|
|
13571
13572
|
|
|
13572
|
-
// ../../node_modules
|
|
13573
|
+
// ../../node_modules/@posthog/core/dist/types.mjs
|
|
13573
13574
|
var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedProperty) {
|
|
13574
13575
|
PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
|
|
13575
13576
|
PostHogPersistedProperty["DistinctId"] = "distinct_id";
|
|
@@ -13601,7 +13602,7 @@ var types_PostHogPersistedProperty = /* @__PURE__ */ function(PostHogPersistedPr
|
|
|
13601
13602
|
return PostHogPersistedProperty;
|
|
13602
13603
|
}({});
|
|
13603
13604
|
|
|
13604
|
-
// ../../node_modules
|
|
13605
|
+
// ../../node_modules/@posthog/core/dist/utils/bot-detection.mjs
|
|
13605
13606
|
var DEFAULT_BLOCKED_UA_STRS = [
|
|
13606
13607
|
"amazonbot",
|
|
13607
13608
|
"amazonproductbot",
|
|
@@ -13690,7 +13691,7 @@ var isBlockedUA = function(ua, customBlockedUserAgents = []) {
|
|
|
13690
13691
|
return uaLower.indexOf(blockedUaLower) !== -1;
|
|
13691
13692
|
});
|
|
13692
13693
|
};
|
|
13693
|
-
// ../../node_modules
|
|
13694
|
+
// ../../node_modules/@posthog/core/dist/utils/type-utils.mjs
|
|
13694
13695
|
var nativeIsArray = Array.isArray;
|
|
13695
13696
|
var ObjProto = Object.prototype;
|
|
13696
13697
|
var type_utils_hasOwnProperty = ObjProto.hasOwnProperty;
|
|
@@ -13727,7 +13728,7 @@ function isInstanceOf(candidate, base) {
|
|
|
13727
13728
|
}
|
|
13728
13729
|
}
|
|
13729
13730
|
|
|
13730
|
-
// ../../node_modules
|
|
13731
|
+
// ../../node_modules/@posthog/core/dist/utils/number-utils.mjs
|
|
13731
13732
|
function clampToRange(value3, min, max, logger, fallbackValue) {
|
|
13732
13733
|
if (min > max) {
|
|
13733
13734
|
logger.warn("min cannot be greater than max.");
|
|
@@ -13747,7 +13748,7 @@ function clampToRange(value3, min, max, logger, fallbackValue) {
|
|
|
13747
13748
|
return clampToRange(fallbackValue || max, min, max, logger);
|
|
13748
13749
|
}
|
|
13749
13750
|
|
|
13750
|
-
// ../../node_modules
|
|
13751
|
+
// ../../node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
|
|
13751
13752
|
var ONE_DAY_IN_MS = 86400000;
|
|
13752
13753
|
|
|
13753
13754
|
class BucketedRateLimiter {
|
|
@@ -13791,7 +13792,7 @@ class BucketedRateLimiter {
|
|
|
13791
13792
|
this._buckets = {};
|
|
13792
13793
|
}
|
|
13793
13794
|
}
|
|
13794
|
-
// ../../node_modules
|
|
13795
|
+
// ../../node_modules/@posthog/core/dist/utils/promise-queue.mjs
|
|
13795
13796
|
class PromiseQueue {
|
|
13796
13797
|
add(promise) {
|
|
13797
13798
|
const promiseUUID = uuidv7();
|
|
@@ -13817,7 +13818,7 @@ class PromiseQueue {
|
|
|
13817
13818
|
this.promiseByIds = {};
|
|
13818
13819
|
}
|
|
13819
13820
|
}
|
|
13820
|
-
// ../../node_modules
|
|
13821
|
+
// ../../node_modules/@posthog/core/dist/utils/logger.mjs
|
|
13821
13822
|
function createConsole(consoleLike = console) {
|
|
13822
13823
|
const lockedMethods = {
|
|
13823
13824
|
log: consoleLike.log.bind(consoleLike),
|
|
@@ -13855,7 +13856,7 @@ var passThrough = (fn) => fn();
|
|
|
13855
13856
|
function createLogger(prefix, maybeCall = passThrough) {
|
|
13856
13857
|
return _createLogger(prefix, maybeCall, createConsole());
|
|
13857
13858
|
}
|
|
13858
|
-
// ../../node_modules
|
|
13859
|
+
// ../../node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
|
|
13859
13860
|
var MOBILE = "Mobile";
|
|
13860
13861
|
var IOS = "iOS";
|
|
13861
13862
|
var ANDROID = "Android";
|
|
@@ -14112,7 +14113,7 @@ var osMatchers = [
|
|
|
14112
14113
|
]
|
|
14113
14114
|
];
|
|
14114
14115
|
|
|
14115
|
-
// ../../node_modules
|
|
14116
|
+
// ../../node_modules/@posthog/core/dist/utils/index.mjs
|
|
14116
14117
|
var STRING_FORMAT = "utf8";
|
|
14117
14118
|
function assert(truthyValue, message) {
|
|
14118
14119
|
if (!truthyValue || typeof truthyValue != "string" || isEmpty(truthyValue))
|
|
@@ -14160,7 +14161,7 @@ function allSettled(promises) {
|
|
|
14160
14161
|
reason
|
|
14161
14162
|
}))));
|
|
14162
14163
|
}
|
|
14163
|
-
// ../../node_modules
|
|
14164
|
+
// ../../node_modules/@posthog/core/dist/eventemitter.mjs
|
|
14164
14165
|
class SimpleEventEmitter {
|
|
14165
14166
|
constructor() {
|
|
14166
14167
|
this.events = {};
|
|
@@ -14182,7 +14183,7 @@ class SimpleEventEmitter {
|
|
|
14182
14183
|
}
|
|
14183
14184
|
}
|
|
14184
14185
|
|
|
14185
|
-
// ../../node_modules
|
|
14186
|
+
// ../../node_modules/@posthog/core/dist/gzip.mjs
|
|
14186
14187
|
function isGzipSupported() {
|
|
14187
14188
|
return "CompressionStream" in globalThis;
|
|
14188
14189
|
}
|
|
@@ -14202,7 +14203,7 @@ async function gzipCompress(input, isDebug = true) {
|
|
|
14202
14203
|
}
|
|
14203
14204
|
}
|
|
14204
14205
|
|
|
14205
|
-
// ../../node_modules
|
|
14206
|
+
// ../../node_modules/@posthog/core/dist/posthog-core-stateless.mjs
|
|
14206
14207
|
class PostHogFetchHttpError extends Error {
|
|
14207
14208
|
constructor(response, reqByteLength) {
|
|
14208
14209
|
super("HTTP error while fetching PostHog: status=" + response.status + ", reqByteLength=" + reqByteLength), this.response = response, this.reqByteLength = reqByteLength, this.name = "PostHogFetchHttpError";
|
|
@@ -14915,7 +14916,7 @@ class PostHogCoreStateless {
|
|
|
14915
14916
|
return this.shutdownPromise;
|
|
14916
14917
|
}
|
|
14917
14918
|
}
|
|
14918
|
-
// ../../node_modules
|
|
14919
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/index.mjs
|
|
14919
14920
|
var exports_error_tracking = {};
|
|
14920
14921
|
__export(exports_error_tracking, {
|
|
14921
14922
|
winjsStackLineParser: () => winjsStackLineParser,
|
|
@@ -14939,7 +14940,7 @@ __export(exports_error_tracking, {
|
|
|
14939
14940
|
DOMExceptionCoercer: () => DOMExceptionCoercer
|
|
14940
14941
|
});
|
|
14941
14942
|
|
|
14942
|
-
// ../../node_modules
|
|
14943
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
|
|
14943
14944
|
var parsedStackResults;
|
|
14944
14945
|
var lastKeysCount;
|
|
14945
14946
|
var cachedFilenameChunkIds;
|
|
@@ -14978,7 +14979,7 @@ function getFilenameToChunkIdMap(stackParser) {
|
|
|
14978
14979
|
return cachedFilenameChunkIds;
|
|
14979
14980
|
}
|
|
14980
14981
|
|
|
14981
|
-
// ../../node_modules
|
|
14982
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
|
|
14982
14983
|
var MAX_CAUSE_RECURSION = 4;
|
|
14983
14984
|
|
|
14984
14985
|
class ErrorPropertiesBuilder {
|
|
@@ -15100,7 +15101,7 @@ class ErrorPropertiesBuilder {
|
|
|
15100
15101
|
return context;
|
|
15101
15102
|
}
|
|
15102
15103
|
}
|
|
15103
|
-
// ../../node_modules
|
|
15104
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
|
|
15104
15105
|
var UNKNOWN_FUNCTION = "?";
|
|
15105
15106
|
function createFrame(platform, filename, func, lineno, colno) {
|
|
15106
15107
|
const frame = {
|
|
@@ -15116,7 +15117,7 @@ function createFrame(platform, filename, func, lineno, colno) {
|
|
|
15116
15117
|
return frame;
|
|
15117
15118
|
}
|
|
15118
15119
|
|
|
15119
|
-
// ../../node_modules
|
|
15120
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
|
|
15120
15121
|
var extractSafariExtensionDetails = (func, filename) => {
|
|
15121
15122
|
const isSafariExtension = func.indexOf("safari-extension") !== -1;
|
|
15122
15123
|
const isSafariWebExtension = func.indexOf("safari-web-extension") !== -1;
|
|
@@ -15129,7 +15130,7 @@ var extractSafariExtensionDetails = (func, filename) => {
|
|
|
15129
15130
|
];
|
|
15130
15131
|
};
|
|
15131
15132
|
|
|
15132
|
-
// ../../node_modules
|
|
15133
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
|
|
15133
15134
|
var chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
|
|
15134
15135
|
var chromeRegex = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
15135
15136
|
var chromeEvalRegex = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
@@ -15155,7 +15156,7 @@ var chromeStackLineParser = (line, platform) => {
|
|
|
15155
15156
|
}
|
|
15156
15157
|
};
|
|
15157
15158
|
|
|
15158
|
-
// ../../node_modules
|
|
15159
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
15159
15160
|
var geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
15160
15161
|
var geckoEvalRegex = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
15161
15162
|
var geckoStackLineParser = (line, platform) => {
|
|
@@ -15178,14 +15179,14 @@ var geckoStackLineParser = (line, platform) => {
|
|
|
15178
15179
|
}
|
|
15179
15180
|
};
|
|
15180
15181
|
|
|
15181
|
-
// ../../node_modules
|
|
15182
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
|
|
15182
15183
|
var winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
15183
15184
|
var winjsStackLineParser = (line, platform) => {
|
|
15184
15185
|
const parts = winjsRegex.exec(line);
|
|
15185
15186
|
return parts ? createFrame(platform, parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined) : undefined;
|
|
15186
15187
|
};
|
|
15187
15188
|
|
|
15188
|
-
// ../../node_modules
|
|
15189
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
|
|
15189
15190
|
var opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
|
|
15190
15191
|
var opera10StackLineParser = (line, platform) => {
|
|
15191
15192
|
const parts = opera10Regex.exec(line);
|
|
@@ -15197,7 +15198,7 @@ var opera11StackLineParser = (line, platform) => {
|
|
|
15197
15198
|
return parts ? createFrame(platform, parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;
|
|
15198
15199
|
};
|
|
15199
15200
|
|
|
15200
|
-
// ../../node_modules
|
|
15201
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
|
|
15201
15202
|
var FILENAME_MATCH = /^\s*[-]{4,}$/;
|
|
15202
15203
|
var FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
|
|
15203
15204
|
var nodeStackLineParser = (line, platform) => {
|
|
@@ -15266,7 +15267,7 @@ function _parseIntOrUndefined(input) {
|
|
|
15266
15267
|
return parseInt(input || "", 10) || undefined;
|
|
15267
15268
|
}
|
|
15268
15269
|
|
|
15269
|
-
// ../../node_modules
|
|
15270
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
|
|
15270
15271
|
var WEBPACK_ERROR_REGEXP = /\(error: (.*)\)/;
|
|
15271
15272
|
var STACKTRACE_FRAME_LIMIT = 50;
|
|
15272
15273
|
function reverseAndStripFrames(stack) {
|
|
@@ -15311,7 +15312,7 @@ function createStackParser(platform, ...parsers) {
|
|
|
15311
15312
|
return reverseAndStripFrames(frames);
|
|
15312
15313
|
};
|
|
15313
15314
|
}
|
|
15314
|
-
// ../../node_modules
|
|
15315
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
|
|
15315
15316
|
class DOMExceptionCoercer {
|
|
15316
15317
|
match(err) {
|
|
15317
15318
|
return this.isDOMException(err) || this.isDOMError(err);
|
|
@@ -15341,7 +15342,7 @@ class DOMExceptionCoercer {
|
|
|
15341
15342
|
return isBuiltin(err, "DOMError");
|
|
15342
15343
|
}
|
|
15343
15344
|
}
|
|
15344
|
-
// ../../node_modules
|
|
15345
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
|
|
15345
15346
|
class ErrorCoercer {
|
|
15346
15347
|
match(err) {
|
|
15347
15348
|
return isPlainError(err);
|
|
@@ -15368,7 +15369,7 @@ class ErrorCoercer {
|
|
|
15368
15369
|
return err.stacktrace || err.stack || undefined;
|
|
15369
15370
|
}
|
|
15370
15371
|
}
|
|
15371
|
-
// ../../node_modules
|
|
15372
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
|
|
15372
15373
|
class ErrorEventCoercer {
|
|
15373
15374
|
constructor() {}
|
|
15374
15375
|
match(err) {
|
|
@@ -15386,7 +15387,7 @@ class ErrorEventCoercer {
|
|
|
15386
15387
|
return exceptionLike;
|
|
15387
15388
|
}
|
|
15388
15389
|
}
|
|
15389
|
-
// ../../node_modules
|
|
15390
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
|
|
15390
15391
|
var ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
|
|
15391
15392
|
|
|
15392
15393
|
class StringCoercer {
|
|
@@ -15416,7 +15417,7 @@ class StringCoercer {
|
|
|
15416
15417
|
];
|
|
15417
15418
|
}
|
|
15418
15419
|
}
|
|
15419
|
-
// ../../node_modules
|
|
15420
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/types.mjs
|
|
15420
15421
|
var severityLevels = [
|
|
15421
15422
|
"fatal",
|
|
15422
15423
|
"error",
|
|
@@ -15426,7 +15427,7 @@ var severityLevels = [
|
|
|
15426
15427
|
"debug"
|
|
15427
15428
|
];
|
|
15428
15429
|
|
|
15429
|
-
// ../../node_modules
|
|
15430
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
|
|
15430
15431
|
function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
15431
15432
|
const keys = Object.keys(err);
|
|
15432
15433
|
keys.sort();
|
|
@@ -15443,7 +15444,7 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
|
15443
15444
|
return "";
|
|
15444
15445
|
}
|
|
15445
15446
|
|
|
15446
|
-
// ../../node_modules
|
|
15447
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
|
|
15447
15448
|
class ObjectCoercer {
|
|
15448
15449
|
match(candidate) {
|
|
15449
15450
|
return typeof candidate == "object" && candidate !== null;
|
|
@@ -15496,7 +15497,7 @@ class ObjectCoercer {
|
|
|
15496
15497
|
}
|
|
15497
15498
|
}
|
|
15498
15499
|
}
|
|
15499
|
-
// ../../node_modules
|
|
15500
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
|
|
15500
15501
|
class EventCoercer {
|
|
15501
15502
|
match(err) {
|
|
15502
15503
|
return isEvent(err);
|
|
@@ -15511,7 +15512,7 @@ class EventCoercer {
|
|
|
15511
15512
|
};
|
|
15512
15513
|
}
|
|
15513
15514
|
}
|
|
15514
|
-
// ../../node_modules
|
|
15515
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
|
|
15515
15516
|
class PrimitiveCoercer {
|
|
15516
15517
|
match(candidate) {
|
|
15517
15518
|
return isPrimitive(candidate);
|
|
@@ -15525,7 +15526,7 @@ class PrimitiveCoercer {
|
|
|
15525
15526
|
};
|
|
15526
15527
|
}
|
|
15527
15528
|
}
|
|
15528
|
-
// ../../node_modules
|
|
15529
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
|
|
15529
15530
|
class PromiseRejectionEventCoercer {
|
|
15530
15531
|
match(err) {
|
|
15531
15532
|
return isBuiltin(err, "PromiseRejectionEvent") || this.isCustomEventWrappingRejection(err);
|
|
@@ -15561,7 +15562,7 @@ class PromiseRejectionEventCoercer {
|
|
|
15561
15562
|
return error;
|
|
15562
15563
|
}
|
|
15563
15564
|
}
|
|
15564
|
-
// ../../node_modules
|
|
15565
|
+
// ../../node_modules/@posthog/core/dist/error-tracking/utils.mjs
|
|
15565
15566
|
class ReduceableCache {
|
|
15566
15567
|
constructor(_maxSize) {
|
|
15567
15568
|
this._maxSize = _maxSize;
|
|
@@ -15586,7 +15587,7 @@ class ReduceableCache {
|
|
|
15586
15587
|
}
|
|
15587
15588
|
}
|
|
15588
15589
|
}
|
|
15589
|
-
// ../../node_modules
|
|
15590
|
+
// ../../node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs
|
|
15590
15591
|
import { createReadStream } from "node:fs";
|
|
15591
15592
|
import { createInterface as createInterface2 } from "node:readline";
|
|
15592
15593
|
var LRU_FILE_CONTENTS_CACHE = new exports_error_tracking.ReduceableCache(25);
|
|
@@ -15804,7 +15805,7 @@ function snipLine(line, colno) {
|
|
|
15804
15805
|
return newLine;
|
|
15805
15806
|
}
|
|
15806
15807
|
|
|
15807
|
-
// ../../node_modules
|
|
15808
|
+
// ../../node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
|
|
15808
15809
|
function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
|
|
15809
15810
|
let calledFatalError = false;
|
|
15810
15811
|
return Object.assign((error) => {
|
|
@@ -15836,7 +15837,7 @@ function addUnhandledRejectionListener(captureFn) {
|
|
|
15836
15837
|
}));
|
|
15837
15838
|
}
|
|
15838
15839
|
|
|
15839
|
-
// ../../node_modules
|
|
15840
|
+
// ../../node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
|
|
15840
15841
|
var SHUTDOWN_TIMEOUT = 2000;
|
|
15841
15842
|
|
|
15842
15843
|
class ErrorTracking {
|
|
@@ -15907,10 +15908,10 @@ class ErrorTracking {
|
|
|
15907
15908
|
}
|
|
15908
15909
|
}
|
|
15909
15910
|
|
|
15910
|
-
// ../../node_modules
|
|
15911
|
+
// ../../node_modules/posthog-node/dist/version.mjs
|
|
15911
15912
|
var version = "5.28.2";
|
|
15912
15913
|
|
|
15913
|
-
// ../../node_modules
|
|
15914
|
+
// ../../node_modules/posthog-node/dist/types.mjs
|
|
15914
15915
|
var FeatureFlagError2 = {
|
|
15915
15916
|
ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
|
|
15916
15917
|
FLAG_MISSING: "flag_missing",
|
|
@@ -15918,7 +15919,7 @@ var FeatureFlagError2 = {
|
|
|
15918
15919
|
UNKNOWN_ERROR: "unknown_error"
|
|
15919
15920
|
};
|
|
15920
15921
|
|
|
15921
|
-
// ../../node_modules
|
|
15922
|
+
// ../../node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
|
|
15922
15923
|
async function hashSHA1(text) {
|
|
15923
15924
|
const subtle = globalThis.crypto?.subtle;
|
|
15924
15925
|
if (!subtle)
|
|
@@ -15928,7 +15929,7 @@ async function hashSHA1(text) {
|
|
|
15928
15929
|
return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
15929
15930
|
}
|
|
15930
15931
|
|
|
15931
|
-
// ../../node_modules
|
|
15932
|
+
// ../../node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
|
|
15932
15933
|
var SIXTY_SECONDS = 60000;
|
|
15933
15934
|
var LONG_SCALE = 1152921504606847000;
|
|
15934
15935
|
var NULL_VALUES_ALLOWED_OPERATORS = [
|
|
@@ -16802,7 +16803,7 @@ function relativeDateParseForFeatureFlagMatching(value3) {
|
|
|
16802
16803
|
}
|
|
16803
16804
|
}
|
|
16804
16805
|
|
|
16805
|
-
// ../../node_modules
|
|
16806
|
+
// ../../node_modules/posthog-node/dist/storage-memory.mjs
|
|
16806
16807
|
class PostHogMemoryStorage {
|
|
16807
16808
|
getProperty(key) {
|
|
16808
16809
|
return this._memoryStorage[key];
|
|
@@ -16815,7 +16816,7 @@ class PostHogMemoryStorage {
|
|
|
16815
16816
|
}
|
|
16816
16817
|
}
|
|
16817
16818
|
|
|
16818
|
-
// ../../node_modules
|
|
16819
|
+
// ../../node_modules/posthog-node/dist/client.mjs
|
|
16819
16820
|
var MINIMUM_POLLING_INTERVAL = 100;
|
|
16820
16821
|
var THIRTY_SECONDS = 30000;
|
|
16821
16822
|
var MAX_CACHE_SIZE = 50000;
|
|
@@ -17603,7 +17604,7 @@ class PostHogBackendClient extends PostHogCoreStateless {
|
|
|
17603
17604
|
}
|
|
17604
17605
|
}
|
|
17605
17606
|
|
|
17606
|
-
// ../../node_modules
|
|
17607
|
+
// ../../node_modules/posthog-node/dist/extensions/context/context.mjs
|
|
17607
17608
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
17608
17609
|
|
|
17609
17610
|
class PostHogContext {
|
|
@@ -17634,7 +17635,7 @@ class PostHogContext {
|
|
|
17634
17635
|
}
|
|
17635
17636
|
}
|
|
17636
17637
|
|
|
17637
|
-
// ../../node_modules
|
|
17638
|
+
// ../../node_modules/posthog-node/dist/extensions/sentry-integration.mjs
|
|
17638
17639
|
var NAME = "posthog-node";
|
|
17639
17640
|
function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
|
|
17640
17641
|
"error"
|
|
@@ -17702,7 +17703,7 @@ class PostHogSentryIntegration {
|
|
|
17702
17703
|
};
|
|
17703
17704
|
}
|
|
17704
17705
|
}
|
|
17705
|
-
// ../../node_modules
|
|
17706
|
+
// ../../node_modules/posthog-node/dist/entrypoints/index.node.mjs
|
|
17706
17707
|
ErrorTracking.errorPropertiesBuilder = new exports_error_tracking.ErrorPropertiesBuilder([
|
|
17707
17708
|
new exports_error_tracking.EventCoercer,
|
|
17708
17709
|
new exports_error_tracking.ErrorCoercer,
|
|
@@ -18343,7 +18344,7 @@ var enableCommand = buildCommand({
|
|
|
18343
18344
|
}
|
|
18344
18345
|
});
|
|
18345
18346
|
|
|
18346
|
-
// ../../node_modules
|
|
18347
|
+
// ../../node_modules/@logtape/logtape/dist/filter.js
|
|
18347
18348
|
function toFilter(filter) {
|
|
18348
18349
|
if (typeof filter === "function")
|
|
18349
18350
|
return filter;
|
|
@@ -18367,7 +18368,7 @@ function getLevelFilter(level) {
|
|
|
18367
18368
|
throw new TypeError(`Invalid log level: ${level}.`);
|
|
18368
18369
|
}
|
|
18369
18370
|
|
|
18370
|
-
// ../../node_modules
|
|
18371
|
+
// ../../node_modules/@logtape/logtape/dist/level.js
|
|
18371
18372
|
var logLevels = [
|
|
18372
18373
|
"trace",
|
|
18373
18374
|
"debug",
|
|
@@ -18386,7 +18387,7 @@ function compareLogLevel(a, b) {
|
|
|
18386
18387
|
return aIndex - bIndex;
|
|
18387
18388
|
}
|
|
18388
18389
|
|
|
18389
|
-
// ../../node_modules
|
|
18390
|
+
// ../../node_modules/@logtape/logtape/dist/logger.js
|
|
18390
18391
|
var lazySymbol = Symbol.for("logtape.lazy");
|
|
18391
18392
|
function isLazy(value3) {
|
|
18392
18393
|
return value3 != null && typeof value3 === "object" && lazySymbol in value3 && value3[lazySymbol] === true;
|
|
@@ -19306,7 +19307,7 @@ function renderMessage(template, values) {
|
|
|
19306
19307
|
return args;
|
|
19307
19308
|
}
|
|
19308
19309
|
|
|
19309
|
-
// ../../node_modules
|
|
19310
|
+
// ../../node_modules/@logtape/logtape/dist/context.js
|
|
19310
19311
|
var categoryPrefixSymbol = Symbol.for("logtape.categoryPrefix");
|
|
19311
19312
|
function getCategoryPrefix() {
|
|
19312
19313
|
const rootLogger = LoggerImpl.getLogger();
|
|
@@ -19327,7 +19328,7 @@ function getImplicitContext() {
|
|
|
19327
19328
|
return result;
|
|
19328
19329
|
}
|
|
19329
19330
|
|
|
19330
|
-
// ../../node_modules
|
|
19331
|
+
// ../../node_modules/@logtape/logtape/dist/util.node.js
|
|
19331
19332
|
var exports_util_node = {};
|
|
19332
19333
|
__export(exports_util_node, {
|
|
19333
19334
|
inspect: () => inspect
|
|
@@ -19337,7 +19338,7 @@ function inspect(obj, options) {
|
|
|
19337
19338
|
return util3.inspect(obj, options);
|
|
19338
19339
|
}
|
|
19339
19340
|
|
|
19340
|
-
// ../../node_modules
|
|
19341
|
+
// ../../node_modules/@logtape/logtape/dist/formatter.js
|
|
19341
19342
|
var levelAbbreviations = {
|
|
19342
19343
|
trace: "TRC",
|
|
19343
19344
|
debug: "DBG",
|
|
@@ -19738,7 +19739,7 @@ function defaultConsoleFormatter(record) {
|
|
|
19738
19739
|
];
|
|
19739
19740
|
}
|
|
19740
19741
|
|
|
19741
|
-
// ../../node_modules
|
|
19742
|
+
// ../../node_modules/@logtape/logtape/dist/sink.js
|
|
19742
19743
|
function getConsoleSink(options = {}) {
|
|
19743
19744
|
const formatter = options.formatter ?? defaultConsoleFormatter;
|
|
19744
19745
|
const levelMap = {
|
|
@@ -19819,7 +19820,7 @@ function getConsoleSink(options = {}) {
|
|
|
19819
19820
|
return nonBlockingSink;
|
|
19820
19821
|
}
|
|
19821
19822
|
|
|
19822
|
-
// ../../node_modules
|
|
19823
|
+
// ../../node_modules/@logtape/logtape/dist/config.js
|
|
19823
19824
|
var currentConfig = null;
|
|
19824
19825
|
var strongRefs = /* @__PURE__ */ new Set;
|
|
19825
19826
|
var disposables = /* @__PURE__ */ new Set;
|
|
@@ -19942,7 +19943,7 @@ var ConfigError = class extends Error {
|
|
|
19942
19943
|
import { homedir as homedir11 } from "node:os";
|
|
19943
19944
|
import { join as join13 } from "node:path";
|
|
19944
19945
|
|
|
19945
|
-
// ../../node_modules
|
|
19946
|
+
// ../../node_modules/@logtape/file/dist/filesink.base.js
|
|
19946
19947
|
var AdaptiveFlushStrategy = class {
|
|
19947
19948
|
recentFlushSizes = [];
|
|
19948
19949
|
recentFlushTimes = [];
|
|
@@ -20204,7 +20205,7 @@ function getBaseFileSink(path, options) {
|
|
|
20204
20205
|
return nonBlockingSink;
|
|
20205
20206
|
}
|
|
20206
20207
|
|
|
20207
|
-
// ../../node_modules
|
|
20208
|
+
// ../../node_modules/@logtape/file/dist/filesink.node.js
|
|
20208
20209
|
import fs from "node:fs";
|
|
20209
20210
|
import { join as join12 } from "node:path";
|
|
20210
20211
|
import { promisify } from "node:util";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rudel",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI for the Coding Agent Analytics Platform rudel.ai",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"dev": "bun run src/bin/cli.ts",
|
|
34
34
|
"check-types": "tsc --noEmit",
|
|
35
35
|
"build": "bun build src/bin/cli.ts --outdir dist --target node",
|
|
36
|
+
"prepack": "bun run build",
|
|
36
37
|
"test": "bun test"
|
|
37
38
|
},
|
|
38
39
|
"dependencies": {
|
|
@@ -46,9 +47,9 @@
|
|
|
46
47
|
"p-map": "^7.0.4"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
|
-
"@rudel/agent-adapters": "
|
|
50
|
-
"@rudel/api-routes": "
|
|
51
|
-
"@rudel/typescript-config": "
|
|
50
|
+
"@rudel/agent-adapters": "0.0.0",
|
|
51
|
+
"@rudel/api-routes": "0.0.0",
|
|
52
|
+
"@rudel/typescript-config": "0.0.0",
|
|
52
53
|
"@types/node": "^22",
|
|
53
54
|
"bun-types": "latest",
|
|
54
55
|
"typescript": "5.9.2"
|