nolo-cli 0.77.0 → 0.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/{_executeModel-G6BRN2BO.js → _executeModel-W26HVI75.js} +31 -31
- package/{action-7GHFPDSQ.js → action-6DXQGJMX.js} +7 -7
- package/{addContentAction-ZNVB2NOV.js → addContentAction-I7VX5SAC.js} +5 -5
- package/{addDialogAgentAction-CIDFWATM.js → addDialogAgentAction-OJSFV7DZ.js} +4 -4
- package/{agentDeleteCommand-C5JTDBIX.js → agentDeleteCommand-XNFWCKBH.js} +16 -16
- package/{agentEmailCommands-AYSYNUSH.js → agentEmailCommands-XYOZGQ6F.js} +38 -38
- package/{agentGrantCommands-R3VQEZJR.js → agentGrantCommands-YW6PQAQ2.js} +2 -2
- package/{agentListCommands-CVFL3P3D.js → agentListCommands-DFWFU6XO.js} +24 -18
- package/{agentMachineCommands-2EPX7IYC.js → agentMachineCommands-2EANXBQS.js} +16 -16
- package/{agentProviderCommands-EHR3PV2V.js → agentProviderCommands-ZBYHGTGY.js} +1 -1
- package/{agentPullCommand-U73W5IBM.js → agentPullCommand-GLOOXJ2E.js} +2 -2
- package/{agentRecordCommands-DPZVHOOA.js → agentRecordCommands-DRY5LE4F.js} +37 -37
- package/{agentRunCommand-BE53VNNN.js → agentRunCommand-YONMYI4X.js} +38 -38
- package/{agentRuntimeLocal-BPN5IOFT.js → agentRuntimeLocal-2JFG4HDU.js} +12 -12
- package/{agentSlice-PYJFXGZL.js → agentSlice-ZNLGFUB5.js} +5 -5
- package/{appDeleteCommands-TREMNXCA.js → appDeleteCommands-2UN4N2NR.js} +17 -17
- package/{appDeployCommands-7FYCMERT.js → appDeployCommands-37D74KRR.js} +17 -17
- package/{appDeployStatusCommands-7LAYH7IX.js → appDeployStatusCommands-QBLWL2IA.js} +17 -17
- package/{appGetCommands-BONTQ2XH.js → appGetCommands-6KXIDF2T.js} +17 -17
- package/{appListCommands-BYIELWUL.js → appListCommands-G2WFGEWQ.js} +17 -17
- package/{authCommand-J5C7GS33.js → authCommand-V2DJ7DB7.js} +75 -10
- package/{authCommands-VOTT6XWX.js → authCommands-RGOGCPP6.js} +2 -2
- package/{builtinSkillRegistry-YITVDLWG.js → builtinSkillRegistry-WBGYKIAZ.js} +5 -5
- package/{chatQueueReduxAdapter-PIOXZBGH.js → chatQueueReduxAdapter-XCJHIY3R.js} +12 -12
- package/{chunk-JT7FRJP5.js → chunk-2ADBVBEM.js} +2 -2
- package/{chunk-6LWO3QQS.js → chunk-2AYMFHUG.js} +2 -2
- package/{chunk-RHB6OCZS.js → chunk-36ZJDN6A.js} +5 -5
- package/{chunk-GXWEF4IZ.js → chunk-3CR2LC6X.js} +1 -1
- package/{chunk-UQ45IHLM.js → chunk-3R5PH4IP.js} +1 -1
- package/{chunk-UQYEVBMM.js → chunk-4BYPU626.js} +210 -193
- package/{chunk-PHDKTASK.js → chunk-4DRWWIOL.js} +1 -1
- package/{chunk-5DAMTON3.js → chunk-576IMUGH.js} +1 -1
- package/{chunk-XIYOAH3S.js → chunk-5DFFKASO.js} +3 -3
- package/{chunk-5XTOKQLW.js → chunk-5UTFL4QJ.js} +6 -2
- package/{chunk-JRFQPOPS.js → chunk-5V4NJHRM.js} +5 -5
- package/{chunk-US463UAD.js → chunk-6BEA566T.js} +2 -2
- package/{chunk-UINEAQ2R.js → chunk-6D6VBVEW.js} +1 -1
- package/{chunk-FSISQCCB.js → chunk-74UCTXK3.js} +78 -31
- package/{chunk-7TEU3WX2.js → chunk-7MYYE7WX.js} +8 -8
- package/{chunk-3DZIWHJ6.js → chunk-A2C4AKKM.js} +1 -1
- package/{chunk-2KDR4CWE.js → chunk-BYMV6QZG.js} +24 -1
- package/{chunk-XCSSFPTB.js → chunk-CLI4LFSM.js} +1 -1
- package/{chunk-2XEVK4BT.js → chunk-DPQ2WVBY.js} +1 -1
- package/{chunk-PGO7O65Q.js → chunk-EXTJ4GXV.js} +4 -4
- package/{chunk-VEJ4BOQV.js → chunk-F2CGG72C.js} +2 -2
- package/{chunk-UDK3ZSMN.js → chunk-FQYMLZ6C.js} +5 -5
- package/{chunk-BJIRLHJR.js → chunk-GII32WZW.js} +1 -0
- package/{chunk-LGSXBNWH.js → chunk-GRYGRGPS.js} +3 -3
- package/{chunk-ACFF7U3F.js → chunk-HMEMJ7GH.js} +100 -20
- package/{chunk-OZX2IPKM.js → chunk-HQCSU3DI.js} +1 -1
- package/{chunk-FWGPT6VI.js → chunk-HYZHJ5GW.js} +2 -2
- package/{chunk-OAJRZ35U.js → chunk-IIKPWSPX.js} +1 -1
- package/{chunk-MRT4KARW.js → chunk-JBBZ5KUM.js} +9 -9
- package/{chunk-KC5FAHVS.js → chunk-JEDZAO7L.js} +1 -1
- package/{chunk-LSV2BOJL.js → chunk-JTK3TJYV.js} +1 -1
- package/{chunk-OHUU52T3.js → chunk-L2ICPOAL.js} +1 -1
- package/{chunk-UUVQJZ75.js → chunk-N3OAPEZE.js} +3 -3
- package/{chunk-JITSBA52.js → chunk-PH5J5VUY.js} +2 -2
- package/{chunk-JYYZCK2Z.js → chunk-QFMFJZLO.js} +1 -1
- package/{chunk-6HCLDVEI.js → chunk-QHETQ3KI.js} +1 -1
- package/{chunk-IZAWJCG7.js → chunk-RZANZZL2.js} +1 -1
- package/{chunk-SPAQ4PVV.js → chunk-SAFZABH7.js} +1 -1
- package/{chunk-TIJK4PBP.js → chunk-SMZSWB44.js} +1 -1
- package/{chunk-HJKGQPYF.js → chunk-TL6L5XUT.js} +1 -1
- package/{chunk-D4TJCP3V.js → chunk-TVNI5FLG.js} +4 -4
- package/{chunk-5EJZGJS2.js → chunk-UA5S3LQQ.js} +3 -3
- package/{chunk-IEILL33V.js → chunk-UMGHLCDZ.js} +20 -16
- package/{chunk-HLRYI5XO.js → chunk-UTCCPWB2.js} +3 -3
- package/{chunk-KT6LENVP.js → chunk-VHJLQHPQ.js} +2 -2
- package/{chunk-DQD4PYQY.js → chunk-WXPVOQD7.js} +32 -30
- package/{chunk-AGX5TE5W.js → chunk-XKQJJK4F.js} +1 -1
- package/{chunk-GIG262ZG.js → chunk-XMGHGEN6.js} +1 -1
- package/{chunk-4PAFEM6V.js → chunk-XTUY5EL4.js} +16 -12
- package/{chunk-OKCTLCKS.js → chunk-YOXYA2GU.js} +1 -1
- package/{chunk-RJ3TDODF.js → chunk-ZAB3A45K.js} +12 -0
- package/{chunk-YZHP76TR.js → chunk-ZBT3WNBK.js} +1 -1
- package/{contentThunks-RYZTYVUV.js → contentThunks-VURN3DFW.js} +13 -13
- package/{createAgentAutomationAction-GUBB2LWY.js → createAgentAutomationAction-QZAAY77R.js} +13 -13
- package/{createDialogAction-577E6FB2.js → createDialogAction-CHGXVTAC.js} +15 -15
- package/{createPageAction-4CNYIRJ5.js → createPageAction-IOGAFIN7.js} +13 -13
- package/{dbSlice-4CUQE35F.js → dbSlice-YXQ6RYIH.js} +4 -4
- package/{dialogCommands-U4RQIRKK.js → dialogCommands-XREAP6WQ.js} +18 -18
- package/{dialogSlice-YXMORK5T.js → dialogSlice-DOPGWGS4.js} +12 -12
- package/{docCreateCommands-AXXATGCL.js → docCreateCommands-3PYZGSCL.js} +16 -16
- package/{docDeleteCommands-CRPIFYFA.js → docDeleteCommands-3Y6MU44Q.js} +17 -17
- package/{docReadCommands-4IMZXFDR.js → docReadCommands-UBANMAFR.js} +16 -16
- package/{docStore-3U5FBN2O.js → docStore-SYYFBENY.js} +5 -5
- package/{docUpdateCommands-RRPRZXCE.js → docUpdateCommands-4GK2X6BN.js} +16 -16
- package/{handleSendMessageAction-BQIRKHC6.js → handleSendMessageAction-NPVTY2GE.js} +12 -12
- package/index.js +76 -76
- package/{machineCommands-RNBADNTE.js → machineCommands-LES3MCTZ.js} +36 -36
- package/{machineWsRunDispatch-7J6WNF57.js → machineWsRunDispatch-FZLFAUUP.js} +36 -36
- package/{memberThunks-N35XAOC6.js → memberThunks-5T4J6KXQ.js} +5 -5
- package/{offlineMarxistsAgentCommand-GEH6SNNA.js → offlineMarxistsAgentCommand-JEWCIAWM.js} +1 -1
- package/package.json +1 -1
- package/{providerPresetApply-SAJAK7C3.js → providerPresetApply-OCWWKBSD.js} +1 -1
- package/{providerRegistry-COD57OVY.js → providerRegistry-ZJQU7AJ7.js} +1 -1
- package/{read-2PV4PN2E.js → read-M2Q6WEKB.js} +3 -3
- package/{readDocTool-FGK5XGAW.js → readDocTool-T37P3YPB.js} +1 -1
- package/{readlineWorkspace-ZO2W3N4U.js → readlineWorkspace-OZBKHD4T.js} +112 -81
- package/{removeDialogAgentAction-O2POGBOE.js → removeDialogAgentAction-HB3JBVAI.js} +7 -7
- package/{runAgentClientLoop-KJZ7DK6D.js → runAgentClientLoop-3NDADLVE.js} +29 -29
- package/{setDialogExtraReferencesAction-KPSVVY3C.js → setDialogExtraReferencesAction-4XLHRV37.js} +5 -5
- package/{setPrimaryDialogAgentAction-RMJETONI.js → setPrimaryDialogAgentAction-C3JOFC4W.js} +7 -7
- package/{settingSlice-I6MTTNDX.js → settingSlice-CZRURSTH.js} +6 -6
- package/{spaceCommands-VZRYKVWZ.js → spaceCommands-ENYCUUZH.js} +16 -16
- package/{streamAgentChatTurn-L3SO4N2R.js → streamAgentChatTurn-634OFUSR.js} +32 -32
- package/{switchDialogAgentAction-OQSGWVQQ.js → switchDialogAgentAction-C6KVUKJP.js} +4 -4
- package/{tableCommands-SUNTHAYX.js → tableCommands-O6NWHFKV.js} +1 -1
- package/{toolApiClient-VGYUB4P5.js → toolApiClient-7PSIFQPJ.js} +2 -2
- package/{tools-GRV74JPO.js → tools-ILBLCF7D.js} +26 -26
- package/{tuiSummaryLlmCaller-ATDKMGI5.js → tuiSummaryLlmCaller-LFUBZKXK.js} +7 -7
- package/{updateCommands-Y363MC3L.js → updateCommands-2M74UL7P.js} +2 -2
- package/{updateDialogTitleAction-KRUWX66L.js → updateDialogTitleAction-RKFET73N.js} +13 -13
|
@@ -5,32 +5,32 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3R5PH4IP.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-XKQJJK4F.js";
|
|
13
|
+
import "./chunk-UTCCPWB2.js";
|
|
14
|
+
import "./chunk-IIKPWSPX.js";
|
|
15
|
+
import "./chunk-SAFZABH7.js";
|
|
16
16
|
import "./chunk-VF4K2QE6.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-4BYPU626.js";
|
|
18
|
+
import "./chunk-SMZSWB44.js";
|
|
19
19
|
import "./chunk-Q5FJJ6XI.js";
|
|
20
20
|
import "./chunk-ZNFJWEN4.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-QHETQ3KI.js";
|
|
22
22
|
import "./chunk-CQ3WA2NE.js";
|
|
23
23
|
import "./chunk-5ZUL4CUO.js";
|
|
24
24
|
import "./chunk-N7J63Q6C.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-N3OAPEZE.js";
|
|
26
26
|
import "./chunk-PUOC4YRO.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-YOXYA2GU.js";
|
|
28
28
|
import "./chunk-CJCJF5XB.js";
|
|
29
29
|
import "./chunk-MJHQ3NRV.js";
|
|
30
30
|
import "./chunk-K7M3MWCE.js";
|
|
31
31
|
import "./chunk-2MBTWINN.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-F2CGG72C.js";
|
|
33
|
+
import "./chunk-VHJLQHPQ.js";
|
|
34
34
|
import "./chunk-PSCNXBYA.js";
|
|
35
35
|
import "./chunk-ND2J3NRB.js";
|
|
36
36
|
import "./chunk-BYXBJQAS.js";
|
|
@@ -51,16 +51,16 @@ import "./chunk-OLZBQWZU.js";
|
|
|
51
51
|
import "./chunk-WS22FPWT.js";
|
|
52
52
|
import "./chunk-ASGDO77C.js";
|
|
53
53
|
import "./chunk-KX6YBIHG.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-4DRWWIOL.js";
|
|
55
55
|
import "./chunk-UAD2WT54.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-UA5S3LQQ.js";
|
|
57
57
|
import "./chunk-VMFTFOWF.js";
|
|
58
58
|
import "./chunk-WWC7I6TA.js";
|
|
59
59
|
import "./chunk-ABQYVJBJ.js";
|
|
60
60
|
import "./chunk-QSJ3HFEF.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-L2ICPOAL.js";
|
|
62
|
+
import "./chunk-TL6L5XUT.js";
|
|
63
|
+
import "./chunk-GII32WZW.js";
|
|
64
64
|
import "./chunk-UKWGR5SS.js";
|
|
65
65
|
import "./chunk-QOKAKDPE.js";
|
|
66
66
|
import "./chunk-OW765XBU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defaultOpenBrowser
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6D6VBVEW.js";
|
|
4
4
|
import {
|
|
5
5
|
generateCloudflareEmailRoutingToken,
|
|
6
6
|
parseFlagWithOptionalValue,
|
|
@@ -71,8 +71,10 @@ import {
|
|
|
71
71
|
} from "./chunk-HNMXYYJR.js";
|
|
72
72
|
import {
|
|
73
73
|
buildEnvFromProfile,
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
getProfileOAuthSync,
|
|
75
|
+
loadProfileConfig,
|
|
76
|
+
saveProfileOAuthSync
|
|
77
|
+
} from "./chunk-BYMV6QZG.js";
|
|
76
78
|
import "./chunk-A7GB5UGH.js";
|
|
77
79
|
import "./chunk-OLZBQWZU.js";
|
|
78
80
|
import "./chunk-ASGDO77C.js";
|
|
@@ -701,9 +703,8 @@ async function runDevinOAuthLogin(deps = {}) {
|
|
|
701
703
|
}
|
|
702
704
|
|
|
703
705
|
// packages/cli/oauth/authCommand.ts
|
|
704
|
-
var SYNC_HELP_LINE = ` --sync-to-server After local save, push the credential to your nolo server
|
|
705
|
-
|
|
706
|
-
--no-sync-to-server Skip server sync even when server config is available.
|
|
706
|
+
var SYNC_HELP_LINE = ` --sync-to-server After local save, push the credential to your nolo server and remember this choice.
|
|
707
|
+
--no-sync-to-server Skip server sync and remember this choice (keeps credentials local only).
|
|
707
708
|
--sync-only Push $NOLO_HOME/credentials/<provider>.json (or ~/.nolo/credentials when NOLO_HOME is unset) to the server without re-login.`;
|
|
708
709
|
var CHATGPT_HELP_TEXT = `Authorize nolo-cli to call the OpenAI Codex / ChatGPT Plus API on your behalf.
|
|
709
710
|
|
|
@@ -942,6 +943,7 @@ async function syncCredentialToServer(provider, credential, deps) {
|
|
|
942
943
|
});
|
|
943
944
|
if (res.ok) {
|
|
944
945
|
output.log(`[nolo] Synced to ${serverOrigin}`);
|
|
946
|
+
output.log(`[nolo] \u7F51\u9875\u7AEF\u73B0\u5728\u53EF\u4EE5\u4F7F\u7528\u8BE5\u8BA2\u9605\u4E86\u3002`);
|
|
945
947
|
} else {
|
|
946
948
|
let errorDetail = "";
|
|
947
949
|
try {
|
|
@@ -973,9 +975,6 @@ async function runAuthProviderCommand(provider, args, _ctx, deps = {}) {
|
|
|
973
975
|
const useBrowser = args.includes("--browser");
|
|
974
976
|
const noBrowser = args.includes("--no-browser") || deps.noBrowserByDefault;
|
|
975
977
|
const syncOnly = args.includes("--sync-only");
|
|
976
|
-
const syncConfigAvailable = !!(deps.resolveServerSyncConfig ?? resolveServerSyncConfig)();
|
|
977
|
-
const explicitSync = syncOnly || args.includes("--sync-to-server") || process.env.NOLO_OAUTH_AUTO_SYNC === "1";
|
|
978
|
-
const syncToServer = explicitSync;
|
|
979
978
|
const generateToken = args.includes("--generate-token");
|
|
980
979
|
const writeToEnvRaw = parseFlagWithOptionalValue(args, "--write-to-env");
|
|
981
980
|
const writeToEnvPath = typeof writeToEnvRaw === "string" ? writeToEnvRaw : writeToEnvRaw === true ? ".env" : void 0;
|
|
@@ -1058,7 +1057,73 @@ Store it as CLOUDFLARE_EMAIL_ROUTING_API_TOKEN:
|
|
|
1058
1057
|
output.log(
|
|
1059
1058
|
`[nolo] ${provider} authorization saved` + (accountLabel ? ` for ${accountLabel}` : "") + `.`
|
|
1060
1059
|
);
|
|
1061
|
-
|
|
1060
|
+
const hasExplicitNoSync = args.includes("--no-sync-to-server");
|
|
1061
|
+
const hasExplicitSync = args.includes("--sync-to-server");
|
|
1062
|
+
const envAutoSync = process.env.NOLO_OAUTH_AUTO_SYNC;
|
|
1063
|
+
const getOAuthSync = deps.getOAuthSyncPreference ?? ((p) => getProfileOAuthSync(p));
|
|
1064
|
+
const setOAuthSync = deps.setOAuthSyncPreference ?? ((p, s) => {
|
|
1065
|
+
saveProfileOAuthSync(p, s);
|
|
1066
|
+
});
|
|
1067
|
+
let shouldSync = false;
|
|
1068
|
+
if (hasExplicitNoSync || envAutoSync === "0") {
|
|
1069
|
+
if (hasExplicitNoSync) {
|
|
1070
|
+
setOAuthSync(provider, false);
|
|
1071
|
+
}
|
|
1072
|
+
shouldSync = false;
|
|
1073
|
+
} else if (hasExplicitSync || envAutoSync === "1") {
|
|
1074
|
+
if (hasExplicitSync) {
|
|
1075
|
+
setOAuthSync(provider, true);
|
|
1076
|
+
}
|
|
1077
|
+
shouldSync = true;
|
|
1078
|
+
} else {
|
|
1079
|
+
const remembered = getOAuthSync(provider);
|
|
1080
|
+
if (remembered !== void 0) {
|
|
1081
|
+
shouldSync = remembered;
|
|
1082
|
+
} else {
|
|
1083
|
+
const syncConfig = (deps.resolveServerSyncConfig ?? resolveServerSyncConfig)();
|
|
1084
|
+
if (!syncConfig) {
|
|
1085
|
+
shouldSync = false;
|
|
1086
|
+
output.log(
|
|
1087
|
+
`[nolo] \u672A\u914D\u7F6E\u670D\u52A1\u5668\u3002\u5982\u9700\u5728\u7F51\u9875\u7AEF\u4F7F\u7528\uFF0C\u8BF7\u5148\u8FD0\u884C nolo login\uFF0C\u518D\u8FD0\u884C nolo auth ${provider} --sync-only`
|
|
1088
|
+
);
|
|
1089
|
+
} else {
|
|
1090
|
+
const isTTY = typeof deps.isTTY === "function" ? deps.isTTY() : deps.isTTY ?? Boolean(process.stdin.isTTY && process.stdout.isTTY);
|
|
1091
|
+
if (isTTY) {
|
|
1092
|
+
const question = `\u540C\u6B65\u5230 ${syncConfig.serverOrigin}\uFF0C\u8BA9\u7F51\u9875\u7AEF\u4E5F\u80FD\u4F7F\u7528\u8FD9\u4E2A ${provider} \u8BA2\u9605\uFF1F\u51ED\u8BC1\u52A0\u5BC6\u5B58\u50A8\uFF0C\u53EF\u968F\u65F6 nolo auth ${provider} --no-sync-to-server \u5173\u95ED [Y/n] `;
|
|
1093
|
+
let answer;
|
|
1094
|
+
if (deps.promptOAuthSync) {
|
|
1095
|
+
answer = await deps.promptOAuthSync(question);
|
|
1096
|
+
} else if (deps.readLine) {
|
|
1097
|
+
const raw = await deps.readLine(question);
|
|
1098
|
+
const trimmed = raw.trim().toLowerCase();
|
|
1099
|
+
answer = trimmed === "" || trimmed === "y" || trimmed === "yes";
|
|
1100
|
+
} else {
|
|
1101
|
+
const readline = await import("node:readline");
|
|
1102
|
+
const rl = readline.createInterface({
|
|
1103
|
+
input: process.stdin,
|
|
1104
|
+
output: process.stdout
|
|
1105
|
+
});
|
|
1106
|
+
const raw = await new Promise((resolve) => {
|
|
1107
|
+
rl.question(question, (ans) => {
|
|
1108
|
+
rl.close();
|
|
1109
|
+
resolve(ans);
|
|
1110
|
+
});
|
|
1111
|
+
});
|
|
1112
|
+
const trimmed = raw.trim().toLowerCase();
|
|
1113
|
+
answer = trimmed === "" || trimmed === "y" || trimmed === "yes";
|
|
1114
|
+
}
|
|
1115
|
+
setOAuthSync(provider, answer);
|
|
1116
|
+
shouldSync = answer;
|
|
1117
|
+
} else {
|
|
1118
|
+
shouldSync = false;
|
|
1119
|
+
output.log(
|
|
1120
|
+
`[nolo] \u672A\u540C\u6B65\u51ED\u636E\u5230\u670D\u52A1\u5668\u3002\u5982\u9700\u7F51\u9875\u7AEF\u4F7F\u7528\uFF0C\u8BF7\u8FD0\u884C: nolo auth ${provider} --sync-to-server\uFF08\u6216 --sync-only\uFF09`
|
|
1121
|
+
);
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
if (shouldSync) {
|
|
1062
1127
|
await syncCredentialToServer(provider, credential, deps);
|
|
1063
1128
|
}
|
|
1064
1129
|
return 0;
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
runLogoutCommand,
|
|
8
8
|
runWhoamiCommand,
|
|
9
9
|
saveTokenLogin
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6D6VBVEW.js";
|
|
11
11
|
import "./chunk-ESHYE7WU.js";
|
|
12
12
|
import "./chunk-JBTJAPUF.js";
|
|
13
13
|
import "./chunk-2F7RJC6L.js";
|
|
14
14
|
import "./chunk-GLKOYSRU.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-BYMV6QZG.js";
|
|
16
16
|
import "./chunk-A7GB5UGH.js";
|
|
17
17
|
import "./chunk-OLZBQWZU.js";
|
|
18
18
|
import "./chunk-VMFTFOWF.js";
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
resolveBuiltinSkillEntry,
|
|
8
8
|
resolveBuiltinSkillPage,
|
|
9
9
|
resolveBuiltinSkillSlug
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-2ADBVBEM.js";
|
|
11
|
+
import "./chunk-CLI4LFSM.js";
|
|
12
12
|
import "./chunk-Q554LLSI.js";
|
|
13
13
|
import "./chunk-KHCLMKZZ.js";
|
|
14
14
|
import "./chunk-O6OSWFZQ.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-RZANZZL2.js";
|
|
16
16
|
import "./chunk-VMFTFOWF.js";
|
|
17
17
|
import "./chunk-WWC7I6TA.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-TL6L5XUT.js";
|
|
19
|
+
import "./chunk-GII32WZW.js";
|
|
20
20
|
import "./chunk-3EUW3WEO.js";
|
|
21
21
|
import "./chunk-U6VC4MU4.js";
|
|
22
22
|
import "./chunk-G3SUCT4W.js";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk-YPREESF4.js";
|
|
5
5
|
import {
|
|
6
6
|
handleSendMessage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HMEMJ7GH.js";
|
|
8
8
|
import "./chunk-MC4XLIJ7.js";
|
|
9
9
|
import "./chunk-3BMYXEUW.js";
|
|
10
10
|
import "./chunk-YYLHWIW6.js";
|
|
11
11
|
import "./chunk-AGGIDPCZ.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-TVNI5FLG.js";
|
|
13
|
+
import "./chunk-6BEA566T.js";
|
|
14
14
|
import "./chunk-5RGU3J7P.js";
|
|
15
15
|
import {
|
|
16
16
|
clearPendingUserInputQueue,
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
} from "./chunk-6YTOJY35.js";
|
|
22
22
|
import "./chunk-M76ECQRD.js";
|
|
23
23
|
import "./chunk-YDH3FDFQ.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-F2CGG72C.js";
|
|
25
|
+
import "./chunk-VHJLQHPQ.js";
|
|
26
26
|
import "./chunk-PSCNXBYA.js";
|
|
27
27
|
import "./chunk-ND2J3NRB.js";
|
|
28
28
|
import "./chunk-BYXBJQAS.js";
|
|
@@ -35,20 +35,20 @@ import "./chunk-HNMXYYJR.js";
|
|
|
35
35
|
import "./chunk-7S4YWN7P.js";
|
|
36
36
|
import "./chunk-WS22FPWT.js";
|
|
37
37
|
import "./chunk-ASGDO77C.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-PH5J5VUY.js";
|
|
39
39
|
import "./chunk-Y5GCAMGP.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-RZANZZL2.js";
|
|
41
41
|
import "./chunk-KX6YBIHG.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-4DRWWIOL.js";
|
|
43
43
|
import "./chunk-UAD2WT54.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-UA5S3LQQ.js";
|
|
45
45
|
import "./chunk-VMFTFOWF.js";
|
|
46
46
|
import "./chunk-WWC7I6TA.js";
|
|
47
47
|
import "./chunk-ABQYVJBJ.js";
|
|
48
48
|
import "./chunk-QSJ3HFEF.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-L2ICPOAL.js";
|
|
50
|
+
import "./chunk-TL6L5XUT.js";
|
|
51
|
+
import "./chunk-GII32WZW.js";
|
|
52
52
|
import "./chunk-UKWGR5SS.js";
|
|
53
53
|
import "./chunk-QOKAKDPE.js";
|
|
54
54
|
import "./chunk-OW765XBU.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
buildBuiltinObjectSkillDbKey,
|
|
7
7
|
buildBuiltinObjectSkillPageContent,
|
|
8
8
|
buildCodeWorkDiscipline
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CLI4LFSM.js";
|
|
10
10
|
import {
|
|
11
11
|
buildSkillDocMarkdown,
|
|
12
12
|
resolvePageSkillMetadata
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-O6OSWFZQ.js";
|
|
17
17
|
import {
|
|
18
18
|
nolotusId
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RZANZZL2.js";
|
|
20
20
|
import {
|
|
21
21
|
asNonEmptyStringArray
|
|
22
22
|
} from "./chunk-VMFTFOWF.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-YYLHWIW6.js";
|
|
4
4
|
import {
|
|
5
5
|
compareAgentSelection
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YOXYA2GU.js";
|
|
7
7
|
import {
|
|
8
8
|
isAntigravityOAuthAgent
|
|
9
9
|
} from "./chunk-MJHQ3NRV.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
isOwnedAgentKey,
|
|
15
15
|
ownedAgentKey,
|
|
16
16
|
publicAgentKey
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GII32WZW.js";
|
|
18
18
|
import {
|
|
19
19
|
fnv1a32Hex
|
|
20
20
|
} from "./chunk-UKWGR5SS.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UMGHLCDZ.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WXPVOQD7.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4BYPU626.js";
|
|
11
11
|
import {
|
|
12
12
|
applyToolSurfaceConstraints
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YOXYA2GU.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveLocalRuntimeEnvFromPolicy
|
|
16
16
|
} from "./chunk-HVURBGF3.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
} from "./chunk-VMFTFOWF.js";
|
|
36
36
|
import {
|
|
37
37
|
ownedAgentKey
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-GII32WZW.js";
|
|
39
39
|
import {
|
|
40
40
|
isRecord
|
|
41
41
|
} from "./chunk-KUG52IAP.js";
|