Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions OpenBitFun-Installer/src/i18n/generatedLocaleContract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export const SHARED_TERMS_BY_APP_LANGUAGE = {
"Claw": "Assistant",
"Cowork": "Cowork",
"DeepResearch": "Deep Research",
"PaperWriting": "Paper Writing",
"ComputerUse": "Computer Use",
"default": "Default Assistant"
},
Expand Down Expand Up @@ -144,6 +145,7 @@ export const SHARED_TERMS_BY_APP_LANGUAGE = {
"Claw": "助理",
"Cowork": "办公协作",
"DeepResearch": "深度研究",
"PaperWriting": "论文写作",
"ComputerUse": "电脑操作",
"default": "默认助手"
},
Expand Down Expand Up @@ -206,6 +208,7 @@ export const SHARED_TERMS_BY_APP_LANGUAGE = {
"Claw": "助理",
"Cowork": "辦公協作",
"DeepResearch": "深度研究",
"PaperWriting": "論文寫作",
"ComputerUse": "電腦操作",
"default": "預設助手"
},
Expand Down
4 changes: 2 additions & 2 deletions docs/interactive-capabilities/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ OpenBitFun Playbook currently contains **22 features**, **22 settings pages**, a
- Generated per-item interaction audit: `docs/interactive-capabilities/technical/product-control-open-audit.json`
- Generated low-level audit map: `docs/interactive-capabilities/technical/tauri-command-map.json`

说明书、网站、搜索和智能体只看“功能 + 设置 + 子能力”。每项子能力都必须引用已注册 Tauri Command 或可解析的源码标记;这些证据不会进入公开目录。当前 **707** 个 Tauri 命令只用于实现覆盖审计。产品 UI 交互源码会在生成和检查时扫描并校验,但不会保存成随普通 UI 改动频繁变化的版本化快照。
说明书、网站、搜索和智能体只看“功能 + 设置 + 子能力”。每项子能力都必须引用已注册 Tauri Command 或可解析的源码标记;这些证据不会进入公开目录。当前 **708** 个 Tauri 命令只用于实现覆盖审计。产品 UI 交互源码会在生成和检查时扫描并校验,但不会保存成随普通 UI 改动频繁变化的版本化快照。

Docs, website, search, and agents see only features, settings, and documented sub-capabilities. Every sub-capability must reference a registered Tauri command or a resolvable source marker; evidence is stripped from public projections. The **707** Tauri commands remain implementation-audit evidence only. Product UI interaction sources are scanned and validated during generation and checks, but are not stored as a versioned snapshot that churns with ordinary UI changes.
Docs, website, search, and agents see only features, settings, and documented sub-capabilities. Every sub-capability must reference a registered Tauri command or a resolvable source marker; evidence is stripped from public projections. The **708** Tauri commands remain implementation-audit evidence only. Product UI interaction sources are scanned and validated during generation and checks, but are not stored as a versioned snapshot that churns with ordinary UI changes.

## 控制边界 / Control boundary

Expand Down
22 changes: 18 additions & 4 deletions docs/interactive-capabilities/technical/tauri-command-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"schemaVersion": 2,
"generatedFrom": "src/shared/interactive-capabilities/catalog.json",
"catalogDigest": "8a02be2b328791ebb823e4b7a956bf0371c523caa7f881a6c778cbaa42d72575",
"commandCount": 707,
"commandCount": 708,
"coverage": {
"commandCount": 707,
"commandCount": 708,
"documentedCommandCount": 646,
"implementationCommandCount": 61,
"implementationDigest": "fdb6f78b009b95270d26834349aade36e0987553167f325a9c674a085b876a2d"
"implementationCommandCount": 62,
"implementationDigest": "39288402985a24c84852570c8137b888b15b3d9e1b40448d974085b25c0fcf46"
},
"commands": [
{
Expand Down Expand Up @@ -1316,6 +1316,20 @@
"signature": "fn compact_session( coordinator: State<'_, Arc<ConversationCoordinator>>, request: CompactSessionRequest, ) -> Result<CompactSessionResponse, String>",
"remoteWorkspacePolicy": "RemoteRouted"
},
{
"id": "compile_workspace_latex",
"moduleId": "latex",
"capabilityId": "feature.files-editor",
"capabilityIds": [
"feature.files-editor"
],
"documentedItemIds": [],
"visibility": "implementation",
"rustPath": "api::latex_api::compile_workspace_latex",
"sourceFile": "src/apps/desktop/src/api/latex_api.rs",
"signature": "fn compile_workspace_latex( request: CompileWorkspaceLatexRequest, ) -> Result<CompileWorkspaceLatexResponse, String>",
"remoteWorkspacePolicy": "RemoteRouted"
},
{
"id": "compress_path",
"moduleId": "commands",
Expand Down
11 changes: 11 additions & 0 deletions src/apps/desktop/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,3 +433,14 @@ adapter owns HTTP authentication, explicit-refresh headers and peer RPC wiring.
Use `node tests/e2e/scripts/run-html-preview.mjs` after building Desktop and Web UI
to verify CSS, JavaScript modules, images and concurrent preview cookies in native
browser child views. The fixture uses isolated storage; see `tests/e2e/AGENTS.md`.

For the LaTeX workspace compiler, run:

```bash
cargo test --locked -p openbitfun-desktop --no-default-features --lib latex_api::tests
```

Use `-- --include-ignored` with `latexmk`, pdfLaTeX, and XeLaTeX on PATH to
exercise a multi-file paper build, error diagnostics, and temporary output.
The POSIX build test checks the remote command in a local shell. Verify live
SSH, container, and peer routing separately.
19 changes: 19 additions & 0 deletions src/apps/desktop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,25 @@ Both modes require the online identity service for sign-in. Same-network mode
does not provide offline login. See the [Relay FAQ](../relay-server/FAQ.md) for
privacy, service availability, and private-deployment requirements.

## Writing a LaTeX paper

Choose **Other agents → Paper Writing** in the session composer and ask the
agent to draft or revise files in your workspace. Open the main `.tex` file
from the file tree or its chat link. The editor shows source on the left and the
typeset PDF on the right. Use **Save & compile** or turn on **Auto compile**
to save and recompile the main source after you pause. A failed build keeps the
last successful preview and shows the compiler log.

Install `latexmk` and the selected pdfLaTeX or XeLaTeX engine on the machine that
owns the workspace. For SSH, Docker, and WSL workspaces, compile in that
environment. In Peer Device Mode the selected Desktop host must advertise
LaTeX preview support. Mobile and bot surfaces can continue an existing writing
session and receive PDF files saved to the workspace by the agent.

Preview compilation uses temporary files and accepts PDFs up to 8 MiB.
It disables shell escape and skips `latexmk` configuration scripts.
Enable automatic compilation for projects you trust.

## Global agent instructions

Put personal instructions for local OpenBitFun sessions in
Expand Down
Loading
Loading