@thyn-ai/sqai 0.1.4 → 0.1.6

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.
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/unsafe.ts"],"sourcesContent":["/** Explicit escape hatch — NOT part of the SQAI contract.\n *\n * The read-only, deterministic, policy, provenance, and compatibility\n * guarantees apply only to the SQAI public methods. The unsafe engine\n * runtime returned here bypasses the capability contract, policy allow-lists,\n * seed enforcement, and the parity matrix, and is never available through\n * @thyn-ai/sqai-ai-sdk. Import from \"@thyn-ai/sqai/unsafe\" only when you own the\n * consequences.\n */\n\nimport { Runtime } from \"algenta-sdk\";\n\nexport interface UnsafeRuntimeOptions {\n mode?: \"local\" | \"api\" | \"self_hosted\";\n apiKey?: string;\n baseUrl?: string;\n}\n\nexport function getUnsafeRuntime(options: UnsafeRuntimeOptions = {}): Runtime {\n return new Runtime({\n mode: options.mode ?? \"local\",\n ...(options.apiKey ? { apiKey: options.apiKey } : {}),\n ...(options.baseUrl ? { baseUrl: options.baseUrl } : {}),\n } as ConstructorParameters<typeof Runtime>[0]);\n}\n\n/** @deprecated Renamed to {@link getUnsafeRuntime}. Kept as a non-breaking alias. */\nexport const getUnsafeAlgentaRuntime = getUnsafeRuntime;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,yBAAwB;AAQjB,SAAS,iBAAiB,UAAgC,CAAC,GAAY;AAC5E,SAAO,IAAI,2BAAQ;AAAA,IACjB,MAAM,QAAQ,QAAQ;AAAA,IACtB,GAAI,QAAQ,SAAS,EAAE,QAAQ,QAAQ,OAAO,IAAI,CAAC;AAAA,IACnD,GAAI,QAAQ,UAAU,EAAE,SAAS,QAAQ,QAAQ,IAAI,CAAC;AAAA,EACxD,CAA6C;AAC/C;AAGO,IAAM,0BAA0B;","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/unsafe.ts"],"sourcesContent":["/** Explicit escape hatch — NOT part of the SQAI contract.\n *\n * The read-only, deterministic, policy, provenance, and compatibility\n * guarantees apply only to the SQAI public methods. The unsafe engine\n * runtime returned here bypasses the capability contract, policy allow-lists,\n * seed enforcement, and the parity matrix, and is never available through\n * @thyn-ai/sqai-ai-sdk. Import from \"@thyn-ai/sqai/unsafe\" only when you own the\n * consequences.\n */\n\nimport { Runtime } from \"algenta-sdk\";\n\nexport interface UnsafeRuntimeOptions {\n mode?: \"local\" | \"api\" | \"self_hosted\";\n apiKey?: string;\n baseUrl?: string;\n}\n\nexport function getUnsafeRuntime(options: UnsafeRuntimeOptions = {}): Runtime {\n return new Runtime({\n mode: options.mode ?? \"local\",\n ...(options.apiKey ? { apiKey: options.apiKey } : {}),\n ...(options.baseUrl ? { baseUrl: options.baseUrl } : {}),\n } as ConstructorParameters<typeof Runtime>[0]);\n}\n\n/** @deprecated Renamed to {@link getUnsafeRuntime}. Kept as a non-breaking alias. */\nexport const getUnsafeAlgentaRuntime = getUnsafeRuntime;\n"],"mappings":";AAUA,SAAS,eAAe;AAQjB,SAAS,iBAAiB,UAAgC,CAAC,GAAY;AAC5E,SAAO,IAAI,QAAQ;AAAA,IACjB,MAAM,QAAQ,QAAQ;AAAA,IACtB,GAAI,QAAQ,SAAS,EAAE,QAAQ,QAAQ,OAAO,IAAI,CAAC;AAAA,IACnD,GAAI,QAAQ,UAAU,EAAE,SAAS,QAAQ,QAAQ,IAAI,CAAC;AAAA,EACxD,CAA6C;AAC/C;AAGO,IAAM,0BAA0B;","names":[]}