@nuucognition/flint-cli 0.5.6-dev.11 → 0.5.6-dev.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-YFUMEQRR.js → chunk-7DEX5KHE.js} +8 -8
- package/dist/{chunk-5P56DC5O.js → chunk-B34UK5XB.js} +1 -1
- package/dist/{chunk-4VNS5WPM.js → chunk-JSBRDJBE.js} +1 -13
- package/dist/{chunk-EFW5J46R.js → chunk-L4KLEFD2.js} +2 -2
- package/dist/{dist-33SYCV6R.js → dist-3TXE7KXZ.js} +1 -1
- package/dist/{dist-3ZZYLR45.js → dist-5W3QBZ4M.js} +4 -4
- package/dist/{exports-OZQUMYQI-RIZGDBFL.js → exports-OZQUMYQI-KOXXNN5F.js} +2 -2
- package/dist/index.js +25 -19
- package/dist/{mesh-config-NTGFUNZL-T5YSX3S3.js → mesh-config-NTGFUNZL-XKKM5IWL.js} +1 -1
- package/dist/{metadata-FASTWX6A-MAAQ2YNF.js → metadata-FASTWX6A-63OJRUYV.js} +1 -1
- package/dist/{plates-4TK56CGM-6ACY6ZX6.js → plates-4TK56CGM-6HGJJ7O6.js} +1 -1
- package/dist/{registry-5CNUVQN3-MXXC35UE.js → registry-5CNUVQN3-6IS5EKN3.js} +2 -2
- package/dist/{utils-BBA2XQZO-Q2LR5RQU.js → utils-BBA2XQZO-ETTV2PHU.js} +1 -1
- package/package.json +6 -4
- package/dist/chunk-SCBMBMSG.js +0 -12
- package/dist/marked-terminal-G6SMT3U3.js +0 -58815
- package/dist/marked.esm-T6BYMIDL.js +0 -2158
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
registerFlint,
|
|
8
8
|
registerFlintByPath,
|
|
9
9
|
updateFlintEntry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-B34UK5XB.js";
|
|
11
11
|
import {
|
|
12
12
|
exists,
|
|
13
13
|
runConcurrent
|
|
@@ -4723,7 +4723,7 @@ async function moveFlint(nameOrPath, destination, options = {}) {
|
|
|
4723
4723
|
async function removeTinderboxFlint(flint) {
|
|
4724
4724
|
const entry = await findFlintByPath(flint.path);
|
|
4725
4725
|
if (entry) {
|
|
4726
|
-
const { unregisterFlint: unregisterFlint2 } = await import("./registry-5CNUVQN3-
|
|
4726
|
+
const { unregisterFlint: unregisterFlint2 } = await import("./registry-5CNUVQN3-6IS5EKN3.js");
|
|
4727
4727
|
await unregisterFlint2(entry.path);
|
|
4728
4728
|
}
|
|
4729
4729
|
await rm42(flint.path, { recursive: true, force: true });
|
|
@@ -5299,7 +5299,7 @@ async function updateShards(flintPath, options = {}) {
|
|
|
5299
5299
|
}
|
|
5300
5300
|
}
|
|
5301
5301
|
}));
|
|
5302
|
-
const { runConcurrent: runConcurrent2 } = await import("./utils-BBA2XQZO-
|
|
5302
|
+
const { runConcurrent: runConcurrent2 } = await import("./utils-BBA2XQZO-ETTV2PHU.js");
|
|
5303
5303
|
const concurrentResults = await runConcurrent2(updateTasks, {
|
|
5304
5304
|
concurrency: 5,
|
|
5305
5305
|
onStart: options.onStart,
|
|
@@ -6796,9 +6796,9 @@ async function syncFlint(flintPath, progress) {
|
|
|
6796
6796
|
}
|
|
6797
6797
|
}
|
|
6798
6798
|
const requiredMeshExports = config.sources?.meshexports || [];
|
|
6799
|
-
const { getFlintRegistry: getFlintRegistry2 } = await import("./registry-5CNUVQN3-
|
|
6799
|
+
const { getFlintRegistry: getFlintRegistry2 } = await import("./registry-5CNUVQN3-6IS5EKN3.js");
|
|
6800
6800
|
const { readdir: readdir9, readFile: fsReadFile, rm: rm7, stat: fsStat, mkdir: fsMkdir, copyFile: fsCopyFile } = await import("fs/promises");
|
|
6801
|
-
const { syncSourceMeshExportMetadata: syncSourceMeshExportMetadata2 } = await import("./metadata-FASTWX6A-
|
|
6801
|
+
const { syncSourceMeshExportMetadata: syncSourceMeshExportMetadata2 } = await import("./metadata-FASTWX6A-63OJRUYV.js");
|
|
6802
6802
|
const requiredMeshExportSet = new Set(requiredMeshExports);
|
|
6803
6803
|
const sourcesFlintDir = join16(flintPath, "Sources", "Flints");
|
|
6804
6804
|
try {
|
|
@@ -6840,7 +6840,7 @@ async function syncFlint(flintPath, progress) {
|
|
|
6840
6840
|
}
|
|
6841
6841
|
if (requiredMeshExports.length > 0) {
|
|
6842
6842
|
const registry = await getFlintRegistry2();
|
|
6843
|
-
const { buildExportByName: buildExportByName2, scanExports: scanExports2 } = await import("./exports-OZQUMYQI-
|
|
6843
|
+
const { buildExportByName: buildExportByName2, scanExports: scanExports2 } = await import("./exports-OZQUMYQI-KOXXNN5F.js");
|
|
6844
6844
|
for (const ref of requiredMeshExports) {
|
|
6845
6845
|
const parts = ref.split("/");
|
|
6846
6846
|
if (parts.length !== 2) {
|
|
@@ -6984,12 +6984,12 @@ async function syncFlint(flintPath, progress) {
|
|
|
6984
6984
|
error: `Failed to sync source repo metadata: ${err instanceof Error ? err.message : String(err)}`
|
|
6985
6985
|
});
|
|
6986
6986
|
}
|
|
6987
|
-
const { getPlateDeclarationsFromConfig } = await import("./mesh-config-NTGFUNZL-
|
|
6987
|
+
const { getPlateDeclarationsFromConfig } = await import("./mesh-config-NTGFUNZL-XKKM5IWL.js");
|
|
6988
6988
|
const plateDeclarations = getPlateDeclarationsFromConfig(config);
|
|
6989
6989
|
const hasSourcePlates = Object.values(plateDeclarations).some((d) => d.source);
|
|
6990
6990
|
const hasRepoPlates = Object.values(plateDeclarations).some((d) => d.repo);
|
|
6991
6991
|
if (hasSourcePlates) {
|
|
6992
|
-
const { syncDeclaredPlates: syncDeclaredPlates2 } = await import("./plates-4TK56CGM-
|
|
6992
|
+
const { syncDeclaredPlates: syncDeclaredPlates2 } = await import("./plates-4TK56CGM-6HGJJ7O6.js");
|
|
6993
6993
|
const plateResults = await syncDeclaredPlates2(flintPath, plateDeclarations);
|
|
6994
6994
|
result.plates = plateResults;
|
|
6995
6995
|
for (const pr of plateResults) {
|
|
@@ -182,7 +182,7 @@ async function cleanRegistryFile() {
|
|
|
182
182
|
return result;
|
|
183
183
|
}
|
|
184
184
|
async function registerFlintByPath(path, options) {
|
|
185
|
-
const { readFlintToml, hasFlintToml } = await import("./mesh-config-NTGFUNZL-
|
|
185
|
+
const { readFlintToml, hasFlintToml } = await import("./mesh-config-NTGFUNZL-XKKM5IWL.js");
|
|
186
186
|
const isFlint = await hasFlintToml(path);
|
|
187
187
|
if (!isFlint) {
|
|
188
188
|
throw new Error(`Not a valid flint: ${path}
|
|
@@ -4,19 +4,9 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var
|
|
8
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
9
|
-
}) : x)(function(x) {
|
|
10
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
11
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
12
|
-
});
|
|
13
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
7
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
14
8
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15
9
|
};
|
|
16
|
-
var __export = (target, all) => {
|
|
17
|
-
for (var name in all)
|
|
18
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
19
|
-
};
|
|
20
10
|
var __copyProps = (to, from, except, desc) => {
|
|
21
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
22
12
|
for (let key of __getOwnPropNames(from))
|
|
@@ -35,8 +25,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
35
25
|
));
|
|
36
26
|
|
|
37
27
|
export {
|
|
38
|
-
__require,
|
|
39
28
|
__commonJS,
|
|
40
|
-
__export,
|
|
41
29
|
__toESM
|
|
42
30
|
};
|
|
@@ -218,7 +218,7 @@ function getDisambiguatedExportName(flintPath, sourcePath, baseName) {
|
|
|
218
218
|
return `${baseName} (${dirLabel})`;
|
|
219
219
|
}
|
|
220
220
|
async function scanExports(flintPath) {
|
|
221
|
-
const { readFlintToml: readFlintToml2 } = await import("./mesh-config-NTGFUNZL-
|
|
221
|
+
const { readFlintToml: readFlintToml2 } = await import("./mesh-config-NTGFUNZL-XKKM5IWL.js");
|
|
222
222
|
const config = await readFlintToml2(flintPath);
|
|
223
223
|
const declarations = config?.exports?.required;
|
|
224
224
|
if (!declarations || declarations.length === 0) {
|
|
@@ -245,7 +245,7 @@ async function scanExportsFromConfig(flintPath, declarations) {
|
|
|
245
245
|
async function scanExportEligible(flintPath) {
|
|
246
246
|
const meshDir = join(flintPath, "Mesh");
|
|
247
247
|
if (!await exists(meshDir)) return [];
|
|
248
|
-
const { readFlintToml: readFlintToml2 } = await import("./mesh-config-NTGFUNZL-
|
|
248
|
+
const { readFlintToml: readFlintToml2 } = await import("./mesh-config-NTGFUNZL-XKKM5IWL.js");
|
|
249
249
|
const config = await readFlintToml2(flintPath);
|
|
250
250
|
const declared = new Set(
|
|
251
251
|
(config?.exports?.required || []).map((d) => d.file.replace(/\.md$/, "").toLowerCase())
|
|
@@ -180,7 +180,7 @@ import {
|
|
|
180
180
|
writeReferencesState,
|
|
181
181
|
writeSession,
|
|
182
182
|
writeTinderboxToml
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-7DEX5KHE.js";
|
|
184
184
|
import {
|
|
185
185
|
cleanRegistryFile,
|
|
186
186
|
findFlintByName,
|
|
@@ -195,7 +195,7 @@ import {
|
|
|
195
195
|
unregisterFlint,
|
|
196
196
|
updateFlintEntry,
|
|
197
197
|
upsertFlintEntry
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-B34UK5XB.js";
|
|
199
199
|
import {
|
|
200
200
|
runConcurrent
|
|
201
201
|
} from "./chunk-V7YA5RXL.js";
|
|
@@ -221,7 +221,7 @@ import {
|
|
|
221
221
|
resolveDocument,
|
|
222
222
|
scanExportEligible,
|
|
223
223
|
scanExports
|
|
224
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-L4KLEFD2.js";
|
|
225
225
|
import {
|
|
226
226
|
buildPlate,
|
|
227
227
|
clearPlateDevUrl,
|
|
@@ -306,7 +306,7 @@ import {
|
|
|
306
306
|
writeFlintToml
|
|
307
307
|
} from "./chunk-DSRNHRUX.js";
|
|
308
308
|
import "./chunk-YQMGDALR.js";
|
|
309
|
-
import "./chunk-
|
|
309
|
+
import "./chunk-JSBRDJBE.js";
|
|
310
310
|
export {
|
|
311
311
|
FLINT_CONFIG_FILENAME,
|
|
312
312
|
FLINT_JSON_FILENAME,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
resolveDocument,
|
|
7
7
|
scanExportEligible,
|
|
8
8
|
scanExports
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-L4KLEFD2.js";
|
|
10
10
|
import "./chunk-DSRNHRUX.js";
|
|
11
11
|
import "./chunk-YQMGDALR.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-JSBRDJBE.js";
|
|
13
13
|
export {
|
|
14
14
|
buildAllExports,
|
|
15
15
|
buildExport,
|
package/dist/index.js
CHANGED
|
@@ -35,9 +35,6 @@ import {
|
|
|
35
35
|
waitForGeminiNativeSession,
|
|
36
36
|
writeSession
|
|
37
37
|
} from "./chunk-4LAWFN2H.js";
|
|
38
|
-
import {
|
|
39
|
-
ansiRegex
|
|
40
|
-
} from "./chunk-SCBMBMSG.js";
|
|
41
38
|
import {
|
|
42
39
|
LiveSessionManager,
|
|
43
40
|
OBSIDIAN_REPO_URL,
|
|
@@ -153,7 +150,7 @@ import {
|
|
|
153
150
|
updateSession,
|
|
154
151
|
updateShards,
|
|
155
152
|
updateSourceRepository
|
|
156
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-7DEX5KHE.js";
|
|
157
154
|
import {
|
|
158
155
|
cleanRegistryFile,
|
|
159
156
|
findFlintByName,
|
|
@@ -164,7 +161,7 @@ import {
|
|
|
164
161
|
registerFlintByPath,
|
|
165
162
|
unregisterFlint,
|
|
166
163
|
upsertFlintEntry
|
|
167
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-B34UK5XB.js";
|
|
168
165
|
import "./chunk-V7YA5RXL.js";
|
|
169
166
|
import {
|
|
170
167
|
generateSourceMeshExportMetadata,
|
|
@@ -180,7 +177,7 @@ import {
|
|
|
180
177
|
resolveDocument,
|
|
181
178
|
scanExportEligible,
|
|
182
179
|
scanExports
|
|
183
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-L4KLEFD2.js";
|
|
184
181
|
import {
|
|
185
182
|
buildPlate,
|
|
186
183
|
getPlate,
|
|
@@ -231,7 +228,7 @@ import {
|
|
|
231
228
|
import {
|
|
232
229
|
__commonJS,
|
|
233
230
|
__toESM
|
|
234
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-JSBRDJBE.js";
|
|
235
232
|
|
|
236
233
|
// ../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js
|
|
237
234
|
var require_balanced_match = __commonJS({
|
|
@@ -7371,7 +7368,7 @@ repoCommand.command("add").description("Add a plate from a git repo").argument("
|
|
|
7371
7368
|
getPlateDeclaration,
|
|
7372
7369
|
nameFormats,
|
|
7373
7370
|
updateGitignore: updateGitignore2
|
|
7374
|
-
} = await import("./dist-
|
|
7371
|
+
} = await import("./dist-5W3QBZ4M.js");
|
|
7375
7372
|
const { proper, slug } = nameFormats(name);
|
|
7376
7373
|
const existing = await getPlateDeclaration(flintPath, slug);
|
|
7377
7374
|
if (existing) {
|
|
@@ -7383,7 +7380,7 @@ repoCommand.command("add").description("Add a plate from a git repo").argument("
|
|
|
7383
7380
|
Cloning ${url}...`));
|
|
7384
7381
|
await clonePlateFromRepo(flintPath, slug, url, platePath);
|
|
7385
7382
|
await addPlateDeclaration(flintPath, slug, platePath, { title: proper });
|
|
7386
|
-
const { setPlateRepo } = await import("./dist-
|
|
7383
|
+
const { setPlateRepo } = await import("./dist-5W3QBZ4M.js");
|
|
7387
7384
|
await setPlateRepo(flintPath, slug, url);
|
|
7388
7385
|
await updateGitignore2(flintPath);
|
|
7389
7386
|
console.log(pc22.green(`
|
|
@@ -7401,7 +7398,7 @@ Added plate: ${pc22.bold(proper)}`));
|
|
|
7401
7398
|
repoCommand.command("remove").description("Remove a repo-sourced plate").argument("<name>", "Plate declaration name or slug").option("-p, --path <dir>", "Path to flint (default: auto-detect)").action(async (name, options) => {
|
|
7402
7399
|
try {
|
|
7403
7400
|
const flintPath = await resolveFlintPath2(options.path);
|
|
7404
|
-
const { removePlateDeclaration, updateGitignore: updateGitignore2 } = await import("./dist-
|
|
7401
|
+
const { removePlateDeclaration, updateGitignore: updateGitignore2 } = await import("./dist-5W3QBZ4M.js");
|
|
7405
7402
|
const { rm: rm7, stat: stat11 } = await import("fs/promises");
|
|
7406
7403
|
const { join: join24 } = await import("path");
|
|
7407
7404
|
const plate = await getPlate(flintPath, name);
|
|
@@ -7429,7 +7426,7 @@ plateCommand.addCommand(repoCommand);
|
|
|
7429
7426
|
plateCommand.command("install").description("Install a Plate from GitHub releases").argument("<name-or-source>", "Plate slug or GitHub owner/repo").option("--version <version>", "Install a specific version").option("-p, --path <dir>", "Path to flint (default: auto-detect)").action(async (nameOrSource, options) => {
|
|
7430
7427
|
try {
|
|
7431
7428
|
const flintPath = await resolveFlintPath2(options.path);
|
|
7432
|
-
const { installPlate } = await import("./dist-
|
|
7429
|
+
const { installPlate } = await import("./dist-5W3QBZ4M.js");
|
|
7433
7430
|
const result = await installPlate(flintPath, nameOrSource, { version: options.version });
|
|
7434
7431
|
console.log(pc22.green(`
|
|
7435
7432
|
Installed plate: ${pc22.bold(result.plate.manifest.title)}`));
|
|
@@ -7453,7 +7450,7 @@ Installed plate: ${pc22.bold(result.plate.manifest.title)}`));
|
|
|
7453
7450
|
plateCommand.command("update").description("Update installed Plates from GitHub releases").argument("[name]", "Optional plate slug").option("-p, --path <dir>", "Path to flint (default: auto-detect)").action(async (name, options) => {
|
|
7454
7451
|
try {
|
|
7455
7452
|
const flintPath = await resolveFlintPath2(options.path);
|
|
7456
|
-
const { updatePlate } = await import("./dist-
|
|
7453
|
+
const { updatePlate } = await import("./dist-5W3QBZ4M.js");
|
|
7457
7454
|
const results = await updatePlate(flintPath, name);
|
|
7458
7455
|
if (results.length === 0) {
|
|
7459
7456
|
console.log(pc22.dim("\nAll installed plates are already up to date.\n"));
|
|
@@ -7473,7 +7470,7 @@ plateCommand.command("update").description("Update installed Plates from GitHub
|
|
|
7473
7470
|
plateCommand.command("push").description("Initialize a plate as a git repo, set remote, and push").argument("<name>", "Plate name").argument("<url>", "Git remote URL").option("-p, --path <dir>", "Path to flint (default: auto-detect)").action(async (name, url, options) => {
|
|
7474
7471
|
try {
|
|
7475
7472
|
const flintPath = await resolveFlintPath2(options.path);
|
|
7476
|
-
const { setPlateRepo } = await import("./dist-
|
|
7473
|
+
const { setPlateRepo } = await import("./dist-5W3QBZ4M.js");
|
|
7477
7474
|
console.log(pc22.dim(`
|
|
7478
7475
|
Pushing plate "${name}"...`));
|
|
7479
7476
|
const result = await initPlateRepo(flintPath, name, url);
|
|
@@ -7499,7 +7496,7 @@ Pushing plate "${name}"...`));
|
|
|
7499
7496
|
plateCommand.command("sync").description("Sync plates that have a repo configured").option("-p, --path <dir>", "Path to flint (default: auto-detect)").action(async (options) => {
|
|
7500
7497
|
try {
|
|
7501
7498
|
const flintPath = await resolveFlintPath2(options.path);
|
|
7502
|
-
const { getPlateDeclarations, syncPlateRepos } = await import("./dist-
|
|
7499
|
+
const { getPlateDeclarations, syncPlateRepos } = await import("./dist-5W3QBZ4M.js");
|
|
7503
7500
|
const declarations = await getPlateDeclarations(flintPath);
|
|
7504
7501
|
const hasRepos = Object.values(declarations).some((d) => d.repo);
|
|
7505
7502
|
if (!hasRepos) {
|
|
@@ -7572,7 +7569,7 @@ plateCommand.command("build").description("Run the Plate build script").argument
|
|
|
7572
7569
|
plateCommand.command("dev").description("Register or clear a dev server override for a Plate").argument("<name>", "Plate declaration name or manifest name").argument("[url]", "Dev server URL, e.g. http://localhost:5174").option("--off", "Disable the current dev override").option("-p, --path <dir>", "Path to flint (default: auto-detect)").action(async (name, url, options) => {
|
|
7573
7570
|
try {
|
|
7574
7571
|
const flintPath = await resolveFlintPath2(options.path);
|
|
7575
|
-
const { clearPlateDevUrl, setPlateDevUrl } = await import("./dist-
|
|
7572
|
+
const { clearPlateDevUrl, setPlateDevUrl } = await import("./dist-5W3QBZ4M.js");
|
|
7576
7573
|
if (options.off) {
|
|
7577
7574
|
await clearPlateDevUrl(flintPath, name);
|
|
7578
7575
|
console.log(pc22.green(`
|
|
@@ -14278,7 +14275,7 @@ var sendCommand = new Command30("send").description("Send files to another Flint
|
|
|
14278
14275
|
console.log();
|
|
14279
14276
|
let sourceFlintName = "Unknown";
|
|
14280
14277
|
try {
|
|
14281
|
-
const { readFlintToml: readFlintToml3 } = await import("./dist-
|
|
14278
|
+
const { readFlintToml: readFlintToml3 } = await import("./dist-5W3QBZ4M.js");
|
|
14282
14279
|
const toml = await readFlintToml3(flintPath);
|
|
14283
14280
|
if (toml?.flint?.name) {
|
|
14284
14281
|
sourceFlintName = toml.flint.name;
|
|
@@ -15013,6 +15010,15 @@ import pc42 from "picocolors";
|
|
|
15013
15010
|
// ../orbh-cli/src/terminal-format.ts
|
|
15014
15011
|
import pc41 from "picocolors";
|
|
15015
15012
|
|
|
15013
|
+
// ../../node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.js
|
|
15014
|
+
function ansiRegex({ onlyFirst = false } = {}) {
|
|
15015
|
+
const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
|
|
15016
|
+
const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
|
|
15017
|
+
const csi = "[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
|
|
15018
|
+
const pattern = `${osc}|${csi}`;
|
|
15019
|
+
return new RegExp(pattern, onlyFirst ? void 0 : "g");
|
|
15020
|
+
}
|
|
15021
|
+
|
|
15016
15022
|
// ../../node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.js
|
|
15017
15023
|
var regex = ansiRegex();
|
|
15018
15024
|
function stripAnsi2(string) {
|
|
@@ -15830,8 +15836,8 @@ var _sharedFactory = null;
|
|
|
15830
15836
|
async function ensureMarkdownFactory() {
|
|
15831
15837
|
if (_sharedFactory) return _sharedFactory;
|
|
15832
15838
|
const [{ Marked }, { markedTerminal }] = await Promise.all([
|
|
15833
|
-
import("
|
|
15834
|
-
import("
|
|
15839
|
+
import("marked"),
|
|
15840
|
+
import("marked-terminal")
|
|
15835
15841
|
]);
|
|
15836
15842
|
_sharedFactory = (width) => {
|
|
15837
15843
|
const md = new Marked();
|
|
@@ -17618,7 +17624,7 @@ function registerLaunchCommands(command, options) {
|
|
|
17618
17624
|
function registerServerCommands(command) {
|
|
17619
17625
|
const server = command.command("server").description("Standalone orbh server management");
|
|
17620
17626
|
server.command("start").description("Start the standalone orbh HTTP/SSE server").option("--host <host>", "Server host (default: 127.0.0.1)").option("--port <port>", "Server port (default: 13041, use 0 for dynamic)", Number).option("--sessions-dir <path>", "Override sessions directory").option("--config <path>", "Path to orbh.toml").action(async (opts) => {
|
|
17621
|
-
const { startOrbhServer } = await import("./dist-
|
|
17627
|
+
const { startOrbhServer } = await import("./dist-3TXE7KXZ.js");
|
|
17622
17628
|
const serverInstance = await startOrbhServer({
|
|
17623
17629
|
host: opts.host,
|
|
17624
17630
|
port: opts.port,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuucognition/flint-cli",
|
|
3
|
-
"version": "0.5.6-dev.
|
|
3
|
+
"version": "0.5.6-dev.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Flint cognitive workspace CLI",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
"commander": "^12.1.0",
|
|
23
23
|
"fastify": "^5.0.0",
|
|
24
24
|
"glob": "^10.5.0",
|
|
25
|
+
"marked": "^15.0.12",
|
|
26
|
+
"marked-terminal": "^7.3.0",
|
|
25
27
|
"picocolors": "^1.1.1",
|
|
26
28
|
"yaml": "^2.6.0"
|
|
27
29
|
},
|
|
@@ -35,11 +37,11 @@
|
|
|
35
37
|
"tsup": "^8.3.5",
|
|
36
38
|
"tsx": "^4.19.2",
|
|
37
39
|
"typescript": "^5.9.2",
|
|
38
|
-
"@nuucognition/eslint-config": "0.0.0",
|
|
39
|
-
"@nuucognition/flint-migrations": "0.1.0",
|
|
40
40
|
"@nuucognition/flint-server": "0.0.1",
|
|
41
|
-
"@nuucognition/flint": "0.1.0",
|
|
42
41
|
"@nuucognition/flint-sdk": "0.0.1",
|
|
42
|
+
"@nuucognition/eslint-config": "0.0.0",
|
|
43
|
+
"@nuucognition/flint": "0.1.0",
|
|
44
|
+
"@nuucognition/flint-migrations": "0.1.0",
|
|
43
45
|
"@nuucognition/orbh-cli": "0.1.0-dev.1",
|
|
44
46
|
"@nuucognition/typescript-config": "0.0.0",
|
|
45
47
|
"@nuucognition/orbh": "0.0.1-dev.0"
|
package/dist/chunk-SCBMBMSG.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.js
|
|
2
|
-
function ansiRegex({ onlyFirst = false } = {}) {
|
|
3
|
-
const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
|
|
4
|
-
const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
|
|
5
|
-
const csi = "[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
|
|
6
|
-
const pattern = `${osc}|${csi}`;
|
|
7
|
-
return new RegExp(pattern, onlyFirst ? void 0 : "g");
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export {
|
|
11
|
-
ansiRegex
|
|
12
|
-
};
|