packages / estebanforge-pi-glm-tweaks
extension Modes & workflows

@estebanforge/pi-glm-tweaks

Pi-native tweaks for Z.AI's GLM-5.2. Restricts the Pi thinking-level UI to the three modes GLM-5.2 actually supports (off, high, max), wires the native thinkingFormat:"zai" wire translation, and auto-clamps hidden levels when the model is selected.

No reviews yet

Install

$ pi install npm:@estebanforge/pi-glm-tweaks

Installs from npm into ~/.pi/agent/. Add -l for project-local (.pi/). Manage with pi list / pi update / pi remove.

What this package can reach

Detected automatically from the source at version 1.2.0. This describes access, not safety — you decide whether it's appropriate for what the package claims to do.

  • 🤖
    Behavior — Changes how the agent thinks Modifies the system prompt, injects messages, or rewrites conversation context.
  • 🔑
    Credentials — Handles your API keys Reads or passes provider credentials. Highest-trust capability there is.
  • 📁
    Files — Reads files outside your project Touches paths beyond the working directory, such as your home folder.
  • 📡
    LLM traffic — Sees raw model API traffic Reads or replaces provider requests, headers or responses — including your prompts.
  • UI — Draws its own interface Renders widgets, footers, dialogs or full-screen views.

What it actually did when run

observed

Loaded in a sandbox with no network, a read-only filesystem and a recording stand-in for pi's API. This is what it called — not what the source suggests it might.

Events subscribed before_agent_startbefore_provider_requestmodel_selectsession_start

APIs called modelRegistry.getAllmodelRegistry.getAll.filtermodelRegistry.getAll.filter.mapmodelRegistry.getAll.filter.somemodelRegistry.getApiKeyForProviderregisterCommandregisterFlagregisterProviderui.notifyui.setStatus

3 calls the source scan did not predict

modelRegistry.getAll.filter · modelRegistry.getAll.filter.map · modelRegistry.getAll.filter.some

Reached through a value the scan could not follow — passed as an argument, stored on another object, or returned by a helper.

Run against version 1.2.0 on 2026-08-02. Registration-time behaviour under default settings; other configurations may differ.

Review before you install. pi packages run with your full system permissions. Check the source, pin versions, and prefer authors you trust.

Reviews

0 published

Sign in with GitHub to write a review, reply, or vote.

No reviews yet — be the first.

More in Modes & workflows

  • pi-dynamic-workflows — Claude-Code-style dynamic workflow orchestration for Pi.
  • @raoxxxwq/pi-tasks — A pi extension that brings Claude Code-style task tracking and coordination to pi.
  • @ifi/oh-pi-skills — On-demand skill packs for pi: web-search, debug-helper, git-workflow, and more.
  • pi-plan-modus — Read-only plan mode with RepoPrompt-aware write blocking; restricts tools, bash commands, …