157 lines
12 KiB
Markdown
157 lines
12 KiB
Markdown
# AI Studio phase progress
|
|
|
|
| Phase | Status | Scope |
|
|
| --- | --- | --- |
|
|
| 1. Native foundation | Complete | SwiftUI chat, Ollama-first inference, MLX fallback, SQLite persistence, scripts |
|
|
| 2. Studio features | Complete | App icon and startup screen, MLX catalog, Qwen thinking, document retrieval, MCP Streamable HTTP tools |
|
|
| 3. Release readiness | Partially verified | Gateway, Developer ID archive, and remote MCP verified. Remote Ollama and notarization pending |
|
|
| 4. Chat workspace | Complete | Chat search and rename, formatted answers, global prompt modes, prompt builder, performance dashboard |
|
|
| 5. Generation and local tools | Awaiting Docker daemon check | Silent system instructions, runtime parameter overrides, confirmed Docker commands, Finder file actions |
|
|
| 6. Compatibility extensions | Verified | Live LM Studio discovery and streamed chat, plus MCP stdio fixture |
|
|
| 7. Desktop and runtime controls | Complete | Selected-file previews and attachments, MLX idle eviction and weight limit |
|
|
| 8. Workspace and integration improvements | Baseline verified | LM Studio config import, Msty-style resource library and Toolbox, composer fixes, appearance, backups, registered MLX folders |
|
|
| Final external verification | Awaiting endpoint and notary profile | Remote Ollama and Apple notarization. Docker daemon verification remains separate |
|
|
|
|
## Phase 6 checklist
|
|
|
|
- [x] Verify OpenAI-compatible model discovery and streamed chat.
|
|
- [x] Verify with a running LM Studio server.
|
|
- [x] Verify MCP stdio discovery, confirmed invocation support, cancellation, and disconnect against a local fixture.
|
|
|
|
## Phase 3 checklist
|
|
|
|
- [x] Keep build, test and release entry points together in `Scripts/` and resolve the project root from their location.
|
|
- [x] Verify that the build command opens the app.
|
|
- [x] Verify authenticated Ollama streaming, invalid credentials and redirect handling with the loopback gateway.
|
|
- [x] Verify the ZIP checksum, then extract it and verify the app signature and arm64-only executable.
|
|
- [ ] Run a smoke test against a real remote Ollama endpoint with a preinstalled model.
|
|
- [x] Run discovery, source inventory, and read-only search against the Pegasus MCP server over SSH stdio.
|
|
- [x] Verify discovery, inventory, and search against the live Pegasus Streamable HTTP endpoint at `https://kb.absdev.net/mcp`. Search and inventory passed before the indexed files were removed. A subsequent check needs a restored or rebuilt index.
|
|
- [x] Sign with Developer ID Application and verify the extracted app has hardened runtime.
|
|
- [ ] Notarize and staple with a configured notary profile.
|
|
|
|
## Phase 4 checklist
|
|
|
|
- [x] Search chat titles and body text, rename conversations, and copy replies or fenced code blocks.
|
|
- [x] Add global prompt presets and editable custom instructions stored in app preferences.
|
|
- [x] Build prompts from role, task, context, audience, constraints, format, examples, and success criteria.
|
|
- [x] Display generation histories, time to first output, wall-clock time, and provider-reported throughput.
|
|
- [x] Verify the workspace changes with XCTest, rebuild the app, and confirm the build launches.
|
|
|
|
## Workspace follow-ups
|
|
|
|
- [x] Import text chats from the installed Msty Studio database schema, scan a chosen folder for AI Studio backups, and relocate a workspace. Msty attachments and non-chat resources are outside the importer.
|
|
- [x] Add editable appearance shortcuts, chat rendering options, and a side-by-side conversation comparison.
|
|
- [x] Add independent composers and concurrent generation across two conversations. Both panes use the current model configuration.
|
|
- [x] Extend Prompt Library with notes, tags, and version history. Add rendered web clip capture in an isolated WebKit session. Interactive sign-in has not been verified.
|
|
- [x] Document the ACP adapter, diff review, tool history, and compatible proxy configuration design.
|
|
- [ ] Implement and validate ACP adapters, diff review, and tool history. Verify a selected separate local proxy.
|
|
- [x] Evaluate LM Studio runtime and plugin parity. See [Integration notes](#integration-notes).
|
|
- [x] Verify tool discovery on the repaired Gitea stdio profile.
|
|
|
|
## Verification log
|
|
|
|
**16 November 2026.** The release-readiness test run passed 17 checks and skipped
|
|
the opt-in catalog download. The run covered live local Ollama, native MLX
|
|
fallback, and an authenticated loopback gateway. Remote verification requires
|
|
the intended Ollama and MCP endpoints. Developer ID signing requires an
|
|
installed Developer ID Application identity and a configured notary profile.
|
|
|
|
**16 November 2026.** The workspace test run passed 21 of 22 checks with the
|
|
opt-in catalog download skipped. It exercised live local Ollama and MLX,
|
|
prompt assembly, throughput calculations, Markdown code blocks, and chat
|
|
search and rename. The Debug build launched from `Scripts/build.sh`.
|
|
|
|
**16 November 2026.** The release archive matched its SHA-256 checksum. The
|
|
extracted app passed strict signature verification and contained only the
|
|
arm64 executable slice. The package used ad-hoc signing for local testing.
|
|
|
|
**16 November 2026.** Generation settings and Local Tools built successfully.
|
|
24 tests passed and the opt-in catalog download was skipped. The live Ollama
|
|
and MLX checks used temperature and token-cap overrides. The new tests cover
|
|
the system-role request, option encoding, cross-chunk stop matching, and Docker
|
|
argument handling. Docker CLI discovery succeeded; the local daemon socket
|
|
was missing during the read-only test. Finder actions were compiled.
|
|
|
|
**16 November 2026.** The compatible endpoint passed authenticated model
|
|
listing and SSE streaming tests against a local fixture. The running Ollama
|
|
server also completed a direct smoke check of the compatible wire format.
|
|
The Debug build succeeded. 26 tests passed and the opt-in catalog download
|
|
was skipped. A live LM Studio check remains pending because its local server
|
|
was unavailable.
|
|
|
|
**16 November 2026.** Local MCP stdio passed process startup, version
|
|
negotiation, paginated discovery, invocation, cancellation and reconnect
|
|
tests. The Debug build passed. 28 tests passed and the opt-in catalog
|
|
download was skipped. One implementation phase remains, followed by
|
|
external verification.
|
|
|
|
**16 November 2026.** The Debug build passed. 30 tests passed and the
|
|
opt-in catalog download was skipped. Tests covered bounded UTF-8 file
|
|
previews, model-weight accounting, and rejection and idle eviction with a
|
|
live MLX model. Desktop and runtime implementation is complete. The final
|
|
external verification milestone remains.
|
|
|
|
**16 November 2026.** The workspace update built and launched. 36 tests
|
|
passed and the opt-in download was skipped. The installed Local Knowledge
|
|
server advertised search_knowledge using its LM Studio profile. Tests also
|
|
verified workspace backup and restore, web text extraction, performance
|
|
history encoding, and Return handling. The former Gitea stdio script is
|
|
missing; the separate GiteaMCP project speaks Streamable HTTP. The workspace
|
|
follow-up checklist tracks the remaining reference-app features.
|
|
|
|
**16 November 2026.** Toolbox gained SearXNG search and static web-page
|
|
retrieval. The local search and article fixture verified query encoding,
|
|
result deduplication, extraction, and source URLs. The Debug build passed.
|
|
34 tests passed and four opt-in checks were skipped. A live SearXNG check
|
|
requires the intended instance and JSON output enabled.
|
|
|
|
**16 November 2026.** The built-in Web toolset now appears in MCP Servers
|
|
without external server setup. Both tool calls passed against the local
|
|
web fixture. The installed Local Knowledge MCP profile passed discovery.
|
|
The Debug build passed with 37 tests passing and three opt-in checks skipped.
|
|
|
|
**16 November 2026.** Toolbox now shows the MCP servers as separate rows
|
|
with connection status and has full-width section labels. The local Gitea
|
|
profile was repaired and discovered successfully. Chat Web retrieves typed
|
|
links including the live Laravel homepage and handles explicit SearXNG
|
|
searches. Verified Ollama model listing, MLX discovery, local vector counts
|
|
and a Chroma/MCP query fixture. Added eight theme palettes. The Debug build
|
|
passed, with 44 tests passing and one opt-in download skipped.
|
|
|
|
**16 November 2026.** Workspace navigation now uses full sidebar labels.
|
|
Toolbox keeps each MCP server connected independently with one-step
|
|
connection and per-server call progress, cancellation and results.
|
|
Built-In Web, Local Knowledge, and Gitea stayed connected together in a
|
|
live discovery test. Separate calls overlapped in the concurrency test.
|
|
The Debug build launched a fresh instance. 44 tests passed and three
|
|
opt-in inference checks were skipped.
|
|
|
|
**16 November 2026.** Connected Local Knowledge is now used automatically in
|
|
chat. A Gitea repository-list request goes through the connected server before
|
|
generation. The local Gitea launcher was repaired to read its existing token
|
|
file. The authenticated read-only repository listing and the complete chat
|
|
request containing both knowledge and repository context passed. The composer
|
|
uses one compact control row. Debug built and launched. 46 tests passed,
|
|
with three opt-in inference checks skipped.
|
|
|
|
## 17 November 2026 verification
|
|
|
|
- The compatible client discovered and streamed from a Qwen 3.5 model on a live loopback LM Studio server. The authenticated compatible fixture and MCP stdio lifecycle fixture also passed.
|
|
- Gitea stdio discovery and read-only repository listing passed. Pegasus returned an indexed-source inventory and answered a read-only knowledge query over the configured SSH stdio connection.
|
|
- The configured inference endpoint was loopback. Pegasus had no reachable Ollama on port 11434 or detected installed Ollama binary, so remote Ollama generation remains pending.
|
|
- The final Debug build launched. The Developer ID release ZIP matched its SHA-256 checksum. The extracted app passed strict signature verification, enabled hardened runtime, and contained only an arm64 executable slice. No notarization profile was located.
|
|
- Phase 4 workspace tests passed. The latest workspace tests also covered reopening the relocated database, refusing to overwrite a destination database, Msty chat import with repeat-import deduplication, and saved prompt versions.
|
|
|
|
## Integration notes
|
|
|
|
### LM Studio parity
|
|
|
|
AI Studio has native MLX inference and delegates Ollama or compatible inference to an external server. The verified LM Studio integration uses the OpenAI-compatible model list and chat stream. Its MCP configuration import covers server definitions. LM Studio's JavaScript plugin runtime has its own SDK and lifecycle. Engine selection, runtime updates, and headless service management are currently external to AI Studio. LM Studio's `lms runtime` and `lms daemon` provide those external controls. [LM Studio CLI](https://lmstudio.ai/docs/cli) · [Headless service](https://lmstudio.ai/docs/developer/core/headless) · [Developer APIs and plugin SDK](https://lmstudio.ai/docs/developer)
|
|
|
|
### ACP and local proxy
|
|
|
|
A future coding adapter should negotiate protocol version and capabilities, maintain an ACP session per selected workspace, and forward prompt updates and cancellation independently of chat inference. Store tool events by session ID and tool-call ID so updates can amend existing entries. Use a read-only diff panel for agent-reported patches. Render approval requests as explicit user decisions and bind any later file operations to the selected workspace. Acceptance checks should cover reconnect, cancellation during permission requests, and accurate rendering of renamed and deleted files. [ACP protocol and schema](https://github.com/agentclientprotocol/agent-client-protocol)
|
|
|
|
For a separately managed OpenAI-compatible local proxy, enter its loopback `/v1` base URL in **Settings → Models → OpenAI-compatible**, refresh model discovery, and select the proxy's model ID. The existing compatible client handles streaming. A separate proxy service and its authentication flow have not been selected or deployed.
|