mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-02 16:58:52 +01:00
Land the approved Cloud configuration and release-image package stack.
Includes the separately reviewed adapter settings (#18335), external adapters (#18333), bundled plugins (#18336), startup configuration (#18339), and migration/package checks (#18341).
Includes the final image-owned loader and linked-dependency inventory corrections.
Verified stack head: 462716170d.
Co-Authored-By: Paperclip <noreply@paperclip.ing>
11 lines
353 B
TypeScript
11 lines
353 B
TypeScript
import { forbidden } from "../errors.js";
|
|
import { isCloudManagedInstance } from "./cloud-instance.js";
|
|
|
|
export function assertExternalAdapterCodeAllowed(): void {
|
|
if (isCloudManagedInstance()) {
|
|
throw forbidden("Adapter installation is platform-managed on cloud-managed instances", {
|
|
code: "adapter_install_platform_managed",
|
|
});
|
|
}
|
|
}
|