@nuucognition/flint-cli 0.2.0-beta.2 → 0.3.0-alpha.1
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/dist/chunk-2Q7QG2UK.js +374 -0
- package/dist/{chunk-RAH2IR2Z.js → chunk-KLFK7CPM.js} +96 -122
- package/dist/chunk-KVE7WLA2.js +297 -0
- package/dist/{chunk-K5QP4OME.js → chunk-ODSWKVNZ.js} +6 -41
- package/dist/{chunk-VEO4E5HX.js → chunk-OIXBMYAA.js} +2 -7
- package/dist/chunk-T7VT4BN3.js +303 -0
- package/dist/connections-AXGFYQOK-A6BXCAC7.js +43 -0
- package/dist/{exports-KXKBTYJ2-A3QWNDEB.js → exports-B5CYVV5M-KF36KYYW.js} +1 -1
- package/dist/index.js +4945 -7288
- package/dist/{mesh-config-J6WB4RFV-G7RGPOZA.js → mesh-config-7GOTOVCM-TZEJ43E5.js} +15 -11
- package/dist/presets/blank/preset.toml +1 -1
- package/dist/presets/default/preset.toml +1 -7
- package/dist/{registry-5PUMDGQP-YVSEVBB4.js → registry-QJIY5NBV-UDZW4AUU.js} +1 -1
- package/dist/workspace-local-LKB4MTN2-OY5UVN3K.js +70 -0
- package/package.json +5 -5
|
@@ -4,23 +4,25 @@ import {
|
|
|
4
4
|
FLINT_VERSION,
|
|
5
5
|
addExportToConfig,
|
|
6
6
|
addImportToConfig,
|
|
7
|
+
addLatticeDeclaration,
|
|
7
8
|
addLatticeReference,
|
|
8
|
-
addModToConfig,
|
|
9
9
|
addShardToConfig,
|
|
10
10
|
addWorkspaceReference,
|
|
11
11
|
addWorkspaceRepository,
|
|
12
12
|
addWorkspaceSourceRepository,
|
|
13
13
|
createFlintJson,
|
|
14
14
|
createFlintToml,
|
|
15
|
+
fulfillLattice,
|
|
15
16
|
getExportDeclarations,
|
|
16
17
|
getFlintConfigPath,
|
|
17
18
|
getFlintImports,
|
|
18
19
|
getFlintJsonPath,
|
|
19
20
|
getFlintJsonVersion,
|
|
21
|
+
getLatticeDeclaration,
|
|
22
|
+
getLatticeDeclarations,
|
|
23
|
+
getLatticeFulfillment,
|
|
20
24
|
getLatticeReference,
|
|
21
25
|
getLatticeReferences,
|
|
22
|
-
getModDeclarations,
|
|
23
|
-
getModDeclarationsFromConfig,
|
|
24
26
|
getRequiredShardNames,
|
|
25
27
|
getShardDeclarations,
|
|
26
28
|
getShardDeclarationsFromConfig,
|
|
@@ -35,15 +37,15 @@ import {
|
|
|
35
37
|
hasMigration,
|
|
36
38
|
isFlint,
|
|
37
39
|
isLocalShard,
|
|
38
|
-
migrateModConfig,
|
|
39
40
|
migrateShardConfig,
|
|
40
41
|
readFlintJson,
|
|
41
42
|
readFlintToml,
|
|
43
|
+
readLatticesState,
|
|
42
44
|
recordMigration,
|
|
43
45
|
removeExportFromConfig,
|
|
44
46
|
removeImportFromConfig,
|
|
47
|
+
removeLatticeDeclaration,
|
|
45
48
|
removeLatticeReference,
|
|
46
|
-
removeModFromConfig,
|
|
47
49
|
removeShardFromConfig,
|
|
48
50
|
removeWorkspaceReference,
|
|
49
51
|
removeWorkspaceRepository,
|
|
@@ -54,30 +56,32 @@ import {
|
|
|
54
56
|
toKebabCase,
|
|
55
57
|
writeFlintJson,
|
|
56
58
|
writeFlintToml
|
|
57
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-KLFK7CPM.js";
|
|
58
60
|
export {
|
|
59
61
|
FLINT_CONFIG_FILENAME,
|
|
60
62
|
FLINT_JSON_FILENAME,
|
|
61
63
|
FLINT_VERSION,
|
|
62
64
|
addExportToConfig,
|
|
63
65
|
addImportToConfig,
|
|
66
|
+
addLatticeDeclaration,
|
|
64
67
|
addLatticeReference,
|
|
65
|
-
addModToConfig,
|
|
66
68
|
addShardToConfig,
|
|
67
69
|
addWorkspaceReference,
|
|
68
70
|
addWorkspaceRepository,
|
|
69
71
|
addWorkspaceSourceRepository,
|
|
70
72
|
createFlintJson,
|
|
71
73
|
createFlintToml,
|
|
74
|
+
fulfillLattice,
|
|
72
75
|
getExportDeclarations,
|
|
73
76
|
getFlintConfigPath,
|
|
74
77
|
getFlintImports,
|
|
75
78
|
getFlintJsonPath,
|
|
76
79
|
getFlintJsonVersion,
|
|
80
|
+
getLatticeDeclaration,
|
|
81
|
+
getLatticeDeclarations,
|
|
82
|
+
getLatticeFulfillment,
|
|
77
83
|
getLatticeReference,
|
|
78
84
|
getLatticeReferences,
|
|
79
|
-
getModDeclarations,
|
|
80
|
-
getModDeclarationsFromConfig,
|
|
81
85
|
getRequiredShardNames,
|
|
82
86
|
getShardDeclarations,
|
|
83
87
|
getShardDeclarationsFromConfig,
|
|
@@ -92,15 +96,15 @@ export {
|
|
|
92
96
|
hasMigration,
|
|
93
97
|
isFlint,
|
|
94
98
|
isLocalShard,
|
|
95
|
-
migrateModConfig,
|
|
96
99
|
migrateShardConfig,
|
|
97
100
|
readFlintJson,
|
|
98
101
|
readFlintToml,
|
|
102
|
+
readLatticesState,
|
|
99
103
|
recordMigration,
|
|
100
104
|
removeExportFromConfig,
|
|
101
105
|
removeImportFromConfig,
|
|
106
|
+
removeLatticeDeclaration,
|
|
102
107
|
removeLatticeReference,
|
|
103
|
-
removeModFromConfig,
|
|
104
108
|
removeShardFromConfig,
|
|
105
109
|
removeWorkspaceReference,
|
|
106
110
|
removeWorkspaceRepository,
|
|
@@ -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
|
-
]
|
|
@@ -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.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Flint cognitive workspace CLI",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"tsup": "^8.3.5",
|
|
27
27
|
"tsx": "^4.19.2",
|
|
28
28
|
"typescript": "^5.9.2",
|
|
29
|
+
"@nuucognition/eslint-config": "0.0.0",
|
|
30
|
+
"@nuucognition/flint-migrations": "0.1.0",
|
|
29
31
|
"@nuucognition/flint": "0.1.0",
|
|
30
|
-
"@nuucognition/lattice": "0.1.0",
|
|
31
|
-
"@nuucognition/typescript-config": "0.0.0",
|
|
32
32
|
"@nuucognition/flint-runtime": "0.0.1",
|
|
33
|
-
"@nuucognition/
|
|
34
|
-
"@nuucognition/
|
|
33
|
+
"@nuucognition/flint-server": "0.0.1",
|
|
34
|
+
"@nuucognition/typescript-config": "0.0.0"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"dev": "FLINT_MODE=dev tsx src/index.ts",
|