@qvac/harness 0.1.1 → 0.1.2
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function installSdkConfigLoader(): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function installSdkConfigLoader() {
|
|
2
|
+
if ('require' in globalThis)
|
|
3
|
+
return;
|
|
4
|
+
const module = Reflect.get(import.meta, 'cache')[import.meta.url];
|
|
5
|
+
Object.defineProperty(globalThis, 'require', {
|
|
6
|
+
configurable: true,
|
|
7
|
+
value: Reflect.get(module, 'constructor').createRequire(import.meta.url, { module })
|
|
8
|
+
});
|
|
9
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function installSdkConfigLoader(): void;
|
|
1
|
+
export declare function installSdkConfigLoader(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/harness",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "An AI harness implementing generate(context) via @qvac/sdk. Knows nothing about workbench, hyperdb, or chunks — just inference in, events out.",
|
|
6
6
|
"exports": {
|