@rivus/agent 0.14.3 → 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/README.md +1 -1
- package/dist/acp.js +1 -2
- package/dist/bootstrap/pi-feishu.d.ts +2 -2
- package/dist/bootstrap/pi-feishu.js +4119 -389
- package/dist/chunks/agent-loop.d.ts +55 -300
- package/dist/chunks/agent-loop.js +3 -1123
- package/dist/chunks/background-session-authority.js +230 -0
- package/dist/chunks/background-session-control-input.js +51 -0
- package/dist/chunks/background-session-service.d.ts +382 -0
- package/dist/chunks/index.d.ts +1294 -515
- package/dist/chunks/pi-tool-proxy.d.ts +22 -90
- package/dist/chunks/pi.js +60 -20
- package/dist/chunks/rivus-agent-definition-resolver.js +508 -0
- package/dist/chunks/rivus-daemon-cli.js +3004 -3164
- package/dist/chunks/rivus-model-management-wire.js +344 -0
- package/dist/chunks/rivus-plugin-testkit.d.ts +175 -2
- package/dist/chunks/rivus-plugin-testkit.js +11 -4
- package/dist/chunks/rivus-skill.d.ts +95 -0
- package/dist/chunks/rivus-tool.js +158 -0
- package/dist/chunks/sha256-digest.js +2 -7
- package/dist/chunks/src.js +13402 -8264
- package/dist/cli.js +901 -698
- package/dist/index.d.ts +7 -8
- package/dist/index.js +8 -9
- package/dist/mcp.d.ts +46 -7
- package/dist/mcp.js +145 -19
- package/dist/pi.d.ts +5 -4
- package/dist/pi.js +1 -1
- package/examples/pi-feishu-deployment.bootstrap.ts +557 -462
- package/package.json +9 -7
- package/skills/runtime-management/SKILL.md +61 -0
- package/dist/chunks/api.d.ts +0 -70
- package/dist/chunks/api.js +0 -471
- package/dist/chunks/api2.d.ts +0 -387
- package/dist/chunks/api2.js +0 -1331
- package/dist/chunks/api3.d.ts +0 -402
- package/dist/chunks/module.js +0 -267
- package/dist/chunks/pi-skill-tool.js +0 -460
- package/dist/chunks/spi.d.ts +0 -1
- package/dist/chunks/spi.js +0 -2
package/README.md
CHANGED
|
@@ -79,7 +79,7 @@ vp install
|
|
|
79
79
|
vp run check
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
-
`vp run check` is the
|
|
82
|
+
`vp run check` is the deterministic local and pull-request gate. Vite+ runs Oxfmt, type-aware Oxlint with TypeScript diagnostics, Vitest, and library packaging; the gate then packs and installs the npm archive in a clean temporary consumer, exercises both public exports and the CLI, and checks documentation and repository safety. High-severity production-dependency audit runs when production dependency inputs change, on a weekly workflow, and at publish/prepublish. Full CI and version preparation require explicit requests; ordinary pushes and PR metadata edits do not start heavy checks. Automatic Review provides repository/title feedback. Explicit CI always runs the complete gate for the current branch/head/base pair; see [Pull Request Gates](CONTRIBUTING.md#pull-request-gates) for dispatch and retry commands. Use `vp check --fix` for deterministic formatting and safe lint fixes, then review the diff before committing. The project runtime is pinned in `.node-version`.
|
|
83
83
|
|
|
84
84
|
npm releases are produced only by the `Publish npm` GitHub Actions workflow after a GitHub Release is published for an exact `v<package version>` tag on `main`. The workflow uses npm Trusted Publishing through OIDC and contains no long-lived registry token. See the [npm release runbook](docs/en/operations/npm-release.md) for the one-time first-package bootstrap and normal release procedure.
|
|
85
85
|
|
package/dist/acp.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./chunks/spi.js";
|
|
1
|
+
import { _ as createAgentLoopToolExecutionStart, c as toEffectAgentLoop, g as createAgentLoopToolExecutionEnd, h as createAgentLoopThinkingDelta, m as createAgentLoopTextDelta, o as fromEffectAgentLoop, s as toCompatibilityAgentLoopInput, v as createAgentLoopToolExecutionUpdate, y as createAgentLoopTurnStart } from "./chunks/agent-loop.js";
|
|
3
2
|
import * as acp from "@agentclientprotocol/sdk";
|
|
4
3
|
import { Effect, Stream } from "effect";
|
|
5
4
|
import { randomUUID } from "node:crypto";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $u as AgentRuntimeSteering, Qt as ScheduledAutomation, Rd as RecoveryControl, Xu as AgentRuntimeInput, Yu as AgentRuntimeCancellation, ct as CreateRivusDeploymentAutomationInput, dt as CreateRivusDeploymentEndpointInput, ft as CreateRivusDeploymentRuntimeInput, js as RivusDeploymentBootstrapContext, lt as CreateRivusDeploymentBackgroundSessionInput, mt as RivusDeploymentBackgroundSession, qu as SessionSchedulerStatus, tc as ProcessDeploymentEndpoint } from "../chunks/index.js";
|
|
2
2
|
|
|
3
3
|
//#region examples/pi-feishu-deployment.bootstrap.d.ts
|
|
4
4
|
declare function createRivusDeploymentAdapters(context: RivusDeploymentBootstrapContext): Promise<{
|
|
5
|
-
dispose: () => Promise<void
|
|
5
|
+
dispose: () => Promise<void>;
|
|
6
6
|
createRecoveryControl: () => Promise<RecoveryControl>;
|
|
7
7
|
createBackgroundSession: ((input: CreateRivusDeploymentBackgroundSessionInput) => RivusDeploymentBackgroundSession) | undefined;
|
|
8
8
|
createAutomation: (input: CreateRivusDeploymentAutomationInput) => Promise<ScheduledAutomation>;
|