@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/README.md +52 -14
- package/bin/flint-dev.js +2 -5
- package/bin/flint-prod.js +54 -24
- package/bin/launch-flint.js +72 -45
- package/dist/.build-stamp.json +7 -0
- package/dist/_flint/prompts/flint-headless.md +13 -0
- package/dist/_flint/prompts/flint-interactive.md +41 -0
- package/dist/_flint/prompts/flint-worker.md +40 -0
- package/dist/_orbh/prompts/headless.md +2 -0
- package/dist/_orbh/prompts/peer.md +2 -0
- package/dist/_orbh/prompts/subagent.md +2 -0
- package/dist/completion.js +9064 -0
- package/dist/index.js +16421 -7158
- package/package.json +7 -7
- package/bin/flint.js +0 -10
- package/bin/live-build-path.js +0 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuucognition/flint-cli",
|
|
3
|
-
"version": "0.6.0-dev.
|
|
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/
|
|
51
|
-
"@nuucognition/
|
|
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/
|
|
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
package/bin/live-build-path.js
DELETED
|
@@ -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
|
-
}
|