
Security News
Next.js moves to scheduled security releases
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.
@limecloud/app-server-client
Advanced tools
App Server JSON-RPC client and sidecar launch helpers for independent apps.
@limecloud/app-server-client is the TypeScript client surface for independent apps
that talk to app-server over JSON-RPC.
Current scope:
agentSession/* requests;agentSession/event notifications into app-owned renderer state;AppServerConnection for typed agentSession/* request / response flows.AgentRuntimeClient as the standard facade for runtime turn, action,
thread read, evidence export, and event subscription flows.Session archive semantics:
agentSession/list and archivedOnly: true;agentSession/update and archived: true
or archived: false;AppServerRequestError; callers must
fail closed instead of falling back to legacy agent_runtime_* commands or
mock responses.Electron main integration shape:
import {
AppServerAgentEventRouter,
startPackagedAppServerSidecar,
} from "@limecloud/app-server-client";
const { connected, lifecycle } = await startPackagedAppServerSidecar(
{
clientInfo: { name: "content_studio", version: app.getVersion() },
},
{
resourcesPath: process.resourcesPath,
restartPolicy: { maxAttempts: 3, initialDelayMs: 500, maxDelayMs: 30_000 },
},
);
const { connection } = connected;
app.on("before-quit", () => void lifecycle.stop());
const eventRouter = new AppServerAgentEventRouter();
eventRouter.subscribe((event) => {
mainWindow.webContents.send("agent:event", event);
});
const session = await connection.startSession({
appId: "host-app",
workspaceId: workspace.id,
businessObjectRef: {
kind: "document",
id: document.id,
title: document.title,
},
});
const turn = await connection.startTurn({
sessionId: session.result.session.sessionId,
input: { text: "生成草稿" },
runtimeOptions: { capabilityId: "draft.write", stream: true },
queueIfBusy: true,
});
for (const result of [session, turn]) {
for (const notification of result.notifications) {
await eventRouter.dispatch(notification);
}
}
void (async () => {
while (!mainWindow.isDestroyed()) {
await eventRouter.dispatch(await connection.nextNotification());
}
})();
Agent runtime SDK facade:
import { createAgentRuntimeClient } from "@limecloud/app-server-client";
const runtime = createAgentRuntimeClient(connection, {
request: { timeoutMs: 120_000 },
});
runtime.subscribeEvents((event) => {
mainWindow.webContents.send("agent:event", event);
});
await runtime.startTurn({
sessionId: session.result.session.sessionId,
input: { text: "整理资料并生成草稿" },
runtimeOptions: { stream: true, eventName: "agentSession/event" },
});
const thread = await runtime.readThread({
sessionId: session.result.session.sessionId,
});
await runtime.exportEvidence({
sessionId: thread.result.session.sessionId,
includeEvents: true,
});
AgentRuntimeClient is a facade over the current App Server JSON-RPC methods.
readThread intentionally maps to agentSession/read; this package does not
invent a separate task read protocol. Apps that need task projections should
derive them from the returned session, turns, and runtime events until App
Server exposes a dedicated current method.
This package does not import Lime Rust crates, Tauri commands, Aster DTOs, or renderer UI code. Electron apps should use it from main / preload boundaries and project events into their own renderer state.
Sidecar backendMode: "mock" is test-only. Production hosts must use runtime,
external, or fail closed; they must not treat the mock backend as a fallback
for Agent Runtime, evidence export, or renderer UI flows.
FAQs
App Server JSON-RPC client and sidecar launch helpers for independent apps.
The npm package @limecloud/app-server-client receives a total of 6 weekly downloads. As such, @limecloud/app-server-client popularity was classified as not popular.
We found that @limecloud/app-server-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.

Research
/Security News
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.