dsh-daoing-memory 0.1.6 → 0.1.7
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/lib/client.js +179 -99
- package/lib/client.js.map +1 -1
- package/lib/index.js +59 -0
- package/lib/typert.host.js +101 -42
- package/lib/typert.remote-client.d.ts +4 -1
- package/lib/typert.remote-client.js +90 -42
- package/lib/types/core.d.ts +8 -1
- package/lib/types/core.js +27 -0
- package/lib/types/service.d.ts +5 -1
- package/lib/types/service.js +9 -0
- package/lib/types/types.d.ts +16 -0
- package/lib/types/types.js +14 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -4703,6 +4703,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4703
4703
|
"deleted": boolean(),
|
|
4704
4704
|
"conflictPending": boolean()
|
|
4705
4705
|
});
|
|
4706
|
+
const dsh_daoing_memory_memory_humanArchiveExperience_parameter_0$schema = intersection(string(), unknown());
|
|
4707
|
+
const dsh_daoing_memory_memory_humanArchiveExperience_parameter_1$schema = object({
|
|
4708
|
+
"id": string(),
|
|
4709
|
+
"reason": string()
|
|
4710
|
+
});
|
|
4711
|
+
const dsh_daoing_memory_memory_humanArchiveExperience_result$schema = object({ "archived": literal(true) });
|
|
4706
4712
|
const dsh_daoing_memory_memory_humanConfirmFact_parameter_0$schema = intersection(string(), unknown());
|
|
4707
4713
|
const dsh_daoing_memory_memory_humanConfirmFact_parameter_1$schema = object({
|
|
4708
4714
|
"factId": string(),
|
|
@@ -5933,7 +5939,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5933
5939
|
},
|
|
5934
5940
|
sourceLocation: {
|
|
5935
5941
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
5936
|
-
"line":
|
|
5942
|
+
"line": 146,
|
|
5937
5943
|
"column": 3
|
|
5938
5944
|
}
|
|
5939
5945
|
},
|
|
@@ -5974,7 +5980,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5974
5980
|
},
|
|
5975
5981
|
sourceLocation: {
|
|
5976
5982
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
5977
|
-
"line":
|
|
5983
|
+
"line": 219,
|
|
5978
5984
|
"column": 3
|
|
5979
5985
|
}
|
|
5980
5986
|
},
|
|
@@ -6006,7 +6012,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6006
6012
|
},
|
|
6007
6013
|
sourceLocation: {
|
|
6008
6014
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6009
|
-
"line":
|
|
6015
|
+
"line": 226,
|
|
6010
6016
|
"column": 3
|
|
6011
6017
|
}
|
|
6012
6018
|
},
|
|
@@ -6038,7 +6044,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6038
6044
|
},
|
|
6039
6045
|
sourceLocation: {
|
|
6040
6046
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6041
|
-
"line":
|
|
6047
|
+
"line": 268,
|
|
6042
6048
|
"column": 3
|
|
6043
6049
|
}
|
|
6044
6050
|
},
|
|
@@ -6079,7 +6085,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6079
6085
|
},
|
|
6080
6086
|
sourceLocation: {
|
|
6081
6087
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6082
|
-
"line":
|
|
6088
|
+
"line": 152,
|
|
6083
6089
|
"column": 3
|
|
6084
6090
|
}
|
|
6085
6091
|
},
|
|
@@ -6133,7 +6139,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6133
6139
|
},
|
|
6134
6140
|
sourceLocation: {
|
|
6135
6141
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6136
|
-
"line":
|
|
6142
|
+
"line": 205,
|
|
6137
6143
|
"column": 3
|
|
6138
6144
|
}
|
|
6139
6145
|
},
|
|
@@ -6165,7 +6171,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6165
6171
|
},
|
|
6166
6172
|
sourceLocation: {
|
|
6167
6173
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6168
|
-
"line":
|
|
6174
|
+
"line": 212,
|
|
6169
6175
|
"column": 3
|
|
6170
6176
|
}
|
|
6171
6177
|
},
|
|
@@ -6206,7 +6212,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6206
6212
|
},
|
|
6207
6213
|
sourceLocation: {
|
|
6208
6214
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6209
|
-
"line":
|
|
6215
|
+
"line": 139,
|
|
6210
6216
|
"column": 3
|
|
6211
6217
|
}
|
|
6212
6218
|
},
|
|
@@ -6261,7 +6267,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6261
6267
|
},
|
|
6262
6268
|
sourceLocation: {
|
|
6263
6269
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6264
|
-
"line":
|
|
6270
|
+
"line": 125,
|
|
6265
6271
|
"column": 3
|
|
6266
6272
|
}
|
|
6267
6273
|
},
|
|
@@ -6302,7 +6308,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6302
6308
|
},
|
|
6303
6309
|
sourceLocation: {
|
|
6304
6310
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6305
|
-
"line":
|
|
6311
|
+
"line": 165,
|
|
6306
6312
|
"column": 3
|
|
6307
6313
|
}
|
|
6308
6314
|
},
|
|
@@ -6343,7 +6349,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6343
6349
|
},
|
|
6344
6350
|
sourceLocation: {
|
|
6345
6351
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6346
|
-
"line":
|
|
6352
|
+
"line": 373,
|
|
6347
6353
|
"column": 3
|
|
6348
6354
|
}
|
|
6349
6355
|
},
|
|
@@ -6384,7 +6390,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6384
6390
|
},
|
|
6385
6391
|
sourceLocation: {
|
|
6386
6392
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6387
|
-
"line":
|
|
6393
|
+
"line": 316,
|
|
6388
6394
|
"column": 3
|
|
6389
6395
|
}
|
|
6390
6396
|
},
|
|
@@ -6425,7 +6431,48 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6425
6431
|
},
|
|
6426
6432
|
sourceLocation: {
|
|
6427
6433
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6428
|
-
"line":
|
|
6434
|
+
"line": 344,
|
|
6435
|
+
"column": 3
|
|
6436
|
+
}
|
|
6437
|
+
},
|
|
6438
|
+
{
|
|
6439
|
+
id: "dsh-daoing-memory#memory/humanArchiveExperience",
|
|
6440
|
+
service: "memory",
|
|
6441
|
+
namespace: "memory",
|
|
6442
|
+
method: "humanArchiveExperience",
|
|
6443
|
+
invocation: { kind: "direct" },
|
|
6444
|
+
scope: {
|
|
6445
|
+
context: "agent",
|
|
6446
|
+
wire: "agentId"
|
|
6447
|
+
},
|
|
6448
|
+
parameters: [{
|
|
6449
|
+
name: "agent",
|
|
6450
|
+
wire: "agentId",
|
|
6451
|
+
source: "lookup",
|
|
6452
|
+
lookup: "agent",
|
|
6453
|
+
codec: {
|
|
6454
|
+
mode: "strict",
|
|
6455
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
6456
|
+
schema: dsh_daoing_memory_memory_humanArchiveExperience_parameter_0$schema
|
|
6457
|
+
}
|
|
6458
|
+
}, {
|
|
6459
|
+
name: "request",
|
|
6460
|
+
wire: "request",
|
|
6461
|
+
source: "json",
|
|
6462
|
+
codec: {
|
|
6463
|
+
mode: "strict",
|
|
6464
|
+
typeSymbol: "dsh-daoing-memory/types#HumanArchiveExperienceRequest",
|
|
6465
|
+
schema: dsh_daoing_memory_memory_humanArchiveExperience_parameter_1$schema
|
|
6466
|
+
}
|
|
6467
|
+
}],
|
|
6468
|
+
result: {
|
|
6469
|
+
mode: "strict",
|
|
6470
|
+
typeSymbol: "dsh-daoing-memory#memory/humanArchiveExperience:result",
|
|
6471
|
+
schema: dsh_daoing_memory_memory_humanArchiveExperience_result$schema
|
|
6472
|
+
},
|
|
6473
|
+
sourceLocation: {
|
|
6474
|
+
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6475
|
+
"line": 301,
|
|
6429
6476
|
"column": 3
|
|
6430
6477
|
}
|
|
6431
6478
|
},
|
|
@@ -6466,7 +6513,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6466
6513
|
},
|
|
6467
6514
|
sourceLocation: {
|
|
6468
6515
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6469
|
-
"line":
|
|
6516
|
+
"line": 366,
|
|
6470
6517
|
"column": 3
|
|
6471
6518
|
}
|
|
6472
6519
|
},
|
|
@@ -6507,7 +6554,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6507
6554
|
},
|
|
6508
6555
|
sourceLocation: {
|
|
6509
6556
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6510
|
-
"line":
|
|
6557
|
+
"line": 388,
|
|
6511
6558
|
"column": 3
|
|
6512
6559
|
}
|
|
6513
6560
|
},
|
|
@@ -6548,7 +6595,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6548
6595
|
},
|
|
6549
6596
|
sourceLocation: {
|
|
6550
6597
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6551
|
-
"line":
|
|
6598
|
+
"line": 293,
|
|
6552
6599
|
"column": 3
|
|
6553
6600
|
}
|
|
6554
6601
|
},
|
|
@@ -6589,7 +6636,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6589
6636
|
},
|
|
6590
6637
|
sourceLocation: {
|
|
6591
6638
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6592
|
-
"line":
|
|
6639
|
+
"line": 358,
|
|
6593
6640
|
"column": 3
|
|
6594
6641
|
}
|
|
6595
6642
|
},
|
|
@@ -6630,7 +6677,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6630
6677
|
},
|
|
6631
6678
|
sourceLocation: {
|
|
6632
6679
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6633
|
-
"line":
|
|
6680
|
+
"line": 309,
|
|
6634
6681
|
"column": 3
|
|
6635
6682
|
}
|
|
6636
6683
|
},
|
|
@@ -6671,7 +6718,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6671
6718
|
},
|
|
6672
6719
|
sourceLocation: {
|
|
6673
6720
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6674
|
-
"line":
|
|
6721
|
+
"line": 351,
|
|
6675
6722
|
"column": 3
|
|
6676
6723
|
}
|
|
6677
6724
|
},
|
|
@@ -6712,7 +6759,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6712
6759
|
},
|
|
6713
6760
|
sourceLocation: {
|
|
6714
6761
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6715
|
-
"line":
|
|
6762
|
+
"line": 286,
|
|
6716
6763
|
"column": 3
|
|
6717
6764
|
}
|
|
6718
6765
|
},
|
|
@@ -6766,7 +6813,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6766
6813
|
},
|
|
6767
6814
|
sourceLocation: {
|
|
6768
6815
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6769
|
-
"line":
|
|
6816
|
+
"line": 323,
|
|
6770
6817
|
"column": 3
|
|
6771
6818
|
}
|
|
6772
6819
|
},
|
|
@@ -6807,7 +6854,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6807
6854
|
},
|
|
6808
6855
|
sourceLocation: {
|
|
6809
6856
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6810
|
-
"line":
|
|
6857
|
+
"line": 330,
|
|
6811
6858
|
"column": 3
|
|
6812
6859
|
}
|
|
6813
6860
|
},
|
|
@@ -6848,7 +6895,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6848
6895
|
},
|
|
6849
6896
|
sourceLocation: {
|
|
6850
6897
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6851
|
-
"line":
|
|
6898
|
+
"line": 337,
|
|
6852
6899
|
"column": 3
|
|
6853
6900
|
}
|
|
6854
6901
|
},
|
|
@@ -6889,7 +6936,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6889
6936
|
},
|
|
6890
6937
|
sourceLocation: {
|
|
6891
6938
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6892
|
-
"line":
|
|
6939
|
+
"line": 380,
|
|
6893
6940
|
"column": 3
|
|
6894
6941
|
}
|
|
6895
6942
|
},
|
|
@@ -6930,7 +6977,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6930
6977
|
},
|
|
6931
6978
|
sourceLocation: {
|
|
6932
6979
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6933
|
-
"line":
|
|
6980
|
+
"line": 101,
|
|
6934
6981
|
"column": 3
|
|
6935
6982
|
}
|
|
6936
6983
|
},
|
|
@@ -6971,7 +7018,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6971
7018
|
},
|
|
6972
7019
|
sourceLocation: {
|
|
6973
7020
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
6974
|
-
"line":
|
|
7021
|
+
"line": 233,
|
|
6975
7022
|
"column": 3
|
|
6976
7023
|
}
|
|
6977
7024
|
},
|
|
@@ -7012,7 +7059,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7012
7059
|
},
|
|
7013
7060
|
sourceLocation: {
|
|
7014
7061
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7015
|
-
"line":
|
|
7062
|
+
"line": 240,
|
|
7016
7063
|
"column": 3
|
|
7017
7064
|
}
|
|
7018
7065
|
},
|
|
@@ -7053,7 +7100,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7053
7100
|
},
|
|
7054
7101
|
sourceLocation: {
|
|
7055
7102
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7056
|
-
"line":
|
|
7103
|
+
"line": 132,
|
|
7057
7104
|
"column": 3
|
|
7058
7105
|
}
|
|
7059
7106
|
},
|
|
@@ -7127,7 +7174,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7127
7174
|
},
|
|
7128
7175
|
sourceLocation: {
|
|
7129
7176
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7130
|
-
"line":
|
|
7177
|
+
"line": 186,
|
|
7131
7178
|
"column": 3
|
|
7132
7179
|
}
|
|
7133
7180
|
},
|
|
@@ -7181,7 +7228,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7181
7228
|
},
|
|
7182
7229
|
sourceLocation: {
|
|
7183
7230
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7184
|
-
"line":
|
|
7231
|
+
"line": 193,
|
|
7185
7232
|
"column": 3
|
|
7186
7233
|
}
|
|
7187
7234
|
},
|
|
@@ -7245,7 +7292,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7245
7292
|
},
|
|
7246
7293
|
sourceLocation: {
|
|
7247
7294
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7248
|
-
"line":
|
|
7295
|
+
"line": 158,
|
|
7249
7296
|
"column": 3
|
|
7250
7297
|
}
|
|
7251
7298
|
},
|
|
@@ -7319,7 +7366,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7319
7366
|
},
|
|
7320
7367
|
sourceLocation: {
|
|
7321
7368
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7322
|
-
"line":
|
|
7369
|
+
"line": 172,
|
|
7323
7370
|
"column": 3
|
|
7324
7371
|
}
|
|
7325
7372
|
},
|
|
@@ -7373,7 +7420,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7373
7420
|
},
|
|
7374
7421
|
sourceLocation: {
|
|
7375
7422
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7376
|
-
"line":
|
|
7423
|
+
"line": 179,
|
|
7377
7424
|
"column": 3
|
|
7378
7425
|
}
|
|
7379
7426
|
},
|
|
@@ -7414,7 +7461,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7414
7461
|
},
|
|
7415
7462
|
sourceLocation: {
|
|
7416
7463
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7417
|
-
"line":
|
|
7464
|
+
"line": 89,
|
|
7418
7465
|
"column": 3
|
|
7419
7466
|
}
|
|
7420
7467
|
},
|
|
@@ -7455,7 +7502,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7455
7502
|
},
|
|
7456
7503
|
sourceLocation: {
|
|
7457
7504
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7458
|
-
"line":
|
|
7505
|
+
"line": 83,
|
|
7459
7506
|
"column": 3
|
|
7460
7507
|
}
|
|
7461
7508
|
},
|
|
@@ -7496,7 +7543,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7496
7543
|
},
|
|
7497
7544
|
sourceLocation: {
|
|
7498
7545
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7499
|
-
"line":
|
|
7546
|
+
"line": 95,
|
|
7500
7547
|
"column": 3
|
|
7501
7548
|
}
|
|
7502
7549
|
},
|
|
@@ -7537,7 +7584,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7537
7584
|
},
|
|
7538
7585
|
sourceLocation: {
|
|
7539
7586
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7540
|
-
"line":
|
|
7587
|
+
"line": 107,
|
|
7541
7588
|
"column": 3
|
|
7542
7589
|
}
|
|
7543
7590
|
},
|
|
@@ -7578,7 +7625,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7578
7625
|
},
|
|
7579
7626
|
sourceLocation: {
|
|
7580
7627
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7581
|
-
"line":
|
|
7628
|
+
"line": 119,
|
|
7582
7629
|
"column": 3
|
|
7583
7630
|
}
|
|
7584
7631
|
},
|
|
@@ -7610,7 +7657,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7610
7657
|
},
|
|
7611
7658
|
sourceLocation: {
|
|
7612
7659
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7613
|
-
"line":
|
|
7660
|
+
"line": 254,
|
|
7614
7661
|
"column": 3
|
|
7615
7662
|
}
|
|
7616
7663
|
},
|
|
@@ -7642,7 +7689,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7642
7689
|
},
|
|
7643
7690
|
sourceLocation: {
|
|
7644
7691
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7645
|
-
"line":
|
|
7692
|
+
"line": 247,
|
|
7646
7693
|
"column": 3
|
|
7647
7694
|
}
|
|
7648
7695
|
},
|
|
@@ -7683,7 +7730,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7683
7730
|
},
|
|
7684
7731
|
sourceLocation: {
|
|
7685
7732
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7686
|
-
"line":
|
|
7733
|
+
"line": 113,
|
|
7687
7734
|
"column": 3
|
|
7688
7735
|
}
|
|
7689
7736
|
},
|
|
@@ -7715,7 +7762,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7715
7762
|
},
|
|
7716
7763
|
sourceLocation: {
|
|
7717
7764
|
"file": "packages/memory/dsh-daoing-memory/src/service.ts",
|
|
7718
|
-
"line":
|
|
7765
|
+
"line": 261,
|
|
7719
7766
|
"column": 3
|
|
7720
7767
|
}
|
|
7721
7768
|
}
|
|
@@ -7795,6 +7842,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7795
7842
|
exportLibrary: () => remote.exportLibrary(session),
|
|
7796
7843
|
humanPin: (request) => remote.humanPin(session, request),
|
|
7797
7844
|
humanDeleteExperience: (request) => remote.humanDeleteExperience(session, request),
|
|
7845
|
+
humanArchiveExperience: (request) => remote.humanArchiveExperience(session, request),
|
|
7798
7846
|
humanEditExperience: (request) => remote.humanEditExperience(session, request),
|
|
7799
7847
|
humanAddExperience: (request) => remote.humanAddExperience(session, request),
|
|
7800
7848
|
humanPromote: (id, reason) => remote.humanPromote(session, id, reason),
|
|
@@ -7878,6 +7926,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7878
7926
|
return _currentPage;
|
|
7879
7927
|
}
|
|
7880
7928
|
//#endregion
|
|
7929
|
+
//#region src/types.ts
|
|
7930
|
+
/**
|
|
7931
|
+
* Memory system wire vocabulary: experience lifecycle, recall adjudication,
|
|
7932
|
+
* use reports with attribution, the diary/fact semantic layer, and the
|
|
7933
|
+
* append-only ledger. Types only — no runtime code.
|
|
7934
|
+
* @module dsh-daoing-memory/types
|
|
7935
|
+
*/
|
|
7936
|
+
/**
|
|
7937
|
+
* System-managed experience families that cannot be deleted by human operators
|
|
7938
|
+
* (only archived). The extraction-feedback family is auto-generated by the
|
|
7939
|
+
* daily deletion-reason summarizer and serves as negative guidance for future
|
|
7940
|
+
* memory extraction.
|
|
7941
|
+
*/
|
|
7942
|
+
const SYSTEM_EXPERIENCE_FAMILIES = new Set(["extraction-feedback"]);
|
|
7943
|
+
//#endregion
|
|
7881
7944
|
//#region \0dsh-css:D:\DSH 插件项目\项目源码\deepseek-harness-master\packages\memory\dsh-daoing-memory\src\client\Workbench.module.css.mjs
|
|
7882
7945
|
const css$1 = ".KAfEAG_panel{background:var(--dsw-alias-bg-base);border-left:1px solid var(--dsw-alias-border-l2);flex-direction:column;display:flex;position:absolute;top:0;bottom:0;right:0;overflow:hidden}.KAfEAG_header{border-bottom:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-module-platform);flex-wrap:wrap;align-items:center;gap:16px;padding:10px 16px;display:flex}.KAfEAG_titleBlock{flex-direction:column;gap:2px;min-width:180px;display:flex}.KAfEAG_title{color:var(--dsw-alias-label-primary);font-size:15px;font-weight:600}.KAfEAG_subtitle{color:var(--dsw-alias-label-caption);font-size:11px}.KAfEAG_statline{color:var(--dsw-alias-label-tertiary);margin-left:auto;font-size:11px}.KAfEAG_body{flex:1;padding:12px 16px 24px;overflow:auto}.KAfEAG_workbenchTabs{border-bottom:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-module-platform);align-items:center;gap:2px;padding:0 16px;display:flex}.KAfEAG_workbenchTab{color:var(--dsw-alias-label-secondary);cursor:pointer;white-space:nowrap;background:0 0;border:none;padding:10px 14px;font-size:13px;line-height:20px;position:relative}.KAfEAG_workbenchTab:hover{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-hover)}.KAfEAG_workbenchTabActive{color:var(--dsw-alias-label-primary);font-weight:600}.KAfEAG_workbenchTabActive:after{content:\"\";background:var(--ds-color-accent,#4c8dff);border-radius:2px 2px 0 0;height:2px;position:absolute;bottom:-1px;left:14px;right:14px}.KAfEAG_page{flex-direction:column;gap:10px;display:flex}.KAfEAG_toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.KAfEAG_tabs{border-bottom:1px solid var(--dsw-alias-border-l2);flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:12px;padding-bottom:8px;display:flex}.KAfEAG_tab{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary);cursor:pointer;white-space:nowrap;border-radius:999px;padding:6px 12px;font-size:12px}.KAfEAG_tab:hover{background:var(--dsw-alias-interactive-bg-hover)}.KAfEAG_tabActive{background:var(--dsw-alias-interactive-bg-active,var(--dsw-alias-bg-module-platform));color:var(--dsw-alias-label-primary);border-color:var(--dsw-alias-border-l3,var(--dsw-alias-border-l2));font-weight:600}.KAfEAG_field{color:var(--dsw-alias-label-caption);flex-direction:column;gap:3px;font-size:11px;display:flex}.KAfEAG_field input,.KAfEAG_field select,.KAfEAG_field textarea{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-base);color:var(--dsw-alias-label-primary);border-radius:6px;min-width:140px;padding:5px 8px;font-size:12px}.KAfEAG_field textarea{resize:vertical}.KAfEAG_check{color:var(--dsw-alias-label-secondary);align-items:center;gap:5px;font-size:12px;display:flex}.KAfEAG_btn{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-primary);cursor:pointer;white-space:nowrap;border-radius:6px;padding:5px 10px;font-size:12px}.KAfEAG_btn:hover{background:var(--dsw-alias-interactive-bg-hover)}.KAfEAG_btn:disabled{opacity:.5;cursor:default}.KAfEAG_btnDanger{color:var(--dsw-alias-state-error-primary)}.KAfEAG_btnDanger:hover{background:var(--dsw-alias-interactive-bg-hover-danger)}.KAfEAG_error{color:var(--dsw-alias-state-error-primary);font-size:12px}.KAfEAG_okLine{color:var(--dsw-alias-state-success-primary);font-size:12px}.KAfEAG_warnLine{color:var(--dsw-alias-state-warn-label);margin-bottom:6px;font-size:12px}.KAfEAG_empty{color:var(--dsw-alias-label-caption);padding:14px 4px;font-size:12px}.KAfEAG_list{flex-direction:column;gap:8px;display:flex}.KAfEAG_card{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-module-platform);border-radius:8px;padding:8px 12px}.KAfEAG_cardHead{cursor:pointer;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.KAfEAG_cardTitle{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500}.KAfEAG_cardMeta{color:var(--dsw-alias-label-caption);font-size:11px}.KAfEAG_cardSub{align-items:center;gap:12px;margin-top:4px;display:flex}.KAfEAG_concernBg{color:var(--dsw-alias-label-caption);margin-top:3px;font-size:11px;line-height:1.5}.KAfEAG_cardDetail{border-top:1px solid var(--dsw-alias-border-l2);flex-direction:column;gap:5px;margin-top:8px;padding-top:8px;display:flex}.KAfEAG_detailRow{color:var(--dsw-alias-label-secondary);font-size:12px}.KAfEAG_detailLabel{min-width:64px;color:var(--dsw-alias-label-caption);display:inline-block}.KAfEAG_actions{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.KAfEAG_historyTitle{color:var(--dsw-alias-label-secondary);margin-top:10px;font-size:12px;font-weight:600}.KAfEAG_table{border-collapse:collapse;width:100%;color:var(--dsw-alias-label-secondary);font-size:12px}.KAfEAG_table th{text-align:left;color:var(--dsw-alias-label-caption);border-bottom:1px solid var(--dsw-alias-border-l2);padding:5px 8px;font-weight:500}.KAfEAG_table td{border-bottom:1px solid var(--dsw-alias-border-l2);vertical-align:top;padding:5px 8px}.KAfEAG_valueCell{text-overflow:ellipsis;white-space:nowrap;max-width:320px;overflow:hidden}.KAfEAG_payloadFull{white-space:pre-wrap;word-break:break-all;max-width:480px}.KAfEAG_payloadToggle{cursor:pointer;color:var(--ds-color-accent,#4c8dff);user-select:none;margin-left:6px;font-size:12px}.KAfEAG_payloadToggle:hover{text-decoration:underline}.KAfEAG_cellActions{flex-wrap:wrap;gap:4px;display:flex}.KAfEAG_badge{white-space:nowrap;border-radius:9px;padding:1px 7px;font-size:11px}.KAfEAG_badgePositive{background:var(--dsw-alias-state-success-tertiary);color:var(--dsw-alias-state-success-primary)}.KAfEAG_badgeNegative{background:var(--dsw-alias-state-warn-tertiary);color:var(--dsw-alias-state-warn-label)}.KAfEAG_badgePinned{background:var(--dsw-alias-state-business-tertiary);color:var(--dsw-alias-state-business-primary)}.KAfEAG_badgeConflict{background:var(--dsw-alias-state-warn-tertiary);color:var(--dsw-alias-state-warn-label)}.KAfEAG_statusLive{background:var(--dsw-alias-state-success-tertiary);color:var(--dsw-alias-state-success-primary)}.KAfEAG_statusCandidate{background:var(--dsw-alias-interactive-bg-active);color:var(--dsw-alias-label-secondary)}.KAfEAG_statusChallenged{background:var(--dsw-alias-interactive-bg-hover-danger);color:var(--dsw-alias-state-error-primary)}.KAfEAG_statusOther{background:var(--dsw-alias-bg-skeleton);color:var(--dsw-alias-label-caption)}.KAfEAG_trust{color:var(--dsw-alias-label-tertiary);font-size:11px}.KAfEAG_columns{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start;gap:16px;display:grid}.KAfEAG_column{flex-direction:column;gap:8px;min-width:0;display:flex}.KAfEAG_sectionTitle{color:var(--dsw-alias-label-primary);margin-top:6px;font-size:13px;font-weight:600}.KAfEAG_form{border:1px solid var(--dsw-alias-border-l2);border-radius:8px;flex-direction:column;gap:8px;padding:12px;display:flex}.KAfEAG_form .KAfEAG_btn{align-self:flex-start}.KAfEAG_rules{color:var(--dsw-alias-label-secondary);flex-direction:column;gap:4px;margin:0;padding-left:18px;font-size:12px;display:flex}";
|
|
7883
7946
|
const tagId$1 = "dsh-daoing-memory/Workbench.module.css";
|
|
@@ -7889,61 +7952,61 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7889
7952
|
document.head.appendChild(tag);
|
|
7890
7953
|
}
|
|
7891
7954
|
var Workbench_module_css_default = {
|
|
7892
|
-
"
|
|
7893
|
-
"trust": "KAfEAG_trust",
|
|
7894
|
-
"columns": "KAfEAG_columns",
|
|
7895
|
-
"cardMeta": "KAfEAG_cardMeta",
|
|
7896
|
-
"statusOther": "KAfEAG_statusOther",
|
|
7897
|
-
"cardTitle": "KAfEAG_cardTitle",
|
|
7898
|
-
"badgePositive": "KAfEAG_badgePositive",
|
|
7899
|
-
"badgeNegative": "KAfEAG_badgeNegative",
|
|
7900
|
-
"cardSub": "KAfEAG_cardSub",
|
|
7901
|
-
"payloadToggle": "KAfEAG_payloadToggle",
|
|
7902
|
-
"okLine": "KAfEAG_okLine",
|
|
7903
|
-
"panel": "KAfEAG_panel",
|
|
7904
|
-
"title": "KAfEAG_title",
|
|
7905
|
-
"concernBg": "KAfEAG_concernBg",
|
|
7906
|
-
"error": "KAfEAG_error",
|
|
7907
|
-
"valueCell": "KAfEAG_valueCell",
|
|
7908
|
-
"statusChallenged": "KAfEAG_statusChallenged",
|
|
7909
|
-
"list": "KAfEAG_list",
|
|
7910
|
-
"statusLive": "KAfEAG_statusLive",
|
|
7911
|
-
"cellActions": "KAfEAG_cellActions",
|
|
7912
|
-
"badge": "KAfEAG_badge",
|
|
7913
|
-
"tabActive": "KAfEAG_tabActive",
|
|
7955
|
+
"detailRow": "KAfEAG_detailRow",
|
|
7914
7956
|
"detailLabel": "KAfEAG_detailLabel",
|
|
7915
|
-
"
|
|
7957
|
+
"empty": "KAfEAG_empty",
|
|
7958
|
+
"check": "KAfEAG_check",
|
|
7916
7959
|
"workbenchTab": "KAfEAG_workbenchTab",
|
|
7917
|
-
"
|
|
7918
|
-
"
|
|
7919
|
-
"detailRow": "KAfEAG_detailRow",
|
|
7920
|
-
"page": "KAfEAG_page",
|
|
7921
|
-
"subtitle": "KAfEAG_subtitle",
|
|
7922
|
-
"historyTitle": "KAfEAG_historyTitle",
|
|
7923
|
-
"sectionTitle": "KAfEAG_sectionTitle",
|
|
7960
|
+
"list": "KAfEAG_list",
|
|
7961
|
+
"payloadFull": "KAfEAG_payloadFull",
|
|
7924
7962
|
"table": "KAfEAG_table",
|
|
7963
|
+
"tabs": "KAfEAG_tabs",
|
|
7964
|
+
"cellActions": "KAfEAG_cellActions",
|
|
7925
7965
|
"tab": "KAfEAG_tab",
|
|
7926
|
-
"
|
|
7927
|
-
"
|
|
7966
|
+
"badgePositive": "KAfEAG_badgePositive",
|
|
7967
|
+
"badgeNegative": "KAfEAG_badgeNegative",
|
|
7928
7968
|
"titleBlock": "KAfEAG_titleBlock",
|
|
7929
|
-
"
|
|
7930
|
-
"card": "KAfEAG_card",
|
|
7969
|
+
"subtitle": "KAfEAG_subtitle",
|
|
7931
7970
|
"badgePinned": "KAfEAG_badgePinned",
|
|
7971
|
+
"statusLive": "KAfEAG_statusLive",
|
|
7972
|
+
"header": "KAfEAG_header",
|
|
7932
7973
|
"statusCandidate": "KAfEAG_statusCandidate",
|
|
7933
|
-
"
|
|
7934
|
-
"check": "KAfEAG_check",
|
|
7935
|
-
"cardDetail": "KAfEAG_cardDetail",
|
|
7936
|
-
"payloadFull": "KAfEAG_payloadFull",
|
|
7937
|
-
"rules": "KAfEAG_rules",
|
|
7938
|
-
"empty": "KAfEAG_empty",
|
|
7939
|
-
"workbenchTabActive": "KAfEAG_workbenchTabActive",
|
|
7974
|
+
"columns": "KAfEAG_columns",
|
|
7940
7975
|
"badgeConflict": "KAfEAG_badgeConflict",
|
|
7976
|
+
"workbenchTabs": "KAfEAG_workbenchTabs",
|
|
7977
|
+
"valueCell": "KAfEAG_valueCell",
|
|
7978
|
+
"btn": "KAfEAG_btn",
|
|
7979
|
+
"title": "KAfEAG_title",
|
|
7980
|
+
"actions": "KAfEAG_actions",
|
|
7981
|
+
"error": "KAfEAG_error",
|
|
7941
7982
|
"column": "KAfEAG_column",
|
|
7942
|
-
"
|
|
7983
|
+
"cardHead": "KAfEAG_cardHead",
|
|
7984
|
+
"toolbar": "KAfEAG_toolbar",
|
|
7985
|
+
"historyTitle": "KAfEAG_historyTitle",
|
|
7986
|
+
"cardSub": "KAfEAG_cardSub",
|
|
7987
|
+
"rules": "KAfEAG_rules",
|
|
7988
|
+
"trust": "KAfEAG_trust",
|
|
7989
|
+
"form": "KAfEAG_form",
|
|
7990
|
+
"cardMeta": "KAfEAG_cardMeta",
|
|
7943
7991
|
"statline": "KAfEAG_statline",
|
|
7944
|
-
"
|
|
7992
|
+
"cardDetail": "KAfEAG_cardDetail",
|
|
7993
|
+
"concernBg": "KAfEAG_concernBg",
|
|
7994
|
+
"panel": "KAfEAG_panel",
|
|
7995
|
+
"payloadToggle": "KAfEAG_payloadToggle",
|
|
7996
|
+
"statusOther": "KAfEAG_statusOther",
|
|
7997
|
+
"cardTitle": "KAfEAG_cardTitle",
|
|
7998
|
+
"statusChallenged": "KAfEAG_statusChallenged",
|
|
7999
|
+
"workbenchTabActive": "KAfEAG_workbenchTabActive",
|
|
8000
|
+
"badge": "KAfEAG_badge",
|
|
8001
|
+
"sectionTitle": "KAfEAG_sectionTitle",
|
|
8002
|
+
"okLine": "KAfEAG_okLine",
|
|
7945
8003
|
"field": "KAfEAG_field",
|
|
7946
|
-
"
|
|
8004
|
+
"tabActive": "KAfEAG_tabActive",
|
|
8005
|
+
"btnDanger": "KAfEAG_btnDanger",
|
|
8006
|
+
"body": "KAfEAG_body",
|
|
8007
|
+
"card": "KAfEAG_card",
|
|
8008
|
+
"page": "KAfEAG_page",
|
|
8009
|
+
"warnLine": "KAfEAG_warnLine"
|
|
7947
8010
|
};
|
|
7948
8011
|
//#endregion
|
|
7949
8012
|
//#region src/client/ExperiencePage.tsx
|
|
@@ -8071,12 +8134,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8071
8134
|
refresh
|
|
8072
8135
|
]);
|
|
8073
8136
|
const runDelete = (0, react.useCallback)(async (item) => {
|
|
8074
|
-
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8137
|
+
if (SYSTEM_EXPERIENCE_FAMILIES.has(item.family)) {
|
|
8138
|
+
const reason = await promptReason(`归档系统经验「${item.family}」(保留数据,移出活跃召回)`);
|
|
8139
|
+
if (reason === void 0) return;
|
|
8140
|
+
await actions.humanArchiveExperience({
|
|
8141
|
+
id: item.id,
|
|
8142
|
+
reason
|
|
8143
|
+
});
|
|
8144
|
+
} else {
|
|
8145
|
+
const reason = await promptReason(`删除经验「${item.gist.slice(0, 24)}」(指纹保留在账本)`);
|
|
8146
|
+
if (reason === void 0) return;
|
|
8147
|
+
await actions.humanDeleteExperience({
|
|
8148
|
+
id: item.id,
|
|
8149
|
+
reason
|
|
8150
|
+
});
|
|
8151
|
+
}
|
|
8080
8152
|
refresh();
|
|
8081
8153
|
onChanged();
|
|
8082
8154
|
}, [
|
|
@@ -8213,6 +8285,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8213
8285
|
title: item.gist,
|
|
8214
8286
|
children: item.gist
|
|
8215
8287
|
}),
|
|
8288
|
+
SYSTEM_EXPERIENCE_FAMILIES.has(item.family) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
8289
|
+
className: `${Workbench_module_css_default.badge} ${Workbench_module_css_default.badgeConflict}`,
|
|
8290
|
+
title: "系统自动生成的经验,禁止删除,只能归档",
|
|
8291
|
+
children: ["系统·", item.family]
|
|
8292
|
+
}),
|
|
8216
8293
|
item.pinned && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8217
8294
|
className: `${Workbench_module_css_default.badge} ${Workbench_module_css_default.badgePinned}`,
|
|
8218
8295
|
children: "永久"
|
|
@@ -8406,17 +8483,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8406
8483
|
document.head.appendChild(tag);
|
|
8407
8484
|
}
|
|
8408
8485
|
var ReasonDialog_module_css_default = {
|
|
8409
|
-
"
|
|
8410
|
-
"btnConfirm": "L4KK8a_btnConfirm",
|
|
8486
|
+
"dialog": "L4KK8a_dialog",
|
|
8411
8487
|
"footer": "L4KK8a_footer",
|
|
8488
|
+
"subtitle": "L4KK8a_subtitle",
|
|
8489
|
+
"overlay": "L4KK8a_overlay",
|
|
8412
8490
|
"textarea": "L4KK8a_textarea",
|
|
8413
|
-
"
|
|
8491
|
+
"header": "L4KK8a_header",
|
|
8414
8492
|
"btnCancel": "L4KK8a_btnCancel",
|
|
8415
8493
|
"title": "L4KK8a_title",
|
|
8416
|
-
"
|
|
8417
|
-
"
|
|
8418
|
-
"
|
|
8419
|
-
"header": "L4KK8a_header"
|
|
8494
|
+
"btnConfirm": "L4KK8a_btnConfirm",
|
|
8495
|
+
"hint": "L4KK8a_hint",
|
|
8496
|
+
"buttons": "L4KK8a_buttons"
|
|
8420
8497
|
};
|
|
8421
8498
|
//#endregion
|
|
8422
8499
|
//#region src/client/ReasonDialog.tsx
|
|
@@ -10440,6 +10517,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10440
10517
|
humanDeleteExperience: async (session, request) => {
|
|
10441
10518
|
unwrap(await memory.humanDeleteExperience(session, request));
|
|
10442
10519
|
},
|
|
10520
|
+
humanArchiveExperience: async (session, request) => {
|
|
10521
|
+
unwrap(await memory.humanArchiveExperience(session, request));
|
|
10522
|
+
},
|
|
10443
10523
|
humanEditExperience: async (session, request) => unwrap(await memory.humanEditExperience(session, request)),
|
|
10444
10524
|
humanAddExperience: async (session, request) => unwrap(await memory.humanAddExperience(session, request)),
|
|
10445
10525
|
humanPromote: async (session, id, reason) => unwrap(await memory.humanPromote(session, id, reason)),
|