Build AI Studio 1.1 for macOS #1
@@ -0,0 +1,44 @@
|
||||
# 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 | Awaiting external checks | Authenticated gateway tests, archive verification, live remote interoperability and distribution signing |
|
||||
| 4. Chat workspace | Complete | Chat search and rename, formatted answers, global prompt modes, prompt builder, performance dashboard |
|
||||
| 5. MCP compatibility | Planned | Stdio transport and broader authentication and interaction support |
|
||||
|
||||
## 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.
|
||||
- [ ] Run a smoke test against a real remote MCP endpoint.
|
||||
- [ ] Sign and notarize with a Developer ID Application identity and 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.
|
||||
|
||||
## 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.
|
||||
@@ -20,6 +20,19 @@ Open **Settings → MCP Tools**, enter an MCP HTTP endpoint, and choose **Discov
|
||||
|
||||
The client supports Streamable HTTP with current stateless discovery and legacy initialization, session headers, and JSON or server-sent event responses. Remote MCP endpoints require HTTPS. Optional bearer tokens stay in memory. Tool calls require explicit confirmation and are sent once. Stdio, OAuth sign-in, and server-requested follow-up interactions are outside the supported MCP scope.
|
||||
|
||||
## 4. Customize prompts and review performance
|
||||
|
||||
Choose a **Global Prompt** in the composer. Default, Concise, Coding, Study,
|
||||
Creative, and Custom are available across conversations. **Prompt Builder**
|
||||
turns structured inputs into a prompt you can copy, put in the composer,
|
||||
or save as the global system prompt. Global settings persist across launches.
|
||||
|
||||
Search conversation titles and messages in the sidebar. Rename the selected
|
||||
chat with the pencil button. Completed replies render inline Markdown and fenced
|
||||
code blocks with copy controls. The **Performance** dashboard tracks the last
|
||||
50 generations in this session, including latency, duration, output size,
|
||||
backend, and tokens per second when the provider supplies it.
|
||||
|
||||
## Build and test
|
||||
|
||||
From the project root, run `Scripts/build.sh` to build and open AI Studio. It defaults to Debug. Use `./build.sh Release` for a Release build, or add `--no-launch` after the configuration to build without opening the app. Run `Scripts/test.sh` for XCTest, including the local MCP and Ollama management fixture. It requires Python 3 for the fixture and keeps its logs and results in the temporary build directory.
|
||||
|
||||
Reference in New Issue
Block a user