dominds 1.25.10 → 1.25.11
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/llm/kernel-driver/drive.js +68 -5
- package/dist/llm/kernel-driver/fbr.js +2 -0
- package/dist/llm/kernel-driver/tellask-special.d.ts +1 -0
- package/dist/llm/kernel-driver/tellask-special.js +6 -1
- package/dist/server/dominds-self-update.js +36 -4
- package/dist/server/websocket-handler.js +31 -2
- package/dist/tools/ctrl.js +1 -0
- package/package.json +3 -3
- package/webapp/dist/assets/{_basePickBy-B4PyBhGX.js → _basePickBy-BF9Zg9uq.js} +3 -3
- package/webapp/dist/assets/{_basePickBy-B4PyBhGX.js.map → _basePickBy-BF9Zg9uq.js.map} +1 -1
- package/webapp/dist/assets/{_baseUniq-Cj1Wg2fB.js → _baseUniq-CFjISsgz.js} +2 -2
- package/webapp/dist/assets/{_baseUniq-Cj1Wg2fB.js.map → _baseUniq-CFjISsgz.js.map} +1 -1
- package/webapp/dist/assets/{arc-CWrSn-79.js → arc-BVyYGzE7.js} +2 -2
- package/webapp/dist/assets/{arc-CWrSn-79.js.map → arc-BVyYGzE7.js.map} +1 -1
- package/webapp/dist/assets/{architectureDiagram-2XIMDMQ5-7iHYM2Z2.js → architectureDiagram-2XIMDMQ5-SEmNTU1b.js} +7 -7
- package/webapp/dist/assets/{architectureDiagram-2XIMDMQ5-7iHYM2Z2.js.map → architectureDiagram-2XIMDMQ5-SEmNTU1b.js.map} +1 -1
- package/webapp/dist/assets/{blockDiagram-WCTKOSBZ-B1TGBHuF.js → blockDiagram-WCTKOSBZ-BndD4gLF.js} +7 -7
- package/webapp/dist/assets/{blockDiagram-WCTKOSBZ-B1TGBHuF.js.map → blockDiagram-WCTKOSBZ-BndD4gLF.js.map} +1 -1
- package/webapp/dist/assets/{c4Diagram-IC4MRINW-BXTEEF9u.js → c4Diagram-IC4MRINW-fGAz7umu.js} +3 -3
- package/webapp/dist/assets/{c4Diagram-IC4MRINW-BXTEEF9u.js.map → c4Diagram-IC4MRINW-fGAz7umu.js.map} +1 -1
- package/webapp/dist/assets/{channel-C9f2l1ub.js → channel-Blt7S1Sn.js} +2 -2
- package/webapp/dist/assets/{channel-C9f2l1ub.js.map → channel-Blt7S1Sn.js.map} +1 -1
- package/webapp/dist/assets/{chunk-4BX2VUAB-CXrwbryc.js → chunk-4BX2VUAB-C2FKcyob.js} +2 -2
- package/webapp/dist/assets/{chunk-4BX2VUAB-CXrwbryc.js.map → chunk-4BX2VUAB-C2FKcyob.js.map} +1 -1
- package/webapp/dist/assets/{chunk-55IACEB6-WAoUKKa8.js → chunk-55IACEB6-CN8ZmdUP.js} +2 -2
- package/webapp/dist/assets/{chunk-55IACEB6-WAoUKKa8.js.map → chunk-55IACEB6-CN8ZmdUP.js.map} +1 -1
- package/webapp/dist/assets/{chunk-FMBD7UC4-CP1cvzbf.js → chunk-FMBD7UC4-B9Uq2tt2.js} +2 -2
- package/webapp/dist/assets/{chunk-FMBD7UC4-CP1cvzbf.js.map → chunk-FMBD7UC4-B9Uq2tt2.js.map} +1 -1
- package/webapp/dist/assets/{chunk-JSJVCQXG-Od7hQgy7.js → chunk-JSJVCQXG-vVrXi8LV.js} +2 -2
- package/webapp/dist/assets/{chunk-JSJVCQXG-Od7hQgy7.js.map → chunk-JSJVCQXG-vVrXi8LV.js.map} +1 -1
- package/webapp/dist/assets/{chunk-KX2RTZJC-Cp53YoAm.js → chunk-KX2RTZJC-DtZmdBq3.js} +2 -2
- package/webapp/dist/assets/{chunk-KX2RTZJC-Cp53YoAm.js.map → chunk-KX2RTZJC-DtZmdBq3.js.map} +1 -1
- package/webapp/dist/assets/{chunk-NQ4KR5QH-DkyaPUwI.js → chunk-NQ4KR5QH-C3rU1XEw.js} +4 -4
- package/webapp/dist/assets/{chunk-NQ4KR5QH-DkyaPUwI.js.map → chunk-NQ4KR5QH-C3rU1XEw.js.map} +1 -1
- package/webapp/dist/assets/{chunk-QZHKN3VN-DPcrZWPF.js → chunk-QZHKN3VN-CeHQK_vs.js} +2 -2
- package/webapp/dist/assets/{chunk-QZHKN3VN-DPcrZWPF.js.map → chunk-QZHKN3VN-CeHQK_vs.js.map} +1 -1
- package/webapp/dist/assets/{chunk-WL4C6EOR-BCx3EtFm.js → chunk-WL4C6EOR-Bb8GUwSo.js} +6 -6
- package/webapp/dist/assets/{chunk-WL4C6EOR-BCx3EtFm.js.map → chunk-WL4C6EOR-Bb8GUwSo.js.map} +1 -1
- package/webapp/dist/assets/{classDiagram-VBA2DB6C-BnwaVhDD.js → classDiagram-VBA2DB6C-CmP7X8Fj.js} +7 -7
- package/webapp/dist/assets/{classDiagram-VBA2DB6C-BnwaVhDD.js.map → classDiagram-VBA2DB6C-CmP7X8Fj.js.map} +1 -1
- package/webapp/dist/assets/{classDiagram-v2-RAHNMMFH-BnwaVhDD.js → classDiagram-v2-RAHNMMFH-CmP7X8Fj.js} +7 -7
- package/webapp/dist/assets/{classDiagram-v2-RAHNMMFH-BnwaVhDD.js.map → classDiagram-v2-RAHNMMFH-CmP7X8Fj.js.map} +1 -1
- package/webapp/dist/assets/{clone-B32zbBXk.js → clone-CzGKO47U.js} +2 -2
- package/webapp/dist/assets/{clone-B32zbBXk.js.map → clone-CzGKO47U.js.map} +1 -1
- package/webapp/dist/assets/{cose-bilkent-S5V4N54A-DexuXMat.js → cose-bilkent-S5V4N54A-3wbordhk.js} +2 -2
- package/webapp/dist/assets/{cose-bilkent-S5V4N54A-DexuXMat.js.map → cose-bilkent-S5V4N54A-3wbordhk.js.map} +1 -1
- package/webapp/dist/assets/{dagre-KLK3FWXG-D-3S_ma4.js → dagre-KLK3FWXG-DrM7hFR5.js} +7 -7
- package/webapp/dist/assets/{dagre-KLK3FWXG-D-3S_ma4.js.map → dagre-KLK3FWXG-DrM7hFR5.js.map} +1 -1
- package/webapp/dist/assets/{diagram-E7M64L7V-CR7hat4A.js → diagram-E7M64L7V-D-bQEVk2.js} +8 -8
- package/webapp/dist/assets/{diagram-E7M64L7V-CR7hat4A.js.map → diagram-E7M64L7V-D-bQEVk2.js.map} +1 -1
- package/webapp/dist/assets/{diagram-IFDJBPK2-B6qnqfZU.js → diagram-IFDJBPK2-MaU_xQfR.js} +7 -7
- package/webapp/dist/assets/{diagram-IFDJBPK2-B6qnqfZU.js.map → diagram-IFDJBPK2-MaU_xQfR.js.map} +1 -1
- package/webapp/dist/assets/{diagram-P4PSJMXO-BDGFMbld.js → diagram-P4PSJMXO-BLklmc9h.js} +7 -7
- package/webapp/dist/assets/{diagram-P4PSJMXO-BDGFMbld.js.map → diagram-P4PSJMXO-BLklmc9h.js.map} +1 -1
- package/webapp/dist/assets/{erDiagram-INFDFZHY-BcXnNg1A.js → erDiagram-INFDFZHY-DHIVFsNv.js} +5 -5
- package/webapp/dist/assets/{erDiagram-INFDFZHY-BcXnNg1A.js.map → erDiagram-INFDFZHY-DHIVFsNv.js.map} +1 -1
- package/webapp/dist/assets/{flowDiagram-PKNHOUZH-CgKu7usU.js → flowDiagram-PKNHOUZH-HbMxSdg1.js} +7 -7
- package/webapp/dist/assets/{flowDiagram-PKNHOUZH-CgKu7usU.js.map → flowDiagram-PKNHOUZH-HbMxSdg1.js.map} +1 -1
- package/webapp/dist/assets/{ganttDiagram-A5KZAMGK-BwkrQGcZ.js → ganttDiagram-A5KZAMGK-CxBETPNC.js} +3 -3
- package/webapp/dist/assets/{ganttDiagram-A5KZAMGK-BwkrQGcZ.js.map → ganttDiagram-A5KZAMGK-CxBETPNC.js.map} +1 -1
- package/webapp/dist/assets/{gitGraphDiagram-K3NZZRJ6-CVqi-T5p.js → gitGraphDiagram-K3NZZRJ6-DPV-fFTC.js} +8 -8
- package/webapp/dist/assets/{gitGraphDiagram-K3NZZRJ6-CVqi-T5p.js.map → gitGraphDiagram-K3NZZRJ6-DPV-fFTC.js.map} +1 -1
- package/webapp/dist/assets/{graph-B7VL6q5k.js → graph-C0MlCXJg.js} +3 -3
- package/webapp/dist/assets/{graph-B7VL6q5k.js.map → graph-C0MlCXJg.js.map} +1 -1
- package/webapp/dist/assets/{index-4xG_gPRh.js → index-CzHjX_nj.js} +168 -60
- package/webapp/dist/assets/{index-4xG_gPRh.js.map → index-CzHjX_nj.js.map} +1 -1
- package/webapp/dist/assets/{infoDiagram-LFFYTUFH-a9WBcgds.js → infoDiagram-LFFYTUFH-ChTC2kD-.js} +6 -6
- package/webapp/dist/assets/{infoDiagram-LFFYTUFH-a9WBcgds.js.map → infoDiagram-LFFYTUFH-ChTC2kD-.js.map} +1 -1
- package/webapp/dist/assets/{ishikawaDiagram-PHBUUO56-Bhiex3_9.js → ishikawaDiagram-PHBUUO56--aJd3LM6.js} +2 -2
- package/webapp/dist/assets/{ishikawaDiagram-PHBUUO56-Bhiex3_9.js.map → ishikawaDiagram-PHBUUO56--aJd3LM6.js.map} +1 -1
- package/webapp/dist/assets/{journeyDiagram-4ABVD52K-DdMDmgOQ.js → journeyDiagram-4ABVD52K-Bzd3cZTs.js} +5 -5
- package/webapp/dist/assets/{journeyDiagram-4ABVD52K-DdMDmgOQ.js.map → journeyDiagram-4ABVD52K-Bzd3cZTs.js.map} +1 -1
- package/webapp/dist/assets/{kanban-definition-K7BYSVSG-C02Ns-Ee.js → kanban-definition-K7BYSVSG-DiFHcs58.js} +3 -3
- package/webapp/dist/assets/{kanban-definition-K7BYSVSG-C02Ns-Ee.js.map → kanban-definition-K7BYSVSG-DiFHcs58.js.map} +1 -1
- package/webapp/dist/assets/{layout-CKFoJLnz.js → layout-B9Hsf17G.js} +5 -5
- package/webapp/dist/assets/{layout-CKFoJLnz.js.map → layout-B9Hsf17G.js.map} +1 -1
- package/webapp/dist/assets/{linear-DK87WR34.js → linear-6xqU78Yu.js} +2 -2
- package/webapp/dist/assets/{linear-DK87WR34.js.map → linear-6xqU78Yu.js.map} +1 -1
- package/webapp/dist/assets/{mindmap-definition-YRQLILUH-CNPEaAdT.js → mindmap-definition-YRQLILUH-BUI6M5up.js} +4 -4
- package/webapp/dist/assets/{mindmap-definition-YRQLILUH-CNPEaAdT.js.map → mindmap-definition-YRQLILUH-BUI6M5up.js.map} +1 -1
- package/webapp/dist/assets/{pieDiagram-SKSYHLDU-BAieZgqR.js → pieDiagram-SKSYHLDU-FCGp31Lg.js} +8 -8
- package/webapp/dist/assets/{pieDiagram-SKSYHLDU-BAieZgqR.js.map → pieDiagram-SKSYHLDU-FCGp31Lg.js.map} +1 -1
- package/webapp/dist/assets/{quadrantDiagram-337W2JSQ-DNfJ-efQ.js → quadrantDiagram-337W2JSQ-bJcMGXM6.js} +3 -3
- package/webapp/dist/assets/{quadrantDiagram-337W2JSQ-DNfJ-efQ.js.map → quadrantDiagram-337W2JSQ-bJcMGXM6.js.map} +1 -1
- package/webapp/dist/assets/{requirementDiagram-Z7DCOOCP-Ci2ficlW.js → requirementDiagram-Z7DCOOCP-BghuL9nW.js} +4 -4
- package/webapp/dist/assets/{requirementDiagram-Z7DCOOCP-Ci2ficlW.js.map → requirementDiagram-Z7DCOOCP-BghuL9nW.js.map} +1 -1
- package/webapp/dist/assets/{sankeyDiagram-WA2Y5GQK-y2RH0qmH.js → sankeyDiagram-WA2Y5GQK-DpuFpv6d.js} +2 -2
- package/webapp/dist/assets/{sankeyDiagram-WA2Y5GQK-y2RH0qmH.js.map → sankeyDiagram-WA2Y5GQK-DpuFpv6d.js.map} +1 -1
- package/webapp/dist/assets/{sequenceDiagram-2WXFIKYE-C4Mbfwyu.js → sequenceDiagram-2WXFIKYE-BM6rPANl.js} +4 -4
- package/webapp/dist/assets/{sequenceDiagram-2WXFIKYE-C4Mbfwyu.js.map → sequenceDiagram-2WXFIKYE-BM6rPANl.js.map} +1 -1
- package/webapp/dist/assets/{stateDiagram-RAJIS63D-enKQJ7WW.js → stateDiagram-RAJIS63D-C_jQSre0.js} +9 -9
- package/webapp/dist/assets/{stateDiagram-RAJIS63D-enKQJ7WW.js.map → stateDiagram-RAJIS63D-C_jQSre0.js.map} +1 -1
- package/webapp/dist/assets/{stateDiagram-v2-FVOUBMTO-44zqAgYM.js → stateDiagram-v2-FVOUBMTO-BbQxj-LI.js} +5 -5
- package/webapp/dist/assets/{stateDiagram-v2-FVOUBMTO-44zqAgYM.js.map → stateDiagram-v2-FVOUBMTO-BbQxj-LI.js.map} +1 -1
- package/webapp/dist/assets/{timeline-definition-YZTLITO2-Byr_GVOH.js → timeline-definition-YZTLITO2-qVPiYzDY.js} +3 -3
- package/webapp/dist/assets/{timeline-definition-YZTLITO2-Byr_GVOH.js.map → timeline-definition-YZTLITO2-qVPiYzDY.js.map} +1 -1
- package/webapp/dist/assets/{treemap-KZPCXAKY-BSv-k7HC.js → treemap-KZPCXAKY-CH_Gjw5E.js} +5 -5
- package/webapp/dist/assets/{treemap-KZPCXAKY-BSv-k7HC.js.map → treemap-KZPCXAKY-CH_Gjw5E.js.map} +1 -1
- package/webapp/dist/assets/{vennDiagram-LZ73GAT5-CPqduRWm.js → vennDiagram-LZ73GAT5-rpOhNWvx.js} +2 -2
- package/webapp/dist/assets/{vennDiagram-LZ73GAT5-CPqduRWm.js.map → vennDiagram-LZ73GAT5-rpOhNWvx.js.map} +1 -1
- package/webapp/dist/assets/{xychartDiagram-JWTSCODW-B8yG6HaE.js → xychartDiagram-JWTSCODW-D1TcBJrI.js} +3 -3
- package/webapp/dist/assets/{xychartDiagram-JWTSCODW-B8yG6HaE.js.map → xychartDiagram-JWTSCODW-D1TcBJrI.js.map} +1 -1
- package/webapp/dist/index.html +1 -1
|
@@ -645,6 +645,7 @@ const TELLASK_SPECIAL_VIRTUAL_TOOLS = [
|
|
|
645
645
|
{
|
|
646
646
|
type: 'func',
|
|
647
647
|
name: 'replyTellask',
|
|
648
|
+
followupMode: 'deferred',
|
|
648
649
|
description: 'Deliver final reply for the current tellask session.',
|
|
649
650
|
parameters: {
|
|
650
651
|
type: 'object',
|
|
@@ -661,6 +662,7 @@ const TELLASK_SPECIAL_VIRTUAL_TOOLS = [
|
|
|
661
662
|
{
|
|
662
663
|
type: 'func',
|
|
663
664
|
name: 'replyTellaskSessionless',
|
|
665
|
+
followupMode: 'deferred',
|
|
664
666
|
description: 'Deliver final reply for the current one-shot tellask.',
|
|
665
667
|
parameters: {
|
|
666
668
|
type: 'object',
|
|
@@ -677,6 +679,7 @@ const TELLASK_SPECIAL_VIRTUAL_TOOLS = [
|
|
|
677
679
|
{
|
|
678
680
|
type: 'func',
|
|
679
681
|
name: 'replyTellaskBack',
|
|
682
|
+
followupMode: 'deferred',
|
|
680
683
|
description: 'Deliver final reply for the current tellaskBack request.',
|
|
681
684
|
parameters: {
|
|
682
685
|
type: 'object',
|
|
@@ -1228,6 +1231,49 @@ async function persistInvalidFuncCallRuntimeGuide(args) {
|
|
|
1228
1231
|
});
|
|
1229
1232
|
await persistAndPostRuntimeGuide(dlg, content);
|
|
1230
1233
|
}
|
|
1234
|
+
function isQueuedNewCourseRuntimePrompt(prompt) {
|
|
1235
|
+
return (prompt?.kind === 'new_course_runtime_guide' ||
|
|
1236
|
+
prompt?.kind === 'new_course_runtime_reply' ||
|
|
1237
|
+
prompt?.kind === 'new_course_runtime_sideDialog');
|
|
1238
|
+
}
|
|
1239
|
+
function queuedNewCourseRuntimePromptToKernelPrompt(prompt) {
|
|
1240
|
+
const common = {
|
|
1241
|
+
content: prompt.prompt,
|
|
1242
|
+
msgId: prompt.msgId,
|
|
1243
|
+
grammar: prompt.grammar ?? 'markdown',
|
|
1244
|
+
userLanguageCode: prompt.userLanguageCode,
|
|
1245
|
+
runControl: prompt.runControl,
|
|
1246
|
+
origin: 'runtime',
|
|
1247
|
+
...(prompt.skipTaskdoc === undefined ? {} : { skipTaskdoc: prompt.skipTaskdoc }),
|
|
1248
|
+
};
|
|
1249
|
+
switch (prompt.kind) {
|
|
1250
|
+
case 'new_course_runtime_guide':
|
|
1251
|
+
return common;
|
|
1252
|
+
case 'new_course_runtime_reply':
|
|
1253
|
+
return {
|
|
1254
|
+
...common,
|
|
1255
|
+
tellaskReplyDirective: prompt.tellaskReplyDirective,
|
|
1256
|
+
};
|
|
1257
|
+
case 'new_course_runtime_sideDialog':
|
|
1258
|
+
return {
|
|
1259
|
+
...common,
|
|
1260
|
+
tellaskReplyDirective: prompt.tellaskReplyDirective,
|
|
1261
|
+
calleeDialogReplyTarget: prompt.calleeDialogReplyTarget,
|
|
1262
|
+
};
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
async function consumeQueuedNewCourseRuntimePromptForSameDrive(dlg) {
|
|
1266
|
+
const queuedPrompt = dlg.peekQueuedPrompt();
|
|
1267
|
+
if (!isQueuedNewCourseRuntimePrompt(queuedPrompt)) {
|
|
1268
|
+
return undefined;
|
|
1269
|
+
}
|
|
1270
|
+
const consumedPrompt = dlg.takeQueuedPrompt();
|
|
1271
|
+
if (!consumedPrompt || consumedPrompt.msgId !== queuedPrompt.msgId) {
|
|
1272
|
+
throw new Error(`queued new-course prompt invariant violation: expected queued prompt ${queuedPrompt.msgId} before same-drive continuation`);
|
|
1273
|
+
}
|
|
1274
|
+
await persistence_1.DialogPersistence.clearPendingRuntimePrompt(dlg.id, queuedPrompt.msgId, dlg.status);
|
|
1275
|
+
return queuedNewCourseRuntimePromptToKernelPrompt(queuedPrompt);
|
|
1276
|
+
}
|
|
1231
1277
|
function resolveFuncToolFollowupMode(tool) {
|
|
1232
1278
|
return tool?.followupMode ?? 'immediate';
|
|
1233
1279
|
}
|
|
@@ -1237,6 +1283,7 @@ function summarizeRoutedFunctionResult(routed) {
|
|
|
1237
1283
|
hasImmediateTellaskOutputs: routed.hasImmediateTellaskOutputs,
|
|
1238
1284
|
immediateFollowupCallIds: routed.immediateFollowupCallIds,
|
|
1239
1285
|
immediateTellaskOutputCallIds: routed.immediateTellaskOutputCallIds,
|
|
1286
|
+
invalidTellaskCallIds: routed.invalidTellaskCallIds,
|
|
1240
1287
|
shouldStopAfterReplyTool: routed.shouldStopAfterReplyTool,
|
|
1241
1288
|
shouldStopAfterPendingTellaskWait: routed.shouldStopAfterPendingTellaskWait,
|
|
1242
1289
|
pairedMessageTypes: routed.pairedMessages.map((msg) => msg.type),
|
|
@@ -1455,14 +1502,22 @@ function buildImmediateFollowupTriggerExpectation(args) {
|
|
|
1455
1502
|
replyCallId: args.routed.immediateTellaskOutputCallIds[0],
|
|
1456
1503
|
});
|
|
1457
1504
|
}
|
|
1505
|
+
const invalidRecoveryCallIds = new Set(args.routed.invalidTellaskCallIds);
|
|
1458
1506
|
if (args.invalidFuncCallCount > 0) {
|
|
1459
|
-
const
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1507
|
+
for (const call of args.streamedFuncCalls) {
|
|
1508
|
+
invalidRecoveryCallIds.add(call.id);
|
|
1509
|
+
}
|
|
1510
|
+
if (args.streamedFuncCalls.length === 0) {
|
|
1511
|
+
invalidRecoveryCallIds.add(`invalid-tool:${args.invalidFuncCallCount}`);
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
if (invalidRecoveryCallIds.size > 0) {
|
|
1515
|
+
// Invalid provider tool payloads and invalid tellask specials are same-turn recovery facts,
|
|
1516
|
+
// not generic retry hints. Keep them inside the follow-up trigger so the next generation can
|
|
1517
|
+
// repair the current turn immediately, while the invalid payload itself stays loud.
|
|
1463
1518
|
reasons.push({
|
|
1464
1519
|
kind: 'invalid_tool_recovery',
|
|
1465
|
-
callIds:
|
|
1520
|
+
callIds: [...invalidRecoveryCallIds],
|
|
1466
1521
|
});
|
|
1467
1522
|
}
|
|
1468
1523
|
if (reasons.length === 0) {
|
|
@@ -1823,6 +1878,7 @@ async function executeFunctionRound(args) {
|
|
|
1823
1878
|
hasImmediateTellaskOutputs: false,
|
|
1824
1879
|
immediateFollowupCallIds: [],
|
|
1825
1880
|
immediateTellaskOutputCallIds: [],
|
|
1881
|
+
invalidTellaskCallIds: [],
|
|
1826
1882
|
shouldStopAfterReplyTool: false,
|
|
1827
1883
|
shouldStopAfterPendingTellaskWait: false,
|
|
1828
1884
|
pairedMessages: [],
|
|
@@ -1933,6 +1989,7 @@ async function executeFunctionRound(args) {
|
|
|
1933
1989
|
hasImmediateTellaskOutputs: tellaskRound.hasImmediateTellaskOutputs,
|
|
1934
1990
|
immediateFollowupCallIds,
|
|
1935
1991
|
immediateTellaskOutputCallIds: tellaskRound.immediateTellaskOutputCallIds,
|
|
1992
|
+
invalidTellaskCallIds: tellaskRound.invalidTellaskCallIds,
|
|
1936
1993
|
shouldStopAfterReplyTool: tellaskRound.shouldStopAfterReplyTool,
|
|
1937
1994
|
shouldStopAfterPendingTellaskWait: tellaskRound.shouldStopAfterPendingTellaskWait,
|
|
1938
1995
|
pairedMessages,
|
|
@@ -3255,6 +3312,12 @@ async function driveDialogStreamCore(dlg, callbacks, humanPrompt, driveOptions)
|
|
|
3255
3312
|
});
|
|
3256
3313
|
break;
|
|
3257
3314
|
}
|
|
3315
|
+
const queuedNewCoursePrompt = await consumeQueuedNewCourseRuntimePromptForSameDrive(dlg);
|
|
3316
|
+
if (queuedNewCoursePrompt !== undefined) {
|
|
3317
|
+
pendingPrompt = queuedNewCoursePrompt;
|
|
3318
|
+
skipTaskdocForThisDrive = false;
|
|
3319
|
+
continue;
|
|
3320
|
+
}
|
|
3258
3321
|
// Start an immediate post-tool generation only when this round produced tool outputs that
|
|
3259
3322
|
// warrant same-drive LLM reaction right away. Provider-native side-channel UI events are
|
|
3260
3323
|
// meaningful output, but they are not transcript/context inputs and therefore must not
|
|
@@ -48,6 +48,7 @@ function buildFbrConclusionTools(language) {
|
|
|
48
48
|
{
|
|
49
49
|
type: 'func',
|
|
50
50
|
name: exports.FBR_LOW_NOISE_CONCLUSION_TOOL_NAME,
|
|
51
|
+
followupMode: 'deferred',
|
|
51
52
|
description: buildFbrConclusionToolDescription({ language, kind: 'low_noise' }),
|
|
52
53
|
parameters: {
|
|
53
54
|
type: 'object',
|
|
@@ -67,6 +68,7 @@ function buildFbrConclusionTools(language) {
|
|
|
67
68
|
{
|
|
68
69
|
type: 'func',
|
|
69
70
|
name: exports.FBR_UNREASONABLE_SITUATION_TOOL_NAME,
|
|
71
|
+
followupMode: 'deferred',
|
|
70
72
|
description: buildFbrConclusionToolDescription({ language, kind: 'unreasonable' }),
|
|
71
73
|
parameters: {
|
|
72
74
|
type: 'object',
|
|
@@ -121,6 +121,7 @@ export type TellaskFunctionRoundResult = Readonly<{
|
|
|
121
121
|
hasInvalidTellaskCalls: boolean;
|
|
122
122
|
hasImmediateTellaskOutputs: boolean;
|
|
123
123
|
immediateTellaskOutputCallIds: readonly string[];
|
|
124
|
+
invalidTellaskCallIds: readonly string[];
|
|
124
125
|
shouldStopAfterReplyTool: boolean;
|
|
125
126
|
shouldStopAfterPendingTellaskWait: boolean;
|
|
126
127
|
}>;
|
|
@@ -2396,6 +2396,10 @@ async function processTellaskFunctionRound(args) {
|
|
|
2396
2396
|
const result = output;
|
|
2397
2397
|
tellaskFuncResultByCallId.set(result.id, result);
|
|
2398
2398
|
tellaskFuncResults.push(result);
|
|
2399
|
+
const originatingCall = specialCallById.get(result.id);
|
|
2400
|
+
if (originatingCall !== undefined && isReplyTellaskCallName(originatingCall.callName)) {
|
|
2401
|
+
continue;
|
|
2402
|
+
}
|
|
2399
2403
|
hasImmediateTellaskOutputs = true;
|
|
2400
2404
|
immediateTellaskOutputCallIds.push(result.id);
|
|
2401
2405
|
continue;
|
|
@@ -2460,7 +2464,8 @@ async function processTellaskFunctionRound(args) {
|
|
|
2460
2464
|
hasInvalidTellaskCalls: orderedInvalidCalls.length > 0,
|
|
2461
2465
|
hasImmediateTellaskOutputs,
|
|
2462
2466
|
immediateTellaskOutputCallIds,
|
|
2463
|
-
|
|
2467
|
+
invalidTellaskCallIds: orderedInvalidCalls.map((issue) => issue.originalCall.id),
|
|
2468
|
+
shouldStopAfterReplyTool: tellaskExecution.successfulReplyCallIds.length > 0,
|
|
2464
2469
|
shouldStopAfterPendingTellaskWait,
|
|
2465
2470
|
};
|
|
2466
2471
|
}
|
|
@@ -21,6 +21,7 @@ const LATEST_VERSION_CHECK_TIMEOUT_MS = 60000;
|
|
|
21
21
|
const RESTART_PORT_RELEASE_TIMEOUT_MS = 15000;
|
|
22
22
|
const RESTART_PORT_PROBE_INTERVAL_MS = 150;
|
|
23
23
|
const RESTART_EXIT_GRACE_MS = 1000;
|
|
24
|
+
const RESTART_FORCE_KILL_AFTER_MS = 3000;
|
|
24
25
|
const COMMAND_OUTPUT_LOG_LIMIT = 2000;
|
|
25
26
|
const PROXY_URL_ENV_KEYS = new Set([
|
|
26
27
|
'HTTP_PROXY',
|
|
@@ -865,6 +866,8 @@ function spawnDetachedRestartHelper(params) {
|
|
|
865
866
|
cwd: params.cwd,
|
|
866
867
|
host: getRestartPortProbeHost(params.host),
|
|
867
868
|
port: params.port,
|
|
869
|
+
retiringPid: process.pid,
|
|
870
|
+
forceKillAfterMs: RESTART_FORCE_KILL_AFTER_MS,
|
|
868
871
|
probeIntervalMs: RESTART_PORT_PROBE_INTERVAL_MS,
|
|
869
872
|
portReleaseTimeoutMs: RESTART_PORT_RELEASE_TIMEOUT_MS,
|
|
870
873
|
stdioMode,
|
|
@@ -889,8 +892,8 @@ function spawnDetachedRestartHelper(params) {
|
|
|
889
892
|
' socket.setTimeout(1000, () => finish(true));',
|
|
890
893
|
' });',
|
|
891
894
|
'}',
|
|
892
|
-
'async function waitForPortRelease() {',
|
|
893
|
-
' const deadline = Date.now() +
|
|
895
|
+
'async function waitForPortRelease(timeoutMs) {',
|
|
896
|
+
' const deadline = Date.now() + timeoutMs;',
|
|
894
897
|
' let consecutiveIdle = 0;',
|
|
895
898
|
' while (Date.now() < deadline) {',
|
|
896
899
|
' if (await isPortBusy()) {',
|
|
@@ -899,13 +902,42 @@ function spawnDetachedRestartHelper(params) {
|
|
|
899
902
|
' continue;',
|
|
900
903
|
' }',
|
|
901
904
|
' consecutiveIdle += 1;',
|
|
902
|
-
' if (consecutiveIdle >= 2) return;',
|
|
905
|
+
' if (consecutiveIdle >= 2) return true;',
|
|
903
906
|
' await new Promise((resolve) => setTimeout(resolve, payload.probeIntervalMs));',
|
|
904
907
|
' }',
|
|
908
|
+
' return false;',
|
|
909
|
+
'}',
|
|
910
|
+
'function forceKillRetiringProcess() {',
|
|
911
|
+
' if (!Number.isInteger(payload.retiringPid) || payload.retiringPid <= 0) {',
|
|
912
|
+
' throw new Error(`Invalid retiring Dominds pid for restart: ${String(payload.retiringPid)}`);',
|
|
913
|
+
' }',
|
|
914
|
+
' if (payload.retiringPid === process.pid) {',
|
|
915
|
+
' throw new Error(`Refusing to kill restart helper pid ${String(process.pid)}`);',
|
|
916
|
+
' }',
|
|
917
|
+
" const killer = process.platform === 'win32'",
|
|
918
|
+
" ? spawn('taskkill.exe', ['/PID', String(payload.retiringPid), '/F'], { stdio: payload.stdioMode })",
|
|
919
|
+
" : spawn('kill', ['-KILL', String(payload.retiringPid)], { stdio: payload.stdioMode });",
|
|
920
|
+
' return new Promise((resolve, reject) => {',
|
|
921
|
+
" killer.once('error', reject);",
|
|
922
|
+
" killer.once('exit', (code) => {",
|
|
923
|
+
' if (code === 0) {',
|
|
924
|
+
' resolve();',
|
|
925
|
+
' return;',
|
|
926
|
+
' }',
|
|
927
|
+
' resolve();',
|
|
928
|
+
' });',
|
|
929
|
+
' });',
|
|
905
930
|
'}',
|
|
906
931
|
'(async () => {',
|
|
907
932
|
' try {',
|
|
908
|
-
' await waitForPortRelease();',
|
|
933
|
+
' const releasedGracefully = await waitForPortRelease(payload.forceKillAfterMs);',
|
|
934
|
+
' if (!releasedGracefully) {',
|
|
935
|
+
' await forceKillRetiringProcess();',
|
|
936
|
+
' const releasedAfterKill = await waitForPortRelease(payload.portReleaseTimeoutMs);',
|
|
937
|
+
' if (!releasedAfterKill) {',
|
|
938
|
+
' throw new Error(`Dominds restart port ${String(payload.host)}:${String(payload.port)} is still busy after force-killing pid ${String(payload.retiringPid)}`);',
|
|
939
|
+
' }',
|
|
940
|
+
' }',
|
|
909
941
|
" const child = spawn(payload.command, payload.args, { cwd: payload.cwd, env: process.env, detached, stdio: payload.stdioMode, shell: process.platform === 'win32' });",
|
|
910
942
|
' if (detached) child.unref();',
|
|
911
943
|
' process.exit(0);',
|
|
@@ -1035,8 +1035,23 @@ async function handleDisplayDialog(ws, packet) {
|
|
|
1035
1035
|
}
|
|
1036
1036
|
const rootPrimingConfig = dialogIdObj.selfId === dialogIdObj.rootId ? (0, priming_1.getMainDialogPrimingConfig)(metadata) : undefined;
|
|
1037
1037
|
const showPrimingEventsInUi = rootPrimingConfig?.showInUi !== false;
|
|
1038
|
-
|
|
1038
|
+
if (packet.course !== undefined && (!Number.isInteger(packet.course) || packet.course <= 0)) {
|
|
1039
|
+
ws.send(JSON.stringify({
|
|
1040
|
+
type: 'error',
|
|
1041
|
+
message: 'display_dialog course must be a positive integer when provided',
|
|
1042
|
+
}));
|
|
1043
|
+
return;
|
|
1044
|
+
}
|
|
1045
|
+
const latestCourse = (await persistence_1.DialogPersistence.getCurrentCourseNumber(dialogIdObj, requestedStatus)) ||
|
|
1039
1046
|
(dialogState.currentCourse ?? 1);
|
|
1047
|
+
const decidedCourse = packet.course ?? latestCourse;
|
|
1048
|
+
if (decidedCourse > latestCourse) {
|
|
1049
|
+
ws.send(JSON.stringify({
|
|
1050
|
+
type: 'error',
|
|
1051
|
+
message: `display_dialog course ${String(decidedCourse)} exceeds latest course ${String(latestCourse)}`,
|
|
1052
|
+
}));
|
|
1053
|
+
return;
|
|
1054
|
+
}
|
|
1040
1055
|
const enableLive = requestedStatus === 'running';
|
|
1041
1056
|
const mainDialog = await (0, dialog_instance_registry_1.getOrRestoreMainDialog)(dialogIdObj.rootId, requestedStatus);
|
|
1042
1057
|
if (!mainDialog) {
|
|
@@ -1068,7 +1083,7 @@ async function handleDisplayDialog(ws, packet) {
|
|
|
1068
1083
|
try {
|
|
1069
1084
|
const dialogStore = dialog.dlgStore;
|
|
1070
1085
|
if (dialogStore instanceof persistence_1.DiskFileDialogStore) {
|
|
1071
|
-
await dialogStore.sendDialogEventsDirectly(ws, dialog, decidedCourse,
|
|
1086
|
+
await dialogStore.sendDialogEventsDirectly(ws, dialog, decidedCourse, latestCourse, requestedStatus, { showPrimingEventsInUi });
|
|
1072
1087
|
}
|
|
1073
1088
|
else {
|
|
1074
1089
|
throw new Error('Unexpected dialog store type for sendDialogEventsDirectly');
|
|
@@ -1340,6 +1355,13 @@ async function handleDisplayCourse(ws, packet) {
|
|
|
1340
1355
|
if (!dialog || typeof course !== 'number') {
|
|
1341
1356
|
throw new Error('dialog and course are required');
|
|
1342
1357
|
}
|
|
1358
|
+
if (!Number.isInteger(course) || course <= 0) {
|
|
1359
|
+
ws.send(JSON.stringify({
|
|
1360
|
+
type: 'error',
|
|
1361
|
+
message: 'display_course course must be a positive integer',
|
|
1362
|
+
}));
|
|
1363
|
+
return;
|
|
1364
|
+
}
|
|
1343
1365
|
// Extract dialog ID from DialogIdent
|
|
1344
1366
|
let dialogIdStr = dialog.selfId;
|
|
1345
1367
|
let mainDialogIdStr = dialog.rootId;
|
|
@@ -1371,6 +1393,13 @@ async function handleDisplayCourse(ws, packet) {
|
|
|
1371
1393
|
return;
|
|
1372
1394
|
}
|
|
1373
1395
|
const totalCourses = (await persistence_1.DialogPersistence.getCurrentCourseNumber(dialogId, requestedStatus)) || course;
|
|
1396
|
+
if (course > totalCourses) {
|
|
1397
|
+
ws.send(JSON.stringify({
|
|
1398
|
+
type: 'error',
|
|
1399
|
+
message: `display_course course ${String(course)} exceeds latest course ${String(totalCourses)}`,
|
|
1400
|
+
}));
|
|
1401
|
+
return;
|
|
1402
|
+
}
|
|
1374
1403
|
const mainDialog = await (0, dialog_instance_registry_1.getOrRestoreMainDialog)(dialogId.rootId, requestedStatus);
|
|
1375
1404
|
if (!mainDialog)
|
|
1376
1405
|
return;
|
package/dist/tools/ctrl.js
CHANGED
|
@@ -612,6 +612,7 @@ exports.updateReminderTool = {
|
|
|
612
612
|
exports.clearMindTool = {
|
|
613
613
|
type: 'func',
|
|
614
614
|
name: 'clear_mind',
|
|
615
|
+
followupMode: 'deferred',
|
|
615
616
|
description: 'Start a new dialog course, optionally carrying one extra continuation reminder.',
|
|
616
617
|
descriptionI18n: {
|
|
617
618
|
en: 'Start a new dialog course, optionally carrying one extra continuation reminder.',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dominds",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.11",
|
|
4
4
|
"description": "Dominds CLI and aggregation shell for the LongRun AI kernel/runtime packages.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"publishConfig": {
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"yaml": "^2.8.2",
|
|
54
54
|
"zod": "^4.3.6",
|
|
55
55
|
"@longrun-ai/codex-auth": "0.13.0",
|
|
56
|
-
"@longrun-ai/kernel": "1.15.
|
|
57
|
-
"@longrun-ai/shell": "1.15.
|
|
56
|
+
"@longrun-ai/kernel": "1.15.9",
|
|
57
|
+
"@longrun-ai/shell": "1.15.9"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/node": "^25.3.5",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as isSymbol, c as baseFlatten, g as baseIteratee, k as keys, h as baseFindIndex, j as baseEach, l as arrayMap, m as hasPath, n as castPath, t as toKey, o as baseGet } from "./_baseUniq-
|
|
2
|
-
import { aU as isObject, aC as baseRest, aV as isIterateeCall, aW as keysIn, aX as eq, aY as isArrayLike, aZ as isArray, a_ as identity, a$ as isIndex, b0 as assignValue } from "./index-
|
|
1
|
+
import { e as isSymbol, c as baseFlatten, g as baseIteratee, k as keys, h as baseFindIndex, j as baseEach, l as arrayMap, m as hasPath, n as castPath, t as toKey, o as baseGet } from "./_baseUniq-CFjISsgz.js";
|
|
2
|
+
import { aU as isObject, aC as baseRest, aV as isIterateeCall, aW as keysIn, aX as eq, aY as isArrayLike, aZ as isArray, a_ as identity, a$ as isIndex, b0 as assignValue } from "./index-CzHjX_nj.js";
|
|
3
3
|
var reWhitespace = /\s/;
|
|
4
4
|
function trimmedEndIndex(string) {
|
|
5
5
|
var index = string.length;
|
|
@@ -193,4 +193,4 @@ export {
|
|
|
193
193
|
map as m,
|
|
194
194
|
toFinite as t
|
|
195
195
|
};
|
|
196
|
-
//# sourceMappingURL=_basePickBy-
|
|
196
|
+
//# sourceMappingURL=_basePickBy-BF9Zg9uq.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_basePickBy-B4PyBhGX.js","sources":["../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_trimmedEndIndex.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseTrim.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toNumber.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toFinite.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toInteger.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/flatten.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/defaults.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/last.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createFind.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/findIndex.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/find.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseMap.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/map.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseHas.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/has.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseLt.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseExtremum.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/min.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSet.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_basePickBy.js"],"sourcesContent":["/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nexport default trimmedEndIndex;\n","import trimmedEndIndex from './_trimmedEndIndex.js';\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nexport default baseTrim;\n","import baseTrim from './_baseTrim.js';\nimport isObject from './isObject.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nexport default toNumber;\n","import toNumber from './toNumber.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nexport default toFinite;\n","import toFinite from './toFinite.js';\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nexport default toInteger;\n","import baseFlatten from './_baseFlatten.js';\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nexport default flatten;\n","import baseRest from './_baseRest.js';\nimport eq from './eq.js';\nimport isIterateeCall from './_isIterateeCall.js';\nimport keysIn from './keysIn.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\nvar defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n});\n\nexport default defaults;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nexport default last;\n","import baseIteratee from './_baseIteratee.js';\nimport isArrayLike from './isArrayLike.js';\nimport keys from './keys.js';\n\n/**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\nfunction createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = baseIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n}\n\nexport default createFind;\n","import baseFindIndex from './_baseFindIndex.js';\nimport baseIteratee from './_baseIteratee.js';\nimport toInteger from './toInteger.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\nfunction findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index);\n}\n\nexport default findIndex;\n","import createFind from './_createFind.js';\nimport findIndex from './findIndex.js';\n\n/**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\nvar find = createFind(findIndex);\n\nexport default find;\n","import baseEach from './_baseEach.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nexport default baseMap;\n","import arrayMap from './_arrayMap.js';\nimport baseIteratee from './_baseIteratee.js';\nimport baseMap from './_baseMap.js';\nimport isArray from './isArray.js';\n\n/**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\nfunction map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nexport default map;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n}\n\nexport default baseHas;\n","import baseHas from './_baseHas.js';\nimport hasPath from './_hasPath.js';\n\n/**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\nfunction has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n}\n\nexport default has;\n","/**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\nfunction baseLt(value, other) {\n return value < other;\n}\n\nexport default baseLt;\n","import isSymbol from './isSymbol.js';\n\n/**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\nfunction baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n}\n\nexport default baseExtremum;\n","import baseExtremum from './_baseExtremum.js';\nimport baseLt from './_baseLt.js';\nimport identity from './identity.js';\n\n/**\n * Computes the minimum value of `array`. If `array` is empty or falsey,\n * `undefined` is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * _.min([4, 2, 8, 6]);\n * // => 2\n *\n * _.min([]);\n * // => undefined\n */\nfunction min(array) {\n return (array && array.length)\n ? baseExtremum(array, identity, baseLt)\n : undefined;\n}\n\nexport default min;\n","import assignValue from './_assignValue.js';\nimport castPath from './_castPath.js';\nimport isIndex from './_isIndex.js';\nimport isObject from './isObject.js';\nimport toKey from './_toKey.js';\n\n/**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\nfunction baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n}\n\nexport default baseSet;\n","import baseGet from './_baseGet.js';\nimport baseSet from './_baseSet.js';\nimport castPath from './_castPath.js';\n\n/**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\nfunction basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n}\n\nexport default basePickBy;\n"],"names":["objectProto","hasOwnProperty","collection"],"mappings":";;AACA,IAAI,e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AAQ,IACR,SAAS,MAAM,QACf,SAAS,CAAA;AAEb,SAAO,EAAE,QAAQ,QAAQ;AACvB,QAAI,OAAO,MAAM,KAAK,GAClB,QAAQ,QAAQ,QAAQ,IAAI;AAEhC,QAAI,UAAU,OAAO,IAAI,GAAG;AAC1B,cAAQ,QAAQ,SAAS,MAAM,MAAM,GAAG,KAAK;AAAA,IAC/C;AAAA,EACF;AACA,SAAO;AACT;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]}
|
|
1
|
+
{"version":3,"file":"_basePickBy-BF9Zg9uq.js","sources":["../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_trimmedEndIndex.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseTrim.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toNumber.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toFinite.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toInteger.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/flatten.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/defaults.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/last.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createFind.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/findIndex.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/find.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseMap.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/map.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseHas.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/has.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseLt.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseExtremum.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/min.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSet.js","../../../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_basePickBy.js"],"sourcesContent":["/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nexport default trimmedEndIndex;\n","import trimmedEndIndex from './_trimmedEndIndex.js';\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nexport default baseTrim;\n","import baseTrim from './_baseTrim.js';\nimport isObject from './isObject.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nexport default toNumber;\n","import toNumber from './toNumber.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nexport default toFinite;\n","import toFinite from './toFinite.js';\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nexport default toInteger;\n","import baseFlatten from './_baseFlatten.js';\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nexport default flatten;\n","import baseRest from './_baseRest.js';\nimport eq from './eq.js';\nimport isIterateeCall from './_isIterateeCall.js';\nimport keysIn from './keysIn.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\nvar defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n});\n\nexport default defaults;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nexport default last;\n","import baseIteratee from './_baseIteratee.js';\nimport isArrayLike from './isArrayLike.js';\nimport keys from './keys.js';\n\n/**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\nfunction createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = baseIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n}\n\nexport default createFind;\n","import baseFindIndex from './_baseFindIndex.js';\nimport baseIteratee from './_baseIteratee.js';\nimport toInteger from './toInteger.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\nfunction findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index);\n}\n\nexport default findIndex;\n","import createFind from './_createFind.js';\nimport findIndex from './findIndex.js';\n\n/**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\nvar find = createFind(findIndex);\n\nexport default find;\n","import baseEach from './_baseEach.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nexport default baseMap;\n","import arrayMap from './_arrayMap.js';\nimport baseIteratee from './_baseIteratee.js';\nimport baseMap from './_baseMap.js';\nimport isArray from './isArray.js';\n\n/**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\nfunction map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nexport default map;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n}\n\nexport default baseHas;\n","import baseHas from './_baseHas.js';\nimport hasPath from './_hasPath.js';\n\n/**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\nfunction has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n}\n\nexport default has;\n","/**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\nfunction baseLt(value, other) {\n return value < other;\n}\n\nexport default baseLt;\n","import isSymbol from './isSymbol.js';\n\n/**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\nfunction baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n}\n\nexport default baseExtremum;\n","import baseExtremum from './_baseExtremum.js';\nimport baseLt from './_baseLt.js';\nimport identity from './identity.js';\n\n/**\n * Computes the minimum value of `array`. If `array` is empty or falsey,\n * `undefined` is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * _.min([4, 2, 8, 6]);\n * // => 2\n *\n * _.min([]);\n * // => undefined\n */\nfunction min(array) {\n return (array && array.length)\n ? baseExtremum(array, identity, baseLt)\n : undefined;\n}\n\nexport default min;\n","import assignValue from './_assignValue.js';\nimport castPath from './_castPath.js';\nimport isIndex from './_isIndex.js';\nimport isObject from './isObject.js';\nimport toKey from './_toKey.js';\n\n/**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\nfunction baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n}\n\nexport default baseSet;\n","import baseGet from './_baseGet.js';\nimport baseSet from './_baseSet.js';\nimport castPath from './_castPath.js';\n\n/**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\nfunction basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n}\n\nexport default basePickBy;\n"],"names":["objectProto","hasOwnProperty","collection"],"mappings":";;AACA,IAAI,eAAe;AAUnB,SAAS,gBAAgB,QAAQ;AAC/B,MAAI,QAAQ,OAAO;AAEnB,SAAO,WAAW,aAAa,KAAK,OAAO,OAAO,KAAK,CAAC,GAAG;AAAA,EAAC;AAC5D,SAAO;AACT;ACbA,IAAI,cAAc;AASlB,SAAS,SAAS,QAAQ;AACxB,SAAO,SACH,OAAO,MAAM,GAAG,gBAAgB,MAAM,IAAI,CAAC,EAAE,QAAQ,aAAa,EAAE,IACpE;AACN;ACXA,IAAI,MAAM,IAAI;AAGd,IAAI,aAAa;AAGjB,IAAI,aAAa;AAGjB,IAAI,YAAY;AAGhB,IAAI,eAAe;AAyBnB,SAAS,SAAS,OAAO;AACvB,MAAI,OAAO,SAAS,UAAU;AAC5B,WAAO;AAAA,EACT;AACA,MAAI,SAAS,KAAK,GAAG;AACnB,WAAO;AAAA,EACT;AACA,MAAI,SAAS,KAAK,GAAG;AACnB,QAAI,QAAQ,OAAO,MAAM,WAAW,aAAa,MAAM,QAAO,IAAK;AACnE,YAAQ,SAAS,KAAK,IAAK,QAAQ,KAAM;AAAA,EAC3C;AACA,MAAI,OAAO,SAAS,UAAU;AAC5B,WAAO,UAAU,IAAI,QAAQ,CAAC;AAAA,EAChC;AACA,UAAQ,SAAS,KAAK;AACtB,MAAI,WAAW,WAAW,KAAK,KAAK;AACpC,SAAQ,YAAY,UAAU,KAAK,KAAK,IACpC,aAAa,MAAM,MAAM,CAAC,GAAG,WAAW,IAAI,CAAC,IAC5C,WAAW,KAAK,KAAK,IAAI,MAAM,CAAC;AACvC;AC1DA,IAAI,WAAW,IAAI,GACf,cAAc;AAyBlB,SAAS,SAAS,OAAO;AACvB,MAAI,CAAC,OAAO;AACV,WAAO,UAAU,IAAI,QAAQ;AAAA,EAC/B;AACA,UAAQ,SAAS,KAAK;AACtB,MAAI,UAAU,YAA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ACjC,aAAS,OAAO,GAAG;AAAA,EACrB;AACA,SAAO;AACT;ACnCA,SAAS,WAAW,QAAQ,OAAO,WAAW;AAC5C,MAAI,QAAQ,IACR,SAAS,MAAM,QACf,SAAS,CAAA;AAEb,SAAO,EAAE,QAAQ,QAAQ;AACvB,QAAI,OAAO,MAAM,KAAK,GAClB,QAAQ,QAAQ,QAAQ,IAAI;AAEhC,QAAI,UAAU,OAAO,IAAI,GAAG;AAC1B,cAAQ,QAAQ,SAAS,MAAM,MAAM,GAAG,KAAK;AAAA,IAC/C;AAAA,EACF;AACA,SAAO;AACT;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bh as isObjectLike, bi as baseGetTag, aZ as isArray, bj as Symbol$1, aY as isArrayLike, bk as arrayLikeKeys, bl as baseKeys, bm as memoize, bn as isArguments, bo as copyObject, aW as keysIn, bp as getPrototype, bq as cloneArrayBuffer, br as cloneTypedArray, bs as getTag, bf as baseUnary, bt as nodeUtil, aU as isObject, bu as copyArray, bv as isBuffer, bw as cloneBuffer, bx as initCloneObject, by as Stack, b0 as assignValue, bz as MapCache, aX as eq, bA as Uint8Array, bB as isTypedArray, bC as isLength, a$ as isIndex, a_ as identity, bd as baseFor, bD as Set } from "./index-
|
|
1
|
+
import { bh as isObjectLike, bi as baseGetTag, aZ as isArray, bj as Symbol$1, aY as isArrayLike, bk as arrayLikeKeys, bl as baseKeys, bm as memoize, bn as isArguments, bo as copyObject, aW as keysIn, bp as getPrototype, bq as cloneArrayBuffer, br as cloneTypedArray, bs as getTag, bf as baseUnary, bt as nodeUtil, aU as isObject, bu as copyArray, bv as isBuffer, bw as cloneBuffer, bx as initCloneObject, by as Stack, b0 as assignValue, bz as MapCache, aX as eq, bA as Uint8Array, bB as isTypedArray, bC as isLength, a$ as isIndex, a_ as identity, bd as baseFor, bD as Set } from "./index-CzHjX_nj.js";
|
|
2
2
|
var symbolTag$3 = "[object Symbol]";
|
|
3
3
|
function isSymbol(value) {
|
|
4
4
|
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$3;
|
|
@@ -833,4 +833,4 @@ export {
|
|
|
833
833
|
baseIndexOf as y,
|
|
834
834
|
getAllKeysIn as z
|
|
835
835
|
};
|
|
836
|
-
//# sourceMappingURL=_baseUniq-
|
|
836
|
+
//# sourceMappingURL=_baseUniq-CFjISsgz.js.map
|