@wilshi/dsh-agentos-context 0.3.3 → 0.3.4

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.
Files changed (2) hide show
  1. package/lib/index.js +6 -0
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -3428,6 +3428,12 @@ function createLibBackend(config, options = {}) {
3428
3428
  * OPENCONTEXT_MEMORY_STORE_DB_PATH controls the SQLite path used by the
3429
3429
  * lib backend; the plugin does not re-read it directly but documents it.
3430
3430
  */
3431
+ {
3432
+ const schemaPrototype = Object.getPrototypeOf(z.any());
3433
+ if (typeof schemaPrototype.volatile !== "function") schemaPrototype.volatile = function volatile() {
3434
+ return this;
3435
+ };
3436
+ }
3431
3437
  const ConfigSchema = z.object({
3432
3438
  baseUrl: z.string().default("http://127.0.0.1:8000"),
3433
3439
  authorizationRef: z.string().role("credential-ref").default("OPENCONTEXT_HTTP_AUTHORIZATION"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wilshi/dsh-agentos-context",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "agentOS context — DSH-native, source-backed memory and ontology workspace (OpenContext compatible; community fork)",
5
5
  "type": "module",
6
6
  "license": "MIT",