WeKnora/.github/workflows
lyingbug 7c9088d0fe
feat(agent): let the WeKnora assistant read the bundled documentation (#4303)
* feat(agent): let the WeKnora assistant read the bundled documentation

Embeds the website-docs pages (01-07) into the server and adds
search_weknora_docs / read_weknora_doc for the built-in assistant, so it
answers how WeKnora works from the docs of the running version.

- pages split into sections with the site's VitePress anchors; Mermaid
  dropped, screenshots reduced to captions, links rewritten to public URLs
- in-memory BM25 over sections, with Han character pairs and whole
  identifiers such as OLLAMA_BASE_URL or v0.8.3
- granted to the built-in assistant by ID, like the operation tools; the
  docs are public, so no signed-in user is required
- tests check every embedded page parses and every internal link resolves

* fix(agent): read long doc sections to the end and keep docs on a broken page

- read_weknora_doc takes an offset: a section too long for one read is cut
  at a line break and returns next_offset, so leaf sections such as the
  model field reference are readable to the end instead of losing the tail.
- Reads follow the registry's output budget (capped at 8000 runes).
- Percent-encoded anchors, as a browser copies them, and http:// doc URLs
  resolve.
- productdocs.Load leaves out a page it cannot parse and reports it, so one
  broken page no longer withholds the documentation tools.
- App CI runs on changes to the embedded doc pages and the sidebar config,
  where the parse and link tests now apply.
2026-10-15 13:06:58 +08:00
..
anydoc.yml fix(anydoc): rebuild truncated patched crate instead of failing cargo 2026-08-21 16:16:33 +08:00
app.yml feat(agent): let the WeKnora assistant read the bundled documentation (#4303) 2026-10-15 13:06:58 +08:00
cli-e2e.yml refactor(cli): --limit/--all-pages, Go 1.26, internal/agent → aiclient 2026-05-15 12:03:56 +08:00
cli.yml docs(cli): sweep stale wire vocab from AGENTS.md and close the CI gap that let it drift 2026-08-20 18:16:21 +08:00
docker-image.yml fix(sandbox): build real arm64 sandbox images and ship arm64 Cube variants 2026-09-30 13:34:01 +08:00
docreader.yml fix: align client sessions and integration request handling (#3305) 2026-09-16 16:20:57 +08:00
dsh-plugin.yml ci(dsh-weknora): restore e2e timeout for cold dsh cache 2026-08-21 14:36:45 +08:00
frontend.yml fix(mcp): proxy server endpoints through frontend gateways 2026-09-22 17:36:03 +08:00
go-lint-cache.yml ci: add golangci-lint workflow gating new PR code (#2696) 2026-08-13 19:26:30 +08:00
go-lint.yml revert: take the plugin system back out of main 2026-09-26 14:58:18 +08:00
helm.yml fix(helm): configure app rollouts and document shared storage (#4180) 2026-10-12 18:10:29 +08:00
mcp-server.yml fix(mcp-server): adopt official PyPI package tencent-weknora-mcp [v1.1.1] 2026-07-30 15:52:28 +08:00
release-lite.yml fix: remove GPL converter and bundle third-party license sources 2026-09-08 15:19:10 +08:00