Repository navigation
Releases
v0.7.1
Full Changelog: v0.7.0...v0.7.1
v0.5.4
McpOptions.excludedServers:按会话排除 MCP 服务器;沿用 excludedSkills。
pi2kotlin 0.5.3
- 新增 AgentSessionOptions.excludedSkills,按技能名排除,不进入提示词清单与技能扫描。
v0.5.2
Authorize the MCP server-to-client GET stream and DELETE cleanup with the OAuth token from McpAuthProvider, so OAuth-protected servers such as Notion no longer reject the stream with 401.
v0.5.1
Wrap the MCP system prompt section in an <mcp_servers> container so it matches the other prompt sections.
0.5.0
Deferred MCP execution, per-item queue removal, tool search off by default.
0.4.0 — Maven artifacts
Reproducible Maven repository for pi2kotlin 0.4.0, rebuilt from d03325b.
Unzip and add the extracted directory as a Maven repository, or let a consumer download it. Contains all dev.pi modules at 0.4.0 (JVM + Android).
Request image budget: when a request would carry more than 20 images or more than 20 MiB of inline base64, the oldest images are replaced with text placeholders in the request only. Session history and JSONL keep every original image. Limits are configurable through images.requestMaxImages and images.requestMaxBytes in pi settings.
0.3.0 — Maven artifacts
Reproducible Maven repository for pi2kotlin 0.3.0, rebuilt from 0cd57ba.
Unzip and add the extracted directory as a Maven repository, or let a consumer download it. Contains all dev.pi modules at 0.3.0 (JVM + Android).
Image normalization: prompt and tool-result images are resized and re-encoded to the model's inputLimits.images.resize before entering session history (default 2000×2000, 4.5 MiB base64, JPEG quality 80).
0.2.4 — Maven artifacts
Reproducible Maven repository for pi2kotlin 0.2.4, rebuilt from 6cff93e.
Unzip and add the extracted directory as a Maven repository, or let a consumer download it. Contains all dev.pi modules at 0.2.4 (JVM + Android).
0.2.1 — MCP sampling / elicitation / roots
pi2kotlin 0.2.1 — MCP sampling / elicitation / roots support.
Added
- roots: the client declares the
rootscapability and answersroots/listwith the session workspace root (defaultfile://<cwd>), configurable viaMcpOptions.roots;session.mcp.setRoots(...)updates roots and sendsnotifications/roots/list_changed. - sampling: the client declares
samplingand answerssampling/createMessageby calling the current session model (non-streaming,maxTokensclamped tosamplingMaxTokensand the model limit, text/image input, text/image output). Sampling consumes tokens and can be disabled withsamplingEnabled = false. - elicitation: the client declares
elicitationonly when the host providesMcpOptions.elicitationHandler; the handler receives the message and JSON Schema and returnsaccept/decline/cancel(with optional content). No SDK UI is shown.
Docs / limitations
- MCP feature matrix and limitations updated in
README.md,README.zh-CN.md,docs/MCP.md:- still not implemented: MCP resource subscriptions, completion, CIMD; legacy HTTP+SSE transport is rejected.
codemodeexposure maps to deferred +tool_search(no JS sandbox).- Android: HTTP MCP only (no stdio), and OAuth requires a host-provided browser callback/redirect URI.
- Project
.pi/mcp.jsoncan only override a global server'senabled/exposure/toolExposure, not define new servers. auth.providerconfig is parsed but not wired yet.
Artifacts
| File | Description |
|---|---|
pi2kotlin-0.2.1-m2.zip |
Local Maven repository layout (dev/pi/...) |
*-jvm-0.2.1.jar / *-android-0.2.1.aar |
pi-ai, pi-agent, pi-mcp, pi-coding-agent |
*-sources.jar |
Sources for IDE navigation |
pi2kotlin-android-demo-debug.apk |
Android demo (offline faux / local mock mode) |
Tests: pi-mcp 161 JVM + 120 Android host, pi-coding-agent 530+ JVM, pi-agent 119, pi-ai 628 — all green. Release verification: 48/48 checks.