privateer-agent 0.12.52 → 0.12.53

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "privateer-agent",
3
- "version": "0.12.52",
3
+ "version": "0.12.53",
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",
@@ -33,8 +33,7 @@ import { loadConfig, makePiPrivacyExtension } from "pi-privacy";
33
33
  import { noQuarterActive } from "../permissions/noQuarter.ts";
34
34
  import { addPiiAllow, piiAllowEntries, removePiiAllow } from "./piiAllow.ts";
35
35
  import { cliPalette, detectScheme } from "../ui/palette.ts";
36
- import { accountPosture, privateerChannel } from "../providers/account.ts";
37
- import { hasCredentials } from "../auth/privateer.ts";
36
+ import { accountPosture } from "../providers/account.ts";
38
37
  import { writePiDefaultModel } from "../providers/defaultModel.ts";
39
38
  import { privacyDisabled, setPrivacyDisabled } from "./privacyDisabled.ts";
40
39
  import { updatePostureBadge } from "../../extensions/privateer-posture.ts";
@@ -84,11 +83,11 @@ export function sharedPrivacyOptions() {
84
83
  if (provider !== "privateer") return undefined; // pi-privacy handles its own providers
85
84
  return (await accountPosture(modelId)).tier;
86
85
  },
87
- // Per-model verified-TEE capability for pi-privacy's /models picker: show Privateer's
88
- // TEE-channel models (near/tinfoil/phala) as "◆ Verifiable TEE" when logged in, while
89
- // ZDR-channel models stay at their honest floor. The live verdict still comes from
90
- // resolveTier above on select — this only lifts the label.
91
- privateerVerifiedTee: (m: any) => hasCredentials() && privateerChannel(m.id ?? "") === "tee",
86
+ // pi-privacy ships its own `/models`, a plain select over the models you hold keys
87
+ // for. Ours (extensions/privateer-models.ts) is the searchable one over the whole
88
+ // account catalog, and with both registered Pi renamed them /models:1 and /models:2 —
89
+ // so typing `/models` could land you in the short, unsearchable list.
90
+ modelPicker: false,
92
91
  // No quarter = unattended. No quarter also takes the whole filter down (noQuarter.ts),
93
92
  // so this only answers when the operator has run `/privacy on` with the moat down.
94
93
  // The PII send-or-redact question would stall a session the