Skip to content

Releases: niki914/libterm

Release - 0.5

Choose a tag to compare

@niki914 niki914 released this 17 Jun 03:05
v5-0.5

release: add R8 consumer keep rules for jsch SSH and Shizuku UserServ…

Release - 0.4

Choose a tag to compare

@niki914 niki914 released this 16 Jun 18:11
v4-0.4

release: bump version to v4-0.4 and restructure README around open*Te…

Release - v3-0.3

Choose a tag to compare

@niki914 niki914 released this 16 Jun 14:48
RELEASE: v3-0.3; fix: publish libterm-core for jitpack v3-0.3

Release - v2-0.2

Choose a tag to compare

@niki914 niki914 released this 15 Jun 06:19

Updates

  • simplify developer-interface
  • ssh connection support

RE: Libterm v1-0.1

Choose a tag to compare

@niki914 niki914 released this 11 Jun 04:20

libterm v1-0.1

libterm is the next step forward from cmd-android.

This release upgrades the project from a command execution helper into a session-based Android terminal library with a unified runtime facade for USER, ROOT, and SHIZUKU shells.

Highlights

  • Added interactive shell support

    • Supports long-lived shell sessions instead of only one-shot command execution
    • Handles block-style interactions such as cat <<EOF ... EOF
    • Enables terminal-style workflows with continuous input and output
  • Introduced a unified Term facade

    • Open terms with LibTerm.newUserTerm(), newSuTerm(), or newShizukuTerm(context)
    • Uses one consistent API across different privilege modes
    • Keeps simple use cases straightforward while supporting more advanced terminal flows
  • Supports both blocking and streaming usage

    • Use exec(...) for direct command execution
    • Use open() + write() + stream for interactive shell scenarios
    • Better fit for terminal UIs, REPL-style flows, and persistent sessions
  • Added a more complete session model

    • Explicit lifecycle states: Starting, Running, Closed, and Failed
    • Streaming output with bounded buffering
    • Structured failure model for startup, authorization, runtime termination, and closed-session cases
  • Refactored the project into clearer layers

    • libterm-core for contracts, session management, state, and failure modeling
    • libterm-backend-libsu for USER / ROOT
    • libterm-backend-shizuku for SHIZUKU
    • libterm-runtime for the Android-facing facade
  • Added a runnable smoke demo

    • Demonstrates USER, ROOT, and SHIZUKU terms
    • Shows explicit open, streaming output, and interactive input handling

Why this release matters

The old cmd-android branch focused mainly on command execution.

libterm expands that model into a real terminal session abstraction, making it practical to build features that need persistent shells, interactive input, streamed output, and privilege-specific backends behind one API.

Notes

  • The old deprecated implementation has been moved to the cmd-android branch
  • The default project surface is now libterm
  • This release is published as v1-0.1

0.8.2

Choose a tag to compare

@niki914 niki914 released this 05 Jun 12:04
将 shizuku provider 的注册包含到模块内部

0.8.1

Choose a tag to compare

@niki914 niki914 released this 25 May 05:46
fix: 解决 shizuku 授权并发问题

demo

Choose a tag to compare

@niki914 niki914 released this 25 May 07:07
更新自述内容

0.8.0

Choose a tag to compare

@niki914 niki914 released this 23 May 10:54
init lib