privateer-agent 0.12.54 → 0.12.55
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.
|
@@ -285,9 +285,10 @@ function contextLine(p: Palette): string {
|
|
|
285
285
|
// or three things a returning user should notice. `cmd`, when present, is rendered in the
|
|
286
286
|
// accent color so the actionable bit stands out from the prose. Trim this as it ages.
|
|
287
287
|
const WHATS_NEW: Array<{ text: string; cmd?: string }> = [
|
|
288
|
-
{ text: "
|
|
289
|
-
{ text: "
|
|
290
|
-
{ text: "
|
|
288
|
+
{ text: "Searchable model picker —", cmd: "/models" },
|
|
289
|
+
{ text: "Start over with a new agent —", cmd: "/fresh" },
|
|
290
|
+
{ text: "Text-only models can read images now" },
|
|
291
|
+
{ text: "Live crypto prices and Solana wallets" },
|
|
291
292
|
];
|
|
292
293
|
|
|
293
294
|
function whatsNewRows(p: Palette): string[] {
|
|
@@ -41,7 +41,6 @@ import {
|
|
|
41
41
|
fetchAccountCatalog,
|
|
42
42
|
} from "../src/providers/account.ts";
|
|
43
43
|
import { writePiDefaultModel } from "../src/providers/defaultModel.ts";
|
|
44
|
-
import { acceptsImages } from "../src/providers/vision.ts";
|
|
45
44
|
|
|
46
45
|
// A minimal view of Pi's theme (passed to the ui.custom factory) — enough to color
|
|
47
46
|
// text without pulling Pi's internal theme types into an extension.
|
|
@@ -462,9 +461,6 @@ export default function privateerModels(pi: {
|
|
|
462
461
|
`Model: ${match.provider}/${match.id} · ${TIERS[tier].label}`,
|
|
463
462
|
"info",
|
|
464
463
|
);
|
|
465
|
-
if (!acceptsImages(`${match.provider}/${match.id}`)) {
|
|
466
|
-
ui?.notify?.(`${match.provider}/${match.id} can't see images — files will be dropped silently.`, "warning");
|
|
467
|
-
}
|
|
468
464
|
return;
|
|
469
465
|
} catch (e) {
|
|
470
466
|
ui?.notify?.(`Couldn't switch model: ${(e as Error).message}`, "error");
|
|
@@ -511,9 +507,6 @@ export default function privateerModels(pi: {
|
|
|
511
507
|
`Model: ${chosen.provider}/${chosen.id} · ${TIERS[chosen.tier].label}`,
|
|
512
508
|
"info",
|
|
513
509
|
);
|
|
514
|
-
if (!acceptsImages(`${chosen.provider}/${chosen.id}`)) {
|
|
515
|
-
ui.notify?.(`${chosen.provider}/${chosen.id} can't see images — files will be dropped silently.`, "warning");
|
|
516
|
-
}
|
|
517
510
|
} catch (e) {
|
|
518
511
|
ui.notify?.(`Couldn't switch model: ${(e as Error).message}`, "error");
|
|
519
512
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "privateer-agent",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.55",
|
|
4
4
|
"description": "Privacy-first terminal coding agent — bring your own model across 20 providers (Anthropic, OpenAI, OpenRouter, Google, local Ollama…). Safe-by-default permissions, MCP, sub-agents, workflows, and verifiable TEE inference. Built on the Pi toolkit.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/src/cli/chat.ts
CHANGED
|
@@ -754,9 +754,6 @@ async function main() {
|
|
|
754
754
|
writePiDefaultModel(sp);
|
|
755
755
|
const m = `model → ${sp}`;
|
|
756
756
|
console.log(`${DIM}${m}${RESET}`);
|
|
757
|
-
if (!acceptsImages(sp)) {
|
|
758
|
-
console.log(`${YELLOW}⚠ ${sp} can't see images — @file/read on a picture will be dropped silently.${RESET}`);
|
|
759
|
-
}
|
|
760
757
|
relay?.sendContext({ model: currentSpec, cwd, version: agentVersion() }); // banner follows the switch
|
|
761
758
|
if (remote) relay?.sendNotice(m);
|
|
762
759
|
} catch (e) {
|