@rivus/gateway 0.19.0 → 0.20.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 CHANGED
@@ -10,23 +10,28 @@ The root exposes `createRivusPluginCatalog`, `resolveRivusAgentDefinition`, `RIV
10
10
  Host, Deployment, Automation, Human, Inbox, Recovery, Delegation and presentation helpers remain internal; use the
11
11
  published Bootstrap and MCP entrypoints for complete process graphs.
12
12
 
13
- `@rivus/gateway/bootstrap/pi-feishu` provides `createRivusDeploymentAdapters` for manifest deployments and
14
- `createRivusDaemonProcess` for standalone Pi/Feishu daemons. The Pi templates re-export these constructors; Gateway
15
- assembles canonical Runtime execution through public package APIs. Standalone HTTP status is optional through
16
- `RIVUS_STATUS_PORT`; Home/manifest deployments use their own status path.
13
+ `@rivus/gateway/bootstrap/feishu` exports only `createRivusDeploymentAdapters` for manifest deployments.
14
+ `agents[].runtime` selects ACP or defaults to Pi; one Home may contain both. The deployment template is
15
+ `feishu-deployment.bootstrap.ts`. The Pi-specific entry, standalone daemon/template and HTTP status options are removed;
16
+ daemon CLI requires `--manifest`. See [local deployment](../../docs/en/operations/local-deployment.md#acp-agents).
17
+
18
+ Gateway installs ACP SDK 1.5.1, resolves the declared executable/environment, handles sender allowlists and Human
19
+ permission approvals, and supplies restart-safe provider-session bindings. Its loopback Host Tool bridge maps every
20
+ ACP call to the current Run and Runtime's shared invoker, grants, approvals and operation ledger. Calls without a Run
21
+ are denied. Pi-only Homes create no ACP process, bridge listener or ACP state directory.
17
22
 
18
23
  Gateway is the sole owner of deployment templates, the starter Plugin and runtime-management Skill. Resolve
19
- `@rivus/gateway/plugin/starter` and `@rivus/gateway/skills/runtime-management/SKILL.md` directly. Background-session
24
+ `@rivus/gateway/plugin/starter` and `@rivus/gateway/skills/runtime-management/SKILL.md` directly. Host Tool
20
25
  MCP uses `@rivus/gateway/mcp`; old Agent bootstrap, Plugin, Skill and MCP aliases are not available.
21
26
 
22
27
  Gateway also ships the installer assets of the Rivus-managed audio transcriber under `assets/audio-transcriber/`.
23
28
  `rivus audio install` downloads the engine, its npm packages and the model onto the host at install time; the package
24
29
  contains none of them.
25
30
 
26
- Pi deployment Bootstrap opens the Runtime JSONL Memory Repository and injects one canonical Effect Memory service.
31
+ Deployment Bootstrap opens the Runtime JSONL Memory Repository and injects one canonical Effect Memory service.
27
32
  The former Gateway Memory service factories are removed; use Runtime's public Repository and service constructors.
28
33
 
29
- Gateway adapts real plugin tools to Runtime's canonical Effect Broker. Pi deployment Bootstrap and offline Recovery
34
+ Gateway adapts real plugin tools to Runtime's canonical Effect Broker. Deployment Bootstrap and offline Recovery
30
35
  open the canonical Runtime Ledger directly, and Human approval ports compose Effect. The former Gateway Promise
31
36
  Broker and JSONL Ledger factories are removed; operation files retain their existing path and v1 format.
32
37
 
@@ -0,0 +1,13 @@
1
+ import { R as RecoveryControl, a as CreateRivusDeploymentAutomationPortInput, b as AutomationScheduler, c as CreateRivusDeploymentRuntimePortInput, d as RivusDeploymentRuntimePort, l as RivusDeploymentBackgroundSessionPort, o as CreateRivusDeploymentBackgroundSessionPortInput, s as CreateRivusDeploymentEndpointPortInput, t as RivusDeploymentBootstrapContext, u as RivusDeploymentEndpointPort } from "../chunks/rivus-deployment-cli-process.js";
2
+ import { Effect } from "effect";
3
+ //#region src/bootstrap/feishu.d.ts
4
+ export declare function createRivusDeploymentAdapters(context: RivusDeploymentBootstrapContext): Promise<{
5
+ dispose: () => Promise<void>;
6
+ createRecoveryControl: () => Effect.Effect<RecoveryControl, unknown, never>;
7
+ createBackgroundSession: ((input: CreateRivusDeploymentBackgroundSessionPortInput) => Effect.Effect<RivusDeploymentBackgroundSessionPort, unknown, never>) | undefined;
8
+ createAutomation: (input: CreateRivusDeploymentAutomationPortInput) => Effect.Effect<AutomationScheduler, unknown, never>;
9
+ createEndpoint: (input: CreateRivusDeploymentEndpointPortInput) => Effect.Effect<RivusDeploymentEndpointPort, unknown, never>;
10
+ createRuntime: (input: CreateRivusDeploymentRuntimePortInput) => Effect.Effect<RivusDeploymentRuntimePort, unknown>;
11
+ }>;
12
+ //#endregion
13
+ export {};