diff --git a/host/js/bundle.js b/host/js/bundle.js index 33f1c2a..3c3f6c6 100644 --- a/host/js/bundle.js +++ b/host/js/bundle.js @@ -53939,7 +53939,7 @@ init_models(); var ops2 = Deno.core.ops; var encoder5 = new TextEncoder(); var decoder4 = new TextDecoder(); -var ExtensionState = defineDoc({ kind: "sausage.extensions", version: 1, scope: "session", initial: () => ({ good: null, current: null, error: null }) }); +var ExtensionState = defineDoc({ kind: "sausage.extensions", version: 1, scope: "session", checkpointWhen: () => false, initial: () => ({ good: null, current: null, error: null }) }); var Metadata = defineDoc({ kind: "sausage.metadata", version: 1, scope: "conversation", history: "latest", fork: "current", initial: () => ({ label: "", title: "" }), checkpointWhen: () => false }); async function file(kind, path3, bytes2 = []) { const result = await ops2.op_file(kind, path3, bytes2); diff --git a/host/js/extensions-test-bundle.js b/host/js/extensions-test-bundle.js index 4dad80f..5e761dc 100644 --- a/host/js/extensions-test-bundle.js +++ b/host/js/extensions-test-bundle.js @@ -31202,7 +31202,7 @@ function StringEnum(values, options) { var ops = Deno.core.ops; var encoder4 = new TextEncoder(); var decoder4 = new TextDecoder(); -var ExtensionState = defineDoc({ kind: "sausage.extensions", version: 1, scope: "session", initial: () => ({ good: null, current: null, error: null }) }); +var ExtensionState = defineDoc({ kind: "sausage.extensions", version: 1, scope: "session", checkpointWhen: () => false, initial: () => ({ good: null, current: null, error: null }) }); var Metadata = defineDoc({ kind: "sausage.metadata", version: 1, scope: "conversation", history: "latest", fork: "current", initial: () => ({ label: "", title: "" }), checkpointWhen: () => false }); async function file(kind, path, bytes2 = []) { const result = await ops.op_file(kind, path, bytes2); diff --git a/host/js/extensions.ts b/host/js/extensions.ts index 9def494..8214903 100644 --- a/host/js/extensions.ts +++ b/host/js/extensions.ts @@ -9,7 +9,7 @@ import * as schema from '@earendil-works/pi-schema'; const ops = Deno.core.ops; const encoder = new TextEncoder(); const decoder = new TextDecoder(); -export const ExtensionState = durable.defineDoc({ kind: 'sausage.extensions', version: 1, scope: 'session', initial: () => ({good:null, current:null, error:null}) }); +export const ExtensionState = durable.defineDoc({ kind: 'sausage.extensions', version: 1, scope: 'session', checkpointWhen: () => false, initial: () => ({good:null, current:null, error:null}) }); export const Metadata = durable.defineDoc({ kind: 'sausage.metadata', version: 1, scope: 'conversation', history:'latest', fork:'current', initial:()=>({label:'',title:''}), checkpointWhen:()=>false }); export type Host = { harness(): durable.Harness; storage: Pick;