@tangle-network/agent-provider-tangle 4.5.4 → 4.5.5
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/dist/tangle-prompt.js +1 -1
- package/package.json +1 -1
package/dist/tangle-prompt.js
CHANGED
|
@@ -84,7 +84,7 @@ export async function preparePromptOptions(box, options, provider) {
|
|
|
84
84
|
metadata: { ...options.backend?.metadata, profileSecretIsolation: true },
|
|
85
85
|
};
|
|
86
86
|
const { runtimeSecrets: _turnOnly, ...persisted } = backend;
|
|
87
|
-
const created = await awaitWithSignal(box.createSession({ sessionId, backend: persisted }), options.signal);
|
|
87
|
+
const created = await awaitWithSignal(box.createSession({ sessionId, retention: "workspace", backend: persisted }), options.signal);
|
|
88
88
|
if (created.session.id !== sessionId || created.info.id !== sessionId) {
|
|
89
89
|
throw new Error("Tangle isolated session creation changed its exact identity");
|
|
90
90
|
}
|