30 Commits
Author SHA1 Message Date
ashhart 3621038b2a app: MCP tool images reach the next model request
Squashed onto main: the two commits conflict one at a time with main's Streamable HTTP MCP changes in app/electron/agent/tools.ts, while the whole change merges cleanly.
2026-12-01 03:25:35 +00:00
ashhart 093eb4a911 app: Streamable HTTP MCP servers
Remote MCP tools reach the existing Plugins editor, configuration storage,
IPC approval, launch identity, host, paginated discovery and tool calls.
Stdio MCP is unchanged. The transport follows the 2025-06-18 / 2025-03-26
POST flow with bounded JSON and SSE replies.

- Endpoints default to public HTTPS; private networks are an explicit
  per-server choice. Each request pins its resolved destination before
  connecting, and redirects are refused.
- Protected headers are encrypted at rest, masked in settings, and bound
  to the destination: changing the destination or transport drops them.
  Signed approval identity covers destination, network and headers.
- Requests carry IDs, deadlines, cancellation, validated session IDs and
  the negotiated protocol header. A 404 ends the session; cleanup sends
  DELETE. A failed call that may have mutated is not replayed.
- Catalog refreshes are generation-bound, so paginated listing cannot
  recurse into refresh storms.
- MCP tool calls take the agent's abort signal.
- Twelve locale packs gain the new fields; the pack index is regenerated.

