nolo-cli 0.154.0-alpha.1 → 0.154.1
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/{_executeModel-SDGDBNX5.js → _executeModel-3HHZYHHB.js} +54 -54
- package/{accountResolver-7RYB4D2P.js → accountResolver-55EDKEIK.js} +1 -1
- package/{action-SXJD5N5R.js → action-GPPJC5TI.js} +5 -5
- package/{addContentAction-65ONHX2T.js → addContentAction-XJQEJ4XW.js} +8 -8
- package/{addDialogAgentAction-WOLK7RB4.js → addDialogAgentAction-5WZX5CAY.js} +7 -7
- package/{agentDeleteCommand-W2XXF27A.js → agentDeleteCommand-ON2KVSJ5.js} +74 -75
- package/{agentEmailCommands-MSFGRDUZ.js → agentEmailCommands-2QPD5VP3.js} +77 -78
- package/{agentListCommands-G36AMSBR.js → agentListCommands-L33M3I6V.js} +35 -35
- package/{agentMachineCommands-YVVPDIHJ.js → agentMachineCommands-V44DPSED.js} +34 -31
- package/{agentProviderCommands-X2HQE6HY.js → agentProviderCommands-CXBHNONN.js} +5 -5
- package/{agentPullCommand-FA43RBRU.js → agentPullCommand-GXXEDOSA.js} +4 -4
- package/{agentRecordCommands-7G3DDI4L.js → agentRecordCommands-CKILCNQZ.js} +71 -72
- package/{agentRunCommand-ET7LIY7J.js → agentRunCommand-6IN7NK7H.js} +74 -74
- package/{agentRunControl-2C5GM3BW.js → agentRunControl-XBSNHHZE.js} +7 -7
- package/{agentRuntimeLocal-Q7ZOMZC7.js → agentRuntimeLocal-XCKO5FVP.js} +20 -18
- package/{agentSlice-MK5JTSZR.js → agentSlice-YT3VCCEW.js} +8 -8
- package/{appDeleteCommands-MMWT54BR.js → appDeleteCommands-2PJFNLAJ.js} +30 -28
- package/{appDeployCommands-OIFXVDOF.js → appDeployCommands-AZCMCMK6.js} +30 -28
- package/{appDeployStatusCommands-OTXMSDFB.js → appDeployStatusCommands-HSIKPVJN.js} +30 -28
- package/{appGetCommands-JPY36ANL.js → appGetCommands-IUZCPAP7.js} +30 -28
- package/{appListCommands-IHJGN36O.js → appListCommands-JLFVS44M.js} +30 -28
- package/{authCommand-J3XILHWW.js → authCommand-3Z52KJID.js} +22 -302
- package/{authCommands-77CHYBGF.js → authCommands-QOCKVPX3.js} +5 -5
- package/{builtinSkillRegistry-A6VSPJEJ.js → builtinSkillRegistry-LJV7FHNI.js} +4 -4
- package/{chromeCommands-OBBNJCLS.js → chromeCommands-IY4NVSXZ.js} +17 -10
- package/{chunk-SW4S4XYB.js → chunk-2AB2HA4M.js} +84 -34
- package/{chunk-FDT27L7S.js → chunk-2XDQAWBM.js} +18 -16
- package/{chunk-UGN77YJU.js → chunk-2ZYCNT2O.js} +232 -76
- package/{chunk-QFEW2ULV.js → chunk-32ZKZET7.js} +1 -1
- package/{chunk-QRRFQFFU.js → chunk-3GTVM7NJ.js} +22 -22
- package/{chunk-XPWGOTBQ.js → chunk-3L2WKC3W.js} +1 -8
- package/{chunk-LGCICX53.js → chunk-3L5MSPWX.js} +1 -1
- package/{chunk-4YRTZIVN.js → chunk-43OFVLWJ.js} +6 -6
- package/{chunk-6TF64IF2.js → chunk-4L4K6YR7.js} +16 -2
- package/{chunk-P5QACQDK.js → chunk-62TBKWTV.js} +1 -1
- package/{chunk-TRW43TSC.js → chunk-6EQD4AQL.js} +41 -1
- package/{chunk-YLMMECCH.js → chunk-6XIE5ZGI.js} +1 -1
- package/{chunk-UUPR3TD7.js → chunk-7RF4O6AT.js} +1 -3
- package/{chunk-OGI4JKBD.js → chunk-BAWAKW7X.js} +2 -2
- package/{chunk-2GGXHQIW.js → chunk-BLVSFYQ3.js} +4 -2
- package/{chunk-A7HQF6YH.js → chunk-CDLP56BS.js} +9 -9
- package/{chunk-5MM7NNO6.js → chunk-CNWKLQRL.js} +8 -3
- package/{chunk-TJ2VPCBE.js → chunk-DD2EOI6S.js} +2 -2
- package/{chunk-36OMEXXR.js → chunk-DLV3H464.js} +8 -8
- package/{chunk-4WLENVCW.js → chunk-DT7EWFTY.js} +6 -6
- package/{chunk-C5DLHL3R.js → chunk-ESMZW5PE.js} +3 -3
- package/{chunk-FJRGRIVL.js → chunk-EVPKKBSI.js} +17 -16
- package/{chunk-PSJWPSKS.js → chunk-EWO77ZGF.js} +9 -43
- package/{chunk-ZWG3C7VI.js → chunk-F3SOW2EU.js} +81 -1
- package/{chunk-RGBBF2RB.js → chunk-F5WASHQA.js} +279 -138
- package/{chunk-GJRCYN5X.js → chunk-FB5WLEOD.js} +21 -17
- package/{chunk-HHC5FJHS.js → chunk-FCUKCVKN.js} +12 -8
- package/{chunk-FY4SDK2E.js → chunk-FDLDMJTM.js} +1 -1
- package/{chunk-EM3YOZJ4.js → chunk-FFHV45HO.js} +3 -3
- package/{chunk-SWZEIKWQ.js → chunk-FZYKQFBQ.js} +3 -3
- package/{chunk-7KYVUFDG.js → chunk-G3VYRPTV.js} +5 -267
- package/{chunk-6MJNEXUU.js → chunk-HGDKT2D6.js} +4 -0
- package/{chunk-LXTNZVD4.js → chunk-HW7EBEC5.js} +35 -207
- package/{chunk-B2EGWZJG.js → chunk-I7S63QUU.js} +1 -1
- package/{chunk-PDJ6ZODI.js → chunk-IF7V3CBU.js} +1 -1
- package/{chunk-T6CBQ6BN.js → chunk-INFHX73M.js} +1 -1
- package/{chunk-YBNHPX4S.js → chunk-IW64YHXL.js} +155 -31
- package/{chunk-N37ERV4O.js → chunk-JDKSYQQN.js} +5 -5
- package/{chunk-K43ZF2C3.js → chunk-JPPQ3GUO.js} +1 -1
- package/{chunk-PSYTZ4LK.js → chunk-JSB2OPQT.js} +134 -126
- package/{chunk-VEJFPTX7.js → chunk-JWEXJ573.js} +3 -3
- package/{chunk-ZG73GDYU.js → chunk-K25WQPP3.js} +253 -57
- package/{chunk-HKT6QXP3.js → chunk-KABQ74UQ.js} +5 -5
- package/{chunk-I2ZMGXXF.js → chunk-KFHREHUQ.js} +1 -1
- package/{chunk-3C2QLERX.js → chunk-KMDDG73K.js} +1 -1
- package/{chunk-AIZE5TDM.js → chunk-MAYW6V3E.js} +2 -2
- package/{chunk-IPAW7XLD.js → chunk-MFVOJ6KF.js} +2 -2
- package/{chunk-CBHGZRCE.js → chunk-MYOH447Z.js} +1 -1
- package/{chunk-TPG4CZHI.js → chunk-NHEWV5FD.js} +17 -3
- package/{chunk-G47IPDOK.js → chunk-O2IWR23M.js} +1 -1
- package/{chunk-OU7WCUB5.js → chunk-OLVOR45M.js} +2 -2
- package/{chunk-SUKSWFLP.js → chunk-PIG2IUVZ.js} +1 -1
- package/{chunk-SEJ5OS6F.js → chunk-PXYBUFDB.js} +4 -0
- package/{chunk-2MTE2PEH.js → chunk-QA2C5NKI.js} +5 -739
- package/{chunk-TYND6RDQ.js → chunk-QI2WVWXV.js} +73 -2
- package/{chunk-L6EQV5OC.js → chunk-QXZH5UDF.js} +3 -3
- package/{chunk-24UXUXPR.js → chunk-QZIOZDM6.js} +10 -10
- package/{chunk-C7M4N5RA.js → chunk-R2KWTENX.js} +3 -3
- package/{chunk-TNIX77YM.js → chunk-R5GO3YZP.js} +34 -1
- package/{chunk-UTIMX333.js → chunk-RIHQGFFA.js} +1 -1
- package/{chunk-4Z245KOA.js → chunk-SH3XD4E2.js} +8 -4
- package/{chunk-MM3662RS.js → chunk-SNAWGDXT.js} +263 -4
- package/{chunk-JGRPBIZZ.js → chunk-SQX235S2.js} +1 -1
- package/chunk-TT644UJD.js +188 -0
- package/{chunk-IYBIRCQV.js → chunk-U34KT53V.js} +29 -11
- package/{chunk-ANJTRG52.js → chunk-ULQAD7ZY.js} +18 -43
- package/{chunk-LOLOIIIP.js → chunk-UY73HNIN.js} +704 -663
- package/{chunk-I2RMFLLH.js → chunk-V7PCFWX3.js} +1 -1
- package/{chunk-KX6LPG7W.js → chunk-VXS4YYJ2.js} +8 -8
- package/{chunk-HXHSTRGH.js → chunk-VYNMQ6HW.js} +0 -27
- package/{chunk-IJERIUXS.js → chunk-WRCZXJ4N.js} +6 -3
- package/chunk-Y5GCAMGP.js +9 -0
- package/{chunk-JZX2XLKC.js → chunk-YCRROBDY.js} +1 -1
- package/{chunk-EYWJT7A2.js → chunk-YPG7TUQD.js} +3 -3
- package/chunk-YR47Y7CN.js +2685 -0
- package/{chunk-NEJZ5GLD.js → chunk-ZAV4YVEA.js} +18 -2
- package/{chunk-YANF2RR4.js → chunk-ZPKUJROL.js} +1 -1
- package/{chunk-WUR6LY7R.js → chunk-ZSLIYVIQ.js} +7 -7
- package/{commandRegistry-VSJPFX6B.js → commandRegistry-76FLRKYQ.js} +88 -96
- package/{contentThunks-65BTQQQE.js → contentThunks-QBL5NK2W.js} +21 -21
- package/{createAgentAutomationAction-SRMBZTAO.js → createAgentAutomationAction-5UWBLR2N.js} +21 -21
- package/{createDialogAction-OWAU72JP.js → createDialogAction-NJ2LE7KC.js} +25 -25
- package/{createPageAction-D4XGNX3P.js → createPageAction-7T3RINS2.js} +24 -25
- package/{dbSlice-S2HYXURM.js → dbSlice-6PVPY44C.js} +7 -7
- package/{deleteFile-6JWDDRVP.js → deleteFile-YM6NDPAR.js} +5 -5
- package/{dialogCommands-H3K7PTF6.js → dialogCommands-KMECTGCW.js} +34 -31
- package/{dialogSlice-GEBK3X5L.js → dialogSlice-GQMTD4HR.js} +20 -20
- package/{dist-NJC2W7I4.js → dist-Q2JSMAKA.js} +7 -361
- package/{docCreateCommands-KP64KMVL.js → docCreateCommands-4IT5PUAL.js} +31 -29
- package/{docDeleteCommands-C3F4SZSR.js → docDeleteCommands-QS66YNZV.js} +32 -30
- package/{docReadCommands-7H6BDOUR.js → docReadCommands-3SAI46YC.js} +31 -29
- package/{docStore-ARTZTJRA.js → docStore-PM5PYKPZ.js} +8 -8
- package/{docUpdateCommands-JDW4BRBH.js → docUpdateCommands-OGYG5BRC.js} +31 -29
- package/{getPricing-TX35D7PI.js → getPricing-XQ3N3RBP.js} +2 -2
- package/{handleSendMessageAction-SPGAO47U.js → handleSendMessageAction-EQ3U6K5N.js} +43 -39
- package/index.js +8 -8
- package/{localRuntimeAdapter-CHLHJSA3.js → localRuntimeAdapter-MO64KEOS.js} +69 -68
- package/{localRuntimeAuthority-JDAD7CB6.js → localRuntimeAuthority-BPN5OAQG.js} +2 -2
- package/{localRuntimeDb-CVC62PM5.js → localRuntimeDb-QIVAXMUL.js} +1 -1
- package/{machineCommands-GVFN64CM.js → machineCommands-7MBJJY4K.js} +79 -78
- package/{machineWsRunDispatch-3WXQ57DN.js → machineWsRunDispatch-T4LFRJL3.js} +69 -70
- package/{memberThunks-VPTET5M2.js → memberThunks-AZINUM4S.js} +10 -10
- package/package.json +6 -2
- package/{profileConfig-ZGOFORWV.js → profileConfig-KN3N2BLF.js} +7 -1
- package/{providerPresetApply-CRZFMQD5.js → providerPresetApply-PKUOHQJT.js} +5 -5
- package/{providerRegistry-7IS43D3X.js → providerRegistry-HNQLIFN2.js} +5 -5
- package/{read-VMMIHEAK.js → read-7JPIWRBQ.js} +5 -5
- package/{readDocTool-4XSLKYSQ.js → readDocTool-AAQTB2Y3.js} +1 -1
- package/{readlineWorkspace-2WGUU7KH.js → readlineWorkspace-WRV322AB.js} +374 -199
- package/{removeDialogAgentAction-YIV37ENV.js → removeDialogAgentAction-RMVRILLK.js} +9 -9
- package/{runAgentClientLoop-WS2HFGIR.js → runAgentClientLoop-EXIQDX7G.js} +58 -53
- package/{runtimeDoctorCommands-56NWKNON.js → runtimeDoctorCommands-MMCP4B4U.js} +12 -12
- package/{secretCommands-ZXZRLR3R.js → secretCommands-DNY56NSU.js} +11 -1
- package/{setDialogExtraReferencesAction-FWVD656I.js → setDialogExtraReferencesAction-L3V7JTMG.js} +8 -8
- package/{setPrimaryDialogAgentAction-HIPQTT6N.js → setPrimaryDialogAgentAction-X52JQGTJ.js} +9 -9
- package/settingThunks-N6XFWPOU.js +923 -0
- package/{spaceCommands-JQN7D4FE.js → spaceCommands-WQMUCGV7.js} +28 -26
- package/{streamAgentChatTurn-OSGLMHT6.js → streamAgentChatTurn-DI2334G3.js} +153 -94
- package/{switchDialogAgentAction-SLTPB635.js → switchDialogAgentAction-ZJ5CGU7J.js} +7 -7
- package/{tableCommands-U3QDY4L6.js → tableCommands-IVC5S7Y3.js} +11 -11
- package/{toolApiClient-7WSJJJBV.js → toolApiClient-HGNO53TC.js} +2 -2
- package/{tools-XF5A6N2B.js → tools-23VQGJOX.js} +42 -43
- package/{tuiSummaryLlmCaller-KLK6K3Q3.js → tuiSummaryLlmCaller-FESHBDTT.js} +7 -7
- package/{updateCommands-NQXAGFM7.js → updateCommands-FJHGWD3Q.js} +5 -3
- package/{updateDialogTitleAction-IN5TBR23.js → updateDialogTitleAction-AGAYHWS7.js} +21 -21
- package/{workloadLifecycle-36DXRZKU.js → workloadLifecycle-6O6PMISX.js} +2 -2
- package/chunk-IA7TRNNR.js +0 -11
- package/chunk-ON3WLDG2.js +0 -7012
- package/chunk-UKZX3NHN.js +0 -48
- package/chunk-W4S6OTSC.js +0 -35
- package/clipboardy-GCO3GT3I.js +0 -11793
- package/settingThunks-SB37UY4C.js +0 -1371
- package/{agentGrantCommands-HOJ3JBBQ.js → agentGrantCommands-5DPHYEKP.js} +3 -3
- package/{chromeOpsCommands-3Z34RKSE.js → chromeOpsCommands-GZVVK7HU.js} +4 -4
- package/{chunk-XETG4RIX.js → chunk-AETZ7AD6.js} +4 -4
- package/{chunk-2IXDJNZI.js → chunk-GAGGEA7D.js} +3 -3
- package/{memoryCommands-CUNBFRVS.js → memoryCommands-ZS3VQJAL.js} +3 -3
- package/{offlineMarxistsAgentCommand-2QTHJCHV.js → offlineMarxistsAgentCommand-3GLX4QQY.js} +3 -3
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OLVOR45M.js";
|
|
9
9
|
import {
|
|
10
10
|
CONFIRMATION_INPUT_KEYS,
|
|
11
11
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
performFetchRequest,
|
|
15
15
|
sanitizeOutboundMessages,
|
|
16
16
|
stripModelToolArgs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HW7EBEC5.js";
|
|
18
18
|
import {
|
|
19
19
|
findToolExecutor,
|
|
20
20
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2ZYCNT2O.js";
|
|
22
22
|
import {
|
|
23
23
|
classifyApiError,
|
|
24
24
|
classifyGenerationError,
|
|
25
25
|
extractErrorDiagnostics
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QZIOZDM6.js";
|
|
27
27
|
import {
|
|
28
28
|
createSSEParser,
|
|
29
29
|
createToolRunId,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
toolRunSetPending,
|
|
33
33
|
toolRunStarted,
|
|
34
34
|
toolRunSucceeded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FCUKCVKN.js";
|
|
36
36
|
import {
|
|
37
37
|
getPublicImageAgentMode
|
|
38
38
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -42,10 +42,10 @@ import {
|
|
|
42
42
|
messageStreaming,
|
|
43
43
|
toolResultNeedsUserConfirmation,
|
|
44
44
|
updateToolMessage
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-F5WASHQA.js";
|
|
46
46
|
import {
|
|
47
47
|
streamAgentChatTurn
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-DT7EWFTY.js";
|
|
49
49
|
import {
|
|
50
50
|
getCurrentSpaceId
|
|
51
51
|
} from "./chunk-ZJ7UHBJS.js";
|
|
@@ -56,16 +56,16 @@ import {
|
|
|
56
56
|
} from "./chunk-OWYYDMGJ.js";
|
|
57
57
|
import {
|
|
58
58
|
selectCurrentServer
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-32ZKZET7.js";
|
|
60
60
|
import {
|
|
61
61
|
write
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-CDLP56BS.js";
|
|
63
63
|
import {
|
|
64
64
|
createAsyncThunk
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-WRCZXJ4N.js";
|
|
66
66
|
import {
|
|
67
67
|
selectIdentityToken
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-PXYBUFDB.js";
|
|
69
69
|
import {
|
|
70
70
|
classifyOutboundErrorCategory,
|
|
71
71
|
createOutboundDiagnosticCall,
|
|
@@ -85,13 +85,13 @@ import {
|
|
|
85
85
|
} from "./chunk-56GBUMO5.js";
|
|
86
86
|
import {
|
|
87
87
|
normalizeChatCompletionsBodyForProvider
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-4L4K6YR7.js";
|
|
89
89
|
import {
|
|
90
90
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-F3SOW2EU.js";
|
|
92
92
|
import {
|
|
93
93
|
getModelInfo
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-QA2C5NKI.js";
|
|
95
95
|
import {
|
|
96
96
|
isAbortError
|
|
97
97
|
} from "./chunk-7DPNBQSV.js";
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
} from "./chunk-5EMSBTQ6.js";
|
|
106
106
|
import {
|
|
107
107
|
getApiEndpoint
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-6EQD4AQL.js";
|
|
109
109
|
import {
|
|
110
110
|
isRecord
|
|
111
111
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -573,7 +573,10 @@ var processToolData = createAsyncThunk(
|
|
|
573
573
|
const toolResult = await found.executor(executionToolArgs, thunkApi, {
|
|
574
574
|
parentMessageId,
|
|
575
575
|
toolRunId,
|
|
576
|
-
agentKey
|
|
576
|
+
agentKey,
|
|
577
|
+
// 定档信号:这里是前台对话流式路径,来源恒为 chat;对话 id 用于数历史搜索。
|
|
578
|
+
...args.dialogId ? { dialogId: args.dialogId } : {},
|
|
579
|
+
origin: "chat"
|
|
577
580
|
});
|
|
578
581
|
const rawData = toolResult?.rawData ?? toolResult;
|
|
579
582
|
const llmContext = asOptionalTrimmedString(toolResult?.llmContext);
|
|
@@ -750,7 +753,8 @@ var handleToolCalls = createAsyncThunk(
|
|
|
750
753
|
toolCall: { ...toolCall, id: toolCallId },
|
|
751
754
|
parentMessageId: messageId,
|
|
752
755
|
toolRunId,
|
|
753
|
-
agentKey: agentConfig.dbKey
|
|
756
|
+
agentKey: agentConfig.dbKey,
|
|
757
|
+
dialogId
|
|
754
758
|
})
|
|
755
759
|
).unwrap();
|
|
756
760
|
const toolName = result.toolName;
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
normalizePolicyLevelSetting,
|
|
6
6
|
normalizeSystemBuiltinSkills,
|
|
7
7
|
normalizeTonePresetSetting
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VYNMQ6HW.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchAndCacheTableRows
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YR47Y7CN.js";
|
|
12
12
|
import {
|
|
13
13
|
require_react
|
|
14
14
|
} from "./chunk-YDH3FDFQ.js";
|
|
15
15
|
import {
|
|
16
16
|
createAsyncThunk,
|
|
17
17
|
createSelector
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WRCZXJ4N.js";
|
|
19
19
|
import {
|
|
20
20
|
selectIdentityUserId
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PXYBUFDB.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveBuiltinCapability,
|
|
24
24
|
resolveBuiltinSkillEntry
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-SH3XD4E2.js";
|
|
26
26
|
import {
|
|
27
27
|
DEFAULT_SYSTEM_AGENT_CAPABILITIES
|
|
28
28
|
} from "./chunk-EUGTFFO6.js";
|
|
@@ -287,7 +287,11 @@ var MODES = [
|
|
|
287
287
|
var DEFAULT_RECOMMENDED_SKILL_SLUGS = [
|
|
288
288
|
"worktree-isolation",
|
|
289
289
|
"systematic-investigation",
|
|
290
|
-
"show-me"
|
|
290
|
+
"show-me",
|
|
291
|
+
// 凭据管理:仓库已有 nolo secret(set/list/run/bind),但技能发现只扫
|
|
292
|
+
// `.agents/skills`,内置的 secrets-manager 不会出现在"可用技能"里。放进默认
|
|
293
|
+
// 提示名单让它至少以一行提示出现(不授工具、不放宽权限)。
|
|
294
|
+
"secrets-manager"
|
|
291
295
|
];
|
|
292
296
|
var asMode = (value) => typeof value === "string" && MODES.includes(value) ? value : null;
|
|
293
297
|
var resolveAgentSkillConfig = (source) => {
|
|
@@ -517,7 +521,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
517
521
|
if (!executionInput) {
|
|
518
522
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
519
523
|
}
|
|
520
|
-
const { findToolExecutor } = await import("./tools-
|
|
524
|
+
const { findToolExecutor } = await import("./tools-23VQGJOX.js");
|
|
521
525
|
const { executor } = findToolExecutor(run.toolName);
|
|
522
526
|
toolRunStarted({
|
|
523
527
|
id: run.id,
|
|
@@ -541,7 +545,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
541
545
|
const latestState = thunkApi.getState();
|
|
542
546
|
const userId = selectIdentityUserId(latestState);
|
|
543
547
|
if (userId) {
|
|
544
|
-
const { fetchUserSpaceMemberships } = await import("./memberThunks-
|
|
548
|
+
const { fetchUserSpaceMemberships } = await import("./memberThunks-AZINUM4S.js");
|
|
545
549
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
546
550
|
}
|
|
547
551
|
}
|
|
@@ -14,7 +14,7 @@ function buildCliLocalRuntimeDbEnv(env = process.env) {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
async function getDefaultCliLocalRuntimeDb(options = {}) {
|
|
17
|
-
const { getDefaultCliLocalRuntimeDb: getAuthorityBackedDb } = await import("./localRuntimeAuthority-
|
|
17
|
+
const { getDefaultCliLocalRuntimeDb: getAuthorityBackedDb } = await import("./localRuntimeAuthority-BPN5OAQG.js");
|
|
18
18
|
return getAuthorityBackedDb(options);
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-O2IWR23M.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KABQ74UQ.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveCredentialGroup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VXS4YYJ2.js";
|
|
11
11
|
import {
|
|
12
12
|
isTombstoneRecord
|
|
13
13
|
} from "./chunk-D2MDMY2M.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QZIOZDM6.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-F5WASHQA.js";
|
|
8
8
|
import {
|
|
9
9
|
applyUpdateTokensFulfilled
|
|
10
10
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
extractReasoningFromResponseOutput,
|
|
13
13
|
extractTextFromResponseOutput,
|
|
14
14
|
extractToolCallsFromResponseOutput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4L4K6YR7.js";
|
|
16
16
|
import {
|
|
17
17
|
isRecord
|
|
18
18
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildEnvFromProfile,
|
|
3
|
+
loadProfileConfig
|
|
4
|
+
} from "./chunk-R5GO3YZP.js";
|
|
1
5
|
import {
|
|
2
6
|
ANTIGRAVITY_AUTH_URL,
|
|
3
7
|
ANTIGRAVITY_CALLBACK_PATH,
|
|
@@ -11,7 +15,7 @@ import {
|
|
|
11
15
|
getAntigravityUserAgent,
|
|
12
16
|
normalizeAntigravityTokenPayload,
|
|
13
17
|
refreshAntigravityToken
|
|
14
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SQX235S2.js";
|
|
15
19
|
import {
|
|
16
20
|
asOptionalFiniteNumber
|
|
17
21
|
} from "./chunk-WWC7I6TA.js";
|
|
@@ -24,10 +28,6 @@ import {
|
|
|
24
28
|
import {
|
|
25
29
|
toErrorMessage
|
|
26
30
|
} from "./chunk-HNMXYYJR.js";
|
|
27
|
-
import {
|
|
28
|
-
buildEnvFromProfile,
|
|
29
|
-
loadProfileConfig
|
|
30
|
-
} from "./chunk-TNIX77YM.js";
|
|
31
31
|
import {
|
|
32
32
|
writeOAuthCredential
|
|
33
33
|
} from "./chunk-ZWQUWF6W.js";
|
|
@@ -868,257 +868,6 @@ function resolveServerSyncConfig() {
|
|
|
868
868
|
return null;
|
|
869
869
|
}
|
|
870
870
|
|
|
871
|
-
// packages/agent-runtime/workbuddyOAuth.ts
|
|
872
|
-
var WORKBUDDY_APP_VERSION = "2.0.0";
|
|
873
|
-
var WORKBUDDY_UA_VERSION = "5.5.6";
|
|
874
|
-
var WORKBUDDY_POLL_INTERVAL_MS = 1e3;
|
|
875
|
-
var WORKBUDDY_SIGN_IN_TIMEOUT_MS = 5 * 60 * 1e3;
|
|
876
|
-
var WORKBUDDY_EARLY_REFRESH_SKEW_MS = 60 * 1e3;
|
|
877
|
-
var WORKBUDDY_KEEP_RENEWED_MS = 60 * 1e3;
|
|
878
|
-
var WORKBUDDY_REQUEST_TIMEOUT_MS = 3e4;
|
|
879
|
-
var WORKBUDDY_SITES = {
|
|
880
|
-
workbuddy: {
|
|
881
|
-
id: "workbuddy",
|
|
882
|
-
name: "WorkBuddy",
|
|
883
|
-
endpoint: "https://copilot.tencent.com",
|
|
884
|
-
authId: "workbuddy-desktop",
|
|
885
|
-
platform: "workbuddy",
|
|
886
|
-
ai: false
|
|
887
|
-
},
|
|
888
|
-
"workbuddy-ai": {
|
|
889
|
-
id: "workbuddy-ai",
|
|
890
|
-
name: "WorkBuddy AI",
|
|
891
|
-
endpoint: "https://www.workbuddy.ai",
|
|
892
|
-
authId: "workbuddy-desktop-ai",
|
|
893
|
-
platform: "workbuddy-ai",
|
|
894
|
-
ai: true
|
|
895
|
-
}
|
|
896
|
-
};
|
|
897
|
-
function getWorkBuddySite(site) {
|
|
898
|
-
if (site === "workbuddy" || site === "workbuddy-ai") {
|
|
899
|
-
return WORKBUDDY_SITES[site];
|
|
900
|
-
}
|
|
901
|
-
throw new Error(`Unknown WorkBuddy site: "${String(site)}". Expected "workbuddy" or "workbuddy-ai".`);
|
|
902
|
-
}
|
|
903
|
-
function sanitizeWorkBuddyError(message) {
|
|
904
|
-
return message.replace(/Bearer\s+[A-Za-z0-9._~+/-]+=*/gi, "Bearer [REDACTED]").replace(/([?&]|\b)(state|token|accessToken|refreshToken)=[^&\s]+/gi, "$1$2=[REDACTED]").replace(/(["']?(?:accessToken|refreshToken|state|token)["']?\s*:\s*["'])[^"']+["']/gi, '$1[REDACTED]"');
|
|
905
|
-
}
|
|
906
|
-
function sanitizeWorkBuddyDomain(rawDomain, defaultHost) {
|
|
907
|
-
if (typeof rawDomain !== "string" || !rawDomain.trim()) {
|
|
908
|
-
return defaultHost;
|
|
909
|
-
}
|
|
910
|
-
let domain = rawDomain.trim();
|
|
911
|
-
if (domain.startsWith("https://") || domain.startsWith("http://")) {
|
|
912
|
-
try {
|
|
913
|
-
domain = new URL(domain).host;
|
|
914
|
-
} catch {
|
|
915
|
-
return defaultHost;
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
const slashIdx = domain.indexOf("/");
|
|
919
|
-
if (slashIdx !== -1) domain = domain.slice(0, slashIdx);
|
|
920
|
-
const qIdx = domain.indexOf("?");
|
|
921
|
-
if (qIdx !== -1) domain = domain.slice(0, qIdx);
|
|
922
|
-
if (!/^[a-zA-Z0-9.-]+(?::[0-9]+)?$/.test(domain)) {
|
|
923
|
-
return defaultHost;
|
|
924
|
-
}
|
|
925
|
-
return domain;
|
|
926
|
-
}
|
|
927
|
-
function normalizeWorkBuddyTokenPayload(siteOrArgs, payloadArg, baseCredentialArg, nowArg) {
|
|
928
|
-
let site;
|
|
929
|
-
let payload;
|
|
930
|
-
let baseCredential;
|
|
931
|
-
let now;
|
|
932
|
-
if (typeof siteOrArgs === "object" && siteOrArgs !== null && "site" in siteOrArgs) {
|
|
933
|
-
site = siteOrArgs.site;
|
|
934
|
-
payload = siteOrArgs.payload ?? {};
|
|
935
|
-
baseCredential = siteOrArgs.baseCredential;
|
|
936
|
-
now = siteOrArgs.now ?? Date.now();
|
|
937
|
-
} else {
|
|
938
|
-
site = siteOrArgs;
|
|
939
|
-
payload = payloadArg ?? {};
|
|
940
|
-
baseCredential = baseCredentialArg;
|
|
941
|
-
now = nowArg ?? Date.now();
|
|
942
|
-
}
|
|
943
|
-
const siteConfig = getWorkBuddySite(site);
|
|
944
|
-
if (typeof payload.accessToken !== "string" || !payload.accessToken.trim()) {
|
|
945
|
-
throw new Error("WorkBuddy token response missing accessToken");
|
|
946
|
-
}
|
|
947
|
-
const accessToken = payload.accessToken.trim();
|
|
948
|
-
let expiresAt;
|
|
949
|
-
const rawExpiresAt = Number(payload.expiresAt);
|
|
950
|
-
const rawExpiresIn = Number(payload.expiresIn);
|
|
951
|
-
if (Number.isFinite(rawExpiresAt) && rawExpiresAt > 0) {
|
|
952
|
-
expiresAt = rawExpiresAt;
|
|
953
|
-
} else if (Number.isFinite(rawExpiresIn) && rawExpiresIn > 0) {
|
|
954
|
-
expiresAt = now + rawExpiresIn * 1e3;
|
|
955
|
-
} else if (typeof baseCredential?.expiresAt === "number") {
|
|
956
|
-
expiresAt = baseCredential.expiresAt;
|
|
957
|
-
} else {
|
|
958
|
-
expiresAt = now + 3600 * 1e3;
|
|
959
|
-
}
|
|
960
|
-
let refreshExpiresAt;
|
|
961
|
-
const rawRefExpAt = Number(payload.refreshExpiresAt);
|
|
962
|
-
const rawRefExpIn = Number(payload.refreshExpiresIn);
|
|
963
|
-
if (Number.isFinite(rawRefExpAt) && rawRefExpAt > 0) {
|
|
964
|
-
refreshExpiresAt = rawRefExpAt;
|
|
965
|
-
} else if (Number.isFinite(rawRefExpIn) && rawRefExpIn > 0) {
|
|
966
|
-
refreshExpiresAt = now + rawRefExpIn * 1e3;
|
|
967
|
-
} else if (typeof baseCredential?.metadata?.refreshExpiresAt === "number") {
|
|
968
|
-
refreshExpiresAt = baseCredential.metadata.refreshExpiresAt;
|
|
969
|
-
}
|
|
970
|
-
const refreshToken = typeof payload.refreshToken === "string" && payload.refreshToken.trim() ? payload.refreshToken.trim() : baseCredential?.refreshToken;
|
|
971
|
-
const uid = typeof payload.uid === "string" && payload.uid.trim() ? payload.uid.trim() : typeof baseCredential?.metadata?.uid === "string" && baseCredential.metadata.uid.trim() ? baseCredential.metadata.uid.trim() : baseCredential?.accountId ?? "";
|
|
972
|
-
const defaultHost = new URL(siteConfig.endpoint).host;
|
|
973
|
-
const domain = sanitizeWorkBuddyDomain(
|
|
974
|
-
payload.domain ?? baseCredential?.metadata?.domain,
|
|
975
|
-
defaultHost
|
|
976
|
-
);
|
|
977
|
-
const rawEnterpriseId = typeof payload.enterpriseId === "string" ? payload.enterpriseId : typeof baseCredential?.metadata?.enterpriseId === "string" ? baseCredential.metadata.enterpriseId : "";
|
|
978
|
-
const enterpriseId = rawEnterpriseId.trim();
|
|
979
|
-
const nickname = typeof payload.nickname === "string" && payload.nickname.trim() ? payload.nickname.trim() : typeof payload.phoneNumber === "string" && payload.phoneNumber.trim() ? payload.phoneNumber.trim() : typeof baseCredential?.metadata?.nickname === "string" ? baseCredential.metadata.nickname : void 0;
|
|
980
|
-
return {
|
|
981
|
-
...baseCredential ?? {},
|
|
982
|
-
provider: site,
|
|
983
|
-
accessToken,
|
|
984
|
-
...refreshToken ? { refreshToken } : {},
|
|
985
|
-
expiresAt,
|
|
986
|
-
obtainedAt: now,
|
|
987
|
-
accountId: uid || nickname || siteConfig.name,
|
|
988
|
-
metadata: {
|
|
989
|
-
site,
|
|
990
|
-
uid,
|
|
991
|
-
domain,
|
|
992
|
-
...enterpriseId ? { enterpriseId } : {},
|
|
993
|
-
...refreshExpiresAt ? { refreshExpiresAt } : {},
|
|
994
|
-
...nickname ? { nickname } : {}
|
|
995
|
-
}
|
|
996
|
-
};
|
|
997
|
-
}
|
|
998
|
-
var renewing = /* @__PURE__ */ new Map();
|
|
999
|
-
var renewed = /* @__PURE__ */ new Map();
|
|
1000
|
-
function getWorkBuddyRefreshKey(site, credential) {
|
|
1001
|
-
const accountOrUid = credential.accountId || credential.metadata?.uid || "";
|
|
1002
|
-
const token = credential.refreshToken || "";
|
|
1003
|
-
return `${site}
|
|
1004
|
-
${accountOrUid}
|
|
1005
|
-
${token}`;
|
|
1006
|
-
}
|
|
1007
|
-
async function refreshWorkBuddyToken(credential, deps = {}) {
|
|
1008
|
-
if (!credential.refreshToken) {
|
|
1009
|
-
throw new Error("WorkBuddy credential has no refresh_token");
|
|
1010
|
-
}
|
|
1011
|
-
const now = deps.now?.() ?? Date.now();
|
|
1012
|
-
const refreshExpiresAt = credential.metadata?.refreshExpiresAt;
|
|
1013
|
-
if (typeof refreshExpiresAt === "number" && now >= refreshExpiresAt) {
|
|
1014
|
-
throw new Error("this WorkBuddy account is signed out; sign in again");
|
|
1015
|
-
}
|
|
1016
|
-
const site = credential.metadata?.site === "workbuddy-ai" || credential.provider === "workbuddy-ai" ? "workbuddy-ai" : "workbuddy";
|
|
1017
|
-
const siteConfig = getWorkBuddySite(site);
|
|
1018
|
-
const key = getWorkBuddyRefreshKey(site, credential);
|
|
1019
|
-
const cached = renewed.get(key);
|
|
1020
|
-
if (cached && now - cached.at < WORKBUDDY_KEEP_RENEWED_MS) {
|
|
1021
|
-
return cached.credential;
|
|
1022
|
-
}
|
|
1023
|
-
const inflight = renewing.get(key);
|
|
1024
|
-
if (inflight) {
|
|
1025
|
-
return inflight;
|
|
1026
|
-
}
|
|
1027
|
-
const fetchImpl = deps.fetchImpl ?? fetch;
|
|
1028
|
-
const refreshPromise = (async () => {
|
|
1029
|
-
const defaultHost = new URL(siteConfig.endpoint).host;
|
|
1030
|
-
const domain = sanitizeWorkBuddyDomain(credential.metadata?.domain, defaultHost);
|
|
1031
|
-
const enterpriseId = typeof credential.metadata?.enterpriseId === "string" ? credential.metadata.enterpriseId.trim() : "";
|
|
1032
|
-
const headers = {
|
|
1033
|
-
"Content-Type": "application/json",
|
|
1034
|
-
Accept: "application/json",
|
|
1035
|
-
"User-Agent": `WorkBuddy/${WORKBUDDY_UA_VERSION}`,
|
|
1036
|
-
"X-Refresh-Token": credential.refreshToken,
|
|
1037
|
-
"X-Auth-Refresh-Source": "plugin",
|
|
1038
|
-
"X-Domain": domain,
|
|
1039
|
-
...enterpriseId ? { "X-Enterprise-Id": enterpriseId, "X-Tenant-Id": enterpriseId } : {}
|
|
1040
|
-
};
|
|
1041
|
-
let response;
|
|
1042
|
-
try {
|
|
1043
|
-
response = await fetchImpl(`${siteConfig.endpoint}/v2/plugin/auth/token/refresh`, {
|
|
1044
|
-
method: "POST",
|
|
1045
|
-
headers,
|
|
1046
|
-
body: "{}",
|
|
1047
|
-
signal: AbortSignal.timeout(WORKBUDDY_REQUEST_TIMEOUT_MS)
|
|
1048
|
-
});
|
|
1049
|
-
} catch (error) {
|
|
1050
|
-
throw new Error(sanitizeWorkBuddyError(`WorkBuddy token refresh failed: ${toErrorMessage(error)}`));
|
|
1051
|
-
}
|
|
1052
|
-
let text = "";
|
|
1053
|
-
try {
|
|
1054
|
-
text = await response.text();
|
|
1055
|
-
} catch {
|
|
1056
|
-
}
|
|
1057
|
-
let env = {};
|
|
1058
|
-
try {
|
|
1059
|
-
env = JSON.parse(text);
|
|
1060
|
-
} catch {
|
|
1061
|
-
}
|
|
1062
|
-
const code = typeof env.code === "number" ? env.code : Number.parseInt(String(env.code ?? ""), 10) || 0;
|
|
1063
|
-
if (!response.ok) {
|
|
1064
|
-
const why = String(env.msg || env.message || text.slice(0, 200) || response.statusText);
|
|
1065
|
-
throw new Error(
|
|
1066
|
-
sanitizeWorkBuddyError(
|
|
1067
|
-
`${siteConfig.name} token refresh failed: ${why} (HTTP ${response.status}${code ? `, code ${code}` : ""})`
|
|
1068
|
-
)
|
|
1069
|
-
);
|
|
1070
|
-
}
|
|
1071
|
-
if (code !== 0) {
|
|
1072
|
-
const why = String(env.msg || env.message || "error");
|
|
1073
|
-
throw new Error(
|
|
1074
|
-
sanitizeWorkBuddyError(`${siteConfig.name} token refresh failed: ${why} (${code})`)
|
|
1075
|
-
);
|
|
1076
|
-
}
|
|
1077
|
-
const data = env.data && typeof env.data === "object" ? env.data : env;
|
|
1078
|
-
if (typeof data.accessToken !== "string" || !data.accessToken.trim()) {
|
|
1079
|
-
throw new Error("WorkBuddy gave no refreshed token");
|
|
1080
|
-
}
|
|
1081
|
-
const nextCredential = normalizeWorkBuddyTokenPayload(site, data, credential, now);
|
|
1082
|
-
renewed.set(key, { credential: nextCredential, at: now });
|
|
1083
|
-
return nextCredential;
|
|
1084
|
-
})().finally(() => {
|
|
1085
|
-
renewing.delete(key);
|
|
1086
|
-
});
|
|
1087
|
-
renewing.set(key, refreshPromise);
|
|
1088
|
-
return refreshPromise;
|
|
1089
|
-
}
|
|
1090
|
-
var workbuddyRefresh = refreshWorkBuddyToken;
|
|
1091
|
-
function getWorkBuddyHeaders(credential) {
|
|
1092
|
-
const site = credential.metadata?.site === "workbuddy-ai" || credential.provider === "workbuddy-ai" ? "workbuddy-ai" : "workbuddy";
|
|
1093
|
-
const siteConfig = getWorkBuddySite(site);
|
|
1094
|
-
const defaultHost = new URL(siteConfig.endpoint).host;
|
|
1095
|
-
const domain = sanitizeWorkBuddyDomain(credential.metadata?.domain, defaultHost);
|
|
1096
|
-
const uid = typeof credential.metadata?.uid === "string" ? credential.metadata.uid.trim() : credential.accountId ?? "";
|
|
1097
|
-
const rawEnterpriseId = typeof credential.metadata?.enterpriseId === "string" ? credential.metadata.enterpriseId.trim() : "";
|
|
1098
|
-
const headers = {
|
|
1099
|
-
Authorization: `Bearer ${credential.accessToken}`,
|
|
1100
|
-
"X-User-Id": uid,
|
|
1101
|
-
"X-Domain": domain,
|
|
1102
|
-
"X-Product": "SaaS",
|
|
1103
|
-
"X-IDE-Type": "WorkBuddy",
|
|
1104
|
-
"User-Agent": `WorkBuddy/${WORKBUDDY_UA_VERSION}`,
|
|
1105
|
-
"X-Requested-With": "XMLHttpRequest",
|
|
1106
|
-
"X-Agent-Intent": "craft",
|
|
1107
|
-
"X-Agent-Purpose": "conversation",
|
|
1108
|
-
"X-IDE-Name": "WorkBuddy",
|
|
1109
|
-
"X-IDE-Version": WORKBUDDY_UA_VERSION
|
|
1110
|
-
};
|
|
1111
|
-
if (rawEnterpriseId) {
|
|
1112
|
-
const cleanEnterpriseId = rawEnterpriseId.replace(/[\r\n]/g, "");
|
|
1113
|
-
headers["X-Enterprise-Id"] = cleanEnterpriseId;
|
|
1114
|
-
headers["X-Tenant-Id"] = cleanEnterpriseId;
|
|
1115
|
-
}
|
|
1116
|
-
if (siteConfig.ai) {
|
|
1117
|
-
headers["X-Agent-Type"] = "main";
|
|
1118
|
-
}
|
|
1119
|
-
return headers;
|
|
1120
|
-
}
|
|
1121
|
-
|
|
1122
871
|
// packages/agent-runtime/xaiOAuth.ts
|
|
1123
872
|
var XAI_OAUTH_ISSUER = "https://auth.x.ai";
|
|
1124
873
|
var XAI_OAUTH_DISCOVERY_URL = `${XAI_OAUTH_ISSUER}/.well-known/openid-configuration`;
|
|
@@ -1497,17 +1246,6 @@ async function refreshCursorToken(credential, deps = {}) {
|
|
|
1497
1246
|
var cursorRefresh = refreshCursorToken;
|
|
1498
1247
|
|
|
1499
1248
|
export {
|
|
1500
|
-
WORKBUDDY_APP_VERSION,
|
|
1501
|
-
WORKBUDDY_UA_VERSION,
|
|
1502
|
-
WORKBUDDY_POLL_INTERVAL_MS,
|
|
1503
|
-
WORKBUDDY_SIGN_IN_TIMEOUT_MS,
|
|
1504
|
-
WORKBUDDY_REQUEST_TIMEOUT_MS,
|
|
1505
|
-
getWorkBuddySite,
|
|
1506
|
-
sanitizeWorkBuddyError,
|
|
1507
|
-
sanitizeWorkBuddyDomain,
|
|
1508
|
-
normalizeWorkBuddyTokenPayload,
|
|
1509
|
-
workbuddyRefresh,
|
|
1510
|
-
getWorkBuddyHeaders,
|
|
1511
1249
|
startCallbackServer,
|
|
1512
1250
|
runAntigravityOAuthLogin,
|
|
1513
1251
|
refreshAntigravityOAuthToken,
|
|
@@ -607,7 +607,11 @@ function createDockerToolChannel(runGrant, backend) {
|
|
|
607
607
|
|
|
608
608
|
export {
|
|
609
609
|
SANDBOX_WORKSPACE_ROOT,
|
|
610
|
+
SANDBOX_HELPER_PATH,
|
|
610
611
|
buildSandboxHelperUploadArgv,
|
|
612
|
+
SANDBOX_OUTPUT_LIMITS,
|
|
613
|
+
buildWorkspaceHelperSource,
|
|
614
|
+
parseToolOutput,
|
|
611
615
|
buildPrimaryExecutionTicket,
|
|
612
616
|
dockerExecutionToolNames,
|
|
613
617
|
createDockerToolChannel
|