Skip to content

Releases

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 25 Nov 11:58

Full Changelog: v0.7.0...v0.7.1

v0.5.4

Choose a tag to compare

@Sadami3066 Sadami3066 released this 08 Nov 09:27

McpOptions.excludedServers:按会话排除 MCP 服务器;沿用 excludedSkills。

pi2kotlin 0.5.3

Choose a tag to compare

@Sadami3066 Sadami3066 released this 08 Nov 08:40
  • 新增 AgentSessionOptions.excludedSkills,按技能名排除,不进入提示词清单与技能扫描。

v0.5.2

Choose a tag to compare

@Sadami3066 Sadami3066 released this 08 Nov 06:07

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

Choose a tag to compare

@Sadami3066 Sadami3066 released this 08 Nov 04:15

Wrap the MCP system prompt section in an <mcp_servers> container so it matches the other prompt sections.

0.5.0

Choose a tag to compare

@Sadami3066 Sadami3066 released this 06 Nov 17:36

Deferred MCP execution, per-item queue removal, tool search off by default.

0.4.0 — Maven artifacts

Choose a tag to compare

@Sadami3066 Sadami3066 released this 01 Nov 15:35

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

Choose a tag to compare

@Sadami3066 Sadami3066 released this 01 Nov 15:15

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

Choose a tag to compare

@Sadami3066 Sadami3066 released this 30 Oct 04:06

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

Choose a tag to compare

@Sadami3066 Sadami3066 released this 24 Oct 03:29

pi2kotlin 0.2.1 — MCP sampling / elicitation / roots support.

Added

  • roots: the client declares the roots capability and answers roots/list with the session workspace root (default file://<cwd>), configurable via McpOptions.roots; session.mcp.setRoots(...) updates roots and sends notifications/roots/list_changed.
  • sampling: the client declares sampling and answers sampling/createMessage by calling the current session model (non-streaming, maxTokens clamped to samplingMaxTokens and the model limit, text/image input, text/image output). Sampling consumes tokens and can be disabled with samplingEnabled = false.
  • elicitation: the client declares elicitation only when the host provides McpOptions.elicitationHandler; the handler receives the message and JSON Schema and returns accept/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.
    • codemode exposure 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.json can only override a global server's enabled/exposure/toolExposure, not define new servers.
    • auth.provider config 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.