@nuucognition/flint-cli 0.3.0-alpha.1 → 0.4.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.
@@ -0,0 +1,484 @@
1
+ import {
2
+ GLOBAL_CONFIG_FILENAME,
3
+ LiveSessionManager,
4
+ STANDARD_DIRECTORIES,
5
+ TranscriptWatcher,
6
+ addCodebaseDeclaration,
7
+ addCodebaseReference,
8
+ addFlintDeclaration,
9
+ addFlintReference,
10
+ addShardGitRemote,
11
+ applyPresetTemplates,
12
+ autoFulfillFlints,
13
+ checkShardHealth,
14
+ cleanupResolvedSource,
15
+ clearPresetsCache,
16
+ cloneObsidian,
17
+ cloneRepository,
18
+ cloneShardToDev,
19
+ cloneSourceRepository,
20
+ createDefaultGlobalConfig,
21
+ createFlint,
22
+ createGitignore,
23
+ createIndexMd,
24
+ createMediaDir,
25
+ createModuleFolders,
26
+ createPersonFile,
27
+ createRepository,
28
+ createSession,
29
+ createTag,
30
+ discoverFlints,
31
+ editShard,
32
+ ensureReferenceMetadataDirs,
33
+ ensureSessionsDir,
34
+ extractGitHubOwnerRepo,
35
+ findFlintRoot,
36
+ freezeShard,
37
+ fulfillCodebase,
38
+ fulfillFlint,
39
+ generateCodebaseMetadata,
40
+ generateFlintMetadata,
41
+ getCodebaseDeclarations,
42
+ getCodebaseMetadataDir,
43
+ getCodebaseMetadataPath,
44
+ getConfigValue,
45
+ getCurrentBranch,
46
+ getFlintConfigDir,
47
+ getFlintDeclarations,
48
+ getFlintMetadataDir,
49
+ getFlintMetadataPath,
50
+ getFlintName,
51
+ getFlintNameFromPath,
52
+ getGitStatus,
53
+ getGlobalConfigPath,
54
+ getIdentity,
55
+ getIdentityStatePath,
56
+ getInstalledShardsWithVersions,
57
+ getOpenApps,
58
+ getPersonFilePath,
59
+ getPreset,
60
+ getReferencesMetadataDir,
61
+ getRemoteUrl,
62
+ getRepositoryPath,
63
+ getRepositoryStatus,
64
+ getSessionInterface,
65
+ getSessionPath,
66
+ getSessionsDir,
67
+ getShardInfo,
68
+ getSourceRepositoriesDir,
69
+ getSourceRepositoryPath,
70
+ getSourceRepositoryStatus,
71
+ getStatus,
72
+ getTypePrefix,
73
+ getUnfulfilled,
74
+ getUnfulfilledCodebases,
75
+ getUnfulfilledFlints,
76
+ getWorkspaceRepositoriesDir,
77
+ groupIntoTurns,
78
+ hasPreset,
79
+ hasShardScripts,
80
+ hasUncommittedChanges,
81
+ hasUnpushedCommits,
82
+ healAllShards,
83
+ healShard,
84
+ initGit,
85
+ installShardFromSource,
86
+ isGitHubSourceSpecifier,
87
+ isGitInitialized,
88
+ isInsideFlint,
89
+ isInsideMesh,
90
+ isOwnerRepo,
91
+ isShardInstalled,
92
+ isValidFlint,
93
+ isValidStatus,
94
+ listInstalledShards,
95
+ listPresets,
96
+ listRemoteVersionTags,
97
+ listSessions,
98
+ listShardScripts,
99
+ listTags,
100
+ mapClaudeEntry,
101
+ mapClaudeTranscript,
102
+ parseJsonl,
103
+ parseShardSource,
104
+ personExists,
105
+ pullShard,
106
+ pushTags,
107
+ pushWithTags,
108
+ readConfig,
109
+ readConfigSync,
110
+ readGlobalConfig,
111
+ readGlobalConfigSync,
112
+ readIdentityState,
113
+ readReferencesState,
114
+ readSession,
115
+ readShardManifest,
116
+ registerExistingShard,
117
+ remoteTagExists,
118
+ removeDeclaration,
119
+ removeOrphanedShard,
120
+ removeReference,
121
+ removeRepositoryFolder,
122
+ removeSourceRepositoryFolder,
123
+ resolve5,
124
+ resolveInstalledShardInfo,
125
+ resolveSession,
126
+ resolveShardSource,
127
+ resolveTranscriptPath,
128
+ runGit,
129
+ runShardScript,
130
+ scaffoldNewShard,
131
+ setConfigValue,
132
+ setIdentity,
133
+ setSessionInterface,
134
+ setSessionStatus,
135
+ stringifyShardSource,
136
+ syncFlint,
137
+ syncReferenceMetadata,
138
+ tagExists,
139
+ unfulfill,
140
+ uninstallShard,
141
+ updateGitignore,
142
+ updateRepository,
143
+ updateSession,
144
+ updateShards,
145
+ updateSourceRepository,
146
+ writeGlobalConfig,
147
+ writeIdentityState,
148
+ writeReferencesState,
149
+ writeSession
150
+ } from "./chunk-S2CPVR65.js";
151
+ import {
152
+ runConcurrent
153
+ } from "./chunk-V7YA5RXL.js";
154
+ import {
155
+ cleanRegistryFile,
156
+ findFlintByName,
157
+ findFlintByPath,
158
+ getFlintRegistry,
159
+ getFlintRegistryPath,
160
+ getGlobalFlintDir,
161
+ isFlintNameTaken,
162
+ isPathRegistered,
163
+ registerFlint,
164
+ registerFlintByPath,
165
+ unregisterFlint,
166
+ updateFlintEntry,
167
+ upsertFlintEntry
168
+ } from "./chunk-NFM75BMP.js";
169
+ import {
170
+ generateSourceMeshExportMetadata,
171
+ generateSourceRepoMetadata,
172
+ getSourceMeshExportDir,
173
+ getSourceMeshExportPath,
174
+ getSourceRepoMetadataDir,
175
+ getSourceRepoMetadataPath,
176
+ getSourcesMetadataDir,
177
+ removeSourceMeshExportMetadata,
178
+ removeSourceRepoMetadata,
179
+ resolveSource,
180
+ syncSourceMeshExportMetadata,
181
+ syncSourceRepoMetadata
182
+ } from "./chunk-JNF2DSZM.js";
183
+ import {
184
+ buildAllExports,
185
+ buildExport,
186
+ buildExportByName,
187
+ cleanupStaleExports,
188
+ scanExportEligible,
189
+ scanExports
190
+ } from "./chunk-AUNE7HYH.js";
191
+ import {
192
+ FLINT_CONFIG_FILENAME,
193
+ FLINT_JSON_FILENAME,
194
+ FLINT_VERSION,
195
+ addExportToConfig,
196
+ addLatticeDeclaration,
197
+ addLatticeReference,
198
+ addMeshExportToConfig,
199
+ addShardToConfig,
200
+ addSourceRepository,
201
+ addWorkspaceRepository,
202
+ createFlintJson,
203
+ createFlintToml,
204
+ fulfillLattice,
205
+ getExportDeclarations,
206
+ getFlintConfigPath,
207
+ getFlintJsonPath,
208
+ getFlintJsonVersion,
209
+ getLatticeDeclaration,
210
+ getLatticeDeclarations,
211
+ getLatticeFulfillment,
212
+ getLatticeReference,
213
+ getLatticeReferences,
214
+ getMeshExportSources,
215
+ getRequiredShardNames,
216
+ getShardDeclarations,
217
+ getShardDeclarationsFromConfig,
218
+ getSourceRepositories,
219
+ getSourceRepository,
220
+ getWorkspaceRepositories,
221
+ getWorkspaceRepository,
222
+ hasFlintJson,
223
+ hasFlintToml,
224
+ hasMigration,
225
+ isFlint,
226
+ isLocalShard,
227
+ migrateShardConfig,
228
+ nameFormats,
229
+ readFlintJson,
230
+ readFlintToml,
231
+ readLatticesState,
232
+ recordMigration,
233
+ removeExportFromConfig,
234
+ removeLatticeDeclaration,
235
+ removeLatticeReference,
236
+ removeMeshExportFromConfig,
237
+ removeShardFromConfig,
238
+ removeSourceRepository,
239
+ removeWorkspaceRepository,
240
+ resolveShardMode,
241
+ stampSynced,
242
+ stampVersion,
243
+ toKebabCase,
244
+ toSnakeCase,
245
+ writeFlintJson,
246
+ writeFlintToml
247
+ } from "./chunk-GQSLJAUU.js";
248
+ export {
249
+ FLINT_CONFIG_FILENAME,
250
+ FLINT_JSON_FILENAME,
251
+ FLINT_VERSION,
252
+ GLOBAL_CONFIG_FILENAME,
253
+ LiveSessionManager,
254
+ STANDARD_DIRECTORIES,
255
+ TranscriptWatcher,
256
+ addCodebaseDeclaration,
257
+ addCodebaseReference,
258
+ addExportToConfig,
259
+ addFlintDeclaration,
260
+ addFlintReference,
261
+ addLatticeDeclaration,
262
+ addLatticeReference,
263
+ addMeshExportToConfig,
264
+ addShardGitRemote,
265
+ addShardToConfig,
266
+ addSourceRepository,
267
+ addWorkspaceRepository,
268
+ applyPresetTemplates,
269
+ autoFulfillFlints,
270
+ buildAllExports,
271
+ buildExport,
272
+ buildExportByName,
273
+ checkShardHealth,
274
+ cleanRegistryFile,
275
+ cleanupResolvedSource,
276
+ cleanupStaleExports,
277
+ clearPresetsCache,
278
+ cloneObsidian,
279
+ cloneRepository,
280
+ cloneShardToDev,
281
+ cloneSourceRepository,
282
+ createDefaultGlobalConfig,
283
+ createFlint,
284
+ createFlintJson,
285
+ createFlintToml,
286
+ createGitignore,
287
+ createIndexMd,
288
+ createMediaDir,
289
+ createModuleFolders,
290
+ createPersonFile,
291
+ createRepository,
292
+ createSession,
293
+ createTag,
294
+ discoverFlints,
295
+ editShard,
296
+ ensureReferenceMetadataDirs,
297
+ ensureSessionsDir,
298
+ extractGitHubOwnerRepo,
299
+ findFlintByName,
300
+ findFlintByPath,
301
+ findFlintRoot,
302
+ freezeShard,
303
+ fulfillCodebase,
304
+ fulfillFlint,
305
+ fulfillLattice,
306
+ generateCodebaseMetadata,
307
+ generateFlintMetadata,
308
+ generateSourceMeshExportMetadata,
309
+ generateSourceRepoMetadata,
310
+ getCodebaseDeclarations,
311
+ getCodebaseMetadataDir,
312
+ getCodebaseMetadataPath,
313
+ getConfigValue,
314
+ getCurrentBranch,
315
+ getExportDeclarations,
316
+ getFlintConfigDir,
317
+ getFlintConfigPath,
318
+ getFlintDeclarations,
319
+ getFlintJsonPath,
320
+ getFlintJsonVersion,
321
+ getFlintMetadataDir,
322
+ getFlintMetadataPath,
323
+ getFlintName,
324
+ getFlintNameFromPath,
325
+ getFlintRegistry,
326
+ getFlintRegistryPath,
327
+ getGitStatus,
328
+ getGlobalConfigPath,
329
+ getGlobalFlintDir,
330
+ getIdentity,
331
+ getIdentityStatePath,
332
+ getInstalledShardsWithVersions,
333
+ getLatticeDeclaration,
334
+ getLatticeDeclarations,
335
+ getLatticeFulfillment,
336
+ getLatticeReference,
337
+ getLatticeReferences,
338
+ getMeshExportSources,
339
+ getReferencesMetadataDir as getNewReferencesMetadataDir,
340
+ getOpenApps,
341
+ getPersonFilePath,
342
+ getPreset,
343
+ getRemoteUrl,
344
+ getRepositoryPath,
345
+ getRepositoryStatus,
346
+ getRequiredShardNames,
347
+ getSessionInterface,
348
+ getSessionPath,
349
+ getSessionsDir,
350
+ getShardDeclarations,
351
+ getShardDeclarationsFromConfig,
352
+ getShardInfo,
353
+ getSourceMeshExportDir,
354
+ getSourceMeshExportPath,
355
+ getSourceRepoMetadataDir,
356
+ getSourceRepoMetadataPath,
357
+ getSourceRepositories,
358
+ getSourceRepositoriesDir,
359
+ getSourceRepository,
360
+ getSourceRepositoryPath,
361
+ getSourceRepositoryStatus,
362
+ getSourcesMetadataDir,
363
+ getStatus,
364
+ getTypePrefix,
365
+ getUnfulfilled,
366
+ getUnfulfilledCodebases,
367
+ getUnfulfilledFlints,
368
+ getWorkspaceRepositories,
369
+ getWorkspaceRepositoriesDir,
370
+ getWorkspaceRepository,
371
+ groupIntoTurns,
372
+ hasFlintJson,
373
+ hasFlintToml,
374
+ hasMigration,
375
+ hasPreset,
376
+ hasShardScripts,
377
+ hasUncommittedChanges,
378
+ hasUnpushedCommits,
379
+ healAllShards,
380
+ healShard,
381
+ initGit,
382
+ installShardFromSource,
383
+ isFlint,
384
+ isFlintNameTaken,
385
+ isGitHubSourceSpecifier,
386
+ isGitInitialized,
387
+ isInsideFlint,
388
+ isInsideMesh,
389
+ isLocalShard,
390
+ isOwnerRepo,
391
+ isPathRegistered,
392
+ isShardInstalled,
393
+ isValidFlint,
394
+ isValidStatus,
395
+ listInstalledShards,
396
+ listPresets,
397
+ listRemoteVersionTags,
398
+ listSessions,
399
+ listShardScripts,
400
+ listTags,
401
+ mapClaudeEntry,
402
+ mapClaudeTranscript,
403
+ migrateShardConfig,
404
+ nameFormats,
405
+ parseJsonl,
406
+ parseShardSource,
407
+ personExists,
408
+ pullShard,
409
+ pushTags,
410
+ pushWithTags,
411
+ readConfig,
412
+ readConfigSync,
413
+ readFlintJson,
414
+ readFlintToml,
415
+ readGlobalConfig,
416
+ readGlobalConfigSync,
417
+ readIdentityState,
418
+ readLatticesState,
419
+ readSession,
420
+ readShardManifest,
421
+ readReferencesState as readUnifiedReferencesState,
422
+ recordMigration,
423
+ registerExistingShard,
424
+ registerFlint,
425
+ registerFlintByPath,
426
+ remoteTagExists,
427
+ removeExportFromConfig,
428
+ removeLatticeDeclaration,
429
+ removeLatticeReference,
430
+ removeMeshExportFromConfig,
431
+ removeOrphanedShard,
432
+ removeReference,
433
+ removeDeclaration as removeReferenceDeclaration,
434
+ removeRepositoryFolder,
435
+ removeShardFromConfig,
436
+ removeSourceMeshExportMetadata,
437
+ removeSourceRepoMetadata,
438
+ removeSourceRepository,
439
+ removeSourceRepositoryFolder,
440
+ removeWorkspaceRepository,
441
+ resolve5 as resolve,
442
+ resolveInstalledShardInfo,
443
+ resolveSession,
444
+ resolveShardMode,
445
+ resolveShardSource,
446
+ resolveSource,
447
+ resolveTranscriptPath,
448
+ runConcurrent,
449
+ runGit,
450
+ runShardScript,
451
+ scaffoldNewShard,
452
+ scanExportEligible,
453
+ scanExports,
454
+ setConfigValue,
455
+ setIdentity,
456
+ setSessionInterface,
457
+ setSessionStatus,
458
+ stampSynced,
459
+ stampVersion,
460
+ stringifyShardSource,
461
+ syncFlint,
462
+ syncReferenceMetadata,
463
+ syncSourceMeshExportMetadata,
464
+ syncSourceRepoMetadata,
465
+ tagExists,
466
+ toKebabCase,
467
+ toSnakeCase,
468
+ unfulfill as unfulfillReference,
469
+ uninstallShard,
470
+ unregisterFlint,
471
+ updateFlintEntry,
472
+ updateGitignore,
473
+ updateRepository,
474
+ updateSession,
475
+ updateShards,
476
+ updateSourceRepository,
477
+ upsertFlintEntry,
478
+ writeFlintJson,
479
+ writeFlintToml,
480
+ writeGlobalConfig,
481
+ writeIdentityState,
482
+ writeSession,
483
+ writeReferencesState as writeUnifiedReferencesState
484
+ };
@@ -5,7 +5,8 @@ import {
5
5
  cleanupStaleExports,
6
6
  scanExportEligible,
7
7
  scanExports
8
- } from "./chunk-ODSWKVNZ.js";
8
+ } from "./chunk-AUNE7HYH.js";
9
+ import "./chunk-GQSLJAUU.js";
9
10
  export {
10
11
  buildAllExports,
11
12
  buildExport,