@aliou/pi-synthetic 0.8.0 → 0.8.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.
- package/package.json +7 -5
- package/src/providers/models.ts +9 -9
- package/src/tools/search.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aliou/pi-synthetic",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -27,15 +27,17 @@
|
|
|
27
27
|
"README.md"
|
|
28
28
|
],
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@mariozechner/pi-coding-agent": "
|
|
31
|
-
"@mariozechner/pi-tui": "
|
|
30
|
+
"@mariozechner/pi-coding-agent": "0.61.0",
|
|
31
|
+
"@mariozechner/pi-tui": "0.61.0"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@aliou/pi-utils-ui": "^0.1.2"
|
|
32
35
|
},
|
|
33
36
|
"devDependencies": {
|
|
34
37
|
"@aliou/biome-plugins": "^0.3.2",
|
|
35
|
-
"@aliou/pi-utils-ui": "^0.1.2",
|
|
36
38
|
"@biomejs/biome": "^2.4.2",
|
|
37
39
|
"@changesets/cli": "^2.27.11",
|
|
38
|
-
"@mariozechner/pi-coding-agent": "0.
|
|
40
|
+
"@mariozechner/pi-coding-agent": "0.61.0",
|
|
39
41
|
"@sinclair/typebox": "^0.34.48",
|
|
40
42
|
"@types/node": "^25.0.10",
|
|
41
43
|
"husky": "^9.1.7",
|
package/src/providers/models.ts
CHANGED
|
@@ -66,9 +66,9 @@ export const SYNTHETIC_MODELS: SyntheticModelConfig[] = [
|
|
|
66
66
|
},
|
|
67
67
|
input: ["text"],
|
|
68
68
|
cost: {
|
|
69
|
-
input: 0.
|
|
70
|
-
output: 0.
|
|
71
|
-
cacheRead: 0.
|
|
69
|
+
input: 0.1,
|
|
70
|
+
output: 0.5,
|
|
71
|
+
cacheRead: 0.1,
|
|
72
72
|
cacheWrite: 0,
|
|
73
73
|
},
|
|
74
74
|
contextWindow: 196608,
|
|
@@ -308,9 +308,9 @@ export const SYNTHETIC_MODELS: SyntheticModelConfig[] = [
|
|
|
308
308
|
reasoning: true,
|
|
309
309
|
input: ["text"],
|
|
310
310
|
cost: {
|
|
311
|
-
input: 0.
|
|
312
|
-
output:
|
|
313
|
-
cacheRead: 0.
|
|
311
|
+
input: 0.4,
|
|
312
|
+
output: 2,
|
|
313
|
+
cacheRead: 0.4,
|
|
314
314
|
cacheWrite: 0,
|
|
315
315
|
},
|
|
316
316
|
contextWindow: 191488,
|
|
@@ -332,9 +332,9 @@ export const SYNTHETIC_MODELS: SyntheticModelConfig[] = [
|
|
|
332
332
|
},
|
|
333
333
|
input: ["text"],
|
|
334
334
|
cost: {
|
|
335
|
-
input: 0.
|
|
336
|
-
output:
|
|
337
|
-
cacheRead: 0.
|
|
335
|
+
input: 0.3,
|
|
336
|
+
output: 1,
|
|
337
|
+
cacheRead: 0.3,
|
|
338
338
|
cacheWrite: 0,
|
|
339
339
|
},
|
|
340
340
|
contextWindow: 262144,
|
package/src/tools/search.ts
CHANGED
|
@@ -163,7 +163,10 @@ export function registerSyntheticWebSearchTool(pi: ExtensionAPI): void {
|
|
|
163
163
|
text += theme.fg("dim", ` (+${results.length - 1} more)`);
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
text += theme.fg(
|
|
166
|
+
text += theme.fg(
|
|
167
|
+
"muted",
|
|
168
|
+
` ${keyHint("app.tools.expand", "to expand")}`,
|
|
169
|
+
);
|
|
167
170
|
container.addChild(new Text(text, 0, 0));
|
|
168
171
|
} else {
|
|
169
172
|
// Expanded: show each result with title, URL, date, and snippet
|