Not included: OAuth, the legacy HTTP+SSE transport, idle GET streams,
Last-Event-ID resumption, and client sampling, elicitation or roots.
2026-11-30 22:11:46 +00:00
eXsoR65 73c38a92ca app: refuse when the repository walk cannot inspect a path
Review follow-up: a permission or I/O error while walking used to skip
the directory, which could hide a repository with writable config and
hooks. Missing entries still mean nothing to pin; every other inspection
failure refuses the command.
2026-11-21 04:38:33 +00:00
eXsoR65 4d7f15e75d app: refuse walk limits, freeze worktree pointers and pin missing control files
Review follow-up: the nested-repository walk now refuses at its depth and
directory bounds instead of skipping deeper entries and dependency folders,
a worktree pointer is mounted read-only so a writable run cannot repoint the
workspace at metadata it built, and control entries a repository lacks are
mounted read-only from empty placeholders so they cannot be created.
2026-11-21 04:38:33 +00:00
eXsoR65 1b3b491485 app: pin nested repositories and refuse unprotected worktrees in the Linux sandbox
A writable workspace pinned only its own .git, so a nested repository or
submodule could have its config and hooks changed from inside the sandbox,
and a worktree pointer could name a gitdir the profile never mounted. Pin
every .git under the workspace with the same read-only control entries,
and refuse a worktree whose gitdir or shared directory is outside the
workspace. A workspace with no repository keeps commands refused, because
bwrap cannot deny creating .git by name.
2026-11-21 04:38:33 +00:00
AIFlow_ML af307a5b56 docs: clarify macOS Orchestrator profile paths 2026-11-20 16:50:49 +00:00
ashhart 7007cfae37 app: the Desktop benchmark accepts the engine's community-v2 suite and keeps a failed run's details (fixes #3942)
Engines since the suite moved to community-v2 write receipts the app refused, so every Desktop benchmark ended
"protocol not satisfied" with no recorded details. app/shared/benchmark-suites.json is the one table of suites the
app accepts (community-v2, and community-v1 with its legacy hash for older engines); the receipt check, the test
fixtures and the fake engine read it. The UI, copy text, docs and language packs name community-v2.

A run whose receipt is missing or fails validation keeps the runtime, model, hardware and settings sections that pass
their own shape and privacy checks, so a failed run can be diagnosed; saved history re-checks them.
2026-11-19 21:27:30 +00:00
ashhart 8c36359d53 docs: the Orchestrator's /v1 is its remote-control API, not an OpenAI-compatible one
Explains the 401 on OpenAI-style paths, how a phone pairs with the web client, and what a chat app
should point at instead.

Refs #1410
2026-10-26 18:11:38 +00:00
ashhart c07d73ed85 docs: the Google connector ships in beta.9, with a sign-in troubleshooting list
The connections page still said the connector was not in the beta.7
installer. It names the installer that carries it now, and adds what to
check when a sign-in fails: the Desktop app client type, test users for a
project in Testing, the Gmail and Calendar APIs, what each browser message
means and how to retry.
2026-10-23 21:15:13 +01:00
ashhart cddcb2a0dc app: release beta.9 with Google account recovery 2026-10-22 21:19:46 +01:00
ashhart 4bdabeb493 Maintainer fix-up for #1122: hook order, the port documents, cancelled loads
The five mechanical findings of the maintainer review of #1122, each with a
test that fails without it.

- Models returned before its hooks, so React reported #310 when the engine
  appeared. The gate moves above the workspace into a component with no hooks.
  The workspace body is unchanged line for line, and its own test only learned
  to render the child the gate now returns. The new test is the rule the pull
  request carries for its own files: src/Models.hooks-order.test.ts.
- The port baseline named a person's home directory and a personal fork account.
  Both are the operator's own words now, and scripts/linux-port-docs.test.mjs
  holds every port document to naming no account but the repository's own.
- The baseline called its setup reproducible because of two files the
  repository does not hold. It describes the setup in prose, and the same test
  holds the instructions to naming only what the repository holds.
- The sandbox review claimed the bubblewrap backend the scoping commit took
  out. It says the backend is not part of this change, and the same test holds
  that claim to the tree.
- A cancelled main-frame load raised the renderer's error box. Electron reports
  a replaced load as ERR_ABORTED (-3), which the handler now ignores. A real
  load failure and a child frame are reported as before.

Replacing the merge of main with a replay also left three conflicts on the
contributor's side where their own merge had taken main's. In
scripts/smoke-packaged-mac.test.mjs that declared a name twice, so the file
failed to parse and its test never ran. All three are restored to the merge's
result, and the tree is now the pull request's tree plus this commit.

The document guard resolves exact repository paths at each instruction's working
directory and derives its account allowlist only from canonical release URLs.
Two regressions reject a missing-directory basename match and shell-path tokens
that previously became project accounts.
2026-10-22 20:00:52 +01:00
eXsoR65 f002087ed1 docs: refresh the suite count after the upstream merge 2026-10-22 20:00:52 +01:00
eXsoR65 850ed6a150 app: scope the Linux PR to client portability and packaging
Per review: LAN providers stay external, and commands stay refused
until the git and worktree sandbox gaps are closed, so the bubblewrap
backend is out of this change (preserved on sandbox-followup). Add an
Ubuntu 24.04 AppImage job that builds the artifact, runs a clean-install
smoke of the AppImage itself, and uploads it.
2026-10-22 20:00:52 +01:00
eXsoR65 19f560adf1 docs: record the trust class and the bot file-access limit 2026-10-22 20:00:52 +01:00
eXsoR65 6860ab6ef8 app: let the TensorFold network preset count as a local engine
Bots require a local model (privateContext 'bot'), so a TensorFold
engine on the LAN was planning-only and could not run a bot at all.
Mark that preset trustedNetwork and classify it as trusted-local while
its address stays loopback, RFC1918, IPv6 unique-local or .local; a
public address stays external, CLI transports stay external, and any
hand-added LAN provider remains external.
2026-10-22 20:00:52 +01:00
eXsoR65 7d10a20438 docs: record the Fedora 42 startup and Wayland findings 2026-10-22 20:00:52 +01:00
eXsoR65 d36ea29ea3 app: add a TensorFold provider preset for an engine on the network
On Linux the built-in engine entry only reports the bundled local
engine, so a TensorFold server on another machine had to be entered by
hand as an unlisted model id. Add a local preset for it, let provider
discovery probe any OpenAI-compatible endpoint (kind: custom) with the
typed address and API key, and pass those fields from onboarding
detection instead of always probing localhost. The preset reuses
registered UI strings, so no translations are added.
2026-10-22 20:00:52 +01:00
eXsoR65 4c91cf8479 docs: document connecting the Linux desktop to a remote TensorFold engine
The desktop does not bundle an engine on Linux, so inference comes from
an OpenAI-compatible provider. Record the serve flags, the /v1/models
check, LAN versus SSH-tunnel trade-offs, and how provider
classification differs between a LAN address and loopback.
2026-10-22 20:00:52 +01:00
eXsoR65 098993f26a app: add a Linux command-sandbox conformance test and an explicit opt-in
The bubblewrap backend now runs a real conformance test: workspace
writes, refusal outside the mounted roots, read-only profile refusal,
git hooks/config pinning, network denial versus the network-fetch
profile, and prompt cancellation. It passes on this Debian host.

Because git metadata for absent, nested and worktree repositories is
still unprotected, the backend stays behind TENSORFOLD_LINUX_SANDBOX=1
instead of defaulting on. The Linux CI lane runs the conformance test
so the evidence stays current.
2026-10-22 20:00:52 +01:00
eXsoR65 5742e2594e docs: record the Linux desktop port plan, status and sandbox review
Capture the contribution plan, the verified baseline, the current
status with evidence, and the outstanding Linux sandbox blockers next
to the app documentation.
Maintainers removed a local path from this document.
2026-10-22 20:00:52 +01:00
ashhart b7ce81219d Ship beta 8 desktop app with TensorFold 1.1.0
Add conversation search, document workflows, language packs, local benchmarks and reviewed compute setup to the desktop workspace.
Keep native distributed execution and Cortheon gated, preserve remote-provider privacy, and align cache admission and benchmark receipts with the verified engine release.
2026-10-18 21:47:07 +01:00
ashhart 64b7068f47 fix(app): prepare beta.6 memory, phone privacy and composer
Publish accepted memory revisions to the renderer and prevent queued replay from reverting newer choices. Keep phone-derived approval metadata out of automatic webhooks and native notifications while retaining owner UI access.

Pause Cortheon for beta.6, keep composer actions aligned, and correct the historical beta.5 engine note.

Validation: 545 test files, TypeScript, mobile checks, production build and independent composed regression checks pass; native saved-memory saves succeed after real model turns and restart. Distribution remains gated separately.
2026-10-14 15:19:31 +01:00
ashhart e7a73dba0b Merge #834: scoped bots, saved-memory controls and a simpler chat layout
openai.ts keeps main's wrapped provider-error lines; both sides write "HTTP <status> <text>: <body>".
2026-10-14 12:38:03 +01:00
ashhart bfa95321d2 Add scoped bots, saved-memory controls and a simpler Full chat layout
Keep captured bot and phone restrictions through forks, child and mission admission, and each model request. Preserve operational worker mailboxes with saved recall off, filter protected source history and isolate automatic phone extension hooks. Add reviewed portable recipes and keep current engine 1.0.10 with accurate historical beta.5 notes.
2026-10-14 12:20:19 +01:00
ashhart aca58a4920 app: docs and README call the app TensorFold
Third-party names (LM Studio, Mac Studio) are unchanged.
2026-10-14 11:17:26 +01:00
ashhart f37c316096 app: bundle engine 1.0.10
Pin the 1.0.10 macos-arm64 release archive (sha256 85987885...), point the Cortheon privacy link at the 1.0.10 docs, and say so in the beta.6 notes.
2026-10-14 11:17:13 +01:00
ashhart cabbe3d2f5 app: wrap long lines and drop em dashes from provider errors
Provider HTTP errors now read "HTTP <status> <text>: <body>", and the model-list parser and its test follow.
2026-10-14 10:52:40 +01:00
ashhart d9afb20c39 Match macOS minimum to the bundled speech runtime
ONNX Runtime requires macOS 13.3, while the app previously declared 13.0. Raise the declared minimum and verify every bundled native binary against it during development and release packaging.

Validation: 517 test files, TypeScript and mobile checks, production build, three packaging suites, and a fixture with the exact 26 native binaries.
2026-10-14 09:19:26 +01:00
ashhart bff1c98e2f Add local bot workspace and harden private chat execution
Prepare the unreleased beta.6 source with isolated local bot VMs, structured user questions, model response checks, truthful run outcomes, schedule fixes and Incognito retention boundaries.

Validation: 515 test files, TypeScript, mobile verification and production build pass; native GUI, signing, notarization and device qualification remain pending.
2026-10-14 05:34:50 +01:00
ashhart c126fe16e3 Add TensorFold desktop and mobile workspace under app/
Bundle engine 1.0.9 and the native computer helper, preserve existing application and update identities, and add app-scoped verification. Import a sanitized source snapshot without the private development history or internal notes.
2026-10-13 20:13:17 +01:00