@moxt-ai/cli 0.13.5 → 0.13.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +41 -40
- package/dist/index.cjs.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -103648,11 +103648,6 @@ ${Object.entries(options.environment).map(([name, value]) => ` <key>${escapeX
|
|
|
103648
103648
|
path7
|
|
103649
103649
|
]);
|
|
103650
103650
|
await runtime.run("launchctl", ["bootstrap", domain5, path7]);
|
|
103651
|
-
await runtime.run("launchctl", [
|
|
103652
|
-
"kickstart",
|
|
103653
|
-
"-k",
|
|
103654
|
-
`${domain5}/${launchAgentLabel}`
|
|
103655
|
-
]);
|
|
103656
103651
|
}
|
|
103657
103652
|
async function installSystemdUserService(store, options, runtime) {
|
|
103658
103653
|
const path7 = systemdUnitPath();
|
|
@@ -109503,7 +109498,7 @@ var init_file_selector = __esm({
|
|
|
109503
109498
|
|
|
109504
109499
|
// src/utils/http.ts
|
|
109505
109500
|
function getUserAgent() {
|
|
109506
|
-
return `moxt-cli/${"0.13.
|
|
109501
|
+
return `moxt-cli/${"0.13.6"} (${(0, import_os.platform)()}/${(0, import_os.arch)()}) node/${process.versions.node}`;
|
|
109507
109502
|
}
|
|
109508
109503
|
async function sendRequest(method, path7, init) {
|
|
109509
109504
|
return await fetch(`${getApiBaseUrl()}${path7}`, {
|
|
@@ -175534,7 +175529,7 @@ ${captureLines}` : capture.stack;
|
|
|
175534
175529
|
}
|
|
175535
175530
|
});
|
|
175536
175531
|
|
|
175537
|
-
// node_modules/.pnpm/@moxt-ai+mobius@0.0.
|
|
175532
|
+
// node_modules/.pnpm/@moxt-ai+mobius@0.0.53/node_modules/@moxt-ai/mobius/dist/index.js
|
|
175538
175533
|
var dist_exports2 = {};
|
|
175539
175534
|
__export(dist_exports2, {
|
|
175540
175535
|
AcpExecutionError: () => AcpExecutionError2,
|
|
@@ -191830,32 +191825,41 @@ async function resolveSessionDirectories2(directories, bindingId, directoryId22,
|
|
|
191830
191825
|
async function discoverAgentSettings2(command, config22, directories, sessions, signal) {
|
|
191831
191826
|
const agent = config22.catalog.find(command.agentId);
|
|
191832
191827
|
const cwd = await directories.resolve(config22.bindingId, "default", signal);
|
|
191833
|
-
const
|
|
191828
|
+
const baseSnapshot = await sessions.inspectAgentSettings({
|
|
191829
|
+
additionalDirectories: [],
|
|
191830
|
+
agent,
|
|
191831
|
+
cwd,
|
|
191832
|
+
signal
|
|
191833
|
+
});
|
|
191834
|
+
const selectedSnapshot = command.model === void 0 ? baseSnapshot : await sessions.inspectAgentSettings({
|
|
191834
191835
|
additionalDirectories: [],
|
|
191835
191836
|
agent,
|
|
191836
191837
|
cwd,
|
|
191838
|
+
model: command.model,
|
|
191837
191839
|
signal
|
|
191838
191840
|
});
|
|
191839
191841
|
const adapter = agentSettingsAdapterForAgent2(agent.id);
|
|
191840
|
-
const
|
|
191842
|
+
const baseSettings = settingsFromSnapshot2(agent, baseSnapshot.configOptions);
|
|
191843
|
+
const settings = settingsFromSnapshot2(agent, selectedSnapshot.configOptions);
|
|
191841
191844
|
const modelEffort = await discoverModelEffort2(
|
|
191842
191845
|
command,
|
|
191843
191846
|
agent,
|
|
191844
191847
|
adapter.modelEffortResolution,
|
|
191845
|
-
|
|
191848
|
+
baseSnapshot.configOptions,
|
|
191849
|
+
selectedSnapshot.configOptions,
|
|
191846
191850
|
cwd,
|
|
191847
191851
|
sessions,
|
|
191848
191852
|
signal
|
|
191849
191853
|
);
|
|
191850
191854
|
return {
|
|
191851
191855
|
agentId: command.agentId,
|
|
191852
|
-
agentName:
|
|
191853
|
-
agentVersion:
|
|
191856
|
+
agentName: selectedSnapshot.agentName,
|
|
191857
|
+
agentVersion: selectedSnapshot.agentVersion,
|
|
191854
191858
|
kind: AGENT_SETTINGS_DISCOVERED_KIND2,
|
|
191855
191859
|
modelEffort,
|
|
191856
191860
|
requestId: command.requestId,
|
|
191857
191861
|
settings,
|
|
191858
|
-
settingsRevision: settingsRevision2(agent,
|
|
191862
|
+
settingsRevision: settingsRevision2(agent, baseSnapshot.agentVersion, baseSettings, modelEffort)
|
|
191859
191863
|
};
|
|
191860
191864
|
}
|
|
191861
191865
|
function settingFromOption2(option) {
|
|
@@ -191905,13 +191909,12 @@ function unavailableModelEffort2() {
|
|
|
191905
191909
|
valuesByModel: {}
|
|
191906
191910
|
};
|
|
191907
191911
|
}
|
|
191908
|
-
async function discoverModelEffort2(command, agent, resolution, initialOptions, cwd, sessions, signal) {
|
|
191912
|
+
async function discoverModelEffort2(command, agent, resolution, initialOptions, selectedOptions, cwd, sessions, signal) {
|
|
191909
191913
|
const model = modelOption2(initialOptions);
|
|
191910
|
-
const effort = effortOption2(initialOptions);
|
|
191911
191914
|
if (resolution !== AGENT_MODEL_EFFORT_RESOLUTION_COMPLETE2 && resolution !== AGENT_MODEL_EFFORT_RESOLUTION_ON_MODEL_SELECTION2) {
|
|
191912
191915
|
return unavailableModelEffort2();
|
|
191913
191916
|
}
|
|
191914
|
-
if (model === void 0 || model.type !== "select" || model.values.length === 0
|
|
191917
|
+
if (model === void 0 || model.type !== "select" || model.values.length === 0) {
|
|
191915
191918
|
return unavailableModelEffort2();
|
|
191916
191919
|
}
|
|
191917
191920
|
const inspectModel = async (modelValue) => (await sessions.inspectAgentSettings({
|
|
@@ -191923,9 +191926,13 @@ async function discoverModelEffort2(command, agent, resolution, initialOptions,
|
|
|
191923
191926
|
})).configOptions;
|
|
191924
191927
|
const valuesByModel = {};
|
|
191925
191928
|
if (resolution === "complete") {
|
|
191929
|
+
const effort = effortOption2(initialOptions);
|
|
191930
|
+
if (effort === void 0 || effort.type !== "select" || effort.values.length < 2) {
|
|
191931
|
+
return unavailableModelEffort2();
|
|
191932
|
+
}
|
|
191926
191933
|
for (const value of model.values) {
|
|
191927
|
-
const
|
|
191928
|
-
valuesByModel[value.value] =
|
|
191934
|
+
const selectedEffort2 = effortOption2(await inspectModel(value.value));
|
|
191935
|
+
valuesByModel[value.value] = selectedEffort2?.type === "select" ? selectedEffort2.values : [];
|
|
191929
191936
|
}
|
|
191930
191937
|
return {
|
|
191931
191938
|
effortSettingId: effort.id,
|
|
@@ -191938,18 +191945,24 @@ async function discoverModelEffort2(command, agent, resolution, initialOptions,
|
|
|
191938
191945
|
if (!model.values.some((value) => value.value === command.model)) {
|
|
191939
191946
|
throw new AcpExecutionError2("The selected Agent model is unavailable", {}, "invalid_session_configuration");
|
|
191940
191947
|
}
|
|
191941
|
-
const
|
|
191942
|
-
valuesByModel[command.model] =
|
|
191948
|
+
const selectedEffort2 = effortOption2(selectedOptions);
|
|
191949
|
+
valuesByModel[command.model] = selectedEffort2?.type === "select" ? selectedEffort2.values : [];
|
|
191943
191950
|
}
|
|
191951
|
+
const selectedEffort = effortOption2(selectedOptions);
|
|
191944
191952
|
return {
|
|
191945
|
-
effortSettingId:
|
|
191953
|
+
effortSettingId: selectedEffort?.id ?? "",
|
|
191946
191954
|
modelSettingId: model.id,
|
|
191947
191955
|
resolution: "on_model_selection",
|
|
191948
191956
|
valuesByModel
|
|
191949
191957
|
};
|
|
191950
191958
|
}
|
|
191951
191959
|
function settingsRevision2(agent, reportedAgentVersion, settings, modelEffort) {
|
|
191952
|
-
const revisionModelEffort = modelEffort.resolution === AGENT_MODEL_EFFORT_RESOLUTION_COMPLETE2 ? modelEffort : {
|
|
191960
|
+
const revisionModelEffort = modelEffort.resolution === AGENT_MODEL_EFFORT_RESOLUTION_COMPLETE2 ? modelEffort : {
|
|
191961
|
+
effortSettingId: "",
|
|
191962
|
+
modelSettingId: modelEffort.modelSettingId,
|
|
191963
|
+
resolution: modelEffort.resolution,
|
|
191964
|
+
valuesByModel: {}
|
|
191965
|
+
};
|
|
191953
191966
|
return (0, import_node_crypto20.createHash)("sha256").update(
|
|
191954
191967
|
JSON.stringify({
|
|
191955
191968
|
adapterVersion: agent.adapterVersion,
|
|
@@ -192321,17 +192334,6 @@ function assertSessionConfigurationSchema2(options, selections) {
|
|
|
192321
192334
|
}
|
|
192322
192335
|
}
|
|
192323
192336
|
}
|
|
192324
|
-
function assertSessionConfigurationCoverage2(options, selections) {
|
|
192325
|
-
const selectionsById = new Map(selections.map((selection) => [selection.configId, selection]));
|
|
192326
|
-
if (selectionsById.size !== selections.length) {
|
|
192327
|
-
throw invalidSessionConfiguration2("The Turn configuration contains duplicate Agent settings");
|
|
192328
|
-
}
|
|
192329
|
-
for (const option of options) {
|
|
192330
|
-
if (!selectionsById.has(option.id)) {
|
|
192331
|
-
throw invalidSessionConfiguration2(`The Turn configuration does not match Agent setting ${option.id}`);
|
|
192332
|
-
}
|
|
192333
|
-
}
|
|
192334
|
-
}
|
|
192335
192337
|
function sessionConfigurationSelectionIsAvailable2(option, selection) {
|
|
192336
192338
|
if (option.type !== selection.valueType) {
|
|
192337
192339
|
return false;
|
|
@@ -192460,7 +192462,6 @@ async function applySessionConfigurationSelection2(sessions, audit, options, sel
|
|
|
192460
192462
|
});
|
|
192461
192463
|
}
|
|
192462
192464
|
async function applyCompleteSessionConfiguration2(sessions, audit, initialOptions, selections, agent, cwd, additionalDirectories, commandId, sessionId, signal) {
|
|
192463
|
-
assertSessionConfigurationCoverage2(initialOptions, selections);
|
|
192464
192465
|
let options = initialOptions;
|
|
192465
192466
|
const orderedSelections = selections.toSorted((left, right) => {
|
|
192466
192467
|
const priority = sessionConfigurationPriority2(left, initialOptions) - sessionConfigurationPriority2(right, initialOptions);
|
|
@@ -193609,7 +193610,7 @@ async function createMobiusRuntimeEngine(connection, signal, environment = proce
|
|
|
193609
193610
|
}
|
|
193610
193611
|
var import_node_path45, import_node_url3, import_node_fs13, import_node_child_process14, import_node_fs14, import_promises32, import_node_path46, import_node_os16, import_node_path47, import_node_child_process15, import_promises33, import_node_path48, import_node_url4, import_node_path49, import_node_fs15, import_node_path50, import_node_sqlite4, import_node_fs16, import_node_path51, import_node_sqlite5, import_promises34, import_node_os17, import_node_path52, import_undici9, import_promises35, import_node_path53, import_node_path54, import_node_path55, import_promises36, import_node_path56, import_promises37, import_node_path57, import_node_path58, import_node_crypto18, import_node_fs17, import_promises38, import_node_path59, import_undici10, import_undici11, import_node_path60, import_node_path61, import_node_child_process16, import_node_path62, import_node_path63, import_node_crypto19, import_promises39, import_node_path64, import_node_crypto20, import_node_path65, import_node_util7, import_undici12, import_undici13, import_node_fs18, import_node_path66, import_node_fs19, import_promises40, import_node_path67, import_node_url5, import_node_crypto21, import_undici14, import_promises41, import_node_os18, import_node_path68, import_node_crypto22, import_node_path69, import_node_child_process17, import_node_crypto23, import_undici15, import_undici16, import_node_crypto24, import_node_fs20, import_node_path70, import_node_sqlite6, import_promises42, import_node_path71, __defProp3, __export3, createAcpClient2, external_exports4, core_exports23, util_exports4, Cached4, EVALUATING4, captureStackTrace4, allowsEval4, getParsedType4, propertyKeyTypes4, primitiveTypes4, NUMBER_FORMAT_RANGES4, BIGINT_FORMAT_RANGES4, highSurrogate4, Class4, installing4, broke4, breaker4, CONSTANT_CATCH4, _a7, NEVER4, _zodDesc4, _E4, $brand4, $ZodAsyncError4, $ZodEncodeError4, globalConfig4, _messageDesc4, _issuesDesc4, _installedToString4, initializer6, $ZodError4, $ZodRealError4, _parse6, parse7, _parseAsync6, parseAsync6, _safeParse4, safeParse6, _safeParseAsync4, safeParseAsync6, COMPILE_INVALID4, COMPILE_FALLBACK4, validate4, validateAsync6, _encode6, encode7, _decode6, decode10, _encodeAsync6, encodeAsync6, _decodeAsync6, decodeAsync6, _safeEncode4, safeEncode6, _safeDecode4, safeDecode6, _safeEncodeAsync4, safeEncodeAsync6, _safeDecodeAsync4, safeDecodeAsync6, regexes_exports4, cuid7, cuid26, ulid6, xid6, ksuid6, nanoid6, duration6, extendedDuration4, guid6, uuid9, uuid44, uuid64, uuid74, email6, html5Email4, rfc5322Email4, unicodeEmail4, idnEmail4, browserEmail4, _emoji6, ipv46, ipv66, mac6, cidrv46, cidrv66, base646, base64url6, hostname9, domain4, httpProtocol4, e1646, creditCard6, iban6, dateSource4, date10, anyString4, string11, bigint8, integer4, number8, boolean8, _null8, _undefined8, lowercase4, uppercase4, hex6, md5_hex4, md5_base644, md5_base64url4, sha1_hex4, sha1_base644, sha1_base64url4, sha256_hex4, sha256_base644, sha256_base64url4, sha384_hex4, sha384_base644, sha384_base64url4, sha512_hex4, sha512_base644, sha512_base64url4, $ZodCheck4, _whenHasSize4, _whenHasLength4, numericOriginMap4, $ZodCheckLessThan4, $ZodCheckGreaterThan4, $ZodCheckMultipleOf4, $ZodCheckNumberFormat4, $ZodCheckBigIntFormat4, $ZodCheckMaxSize4, $ZodCheckMinSize4, $ZodCheckSizeEquals4, $ZodCheckMaxLength4, $ZodCheckMinLength4, $ZodCheckLengthEquals4, $ZodCheckStringFormat4, $ZodCheckRegex4, $ZodCheckLowerCase4, $ZodCheckUpperCase4, $ZodCheckIncludes4, $ZodCheckStartsWith4, $ZodCheckEndsWith4, $ZodCheckProperty4, $ZodCheckMimeType4, $ZodCheckOverwrite4, Doc4, version4, $ZodType4, toStandardResult4, $ZodString4, $ZodStringFormat4, $ZodGUID4, $ZodUUID4, $ZodEmail4, URL_BAD_FORMAT4, URL_UNPARSEABLE4, asciiTabOrNewline4, $ZodURL4, $ZodEmoji4, $ZodNanoID4, $ZodCUID5, $ZodCUID24, $ZodULID4, $ZodXID4, $ZodKSUID4, $ZodISODateTime4, $ZodISODate4, $ZodISOTime4, $ZodISODuration4, $ZodIPv44, ipv6Alphabet4, $ZodIPv64, $ZodMAC4, $ZodCIDRv44, $ZodCIDRv64, base64Charset4, $ZodBase644, base64urlCharset4, $ZodBase64URL4, $ZodE1644, CC_SANITIZE4, $ZodCreditCard4, $ZodIBAN4, $ZodJWT4, $ZodCustomStringFormat4, $ZodNumber4, $ZodNumberFormat4, $ZodBoolean4, $ZodBigInt4, $ZodBigIntFormat4, $ZodSymbol4, $ZodUndefined4, $ZodNull4, $ZodAny4, $ZodUnknown4, $ZodNever4, $ZodVoid4, $ZodDate4, $ZodArray4, NO_SYMBOL_KEYS4, $ZodObject4, $ZodObjectJIT4, $ZodUnion4, $ZodXor4, $ZodDiscriminatedUnion4, $ZodIntersection4, $ZodTuple4, $ZodRecord4, $ZodMap4, $ZodSet4, $ZodEnum4, $ZodLiteral4, $ZodFile4, $ZodTransform4, $ZodOptional4, $ZodExactOptional4, $ZodNullable4, $ZodDefault4, $ZodPrefault4, $ZodNonOptional4, $ZodSuccess4, $ZodCatch4, $ZodNaN4, $ZodPipe4, $ZodCodec4, $ZodPreprocess4, $ZodReadonly4, $ZodTemplateLiteral4, $ZodFunction4, $ZodPromise4, $ZodLazy4, $ZodCustom4, $ZodProperties2, $ZodCyclicError4, STATE4, NO_ISSUES4, recursive4, NONE4, ASSUMED4, PROVEN4, handoff4, open9, memo4, locales_exports4, error131, error211, error311, error411, error511, error610, error710, error810, error910, error1010, error1110, error1210, error133, error143, error153, error163, error173, error183, error193, error203, error213, error223, error233, error243, error253, error263, error273, error283, error293, error303, error313, error323, capitalizeFirstCharacter4, error333, error343, error353, error363, error373, error383, error393, error403, error413, error423, error433, error443, error453, error463, error473, error483, error493, error503, error513, error523, error533, error543, error553, error563, error573, error583, error593, error603, error613, _a23, $output4, $input4, $ZodRegistry4, globalRegistry4, INVALID4, FALLBACK_FLAG4, ZodCompileAsyncError4, ZodCompileUnsupportedError4, WHEN_DEFAULTED_CHECKS4, PATTERN_IS_COMPLETE4, TimePrecision4, FOLDABLE_KEYS4, UNION_KEYS4, createToJSONSchemaMethod4, createStandardJSONSchemaMethod4, narrowMin4, narrowMax4, narrowBoth4, addDivisor4, addPattern4, intersectMime4, setFormat4, minContributor4, maxContributor4, formatContributor4, contributors4, formatMap4, exactPatterns4, exactPattern4, stringProcessor4, numberProcessor4, booleanProcessor4, bigintProcessor4, symbolProcessor4, nullProcessor4, undefinedProcessor4, voidProcessor4, neverProcessor4, anyProcessor4, unknownProcessor4, dateProcessor4, enumProcessor4, literalProcessor4, nanProcessor4, templateLiteralProcessor4, fileProcessor4, successProcessor4, customProcessor4, functionProcessor4, transformProcessor4, mapProcessor4, setProcessor4, arrayProcessor4, objectProcessor4, propertiesProcessor2, unionProcessor4, intersectionProcessor4, tupleProcessor4, pendingRecords4, recordProcessor4, nullableProcessor4, nonoptionalProcessor4, UNREPRESENTABLE_DEFAULT4, defaultProcessor4, prefaultProcessor4, catchProcessor4, pipeProcessor4, readonlyProcessor4, promiseProcessor4, optionalProcessor4, lazyProcessor4, allProcessors4, JSONSchemaGenerator4, json_schema_exports4, schemas_exports23, checks_exports23, _installedErrorProtos4, initializer23, ZodError4, ZodRealError4, parse23, parseAsync23, safeParse23, safeParseAsync23, encode23, decode23, encodeAsync23, decodeAsync23, safeEncode23, safeDecode23, safeEncodeAsync23, safeDecodeAsync23, ZodType4, _ZodString4, ZodString4, ZodStringFormat4, ZodISODateTime4, ZodISODate4, ZodISOTime4, ZodISODuration4, ZodEmail4, ZodGUID4, ZodUUID4, ZodURL4, ZodEmoji4, ZodNanoID4, ZodCUID5, ZodCUID24, ZodULID4, ZodXID4, ZodKSUID4, ZodIPv44, ZodMAC4, ZodIPv64, ZodCIDRv44, ZodCIDRv64, ZodBase644, ZodBase64URL4, ZodE1644, ZodCreditCard4, ZodIBAN4, ZodJWT4, ZodCustomStringFormat4, ZodNumber4, ZodNumberFormat4, ZodBoolean4, ZodBigInt4, ZodBigIntFormat4, ZodSymbol4, ZodUndefined4, ZodNull4, ZodAny4, ZodUnknown4, ZodNever4, ZodVoid4, ZodDate4, ZodArray4, ZodObject4, ZodUnion4, ZodXor4, ZodDiscriminatedUnion4, ZodIntersection4, ZodTuple4, ZodRecord4, ZodMap4, ZodSet4, ZodEnum4, ZodLiteral4, ZodFile4, ZodTransform4, ZodOptional4, ZodExactOptional4, ZodNullable4, ZodDefault4, ZodPrefault4, ZodNonOptional4, ZodSuccess4, ZodCatch4, ZodNaN4, ZodPipe4, ZodCodec4, ZodPreprocess4, ZodReadonly4, ZodTemplateLiteral4, ZodLazy4, ZodPromise4, ZodFunction4, ZodCustom4, ZodProperties2, describe23, meta23, ZodInstanceOf4, stringbool4, ZodIssueCode4, ZodFirstPartyTypeKind4, iso_exports4, z4, RECOGNIZED_KEYS4, SCHEMA_KEYWORDS4, SCHEMA_MAP_KEYWORDS4, fullTime4, RESOLVING4, coerce_exports4, TOKEN_COUNT2, promptUsageSchema2, quotaTokenCountSchema2, promptMetadataSchema2, agentPromptResponseSchema2, WORKSPACE_LIST_KIND2, WORKSPACE_ENTRIES_KIND2, SESSION_PREPARE_KIND2, SESSION_READY_KIND2, SESSION_CONFIGURE_KIND2, SESSION_CONFIG_UPDATED_KIND2, SESSION_USAGE_UPDATED_KIND2, SESSION_COMMANDS_UPDATED_KIND2, SESSION_INFO_UPDATED_KIND2, SESSION_PERMISSION_REQUESTED_KIND2, SESSION_PERMISSION_RESPOND_KIND2, SESSION_PERMISSION_RESOLVED_KIND2, SESSION_ELICITATION_REQUESTED_KIND2, SESSION_ELICITATION_RESPOND_KIND2, SESSION_ELICITATION_RESOLVED_KIND2, SESSION_OPERATION_FAILED_KIND2, AGENT_CONTENT_KIND2, AGENT_INSTALL_REQUEST_KIND2, AGENT_INSTALL_CANCEL_KIND2, AGENT_INSTALL_STARTED_KIND2, AGENT_INSTALL_PROGRESS_KIND2, AGENT_INSTALL_COMPLETED_KIND2, AGENT_INSTALL_FAILED_KIND2, AGENT_INSTALL_CANCELLED_KIND2, AGENT_SETTINGS_DISCOVER_KIND2, AGENT_SETTINGS_DISCOVERED_KIND2, AGENT_SETTINGS_DISCOVERY_FAILED_KIND2, FILE_READ_KIND2, FILE_BEGIN_KIND2, FILE_CHUNK_KIND2, FILE_END_KIND2, FILE_FAILED_KIND2, IDENTIFIER_PATTERN5, DIRECTORY_IDENTIFIER_PATTERN3, IDENTIFIER2, DIRECTORY_IDENTIFIER2, SHORT_TEXT2, LONG_TEXT2, workspaceEntrySchema2, fileReadCommandSchema2, fileBeginEventSchema2, fileChunkEventSchema2, fileEndEventSchema2, fileFailedEventSchema2, configValueSchema2, sessionConfigOptionSchema2, sessionConfigOptionsSchema2, agentSettingSchema2, agentSettingsSchema2, AGENT_MODEL_EFFORT_RESOLUTION_COMPLETE2, AGENT_MODEL_EFFORT_RESOLUTION_ON_MODEL_SELECTION2, AGENT_MODEL_EFFORT_RESOLUTION_UNAVAILABLE2, agentModelEffortResolutionSchema2, agentModelEffortSchema2, agentSettingsDiscoverCommandSchema2, agentSettingsDiscoveredEventSchema2, agentSettingsDiscoveryFailedEventSchema2, sessionConfigurationSelectionSchema2, AGENT_DEFAULT_EXECUTION_SETTING2, AGENT_PERMISSION_MODE_CONFIG_ID2, AGENT_PERMISSION_MODES2, agentExecutionConfigurationSchema2, DEFAULT_AGENT_EXECUTION_CONFIGURATION2, sessionConfigurationSelectionsSchema2, sessionCapabilitiesSchema2, sessionCommandSchema2, permissionOptionSchema2, elicitationOptionSchema2, elicitationFieldSchema2, displayContentSchema2, recordedDisplayContentSchema2, promptImageSchema2, promptResourceSchema2, workspaceListCommandSchema2, workspaceEntriesEventSchema2, sessionIdentityFields2, sessionPrepareCommandSchema2, runtimeTimingsSchema2, sessionReadyEventSchema2, sessionConfigureCommandSchema2, sessionConfigUpdatedEventSchema2, sessionContextUsageUpdatedEventSchema2, sessionPromptUsageUpdatedEventSchema2, sessionUsageUpdatedEventSchema2, sessionCommandsUpdatedEventSchema2, sessionInfoUpdatedEventSchema2, sessionPermissionRequestedEventSchema2, sessionPermissionRespondCommandSchema2, sessionPermissionResolvedEventSchema2, sessionElicitationRequestedEventSchema2, sessionElicitationRespondCommandSchema2, sessionElicitationResolvedEventSchema2, sessionOperationFailedEventSchema2, agentContentEventSchema2, agentInstallIdentityFields2, agentInstallRequestCommandSchema2, agentInstallCancelCommandSchema2, agentInstallStartedEventSchema2, installationStageSchema2, agentInstallProgressEventSchema2, agentInstallCompletedEventSchema2, agentInstallFailedEventSchema2, agentInstallCancelledEventSchema2, decodeAgentDisplayContentValue2, decodeRecordedAgentContentValue2, decodePromptImagesValue2, decodePromptResourcesValue2, decodeSessionConfigurationSelections2, encode33, decodeAgentSettingsDiscoverCommand2, encodeAgentSettingsDiscoveredEvent2, encodeAgentSettingsDiscoveryFailedEvent2, decodeFileReadCommand2, encodeFileBeginEvent2, encodeFileChunkEvent2, encodeFileEndEvent2, encodeFileFailedEvent2, decodeWorkspaceListCommand2, encodeWorkspaceEntriesEvent2, decodeSessionPrepareCommand2, encodeSessionReadyEvent2, decodeSessionConfigureCommand2, encodeSessionConfigUpdatedEvent2, encodeSessionUsageUpdatedEvent2, encodeSessionCommandsUpdatedEvent2, encodeSessionInfoUpdatedEvent2, encodeSessionPermissionRequestedEvent2, decodeSessionPermissionRespondCommand2, encodeSessionPermissionResolvedEvent2, encodeSessionElicitationRequestedEvent2, decodeSessionElicitationRespondCommand2, encodeSessionElicitationResolvedEvent2, encodeSessionOperationFailedEvent2, encodeAgentContentEvent2, decodeAgentInstallRequestCommand2, decodeAgentInstallCancelCommand2, encodeAgentInstallStartedEvent2, encodeAgentInstallProgressEvent2, encodeAgentInstallCompletedEvent2, encodeAgentInstallFailedEvent2, encodeAgentInstallCancelledEvent2, SESSION_PROMPT_KIND2, SESSION_CANCEL_KIND2, RUNTIME_LIVENESS_READY_KIND2, RUNTIME_HEARTBEAT_KIND2, RUNTIME_HEARTBEAT_ACK_KIND2, RUNTIME_DELIVERY_KIND2, RUNTIME_DELIVERY_RECEIVED_KIND2, RUNTIME_DELIVERY_COMMITTED_KIND2, SESSION_STARTED_KIND2, AGENT_MESSAGE_DELTA_KIND2, AGENT_ACTIVITY_KIND2, AGENT_ACTIVITY_DETAIL_LIMIT2, AGENT_ACTIVITY_RECORDED_FIELD_LIMIT2, AGENT_ACTIVITY_RECORDED_DETAIL_LIMIT2, AGENT_ACTIVITY_LOCATION_LIMIT2, AGENT_ACTIVITY_LOCATION_LENGTH_LIMIT2, SESSION_COMPLETED_KIND2, SESSION_FAILED_KIND2, SessionPromptDisposition2, IDENTIFIER_PATTERN22, DIRECTORY_IDENTIFIER_PATTERN22, MAX_PROMPT_LENGTH2, MAX_PROMPT_ATTACHMENT_LENGTH2, MAX_EVENT_TEXT_LENGTH2, MAX_RUNTIME_DELIVERY_PAYLOAD_LENGTH2, ACTIVITY_TYPES2, ACTIVITY_STATUSES2, TOOL_KINDS2, ProtocolMessageError2, MOBIUS_API_PREFIX2, API_PREFIX_PATTERN2, MobiusApiConfigurationError2, SESSION_HISTORY_CHARACTER_LIMIT2, SESSION_HISTORY_MESSAGE_LIMIT2, SESSION_HISTORY_PREVIEW_MESSAGE_LIMIT2, SESSION_HISTORY_IMAGE_CHARACTER_LIMIT2, historyImage2, historyMessage2, sessionHistorySchema2, NATIVE_SESSION_REQUEST_KIND2, NATIVE_SESSION_RESULT_KIND2, NATIVE_SESSION_CANCEL_KIND2, NATIVE_SESSION_TURN_FORK_REQUEST_KIND2, NATIVE_SESSION_TURN_FORK_KIND2, identifier2, directoryId2, envelope2, identity2, turnForkIdentity2, nativeSessionTurnForkRequestSchema2, nativeSessionTurnForkCommandSchema2, nativeSessionCommandSchema2, nativeSessionEntrySchema2, resultEnvelope2, nativeSessionResultSchema2, nativeSessionCancelSchema2, decodeNativeSessionCommand2, encodeNativeSessionResult2, decodeNativeSessionCancel2, decodeNativeSessionTurnForkCommand2, SESSION_EVENT_KIND2, SESSION_EVENT_ACK_KIND2, SESSION_EVENT_COMMITTED_KIND2, SESSION_EVENT_DEFERRED_KIND2, SESSION_EVENT_REJECTED_KIND2, SessionEventRejectionCode2, IDENTIFIER_PATTERN32, CURSOR_PATTERN2, MAX_RECORDED_EVENT_LENGTH2, DECIMAL_SEQUENCE_PATTERN2, eventSourceSchema2, eventEnvelopeSchema2, committedEventSchema2, eventAcknowledgementSchema2, eventDeferredSchema2, eventRejectionSchema2, encode42, decodeSessionEventEnvelope2, encodeSessionEventEnvelope2, decodeSessionEventAcknowledgement2, decodeSessionEventDeferred2, decodeSessionEventRejection2, DEFAULT_OUTPUT_LIMIT_BYTES2, PROCESS_GRACEFUL_STOP_TIMEOUT_MILLISECONDS2, PROCESS_FORCED_STOP_TIMEOUT_MILLISECONDS2, PROCESS_TABLE_TIMEOUT_MILLISECONDS2, PROCESS_TABLE_OUTPUT_LIMIT_BYTES2, PROCESS_EXIT_CHECK_ATTEMPTS2, GRACEFUL_STOP_SIGNAL2, FORCED_STOP_SIGNAL2, ExecutableIdentity2, ResolvedExecutable2, ProcessExecutionError2, ProcessResult2, LocalAgentDefinition2, InstallableAgentDefinition2, MissingAgentDefinition2, AgentIntegrationDefinition2, LocalAgentCatalogSnapshot2, LocalAgentCatalogError2, LocalAgentCatalog2, DaemonLocalContext2, DaemonReconnectTarget2, OpaqueDaemonReconnectTarget2, ChannelDaemonReconnectTarget2, MAX_LOCAL_RASTER_BYTES2, MAX_INLINE_RASTER_BYTES2, PNG_SIGNATURE2, JPEG_SIGNATURE2, GIF87_SIGNATURE2, GIF89_SIGNATURE2, RIFF_SIGNATURE2, WEBP_SIGNATURE2, LocalRasterImage2, MAX_INLINE_VIDEO_BYTES2, MP4_FILE_TYPE2, WEBM_SIGNATURE2, LocalVideo2, AccumulatingOperationMetrics2, unmeasuredOperationMetrics2, IMAGE_MARKER2, TRUNCATION_MARKER2, AcpActivity2, ActivityIdentity2, AcpActivityTracker2, emptyOptions3, characterEntities3, own23, hasOwnProperty3, asciiAlpha3, asciiAlphanumeric3, asciiAtext3, asciiDigit3, asciiHexDigit3, asciiPunctuation3, unicodePunctuation3, unicodeWhitespace3, content5, document5, containerConstruct3, attention3, autolink3, blankLine3, blockQuote3, characterEscape3, characterReference3, nonLazyContinuation3, codeFenced3, codeIndented3, furtherStart3, codeText3, SpliceBuffer3, content22, continuationConstruct3, definition3, titleBefore3, hardBreakEscape3, headingAtx3, htmlBlockNames3, htmlRawNames3, htmlFlow3, blankLineBefore3, nonLazyContinuationStart3, htmlText3, labelEnd3, resourceConstruct3, referenceFullConstruct3, referenceCollapsedConstruct3, labelStartImage3, labelStartLink3, lineEnding3, thematicBreak3, list3, listItemPrefixWhitespaceConstruct3, indentConstruct3, setextUnderline3, flow5, resolver3, string43, text5, constructs_exports3, document23, contentInitial3, flowInitial3, flow22, string52, text22, insideSpan3, attentionMarkers3, disable3, search3, characterEscapeOrReference3, own32, convert3, empty3, CONTINUE3, EXIT3, SKIP3, path5, title2, nativeSessionIdSchema2, nativeSessionInfoSchema2, nativeSessionPageSchema2, AGENT_DEFAULT_REASONING_EFFORT2, MAXIMUM_CONFIG_OPTIONS2, SessionConfigProtocolError2, StandardSessionConfigProtocol2, standardSessionConfigProtocol2, LEGACY_MODEL_CONFIG_ID2, LEGACY_REASONING_EFFORT_CONFIG_ID2, GrokBuildSessionConfigProtocol2, grokBuildSessionConfigProtocol2, AcpHistoryReplay2, AcpStoredSession2, AcpStoredSessionLookup2, MissingAcpStoredSession2, FoundAcpStoredSession2, DeletedAcpStoredSession2, MemoryAcpSessionStore2, SqliteAcpSessionStore2, PROCESS_STOP_TIMEOUT_MILLISECONDS2, MAX_ACP_PROCESSES2, MAX_PRE_SESSION_UPDATES2, MAX_PRE_SESSION_UPDATE_BYTES2, SESSION_CONTROL_COMMAND_ID2, SESSION_CONTROL_TIMEOUT_MILLISECONDS2, NullAcpSessionObserver2, AcpPreparedSession2, AcpAgentSettingsSnapshot2, AcpExecutionError2, RetryableAcpInitializationError2, AcpProcessCapacityLease2, AcpProcessCapacityWaiter2, AcpProcessCapacityLock2, AcpTurnState2, IdleAcpTurn2, RunningAcpTurn2, PendingPermission2, PendingElicitation2, AcpProcessSession2, AcpProcessEvictionCandidate2, MissingAcpProcessEvictionCandidate2, FoundAcpProcessEvictionCandidate2, FoundAcpSessionProcessEvictionCandidate2, FoundAcpNativeBrowserProcessEvictionCandidate2, AcpSessionManager2, AuditStore2, LocalAuthorizationError2, AgentDiscovery2, AvailableAgent2, UnavailableAgent2, UnavailableInstalledAgent2, MissingAdapter2, MissingAgent2, AgentProbeFailed2, IntegrationProbeFailed2, IncompatibleAdapter2, AuthenticationRequiredAgent2, LocalAgentInventory2, INSTALL_TIMEOUT_MILLISECONDS2, PACKAGE_METADATA_LIMIT_BYTES2, PACKAGE_LOCK_LIMIT_BYTES2, ManagedNpmPackageDefinition2, SriManagedNpmPackageDefinition2, SriManagedNpmDependencyDefinition2, ManagedNpmPackageError2, ManagedNpmPackageInstaller2, VERSION_PROBE_TIMEOUT_MILLISECONDS2, ACP_PROBE_TIMEOUT_MILLISECONDS3, LocalAgentSpecification2, DirectAcpAgentDefinition2, BridgedAcpAgentDefinition2, ClaudeCodeAgentSpecification2, CodexAgentSpecification2, AgentProbeError2, COPILOT_CLI_TESTED_VERSION2, CopilotCliAgentSpecification2, CURSOR_CLI_TESTED_VERSION2, CursorCliAgentSpecification2, DeepSeekHarnessManagedPackage2, DEEPSEEK_HARNESS_PACKAGE2, DeepSeekHarnessAgentSpecification2, GEMINI_CLI_TESTED_VERSION2, GeminiCliAgentSpecification2, GROK_BUILD_MANAGED_VERSION2, GrokBuildManagedPackage2, GROK_DARWIN_ARM64_PACKAGE2, GROK_DARWIN_X64_PACKAGE2, GROK_LINUX_ARM64_PACKAGE2, GROK_LINUX_X64_PACKAGE2, GrokBuildAgentSpecification2, HERMES_TESTED_VERSION2, HermesAgentSpecification2, configuredHttpProxy2, configuredHttpsProxy2, environmentProxyDispatcher2, ARCHIVE_DOWNLOAD_LIMIT_BYTES2, ARCHIVE_DOWNLOAD_TIMEOUT_MILLISECONDS2, MANIFEST_LIMIT_BYTES2, ManagedAgentArchiveDefinition2, ZipManagedAgentArchiveDefinition2, TarGzipManagedAgentArchiveDefinition2, ManagedAgentArchiveError2, OPENCODE_MANAGED_VERSION2, OpenCodeAgentSpecification2, PI_ACP_PACKAGE2, PI_AGENT_PACKAGE2, ACP_PROBE_TIMEOUT_MILLISECONDS22, PiAgentSpecification2, WORKBUDDY_MANAGED_VERSION2, WorkBuddyManagedPackage2, WORKBUDDY_MANAGED_PACKAGE2, WORKBUDDY_MACOS_EXECUTABLE_PATH2, WorkBuddyAgentSpecification2, ACP_OUTPUT_LIMIT_BYTES2, VerifiedAcpReadiness2, DiscoveryAcpHandler2, ManagedAdapterInstallError2, ManagedAdapterInstaller2, VerifiedAgentExecutable2, APPLICATION_ID_PATTERN2, CONNECTION_ID_PATTERN2, INSTALLATION_ID_PATTERN2, IDENTIFIER_PATTERN42, RUNTIME_CREDENTIAL_PATTERN3, MAX_FILE_LENGTH2, INSTALLATION_POINTER_KEYS2, CHANNEL_INDEX_KEYS2, VERIFIED_CONNECTION_KEYS2, IMPORTED_LEGACY_CONNECTION_KEYS2, CURRENT_CONNECTION_KEYS2, LEGACY_CONNECTION_KEYS2, RuntimeInstallationStoreError2, StoredRuntimeConnection2, VerifiedRuntimeConnection2, ImportedLegacyRuntimeConnection2, RuntimeInstallationStore2, PAIRING_TIMEOUT_MILLISECONDS, PAIRING_CODE_PATTERN, IDENTIFIER_PATTERN52, TOKEN_PATTERN, CLAIM_RESPONSE_KEYS, REDEEM_RESPONSE_KEYS, MOBIUS_CLI_APPLICATION_ID, PairingClientError2, ResumeCommandTarget, ConnectionResumeCommandTarget, LegacyChannelResumeCommandTarget, AGENT_DEFAULT_VALUE2, READ_ONLY_VALUE2, WORKSPACE_WRITE_VALUE2, DANGER_FULL_ACCESS_VALUE2, DEEPSEEK_HARNESS_ACCESS_MODE_SETTING_ID2, OPENCODE_PERMISSION_SETTING_ID2, AgentSettingsConfigurationError2, AgentSettingsLaunchSelectionResult2, AppliedAgentLaunchSettings2, AgentSettingsAdapter2, dshAccessModes2, DeepSeekHarnessSettingsAdapter2, openCodePermissionModes2, OpenCodeSettingsAdapter2, CodexSettingsAdapter2, genericAdapter2, codexAdapter2, deepSeekHarnessAdapter2, openCodeAdapter2, CATALOG_UPDATE_TIMEOUT_MILLISECONDS2, AgentCatalogPublishError2, INSTALLATION_DEADLINE_MILLISECONDS2, AgentInstallation2, RequestedInstallation2, RunningInstallation2, SucceededInstallation2, FailedInstallation2, CancelledInstallation2, InstallationManagerError2, NullInstallationAudit2, InstallationJob2, AgentInstallationManager2, FixedInstallationExecutor2, CHUNK_BYTES2, MobiusError2, MobiusProtocolError2, MobiusValidationError2, IDENTIFIER_PATTERN62, MobiusArtifactUploadRequest2, MobiusArtifact2, MobiusUploadingArtifact2, MobiusArtifactUpload2, MobiusAvailableArtifact2, MobiusExpiredArtifact2, MobiusRuntimePairingLifecycle2, UPLOAD_TIMEOUT_MILLISECONDS2, RuntimeArtifactUploadError2, UploadedRuntimeArtifact2, WorkspaceDirectoryListing2, WorkspaceDirectoryService2, responseSchema2, threadSchema2, turnsSchema2, itemTypeSchema2, userMessageSchema2, textSchema2, imageSchema2, agentMessageSchema2, NativeSessionService2, ARTIFACT_SCHEME2, ARTIFACT_DOWNLOAD_TIMEOUT_MILLISECONDS2, MAX_AGENT_IMAGE_BASE64_LENGTH2, MAX_AGENT_RESOURCE_BYTE_LENGTH2, IDENTIFIER_PATTERN72, PromptArtifactError2, ResolvedPromptArtifacts2, PromptArtifactReference2, CONNECTION_TIMEOUT_MILLISECONDS2, RelayConnectionError2, MAX_DIAGNOSTIC_TEXT_LENGTH2, RelayConnectionDiagnostics2, HEARTBEAT_ACK_TIMEOUT_MILLISECONDS2, HEARTBEAT_INTERVAL_MILLISECONDS2, RelayLivenessState2, UnsupportedRelayLivenessState2, AwaitingHeartbeatAckState2, WaitingForHeartbeatState2, FinishedRelayLivenessState2, RelayConnectionLiveness2, DEFAULT_OUTBOX_LIMITS2, SessionEventOutboxCapacityError2, RuntimeDeliveryInboxCapacityError2, StoredRuntimeDelivery2, SessionEventOutbox2, SystemDaemonTimer2, systemDaemonTimer2, RELAY_RECONNECT_DELAY_MILLISECONDS2, AGENT_ACTIVITY_COALESCING_MILLISECONDS2, ACTIVE_TURN_RECONCILIATION_TIMEOUT_MILLISECONDS2, ACTIVE_TURN_RECONCILIATION_CLOSE_CODE2, DaemonAcpObserver2, AuditInstallationEvents2, DaemonInstallationObserver2, ResolvedSessionDirectories2, ActiveDaemonTurn2, ActiveTurnReconciliationError2, DaemonSessionEventConnectionState2, DisconnectedDaemonSessionEventState2, ConnectedDaemonSessionEventState2, SESSION_EVENT_REPLAY_WINDOW2, SESSION_EVENT_SOURCE_REPLAY_WINDOW2, SESSION_EVENT_REPLAY_BYTE_LIMIT2, InFlightSessionEvent2, DaemonSessionEventPublisher2, CoalescingDaemonActivityPublisher2, IDENTIFIER_PATTERN8, RUNTIME_CREDENTIAL_PATTERN22, MobiusRuntimeConfigurationError2, MobiusRuntimeState3, IdleMobiusRuntimeState2, RunningMobiusRuntimeState2, FinishedMobiusRuntimeState2, MobiusRuntimeEngine2;
|
|
193611
193612
|
var init_dist3 = __esm({
|
|
193612
|
-
"node_modules/.pnpm/@moxt-ai+mobius@0.0.
|
|
193613
|
+
"node_modules/.pnpm/@moxt-ai+mobius@0.0.53/node_modules/@moxt-ai/mobius/dist/index.js"() {
|
|
193613
193614
|
"use strict";
|
|
193614
193615
|
init_cjs_shims();
|
|
193615
193616
|
init_acp2();
|
|
@@ -219047,7 +219048,7 @@ var FLUSH_TIMEOUT_MS = 3e3;
|
|
|
219047
219048
|
var MAX_BATCH_SIZE = 100;
|
|
219048
219049
|
function commonLabels() {
|
|
219049
219050
|
return {
|
|
219050
|
-
cli_version: "0.13.
|
|
219051
|
+
cli_version: "0.13.6",
|
|
219051
219052
|
node_version: process.versions.node,
|
|
219052
219053
|
os: (0, import_node_os.platform)(),
|
|
219053
219054
|
arch: (0, import_node_os.arch)(),
|
|
@@ -219093,7 +219094,7 @@ async function flush() {
|
|
|
219093
219094
|
}
|
|
219094
219095
|
const batch = buffer.splice(0, MAX_BATCH_SIZE);
|
|
219095
219096
|
const payload = {
|
|
219096
|
-
release_id: "0.13.
|
|
219097
|
+
release_id: "0.13.6",
|
|
219097
219098
|
client_type: "cli",
|
|
219098
219099
|
metric_data_list: batch.map((m) => ({
|
|
219099
219100
|
profile: "cli",
|
|
@@ -219510,9 +219511,9 @@ void runCli();
|
|
|
219510
219511
|
async function runCli() {
|
|
219511
219512
|
try {
|
|
219512
219513
|
const { createProgram: createProgram2 } = await Promise.resolve().then(() => (init_program(), program_exports));
|
|
219513
|
-
const program2 = createProgram2("0.13.
|
|
219514
|
-
installDaemonReconcileHook(program2, "0.13.
|
|
219515
|
-
installUpdateHook(program2, "0.13.
|
|
219514
|
+
const program2 = createProgram2("0.13.6");
|
|
219515
|
+
installDaemonReconcileHook(program2, "0.13.6");
|
|
219516
|
+
installUpdateHook(program2, "0.13.6");
|
|
219516
219517
|
instrumentProgram(program2);
|
|
219517
219518
|
installExitHandler();
|
|
219518
219519
|
await program2.parseAsync(process.argv);
|