@tutti-os/agent-gui 0.0.73 → 0.0.74
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/README.md +6 -2
- package/dist/agent-conversation/index.d.ts +2 -2
- package/dist/agent-conversation/index.js +8 -8
- package/dist/agent-message-center/index.js +10 -10
- package/dist/{agentGuiNodeTypes-aJ3AX7u2.d.ts → agentGuiNodeTypes-C0WUHQzu.d.ts} +2 -1
- package/dist/app/renderer/agentactivity.css +6 -9
- package/dist/{chunk-C7K3EFGI.js → chunk-4XIHKCWC.js} +2 -2
- package/dist/{chunk-3PKRGSMH.js → chunk-6EREXANR.js} +4 -12
- package/dist/chunk-6EREXANR.js.map +1 -0
- package/dist/{chunk-ATEZXUHK.js → chunk-BT2DT2P7.js} +1 -1
- package/dist/chunk-BT2DT2P7.js.map +1 -0
- package/dist/{chunk-BHNJN2TR.js → chunk-BTUOROCD.js} +1 -4
- package/dist/chunk-BTUOROCD.js.map +1 -0
- package/dist/{chunk-XZF4QNT4.js → chunk-D2Z2QZVE.js} +2 -2
- package/dist/{chunk-GDFQXJMG.js → chunk-FHWE5SUF.js} +3 -7
- package/dist/chunk-FHWE5SUF.js.map +1 -0
- package/dist/{chunk-UAAXRSW2.js → chunk-FPODKSSV.js} +4 -4
- package/dist/chunk-FPODKSSV.js.map +1 -0
- package/dist/{chunk-IVIXKAEH.js → chunk-GLMDAZSQ.js} +3 -3
- package/dist/{chunk-466AWJTS.js → chunk-KVS7J7BJ.js} +5 -5
- package/dist/{chunk-5H6NINJY.js → chunk-LWFV4PS5.js} +2 -7
- package/dist/chunk-LWFV4PS5.js.map +1 -0
- package/dist/{chunk-KWQ4N4IZ.js → chunk-NO7WDGST.js} +3 -3
- package/dist/{chunk-4US2YHBY.js → chunk-RA3OUR64.js} +1 -3
- package/dist/chunk-RA3OUR64.js.map +1 -0
- package/dist/{chunk-SZF52NMJ.js → chunk-RF7GK4SM.js} +18 -12
- package/dist/chunk-RF7GK4SM.js.map +1 -0
- package/dist/{chunk-4I2VCAMW.js → chunk-SL2QSEIE.js} +1 -8
- package/dist/chunk-SL2QSEIE.js.map +1 -0
- package/dist/{chunk-2I2WRI4F.js → chunk-T5CEU7WH.js} +2 -3
- package/dist/chunk-T5CEU7WH.js.map +1 -0
- package/dist/{chunk-SVGIWXNK.js → chunk-VERGPY42.js} +2 -2
- package/dist/{chunk-G6BVEY7I.js → chunk-W5AJTBA7.js} +1 -15
- package/dist/chunk-W5AJTBA7.js.map +1 -0
- package/dist/{chunk-Q6AWM3RH.js → chunk-Z72JKSAY.js} +4 -4
- package/dist/{chunk-OBJRIQPX.js → chunk-ZSYDFQ4N.js} +38 -25
- package/dist/chunk-ZSYDFQ4N.js.map +1 -0
- package/dist/context-mention-palette/index.js +9 -9
- package/dist/i18n/index.d.ts +0 -14
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +40 -6
- package/dist/index.js +296 -89
- package/dist/index.js.map +1 -1
- package/dist/queued-prompt-runtime.d.ts +2 -2
- package/dist/{types-CrwMqBm1.d.ts → types-DUHHejs2.d.ts} +3 -3
- package/dist/workbench/contribution.d.ts +1 -1
- package/dist/workbench/contribution.js +6 -6
- package/dist/workbench/index.d.ts +1 -1
- package/dist/workbench/index.js +9 -9
- package/dist/workbench/launch.d.ts +1 -1
- package/dist/workbench/launch.js +3 -3
- package/dist/workbench/providerCatalog.d.ts +3 -3
- package/dist/workbench/providerCatalog.js +1 -1
- package/dist/workbench/sessionTitle.d.ts +1 -1
- package/dist/workbench/sessionTitle.js +3 -3
- package/dist/workbench/state.d.ts +1 -1
- package/dist/workbench/state.js +2 -2
- package/dist/workbench/types.d.ts +2 -2
- package/dist/workbench/types.js +1 -1
- package/dist/workspace-agent-generated-files.js +4 -4
- package/package.json +12 -12
- package/dist/chunk-2I2WRI4F.js.map +0 -1
- package/dist/chunk-3PKRGSMH.js.map +0 -1
- package/dist/chunk-4I2VCAMW.js.map +0 -1
- package/dist/chunk-4US2YHBY.js.map +0 -1
- package/dist/chunk-5H6NINJY.js.map +0 -1
- package/dist/chunk-ATEZXUHK.js.map +0 -1
- package/dist/chunk-BHNJN2TR.js.map +0 -1
- package/dist/chunk-G6BVEY7I.js.map +0 -1
- package/dist/chunk-GDFQXJMG.js.map +0 -1
- package/dist/chunk-OBJRIQPX.js.map +0 -1
- package/dist/chunk-SZF52NMJ.js.map +0 -1
- package/dist/chunk-UAAXRSW2.js.map +0 -1
- /package/dist/{chunk-C7K3EFGI.js.map → chunk-4XIHKCWC.js.map} +0 -0
- /package/dist/{chunk-XZF4QNT4.js.map → chunk-D2Z2QZVE.js.map} +0 -0
- /package/dist/{chunk-IVIXKAEH.js.map → chunk-GLMDAZSQ.js.map} +0 -0
- /package/dist/{chunk-466AWJTS.js.map → chunk-KVS7J7BJ.js.map} +0 -0
- /package/dist/{chunk-KWQ4N4IZ.js.map → chunk-NO7WDGST.js.map} +0 -0
- /package/dist/{chunk-SVGIWXNK.js.map → chunk-VERGPY42.js.map} +0 -0
- /package/dist/{chunk-Q6AWM3RH.js.map → chunk-Z72JKSAY.js.map} +0 -0
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
AgentGUIConversation_styles_default,
|
|
8
8
|
MessageSquareMoreIcon,
|
|
9
9
|
extractAgentMcpToolTarget
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GLMDAZSQ.js";
|
|
11
11
|
import {
|
|
12
12
|
getOptionalAgentHostApi,
|
|
13
13
|
useOptionalAgentHostApi
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FHWE5SUF.js";
|
|
15
15
|
import {
|
|
16
16
|
translate
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4XIHKCWC.js";
|
|
18
18
|
|
|
19
19
|
// shared/agentConversation/approvalOptionPresentation.ts
|
|
20
20
|
function approvalOptionDisplayLabel(option, intent = {}) {
|
|
@@ -1172,4 +1172,4 @@ export {
|
|
|
1172
1172
|
isPromptRequestIdTitle,
|
|
1173
1173
|
AgentInteractivePromptSurface
|
|
1174
1174
|
};
|
|
1175
|
-
//# sourceMappingURL=chunk-
|
|
1175
|
+
//# sourceMappingURL=chunk-Z72JKSAY.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
resolveWorkspaceFilePathCandidate,
|
|
16
16
|
resolveWorkspaceLinkAction,
|
|
17
17
|
useAgentTargetPresentations
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GLMDAZSQ.js";
|
|
19
19
|
import {
|
|
20
20
|
classifyFailedAgentMessage,
|
|
21
21
|
openAgentEnvPanel,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
formatAgentMentionMarkdown,
|
|
29
29
|
mentionItemToAttrs,
|
|
30
30
|
parseAgentMentionMarkdown
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-NO7WDGST.js";
|
|
32
32
|
import {
|
|
33
33
|
fileChangeCountFromChanges,
|
|
34
34
|
fileChangeEntriesFromChanges,
|
|
@@ -38,14 +38,14 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
getOptionalAgentActivityRuntime,
|
|
40
40
|
useOptionalAgentHostApi
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-FHWE5SUF.js";
|
|
42
42
|
import {
|
|
43
43
|
workspaceAgentProviderLabel
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-RA3OUR64.js";
|
|
45
45
|
import {
|
|
46
46
|
getActiveUiLanguage,
|
|
47
47
|
translate
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-4XIHKCWC.js";
|
|
49
49
|
|
|
50
50
|
// agent-gui/agentGuiNode/model/agentGuiNodeTypes.ts
|
|
51
51
|
var AGENT_PASTED_TEXT_BLOCK_KIND = "pasted-text";
|
|
@@ -3826,10 +3826,6 @@ function projectAgentProcessingRow(detail, rows) {
|
|
|
3826
3826
|
if (!detail.showProcessingIndicator) {
|
|
3827
3827
|
return null;
|
|
3828
3828
|
}
|
|
3829
|
-
const status = detail.session.status?.trim().toLowerCase() ?? "";
|
|
3830
|
-
if (!isWorkingSessionStatus2(status)) {
|
|
3831
|
-
return null;
|
|
3832
|
-
}
|
|
3833
3829
|
if (hasSpecificProgressRow(rows)) {
|
|
3834
3830
|
return null;
|
|
3835
3831
|
}
|
|
@@ -3841,9 +3837,6 @@ function projectAgentProcessingRow(detail, rows) {
|
|
|
3841
3837
|
occurredAtUnixMs: detail.session.updatedAtUnixMs ?? detail.session.createdAtUnixMs ?? null
|
|
3842
3838
|
};
|
|
3843
3839
|
}
|
|
3844
|
-
function isWorkingSessionStatus2(status) {
|
|
3845
|
-
return status === "working";
|
|
3846
|
-
}
|
|
3847
3840
|
function hasSpecificProgressRow(rows) {
|
|
3848
3841
|
return rows.some((row) => {
|
|
3849
3842
|
if (row.kind !== "tool-group") {
|
|
@@ -4781,17 +4774,32 @@ function collectMetadataFiles(messageId, toolName, occurredAtUnixMs, files, patc
|
|
|
4781
4774
|
if (!path) {
|
|
4782
4775
|
return [];
|
|
4783
4776
|
}
|
|
4777
|
+
const fileUnifiedDiff = firstNonEmptyString(
|
|
4778
|
+
stringValue7(file?.diff),
|
|
4779
|
+
stringValue7(file?.patch),
|
|
4780
|
+
stringValue7(file?.unifiedDiff),
|
|
4781
|
+
stringValue7(file?.unified_diff)
|
|
4782
|
+
) ?? patch;
|
|
4783
|
+
const fileOldString = firstPresentString6(
|
|
4784
|
+
literalStringValue(file?.oldString),
|
|
4785
|
+
literalStringValue(file?.old_string)
|
|
4786
|
+
) ?? oldString;
|
|
4787
|
+
const fileNewString = firstPresentString6(
|
|
4788
|
+
literalStringValue(file?.newString),
|
|
4789
|
+
literalStringValue(file?.new_string)
|
|
4790
|
+
) ?? newString;
|
|
4791
|
+
const fileContent = firstPresentString6(literalStringValue(file?.content)) ?? content;
|
|
4784
4792
|
const change = normalizeChangeType(stringValue7(file?.change));
|
|
4785
4793
|
return [
|
|
4786
4794
|
buildFileChange({
|
|
4787
4795
|
id: `${messageId}:${index + 1}`,
|
|
4788
4796
|
toolName,
|
|
4789
4797
|
path,
|
|
4790
|
-
changeType: change ?? inferAgentPatchChangeType(
|
|
4791
|
-
unifiedDiff:
|
|
4792
|
-
oldString,
|
|
4793
|
-
newString,
|
|
4794
|
-
content,
|
|
4798
|
+
changeType: change ?? inferAgentPatchChangeType(fileUnifiedDiff),
|
|
4799
|
+
unifiedDiff: fileUnifiedDiff,
|
|
4800
|
+
oldString: fileOldString,
|
|
4801
|
+
newString: fileNewString,
|
|
4802
|
+
content: fileContent,
|
|
4795
4803
|
occurredAtUnixMs
|
|
4796
4804
|
})
|
|
4797
4805
|
];
|
|
@@ -5605,13 +5613,13 @@ function isLatestTurnSettled(detail) {
|
|
|
5605
5613
|
}
|
|
5606
5614
|
function isSessionWorking2(detail) {
|
|
5607
5615
|
const status = normalizedSessionDisplayStatus(detail);
|
|
5608
|
-
return
|
|
5616
|
+
return isWorkingSessionStatus2(status);
|
|
5609
5617
|
}
|
|
5610
|
-
function
|
|
5618
|
+
function isWorkingSessionStatus2(status) {
|
|
5611
5619
|
return status === "working";
|
|
5612
5620
|
}
|
|
5613
5621
|
function isUnsettledSessionStatus(status) {
|
|
5614
|
-
return
|
|
5622
|
+
return isWorkingSessionStatus2(status) || status === "waiting";
|
|
5615
5623
|
}
|
|
5616
5624
|
function normalizeStatusToken2(status) {
|
|
5617
5625
|
return status?.trim().toLowerCase() ?? "";
|
|
@@ -9336,7 +9344,12 @@ function fileChangesFiles(value) {
|
|
|
9336
9344
|
if (!path) {
|
|
9337
9345
|
return [];
|
|
9338
9346
|
}
|
|
9339
|
-
const
|
|
9347
|
+
const unifiedDiff = firstString4(
|
|
9348
|
+
stringValue8(file?.diff),
|
|
9349
|
+
stringValue8(file?.patch),
|
|
9350
|
+
stringValue8(file?.unifiedDiff),
|
|
9351
|
+
stringValue8(file?.unified_diff)
|
|
9352
|
+
);
|
|
9340
9353
|
const oldString = firstString4(
|
|
9341
9354
|
stringValue8(file?.oldString),
|
|
9342
9355
|
stringValue8(file?.old_string)
|
|
@@ -9349,11 +9362,11 @@ function fileChangesFiles(value) {
|
|
|
9349
9362
|
const changeType = firstKnownChangeType(
|
|
9350
9363
|
normalizeChangeType2(stringValue8(file?.change)),
|
|
9351
9364
|
normalizeChangeType2(stringValue8(file?.kind)),
|
|
9352
|
-
inferFileChangeType(null,
|
|
9365
|
+
inferFileChangeType(null, unifiedDiff, content, oldString, newString)
|
|
9353
9366
|
);
|
|
9354
9367
|
const stats = fileChangeStats(
|
|
9355
9368
|
changeType,
|
|
9356
|
-
|
|
9369
|
+
unifiedDiff,
|
|
9357
9370
|
content,
|
|
9358
9371
|
oldString,
|
|
9359
9372
|
newString
|
|
@@ -9366,7 +9379,7 @@ function fileChangesFiles(value) {
|
|
|
9366
9379
|
content,
|
|
9367
9380
|
oldString,
|
|
9368
9381
|
newString,
|
|
9369
|
-
unifiedDiff
|
|
9382
|
+
unifiedDiff,
|
|
9370
9383
|
added: stats.added,
|
|
9371
9384
|
removed: stats.removed
|
|
9372
9385
|
}
|
|
@@ -15445,4 +15458,4 @@ export {
|
|
|
15445
15458
|
AgentConversationFlow,
|
|
15446
15459
|
useProjectedAgentConversation
|
|
15447
15460
|
};
|
|
15448
|
-
//# sourceMappingURL=chunk-
|
|
15461
|
+
//# sourceMappingURL=chunk-ZSYDFQ4N.js.map
|