@lordierclaw/bluenote-term 0.4.2 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
|
|
7
7
|
// node_modules/.bun/sql.js@1.10.3/node_modules/sql.js/dist/sql-wasm.js
|
|
8
8
|
var require_sql_wasm = __commonJS((exports, module) => {
|
|
9
|
-
var __dirname = "/
|
|
9
|
+
var __dirname = "/home/runner/work/bluenote-term/bluenote-term/node_modules/.bun/sql.js@1.10.3/node_modules/sql.js/dist";
|
|
10
10
|
var initSqlJsPromise = undefined;
|
|
11
11
|
var initSqlJs = function(moduleConfig) {
|
|
12
12
|
if (initSqlJsPromise) {
|
|
@@ -44830,11 +44830,11 @@ class TimeToFirstDrawRenderable extends Renderable {
|
|
|
44830
44830
|
}
|
|
44831
44831
|
}
|
|
44832
44832
|
|
|
44833
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
44833
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/config/root.js
|
|
44834
44834
|
import os2 from "node:os";
|
|
44835
44835
|
import path4 from "node:path";
|
|
44836
44836
|
|
|
44837
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
44837
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/errors.js
|
|
44838
44838
|
class AppError extends Error {
|
|
44839
44839
|
constructor(code, message, options = {}) {
|
|
44840
44840
|
super(message, "cause" in options ? { cause: options.cause } : undefined);
|
|
@@ -44888,7 +44888,7 @@ function isValidationOrDataError(error) {
|
|
|
44888
44888
|
return error instanceof InvalidFrontmatterError || error instanceof AmbiguousSelectorError || error instanceof IndexUnavailableError || error instanceof IndexValidationFailedError;
|
|
44889
44889
|
}
|
|
44890
44890
|
|
|
44891
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
44891
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/config/root.js
|
|
44892
44892
|
var DEFAULT_BLUENOTE_ROOT_DIRECTORY = ".bluenote";
|
|
44893
44893
|
var APP_STATE_DIRECTORY = ".data";
|
|
44894
44894
|
var APP_STATE_NOTES_DIRECTORY = path4.join(APP_STATE_DIRECTORY, "notes");
|
|
@@ -44930,7 +44930,7 @@ function resolveBlueNoteRoot(options = {}) {
|
|
|
44930
44930
|
return path4.resolve(cwd, rootPath);
|
|
44931
44931
|
}
|
|
44932
44932
|
|
|
44933
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
44933
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/state-manifest.js
|
|
44934
44934
|
import path6 from "node:path";
|
|
44935
44935
|
import { mkdirSync, readFileSync, writeFileSync as writeFileSync2 } from "node:fs";
|
|
44936
44936
|
function createDefaultStateManifest() {
|
|
@@ -44949,11 +44949,11 @@ function writeStateManifest(rootPath, manifest = createDefaultStateManifest()) {
|
|
|
44949
44949
|
return manifestPath;
|
|
44950
44950
|
}
|
|
44951
44951
|
|
|
44952
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
44952
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/root-layout.js
|
|
44953
44953
|
import path8 from "node:path";
|
|
44954
44954
|
import { lstatSync, mkdirSync as mkdirSync2 } from "node:fs";
|
|
44955
44955
|
|
|
44956
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
44956
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/platform/path-safety.js
|
|
44957
44957
|
import path7 from "node:path";
|
|
44958
44958
|
function assertPathInsideRoot(rootPath, targetPath) {
|
|
44959
44959
|
if (rootPath === "") {
|
|
@@ -44982,7 +44982,7 @@ function toRootRelativePath(rootPath, targetPath) {
|
|
|
44982
44982
|
return toPortableRelativePath(relativePath);
|
|
44983
44983
|
}
|
|
44984
44984
|
|
|
44985
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
44985
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/root-layout.js
|
|
44986
44986
|
var MANAGED_ROOT_LAYOUT = [
|
|
44987
44987
|
"note",
|
|
44988
44988
|
"draft",
|
|
@@ -45099,7 +45099,7 @@ function ensureManagedRoot(rootPath) {
|
|
|
45099
45099
|
return normalizedRootPath;
|
|
45100
45100
|
}
|
|
45101
45101
|
|
|
45102
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
45102
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/app-state-migration.js
|
|
45103
45103
|
import fs2 from "node:fs";
|
|
45104
45104
|
import path9 from "node:path";
|
|
45105
45105
|
var CONFLICT_MESSAGE = "Cannot migrate legacy .state because .data already contains conflicting app state.";
|
|
@@ -45320,7 +45320,7 @@ function migrateLegacyAppStateToData(rootPath) {
|
|
|
45320
45320
|
return getResult(migratedFileCount > 0 ? "migrated" : "noop", migratedFileCount, legacyStatePath, dataStatePath);
|
|
45321
45321
|
}
|
|
45322
45322
|
|
|
45323
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
45323
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/init-root.js
|
|
45324
45324
|
function initRoot(options = {}) {
|
|
45325
45325
|
const rootPath = ensureManagedRoot(resolveBlueNoteRoot(options));
|
|
45326
45326
|
migrateLegacyAppStateToData(rootPath);
|
|
@@ -45337,9 +45337,10 @@ function initRoot(options = {}) {
|
|
|
45337
45337
|
};
|
|
45338
45338
|
}
|
|
45339
45339
|
|
|
45340
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
45340
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/index/index-store.js
|
|
45341
45341
|
import path10 from "node:path";
|
|
45342
45342
|
import { existsSync as existsSync3, mkdirSync as mkdirSync3, readFileSync as readFileSync2, writeFileSync as writeFileSync3 } from "node:fs";
|
|
45343
|
+
import { createRequire as createRequire2 } from "node:module";
|
|
45343
45344
|
|
|
45344
45345
|
// node_modules/.bun/minisearch@6.3.0/node_modules/minisearch/dist/es/index.js
|
|
45345
45346
|
var __assign = function() {
|
|
@@ -47157,10 +47158,10 @@ var objectToNumericMap = function(object) {
|
|
|
47157
47158
|
};
|
|
47158
47159
|
var SPACE_OR_PUNCTUATION = /[\n\r -#%-*,-/:;?@[-\]_{}\u00A0\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u1680\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2000-\u200A\u2010-\u2029\u202F-\u2043\u2045-\u2051\u2053-\u205F\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u3000-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]+/u;
|
|
47159
47160
|
|
|
47160
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47161
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/index/index-store.js
|
|
47161
47162
|
var import_sql = __toESM(require_sql_wasm(), 1);
|
|
47162
47163
|
|
|
47163
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47164
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/search/contains-match.js
|
|
47164
47165
|
var EXACT_MATCH_BASE_SCORE = 120;
|
|
47165
47166
|
var PREFIX_MATCH_BASE_SCORE = 100;
|
|
47166
47167
|
var SUBSTRING_MATCH_BASE_SCORE = 80;
|
|
@@ -47248,7 +47249,7 @@ function tokenize(value) {
|
|
|
47248
47249
|
return value.split(/[^\p{L}\p{N}]+/u).filter((token) => token.length > 0);
|
|
47249
47250
|
}
|
|
47250
47251
|
|
|
47251
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47252
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/index/search-documents.js
|
|
47252
47253
|
function getDescription(note) {
|
|
47253
47254
|
if ("description" in note) {
|
|
47254
47255
|
return note.description;
|
|
@@ -47267,10 +47268,15 @@ function createSearchDocuments(notes) {
|
|
|
47267
47268
|
}));
|
|
47268
47269
|
}
|
|
47269
47270
|
|
|
47270
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47271
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/index/index-store.js
|
|
47271
47272
|
var SQL_WASM_FILENAME = "sql-wasm.wasm";
|
|
47272
47273
|
var executableAdjacentSqlWasmPath = path10.join(path10.dirname(process.execPath), SQL_WASM_FILENAME);
|
|
47273
47274
|
var projectSqlWasmPath = path10.resolve("node_modules", "sql.js", "dist", SQL_WASM_FILENAME);
|
|
47275
|
+
var resolvedSqlWasmPath = null;
|
|
47276
|
+
try {
|
|
47277
|
+
const require2 = createRequire2(import.meta.url);
|
|
47278
|
+
resolvedSqlWasmPath = require2.resolve("sql.js/dist/sql-wasm.wasm");
|
|
47279
|
+
} catch {}
|
|
47274
47280
|
function locateSqlWasm(fileName) {
|
|
47275
47281
|
if (fileName !== SQL_WASM_FILENAME) {
|
|
47276
47282
|
return fileName;
|
|
@@ -47278,6 +47284,9 @@ function locateSqlWasm(fileName) {
|
|
|
47278
47284
|
if (existsSync3(executableAdjacentSqlWasmPath)) {
|
|
47279
47285
|
return executableAdjacentSqlWasmPath;
|
|
47280
47286
|
}
|
|
47287
|
+
if (resolvedSqlWasmPath && existsSync3(resolvedSqlWasmPath)) {
|
|
47288
|
+
return resolvedSqlWasmPath;
|
|
47289
|
+
}
|
|
47281
47290
|
if (existsSync3(projectSqlWasmPath)) {
|
|
47282
47291
|
return projectSqlWasmPath;
|
|
47283
47292
|
}
|
|
@@ -47563,7 +47572,7 @@ function loadIndexStore(rootPath) {
|
|
|
47563
47572
|
}
|
|
47564
47573
|
}
|
|
47565
47574
|
|
|
47566
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47575
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/note-visibility.js
|
|
47567
47576
|
function getRelativePath(note) {
|
|
47568
47577
|
if ("sourcePath" in note) {
|
|
47569
47578
|
return note.sourcePath;
|
|
@@ -47594,7 +47603,7 @@ function noteIsVisible(note, visibility = "normal") {
|
|
|
47594
47603
|
return isNormal;
|
|
47595
47604
|
}
|
|
47596
47605
|
|
|
47597
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47606
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/list-notes.js
|
|
47598
47607
|
function listNotes(options = {}) {
|
|
47599
47608
|
const store = loadIndexStore(resolveBlueNoteRoot(options));
|
|
47600
47609
|
return store.listAllSummaries().filter((summary) => noteIsVisible(summary, options.visibility)).map((summary) => ({
|
|
@@ -47606,18 +47615,18 @@ function listNotes(options = {}) {
|
|
|
47606
47615
|
}));
|
|
47607
47616
|
}
|
|
47608
47617
|
|
|
47609
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47618
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/show-note.js
|
|
47610
47619
|
import path16 from "node:path";
|
|
47611
47620
|
import { existsSync as existsSync6 } from "node:fs";
|
|
47612
47621
|
|
|
47613
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47622
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/sidecar-repository.js
|
|
47614
47623
|
import path12 from "node:path";
|
|
47615
47624
|
import fs3 from "node:fs";
|
|
47616
47625
|
|
|
47617
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47626
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/sidecar-schema.js
|
|
47618
47627
|
import path11 from "node:path";
|
|
47619
47628
|
|
|
47620
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47629
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/note-schema.js
|
|
47621
47630
|
function formatValidationError(kind, sourcePath, message) {
|
|
47622
47631
|
return new InvalidFrontmatterError(`Invalid ${kind} in ${sourcePath}: ${message}`);
|
|
47623
47632
|
}
|
|
@@ -47700,7 +47709,7 @@ function validateNoteFrontmatter(frontmatter, sourcePath) {
|
|
|
47700
47709
|
};
|
|
47701
47710
|
}
|
|
47702
47711
|
|
|
47703
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47712
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/sidecar-schema.js
|
|
47704
47713
|
var REQUIRED_SIDECAR_FIELDS = [
|
|
47705
47714
|
"type",
|
|
47706
47715
|
"key",
|
|
@@ -47840,7 +47849,7 @@ function validateNoteSidecar(sidecar, sourcePath) {
|
|
|
47840
47849
|
};
|
|
47841
47850
|
}
|
|
47842
47851
|
|
|
47843
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47852
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/sidecar-repository.js
|
|
47844
47853
|
function getWriteValidationSourcePath(sidecar) {
|
|
47845
47854
|
if (typeof sidecar === "object" && sidecar !== null) {
|
|
47846
47855
|
const candidateKey = sidecar.key;
|
|
@@ -47914,7 +47923,7 @@ function createSidecarRepository(rootPath) {
|
|
|
47914
47923
|
};
|
|
47915
47924
|
}
|
|
47916
47925
|
|
|
47917
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47926
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/select-note.js
|
|
47918
47927
|
import path13 from "node:path";
|
|
47919
47928
|
function selectorKeyFor(note) {
|
|
47920
47929
|
return path13.basename(note.sourcePath, ".md");
|
|
@@ -47971,11 +47980,11 @@ function selectNote(options) {
|
|
|
47971
47980
|
});
|
|
47972
47981
|
}
|
|
47973
47982
|
|
|
47974
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47983
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/note-repository.js
|
|
47975
47984
|
import path15 from "node:path";
|
|
47976
47985
|
import fs4 from "node:fs";
|
|
47977
47986
|
|
|
47978
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
47987
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/domain/note-description.js
|
|
47979
47988
|
var DEFAULT_EDGE_WORD_COUNT = 3;
|
|
47980
47989
|
function createNoteDescription(body, options = {}) {
|
|
47981
47990
|
const normalized = body.replace(/\s+/g, " ").trim();
|
|
@@ -47992,7 +48001,7 @@ function createNoteDescription(body, options = {}) {
|
|
|
47992
48001
|
return `${opening} … ${closing}`;
|
|
47993
48002
|
}
|
|
47994
48003
|
|
|
47995
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
48004
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/plain-note.js
|
|
47996
48005
|
function normalizePlainNoteBody(markdownText) {
|
|
47997
48006
|
return markdownText.replace(/\r\n/g, `
|
|
47998
48007
|
`);
|
|
@@ -50692,7 +50701,7 @@ var jsYaml = {
|
|
|
50692
50701
|
safeDump
|
|
50693
50702
|
};
|
|
50694
50703
|
|
|
50695
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
50704
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/frontmatter.js
|
|
50696
50705
|
var yamlApi = jsYaml;
|
|
50697
50706
|
var FRONTMATTER_PATTERN = /^---\n([\s\S]*?)\n---\n?([\s\S]*)$/;
|
|
50698
50707
|
function parseNoteFile(markdownText, sourcePath) {
|
|
@@ -50717,7 +50726,7 @@ function parseNoteFile(markdownText, sourcePath) {
|
|
|
50717
50726
|
};
|
|
50718
50727
|
}
|
|
50719
50728
|
|
|
50720
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
50729
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/atomic-note-writer.js
|
|
50721
50730
|
import path14 from "node:path";
|
|
50722
50731
|
import { closeSync, existsSync as existsSync5, fsyncSync, lstatSync as lstatSync2, mkdirSync as mkdirSync4, openSync, readdirSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync as writeFileSync4 } from "node:fs";
|
|
50723
50732
|
var ATOMIC_NOTE_WRITER_TEMP_PREFIX = "atomic-note-writer-";
|
|
@@ -50858,7 +50867,7 @@ function cleanupStaleAtomicNoteWriterTemps(rootPath, options = {}) {
|
|
|
50858
50867
|
return { removedPaths };
|
|
50859
50868
|
}
|
|
50860
50869
|
|
|
50861
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
50870
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/note-repository.js
|
|
50862
50871
|
var NOTES_RELATIVE_PATH = "notes";
|
|
50863
50872
|
var NOTE_SCHEMA_VERSION = 1;
|
|
50864
50873
|
var NOTE_MODE = "plain";
|
|
@@ -51512,7 +51521,7 @@ function createNoteRepository(rootPath) {
|
|
|
51512
51521
|
};
|
|
51513
51522
|
}
|
|
51514
51523
|
|
|
51515
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
51524
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/show-note.js
|
|
51516
51525
|
function showNote(options) {
|
|
51517
51526
|
const rootPath = resolveBlueNoteRoot(options);
|
|
51518
51527
|
const repository = createNoteRepository(rootPath);
|
|
@@ -51538,15 +51547,15 @@ function showNote(options) {
|
|
|
51538
51547
|
};
|
|
51539
51548
|
}
|
|
51540
51549
|
|
|
51541
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
51550
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/create-note.js
|
|
51542
51551
|
import path21 from "node:path";
|
|
51543
51552
|
import { existsSync as existsSync13, readdirSync as readdirSync3 } from "node:fs";
|
|
51544
51553
|
|
|
51545
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
51554
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/config-repository.js
|
|
51546
51555
|
import path17 from "node:path";
|
|
51547
51556
|
import { chmodSync, existsSync as existsSync8, mkdirSync as mkdirSync5, readFileSync as readFileSync3, rmSync as rmSync3, writeFileSync as writeFileSync5 } from "node:fs";
|
|
51548
51557
|
|
|
51549
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
51558
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/atomic-replace.js
|
|
51550
51559
|
import { existsSync as existsSync7, renameSync as renameSync2, rmSync as rmSync2 } from "node:fs";
|
|
51551
51560
|
function replaceFileAtomically(temporaryPath, targetPath, options = {}) {
|
|
51552
51561
|
const platform = options.platform ?? process.platform;
|
|
@@ -51556,7 +51565,7 @@ function replaceFileAtomically(temporaryPath, targetPath, options = {}) {
|
|
|
51556
51565
|
renameSync2(temporaryPath, targetPath);
|
|
51557
51566
|
}
|
|
51558
51567
|
|
|
51559
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
51568
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/config-schema.js
|
|
51560
51569
|
function isRecord2(value) {
|
|
51561
51570
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
51562
51571
|
}
|
|
@@ -51671,7 +51680,7 @@ function maskApiKey(value) {
|
|
|
51671
51680
|
return `${value.slice(0, 3)}***${value.slice(-4)}`;
|
|
51672
51681
|
}
|
|
51673
51682
|
|
|
51674
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
51683
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/config-repository.js
|
|
51675
51684
|
function getTemporaryConfigPath(configPath) {
|
|
51676
51685
|
return `${configPath}.${process.pid}.${Date.now()}.${Math.random().toString(16).slice(2)}.tmp`;
|
|
51677
51686
|
}
|
|
@@ -51736,7 +51745,7 @@ function createAiConfigRepository(rootPath) {
|
|
|
51736
51745
|
};
|
|
51737
51746
|
}
|
|
51738
51747
|
|
|
51739
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
51748
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/prompt-repository.js
|
|
51740
51749
|
import path18 from "node:path";
|
|
51741
51750
|
import { createHash } from "node:crypto";
|
|
51742
51751
|
import { existsSync as existsSync9, mkdirSync as mkdirSync6, readFileSync as readFileSync4, writeFileSync as writeFileSync6 } from "node:fs";
|
|
@@ -51873,18 +51882,18 @@ function readDescribeNotePrompt(rootPath) {
|
|
|
51873
51882
|
return ensureDescribeNotePrompt(rootPath);
|
|
51874
51883
|
}
|
|
51875
51884
|
|
|
51876
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
51885
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/queue-service.js
|
|
51877
51886
|
import { createHash as createHash2 } from "node:crypto";
|
|
51878
51887
|
import { existsSync as existsSync11 } from "node:fs";
|
|
51879
51888
|
|
|
51880
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
51889
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/platform/clock.js
|
|
51881
51890
|
var systemClock = {
|
|
51882
51891
|
now() {
|
|
51883
51892
|
return new Date;
|
|
51884
51893
|
}
|
|
51885
51894
|
};
|
|
51886
51895
|
|
|
51887
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
51896
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/queue-repository.js
|
|
51888
51897
|
import path19 from "node:path";
|
|
51889
51898
|
import { existsSync as existsSync10, mkdirSync as mkdirSync7, readFileSync as readFileSync5, rmSync as rmSync4, statSync as statSync2, writeFileSync as writeFileSync7 } from "node:fs";
|
|
51890
51899
|
var EMPTY_QUEUE = { version: 1, jobs: [] };
|
|
@@ -52138,7 +52147,7 @@ function createAiQueueRepository(rootPath) {
|
|
|
52138
52147
|
};
|
|
52139
52148
|
}
|
|
52140
52149
|
|
|
52141
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
52150
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/queue-service.js
|
|
52142
52151
|
function hashDescribeNoteContent(input) {
|
|
52143
52152
|
const canonicalInput = JSON.stringify({
|
|
52144
52153
|
title: input.title,
|
|
@@ -52249,7 +52258,7 @@ function listRetryableAiJobs(rootPath, maxAttempts = 3) {
|
|
|
52249
52258
|
return createAiQueueRepository(rootPath).read().jobs.filter((job) => (job.status === "pending" || job.status === "failed") && job.attempts < boundedMaxAttempts);
|
|
52250
52259
|
}
|
|
52251
52260
|
|
|
52252
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
52261
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/enqueue-describe-note.js
|
|
52253
52262
|
function formatAiEnqueueFailureWarning(error) {
|
|
52254
52263
|
const message = error instanceof Error ? error.message : String(error);
|
|
52255
52264
|
return `Warning: could not enqueue AI description refresh: ${message}`;
|
|
@@ -52280,7 +52289,7 @@ function enqueueDescribeNoteIfAiEnabled(rootPath, input, options) {
|
|
|
52280
52289
|
}
|
|
52281
52290
|
}
|
|
52282
52291
|
|
|
52283
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
52292
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/domain/note-key.js
|
|
52284
52293
|
import { webcrypto } from "node:crypto";
|
|
52285
52294
|
var DEFAULT_SUFFIX_LENGTH = 6;
|
|
52286
52295
|
var DEFAULT_MAX_ATTEMPTS = 10;
|
|
@@ -52325,7 +52334,7 @@ function createDraftNoteKey(options = {}) {
|
|
|
52325
52334
|
throw new Error(`Unable to generate a unique draft note key after ${maxAttempts} attempts.`);
|
|
52326
52335
|
}
|
|
52327
52336
|
|
|
52328
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
52337
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/rebuild-indexes.js
|
|
52329
52338
|
import path20 from "node:path";
|
|
52330
52339
|
import { existsSync as existsSync12, readdirSync as readdirSync2 } from "node:fs";
|
|
52331
52340
|
function keyFromRelativePath(relativePath) {
|
|
@@ -52489,7 +52498,7 @@ function rebuildIndexes(options = {}) {
|
|
|
52489
52498
|
};
|
|
52490
52499
|
}
|
|
52491
52500
|
|
|
52492
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
52501
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/create-note.js
|
|
52493
52502
|
function listExistingCreateKeys(rootPath, repository) {
|
|
52494
52503
|
const existingKeys = new Set(repository.listNotePaths().map((record) => path21.basename(record.relativePath, ".md")));
|
|
52495
52504
|
const stateNotesPath = getStateNotesPath(rootPath);
|
|
@@ -52597,7 +52606,7 @@ function createNote(options) {
|
|
|
52597
52606
|
};
|
|
52598
52607
|
}
|
|
52599
52608
|
|
|
52600
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
52609
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/delete-note.js
|
|
52601
52610
|
import path22 from "node:path";
|
|
52602
52611
|
function deleteNote(options) {
|
|
52603
52612
|
if (!options.force) {
|
|
@@ -52623,7 +52632,7 @@ function deleteNote(options) {
|
|
|
52623
52632
|
};
|
|
52624
52633
|
}
|
|
52625
52634
|
|
|
52626
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
52635
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/archive-note.js
|
|
52627
52636
|
function isArchivedNote(note) {
|
|
52628
52637
|
return note.frontmatter.archivedAt !== undefined || note.sourcePath.startsWith(joinPortableRelativePath(".data", "archive") + "/");
|
|
52629
52638
|
}
|
|
@@ -52666,7 +52675,7 @@ function archiveNote(options) {
|
|
|
52666
52675
|
};
|
|
52667
52676
|
}
|
|
52668
52677
|
|
|
52669
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
52678
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/rename-note.js
|
|
52670
52679
|
import path23 from "node:path";
|
|
52671
52680
|
import { mkdirSync as mkdirSync8, readFileSync as readFileSync6, rmSync as rmSync5, writeFileSync as writeFileSync8 } from "node:fs";
|
|
52672
52681
|
function buildRecoveryArtifactPath(rootPath, previousKey, nextKey) {
|
|
@@ -52737,7 +52746,7 @@ function renameNote(options) {
|
|
|
52737
52746
|
}
|
|
52738
52747
|
}
|
|
52739
52748
|
|
|
52740
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
52749
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/move-note.js
|
|
52741
52750
|
import path24 from "node:path";
|
|
52742
52751
|
import { readFileSync as readFileSync7, writeFileSync as writeFileSync9 } from "node:fs";
|
|
52743
52752
|
function updateLatestOpenedPathIfMatched2(rootPath, previousRelativePath, nextRelativePath) {
|
|
@@ -52772,7 +52781,7 @@ function moveNote(options) {
|
|
|
52772
52781
|
}
|
|
52773
52782
|
}
|
|
52774
52783
|
|
|
52775
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
52784
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/promote-draft.js
|
|
52776
52785
|
import path25 from "node:path";
|
|
52777
52786
|
import { existsSync as existsSync14, mkdirSync as mkdirSync9, readFileSync as readFileSync8, realpathSync, rmSync as rmSync6, statSync as statSync3, writeFileSync as writeFileSync10 } from "node:fs";
|
|
52778
52787
|
function normalizeFolderRelativePath2(relativePath) {
|
|
@@ -52920,7 +52929,7 @@ function promoteDraft(options) {
|
|
|
52920
52929
|
return { previousKey, key: nextKey, title, previousRelativePath, relativePath: nextRelativePath, notePath: nextNotePath };
|
|
52921
52930
|
}
|
|
52922
52931
|
|
|
52923
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
52932
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/core/search-notes.js
|
|
52924
52933
|
function normalizeForMatch(value) {
|
|
52925
52934
|
return value.toLocaleLowerCase();
|
|
52926
52935
|
}
|
|
@@ -53053,7 +53062,7 @@ function searchNotes(query, options = {}) {
|
|
|
53053
53062
|
match
|
|
53054
53063
|
}));
|
|
53055
53064
|
}
|
|
53056
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
53065
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/error-redaction.js
|
|
53057
53066
|
function escapeRegex(value) {
|
|
53058
53067
|
return value.replace(/[.*+?^${}()|[\]\\]/gu, "\\$&");
|
|
53059
53068
|
}
|
|
@@ -53066,13 +53075,13 @@ function sanitizeCodexAuthErrorMessage(error, secrets = []) {
|
|
|
53066
53075
|
return sanitizeAiErrorMessage(error, secrets);
|
|
53067
53076
|
}
|
|
53068
53077
|
|
|
53069
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
53078
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/platform/fetch.js
|
|
53070
53079
|
var import_node_fetch = __toESM(require_lib2(), 1);
|
|
53071
53080
|
function getDefaultFetch() {
|
|
53072
53081
|
return globalThis.fetch ?? import_node_fetch.default;
|
|
53073
53082
|
}
|
|
53074
53083
|
|
|
53075
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
53084
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/codex-auth-client.js
|
|
53076
53085
|
var DEFAULT_CODEX_AUTH_ISSUER = "https://auth.openai.com";
|
|
53077
53086
|
var DEFAULT_CODEX_AUTH_CLIENT_ID = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
53078
53087
|
var DEFAULT_CODEX_LOGIN_TIMEOUT_MS = 15 * 60 * 1000;
|
|
@@ -53349,7 +53358,7 @@ function createCodexAuthClient(options = {}) {
|
|
|
53349
53358
|
}
|
|
53350
53359
|
};
|
|
53351
53360
|
}
|
|
53352
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
53361
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/codex-auth-repository.js
|
|
53353
53362
|
import path26 from "node:path";
|
|
53354
53363
|
import { chmodSync as chmodSync2, existsSync as existsSync15, mkdirSync as mkdirSync10, readFileSync as readFileSync9, rmSync as rmSync7, writeFileSync as writeFileSync11 } from "node:fs";
|
|
53355
53364
|
var CODEX_AUTH_FILENAME = "codex-auth.json";
|
|
@@ -53533,7 +53542,7 @@ function createCodexAuthRepository(rootPath, options = {}) {
|
|
|
53533
53542
|
}
|
|
53534
53543
|
};
|
|
53535
53544
|
}
|
|
53536
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
53545
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/codex-client.js
|
|
53537
53546
|
class CodexTextGenerationClientError extends Error {
|
|
53538
53547
|
constructor(message, options = {}) {
|
|
53539
53548
|
super(message);
|
|
@@ -53825,7 +53834,7 @@ function createCodexTextGenerationClient(options) {
|
|
|
53825
53834
|
}
|
|
53826
53835
|
};
|
|
53827
53836
|
}
|
|
53828
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
53837
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/description-policy.js
|
|
53829
53838
|
var DESCRIPTION_WORD_LIMIT = 10;
|
|
53830
53839
|
var WRAPPING_QUOTE_PAIRS = [
|
|
53831
53840
|
['"', '"'],
|
|
@@ -53900,10 +53909,10 @@ function sanitizeAiDescription(raw) {
|
|
|
53900
53909
|
}
|
|
53901
53910
|
return withoutWrappingQuotes;
|
|
53902
53911
|
}
|
|
53903
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
53912
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/description-service.js
|
|
53904
53913
|
import path28 from "node:path";
|
|
53905
53914
|
|
|
53906
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
53915
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/usage-log.js
|
|
53907
53916
|
import path27 from "node:path";
|
|
53908
53917
|
import { appendFileSync, chmodSync as chmodSync3, mkdirSync as mkdirSync11 } from "node:fs";
|
|
53909
53918
|
function appendJsonLine(filePath, record) {
|
|
@@ -53923,7 +53932,7 @@ function appendAiResultLog(rootPath, input) {
|
|
|
53923
53932
|
return logPath;
|
|
53924
53933
|
}
|
|
53925
53934
|
|
|
53926
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
53935
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/description-service.js
|
|
53927
53936
|
function buildUserContent(input) {
|
|
53928
53937
|
return [
|
|
53929
53938
|
`Title: ${input.title}`,
|
|
@@ -54120,7 +54129,7 @@ async function generateNoteDescription(options) {
|
|
|
54120
54129
|
description
|
|
54121
54130
|
};
|
|
54122
54131
|
}
|
|
54123
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
54132
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/openai-compatible-client.js
|
|
54124
54133
|
class OpenAiCompatibleClientError extends Error {
|
|
54125
54134
|
constructor(message, options = {}) {
|
|
54126
54135
|
super(message, options);
|
|
@@ -54227,7 +54236,7 @@ function createOpenAiCompatibleClient(options) {
|
|
|
54227
54236
|
}
|
|
54228
54237
|
};
|
|
54229
54238
|
}
|
|
54230
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
54239
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/provider.js
|
|
54231
54240
|
class CodexProviderSetupRequiredError extends UsageError {
|
|
54232
54241
|
constructor() {
|
|
54233
54242
|
super("Codex auth setup is required before using the Codex provider. Run bn ai codex auth status for current setup guidance.", {
|
|
@@ -54268,7 +54277,7 @@ function createAiTextGenerationClient(config, options = {}) {
|
|
|
54268
54277
|
}
|
|
54269
54278
|
};
|
|
54270
54279
|
}
|
|
54271
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
54280
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/ai/stale-description-scan.js
|
|
54272
54281
|
import { existsSync as existsSync16 } from "node:fs";
|
|
54273
54282
|
function isDescriptionStale(updatedAt, lastProcessedAt) {
|
|
54274
54283
|
const updatedAtTime = Date.parse(updatedAt);
|
|
@@ -54325,7 +54334,7 @@ function scanAndEnqueueStaleDescriptions(rootPath, options) {
|
|
|
54325
54334
|
}
|
|
54326
54335
|
return { scanned, enqueued };
|
|
54327
54336
|
}
|
|
54328
|
-
// node_modules/.bun/@lordierclaw+bluenote-core@
|
|
54337
|
+
// node_modules/.bun/@lordierclaw+bluenote-core@0.4.3/node_modules/@lordierclaw/bluenote-core/dist/storage/app-config-repository.js
|
|
54329
54338
|
import path29 from "node:path";
|
|
54330
54339
|
import { chmodSync as chmodSync4, existsSync as existsSync17, mkdirSync as mkdirSync12, readFileSync as readFileSync10, rmSync as rmSync8, writeFileSync as writeFileSync12 } from "node:fs";
|
|
54331
54340
|
var DEFAULT_APP_CONFIG = {
|
package/dist/command.js
CHANGED
|
@@ -4,8 +4,12 @@ import {
|
|
|
4
4
|
// packages/term/package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "@lordierclaw/bluenote-term",
|
|
7
|
-
version: "0.4.
|
|
7
|
+
version: "0.4.4",
|
|
8
8
|
license: "Apache-2.0",
|
|
9
|
+
repository: {
|
|
10
|
+
type: "git",
|
|
11
|
+
url: "https://github.com/LordierClaw/bluenote-term"
|
|
12
|
+
},
|
|
9
13
|
type: "module",
|
|
10
14
|
files: [
|
|
11
15
|
"bin",
|
|
@@ -35,7 +39,7 @@ var package_default = {
|
|
|
35
39
|
node: ">=20.0.0"
|
|
36
40
|
},
|
|
37
41
|
dependencies: {
|
|
38
|
-
"@lordierclaw/bluenote-core": "
|
|
42
|
+
"@lordierclaw/bluenote-core": "latest",
|
|
39
43
|
"@opentui/core": "0.2.14",
|
|
40
44
|
clipboardy: "5.3.1"
|
|
41
45
|
}
|
|
@@ -70,14 +74,14 @@ async function runDefaultCli(args, version) {
|
|
|
70
74
|
if (!("Bun" in globalThis)) {
|
|
71
75
|
return bunRequiredResult("CLI");
|
|
72
76
|
}
|
|
73
|
-
const module = await import("./entry-
|
|
77
|
+
const module = await import("./entry-ttxs45pv.js");
|
|
74
78
|
return module.runCliAsync(args, version);
|
|
75
79
|
}
|
|
76
80
|
async function runDefaultTui() {
|
|
77
81
|
if (!("Bun" in globalThis)) {
|
|
78
82
|
return bunRequiredResult("TUI");
|
|
79
83
|
}
|
|
80
|
-
const module = await import("./app-
|
|
84
|
+
const module = await import("./app-deg3qtcn.js");
|
|
81
85
|
return module.runTuiCliInteractive();
|
|
82
86
|
}
|
|
83
87
|
function writeCliResult(result, io) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lordierclaw/bluenote-term",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/LordierClaw/bluenote-term"
|
|
8
|
+
},
|
|
5
9
|
"type": "module",
|
|
6
10
|
"files": [
|
|
7
11
|
"bin",
|
|
@@ -31,7 +35,7 @@
|
|
|
31
35
|
"node": ">=20.0.0"
|
|
32
36
|
},
|
|
33
37
|
"dependencies": {
|
|
34
|
-
"@lordierclaw/bluenote-core": "
|
|
38
|
+
"@lordierclaw/bluenote-core": "latest",
|
|
35
39
|
"@opentui/core": "0.2.14",
|
|
36
40
|
"clipboardy": "5.3.1"
|
|
37
41
|
}
|