skill-tree 0.1.1 → 0.1.2

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.
@@ -14230,6 +14230,29 @@ Context: ${options.context}`;
14230
14230
  function createCognitiveCoreProvider(options) {
14231
14231
  return new CognitiveCoreProvider(options);
14232
14232
  }
14233
+ async function createDefaultCognitiveCoreFactory() {
14234
+ const cc = await import("cognitive-core");
14235
+ return {
14236
+ createMemorySystem(storagePath) {
14237
+ return cc.createMemorySystem(storagePath);
14238
+ },
14239
+ createLearningPipeline(memory, config) {
14240
+ return cc.createLearningPipeline(
14241
+ memory,
14242
+ config
14243
+ );
14244
+ },
14245
+ createTrajectory(params) {
14246
+ return cc.createTrajectory(params);
14247
+ },
14248
+ createTask(params) {
14249
+ return cc.createTask(params);
14250
+ },
14251
+ createStep(params) {
14252
+ return cc.createStep(params);
14253
+ }
14254
+ };
14255
+ }
14233
14256
 
14234
14257
  // src/sync/git-sync-adapter.ts
14235
14258
  import * as fs8 from "fs";
@@ -15846,6 +15869,7 @@ export {
15846
15869
  conditionalHook,
15847
15870
  CognitiveCoreProvider,
15848
15871
  createCognitiveCoreProvider,
15872
+ createDefaultCognitiveCoreFactory,
15849
15873
  ConflictStore,
15850
15874
  createConflictStore,
15851
15875
  GitSyncAdapter,