@happyvertical/smrt-core 0.39.13 → 0.39.15
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/dist/manifest/static-manifest.js +2 -2
- package/dist/manifest/static-manifest.js.map +1 -1
- package/dist/manifest/store.js +1 -1
- package/dist/manifest/test-manifest-stub.js +124 -124
- package/dist/manifest/test-manifest-stub.js.map +1 -1
- package/dist/manifest.json +2 -2
- package/dist/migrations/backfill-tracker.d.ts +27 -8
- package/dist/migrations/backfill-tracker.d.ts.map +1 -1
- package/dist/migrations/backfill-tracker.js +117 -15
- package/dist/migrations/backfill-tracker.js.map +1 -1
- package/dist/migrations/index.d.ts +1 -1
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +2 -2
- package/dist/migrations.js +2 -2
- package/dist/smrt-knowledge.json +4 -4
- package/package.json +4 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
//#region src/manifest/test-manifest-stub.ts
|
|
2
2
|
var testManifest = {
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"timestamp":
|
|
4
|
+
"timestamp": 1784008179622,
|
|
5
5
|
"packageName": "@happyvertical/smrt-core",
|
|
6
|
-
"packageVersion": "0.39.
|
|
6
|
+
"packageVersion": "0.39.15",
|
|
7
7
|
"objects": {
|
|
8
8
|
"@happyvertical/smrt-core:SmrtClass": {
|
|
9
9
|
"name": "smrtclass",
|
|
@@ -66550,6 +66550,128 @@ var testManifest = {
|
|
|
66550
66550
|
"version": "9684f5a4"
|
|
66551
66551
|
}
|
|
66552
66552
|
},
|
|
66553
|
+
"@happyvertical/smrt-core:LearningNote": {
|
|
66554
|
+
"name": "learningnote",
|
|
66555
|
+
"className": "LearningNote",
|
|
66556
|
+
"qualifiedName": "@happyvertical/smrt-core:LearningNote",
|
|
66557
|
+
"collection": "learningnotes",
|
|
66558
|
+
"filePath": "packages/core/src/learning/memory.test.ts",
|
|
66559
|
+
"packageName": "@happyvertical/smrt-core",
|
|
66560
|
+
"fields": { "content": {
|
|
66561
|
+
"type": "text",
|
|
66562
|
+
"required": false,
|
|
66563
|
+
"default": ""
|
|
66564
|
+
} },
|
|
66565
|
+
"methods": {},
|
|
66566
|
+
"decoratorConfig": { "embeddings": {
|
|
66567
|
+
"fields": ["content"],
|
|
66568
|
+
"autoGenerate": false
|
|
66569
|
+
} },
|
|
66570
|
+
"extends": "SmrtObject",
|
|
66571
|
+
"exportName": "LearningNote",
|
|
66572
|
+
"collectionExportName": "LearningNoteCollection",
|
|
66573
|
+
"schema": {
|
|
66574
|
+
"tableName": "learning_notes",
|
|
66575
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"learning_notes\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"content\" TEXT DEFAULT ''\n);",
|
|
66576
|
+
"columns": {
|
|
66577
|
+
"id": {
|
|
66578
|
+
"type": "UUID",
|
|
66579
|
+
"primaryKey": true,
|
|
66580
|
+
"referenceKind": "id",
|
|
66581
|
+
"notNull": true
|
|
66582
|
+
},
|
|
66583
|
+
"slug": {
|
|
66584
|
+
"type": "TEXT",
|
|
66585
|
+
"notNull": true
|
|
66586
|
+
},
|
|
66587
|
+
"context": {
|
|
66588
|
+
"type": "TEXT",
|
|
66589
|
+
"notNull": true,
|
|
66590
|
+
"default": ""
|
|
66591
|
+
},
|
|
66592
|
+
"created_at": {
|
|
66593
|
+
"type": "TIMESTAMP",
|
|
66594
|
+
"notNull": true,
|
|
66595
|
+
"default": "current_timestamp"
|
|
66596
|
+
},
|
|
66597
|
+
"updated_at": {
|
|
66598
|
+
"type": "TIMESTAMP",
|
|
66599
|
+
"notNull": true,
|
|
66600
|
+
"default": "current_timestamp"
|
|
66601
|
+
},
|
|
66602
|
+
"content": {
|
|
66603
|
+
"type": "TEXT",
|
|
66604
|
+
"notNull": false,
|
|
66605
|
+
"unique": false,
|
|
66606
|
+
"default": ""
|
|
66607
|
+
}
|
|
66608
|
+
},
|
|
66609
|
+
"indexes": [{
|
|
66610
|
+
"name": "learning_notes_id_idx",
|
|
66611
|
+
"columns": ["id"]
|
|
66612
|
+
}, {
|
|
66613
|
+
"name": "learning_notes_slug_context_idx",
|
|
66614
|
+
"columns": ["slug", "context"],
|
|
66615
|
+
"unique": true
|
|
66616
|
+
}],
|
|
66617
|
+
"version": "61ba3524"
|
|
66618
|
+
}
|
|
66619
|
+
},
|
|
66620
|
+
"@happyvertical/smrt-core:LearningNoteCollection": {
|
|
66621
|
+
"name": "learningnotecollection",
|
|
66622
|
+
"className": "LearningNoteCollection",
|
|
66623
|
+
"qualifiedName": "@happyvertical/smrt-core:LearningNoteCollection",
|
|
66624
|
+
"collection": "learningnotes",
|
|
66625
|
+
"filePath": "packages/core/src/learning/memory.test.ts",
|
|
66626
|
+
"packageName": "@happyvertical/smrt-core",
|
|
66627
|
+
"fields": {},
|
|
66628
|
+
"methods": {},
|
|
66629
|
+
"decoratorConfig": {},
|
|
66630
|
+
"extends": "SmrtCollection",
|
|
66631
|
+
"extendsTypeArg": "LearningNote",
|
|
66632
|
+
"exportName": "LearningNoteCollection",
|
|
66633
|
+
"collectionExportName": "LearningNoteCollectionCollection",
|
|
66634
|
+
"schema": {
|
|
66635
|
+
"tableName": "learning_note_collections",
|
|
66636
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"learning_note_collections\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp\n);",
|
|
66637
|
+
"columns": {
|
|
66638
|
+
"id": {
|
|
66639
|
+
"type": "UUID",
|
|
66640
|
+
"primaryKey": true,
|
|
66641
|
+
"referenceKind": "id",
|
|
66642
|
+
"notNull": true
|
|
66643
|
+
},
|
|
66644
|
+
"slug": {
|
|
66645
|
+
"type": "TEXT",
|
|
66646
|
+
"notNull": true
|
|
66647
|
+
},
|
|
66648
|
+
"context": {
|
|
66649
|
+
"type": "TEXT",
|
|
66650
|
+
"notNull": true,
|
|
66651
|
+
"default": ""
|
|
66652
|
+
},
|
|
66653
|
+
"created_at": {
|
|
66654
|
+
"type": "TIMESTAMP",
|
|
66655
|
+
"notNull": true,
|
|
66656
|
+
"default": "current_timestamp"
|
|
66657
|
+
},
|
|
66658
|
+
"updated_at": {
|
|
66659
|
+
"type": "TIMESTAMP",
|
|
66660
|
+
"notNull": true,
|
|
66661
|
+
"default": "current_timestamp"
|
|
66662
|
+
}
|
|
66663
|
+
},
|
|
66664
|
+
"indexes": [{
|
|
66665
|
+
"name": "learning_note_collections_id_idx",
|
|
66666
|
+
"columns": ["id"]
|
|
66667
|
+
}, {
|
|
66668
|
+
"name": "learning_note_collections_slug_context_idx",
|
|
66669
|
+
"columns": ["slug", "context"],
|
|
66670
|
+
"unique": true
|
|
66671
|
+
}],
|
|
66672
|
+
"version": "4d2823ae"
|
|
66673
|
+
}
|
|
66674
|
+
},
|
|
66553
66675
|
"@happyvertical/smrt-core:CliCmdWidget": {
|
|
66554
66676
|
"name": "clicmdwidget",
|
|
66555
66677
|
"className": "CliCmdWidget",
|
|
@@ -71841,128 +71963,6 @@ var testManifest = {
|
|
|
71841
71963
|
"version": "f97e7d09"
|
|
71842
71964
|
}
|
|
71843
71965
|
},
|
|
71844
|
-
"@happyvertical/smrt-core:LearningNote": {
|
|
71845
|
-
"name": "learningnote",
|
|
71846
|
-
"className": "LearningNote",
|
|
71847
|
-
"qualifiedName": "@happyvertical/smrt-core:LearningNote",
|
|
71848
|
-
"collection": "learningnotes",
|
|
71849
|
-
"filePath": "packages/core/src/learning/memory.test.ts",
|
|
71850
|
-
"packageName": "@happyvertical/smrt-core",
|
|
71851
|
-
"fields": { "content": {
|
|
71852
|
-
"type": "text",
|
|
71853
|
-
"required": false,
|
|
71854
|
-
"default": ""
|
|
71855
|
-
} },
|
|
71856
|
-
"methods": {},
|
|
71857
|
-
"decoratorConfig": { "embeddings": {
|
|
71858
|
-
"fields": ["content"],
|
|
71859
|
-
"autoGenerate": false
|
|
71860
|
-
} },
|
|
71861
|
-
"extends": "SmrtObject",
|
|
71862
|
-
"exportName": "LearningNote",
|
|
71863
|
-
"collectionExportName": "LearningNoteCollection",
|
|
71864
|
-
"schema": {
|
|
71865
|
-
"tableName": "learning_notes",
|
|
71866
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"learning_notes\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"content\" TEXT DEFAULT ''\n);",
|
|
71867
|
-
"columns": {
|
|
71868
|
-
"id": {
|
|
71869
|
-
"type": "UUID",
|
|
71870
|
-
"primaryKey": true,
|
|
71871
|
-
"referenceKind": "id",
|
|
71872
|
-
"notNull": true
|
|
71873
|
-
},
|
|
71874
|
-
"slug": {
|
|
71875
|
-
"type": "TEXT",
|
|
71876
|
-
"notNull": true
|
|
71877
|
-
},
|
|
71878
|
-
"context": {
|
|
71879
|
-
"type": "TEXT",
|
|
71880
|
-
"notNull": true,
|
|
71881
|
-
"default": ""
|
|
71882
|
-
},
|
|
71883
|
-
"created_at": {
|
|
71884
|
-
"type": "TIMESTAMP",
|
|
71885
|
-
"notNull": true,
|
|
71886
|
-
"default": "current_timestamp"
|
|
71887
|
-
},
|
|
71888
|
-
"updated_at": {
|
|
71889
|
-
"type": "TIMESTAMP",
|
|
71890
|
-
"notNull": true,
|
|
71891
|
-
"default": "current_timestamp"
|
|
71892
|
-
},
|
|
71893
|
-
"content": {
|
|
71894
|
-
"type": "TEXT",
|
|
71895
|
-
"notNull": false,
|
|
71896
|
-
"unique": false,
|
|
71897
|
-
"default": ""
|
|
71898
|
-
}
|
|
71899
|
-
},
|
|
71900
|
-
"indexes": [{
|
|
71901
|
-
"name": "learning_notes_id_idx",
|
|
71902
|
-
"columns": ["id"]
|
|
71903
|
-
}, {
|
|
71904
|
-
"name": "learning_notes_slug_context_idx",
|
|
71905
|
-
"columns": ["slug", "context"],
|
|
71906
|
-
"unique": true
|
|
71907
|
-
}],
|
|
71908
|
-
"version": "61ba3524"
|
|
71909
|
-
}
|
|
71910
|
-
},
|
|
71911
|
-
"@happyvertical/smrt-core:LearningNoteCollection": {
|
|
71912
|
-
"name": "learningnotecollection",
|
|
71913
|
-
"className": "LearningNoteCollection",
|
|
71914
|
-
"qualifiedName": "@happyvertical/smrt-core:LearningNoteCollection",
|
|
71915
|
-
"collection": "learningnotes",
|
|
71916
|
-
"filePath": "packages/core/src/learning/memory.test.ts",
|
|
71917
|
-
"packageName": "@happyvertical/smrt-core",
|
|
71918
|
-
"fields": {},
|
|
71919
|
-
"methods": {},
|
|
71920
|
-
"decoratorConfig": {},
|
|
71921
|
-
"extends": "SmrtCollection",
|
|
71922
|
-
"extendsTypeArg": "LearningNote",
|
|
71923
|
-
"exportName": "LearningNoteCollection",
|
|
71924
|
-
"collectionExportName": "LearningNoteCollectionCollection",
|
|
71925
|
-
"schema": {
|
|
71926
|
-
"tableName": "learning_note_collections",
|
|
71927
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"learning_note_collections\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp\n);",
|
|
71928
|
-
"columns": {
|
|
71929
|
-
"id": {
|
|
71930
|
-
"type": "UUID",
|
|
71931
|
-
"primaryKey": true,
|
|
71932
|
-
"referenceKind": "id",
|
|
71933
|
-
"notNull": true
|
|
71934
|
-
},
|
|
71935
|
-
"slug": {
|
|
71936
|
-
"type": "TEXT",
|
|
71937
|
-
"notNull": true
|
|
71938
|
-
},
|
|
71939
|
-
"context": {
|
|
71940
|
-
"type": "TEXT",
|
|
71941
|
-
"notNull": true,
|
|
71942
|
-
"default": ""
|
|
71943
|
-
},
|
|
71944
|
-
"created_at": {
|
|
71945
|
-
"type": "TIMESTAMP",
|
|
71946
|
-
"notNull": true,
|
|
71947
|
-
"default": "current_timestamp"
|
|
71948
|
-
},
|
|
71949
|
-
"updated_at": {
|
|
71950
|
-
"type": "TIMESTAMP",
|
|
71951
|
-
"notNull": true,
|
|
71952
|
-
"default": "current_timestamp"
|
|
71953
|
-
}
|
|
71954
|
-
},
|
|
71955
|
-
"indexes": [{
|
|
71956
|
-
"name": "learning_note_collections_id_idx",
|
|
71957
|
-
"columns": ["id"]
|
|
71958
|
-
}, {
|
|
71959
|
-
"name": "learning_note_collections_slug_context_idx",
|
|
71960
|
-
"columns": ["slug", "context"],
|
|
71961
|
-
"unique": true
|
|
71962
|
-
}],
|
|
71963
|
-
"version": "4d2823ae"
|
|
71964
|
-
}
|
|
71965
|
-
},
|
|
71966
71966
|
"@happyvertical/smrt-core:CliModuleTestDocument": {
|
|
71967
71967
|
"name": "climoduletestdocument",
|
|
71968
71968
|
"className": "CliModuleTestDocument",
|