@provenly/adaptive-svelte
v0.1.0
Published
Svelte action for the framework-agnostic Adaptive runtime.
Readme
@provenly/adaptive-svelte
Thin Svelte/SvelteKit integration for the framework-agnostic @provenly/adaptive-runtime.
<script lang="ts">
import { adaptiveRuntime } from '@provenly/adaptive-svelte';
const runtime = {
projectId: 'project-id',
runtimeKey: 'adp_pk_...',
apiBaseUrl: 'https://app.example.com',
autoAdapt: true,
};
</script>
<div use:adaptiveRuntime={runtime}>
<slot />
</div>The action only manages mount/update/unmount lifecycle. The observer, AI decision
layer, adaptation verification, and rollback remain in @provenly/adaptive-runtime.
