@tangle-network/agent-app 0.43.64 → 0.43.66
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/assistant/index.d.ts +4 -4
- package/dist/assistant/index.js +5 -5
- package/dist/{attachment-validation-tPRp-PP1.d.ts → attachment-validation-B2FFna9E.d.ts} +1 -1
- package/dist/chat-routes/index.d.ts +5 -5
- package/dist/chat-routes/index.js +6 -6
- package/dist/chat-store/index.d.ts +4 -4
- package/dist/chat-store/index.js +3 -3
- package/dist/{chunk-3OFQFW5K.js → chunk-3ALFBTIW.js} +10 -8
- package/dist/chunk-3ALFBTIW.js.map +1 -0
- package/dist/{chunk-7YW6EBDX.js → chunk-3JUTOVUH.js} +2 -2
- package/dist/{chunk-YKOM4ZLQ.js → chunk-3ZK5IJSW.js} +1 -1
- package/dist/chunk-3ZK5IJSW.js.map +1 -0
- package/dist/{chunk-BG52UKNN.js → chunk-5EPIPT4V.js} +2 -2
- package/dist/{chunk-K3LIPKFV.js → chunk-6GQ5DKFK.js} +2 -2
- package/dist/{chunk-BPSV5AA2.js → chunk-FMDMI25K.js} +2 -2
- package/dist/{chunk-DTSPS2HV.js → chunk-X3N2H6JE.js} +2 -2
- package/dist/{chunk-C3NSB66C.js → chunk-YTSEDJWA.js} +59 -10
- package/dist/chunk-YTSEDJWA.js.map +1 -0
- package/dist/{contract-TjB68uqA.d.ts → contract-B3h7peV3.d.ts} +30 -5
- package/dist/durable-chat/index.d.ts +1 -1
- package/dist/durable-chat/index.js +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -6
- package/dist/interactions/index.d.ts +2 -2
- package/dist/interactions/index.js +2 -2
- package/dist/{parts-n9XUon0a.d.ts → parts-Bg8qcDvB.d.ts} +1 -1
- package/dist/sandbox/index.d.ts +14 -0
- package/dist/sandbox/index.js +1 -1
- package/dist/stream/index.d.ts +3 -3
- package/dist/stream/index.js +2 -2
- package/dist/{stream-normalizer-BlCP_Cdd.d.ts → stream-normalizer-QYUl4vnl.d.ts} +1 -1
- package/dist/web-react/index.d.ts +53 -8
- package/dist/web-react/index.js +7 -5
- package/package.json +1 -1
- package/dist/chunk-3OFQFW5K.js.map +0 -1
- package/dist/chunk-C3NSB66C.js.map +0 -1
- package/dist/chunk-YKOM4ZLQ.js.map +0 -1
- /package/dist/{chunk-7YW6EBDX.js.map → chunk-3JUTOVUH.js.map} +0 -0
- /package/dist/{chunk-BG52UKNN.js.map → chunk-5EPIPT4V.js.map} +0 -0
- /package/dist/{chunk-K3LIPKFV.js.map → chunk-6GQ5DKFK.js.map} +0 -0
- /package/dist/{chunk-BPSV5AA2.js.map → chunk-FMDMI25K.js.map} +0 -0
- /package/dist/{chunk-DTSPS2HV.js.map → chunk-X3N2H6JE.js.map} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { ToolDetailRenderers, ChatUiMessage } from '../web-react/index.js';
|
|
4
|
-
import '../contract-
|
|
4
|
+
import '../contract-B3h7peV3.js';
|
|
5
5
|
import '@tangle-network/agent-interface';
|
|
6
6
|
import '../plans/index.js';
|
|
7
|
-
import '../parts-
|
|
7
|
+
import '../parts-Bg8qcDvB.js';
|
|
8
8
|
import '../agent-activity-C8ZG0F0M.js';
|
|
9
9
|
import '../flow-types-CqomVAUN.js';
|
|
10
10
|
import '../sandbox-terminal-ChNEdHF8.js';
|
|
11
11
|
import '../catalog/index.js';
|
|
12
12
|
import '../harness/index.js';
|
|
13
|
-
import '../attachment-validation-
|
|
14
|
-
import '../stream-normalizer-
|
|
13
|
+
import '../attachment-validation-B2FFna9E.js';
|
|
14
|
+
import '../stream-normalizer-QYUl4vnl.js';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Wire + UI types for the in-app assistant panel. The wire shapes mirror the
|
package/dist/assistant/index.js
CHANGED
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
ChatMessages,
|
|
4
4
|
ModelPicker,
|
|
5
5
|
ProviderLogo
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-YTSEDJWA.js";
|
|
7
7
|
import "../chunk-HCOROIRT.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-FMDMI25K.js";
|
|
9
9
|
import "../chunk-FBVLEGEG.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-X3N2H6JE.js";
|
|
11
|
+
import "../chunk-5EPIPT4V.js";
|
|
12
|
+
import "../chunk-3ZK5IJSW.js";
|
|
13
13
|
import "../chunk-YJMCRXQQ.js";
|
|
14
14
|
import "../chunk-CQZSAR77.js";
|
|
15
15
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { g as ChatMessagePart, L as ChatTurnRequestPayload, M as ChatTurnPartInput, N as ChatTurnFilePartInput, a as ChatAttachmentPart, C as ChatAttachmentKind, f as ChatMentionPart } from '../parts-
|
|
2
|
-
export { O as ChatAttachmentInput, e as ChatMentionKind, P as ChatTurnInputError, Q as ChatTurnTextPartInput, R as DISPATCH_MAX_MEDIA_PARTS, T as DISPATCH_MAX_PARTS, U as DISPATCH_REQUEST_MAX_BYTES, V as DISPATCH_STRUCTURAL_RESERVE_BYTES, K as FileMention, W as FileMentionsToPartsOptions, X as INLINE_PARTS_MAX_BYTES, Y as MENTION_MAX_COUNT, Z as ProducerErrorEvent, _ as ProducerNoticeEvent, $ as ProducerPassthroughEvent, a0 as ProducerPassthroughEventType, a1 as ProducerReasoningEvent, a2 as ProducerTextEvent, a3 as ProducerToolCallEvent, a4 as ProducerToolResultEvent, a5 as ProducerUsageEvent, a6 as ProducerWireEvent, a7 as SandboxMentionPathCheck, a8 as assertPromptPartsWithinCap, a9 as base64WireLen, aa as buildMentionPromptBlock, ab as chatTurnRequestInit, ac as fileMentionsToParts, ad as formatBytes, ae as mediaTypeForMentionPath, af as mentionKindForPath, ag as parseChatTurnParts, ah as parseFileMentions, ai as promptPartsByteSize, aj as validateSandboxMentionPath } from '../parts-
|
|
3
|
-
export { A as ALLOWED_ATTACHMENT_SNIFFED_MIMES, a as ATTACHMENT_ACCEPT, b as ATTACHMENT_MAX_COUNT, c as AttachmentTypeCheckResult, C as CreateSandboxFileIndexRouteOptions, F as FileIndexAuthorization, d as FileIndexCache, e as FileIndexReadyResponse, f as FileIndexResponse, g as FileIndexWarmingResponse, M as MAX_ATTACHMENT_TOTAL_BYTES, h as MAX_BINARY_ATTACHMENT_BYTES, i as MAX_TEXT_ATTACHMENT_BYTES, S as SandboxFileTreeSource, j as SandboxTreeFile, k as SandboxTreeResult, l as SniffResult, m as attachmentSizeErrorMessage, n as attachmentTotalSizeErrorMessage, o as checkAttachmentType, p as createSandboxFileIndexRoute, s as sanitizeAttachmentFileName, q as sniffBinary } from '../attachment-validation-
|
|
1
|
+
import { g as ChatMessagePart, L as ChatTurnRequestPayload, M as ChatTurnPartInput, N as ChatTurnFilePartInput, a as ChatAttachmentPart, C as ChatAttachmentKind, f as ChatMentionPart } from '../parts-Bg8qcDvB.js';
|
|
2
|
+
export { O as ChatAttachmentInput, e as ChatMentionKind, P as ChatTurnInputError, Q as ChatTurnTextPartInput, R as DISPATCH_MAX_MEDIA_PARTS, T as DISPATCH_MAX_PARTS, U as DISPATCH_REQUEST_MAX_BYTES, V as DISPATCH_STRUCTURAL_RESERVE_BYTES, K as FileMention, W as FileMentionsToPartsOptions, X as INLINE_PARTS_MAX_BYTES, Y as MENTION_MAX_COUNT, Z as ProducerErrorEvent, _ as ProducerNoticeEvent, $ as ProducerPassthroughEvent, a0 as ProducerPassthroughEventType, a1 as ProducerReasoningEvent, a2 as ProducerTextEvent, a3 as ProducerToolCallEvent, a4 as ProducerToolResultEvent, a5 as ProducerUsageEvent, a6 as ProducerWireEvent, a7 as SandboxMentionPathCheck, a8 as assertPromptPartsWithinCap, a9 as base64WireLen, aa as buildMentionPromptBlock, ab as chatTurnRequestInit, ac as fileMentionsToParts, ad as formatBytes, ae as mediaTypeForMentionPath, af as mentionKindForPath, ag as parseChatTurnParts, ah as parseFileMentions, ai as promptPartsByteSize, aj as validateSandboxMentionPath } from '../parts-Bg8qcDvB.js';
|
|
3
|
+
export { A as ALLOWED_ATTACHMENT_SNIFFED_MIMES, a as ATTACHMENT_ACCEPT, b as ATTACHMENT_MAX_COUNT, c as AttachmentTypeCheckResult, C as CreateSandboxFileIndexRouteOptions, F as FileIndexAuthorization, d as FileIndexCache, e as FileIndexReadyResponse, f as FileIndexResponse, g as FileIndexWarmingResponse, M as MAX_ATTACHMENT_TOTAL_BYTES, h as MAX_BINARY_ATTACHMENT_BYTES, i as MAX_TEXT_ATTACHMENT_BYTES, S as SandboxFileTreeSource, j as SandboxTreeFile, k as SandboxTreeResult, l as SniffResult, m as attachmentSizeErrorMessage, n as attachmentTotalSizeErrorMessage, o as checkAttachmentType, p as createSandboxFileIndexRoute, s as sanitizeAttachmentFileName, q as sniffBinary } from '../attachment-validation-B2FFna9E.js';
|
|
4
4
|
import { ChatTurnIdentity, ChatTurnProducer } from '@tangle-network/agent-runtime';
|
|
5
5
|
import { InteractionAnswerRoute, InteractionAnswerRouteOptions } from '../interactions/index.js';
|
|
6
6
|
import { PersistedChatMessageForTurn } from '../stream/index.js';
|
|
7
7
|
import { d as TurnEventStore } from '../turn-buffer-DGnAPKwa.js';
|
|
8
8
|
export { D as DEFAULT_STALE_TURN_LOCK_GRACE_MS, a as DEFAULT_TERMINAL_TURN_LOCK_GRACE_MS, R as ReconcileStaleTurnLockOptions, b as ReconcileStaleTurnLockResult, S as StaleTurnLockSandboxProbeResult, c as StaleTurnLockSessionProbeResult, r as reconcileStaleTurnLock } from '../stale-turn-lock-DucQzvXu.js';
|
|
9
|
-
import { J as JsonRecord } from '../stream-normalizer-
|
|
9
|
+
import { J as JsonRecord } from '../stream-normalizer-QYUl4vnl.js';
|
|
10
10
|
import { SandboxExecChannel, PromptInputPart } from '../sandbox/index.js';
|
|
11
11
|
import '@tangle-network/agent-interface';
|
|
12
|
-
import '../contract-
|
|
12
|
+
import '../contract-B3h7peV3.js';
|
|
13
13
|
import '../plans/index.js';
|
|
14
14
|
import '@tangle-network/sandbox';
|
|
15
15
|
import '../auth-_FU8w01b.js';
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createSandboxFileIndexRoute,
|
|
12
12
|
sanitizeAttachmentFileName,
|
|
13
13
|
sniffBinary
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-FMDMI25K.js";
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_STALE_TURN_LOCK_GRACE_MS,
|
|
17
17
|
DEFAULT_TERMINAL_TURN_LOCK_GRACE_MS,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "../chunk-YN7QR7MJ.js";
|
|
30
30
|
import {
|
|
31
31
|
createInteractionAnswerRoute
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-3JUTOVUH.js";
|
|
33
33
|
import {
|
|
34
34
|
ChatTurnInputError,
|
|
35
35
|
DISPATCH_MAX_MEDIA_PARTS,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
promptPartsByteSize,
|
|
55
55
|
toChatMessageParts,
|
|
56
56
|
validateSandboxMentionPath
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-X3N2H6JE.js";
|
|
58
58
|
import {
|
|
59
59
|
asRecord,
|
|
60
60
|
asString,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
normalizePersistedPart,
|
|
67
67
|
normalizeToolEvent,
|
|
68
68
|
terminalizeDanglingAssistantToolUpdates
|
|
69
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-5EPIPT4V.js";
|
|
70
70
|
import {
|
|
71
71
|
cancelStatusFor,
|
|
72
72
|
interactionPartKey,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
noticePartKey,
|
|
77
77
|
parseInteractionCancel,
|
|
78
78
|
parseInteractionRequest
|
|
79
|
-
} from "../chunk-
|
|
79
|
+
} from "../chunk-3ZK5IJSW.js";
|
|
80
80
|
import {
|
|
81
81
|
parsePlanSubmittedEvent,
|
|
82
82
|
planToPersistedPart
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
flattenHistory,
|
|
86
86
|
readSandboxBinaryBytes,
|
|
87
87
|
statSandboxFileSize
|
|
88
|
-
} from "../chunk-
|
|
88
|
+
} from "../chunk-3ALFBTIW.js";
|
|
89
89
|
import "../chunk-CQZSAR77.js";
|
|
90
90
|
import "../chunk-YKBDH2UY.js";
|
|
91
91
|
import "../chunk-3EJ6SFJI.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { B as BULK_DELETE_MAX_THREADS, C as ChatStoreInputError, t as threadTitleFromMessage } from '../core-7qIM7svy.js';
|
|
2
|
-
import { g as ChatMessagePart } from '../parts-
|
|
3
|
-
export { C as ChatAttachmentKind, a as ChatAttachmentPart, b as ChatFilePart, c as ChatImagePart, d as ChatInteractionPart, e as ChatMentionKind, f as ChatMentionPart, h as ChatNoticePart, i as ChatPartTime, j as ChatPlanPart, k as ChatReasoningPart, l as ChatStepFinishPart, m as ChatStepStartPart, n as ChatSubtaskPart, o as ChatTextPart, p as ChatToolPart, q as ChatToolState, r as ChatToolStatus, s as ChatUsageTokens, D as DEFAULT_ATTACHMENT_PROMPT_HEADER, S as StorableHarnessPartKind, t as attachmentInputToPart, u as attachmentKindForMime, v as attachmentPartsFromMessageParts, w as buildAttachmentPromptBlock, x as historyContentWithAttachments, y as isChatAttachmentPart, z as isChatInteractionPart, A as isChatMentionPart, B as isChatPlanPart, E as isChatStepFinishPart, F as isChatTextPart, G as isChatToolPart, H as mentionInputToPart, I as mentionPartsFromMessageParts, J as toChatMessageParts } from '../parts-
|
|
2
|
+
import { g as ChatMessagePart } from '../parts-Bg8qcDvB.js';
|
|
3
|
+
export { C as ChatAttachmentKind, a as ChatAttachmentPart, b as ChatFilePart, c as ChatImagePart, d as ChatInteractionPart, e as ChatMentionKind, f as ChatMentionPart, h as ChatNoticePart, i as ChatPartTime, j as ChatPlanPart, k as ChatReasoningPart, l as ChatStepFinishPart, m as ChatStepStartPart, n as ChatSubtaskPart, o as ChatTextPart, p as ChatToolPart, q as ChatToolState, r as ChatToolStatus, s as ChatUsageTokens, D as DEFAULT_ATTACHMENT_PROMPT_HEADER, S as StorableHarnessPartKind, t as attachmentInputToPart, u as attachmentKindForMime, v as attachmentPartsFromMessageParts, w as buildAttachmentPromptBlock, x as historyContentWithAttachments, y as isChatAttachmentPart, z as isChatInteractionPart, A as isChatMentionPart, B as isChatPlanPart, E as isChatStepFinishPart, F as isChatTextPart, G as isChatToolPart, H as mentionInputToPart, I as mentionPartsFromMessageParts, J as toChatMessageParts } from '../parts-Bg8qcDvB.js';
|
|
4
4
|
import * as drizzle_orm from 'drizzle-orm';
|
|
5
5
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
6
6
|
import { SQLiteColumnBuilderBase, AnySQLiteTable, AnySQLiteColumn, BaseSQLiteDatabase } from 'drizzle-orm/sqlite-core';
|
|
7
|
-
export { d as attachmentPartKey } from '../stream-normalizer-
|
|
7
|
+
export { d as attachmentPartKey } from '../stream-normalizer-QYUl4vnl.js';
|
|
8
8
|
import '@tangle-network/agent-interface';
|
|
9
|
-
import '../contract-
|
|
9
|
+
import '../contract-B3h7peV3.js';
|
|
10
10
|
import '../plans/index.js';
|
|
11
11
|
|
|
12
12
|
/** A product table referenced by FK — only the `id` column is touched. */
|
package/dist/chat-store/index.js
CHANGED
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
mentionInputToPart,
|
|
21
21
|
mentionPartsFromMessageParts,
|
|
22
22
|
toChatMessageParts
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-X3N2H6JE.js";
|
|
24
24
|
import {
|
|
25
25
|
attachmentPartKey
|
|
26
|
-
} from "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
} from "../chunk-5EPIPT4V.js";
|
|
27
|
+
import "../chunk-3ZK5IJSW.js";
|
|
28
28
|
import "../chunk-YJMCRXQQ.js";
|
|
29
29
|
|
|
30
30
|
// src/chat-store/schema.ts
|
|
@@ -839,7 +839,7 @@ function deferredCorpusHash(files) {
|
|
|
839
839
|
})).sort((a, b) => a.p < b.p ? -1 : a.p > b.p ? 1 : 0);
|
|
840
840
|
return createHash("sha256").update(JSON.stringify(norm), "utf8").digest("hex");
|
|
841
841
|
}
|
|
842
|
-
async function materializeDeferredFilesForExistingBox(shell, client, box, stage, name, workspaceId, userId) {
|
|
842
|
+
async function materializeDeferredFilesForExistingBox(shell, client, box, stage, name, workspaceId, userId, harness) {
|
|
843
843
|
if (!shell.deferProfileFiles) return ok(box);
|
|
844
844
|
const connectedIntegrationIds = await shell.connectedIntegrationIds(workspaceId);
|
|
845
845
|
const buildCtx = {
|
|
@@ -848,7 +848,7 @@ async function materializeDeferredFilesForExistingBox(shell, client, box, stage,
|
|
|
848
848
|
...userId ? { userId } : {}
|
|
849
849
|
};
|
|
850
850
|
const files = await shell.files(buildCtx);
|
|
851
|
-
const fullProfile = shell.profile({ extraFiles: files });
|
|
851
|
+
const fullProfile = shell.profile({ extraFiles: files, harness });
|
|
852
852
|
const { deferredFiles } = splitDeferredProfileFiles(fullProfile);
|
|
853
853
|
if (deferredFiles.length === 0) return ok(box);
|
|
854
854
|
const stampedHash = box.metadata?.[DEFERRED_CORPUS_HASH_KEY];
|
|
@@ -1121,7 +1121,8 @@ async function ensureWorkspaceSandbox(shell, options) {
|
|
|
1121
1121
|
"reused",
|
|
1122
1122
|
name,
|
|
1123
1123
|
workspaceId,
|
|
1124
|
-
userId
|
|
1124
|
+
userId,
|
|
1125
|
+
harness
|
|
1125
1126
|
);
|
|
1126
1127
|
if (!written.succeeded) {
|
|
1127
1128
|
throw deferredProfileWriteFailed("reused", name, written.error);
|
|
@@ -1186,7 +1187,8 @@ async function ensureWorkspaceSandbox(shell, options) {
|
|
|
1186
1187
|
"resumed",
|
|
1187
1188
|
name,
|
|
1188
1189
|
workspaceId,
|
|
1189
|
-
userId
|
|
1190
|
+
userId,
|
|
1191
|
+
harness
|
|
1190
1192
|
);
|
|
1191
1193
|
if (!written.succeeded) {
|
|
1192
1194
|
throw deferredProfileWriteFailed("resumed", name, written.error);
|
|
@@ -1221,7 +1223,7 @@ async function ensureWorkspaceSandbox(shell, options) {
|
|
|
1221
1223
|
shell.env(buildCtx),
|
|
1222
1224
|
shell.files(buildCtx)
|
|
1223
1225
|
]);
|
|
1224
|
-
const fullProfile = shell.profile({ extraFiles: files });
|
|
1226
|
+
const fullProfile = shell.profile({ extraFiles: files, harness });
|
|
1225
1227
|
const { leanProfile, deferredFiles } = shell.deferProfileFiles ? splitDeferredProfileFiles(fullProfile) : { leanProfile: fullProfile, deferredFiles: [] };
|
|
1226
1228
|
const profile = leanProfile;
|
|
1227
1229
|
const role = userId && shell.permissionRole ? shell.permissionRole("developer") : void 0;
|
|
@@ -1354,7 +1356,7 @@ async function* streamSandboxPrompt(shell, box, message, options) {
|
|
|
1354
1356
|
const prompt = typeof message === "string" ? flattenHistory(message, options?.history) : mergeHistoryIntoParts(message, options?.history);
|
|
1355
1357
|
const appToolMcp = options?.appToolMcp ?? {};
|
|
1356
1358
|
const extraMcp = mergeExtraMcp(appToolMcp, options?.baseProfileMcp ?? {}, options?.extraMcp);
|
|
1357
|
-
const profile = shell.profile({ systemPrompt: options?.systemPrompt, extraMcp });
|
|
1359
|
+
const profile = shell.profile({ systemPrompt: options?.systemPrompt, extraMcp, harness });
|
|
1358
1360
|
const profileWithEffort = attachReasoningEffort(profile, harness, options?.effort);
|
|
1359
1361
|
const stream = box.streamPrompt(prompt, {
|
|
1360
1362
|
sessionId: options?.sessionId,
|
|
@@ -1504,7 +1506,7 @@ async function driveSandboxTurn(shell, box, message, options) {
|
|
|
1504
1506
|
const appToolMcp = options.appToolMcp ?? {};
|
|
1505
1507
|
const extraMcp = mergeExtraMcp(appToolMcp, options.baseProfileMcp ?? {}, options.extraMcp);
|
|
1506
1508
|
const profile = attachReasoningEffort(
|
|
1507
|
-
shell.profile({ systemPrompt: options.systemPrompt, extraMcp }),
|
|
1509
|
+
shell.profile({ systemPrompt: options.systemPrompt, extraMcp, harness }),
|
|
1508
1510
|
harness,
|
|
1509
1511
|
options.effort
|
|
1510
1512
|
);
|
|
@@ -1628,4 +1630,4 @@ export {
|
|
|
1628
1630
|
isTerminalPromptEvent,
|
|
1629
1631
|
detectInteractiveQuestion
|
|
1630
1632
|
};
|
|
1631
|
-
//# sourceMappingURL=chunk-
|
|
1633
|
+
//# sourceMappingURL=chunk-3ALFBTIW.js.map
|