nolo-cli 0.102.1 → 0.102.2
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-WLFACVFR.js → _executeModel-B6SS2ISV.js} +32 -32
- package/{action-PNPQLJHG.js → action-C4KMTCJF.js} +2 -2
- package/{addContentAction-RBOUD7SJ.js → addContentAction-7TNIOVZI.js} +6 -6
- package/{addDialogAgentAction-IODCR6TB.js → addDialogAgentAction-O47J3MVW.js} +5 -5
- package/{agentDeleteCommand-XHHDYJ3U.js → agentDeleteCommand-MEKEAJS6.js} +36 -36
- package/{agentEmailCommands-GJ2TE3CV.js → agentEmailCommands-NCQSCDX7.js} +36 -36
- package/{agentListCommands-B3YHJQNM.js → agentListCommands-VLNQH2BR.js} +19 -19
- package/{agentMachineCommands-KQLRJF5O.js → agentMachineCommands-ZYKZGX65.js} +17 -17
- package/{agentRecordCommands-LXDIXYQM.js → agentRecordCommands-2INKPT2O.js} +36 -36
- package/{agentRunCommand-P2KLVSYL.js → agentRunCommand-2SZBC7BP.js} +36 -36
- package/{agentRuntimeLocal-SXYAKX3A.js → agentRuntimeLocal-7VIX3R3R.js} +14 -14
- package/{agentSlice-WBSSBKBB.js → agentSlice-4JIT2XG4.js} +7 -7
- package/{appDeleteCommands-4EX37I4K.js → appDeleteCommands-YLCAVP4I.js} +18 -18
- package/{appDeployCommands-SDBR3J75.js → appDeployCommands-7PQPIIEL.js} +18 -18
- package/{appDeployStatusCommands-764PQNYN.js → appDeployStatusCommands-Z3YBCYU3.js} +18 -18
- package/{appGetCommands-BBCN3XJC.js → appGetCommands-MCY6JLD3.js} +18 -18
- package/{appListCommands-OGTABCS3.js → appListCommands-O6QDXYKT.js} +18 -18
- package/{authCommand-NHDLY3IB.js → authCommand-I6LVUQKM.js} +2 -2
- package/{authCommands-UDBJVSZU.js → authCommands-LWLOZETU.js} +2 -2
- package/{builtinSkillRegistry-MAR5LPAC.js → builtinSkillRegistry-GFY77VRN.js} +4 -4
- package/{chunk-UM4PH574.js → chunk-22RVE2PC.js} +1 -1
- package/{chunk-XFUBXRVI.js → chunk-2H6SEVDS.js} +1 -1
- package/{chunk-PCF3QU5Q.js → chunk-2K4TM6AW.js} +1 -1
- package/{chunk-5LTAPGPV.js → chunk-2K54PIZY.js} +2 -2
- package/{chunk-VEYL5MO5.js → chunk-4G4C5SXT.js} +3 -3
- package/{chunk-WCGC6S77.js → chunk-4HTMUQIZ.js} +2 -2
- package/{chunk-4FFUDT6D.js → chunk-56HJ2LAA.js} +17 -7
- package/{chunk-E73ON47R.js → chunk-5EPHWMP5.js} +2 -2
- package/{chunk-DNHENQ3T.js → chunk-5UQRASYE.js} +5 -5
- package/{chunk-7EPXUZOX.js → chunk-6UEJDFF7.js} +2 -2
- package/{chunk-5OA5HMTL.js → chunk-7JWCVINR.js} +1 -1
- package/{chunk-4YSOUKUR.js → chunk-7KWFIKKK.js} +1 -1
- package/{chunk-6O4IK4V2.js → chunk-CUF4MYKI.js} +1 -1
- package/{chunk-PTDYOADJ.js → chunk-D2GQE6AF.js} +1 -1
- package/{chunk-OYPMWCIQ.js → chunk-DLXHN5XZ.js} +9 -9
- package/{chunk-KLUBZL6X.js → chunk-ERFIIS4C.js} +1 -1
- package/{chunk-46Y5D2BZ.js → chunk-EV235ILT.js} +1 -1
- package/{chunk-HRYFI64G.js → chunk-F6DFZLO4.js} +3 -3
- package/{chunk-FJ5BGMNM.js → chunk-FBTNYNAL.js} +1 -1
- package/{chunk-EHER73LN.js → chunk-GCTKWVLU.js} +1 -1
- package/{chunk-U6IGAJT4.js → chunk-GJ647AYV.js} +7 -7
- package/{chunk-SEB5HAUU.js → chunk-HD3S2F7U.js} +1 -1
- package/{chunk-LKERWYPX.js → chunk-IRZTHHNM.js} +2 -2
- package/{chunk-V5OWQOJZ.js → chunk-K4URP6NQ.js} +1 -1
- package/{chunk-7TKWCTSY.js → chunk-KNVDNYH7.js} +2 -2
- package/{chunk-7MMSLEPA.js → chunk-LB5A6JTU.js} +3 -3
- package/{chunk-TVCAR26G.js → chunk-MSFZ7FMO.js} +1 -1
- package/{chunk-XIRXOUBV.js → chunk-NGO72MN2.js} +6 -6
- package/{chunk-CJN5OERD.js → chunk-NMMU6M4Z.js} +22 -22
- package/{chunk-UJXNKP5V.js → chunk-O7SVKKLY.js} +129 -14
- package/{chunk-SNMQMOD2.js → chunk-Q7O72MF5.js} +1 -1
- package/{chunk-GARACBQB.js → chunk-RILRSUGC.js} +1 -1
- package/{chunk-AOJB5QYD.js → chunk-S7HQBOEA.js} +10 -10
- package/{chunk-CHNCM7EF.js → chunk-TAPMD4SO.js} +7 -7
- package/{chunk-SEA64CDY.js → chunk-TSXNDTXL.js} +1 -1
- package/{chunk-GUYEMTRK.js → chunk-TTMNMJVI.js} +45 -32
- package/{chunk-W72ISAKC.js → chunk-UNAOTLKO.js} +1 -1
- package/{chunk-PH275YDS.js → chunk-V3R3UZ4F.js} +24 -17
- package/{chunk-N4QIAW6W.js → chunk-V6YASAZR.js} +1 -1
- package/{chunk-AUDNYVRC.js → chunk-VLGL7FOL.js} +1 -1
- package/{chunk-ODTDLPBV.js → chunk-VPNDYFUB.js} +3 -3
- package/{chunk-NTDEBTK5.js → chunk-XMUZHRSB.js} +6 -6
- package/{chunk-Z56IK6UT.js → chunk-XTM4WSXT.js} +8 -8
- package/{chunk-ADBZWMFB.js → chunk-YDO5ERB4.js} +1 -1
- package/{chunk-U7XXEI5R.js → chunk-YGCJITP3.js} +2 -2
- package/{chunk-YXZYNMYK.js → chunk-Z5X5MD6D.js} +2 -2
- package/{chunk-G53AA7RW.js → chunk-ZQZZJIQI.js} +63 -14
- package/{commandRegistry-TDXN5OP7.js → commandRegistry-X7FA6WJQ.js} +50 -50
- package/{contentThunks-F2BNWOZV.js → contentThunks-CH5Z3XAD.js} +15 -15
- package/{createAgentAutomationAction-5N2NRNR7.js → createAgentAutomationAction-4MV3MWVE.js} +15 -15
- package/{createDialogAction-DSEG4L5Y.js → createDialogAction-BYCJKWFY.js} +18 -18
- package/{createPageAction-K32FYQPE.js → createPageAction-XWDTQHFL.js} +16 -16
- package/{dbSlice-Q25STFGJ.js → dbSlice-QOLNF5GN.js} +5 -5
- package/{deleteFile-AJ2EZMHT.js → deleteFile-KESP65GC.js} +2 -2
- package/{dialogCommands-ODG2OKLO.js → dialogCommands-NNSKMYZR.js} +19 -19
- package/{dialogSlice-4GBOUTGL.js → dialogSlice-LUUVLJKZ.js} +14 -14
- package/{docCreateCommands-Q6FQUHUF.js → docCreateCommands-BKCYZTJW.js} +19 -19
- package/{docDeleteCommands-N224CFZL.js → docDeleteCommands-AJDU5BUV.js} +20 -20
- package/{docReadCommands-CJWAEAB4.js → docReadCommands-PPI2UAIW.js} +19 -19
- package/{docStore-ZTYSP3YE.js → docStore-RRAGFCNQ.js} +6 -6
- package/{docUpdateCommands-OPG6ZY4H.js → docUpdateCommands-62WIRKAN.js} +19 -19
- package/{fetchMessages-I5ICDDHM.js → fetchMessages-5L7OVM5Y.js} +2 -2
- package/{handleSendMessageAction-XFZH2TQS.js → handleSendMessageAction-CW5HSH4E.js} +14 -14
- package/index.js +3 -3
- package/{localDialogRead-ZHZ3KXDM.js → localDialogRead-O5A26FDK.js} +1 -1
- package/{machineCommands-KMU3D5I5.js → machineCommands-FG6HBFB7.js} +35 -35
- package/{machineWsRunDispatch-6GJ5YOSW.js → machineWsRunDispatch-7JCANNGT.js} +35 -35
- package/{memberThunks-R75S3RWP.js → memberThunks-25K6DDRA.js} +6 -6
- package/package.json +1 -1
- package/{read-SRQMNO26.js → read-PJIT2YEJ.js} +2 -2
- package/{readDocTool-RC3JUNJ2.js → readDocTool-DRSXHGNL.js} +1 -1
- package/{readlineWorkspace-EXCG3IFX.js → readlineWorkspace-HISW3JNJ.js} +40 -40
- package/{removeDialogAgentAction-46XQV5Q7.js → removeDialogAgentAction-VIWJL6MX.js} +6 -6
- package/{runAgentClientLoop-URRDZ5WG.js → runAgentClientLoop-4XIIPXH3.js} +30 -30
- package/{setDialogExtraReferencesAction-J4V5ADQF.js → setDialogExtraReferencesAction-A7VA3NFM.js} +6 -6
- package/{setPrimaryDialogAgentAction-UHHV2QZW.js → setPrimaryDialogAgentAction-B4P7YQX2.js} +6 -6
- package/{settingThunks-PPZZZOWN.js → settingThunks-KOYSAT65.js} +5 -5
- package/{spaceCommands-7CLUNI2I.js → spaceCommands-BBEY2U7J.js} +17 -17
- package/{streamAgentChatTurn-YPUYKXDX.js → streamAgentChatTurn-WRLQAWTW.js} +32 -32
- package/{switchDialogAgentAction-A2TMVGAE.js → switchDialogAgentAction-3VYWHZKH.js} +5 -5
- package/{tools-M5ENXZRJ.js → tools-NPSZ3DTN.js} +27 -27
- package/{tuiSummaryLlmCaller-Q65IBDGO.js → tuiSummaryLlmCaller-O3DZKOHE.js} +8 -8
- package/{updateDialogTitleAction-7PNUE23W.js → updateDialogTitleAction-DBW4OTMM.js} +15 -15
- /package/{chunk-3AH7LNUB.js → chunk-ODAPITXL.js} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-YYLHWIW6.js";
|
|
4
4
|
import {
|
|
5
5
|
compareAgentSelection
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7KWFIKKK.js";
|
|
7
7
|
import {
|
|
8
8
|
isAgentUnavailableNow
|
|
9
9
|
} from "./chunk-H6A6X4EK.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-CYSYR67N.js";
|
|
20
20
|
import {
|
|
21
21
|
fnv1a32Hex
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-O7SVKKLY.js";
|
|
23
23
|
import {
|
|
24
24
|
isOwnedAgentKey,
|
|
25
25
|
ownedAgentKey,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCliLocalRuntimePreparedAgentCache
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V3R3UZ4F.js";
|
|
4
4
|
import {
|
|
5
5
|
getReadableCliDb
|
|
6
6
|
} from "./chunk-LOCNXNOU.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolveAgentRecordFromHybridStore,
|
|
14
14
|
sanitizeAgentRecordForCliOutput,
|
|
15
15
|
writeAgentRecord
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6UEJDFF7.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveCliAgentKeyInput
|
|
19
19
|
} from "./chunk-SV5IJK6K.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
flushChatCompletionStream,
|
|
12
12
|
providerHttpFailure,
|
|
13
13
|
throwIfChatCompletionStreamFailed
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-K4URP6NQ.js";
|
|
15
15
|
import {
|
|
16
16
|
readSseFrames
|
|
17
17
|
} from "./chunk-GMZLP5DV.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
resolveHistoricalToolContentCap,
|
|
28
28
|
resolveToolOutputProfile,
|
|
29
29
|
stripImagePartsFromMessages
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-HD3S2F7U.js";
|
|
31
31
|
import {
|
|
32
32
|
downgradeUnparsableToolCalls,
|
|
33
33
|
hasParsableObjectArguments,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
requiresBareImageUrl,
|
|
55
55
|
resolveToolGuidedSections,
|
|
56
56
|
toBareImageUrlMessages
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-KNVDNYH7.js";
|
|
58
58
|
import {
|
|
59
59
|
convertMessagesToResponsesInput,
|
|
60
60
|
extractReasoningFromResponseOutput,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
parseNoloWorkspaceToolArguments,
|
|
81
81
|
readTextStreamUpToChars,
|
|
82
82
|
resolveNoloDialogInput
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-7KWFIKKK.js";
|
|
84
84
|
import {
|
|
85
85
|
buildDialogFallbackTitleFromUserInput
|
|
86
86
|
} from "./chunk-2MBTWINN.js";
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
resolveEmptyAssistantFallbackMessage,
|
|
95
95
|
resolveEmptyAssistantOutcome,
|
|
96
96
|
resolveTruncatedReasoningTailLog
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-IRZTHHNM.js";
|
|
98
98
|
import {
|
|
99
99
|
COMPACTION_SUMMARY_SCHEMA_VERSION,
|
|
100
100
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
resolveCompressionTriggerRatio,
|
|
113
113
|
truncateToolOutputForContext,
|
|
114
114
|
withProviderCallTimingFields
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-LB5A6JTU.js";
|
|
116
116
|
import {
|
|
117
117
|
clipCompactText
|
|
118
118
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
asTrimmedNonEmptyStringArray,
|
|
153
153
|
dialogMessageKey,
|
|
154
154
|
dialogMessageRange
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-ODAPITXL.js";
|
|
156
156
|
import {
|
|
157
157
|
asOptionalFiniteNumber
|
|
158
158
|
} from "./chunk-WWC7I6TA.js";
|
|
@@ -12517,7 +12517,7 @@ function formatToolOverflowMarker(args2) {
|
|
|
12517
12517
|
}
|
|
12518
12518
|
|
|
12519
12519
|
// packages/agent-runtime/localAutoCompaction.ts
|
|
12520
|
-
import { createHash as createHash2 } from "node:crypto";
|
|
12520
|
+
import { createHash as createHash2, randomUUID } from "node:crypto";
|
|
12521
12521
|
function toPlanCompressionMessages(history) {
|
|
12522
12522
|
return history.map((message, index) => ({
|
|
12523
12523
|
id: `local-${index}`,
|
|
@@ -12688,6 +12688,37 @@ async function maybeAutoCompactLocalHistory(args2) {
|
|
|
12688
12688
|
return projectExisting();
|
|
12689
12689
|
}
|
|
12690
12690
|
emitPhase({ kind: "compaction-start" });
|
|
12691
|
+
const compactionAttemptId = randomUUID();
|
|
12692
|
+
let compactionT0 = Date.now();
|
|
12693
|
+
let compactionInputTokens;
|
|
12694
|
+
let compactionPrevSummaryTokens;
|
|
12695
|
+
let compactionInputSource;
|
|
12696
|
+
let compactionPrevSummarySource;
|
|
12697
|
+
let primaryElapsedMs;
|
|
12698
|
+
let saveElapsedMs;
|
|
12699
|
+
const logCompactionTiming = (outcome, fields) => {
|
|
12700
|
+
if (compactionInputTokens === void 0 && compactionInputSource !== void 0) {
|
|
12701
|
+
compactionInputTokens = estimateTokenCount(compactionInputSource);
|
|
12702
|
+
}
|
|
12703
|
+
if (compactionPrevSummaryTokens === void 0 && compactionPrevSummarySource !== void 0) {
|
|
12704
|
+
compactionPrevSummaryTokens = estimateTokenCount(compactionPrevSummarySource);
|
|
12705
|
+
}
|
|
12706
|
+
console.log(
|
|
12707
|
+
`[compaction-timing] ${JSON.stringify({
|
|
12708
|
+
attemptId: compactionAttemptId,
|
|
12709
|
+
model: fields.model ?? args2.model ?? null,
|
|
12710
|
+
inputTokens: compactionInputTokens ?? null,
|
|
12711
|
+
prevSummaryTokens: compactionPrevSummaryTokens ?? null,
|
|
12712
|
+
outputChars: fields.outputChars ?? null,
|
|
12713
|
+
elapsedMs: Date.now() - compactionT0,
|
|
12714
|
+
primaryElapsedMs: primaryElapsedMs ?? null,
|
|
12715
|
+
// main 无 fallback 通道,保留该字段以兼容日志 schema。
|
|
12716
|
+
fallbackElapsedMs: null,
|
|
12717
|
+
saveElapsedMs: saveElapsedMs ?? null,
|
|
12718
|
+
outcome
|
|
12719
|
+
})}`
|
|
12720
|
+
);
|
|
12721
|
+
};
|
|
12691
12722
|
try {
|
|
12692
12723
|
if (args2.abortSignal?.aborted) {
|
|
12693
12724
|
throw Object.assign(new Error("auto-compaction aborted"), { compactionReason: "aborted" });
|
|
@@ -12708,13 +12739,22 @@ async function maybeAutoCompactLocalHistory(args2) {
|
|
|
12708
12739
|
fileOpsText
|
|
12709
12740
|
});
|
|
12710
12741
|
emitPhase({ kind: "waiting-provider" });
|
|
12742
|
+
compactionInputSource = messagesText;
|
|
12743
|
+
compactionPrevSummarySource = existingSummary;
|
|
12744
|
+
compactionT0 = Date.now();
|
|
12711
12745
|
const timeoutMs = typeof args2.timeoutMs === "number" && Number.isFinite(args2.timeoutMs) && args2.timeoutMs > 0 ? args2.timeoutMs : void 0;
|
|
12712
12746
|
const requestController = new AbortController();
|
|
12713
12747
|
let timeoutHandle;
|
|
12714
12748
|
let abortListener;
|
|
12715
12749
|
const request3 = provider.complete(
|
|
12716
12750
|
[{ role: "system", content: COMPACTION_SUMMARY_SYSTEM_PROMPT }, { role: "user", content: promptContent }],
|
|
12717
|
-
{
|
|
12751
|
+
{
|
|
12752
|
+
signal: requestController.signal,
|
|
12753
|
+
...timeoutMs ? { timeoutMs } : {},
|
|
12754
|
+
// 仅日志用的 attempt id:让 compaction 埋点与 transport 诊断日志 /
|
|
12755
|
+
// 服务端 x-request-id 可对上,用于关联请求级证据。不进 prompt/摘要/持久化。
|
|
12756
|
+
requestId: compactionAttemptId
|
|
12757
|
+
}
|
|
12718
12758
|
).then(
|
|
12719
12759
|
(value) => ({ kind: "done", value }),
|
|
12720
12760
|
(error) => ({ kind: "provider-error", error })
|
|
@@ -12734,6 +12774,7 @@ async function maybeAutoCompactLocalHistory(args2) {
|
|
|
12734
12774
|
args2.abortSignal?.addEventListener("abort", abortListener, { once: true });
|
|
12735
12775
|
}));
|
|
12736
12776
|
const outcome = guards.length ? await Promise.race([request3, ...guards]) : await request3;
|
|
12777
|
+
primaryElapsedMs = Date.now() - compactionT0;
|
|
12737
12778
|
if (timeoutHandle) clearTimeout(timeoutHandle);
|
|
12738
12779
|
if (abortListener) args2.abortSignal?.removeEventListener("abort", abortListener);
|
|
12739
12780
|
if (outcome.kind !== "done") {
|
|
@@ -12747,6 +12788,7 @@ async function maybeAutoCompactLocalHistory(args2) {
|
|
|
12747
12788
|
console.warn(
|
|
12748
12789
|
"[localLoop] auto-compaction produced empty summary; keeping prior projection"
|
|
12749
12790
|
);
|
|
12791
|
+
logCompactionTiming("empty", {});
|
|
12750
12792
|
const failureReason = "provider-error";
|
|
12751
12793
|
emitPhase({ kind: "compaction-failed", reason: failureReason });
|
|
12752
12794
|
return {
|
|
@@ -12760,6 +12802,7 @@ async function maybeAutoCompactLocalHistory(args2) {
|
|
|
12760
12802
|
}
|
|
12761
12803
|
};
|
|
12762
12804
|
}
|
|
12805
|
+
const saveT0 = Date.now();
|
|
12763
12806
|
await adapter.saveDialogSummary({
|
|
12764
12807
|
dialogId,
|
|
12765
12808
|
summary: newSummary,
|
|
@@ -12773,6 +12816,7 @@ async function maybeAutoCompactLocalHistory(args2) {
|
|
|
12773
12816
|
})(),
|
|
12774
12817
|
schemaVersion: COMPACTION_SUMMARY_SCHEMA_VERSION
|
|
12775
12818
|
});
|
|
12819
|
+
saveElapsedMs = Date.now() - saveT0;
|
|
12776
12820
|
const metricsReason = invalidSummary ? "invalid_summary" : coldResume ? "cold_resume" : "context_budget";
|
|
12777
12821
|
const metrics = buildCompactionMetricsFromPlan({
|
|
12778
12822
|
reason: metricsReason,
|
|
@@ -12782,6 +12826,10 @@ async function maybeAutoCompactLocalHistory(args2) {
|
|
|
12782
12826
|
summaryUsage: result4.usage
|
|
12783
12827
|
});
|
|
12784
12828
|
console.log(formatCompactionMetricsLog(metrics));
|
|
12829
|
+
logCompactionTiming("success", {
|
|
12830
|
+
model: result4?.model ?? args2.model ?? null,
|
|
12831
|
+
outputChars: newSummary.length
|
|
12832
|
+
});
|
|
12785
12833
|
emitPhase({ kind: "compaction-end" });
|
|
12786
12834
|
return {
|
|
12787
12835
|
history: projectHistoryWithSummary({
|
|
@@ -12811,6 +12859,7 @@ async function maybeAutoCompactLocalHistory(args2) {
|
|
|
12811
12859
|
console.warn("[localLoop] auto-compaction failed:", error);
|
|
12812
12860
|
const failureMessage = error instanceof Error && error.message ? error.message.slice(0, 200) : String(error).slice(0, 200);
|
|
12813
12861
|
const failureReason = error instanceof Error && "compactionReason" in error ? error.compactionReason : "provider-error";
|
|
12862
|
+
logCompactionTiming(failureReason, {});
|
|
12814
12863
|
emitPhase({ kind: "compaction-failed", reason: failureReason });
|
|
12815
12864
|
return {
|
|
12816
12865
|
...projectExisting(),
|
|
@@ -19997,7 +20046,7 @@ function buildLoadSkillExecutor(args2) {
|
|
|
19997
20046
|
const { resolveSkillByName } = await import("./skillDiscovery-ZBU76COE.js");
|
|
19998
20047
|
const resolved = resolveSkillByName(args2.cwd, name);
|
|
19999
20048
|
if (!resolved) {
|
|
20000
|
-
const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-
|
|
20049
|
+
const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-GFY77VRN.js");
|
|
20001
20050
|
const builtin = resolveBuiltinSkillByName(name);
|
|
20002
20051
|
if (builtin) {
|
|
20003
20052
|
return {
|
|
@@ -20075,7 +20124,7 @@ function resolveSessionKey(args2) {
|
|
|
20075
20124
|
}
|
|
20076
20125
|
|
|
20077
20126
|
// packages/agent-runtime/devin/devinProvider.ts
|
|
20078
|
-
import { randomBytes, randomUUID } from "node:crypto";
|
|
20127
|
+
import { randomBytes, randomUUID as randomUUID2 } from "node:crypto";
|
|
20079
20128
|
var CLIENT_NAME = "chisel";
|
|
20080
20129
|
var CLIENT_VERSION = "3000.11.3";
|
|
20081
20130
|
function writeVarint(fieldNum, value) {
|
|
@@ -20135,7 +20184,7 @@ function encodeDevinClientMetadata(token) {
|
|
|
20135
20184
|
]);
|
|
20136
20185
|
}
|
|
20137
20186
|
function devinId(id, purpose) {
|
|
20138
|
-
return id?.sessionKey && isStableSessionIdentityEnabled() ? deriveStableUuid(id.sessionKey, purpose) :
|
|
20187
|
+
return id?.sessionKey && isStableSessionIdentityEnabled() ? deriveStableUuid(id.sessionKey, purpose) : randomUUID2();
|
|
20139
20188
|
}
|
|
20140
20189
|
function encodeDevinChatMessage(msg, identity2, index = 0) {
|
|
20141
20190
|
const source = msg.role === "assistant" ? 2 : msg.role === "tool" ? 4 : 1;
|
|
@@ -20229,7 +20278,7 @@ ${item.text}`;
|
|
|
20229
20278
|
const chatMessageBuffers = coalesced.map((m, i) => encodeDevinChatMessage(m, identity2, i));
|
|
20230
20279
|
const completionConfig = buildCompletionConfig({ temperature });
|
|
20231
20280
|
const modelConfig = Buffer.concat([
|
|
20232
|
-
writeStringField(1,
|
|
20281
|
+
writeStringField(1, randomUUID2()),
|
|
20233
20282
|
writeVarint(2, 1),
|
|
20234
20283
|
writeVarint(3, 4)
|
|
20235
20284
|
]);
|
|
@@ -20241,7 +20290,7 @@ ${item.text}`;
|
|
|
20241
20290
|
writeMessageField(8, completionConfig),
|
|
20242
20291
|
...tools.map((tool) => writeMessageField(10, encodeDevinToolDefinition(tool))),
|
|
20243
20292
|
writeMessageField(15, modelConfig),
|
|
20244
|
-
writeStringField(16,
|
|
20293
|
+
writeStringField(16, randomUUID2()),
|
|
20245
20294
|
writeVarint(20, 1),
|
|
20246
20295
|
writeStringField(21, model)
|
|
20247
20296
|
]);
|
|
@@ -103,7 +103,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
103
103
|
// packages/cli/agentInternalCommandEntries.ts
|
|
104
104
|
function getAgentInternalCommandEntries() {
|
|
105
105
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
106
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
106
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-2SZBC7BP.js");
|
|
107
107
|
return runAgentRunCommand(args, {
|
|
108
108
|
env: ctx.env,
|
|
109
109
|
scriptDir: ctx.scriptDir,
|
|
@@ -115,11 +115,11 @@ function getAgentInternalCommandEntries() {
|
|
|
115
115
|
createAgentRunCommand(["run"], "Run a no-login local agent in this workspace"),
|
|
116
116
|
createAgentRunCommand(["chat"], "Chat with an agent"),
|
|
117
117
|
createEnvCommand(["agent", "list"], "List owned agents", async (args, deps) => {
|
|
118
|
-
const { runAgentListCommand } = await import("./agentListCommands-
|
|
118
|
+
const { runAgentListCommand } = await import("./agentListCommands-VLNQH2BR.js");
|
|
119
119
|
return runAgentListCommand(args, deps);
|
|
120
120
|
}),
|
|
121
121
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
|
|
122
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
122
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-2INKPT2O.js");
|
|
123
123
|
return runAgentCreateCommand(args, deps);
|
|
124
124
|
}),
|
|
125
125
|
createEnvCommand(["agent", "models"], "List models: --preset <id> (server discovery, exit 1 on static fallback) or --url <base> --api-key <key> (OpenAI-compatible /models)", async (args, deps) => {
|
|
@@ -135,7 +135,7 @@ function getAgentInternalCommandEntries() {
|
|
|
135
135
|
return runAgentPullCommand(args, deps);
|
|
136
136
|
}),
|
|
137
137
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
|
|
138
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
138
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-2INKPT2O.js");
|
|
139
139
|
return runAgentReadCommand(args, deps);
|
|
140
140
|
}),
|
|
141
141
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -164,31 +164,31 @@ function getAgentInternalCommandEntries() {
|
|
|
164
164
|
return runSetupOfflineMarxistsAgentCommand(args, deps);
|
|
165
165
|
}),
|
|
166
166
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
167
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
167
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-2INKPT2O.js");
|
|
168
168
|
return runAgentUpdateCommand(args, deps);
|
|
169
169
|
}),
|
|
170
170
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
171
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
171
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-NCQSCDX7.js");
|
|
172
172
|
return runAgentEmailProvisionCommand(args, deps);
|
|
173
173
|
}),
|
|
174
174
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
175
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
175
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-NCQSCDX7.js");
|
|
176
176
|
return runAgentEmailBindCommand(args, deps);
|
|
177
177
|
}),
|
|
178
178
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
179
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
179
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-NCQSCDX7.js");
|
|
180
180
|
return runAgentEmailTransferCommand(args, deps);
|
|
181
181
|
}),
|
|
182
182
|
createEnvCommand(
|
|
183
183
|
["agent", "email", "create-and-provision"],
|
|
184
184
|
"Create an agent and provision its controlled inbox",
|
|
185
185
|
async (args, deps) => {
|
|
186
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
186
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-NCQSCDX7.js");
|
|
187
187
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
188
188
|
}
|
|
189
189
|
),
|
|
190
190
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
191
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
191
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-MEKEAJS6.js");
|
|
192
192
|
return runAgentDeleteCommand(args, deps);
|
|
193
193
|
}),
|
|
194
194
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -204,15 +204,15 @@ function getAgentInternalCommandEntries() {
|
|
|
204
204
|
return runAgentRevokeGrantCommand(args, deps);
|
|
205
205
|
}),
|
|
206
206
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
207
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
207
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-ZYKZGX65.js");
|
|
208
208
|
return runAgentBindCurrentCommand(args, deps);
|
|
209
209
|
}),
|
|
210
210
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
211
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
211
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-ZYKZGX65.js");
|
|
212
212
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
213
213
|
}),
|
|
214
214
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
215
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
215
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-ZYKZGX65.js");
|
|
216
216
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
217
217
|
}),
|
|
218
218
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -223,23 +223,23 @@ function getAgentInternalCommandEntries() {
|
|
|
223
223
|
function getAppInternalCommandEntries() {
|
|
224
224
|
return [
|
|
225
225
|
createEnvCommand(["app", "list"], "List your apps", async (args, deps) => {
|
|
226
|
-
const { runAppListCommand } = await import("./appListCommands-
|
|
226
|
+
const { runAppListCommand } = await import("./appListCommands-O6QDXYKT.js");
|
|
227
227
|
return runAppListCommand(args, deps);
|
|
228
228
|
}),
|
|
229
229
|
createEnvCommand(["app", "get"], "Get app details", async (args, deps) => {
|
|
230
|
-
const { runAppGetCommand } = await import("./appGetCommands-
|
|
230
|
+
const { runAppGetCommand } = await import("./appGetCommands-MCY6JLD3.js");
|
|
231
231
|
return runAppGetCommand(args, deps);
|
|
232
232
|
}),
|
|
233
233
|
createEnvCommand(["app", "deploy"], "Deploy an app", async (args, deps) => {
|
|
234
|
-
const { runAppDeployCommand } = await import("./appDeployCommands-
|
|
234
|
+
const { runAppDeployCommand } = await import("./appDeployCommands-7PQPIIEL.js");
|
|
235
235
|
return runAppDeployCommand(args, deps);
|
|
236
236
|
}),
|
|
237
237
|
createEnvCommand(["app", "deploy", "status"], "Check app deploy status", async (args, deps) => {
|
|
238
|
-
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-
|
|
238
|
+
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-Z3YBCYU3.js");
|
|
239
239
|
return runAppDeployStatusCommand(args, deps);
|
|
240
240
|
}),
|
|
241
241
|
createEnvCommand(["app", "delete"], "Delete an app", async (args, deps) => {
|
|
242
|
-
const { runAppDeleteCommand } = await import("./appDeleteCommands-
|
|
242
|
+
const { runAppDeleteCommand } = await import("./appDeleteCommands-YLCAVP4I.js");
|
|
243
243
|
return runAppDeleteCommand(args, deps);
|
|
244
244
|
})
|
|
245
245
|
];
|
|
@@ -317,27 +317,27 @@ function getChromeInternalCommandEntries() {
|
|
|
317
317
|
function getDialogInternalCommandEntries() {
|
|
318
318
|
return [
|
|
319
319
|
createEnvCommand(["dialog", "search"], "Search dialog messages across dialogs", async (args, deps) => {
|
|
320
|
-
const { runDialogSearchCommand } = await import("./dialogCommands-
|
|
320
|
+
const { runDialogSearchCommand } = await import("./dialogCommands-NNSKMYZR.js");
|
|
321
321
|
return runDialogSearchCommand(args, deps);
|
|
322
322
|
}),
|
|
323
323
|
createEnvCommand(["dialog", "list"], "List dialogs (default --limit 50; --all/--limit 0 full; --jsonl streams)", async (args, deps) => {
|
|
324
|
-
const { runDialogListCommand } = await import("./dialogCommands-
|
|
324
|
+
const { runDialogListCommand } = await import("./dialogCommands-NNSKMYZR.js");
|
|
325
325
|
return runDialogListCommand(args, deps);
|
|
326
326
|
}),
|
|
327
327
|
createEnvCommand(["dialog", "delete"], "Delete one or more dialogs", async (args, deps) => {
|
|
328
|
-
const { runDialogDeleteCommand } = await import("./dialogCommands-
|
|
328
|
+
const { runDialogDeleteCommand } = await import("./dialogCommands-NNSKMYZR.js");
|
|
329
329
|
return runDialogDeleteCommand(args, deps);
|
|
330
330
|
}),
|
|
331
331
|
createEnvCommand(["dialog", "query"], "Query dialogs by subject refs (default --limit 50; --all full; --jsonl streams)", async (args, deps) => {
|
|
332
|
-
const { runDialogQueryCommand } = await import("./dialogCommands-
|
|
332
|
+
const { runDialogQueryCommand } = await import("./dialogCommands-NNSKMYZR.js");
|
|
333
333
|
return runDialogQueryCommand(args, deps);
|
|
334
334
|
}),
|
|
335
335
|
createEnvCommand(["dialog", "read"], "Read a dialog", async (args, deps) => {
|
|
336
|
-
const { runDialogReadCommand } = await import("./dialogCommands-
|
|
336
|
+
const { runDialogReadCommand } = await import("./dialogCommands-NNSKMYZR.js");
|
|
337
337
|
return runDialogReadCommand(args, deps);
|
|
338
338
|
}),
|
|
339
339
|
createEnvCommand(["dialog", "status"], "Read compact dialog status", async (args, deps) => {
|
|
340
|
-
const { runDialogStatusCommand } = await import("./dialogCommands-
|
|
340
|
+
const { runDialogStatusCommand } = await import("./dialogCommands-NNSKMYZR.js");
|
|
341
341
|
return runDialogStatusCommand(args, deps);
|
|
342
342
|
})
|
|
343
343
|
];
|
|
@@ -347,39 +347,39 @@ function getDialogInternalCommandEntries() {
|
|
|
347
347
|
function getDocInternalCommandEntries() {
|
|
348
348
|
return [
|
|
349
349
|
createEnvCommand(["doc", "create"], "Create a normal doc", async (args, deps) => {
|
|
350
|
-
const { runDocCreateCommand } = await import("./docCreateCommands-
|
|
350
|
+
const { runDocCreateCommand } = await import("./docCreateCommands-BKCYZTJW.js");
|
|
351
351
|
return runDocCreateCommand(args, deps);
|
|
352
352
|
}),
|
|
353
353
|
createEnvCommand(["doc", "read"], "Read a normal doc", async (args, deps) => {
|
|
354
|
-
const { runDocReadCommand } = await import("./docReadCommands-
|
|
354
|
+
const { runDocReadCommand } = await import("./docReadCommands-PPI2UAIW.js");
|
|
355
355
|
return runDocReadCommand(args, deps);
|
|
356
356
|
}),
|
|
357
357
|
createEnvCommand(["doc", "update"], "Update a normal doc", async (args, deps) => {
|
|
358
|
-
const { runDocUpdateCommand } = await import("./docUpdateCommands-
|
|
358
|
+
const { runDocUpdateCommand } = await import("./docUpdateCommands-62WIRKAN.js");
|
|
359
359
|
return runDocUpdateCommand(args, deps);
|
|
360
360
|
}),
|
|
361
361
|
createEnvCommand(["doc", "delete"], "Delete a normal doc", async (args, deps) => {
|
|
362
|
-
const { runDocDeleteCommand } = await import("./docDeleteCommands-
|
|
362
|
+
const { runDocDeleteCommand } = await import("./docDeleteCommands-AJDU5BUV.js");
|
|
363
363
|
return runDocDeleteCommand(args, deps);
|
|
364
364
|
}),
|
|
365
365
|
createEnvCommand(["skill-doc", "create"], "Create a skill-backed doc", async (args, deps) => {
|
|
366
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
366
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-BKCYZTJW.js");
|
|
367
367
|
return runSkillDocCreateCommand(args, deps);
|
|
368
368
|
}),
|
|
369
369
|
createEnvCommand(["skill", "create-doc"], "Create a skill-backed doc", async (args, deps) => {
|
|
370
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
370
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-BKCYZTJW.js");
|
|
371
371
|
return runSkillDocCreateCommand(args, deps);
|
|
372
372
|
}),
|
|
373
373
|
createEnvCommand(["skill-doc", "read"], "Read a skill doc", async (args, deps) => {
|
|
374
|
-
const { runSkillDocReadCommand } = await import("./docReadCommands-
|
|
374
|
+
const { runSkillDocReadCommand } = await import("./docReadCommands-PPI2UAIW.js");
|
|
375
375
|
return runSkillDocReadCommand(args, deps);
|
|
376
376
|
}),
|
|
377
377
|
createEnvCommand(["skill-doc", "update"], "Update a skill doc", async (args, deps) => {
|
|
378
|
-
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-
|
|
378
|
+
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-62WIRKAN.js");
|
|
379
379
|
return runSkillDocUpdateCommand(args, deps);
|
|
380
380
|
}),
|
|
381
381
|
createEnvCommand(["skill-doc", "delete"], "Delete a skill doc", async (args, deps) => {
|
|
382
|
-
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-
|
|
382
|
+
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-AJDU5BUV.js");
|
|
383
383
|
return runSkillDocDeleteCommand(args, deps);
|
|
384
384
|
})
|
|
385
385
|
];
|
|
@@ -407,19 +407,19 @@ function getMemoryInternalCommandEntries() {
|
|
|
407
407
|
function getSpaceInternalCommandEntries() {
|
|
408
408
|
return [
|
|
409
409
|
createEnvCommand(["space", "create"], "Create a space", async (args, deps) => {
|
|
410
|
-
const { runSpaceCreateCommand } = await import("./spaceCommands-
|
|
410
|
+
const { runSpaceCreateCommand } = await import("./spaceCommands-BBEY2U7J.js");
|
|
411
411
|
return runSpaceCreateCommand(args, deps);
|
|
412
412
|
}),
|
|
413
413
|
createEnvCommand(["space", "invite"], "Invite an existing user to a space", async (args, deps) => {
|
|
414
|
-
const { runSpaceInviteCommand } = await import("./spaceCommands-
|
|
414
|
+
const { runSpaceInviteCommand } = await import("./spaceCommands-BBEY2U7J.js");
|
|
415
415
|
return runSpaceInviteCommand(args, deps);
|
|
416
416
|
}),
|
|
417
417
|
createEnvCommand(["space", "accept-invite"], "Accept a space invite", async (args, deps) => {
|
|
418
|
-
const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-
|
|
418
|
+
const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-BBEY2U7J.js");
|
|
419
419
|
return runSpaceAcceptInviteCommand(args, deps);
|
|
420
420
|
}),
|
|
421
421
|
createEnvCommand(["space", "upload"], "Upload a file to a space", async (args, deps) => {
|
|
422
|
-
const { runSpaceUploadCommand } = await import("./spaceCommands-
|
|
422
|
+
const { runSpaceUploadCommand } = await import("./spaceCommands-BBEY2U7J.js");
|
|
423
423
|
return runSpaceUploadCommand(args, deps);
|
|
424
424
|
})
|
|
425
425
|
];
|
|
@@ -433,55 +433,55 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
433
433
|
return runAuthCooldownCommand(_args, ctx.env);
|
|
434
434
|
}),
|
|
435
435
|
createArgsCommand(["auth", "cloudflare"], "Authorize Cloudflare OAuth", async (args) => {
|
|
436
|
-
const { runAuthCloudflareCommand } = await import("./authCommand-
|
|
436
|
+
const { runAuthCloudflareCommand } = await import("./authCommand-I6LVUQKM.js");
|
|
437
437
|
return runAuthCloudflareCommand(args);
|
|
438
438
|
}),
|
|
439
439
|
createArgsCommand(["auth", "chatgpt"], "Authorize ChatGPT / OpenAI Codex OAuth", async (args) => {
|
|
440
|
-
const { runAuthChatgptCommand } = await import("./authCommand-
|
|
440
|
+
const { runAuthChatgptCommand } = await import("./authCommand-I6LVUQKM.js");
|
|
441
441
|
return runAuthChatgptCommand(args);
|
|
442
442
|
}),
|
|
443
443
|
createArgsCommand(["auth", "xai"], "Authorize xAI Grok OAuth (SuperGrok subscription)", async (args) => {
|
|
444
|
-
const { runAuthXaiCommand } = await import("./authCommand-
|
|
444
|
+
const { runAuthXaiCommand } = await import("./authCommand-I6LVUQKM.js");
|
|
445
445
|
return runAuthXaiCommand(args);
|
|
446
446
|
}),
|
|
447
447
|
createArgsCommand(["auth", "antigravity"], "Authorize Google Antigravity OAuth", async (args) => {
|
|
448
|
-
const { runAuthAntigravityCommand } = await import("./authCommand-
|
|
448
|
+
const { runAuthAntigravityCommand } = await import("./authCommand-I6LVUQKM.js");
|
|
449
449
|
return runAuthAntigravityCommand(args);
|
|
450
450
|
}),
|
|
451
451
|
createArgsCommand(["auth", "claude"], "Authorize Claude Pro/Max OAuth", async (args) => {
|
|
452
|
-
const { runAuthClaudeCommand } = await import("./authCommand-
|
|
452
|
+
const { runAuthClaudeCommand } = await import("./authCommand-I6LVUQKM.js");
|
|
453
453
|
return runAuthClaudeCommand(args);
|
|
454
454
|
}),
|
|
455
455
|
createArgsCommand(["auth", "cursor"], "Authorize Cursor Pro OAuth", async (args) => {
|
|
456
|
-
const { runAuthCursorCommand } = await import("./authCommand-
|
|
456
|
+
const { runAuthCursorCommand } = await import("./authCommand-I6LVUQKM.js");
|
|
457
457
|
return runAuthCursorCommand(args);
|
|
458
458
|
}),
|
|
459
459
|
createArgsCommand(["auth", "devin"], "Authorize Devin OAuth (Free SWE-2)", async (args) => {
|
|
460
|
-
const { runAuthDevinCommand } = await import("./authCommand-
|
|
460
|
+
const { runAuthDevinCommand } = await import("./authCommand-I6LVUQKM.js");
|
|
461
461
|
return runAuthDevinCommand(args);
|
|
462
462
|
}),
|
|
463
463
|
createArgsCommand(["login"], "Log in to Nolo", async (args) => {
|
|
464
|
-
const { runLoginCommand } = await import("./authCommands-
|
|
464
|
+
const { runLoginCommand } = await import("./authCommands-LWLOZETU.js");
|
|
465
465
|
return runLoginCommand(args);
|
|
466
466
|
}),
|
|
467
467
|
createContextCommand(["logout"], "Log out of Nolo", async (args, ctx) => {
|
|
468
|
-
const { runLogoutCommand } = await import("./authCommands-
|
|
468
|
+
const { runLogoutCommand } = await import("./authCommands-LWLOZETU.js");
|
|
469
469
|
return runLogoutCommand({ args, env: ctx.env });
|
|
470
470
|
}),
|
|
471
471
|
createContextCommand(["whoami"], "Show the current login state", async (args, ctx) => {
|
|
472
|
-
const { runWhoamiCommand } = await import("./authCommands-
|
|
472
|
+
const { runWhoamiCommand } = await import("./authCommands-LWLOZETU.js");
|
|
473
473
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
474
474
|
}),
|
|
475
475
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
|
|
476
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
476
|
+
const { runMachineConnectCommand } = await import("./machineCommands-FG6HBFB7.js");
|
|
477
477
|
return runMachineConnectCommand(args, deps);
|
|
478
478
|
}),
|
|
479
479
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
480
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
480
|
+
const { runMachineConnectCommand } = await import("./machineCommands-FG6HBFB7.js");
|
|
481
481
|
return runMachineConnectCommand(args, deps);
|
|
482
482
|
}),
|
|
483
483
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
484
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
484
|
+
const { runMachineStatusCommand } = await import("./machineCommands-FG6HBFB7.js");
|
|
485
485
|
return runMachineStatusCommand(args, deps);
|
|
486
486
|
}),
|
|
487
487
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -7,34 +7,34 @@ import {
|
|
|
7
7
|
updateContentPinned,
|
|
8
8
|
updateContentTitle,
|
|
9
9
|
uploadAndAddFileToSpace
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GJ647AYV.js";
|
|
11
11
|
import "./chunk-ZJ7UHBJS.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-NMMU6M4Z.js";
|
|
13
13
|
import "./chunk-YYLHWIW6.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-CUF4MYKI.js";
|
|
15
15
|
import "./chunk-523DITKR.js";
|
|
16
16
|
import "./chunk-AGGIDPCZ.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-TAPMD4SO.js";
|
|
18
|
+
import "./chunk-2K4TM6AW.js";
|
|
19
19
|
import "./chunk-5RGU3J7P.js";
|
|
20
20
|
import "./chunk-ZRAU6T47.js";
|
|
21
21
|
import "./chunk-BZ7NPA6G.js";
|
|
22
22
|
import "./chunk-4LCOCOR5.js";
|
|
23
23
|
import "./chunk-YDH3FDFQ.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-YDO5ERB4.js";
|
|
25
25
|
import "./chunk-A4SQRTZ6.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-IRZTHHNM.js";
|
|
27
|
+
import "./chunk-LB5A6JTU.js";
|
|
28
28
|
import "./chunk-5MMAK75Q.js";
|
|
29
29
|
import "./chunk-BYXBJQAS.js";
|
|
30
30
|
import "./chunk-DWLEOOGR.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-2H6SEVDS.js";
|
|
32
32
|
import "./chunk-KX6YBIHG.js";
|
|
33
33
|
import "./chunk-PSCNXBYA.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-5EPHWMP5.js";
|
|
35
35
|
import "./chunk-UAD2WT54.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-56HJ2LAA.js";
|
|
37
|
+
import "./chunk-EV235ILT.js";
|
|
38
38
|
import "./chunk-HNGRBWYF.js";
|
|
39
39
|
import "./chunk-7KVZ5LDQ.js";
|
|
40
40
|
import "./chunk-3BXNTXYI.js";
|
|
@@ -43,14 +43,14 @@ import "./chunk-HNMXYYJR.js";
|
|
|
43
43
|
import "./chunk-CYSYR67N.js";
|
|
44
44
|
import "./chunk-Y3PMXGLH.js";
|
|
45
45
|
import "./chunk-QSJ3HFEF.js";
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-D2GQE6AF.js";
|
|
47
|
+
import "./chunk-O7SVKKLY.js";
|
|
48
48
|
import "./chunk-D2MDMY2M.js";
|
|
49
49
|
import "./chunk-BNGW5ASC.js";
|
|
50
50
|
import "./chunk-M2EJHDJP.js";
|
|
51
51
|
import "./chunk-KUG52IAP.js";
|
|
52
52
|
import "./chunk-NWENLDMM.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-ODAPITXL.js";
|
|
54
54
|
import "./chunk-WWC7I6TA.js";
|
|
55
55
|
import "./chunk-VY6VFGKR.js";
|
|
56
56
|
import "./chunk-HIM3FCLF.js";
|