Repository navigation
docs: install, server deployment and current crate layers in the README - #194
Merged
Merged
Conversation
fylorn
force-pushed
the
docs/seo2-readme
branch
from
September 25, 2026 04:01
6f79775 to
7c9c561
Compare
The README still described core as "not an application you install", showed a macOS-only badge, and called ThinkWatch Enterprise "the server edition" -- a name that now collides with running twcore on a server. - Badges list every platform a release ships twcore for: macOS arm64, Windows x64 and arm64, Linux x86_64 and aarch64. - New Install section: the prebuilt binaries and their .sha256 files, the Linux install script, and building from source. - New Server deployment section: what scripts/install.sh sets up (including the twcore init it runs), twcore remote enable, systemctl enable --now, twcore control-key and twcore upgrade, with links to docs/server.md and docs/config.md. - The features list follows the code: redaction applies to every upstream (it used to say "before they reach a relay"), all five protections and their modes, failover before the first byte, format conversion, request history, and config reload with rollback. - The crate table lists all sixteen crates (tw-api was missing) and says ThinkWatch Enterprise depends on exactly tw-dialect, tw-guard and tw-breaker. The "single-machine (SQLite, unix socket)" paragraph now describes one twcore process reached over a local channel or the remote control port. - `twcore init` writes plain YAML, not "a commented config.yaml". CONTRIBUTING.md drops "both editions" and "the server edition" in favour of ThinkWatch Lite and ThinkWatch Enterprise, and spells Apple silicon. The Chinese README carries the same content; its paragraphs are single lines so no stray spaces appear between Chinese characters, and bold labels end before the full stop so they render. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The price a request records is the public table with its date, the table scaled by a price sheet's multiplier (with the table's date), or a price sheet's own price for that model, which carries no date (tw-api PriceSourceView). "The source and date of the price" was true for only two of the three. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fylorn
force-pushed
the
docs/seo2-readme
branch
from
September 25, 2026 05:42
7c9c561 to
acbe342
Compare
…p's core version Crate layers. tw-api and tw-link were listed with the data plane and control plane, below the assembly crates, although tw-config, tw-store and tw-observe depend on tw-api. They now form their own group, the control-plane contract, between domain logic and assembly, so that no crate depends on a group below its own (checked against every Cargo.toml on main, dev-dependencies included). The "two layers" sentence becomes the grouping the website's Core page uses: the three crates ThinkWatch Enterprise depends on, and the gateway's crates grouped by role. The paragraph on the single-machine implementation now names the last two groups. Server deployment. The app connects only to a core with its control-plane protocol version, so the server runs the core version the app includes, which can be older than the latest release (v0.48.0 is protocol 21; ThinkWatch Lite 2026.9.16 includes v0.47.0, protocol 20). "The server and the app are upgraded together" next to a plain `twcore upgrade --restart` could break the connection. The section now leads with `twcore upgrade --version <version> --restart`, says that it moves the server forward or back, and uses `<version>` in place of a fixed 0.47.0. The Chinese README carries the same changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fylorn
force-pushed
the
docs/seo2-readme
branch
from
September 25, 2026 05:49
acbe342 to
45da445
Compare
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The README still introduced core as "not an application you install", showed a macOS-only badge, and called ThinkWatch Enterprise "the server edition", which now collides with running
twcoreon a server. This brings README.md, README.zh-CN.md and CONTRIBUTING.md in line with v0.48.0 and the code onmain.README (English and Chinese)
twcorefor (macOS arm64, Windows x64 and arm64, Linux x86_64 and aarch64) in place of the macOS-only badge; all badges gain alt text..sha256files and how to check them, the Linux install script, and building from source.scripts/install.shsets up, including thetwcore initit runs;twcore remote enable --allow,systemctl enable --now twcore,twcore control-key,twcore upgrade; links todocs/server.mdanddocs/config.md. The Chinese opening of this section is the wording approved for it.tw-linkhandshake), so the server runs the core version the app includes, which can be older than the latest release (v0.48.0 is protocol 21; ThinkWatch Lite 2026.9.16 includes v0.47.0, protocol 20). The section leads withtwcore upgrade --version <version> --restart, which installs the named release up or down (upgrade::plan), instead of "the server and the app are upgraded together" next to a plain--restart. Install commands use<version>rather than a fixed number.tw-gateway/src/guard.rs);tw-config/src/security.rs);pipeline/hop.rs,pipeline/relay.rs), and the breaker policy (tw-gateway/src/health.rs);tw-apiwas missing), in five groups ordered so that no crate depends on a group below its own (checked against everyCargo.tomlonmain, dev-dependencies included): shared with ThinkWatch Enterprise, domain logic, control-plane contract (tw-api,tw-link;tw-config,tw-storeandtw-observedepend ontw-api), assembly, and data plane and control plane (tw-gateway,tw-control). The explanation above the table is the one on the website's Core page: the three crates ThinkWatch Enterprise depends on, and the gateway's crates grouped by role. ThinkWatch Enterprise depends on exactlytw-dialect,tw-guardandtw-breaker. The paragraph on the single-machine implementation names the last two groups and describes onetwcoreprocess reached over a local channel or the remote control port.twcore initwrites plain YAML, not "a commented config.yaml".In the Chinese README, paragraphs are single lines so browsers show no stray spaces between Chinese characters, and each bold label ends before the full stop (
**标签**。); with the full stop inside, CommonMark does not close the bold.CONTRIBUTING.md
initwrites "an initial config.yaml".Checked
twcore init,check,remote enable --allow,remote,control-keyandupgrade --checkrun as documented, from a build of this branch in a scratchTHINKWATCH_HOME.Cargo.tomlondevdepends ontw-breaker,tw-dialect,tw-guardonly; ThinkWatch Lite's pins (tw-api,tw-types,tw-yaml,tw-guard,tw-watch,tw-link, now at v0.48.0 ondev) match the crate list.mainat v0.48.0;cargo fmt --all -- --checkpasses (documentation only).🤖 Generated with Claude Code