@rivus/agent 0.14.4 → 0.15.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/dist/bootstrap/pi-feishu.d.ts +2 -2
- package/dist/bootstrap/pi-feishu.js +4118 -388
- package/dist/chunks/index.d.ts +117 -1
- package/dist/chunks/pi.js +56 -19
- package/dist/chunks/rivus-daemon-cli.js +452 -144
- package/dist/chunks/rivus-model-management-wire.js +344 -0
- package/dist/chunks/rivus-plugin-testkit.js +1 -1
- package/dist/chunks/{tool-input-digest.js → rivus-tool.js} +67 -67
- package/dist/chunks/src.js +1885 -1687
- package/dist/cli.js +152 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/mcp.js +1 -1
- package/dist/pi.d.ts +2 -0
- package/dist/pi.js +1 -1
- package/examples/pi-feishu-deployment.bootstrap.ts +557 -462
- package/package.json +5 -3
- package/skills/runtime-management/SKILL.md +61 -0
package/dist/cli.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
2
|
+
import { A as validateRivusDeploymentManifest, I as resolveFeishuEndpointCredentials, O as loadRivusDeploymentManifest, X as loadMergedLocalEnvFile, g as findTrustedPackageRoot, h as isPathWithin, m as validateTrustedModulePath, p as resolveNodeRivusPluginModulePath, t as runRivusDaemonCli } from "./chunks/rivus-daemon-cli.js";
|
|
3
|
+
import { c as renderRivusModelCliHelp, n as createRivusModelManagementWireRequest, o as parseRivusModelCliArguments, s as renderRivusModelCliArgumentError } from "./chunks/rivus-model-management-wire.js";
|
|
3
4
|
import { Effect, Either } from "effect";
|
|
4
5
|
import { lstat, mkdir, readFile, realpath, rmdir, stat, unlink, writeFile } from "node:fs/promises";
|
|
5
6
|
import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
6
7
|
import { homedir } from "node:os";
|
|
7
8
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
9
|
+
import { createConnection } from "node:net";
|
|
8
10
|
//#region src/adapters/deployment/inspection/rivus-home-deployment-inspector.ts
|
|
9
11
|
const DEFAULT_BOOTSTRAP_PEERS = Object.freeze(["@earendil-works/pi-coding-agent", "@larksuiteoapi/node-sdk"]);
|
|
10
12
|
function createRivusHomeDeploymentInspector(options = {}) {
|
|
@@ -453,6 +455,7 @@ const RIVUS_CLI_USAGE = `Usage:
|
|
|
453
455
|
rivus check-config
|
|
454
456
|
rivus init [directory]
|
|
455
457
|
rivus doctor [directory] [--env-file <path>]
|
|
458
|
+
rivus model <status|set|rollback> ...
|
|
456
459
|
rivus --bootstrap <module> [--manifest <rivus.config.json>] [options]
|
|
457
460
|
|
|
458
461
|
Commands:
|
|
@@ -463,6 +466,7 @@ Commands:
|
|
|
463
466
|
Validate and print the redacted Rivus Home manifest
|
|
464
467
|
init Create a standalone local Rivus project without overwriting files
|
|
465
468
|
doctor Check Rivus Home by default, or an explicit standalone project directory
|
|
469
|
+
model Query or change the managed default model through the current Home
|
|
466
470
|
|
|
467
471
|
Run rivus --help for the complete daemon option list.
|
|
468
472
|
`;
|
|
@@ -534,6 +538,94 @@ function shellQuote(value) {
|
|
|
534
538
|
return `'${value.replaceAll("'", "'\\''")}'`;
|
|
535
539
|
}
|
|
536
540
|
//#endregion
|
|
541
|
+
//#region src/adapters/cli/model/rivus-model-management-socket-client.ts
|
|
542
|
+
const MAX_FRAME_BYTES = 64 * 1024;
|
|
543
|
+
const DEFAULT_TIMEOUT_MS = 1e4;
|
|
544
|
+
var RivusModelManagementTransportError = class extends Error {
|
|
545
|
+
code;
|
|
546
|
+
constructor(code, message, options) {
|
|
547
|
+
super(message, options);
|
|
548
|
+
this.name = "RivusModelManagementTransportError";
|
|
549
|
+
this.code = code;
|
|
550
|
+
}
|
|
551
|
+
};
|
|
552
|
+
function createRivusModelManagementSocketClient(options) {
|
|
553
|
+
if (!isAbsolute(options.socketPath)) throw new Error("model socket path must be absolute");
|
|
554
|
+
const timeoutMs = options.timeoutMs ?? DEFAULT_TIMEOUT_MS;
|
|
555
|
+
return { execute: (command) => request(options.socketPath, options.env, command, timeoutMs) };
|
|
556
|
+
}
|
|
557
|
+
async function request(socketPath, env, command, timeoutMs) {
|
|
558
|
+
const payload = createRivusModelManagementWireRequest(command, env);
|
|
559
|
+
return new Promise((resolve, reject) => {
|
|
560
|
+
const socket = createConnection(socketPath);
|
|
561
|
+
let response = "";
|
|
562
|
+
let settled = false;
|
|
563
|
+
const finish = (callback) => {
|
|
564
|
+
if (settled) return;
|
|
565
|
+
settled = true;
|
|
566
|
+
callback();
|
|
567
|
+
};
|
|
568
|
+
socket.setEncoding("utf8");
|
|
569
|
+
socket.setTimeout(timeoutMs, () => {
|
|
570
|
+
finish(() => reject(new RivusModelManagementTransportError("timeout", "model management socket timed out")));
|
|
571
|
+
socket.destroy();
|
|
572
|
+
});
|
|
573
|
+
socket.on("connect", () => socket.write(`${JSON.stringify(payload)}\n`));
|
|
574
|
+
socket.on("data", (chunk) => {
|
|
575
|
+
response += chunk;
|
|
576
|
+
if (Buffer.byteLength(response, "utf8") > MAX_FRAME_BYTES) {
|
|
577
|
+
finish(() => reject(new RivusModelManagementTransportError("invalid_response", "model response is too large")));
|
|
578
|
+
socket.destroy();
|
|
579
|
+
}
|
|
580
|
+
});
|
|
581
|
+
socket.on("error", (error) => {
|
|
582
|
+
finish(() => reject(new RivusModelManagementTransportError("socket_error", "model management socket is unavailable", { cause: error })));
|
|
583
|
+
});
|
|
584
|
+
socket.on("end", () => {
|
|
585
|
+
const line = response.split("\n", 1)[0]?.trim();
|
|
586
|
+
if (!line) {
|
|
587
|
+
finish(() => reject(new RivusModelManagementTransportError("invalid_response", "model response was empty")));
|
|
588
|
+
return;
|
|
589
|
+
}
|
|
590
|
+
try {
|
|
591
|
+
const parsed = JSON.parse(line);
|
|
592
|
+
if (!isResponse(parsed)) throw new Error("model response must be a JSON object");
|
|
593
|
+
finish(() => resolve(parsed));
|
|
594
|
+
} catch (error) {
|
|
595
|
+
finish(() => reject(new RivusModelManagementTransportError("invalid_response", "model response was not valid JSON", { cause: error })));
|
|
596
|
+
}
|
|
597
|
+
});
|
|
598
|
+
});
|
|
599
|
+
}
|
|
600
|
+
function isResponse(value) {
|
|
601
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
602
|
+
}
|
|
603
|
+
//#endregion
|
|
604
|
+
//#region src/adapters/cli/model/rivus-model-socket.ts
|
|
605
|
+
const RIVUS_MODEL_SOCKET_ENV = "RIVUS_MODEL_SOCKET";
|
|
606
|
+
const RIVUS_MODEL_MANAGEMENT_ENABLED_ENV = "RIVUS_MODEL_MANAGEMENT_ENABLED";
|
|
607
|
+
const RIVUS_MODEL_SOCKET_RELATIVE_PATH = "state/model-management/control.sock";
|
|
608
|
+
function resolveRivusModelSocketPath(options) {
|
|
609
|
+
const configured = optional(options.env[RIVUS_MODEL_SOCKET_ENV]);
|
|
610
|
+
if (configured) {
|
|
611
|
+
if (!isAbsolute(configured)) throw new Error(`${RIVUS_MODEL_SOCKET_ENV} must be an absolute path`);
|
|
612
|
+
return resolve(configured);
|
|
613
|
+
}
|
|
614
|
+
const configuredHome = optional(options.env.RIVUS_HOME);
|
|
615
|
+
return join(configuredHome ? resolveAbsoluteHome(configuredHome) : resolve(options.homeDirectory, ".rivus-agent"), RIVUS_MODEL_SOCKET_RELATIVE_PATH);
|
|
616
|
+
}
|
|
617
|
+
function isRivusModelManagementEnabled(env) {
|
|
618
|
+
const value = optional(env[RIVUS_MODEL_MANAGEMENT_ENABLED_ENV]);
|
|
619
|
+
return value === "1" || value === "true";
|
|
620
|
+
}
|
|
621
|
+
function resolveAbsoluteHome(value) {
|
|
622
|
+
if (!isAbsolute(value)) throw new Error("RIVUS_HOME must be an absolute path");
|
|
623
|
+
return resolve(value);
|
|
624
|
+
}
|
|
625
|
+
function optional(value) {
|
|
626
|
+
return value?.trim() || void 0;
|
|
627
|
+
}
|
|
628
|
+
//#endregion
|
|
537
629
|
//#region src/adapters/deployment/inspection/rivus-project-doctor.ts
|
|
538
630
|
const REQUIRED_FILES = Object.freeze([
|
|
539
631
|
"package.json",
|
|
@@ -935,12 +1027,71 @@ function runRivusCli(options) {
|
|
|
935
1027
|
if (command === "check-config") return runHomeDaemonCommand(options, "check-config", ["--check-config"]);
|
|
936
1028
|
if (command === "init") return runInitCommand(options);
|
|
937
1029
|
if (command === "doctor") return runDoctorCommand(options);
|
|
1030
|
+
if (command === "model") return runModelCommand(options);
|
|
938
1031
|
if (command && !command.startsWith("-")) return Effect.sync(() => {
|
|
939
1032
|
options.stderr.write(renderRivusCliUnknownCommand(command));
|
|
940
1033
|
return 1;
|
|
941
1034
|
});
|
|
942
1035
|
return runRivusDaemonCli(options);
|
|
943
1036
|
}
|
|
1037
|
+
function runModelCommand(options) {
|
|
1038
|
+
const parsed = parseRivusModelCliArguments(options.argv.slice(1));
|
|
1039
|
+
if ("help" in parsed) return Effect.sync(() => {
|
|
1040
|
+
options.stdout.write(renderRivusModelCliHelp());
|
|
1041
|
+
return 0;
|
|
1042
|
+
});
|
|
1043
|
+
if ("error" in parsed) return Effect.sync(() => {
|
|
1044
|
+
options.stderr.write(renderRivusModelCliArgumentError(parsed.error));
|
|
1045
|
+
return 1;
|
|
1046
|
+
});
|
|
1047
|
+
if (parsed.operation !== "status" && !isRivusModelManagementEnabled(options.env)) return Effect.sync(() => {
|
|
1048
|
+
writeModelResponse(options.stdout, {
|
|
1049
|
+
error: {
|
|
1050
|
+
code: "management_disabled",
|
|
1051
|
+
message: "model management is not enabled for this Home"
|
|
1052
|
+
},
|
|
1053
|
+
schemaVersion: 1,
|
|
1054
|
+
status: "failed"
|
|
1055
|
+
});
|
|
1056
|
+
return 1;
|
|
1057
|
+
});
|
|
1058
|
+
const client = options.modelManagementClient ?? createRivusModelManagementSocketClient({
|
|
1059
|
+
env: options.env,
|
|
1060
|
+
socketPath: resolveRivusModelSocketPath({
|
|
1061
|
+
env: options.env,
|
|
1062
|
+
homeDirectory: options.homeDirectory
|
|
1063
|
+
})
|
|
1064
|
+
});
|
|
1065
|
+
return Effect.tryPromise({
|
|
1066
|
+
try: () => client.execute(parsed),
|
|
1067
|
+
catch: (error) => error
|
|
1068
|
+
}).pipe(Effect.tap((response) => Effect.sync(() => writeModelResponse(options.stdout, response))), Effect.map((response) => modelManagementExitCode(response)), Effect.catchAll((error) => Effect.sync(() => {
|
|
1069
|
+
writeModelResponse(options.stdout, modelTransportFailure(error));
|
|
1070
|
+
return 1;
|
|
1071
|
+
})));
|
|
1072
|
+
}
|
|
1073
|
+
function modelManagementExitCode(response) {
|
|
1074
|
+
if (response.status !== "failed") return 0;
|
|
1075
|
+
if (typeof response.requestId === "string" && response.requestId.trim()) return 0;
|
|
1076
|
+
const request = response.request;
|
|
1077
|
+
if (typeof request !== "object" || request === null || Array.isArray(request)) return 1;
|
|
1078
|
+
const requestId = request.requestId;
|
|
1079
|
+
return typeof requestId === "string" && requestId.trim() ? 0 : 1;
|
|
1080
|
+
}
|
|
1081
|
+
function writeModelResponse(stdout, response) {
|
|
1082
|
+
stdout.write(`${JSON.stringify(response)}\n`);
|
|
1083
|
+
}
|
|
1084
|
+
function modelTransportFailure(error) {
|
|
1085
|
+
const code = error instanceof RivusModelManagementTransportError ? error.code : "socket_error";
|
|
1086
|
+
return {
|
|
1087
|
+
error: {
|
|
1088
|
+
code,
|
|
1089
|
+
message: code === "timeout" ? "model management service timed out" : code === "invalid_response" ? "model management returned an invalid response" : "model management service is unavailable"
|
|
1090
|
+
},
|
|
1091
|
+
schemaVersion: 1,
|
|
1092
|
+
status: "failed"
|
|
1093
|
+
};
|
|
1094
|
+
}
|
|
944
1095
|
function runSetupCommand(options) {
|
|
945
1096
|
return withOptionalDirectoryArgument(options, "setup", (argument) => resolveHomeDirectoryEffect(options, argument).pipe(Effect.flatMap((directory) => options.homeApi.setup(directory).pipe(Effect.tap(() => Effect.sync(() => options.stdout.write(renderRivusSetupSuccess(directory)))), Effect.as(0))), Effect.catchAll((error) => writeError(options, error))));
|
|
946
1097
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as UserDecisionInteractionState, $a as ConfiguredRivusDaemonBootstrap, $c as CardPresentationChain, $d as FeishuAgentMessageSideEffects, $f as FeishuStreamProjector, $i as FeishuCardKitOpenApiTargetCreatorOptions, $l as DefaultAgentHarnessClientFromCallbackOptions, $n as DEFAULT_BACKGROUND_SESSION_SUPERVISOR_INTERVAL_MS, $o as JsonlAgentEventLogOptions, $r as RivusEndpointInput, $s as isBackgroundSessionToolId, $t as ScheduledAutomationOptions, $u as PooledAgentRuntime, A as HumanInteractionRepository, Aa as PiAgentSessionEvent, Ac as RivusDaemonShutdownControllerOptions, Ad as FeishuInboxPendingState, Af as readFeishuMessageContent, Ai as WorkspaceInstructionsSourceError, Al as FeishuMessageQueue, An as RIVUS_MEMORY_TOOL_ID, Ao as createInMemoryFeishuCardTargetRegistry, Ap as AgentSessionAvailability, Ar as requestBackgroundSessionStop, As as RivusDeploymentBootstrapContext, At as DelegationGrant, Au as AgentRunUpdateCallback, B as HumanInteractionFact, Ba as TelemetryContentRedactor, Bc as createRivusDaemonStatusReporter, Bd as ToolOperationResolutionResult, Bf as createFeishuSessionKey, Bi as createSequenceRunIds, Bl as createRivusEnvFromOpenClawConfig, Bn as FeishuBackgroundSessionDelivery, Bo as FeishuCardTarget, Bp as AgentHarnessBusy, Br as AgentMemorySnapshot, Bs as RivusDeploymentDaemonLifecycle, Bt as AutomationOutcome, Bu as JsonHttpResponse, C as createHumanInteractionEndpointRegistry, Ca as PiSessionRegistryOptions, Cc as AutomationBinding, Cd as ToolOperationState, Cf as FeishuPromptAgentCommand, Ci as InvalidStableJson, Cl as FeishuReceiveMessageReplayResult, Cn as InvalidRivusProjectSpace, Co as FeishuCardRolloverSupervisorOptions, Cp as AgentHarnessError, Cr as failBackgroundSessionStep, Cs as RivusDaemonCliOptions, Ct as SpawnSubagentRequest, Cu as AgentClientSuccess, D as HumanInteractionServiceOptions, Da as createPiAgentLoop, Dc as AutomationMandateStore, Dd as FeishuInboxDelivery, Df as FeishuMessageContentInput, Di as createAgentsMdInstructionsProvider, Dl as shouldAcceptFeishuEndpointMessage, Dn as ProjectMemoryRecallIdentity, Do as FeishuCardTargetRegistryOperation, Dp as AgentRunUpdate, Dr as parkBackgroundSessionForReconciliation, Ds as RivusDaemonRecoveryRunner, Dt as intersectToolIds, Du as createAgentHarnessClient, E as HumanInteractionService, Ea as PiAgentSessionHandle, Ec as AutomationMandateError, Ed as FeishuInboxDeadState, Ef as describeFeishuMessageIntake, Ei as WorkspaceInstructionsProvider, El as FeishuEndpointGroupPolicy, En as ProjectMemoryPromptInput, Eo as FeishuCardTargetRegistry, Ep as AgentRunSnapshot, Er as isBackgroundSessionTerminalPhase, Es as RivusDaemonPromptRunner, Et as createDelegationService, Eu as AgentTextDeltaCallback, F as CancelledHumanInteractionState, Fa as isTerminalAgentRunPhase, Fc as RivusDaemonStatusHttpServerOptions, Fd as DeadLetterRequeueResult, Ff as createFeishuSessionStore, Fi as WorkspaceInstructionsView, Fl as mergePiProviderBaseUrlOverride, Fn as RivusMemoryTool, Fo as FeishuCardKitFinish, Fp as AgentSessionSnapshot, Fr as createAgentMemoryService, Fs as RivusDeploymentAutomationReadinessError, Ft as DeliveryOutboxError, Fu as createAgentHarness, G as RejectedHumanInteractionState, Ga as LangfuseTelemetryConfigError, Gc as FeishuCardRolloverHandoffResult, Gd as FeishuAgentDaemonInteractionResult, Gf as FeishuCardDeliveryLedger, Gi as ConfiguredFeishuCardKitPublisherOptions, Gl as RivusDaemonConfig, Gn as resolveFeishuDeliveryChatId, Go as FeishuWebSocketDaemonOptions, Gr as MemoryScope, Gs as RivusDeploymentComponentLifecycle, Gt as PutPluginState, Gu as SessionSchedulerOptions, H as HumanInteractionResolutionAction, Ha as createTelemetryContentRedactor, Hc as FeishuCardRolloverCounters, Hd as FeishuAgentDaemonCancelResult, Hf as HumanInteractionRepositoryError, Hi as FeishuPeriodicFlush, Hl as FeishuEndpointCredentialError, Hn as FeishuBackgroundSessionDeliveryKind, Ho as FeishuWebSocketClient, Hp as AgentRunCancelled, Hr as MemoryBinding, Hs as RivusDeploymentEndpointLifecycle, Ht as DeliveryJob, Hu as SessionScheduler, I as ExpiredHumanInteractionState, Ia as OpenTelemetryAgentEventSinkOptions, Ic as createRivusDaemonStatusHttpServer, Id as RecoveryAction, If as FeishuConversationReference, Ii as WorkspaceRootHandle, Il as OpenClawEnvImportError, In as createRivusMemoryTool, Io as FeishuCardKitPresentationUpdate, Ip as PromptCommand, Ir as AgentMemoryAuthority, Is as RivusDeploymentAutomationStatus, It as createDeliveryOutbox, Iu as FetchLike, J as SelectedHumanInteractionState, Ja as createLangfuseAgentTelemetry, Jc as createFeishuCardRollover, Jd as FeishuAgentDaemonSessionResetResult, Jf as FeishuCardDeliveryReconcilerOptions, Ji as FeishuCoalescingPublisherOptions, Jl as RivusDaemonEnv, Jn as DEFAULT_BACKGROUND_SESSION_LIFETIME_MS, Jo as createFeishuWebSocketDaemon, Jr as AgentMemoryError, Js as BACKGROUND_SESSION_TOOL_IDS, Jt as DailyAutomationSchedule, Ju as AgentRuntimeCancellation, K as RequestToolApprovalInput, Ka as LangfuseTelemetryContentMode, Kc as FeishuCardRolloverOptions, Kd as FeishuAgentDaemonOptions, Kf as FeishuCardDeliveryLedgerStateOptions, Ki as createConfiguredFeishuCardKitPublisher, Kl as RivusDaemonConfigError, Kn as DEFAULT_BACKGROUND_SESSION_LEASE_MS, Ko as FeishuWebSocketEventDispatcher, Kr as MemorySearchQuery, Ks as RivusDeploymentDaemonLifecycleError, Kt as OpenJsonAutomationTickRepositoryOptions, Ku as SessionSchedulerStatus, L as HumanInteraction, La as OpenTelemetryAgentTelemetry, Lc as RivusDaemonStatus, Ld as RecoveryControl, Lf as FeishuSessionReference, Li as createRivusPluginCatalog, Ll as OpenClawEnvImportOptions, Ln as createRivusMemoryToolDescriptor, Lo as FeishuCardKitPublisher, Lp as RunIdGenerator, Lr as AgentMemoryHandle, Ls as RivusDeploymentBackgroundSessionLifecycle, Lt as PluginStateConflict, Lu as FetchLikeResponse, M as HumanInteractionTransitionDenied, Ma as PiSdkAgentLoopOptions, Mc as RivusDaemonSignalSource, Md as FeishuInboxRepositoryStateOptions, Mf as FeishuSessionResetResult, Mi as WorkspaceInstructionsDiagnostic, Ml as createFeishuMessageQueue, Mn as RIVUS_MEMORY_TOOL_VERSION, Mo as FeishuCardKitCancel, Mp as AgentSessionHandle, Mr as resolveBackgroundSessionReconciliation, Ms as RivusDeploymentCliProcess, Mt as CommitAutomationOutcomeInput, Mu as createAgentDomainEventSinkFromCallback, N as transitionHumanInteraction, Na as evolveAgentRun, Nc as createRivusDaemonShutdownController, Nd as createFeishuInboxRepository, Nf as FeishuSessionStore, Ni as WorkspaceInstructionsDiagnosticCode, Nl as FeishuMessageAcceptResult, Nn as createRivusMemoryToolContract, No as FeishuCardKitClient, Np as AgentSessionOtherBusyAvailability, Nr as suspendBackgroundSession, Ns as createRivusDeploymentCliProcess, Nt as commitAutomationOutcome, Nu as createAgentRunUpdateHandler, O as ResolveHumanInteractionInput, Oa as createPiSdkAgentLoop, Oc as AutomationTick, Od as FeishuInboxDeliveryState, Of as InvalidFeishuMessageContent, Oi as createWorkspaceRootHandle, Ol as FeishuMessageDrainResult, On as ProjectMemoryRecallOptions, Oo as FeishuCardTargetRegistryStoreError, Op as AgentRunUpdateHandler, Or as releaseBackgroundSessionLease, Os as runRivusDaemonCli, Ot as DelegationDenied, Ou as AgentDomainEventCallback, P as ApprovedHumanInteractionState, Pa as initialAgentRunState, Pc as RivusDaemonStatusHttpServer, Pd as DeadLetterRecoveryItem, Pf as FeishuSessionStoreOptions, Pi as WorkspaceInstructionsRequest, Pl as MergePiProviderBaseUrlOverrideOptions, Pn as MemoryTombstoneReceipt, Po as FeishuCardKitFail, Pp as AgentSessionOwnedBusyAvailability, Pr as AgentMemoryServiceOptions, Ps as RivusDeploymentAutomationLifecycle, Pt as DeliveryOutbox, Pu as AgentHarnessOptions, Q as UserDecisionInteraction, Qa as AgentModelOutputObservation, Qc as CardPresentation, Qd as FeishuAgentExecutionResult, Qf as FeishuStreamAction, Qi as createRateLimitedFeishuPublisher, Ql as AgentRuntime, Qn as DEFAULT_BACKGROUND_SESSION_STEP_TIMEOUT_MS, Qo as AgentEventLogStoreError, Qr as RivusEndpointDefinition, Qs as createBackgroundSessionToolContracts, Qt as ScheduledAutomationClock, Qu as AgentRuntimeSteering, R as HumanInteractionActor, Ra as createOpenTelemetryAgentEventSink, Rc as RivusDaemonStatusReporter, Rd as RecoverySnapshot, Rf as InvalidFeishuSessionReference, Ri as resolveRivusAgentDefinition, Rl as OpenClawEnvImportResult, Rn as createMemoryNamespace, Ro as FeishuCardKitPublisherOptions, Rp as AgentEventHandlerFailed, Rr as AgentMemoryIdentity, Rs as RivusDeploymentBackgroundSessionReadinessError, Rt as PluginStateStore, Ru as JsonFetchRequestOptions, S as HumanInteractionEndpointRegistry, Sa as PiSessionRegistry, Sc as ScheduledAutomationRunResult, Sd as ToolOperationRecord, Sf as FeishuNewSessionMessageIntakeSummary, Si as requiresToolApproval, Sl as FeishuReceiveMessageReplayOptions, Sn as resolveRivusProjectSpace, So as FeishuCardRolloverSupervisor, Sp as AgentHarnessBusyAvailability, Sr as createBackgroundSession, Ss as RivusDaemonBootstrapModule, St as createSubagentCoordinator, Su as AgentClientFailure, T as HumanInteractionClock, Ta as PiAgentLoopOptions, Tc as AutomationMandate, Td as FeishuInboxCompletedState, Tf as createAgentCommandFromFeishuMessage, Ti as normalizeStableJson, Tl as FeishuReceiveRuntimeStatus, Tn as createAgentLoopPromptTransformer, To as FeishuCardTargetNotFound, Tp as AgentPromptResult, Tr as isBackgroundSessionLeaseExpired, Ts as RivusDaemonFeishuReplayRunner, Tt as DelegationService, Tu as AgentSessionClient, U as HumanInteractionTransition, Ua as LangfuseAgentTelemetry, Uc as FeishuCardRolloverEvent, Ud as FeishuAgentDaemonHandleMessageOptions, Uf as JsonlFeishuCardDeliveryLedgerOptions, Ui as FeishuPeriodicFlushOptions, Ul as FeishuEndpointCredentials, Un as createBackgroundSessionCard, Uo as FeishuWebSocketClientStartOptions, Up as ConversationProgressDisplay, Ur as MemoryInvocationAudience, Us as RivusDeploymentEndpointStatus, Ut as DeliveryJobStatus, Uu as SessionSchedulerCapacityExceeded, V as HumanInteractionId, Va as TelemetryContentRedactorOptions, Vc as FeishuCardRollover, Vd as FeishuAgentDaemon, Vf as FeishuReceiveMessagePayload, Vi as createTestClock, Vl as formatRivusEnvFile, Vn as FeishuBackgroundSessionDeliveryInput, Vo as createFeishuCardKitPublisher, Vp as AgentLoopFailed, Vr as MEMORY_SCOPES, Vs as RivusDeploymentDaemonStatus, Vt as CommittedAutomationOutcome, Vu as createJsonFetchRequest, W as PendingHumanInteractionState, Wa as LangfuseTelemetryConfig, Wc as FeishuCardRolloverEventType, Wd as FeishuAgentDaemonHandleResult, Wf as openJsonlFeishuCardDeliveryLedger, Wi as createFeishuPeriodicFlush, Wl as resolveFeishuEndpointCredentials, Wn as createConfiguredFeishuBackgroundSessionDelivery, Wo as FeishuWebSocketDaemon, Wp as DEFAULT_CONVERSATION_PROGRESS_DISPLAY, Wr as MemoryRecord, Ws as RivusDeploymentReadinessError, Wt as PluginStateRecord, Wu as SessionSchedulerDisposed, X as ToolApprovalInteraction, Xa as AgentModelContentObserver, Xc as FeishuCardPresentationHandoffStart, Xd as FeishuAgentDaemonSteeredResult, Xf as createFeishuCardDeliveryLedger, Xi as FeishuStreamActionPublisher, Xl as RivusThinkingLevel, Xn as DEFAULT_BACKGROUND_SESSION_MAX_CONSECUTIVE_FAILURES, Xo as AgentEventLog, Xr as RivusAgentHost, Xs as BACKGROUND_SESSION_TOOL_VERSION, Xt as AutomationTickRepositoryCompatibility, Xu as AgentRuntimePool, Y as ToolApprovalBinding, Ya as resolveLangfuseTelemetryConfig, Yc as DEFAULT_CARD_STREAM_LEASE_MS, Yd as FeishuAgentDaemonSkippedResult, Yf as FeishuCardDeliveryRecord, Yi as createCoalescingFeishuPublisher, Yl as RivusTextFileReader, Yn as DEFAULT_BACKGROUND_SESSION_MAX_CONCURRENT_SESSIONS, Yo as createLazyFeishuWebSocketEventDispatcher, Yr as InvalidRivusEndpointBinding, Ys as BACKGROUND_SESSION_TOOL_PLUGIN_ID, Yt as createDailyAutomationSchedule, Yu as AgentRuntimeInput, Z as ToolApprovalInteractionState, Za as AgentModelInputObservation, Zc as FeishuCardPresentationStore, Zd as FeishuAgentExecution, Zf as createFeishuCardDeliveryReconciler, Zi as RateLimitedFeishuPublisherOptions, Zl as loadRivusDaemonConfig, Zn as DEFAULT_BACKGROUND_SESSION_RETRY_BACKOFF_MS, Zo as AgentEventLogOperation, Zr as RivusAgentHostOptions, Zs as backgroundSessionToolIds, Zt as ScheduledAutomation, Zu as AgentRuntimePoolOptions, _ as createConfiguredFeishuMessageReactionSender, _a as FeishuCardPresentationNotFound, _c as BackgroundSessionSupervisor, _d as ToolOperationBinding, _f as FeishuMessageIntakeBaseSummary, _i as ToolInvocationDenied, _l as FeishuMessageWorkerQueue, _n as InvalidProjectSkillCatalog, _o as FeishuTenantAccessTokenProvider, _p as AgentDomainEventHandler, _r as BackgroundSessionTransitionDenied, _s as createFeishuCardActionCallbackResponse, _t as LoadRivusDeploymentOptions, _u as createDefaultAgentRuntimeFromCallback, a as ConfiguredFeishuHumanInteractionPresenterOptions, aa as createFeishuCardKitOpenApiTargetCreator, ac as RivusPluginLoadStatus, ad as AgentInstanceBusy, af as composeFeishuTopicPrompt, ai as createAgentHarnessPooledRuntime, al as CompositeRivusDaemonTransportOptions, an as CompactorPort, ao as ConfiguredFeishuCardRolloverRuntime, ap as RUN_PRESENTATION_SCHEMA_VERSION, ar as BackgroundSessionSupervisorOptions, as as FeishuAgentRuntimeOptions, at as RivusDeploymentManifestError, au as DefaultAgentRuntimeFromCallbackOptions, b as createRoutedHumanInteractionToolApprovalService, ba as RunPresentationProjector, bc as ScheduledAutomationDeliveryInput, bd as ToolOperationReconciliation, bf as FeishuMessageIntakeSummary, bi as createInvocationAuthority, bl as FeishuReceiveAcceptedObservation, bn as validateProjectSkillCatalog, bo as FeishuTenantAccessTokenResponse, bp as AgentHarness, br as completeBackgroundSessionStep, bs as RivusDaemonBootstrapContext, bt as RivusPluginLoadError, bu as createUuidRunIds, c as createFeishuHumanInteractionCard, ca as FeishuCotPublisher, cc as RivusAutomationDeliveryTargetType, cd as OpenJsonFeishuSessionStoreOptions, cf as FeishuCardActionIntakeError, ci as openJsonlToolOperationLedger, cl as RivusDaemonProcessOptions, cn as CompactionSnapshot, co as ConfiguredFeishuOpenApiRequest, cp as RunPresentationPhase, cr as openJsonlBackgroundSessionRepository, cs as FeishuEventHandlerCardActions, ct as CreateRivusDeploymentBackgroundSessionInput, cu as DefaultAgentRuntimeSessionOptions, d as createJsonlHumanInteractionRepository, da as createFeishuCotPublisher, dc as RivusDeploymentManifest, dd as openJsonlFeishuInboxRepository, df as InvalidFeishuCardAction, di as ToolApprovalRequest, dl as createRivusDaemonProcess, dn as AgentContextInput, do as FeishuOpenApiError, dp as hasInspectableRunProgress, dr as createBackgroundSessionDeliveryStore, ds as FeishuEventHandlersOptions, dt as CreateRivusDeploymentRuntimeInput, du as createDefaultAgentHarnessClient, ea as FeishuCardPresentationBinder, ed as createAgentRuntimePool, ef as FeishuAgentPreparedControl, ei as createRivusAgentHost, el as CardPresentationStatus, en as createScheduledAutomation, eo as ConfiguredRivusDaemonBootstrapOptions, ep as createFeishuStreamProjector, er as resolveBackgroundSessionSupervisorIntervalMs, es as createJsonlAgentEventLog, et as UserDecisionOption, eu as DefaultAgentHarnessClientFromTextCallbackOptions, f as JsonlHumanInteractionRepositoryOptions, fa as FeishuTopicContextResolverOptions, fc as RivusEndpointDeployment, fd as InvalidRecoveryAction, ff as UnsupportedFeishuCardAction, fi as ToolApprovalService, fl as FeishuWorkerLoop, fn as AgentContextLayer, fo as FeishuOpenApiRequest, fp as PresentedValue, fr as BACKGROUND_SESSION_JSONL_VERSION, fs as FeishuReceiveMessageHandlerPayload, ft as RivusDeploymentAutomation, fu as createDefaultAgentHarnessClientFromCallback, g as FeishuMessageReactionSender, ga as createFeishuCardKitOpenApiClient, gc as BackgroundSessionLimits, gd as ToolOperationBeginResult, gf as FeishuCancelRunCommand, gi as createToolBroker, gl as FeishuMessageWorkerOptions, gn as openJsonlAgentMemoryService, go as FeishuTenantAccessTokenError, gp as AgentClock, gr as BackgroundSessionState, gs as FeishuCardActionToast, gt as loadNodeRivusPluginModule, gu as createDefaultAgentRuntime, h as createConfiguredFeishuAutomationCardSender, ha as FeishuCardKitOpenApiClientOptions, hc as RivusProjectSpaceDeployment, hd as createRecoveryControl, hf as FeishuCancelMessageIntakeSummary, hi as ToolExecutionRequest, hl as FeishuMessageWorker, hn as assembleAgentContext, ho as createFeishuOpenApiClient, hp as ActiveAgentRun, hr as BackgroundSessionRepository, hs as FeishuCardActionCallbackResponse, ht as RivusDeploymentEndpoint, hu as createDefaultAgentHarnessFromTextCallback, i as createFeishuAgentRunCard, ia as createConfiguredFeishuCardKitTargetCreator, ic as RivusAgentDeploymentStatus, id as AgentInstanceRegistryOptions, if as FeishuPromptContextResolver, ii as createFeishuDeploymentEndpoint, il as isCardPresentationHandoffDue, in as CompactionService, io as restoreConfiguredRivusDaemonBootstrap, ip as PresentationStepStatus, ir as createBackgroundSessionHostTools, is as FeishuAgentRuntime, it as LoadRivusDeploymentManifestOptions, iu as DefaultAgentHarnessOptions, j as HumanInteractionPresenter, ja as PiCreateAgentSessionResult, jc as RivusDaemonShutdownSignal, jd as FeishuInboxRepository, jf as FeishuSessionEpochRecord, ji as WorkspaceInstructionSource, jl as FeishuMessageQueueOptions, jn as RIVUS_MEMORY_TOOL_PLUGIN_ID, jo as createJsonFileFeishuCardTargetRegistry, jp as AgentSessionBusyAvailability, jr as requeueInterruptedBackgroundSessionStep, js as RivusDeploymentBootstrapFactory, jt as DelegationRequest, ju as createAgentDomainEventHandler, k as createHumanInteractionService, ka as PiAgentSession, kc as RivusDaemonShutdownController, kd as FeishuInboxLeasedState, kf as UnsupportedFeishuMessage, ki as InvalidWorkspaceRoot, kl as FeishuMessagePreparedControl, kn as createProjectMemoryPromptPreparer, ko as JsonFileFeishuCardTargetRegistryOptions, kp as AgentRunUpdateListener, kr as renewBackgroundSessionLease, ks as RivusDeploymentBootstrapAdapters, kt as DelegationEdge, ku as AgentDomainEventSinkCallback, l as createFeishuHumanInteractionPresenter, la as FeishuCotPublisherOptions, lc as RivusAutomationDeployment, ld as openJsonFeishuSessionStore, lf as FeishuCardActionTriggerPayload, li as AuthorizationPolicyProvider, ll as RivusDaemonTransport, ln as CompactionInput, lo as ConfiguredFeishuOpenApiResponse, lp as SkillPresentationStep, lr as BACKGROUND_SESSION_DELIVERY_JSONL_VERSION, ls as FeishuEventHandlerQueue, lt as CreateRivusDeploymentDaemonOptions, lu as createAgentRuntime, m as FeishuAutomationCardSender, ma as createFeishuTopicContextResolver, mc as RivusPluginDeclaration, md as RecoveryControlOptions, mf as FeishuAgentCommand, mi as ToolBrokerOptions, ml as createFeishuWorkerLoop, mn as AssembledAgentContext, mo as createConfiguredFeishuOpenApiClient, mp as createPresentedValue, mr as createBackgroundSessionService, ms as createFeishuEventHandlers, mt as RivusDeploymentDaemon, mu as createDefaultAgentHarnessFromCallback, n as FEISHU_AGENT_CARD_PROGRESS_ELEMENT_ID, na as FeishuCardTargetCreator, nc as ResolvedRivusAutomationDefinition, nd as createAgentInstanceRegistry, nf as createFeishuAgentDaemon, ni as createFeishuPresentationPreparation, nl as acceptsCardPresentationProgress, nn as AutomationTickStatus, no as ConfiguredRivusDaemonBootstrapResponse, np as ModelPresentationStep, nr as narrowBackgroundSessionDefinition, ns as restoreAgentHistory, nt as createConfiguredRivusDeploymentDaemon, nu as DefaultAgentHarnessFromCallbackOptions, o as FeishuHumanInteractionPresenterOptions, oa as createFeishuCardTargetPreparation, oc as RivusPluginModuleLoadRequest, od as AgentRuntimeDisposed, of as FeishuAgentRunPreparation, oi as JsonlRecoveryControlOptions, ol as createCompositeRivusDaemonTransport, on as createCompactionService, oo as ConfiguredFeishuCardRolloverRuntimeOptions, op as ResponsePresentationStep, or as createBackgroundSessionSupervisor, os as createFeishuAgentRuntime, ot as createRivusDeploymentDaemon, ou as DefaultAgentRuntimeFromTextCallbackOptions, p as FeishuAutomationCardInput, pa as InvalidFeishuTopicContext, pc as RivusEndpointExperimentalFeatures, pd as createRecoveryAction, pf as createAgentCommandFromFeishuCardAction, pi as ToolBroker, pl as FeishuWorkerLoopOptions, pn as AgentContextLayerKind, po as FeishuOpenApiResponse, pp as PresentedValueOptions, pr as isBackgroundSessionState, ps as FeishuSdkReceiveMessagePayload, pt as RivusDeploymentBackgroundSession, pu as createDefaultAgentHarnessClientFromTextCallback, q as RequestUserDecisionInput, qa as LangfuseTelemetryEnv, qc as FeishuCardRolloverStatus, qd as FeishuAgentDaemonRunResult, qf as FeishuCardDeliveryReconciler, qi as FeishuCoalescingPublisher, ql as RivusDaemonConfigLoaderOptions, qn as DEFAULT_BACKGROUND_SESSION_LEASE_RENEWAL_INTERVAL_MS, qo as FeishuWebSocketRuntime, qr as MemoryState, qs as BACKGROUND_SESSION_START_TOOL_ID, qt as openJsonAutomationTickRepository, qu as createSessionScheduler, r as FeishuAgentRunCardInput, ra as FeishuCardTargetPreparationOptions, rc as ResolvedRivusProjectSpace, rd as AgentInstanceConflict, rf as FeishuPromptContextInput, ri as FeishuDeploymentEndpointOptions, rl as activeCardPresentation, rn as createAutomationMandateStore, ro as createConfiguredRivusDaemonBootstrap, rp as PresentationStep, rr as CreateBackgroundSessionHostToolsOptions, rs as createAgentDomainEventSink, rt as loadRivusDeploymentManifest, ru as DefaultAgentHarnessFromTextCallbackOptions, s as createConfiguredFeishuHumanInteractionPresenter, sa as FeishuCotProtocolError, sc as RivusAutomationDelivery, sd as AgentInstanceRecord, sf as FeishuCardActionCommand, si as openJsonlRecoveryControl, sl as RivusDaemonProcess, sn as CompactionError, so as createConfiguredFeishuCardRolloverRuntime, sp as RunPresentation, sr as createBackgroundSessionRepository, ss as FeishuPeriodicFlushSupervisor, st as CreateRivusDeploymentAutomationInput, su as DefaultAgentRuntimeOptions, t as FEISHU_AGENT_CARD_ELEMENT_ID, ta as FeishuCardTargetCreateOptions, tc as LoadedRivusDeployment, td as AgentInstanceRegistry, tf as FeishuHumanInteractionActions, ti as FeishuPresentationPreparationOptions, tl as CardPresentationTransitionDenied, tn as AutomationTickRecord, to as ConfiguredRivusDaemonBootstrapRequest, tp as AssistantPresentationStep, tr as extendBackgroundSessionDefinition, ts as AgentHistoryEventLog, tt as CreateConfiguredRivusDeploymentDaemonOptions, tu as DefaultAgentHarnessClientOptions, u as createInMemoryHumanInteractionRepository, ua as FeishuCotRunPreparation, uc as RivusBackgroundSessionsDeployment, ud as JsonlFeishuInboxRepositoryOptions, uf as FeishuResolveInteractionCommand, ui as AuthorizationPolicyState, ul as RivusDaemonWorkerLoop, un as AgentContextBudgetExceeded, uo as FeishuOpenApiClient, up as ToolPresentationStep, ur as openJsonlBackgroundSessionDeliveryStore, us as FeishuEventHandlers, ut as CreateRivusDeploymentEndpointInput, uu as createDefaultAgentHarness, v as FeishuTextReplySender, va as FeishuCardPresentationStoreOptions, vc as BackgroundSessionSupervisorStatus, vd as ToolOperationInspectResult, vf as FeishuMessageIntakeError, vi as InvocationAuthority, vl as createFeishuMessageWorker, vn as ProjectSkillCatalogDiagnostic, vo as FeishuTenantAccessTokenProviderOptions, vp as AgentDomainEventListener, vr as appendBackgroundSessionInput, vs as createFeishuCardActionErrorResponse, vt as RivusPluginModule, vu as createDefaultAgentRuntimeFromTextCallback, w as ConsumeToolApprovalInput, wa as createPiSessionRegistry, wc as AutomationDeliveryBinding, wd as createToolOperationLedger, wf as FeishuPromptMessageIntakeSummary, wi as InvalidToolInput, wl as FeishuReceiveMessageSummary, wn as validateRivusDeploymentManifest, wo as createFeishuCardRolloverSupervisor, wp as AgentHarnessIdleAvailability, wr as isBackgroundSessionDue, ws as RivusDaemonCliWriter, wt as SubagentRecord, wu as AgentHarnessClient, x as createHumanInteractionToolApprovalGateway, xa as createRunPresentationProjector, xc as ScheduledAutomationRunInput, xd as ToolOperationReconciliationOutcome, xf as FeishuNewSessionCommand, xi as createToolInputDigest, xl as FeishuReceiveHandledObservation, xn as validateProjectSkillCommand, xo as createFeishuTenantAccessTokenProvider, xp as AgentHarnessAvailability, xr as completeBackgroundSessionStop, xs as RivusDaemonBootstrapFactory, xt as SubagentCoordinator, xu as AgentClientAttempt, y as createConfiguredFeishuTextReplySender, ya as createFeishuCardPresentationStore, yc as AUTOMATION_SUPPRESSION_PREFIX, yd as ToolOperationLedger, yf as FeishuMessageIntakeOptions, yi as InvocationAuthorityRef, yl as FeishuMessageWorkerDrainAvailableResult, yn as ProjectSkillCatalogEntry, yo as FeishuTenantAccessTokenRequest, yp as AgentDomainEventSink, yr as claimBackgroundSession, ys as FeishuRawCardJson, yt as loadRivusDeployment, yu as createSystemClock, z as HumanInteractionBase, za as createOpenTelemetryAgentTelemetry, zc as RivusDaemonStatusReporterOptions, zd as ToolOperationRecoveryItem, zf as createFeishuConversationId, zi as createFixedClock, zl as RivusEnvFileVariables, zn as restrictMemoryScopesForAudience, zo as FeishuCardKitTextUpdate, zp as AgentEventSinkFailed, zr as AgentMemoryService, zs as RivusDeploymentBackgroundSessionStatus, zt as createPluginStateStore, zu as JsonHttpRequest } from "./chunks/index.js";
|
|
1
|
+
import { $ as UserDecisionInteraction, $a as AgentModelOutputObservation, $c as CardPresentation, $d as FeishuAgentExecutionResult, $f as FeishuStreamAction, $i as createRateLimitedFeishuPublisher, $l as AgentRuntime, $n as DEFAULT_BACKGROUND_SESSION_STEP_TIMEOUT_MS, $o as AgentEventLogStoreError, $r as RivusEndpointDefinition, $s as createBackgroundSessionToolContracts, $t as ScheduledAutomationClock, $u as AgentRuntimeSteering, A as createHumanInteractionService, Aa as PiAgentSession, Ac as RivusDaemonShutdownController, Ad as FeishuInboxLeasedState, Af as UnsupportedFeishuMessage, Ai as InvalidWorkspaceRoot, Al as FeishuMessagePreparedControl, An as createProjectMemoryPromptPreparer, Ao as JsonFileFeishuCardTargetRegistryOptions, Ap as AgentRunUpdateListener, Ar as renewBackgroundSessionLease, As as RivusDeploymentBootstrapAdapters, At as DelegationEdge, Au as AgentDomainEventSinkCallback, B as HumanInteractionBase, Ba as createOpenTelemetryAgentTelemetry, Bc as RivusDaemonStatusReporterOptions, Bd as ToolOperationRecoveryItem, Bf as createFeishuConversationId, Bi as createFixedClock, Bl as RivusEnvFileVariables, Bn as restrictMemoryScopesForAudience, Bo as FeishuCardKitTextUpdate, Bp as AgentEventSinkFailed, Br as AgentMemoryService, Bs as RivusDeploymentBackgroundSessionStatus, Bt as createPluginStateStore, Bu as JsonHttpRequest, C as HumanInteractionEndpointRegistry, Ca as PiSessionRegistry, Cc as ScheduledAutomationRunResult, Cd as ToolOperationRecord, Cf as FeishuNewSessionMessageIntakeSummary, Ci as requiresToolApproval, Cl as FeishuReceiveMessageReplayOptions, Cn as resolveRivusProjectSpace, Co as FeishuCardRolloverSupervisor, Cp as AgentHarnessBusyAvailability, Cr as createBackgroundSession, Cs as RivusDaemonBootstrapModule, Ct as createSubagentCoordinator, Cu as AgentClientFailure, D as HumanInteractionService, Da as PiAgentSessionHandle, Dc as AutomationMandateError, Dd as FeishuInboxDeadState, Df as describeFeishuMessageIntake, Di as WorkspaceInstructionsProvider, Dl as FeishuEndpointGroupPolicy, Dn as ProjectMemoryPromptInput, Do as FeishuCardTargetRegistry, Dp as AgentRunSnapshot, Dr as isBackgroundSessionTerminalPhase, Ds as RivusDaemonPromptRunner, Dt as createDelegationService, Du as AgentTextDeltaCallback, E as HumanInteractionClock, Ea as PiAgentLoopOptions, Ec as AutomationMandate, Ed as FeishuInboxCompletedState, Ef as createAgentCommandFromFeishuMessage, Ei as normalizeStableJson, El as FeishuReceiveRuntimeStatus, En as createAgentLoopPromptTransformer, Eo as FeishuCardTargetNotFound, Ep as AgentPromptResult, Er as isBackgroundSessionLeaseExpired, Es as RivusDaemonFeishuReplayRunner, Et as DelegationService, Eu as AgentSessionClient, F as ApprovedHumanInteractionState, Fa as initialAgentRunState, Fc as RivusDaemonStatusHttpServer, Fd as DeadLetterRecoveryItem, Ff as FeishuSessionStoreOptions, Fi as WorkspaceInstructionsRequest, Fl as MergePiProviderBaseUrlOverrideOptions, Fn as MemoryTombstoneReceipt, Fo as FeishuCardKitFail, Fp as AgentSessionOwnedBusyAvailability, Fr as AgentMemoryServiceOptions, Fs as RivusDeploymentAutomationLifecycle, Ft as DeliveryOutbox, Fu as AgentHarnessOptions, G as PendingHumanInteractionState, Ga as LangfuseTelemetryConfig, Gc as FeishuCardRolloverEventType, Gd as FeishuAgentDaemonHandleResult, Gf as openJsonlFeishuCardDeliveryLedger, Gi as createFeishuPeriodicFlush, Gl as resolveFeishuEndpointCredentials, Gn as createConfiguredFeishuBackgroundSessionDelivery, Go as FeishuWebSocketDaemon, Gp as DEFAULT_CONVERSATION_PROGRESS_DISPLAY, Gr as MemoryRecord, Gs as RivusDeploymentReadinessError, Gt as PluginStateRecord, Gu as SessionSchedulerDisposed, H as HumanInteractionId, Ha as TelemetryContentRedactorOptions, Hc as FeishuCardRollover, Hd as FeishuAgentDaemon, Hf as FeishuReceiveMessagePayload, Hi as createTestClock, Hl as formatRivusEnvFile, Hn as FeishuBackgroundSessionDeliveryInput, Ho as createFeishuCardKitPublisher, Hp as AgentLoopFailed, Hr as MEMORY_SCOPES, Hs as RivusDeploymentDaemonStatus, Ht as CommittedAutomationOutcome, Hu as createJsonFetchRequest, I as CancelledHumanInteractionState, Ia as isTerminalAgentRunPhase, Ic as RivusDaemonStatusHttpServerOptions, Id as DeadLetterRequeueResult, If as createFeishuSessionStore, Ii as WorkspaceInstructionsView, Il as mergePiProviderBaseUrlOverride, In as RivusMemoryTool, Io as FeishuCardKitFinish, Ip as AgentSessionSnapshot, Ir as createAgentMemoryService, Is as RivusDeploymentAutomationReadinessError, It as DeliveryOutboxError, Iu as createAgentHarness, J as RequestUserDecisionInput, Ja as LangfuseTelemetryEnv, Jc as FeishuCardRolloverStatus, Jd as FeishuAgentDaemonRunResult, Jf as FeishuCardDeliveryReconciler, Ji as FeishuCoalescingPublisher, Jl as RivusDaemonConfigLoaderOptions, Jn as DEFAULT_BACKGROUND_SESSION_LEASE_RENEWAL_INTERVAL_MS, Jo as FeishuWebSocketRuntime, Jr as MemoryState, Js as BACKGROUND_SESSION_START_TOOL_ID, Jt as openJsonAutomationTickRepository, Ju as createSessionScheduler, K as RejectedHumanInteractionState, Ka as LangfuseTelemetryConfigError, Kc as FeishuCardRolloverHandoffResult, Kd as FeishuAgentDaemonInteractionResult, Kf as FeishuCardDeliveryLedger, Ki as ConfiguredFeishuCardKitPublisherOptions, Kl as RivusDaemonConfig, Kn as resolveFeishuDeliveryChatId, Ko as FeishuWebSocketDaemonOptions, Kr as MemoryScope, Ks as RivusDeploymentComponentLifecycle, Kt as PutPluginState, Ku as SessionSchedulerOptions, L as ExpiredHumanInteractionState, La as OpenTelemetryAgentEventSinkOptions, Lc as createRivusDaemonStatusHttpServer, Ld as RecoveryAction, Lf as FeishuConversationReference, Li as WorkspaceRootHandle, Ll as OpenClawEnvImportError, Ln as createRivusMemoryTool, Lo as FeishuCardKitPresentationUpdate, Lp as PromptCommand, Lr as AgentMemoryAuthority, Ls as RivusDeploymentAutomationStatus, Lt as createDeliveryOutbox, Lu as FetchLike, M as HumanInteractionPresenter, Ma as PiCreateAgentSessionResult, Mc as RivusDaemonShutdownSignal, Md as FeishuInboxRepository, Mf as FeishuSessionEpochRecord, Mi as WorkspaceInstructionSource, Ml as FeishuMessageQueueOptions, Mn as RIVUS_MEMORY_TOOL_PLUGIN_ID, Mo as createJsonFileFeishuCardTargetRegistry, Mp as AgentSessionBusyAvailability, Mr as requeueInterruptedBackgroundSessionStep, Ms as RivusDeploymentBootstrapFactory, Mt as DelegationRequest, Mu as createAgentDomainEventHandler, N as HumanInteractionTransitionDenied, Na as PiSdkAgentLoopOptions, Nc as RivusDaemonSignalSource, Nd as FeishuInboxRepositoryStateOptions, Nf as FeishuSessionResetResult, Ni as WorkspaceInstructionsDiagnostic, Nl as createFeishuMessageQueue, Nn as RIVUS_MEMORY_TOOL_VERSION, No as FeishuCardKitCancel, Np as AgentSessionHandle, Nr as resolveBackgroundSessionReconciliation, Ns as RivusDeploymentCliProcess, Nt as CommitAutomationOutcomeInput, Nu as createAgentDomainEventSinkFromCallback, O as HumanInteractionServiceOptions, Oa as createPiAgentLoop, Oc as AutomationMandateStore, Od as FeishuInboxDelivery, Of as FeishuMessageContentInput, Oi as createAgentsMdInstructionsProvider, Ol as shouldAcceptFeishuEndpointMessage, On as ProjectMemoryRecallIdentity, Oo as FeishuCardTargetRegistryOperation, Op as AgentRunUpdate, Or as parkBackgroundSessionForReconciliation, Os as RivusDaemonRecoveryRunner, Ot as intersectToolIds, Ou as createAgentHarnessClient, P as transitionHumanInteraction, Pa as evolveAgentRun, Pc as createRivusDaemonShutdownController, Pd as createFeishuInboxRepository, Pf as FeishuSessionStore, Pi as WorkspaceInstructionsDiagnosticCode, Pl as FeishuMessageAcceptResult, Pn as createRivusMemoryToolContract, Po as FeishuCardKitClient, Pp as AgentSessionOtherBusyAvailability, Pr as suspendBackgroundSession, Ps as createRivusDeploymentCliProcess, Pt as commitAutomationOutcome, Pu as createAgentRunUpdateHandler, Q as ToolApprovalInteractionState, Qa as AgentModelInputObservation, Qc as FeishuCardPresentationStore, Qd as FeishuAgentExecution, Qf as createFeishuCardDeliveryReconciler, Qi as RateLimitedFeishuPublisherOptions, Ql as loadRivusDaemonConfig, Qn as DEFAULT_BACKGROUND_SESSION_RETRY_BACKOFF_MS, Qo as AgentEventLogOperation, Qr as RivusAgentHostOptions, Qs as backgroundSessionToolIds, Qt as ScheduledAutomation, Qu as AgentRuntimePoolOptions, R as HumanInteraction, Ra as OpenTelemetryAgentTelemetry, Rc as RivusDaemonStatus, Rd as RecoveryControl, Rf as FeishuSessionReference, Ri as createRivusPluginCatalog, Rl as OpenClawEnvImportOptions, Rn as createRivusMemoryToolDescriptor, Ro as FeishuCardKitPublisher, Rp as RunIdGenerator, Rr as AgentMemoryHandle, Rs as RivusDeploymentBackgroundSessionLifecycle, Rt as PluginStateConflict, Ru as FetchLikeResponse, S as createHumanInteractionToolApprovalGateway, Sa as createRunPresentationProjector, Sc as ScheduledAutomationRunInput, Sd as ToolOperationReconciliationOutcome, Sf as FeishuNewSessionCommand, Si as createToolInputDigest, Sl as FeishuReceiveHandledObservation, Sn as validateProjectSkillCommand, So as createFeishuTenantAccessTokenProvider, Sp as AgentHarnessAvailability, Sr as completeBackgroundSessionStop, Ss as RivusDaemonBootstrapFactory, St as SubagentCoordinator, Su as AgentClientAttempt, T as ConsumeToolApprovalInput, Ta as createPiSessionRegistry, Tc as AutomationDeliveryBinding, Td as createToolOperationLedger, Tf as FeishuPromptMessageIntakeSummary, Ti as InvalidToolInput, Tl as FeishuReceiveMessageSummary, Tn as validateRivusDeploymentManifest, To as createFeishuCardRolloverSupervisor, Tp as AgentHarnessIdleAvailability, Tr as isBackgroundSessionDue, Ts as RivusDaemonCliWriter, Tt as SubagentRecord, Tu as AgentHarnessClient, U as HumanInteractionResolutionAction, Ua as createTelemetryContentRedactor, Uc as FeishuCardRolloverCounters, Ud as FeishuAgentDaemonCancelResult, Uf as HumanInteractionRepositoryError, Ui as FeishuPeriodicFlush, Ul as FeishuEndpointCredentialError, Un as FeishuBackgroundSessionDeliveryKind, Uo as FeishuWebSocketClient, Up as AgentRunCancelled, Ur as MemoryBinding, Us as RivusDeploymentEndpointLifecycle, Ut as DeliveryJob, Uu as SessionScheduler, V as HumanInteractionFact, Va as TelemetryContentRedactor, Vc as createRivusDaemonStatusReporter, Vd as ToolOperationResolutionResult, Vf as createFeishuSessionKey, Vi as createSequenceRunIds, Vl as createRivusEnvFromOpenClawConfig, Vn as FeishuBackgroundSessionDelivery, Vo as FeishuCardTarget, Vp as AgentHarnessBusy, Vr as AgentMemorySnapshot, Vs as RivusDeploymentDaemonLifecycle, Vt as AutomationOutcome, Vu as JsonHttpResponse, W as HumanInteractionTransition, Wa as LangfuseAgentTelemetry, Wc as FeishuCardRolloverEvent, Wd as FeishuAgentDaemonHandleMessageOptions, Wf as JsonlFeishuCardDeliveryLedgerOptions, Wi as FeishuPeriodicFlushOptions, Wl as FeishuEndpointCredentials, Wn as createBackgroundSessionCard, Wo as FeishuWebSocketClientStartOptions, Wp as ConversationProgressDisplay, Wr as MemoryInvocationAudience, Ws as RivusDeploymentEndpointStatus, Wt as DeliveryJobStatus, Wu as SessionSchedulerCapacityExceeded, X as ToolApprovalBinding, Xa as resolveLangfuseTelemetryConfig, Xc as DEFAULT_CARD_STREAM_LEASE_MS, Xd as FeishuAgentDaemonSkippedResult, Xf as FeishuCardDeliveryRecord, Xi as createCoalescingFeishuPublisher, Xl as RivusTextFileReader, Xn as DEFAULT_BACKGROUND_SESSION_MAX_CONCURRENT_SESSIONS, Xo as createLazyFeishuWebSocketEventDispatcher, Xr as InvalidRivusEndpointBinding, Xs as BACKGROUND_SESSION_TOOL_PLUGIN_ID, Xt as createDailyAutomationSchedule, Xu as AgentRuntimeInput, Y as SelectedHumanInteractionState, Ya as createLangfuseAgentTelemetry, Yc as createFeishuCardRollover, Yd as FeishuAgentDaemonSessionResetResult, Yf as FeishuCardDeliveryReconcilerOptions, Yi as FeishuCoalescingPublisherOptions, Yl as RivusDaemonEnv, Yn as DEFAULT_BACKGROUND_SESSION_LIFETIME_MS, Yo as createFeishuWebSocketDaemon, Yr as AgentMemoryError, Ys as BACKGROUND_SESSION_TOOL_IDS, Yt as DailyAutomationSchedule, Yu as AgentRuntimeCancellation, Z as ToolApprovalInteraction, Za as AgentModelContentObserver, Zc as FeishuCardPresentationHandoffStart, Zd as FeishuAgentDaemonSteeredResult, Zf as createFeishuCardDeliveryLedger, Zi as FeishuStreamActionPublisher, Zl as RivusThinkingLevel, Zn as DEFAULT_BACKGROUND_SESSION_MAX_CONSECUTIVE_FAILURES, Zo as AgentEventLog, Zr as RivusAgentHost, Zs as BACKGROUND_SESSION_TOOL_VERSION, Zt as AutomationTickRepositoryCompatibility, Zu as AgentRuntimePool, _ as createConfiguredFeishuMessageReactionSender, _a as createFeishuCardKitOpenApiClient, _c as BackgroundSessionLimits, _d as ToolOperationBeginResult, _f as FeishuCancelRunCommand, _i as createToolBroker, _l as FeishuMessageWorkerOptions, _n as openJsonlAgentMemoryService, _o as FeishuTenantAccessTokenError, _p as AgentClock, _r as BackgroundSessionState, _s as FeishuCardActionToast, _t as loadNodeRivusPluginModule, _u as createDefaultAgentRuntime, a as ConfiguredFeishuHumanInteractionPresenterOptions, aa as createConfiguredFeishuCardKitTargetCreator, ac as RivusAgentDeploymentStatus, ad as AgentInstanceRegistryOptions, af as FeishuPromptContextResolver, ai as createFeishuDeploymentEndpoint, al as isCardPresentationHandoffDue, an as CompactionService, ao as restoreConfiguredRivusDaemonBootstrap, ap as PresentationStepStatus, ar as createBackgroundSessionHostTools, as as FeishuAgentRuntime, at as LoadRivusDeploymentManifestOptions, au as DefaultAgentHarnessOptions, b as createRoutedHumanInteractionToolApprovalService, ba as createFeishuCardPresentationStore, bc as AUTOMATION_SUPPRESSION_PREFIX, bd as ToolOperationLedger, bf as FeishuMessageIntakeOptions, bi as InvocationAuthorityRef, bl as FeishuMessageWorkerDrainAvailableResult, bn as ProjectSkillCatalogEntry, bo as FeishuTenantAccessTokenRequest, bp as AgentDomainEventSink, br as claimBackgroundSession, bs as FeishuRawCardJson, bt as loadRivusDeployment, bu as createSystemClock, c as createFeishuHumanInteractionCard, ca as FeishuCotProtocolError, cc as RivusAutomationDelivery, cd as AgentInstanceRecord, cf as FeishuCardActionCommand, ci as openJsonlRecoveryControl, cl as RivusDaemonProcess, cn as CompactionError, co as createConfiguredFeishuCardRolloverRuntime, cp as RunPresentation, cr as createBackgroundSessionRepository, cs as FeishuPeriodicFlushSupervisor, ct as CreateRivusDeploymentAutomationInput, cu as DefaultAgentRuntimeOptions, d as createJsonlHumanInteractionRepository, da as FeishuCotRunPreparation, dc as RivusBackgroundSessionsDeployment, dd as JsonlFeishuInboxRepositoryOptions, df as FeishuResolveInteractionCommand, di as AuthorizationPolicyState, dl as RivusDaemonWorkerLoop, dn as AgentContextBudgetExceeded, do as FeishuOpenApiClient, dp as ToolPresentationStep, dr as openJsonlBackgroundSessionDeliveryStore, ds as FeishuEventHandlers, dt as CreateRivusDeploymentEndpointInput, du as createDefaultAgentHarness, ea as FeishuCardKitOpenApiTargetCreatorOptions, ec as isBackgroundSessionToolId, ed as PooledAgentRuntime, ef as FeishuAgentMessageSideEffects, ei as RivusEndpointInput, el as CardPresentationChain, en as ScheduledAutomationOptions, eo as ConfiguredRivusDaemonBootstrap, ep as FeishuStreamProjector, er as DEFAULT_BACKGROUND_SESSION_SUPERVISOR_INTERVAL_MS, es as JsonlAgentEventLogOptions, et as UserDecisionInteractionState, eu as DefaultAgentHarnessClientFromCallbackOptions, f as JsonlHumanInteractionRepositoryOptions, fa as createFeishuCotPublisher, fc as RivusDeploymentManifest, fd as openJsonlFeishuInboxRepository, ff as InvalidFeishuCardAction, fi as ToolApprovalRequest, fl as createRivusDaemonProcess, fn as AgentContextInput, fo as FeishuOpenApiError, fp as hasInspectableRunProgress, fr as createBackgroundSessionDeliveryStore, fs as FeishuEventHandlersOptions, ft as CreateRivusDeploymentRuntimeInput, fu as createDefaultAgentHarnessClient, g as FeishuMessageReactionSender, ga as FeishuCardKitOpenApiClientOptions, gc as RivusProjectSpaceDeployment, gd as createRecoveryControl, gf as FeishuCancelMessageIntakeSummary, gi as ToolExecutionRequest, gl as FeishuMessageWorker, gn as assembleAgentContext, go as createFeishuOpenApiClient, gp as ActiveAgentRun, gr as BackgroundSessionRepository, gs as FeishuCardActionCallbackResponse, gt as RivusDeploymentEndpoint, gu as createDefaultAgentHarnessFromTextCallback, h as createConfiguredFeishuAutomationCardSender, ha as createFeishuTopicContextResolver, hc as RivusPluginDeclaration, hd as RecoveryControlOptions, hf as FeishuAgentCommand, hi as ToolBrokerOptions, hl as createFeishuWorkerLoop, hn as AssembledAgentContext, ho as createConfiguredFeishuOpenApiClient, hp as createPresentedValue, hr as createBackgroundSessionService, hs as createFeishuEventHandlers, ht as RivusDeploymentDaemon, hu as createDefaultAgentHarnessFromCallback, i as createFeishuAgentRunCard, ia as FeishuCardTargetPreparationOptions, ic as ResolvedRivusProjectSpace, id as AgentInstanceConflict, if as FeishuPromptContextInput, ii as FeishuDeploymentEndpointOptions, il as activeCardPresentation, in as createAutomationMandateStore, io as createConfiguredRivusDaemonBootstrap, ip as PresentationStep, ir as CreateBackgroundSessionHostToolsOptions, is as createAgentDomainEventSink, it as loadRivusDeploymentManifest, iu as DefaultAgentHarnessFromTextCallbackOptions, j as HumanInteractionRepository, ja as PiAgentSessionEvent, jc as RivusDaemonShutdownControllerOptions, jd as FeishuInboxPendingState, jf as readFeishuMessageContent, ji as WorkspaceInstructionsSourceError, jl as FeishuMessageQueue, jn as RIVUS_MEMORY_TOOL_ID, jo as createInMemoryFeishuCardTargetRegistry, jp as AgentSessionAvailability, jr as requestBackgroundSessionStop, js as RivusDeploymentBootstrapContext, jt as DelegationGrant, ju as AgentRunUpdateCallback, k as ResolveHumanInteractionInput, ka as createPiSdkAgentLoop, kc as AutomationTick, kd as FeishuInboxDeliveryState, kf as InvalidFeishuMessageContent, ki as createWorkspaceRootHandle, kl as FeishuMessageDrainResult, kn as ProjectMemoryRecallOptions, ko as FeishuCardTargetRegistryStoreError, kp as AgentRunUpdateHandler, kr as releaseBackgroundSessionLease, ks as runRivusDaemonCli, kt as DelegationDenied, ku as AgentDomainEventCallback, l as createFeishuHumanInteractionPresenter, la as FeishuCotPublisher, lc as RivusAutomationDeliveryTargetType, ld as OpenJsonFeishuSessionStoreOptions, lf as FeishuCardActionIntakeError, li as openJsonlToolOperationLedger, ll as RivusDaemonProcessOptions, ln as CompactionSnapshot, lo as ConfiguredFeishuOpenApiRequest, lp as RunPresentationPhase, lr as openJsonlBackgroundSessionRepository, ls as FeishuEventHandlerCardActions, lt as CreateRivusDeploymentBackgroundSessionInput, lu as DefaultAgentRuntimeSessionOptions, m as FeishuAutomationCardSender, ma as InvalidFeishuTopicContext, mc as RivusEndpointExperimentalFeatures, md as createRecoveryAction, mf as createAgentCommandFromFeishuCardAction, mi as ToolBroker, ml as FeishuWorkerLoopOptions, mn as AgentContextLayerKind, mo as FeishuOpenApiResponse, mp as PresentedValueOptions, mr as isBackgroundSessionState, ms as FeishuSdkReceiveMessagePayload, mt as RivusDeploymentBackgroundSession, mu as createDefaultAgentHarnessClientFromTextCallback, n as FEISHU_AGENT_CARD_PROGRESS_ELEMENT_ID, na as FeishuCardTargetCreateOptions, nc as LoadedRivusDeployment, nd as AgentInstanceRegistry, nf as FeishuHumanInteractionActions, ni as FeishuPresentationPreparationOptions, nl as CardPresentationTransitionDenied, nn as AutomationTickRecord, no as ConfiguredRivusDaemonBootstrapRequest, np as AssistantPresentationStep, nr as extendBackgroundSessionDefinition, ns as AgentHistoryEventLog, nt as CreateConfiguredRivusDeploymentDaemonOptions, nu as DefaultAgentHarnessClientOptions, o as FeishuHumanInteractionPresenterOptions, oa as createFeishuCardKitOpenApiTargetCreator, oc as RivusPluginLoadStatus, od as AgentInstanceBusy, of as composeFeishuTopicPrompt, oi as createAgentHarnessPooledRuntime, ol as CompositeRivusDaemonTransportOptions, on as CompactorPort, oo as ConfiguredFeishuCardRolloverRuntime, op as RUN_PRESENTATION_SCHEMA_VERSION, or as BackgroundSessionSupervisorOptions, os as FeishuAgentRuntimeOptions, ot as RivusDeploymentManifestError, ou as DefaultAgentRuntimeFromCallbackOptions, p as FeishuAutomationCardInput, pa as FeishuTopicContextResolverOptions, pc as RivusEndpointDeployment, pd as InvalidRecoveryAction, pf as UnsupportedFeishuCardAction, pi as ToolApprovalService, pl as FeishuWorkerLoop, pn as AgentContextLayer, po as FeishuOpenApiRequest, pp as PresentedValue, pr as BACKGROUND_SESSION_JSONL_VERSION, ps as FeishuReceiveMessageHandlerPayload, pt as RivusDeploymentAutomation, pu as createDefaultAgentHarnessClientFromCallback, q as RequestToolApprovalInput, qa as LangfuseTelemetryContentMode, qc as FeishuCardRolloverOptions, qd as FeishuAgentDaemonOptions, qf as FeishuCardDeliveryLedgerStateOptions, qi as createConfiguredFeishuCardKitPublisher, ql as RivusDaemonConfigError, qn as DEFAULT_BACKGROUND_SESSION_LEASE_MS, qo as FeishuWebSocketEventDispatcher, qr as MemorySearchQuery, qs as RivusDeploymentDaemonLifecycleError, qt as OpenJsonAutomationTickRepositoryOptions, qu as SessionSchedulerStatus, r as FeishuAgentRunCardInput, ra as FeishuCardTargetCreator, rc as ResolvedRivusAutomationDefinition, rd as createAgentInstanceRegistry, rf as createFeishuAgentDaemon, ri as createFeishuPresentationPreparation, rl as acceptsCardPresentationProgress, rn as AutomationTickStatus, ro as ConfiguredRivusDaemonBootstrapResponse, rp as ModelPresentationStep, rr as narrowBackgroundSessionDefinition, rs as restoreAgentHistory, rt as createConfiguredRivusDeploymentDaemon, ru as DefaultAgentHarnessFromCallbackOptions, s as createConfiguredFeishuHumanInteractionPresenter, sa as createFeishuCardTargetPreparation, sc as RivusPluginModuleLoadRequest, sd as AgentRuntimeDisposed, sf as FeishuAgentRunPreparation, si as JsonlRecoveryControlOptions, sl as createCompositeRivusDaemonTransport, sn as createCompactionService, so as ConfiguredFeishuCardRolloverRuntimeOptions, sp as ResponsePresentationStep, sr as createBackgroundSessionSupervisor, ss as createFeishuAgentRuntime, st as createRivusDeploymentDaemon, su as DefaultAgentRuntimeFromTextCallbackOptions, t as FEISHU_AGENT_CARD_ELEMENT_ID, ta as FeishuCardPresentationBinder, td as createAgentRuntimePool, tf as FeishuAgentPreparedControl, ti as createRivusAgentHost, tl as CardPresentationStatus, tn as createScheduledAutomation, to as ConfiguredRivusDaemonBootstrapOptions, tp as createFeishuStreamProjector, tr as resolveBackgroundSessionSupervisorIntervalMs, ts as createJsonlAgentEventLog, tt as UserDecisionOption, tu as DefaultAgentHarnessClientFromTextCallbackOptions, u as createInMemoryHumanInteractionRepository, ua as FeishuCotPublisherOptions, uc as RivusAutomationDeployment, ud as openJsonFeishuSessionStore, uf as FeishuCardActionTriggerPayload, ui as AuthorizationPolicyProvider, ul as RivusDaemonTransport, un as CompactionInput, uo as ConfiguredFeishuOpenApiResponse, up as SkillPresentationStep, ur as BACKGROUND_SESSION_DELIVERY_JSONL_VERSION, us as FeishuEventHandlerQueue, ut as CreateRivusDeploymentDaemonOptions, uu as createAgentRuntime, v as FeishuTextReplySender, va as FeishuCardPresentationNotFound, vc as BackgroundSessionSupervisor, vd as ToolOperationBinding, vf as FeishuMessageIntakeBaseSummary, vi as ToolInvocationDenied, vl as FeishuMessageWorkerQueue, vn as InvalidProjectSkillCatalog, vo as FeishuTenantAccessTokenProvider, vp as AgentDomainEventHandler, vr as BackgroundSessionTransitionDenied, vs as createFeishuCardActionCallbackResponse, vt as LoadRivusDeploymentOptions, vu as createDefaultAgentRuntimeFromCallback, w as createHumanInteractionEndpointRegistry, wa as PiSessionRegistryOptions, wc as AutomationBinding, wd as ToolOperationState, wf as FeishuPromptAgentCommand, wi as InvalidStableJson, wl as FeishuReceiveMessageReplayResult, wn as InvalidRivusProjectSpace, wo as FeishuCardRolloverSupervisorOptions, wp as AgentHarnessError, wr as failBackgroundSessionStep, ws as RivusDaemonCliOptions, wt as SpawnSubagentRequest, wu as AgentClientSuccess, x as createHumanInteractionModelChangeApproval, xa as RunPresentationProjector, xc as ScheduledAutomationDeliveryInput, xd as ToolOperationReconciliation, xf as FeishuMessageIntakeSummary, xi as createInvocationAuthority, xl as FeishuReceiveAcceptedObservation, xn as validateProjectSkillCatalog, xo as FeishuTenantAccessTokenResponse, xp as AgentHarness, xr as completeBackgroundSessionStep, xs as RivusDaemonBootstrapContext, xt as RivusPluginLoadError, xu as createUuidRunIds, y as createConfiguredFeishuTextReplySender, ya as FeishuCardPresentationStoreOptions, yc as BackgroundSessionSupervisorStatus, yd as ToolOperationInspectResult, yf as FeishuMessageIntakeError, yi as InvocationAuthority, yl as createFeishuMessageWorker, yn as ProjectSkillCatalogDiagnostic, yo as FeishuTenantAccessTokenProviderOptions, yp as AgentDomainEventListener, yr as appendBackgroundSessionInput, ys as createFeishuCardActionErrorResponse, yt as RivusPluginModule, yu as createDefaultAgentRuntimeFromTextCallback, z as HumanInteractionActor, za as createOpenTelemetryAgentEventSink, zc as RivusDaemonStatusReporter, zd as RecoverySnapshot, zf as InvalidFeishuSessionReference, zi as resolveRivusAgentDefinition, zl as OpenClawEnvImportResult, zn as createMemoryNamespace, zo as FeishuCardKitPublisherOptions, zp as AgentEventHandlerFailed, zr as AgentMemoryIdentity, zs as RivusDeploymentBackgroundSessionReadinessError, zt as PluginStateStore, zu as JsonFetchRequestOptions } from "./chunks/index.js";
|
|
2
2
|
import { $ as replayAgentTranscript, A as AgentLoopToolExecutionStart, At as isAssistantThinkingDeltaEvent, B as createAgentLoopThinkingDelta, C as AgentLoopSkillExecutionEndOptions, Ct as AgentTurnStarted, D as AgentLoopThinkingDelta, Dt as TerminalAgentDomainEvent, E as AgentLoopTextDelta, Et as SessionKey, F as createAgentLoopModelExecutionEnd, Ft as LocalCliAgentInvocationOrigin, G as AgentConversationMessagesOptions, H as createAgentLoopToolExecutionStart, I as createAgentLoopModelExecutionStart, J as AgentTranscriptMessageRole, K as AgentTranscript, L as createAgentLoopSkillExecutionEnd, M as AgentLoopToolExecutionUpdate, Mt as AgentInvocationOrigin, N as AgentLoopToolExecutionUpdateOptions, Nt as AutomationAgentInvocationOrigin, O as AgentLoopToolExecutionEnd, Ot as isAgentToolExecutionEvent, P as AgentLoopTurnStart, Pt as FeishuAgentInvocationOrigin, Q as createAgentTranscriptTurn, R as createAgentLoopSkillExecutionStart, S as AgentLoopSkillExecutionEnd, St as AgentTurnCompleted, T as AgentLoopSkillExecutionStartOptions, Tt as AssistantThinkingDelta, U as createAgentLoopToolExecutionUpdate, V as createAgentLoopToolExecutionEnd, W as createAgentLoopTurnStart, X as createAgentConversationMessages, Y as AgentTranscriptTurn, Z as createAgentTranscriptMessages, _ as AgentLoopEventLike, _t as AgentSkillExecutionStarted, a as AgentLoopInput, at as AgentRunState, b as AgentLoopModelExecutionStart, bt as AgentToolExecutionStarted, c as EventAgentLoopOptions, ct as AgentModelExecutionEnded, d as createAgentLoopFromCallback, dt as AgentModelUsage, et as AgentHistory, f as createAsyncIterableAgentLoop, ft as AgentRunAccepted, g as AgentLoopEvent, gt as AgentSkillExecutionEnded, h as createTextAgentLoopFromCallback, ht as AgentRunId, i as AgentLoopCallbackResult, it as AgentRunPhase, j as AgentLoopToolExecutionStartOptions, jt as isTerminalAgentDomainEvent, k as AgentLoopToolExecutionEndOptions, kt as isAssistantTextDeltaEvent, l as TextAgentLoopCallback, lt as AgentModelExecutionEvent, m as createTextAgentLoop, mt as AgentRunFailed, n as AgentLoopCallback, nt as AgentSessionSummary, o as AgentSteeringChannel, ot as AgentSkillExecutionState, p as createEventAgentLoop, pt as AgentRunCompleted, q as AgentTranscriptMessage, r as AgentLoopCallbackOutput, rt as replayAgentHistory, s as AsyncIterableAgentLoopOptions, st as AgentDomainEvent, t as AgentLoop, tt as AgentRunSummary, u as TextAgentLoopOptions, ut as AgentModelExecutionStarted, v as AgentLoopModelExecutionEnd, vt as AgentToolExecutionEnded, w as AgentLoopSkillExecutionStart, wt as AssistantTextDelta, x as AgentLoopModelExecutionStartOptions, xt as AgentToolExecutionUpdated, y as AgentLoopModelExecutionEndOptions, yt as AgentToolExecutionEvent, z as createAgentLoopTextDelta } from "./chunks/agent-loop.js";
|
|
3
3
|
import { _ as RivusToolIdempotency, a as RivusRuntimeToolId, c as RivusHostToolDescriptor, d as RivusResolvedToolDescriptor, f as RivusToolDescriptor, g as RivusToolGrantSet, h as RivusToolFactoryContext, i as RIVUS_RUNTIME_TOOL_IDS, m as RivusToolExecutor, n as RivusSkillDescriptor, o as isRivusRuntimeToolId, p as RivusToolExecutionContext, r as RivusSkillGrantSet, s as RegisteredRivusTool, t as RegisteredRivusSkill, v as RivusToolInputRejected, y as RivusToolRisk } from "./chunks/rivus-skill.js";
|
|
4
4
|
import { A as RegisteredRivusAgentProfile, C as InvalidAutomationPresentation, D as RIVUS_PLUGIN_API_VERSION, E as InvalidRivusPlugin, M as RivusAgentDeployment, N as RivusAgentProfile, O as RegisteredRivusPlugin, P as RivusRuntimeToolGrantSet, S as AutomationPresentationSource, T as readAutomationPresentation, _ as AutomationPresentation, a as assertRivusPluginConforms, b as AutomationPresentationKind, c as RivusPluginCatalog, d as RegisteredRivusAutomation, f as RivusAutomationInput, g as AUTOMATION_PRESENTATION_SCHEMA_VERSION, h as RivusAutomationTickContext, i as RivusPluginLifecycleProbe, j as ResolvedRivusAgentDefinition, k as RivusPluginManifest, l as RivusPluginCatalogSnapshot, m as RivusAutomationTemplate, n as RivusPluginConformanceInput, o as createFakeRivusPlugin, p as RivusAutomationOutput, r as RivusPluginConformanceReport, s as RivusPlugin, t as RivusPluginConformanceError, u as RivusPluginRegistry, v as AutomationPresentationInput, w as createAutomationPresentation, x as AutomationPresentationSection, y as AutomationPresentationItem } from "./chunks/rivus-plugin-testkit.js";
|
|
5
5
|
import { A as BackgroundSessionAuthority, D as BackgroundSessionOrigin, E as BackgroundSessionPhase, M as BackgroundSessionId, O as BackgroundSessionLease, T as BackgroundSessionTerminalResult, _ as BackgroundSessionDeliveryConflict, a as progressDeliveryId, c as BACKGROUND_SESSION_SESSION_KEY_PREFIX, g as BackgroundSessionRepositoryCorrupted, h as BackgroundSessionRepositoryConflict, i as BackgroundSessionSummary, k as BackgroundSessionCancellation, l as createBackgroundSessionKey, n as BackgroundSessionDetail, o as sessionIdFromSessionKey, r as BackgroundSessionService, s as terminalDeliveryId, t as BackgroundSessionCallerDenied, u as createBackgroundSessionStepSourceMessageId, v as BackgroundSessionDeliveryRecord, y as BackgroundSessionDeliveryStore } from "./chunks/background-session-service.js";
|
|
6
6
|
import { l as InvalidInvocationAuthority } from "./chunks/pi-tool-proxy.js";
|
|
7
|
-
export { AUTOMATION_PRESENTATION_SCHEMA_VERSION, AUTOMATION_SUPPRESSION_PREFIX, type ActiveAgentRun, type AgentClientAttempt, type AgentClientFailure, type AgentClientSuccess, type AgentClock, AgentContextBudgetExceeded, type AgentContextInput, type AgentContextLayer, type AgentContextLayerKind, type AgentConversationMessagesOptions, type AgentDomainEvent, type AgentDomainEventCallback, type AgentDomainEventHandler, type AgentDomainEventListener, type AgentDomainEventSink, type AgentDomainEventSinkCallback, AgentEventHandlerFailed, type AgentEventLog, type AgentEventLogOperation, AgentEventLogStoreError, AgentEventSinkFailed, type AgentHarness, type AgentHarnessAvailability, AgentHarnessBusy, type AgentHarnessBusyAvailability, type AgentHarnessClient, type AgentHarnessError, type AgentHarnessIdleAvailability, type AgentHarnessOptions, type AgentHistory, type AgentHistoryEventLog, AgentInstanceBusy, AgentInstanceConflict, type AgentInstanceRecord, type AgentInstanceRegistry, type AgentInstanceRegistryOptions, type AgentInvocationOrigin, type AgentLoop, type AgentLoopCallback, type AgentLoopCallbackOutput, type AgentLoopCallbackResult, type AgentLoopEvent, type AgentLoopEventLike, AgentLoopFailed, type AgentLoopInput, type AgentLoopModelExecutionEnd, type AgentLoopModelExecutionEndOptions, type AgentLoopModelExecutionStart, type AgentLoopModelExecutionStartOptions, type AgentLoopSkillExecutionEnd, type AgentLoopSkillExecutionEndOptions, type AgentLoopSkillExecutionStart, type AgentLoopSkillExecutionStartOptions, type AgentLoopTextDelta, type AgentLoopThinkingDelta, type AgentLoopToolExecutionEnd, type AgentLoopToolExecutionEndOptions, type AgentLoopToolExecutionStart, type AgentLoopToolExecutionStartOptions, type AgentLoopToolExecutionUpdate, type AgentLoopToolExecutionUpdateOptions, type AgentLoopTurnStart, type AgentMemoryAuthority, AgentMemoryError, type AgentMemoryHandle, type AgentMemoryIdentity, type AgentMemoryService, type AgentMemoryServiceOptions, type AgentMemorySnapshot, type AgentModelContentObserver, type AgentModelExecutionEnded, type AgentModelExecutionEvent, type AgentModelExecutionStarted, type AgentModelInputObservation, type AgentModelOutputObservation, type AgentModelUsage, type AgentPromptResult, type AgentRunAccepted, AgentRunCancelled, type AgentRunCancelled as AgentRunCancelledEvent, type AgentRunCompleted, type AgentRunFailed, type AgentRunId, type AgentRunPhase, type AgentRunSnapshot, type AgentRunState, type AgentRunSummary, type AgentRunUpdate, type AgentRunUpdateCallback, type AgentRunUpdateHandler, type AgentRunUpdateListener, type AgentRuntime, type AgentRuntimeCancellation, AgentRuntimeDisposed, type AgentRuntimeInput, type AgentRuntimePool, type AgentRuntimePoolOptions, type AgentRuntimeSteering, type AgentSessionAvailability, type AgentSessionBusyAvailability, type AgentSessionClient, type AgentSessionHandle, type AgentSessionOtherBusyAvailability, type AgentSessionOwnedBusyAvailability, type AgentSessionSnapshot, type AgentSessionSummary, type AgentSkillExecutionEnded, type AgentSkillExecutionStarted, type AgentSkillExecutionState, type AgentSteeringChannel, type AgentTextDeltaCallback, type AgentToolExecutionEnded, type AgentToolExecutionEvent, type AgentToolExecutionStarted, type AgentToolExecutionUpdated, type AgentTranscript, type AgentTranscriptMessage, type AgentTranscriptMessageRole, type AgentTranscriptTurn, type AgentTurnCompleted, type AgentTurnStarted, type ApprovedHumanInteractionState, type AssembledAgentContext, type AssistantPresentationStep, type AssistantTextDelta, type AssistantThinkingDelta, type AsyncIterableAgentLoopOptions, type AuthorizationPolicyProvider, type AuthorizationPolicyState, type AutomationAgentInvocationOrigin, type AutomationBinding, type AutomationDeliveryBinding, type AutomationMandate, AutomationMandateError, type AutomationMandateStore, type AutomationOutcome, type AutomationPresentation, type AutomationPresentationInput, type AutomationPresentationItem, type AutomationPresentationKind, type AutomationPresentationSection, type AutomationPresentationSource, type AutomationTick, type AutomationTickRecord, type AutomationTickRepositoryCompatibility as AutomationTickRepository, type AutomationTickStatus, BACKGROUND_SESSION_DELIVERY_JSONL_VERSION, BACKGROUND_SESSION_JSONL_VERSION, BACKGROUND_SESSION_SESSION_KEY_PREFIX, BACKGROUND_SESSION_START_TOOL_ID, BACKGROUND_SESSION_TOOL_IDS, BACKGROUND_SESSION_TOOL_PLUGIN_ID, BACKGROUND_SESSION_TOOL_VERSION, type BackgroundSessionAuthority, BackgroundSessionCallerDenied, type BackgroundSessionCancellation, BackgroundSessionDeliveryConflict, type BackgroundSessionDeliveryRecord, type BackgroundSessionDeliveryStore, type BackgroundSessionDetail, type BackgroundSessionId, type BackgroundSessionLease, type BackgroundSessionLimits, type BackgroundSessionOrigin, type BackgroundSessionPhase, type BackgroundSessionRepository, BackgroundSessionRepositoryConflict, BackgroundSessionRepositoryCorrupted, type BackgroundSessionService, type BackgroundSessionState, type BackgroundSessionSummary, type BackgroundSessionSupervisor, type BackgroundSessionSupervisorOptions, type BackgroundSessionSupervisorStatus, type BackgroundSessionTerminalResult, BackgroundSessionTransitionDenied, type CancelledHumanInteractionState, type CardPresentation, type CardPresentationChain, type CardPresentationStatus, CardPresentationTransitionDenied, type CommitAutomationOutcomeInput, type CommittedAutomationOutcome, CompactionError, type CompactionInput, type CompactionService, type CompactionSnapshot, type CompactorPort, type CompositeRivusDaemonTransportOptions, type ConfiguredFeishuCardKitPublisherOptions, type ConfiguredFeishuCardRolloverRuntime, type ConfiguredFeishuCardRolloverRuntimeOptions, type ConfiguredFeishuHumanInteractionPresenterOptions, type ConfiguredFeishuOpenApiRequest, type ConfiguredFeishuOpenApiResponse, type ConfiguredRivusDaemonBootstrap, type ConfiguredRivusDaemonBootstrapOptions, type ConfiguredRivusDaemonBootstrapRequest, type ConfiguredRivusDaemonBootstrapResponse, type ConsumeToolApprovalInput, type ConversationProgressDisplay, type CreateBackgroundSessionHostToolsOptions, type CreateConfiguredRivusDeploymentDaemonOptions, type CreateRivusDeploymentAutomationInput, type CreateRivusDeploymentBackgroundSessionInput, type CreateRivusDeploymentDaemonOptions, type CreateRivusDeploymentEndpointInput, type CreateRivusDeploymentRuntimeInput, DEFAULT_BACKGROUND_SESSION_LEASE_MS, DEFAULT_BACKGROUND_SESSION_LEASE_RENEWAL_INTERVAL_MS, DEFAULT_BACKGROUND_SESSION_LIFETIME_MS, DEFAULT_BACKGROUND_SESSION_MAX_CONCURRENT_SESSIONS, DEFAULT_BACKGROUND_SESSION_MAX_CONSECUTIVE_FAILURES, DEFAULT_BACKGROUND_SESSION_RETRY_BACKOFF_MS, DEFAULT_BACKGROUND_SESSION_STEP_TIMEOUT_MS, DEFAULT_BACKGROUND_SESSION_SUPERVISOR_INTERVAL_MS, DEFAULT_CARD_STREAM_LEASE_MS, DEFAULT_CONVERSATION_PROGRESS_DISPLAY, type DailyAutomationSchedule, type DeadLetterRecoveryItem, type DeadLetterRequeueResult, type DefaultAgentHarnessClientFromCallbackOptions, type DefaultAgentHarnessClientFromTextCallbackOptions, type DefaultAgentHarnessClientOptions, type DefaultAgentHarnessFromCallbackOptions, type DefaultAgentHarnessFromTextCallbackOptions, type DefaultAgentHarnessOptions, type DefaultAgentRuntimeFromCallbackOptions, type DefaultAgentRuntimeFromTextCallbackOptions, type DefaultAgentRuntimeOptions, type DefaultAgentRuntimeSessionOptions, DelegationDenied, type DelegationEdge, type DelegationGrant, type DelegationRequest, type DelegationService, type DeliveryJob, type DeliveryJobStatus, type DeliveryOutbox, DeliveryOutboxError, type EventAgentLoopOptions, type ExpiredHumanInteractionState, FEISHU_AGENT_CARD_ELEMENT_ID, FEISHU_AGENT_CARD_PROGRESS_ELEMENT_ID, type FeishuAgentCommand, type FeishuAgentDaemon, type FeishuAgentDaemonCancelResult, type FeishuAgentDaemonHandleMessageOptions, type FeishuAgentDaemonHandleResult, type FeishuAgentDaemonInteractionResult, type FeishuAgentDaemonOptions, type FeishuAgentDaemonRunResult, type FeishuAgentDaemonSessionResetResult, type FeishuAgentDaemonSkippedResult, type FeishuAgentDaemonSteeredResult, type FeishuAgentExecution, type FeishuAgentExecutionResult, type FeishuAgentInvocationOrigin, type FeishuAgentMessageSideEffects, type FeishuAgentPreparedControl, type FeishuAgentRunCardInput, type FeishuAgentRunPreparation, type FeishuAgentRuntime, type FeishuAgentRuntimeOptions, type FeishuAutomationCardInput, type FeishuAutomationCardSender, type FeishuBackgroundSessionDelivery, type FeishuBackgroundSessionDeliveryInput, type FeishuBackgroundSessionDeliveryKind, type FeishuCancelMessageIntakeSummary, type FeishuCancelRunCommand, type FeishuCardActionCallbackResponse, type FeishuCardActionCommand, type FeishuCardActionIntakeError, type FeishuCardActionToast, type FeishuCardActionTriggerPayload, type FeishuCardDeliveryLedger, type FeishuCardDeliveryLedgerStateOptions, type FeishuCardDeliveryReconciler, type FeishuCardDeliveryReconcilerOptions, type FeishuCardDeliveryRecord, type FeishuCardKitCancel, type FeishuCardKitClient, type FeishuCardKitFail, type FeishuCardKitFinish, type FeishuCardKitOpenApiClientOptions, type FeishuCardKitOpenApiTargetCreatorOptions, type FeishuCardKitPresentationUpdate, type FeishuCardKitPublisher, type FeishuCardKitPublisherOptions, type FeishuCardKitTextUpdate, type FeishuCardPresentationBinder, type FeishuCardPresentationHandoffStart, FeishuCardPresentationNotFound, type FeishuCardPresentationStore, type FeishuCardPresentationStoreOptions, type FeishuCardRollover, type FeishuCardRolloverCounters, type FeishuCardRolloverEvent, type FeishuCardRolloverEventType, type FeishuCardRolloverHandoffResult, type FeishuCardRolloverOptions, type FeishuCardRolloverStatus, type FeishuCardRolloverSupervisor, type FeishuCardRolloverSupervisorOptions, type FeishuCardTarget, type FeishuCardTargetCreateOptions, type FeishuCardTargetCreator, FeishuCardTargetNotFound, type FeishuCardTargetPreparationOptions, type FeishuCardTargetRegistry, type FeishuCardTargetRegistryOperation, FeishuCardTargetRegistryStoreError, type FeishuCoalescingPublisher, type FeishuCoalescingPublisherOptions, type FeishuConversationReference, FeishuCotProtocolError, type FeishuCotPublisher, type FeishuCotPublisherOptions, type FeishuCotRunPreparation, type FeishuDeploymentEndpointOptions, FeishuEndpointCredentialError, type FeishuEndpointCredentials, type FeishuEndpointGroupPolicy, type FeishuEventHandlerCardActions, type FeishuEventHandlerQueue, type FeishuEventHandlers, type FeishuEventHandlersOptions, type FeishuHumanInteractionActions, type FeishuHumanInteractionPresenterOptions, type FeishuInboxCompletedState, type FeishuInboxDeadState, type FeishuInboxDelivery, type FeishuInboxDeliveryState, type FeishuInboxLeasedState, type FeishuInboxPendingState, type FeishuInboxRepository, type FeishuInboxRepositoryStateOptions, type FeishuMessageAcceptResult, type FeishuMessageContentInput, type FeishuMessageDrainResult, type FeishuMessageIntakeBaseSummary, type FeishuMessageIntakeError, type FeishuMessageIntakeOptions, type FeishuMessageIntakeSummary, type FeishuMessagePreparedControl, type FeishuMessageQueue, type FeishuMessageQueueOptions, type FeishuMessageReactionSender, type FeishuMessageWorker, type FeishuMessageWorkerDrainAvailableResult, type FeishuMessageWorkerOptions, type FeishuMessageWorkerQueue, type FeishuNewSessionCommand, type FeishuNewSessionMessageIntakeSummary, type FeishuOpenApiClient, FeishuOpenApiError, type FeishuOpenApiRequest, type FeishuOpenApiResponse, type FeishuPeriodicFlush, type FeishuPeriodicFlushOptions, type FeishuPeriodicFlushSupervisor, type FeishuPresentationPreparationOptions, type FeishuPromptAgentCommand, type FeishuPromptContextInput, type FeishuPromptContextResolver, type FeishuPromptMessageIntakeSummary, type FeishuRawCardJson, type FeishuReceiveAcceptedObservation, type FeishuReceiveHandledObservation, type FeishuReceiveMessageHandlerPayload, type FeishuReceiveMessagePayload, type FeishuReceiveMessageReplayOptions, type FeishuReceiveMessageReplayResult, type FeishuReceiveMessageSummary, type FeishuReceiveRuntimeStatus, type FeishuResolveInteractionCommand, type FeishuSdkReceiveMessagePayload, type FeishuSessionEpochRecord, type FeishuSessionReference, type FeishuSessionResetResult, type FeishuSessionStore, type FeishuSessionStoreOptions, type FeishuStreamAction, type FeishuStreamActionPublisher, type FeishuStreamProjector, FeishuTenantAccessTokenError, type FeishuTenantAccessTokenProvider, type FeishuTenantAccessTokenProviderOptions, type FeishuTenantAccessTokenRequest, type FeishuTenantAccessTokenResponse, type FeishuTextReplySender, type FeishuTopicContextResolverOptions, type FeishuWebSocketClient, type FeishuWebSocketClientStartOptions, type FeishuWebSocketDaemon, type FeishuWebSocketDaemonOptions, type FeishuWebSocketEventDispatcher, type FeishuWebSocketRuntime, type FeishuWorkerLoop, type FeishuWorkerLoopOptions, type FetchLike, type FetchLikeResponse, type HumanInteraction, type HumanInteractionActor, type HumanInteractionBase, type HumanInteractionClock, type HumanInteractionEndpointRegistry, type HumanInteractionFact, type HumanInteractionId, type HumanInteractionPresenter, type HumanInteractionRepository, HumanInteractionRepositoryError, type HumanInteractionResolutionAction, type HumanInteractionService, type HumanInteractionServiceOptions, type HumanInteractionTransition, HumanInteractionTransitionDenied, InvalidAutomationPresentation, InvalidFeishuCardAction, InvalidFeishuMessageContent, InvalidFeishuSessionReference, InvalidFeishuTopicContext, InvalidInvocationAuthority, InvalidProjectSkillCatalog, InvalidRecoveryAction, InvalidRivusEndpointBinding, InvalidRivusPlugin, InvalidRivusProjectSpace, InvalidStableJson, InvalidToolInput, InvalidWorkspaceRoot, type InvocationAuthority, type InvocationAuthorityRef, type JsonFetchRequestOptions, type JsonFileFeishuCardTargetRegistryOptions, type JsonHttpRequest, type JsonHttpResponse, type JsonlAgentEventLogOptions, type JsonlFeishuCardDeliveryLedgerOptions, type JsonlFeishuInboxRepositoryOptions, type JsonlHumanInteractionRepositoryOptions, type JsonlRecoveryControlOptions, type LangfuseAgentTelemetry, type LangfuseTelemetryConfig, LangfuseTelemetryConfigError, type LangfuseTelemetryContentMode, type LangfuseTelemetryEnv, type LoadRivusDeploymentManifestOptions, type LoadRivusDeploymentOptions, type LoadedRivusDeployment, type LocalCliAgentInvocationOrigin, MEMORY_SCOPES, type MemoryBinding, type MemoryInvocationAudience, type MemoryRecord, type MemoryScope, type MemorySearchQuery, type MemoryState, type MemoryTombstoneReceipt, type MergePiProviderBaseUrlOverrideOptions, type ModelPresentationStep, OpenClawEnvImportError, type OpenClawEnvImportOptions, type OpenClawEnvImportResult, type OpenJsonAutomationTickRepositoryOptions, type OpenJsonFeishuSessionStoreOptions, type OpenTelemetryAgentEventSinkOptions, type OpenTelemetryAgentTelemetry, type PendingHumanInteractionState, type PiAgentLoopOptions, type PiAgentSession, type PiAgentSessionEvent, type PiAgentSessionHandle, type PiCreateAgentSessionResult, type PiSdkAgentLoopOptions, type PiSessionRegistry, type PiSessionRegistryOptions, PluginStateConflict, type PluginStateRecord, type PluginStateStore, type PooledAgentRuntime, type PresentationStep, type PresentationStepStatus, type PresentedValue, type PresentedValueOptions, type ProjectMemoryPromptInput, type ProjectMemoryRecallIdentity, type ProjectMemoryRecallOptions, type ProjectSkillCatalogDiagnostic, type ProjectSkillCatalogEntry, type PromptCommand, type PutPluginState, RIVUS_MEMORY_TOOL_ID, RIVUS_MEMORY_TOOL_PLUGIN_ID, RIVUS_MEMORY_TOOL_VERSION, RIVUS_PLUGIN_API_VERSION, RIVUS_RUNTIME_TOOL_IDS, RUN_PRESENTATION_SCHEMA_VERSION, type RateLimitedFeishuPublisherOptions, type RecoveryAction, type RecoveryControl, type RecoveryControlOptions, type RecoverySnapshot, type RegisteredRivusAgentProfile, type RegisteredRivusAutomation, type RegisteredRivusPlugin, type RegisteredRivusSkill, type RegisteredRivusTool, type RejectedHumanInteractionState, type RequestToolApprovalInput, type RequestUserDecisionInput, type ResolveHumanInteractionInput, type ResolvedRivusAgentDefinition, type ResolvedRivusAutomationDefinition, type ResolvedRivusProjectSpace, type ResponsePresentationStep, type RivusAgentDeployment, type RivusAgentDeploymentStatus, type RivusAgentHost, type RivusAgentHostOptions, type RivusAgentProfile, type RivusAutomationDelivery, type RivusAutomationDeliveryTargetType, type RivusAutomationDeployment, type RivusAutomationInput, type RivusAutomationOutput, type RivusAutomationTemplate, type RivusAutomationTickContext, type RivusBackgroundSessionsDeployment, type RivusDaemonBootstrapContext, type RivusDaemonBootstrapFactory, type RivusDaemonBootstrapModule, type RivusDaemonCliOptions, type RivusDaemonCliWriter, type RivusDaemonConfig, RivusDaemonConfigError, type RivusDaemonConfigLoaderOptions, type RivusDaemonEnv, type RivusDaemonFeishuReplayRunner, type RivusDaemonProcess, type RivusDaemonProcessOptions, type RivusDaemonPromptRunner, type RivusDaemonRecoveryRunner, type RivusDaemonShutdownController, type RivusDaemonShutdownControllerOptions, type RivusDaemonShutdownSignal, type RivusDaemonSignalSource, type RivusDaemonStatus, type RivusDaemonStatusHttpServer, type RivusDaemonStatusHttpServerOptions, type RivusDaemonStatusReporter, type RivusDaemonStatusReporterOptions, type RivusDaemonTransport, type RivusDaemonWorkerLoop, type RivusDeploymentAutomation, type RivusDeploymentAutomationLifecycle, RivusDeploymentAutomationReadinessError, type RivusDeploymentAutomationStatus, type RivusDeploymentBackgroundSession, type RivusDeploymentBackgroundSessionLifecycle, RivusDeploymentBackgroundSessionReadinessError, type RivusDeploymentBackgroundSessionStatus, type RivusDeploymentBootstrapAdapters, type RivusDeploymentBootstrapContext, type RivusDeploymentBootstrapFactory, type RivusDeploymentCliProcess, type RivusDeploymentComponentLifecycle, type RivusDeploymentDaemon, type RivusDeploymentDaemonLifecycle, RivusDeploymentDaemonLifecycleError, type RivusDeploymentDaemonStatus, type RivusDeploymentEndpoint, type RivusDeploymentEndpointLifecycle, type RivusDeploymentEndpointStatus, type RivusDeploymentManifest, RivusDeploymentManifestError, RivusDeploymentReadinessError, type RivusEndpointDefinition, type RivusEndpointDeployment, type RivusEndpointExperimentalFeatures, type RivusEndpointInput, type RivusEnvFileVariables, type RivusHostToolDescriptor, type RivusMemoryTool, type RivusPlugin, type RivusPluginCatalog, type RivusPluginCatalogSnapshot, RivusPluginConformanceError, type RivusPluginConformanceInput, type RivusPluginConformanceReport, type RivusPluginDeclaration, type RivusPluginLifecycleProbe, RivusPluginLoadError, type RivusPluginLoadStatus, type RivusPluginManifest, type RivusPluginModule, type RivusPluginModuleLoadRequest, type RivusPluginRegistry, type RivusProjectSpaceDeployment, type RivusResolvedToolDescriptor, type RivusRuntimeToolGrantSet, type RivusRuntimeToolId, type RivusSkillDescriptor, type RivusSkillGrantSet, type RivusTextFileReader, type RivusThinkingLevel, type RivusToolDescriptor, type RivusToolExecutionContext, type RivusToolExecutor, type RivusToolFactoryContext, type RivusToolGrantSet, type RivusToolIdempotency, RivusToolInputRejected, type RivusToolRisk, type RunIdGenerator, type RunPresentation, type RunPresentationPhase, type RunPresentationProjector, type ScheduledAutomation, type ScheduledAutomationClock, type ScheduledAutomationDeliveryInput, type ScheduledAutomationOptions, type ScheduledAutomationRunInput, type ScheduledAutomationRunResult, type SelectedHumanInteractionState, type SessionKey, type SessionScheduler, SessionSchedulerCapacityExceeded, SessionSchedulerDisposed, type SessionSchedulerOptions, type SessionSchedulerStatus, type SkillPresentationStep, type SpawnSubagentRequest, type SubagentCoordinator, type SubagentRecord, type TelemetryContentRedactor, type TelemetryContentRedactorOptions, type TerminalAgentDomainEvent, type TextAgentLoopCallback, type TextAgentLoopOptions, type ToolApprovalBinding, type ToolApprovalInteraction, type ToolApprovalInteractionState, type ToolApprovalRequest, type ToolApprovalService, type ToolBroker, type ToolBrokerOptions, type ToolExecutionRequest, ToolInvocationDenied, type ToolOperationBeginResult, type ToolOperationBinding, type ToolOperationInspectResult, type ToolOperationLedger, type ToolOperationReconciliation, type ToolOperationReconciliationOutcome, type ToolOperationRecord, type ToolOperationRecoveryItem, type ToolOperationResolutionResult, type ToolOperationState, type ToolPresentationStep, UnsupportedFeishuCardAction, UnsupportedFeishuMessage, type UserDecisionInteraction, type UserDecisionInteractionState, type UserDecisionOption, type WorkspaceInstructionSource, type WorkspaceInstructionsDiagnostic, type WorkspaceInstructionsDiagnosticCode, type WorkspaceInstructionsProvider, type WorkspaceInstructionsRequest, WorkspaceInstructionsSourceError, type WorkspaceInstructionsView, type WorkspaceRootHandle, acceptsCardPresentationProgress, activeCardPresentation, appendBackgroundSessionInput, assembleAgentContext, assertRivusPluginConforms, backgroundSessionToolIds, claimBackgroundSession, commitAutomationOutcome, completeBackgroundSessionStep, completeBackgroundSessionStop, composeFeishuTopicPrompt, createAgentCommandFromFeishuCardAction, createAgentCommandFromFeishuMessage, createAgentConversationMessages, createAgentDomainEventHandler, createAgentDomainEventSink, createAgentDomainEventSinkFromCallback, createAgentHarness, createAgentHarnessClient, createAgentHarnessPooledRuntime, createAgentInstanceRegistry, createAgentLoopFromCallback, createAgentLoopModelExecutionEnd, createAgentLoopModelExecutionStart, createAgentLoopPromptTransformer, createAgentLoopSkillExecutionEnd, createAgentLoopSkillExecutionStart, createAgentLoopTextDelta, createAgentLoopThinkingDelta, createAgentLoopToolExecutionEnd, createAgentLoopToolExecutionStart, createAgentLoopToolExecutionUpdate, createAgentLoopTurnStart, createAgentMemoryService, createAgentRunUpdateHandler, createAgentRuntime, createAgentRuntimePool, createAgentTranscriptMessages, createAgentTranscriptTurn, createAgentsMdInstructionsProvider, createAsyncIterableAgentLoop, createAutomationMandateStore, createAutomationPresentation, createBackgroundSession, createBackgroundSessionCard, createBackgroundSessionDeliveryStore, createBackgroundSessionHostTools, createBackgroundSessionKey, createBackgroundSessionRepository, createBackgroundSessionService, createBackgroundSessionStepSourceMessageId, createBackgroundSessionSupervisor, createBackgroundSessionToolContracts, createCoalescingFeishuPublisher, createCompactionService, createCompositeRivusDaemonTransport, createConfiguredFeishuAutomationCardSender, createConfiguredFeishuBackgroundSessionDelivery, createConfiguredFeishuCardKitPublisher, createConfiguredFeishuCardKitTargetCreator, createConfiguredFeishuCardRolloverRuntime, createConfiguredFeishuHumanInteractionPresenter, createConfiguredFeishuMessageReactionSender, createConfiguredFeishuOpenApiClient, createConfiguredFeishuTextReplySender, createConfiguredRivusDaemonBootstrap, createConfiguredRivusDeploymentDaemon, createDailyAutomationSchedule, createDefaultAgentHarness, createDefaultAgentHarnessClient, createDefaultAgentHarnessClientFromCallback, createDefaultAgentHarnessClientFromTextCallback, createDefaultAgentHarnessFromCallback, createDefaultAgentHarnessFromTextCallback, createDefaultAgentRuntime, createDefaultAgentRuntimeFromCallback, createDefaultAgentRuntimeFromTextCallback, createDelegationService, createDeliveryOutbox, createEventAgentLoop, createFakeRivusPlugin, createFeishuAgentDaemon, createFeishuAgentRunCard, createFeishuAgentRuntime, createFeishuCardActionCallbackResponse, createFeishuCardActionErrorResponse, createFeishuCardDeliveryLedger, createFeishuCardDeliveryReconciler, createFeishuCardKitOpenApiClient, createFeishuCardKitOpenApiTargetCreator, createFeishuCardKitPublisher, createFeishuCardPresentationStore, createFeishuCardRollover, createFeishuCardRolloverSupervisor, createFeishuCardTargetPreparation, createFeishuConversationId, createFeishuCotPublisher, createFeishuDeploymentEndpoint, createFeishuEventHandlers, createFeishuHumanInteractionCard, createFeishuHumanInteractionPresenter, createFeishuInboxRepository, createFeishuMessageQueue, createFeishuMessageWorker, createFeishuOpenApiClient, createFeishuPeriodicFlush, createFeishuPresentationPreparation, createFeishuSessionKey, createFeishuSessionStore, createFeishuStreamProjector, createFeishuTenantAccessTokenProvider, createFeishuTopicContextResolver, createFeishuWebSocketDaemon, createFeishuWorkerLoop, createFixedClock, createHumanInteractionEndpointRegistry, createHumanInteractionService, createHumanInteractionToolApprovalGateway, createInMemoryFeishuCardTargetRegistry, createInMemoryHumanInteractionRepository, createInvocationAuthority, createJsonFetchRequest, createJsonFileFeishuCardTargetRegistry, createJsonlAgentEventLog, createJsonlHumanInteractionRepository, createLangfuseAgentTelemetry, createLazyFeishuWebSocketEventDispatcher, createMemoryNamespace, createOpenTelemetryAgentEventSink, createOpenTelemetryAgentTelemetry, createPiAgentLoop, createPiSdkAgentLoop, createPiSessionRegistry, createPluginStateStore, createPresentedValue, createProjectMemoryPromptPreparer, createRateLimitedFeishuPublisher, createRecoveryAction, createRecoveryControl, createRivusAgentHost, createRivusDaemonProcess, createRivusDaemonShutdownController, createRivusDaemonStatusHttpServer, createRivusDaemonStatusReporter, createRivusDeploymentCliProcess, createRivusDeploymentDaemon, createRivusEnvFromOpenClawConfig, createRivusMemoryTool, createRivusMemoryToolContract, createRivusMemoryToolDescriptor, createRivusPluginCatalog, createRoutedHumanInteractionToolApprovalService, createRunPresentationProjector, createScheduledAutomation, createSequenceRunIds, createSessionScheduler, createSubagentCoordinator, createSystemClock, createTelemetryContentRedactor, createTestClock, createTextAgentLoop, createTextAgentLoopFromCallback, createToolBroker, createToolInputDigest, createToolOperationLedger, createUuidRunIds, createWorkspaceRootHandle, describeFeishuMessageIntake, evolveAgentRun, extendBackgroundSessionDefinition, failBackgroundSessionStep, formatRivusEnvFile, hasInspectableRunProgress, initialAgentRunState, intersectToolIds, isAgentToolExecutionEvent, isAssistantTextDeltaEvent, isAssistantThinkingDeltaEvent, isBackgroundSessionDue, isBackgroundSessionLeaseExpired, isBackgroundSessionState, isBackgroundSessionTerminalPhase, isBackgroundSessionToolId, isCardPresentationHandoffDue, isRivusRuntimeToolId, isTerminalAgentDomainEvent, isTerminalAgentRunPhase, loadNodeRivusPluginModule, loadRivusDaemonConfig, loadRivusDeployment, loadRivusDeploymentManifest, mergePiProviderBaseUrlOverride, narrowBackgroundSessionDefinition, normalizeStableJson, openJsonAutomationTickRepository, openJsonFeishuSessionStore, openJsonlAgentMemoryService, openJsonlBackgroundSessionDeliveryStore, openJsonlBackgroundSessionRepository, openJsonlFeishuCardDeliveryLedger, openJsonlFeishuInboxRepository, openJsonlRecoveryControl, openJsonlToolOperationLedger, parkBackgroundSessionForReconciliation, progressDeliveryId, readAutomationPresentation, readFeishuMessageContent, releaseBackgroundSessionLease, renewBackgroundSessionLease, replayAgentHistory, replayAgentTranscript, requestBackgroundSessionStop, requeueInterruptedBackgroundSessionStep, requiresToolApproval, resolveBackgroundSessionReconciliation, resolveBackgroundSessionSupervisorIntervalMs, resolveFeishuDeliveryChatId, resolveFeishuEndpointCredentials, resolveLangfuseTelemetryConfig, resolveRivusAgentDefinition, resolveRivusProjectSpace, restoreAgentHistory, restoreConfiguredRivusDaemonBootstrap, restrictMemoryScopesForAudience, runRivusDaemonCli, sessionIdFromSessionKey, shouldAcceptFeishuEndpointMessage, suspendBackgroundSession, terminalDeliveryId, transitionHumanInteraction, validateProjectSkillCatalog, validateProjectSkillCommand, validateRivusDeploymentManifest };
|
|
7
|
+
export { AUTOMATION_PRESENTATION_SCHEMA_VERSION, AUTOMATION_SUPPRESSION_PREFIX, type ActiveAgentRun, type AgentClientAttempt, type AgentClientFailure, type AgentClientSuccess, type AgentClock, AgentContextBudgetExceeded, type AgentContextInput, type AgentContextLayer, type AgentContextLayerKind, type AgentConversationMessagesOptions, type AgentDomainEvent, type AgentDomainEventCallback, type AgentDomainEventHandler, type AgentDomainEventListener, type AgentDomainEventSink, type AgentDomainEventSinkCallback, AgentEventHandlerFailed, type AgentEventLog, type AgentEventLogOperation, AgentEventLogStoreError, AgentEventSinkFailed, type AgentHarness, type AgentHarnessAvailability, AgentHarnessBusy, type AgentHarnessBusyAvailability, type AgentHarnessClient, type AgentHarnessError, type AgentHarnessIdleAvailability, type AgentHarnessOptions, type AgentHistory, type AgentHistoryEventLog, AgentInstanceBusy, AgentInstanceConflict, type AgentInstanceRecord, type AgentInstanceRegistry, type AgentInstanceRegistryOptions, type AgentInvocationOrigin, type AgentLoop, type AgentLoopCallback, type AgentLoopCallbackOutput, type AgentLoopCallbackResult, type AgentLoopEvent, type AgentLoopEventLike, AgentLoopFailed, type AgentLoopInput, type AgentLoopModelExecutionEnd, type AgentLoopModelExecutionEndOptions, type AgentLoopModelExecutionStart, type AgentLoopModelExecutionStartOptions, type AgentLoopSkillExecutionEnd, type AgentLoopSkillExecutionEndOptions, type AgentLoopSkillExecutionStart, type AgentLoopSkillExecutionStartOptions, type AgentLoopTextDelta, type AgentLoopThinkingDelta, type AgentLoopToolExecutionEnd, type AgentLoopToolExecutionEndOptions, type AgentLoopToolExecutionStart, type AgentLoopToolExecutionStartOptions, type AgentLoopToolExecutionUpdate, type AgentLoopToolExecutionUpdateOptions, type AgentLoopTurnStart, type AgentMemoryAuthority, AgentMemoryError, type AgentMemoryHandle, type AgentMemoryIdentity, type AgentMemoryService, type AgentMemoryServiceOptions, type AgentMemorySnapshot, type AgentModelContentObserver, type AgentModelExecutionEnded, type AgentModelExecutionEvent, type AgentModelExecutionStarted, type AgentModelInputObservation, type AgentModelOutputObservation, type AgentModelUsage, type AgentPromptResult, type AgentRunAccepted, AgentRunCancelled, type AgentRunCancelled as AgentRunCancelledEvent, type AgentRunCompleted, type AgentRunFailed, type AgentRunId, type AgentRunPhase, type AgentRunSnapshot, type AgentRunState, type AgentRunSummary, type AgentRunUpdate, type AgentRunUpdateCallback, type AgentRunUpdateHandler, type AgentRunUpdateListener, type AgentRuntime, type AgentRuntimeCancellation, AgentRuntimeDisposed, type AgentRuntimeInput, type AgentRuntimePool, type AgentRuntimePoolOptions, type AgentRuntimeSteering, type AgentSessionAvailability, type AgentSessionBusyAvailability, type AgentSessionClient, type AgentSessionHandle, type AgentSessionOtherBusyAvailability, type AgentSessionOwnedBusyAvailability, type AgentSessionSnapshot, type AgentSessionSummary, type AgentSkillExecutionEnded, type AgentSkillExecutionStarted, type AgentSkillExecutionState, type AgentSteeringChannel, type AgentTextDeltaCallback, type AgentToolExecutionEnded, type AgentToolExecutionEvent, type AgentToolExecutionStarted, type AgentToolExecutionUpdated, type AgentTranscript, type AgentTranscriptMessage, type AgentTranscriptMessageRole, type AgentTranscriptTurn, type AgentTurnCompleted, type AgentTurnStarted, type ApprovedHumanInteractionState, type AssembledAgentContext, type AssistantPresentationStep, type AssistantTextDelta, type AssistantThinkingDelta, type AsyncIterableAgentLoopOptions, type AuthorizationPolicyProvider, type AuthorizationPolicyState, type AutomationAgentInvocationOrigin, type AutomationBinding, type AutomationDeliveryBinding, type AutomationMandate, AutomationMandateError, type AutomationMandateStore, type AutomationOutcome, type AutomationPresentation, type AutomationPresentationInput, type AutomationPresentationItem, type AutomationPresentationKind, type AutomationPresentationSection, type AutomationPresentationSource, type AutomationTick, type AutomationTickRecord, type AutomationTickRepositoryCompatibility as AutomationTickRepository, type AutomationTickStatus, BACKGROUND_SESSION_DELIVERY_JSONL_VERSION, BACKGROUND_SESSION_JSONL_VERSION, BACKGROUND_SESSION_SESSION_KEY_PREFIX, BACKGROUND_SESSION_START_TOOL_ID, BACKGROUND_SESSION_TOOL_IDS, BACKGROUND_SESSION_TOOL_PLUGIN_ID, BACKGROUND_SESSION_TOOL_VERSION, type BackgroundSessionAuthority, BackgroundSessionCallerDenied, type BackgroundSessionCancellation, BackgroundSessionDeliveryConflict, type BackgroundSessionDeliveryRecord, type BackgroundSessionDeliveryStore, type BackgroundSessionDetail, type BackgroundSessionId, type BackgroundSessionLease, type BackgroundSessionLimits, type BackgroundSessionOrigin, type BackgroundSessionPhase, type BackgroundSessionRepository, BackgroundSessionRepositoryConflict, BackgroundSessionRepositoryCorrupted, type BackgroundSessionService, type BackgroundSessionState, type BackgroundSessionSummary, type BackgroundSessionSupervisor, type BackgroundSessionSupervisorOptions, type BackgroundSessionSupervisorStatus, type BackgroundSessionTerminalResult, BackgroundSessionTransitionDenied, type CancelledHumanInteractionState, type CardPresentation, type CardPresentationChain, type CardPresentationStatus, CardPresentationTransitionDenied, type CommitAutomationOutcomeInput, type CommittedAutomationOutcome, CompactionError, type CompactionInput, type CompactionService, type CompactionSnapshot, type CompactorPort, type CompositeRivusDaemonTransportOptions, type ConfiguredFeishuCardKitPublisherOptions, type ConfiguredFeishuCardRolloverRuntime, type ConfiguredFeishuCardRolloverRuntimeOptions, type ConfiguredFeishuHumanInteractionPresenterOptions, type ConfiguredFeishuOpenApiRequest, type ConfiguredFeishuOpenApiResponse, type ConfiguredRivusDaemonBootstrap, type ConfiguredRivusDaemonBootstrapOptions, type ConfiguredRivusDaemonBootstrapRequest, type ConfiguredRivusDaemonBootstrapResponse, type ConsumeToolApprovalInput, type ConversationProgressDisplay, type CreateBackgroundSessionHostToolsOptions, type CreateConfiguredRivusDeploymentDaemonOptions, type CreateRivusDeploymentAutomationInput, type CreateRivusDeploymentBackgroundSessionInput, type CreateRivusDeploymentDaemonOptions, type CreateRivusDeploymentEndpointInput, type CreateRivusDeploymentRuntimeInput, DEFAULT_BACKGROUND_SESSION_LEASE_MS, DEFAULT_BACKGROUND_SESSION_LEASE_RENEWAL_INTERVAL_MS, DEFAULT_BACKGROUND_SESSION_LIFETIME_MS, DEFAULT_BACKGROUND_SESSION_MAX_CONCURRENT_SESSIONS, DEFAULT_BACKGROUND_SESSION_MAX_CONSECUTIVE_FAILURES, DEFAULT_BACKGROUND_SESSION_RETRY_BACKOFF_MS, DEFAULT_BACKGROUND_SESSION_STEP_TIMEOUT_MS, DEFAULT_BACKGROUND_SESSION_SUPERVISOR_INTERVAL_MS, DEFAULT_CARD_STREAM_LEASE_MS, DEFAULT_CONVERSATION_PROGRESS_DISPLAY, type DailyAutomationSchedule, type DeadLetterRecoveryItem, type DeadLetterRequeueResult, type DefaultAgentHarnessClientFromCallbackOptions, type DefaultAgentHarnessClientFromTextCallbackOptions, type DefaultAgentHarnessClientOptions, type DefaultAgentHarnessFromCallbackOptions, type DefaultAgentHarnessFromTextCallbackOptions, type DefaultAgentHarnessOptions, type DefaultAgentRuntimeFromCallbackOptions, type DefaultAgentRuntimeFromTextCallbackOptions, type DefaultAgentRuntimeOptions, type DefaultAgentRuntimeSessionOptions, DelegationDenied, type DelegationEdge, type DelegationGrant, type DelegationRequest, type DelegationService, type DeliveryJob, type DeliveryJobStatus, type DeliveryOutbox, DeliveryOutboxError, type EventAgentLoopOptions, type ExpiredHumanInteractionState, FEISHU_AGENT_CARD_ELEMENT_ID, FEISHU_AGENT_CARD_PROGRESS_ELEMENT_ID, type FeishuAgentCommand, type FeishuAgentDaemon, type FeishuAgentDaemonCancelResult, type FeishuAgentDaemonHandleMessageOptions, type FeishuAgentDaemonHandleResult, type FeishuAgentDaemonInteractionResult, type FeishuAgentDaemonOptions, type FeishuAgentDaemonRunResult, type FeishuAgentDaemonSessionResetResult, type FeishuAgentDaemonSkippedResult, type FeishuAgentDaemonSteeredResult, type FeishuAgentExecution, type FeishuAgentExecutionResult, type FeishuAgentInvocationOrigin, type FeishuAgentMessageSideEffects, type FeishuAgentPreparedControl, type FeishuAgentRunCardInput, type FeishuAgentRunPreparation, type FeishuAgentRuntime, type FeishuAgentRuntimeOptions, type FeishuAutomationCardInput, type FeishuAutomationCardSender, type FeishuBackgroundSessionDelivery, type FeishuBackgroundSessionDeliveryInput, type FeishuBackgroundSessionDeliveryKind, type FeishuCancelMessageIntakeSummary, type FeishuCancelRunCommand, type FeishuCardActionCallbackResponse, type FeishuCardActionCommand, type FeishuCardActionIntakeError, type FeishuCardActionToast, type FeishuCardActionTriggerPayload, type FeishuCardDeliveryLedger, type FeishuCardDeliveryLedgerStateOptions, type FeishuCardDeliveryReconciler, type FeishuCardDeliveryReconcilerOptions, type FeishuCardDeliveryRecord, type FeishuCardKitCancel, type FeishuCardKitClient, type FeishuCardKitFail, type FeishuCardKitFinish, type FeishuCardKitOpenApiClientOptions, type FeishuCardKitOpenApiTargetCreatorOptions, type FeishuCardKitPresentationUpdate, type FeishuCardKitPublisher, type FeishuCardKitPublisherOptions, type FeishuCardKitTextUpdate, type FeishuCardPresentationBinder, type FeishuCardPresentationHandoffStart, FeishuCardPresentationNotFound, type FeishuCardPresentationStore, type FeishuCardPresentationStoreOptions, type FeishuCardRollover, type FeishuCardRolloverCounters, type FeishuCardRolloverEvent, type FeishuCardRolloverEventType, type FeishuCardRolloverHandoffResult, type FeishuCardRolloverOptions, type FeishuCardRolloverStatus, type FeishuCardRolloverSupervisor, type FeishuCardRolloverSupervisorOptions, type FeishuCardTarget, type FeishuCardTargetCreateOptions, type FeishuCardTargetCreator, FeishuCardTargetNotFound, type FeishuCardTargetPreparationOptions, type FeishuCardTargetRegistry, type FeishuCardTargetRegistryOperation, FeishuCardTargetRegistryStoreError, type FeishuCoalescingPublisher, type FeishuCoalescingPublisherOptions, type FeishuConversationReference, FeishuCotProtocolError, type FeishuCotPublisher, type FeishuCotPublisherOptions, type FeishuCotRunPreparation, type FeishuDeploymentEndpointOptions, FeishuEndpointCredentialError, type FeishuEndpointCredentials, type FeishuEndpointGroupPolicy, type FeishuEventHandlerCardActions, type FeishuEventHandlerQueue, type FeishuEventHandlers, type FeishuEventHandlersOptions, type FeishuHumanInteractionActions, type FeishuHumanInteractionPresenterOptions, type FeishuInboxCompletedState, type FeishuInboxDeadState, type FeishuInboxDelivery, type FeishuInboxDeliveryState, type FeishuInboxLeasedState, type FeishuInboxPendingState, type FeishuInboxRepository, type FeishuInboxRepositoryStateOptions, type FeishuMessageAcceptResult, type FeishuMessageContentInput, type FeishuMessageDrainResult, type FeishuMessageIntakeBaseSummary, type FeishuMessageIntakeError, type FeishuMessageIntakeOptions, type FeishuMessageIntakeSummary, type FeishuMessagePreparedControl, type FeishuMessageQueue, type FeishuMessageQueueOptions, type FeishuMessageReactionSender, type FeishuMessageWorker, type FeishuMessageWorkerDrainAvailableResult, type FeishuMessageWorkerOptions, type FeishuMessageWorkerQueue, type FeishuNewSessionCommand, type FeishuNewSessionMessageIntakeSummary, type FeishuOpenApiClient, FeishuOpenApiError, type FeishuOpenApiRequest, type FeishuOpenApiResponse, type FeishuPeriodicFlush, type FeishuPeriodicFlushOptions, type FeishuPeriodicFlushSupervisor, type FeishuPresentationPreparationOptions, type FeishuPromptAgentCommand, type FeishuPromptContextInput, type FeishuPromptContextResolver, type FeishuPromptMessageIntakeSummary, type FeishuRawCardJson, type FeishuReceiveAcceptedObservation, type FeishuReceiveHandledObservation, type FeishuReceiveMessageHandlerPayload, type FeishuReceiveMessagePayload, type FeishuReceiveMessageReplayOptions, type FeishuReceiveMessageReplayResult, type FeishuReceiveMessageSummary, type FeishuReceiveRuntimeStatus, type FeishuResolveInteractionCommand, type FeishuSdkReceiveMessagePayload, type FeishuSessionEpochRecord, type FeishuSessionReference, type FeishuSessionResetResult, type FeishuSessionStore, type FeishuSessionStoreOptions, type FeishuStreamAction, type FeishuStreamActionPublisher, type FeishuStreamProjector, FeishuTenantAccessTokenError, type FeishuTenantAccessTokenProvider, type FeishuTenantAccessTokenProviderOptions, type FeishuTenantAccessTokenRequest, type FeishuTenantAccessTokenResponse, type FeishuTextReplySender, type FeishuTopicContextResolverOptions, type FeishuWebSocketClient, type FeishuWebSocketClientStartOptions, type FeishuWebSocketDaemon, type FeishuWebSocketDaemonOptions, type FeishuWebSocketEventDispatcher, type FeishuWebSocketRuntime, type FeishuWorkerLoop, type FeishuWorkerLoopOptions, type FetchLike, type FetchLikeResponse, type HumanInteraction, type HumanInteractionActor, type HumanInteractionBase, type HumanInteractionClock, type HumanInteractionEndpointRegistry, type HumanInteractionFact, type HumanInteractionId, type HumanInteractionPresenter, type HumanInteractionRepository, HumanInteractionRepositoryError, type HumanInteractionResolutionAction, type HumanInteractionService, type HumanInteractionServiceOptions, type HumanInteractionTransition, HumanInteractionTransitionDenied, InvalidAutomationPresentation, InvalidFeishuCardAction, InvalidFeishuMessageContent, InvalidFeishuSessionReference, InvalidFeishuTopicContext, InvalidInvocationAuthority, InvalidProjectSkillCatalog, InvalidRecoveryAction, InvalidRivusEndpointBinding, InvalidRivusPlugin, InvalidRivusProjectSpace, InvalidStableJson, InvalidToolInput, InvalidWorkspaceRoot, type InvocationAuthority, type InvocationAuthorityRef, type JsonFetchRequestOptions, type JsonFileFeishuCardTargetRegistryOptions, type JsonHttpRequest, type JsonHttpResponse, type JsonlAgentEventLogOptions, type JsonlFeishuCardDeliveryLedgerOptions, type JsonlFeishuInboxRepositoryOptions, type JsonlHumanInteractionRepositoryOptions, type JsonlRecoveryControlOptions, type LangfuseAgentTelemetry, type LangfuseTelemetryConfig, LangfuseTelemetryConfigError, type LangfuseTelemetryContentMode, type LangfuseTelemetryEnv, type LoadRivusDeploymentManifestOptions, type LoadRivusDeploymentOptions, type LoadedRivusDeployment, type LocalCliAgentInvocationOrigin, MEMORY_SCOPES, type MemoryBinding, type MemoryInvocationAudience, type MemoryRecord, type MemoryScope, type MemorySearchQuery, type MemoryState, type MemoryTombstoneReceipt, type MergePiProviderBaseUrlOverrideOptions, type ModelPresentationStep, OpenClawEnvImportError, type OpenClawEnvImportOptions, type OpenClawEnvImportResult, type OpenJsonAutomationTickRepositoryOptions, type OpenJsonFeishuSessionStoreOptions, type OpenTelemetryAgentEventSinkOptions, type OpenTelemetryAgentTelemetry, type PendingHumanInteractionState, type PiAgentLoopOptions, type PiAgentSession, type PiAgentSessionEvent, type PiAgentSessionHandle, type PiCreateAgentSessionResult, type PiSdkAgentLoopOptions, type PiSessionRegistry, type PiSessionRegistryOptions, PluginStateConflict, type PluginStateRecord, type PluginStateStore, type PooledAgentRuntime, type PresentationStep, type PresentationStepStatus, type PresentedValue, type PresentedValueOptions, type ProjectMemoryPromptInput, type ProjectMemoryRecallIdentity, type ProjectMemoryRecallOptions, type ProjectSkillCatalogDiagnostic, type ProjectSkillCatalogEntry, type PromptCommand, type PutPluginState, RIVUS_MEMORY_TOOL_ID, RIVUS_MEMORY_TOOL_PLUGIN_ID, RIVUS_MEMORY_TOOL_VERSION, RIVUS_PLUGIN_API_VERSION, RIVUS_RUNTIME_TOOL_IDS, RUN_PRESENTATION_SCHEMA_VERSION, type RateLimitedFeishuPublisherOptions, type RecoveryAction, type RecoveryControl, type RecoveryControlOptions, type RecoverySnapshot, type RegisteredRivusAgentProfile, type RegisteredRivusAutomation, type RegisteredRivusPlugin, type RegisteredRivusSkill, type RegisteredRivusTool, type RejectedHumanInteractionState, type RequestToolApprovalInput, type RequestUserDecisionInput, type ResolveHumanInteractionInput, type ResolvedRivusAgentDefinition, type ResolvedRivusAutomationDefinition, type ResolvedRivusProjectSpace, type ResponsePresentationStep, type RivusAgentDeployment, type RivusAgentDeploymentStatus, type RivusAgentHost, type RivusAgentHostOptions, type RivusAgentProfile, type RivusAutomationDelivery, type RivusAutomationDeliveryTargetType, type RivusAutomationDeployment, type RivusAutomationInput, type RivusAutomationOutput, type RivusAutomationTemplate, type RivusAutomationTickContext, type RivusBackgroundSessionsDeployment, type RivusDaemonBootstrapContext, type RivusDaemonBootstrapFactory, type RivusDaemonBootstrapModule, type RivusDaemonCliOptions, type RivusDaemonCliWriter, type RivusDaemonConfig, RivusDaemonConfigError, type RivusDaemonConfigLoaderOptions, type RivusDaemonEnv, type RivusDaemonFeishuReplayRunner, type RivusDaemonProcess, type RivusDaemonProcessOptions, type RivusDaemonPromptRunner, type RivusDaemonRecoveryRunner, type RivusDaemonShutdownController, type RivusDaemonShutdownControllerOptions, type RivusDaemonShutdownSignal, type RivusDaemonSignalSource, type RivusDaemonStatus, type RivusDaemonStatusHttpServer, type RivusDaemonStatusHttpServerOptions, type RivusDaemonStatusReporter, type RivusDaemonStatusReporterOptions, type RivusDaemonTransport, type RivusDaemonWorkerLoop, type RivusDeploymentAutomation, type RivusDeploymentAutomationLifecycle, RivusDeploymentAutomationReadinessError, type RivusDeploymentAutomationStatus, type RivusDeploymentBackgroundSession, type RivusDeploymentBackgroundSessionLifecycle, RivusDeploymentBackgroundSessionReadinessError, type RivusDeploymentBackgroundSessionStatus, type RivusDeploymentBootstrapAdapters, type RivusDeploymentBootstrapContext, type RivusDeploymentBootstrapFactory, type RivusDeploymentCliProcess, type RivusDeploymentComponentLifecycle, type RivusDeploymentDaemon, type RivusDeploymentDaemonLifecycle, RivusDeploymentDaemonLifecycleError, type RivusDeploymentDaemonStatus, type RivusDeploymentEndpoint, type RivusDeploymentEndpointLifecycle, type RivusDeploymentEndpointStatus, type RivusDeploymentManifest, RivusDeploymentManifestError, RivusDeploymentReadinessError, type RivusEndpointDefinition, type RivusEndpointDeployment, type RivusEndpointExperimentalFeatures, type RivusEndpointInput, type RivusEnvFileVariables, type RivusHostToolDescriptor, type RivusMemoryTool, type RivusPlugin, type RivusPluginCatalog, type RivusPluginCatalogSnapshot, RivusPluginConformanceError, type RivusPluginConformanceInput, type RivusPluginConformanceReport, type RivusPluginDeclaration, type RivusPluginLifecycleProbe, RivusPluginLoadError, type RivusPluginLoadStatus, type RivusPluginManifest, type RivusPluginModule, type RivusPluginModuleLoadRequest, type RivusPluginRegistry, type RivusProjectSpaceDeployment, type RivusResolvedToolDescriptor, type RivusRuntimeToolGrantSet, type RivusRuntimeToolId, type RivusSkillDescriptor, type RivusSkillGrantSet, type RivusTextFileReader, type RivusThinkingLevel, type RivusToolDescriptor, type RivusToolExecutionContext, type RivusToolExecutor, type RivusToolFactoryContext, type RivusToolGrantSet, type RivusToolIdempotency, RivusToolInputRejected, type RivusToolRisk, type RunIdGenerator, type RunPresentation, type RunPresentationPhase, type RunPresentationProjector, type ScheduledAutomation, type ScheduledAutomationClock, type ScheduledAutomationDeliveryInput, type ScheduledAutomationOptions, type ScheduledAutomationRunInput, type ScheduledAutomationRunResult, type SelectedHumanInteractionState, type SessionKey, type SessionScheduler, SessionSchedulerCapacityExceeded, SessionSchedulerDisposed, type SessionSchedulerOptions, type SessionSchedulerStatus, type SkillPresentationStep, type SpawnSubagentRequest, type SubagentCoordinator, type SubagentRecord, type TelemetryContentRedactor, type TelemetryContentRedactorOptions, type TerminalAgentDomainEvent, type TextAgentLoopCallback, type TextAgentLoopOptions, type ToolApprovalBinding, type ToolApprovalInteraction, type ToolApprovalInteractionState, type ToolApprovalRequest, type ToolApprovalService, type ToolBroker, type ToolBrokerOptions, type ToolExecutionRequest, ToolInvocationDenied, type ToolOperationBeginResult, type ToolOperationBinding, type ToolOperationInspectResult, type ToolOperationLedger, type ToolOperationReconciliation, type ToolOperationReconciliationOutcome, type ToolOperationRecord, type ToolOperationRecoveryItem, type ToolOperationResolutionResult, type ToolOperationState, type ToolPresentationStep, UnsupportedFeishuCardAction, UnsupportedFeishuMessage, type UserDecisionInteraction, type UserDecisionInteractionState, type UserDecisionOption, type WorkspaceInstructionSource, type WorkspaceInstructionsDiagnostic, type WorkspaceInstructionsDiagnosticCode, type WorkspaceInstructionsProvider, type WorkspaceInstructionsRequest, WorkspaceInstructionsSourceError, type WorkspaceInstructionsView, type WorkspaceRootHandle, acceptsCardPresentationProgress, activeCardPresentation, appendBackgroundSessionInput, assembleAgentContext, assertRivusPluginConforms, backgroundSessionToolIds, claimBackgroundSession, commitAutomationOutcome, completeBackgroundSessionStep, completeBackgroundSessionStop, composeFeishuTopicPrompt, createAgentCommandFromFeishuCardAction, createAgentCommandFromFeishuMessage, createAgentConversationMessages, createAgentDomainEventHandler, createAgentDomainEventSink, createAgentDomainEventSinkFromCallback, createAgentHarness, createAgentHarnessClient, createAgentHarnessPooledRuntime, createAgentInstanceRegistry, createAgentLoopFromCallback, createAgentLoopModelExecutionEnd, createAgentLoopModelExecutionStart, createAgentLoopPromptTransformer, createAgentLoopSkillExecutionEnd, createAgentLoopSkillExecutionStart, createAgentLoopTextDelta, createAgentLoopThinkingDelta, createAgentLoopToolExecutionEnd, createAgentLoopToolExecutionStart, createAgentLoopToolExecutionUpdate, createAgentLoopTurnStart, createAgentMemoryService, createAgentRunUpdateHandler, createAgentRuntime, createAgentRuntimePool, createAgentTranscriptMessages, createAgentTranscriptTurn, createAgentsMdInstructionsProvider, createAsyncIterableAgentLoop, createAutomationMandateStore, createAutomationPresentation, createBackgroundSession, createBackgroundSessionCard, createBackgroundSessionDeliveryStore, createBackgroundSessionHostTools, createBackgroundSessionKey, createBackgroundSessionRepository, createBackgroundSessionService, createBackgroundSessionStepSourceMessageId, createBackgroundSessionSupervisor, createBackgroundSessionToolContracts, createCoalescingFeishuPublisher, createCompactionService, createCompositeRivusDaemonTransport, createConfiguredFeishuAutomationCardSender, createConfiguredFeishuBackgroundSessionDelivery, createConfiguredFeishuCardKitPublisher, createConfiguredFeishuCardKitTargetCreator, createConfiguredFeishuCardRolloverRuntime, createConfiguredFeishuHumanInteractionPresenter, createConfiguredFeishuMessageReactionSender, createConfiguredFeishuOpenApiClient, createConfiguredFeishuTextReplySender, createConfiguredRivusDaemonBootstrap, createConfiguredRivusDeploymentDaemon, createDailyAutomationSchedule, createDefaultAgentHarness, createDefaultAgentHarnessClient, createDefaultAgentHarnessClientFromCallback, createDefaultAgentHarnessClientFromTextCallback, createDefaultAgentHarnessFromCallback, createDefaultAgentHarnessFromTextCallback, createDefaultAgentRuntime, createDefaultAgentRuntimeFromCallback, createDefaultAgentRuntimeFromTextCallback, createDelegationService, createDeliveryOutbox, createEventAgentLoop, createFakeRivusPlugin, createFeishuAgentDaemon, createFeishuAgentRunCard, createFeishuAgentRuntime, createFeishuCardActionCallbackResponse, createFeishuCardActionErrorResponse, createFeishuCardDeliveryLedger, createFeishuCardDeliveryReconciler, createFeishuCardKitOpenApiClient, createFeishuCardKitOpenApiTargetCreator, createFeishuCardKitPublisher, createFeishuCardPresentationStore, createFeishuCardRollover, createFeishuCardRolloverSupervisor, createFeishuCardTargetPreparation, createFeishuConversationId, createFeishuCotPublisher, createFeishuDeploymentEndpoint, createFeishuEventHandlers, createFeishuHumanInteractionCard, createFeishuHumanInteractionPresenter, createFeishuInboxRepository, createFeishuMessageQueue, createFeishuMessageWorker, createFeishuOpenApiClient, createFeishuPeriodicFlush, createFeishuPresentationPreparation, createFeishuSessionKey, createFeishuSessionStore, createFeishuStreamProjector, createFeishuTenantAccessTokenProvider, createFeishuTopicContextResolver, createFeishuWebSocketDaemon, createFeishuWorkerLoop, createFixedClock, createHumanInteractionEndpointRegistry, createHumanInteractionModelChangeApproval, createHumanInteractionService, createHumanInteractionToolApprovalGateway, createInMemoryFeishuCardTargetRegistry, createInMemoryHumanInteractionRepository, createInvocationAuthority, createJsonFetchRequest, createJsonFileFeishuCardTargetRegistry, createJsonlAgentEventLog, createJsonlHumanInteractionRepository, createLangfuseAgentTelemetry, createLazyFeishuWebSocketEventDispatcher, createMemoryNamespace, createOpenTelemetryAgentEventSink, createOpenTelemetryAgentTelemetry, createPiAgentLoop, createPiSdkAgentLoop, createPiSessionRegistry, createPluginStateStore, createPresentedValue, createProjectMemoryPromptPreparer, createRateLimitedFeishuPublisher, createRecoveryAction, createRecoveryControl, createRivusAgentHost, createRivusDaemonProcess, createRivusDaemonShutdownController, createRivusDaemonStatusHttpServer, createRivusDaemonStatusReporter, createRivusDeploymentCliProcess, createRivusDeploymentDaemon, createRivusEnvFromOpenClawConfig, createRivusMemoryTool, createRivusMemoryToolContract, createRivusMemoryToolDescriptor, createRivusPluginCatalog, createRoutedHumanInteractionToolApprovalService, createRunPresentationProjector, createScheduledAutomation, createSequenceRunIds, createSessionScheduler, createSubagentCoordinator, createSystemClock, createTelemetryContentRedactor, createTestClock, createTextAgentLoop, createTextAgentLoopFromCallback, createToolBroker, createToolInputDigest, createToolOperationLedger, createUuidRunIds, createWorkspaceRootHandle, describeFeishuMessageIntake, evolveAgentRun, extendBackgroundSessionDefinition, failBackgroundSessionStep, formatRivusEnvFile, hasInspectableRunProgress, initialAgentRunState, intersectToolIds, isAgentToolExecutionEvent, isAssistantTextDeltaEvent, isAssistantThinkingDeltaEvent, isBackgroundSessionDue, isBackgroundSessionLeaseExpired, isBackgroundSessionState, isBackgroundSessionTerminalPhase, isBackgroundSessionToolId, isCardPresentationHandoffDue, isRivusRuntimeToolId, isTerminalAgentDomainEvent, isTerminalAgentRunPhase, loadNodeRivusPluginModule, loadRivusDaemonConfig, loadRivusDeployment, loadRivusDeploymentManifest, mergePiProviderBaseUrlOverride, narrowBackgroundSessionDefinition, normalizeStableJson, openJsonAutomationTickRepository, openJsonFeishuSessionStore, openJsonlAgentMemoryService, openJsonlBackgroundSessionDeliveryStore, openJsonlBackgroundSessionRepository, openJsonlFeishuCardDeliveryLedger, openJsonlFeishuInboxRepository, openJsonlRecoveryControl, openJsonlToolOperationLedger, parkBackgroundSessionForReconciliation, progressDeliveryId, readAutomationPresentation, readFeishuMessageContent, releaseBackgroundSessionLease, renewBackgroundSessionLease, replayAgentHistory, replayAgentTranscript, requestBackgroundSessionStop, requeueInterruptedBackgroundSessionStep, requiresToolApproval, resolveBackgroundSessionReconciliation, resolveBackgroundSessionSupervisorIntervalMs, resolveFeishuDeliveryChatId, resolveFeishuEndpointCredentials, resolveLangfuseTelemetryConfig, resolveRivusAgentDefinition, resolveRivusProjectSpace, restoreAgentHistory, restoreConfiguredRivusDaemonBootstrap, restrictMemoryScopesForAudience, runRivusDaemonCli, sessionIdFromSessionKey, shouldAcceptFeishuEndpointMessage, suspendBackgroundSession, terminalDeliveryId, transitionHumanInteraction, validateProjectSkillCatalog, validateProjectSkillCommand, validateRivusDeploymentManifest };
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as createAgentLoopToolExecutionStart, a as createTextAgentLoopFromCallback, d as createAgentLoopModelExecutionStart, f as createAgentLoopSkillExecutionEnd, g as createAgentLoopToolExecutionEnd, h as createAgentLoopThinkingDelta, i as createTextAgentLoop, m as createAgentLoopTextDelta, n as createAsyncIterableAgentLoop, p as createAgentLoopSkillExecutionStart, r as createEventAgentLoop, t as createAgentLoopFromCallback, u as createAgentLoopModelExecutionEnd, v as createAgentLoopToolExecutionUpdate, y as createAgentLoopTurnStart } from "./chunks/agent-loop.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a as InvalidStableJson, c as normalizeStableJson, l as InvalidInvocationAuthority, o as InvalidToolInput, t as RivusToolInputRejected } from "./chunks/rivus-tool.js";
|
|
3
|
+
import { $ as completeBackgroundSessionStep, $n as createFeishuAgentRunCard, $r as createAgentHarnessClient, $t as openJsonlRecoveryControl, A as createScheduledAutomation, Ai as createToolOperationLedger, An as createLangfuseAgentTelemetry, Ar as createAgentCommandFromFeishuMessage, At as createBackgroundSessionRepository, B as InvalidProjectSkillCatalog, Bi as hasInspectableRunProgress, Bn as createFeishuTopicContextResolver, Br as createAgentCommandFromFeishuCardAction, Bt as BackgroundSessionCallerDenied, C as DelegationDenied, Ci as SessionSchedulerCapacityExceeded, Cn as InvalidAutomationPresentation, Cr as createCompositeRivusDaemonTransport, Ct as DEFAULT_BACKGROUND_SESSION_SUPERVISOR_INTERVAL_MS, D as PluginStateConflict, Di as createFeishuSessionStore, Dn as createPiAgentLoop, Dr as shouldAcceptFeishuEndpointMessage, Dt as createBackgroundSessionHostTools, E as createDeliveryOutbox, Ei as openJsonFeishuSessionStore, En as createPiSessionRegistry, Er as createFeishuMessageWorker, Et as narrowBackgroundSessionDefinition, F as createCompactionService, Fi as createFeishuCardDeliveryLedger, Fn as AgentEventLogStoreError, Fr as InvalidFeishuSessionReference, Ft as BACKGROUND_SESSION_JSONL_VERSION, G as createRivusMemoryTool, Gn as createConfiguredFeishuCardKitTargetCreator, Gr as createDefaultAgentHarnessClientFromTextCallback, Gt as AgentMemoryError, H as validateProjectSkillCommand, Hi as ToolInvocationDenied, Hn as createConfiguredFeishuMessageReactionSender, Hr as createDefaultAgentHarness, Ht as sessionIdFromSessionKey, I as CompactionError, Ii as createFeishuCardDeliveryReconciler, In as createJsonlAgentEventLog, Ir as createFeishuConversationId, It as isBackgroundSessionState, J as restrictMemoryScopesForAudience, Jn as createConfiguredFeishuCardKitPublisher, Jr as createDefaultAgentRuntime, Jt as createFeishuPresentationPreparation, K as createRivusMemoryToolDescriptor, Kn as createFeishuCardKitOpenApiTargetCreator, Kr as createDefaultAgentHarnessFromCallback, Kt as InvalidRivusEndpointBinding, L as AgentContextBudgetExceeded, Li as createFeishuStreamProjector, Ln as createConfiguredRivusDaemonBootstrap, Lr as createFeishuSessionKey, Lt as createBackgroundSessionService, M as createDailyAutomationSchedule, Mi as createRecoveryAction, Mn as createOpenTelemetryAgentEventSink, Mr as InvalidFeishuMessageContent, Mt as BACKGROUND_SESSION_DELIVERY_JSONL_VERSION, N as createAutomationMandateStore, Ni as createFeishuInboxRepository, Nn as createOpenTelemetryAgentTelemetry, Nr as UnsupportedFeishuMessage, Nt as openJsonlBackgroundSessionDeliveryStore, O as createPluginStateStore, Oi as openJsonlFeishuInboxRepository, On as createPiSdkAgentLoop, Or as createFeishuMessageQueue, Ot as createBackgroundSessionSupervisor, P as AutomationMandateError, Pi as openJsonlFeishuCardDeliveryLedger, Pn as createTelemetryContentRedactor, Pr as readFeishuMessageContent, Pt as createBackgroundSessionDeliveryStore, Q as claimBackgroundSession, Qn as FEISHU_AGENT_CARD_PROGRESS_ELEMENT_ID, Qr as createUuidRunIds, Qt as createAgentInstanceRegistry, R as assembleAgentContext, Ri as createPresentedValue, Rn as restoreConfiguredRivusDaemonBootstrap, Rr as InvalidFeishuCardAction, Rt as BackgroundSessionRepositoryConflict, S as intersectToolIds, Si as createJsonFetchRequest, Sn as AUTOMATION_PRESENTATION_SCHEMA_VERSION, Sr as createRivusDaemonStatusReporter, St as DEFAULT_BACKGROUND_SESSION_STEP_TIMEOUT_MS, T as DeliveryOutboxError, Ti as createSessionScheduler, Tn as readAutomationPresentation, Tr as createFeishuWorkerLoop, Tt as extendBackgroundSessionDefinition, U as createAgentLoopPromptTransformer, Un as createConfiguredFeishuTextReplySender, Ur as createDefaultAgentHarnessClient, Ut as terminalDeliveryId, V as validateProjectSkillCatalog, Vi as DEFAULT_CONVERSATION_PROGRESS_DISPLAY, Vn as composeFeishuTopicPrompt, Vr as createAgentRuntime, Vt as progressDeliveryId, W as createProjectMemoryPromptPreparer, Wn as createConfiguredFeishuCardRolloverRuntime, Wr as createDefaultAgentHarnessClientFromCallback, Wt as createAgentMemoryService, X as BackgroundSessionTransitionDenied, Xn as createFeishuCardKitOpenApiClient, Xr as createDefaultAgentRuntimeFromTextCallback, Xt as createAgentHarnessPooledRuntime, Y as MEMORY_SCOPES, Yn as createFeishuCardKitPublisher, Yr as createDefaultAgentRuntimeFromCallback, Yt as createFeishuDeploymentEndpoint, Z as appendBackgroundSessionInput, Zn as FEISHU_AGENT_CARD_ELEMENT_ID, Zr as createSystemClock, Zt as createAgentRuntimePool, _ as createRivusDeploymentDaemon, _i as isAssistantThinkingDeltaEvent, _n as FeishuCardTargetNotFound, _r as createFeishuAgentRuntime, _t as DEFAULT_BACKGROUND_SESSION_LEASE_RENEWAL_INTERVAL_MS, a as createInMemoryHumanInteractionRepository, ai as AgentEventHandlerFailed, an as createAgentsMdInstructionsProvider, ar as createRateLimitedFeishuPublisher, at as isBackgroundSessionTerminalPhase, b as createSubagentCoordinator, bi as initialAgentRunState, bn as createJsonFileFeishuCardTargetRegistry, br as createFeishuCardActionErrorResponse, bt as DEFAULT_BACKGROUND_SESSION_MAX_CONSECUTIVE_FAILURES, c as createConfiguredFeishuAutomationCardSender, ci as AgentLoopFailed, cn as WorkspaceInstructionsSourceError, cr as createFeishuCardRollover, ct as renewBackgroundSessionLease, d as createHumanInteractionToolApprovalGateway, di as createAgentTranscriptMessages, dn as createTestClock, dr as acceptsCardPresentationProgress, dt as resolveBackgroundSessionReconciliation, ei as createAgentDomainEventHandler, en as openJsonlToolOperationLedger, er as FeishuOpenApiError, et as completeBackgroundSessionStop, f as createHumanInteractionEndpointRegistry, fi as createAgentTranscriptTurn, fn as createFeishuPeriodicFlush, fr as activeCardPresentation, ft as suspendBackgroundSession, g as loadRivusDeploymentManifest, gi as isAssistantTextDeltaEvent, gn as createFeishuCardPresentationStore, gr as restoreAgentHistory, gt as DEFAULT_BACKGROUND_SESSION_LEASE_MS, h as createConfiguredRivusDeploymentDaemon, hi as isAgentToolExecutionEvent, hn as FeishuCardPresentationNotFound, hr as createLazyFeishuWebSocketEventDispatcher, ht as resolveFeishuDeliveryChatId, i as createFeishuHumanInteractionPresenter, ii as createAgentHarness, in as requiresToolApproval, ir as createFeishuTenantAccessTokenProvider, it as isBackgroundSessionLeaseExpired, j as AUTOMATION_SUPPRESSION_PREFIX, ji as InvalidRecoveryAction, jn as resolveLangfuseTelemetryConfig, jr as describeFeishuMessageIntake, jt as openJsonlBackgroundSessionRepository, k as openJsonAutomationTickRepository, ki as createRecoveryControl, kn as LangfuseTelemetryConfigError, kr as createFeishuAgentDaemon, kt as BackgroundSessionDeliveryConflict, l as createRoutedHumanInteractionToolApprovalService, li as AgentRunCancelled, ln as createFixedClock, lr as DEFAULT_CARD_STREAM_LEASE_MS, lt as requestBackgroundSessionStop, m as transitionHumanInteraction, mi as replayAgentHistory, mn as createFeishuCotPublisher, mr as createFeishuWebSocketDaemon, mt as createConfiguredFeishuBackgroundSessionDelivery, n as createConfiguredFeishuHumanInteractionPresenter, ni as createAgentRunUpdateHandler, nn as createInvocationAuthority, nr as createFeishuOpenApiClient, nt as failBackgroundSessionStep, o as createJsonlHumanInteractionRepository, oi as AgentEventSinkFailed, on as createWorkspaceRootHandle, or as createCoalescingFeishuPublisher, ot as parkBackgroundSessionForReconciliation, p as HumanInteractionTransitionDenied, pi as replayAgentTranscript, pn as FeishuCotProtocolError, pr as isCardPresentationHandoffDue, pt as createBackgroundSessionCard, q as createMemoryNamespace, qi as mergePiProviderBaseUrlOverride, qn as createFeishuCardTargetPreparation, qr as createDefaultAgentHarnessFromTextCallback, qt as createRivusAgentHost, r as createFeishuHumanInteractionCard, ri as createAgentDomainEventSink, rn as createToolInputDigest, rr as FeishuTenantAccessTokenError, rt as isBackgroundSessionDue, s as HumanInteractionRepositoryError, si as AgentHarnessBusy, sn as InvalidWorkspaceRoot, sr as createFeishuCardRolloverSupervisor, st as releaseBackgroundSessionLease, t as createHumanInteractionService, ti as createAgentDomainEventSinkFromCallback, tn as createToolBroker, tr as createConfiguredFeishuOpenApiClient, tt as createBackgroundSession, u as createHumanInteractionModelChangeApproval, ui as createAgentConversationMessages, un as createSequenceRunIds, ur as CardPresentationTransitionDenied, ut as requeueInterruptedBackgroundSessionStep, v as loadNodeRivusPluginModule, vi as isTerminalAgentDomainEvent, vn as FeishuCardTargetRegistryStoreError, vr as createFeishuEventHandlers, vt as DEFAULT_BACKGROUND_SESSION_LIFETIME_MS, w as commitAutomationOutcome, wi as SessionSchedulerDisposed, wn as createAutomationPresentation, wr as createRivusDaemonProcess, wt as resolveBackgroundSessionSupervisorIntervalMs, x as createDelegationService, xi as isTerminalAgentRunPhase, xn as createRunPresentationProjector, xr as createRivusDaemonStatusHttpServer, xt as DEFAULT_BACKGROUND_SESSION_RETRY_BACKOFF_MS, y as loadRivusDeployment, yi as evolveAgentRun, yn as createInMemoryFeishuCardTargetRegistry, yr as createFeishuCardActionCallbackResponse, yt as DEFAULT_BACKGROUND_SESSION_MAX_CONCURRENT_SESSIONS, z as openJsonlAgentMemoryService, zi as RUN_PRESENTATION_SCHEMA_VERSION, zn as InvalidFeishuTopicContext, zr as UnsupportedFeishuCardAction, zt as BackgroundSessionRepositoryCorrupted } from "./chunks/src.js";
|
|
4
|
+
import { A as validateRivusDeploymentManifest, D as RivusDeploymentManifestError, F as FeishuEndpointCredentialError, G as loadRivusDaemonConfig, I as resolveFeishuEndpointCredentials, M as OpenClawEnvImportError, N as createRivusEnvFromOpenClawConfig, P as formatRivusEnvFile, T as AgentRuntimeDisposed, W as RivusDaemonConfigError, a as RivusDeploymentBackgroundSessionReadinessError, c as RivusDeploymentDaemonLifecycleError, i as RivusDeploymentAutomationReadinessError, j as createRivusDaemonShutdownController, k as InvalidRivusProjectSpace, l as RivusPluginLoadError, n as createRivusDeploymentCliProcess, o as RivusDeploymentReadinessError, r as resolveRivusProjectSpace, t as runRivusDaemonCli, w as AgentInstanceBusy, x as AgentInstanceConflict } from "./chunks/rivus-daemon-cli.js";
|
|
3
5
|
import { a as RIVUS_PLUGIN_API_VERSION, c as RIVUS_MEMORY_TOOL_PLUGIN_ID, d as RIVUS_RUNTIME_TOOL_IDS, f as isRivusRuntimeToolId, i as InvalidRivusPlugin, l as RIVUS_MEMORY_TOOL_VERSION, s as RIVUS_MEMORY_TOOL_ID, u as createRivusMemoryToolContract } from "./chunks/rivus-agent-definition-resolver.js";
|
|
4
|
-
import { A as InvalidRivusProjectSpace, E as AgentRuntimeDisposed, F as formatRivusEnvFile, I as FeishuEndpointCredentialError, L as resolveFeishuEndpointCredentials, M as createRivusDaemonShutdownController, N as OpenClawEnvImportError, O as RivusDeploymentManifestError, P as createRivusEnvFromOpenClawConfig, R as RivusDaemonConfigError, S as AgentInstanceConflict, T as AgentInstanceBusy, a as RivusDeploymentAutomationReadinessError, i as resolveRivusProjectSpace, j as validateRivusDeploymentManifest, l as RivusDeploymentDaemonLifecycleError, n as createRivusDeploymentCliProcess, o as RivusDeploymentBackgroundSessionReadinessError, s as RivusDeploymentReadinessError, t as runRivusDaemonCli, u as RivusPluginLoadError, z as loadRivusDaemonConfig } from "./chunks/rivus-daemon-cli.js";
|
|
5
6
|
import { a as backgroundSessionToolIds, c as isBackgroundSessionToolId, d as createBackgroundSessionKey, f as createBackgroundSessionStepSourceMessageId, i as BACKGROUND_SESSION_TOOL_VERSION, n as BACKGROUND_SESSION_TOOL_IDS, o as createBackgroundSessionToolContracts, r as BACKGROUND_SESSION_TOOL_PLUGIN_ID, t as BACKGROUND_SESSION_START_TOOL_ID, u as BACKGROUND_SESSION_SESSION_KEY_PREFIX } from "./chunks/background-session-authority.js";
|
|
6
|
-
import { i as normalizeStableJson, l as RivusToolInputRejected, n as InvalidToolInput, o as InvalidInvocationAuthority, t as InvalidStableJson } from "./chunks/tool-input-digest.js";
|
|
7
7
|
import { a as createRivusPluginCatalog, n as assertRivusPluginConforms, o as resolveRivusAgentDefinition, r as createFakeRivusPlugin, t as RivusPluginConformanceError } from "./chunks/rivus-plugin-testkit.js";
|
|
8
|
-
export { AUTOMATION_PRESENTATION_SCHEMA_VERSION, AUTOMATION_SUPPRESSION_PREFIX, AgentContextBudgetExceeded, AgentEventHandlerFailed, AgentEventLogStoreError, AgentEventSinkFailed, AgentHarnessBusy, AgentInstanceBusy, AgentInstanceConflict, AgentLoopFailed, AgentMemoryError, AgentRunCancelled, AgentRuntimeDisposed, AutomationMandateError, BACKGROUND_SESSION_DELIVERY_JSONL_VERSION, BACKGROUND_SESSION_JSONL_VERSION, BACKGROUND_SESSION_SESSION_KEY_PREFIX, BACKGROUND_SESSION_START_TOOL_ID, BACKGROUND_SESSION_TOOL_IDS, BACKGROUND_SESSION_TOOL_PLUGIN_ID, BACKGROUND_SESSION_TOOL_VERSION, BackgroundSessionCallerDenied, BackgroundSessionDeliveryConflict, BackgroundSessionRepositoryConflict, BackgroundSessionRepositoryCorrupted, BackgroundSessionTransitionDenied, CardPresentationTransitionDenied, CompactionError, DEFAULT_BACKGROUND_SESSION_LEASE_MS, DEFAULT_BACKGROUND_SESSION_LEASE_RENEWAL_INTERVAL_MS, DEFAULT_BACKGROUND_SESSION_LIFETIME_MS, DEFAULT_BACKGROUND_SESSION_MAX_CONCURRENT_SESSIONS, DEFAULT_BACKGROUND_SESSION_MAX_CONSECUTIVE_FAILURES, DEFAULT_BACKGROUND_SESSION_RETRY_BACKOFF_MS, DEFAULT_BACKGROUND_SESSION_STEP_TIMEOUT_MS, DEFAULT_BACKGROUND_SESSION_SUPERVISOR_INTERVAL_MS, DEFAULT_CARD_STREAM_LEASE_MS, DEFAULT_CONVERSATION_PROGRESS_DISPLAY, DelegationDenied, DeliveryOutboxError, FEISHU_AGENT_CARD_ELEMENT_ID, FEISHU_AGENT_CARD_PROGRESS_ELEMENT_ID, FeishuCardPresentationNotFound, FeishuCardTargetNotFound, FeishuCardTargetRegistryStoreError, FeishuCotProtocolError, FeishuEndpointCredentialError, FeishuOpenApiError, FeishuTenantAccessTokenError, HumanInteractionRepositoryError, HumanInteractionTransitionDenied, InvalidAutomationPresentation, InvalidFeishuCardAction, InvalidFeishuMessageContent, InvalidFeishuSessionReference, InvalidFeishuTopicContext, InvalidInvocationAuthority, InvalidProjectSkillCatalog, InvalidRecoveryAction, InvalidRivusEndpointBinding, InvalidRivusPlugin, InvalidRivusProjectSpace, InvalidStableJson, InvalidToolInput, InvalidWorkspaceRoot, LangfuseTelemetryConfigError, MEMORY_SCOPES, OpenClawEnvImportError, PluginStateConflict, RIVUS_MEMORY_TOOL_ID, RIVUS_MEMORY_TOOL_PLUGIN_ID, RIVUS_MEMORY_TOOL_VERSION, RIVUS_PLUGIN_API_VERSION, RIVUS_RUNTIME_TOOL_IDS, RUN_PRESENTATION_SCHEMA_VERSION, RivusDaemonConfigError, RivusDeploymentAutomationReadinessError, RivusDeploymentBackgroundSessionReadinessError, RivusDeploymentDaemonLifecycleError, RivusDeploymentManifestError, RivusDeploymentReadinessError, RivusPluginConformanceError, RivusPluginLoadError, RivusToolInputRejected, SessionSchedulerCapacityExceeded, SessionSchedulerDisposed, ToolInvocationDenied, UnsupportedFeishuCardAction, UnsupportedFeishuMessage, WorkspaceInstructionsSourceError, acceptsCardPresentationProgress, activeCardPresentation, appendBackgroundSessionInput, assembleAgentContext, assertRivusPluginConforms, backgroundSessionToolIds, claimBackgroundSession, commitAutomationOutcome, completeBackgroundSessionStep, completeBackgroundSessionStop, composeFeishuTopicPrompt, createAgentCommandFromFeishuCardAction, createAgentCommandFromFeishuMessage, createAgentConversationMessages, createAgentDomainEventHandler, createAgentDomainEventSink, createAgentDomainEventSinkFromCallback, createAgentHarness, createAgentHarnessClient, createAgentHarnessPooledRuntime, createAgentInstanceRegistry, createAgentLoopFromCallback, createAgentLoopModelExecutionEnd, createAgentLoopModelExecutionStart, createAgentLoopPromptTransformer, createAgentLoopSkillExecutionEnd, createAgentLoopSkillExecutionStart, createAgentLoopTextDelta, createAgentLoopThinkingDelta, createAgentLoopToolExecutionEnd, createAgentLoopToolExecutionStart, createAgentLoopToolExecutionUpdate, createAgentLoopTurnStart, createAgentMemoryService, createAgentRunUpdateHandler, createAgentRuntime, createAgentRuntimePool, createAgentTranscriptMessages, createAgentTranscriptTurn, createAgentsMdInstructionsProvider, createAsyncIterableAgentLoop, createAutomationMandateStore, createAutomationPresentation, createBackgroundSession, createBackgroundSessionCard, createBackgroundSessionDeliveryStore, createBackgroundSessionHostTools, createBackgroundSessionKey, createBackgroundSessionRepository, createBackgroundSessionService, createBackgroundSessionStepSourceMessageId, createBackgroundSessionSupervisor, createBackgroundSessionToolContracts, createCoalescingFeishuPublisher, createCompactionService, createCompositeRivusDaemonTransport, createConfiguredFeishuAutomationCardSender, createConfiguredFeishuBackgroundSessionDelivery, createConfiguredFeishuCardKitPublisher, createConfiguredFeishuCardKitTargetCreator, createConfiguredFeishuCardRolloverRuntime, createConfiguredFeishuHumanInteractionPresenter, createConfiguredFeishuMessageReactionSender, createConfiguredFeishuOpenApiClient, createConfiguredFeishuTextReplySender, createConfiguredRivusDaemonBootstrap, createConfiguredRivusDeploymentDaemon, createDailyAutomationSchedule, createDefaultAgentHarness, createDefaultAgentHarnessClient, createDefaultAgentHarnessClientFromCallback, createDefaultAgentHarnessClientFromTextCallback, createDefaultAgentHarnessFromCallback, createDefaultAgentHarnessFromTextCallback, createDefaultAgentRuntime, createDefaultAgentRuntimeFromCallback, createDefaultAgentRuntimeFromTextCallback, createDelegationService, createDeliveryOutbox, createEventAgentLoop, createFakeRivusPlugin, createFeishuAgentDaemon, createFeishuAgentRunCard, createFeishuAgentRuntime, createFeishuCardActionCallbackResponse, createFeishuCardActionErrorResponse, createFeishuCardDeliveryLedger, createFeishuCardDeliveryReconciler, createFeishuCardKitOpenApiClient, createFeishuCardKitOpenApiTargetCreator, createFeishuCardKitPublisher, createFeishuCardPresentationStore, createFeishuCardRollover, createFeishuCardRolloverSupervisor, createFeishuCardTargetPreparation, createFeishuConversationId, createFeishuCotPublisher, createFeishuDeploymentEndpoint, createFeishuEventHandlers, createFeishuHumanInteractionCard, createFeishuHumanInteractionPresenter, createFeishuInboxRepository, createFeishuMessageQueue, createFeishuMessageWorker, createFeishuOpenApiClient, createFeishuPeriodicFlush, createFeishuPresentationPreparation, createFeishuSessionKey, createFeishuSessionStore, createFeishuStreamProjector, createFeishuTenantAccessTokenProvider, createFeishuTopicContextResolver, createFeishuWebSocketDaemon, createFeishuWorkerLoop, createFixedClock, createHumanInteractionEndpointRegistry, createHumanInteractionService, createHumanInteractionToolApprovalGateway, createInMemoryFeishuCardTargetRegistry, createInMemoryHumanInteractionRepository, createInvocationAuthority, createJsonFetchRequest, createJsonFileFeishuCardTargetRegistry, createJsonlAgentEventLog, createJsonlHumanInteractionRepository, createLangfuseAgentTelemetry, createLazyFeishuWebSocketEventDispatcher, createMemoryNamespace, createOpenTelemetryAgentEventSink, createOpenTelemetryAgentTelemetry, createPiAgentLoop, createPiSdkAgentLoop, createPiSessionRegistry, createPluginStateStore, createPresentedValue, createProjectMemoryPromptPreparer, createRateLimitedFeishuPublisher, createRecoveryAction, createRecoveryControl, createRivusAgentHost, createRivusDaemonProcess, createRivusDaemonShutdownController, createRivusDaemonStatusHttpServer, createRivusDaemonStatusReporter, createRivusDeploymentCliProcess, createRivusDeploymentDaemon, createRivusEnvFromOpenClawConfig, createRivusMemoryTool, createRivusMemoryToolContract, createRivusMemoryToolDescriptor, createRivusPluginCatalog, createRoutedHumanInteractionToolApprovalService, createRunPresentationProjector, createScheduledAutomation, createSequenceRunIds, createSessionScheduler, createSubagentCoordinator, createSystemClock, createTelemetryContentRedactor, createTestClock, createTextAgentLoop, createTextAgentLoopFromCallback, createToolBroker, createToolInputDigest, createToolOperationLedger, createUuidRunIds, createWorkspaceRootHandle, describeFeishuMessageIntake, evolveAgentRun, extendBackgroundSessionDefinition, failBackgroundSessionStep, formatRivusEnvFile, hasInspectableRunProgress, initialAgentRunState, intersectToolIds, isAgentToolExecutionEvent, isAssistantTextDeltaEvent, isAssistantThinkingDeltaEvent, isBackgroundSessionDue, isBackgroundSessionLeaseExpired, isBackgroundSessionState, isBackgroundSessionTerminalPhase, isBackgroundSessionToolId, isCardPresentationHandoffDue, isRivusRuntimeToolId, isTerminalAgentDomainEvent, isTerminalAgentRunPhase, loadNodeRivusPluginModule, loadRivusDaemonConfig, loadRivusDeployment, loadRivusDeploymentManifest, mergePiProviderBaseUrlOverride, narrowBackgroundSessionDefinition, normalizeStableJson, openJsonAutomationTickRepository, openJsonFeishuSessionStore, openJsonlAgentMemoryService, openJsonlBackgroundSessionDeliveryStore, openJsonlBackgroundSessionRepository, openJsonlFeishuCardDeliveryLedger, openJsonlFeishuInboxRepository, openJsonlRecoveryControl, openJsonlToolOperationLedger, parkBackgroundSessionForReconciliation, progressDeliveryId, readAutomationPresentation, readFeishuMessageContent, releaseBackgroundSessionLease, renewBackgroundSessionLease, replayAgentHistory, replayAgentTranscript, requestBackgroundSessionStop, requeueInterruptedBackgroundSessionStep, requiresToolApproval, resolveBackgroundSessionReconciliation, resolveBackgroundSessionSupervisorIntervalMs, resolveFeishuDeliveryChatId, resolveFeishuEndpointCredentials, resolveLangfuseTelemetryConfig, resolveRivusAgentDefinition, resolveRivusProjectSpace, restoreAgentHistory, restoreConfiguredRivusDaemonBootstrap, restrictMemoryScopesForAudience, runRivusDaemonCli, sessionIdFromSessionKey, shouldAcceptFeishuEndpointMessage, suspendBackgroundSession, terminalDeliveryId, transitionHumanInteraction, validateProjectSkillCatalog, validateProjectSkillCommand, validateRivusDeploymentManifest };
|
|
8
|
+
export { AUTOMATION_PRESENTATION_SCHEMA_VERSION, AUTOMATION_SUPPRESSION_PREFIX, AgentContextBudgetExceeded, AgentEventHandlerFailed, AgentEventLogStoreError, AgentEventSinkFailed, AgentHarnessBusy, AgentInstanceBusy, AgentInstanceConflict, AgentLoopFailed, AgentMemoryError, AgentRunCancelled, AgentRuntimeDisposed, AutomationMandateError, BACKGROUND_SESSION_DELIVERY_JSONL_VERSION, BACKGROUND_SESSION_JSONL_VERSION, BACKGROUND_SESSION_SESSION_KEY_PREFIX, BACKGROUND_SESSION_START_TOOL_ID, BACKGROUND_SESSION_TOOL_IDS, BACKGROUND_SESSION_TOOL_PLUGIN_ID, BACKGROUND_SESSION_TOOL_VERSION, BackgroundSessionCallerDenied, BackgroundSessionDeliveryConflict, BackgroundSessionRepositoryConflict, BackgroundSessionRepositoryCorrupted, BackgroundSessionTransitionDenied, CardPresentationTransitionDenied, CompactionError, DEFAULT_BACKGROUND_SESSION_LEASE_MS, DEFAULT_BACKGROUND_SESSION_LEASE_RENEWAL_INTERVAL_MS, DEFAULT_BACKGROUND_SESSION_LIFETIME_MS, DEFAULT_BACKGROUND_SESSION_MAX_CONCURRENT_SESSIONS, DEFAULT_BACKGROUND_SESSION_MAX_CONSECUTIVE_FAILURES, DEFAULT_BACKGROUND_SESSION_RETRY_BACKOFF_MS, DEFAULT_BACKGROUND_SESSION_STEP_TIMEOUT_MS, DEFAULT_BACKGROUND_SESSION_SUPERVISOR_INTERVAL_MS, DEFAULT_CARD_STREAM_LEASE_MS, DEFAULT_CONVERSATION_PROGRESS_DISPLAY, DelegationDenied, DeliveryOutboxError, FEISHU_AGENT_CARD_ELEMENT_ID, FEISHU_AGENT_CARD_PROGRESS_ELEMENT_ID, FeishuCardPresentationNotFound, FeishuCardTargetNotFound, FeishuCardTargetRegistryStoreError, FeishuCotProtocolError, FeishuEndpointCredentialError, FeishuOpenApiError, FeishuTenantAccessTokenError, HumanInteractionRepositoryError, HumanInteractionTransitionDenied, InvalidAutomationPresentation, InvalidFeishuCardAction, InvalidFeishuMessageContent, InvalidFeishuSessionReference, InvalidFeishuTopicContext, InvalidInvocationAuthority, InvalidProjectSkillCatalog, InvalidRecoveryAction, InvalidRivusEndpointBinding, InvalidRivusPlugin, InvalidRivusProjectSpace, InvalidStableJson, InvalidToolInput, InvalidWorkspaceRoot, LangfuseTelemetryConfigError, MEMORY_SCOPES, OpenClawEnvImportError, PluginStateConflict, RIVUS_MEMORY_TOOL_ID, RIVUS_MEMORY_TOOL_PLUGIN_ID, RIVUS_MEMORY_TOOL_VERSION, RIVUS_PLUGIN_API_VERSION, RIVUS_RUNTIME_TOOL_IDS, RUN_PRESENTATION_SCHEMA_VERSION, RivusDaemonConfigError, RivusDeploymentAutomationReadinessError, RivusDeploymentBackgroundSessionReadinessError, RivusDeploymentDaemonLifecycleError, RivusDeploymentManifestError, RivusDeploymentReadinessError, RivusPluginConformanceError, RivusPluginLoadError, RivusToolInputRejected, SessionSchedulerCapacityExceeded, SessionSchedulerDisposed, ToolInvocationDenied, UnsupportedFeishuCardAction, UnsupportedFeishuMessage, WorkspaceInstructionsSourceError, acceptsCardPresentationProgress, activeCardPresentation, appendBackgroundSessionInput, assembleAgentContext, assertRivusPluginConforms, backgroundSessionToolIds, claimBackgroundSession, commitAutomationOutcome, completeBackgroundSessionStep, completeBackgroundSessionStop, composeFeishuTopicPrompt, createAgentCommandFromFeishuCardAction, createAgentCommandFromFeishuMessage, createAgentConversationMessages, createAgentDomainEventHandler, createAgentDomainEventSink, createAgentDomainEventSinkFromCallback, createAgentHarness, createAgentHarnessClient, createAgentHarnessPooledRuntime, createAgentInstanceRegistry, createAgentLoopFromCallback, createAgentLoopModelExecutionEnd, createAgentLoopModelExecutionStart, createAgentLoopPromptTransformer, createAgentLoopSkillExecutionEnd, createAgentLoopSkillExecutionStart, createAgentLoopTextDelta, createAgentLoopThinkingDelta, createAgentLoopToolExecutionEnd, createAgentLoopToolExecutionStart, createAgentLoopToolExecutionUpdate, createAgentLoopTurnStart, createAgentMemoryService, createAgentRunUpdateHandler, createAgentRuntime, createAgentRuntimePool, createAgentTranscriptMessages, createAgentTranscriptTurn, createAgentsMdInstructionsProvider, createAsyncIterableAgentLoop, createAutomationMandateStore, createAutomationPresentation, createBackgroundSession, createBackgroundSessionCard, createBackgroundSessionDeliveryStore, createBackgroundSessionHostTools, createBackgroundSessionKey, createBackgroundSessionRepository, createBackgroundSessionService, createBackgroundSessionStepSourceMessageId, createBackgroundSessionSupervisor, createBackgroundSessionToolContracts, createCoalescingFeishuPublisher, createCompactionService, createCompositeRivusDaemonTransport, createConfiguredFeishuAutomationCardSender, createConfiguredFeishuBackgroundSessionDelivery, createConfiguredFeishuCardKitPublisher, createConfiguredFeishuCardKitTargetCreator, createConfiguredFeishuCardRolloverRuntime, createConfiguredFeishuHumanInteractionPresenter, createConfiguredFeishuMessageReactionSender, createConfiguredFeishuOpenApiClient, createConfiguredFeishuTextReplySender, createConfiguredRivusDaemonBootstrap, createConfiguredRivusDeploymentDaemon, createDailyAutomationSchedule, createDefaultAgentHarness, createDefaultAgentHarnessClient, createDefaultAgentHarnessClientFromCallback, createDefaultAgentHarnessClientFromTextCallback, createDefaultAgentHarnessFromCallback, createDefaultAgentHarnessFromTextCallback, createDefaultAgentRuntime, createDefaultAgentRuntimeFromCallback, createDefaultAgentRuntimeFromTextCallback, createDelegationService, createDeliveryOutbox, createEventAgentLoop, createFakeRivusPlugin, createFeishuAgentDaemon, createFeishuAgentRunCard, createFeishuAgentRuntime, createFeishuCardActionCallbackResponse, createFeishuCardActionErrorResponse, createFeishuCardDeliveryLedger, createFeishuCardDeliveryReconciler, createFeishuCardKitOpenApiClient, createFeishuCardKitOpenApiTargetCreator, createFeishuCardKitPublisher, createFeishuCardPresentationStore, createFeishuCardRollover, createFeishuCardRolloverSupervisor, createFeishuCardTargetPreparation, createFeishuConversationId, createFeishuCotPublisher, createFeishuDeploymentEndpoint, createFeishuEventHandlers, createFeishuHumanInteractionCard, createFeishuHumanInteractionPresenter, createFeishuInboxRepository, createFeishuMessageQueue, createFeishuMessageWorker, createFeishuOpenApiClient, createFeishuPeriodicFlush, createFeishuPresentationPreparation, createFeishuSessionKey, createFeishuSessionStore, createFeishuStreamProjector, createFeishuTenantAccessTokenProvider, createFeishuTopicContextResolver, createFeishuWebSocketDaemon, createFeishuWorkerLoop, createFixedClock, createHumanInteractionEndpointRegistry, createHumanInteractionModelChangeApproval, createHumanInteractionService, createHumanInteractionToolApprovalGateway, createInMemoryFeishuCardTargetRegistry, createInMemoryHumanInteractionRepository, createInvocationAuthority, createJsonFetchRequest, createJsonFileFeishuCardTargetRegistry, createJsonlAgentEventLog, createJsonlHumanInteractionRepository, createLangfuseAgentTelemetry, createLazyFeishuWebSocketEventDispatcher, createMemoryNamespace, createOpenTelemetryAgentEventSink, createOpenTelemetryAgentTelemetry, createPiAgentLoop, createPiSdkAgentLoop, createPiSessionRegistry, createPluginStateStore, createPresentedValue, createProjectMemoryPromptPreparer, createRateLimitedFeishuPublisher, createRecoveryAction, createRecoveryControl, createRivusAgentHost, createRivusDaemonProcess, createRivusDaemonShutdownController, createRivusDaemonStatusHttpServer, createRivusDaemonStatusReporter, createRivusDeploymentCliProcess, createRivusDeploymentDaemon, createRivusEnvFromOpenClawConfig, createRivusMemoryTool, createRivusMemoryToolContract, createRivusMemoryToolDescriptor, createRivusPluginCatalog, createRoutedHumanInteractionToolApprovalService, createRunPresentationProjector, createScheduledAutomation, createSequenceRunIds, createSessionScheduler, createSubagentCoordinator, createSystemClock, createTelemetryContentRedactor, createTestClock, createTextAgentLoop, createTextAgentLoopFromCallback, createToolBroker, createToolInputDigest, createToolOperationLedger, createUuidRunIds, createWorkspaceRootHandle, describeFeishuMessageIntake, evolveAgentRun, extendBackgroundSessionDefinition, failBackgroundSessionStep, formatRivusEnvFile, hasInspectableRunProgress, initialAgentRunState, intersectToolIds, isAgentToolExecutionEvent, isAssistantTextDeltaEvent, isAssistantThinkingDeltaEvent, isBackgroundSessionDue, isBackgroundSessionLeaseExpired, isBackgroundSessionState, isBackgroundSessionTerminalPhase, isBackgroundSessionToolId, isCardPresentationHandoffDue, isRivusRuntimeToolId, isTerminalAgentDomainEvent, isTerminalAgentRunPhase, loadNodeRivusPluginModule, loadRivusDaemonConfig, loadRivusDeployment, loadRivusDeploymentManifest, mergePiProviderBaseUrlOverride, narrowBackgroundSessionDefinition, normalizeStableJson, openJsonAutomationTickRepository, openJsonFeishuSessionStore, openJsonlAgentMemoryService, openJsonlBackgroundSessionDeliveryStore, openJsonlBackgroundSessionRepository, openJsonlFeishuCardDeliveryLedger, openJsonlFeishuInboxRepository, openJsonlRecoveryControl, openJsonlToolOperationLedger, parkBackgroundSessionForReconciliation, progressDeliveryId, readAutomationPresentation, readFeishuMessageContent, releaseBackgroundSessionLease, renewBackgroundSessionLease, replayAgentHistory, replayAgentTranscript, requestBackgroundSessionStop, requeueInterruptedBackgroundSessionStep, requiresToolApproval, resolveBackgroundSessionReconciliation, resolveBackgroundSessionSupervisorIntervalMs, resolveFeishuDeliveryChatId, resolveFeishuEndpointCredentials, resolveLangfuseTelemetryConfig, resolveRivusAgentDefinition, resolveRivusProjectSpace, restoreAgentHistory, restoreConfiguredRivusDaemonBootstrap, restrictMemoryScopesForAudience, runRivusDaemonCli, sessionIdFromSessionKey, shouldAcceptFeishuEndpointMessage, suspendBackgroundSession, terminalDeliveryId, transitionHumanInteraction, validateProjectSkillCatalog, validateProjectSkillCommand, validateRivusDeploymentManifest };
|
package/dist/mcp.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as readBackgroundSessionWaitInput, i as readBackgroundSessionString, n as readBackgroundSessionObject, o as createRandomId, r as readBackgroundSessionPhase, t as readBackgroundSessionInteger } from "./chunks/background-session-control-input.js";
|
|
2
2
|
import { d as createBackgroundSessionKey, o as createBackgroundSessionToolContracts } from "./chunks/background-session-authority.js";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
|
-
import { createServer } from "node:http";
|
|
5
4
|
import { pathToFileURL } from "node:url";
|
|
5
|
+
import { createServer } from "node:http";
|
|
6
6
|
//#region src/adapters/mcp/background-session/background-session-mcp-server.ts
|
|
7
7
|
const BACKGROUND_SESSION_MCP_SERVER_NAME = "rivus-background-sessions";
|
|
8
8
|
const BACKGROUND_SESSION_MCP_SERVER_VERSION = "1.0.0";
|
package/dist/pi.d.ts
CHANGED
|
@@ -73,11 +73,13 @@ interface CreatePiSessionResourcesOptions {
|
|
|
73
73
|
readonly cwd: string;
|
|
74
74
|
readonly homeDirectory: string;
|
|
75
75
|
readonly projectSkillPaths?: ReadonlyArray<string>;
|
|
76
|
+
readonly settingsOverrides?: Readonly<Record<string, unknown>>;
|
|
76
77
|
readonly systemPromptOverride?: (base: string | undefined) => string | undefined;
|
|
77
78
|
}
|
|
78
79
|
interface PiSessionResources {
|
|
79
80
|
readonly skillNames: ReadonlySet<string>;
|
|
80
81
|
readonly skillPaths: ReadonlyArray<string>;
|
|
82
|
+
readonly refresh: () => Promise<void>;
|
|
81
83
|
readonly withSessionOptions: <Options extends object>(options: Options) => BoundPiSessionOptions<Options>;
|
|
82
84
|
}
|
|
83
85
|
type BoundPiSessionOptions<Options extends object> = Omit<Options, "agentDir" | "cwd" | "resourceLoader" | "settingsManager"> & {
|
package/dist/pi.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as createPiSkillRuntime } from "./chunks/rivus-tool.js";
|
|
2
2
|
import { a as InvalidPiSkillSource, c as validatePiSkillCatalog, d as createPiProjectSkillReadTool, f as createPiSkillReadTool, i as resolvePiSessionToolNames, l as validatePiSkillCommand, n as createPiToolProxyDefinitions, o as resolvePiSkillSources, p as createPiSkillReadTools, r as createPiSessionResources, s as InvalidPiSkillCatalog, t as createPiToolNameResolver, u as ProjectSkillReadDenied } from "./chunks/pi.js";
|
|
3
3
|
export { InvalidPiSkillCatalog, InvalidPiSkillSource, ProjectSkillReadDenied, createPiProjectSkillReadTool, createPiSessionResources, createPiSkillReadTool, createPiSkillReadTools, createPiSkillRuntime, createPiToolNameResolver, createPiToolProxyDefinitions, resolvePiSessionToolNames, resolvePiSkillSources, validatePiSkillCatalog, validatePiSkillCommand };
|