@hawkeyexl/inference 0.0.1 → 0.1.0
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/index.d.ts +8 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -52,7 +52,14 @@ interface ExecResult {
|
|
|
52
52
|
interface ExecOptions {
|
|
53
53
|
cwd?: string;
|
|
54
54
|
timeoutMs?: number;
|
|
55
|
-
|
|
55
|
+
/**
|
|
56
|
+
* Overrides on the ambient environment. A key mapped to `undefined`
|
|
57
|
+
* *unsets* that variable for the child rather than passing it through —
|
|
58
|
+
* Node omits undefined-valued keys when it builds the child's environment.
|
|
59
|
+
* Clearing inherited state (`GIT_*`, say) needs this, so the value type is
|
|
60
|
+
* deliberately wider than `string`.
|
|
61
|
+
*/
|
|
62
|
+
env?: Record<string, string | undefined>;
|
|
56
63
|
/** Text piped to the child's stdin (stdin is closed after writing). */
|
|
57
64
|
input?: string;
|
|
58
65
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hawkeyexl/inference",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Shared TypeScript LLM inference layer: schema-constrained completion across Anthropic, OpenAI-compatible, and Claude CLI providers, with caching, cost accounting, and an LLM-as-judge ensemble.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|