@aparte/plugin-subagents 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aparte-subagent-view.d.ts +21 -0
- package/dist/aparte-subagent-view.d.ts.map +1 -1
- package/dist/{setup-CaTzFtu8.js → connect-65jiVmf_.js} +375 -70
- package/dist/connect-65jiVmf_.js.map +1 -0
- package/dist/connect.d.ts +44 -0
- package/dist/connect.d.ts.map +1 -0
- package/dist/custom-elements.json +620 -1
- package/dist/drawing.d.ts +9 -1
- package/dist/drawing.d.ts.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.node.d.ts +3 -1
- package/dist/index.node.d.ts.map +1 -1
- package/dist/index.node.js +3 -2
- package/dist/lanes.d.ts +2 -0
- package/dist/lanes.d.ts.map +1 -1
- package/dist/line.d.ts +2 -1
- package/dist/line.d.ts.map +1 -1
- package/dist/open.d.ts +34 -0
- package/dist/open.d.ts.map +1 -0
- package/dist/steps.d.ts +22 -0
- package/dist/steps.d.ts.map +1 -0
- package/dist/types.d.ts +28 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/words.d.ts +26 -0
- package/dist/words.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/setup-CaTzFtu8.js.map +0 -1
|
@@ -82,6 +82,34 @@
|
|
|
82
82
|
"privacy": "private",
|
|
83
83
|
"default": "null"
|
|
84
84
|
},
|
|
85
|
+
{
|
|
86
|
+
"kind": "field",
|
|
87
|
+
"name": "_head",
|
|
88
|
+
"type": {
|
|
89
|
+
"text": "HTMLElement | null"
|
|
90
|
+
},
|
|
91
|
+
"privacy": "private",
|
|
92
|
+
"default": "null",
|
|
93
|
+
"description": "A closable view's head: the sub-agent's name and Close."
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"kind": "field",
|
|
97
|
+
"name": "_name",
|
|
98
|
+
"type": {
|
|
99
|
+
"text": "HTMLElement | null"
|
|
100
|
+
},
|
|
101
|
+
"privacy": "private",
|
|
102
|
+
"default": "null"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"kind": "field",
|
|
106
|
+
"name": "_close",
|
|
107
|
+
"type": {
|
|
108
|
+
"text": "HTMLButtonElement | null"
|
|
109
|
+
},
|
|
110
|
+
"privacy": "private",
|
|
111
|
+
"default": "null"
|
|
112
|
+
},
|
|
85
113
|
{
|
|
86
114
|
"kind": "field",
|
|
87
115
|
"name": "_drawing",
|
|
@@ -137,6 +165,15 @@
|
|
|
137
165
|
"privacy": "private",
|
|
138
166
|
"default": "null"
|
|
139
167
|
},
|
|
168
|
+
{
|
|
169
|
+
"kind": "field",
|
|
170
|
+
"name": "_stopRenderers",
|
|
171
|
+
"type": {
|
|
172
|
+
"text": "(() => void) | null"
|
|
173
|
+
},
|
|
174
|
+
"privacy": "private",
|
|
175
|
+
"default": "null"
|
|
176
|
+
},
|
|
140
177
|
{
|
|
141
178
|
"kind": "field",
|
|
142
179
|
"name": "_queued",
|
|
@@ -170,6 +207,19 @@
|
|
|
170
207
|
"privacy": "private",
|
|
171
208
|
"readonly": true
|
|
172
209
|
},
|
|
210
|
+
{
|
|
211
|
+
"kind": "field",
|
|
212
|
+
"name": "_onKeydown",
|
|
213
|
+
"privacy": "private",
|
|
214
|
+
"readonly": true
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"kind": "field",
|
|
218
|
+
"name": "_onRenderers",
|
|
219
|
+
"privacy": "private",
|
|
220
|
+
"readonly": true,
|
|
221
|
+
"description": "A renderer registered or taken off on the config the rows were drawn with: the rows it changes are drawn again."
|
|
222
|
+
},
|
|
173
223
|
{
|
|
174
224
|
"kind": "field",
|
|
175
225
|
"name": "_onWrite",
|
|
@@ -184,6 +234,16 @@
|
|
|
184
234
|
},
|
|
185
235
|
"description": "The chat, when it has no `id` for the `for` attribute: an element, or anything with `getMessages()`."
|
|
186
236
|
},
|
|
237
|
+
{
|
|
238
|
+
"kind": "method",
|
|
239
|
+
"name": "focusTitle",
|
|
240
|
+
"return": {
|
|
241
|
+
"type": {
|
|
242
|
+
"text": "void"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"description": "Put the focus on the sub-agent's name, in a `closable` view: where a pane that just opened starts."
|
|
246
|
+
},
|
|
187
247
|
{
|
|
188
248
|
"kind": "method",
|
|
189
249
|
"name": "refresh",
|
|
@@ -285,6 +345,46 @@
|
|
|
285
345
|
}
|
|
286
346
|
}
|
|
287
347
|
},
|
|
348
|
+
{
|
|
349
|
+
"kind": "method",
|
|
350
|
+
"name": "_closable",
|
|
351
|
+
"privacy": "private",
|
|
352
|
+
"return": {
|
|
353
|
+
"type": {
|
|
354
|
+
"text": "boolean"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"description": "A pane of its own, never a line's detail."
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"kind": "method",
|
|
361
|
+
"name": "_emitClose",
|
|
362
|
+
"privacy": "private",
|
|
363
|
+
"return": {
|
|
364
|
+
"type": {
|
|
365
|
+
"text": "void"
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"kind": "method",
|
|
371
|
+
"name": "_relabelHead",
|
|
372
|
+
"privacy": "private",
|
|
373
|
+
"return": {
|
|
374
|
+
"type": {
|
|
375
|
+
"text": "void"
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"parameters": [
|
|
379
|
+
{
|
|
380
|
+
"name": "config",
|
|
381
|
+
"type": {
|
|
382
|
+
"text": "AparteConfig"
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
],
|
|
386
|
+
"description": "The head's words, in the chat's language: the name, and Close."
|
|
387
|
+
},
|
|
288
388
|
{
|
|
289
389
|
"kind": "method",
|
|
290
390
|
"name": "_build",
|
|
@@ -332,6 +432,15 @@
|
|
|
332
432
|
"description": "Out of the page for good: every row's renderer cleans up, and the drawing goes."
|
|
333
433
|
}
|
|
334
434
|
],
|
|
435
|
+
"events": [
|
|
436
|
+
{
|
|
437
|
+
"name": "aparte-subagent-view-close",
|
|
438
|
+
"type": {
|
|
439
|
+
"text": "CustomEvent"
|
|
440
|
+
},
|
|
441
|
+
"description": "The Close button, or Escape inside a `closable` view. The view does not hide itself: the app owns the layout. Bubbles."
|
|
442
|
+
}
|
|
443
|
+
],
|
|
335
444
|
"attributes": [
|
|
336
445
|
{
|
|
337
446
|
"name": "for",
|
|
@@ -354,6 +463,13 @@
|
|
|
354
463
|
},
|
|
355
464
|
"description": "Which sub-agent (`aparte-subagent-start`'s `agentId`)."
|
|
356
465
|
},
|
|
466
|
+
{
|
|
467
|
+
"name": "closable",
|
|
468
|
+
"type": {
|
|
469
|
+
"text": "boolean"
|
|
470
|
+
},
|
|
471
|
+
"description": "A pane of its own: the sub-agent's name and a Close button above its conversation, and Escape inside it closes too. Both only say so (`aparte-subagent-view-close`): the app, or `connectSubagentView`, folds the pane."
|
|
472
|
+
},
|
|
357
473
|
{
|
|
358
474
|
"type": {
|
|
359
475
|
"text": "boolean"
|
|
@@ -460,6 +576,40 @@
|
|
|
460
576
|
}
|
|
461
577
|
]
|
|
462
578
|
},
|
|
579
|
+
{
|
|
580
|
+
"kind": "javascript-module",
|
|
581
|
+
"path": "src/connect.ts",
|
|
582
|
+
"declarations": [
|
|
583
|
+
{
|
|
584
|
+
"kind": "function",
|
|
585
|
+
"name": "connectSubagentView",
|
|
586
|
+
"return": {
|
|
587
|
+
"type": {
|
|
588
|
+
"text": "() => void"
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
"parameters": [
|
|
592
|
+
{
|
|
593
|
+
"name": "options",
|
|
594
|
+
"type": {
|
|
595
|
+
"text": "ConnectSubagentViewOptions"
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
],
|
|
599
|
+
"description": "Wire a chat's sub-agent lines to a view. Returns a function that undoes all of it.\n\nThe lines need `setupSubagents({ open: 'event' })` for their Open button: that is the setup's\noption, not this function's, since a line drawn before the wiring exists is drawn already.\nA sub-agent's own sub-agents, drawn as lines inside the view, open in the same view."
|
|
600
|
+
}
|
|
601
|
+
],
|
|
602
|
+
"exports": [
|
|
603
|
+
{
|
|
604
|
+
"kind": "js",
|
|
605
|
+
"name": "connectSubagentView",
|
|
606
|
+
"declaration": {
|
|
607
|
+
"name": "connectSubagentView",
|
|
608
|
+
"module": "src/connect.ts"
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
]
|
|
612
|
+
},
|
|
463
613
|
{
|
|
464
614
|
"kind": "javascript-module",
|
|
465
615
|
"path": "src/drawing.ts",
|
|
@@ -636,6 +786,31 @@
|
|
|
636
786
|
],
|
|
637
787
|
"description": "The row for `id` among the container's own children — never a decoy in a row's prose."
|
|
638
788
|
},
|
|
789
|
+
{
|
|
790
|
+
"kind": "method",
|
|
791
|
+
"name": "inPlaceOf",
|
|
792
|
+
"privacy": "private",
|
|
793
|
+
"return": {
|
|
794
|
+
"type": {
|
|
795
|
+
"text": "HTMLElement | null"
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
"parameters": [
|
|
799
|
+
{
|
|
800
|
+
"name": "next",
|
|
801
|
+
"type": {
|
|
802
|
+
"text": "ChildNode | null"
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"name": "id",
|
|
807
|
+
"type": {
|
|
808
|
+
"text": "string"
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
],
|
|
812
|
+
"description": "The element standing where a row stood (before `next`) when it is no row's: what a\nrenderer put in place of its own without the id (`outerHTML`, `replaceWith`), stamped so\nthe loop finds it. A renderer that took its element away left another row there, or\nnothing: the row keeps its element, and the loop puts it back."
|
|
813
|
+
},
|
|
639
814
|
{
|
|
640
815
|
"kind": "method",
|
|
641
816
|
"name": "release",
|
|
@@ -735,6 +910,30 @@
|
|
|
735
910
|
"module": "./transcript.js"
|
|
736
911
|
}
|
|
737
912
|
},
|
|
913
|
+
{
|
|
914
|
+
"kind": "js",
|
|
915
|
+
"name": "connectSubagentView",
|
|
916
|
+
"declaration": {
|
|
917
|
+
"name": "connectSubagentView",
|
|
918
|
+
"module": "./connect.js"
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"kind": "js",
|
|
923
|
+
"name": "ConnectSubagentViewOptions",
|
|
924
|
+
"declaration": {
|
|
925
|
+
"name": "ConnectSubagentViewOptions",
|
|
926
|
+
"module": "./connect.js"
|
|
927
|
+
}
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"kind": "js",
|
|
931
|
+
"name": "SubagentViewSplit",
|
|
932
|
+
"declaration": {
|
|
933
|
+
"name": "SubagentViewSplit",
|
|
934
|
+
"module": "./connect.js"
|
|
935
|
+
}
|
|
936
|
+
},
|
|
738
937
|
{
|
|
739
938
|
"kind": "js",
|
|
740
939
|
"name": "AparteSubagentView",
|
|
@@ -806,6 +1005,14 @@
|
|
|
806
1005
|
"name": "AparteSubagentEndEventDetail",
|
|
807
1006
|
"module": "./types.js"
|
|
808
1007
|
}
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"kind": "js",
|
|
1011
|
+
"name": "AparteSubagentOpenEventDetail",
|
|
1012
|
+
"declaration": {
|
|
1013
|
+
"name": "AparteSubagentOpenEventDetail",
|
|
1014
|
+
"module": "./types.js"
|
|
1015
|
+
}
|
|
809
1016
|
}
|
|
810
1017
|
]
|
|
811
1018
|
},
|
|
@@ -846,6 +1053,30 @@
|
|
|
846
1053
|
"module": "./transcript.js"
|
|
847
1054
|
}
|
|
848
1055
|
},
|
|
1056
|
+
{
|
|
1057
|
+
"kind": "js",
|
|
1058
|
+
"name": "connectSubagentView",
|
|
1059
|
+
"declaration": {
|
|
1060
|
+
"name": "connectSubagentView",
|
|
1061
|
+
"module": "./connect.js"
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"kind": "js",
|
|
1066
|
+
"name": "ConnectSubagentViewOptions",
|
|
1067
|
+
"declaration": {
|
|
1068
|
+
"name": "ConnectSubagentViewOptions",
|
|
1069
|
+
"module": "./connect.js"
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"kind": "js",
|
|
1074
|
+
"name": "SubagentViewSplit",
|
|
1075
|
+
"declaration": {
|
|
1076
|
+
"name": "SubagentViewSplit",
|
|
1077
|
+
"module": "./connect.js"
|
|
1078
|
+
}
|
|
1079
|
+
},
|
|
849
1080
|
{
|
|
850
1081
|
"kind": "js",
|
|
851
1082
|
"name": "AparteSubagentView",
|
|
@@ -917,6 +1148,14 @@
|
|
|
917
1148
|
"name": "AparteSubagentEndEventDetail",
|
|
918
1149
|
"module": "./types.js"
|
|
919
1150
|
}
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
"kind": "js",
|
|
1154
|
+
"name": "AparteSubagentOpenEventDetail",
|
|
1155
|
+
"declaration": {
|
|
1156
|
+
"name": "AparteSubagentOpenEventDetail",
|
|
1157
|
+
"module": "./types.js"
|
|
1158
|
+
}
|
|
920
1159
|
}
|
|
921
1160
|
]
|
|
922
1161
|
},
|
|
@@ -924,6 +1163,30 @@
|
|
|
924
1163
|
"kind": "javascript-module",
|
|
925
1164
|
"path": "src/lanes.ts",
|
|
926
1165
|
"declarations": [
|
|
1166
|
+
{
|
|
1167
|
+
"kind": "function",
|
|
1168
|
+
"name": "lastLaneWrite",
|
|
1169
|
+
"return": {
|
|
1170
|
+
"type": {
|
|
1171
|
+
"text": "LaneWrite | undefined"
|
|
1172
|
+
}
|
|
1173
|
+
},
|
|
1174
|
+
"parameters": [
|
|
1175
|
+
{
|
|
1176
|
+
"name": "messageId",
|
|
1177
|
+
"type": {
|
|
1178
|
+
"text": "string"
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
"name": "agentId",
|
|
1183
|
+
"type": {
|
|
1184
|
+
"text": "string"
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
],
|
|
1188
|
+
"description": "The last anchor written for this sub-agent while its run goes on, if any."
|
|
1189
|
+
},
|
|
927
1190
|
{
|
|
928
1191
|
"kind": "function",
|
|
929
1192
|
"name": "watchLaneWrites",
|
|
@@ -954,6 +1217,14 @@
|
|
|
954
1217
|
}
|
|
955
1218
|
],
|
|
956
1219
|
"exports": [
|
|
1220
|
+
{
|
|
1221
|
+
"kind": "js",
|
|
1222
|
+
"name": "lastLaneWrite",
|
|
1223
|
+
"declaration": {
|
|
1224
|
+
"name": "lastLaneWrite",
|
|
1225
|
+
"module": "src/lanes.ts"
|
|
1226
|
+
}
|
|
1227
|
+
},
|
|
957
1228
|
{
|
|
958
1229
|
"kind": "js",
|
|
959
1230
|
"name": "watchLaneWrites",
|
|
@@ -1033,6 +1304,206 @@
|
|
|
1033
1304
|
}
|
|
1034
1305
|
]
|
|
1035
1306
|
},
|
|
1307
|
+
{
|
|
1308
|
+
"kind": "javascript-module",
|
|
1309
|
+
"path": "src/open.ts",
|
|
1310
|
+
"declarations": [
|
|
1311
|
+
{
|
|
1312
|
+
"kind": "function",
|
|
1313
|
+
"name": "isShown",
|
|
1314
|
+
"return": {
|
|
1315
|
+
"type": {
|
|
1316
|
+
"text": "boolean"
|
|
1317
|
+
}
|
|
1318
|
+
},
|
|
1319
|
+
"parameters": [
|
|
1320
|
+
{
|
|
1321
|
+
"name": "messageId",
|
|
1322
|
+
"type": {
|
|
1323
|
+
"text": "string | undefined"
|
|
1324
|
+
}
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"name": "agentId",
|
|
1328
|
+
"type": {
|
|
1329
|
+
"text": "string"
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
],
|
|
1333
|
+
"description": "Whether some view shows this sub-agent now."
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
"kind": "function",
|
|
1337
|
+
"name": "setShown",
|
|
1338
|
+
"return": {
|
|
1339
|
+
"type": {
|
|
1340
|
+
"text": "void"
|
|
1341
|
+
}
|
|
1342
|
+
},
|
|
1343
|
+
"parameters": [
|
|
1344
|
+
{
|
|
1345
|
+
"name": "owner",
|
|
1346
|
+
"type": {
|
|
1347
|
+
"text": "object"
|
|
1348
|
+
}
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
"name": "at",
|
|
1352
|
+
"type": {
|
|
1353
|
+
"text": "{ messageId: string; agentId: string } | null"
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
],
|
|
1357
|
+
"description": "`owner` shows this sub-agent now, or nothing (`null`)."
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
"kind": "function",
|
|
1361
|
+
"name": "openButtonOf",
|
|
1362
|
+
"return": {
|
|
1363
|
+
"type": {
|
|
1364
|
+
"text": "HTMLElement | null"
|
|
1365
|
+
}
|
|
1366
|
+
},
|
|
1367
|
+
"parameters": [
|
|
1368
|
+
{
|
|
1369
|
+
"name": "row",
|
|
1370
|
+
"type": {
|
|
1371
|
+
"text": "Element"
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
],
|
|
1375
|
+
"description": "The row's Open button: core's, in its own line, or — a row with a detail — in the slot\nbeside its disclosure (never in a summary, never a nested row's)."
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
"kind": "function",
|
|
1379
|
+
"name": "markRow",
|
|
1380
|
+
"return": {
|
|
1381
|
+
"type": {
|
|
1382
|
+
"text": "void"
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
"parameters": [
|
|
1386
|
+
{
|
|
1387
|
+
"name": "row",
|
|
1388
|
+
"type": {
|
|
1389
|
+
"text": "Element"
|
|
1390
|
+
}
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
"name": "on",
|
|
1394
|
+
"type": {
|
|
1395
|
+
"text": "boolean"
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
],
|
|
1399
|
+
"description": "Mark a row as the one shown, or not: the two marks core writes from `open.current` when it\ndraws the row, written here on a row already drawn so it does not wait for its next draw."
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
"kind": "function",
|
|
1403
|
+
"name": "unmarkAll",
|
|
1404
|
+
"return": {
|
|
1405
|
+
"type": {
|
|
1406
|
+
"text": "void"
|
|
1407
|
+
}
|
|
1408
|
+
},
|
|
1409
|
+
"parameters": [
|
|
1410
|
+
{
|
|
1411
|
+
"name": "root",
|
|
1412
|
+
"type": {
|
|
1413
|
+
"text": "ParentNode"
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
],
|
|
1417
|
+
"description": "Every row marked as shown under `root`, unmarked."
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"kind": "function",
|
|
1421
|
+
"name": "dispatchOpen",
|
|
1422
|
+
"return": {
|
|
1423
|
+
"type": {
|
|
1424
|
+
"text": "void"
|
|
1425
|
+
}
|
|
1426
|
+
},
|
|
1427
|
+
"parameters": [
|
|
1428
|
+
{
|
|
1429
|
+
"name": "row",
|
|
1430
|
+
"type": {
|
|
1431
|
+
"text": "HTMLElement"
|
|
1432
|
+
}
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
"name": "segment",
|
|
1436
|
+
"type": {
|
|
1437
|
+
"text": "AparteToolCallSegment"
|
|
1438
|
+
}
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"name": "sub",
|
|
1442
|
+
"type": {
|
|
1443
|
+
"text": "AparteSubagent"
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"name": "standIn",
|
|
1448
|
+
"type": {
|
|
1449
|
+
"text": "boolean"
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
],
|
|
1453
|
+
"description": "Dispatch `aparte-subagent-open` from the row of `sub`, drawn for `segment`."
|
|
1454
|
+
}
|
|
1455
|
+
],
|
|
1456
|
+
"exports": [
|
|
1457
|
+
{
|
|
1458
|
+
"kind": "js",
|
|
1459
|
+
"name": "isShown",
|
|
1460
|
+
"declaration": {
|
|
1461
|
+
"name": "isShown",
|
|
1462
|
+
"module": "src/open.ts"
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
"kind": "js",
|
|
1467
|
+
"name": "setShown",
|
|
1468
|
+
"declaration": {
|
|
1469
|
+
"name": "setShown",
|
|
1470
|
+
"module": "src/open.ts"
|
|
1471
|
+
}
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"kind": "js",
|
|
1475
|
+
"name": "openButtonOf",
|
|
1476
|
+
"declaration": {
|
|
1477
|
+
"name": "openButtonOf",
|
|
1478
|
+
"module": "src/open.ts"
|
|
1479
|
+
}
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"kind": "js",
|
|
1483
|
+
"name": "markRow",
|
|
1484
|
+
"declaration": {
|
|
1485
|
+
"name": "markRow",
|
|
1486
|
+
"module": "src/open.ts"
|
|
1487
|
+
}
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"kind": "js",
|
|
1491
|
+
"name": "unmarkAll",
|
|
1492
|
+
"declaration": {
|
|
1493
|
+
"name": "unmarkAll",
|
|
1494
|
+
"module": "src/open.ts"
|
|
1495
|
+
}
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
"kind": "js",
|
|
1499
|
+
"name": "dispatchOpen",
|
|
1500
|
+
"declaration": {
|
|
1501
|
+
"name": "dispatchOpen",
|
|
1502
|
+
"module": "src/open.ts"
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
]
|
|
1506
|
+
},
|
|
1036
1507
|
{
|
|
1037
1508
|
"kind": "javascript-module",
|
|
1038
1509
|
"path": "src/segment.ts",
|
|
@@ -1254,6 +1725,154 @@
|
|
|
1254
1725
|
}
|
|
1255
1726
|
]
|
|
1256
1727
|
},
|
|
1728
|
+
{
|
|
1729
|
+
"kind": "javascript-module",
|
|
1730
|
+
"path": "src/steps.ts",
|
|
1731
|
+
"declarations": [
|
|
1732
|
+
{
|
|
1733
|
+
"kind": "function",
|
|
1734
|
+
"name": "stepStarted",
|
|
1735
|
+
"return": {
|
|
1736
|
+
"type": {
|
|
1737
|
+
"text": "void"
|
|
1738
|
+
}
|
|
1739
|
+
},
|
|
1740
|
+
"parameters": [
|
|
1741
|
+
{
|
|
1742
|
+
"name": "messageId",
|
|
1743
|
+
"type": {
|
|
1744
|
+
"text": "string"
|
|
1745
|
+
}
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
"name": "agentId",
|
|
1749
|
+
"type": {
|
|
1750
|
+
"text": "string"
|
|
1751
|
+
}
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
"name": "name",
|
|
1755
|
+
"type": {
|
|
1756
|
+
"text": "string"
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
],
|
|
1760
|
+
"description": "A step of the sub-agent `agentId` of the reply `messageId` begins."
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"kind": "function",
|
|
1764
|
+
"name": "stepEnded",
|
|
1765
|
+
"return": {
|
|
1766
|
+
"type": {
|
|
1767
|
+
"text": "void"
|
|
1768
|
+
}
|
|
1769
|
+
},
|
|
1770
|
+
"parameters": [
|
|
1771
|
+
{
|
|
1772
|
+
"name": "messageId",
|
|
1773
|
+
"type": {
|
|
1774
|
+
"text": "string"
|
|
1775
|
+
}
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"name": "agentId",
|
|
1779
|
+
"type": {
|
|
1780
|
+
"text": "string"
|
|
1781
|
+
}
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"name": "name",
|
|
1785
|
+
"type": {
|
|
1786
|
+
"text": "string"
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
],
|
|
1790
|
+
"description": "The latest open step of that name ends."
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
"kind": "function",
|
|
1794
|
+
"name": "stepsEnded",
|
|
1795
|
+
"return": {
|
|
1796
|
+
"type": {
|
|
1797
|
+
"text": "void"
|
|
1798
|
+
}
|
|
1799
|
+
},
|
|
1800
|
+
"parameters": [
|
|
1801
|
+
{
|
|
1802
|
+
"name": "messageId",
|
|
1803
|
+
"type": {
|
|
1804
|
+
"text": "string"
|
|
1805
|
+
}
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
"name": "agentId",
|
|
1809
|
+
"type": {
|
|
1810
|
+
"text": "string"
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
],
|
|
1814
|
+
"description": "Every step of the sub-agent ends: it ended, or its reply did."
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
"kind": "function",
|
|
1818
|
+
"name": "currentStep",
|
|
1819
|
+
"return": {
|
|
1820
|
+
"type": {
|
|
1821
|
+
"text": "string | undefined"
|
|
1822
|
+
}
|
|
1823
|
+
},
|
|
1824
|
+
"parameters": [
|
|
1825
|
+
{
|
|
1826
|
+
"name": "messageId",
|
|
1827
|
+
"type": {
|
|
1828
|
+
"text": "string | undefined"
|
|
1829
|
+
}
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
"name": "agentId",
|
|
1833
|
+
"type": {
|
|
1834
|
+
"text": "string"
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
],
|
|
1838
|
+
"description": "The step the sub-agent is on, if any. Without the reply's id (a segment that does not carry\none), the first sub-agent of that id with a step open."
|
|
1839
|
+
}
|
|
1840
|
+
],
|
|
1841
|
+
"exports": [
|
|
1842
|
+
{
|
|
1843
|
+
"kind": "js",
|
|
1844
|
+
"name": "stepStarted",
|
|
1845
|
+
"declaration": {
|
|
1846
|
+
"name": "stepStarted",
|
|
1847
|
+
"module": "src/steps.ts"
|
|
1848
|
+
}
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"kind": "js",
|
|
1852
|
+
"name": "stepEnded",
|
|
1853
|
+
"declaration": {
|
|
1854
|
+
"name": "stepEnded",
|
|
1855
|
+
"module": "src/steps.ts"
|
|
1856
|
+
}
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
"kind": "js",
|
|
1860
|
+
"name": "stepsEnded",
|
|
1861
|
+
"declaration": {
|
|
1862
|
+
"name": "stepsEnded",
|
|
1863
|
+
"module": "src/steps.ts"
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"kind": "js",
|
|
1868
|
+
"name": "currentStep",
|
|
1869
|
+
"declaration": {
|
|
1870
|
+
"name": "currentStep",
|
|
1871
|
+
"module": "src/steps.ts"
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
]
|
|
1875
|
+
},
|
|
1257
1876
|
{
|
|
1258
1877
|
"kind": "javascript-module",
|
|
1259
1878
|
"path": "src/styles.ts",
|
|
@@ -1356,7 +1975,7 @@
|
|
|
1356
1975
|
{
|
|
1357
1976
|
"kind": "variable",
|
|
1358
1977
|
"name": "WORDS",
|
|
1359
|
-
"default": "{ /** How many tool calls a sub-agent made, on its line: \"3 tools\". */ subagentsTools: { en: 'one:{n} tool|other:{n} tools', fr: 'one:{n} outil|other:{n} outils', de: 'one:{n} Tool|other:{n} Tools', es: 'one:{n} herramienta|other:{n} herramientas', it: 'one:{n} strumento|other:{n} strumenti', ja: 'other:{n} 個のツール', ko: 'other:도구 {n}개', pt: 'one:{n} ferramenta|other:{n} ferramentas', ru: 'one:{n} инструмент|few:{n} инструмента|many:{n} инструментов|other:{n} инструмента', zh: 'other:{n} 个工具', }, /** What a sub-agent's second line says before its first call. */ subagentsStarting: { en: 'Starting…', fr: 'Démarrage…', de: 'Wird gestartet…', es: 'Iniciando…', it: 'Avvio…', ja: '開始しています…', ko: '시작하는 중…', pt: 'Iniciando…', ru: 'Запуск…', zh: '正在启动…', }, /** The name of a sub-agent that was given none, when no call names its line either. */ subagentsUnnamed: { en: 'Sub-agent', fr: 'Sous-agent', de: 'Subagent', es: 'Subagente', it: 'Sottoagente', ja: 'サブエージェント', ko: '하위 에이전트', pt: 'Subagente', ru: 'Субагент', zh: '子智能体', }, } satisfies Record<string, Word>"
|
|
1978
|
+
"default": "{ /** How many tool calls a sub-agent made, on its line: \"3 tools\". */ subagentsTools: { en: 'one:{n} tool|other:{n} tools', fr: 'one:{n} outil|other:{n} outils', de: 'one:{n} Tool|other:{n} Tools', es: 'one:{n} herramienta|other:{n} herramientas', it: 'one:{n} strumento|other:{n} strumenti', ja: 'other:{n} 個のツール', ko: 'other:도구 {n}개', pt: 'one:{n} ferramenta|other:{n} ferramentas', ru: 'one:{n} инструмент|few:{n} инструмента|many:{n} инструментов|other:{n} инструмента', zh: 'other:{n} 个工具', }, /** What a sub-agent's second line says before its first call. */ subagentsStarting: { en: 'Starting…', fr: 'Démarrage…', de: 'Wird gestartet…', es: 'Iniciando…', it: 'Avvio…', ja: '開始しています…', ko: '시작하는 중…', pt: 'Iniciando…', ru: 'Запуск…', zh: '正在启动…', }, /** The name of a sub-agent that was given none, when no call names its line either. */ subagentsUnnamed: { en: 'Sub-agent', fr: 'Sous-agent', de: 'Subagent', es: 'Subagente', it: 'Sottoagente', ja: 'サブエージェント', ko: '하위 에이전트', pt: 'Subagente', ru: 'Субагент', zh: '子智能体', }, /** The Open button on a sub-agent's line (`setupSubagents({ open: 'event' })`): its name and tooltip. */ subagentsOpen: { en: 'Open {name}', fr: 'Ouvrir {name}', de: '{name} öffnen', es: 'Abrir {name}', it: 'Apri {name}', ja: '{name} を開く', ko: '{name} 열기', pt: 'Abrir {name}', ru: 'Открыть: {name}', zh: '打开 {name}', }, /** The Close button of a `<aparte-subagent-view closable>`. */ subagentsClose: { en: 'Close', fr: 'Fermer', de: 'Schließen', es: 'Cerrar', it: 'Chiudi', ja: '閉じる', ko: '닫기', pt: 'Fechar', ru: 'Закрыть', zh: '关闭', }, } satisfies Record<string, Word>"
|
|
1360
1979
|
},
|
|
1361
1980
|
{
|
|
1362
1981
|
"kind": "function",
|