@yadsh/dsh-qa-surface 0.11.1 → 0.11.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.
- package/lib/client/QaSessionController.js +24 -2
- package/lib/client/QaSessionController.js.map +1 -1
- package/lib/client/components/QaChangelog.js +17 -2
- package/lib/client/components/QaChangelog.js.map +1 -1
- package/lib/client/slash/SlashPalette.js +4 -13
- package/lib/client/slash/SlashPalette.js.map +1 -1
- package/lib/client/slash/palette-rows.js +45 -0
- package/lib/client/slash/palette-rows.js.map +1 -0
- package/lib/client/slash/useSlashNavigation.js +8 -2
- package/lib/client/slash/useSlashNavigation.js.map +1 -1
- package/lib/client/turn-sources.js +20 -0
- package/lib/client/turn-sources.js.map +1 -1
- package/lib/client.js +181 -101
- package/lib/client.js.map +1 -1
- package/lib/config-resolvers/defaults.js +3 -0
- package/lib/config-resolvers/defaults.js.map +1 -1
- package/lib/config-resolvers/integration.js +9 -3
- package/lib/config-resolvers/integration.js.map +1 -1
- package/lib/config-resolvers/shared.js +12 -0
- package/lib/config-resolvers/shared.js.map +1 -1
- package/lib/config-resolvers/tools.js +1 -0
- package/lib/config-resolvers/tools.js.map +1 -1
- package/lib/config.js +6 -0
- package/lib/config.js.map +1 -1
- package/lib/index.js +5 -2
- package/lib/index.js.map +1 -1
- package/lib/launch-token.js +22 -17
- package/lib/launch-token.js.map +1 -1
- package/lib/qa-tools/catalog.js +2 -2
- package/lib/qa-tools/catalog.js.map +1 -1
- package/lib/qa-tools/docs-tools.js +66 -9
- package/lib/qa-tools/docs-tools.js.map +1 -1
- package/lib/qa-tools/index.js +1 -0
- package/lib/qa-tools/index.js.map +1 -1
- package/lib/secure-session.js +14 -4
- package/lib/secure-session.js.map +1 -1
- package/lib/typert.host.js +69 -68
- package/lib/typert.remote-client.js +68 -67
- package/lib/types/client/QaSessionController.d.ts +14 -0
- package/lib/types/client/components/QaWidthHandle.d.ts +0 -1
- package/lib/types/client/slash/palette-rows.d.ts +43 -0
- package/lib/types/client/turn-sources.d.ts +14 -0
- package/lib/types/config-resolvers/integration.d.ts +7 -1
- package/lib/types/config-resolvers/shared.d.ts +8 -0
- package/lib/types/launch-token.d.ts +10 -3
- package/lib/types/qa-tools/catalog.d.ts +6 -1
- package/lib/types/qa-tools/docs-tools.d.ts +23 -5
- package/lib/types/qa-tools/index.d.ts +2 -0
- package/lib/types/types.d.ts +12 -0
- package/package.json +5 -5
package/lib/client.js
CHANGED
|
@@ -7294,7 +7294,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7294
7294
|
"dynamicActivation": boolean().readonly(),
|
|
7295
7295
|
"activationSkill": string().readonly(),
|
|
7296
7296
|
"activationMode": literal("all").readonly(),
|
|
7297
|
-
"activationPresets": array(string()).readonly()
|
|
7297
|
+
"activationPresets": array(string()).readonly(),
|
|
7298
|
+
"docsRoot": string().readonly()
|
|
7298
7299
|
}).readonly(),
|
|
7299
7300
|
"sources": object({
|
|
7300
7301
|
"enabled": boolean().readonly(),
|
|
@@ -7970,7 +7971,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7970
7971
|
},
|
|
7971
7972
|
sourceLocation: {
|
|
7972
7973
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
7973
|
-
"line":
|
|
7974
|
+
"line": 910,
|
|
7974
7975
|
"column": 9
|
|
7975
7976
|
}
|
|
7976
7977
|
},
|
|
@@ -8006,7 +8007,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8006
8007
|
},
|
|
8007
8008
|
sourceLocation: {
|
|
8008
8009
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8009
|
-
"line":
|
|
8010
|
+
"line": 921,
|
|
8010
8011
|
"column": 3
|
|
8011
8012
|
}
|
|
8012
8013
|
},
|
|
@@ -8033,7 +8034,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8033
8034
|
},
|
|
8034
8035
|
sourceLocation: {
|
|
8035
8036
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8036
|
-
"line":
|
|
8037
|
+
"line": 895,
|
|
8037
8038
|
"column": 3
|
|
8038
8039
|
}
|
|
8039
8040
|
},
|
|
@@ -8082,7 +8083,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8082
8083
|
},
|
|
8083
8084
|
sourceLocation: {
|
|
8084
8085
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8085
|
-
"line":
|
|
8086
|
+
"line": 935,
|
|
8086
8087
|
"column": 3
|
|
8087
8088
|
}
|
|
8088
8089
|
},
|
|
@@ -8118,7 +8119,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8118
8119
|
},
|
|
8119
8120
|
sourceLocation: {
|
|
8120
8121
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8121
|
-
"line":
|
|
8122
|
+
"line": 901,
|
|
8122
8123
|
"column": 3
|
|
8123
8124
|
}
|
|
8124
8125
|
},
|
|
@@ -8154,7 +8155,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8154
8155
|
},
|
|
8155
8156
|
sourceLocation: {
|
|
8156
8157
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8157
|
-
"line":
|
|
8158
|
+
"line": 980,
|
|
8158
8159
|
"column": 3
|
|
8159
8160
|
}
|
|
8160
8161
|
},
|
|
@@ -8203,7 +8204,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8203
8204
|
},
|
|
8204
8205
|
sourceLocation: {
|
|
8205
8206
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8206
|
-
"line":
|
|
8207
|
+
"line": 957,
|
|
8207
8208
|
"column": 3
|
|
8208
8209
|
}
|
|
8209
8210
|
},
|
|
@@ -8239,7 +8240,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8239
8240
|
},
|
|
8240
8241
|
sourceLocation: {
|
|
8241
8242
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8242
|
-
"line":
|
|
8243
|
+
"line": 947,
|
|
8243
8244
|
"column": 3
|
|
8244
8245
|
}
|
|
8245
8246
|
},
|
|
@@ -8275,7 +8276,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8275
8276
|
},
|
|
8276
8277
|
sourceLocation: {
|
|
8277
8278
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8278
|
-
"line":
|
|
8279
|
+
"line": 969,
|
|
8279
8280
|
"column": 3
|
|
8280
8281
|
}
|
|
8281
8282
|
},
|
|
@@ -8324,7 +8325,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8324
8325
|
},
|
|
8325
8326
|
sourceLocation: {
|
|
8326
8327
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8327
|
-
"line":
|
|
8328
|
+
"line": 928,
|
|
8328
8329
|
"column": 3
|
|
8329
8330
|
}
|
|
8330
8331
|
},
|
|
@@ -8373,7 +8374,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8373
8374
|
},
|
|
8374
8375
|
sourceLocation: {
|
|
8375
8376
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8376
|
-
"line":
|
|
8377
|
+
"line": 651,
|
|
8377
8378
|
"column": 3
|
|
8378
8379
|
}
|
|
8379
8380
|
},
|
|
@@ -8409,7 +8410,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8409
8410
|
},
|
|
8410
8411
|
sourceLocation: {
|
|
8411
8412
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8412
|
-
"line":
|
|
8413
|
+
"line": 685,
|
|
8413
8414
|
"column": 3
|
|
8414
8415
|
}
|
|
8415
8416
|
},
|
|
@@ -8445,7 +8446,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8445
8446
|
},
|
|
8446
8447
|
sourceLocation: {
|
|
8447
8448
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8448
|
-
"line":
|
|
8449
|
+
"line": 758,
|
|
8449
8450
|
"column": 3
|
|
8450
8451
|
}
|
|
8451
8452
|
},
|
|
@@ -8472,7 +8473,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8472
8473
|
},
|
|
8473
8474
|
sourceLocation: {
|
|
8474
8475
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8475
|
-
"line":
|
|
8476
|
+
"line": 706,
|
|
8476
8477
|
"column": 3
|
|
8477
8478
|
}
|
|
8478
8479
|
},
|
|
@@ -8499,7 +8500,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8499
8500
|
},
|
|
8500
8501
|
sourceLocation: {
|
|
8501
8502
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8502
|
-
"line":
|
|
8503
|
+
"line": 745,
|
|
8503
8504
|
"column": 3
|
|
8504
8505
|
}
|
|
8505
8506
|
},
|
|
@@ -8535,7 +8536,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8535
8536
|
},
|
|
8536
8537
|
sourceLocation: {
|
|
8537
8538
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8538
|
-
"line":
|
|
8539
|
+
"line": 645,
|
|
8539
8540
|
"column": 3
|
|
8540
8541
|
}
|
|
8541
8542
|
},
|
|
@@ -8562,7 +8563,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8562
8563
|
},
|
|
8563
8564
|
sourceLocation: {
|
|
8564
8565
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8565
|
-
"line":
|
|
8566
|
+
"line": 696,
|
|
8566
8567
|
"column": 3
|
|
8567
8568
|
}
|
|
8568
8569
|
},
|
|
@@ -8598,7 +8599,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8598
8599
|
},
|
|
8599
8600
|
sourceLocation: {
|
|
8600
8601
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8601
|
-
"line":
|
|
8602
|
+
"line": 640,
|
|
8602
8603
|
"column": 3
|
|
8603
8604
|
}
|
|
8604
8605
|
},
|
|
@@ -8625,7 +8626,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8625
8626
|
},
|
|
8626
8627
|
sourceLocation: {
|
|
8627
8628
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8628
|
-
"line":
|
|
8629
|
+
"line": 669,
|
|
8629
8630
|
"column": 3
|
|
8630
8631
|
}
|
|
8631
8632
|
},
|
|
@@ -8661,7 +8662,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8661
8662
|
},
|
|
8662
8663
|
sourceLocation: {
|
|
8663
8664
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8664
|
-
"line":
|
|
8665
|
+
"line": 771,
|
|
8665
8666
|
"column": 3
|
|
8666
8667
|
}
|
|
8667
8668
|
},
|
|
@@ -8697,7 +8698,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8697
8698
|
},
|
|
8698
8699
|
sourceLocation: {
|
|
8699
8700
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8700
|
-
"line":
|
|
8701
|
+
"line": 719,
|
|
8701
8702
|
"column": 3
|
|
8702
8703
|
}
|
|
8703
8704
|
},
|
|
@@ -8733,7 +8734,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8733
8734
|
},
|
|
8734
8735
|
sourceLocation: {
|
|
8735
8736
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8736
|
-
"line":
|
|
8737
|
+
"line": 732,
|
|
8737
8738
|
"column": 3
|
|
8738
8739
|
}
|
|
8739
8740
|
},
|
|
@@ -8760,7 +8761,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8760
8761
|
},
|
|
8761
8762
|
sourceLocation: {
|
|
8762
8763
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8763
|
-
"line":
|
|
8764
|
+
"line": 675,
|
|
8764
8765
|
"column": 3
|
|
8765
8766
|
}
|
|
8766
8767
|
},
|
|
@@ -8819,7 +8820,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8819
8820
|
},
|
|
8820
8821
|
sourceLocation: {
|
|
8821
8822
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8822
|
-
"line":
|
|
8823
|
+
"line": 1246,
|
|
8823
8824
|
"column": 3
|
|
8824
8825
|
}
|
|
8825
8826
|
},
|
|
@@ -8855,7 +8856,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8855
8856
|
},
|
|
8856
8857
|
sourceLocation: {
|
|
8857
8858
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8858
|
-
"line":
|
|
8859
|
+
"line": 1148,
|
|
8859
8860
|
"column": 3
|
|
8860
8861
|
}
|
|
8861
8862
|
},
|
|
@@ -8914,7 +8915,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8914
8915
|
},
|
|
8915
8916
|
sourceLocation: {
|
|
8916
8917
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8917
|
-
"line":
|
|
8918
|
+
"line": 1130,
|
|
8918
8919
|
"column": 3
|
|
8919
8920
|
}
|
|
8920
8921
|
},
|
|
@@ -8950,7 +8951,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8950
8951
|
},
|
|
8951
8952
|
sourceLocation: {
|
|
8952
8953
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
8953
|
-
"line":
|
|
8954
|
+
"line": 1163,
|
|
8954
8955
|
"column": 3
|
|
8955
8956
|
}
|
|
8956
8957
|
},
|
|
@@ -9009,7 +9010,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9009
9010
|
},
|
|
9010
9011
|
sourceLocation: {
|
|
9011
9012
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9012
|
-
"line":
|
|
9013
|
+
"line": 1173,
|
|
9013
9014
|
"column": 3
|
|
9014
9015
|
}
|
|
9015
9016
|
},
|
|
@@ -9036,7 +9037,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9036
9037
|
},
|
|
9037
9038
|
sourceLocation: {
|
|
9038
9039
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9039
|
-
"line":
|
|
9040
|
+
"line": 1241,
|
|
9040
9041
|
"column": 3
|
|
9041
9042
|
}
|
|
9042
9043
|
},
|
|
@@ -9063,7 +9064,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9063
9064
|
},
|
|
9064
9065
|
sourceLocation: {
|
|
9065
9066
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9066
|
-
"line":
|
|
9067
|
+
"line": 1076,
|
|
9067
9068
|
"column": 3
|
|
9068
9069
|
}
|
|
9069
9070
|
},
|
|
@@ -9090,7 +9091,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9090
9091
|
},
|
|
9091
9092
|
sourceLocation: {
|
|
9092
9093
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9093
|
-
"line":
|
|
9094
|
+
"line": 1110,
|
|
9094
9095
|
"column": 3
|
|
9095
9096
|
}
|
|
9096
9097
|
},
|
|
@@ -9139,7 +9140,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9139
9140
|
},
|
|
9140
9141
|
sourceLocation: {
|
|
9141
9142
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9142
|
-
"line":
|
|
9143
|
+
"line": 1218,
|
|
9143
9144
|
"column": 3
|
|
9144
9145
|
}
|
|
9145
9146
|
},
|
|
@@ -9198,7 +9199,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9198
9199
|
},
|
|
9199
9200
|
sourceLocation: {
|
|
9200
9201
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9201
|
-
"line":
|
|
9202
|
+
"line": 1194,
|
|
9202
9203
|
"column": 3
|
|
9203
9204
|
}
|
|
9204
9205
|
},
|
|
@@ -9247,7 +9248,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9247
9248
|
},
|
|
9248
9249
|
sourceLocation: {
|
|
9249
9250
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9250
|
-
"line":
|
|
9251
|
+
"line": 1119,
|
|
9251
9252
|
"column": 3
|
|
9252
9253
|
}
|
|
9253
9254
|
},
|
|
@@ -9296,7 +9297,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9296
9297
|
},
|
|
9297
9298
|
sourceLocation: {
|
|
9298
9299
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9299
|
-
"line":
|
|
9300
|
+
"line": 1206,
|
|
9300
9301
|
"column": 3
|
|
9301
9302
|
}
|
|
9302
9303
|
},
|
|
@@ -9332,7 +9333,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9332
9333
|
},
|
|
9333
9334
|
sourceLocation: {
|
|
9334
9335
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9335
|
-
"line":
|
|
9336
|
+
"line": 1233,
|
|
9336
9337
|
"column": 3
|
|
9337
9338
|
}
|
|
9338
9339
|
},
|
|
@@ -9381,7 +9382,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9381
9382
|
},
|
|
9382
9383
|
sourceLocation: {
|
|
9383
9384
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9384
|
-
"line":
|
|
9385
|
+
"line": 1010,
|
|
9385
9386
|
"column": 3
|
|
9386
9387
|
}
|
|
9387
9388
|
},
|
|
@@ -9440,7 +9441,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9440
9441
|
},
|
|
9441
9442
|
sourceLocation: {
|
|
9442
9443
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9443
|
-
"line":
|
|
9444
|
+
"line": 1038,
|
|
9444
9445
|
"column": 3
|
|
9445
9446
|
}
|
|
9446
9447
|
},
|
|
@@ -9476,7 +9477,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9476
9477
|
},
|
|
9477
9478
|
sourceLocation: {
|
|
9478
9479
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9479
|
-
"line":
|
|
9480
|
+
"line": 1001,
|
|
9480
9481
|
"column": 3
|
|
9481
9482
|
}
|
|
9482
9483
|
},
|
|
@@ -9535,7 +9536,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9535
9536
|
},
|
|
9536
9537
|
sourceLocation: {
|
|
9537
9538
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9538
|
-
"line":
|
|
9539
|
+
"line": 1025,
|
|
9539
9540
|
"column": 3
|
|
9540
9541
|
}
|
|
9541
9542
|
},
|
|
@@ -9571,7 +9572,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9571
9572
|
},
|
|
9572
9573
|
sourceLocation: {
|
|
9573
9574
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9574
|
-
"line":
|
|
9575
|
+
"line": 1064,
|
|
9575
9576
|
"column": 9
|
|
9576
9577
|
}
|
|
9577
9578
|
},
|
|
@@ -9630,7 +9631,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9630
9631
|
},
|
|
9631
9632
|
sourceLocation: {
|
|
9632
9633
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9633
|
-
"line":
|
|
9634
|
+
"line": 1051,
|
|
9634
9635
|
"column": 3
|
|
9635
9636
|
}
|
|
9636
9637
|
},
|
|
@@ -9679,7 +9680,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9679
9680
|
},
|
|
9680
9681
|
sourceLocation: {
|
|
9681
9682
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9682
|
-
"line":
|
|
9683
|
+
"line": 1099,
|
|
9683
9684
|
"column": 3
|
|
9684
9685
|
}
|
|
9685
9686
|
},
|
|
@@ -9715,7 +9716,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9715
9716
|
},
|
|
9716
9717
|
sourceLocation: {
|
|
9717
9718
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9718
|
-
"line":
|
|
9719
|
+
"line": 1093,
|
|
9719
9720
|
"column": 3
|
|
9720
9721
|
}
|
|
9721
9722
|
},
|
|
@@ -9774,7 +9775,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9774
9775
|
},
|
|
9775
9776
|
sourceLocation: {
|
|
9776
9777
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9777
|
-
"line":
|
|
9778
|
+
"line": 1081,
|
|
9778
9779
|
"column": 3
|
|
9779
9780
|
}
|
|
9780
9781
|
},
|
|
@@ -9833,7 +9834,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9833
9834
|
},
|
|
9834
9835
|
sourceLocation: {
|
|
9835
9836
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9836
|
-
"line":
|
|
9837
|
+
"line": 1322,
|
|
9837
9838
|
"column": 9
|
|
9838
9839
|
}
|
|
9839
9840
|
},
|
|
@@ -9892,7 +9893,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9892
9893
|
},
|
|
9893
9894
|
sourceLocation: {
|
|
9894
9895
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9895
|
-
"line":
|
|
9896
|
+
"line": 1351,
|
|
9896
9897
|
"column": 9
|
|
9897
9898
|
}
|
|
9898
9899
|
},
|
|
@@ -9941,7 +9942,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9941
9942
|
},
|
|
9942
9943
|
sourceLocation: {
|
|
9943
9944
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9944
|
-
"line":
|
|
9945
|
+
"line": 1363,
|
|
9945
9946
|
"column": 9
|
|
9946
9947
|
}
|
|
9947
9948
|
},
|
|
@@ -9990,7 +9991,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9990
9991
|
},
|
|
9991
9992
|
sourceLocation: {
|
|
9992
9993
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
9993
|
-
"line":
|
|
9994
|
+
"line": 796,
|
|
9994
9995
|
"column": 9
|
|
9995
9996
|
}
|
|
9996
9997
|
},
|
|
@@ -10008,7 +10009,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10008
10009
|
},
|
|
10009
10010
|
sourceLocation: {
|
|
10010
10011
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10011
|
-
"line":
|
|
10012
|
+
"line": 786,
|
|
10012
10013
|
"column": 3
|
|
10013
10014
|
}
|
|
10014
10015
|
},
|
|
@@ -10057,7 +10058,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10057
10058
|
},
|
|
10058
10059
|
sourceLocation: {
|
|
10059
10060
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10060
|
-
"line":
|
|
10061
|
+
"line": 1431,
|
|
10061
10062
|
"column": 9
|
|
10062
10063
|
}
|
|
10063
10064
|
},
|
|
@@ -10093,7 +10094,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10093
10094
|
},
|
|
10094
10095
|
sourceLocation: {
|
|
10095
10096
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10096
|
-
"line":
|
|
10097
|
+
"line": 1308,
|
|
10097
10098
|
"column": 9
|
|
10098
10099
|
}
|
|
10099
10100
|
},
|
|
@@ -10129,7 +10130,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10129
10130
|
},
|
|
10130
10131
|
sourceLocation: {
|
|
10131
10132
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10132
|
-
"line":
|
|
10133
|
+
"line": 1337,
|
|
10133
10134
|
"column": 9
|
|
10134
10135
|
}
|
|
10135
10136
|
},
|
|
@@ -10178,7 +10179,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10178
10179
|
},
|
|
10179
10180
|
sourceLocation: {
|
|
10180
10181
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10181
|
-
"line":
|
|
10182
|
+
"line": 1492,
|
|
10182
10183
|
"column": 9
|
|
10183
10184
|
}
|
|
10184
10185
|
},
|
|
@@ -10227,7 +10228,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10227
10228
|
},
|
|
10228
10229
|
sourceLocation: {
|
|
10229
10230
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10230
|
-
"line":
|
|
10231
|
+
"line": 1382,
|
|
10231
10232
|
"column": 9
|
|
10232
10233
|
}
|
|
10233
10234
|
},
|
|
@@ -10276,7 +10277,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10276
10277
|
},
|
|
10277
10278
|
sourceLocation: {
|
|
10278
10279
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10279
|
-
"line":
|
|
10280
|
+
"line": 1458,
|
|
10280
10281
|
"column": 9
|
|
10281
10282
|
}
|
|
10282
10283
|
},
|
|
@@ -10312,7 +10313,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10312
10313
|
},
|
|
10313
10314
|
sourceLocation: {
|
|
10314
10315
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10315
|
-
"line":
|
|
10316
|
+
"line": 1259,
|
|
10316
10317
|
"column": 9
|
|
10317
10318
|
}
|
|
10318
10319
|
},
|
|
@@ -10348,7 +10349,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10348
10349
|
},
|
|
10349
10350
|
sourceLocation: {
|
|
10350
10351
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10351
|
-
"line":
|
|
10352
|
+
"line": 1562,
|
|
10352
10353
|
"column": 3
|
|
10353
10354
|
}
|
|
10354
10355
|
},
|
|
@@ -10384,7 +10385,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10384
10385
|
},
|
|
10385
10386
|
sourceLocation: {
|
|
10386
10387
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10387
|
-
"line":
|
|
10388
|
+
"line": 1556,
|
|
10388
10389
|
"column": 3
|
|
10389
10390
|
}
|
|
10390
10391
|
},
|
|
@@ -10411,7 +10412,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10411
10412
|
},
|
|
10412
10413
|
sourceLocation: {
|
|
10413
10414
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10414
|
-
"line":
|
|
10415
|
+
"line": 1550,
|
|
10415
10416
|
"column": 3
|
|
10416
10417
|
}
|
|
10417
10418
|
},
|
|
@@ -10460,7 +10461,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10460
10461
|
},
|
|
10461
10462
|
sourceLocation: {
|
|
10462
10463
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10463
|
-
"line":
|
|
10464
|
+
"line": 1581,
|
|
10464
10465
|
"column": 3
|
|
10465
10466
|
}
|
|
10466
10467
|
},
|
|
@@ -10487,7 +10488,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10487
10488
|
},
|
|
10488
10489
|
sourceLocation: {
|
|
10489
10490
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10490
|
-
"line":
|
|
10491
|
+
"line": 1607,
|
|
10491
10492
|
"column": 3
|
|
10492
10493
|
}
|
|
10493
10494
|
},
|
|
@@ -10536,7 +10537,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10536
10537
|
},
|
|
10537
10538
|
sourceLocation: {
|
|
10538
10539
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10539
|
-
"line":
|
|
10540
|
+
"line": 1571,
|
|
10540
10541
|
"column": 3
|
|
10541
10542
|
}
|
|
10542
10543
|
},
|
|
@@ -10585,7 +10586,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10585
10586
|
},
|
|
10586
10587
|
sourceLocation: {
|
|
10587
10588
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10588
|
-
"line":
|
|
10589
|
+
"line": 1594,
|
|
10589
10590
|
"column": 3
|
|
10590
10591
|
}
|
|
10591
10592
|
},
|
|
@@ -10621,7 +10622,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10621
10622
|
},
|
|
10622
10623
|
sourceLocation: {
|
|
10623
10624
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10624
|
-
"line":
|
|
10625
|
+
"line": 1624,
|
|
10625
10626
|
"column": 3
|
|
10626
10627
|
}
|
|
10627
10628
|
},
|
|
@@ -10680,7 +10681,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10680
10681
|
},
|
|
10681
10682
|
sourceLocation: {
|
|
10682
10683
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10683
|
-
"line":
|
|
10684
|
+
"line": 1639,
|
|
10684
10685
|
"column": 3
|
|
10685
10686
|
}
|
|
10686
10687
|
},
|
|
@@ -10716,7 +10717,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10716
10717
|
},
|
|
10717
10718
|
sourceLocation: {
|
|
10718
10719
|
"file": "packages/dsh-qa-surface/src/index.ts",
|
|
10719
|
-
"line":
|
|
10720
|
+
"line": 1295,
|
|
10720
10721
|
"column": 9
|
|
10721
10722
|
}
|
|
10722
10723
|
}
|
|
@@ -11444,7 +11445,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11444
11445
|
dynamicActivation: true,
|
|
11445
11446
|
activationSkill: "qa-surface",
|
|
11446
11447
|
activationMode: "all",
|
|
11447
|
-
activationPresets: Object.freeze([])
|
|
11448
|
+
activationPresets: Object.freeze([]),
|
|
11449
|
+
docsRoot: ""
|
|
11448
11450
|
}),
|
|
11449
11451
|
sources: Object.freeze({
|
|
11450
11452
|
enabled: true,
|
|
@@ -11546,6 +11548,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11546
11548
|
return /^([a-zA-Z]:[/\\]|\/)/u.test(value);
|
|
11547
11549
|
}
|
|
11548
11550
|
/**
|
|
11551
|
+
* Shared numeric guard for a limit with a floor but no honest ceiling: the value
|
|
11552
|
+
* has to be a safe integer of at least `min`. A ceiling belongs on a budget the
|
|
11553
|
+
* deployment itself spends (bytes, parallel calls); a wait it merely allows is
|
|
11554
|
+
* the operator's call, and a ceiling there only ever truncated a legitimate long
|
|
11555
|
+
* answer.
|
|
11556
|
+
*/
|
|
11557
|
+
function assertIntAtLeast(name, value, min) {
|
|
11558
|
+
if (!Number.isSafeInteger(value) || value < min) throw new TypeError(`dsh-qa-surface: ${name} must be an integer of at least ${min}`);
|
|
11559
|
+
}
|
|
11560
|
+
/**
|
|
11549
11561
|
* Shared numeric guard for operator-tuned limits: the value has to be a safe
|
|
11550
11562
|
* integer inside [min, max], and every rejection carries the same message.
|
|
11551
11563
|
*/
|
|
@@ -11696,8 +11708,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11696
11708
|
};
|
|
11697
11709
|
}
|
|
11698
11710
|
const QA_INTEGRATION_TTL_DAYS_MAX = 3650;
|
|
11711
|
+
/**
|
|
11712
|
+
* Floor only: how long an integration may wait for its answer is the operator's
|
|
11713
|
+
* call. The deployment spends no budget of its own by waiting, and the ceiling
|
|
11714
|
+
* this constant used to carry (10 minutes) truncated exactly the long questions
|
|
11715
|
+
* an integration exists for — a nineteen-minute analysis came back as
|
|
11716
|
+
* "escalate" while the answer was still being written.
|
|
11717
|
+
*/
|
|
11699
11718
|
const QA_INTEGRATION_TIMEOUT_MS_MIN = 5e3;
|
|
11700
|
-
const QA_INTEGRATION_TIMEOUT_MS_MAX = 6e5;
|
|
11701
11719
|
const QA_INTEGRATION_BODY_BYTES_MIN = 1048576;
|
|
11702
11720
|
const QA_INTEGRATION_BODY_BYTES_MAX = 67108864;
|
|
11703
11721
|
const QA_INTEGRATION_ATTACHMENT_BYTES_MIN = 1024;
|
|
@@ -11750,7 +11768,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11750
11768
|
const maxAttachmentBytes = input?.maxAttachmentBytes ?? fallback.maxAttachmentBytes;
|
|
11751
11769
|
const maxAnswerCharacters = input?.maxAnswerCharacters ?? fallback.maxAnswerCharacters;
|
|
11752
11770
|
assertIntInRange("integration.tokenTtlDays", tokenTtlDays, 1, QA_INTEGRATION_TTL_DAYS_MAX);
|
|
11753
|
-
|
|
11771
|
+
assertIntAtLeast("integration.requestTimeoutMs", requestTimeoutMs, QA_INTEGRATION_TIMEOUT_MS_MIN);
|
|
11754
11772
|
assertIntInRange("integration.maxConcurrent", maxConcurrent, 1, 16);
|
|
11755
11773
|
assertIntInRange("integration.requestsPerMinute", requestsPerMinute, 1, 600);
|
|
11756
11774
|
assertIntInRange("integration.maxRequestBytes", maxRequestBytes, QA_INTEGRATION_BODY_BYTES_MIN, QA_INTEGRATION_BODY_BYTES_MAX);
|
|
@@ -12048,7 +12066,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12048
12066
|
activationSkill,
|
|
12049
12067
|
activationMode,
|
|
12050
12068
|
activationPresets: Object.freeze(activationPresets),
|
|
12051
|
-
dynamicActivation: input.tools?.dynamicActivation ?? DEFAULT_QA_SURFACE_CONFIG.tools.dynamicActivation
|
|
12069
|
+
dynamicActivation: input.tools?.dynamicActivation ?? DEFAULT_QA_SURFACE_CONFIG.tools.dynamicActivation,
|
|
12070
|
+
docsRoot: input.tools?.docsRoot ?? DEFAULT_QA_SURFACE_CONFIG.tools.docsRoot
|
|
12052
12071
|
});
|
|
12053
12072
|
}
|
|
12054
12073
|
//#endregion
|
|
@@ -14628,6 +14647,25 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14628
14647
|
}
|
|
14629
14648
|
return [...collectors.entries()].sort(([left], [right]) => left - right).map(([, collector]) => collector.snapshot());
|
|
14630
14649
|
}
|
|
14650
|
+
/**
|
|
14651
|
+
* The directory a projected source path is anchored on: the chat's own cwd.
|
|
14652
|
+
*
|
|
14653
|
+
* Both channels read the same durable tool results, and the Host's evidence —
|
|
14654
|
+
* the set the source preview checks a request against — canonicalizes every
|
|
14655
|
+
* recorded path against the session's own cwd. A projection anchored on
|
|
14656
|
+
* anything else splits one file into two spellings the moment the two
|
|
14657
|
+
* directories differ (an adopted chat, a chat whose cwd was pinned under an
|
|
14658
|
+
* older configuration): the rail then shows a path the Host does not hold, and
|
|
14659
|
+
* the detailed view refuses a source the answer just cited as no longer
|
|
14660
|
+
* evidence until the rail is rebuilt from the Host's own bundles. The
|
|
14661
|
+
* configured pin stays the fallback for a chat the browser cannot place yet.
|
|
14662
|
+
*/
|
|
14663
|
+
function sourceAnchorRoot(chatCwd, configuredCwd) {
|
|
14664
|
+
const chat = chatCwd?.trim();
|
|
14665
|
+
if (chat !== void 0 && chat !== "") return chat;
|
|
14666
|
+
const configured = configuredCwd?.trim();
|
|
14667
|
+
return configured === void 0 || configured === "" ? void 0 : configured;
|
|
14668
|
+
}
|
|
14631
14669
|
//#endregion
|
|
14632
14670
|
//#region src/client/subagent-codenames.ts
|
|
14633
14671
|
/**
|
|
@@ -16275,7 +16313,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16275
16313
|
const snapshot = this.session.getSnapshot();
|
|
16276
16314
|
const sessionId = String(this.session.sessionId);
|
|
16277
16315
|
const conversationSnapshot = this.conversationBinding?.snapshot.getSnapshot();
|
|
16278
|
-
const projectedSourceBundles = projectTurnSources(conversationSnapshot, sessionId, this.
|
|
16316
|
+
const projectedSourceBundles = projectTurnSources(conversationSnapshot, sessionId, this.sourceAnchor(sessionId));
|
|
16279
16317
|
const sourceBundles = this.hostSources.merge(projectedSourceBundles);
|
|
16280
16318
|
if (!snapshot.running) this.hostSources.refresh(sessionId, () => this.publish());
|
|
16281
16319
|
this.probePending(sessionId, connected);
|
|
@@ -16318,6 +16356,23 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16318
16356
|
this.emit();
|
|
16319
16357
|
}
|
|
16320
16358
|
/**
|
|
16359
|
+
* The directory the transcript's source paths are anchored on: the chat's
|
|
16360
|
+
* own cwd, never the configured pin while the chat is known.
|
|
16361
|
+
*
|
|
16362
|
+
* The Host records and previews sources anchored on the session's own cwd,
|
|
16363
|
+
* so the projection has to use that same directory. Anchoring it on
|
|
16364
|
+
* `session.cwd` puts a second spelling of the same file into the rail the
|
|
16365
|
+
* moment the two differ — an adopted chat, a chat created under an older
|
|
16366
|
+
* configuration — and the preview then refuses, as no longer evidence, a
|
|
16367
|
+
* source the answer just cited: the path it was asked for is not the path
|
|
16368
|
+
* the Host holds. The configured pin remains the fallback for a chat the
|
|
16369
|
+
* browser's list does not carry yet.
|
|
16370
|
+
*/
|
|
16371
|
+
sourceAnchor(sessionId) {
|
|
16372
|
+
const list = this.sessions.list.getSnapshot();
|
|
16373
|
+
return sourceAnchorRoot((Object.hasOwn(list.byId, sessionId) ? list.byId[sessionId] : void 0)?.cwd, this.config.session.cwd);
|
|
16374
|
+
}
|
|
16375
|
+
/**
|
|
16321
16376
|
* Display names of the known subagent sessions keyed by session id, for
|
|
16322
16377
|
* settlement notices to sign with. The durable catalogs carry each
|
|
16323
16378
|
* delegation's description verbatim; a child the host listed without a
|
|
@@ -17310,6 +17365,39 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17310
17365
|
});
|
|
17311
17366
|
});
|
|
17312
17367
|
//#endregion
|
|
17368
|
+
//#region src/client/slash/palette-rows.ts
|
|
17369
|
+
/**
|
|
17370
|
+
* Bucket ranked rows by kind, one group per kind.
|
|
17371
|
+
*
|
|
17372
|
+
* A kind with no row contributes no group, and the group order follows the
|
|
17373
|
+
* ranking (the best row's own kind leads) rather than a fixed
|
|
17374
|
+
* skill-then-command order, so the top of the list never disagrees with the
|
|
17375
|
+
* ranking above it.
|
|
17376
|
+
*/
|
|
17377
|
+
function groupPaletteRows(rows) {
|
|
17378
|
+
const buckets = /* @__PURE__ */ new Map();
|
|
17379
|
+
rows.forEach((entry, index) => {
|
|
17380
|
+
const row = Object.freeze({
|
|
17381
|
+
entry,
|
|
17382
|
+
index
|
|
17383
|
+
});
|
|
17384
|
+
const bucket = buckets.get(entry.kind);
|
|
17385
|
+
if (bucket === void 0) {
|
|
17386
|
+
buckets.set(entry.kind, [row]);
|
|
17387
|
+
return;
|
|
17388
|
+
}
|
|
17389
|
+
bucket.push(row);
|
|
17390
|
+
});
|
|
17391
|
+
return Object.freeze([...buckets.entries()].map(([kind, group]) => Object.freeze({
|
|
17392
|
+
kind,
|
|
17393
|
+
rows: Object.freeze([...group])
|
|
17394
|
+
})));
|
|
17395
|
+
}
|
|
17396
|
+
/** The entries of every group, in the order the palette draws them. */
|
|
17397
|
+
function flattenPaletteGroups(groups) {
|
|
17398
|
+
return Object.freeze(groups.flatMap((group) => group.rows.map((row) => row.entry)));
|
|
17399
|
+
}
|
|
17400
|
+
//#endregion
|
|
17313
17401
|
//#region src/client/slash/SlashPalette.tsx
|
|
17314
17402
|
const KIND_LABEL = Object.freeze({
|
|
17315
17403
|
skill: "Навык",
|
|
@@ -17319,27 +17407,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17319
17407
|
skill: "Навыки",
|
|
17320
17408
|
command: "Команды"
|
|
17321
17409
|
});
|
|
17322
|
-
function groupRows(rows) {
|
|
17323
|
-
const groups = [];
|
|
17324
|
-
rows.forEach((entry, index) => {
|
|
17325
|
-
const tail = groups.at(-1);
|
|
17326
|
-
if (tail !== void 0 && tail.kind === entry.kind) {
|
|
17327
|
-
tail.rows.push({
|
|
17328
|
-
entry,
|
|
17329
|
-
index
|
|
17330
|
-
});
|
|
17331
|
-
return;
|
|
17332
|
-
}
|
|
17333
|
-
groups.push({
|
|
17334
|
-
kind: entry.kind,
|
|
17335
|
-
rows: [{
|
|
17336
|
-
entry,
|
|
17337
|
-
index
|
|
17338
|
-
}]
|
|
17339
|
-
});
|
|
17340
|
-
});
|
|
17341
|
-
return groups;
|
|
17342
|
-
}
|
|
17343
17410
|
/**
|
|
17344
17411
|
* The palette itself: a listbox over rows the composer has already filtered
|
|
17345
17412
|
* and ranked. It owns no state — an empty list means "nothing matches", and
|
|
@@ -17351,7 +17418,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17351
17418
|
*/
|
|
17352
17419
|
const QaSlashPalette = (0, react.memo)(function QaSlashPalette(props) {
|
|
17353
17420
|
const message = props.state === "error" ? props.error ?? "Не удалось загрузить команды" : props.state === "loading" ? "Загрузка действий…" : props.rows.length === 0 ? "Ничего не найдено" : null;
|
|
17354
|
-
const groups =
|
|
17421
|
+
const groups = groupPaletteRows(props.rows);
|
|
17355
17422
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
17356
17423
|
className: "dsh-qa-slash",
|
|
17357
17424
|
role: "listbox",
|
|
@@ -17523,7 +17590,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17523
17590
|
}, [options.reopen]);
|
|
17524
17591
|
const rows = (0, react.useMemo)(() => {
|
|
17525
17592
|
if (query === void 0) return [];
|
|
17526
|
-
return rankSlashEntries(slash.entries, query, { fuzzy: options.fuzzySearch }).slice(0, options.maxVisible);
|
|
17593
|
+
return flattenPaletteGroups(groupPaletteRows(rankSlashEntries(slash.entries, query, { fuzzy: options.fuzzySearch }))).slice(0, options.maxVisible);
|
|
17527
17594
|
}, [
|
|
17528
17595
|
slash.entries,
|
|
17529
17596
|
query,
|
|
@@ -49932,8 +49999,23 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
49932
49999
|
}
|
|
49933
50000
|
//#endregion
|
|
49934
50001
|
//#region src/client/components/QaChangelog.tsx
|
|
49935
|
-
const QA_VERSION = "0.11.
|
|
50002
|
+
const QA_VERSION = "0.11.2";
|
|
49936
50003
|
const QA_CHANGELOG = [
|
|
50004
|
+
{
|
|
50005
|
+
version: "0.11.2",
|
|
50006
|
+
date: "2026-09-22",
|
|
50007
|
+
sections: [{
|
|
50008
|
+
title: "Исправления",
|
|
50009
|
+
items: [
|
|
50010
|
+
"Помощник снова может читать документацию стенда там, где она лежит. Поиск и чтение документации искали её строго в каталоге docs рабочего каталога чата. Пока документация лежала рядом с чатом, это работало; на стенде с личным каталогом у каждой учётной записи рабочий каталог чата — её собственный (внутри /workspace/work), а документация опубликована один раз, отдельно. Инструмент исправно отвечал «в рабочем каталоге этого чата нет каталога docs», хотя документация на стенде есть, и так было и в чате, и у каждого эксперта: путь к ней знали только файловые инструменты, которым путь называют явно. Теперь стенд называет корень документации настройкой (tools.docsRoot, на этом стенде — /workspace/docs), и оба инструмента читают ровно это дерево: те же пути в ответе, те же проверки (корень существует, это настоящий каталог, не ссылка; путь за пределы дерева отвергается). На стенде без личных каталогов ничего не изменилось — там по-прежнему ищется docs рядом с чатом.",
|
|
50011
|
+
"Инструменты, которые стенд выдал помощнику сам, больше не отказывают в чате с учётной записью. Поиск и чтение документации, диагностика набора инструментов и удаление файла в рабочем каталоге выданы помощнику стендом, а не ролью: их нет ни в одном списке роли, и роль не может их отозвать. Разрешение на вызов проверяют два уровня, и в чате с учётной записью про эти инструменты знал только один — второй строил границы разговора из списка стенда, инструментов роли и того, что роль может выдать по навыку, и выданных стендом инструментов там не находил. Получался отказ «инструмент вне профиля возможностей разговора», по которому невозможно понять, чего именно не хватает: инструмент виден помощнику, стенд его выдал, а вызов всё равно не проходит. Теперь границы разговора считают инструменты стенда так же, как это уже работало в чатах без учётных записей, а проверка профиля читает их из набора самого помощника. То, чего стенд помощнику не выдавал, остаётся за ролью: отказ на такой инструмент по-прежнему называет профиль, а не разговор.",
|
|
50012
|
+
"Внешняя программа может ждать ответ дольше десяти минут. Предел ожидания для интеграции был ограничен сверху десятью минутами, и это вовсе не бюджет стенда: пока стенд ждёт, он ничего не тратит. Ограничение обрезало ровно те вопросы, для которых интеграция и нужна, — разбор на пятнадцать минут возвращался отметкой «нужен специалист», пока ответ ещё писался. Нижняя граница осталась (пять секунд: меньше — уже не ожидание), верхняя снята, и тридцать минут теперь задаются настройкой, а не отвергаются.",
|
|
50013
|
+
"Источник из правой рейки открывается сразу после ответа, а не только после перезагрузки страницы. Список источников собирается из тех же записей о работе инструментов, по которым стенд решает, можно ли открыть файл, — но путь в этом списке строился от каталога, заданного настройкой стенда, а доказательства чата считают пути от рабочего каталога самого чата. Пока это один и тот же каталог, разницы нет; как только они разные (разговор, начатый при прежней настройке, или каталог пользователя внутри общего рабочего каталога), один и тот же файл получал в панели второе написание, и панель просила стенд открыть именно его — а такого пути в доказательствах чата нет. В ответ на клик приходило «источник больше не входит в доказательства этого чата», хотя источник только что был в ответе, и тот же источник открывался после перезагрузки страницы — тогда список пересобирался уже по доказательствам стенда. Теперь список источников строится от рабочего каталога чата, от того же каталога, что и доказательства, поэтому источник открывается с первого клика, а отказ остался там, где он честный: файл, которого в доказательствах этого чата нет, панель по-прежнему не открывает.",
|
|
50014
|
+
"Переход по ссылке /qa больше не заканчивается экраном «доступ закрыт». Адрес стенда открывает интерфейс не сам по себе: браузер должен предъявить одноразовый токен, по которому стенд выставляет входную куку, — иначе корневой вход закрыт, и вместо чата видно требование токена. Токен этот стенд получает от себя же, но запрашивал его только один раз за запуск и запоминал в том числе ответ «пока не готово»: если первый заход совпадал с запуском стенда, куку в этом браузере уже нельзя было получить до перезапуска, и выглядело это как случайный отказ. Теперь выданный токен по-прежнему запоминается, а неудачная попытка — нет: следующий переход по адресу стенда повторяет попытку и открывает интерфейс, а об одной и той же причине в журнал пишется одна строка, а не по строке на каждый заход.",
|
|
50015
|
+
"Палитра слэш-команд больше не повторяет заголовок группы. Навыки и команды подбираются общим списком, и самым подходящим может оказаться запрос, где команда встаёт между двумя навыками: заголовок «Навыки» рисовался ещё раз после неё, и одна группа выглядела как две. Теперь у каждой группы ровно один заголовок: строки одного вида стоят подряд, порядок внутри группы прежний, а выше всех остаётся та группа, в которой оказался лучший ответ, — поэтому Enter по-прежнему выбирает строку, которая видна первой, а стрелки идут по списку так, как он нарисован."
|
|
50016
|
+
]
|
|
50017
|
+
}]
|
|
50018
|
+
},
|
|
49937
50019
|
{
|
|
49938
50020
|
version: "0.11.1",
|
|
49939
50021
|
date: "2026-09-22",
|
|
@@ -49966,9 +50048,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
49966
50048
|
"Приложенный документ теперь разбирается целиком — и помощником, и панелью «Файлы». Загруженный файл стенд хранит в отдельном хранилище вложений, вне рабочего каталога чата, и читать его помощнику разрешено: путь к нему стоит в самом вопросе. Но инструменты работы с документами об этом хранилище не знали и отказывались открывать файл, который помощнику как раз разрешили прочитать, — просьба разобрать приложенный документ заканчивалась ответом «файла нет», хотя файл на месте, а приложенный документ Word нельзя было посмотреть в панели «Файлы». Теперь хранилище вложений передаётся этим инструментам так же, как его знает остальная часть стенда: документ разбирается по тому же пути, что пришёл в вопросе, а доступ к остальному содержимому хранилища не открывается — читается ровно один названный файл, и только на чтение. Доступ выдаётся тому чату, который его получил, вместе с его дочерними помощниками, и снимается вместе с чатом.",
|
|
49967
50049
|
"Документ Word или PDF можно приложить к вопросу — раньше он отбивался прямо при перетаскивании. Список приложимых файлов был списком текстовых расширений: он так и назывался в настройках, и сообщение об отказе перечисляло свой набор «md, txt, log и другие», никак не связанный с настройкой стенда. Получалось несоответствие: стенд разбирает такие документы конвейером документов и показывает документ Word прямо в чате, а приложить его было нельзя. Теперь разрешённые расширения — это то, чем стенд действительно умеет работать: к текстовым файлам добавлены docx и pdf, а если формат всё-таки не разрешён, отказ называет само расширение и говорит, что список задаёт оператор стенда. Там, где список задан явно, он остаётся ровно таким, каким его задали, — добавление работает для стендов, которые полагаются на значения по умолчанию.",
|
|
49968
50050
|
"Приложенный документ Word или PDF читается своим инструментом, а не универсальным чтением файла. Документ из вложения лежит на диске путём, и универсальное чтение отказывает таким форматам как бинарным — «cannot read …docx: binary file». Этот отказ ничего не говорит о том, есть ли файл на месте, но читался он именно так: агент решал, что документа нет, начинал искать его по рабочим каталогам и сообщал пользователю, что до файла не дотянуться, хотя конвейер документов всё это время был доступен. В разделе «Заметки модели» появилась заметка о документах: она называет инструменты конвейера (document_inspect, document_to_markdown, а для вложения по ссылке — document_from_url), говорит, что отказ универсального чтения на офисных форматах — это ожидаемый ответ, а не повод искать файл в другом месте, и что отказ самого конвейера нужно назвать вместе с путём, который он назвал. Заметка включается и переписывается своими словами, как и остальные, — стенду без конвейера документов её стоит выключить.",
|
|
49969
|
-
"
|
|
49970
|
-
"Список чатов показывает только ваши чаты. Обычно список собирался и из ваших разговоров, и из того, что этот браузер запомнил раньше, поэтому на общем компьютере — в переговорке, у стенда, за одной учётной записью Windows — в него попадали разговоры, начатые до вас: с их названиями, временем и значком работы помощника в момент, когда чужой разговор шёл. Теперь список — это ровно ваши чаты: чужой разговор в нём не появится, а разговор, начатый или открытый после входа, виден сразу, без перезагрузки страницы. На стенде без учётных записей ничего не изменилось: список по-прежнему ваш собственный. Имена фоновых помощников в плашках о завершении берутся только из ваших разговоров.",
|
|
49971
|
-
"Помощник снова может читать документацию стенда там, где она лежит. Поиск и чтение документации искали её строго в каталоге docs рабочего каталога чата. Пока документация лежала рядом с чатом, это работало; на стенде с личным каталогом у каждой учётной записи рабочий каталог чата — её собственный (внутри /workspace/work), а документация опубликована один раз, отдельно. Инструмент исправно отвечал «в рабочем каталоге этого чата нет каталога docs», хотя документация на стенде есть, и так было и в чате, и у каждого эксперта: путь к ней знали только файловые инструменты, которым путь называют явно. Теперь стенд называет корень документации настройкой (tools.docsRoot, на этом стенде — /workspace/docs), и оба инструмента читают ровно это дерево: те же пути в ответе, те же проверки (корень существует, это настоящий каталог, не ссылка; путь за пределы дерева отвергается). На стенде без личных каталогов ничего не изменилось — там по-прежнему ищется docs рядом с чатом. Инструменты, которые стенд выдал помощнику сам, больше не отказывают в чате с учётной записью. Поиск и чтение документации, диагностика набора инструментов и удаление файла в рабочем каталоге выданы помощнику стендом, а не ролью: их нет ни в одном списке роли, и роль не может их отозвать. Разрешение на вызов проверяют два уровня, и в чате с учётной записью про эти инструменты знал только один — второй строил границы разговора из списка стенда, инструментов роли и того, что роль может выдать по навыку, и выданных стендом инструментов там не находил. Получался отказ «инструмент вне профиля возможностей разговора», по которому невозможно понять, чего именно не хватает: инструмент виден помощнику, стенд его выдал, а вызов всё равно не проходит. Теперь границы разговора считают инструменты стенда так же, как это уже работало в чатах без учётных записей, а проверка профиля читает их из набора самого помощника. То, чего стенд помощнику не выдавал, остаётся за ролью: отказ на такой инструмент по-прежнему называет профиль, а не разговор."
|
|
50051
|
+
"Список чатов показывает только ваши чаты. Обычно список собирался и из ваших разговоров, и из того, что этот браузер запомнил раньше, поэтому на общем компьютере — в переговорке, у стенда, за одной учётной записью Windows — в него попадали разговоры, начатые до вас: с их названиями, временем и значком работы помощника в момент, когда чужой разговор шёл. Теперь список — это ровно ваши чаты: чужой разговор в нём не появится, а разговор, начатый или открытый после входа, виден сразу, без перезагрузки страницы. На стенде без учётных записей ничего не изменилось: список по-прежнему ваш собственный. Имена фоновых помощников в плашках о завершении берутся только из ваших разговоров."
|
|
49972
50052
|
]
|
|
49973
50053
|
}]
|
|
49974
50054
|
},
|
|
@@ -50328,7 +50408,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
50328
50408
|
className: "dsh-qa-changelog__date",
|
|
50329
50409
|
children: entry.date
|
|
50330
50410
|
}),
|
|
50331
|
-
entry.version === "0.11.
|
|
50411
|
+
entry.version === "0.11.2" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
50332
50412
|
className: "dsh-qa-changelog__current",
|
|
50333
50413
|
children: "текущая"
|
|
50334
50414
|
}) : null
|