@rivus/gateway 0.19.0 → 0.21.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
@@ -5,28 +5,42 @@ Feishu adapters, management, project initialization, and the Gateway CLI resourc
5
5
 
6
6
  The package has no npm bin. Applications choose the public entrypoint or an explicit template resource.
7
7
 
8
+ Gateway assembles the product CLI's `rivus upgrade [--json]` workflow for existing macOS LaunchAgents and Linux user
9
+ systemd services. It validates a separate installation of the latest stable four-package release against the actual Home before
10
+ stop, then backs up, switches and requires the service PID to match fresh readiness evidence. Home and application
11
+ state stay in place; retries retain the original target and failures do not restore older state automatically.
12
+ The package ships the reviewed consumer dependency policy at `assets/installation-policy.json`.
13
+ `rivus check-config --load-plugins` imports, validates and registers Plugins and resolves Agent/Automation definitions
14
+ without constructing runtime stores, Endpoints or schedulers; ordinary config checks remain offline.
15
+ See [managed Home upgrades](../../docs/en/operations/local-deployment.md#managed-home-upgrades).
16
+
8
17
  The root exposes `createRivusPluginCatalog`, `resolveRivusAgentDefinition`, `RIVUS_PLUGIN_API_VERSION` and
9
18
  `runRivusNodeEntrypoint`, plus nine plugin contracts. Catalog construction and resolution are implemented in Bootstrap.
10
19
  Host, Deployment, Automation, Human, Inbox, Recovery, Delegation and presentation helpers remain internal; use the
11
20
  published Bootstrap and MCP entrypoints for complete process graphs.
12
21
 
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.
22
+ `@rivus/gateway/bootstrap/feishu` exports only `createRivusDeploymentAdapters` for manifest deployments.
23
+ `agents[].runtime` selects ACP or defaults to Pi; one Home may contain both. The deployment template is
24
+ `feishu-deployment.bootstrap.ts`. The Pi-specific entry, standalone daemon/template and HTTP status options are removed;
25
+ daemon CLI requires `--manifest`. See [local deployment](../../docs/en/operations/local-deployment.md#acp-agents).
26
+
27
+ Gateway installs ACP SDK 1.5.1, resolves the declared executable/environment, handles sender allowlists and Human
28
+ permission approvals, and supplies restart-safe provider-session bindings. Its loopback Host Tool bridge maps every
29
+ ACP call to the current Run and Runtime's shared invoker, grants, approvals and operation ledger. Calls without a Run
30
+ are denied. Pi-only Homes create no ACP process, bridge listener or ACP state directory.
17
31
 
18
32
  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
33
+ `@rivus/gateway/plugin/starter` and `@rivus/gateway/skills/runtime-management/SKILL.md` directly. Host Tool
20
34
  MCP uses `@rivus/gateway/mcp`; old Agent bootstrap, Plugin, Skill and MCP aliases are not available.
21
35
 
22
36
  Gateway also ships the installer assets of the Rivus-managed audio transcriber under `assets/audio-transcriber/`.
23
37
  `rivus audio install` downloads the engine, its npm packages and the model onto the host at install time; the package
24
38
  contains none of them.
25
39
 
26
- Pi deployment Bootstrap opens the Runtime JSONL Memory Repository and injects one canonical Effect Memory service.
40
+ Deployment Bootstrap opens the Runtime JSONL Memory Repository and injects one canonical Effect Memory service.
27
41
  The former Gateway Memory service factories are removed; use Runtime's public Repository and service constructors.
28
42
 
29
- Gateway adapts real plugin tools to Runtime's canonical Effect Broker. Pi deployment Bootstrap and offline Recovery
43
+ Gateway adapts real plugin tools to Runtime's canonical Effect Broker. Deployment Bootstrap and offline Recovery
30
44
  open the canonical Runtime Ledger directly, and Human approval ports compose Effect. The former Gateway Promise
31
45
  Broker and JSONL Ledger factories are removed; operation files retain their existing path and v1 format.
32
46
 
@@ -0,0 +1,13 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "stateCompatibility": "rivus-home-0.20",
4
+ "minimumSourceVersion": "0.20.0",
5
+ "pnpmVersion": "12.8.1",
6
+ "overrides": {
7
+ "brace-expansion@>=5.0.0 <5.0.12": "5.0.12",
8
+ "undici@>=8.0.0 <8.12.3": "8.12.3",
9
+ "@opentelemetry/api": "1.9.1",
10
+ "zod@>=4.0.0 <4.6.6": "4.6.6"
11
+ },
12
+ "allowBuilds": { "@google/genai": false, "protobufjs": false }
13
+ }
@@ -0,0 +1,13 @@
1
+ import { c as CreateRivusDeploymentEndpointPortInput, d as RivusDeploymentEndpointPort, f as RivusDeploymentRuntimePort, l as CreateRivusDeploymentRuntimePortInput, o as CreateRivusDeploymentAutomationPortInput, s as CreateRivusDeploymentBackgroundSessionPortInput, t as RivusDeploymentBootstrapContext, u as RivusDeploymentBackgroundSessionPort, x as AutomationScheduler, z as RecoveryControl } 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 {};