@orkestrel/ollama 0.0.9 → 0.0.11
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.
|
@@ -311,29 +311,29 @@ export declare interface OllamaResponse {
|
|
|
311
311
|
*/
|
|
312
312
|
export declare interface WireChatRequest {
|
|
313
313
|
readonly model: string;
|
|
314
|
-
readonly messages:
|
|
314
|
+
readonly messages: ReadonlyArray<{
|
|
315
315
|
readonly role: string;
|
|
316
316
|
readonly content: string;
|
|
317
|
-
readonly tool_calls?:
|
|
317
|
+
readonly tool_calls?: ReadonlyArray<{
|
|
318
318
|
readonly function: {
|
|
319
319
|
readonly name: string;
|
|
320
320
|
readonly arguments: Readonly<Record<string, unknown>>;
|
|
321
321
|
};
|
|
322
|
-
}
|
|
322
|
+
}>;
|
|
323
323
|
readonly images?: readonly string[];
|
|
324
|
-
}
|
|
324
|
+
}>;
|
|
325
325
|
readonly stream: boolean;
|
|
326
326
|
readonly keep_alive: string | number;
|
|
327
327
|
readonly think: boolean;
|
|
328
328
|
readonly options?: Readonly<Record<string, unknown>>;
|
|
329
|
-
readonly tools?:
|
|
329
|
+
readonly tools?: ReadonlyArray<{
|
|
330
330
|
readonly type: 'function';
|
|
331
331
|
readonly function: {
|
|
332
332
|
readonly name: string;
|
|
333
333
|
readonly description?: string;
|
|
334
334
|
readonly parameters?: Readonly<Record<string, unknown>>;
|
|
335
335
|
};
|
|
336
|
-
}
|
|
336
|
+
}>;
|
|
337
337
|
/**
|
|
338
338
|
* The `/api/chat` structured-output constraint — a JSON-Schema object forwarded
|
|
339
339
|
* verbatim from the per-call `ProviderStreamOptions.schema`. This is NOT
|
|
@@ -311,29 +311,29 @@ export declare interface OllamaResponse {
|
|
|
311
311
|
*/
|
|
312
312
|
export declare interface WireChatRequest {
|
|
313
313
|
readonly model: string;
|
|
314
|
-
readonly messages:
|
|
314
|
+
readonly messages: ReadonlyArray<{
|
|
315
315
|
readonly role: string;
|
|
316
316
|
readonly content: string;
|
|
317
|
-
readonly tool_calls?:
|
|
317
|
+
readonly tool_calls?: ReadonlyArray<{
|
|
318
318
|
readonly function: {
|
|
319
319
|
readonly name: string;
|
|
320
320
|
readonly arguments: Readonly<Record<string, unknown>>;
|
|
321
321
|
};
|
|
322
|
-
}
|
|
322
|
+
}>;
|
|
323
323
|
readonly images?: readonly string[];
|
|
324
|
-
}
|
|
324
|
+
}>;
|
|
325
325
|
readonly stream: boolean;
|
|
326
326
|
readonly keep_alive: string | number;
|
|
327
327
|
readonly think: boolean;
|
|
328
328
|
readonly options?: Readonly<Record<string, unknown>>;
|
|
329
|
-
readonly tools?:
|
|
329
|
+
readonly tools?: ReadonlyArray<{
|
|
330
330
|
readonly type: 'function';
|
|
331
331
|
readonly function: {
|
|
332
332
|
readonly name: string;
|
|
333
333
|
readonly description?: string;
|
|
334
334
|
readonly parameters?: Readonly<Record<string, unknown>>;
|
|
335
335
|
};
|
|
336
|
-
}
|
|
336
|
+
}>;
|
|
337
337
|
/**
|
|
338
338
|
* The `/api/chat` structured-output constraint — a JSON-Schema object forwarded
|
|
339
339
|
* verbatim from the per-call `ProviderStreamOptions.schema`. This is NOT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orkestrel/ollama",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "A typed local-LLM provider for the @orkestrel line — a ProviderInterface over a local Ollama daemon's /api/chat with NDJSON streaming and guard-narrowed wire boundaries. Part of the @orkestrel line.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -53,11 +53,14 @@
|
|
|
53
53
|
"format": "oxfmt --config .oxfmtrc.json --write .",
|
|
54
54
|
"format:check": "oxfmt --config .oxfmtrc.json --check .",
|
|
55
55
|
"lint:check": "oxlint --config .oxlintrc.json --deny-warnings .",
|
|
56
|
-
"test": "npm run test:src && npm run test:policy && npm run test:guides",
|
|
56
|
+
"test": "npm run test:src && npm run test:setup && npm run test:policy && npm run test:config && npm run test:guides && npm run test:conformance",
|
|
57
57
|
"test:src": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:server",
|
|
58
58
|
"test:src:server": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:server",
|
|
59
|
+
"test:conformance": "vitest run --config vite.config.ts --no-cache --reporter=dot --project conformance",
|
|
59
60
|
"test:service": "vitest run --config vite.config.ts --no-cache --reporter=dot --project service",
|
|
61
|
+
"test:setup": "vitest run --config vite.config.ts --no-cache --reporter=dot --project setup",
|
|
60
62
|
"test:policy": "vitest run --config vite.config.ts --no-cache --reporter=dot --project policy",
|
|
63
|
+
"test:config": "vitest run --config vite.config.ts --no-cache --reporter=dot --project config",
|
|
61
64
|
"test:guides": "vitest run --config vite.config.ts --reporter=dot --project guides",
|
|
62
65
|
"build": "npm run clean && npm run build:src",
|
|
63
66
|
"build:src": "npm run build:src:server",
|
|
@@ -65,30 +68,32 @@
|
|
|
65
68
|
"prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test && npm run test:service"
|
|
66
69
|
},
|
|
67
70
|
"dependencies": {
|
|
68
|
-
"@orkestrel/agent": "^0.0.
|
|
69
|
-
"@orkestrel/budget": "^0.0.
|
|
70
|
-
"@orkestrel/contract": "^0.0.
|
|
71
|
-
"@orkestrel/ndjson": "^0.0.
|
|
72
|
-
"@orkestrel/timeout": "^0.0.
|
|
73
|
-
"@orkestrel/tool": "^0.0.
|
|
71
|
+
"@orkestrel/agent": "^0.0.17",
|
|
72
|
+
"@orkestrel/budget": "^0.0.8",
|
|
73
|
+
"@orkestrel/contract": "^0.0.13",
|
|
74
|
+
"@orkestrel/ndjson": "^0.0.8",
|
|
75
|
+
"@orkestrel/timeout": "^0.0.8",
|
|
76
|
+
"@orkestrel/tool": "^0.0.12"
|
|
74
77
|
},
|
|
75
78
|
"devDependencies": {
|
|
76
|
-
"@microsoft/api-extractor": "^7.
|
|
77
|
-
"@orkestrel/abort": "^0.0.
|
|
78
|
-
"@orkestrel/guide": "^0.0.
|
|
79
|
-
"@orkestrel/
|
|
80
|
-
"@orkestrel/
|
|
81
|
-
"@orkestrel/
|
|
82
|
-
"@orkestrel/
|
|
83
|
-
"@
|
|
84
|
-
"@
|
|
79
|
+
"@microsoft/api-extractor": "^7.59.0",
|
|
80
|
+
"@orkestrel/abort": "^0.0.8",
|
|
81
|
+
"@orkestrel/guide": "^0.0.13",
|
|
82
|
+
"@orkestrel/probe": "^0.0.3",
|
|
83
|
+
"@orkestrel/router": "^0.0.11",
|
|
84
|
+
"@orkestrel/scaffold": "^0.0.49",
|
|
85
|
+
"@orkestrel/server": "^0.0.15",
|
|
86
|
+
"@orkestrel/test": "^0.0.11",
|
|
87
|
+
"@orkestrel/workspace": "^0.0.6",
|
|
88
|
+
"@types/node": "^26.2.0",
|
|
89
|
+
"@vitest/browser-playwright": "^4.1.11",
|
|
85
90
|
"ollama": "0.6.3",
|
|
86
|
-
"oxfmt": "^0.
|
|
87
|
-
"oxlint": "^1.
|
|
91
|
+
"oxfmt": "^0.64.0",
|
|
92
|
+
"oxlint": "^1.79.0",
|
|
88
93
|
"typescript": "^6.0.3",
|
|
89
|
-
"vite": "^8.2.
|
|
94
|
+
"vite": "^8.2.2",
|
|
90
95
|
"vite-plugin-dts": "^5.0.3",
|
|
91
|
-
"vitest": "^4.1.
|
|
96
|
+
"vitest": "^4.1.11"
|
|
92
97
|
},
|
|
93
98
|
"engines": {
|
|
94
99
|
"node": ">=22.12.0"
|