Skip to content

new sample ws chat completion and bug fix#92

Merged
wilsonwang371 merged 2 commits into
mainfrom
wilson-bugfix
May 26, 2026
Merged

new sample ws chat completion and bug fix#92
wilsonwang371 merged 2 commits into
mainfrom
wilson-bugfix

Conversation

@wilsonwang371
Copy link
Copy Markdown
Collaborator

@wilsonwang371 wilsonwang371 commented May 26, 2026

This pull request focuses on repository hygiene and dead code cleanup, as well as improvements to the build and release process and documentation. The main changes include removing unused dependencies, updating the release workflow to simplify and clarify build outputs, adding support for new WASM-JS samples, and improving documentation for SDK usage, protocol conventions, and local path dependencies.

Dead code cleanup and dependency management:

  • Removed the unused direct dependency tonic-web from Cargo.toml.
  • Added a new local path dependency on spear-ssf in Cargo.toml and updated Dockerfiles to copy this crate into the build context, with documentation updates explaining this requirement. [1] [2] [3] [4] [5] [6]

Build and release workflow improvements:

  • Simplified the GitHub release workflow by removing obsolete Go, Python, and FlatBuffers setup steps, and now only building and uploading the actual release binaries (target/release/spearlet, target/release/sms). [1] [2]
  • Updated documentation to reflect these workflow changes and clarify verification steps. [1] [2]

WASM-JS samples and Makefile:

  • Added new WASM-JS samples (router_filter_keyword, user_stream_echo, user_stream_chat_completion) to the build system and documentation, and updated sample output naming conventions. [1] [2] [3] [4] [5] [6] [7] [8]

Protocol and SDK documentation:

  • Expanded SSF v1 protocol documentation to clarify the meaning and usage of CTRL (1), DATA (2), and COMMIT (3) message types, and documented SDK constants for C, Rust, and JS. [1] [2] [3]
  • Updated console protocol documentation to describe the initial CTRL frame and COMMIT semantics for user input. [1] [2]

Minor code cleanup:

  • Removed unused imports and redundant client initializations in examples and tests.

These changes collectively improve maintainability, reduce build complexity, and provide clearer guidance for contributors and users.

@wilsonwang371 wilsonwang371 self-assigned this May 26, 2026
@wilsonwang371 wilsonwang371 merged commit 9a65292 into main May 26, 2026
7 checks passed
@wilsonwang371 wilsonwang371 deleted the wilson-bugfix branch May 26, 2026 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant