@gobing-ai/spur 0.3.29 → 0.3.30
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/spur.js
CHANGED
|
@@ -47,7 +47,7 @@ var __export = (target, all) => {
|
|
|
47
47
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
48
48
|
var __require = import.meta.require;
|
|
49
49
|
|
|
50
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.
|
|
50
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.16/node_modules/@gobing-ai/ts-utils/dist/errors.js
|
|
51
51
|
var ErrorCode;
|
|
52
52
|
var init_errors = __esm(() => {
|
|
53
53
|
ErrorCode = {
|
|
@@ -58,7 +58,7 @@ var init_errors = __esm(() => {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.
|
|
61
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.16/node_modules/@gobing-ai/ts-utils/dist/api-response.js
|
|
62
62
|
var API_ERROR_CODES, ERROR_CODE_TO_HTTP, CLIENT_SAFE_CODES;
|
|
63
63
|
var init_api_response = __esm(() => {
|
|
64
64
|
init_errors();
|
|
@@ -81,10 +81,10 @@ var init_api_response = __esm(() => {
|
|
|
81
81
|
CLIENT_SAFE_CODES = new Set([ErrorCode.NotFound, ErrorCode.Validation, ErrorCode.Conflict]);
|
|
82
82
|
});
|
|
83
83
|
|
|
84
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.
|
|
84
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.16/node_modules/@gobing-ai/ts-utils/dist/cursor.js
|
|
85
85
|
var init_cursor = () => {};
|
|
86
86
|
|
|
87
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.
|
|
87
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.16/node_modules/@gobing-ai/ts-utils/dist/object.js
|
|
88
88
|
function isPlainObject(value) {
|
|
89
89
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
90
90
|
}
|
|
@@ -102,7 +102,7 @@ function deepMerge(target, source) {
|
|
|
102
102
|
return result;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.
|
|
105
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.16/node_modules/@gobing-ai/ts-utils/dist/output.js
|
|
106
106
|
function processStream(name) {
|
|
107
107
|
const proc = globalThis.process;
|
|
108
108
|
const stream = proc?.[name];
|
|
@@ -123,7 +123,7 @@ function echoError(message, target = defaultStderrTarget ?? processStream("stder
|
|
|
123
123
|
}
|
|
124
124
|
var defaultStdoutTarget, defaultStderrTarget;
|
|
125
125
|
|
|
126
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.
|
|
126
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.16/node_modules/@gobing-ai/ts-utils/dist/index.js
|
|
127
127
|
var init_dist = __esm(() => {
|
|
128
128
|
init_api_response();
|
|
129
129
|
init_cursor();
|
|
@@ -21745,7 +21745,7 @@ var init_zod = __esm(() => {
|
|
|
21745
21745
|
init_external();
|
|
21746
21746
|
});
|
|
21747
21747
|
|
|
21748
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
21748
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+a1f7d493e005a6ca/node_modules/@gobing-ai/ts-runtime/dist/config.js
|
|
21749
21749
|
function getProcessEnv() {
|
|
21750
21750
|
return process.env;
|
|
21751
21751
|
}
|
|
@@ -21823,7 +21823,7 @@ var init_config = __esm(() => {
|
|
|
21823
21823
|
};
|
|
21824
21824
|
});
|
|
21825
21825
|
|
|
21826
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
21826
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+a1f7d493e005a6ca/node_modules/@gobing-ai/ts-runtime/dist/file-system-node.js
|
|
21827
21827
|
import { appendFileSync, cpSync, createReadStream, createWriteStream, existsSync, mkdirSync, readdirSync, readFileSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "fs";
|
|
21828
21828
|
import { dirname, resolve as resolvePath } from "path";
|
|
21829
21829
|
function createNodeFileSystem(root, paths) {
|
|
@@ -21910,7 +21910,7 @@ function findProjectRoot(startDir) {
|
|
|
21910
21910
|
}
|
|
21911
21911
|
var init_file_system_node = () => {};
|
|
21912
21912
|
|
|
21913
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
21913
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+a1f7d493e005a6ca/node_modules/@gobing-ai/ts-runtime/dist/db-errors.js
|
|
21914
21914
|
var DbModuleNotInstalledError;
|
|
21915
21915
|
var init_db_errors = __esm(() => {
|
|
21916
21916
|
DbModuleNotInstalledError = class DbModuleNotInstalledError extends Error {
|
|
@@ -29101,7 +29101,7 @@ var init_execa = __esm(() => {
|
|
|
29101
29101
|
} = getIpcExport());
|
|
29102
29102
|
});
|
|
29103
29103
|
|
|
29104
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
29104
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+a1f7d493e005a6ca/node_modules/@gobing-ai/ts-runtime/dist/process-executor.js
|
|
29105
29105
|
import { isatty } from "tty";
|
|
29106
29106
|
|
|
29107
29107
|
class NodeProcessExecutor {
|
|
@@ -29431,7 +29431,7 @@ var init_process_executor = __esm(() => {
|
|
|
29431
29431
|
init_execa();
|
|
29432
29432
|
});
|
|
29433
29433
|
|
|
29434
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
29434
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+a1f7d493e005a6ca/node_modules/@gobing-ai/ts-runtime/dist/runtime-node-bun.js
|
|
29435
29435
|
function getNodeFileSystem() {
|
|
29436
29436
|
if (!_nodeFileSystem)
|
|
29437
29437
|
_nodeFileSystem = createNodeFileSystem();
|
|
@@ -29491,7 +29491,7 @@ var init_runtime_node_bun = __esm(() => {
|
|
|
29491
29491
|
};
|
|
29492
29492
|
});
|
|
29493
29493
|
|
|
29494
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
29494
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+a1f7d493e005a6ca/node_modules/@gobing-ai/ts-runtime/dist/context.js
|
|
29495
29495
|
class RuntimeContext {
|
|
29496
29496
|
scope;
|
|
29497
29497
|
runtimeName;
|
|
@@ -29561,7 +29561,7 @@ var init_context = __esm(() => {
|
|
|
29561
29561
|
init_runtime_node_bun();
|
|
29562
29562
|
});
|
|
29563
29563
|
|
|
29564
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
29564
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+a1f7d493e005a6ca/node_modules/@gobing-ai/ts-runtime/dist/path.js
|
|
29565
29565
|
function normalizeSeparators(path6) {
|
|
29566
29566
|
return path6.replaceAll("\\", "/");
|
|
29567
29567
|
}
|
|
@@ -29622,17 +29622,17 @@ var init_path = __esm(() => {
|
|
|
29622
29622
|
SEP = globalThis.process?.platform === "win32" ? "\\" : "/";
|
|
29623
29623
|
});
|
|
29624
29624
|
|
|
29625
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
29625
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+a1f7d493e005a6ca/node_modules/@gobing-ai/ts-runtime/dist/schema-validation.js
|
|
29626
29626
|
var REMOTE_SCHEMA_MAX_BYTES;
|
|
29627
29627
|
var init_schema_validation = __esm(() => {
|
|
29628
29628
|
init_dist2();
|
|
29629
29629
|
REMOTE_SCHEMA_MAX_BYTES = 5 * 1024 * 1024;
|
|
29630
29630
|
});
|
|
29631
29631
|
|
|
29632
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
29632
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+a1f7d493e005a6ca/node_modules/@gobing-ai/ts-runtime/dist/types.js
|
|
29633
29633
|
var init_types = () => {};
|
|
29634
29634
|
|
|
29635
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
29635
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+a1f7d493e005a6ca/node_modules/@gobing-ai/ts-runtime/dist/index.js
|
|
29636
29636
|
var init_dist3 = __esm(() => {
|
|
29637
29637
|
init_config();
|
|
29638
29638
|
init_context();
|
|
@@ -29641,7 +29641,7 @@ var init_dist3 = __esm(() => {
|
|
|
29641
29641
|
init_types();
|
|
29642
29642
|
});
|
|
29643
29643
|
|
|
29644
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
29644
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+a1f7d493e005a6ca/node_modules/@gobing-ai/ts-runtime/dist/bun-sqlite.js
|
|
29645
29645
|
import { Database } from "bun:sqlite";
|
|
29646
29646
|
var init_bun_sqlite = () => {};
|
|
29647
29647
|
|
|
@@ -33833,7 +33833,7 @@ var init_bun_sqlite2 = __esm(() => {
|
|
|
33833
33833
|
init_session2();
|
|
33834
33834
|
});
|
|
33835
33835
|
|
|
33836
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
33836
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/schema/inbox-messages.js
|
|
33837
33837
|
var inboxMessages;
|
|
33838
33838
|
var init_inbox_messages = __esm(() => {
|
|
33839
33839
|
init_sqlite_core();
|
|
@@ -33852,7 +33852,7 @@ var init_inbox_messages = __esm(() => {
|
|
|
33852
33852
|
}, (table2) => [index("idx_inbox_messages_to_status").on(table2.toId, table2.status)]);
|
|
33853
33853
|
});
|
|
33854
33854
|
|
|
33855
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
33855
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/schema/common.js
|
|
33856
33856
|
function nowTimestamp() {
|
|
33857
33857
|
return Date.now();
|
|
33858
33858
|
}
|
|
@@ -33881,7 +33881,7 @@ var init_common3 = __esm(() => {
|
|
|
33881
33881
|
appendOnlyColumns = buildAppendOnlyColumns();
|
|
33882
33882
|
});
|
|
33883
33883
|
|
|
33884
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
33884
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/schema/queue-jobs.js
|
|
33885
33885
|
var queueJobs;
|
|
33886
33886
|
var init_queue_jobs = __esm(() => {
|
|
33887
33887
|
init_sqlite_core();
|
|
@@ -33901,7 +33901,7 @@ var init_queue_jobs = __esm(() => {
|
|
|
33901
33901
|
}, (table2) => [index("queue_jobs_ready_idx").on(table2.status, table2.nextRetryAt, table2.createdAt)]);
|
|
33902
33902
|
});
|
|
33903
33903
|
|
|
33904
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
33904
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/schema/runtime.js
|
|
33905
33905
|
var exports_runtime = {};
|
|
33906
33906
|
__export(exports_runtime, {
|
|
33907
33907
|
queueJobs: () => queueJobs,
|
|
@@ -33912,7 +33912,7 @@ var init_runtime = __esm(() => {
|
|
|
33912
33912
|
init_queue_jobs();
|
|
33913
33913
|
});
|
|
33914
33914
|
|
|
33915
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
33915
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/adapters/bun-sqlite.js
|
|
33916
33916
|
var exports_bun_sqlite = {};
|
|
33917
33917
|
__export(exports_bun_sqlite, {
|
|
33918
33918
|
BunSqliteAdapter: () => BunSqliteAdapter
|
|
@@ -33941,6 +33941,7 @@ class BunSqliteAdapter {
|
|
|
33941
33941
|
this.sqlite.run(pragmas.journalMode);
|
|
33942
33942
|
this.sqlite.run(pragmas.synchronous);
|
|
33943
33943
|
this.sqlite.run(pragmas.foreignKeys);
|
|
33944
|
+
this.sqlite.run(pragmas.busyTimeout);
|
|
33944
33945
|
this.drizzleDb = drizzle({ client: this.sqlite, schema: exports_runtime });
|
|
33945
33946
|
}
|
|
33946
33947
|
get db() {
|
|
@@ -33987,7 +33988,8 @@ var init_bun_sqlite3 = __esm(() => {
|
|
|
33987
33988
|
DEFAULT_PRAGMAS = {
|
|
33988
33989
|
journalMode: "PRAGMA journal_mode = WAL",
|
|
33989
33990
|
synchronous: "PRAGMA synchronous = NORMAL",
|
|
33990
|
-
foreignKeys: "PRAGMA foreign_keys = ON"
|
|
33991
|
+
foreignKeys: "PRAGMA foreign_keys = ON",
|
|
33992
|
+
busyTimeout: "PRAGMA busy_timeout = 5000"
|
|
33991
33993
|
};
|
|
33992
33994
|
});
|
|
33993
33995
|
|
|
@@ -34201,7 +34203,7 @@ var init_d1 = __esm(() => {
|
|
|
34201
34203
|
init_session3();
|
|
34202
34204
|
});
|
|
34203
34205
|
|
|
34204
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
34206
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/adapters/d1.js
|
|
34205
34207
|
var exports_d1 = {};
|
|
34206
34208
|
__export(exports_d1, {
|
|
34207
34209
|
D1Adapter: () => D1Adapter
|
|
@@ -34265,7 +34267,7 @@ var init_d12 = __esm(() => {
|
|
|
34265
34267
|
init_runtime();
|
|
34266
34268
|
});
|
|
34267
34269
|
|
|
34268
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
34270
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/adapter.js
|
|
34269
34271
|
async function createDbAdapter(config3) {
|
|
34270
34272
|
switch (config3.driver) {
|
|
34271
34273
|
case "bun-sqlite": {
|
|
@@ -34305,7 +34307,7 @@ var init_drizzle_orm = __esm(() => {
|
|
|
34305
34307
|
init_view_common();
|
|
34306
34308
|
});
|
|
34307
34309
|
|
|
34308
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
34310
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/query-spec.js
|
|
34309
34311
|
function compilePredicate(predicate) {
|
|
34310
34312
|
if ("and" in predicate) {
|
|
34311
34313
|
const parts = predicate.and.map(compilePredicate).filter((p) => p !== undefined);
|
|
@@ -34343,7 +34345,7 @@ var init_query_spec = __esm(() => {
|
|
|
34343
34345
|
};
|
|
34344
34346
|
});
|
|
34345
34347
|
|
|
34346
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
34348
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/base-dao.js
|
|
34347
34349
|
function asSelectQuery(query) {
|
|
34348
34350
|
return query;
|
|
34349
34351
|
}
|
|
@@ -34385,7 +34387,7 @@ var init_base_dao = __esm(() => {
|
|
|
34385
34387
|
init_query_spec();
|
|
34386
34388
|
});
|
|
34387
34389
|
|
|
34388
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
34390
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/embedded-migrations.js
|
|
34389
34391
|
var embeddedMigrations;
|
|
34390
34392
|
var init_embedded_migrations = __esm(() => {
|
|
34391
34393
|
embeddedMigrations = [
|
|
@@ -34417,7 +34419,7 @@ var init_embedded_migrations = __esm(() => {
|
|
|
34417
34419
|
];
|
|
34418
34420
|
});
|
|
34419
34421
|
|
|
34420
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
34422
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/entity-dao.js
|
|
34421
34423
|
var EntityDao;
|
|
34422
34424
|
var init_entity_dao = __esm(() => {
|
|
34423
34425
|
init_drizzle_orm();
|
|
@@ -34579,7 +34581,7 @@ var init_entity_dao = __esm(() => {
|
|
|
34579
34581
|
};
|
|
34580
34582
|
});
|
|
34581
34583
|
|
|
34582
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
34584
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/inbox-message-dao.js
|
|
34583
34585
|
function isPromiseLike(value) {
|
|
34584
34586
|
return value !== null && (typeof value === "object" || typeof value === "function") && typeof value.then === "function";
|
|
34585
34587
|
}
|
|
@@ -34752,7 +34754,7 @@ var init_migrator2 = __esm(() => {
|
|
|
34752
34754
|
init_migrator();
|
|
34753
34755
|
});
|
|
34754
34756
|
|
|
34755
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
34757
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/migrate.js
|
|
34756
34758
|
async function ensureJournalTable(adapter, table3) {
|
|
34757
34759
|
await adapter.exec(`CREATE TABLE IF NOT EXISTS "${table3}" (` + "id INTEGER PRIMARY KEY AUTOINCREMENT, " + "hash text NOT NULL, " + "created_at numeric" + ")");
|
|
34758
34760
|
}
|
|
@@ -34827,7 +34829,7 @@ var init_migrate = __esm(() => {
|
|
|
34827
34829
|
init_embedded_migrations();
|
|
34828
34830
|
});
|
|
34829
34831
|
|
|
34830
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
34832
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/queue-job-dao.js
|
|
34831
34833
|
var QueueJobDao;
|
|
34832
34834
|
var init_queue_job_dao = __esm(() => {
|
|
34833
34835
|
init_drizzle_orm();
|
|
@@ -34968,7 +34970,7 @@ var init_queue_job_dao = __esm(() => {
|
|
|
34968
34970
|
};
|
|
34969
34971
|
});
|
|
34970
34972
|
|
|
34971
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
34973
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/index.js
|
|
34972
34974
|
var exports_dist = {};
|
|
34973
34975
|
__export(exports_dist, {
|
|
34974
34976
|
embeddedMigrations: () => embeddedMigrations,
|
|
@@ -37450,7 +37452,7 @@ var init_src = __esm(() => {
|
|
|
37450
37452
|
});
|
|
37451
37453
|
});
|
|
37452
37454
|
|
|
37453
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
37455
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/config.js
|
|
37454
37456
|
function parseYamlObject(text3) {
|
|
37455
37457
|
let parsed;
|
|
37456
37458
|
try {
|
|
@@ -37577,7 +37579,7 @@ var init_config2 = __esm(() => {
|
|
|
37577
37579
|
};
|
|
37578
37580
|
});
|
|
37579
37581
|
|
|
37580
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
37582
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/file-system-node.js
|
|
37581
37583
|
import { appendFileSync as appendFileSync3, cpSync as cpSync2, createReadStream as createReadStream3, createWriteStream as createWriteStream3, existsSync as existsSync2, mkdirSync as mkdirSync2, readdirSync as readdirSync2, readFileSync as readFileSync4, realpathSync as realpathSync2, renameSync as renameSync2, rmSync as rmSync2, statSync as statSync3, writeFileSync as writeFileSync3 } from "fs";
|
|
37582
37584
|
import { dirname as dirname2, resolve as resolvePath3 } from "path";
|
|
37583
37585
|
function createNodeFileSystem3(root, paths) {
|
|
@@ -37664,7 +37666,7 @@ function findProjectRoot3(startDir) {
|
|
|
37664
37666
|
}
|
|
37665
37667
|
var init_file_system_node2 = () => {};
|
|
37666
37668
|
|
|
37667
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
37669
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/db-errors.js
|
|
37668
37670
|
var D1NotConfiguredError2, DbModuleNotInstalledError3;
|
|
37669
37671
|
var init_db_errors2 = __esm(() => {
|
|
37670
37672
|
D1NotConfiguredError2 = class D1NotConfiguredError2 extends Error {
|
|
@@ -37681,7 +37683,7 @@ var init_db_errors2 = __esm(() => {
|
|
|
37681
37683
|
};
|
|
37682
37684
|
});
|
|
37683
37685
|
|
|
37684
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
37686
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/file-system-cf.js
|
|
37685
37687
|
function createCfFileSystem2() {
|
|
37686
37688
|
return {
|
|
37687
37689
|
getProjectRoot: () => "/bundle",
|
|
@@ -37720,7 +37722,7 @@ function createCfFileSystem2() {
|
|
|
37720
37722
|
}
|
|
37721
37723
|
var UNSUPPORTED = "FileSystem is not available on Cloudflare Workers. Use D1, KV, or R2 for persistent storage.";
|
|
37722
37724
|
|
|
37723
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
37725
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/runtime-cf.js
|
|
37724
37726
|
var exports_runtime_cf = {};
|
|
37725
37727
|
__export(exports_runtime_cf, {
|
|
37726
37728
|
cloudflareWorkersFactory: () => cloudflareWorkersFactory2
|
|
@@ -37758,7 +37760,7 @@ var init_runtime_cf = __esm(() => {
|
|
|
37758
37760
|
};
|
|
37759
37761
|
});
|
|
37760
37762
|
|
|
37761
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
37763
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/process-executor.js
|
|
37762
37764
|
import { isatty as isatty2 } from "tty";
|
|
37763
37765
|
|
|
37764
37766
|
class NodeProcessExecutor3 {
|
|
@@ -38135,7 +38137,7 @@ var init_process_executor2 = __esm(() => {
|
|
|
38135
38137
|
ProcessExecutor2 = NodeProcessExecutor3;
|
|
38136
38138
|
});
|
|
38137
38139
|
|
|
38138
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
38140
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/runtime-node-bun.js
|
|
38139
38141
|
var exports_runtime_node_bun = {};
|
|
38140
38142
|
__export(exports_runtime_node_bun, {
|
|
38141
38143
|
nodeBunFactory: () => nodeBunFactory3,
|
|
@@ -38203,7 +38205,7 @@ var init_runtime_node_bun2 = __esm(() => {
|
|
|
38203
38205
|
};
|
|
38204
38206
|
});
|
|
38205
38207
|
|
|
38206
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
38208
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/platform.js
|
|
38207
38209
|
function isCloudflareWorkerRuntime2() {
|
|
38208
38210
|
return globalThis.navigator?.userAgent?.startsWith("Cloudflare-Workers") ?? false;
|
|
38209
38211
|
}
|
|
@@ -38233,7 +38235,7 @@ function _resetRuntimeFactory2() {
|
|
|
38233
38235
|
}
|
|
38234
38236
|
var _factory, _runtimeName;
|
|
38235
38237
|
|
|
38236
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
38238
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/context.js
|
|
38237
38239
|
class RuntimeContext2 {
|
|
38238
38240
|
scope;
|
|
38239
38241
|
runtimeName;
|
|
@@ -38323,7 +38325,7 @@ var init_context2 = __esm(() => {
|
|
|
38323
38325
|
init_runtime_node_bun2();
|
|
38324
38326
|
});
|
|
38325
38327
|
|
|
38326
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
38328
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/path.js
|
|
38327
38329
|
function normalizeSeparators2(path7) {
|
|
38328
38330
|
return path7.replaceAll("\\", "/");
|
|
38329
38331
|
}
|
|
@@ -38446,7 +38448,7 @@ var init_path2 = __esm(() => {
|
|
|
38446
38448
|
SEP2 = globalThis.process?.platform === "win32" ? "\\" : "/";
|
|
38447
38449
|
});
|
|
38448
38450
|
|
|
38449
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
38451
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
38450
38452
|
async function ensureDirForFile2(path7, fs2 = createNodeFileSystem3()) {
|
|
38451
38453
|
await fs2.ensureDir(dirnamePath(path7));
|
|
38452
38454
|
}
|
|
@@ -38497,7 +38499,7 @@ var init_fs = __esm(() => {
|
|
|
38497
38499
|
init_path2();
|
|
38498
38500
|
});
|
|
38499
38501
|
|
|
38500
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
38502
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/process-registry.js
|
|
38501
38503
|
function allocateId() {
|
|
38502
38504
|
nextIdSeq += 1;
|
|
38503
38505
|
return `pe_${Date.now().toString(36)}_${nextIdSeq.toString(36)}`;
|
|
@@ -38621,7 +38623,7 @@ function createInMemoryProcessRegistry2(options) {
|
|
|
38621
38623
|
}
|
|
38622
38624
|
var nextIdSeq = 0;
|
|
38623
38625
|
|
|
38624
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
38626
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/runtime-paths.js
|
|
38625
38627
|
function ambientRuntimePaths2() {
|
|
38626
38628
|
const cwd = getProcessCwd2();
|
|
38627
38629
|
return { cwd, home: getHomeDir() ?? cwd };
|
|
@@ -38631,7 +38633,7 @@ var init_runtime_paths = __esm(() => {
|
|
|
38631
38633
|
init_path2();
|
|
38632
38634
|
});
|
|
38633
38635
|
|
|
38634
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
38636
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/schema-validation.js
|
|
38635
38637
|
async function loadStructuredConfig(path7, options = {}) {
|
|
38636
38638
|
const content = await (options.fileSystem ?? createNodeFileSystem3()).readFile(path7);
|
|
38637
38639
|
return await parseStructuredConfig(content, path7, options);
|
|
@@ -38908,10 +38910,10 @@ var init_schema_validation2 = __esm(() => {
|
|
|
38908
38910
|
defaultResolve = typeof Bun !== "undefined" ? (specifier, from) => Bun.resolveSync(specifier, from) : undefined;
|
|
38909
38911
|
});
|
|
38910
38912
|
|
|
38911
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
38913
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/types.js
|
|
38912
38914
|
var init_types2 = () => {};
|
|
38913
38915
|
|
|
38914
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
38916
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/index.js
|
|
38915
38917
|
var exports_dist2 = {};
|
|
38916
38918
|
__export(exports_dist2, {
|
|
38917
38919
|
writeJsonFile: () => writeJsonFile2,
|
|
@@ -41062,7 +41064,7 @@ var init_mod = __esm(() => {
|
|
|
41062
41064
|
init_config3();
|
|
41063
41065
|
});
|
|
41064
41066
|
|
|
41065
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
41067
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/logger.js
|
|
41066
41068
|
function toLogTapeLevel(level) {
|
|
41067
41069
|
return level === "warn" ? "warning" : level;
|
|
41068
41070
|
}
|
|
@@ -42615,7 +42617,7 @@ var require_src = __commonJS((exports) => {
|
|
|
42615
42617
|
};
|
|
42616
42618
|
});
|
|
42617
42619
|
|
|
42618
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
42620
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/telemetry/sdk.js
|
|
42619
42621
|
function getTelemetryConfig(configPartial = {}) {
|
|
42620
42622
|
return {
|
|
42621
42623
|
enabled: configPartial.enabled ?? CONFIG_DEFAULTS.enabled,
|
|
@@ -42651,7 +42653,7 @@ var init_sdk = __esm(() => {
|
|
|
42651
42653
|
resolvedConfig = getTelemetryConfig();
|
|
42652
42654
|
});
|
|
42653
42655
|
|
|
42654
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
42656
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/telemetry/tracing.js
|
|
42655
42657
|
function isSuppressed(tracer2) {
|
|
42656
42658
|
return tracer2 === undefined && !getResolvedConfig().enabled;
|
|
42657
42659
|
}
|
|
@@ -42691,7 +42693,7 @@ var init_tracing2 = __esm(() => {
|
|
|
42691
42693
|
import_api2 = __toESM(require_src(), 1);
|
|
42692
42694
|
});
|
|
42693
42695
|
|
|
42694
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
42696
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/telemetry/metrics.js
|
|
42695
42697
|
function getMeter() {
|
|
42696
42698
|
return import_api3.metrics.getMeter(METER_NAME, METER_VERSION);
|
|
42697
42699
|
}
|
|
@@ -42788,7 +42790,7 @@ var init_metrics = __esm(() => {
|
|
|
42788
42790
|
instruments = {};
|
|
42789
42791
|
});
|
|
42790
42792
|
|
|
42791
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
42793
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/event-bus/event-bus.js
|
|
42792
42794
|
function busLogger() {
|
|
42793
42795
|
if (!_busLogger)
|
|
42794
42796
|
_busLogger = getLogger2("event-bus");
|
|
@@ -43033,7 +43035,7 @@ var init_event_bus = __esm(() => {
|
|
|
43033
43035
|
init_metrics();
|
|
43034
43036
|
});
|
|
43035
43037
|
|
|
43036
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
43038
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/event-bus/default-observers.js
|
|
43037
43039
|
function obsLogger() {
|
|
43038
43040
|
if (!_obsLogger)
|
|
43039
43041
|
_obsLogger = getLogger2("event-bus.observers");
|
|
@@ -43097,7 +43099,7 @@ var init_default_observers = __esm(() => {
|
|
|
43097
43099
|
init_event_bus();
|
|
43098
43100
|
});
|
|
43099
43101
|
|
|
43100
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
43102
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/event-bus/file-observer.js
|
|
43101
43103
|
function parentDir(filePath) {
|
|
43102
43104
|
const idx = filePath.lastIndexOf("/");
|
|
43103
43105
|
return idx <= 0 ? "." : filePath.slice(0, idx);
|
|
@@ -43195,7 +43197,7 @@ var init_file_observer = __esm(() => {
|
|
|
43195
43197
|
init_logger3();
|
|
43196
43198
|
});
|
|
43197
43199
|
|
|
43198
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
43200
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/internals/drain.js
|
|
43199
43201
|
function settleWithin(promise2, deadline) {
|
|
43200
43202
|
const remaining = deadline - Date.now();
|
|
43201
43203
|
if (remaining <= 0)
|
|
@@ -43210,7 +43212,7 @@ function settleWithin(promise2, deadline) {
|
|
|
43210
43212
|
return settled;
|
|
43211
43213
|
}
|
|
43212
43214
|
|
|
43213
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
43215
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/scheduler/node.js
|
|
43214
43216
|
function parseInterval(cron) {
|
|
43215
43217
|
const trimmed = cron.trim();
|
|
43216
43218
|
const num = Number(trimmed);
|
|
@@ -43303,7 +43305,7 @@ var init_node3 = __esm(() => {
|
|
|
43303
43305
|
init_metrics();
|
|
43304
43306
|
});
|
|
43305
43307
|
|
|
43306
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
43308
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/scheduler-node.js
|
|
43307
43309
|
var exports_scheduler_node = {};
|
|
43308
43310
|
__export(exports_scheduler_node, {
|
|
43309
43311
|
NodeSchedulerAdapter: () => NodeSchedulerAdapter
|
|
@@ -51007,7 +51009,7 @@ var init_drizzle_zod = __esm(() => {
|
|
|
51007
51009
|
};
|
|
51008
51010
|
});
|
|
51009
51011
|
|
|
51010
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
51012
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/schema/drizzle-internals.js
|
|
51011
51013
|
function sqlExpressionToText(value) {
|
|
51012
51014
|
if (typeof value !== "object" || value === null || !("queryChunks" in value)) {
|
|
51013
51015
|
return;
|
|
@@ -51030,7 +51032,7 @@ function getDrizzleTableName(table3) {
|
|
|
51030
51032
|
return String(table3[nameSym]);
|
|
51031
51033
|
}
|
|
51032
51034
|
|
|
51033
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
51035
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/schema/ddl.js
|
|
51034
51036
|
function quoteIdent(name) {
|
|
51035
51037
|
return `"${name.replace(/"/g, '""')}"`;
|
|
51036
51038
|
}
|
|
@@ -51124,7 +51126,7 @@ var init_ddl = __esm(() => {
|
|
|
51124
51126
|
init_sqlite_core();
|
|
51125
51127
|
});
|
|
51126
51128
|
|
|
51127
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
51129
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/schema/define-table.js
|
|
51128
51130
|
function defineTable(name, columns2) {
|
|
51129
51131
|
const table3 = sqliteTable(name, columns2);
|
|
51130
51132
|
let insert2;
|
|
@@ -51158,7 +51160,7 @@ var init_define_table = __esm(() => {
|
|
|
51158
51160
|
init_ddl();
|
|
51159
51161
|
});
|
|
51160
51162
|
|
|
51161
|
-
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.
|
|
51163
|
+
// ../../node_modules/.bun/@gobing-ai+ts-db@0.4.16+fec36642bac873ee/node_modules/@gobing-ai/ts-db/dist/schema/index.js
|
|
51162
51164
|
var init_schema = __esm(() => {
|
|
51163
51165
|
init_sqlite_core();
|
|
51164
51166
|
init_define_table();
|
|
@@ -51783,7 +51785,7 @@ var init_dao = __esm(() => {
|
|
|
51783
51785
|
init_workspace_dao();
|
|
51784
51786
|
});
|
|
51785
51787
|
|
|
51786
|
-
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.
|
|
51788
|
+
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-dual-workflow-engine/dist/errors.js
|
|
51787
51789
|
var WorkflowValidationError, FSMError, RunCollisionError, WorkflowResumeError;
|
|
51788
51790
|
var init_errors6 = __esm(() => {
|
|
51789
51791
|
WorkflowValidationError = class WorkflowValidationError extends Error {
|
|
@@ -51818,12 +51820,12 @@ var init_errors6 = __esm(() => {
|
|
|
51818
51820
|
};
|
|
51819
51821
|
});
|
|
51820
51822
|
|
|
51821
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
51823
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/event-bus/index.js
|
|
51822
51824
|
var init_event_bus2 = __esm(() => {
|
|
51823
51825
|
init_event_bus();
|
|
51824
51826
|
});
|
|
51825
51827
|
|
|
51826
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
51828
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/api-client.js
|
|
51827
51829
|
function sanitizeUrlForObservability(url2) {
|
|
51828
51830
|
try {
|
|
51829
51831
|
const parsed = new URL(url2);
|
|
@@ -52053,12 +52055,12 @@ var init_api_client = __esm(() => {
|
|
|
52053
52055
|
};
|
|
52054
52056
|
});
|
|
52055
52057
|
|
|
52056
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
52058
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/telemetry/index.js
|
|
52057
52059
|
var init_telemetry = __esm(() => {
|
|
52058
52060
|
init_tracing2();
|
|
52059
52061
|
});
|
|
52060
52062
|
|
|
52061
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
52063
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/index.js
|
|
52062
52064
|
var init_dist6 = __esm(() => {
|
|
52063
52065
|
init_api_client();
|
|
52064
52066
|
init_event_bus2();
|
|
@@ -52066,7 +52068,7 @@ var init_dist6 = __esm(() => {
|
|
|
52066
52068
|
init_telemetry();
|
|
52067
52069
|
});
|
|
52068
52070
|
|
|
52069
|
-
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.
|
|
52071
|
+
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-dual-workflow-engine/dist/run-lifecycle.js
|
|
52070
52072
|
function runtimeBuiltins(workflowName, stateOrNodeId, runId, transitionsTaken, mode) {
|
|
52071
52073
|
return {
|
|
52072
52074
|
workflow: workflowName,
|
|
@@ -52325,7 +52327,7 @@ var init_run_lifecycle = __esm(() => {
|
|
|
52325
52327
|
];
|
|
52326
52328
|
});
|
|
52327
52329
|
|
|
52328
|
-
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.
|
|
52330
|
+
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-dual-workflow-engine/dist/schema.js
|
|
52329
52331
|
var RESERVED_VAR_NAMES, IDENTIFIER, VarsSchema, EnvSchema, ActionDefSchema, GuardDefSchema, StateMachineWorkflowDefSchema, TransitionFlowWorkflowDefSchema, WorkflowDefSchema;
|
|
52330
52332
|
var init_schema2 = __esm(() => {
|
|
52331
52333
|
init_zod();
|
|
@@ -52409,7 +52411,7 @@ var init_schema2 = __esm(() => {
|
|
|
52409
52411
|
WorkflowDefSchema = exports_external.union([StateMachineWorkflowDefSchema, TransitionFlowWorkflowDefSchema]);
|
|
52410
52412
|
});
|
|
52411
52413
|
|
|
52412
|
-
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.
|
|
52414
|
+
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-dual-workflow-engine/dist/config.js
|
|
52413
52415
|
async function loadWorkflowDef(path9, options = {}) {
|
|
52414
52416
|
return parseWorkflowDef(await loadStructuredConfig(path9, options), path9);
|
|
52415
52417
|
}
|
|
@@ -52568,7 +52570,7 @@ var init_config4 = __esm(() => {
|
|
|
52568
52570
|
RUNTIME_TEMPLATE_NAMESPACES = new Set(RUNTIME_BUILTIN_KEYS);
|
|
52569
52571
|
});
|
|
52570
52572
|
|
|
52571
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
52573
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/extension/capability-registry.js
|
|
52572
52574
|
class CapabilityRegistry {
|
|
52573
52575
|
kind;
|
|
52574
52576
|
capabilities = new Map;
|
|
@@ -52599,7 +52601,7 @@ class CapabilityRegistry {
|
|
|
52599
52601
|
}
|
|
52600
52602
|
}
|
|
52601
52603
|
|
|
52602
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
52604
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/extension/extension-path.js
|
|
52603
52605
|
function assertRelativeExtensionPath(path9, options = {}) {
|
|
52604
52606
|
const where = options.sourceName !== undefined ? ` declared by "${options.sourceName}"` : "";
|
|
52605
52607
|
if (/^([/\\]|[A-Za-z]:[/\\])/.test(path9)) {
|
|
@@ -52610,20 +52612,20 @@ function assertRelativeExtensionPath(path9, options = {}) {
|
|
|
52610
52612
|
}
|
|
52611
52613
|
}
|
|
52612
52614
|
|
|
52613
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
52615
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/extension/extension-loader.js
|
|
52614
52616
|
var init_extension_loader = () => {};
|
|
52615
52617
|
|
|
52616
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
52618
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/extension/index.js
|
|
52617
52619
|
var init_extension = __esm(() => {
|
|
52618
52620
|
init_extension_loader();
|
|
52619
52621
|
});
|
|
52620
52622
|
|
|
52621
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.
|
|
52623
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.16+d8250d61be64a872/node_modules/@gobing-ai/ts-runtime/dist/extension.js
|
|
52622
52624
|
var init_extension2 = __esm(() => {
|
|
52623
52625
|
init_extension();
|
|
52624
52626
|
});
|
|
52625
52627
|
|
|
52626
|
-
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.
|
|
52628
|
+
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-dual-workflow-engine/dist/host.js
|
|
52627
52629
|
class WorkflowEngineHost {
|
|
52628
52630
|
lifecycleBus;
|
|
52629
52631
|
actions = new CapabilityRegistry("workflow action");
|
|
@@ -52792,7 +52794,7 @@ var init_host = __esm(() => {
|
|
|
52792
52794
|
init_errors6();
|
|
52793
52795
|
});
|
|
52794
52796
|
|
|
52795
|
-
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.
|
|
52797
|
+
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-dual-workflow-engine/dist/schema-sql.js
|
|
52796
52798
|
var WORKFLOW_ENGINE_SCHEMA_SQL;
|
|
52797
52799
|
var init_schema_sql = __esm(() => {
|
|
52798
52800
|
WORKFLOW_ENGINE_SCHEMA_SQL = `
|
|
@@ -52865,7 +52867,7 @@ CREATE TABLE IF NOT EXISTS action_runs (
|
|
|
52865
52867
|
`.trim();
|
|
52866
52868
|
});
|
|
52867
52869
|
|
|
52868
|
-
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.
|
|
52870
|
+
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-dual-workflow-engine/dist/persistence.js
|
|
52869
52871
|
async function applyWorkflowEngineSchema(db2) {
|
|
52870
52872
|
for (const statement of WORKFLOW_ENGINE_SCHEMA_SQL.split(";")) {
|
|
52871
52873
|
const sql4 = statement.trim();
|
|
@@ -53154,7 +53156,7 @@ var init_persistence = __esm(() => {
|
|
|
53154
53156
|
init_schema_sql();
|
|
53155
53157
|
});
|
|
53156
53158
|
|
|
53157
|
-
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.
|
|
53159
|
+
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-dual-workflow-engine/dist/variables.js
|
|
53158
53160
|
function mergeVars(workflowVars = {}, overrideVars = {}) {
|
|
53159
53161
|
return { ...workflowVars, ...overrideVars };
|
|
53160
53162
|
}
|
|
@@ -53214,7 +53216,7 @@ var init_variables = __esm(() => {
|
|
|
53214
53216
|
TEMPLATE_REF = /\$\{([^}]+)\}/g;
|
|
53215
53217
|
});
|
|
53216
53218
|
|
|
53217
|
-
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.
|
|
53219
|
+
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-dual-workflow-engine/dist/action-step.js
|
|
53218
53220
|
async function runActionStep(action, vars, deps) {
|
|
53219
53221
|
const { host, persistence, lifecycle, stateOrNodeId, runId } = deps;
|
|
53220
53222
|
const resolved = resolveTemplates(action.options ?? {}, {
|
|
@@ -53272,7 +53274,7 @@ var init_action_step = __esm(() => {
|
|
|
53272
53274
|
init_variables();
|
|
53273
53275
|
});
|
|
53274
53276
|
|
|
53275
|
-
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.
|
|
53277
|
+
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-dual-workflow-engine/dist/state-machine.js
|
|
53276
53278
|
class StateMachineDriver {
|
|
53277
53279
|
options;
|
|
53278
53280
|
constructor(options) {
|
|
@@ -53406,7 +53408,7 @@ var init_state_machine = __esm(() => {
|
|
|
53406
53408
|
EMPTY_OUTCOME = { outcome: "completed", result: undefined };
|
|
53407
53409
|
});
|
|
53408
53410
|
|
|
53409
|
-
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.
|
|
53411
|
+
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-dual-workflow-engine/dist/transition-flow.js
|
|
53410
53412
|
class TransitionFlowDriver {
|
|
53411
53413
|
options;
|
|
53412
53414
|
constructor(options) {
|
|
@@ -53524,7 +53526,7 @@ var init_transition_flow = __esm(() => {
|
|
|
53524
53526
|
init_variables();
|
|
53525
53527
|
});
|
|
53526
53528
|
|
|
53527
|
-
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.
|
|
53529
|
+
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-dual-workflow-engine/dist/service.js
|
|
53528
53530
|
class WorkflowService {
|
|
53529
53531
|
host;
|
|
53530
53532
|
persistence;
|
|
@@ -53741,7 +53743,7 @@ var init_service = __esm(() => {
|
|
|
53741
53743
|
init_variables();
|
|
53742
53744
|
});
|
|
53743
53745
|
|
|
53744
|
-
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.
|
|
53746
|
+
// ../../node_modules/.bun/@gobing-ai+ts-dual-workflow-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-dual-workflow-engine/dist/index.js
|
|
53745
53747
|
var init_dist7 = __esm(() => {
|
|
53746
53748
|
init_config4();
|
|
53747
53749
|
init_host();
|
|
@@ -53750,20 +53752,7 @@ var init_dist7 = __esm(() => {
|
|
|
53750
53752
|
init_service();
|
|
53751
53753
|
});
|
|
53752
53754
|
|
|
53753
|
-
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.
|
|
53754
|
-
var HistoryImportError;
|
|
53755
|
-
var init_errors7 = __esm(() => {
|
|
53756
|
-
HistoryImportError = class HistoryImportError extends Error {
|
|
53757
|
-
details;
|
|
53758
|
-
constructor(message, details) {
|
|
53759
|
-
super(message);
|
|
53760
|
-
this.details = details;
|
|
53761
|
-
this.name = "HistoryImportError";
|
|
53762
|
-
}
|
|
53763
|
-
};
|
|
53764
|
-
});
|
|
53765
|
-
|
|
53766
|
-
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.15+d5c29f764bf0e6e0/node_modules/@gobing-ai/ts-llm-jsonl-importer/dist/hash.js
|
|
53755
|
+
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.16+d5c29f764bf0e6e0/node_modules/@gobing-ai/ts-llm-jsonl-importer/dist/hash.js
|
|
53767
53756
|
import { createHash } from "crypto";
|
|
53768
53757
|
function stableJson(value) {
|
|
53769
53758
|
if (Array.isArray(value)) {
|
|
@@ -53780,44 +53769,20 @@ function sha256(value) {
|
|
|
53780
53769
|
}
|
|
53781
53770
|
var init_hash = () => {};
|
|
53782
53771
|
|
|
53783
|
-
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.
|
|
53784
|
-
|
|
53785
|
-
|
|
53786
|
-
|
|
53787
|
-
|
|
53788
|
-
|
|
53789
|
-
|
|
53790
|
-
|
|
53791
|
-
|
|
53792
|
-
return Object.fromEntries(Object.entries(value).map(([key, entry]) => [key, redactValue(entry, rules)]));
|
|
53793
|
-
}
|
|
53794
|
-
return value;
|
|
53795
|
-
}
|
|
53796
|
-
function redactRecord(record2, rules = DEFAULT_REDACTION_RULES) {
|
|
53797
|
-
return redactValue(record2, rules);
|
|
53798
|
-
}
|
|
53799
|
-
var DEFAULT_REDACTION_RULES;
|
|
53800
|
-
var init_redaction = __esm(() => {
|
|
53801
|
-
DEFAULT_REDACTION_RULES = [
|
|
53802
|
-
{
|
|
53803
|
-
name: "api-key",
|
|
53804
|
-
pattern: /\b(?:sk|pk|ghp|github_pat|xox[baprs])-[-_a-zA-Z0-9]{12,}\b/g,
|
|
53805
|
-
replacement: "[REDACTED:token]"
|
|
53806
|
-
},
|
|
53807
|
-
{
|
|
53808
|
-
name: "assignment-secret",
|
|
53809
|
-
pattern: /\b(?:api[_-]?key|token|secret|password)\s*[:=]\s*["']?[^"',\s}]+/gi,
|
|
53810
|
-
replacement: "[REDACTED:secret]"
|
|
53811
|
-
},
|
|
53812
|
-
{
|
|
53813
|
-
name: "email",
|
|
53814
|
-
pattern: /\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}\b/gi,
|
|
53815
|
-
replacement: "[REDACTED:email]"
|
|
53772
|
+
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.16+d5c29f764bf0e6e0/node_modules/@gobing-ai/ts-llm-jsonl-importer/dist/errors.js
|
|
53773
|
+
var HistoryImportError;
|
|
53774
|
+
var init_errors7 = __esm(() => {
|
|
53775
|
+
HistoryImportError = class HistoryImportError extends Error {
|
|
53776
|
+
details;
|
|
53777
|
+
constructor(message, details) {
|
|
53778
|
+
super(message);
|
|
53779
|
+
this.details = details;
|
|
53780
|
+
this.name = "HistoryImportError";
|
|
53816
53781
|
}
|
|
53817
|
-
|
|
53782
|
+
};
|
|
53818
53783
|
});
|
|
53819
53784
|
|
|
53820
|
-
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.
|
|
53785
|
+
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.16+d5c29f764bf0e6e0/node_modules/@gobing-ai/ts-llm-jsonl-importer/dist/schema-sql.js
|
|
53821
53786
|
var HISTORY_IMPORT_SCHEMA_SQL;
|
|
53822
53787
|
var init_schema_sql2 = __esm(() => {
|
|
53823
53788
|
HISTORY_IMPORT_SCHEMA_SQL = `
|
|
@@ -53904,7 +53869,7 @@ CREATE TABLE IF NOT EXISTS history_etl_openclaw (
|
|
|
53904
53869
|
`.trim();
|
|
53905
53870
|
});
|
|
53906
53871
|
|
|
53907
|
-
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.
|
|
53872
|
+
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.16+d5c29f764bf0e6e0/node_modules/@gobing-ai/ts-llm-jsonl-importer/dist/sources.js
|
|
53908
53873
|
function firstString(...values) {
|
|
53909
53874
|
for (const value of values) {
|
|
53910
53875
|
if (typeof value === "string" && value.length > 0)
|
|
@@ -54041,7 +54006,26 @@ var init_sources = __esm(() => {
|
|
|
54041
54006
|
};
|
|
54042
54007
|
});
|
|
54043
54008
|
|
|
54044
|
-
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.
|
|
54009
|
+
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.16+d5c29f764bf0e6e0/node_modules/@gobing-ai/ts-llm-jsonl-importer/dist/jsonl-importer-dao.js
|
|
54010
|
+
function targetTableFor(table3) {
|
|
54011
|
+
if (!VALID_TABLE_NAME.test(table3)) {
|
|
54012
|
+
throw new HistoryImportError(`Invalid history ETL target table: ${table3}`, { table: table3 });
|
|
54013
|
+
}
|
|
54014
|
+
return table3;
|
|
54015
|
+
}
|
|
54016
|
+
function timestamp(now) {
|
|
54017
|
+
return (now?.() ?? new Date).toISOString();
|
|
54018
|
+
}
|
|
54019
|
+
function ETL_TABLE_DDL(table3) {
|
|
54020
|
+
return `CREATE TABLE IF NOT EXISTS ${table3} (
|
|
54021
|
+
record_hash TEXT PRIMARY KEY,
|
|
54022
|
+
source_file TEXT NOT NULL,
|
|
54023
|
+
source_line INTEGER NOT NULL,
|
|
54024
|
+
split_index INTEGER NOT NULL,
|
|
54025
|
+
payload_json TEXT NOT NULL,
|
|
54026
|
+
imported_at TEXT NOT NULL
|
|
54027
|
+
);`;
|
|
54028
|
+
}
|
|
54045
54029
|
async function applyHistoryImportSchema(db2) {
|
|
54046
54030
|
for (const statement of HISTORY_IMPORT_SCHEMA_SQL.split(";")) {
|
|
54047
54031
|
const sql4 = statement.trim();
|
|
@@ -54059,16 +54043,80 @@ async function ensureTargetTables(db2, definition) {
|
|
|
54059
54043
|
await db2.exec(ETL_TABLE_DDL(table3));
|
|
54060
54044
|
}
|
|
54061
54045
|
}
|
|
54062
|
-
function
|
|
54063
|
-
|
|
54064
|
-
|
|
54065
|
-
|
|
54066
|
-
|
|
54067
|
-
|
|
54068
|
-
|
|
54069
|
-
|
|
54070
|
-
|
|
54046
|
+
async function readCheckpoint(db2, source, sourceFile) {
|
|
54047
|
+
const row = await db2.queryFirst("SELECT last_imported_line FROM history_import_checkpoint WHERE source = ? AND source_file = ?", source, sourceFile);
|
|
54048
|
+
return row?.last_imported_line ?? 0;
|
|
54049
|
+
}
|
|
54050
|
+
async function resetCheckpoints(db2, source, files) {
|
|
54051
|
+
for (const file2 of files) {
|
|
54052
|
+
await db2.run("DELETE FROM history_import_checkpoint WHERE source = ? AND source_file = ?", source, file2);
|
|
54053
|
+
}
|
|
54054
|
+
}
|
|
54055
|
+
async function writeCheckpoint(db2, source, sourceFile, line, now) {
|
|
54056
|
+
await db2.run(`INSERT INTO history_import_checkpoint (source, source_file, last_imported_line, updated_at)
|
|
54057
|
+
VALUES (?, ?, ?, ?)
|
|
54058
|
+
ON CONFLICT(source, source_file) DO UPDATE SET
|
|
54059
|
+
last_imported_line = excluded.last_imported_line,
|
|
54060
|
+
updated_at = excluded.updated_at`, source, sourceFile, line, timestamp(now));
|
|
54071
54061
|
}
|
|
54062
|
+
async function ledgerExists(db2, recordHash) {
|
|
54063
|
+
const row = await db2.queryFirst("SELECT record_hash FROM history_import_ledger WHERE record_hash = ?", recordHash);
|
|
54064
|
+
return row !== undefined && row !== null;
|
|
54065
|
+
}
|
|
54066
|
+
async function insertRecord(db2, targetTable, recordHash, sourceFile, sourceLine, splitIndex, payload, now) {
|
|
54067
|
+
const table3 = targetTableFor(targetTable);
|
|
54068
|
+
await db2.run(`INSERT INTO ${table3} (record_hash, source_file, source_line, split_index, payload_json, imported_at)
|
|
54069
|
+
VALUES (?, ?, ?, ?, ?, ?)
|
|
54070
|
+
ON CONFLICT(record_hash) DO NOTHING`, recordHash, sourceFile, sourceLine, splitIndex, JSON.stringify(payload), timestamp(now));
|
|
54071
|
+
}
|
|
54072
|
+
async function insertLedger(db2, recordHash, source, sourceFile, sourceLine, splitIndex, targetTable, now) {
|
|
54073
|
+
await db2.run(`INSERT INTO history_import_ledger (record_hash, source, source_file, source_line, split_index, target_table, imported_at)
|
|
54074
|
+
VALUES (?, ?, ?, ?, ?, ?, ?)`, recordHash, source, sourceFile, sourceLine, splitIndex, targetTable, timestamp(now));
|
|
54075
|
+
}
|
|
54076
|
+
var init_jsonl_importer_dao = __esm(() => {
|
|
54077
|
+
init_errors7();
|
|
54078
|
+
init_schema_sql2();
|
|
54079
|
+
init_sources();
|
|
54080
|
+
});
|
|
54081
|
+
|
|
54082
|
+
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.16+d5c29f764bf0e6e0/node_modules/@gobing-ai/ts-llm-jsonl-importer/dist/redaction.js
|
|
54083
|
+
function redactValue(value, rules = DEFAULT_REDACTION_RULES) {
|
|
54084
|
+
if (typeof value === "string") {
|
|
54085
|
+
return rules.reduce((current, rule) => current.replace(rule.pattern, rule.replacement), value);
|
|
54086
|
+
}
|
|
54087
|
+
if (Array.isArray(value)) {
|
|
54088
|
+
return value.map((entry) => redactValue(entry, rules));
|
|
54089
|
+
}
|
|
54090
|
+
if (value !== null && typeof value === "object") {
|
|
54091
|
+
return Object.fromEntries(Object.entries(value).map(([key, entry]) => [key, redactValue(entry, rules)]));
|
|
54092
|
+
}
|
|
54093
|
+
return value;
|
|
54094
|
+
}
|
|
54095
|
+
function redactRecord(record2, rules = DEFAULT_REDACTION_RULES) {
|
|
54096
|
+
return redactValue(record2, rules);
|
|
54097
|
+
}
|
|
54098
|
+
var DEFAULT_REDACTION_RULES;
|
|
54099
|
+
var init_redaction = __esm(() => {
|
|
54100
|
+
DEFAULT_REDACTION_RULES = [
|
|
54101
|
+
{
|
|
54102
|
+
name: "api-key",
|
|
54103
|
+
pattern: /\b(?:sk|pk|ghp|github_pat|xox[baprs])-[-_a-zA-Z0-9]{12,}\b/g,
|
|
54104
|
+
replacement: "[REDACTED:token]"
|
|
54105
|
+
},
|
|
54106
|
+
{
|
|
54107
|
+
name: "assignment-secret",
|
|
54108
|
+
pattern: /\b(?:api[_-]?key|token|secret|password)\s*[:=]\s*["']?[^"',\s}]+/gi,
|
|
54109
|
+
replacement: "[REDACTED:secret]"
|
|
54110
|
+
},
|
|
54111
|
+
{
|
|
54112
|
+
name: "email",
|
|
54113
|
+
pattern: /\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}\b/gi,
|
|
54114
|
+
replacement: "[REDACTED:email]"
|
|
54115
|
+
}
|
|
54116
|
+
];
|
|
54117
|
+
});
|
|
54118
|
+
|
|
54119
|
+
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.16+d5c29f764bf0e6e0/node_modules/@gobing-ai/ts-llm-jsonl-importer/dist/importer.js
|
|
54072
54120
|
async function runJsonlImport(source, options) {
|
|
54073
54121
|
const definition = resolveSourceDefinition(source);
|
|
54074
54122
|
const resolvedSource = definition.source;
|
|
@@ -54240,45 +54288,6 @@ function matchesPattern(path9, patterns) {
|
|
|
54240
54288
|
return path9.endsWith(pattern.replace(/^\*/, ""));
|
|
54241
54289
|
});
|
|
54242
54290
|
}
|
|
54243
|
-
async function readCheckpoint(db2, source, sourceFile) {
|
|
54244
|
-
const row = await db2.queryFirst("SELECT last_imported_line FROM history_import_checkpoint WHERE source = ? AND source_file = ?", source, sourceFile);
|
|
54245
|
-
return row?.last_imported_line ?? 0;
|
|
54246
|
-
}
|
|
54247
|
-
async function resetCheckpoints(db2, source, files) {
|
|
54248
|
-
for (const file2 of files) {
|
|
54249
|
-
await db2.run("DELETE FROM history_import_checkpoint WHERE source = ? AND source_file = ?", source, file2);
|
|
54250
|
-
}
|
|
54251
|
-
}
|
|
54252
|
-
async function writeCheckpoint(db2, source, sourceFile, line, now) {
|
|
54253
|
-
await db2.run(`INSERT INTO history_import_checkpoint (source, source_file, last_imported_line, updated_at)
|
|
54254
|
-
VALUES (?, ?, ?, ?)
|
|
54255
|
-
ON CONFLICT(source, source_file) DO UPDATE SET
|
|
54256
|
-
last_imported_line = excluded.last_imported_line,
|
|
54257
|
-
updated_at = excluded.updated_at`, source, sourceFile, line, timestamp(now));
|
|
54258
|
-
}
|
|
54259
|
-
async function ledgerExists(db2, recordHash) {
|
|
54260
|
-
const row = await db2.queryFirst("SELECT record_hash FROM history_import_ledger WHERE record_hash = ?", recordHash);
|
|
54261
|
-
return row !== undefined && row !== null;
|
|
54262
|
-
}
|
|
54263
|
-
async function insertRecord(db2, targetTable, recordHash, sourceFile, sourceLine, splitIndex, payload, now) {
|
|
54264
|
-
const table3 = targetTableFor(targetTable);
|
|
54265
|
-
await db2.run(`INSERT INTO ${table3} (record_hash, source_file, source_line, split_index, payload_json, imported_at)
|
|
54266
|
-
VALUES (?, ?, ?, ?, ?, ?)
|
|
54267
|
-
ON CONFLICT(record_hash) DO NOTHING`, recordHash, sourceFile, sourceLine, splitIndex, JSON.stringify(payload), timestamp(now));
|
|
54268
|
-
}
|
|
54269
|
-
async function insertLedger(db2, recordHash, source, sourceFile, sourceLine, splitIndex, targetTable, now) {
|
|
54270
|
-
await db2.run(`INSERT INTO history_import_ledger (record_hash, source, source_file, source_line, split_index, target_table, imported_at)
|
|
54271
|
-
VALUES (?, ?, ?, ?, ?, ?, ?)`, recordHash, source, sourceFile, sourceLine, splitIndex, targetTable, timestamp(now));
|
|
54272
|
-
}
|
|
54273
|
-
function targetTableFor(table3) {
|
|
54274
|
-
if (!VALID_TABLE_NAME.test(table3)) {
|
|
54275
|
-
throw new HistoryImportError(`Invalid history ETL target table: ${table3}`, { table: table3 });
|
|
54276
|
-
}
|
|
54277
|
-
return table3;
|
|
54278
|
-
}
|
|
54279
|
-
function timestamp(now) {
|
|
54280
|
-
return (now?.() ?? new Date).toISOString();
|
|
54281
|
-
}
|
|
54282
54291
|
async function* readLines(fileSystem, file2) {
|
|
54283
54292
|
if (fileSystem.readFileStream) {
|
|
54284
54293
|
yield* fileSystem.readFileStream(file2);
|
|
@@ -54291,20 +54300,19 @@ async function* readLines(fileSystem, file2) {
|
|
|
54291
54300
|
}
|
|
54292
54301
|
var init_importer = __esm(() => {
|
|
54293
54302
|
init_dist5();
|
|
54294
|
-
init_errors7();
|
|
54295
54303
|
init_hash();
|
|
54304
|
+
init_jsonl_importer_dao();
|
|
54296
54305
|
init_redaction();
|
|
54297
|
-
init_schema_sql2();
|
|
54298
54306
|
init_sources();
|
|
54299
54307
|
});
|
|
54300
54308
|
|
|
54301
|
-
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.
|
|
54309
|
+
// ../../node_modules/.bun/@gobing-ai+ts-llm-jsonl-importer@0.4.16+d5c29f764bf0e6e0/node_modules/@gobing-ai/ts-llm-jsonl-importer/dist/index.js
|
|
54302
54310
|
var init_dist8 = __esm(() => {
|
|
54303
54311
|
init_importer();
|
|
54304
54312
|
init_schema_sql2();
|
|
54305
54313
|
});
|
|
54306
54314
|
|
|
54307
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
54315
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/config/extensions.js
|
|
54308
54316
|
function collectExtensions(sourceName, sourceDir, extensions) {
|
|
54309
54317
|
if (extensions === undefined)
|
|
54310
54318
|
return [];
|
|
@@ -54320,7 +54328,7 @@ var init_extensions = __esm(() => {
|
|
|
54320
54328
|
init_dist5();
|
|
54321
54329
|
});
|
|
54322
54330
|
|
|
54323
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
54331
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/types.js
|
|
54324
54332
|
function createFinding(rule, message, filePath, extras = {}) {
|
|
54325
54333
|
return {
|
|
54326
54334
|
ruleId: rule.id,
|
|
@@ -54391,7 +54399,7 @@ var init_types3 = __esm(() => {
|
|
|
54391
54399
|
});
|
|
54392
54400
|
});
|
|
54393
54401
|
|
|
54394
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
54402
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/config/loader.js
|
|
54395
54403
|
async function loadPreset(name, options) {
|
|
54396
54404
|
const merged = await buildMergedRoots(options.roots.map((root) => resolvePath4(root)), options.fileSystem);
|
|
54397
54405
|
const presetPath = findMergedPreset(merged, name);
|
|
@@ -54606,7 +54614,7 @@ var init_loader2 = __esm(() => {
|
|
|
54606
54614
|
FIX_MODE_AUTHORITY = { none: 0, suggest: 1, auto: 2 };
|
|
54607
54615
|
});
|
|
54608
54616
|
|
|
54609
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
54617
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/fixers/test-stub-fixer.js
|
|
54610
54618
|
function normalizeFindingPath(filePath) {
|
|
54611
54619
|
if (!filePath || isAbsolutePath2(filePath))
|
|
54612
54620
|
return null;
|
|
@@ -54671,7 +54679,7 @@ var init_test_stub_fixer = __esm(() => {
|
|
|
54671
54679
|
realFileSystem = createNodeFileSystem3();
|
|
54672
54680
|
});
|
|
54673
54681
|
|
|
54674
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
54682
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/fixers/fixers.js
|
|
54675
54683
|
function registerBuiltinFixers(host, exec) {
|
|
54676
54684
|
const regexFixer = new RegexFixerProvider;
|
|
54677
54685
|
const pathFixer = new PathFixerProvider;
|
|
@@ -54874,7 +54882,7 @@ var init_fixers = __esm(() => {
|
|
|
54874
54882
|
};
|
|
54875
54883
|
});
|
|
54876
54884
|
|
|
54877
|
-
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.
|
|
54885
|
+
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.16+ae22402965cb65aa/node_modules/@gobing-ai/ts-ai-runner/dist/agents/shims.js
|
|
54878
54886
|
function resolveAgentName(input) {
|
|
54879
54887
|
if (isCanonicalName(input))
|
|
54880
54888
|
return input;
|
|
@@ -55125,7 +55133,7 @@ var init_shims = __esm(() => {
|
|
|
55125
55133
|
ALIAS_TO_CANONICAL = Object.fromEntries(Object.values(AGENT_SHIMS).flatMap((shim) => (shim.aliases ?? []).map((alias3) => [alias3, shim.name])));
|
|
55126
55134
|
});
|
|
55127
55135
|
|
|
55128
|
-
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.
|
|
55136
|
+
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.16+ae22402965cb65aa/node_modules/@gobing-ai/ts-ai-runner/dist/identity.js
|
|
55129
55137
|
function buildIdentityPreamble(ctx) {
|
|
55130
55138
|
const sections = [
|
|
55131
55139
|
`You are agent \`${ctx.agentId}\` (${ctx.agentType}) in workspace \`${ctx.workspace}\`.`
|
|
@@ -55185,7 +55193,7 @@ var init_identity = __esm(() => {
|
|
|
55185
55193
|
init_dist5();
|
|
55186
55194
|
});
|
|
55187
55195
|
|
|
55188
|
-
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.
|
|
55196
|
+
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.16+ae22402965cb65aa/node_modules/@gobing-ai/ts-ai-runner/dist/slash-command.js
|
|
55189
55197
|
function isClaudeStyleSlashCommand(input) {
|
|
55190
55198
|
return SLASH_COMMAND_RE.test(input);
|
|
55191
55199
|
}
|
|
@@ -55213,7 +55221,7 @@ var init_slash_command = __esm(() => {
|
|
|
55213
55221
|
SLASH_COMMAND_RE = /^\/([a-zA-Z0-9._-]+):([a-zA-Z0-9._-]+)(\s.*)?$/;
|
|
55214
55222
|
});
|
|
55215
55223
|
|
|
55216
|
-
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.
|
|
55224
|
+
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.16+ae22402965cb65aa/node_modules/@gobing-ai/ts-ai-runner/dist/ai-runner.js
|
|
55217
55225
|
function buildCorrelationEnv(correlation) {
|
|
55218
55226
|
return {
|
|
55219
55227
|
[AGENT_RUN_ID_ENV]: correlation.runId,
|
|
@@ -55349,7 +55357,7 @@ var init_ai_runner = __esm(() => {
|
|
|
55349
55357
|
init_slash_command();
|
|
55350
55358
|
});
|
|
55351
55359
|
|
|
55352
|
-
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.
|
|
55360
|
+
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.16+ae22402965cb65aa/node_modules/@gobing-ai/ts-ai-runner/dist/agent-detector.js
|
|
55353
55361
|
class AgentDetector {
|
|
55354
55362
|
runner;
|
|
55355
55363
|
timeout;
|
|
@@ -55425,7 +55433,7 @@ var init_agent_detector = __esm(() => {
|
|
|
55425
55433
|
VERSION_PATTERN = /(?<version>\d+\.\d+(?:\.\d+)?)/;
|
|
55426
55434
|
});
|
|
55427
55435
|
|
|
55428
|
-
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.
|
|
55436
|
+
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.16+ae22402965cb65aa/node_modules/@gobing-ai/ts-ai-runner/dist/agent-spec.js
|
|
55429
55437
|
function validateAgentId(id) {
|
|
55430
55438
|
if (!/^[a-z][a-z0-9_-]{1,63}$/.test(id)) {
|
|
55431
55439
|
throw new ValueError(`Invalid agent id "${id}": expected 2-64 chars, lowercase alphanumeric, "_" or "-"`);
|
|
@@ -55522,7 +55530,7 @@ var init_agent_spec = __esm(() => {
|
|
|
55522
55530
|
};
|
|
55523
55531
|
});
|
|
55524
55532
|
|
|
55525
|
-
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.
|
|
55533
|
+
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.16+ae22402965cb65aa/node_modules/@gobing-ai/ts-ai-runner/dist/agents/auth-shims.js
|
|
55526
55534
|
function isNonEmpty(value) {
|
|
55527
55535
|
return value !== undefined && value.trim().length > 0;
|
|
55528
55536
|
}
|
|
@@ -55627,7 +55635,7 @@ var init_auth_shims = __esm(() => {
|
|
|
55627
55635
|
};
|
|
55628
55636
|
});
|
|
55629
55637
|
|
|
55630
|
-
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.
|
|
55638
|
+
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.16+ae22402965cb65aa/node_modules/@gobing-ai/ts-ai-runner/dist/model-health-probe.js
|
|
55631
55639
|
class ModelHealthProbeRegistry {
|
|
55632
55640
|
probes = new Map;
|
|
55633
55641
|
register(providerPrefix, probe) {
|
|
@@ -55735,7 +55743,7 @@ var init_model_health_probe = __esm(() => {
|
|
|
55735
55743
|
};
|
|
55736
55744
|
});
|
|
55737
55745
|
|
|
55738
|
-
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.
|
|
55746
|
+
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.16+ae22402965cb65aa/node_modules/@gobing-ai/ts-ai-runner/dist/doctor-runner.js
|
|
55739
55747
|
class DoctorRunner {
|
|
55740
55748
|
detector;
|
|
55741
55749
|
runner;
|
|
@@ -55872,15 +55880,15 @@ var init_doctor_runner = __esm(() => {
|
|
|
55872
55880
|
init_model_health_probe();
|
|
55873
55881
|
});
|
|
55874
55882
|
|
|
55875
|
-
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.
|
|
55883
|
+
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.16+ae22402965cb65aa/node_modules/@gobing-ai/ts-ai-runner/dist/events.js
|
|
55876
55884
|
var init_events = () => {};
|
|
55877
55885
|
|
|
55878
|
-
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.
|
|
55886
|
+
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.16+ae22402965cb65aa/node_modules/@gobing-ai/ts-ai-runner/dist/messages.js
|
|
55879
55887
|
function formatMessage(msg) {
|
|
55880
55888
|
return `[task from=${msg.fromId ?? "operator"} id=${msg.id}] ${msg.body}`;
|
|
55881
55889
|
}
|
|
55882
55890
|
|
|
55883
|
-
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.
|
|
55891
|
+
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.16+ae22402965cb65aa/node_modules/@gobing-ai/ts-ai-runner/dist/team-agent-process.js
|
|
55884
55892
|
import { Buffer as Buffer5 } from "buffer";
|
|
55885
55893
|
|
|
55886
55894
|
class TeamAgentProcess {
|
|
@@ -56014,7 +56022,7 @@ var init_team_agent_process = __esm(() => {
|
|
|
56014
56022
|
init_dist5();
|
|
56015
56023
|
});
|
|
56016
56024
|
|
|
56017
|
-
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.
|
|
56025
|
+
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.16+ae22402965cb65aa/node_modules/@gobing-ai/ts-ai-runner/dist/team-orchestrator.js
|
|
56018
56026
|
class TeamOrchestrator {
|
|
56019
56027
|
configDir;
|
|
56020
56028
|
inbox;
|
|
@@ -56143,7 +56151,7 @@ var init_team_orchestrator = __esm(() => {
|
|
|
56143
56151
|
init_team_agent_process();
|
|
56144
56152
|
});
|
|
56145
56153
|
|
|
56146
|
-
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.
|
|
56154
|
+
// ../../node_modules/.bun/@gobing-ai+ts-ai-runner@0.4.16+ae22402965cb65aa/node_modules/@gobing-ai/ts-ai-runner/dist/index.js
|
|
56147
56155
|
var exports_dist3 = {};
|
|
56148
56156
|
__export(exports_dist3, {
|
|
56149
56157
|
validateAgentId: () => validateAgentId,
|
|
@@ -56194,7 +56202,7 @@ var init_dist9 = __esm(() => {
|
|
|
56194
56202
|
init_team_orchestrator();
|
|
56195
56203
|
});
|
|
56196
56204
|
|
|
56197
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
56205
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/config-access.js
|
|
56198
56206
|
function stringArray(value) {
|
|
56199
56207
|
return Array.isArray(value) && value.every((item) => typeof item === "string") ? value : undefined;
|
|
56200
56208
|
}
|
|
@@ -56232,7 +56240,7 @@ function parseInlineFlags(source) {
|
|
|
56232
56240
|
return { flags, rest: source.slice(match[0].length) };
|
|
56233
56241
|
}
|
|
56234
56242
|
|
|
56235
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
56243
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/glob-match.js
|
|
56236
56244
|
function matchesAny(path9, patterns) {
|
|
56237
56245
|
if (patterns === undefined || patterns.length === 0)
|
|
56238
56246
|
return true;
|
|
@@ -56280,7 +56288,7 @@ function escapeRegExp(value) {
|
|
|
56280
56288
|
return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
56281
56289
|
}
|
|
56282
56290
|
|
|
56283
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
56291
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/file-discovery.js
|
|
56284
56292
|
async function discoverFiles2(options) {
|
|
56285
56293
|
const fs3 = options.fs ?? createNodeFileSystem3();
|
|
56286
56294
|
const allFiles = await walkDir2(options.workdir, fs3, DEFAULT_EXCLUDES);
|
|
@@ -56308,12 +56316,12 @@ var init_file_discovery = __esm(() => {
|
|
|
56308
56316
|
DEFAULT_EXCLUDES = new Set([".git", "node_modules", "dist", ".coverage", ".astro", ".wrangler"]);
|
|
56309
56317
|
});
|
|
56310
56318
|
|
|
56311
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
56319
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/file-utils.js
|
|
56312
56320
|
var init_file_utils = __esm(() => {
|
|
56313
56321
|
init_file_discovery();
|
|
56314
56322
|
});
|
|
56315
56323
|
|
|
56316
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
56324
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/agent-detection-evaluator.js
|
|
56317
56325
|
class AgentDetectionEvaluator {
|
|
56318
56326
|
detector;
|
|
56319
56327
|
constructor(detector = new AgentDetector) {
|
|
@@ -56341,7 +56349,7 @@ var init_agent_detection_evaluator = __esm(() => {
|
|
|
56341
56349
|
init_file_utils();
|
|
56342
56350
|
});
|
|
56343
56351
|
|
|
56344
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
56352
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/coverage-gate-evaluator.js
|
|
56345
56353
|
class CoverageGateEvaluator {
|
|
56346
56354
|
constructor() {}
|
|
56347
56355
|
async evaluate(rule, context4) {
|
|
@@ -56425,7 +56433,7 @@ var init_coverage_gate_evaluator = __esm(() => {
|
|
|
56425
56433
|
init_file_utils();
|
|
56426
56434
|
});
|
|
56427
56435
|
|
|
56428
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
56436
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/exit-code-evaluator.js
|
|
56429
56437
|
class ExitCodeEvaluator {
|
|
56430
56438
|
executor;
|
|
56431
56439
|
constructor(executor = nodeBunFactory3.createProcessExecutor()) {
|
|
@@ -56461,7 +56469,7 @@ var init_exit_code_evaluator = __esm(() => {
|
|
|
56461
56469
|
init_file_utils();
|
|
56462
56470
|
});
|
|
56463
56471
|
|
|
56464
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
56472
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/forbidden-import-evaluator.js
|
|
56465
56473
|
class ForbiddenImportEvaluator {
|
|
56466
56474
|
constructor() {}
|
|
56467
56475
|
async evaluate(rule, context4) {
|
|
@@ -56542,7 +56550,7 @@ var init_forbidden_import_evaluator = __esm(() => {
|
|
|
56542
56550
|
init_file_utils();
|
|
56543
56551
|
});
|
|
56544
56552
|
|
|
56545
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
56553
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/import-boundary-evaluator.js
|
|
56546
56554
|
class ImportBoundaryEvaluator {
|
|
56547
56555
|
async evaluate(rule, context4) {
|
|
56548
56556
|
const config4 = rule.evaluator.config ?? {};
|
|
@@ -56635,7 +56643,7 @@ var init_import_boundary_evaluator = __esm(() => {
|
|
|
56635
56643
|
init_file_utils();
|
|
56636
56644
|
});
|
|
56637
56645
|
|
|
56638
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
56646
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/path-evaluator.js
|
|
56639
56647
|
class PathEvaluator {
|
|
56640
56648
|
constructor() {}
|
|
56641
56649
|
async evaluate(rule, context4) {
|
|
@@ -56696,7 +56704,7 @@ var init_path_evaluator = __esm(() => {
|
|
|
56696
56704
|
init_file_utils();
|
|
56697
56705
|
});
|
|
56698
56706
|
|
|
56699
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
56707
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/regex-evaluator.js
|
|
56700
56708
|
class RegexEvaluator {
|
|
56701
56709
|
constructor() {}
|
|
56702
56710
|
async evaluate(rule, context4) {
|
|
@@ -56774,7 +56782,7 @@ var init_regex_evaluator = __esm(() => {
|
|
|
56774
56782
|
init_file_utils();
|
|
56775
56783
|
});
|
|
56776
56784
|
|
|
56777
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
56785
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/ripgrep-evaluator.js
|
|
56778
56786
|
class RipgrepEvaluator {
|
|
56779
56787
|
executor;
|
|
56780
56788
|
constructor(executor = nodeBunFactory3.createProcessExecutor()) {
|
|
@@ -56867,7 +56875,7 @@ var init_ripgrep_evaluator = __esm(() => {
|
|
|
56867
56875
|
init_file_utils();
|
|
56868
56876
|
});
|
|
56869
56877
|
|
|
56870
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
56878
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/schema-artifact-evaluator.js
|
|
56871
56879
|
class SchemaArtifactEvaluator {
|
|
56872
56880
|
constructor() {}
|
|
56873
56881
|
async evaluate(rule, context4) {
|
|
@@ -56945,7 +56953,7 @@ var init_schema_artifact_evaluator = __esm(() => {
|
|
|
56945
56953
|
init_file_utils();
|
|
56946
56954
|
});
|
|
56947
56955
|
|
|
56948
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
56956
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/secrets-scanner-evaluator.js
|
|
56949
56957
|
class SecretsScannerEvaluator {
|
|
56950
56958
|
constructor() {}
|
|
56951
56959
|
async evaluate(rule, context4) {
|
|
@@ -57013,7 +57021,7 @@ var init_secrets_scanner_evaluator = __esm(() => {
|
|
|
57013
57021
|
ALL_CATEGORIES = Object.keys(BUILTIN_PATTERNS);
|
|
57014
57022
|
});
|
|
57015
57023
|
|
|
57016
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
57024
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/sg-evaluator.js
|
|
57017
57025
|
class SgEvaluator {
|
|
57018
57026
|
executor;
|
|
57019
57027
|
constructor(executor = nodeBunFactory3.createProcessExecutor()) {
|
|
@@ -57110,7 +57118,7 @@ var init_sg_evaluator = __esm(() => {
|
|
|
57110
57118
|
init_file_utils();
|
|
57111
57119
|
});
|
|
57112
57120
|
|
|
57113
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
57121
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/resolvers/test-path-resolver.js
|
|
57114
57122
|
class TypeScriptTestPathResolver {
|
|
57115
57123
|
name = "typescript";
|
|
57116
57124
|
constructor() {}
|
|
@@ -57193,7 +57201,7 @@ function testify(rel) {
|
|
|
57193
57201
|
return `${dir}test_${base2}`;
|
|
57194
57202
|
}
|
|
57195
57203
|
|
|
57196
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
57204
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/test-location-evaluator.js
|
|
57197
57205
|
class TestLocationEvaluator {
|
|
57198
57206
|
resolvers;
|
|
57199
57207
|
constructor(resolvers) {
|
|
@@ -57268,7 +57276,7 @@ var init_test_location_evaluator = __esm(() => {
|
|
|
57268
57276
|
TYPESCRIPT_FALLBACK = new TypeScriptTestPathResolver;
|
|
57269
57277
|
});
|
|
57270
57278
|
|
|
57271
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
57279
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/evaluators/tsdoc-export-evaluator.js
|
|
57272
57280
|
class TsdocExportEvaluator {
|
|
57273
57281
|
constructor() {}
|
|
57274
57282
|
async evaluate(rule, context4) {
|
|
@@ -57353,7 +57361,7 @@ var init_tsdoc_export_evaluator = __esm(() => {
|
|
|
57353
57361
|
};
|
|
57354
57362
|
});
|
|
57355
57363
|
|
|
57356
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
57364
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/formatters/json.js
|
|
57357
57365
|
class JsonFormatter {
|
|
57358
57366
|
constructor() {}
|
|
57359
57367
|
format(result) {
|
|
@@ -57361,7 +57369,7 @@ class JsonFormatter {
|
|
|
57361
57369
|
}
|
|
57362
57370
|
}
|
|
57363
57371
|
|
|
57364
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
57372
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/formatters/text.js
|
|
57365
57373
|
class TextFormatter {
|
|
57366
57374
|
constructor() {}
|
|
57367
57375
|
format(result) {
|
|
@@ -57375,7 +57383,7 @@ class TextFormatter {
|
|
|
57375
57383
|
}
|
|
57376
57384
|
}
|
|
57377
57385
|
|
|
57378
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
57386
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/host/builtins.js
|
|
57379
57387
|
function registerBuiltins(host, executor) {
|
|
57380
57388
|
const path9 = new PathEvaluator;
|
|
57381
57389
|
host.evaluators.register("regex", new RegexEvaluator, "builtin");
|
|
@@ -57415,7 +57423,7 @@ var init_builtins = __esm(() => {
|
|
|
57415
57423
|
init_tsdoc_export_evaluator();
|
|
57416
57424
|
});
|
|
57417
57425
|
|
|
57418
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
57426
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/host/rule-engine-host.js
|
|
57419
57427
|
class RuleEngineHost {
|
|
57420
57428
|
evaluators;
|
|
57421
57429
|
formatters;
|
|
@@ -57432,7 +57440,7 @@ var init_rule_engine_host = __esm(() => {
|
|
|
57432
57440
|
init_extension2();
|
|
57433
57441
|
});
|
|
57434
57442
|
|
|
57435
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
57443
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/engine.js
|
|
57436
57444
|
class RuleEngine {
|
|
57437
57445
|
host;
|
|
57438
57446
|
events;
|
|
@@ -57603,7 +57611,7 @@ var init_engine = __esm(() => {
|
|
|
57603
57611
|
init_types3();
|
|
57604
57612
|
});
|
|
57605
57613
|
|
|
57606
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
57614
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/host/bundled-rules.js
|
|
57607
57615
|
async function bundledRulesRoot() {
|
|
57608
57616
|
if (cachedRoot2 !== undefined)
|
|
57609
57617
|
return cachedRoot2;
|
|
@@ -57654,7 +57662,7 @@ var init_bundled_rules = __esm(() => {
|
|
|
57654
57662
|
init_dist5();
|
|
57655
57663
|
});
|
|
57656
57664
|
|
|
57657
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
57665
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/persistence/db-adapter.js
|
|
57658
57666
|
class DbRulePersistenceAdapter {
|
|
57659
57667
|
db;
|
|
57660
57668
|
constructor(db2) {
|
|
@@ -57688,7 +57696,7 @@ class DbRulePersistenceAdapter {
|
|
|
57688
57696
|
}
|
|
57689
57697
|
}
|
|
57690
57698
|
|
|
57691
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
57699
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/persistence/schema.js
|
|
57692
57700
|
var RULE_ENGINE_SCHEMA_SQL = `
|
|
57693
57701
|
CREATE TABLE IF NOT EXISTS rule_runs (
|
|
57694
57702
|
id TEXT PRIMARY KEY,
|
|
@@ -57734,10 +57742,10 @@ CREATE TABLE IF NOT EXISTS rule_eval_runs (
|
|
|
57734
57742
|
CREATE INDEX IF NOT EXISTS idx_rule_eval_runs_run_id ON rule_eval_runs (run_id);
|
|
57735
57743
|
`;
|
|
57736
57744
|
|
|
57737
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
57745
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/persistence/index.js
|
|
57738
57746
|
var init_persistence2 = () => {};
|
|
57739
57747
|
|
|
57740
|
-
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.
|
|
57748
|
+
// ../../node_modules/.bun/@gobing-ai+ts-rule-engine@0.4.16+eb8900f44f4776f9/node_modules/@gobing-ai/ts-rule-engine/dist/index.js
|
|
57741
57749
|
var init_dist10 = __esm(() => {
|
|
57742
57750
|
init_extensions();
|
|
57743
57751
|
init_loader2();
|
|
@@ -57957,7 +57965,7 @@ ${SYSTEM_EVENTS_SCHEMA_SQL}
|
|
|
57957
57965
|
];
|
|
57958
57966
|
});
|
|
57959
57967
|
|
|
57960
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
57968
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/job-queue/db-job-queue.js
|
|
57961
57969
|
function queueLogger() {
|
|
57962
57970
|
if (!_queueLogger)
|
|
57963
57971
|
_queueLogger = getLogger2("job-queue");
|
|
@@ -58234,7 +58242,7 @@ var init_db_job_queue = __esm(() => {
|
|
|
58234
58242
|
init_tracing2();
|
|
58235
58243
|
});
|
|
58236
58244
|
|
|
58237
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
58245
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/job-queue-db.js
|
|
58238
58246
|
var exports_job_queue_db = {};
|
|
58239
58247
|
__export(exports_job_queue_db, {
|
|
58240
58248
|
DBQueueConsumer: () => DBQueueConsumer,
|
|
@@ -58256,6 +58264,7 @@ async function createMigratedDbViaRuntime(config4) {
|
|
|
58256
58264
|
const { loadRuntimeFactory: loadRuntimeFactory3 } = await Promise.resolve().then(() => (init_dist5(), exports_dist2));
|
|
58257
58265
|
const factory = await loadRuntimeFactory3();
|
|
58258
58266
|
const runtimeAdapter = await factory.createDbAdapter(config4);
|
|
58267
|
+
await runtimeAdapter.exec("PRAGMA busy_timeout = 5000");
|
|
58259
58268
|
await applyCliMigrations(runtimeAdapter);
|
|
58260
58269
|
return runtimeAdapter;
|
|
58261
58270
|
}
|
|
@@ -70548,19 +70557,19 @@ var {
|
|
|
70548
70557
|
init_src();
|
|
70549
70558
|
init_loader();
|
|
70550
70559
|
|
|
70551
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
70560
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/application-node.js
|
|
70552
70561
|
init_dist4();
|
|
70553
70562
|
init_dist5();
|
|
70554
70563
|
import { appendFileSync as appendFileSync4, mkdirSync as mkdirSync3, readFileSync as readFileSync5 } from "fs";
|
|
70555
70564
|
import { dirname as dirname5 } from "path";
|
|
70556
70565
|
|
|
70557
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
70566
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/application/index.js
|
|
70558
70567
|
init_default_observers();
|
|
70559
70568
|
init_event_bus();
|
|
70560
70569
|
init_file_observer();
|
|
70561
70570
|
init_logger3();
|
|
70562
70571
|
|
|
70563
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
70572
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/scheduler/noop.js
|
|
70564
70573
|
class NoopSchedulerAdapter {
|
|
70565
70574
|
constructor() {}
|
|
70566
70575
|
register(_cron, _action) {}
|
|
@@ -70568,7 +70577,7 @@ class NoopSchedulerAdapter {
|
|
|
70568
70577
|
async stop() {}
|
|
70569
70578
|
}
|
|
70570
70579
|
|
|
70571
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
70580
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/scheduler/factory.js
|
|
70572
70581
|
function initScheduler(adapter, cronEntries) {
|
|
70573
70582
|
const resolved = adapter ?? new NoopSchedulerAdapter;
|
|
70574
70583
|
if (cronEntries) {
|
|
@@ -70579,7 +70588,7 @@ function initScheduler(adapter, cronEntries) {
|
|
|
70579
70588
|
return resolved;
|
|
70580
70589
|
}
|
|
70581
70590
|
|
|
70582
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
70591
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/application/plugins/builtins.js
|
|
70583
70592
|
init_logger3();
|
|
70584
70593
|
init_metrics();
|
|
70585
70594
|
init_sdk();
|
|
@@ -70672,7 +70681,7 @@ function dbPlugin(db2) {
|
|
|
70672
70681
|
};
|
|
70673
70682
|
}
|
|
70674
70683
|
|
|
70675
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
70684
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/application/plugins/host.js
|
|
70676
70685
|
init_logger3();
|
|
70677
70686
|
|
|
70678
70687
|
class PluginHost {
|
|
@@ -70760,7 +70769,7 @@ class PluginHost {
|
|
|
70760
70769
|
}
|
|
70761
70770
|
}
|
|
70762
70771
|
|
|
70763
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
70772
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/application/index.js
|
|
70764
70773
|
async function performShutdown(state, reason) {
|
|
70765
70774
|
if (state.stopped)
|
|
70766
70775
|
return;
|
|
@@ -70871,10 +70880,10 @@ async function runApplication(options) {
|
|
|
70871
70880
|
}
|
|
70872
70881
|
}
|
|
70873
70882
|
|
|
70874
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
70883
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/application-node.js
|
|
70875
70884
|
init_scheduler_node();
|
|
70876
70885
|
|
|
70877
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
70886
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/telemetry/otel-node.js
|
|
70878
70887
|
var import_api14 = __toESM(require_src(), 1);
|
|
70879
70888
|
|
|
70880
70889
|
// ../../node_modules/.bun/@opentelemetry+exporter-metrics-otlp-http@0.218.0+e40b0dfdd726a224/node_modules/@opentelemetry/exporter-metrics-otlp-http/build/esm/OTLPMetricExporterBase.js
|
|
@@ -73890,7 +73899,7 @@ class OTLPTraceExporter extends import_otlp_exporter_base2.OTLPExporterBase {
|
|
|
73890
73899
|
}), JsonTraceSerializer));
|
|
73891
73900
|
}
|
|
73892
73901
|
}
|
|
73893
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
73902
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/telemetry/otel-node.js
|
|
73894
73903
|
var import_resources2 = __toESM(require_src4(), 1);
|
|
73895
73904
|
var import_sdk_trace_node = __toESM(require_src8(), 1);
|
|
73896
73905
|
var import_semantic_conventions = __toESM(require_src2(), 1);
|
|
@@ -73941,7 +73950,7 @@ async function shutdownNodeTelemetry() {
|
|
|
73941
73950
|
await Promise.all(pending);
|
|
73942
73951
|
}
|
|
73943
73952
|
|
|
73944
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.
|
|
73953
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.4.16+4e212f5ced9864ce/node_modules/@gobing-ai/ts-infra/dist/application-node.js
|
|
73945
73954
|
class ConfigValidationError extends Error {
|
|
73946
73955
|
constructor(message) {
|
|
73947
73956
|
super(message);
|
|
@@ -78532,7 +78541,7 @@ import { join as join19, resolve as resolve6 } from "path";
|
|
|
78532
78541
|
var CLI_CONFIG = {
|
|
78533
78542
|
binaryName: "spur",
|
|
78534
78543
|
binaryLabel: "spur",
|
|
78535
|
-
binaryVersion: "0.3.
|
|
78544
|
+
binaryVersion: "0.3.30",
|
|
78536
78545
|
configDir: ".spur",
|
|
78537
78546
|
configFile: ".spur/config.yaml",
|
|
78538
78547
|
databaseFile: ".spur/spur.db"
|