@nuucognition/flint-cli 0.2.0-beta.1 → 0.3.0-alpha.0
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 +0 -1
- package/bin/flint-prod.js +2 -0
- package/dist/chunk-2Q7QG2UK.js +374 -0
- package/dist/{chunk-5YLBX2W6.js → chunk-KLFK7CPM.js} +104 -146
- package/dist/chunk-KVE7WLA2.js +297 -0
- package/dist/{chunk-VO4ZYDCW.js → chunk-ODSWKVNZ.js} +16 -48
- package/dist/{chunk-UNMULXL5.js → chunk-OIXBMYAA.js} +7 -11
- package/dist/chunk-T7VT4BN3.js +303 -0
- package/dist/chunk-V7YA5RXL.js +43 -0
- package/dist/connections-AXGFYQOK-A6BXCAC7.js +43 -0
- package/dist/{exports-CA5QHVI7-6IDFKMCF.js → exports-B5CYVV5M-KF36KYYW.js} +1 -1
- package/dist/index.js +4729 -6571
- package/dist/{mesh-config-VGFSHC2G-YCC4ZIAT.js → mesh-config-7GOTOVCM-TZEJ43E5.js} +15 -21
- package/dist/presets/blank/preset.toml +1 -1
- package/dist/presets/default/preset.toml +1 -7
- package/dist/{registry-5QFQ3XPR-G7IB3KWS.js → registry-QJIY5NBV-UDZW4AUU.js} +3 -3
- package/dist/utils-BBA2XQZO-YU5SL3JY.js +8 -0
- package/dist/workspace-local-LKB4MTN2-OY5UVN3K.js +70 -0
- package/package.json +6 -5
|
@@ -4,30 +4,28 @@ import {
|
|
|
4
4
|
FLINT_VERSION,
|
|
5
5
|
addExportToConfig,
|
|
6
6
|
addImportToConfig,
|
|
7
|
+
addLatticeDeclaration,
|
|
7
8
|
addLatticeReference,
|
|
8
|
-
addModToConfig,
|
|
9
9
|
addShardToConfig,
|
|
10
|
-
addWorkspaceEntry,
|
|
11
10
|
addWorkspaceReference,
|
|
12
11
|
addWorkspaceRepository,
|
|
13
12
|
addWorkspaceSourceRepository,
|
|
14
13
|
createFlintJson,
|
|
15
14
|
createFlintToml,
|
|
15
|
+
fulfillLattice,
|
|
16
16
|
getExportDeclarations,
|
|
17
17
|
getFlintConfigPath,
|
|
18
18
|
getFlintImports,
|
|
19
19
|
getFlintJsonPath,
|
|
20
20
|
getFlintJsonVersion,
|
|
21
|
+
getLatticeDeclaration,
|
|
22
|
+
getLatticeDeclarations,
|
|
23
|
+
getLatticeFulfillment,
|
|
21
24
|
getLatticeReference,
|
|
22
25
|
getLatticeReferences,
|
|
23
|
-
getModDeclarations,
|
|
24
|
-
getModDeclarationsFromConfig,
|
|
25
|
-
getRequiredImports,
|
|
26
26
|
getRequiredShardNames,
|
|
27
27
|
getShardDeclarations,
|
|
28
28
|
getShardDeclarationsFromConfig,
|
|
29
|
-
getWorkspaceEntries,
|
|
30
|
-
getWorkspaceEntry,
|
|
31
29
|
getWorkspaceReference,
|
|
32
30
|
getWorkspaceReferences,
|
|
33
31
|
getWorkspaceRepositories,
|
|
@@ -39,17 +37,16 @@ import {
|
|
|
39
37
|
hasMigration,
|
|
40
38
|
isFlint,
|
|
41
39
|
isLocalShard,
|
|
42
|
-
migrateModConfig,
|
|
43
40
|
migrateShardConfig,
|
|
44
41
|
readFlintJson,
|
|
45
42
|
readFlintToml,
|
|
43
|
+
readLatticesState,
|
|
46
44
|
recordMigration,
|
|
47
45
|
removeExportFromConfig,
|
|
48
46
|
removeImportFromConfig,
|
|
47
|
+
removeLatticeDeclaration,
|
|
49
48
|
removeLatticeReference,
|
|
50
|
-
removeModFromConfig,
|
|
51
49
|
removeShardFromConfig,
|
|
52
|
-
removeWorkspaceEntry,
|
|
53
50
|
removeWorkspaceReference,
|
|
54
51
|
removeWorkspaceRepository,
|
|
55
52
|
removeWorkspaceSourceRepository,
|
|
@@ -59,37 +56,35 @@ import {
|
|
|
59
56
|
toKebabCase,
|
|
60
57
|
writeFlintJson,
|
|
61
58
|
writeFlintToml
|
|
62
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-KLFK7CPM.js";
|
|
63
60
|
export {
|
|
64
61
|
FLINT_CONFIG_FILENAME,
|
|
65
62
|
FLINT_JSON_FILENAME,
|
|
66
63
|
FLINT_VERSION,
|
|
67
64
|
addExportToConfig,
|
|
68
65
|
addImportToConfig,
|
|
66
|
+
addLatticeDeclaration,
|
|
69
67
|
addLatticeReference,
|
|
70
|
-
addModToConfig,
|
|
71
68
|
addShardToConfig,
|
|
72
|
-
addWorkspaceEntry,
|
|
73
69
|
addWorkspaceReference,
|
|
74
70
|
addWorkspaceRepository,
|
|
75
71
|
addWorkspaceSourceRepository,
|
|
76
72
|
createFlintJson,
|
|
77
73
|
createFlintToml,
|
|
74
|
+
fulfillLattice,
|
|
78
75
|
getExportDeclarations,
|
|
79
76
|
getFlintConfigPath,
|
|
80
77
|
getFlintImports,
|
|
81
78
|
getFlintJsonPath,
|
|
82
79
|
getFlintJsonVersion,
|
|
80
|
+
getLatticeDeclaration,
|
|
81
|
+
getLatticeDeclarations,
|
|
82
|
+
getLatticeFulfillment,
|
|
83
83
|
getLatticeReference,
|
|
84
84
|
getLatticeReferences,
|
|
85
|
-
getModDeclarations,
|
|
86
|
-
getModDeclarationsFromConfig,
|
|
87
|
-
getRequiredImports,
|
|
88
85
|
getRequiredShardNames,
|
|
89
86
|
getShardDeclarations,
|
|
90
87
|
getShardDeclarationsFromConfig,
|
|
91
|
-
getWorkspaceEntries,
|
|
92
|
-
getWorkspaceEntry,
|
|
93
88
|
getWorkspaceReference,
|
|
94
89
|
getWorkspaceReferences,
|
|
95
90
|
getWorkspaceRepositories,
|
|
@@ -101,17 +96,16 @@ export {
|
|
|
101
96
|
hasMigration,
|
|
102
97
|
isFlint,
|
|
103
98
|
isLocalShard,
|
|
104
|
-
migrateModConfig,
|
|
105
99
|
migrateShardConfig,
|
|
106
100
|
readFlintJson,
|
|
107
101
|
readFlintToml,
|
|
102
|
+
readLatticesState,
|
|
108
103
|
recordMigration,
|
|
109
104
|
removeExportFromConfig,
|
|
110
105
|
removeImportFromConfig,
|
|
106
|
+
removeLatticeDeclaration,
|
|
111
107
|
removeLatticeReference,
|
|
112
|
-
removeModFromConfig,
|
|
113
108
|
removeShardFromConfig,
|
|
114
|
-
removeWorkspaceEntry,
|
|
115
109
|
removeWorkspaceReference,
|
|
116
110
|
removeWorkspaceRepository,
|
|
117
111
|
removeWorkspaceSourceRepository,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[preset]
|
|
2
2
|
name = "default"
|
|
3
|
-
description = "Standard flint with default shards
|
|
3
|
+
description = "Standard flint with default shards"
|
|
4
4
|
|
|
5
5
|
[shards]
|
|
6
6
|
required = [
|
|
@@ -15,9 +15,3 @@ required = [
|
|
|
15
15
|
"orbcode",
|
|
16
16
|
"projects",
|
|
17
17
|
]
|
|
18
|
-
|
|
19
|
-
[mods]
|
|
20
|
-
required = [
|
|
21
|
-
"claude-code",
|
|
22
|
-
"agents",
|
|
23
|
-
]
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanRegistryFile,
|
|
3
|
-
findFlintById,
|
|
4
3
|
findFlintByName,
|
|
5
4
|
findFlintByPath,
|
|
6
5
|
getFlintRegistry,
|
|
7
6
|
getFlintRegistryPath,
|
|
8
7
|
getGlobalFlintDir,
|
|
8
|
+
isFlintNameTaken,
|
|
9
9
|
isPathRegistered,
|
|
10
10
|
registerFlint,
|
|
11
11
|
registerFlintByPath,
|
|
12
12
|
unregisterFlint,
|
|
13
13
|
updateFlintEntry,
|
|
14
14
|
upsertFlintEntry
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OIXBMYAA.js";
|
|
16
16
|
export {
|
|
17
17
|
cleanRegistryFile,
|
|
18
|
-
findFlintById,
|
|
19
18
|
findFlintByName,
|
|
20
19
|
findFlintByPath,
|
|
21
20
|
getFlintRegistry,
|
|
22
21
|
getFlintRegistryPath,
|
|
23
22
|
getGlobalFlintDir,
|
|
23
|
+
isFlintNameTaken,
|
|
24
24
|
isPathRegistered,
|
|
25
25
|
registerFlint,
|
|
26
26
|
registerFlintByPath,
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cloneRepository,
|
|
3
|
+
cloneSourceRepository,
|
|
4
|
+
createRepository,
|
|
5
|
+
deleteReferenceFile,
|
|
6
|
+
freshCloneRepository,
|
|
7
|
+
getLegacyWorkspaceConfigPath,
|
|
8
|
+
getLegacyWorkspaceDir,
|
|
9
|
+
getReferencesStatePath,
|
|
10
|
+
getRepositoryPath,
|
|
11
|
+
getRepositoryStatus,
|
|
12
|
+
getSourceRepositoryPath,
|
|
13
|
+
getSourceRepositoryStatus,
|
|
14
|
+
getUnfulfilledWorkspaces,
|
|
15
|
+
getWorkspacePath,
|
|
16
|
+
getWorkspaceReferenceFilePath,
|
|
17
|
+
getWorkspaceReferencesDir,
|
|
18
|
+
getWorkspaceRepositoriesDir,
|
|
19
|
+
getWorkspaceSourceRepositoriesDir,
|
|
20
|
+
getWorkspaceStatus,
|
|
21
|
+
migrateWorkspaceConfig,
|
|
22
|
+
readReferencePath,
|
|
23
|
+
readReferencesState,
|
|
24
|
+
removeReferenceState,
|
|
25
|
+
removeRepositoryFolder,
|
|
26
|
+
removeSourceRepositoryFolder,
|
|
27
|
+
removeWorkspacePath,
|
|
28
|
+
setWorkspacePath,
|
|
29
|
+
updateReferenceState,
|
|
30
|
+
updateRepository,
|
|
31
|
+
updateSourceRepository,
|
|
32
|
+
writeReferenceFile,
|
|
33
|
+
writeReferencesState
|
|
34
|
+
} from "./chunk-2Q7QG2UK.js";
|
|
35
|
+
import "./chunk-KVE7WLA2.js";
|
|
36
|
+
import "./chunk-KLFK7CPM.js";
|
|
37
|
+
export {
|
|
38
|
+
cloneRepository,
|
|
39
|
+
cloneSourceRepository,
|
|
40
|
+
createRepository,
|
|
41
|
+
deleteReferenceFile,
|
|
42
|
+
freshCloneRepository,
|
|
43
|
+
getLegacyWorkspaceConfigPath,
|
|
44
|
+
getLegacyWorkspaceDir,
|
|
45
|
+
getReferencesStatePath,
|
|
46
|
+
getRepositoryPath,
|
|
47
|
+
getRepositoryStatus,
|
|
48
|
+
getSourceRepositoryPath,
|
|
49
|
+
getSourceRepositoryStatus,
|
|
50
|
+
getUnfulfilledWorkspaces,
|
|
51
|
+
getWorkspacePath,
|
|
52
|
+
getWorkspaceReferenceFilePath,
|
|
53
|
+
getWorkspaceReferencesDir,
|
|
54
|
+
getWorkspaceRepositoriesDir,
|
|
55
|
+
getWorkspaceSourceRepositoriesDir,
|
|
56
|
+
getWorkspaceStatus,
|
|
57
|
+
migrateWorkspaceConfig,
|
|
58
|
+
readReferencePath,
|
|
59
|
+
readReferencesState,
|
|
60
|
+
removeReferenceState,
|
|
61
|
+
removeRepositoryFolder,
|
|
62
|
+
removeSourceRepositoryFolder,
|
|
63
|
+
removeWorkspacePath,
|
|
64
|
+
setWorkspacePath,
|
|
65
|
+
updateReferenceState,
|
|
66
|
+
updateRepository,
|
|
67
|
+
updateSourceRepository,
|
|
68
|
+
writeReferenceFile,
|
|
69
|
+
writeReferencesState
|
|
70
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuucognition/flint-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0-alpha.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Flint cognitive workspace CLI",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"dist/"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
+
"@nuucognition/cli-core": "0.0.1-beta.5",
|
|
16
17
|
"cfonts": "^3.3.1",
|
|
17
18
|
"commander": "^12.1.0",
|
|
18
19
|
"glob": "^10.5.0",
|
|
@@ -25,12 +26,12 @@
|
|
|
25
26
|
"tsup": "^8.3.5",
|
|
26
27
|
"tsx": "^4.19.2",
|
|
27
28
|
"typescript": "^5.9.2",
|
|
28
|
-
"@nuucognition/eslint-config": "0.0.0",
|
|
29
29
|
"@nuucognition/flint": "0.1.0",
|
|
30
|
-
"@nuucognition/
|
|
30
|
+
"@nuucognition/flint-server": "0.0.1",
|
|
31
31
|
"@nuucognition/flint-runtime": "0.0.1",
|
|
32
|
-
"@nuucognition/
|
|
33
|
-
"@nuucognition/
|
|
32
|
+
"@nuucognition/typescript-config": "0.0.0",
|
|
33
|
+
"@nuucognition/eslint-config": "0.0.0",
|
|
34
|
+
"@nuucognition/flint-migrations": "0.1.0"
|
|
34
35
|
},
|
|
35
36
|
"scripts": {
|
|
36
37
|
"dev": "FLINT_MODE=dev tsx src/index.ts",
|