@nuucognition/flint-cli 0.6.0-dev.21 → 0.6.0-dev.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuucognition/flint-cli",
3
- "version": "0.6.0-dev.21",
3
+ "version": "0.6.0-dev.30",
4
4
  "type": "module",
5
5
  "description": "Flint cognitive workspace CLI",
6
6
  "license": "PROPRIETARY",
@@ -40,17 +40,17 @@
40
40
  "tsup": "^8.3.5",
41
41
  "tsx": "^4.19.2",
42
42
  "typescript": "5.9.3",
43
- "@nuucognition/blacksmith-cli": "0.0.1",
44
43
  "@nuucognition/address": "0.1.0",
45
44
  "@nuucognition/flint": "0.1.0",
46
- "@nuucognition/eslint-config": "0.0.0",
47
45
  "@nuucognition/flint-mcp": "0.1.0",
48
- "@nuucognition/flint-sdk": "0.1.0",
49
46
  "@nuucognition/flint-migrations": "0.1.0",
50
- "@nuucognition/orbh-cli": "0.1.0-dev.1",
51
- "@nuucognition/typescript-config": "0.0.0",
47
+ "@nuucognition/flint-sdk": "0.1.0",
48
+ "@nuucognition/flint-server": "0.1.0",
52
49
  "@nuucognition/orbh": "0.0.1-dev.0",
53
- "@nuucognition/flint-server": "0.1.0"
50
+ "@nuucognition/orbh-cli": "0.1.0-dev.1",
51
+ "@nuucognition/blacksmith-cli": "0.0.1",
52
+ "@nuucognition/eslint-config": "0.0.0",
53
+ "@nuucognition/typescript-config": "0.0.0"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@nuucognition/blacksmith-cli": ">=0.0.1"
package/bin/flint.js DELETED
@@ -1,10 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- import { fileURLToPath } from 'node:url';
4
-
5
- import { launchFlint } from './launch-flint.js';
6
-
7
- await launchFlint({
8
- launcherPath: fileURLToPath(import.meta.url),
9
- preferLiveBuild: true,
10
- });
@@ -1,19 +0,0 @@
1
- import { existsSync } from 'node:fs';
2
- import { join, resolve } from 'node:path';
3
-
4
- const hasCompleteDist = (packageRoot) =>
5
- existsSync(join(packageRoot, 'dist', 'index.js')) &&
6
- existsSync(join(packageRoot, 'dist', 'open-tui-invocation.js'));
7
-
8
- /**
9
- * Source launchers prefer the atomically selected standalone release. A launcher
10
- * inside a deployed/npm package has no checkout-level pointer and uses its own
11
- * dist directory instead.
12
- */
13
- export function resolveLiveBuildPackageRoot(sourcePackageRoot, { preferLiveBuild = true } = {}) {
14
- if (!preferLiveBuild) return sourcePackageRoot;
15
- const checkoutRoot = resolve(sourcePackageRoot, '..', '..');
16
- const currentRelease = join(checkoutRoot, '.flint-live-build', 'current');
17
-
18
- return hasCompleteDist(currentRelease) ? currentRelease : sourcePackageRoot;
19
- }