FluidServe command-line interface
FluidServe is the local command-line interface for giving coding agents controlled access to finished FluidVoice meetings. The fv-serve helper handles meeting queries, access checks, and skill guidance as short-lived commands. It does not start a server, capture audio, or run an AI model.
Command-line boundary
The fv-serve executable runs one request and exits. It receives command arguments, reads the app's meeting data and access setting, then writes one result to standard output or standard error. This lets an agent use the interface without a running FluidVoice window or a long-lived session.
The helper binds access to the app that supplied it. It resolves its actual installed path, follows its enclosing app bundle, and uses that app's identity when it checks the sharing setting. The app can also run the same executable for a bounded self-check.
The command boundary connects the app, its stored meeting data, and an external coding agent:
flowchart LR
A[FluidVoice app] -->|sets access| P[App preferences]
A -->|installs guidance| S[fluidmeet skill]
G[Coding agent] -->|runs one request| E[fv-serve]
E -->|checks| P
E -->|reads finished meetings| M[Meeting store]
E -->|returns result| G
A -->|runs status check| E
The interface is read-only for meeting data. It serves only usable finished records and does not change the meeting store when it lists, searches, or displays content.
Command groups
FluidServe groups its external actions by purpose. meet provides meeting content, status checks the access boundary, and skill provides the agent guidance needed to call the helper.
| Group | Purpose | Main consumer |
|---|---|---|
meet | List meetings and read transcripts or saved summaries | Coding agent or shell user |
status | Report access state and available meeting count | FluidVoice self-check |
skill | Print the fluidmeet agent guidance | Installation flow or agent |
Meeting operations
The meet group turns stored meeting records into agent-readable results. An agent can begin with a recent meeting list, then select a meeting by latest, full ID, or unique ID prefix for a transcript, summary, or text search. See meeting transcription for the wider capture and transcript flow.
The group supports these operations:
meet listreturns recent finished meetings with optional time, count, and JSON filters.meet show <id|latest>returns meeting details and timestamped speaker turns. Time bounds and JSON output are available.meet summary <id|latest>returns a saved summary that is still valid for the current meeting content and summary prompt.meet search ... textfinds matching transcript lines and groups them by meeting.
Access self-check
The status group is the health boundary between FluidVoice and an external agent. Human-readable output serves a shell user. status --json gives the app a small machine-readable result with the access state and meeting count.
The app maps the helper result to three product states:
| Result | Meaning |
|---|---|
working | The helper returned valid access data and a meeting count. |
accessOff | The helper ran, but meeting access is not enabled. |
failed | The helper could not start or returned invalid, failed, or late output. |
The self-check uses the real bundled executable. It runs outside the UI thread and has a time limit, so it proves that the installed command boundary works without becoming a second meeting service.
Skill output
The skill command prints the fluidmeet document for a coding agent. The document explains when to call fv-serve, how to narrow large meeting reads, and how to treat transcript text as data. It includes the helper's full installed path so the agent can run the intended copy.
The skill contains guidance rather than meeting data. The app can therefore print or install it even when meeting access is disabled.
App service boundaries
FluidServe keeps the command contract separate from the app services that grant access and manage agent guidance. The helper checks the app preference and reads meeting data. The app integration flow owns consent, skill installation, and self-check decisions.
Meeting access boundary
Meeting sharing is opt-in. The app enables one shared access setting when the user adds a supported skill or confirms copied instructions. The helper reads that setting before it returns meeting content. When access is off, status can report the state, but meet does not expose records.
This setting represents access for the Mac rather than one single agent file. Removing one known skill does not stop sharing if another supported skill or an explicit copied-instructions choice still grants access.
Skill installation boundary
The app installs fluidmeet guidance for recognized coding agents and can show instructions for other agents to copy. It changes a skill file only when the file is absent or carries FluidVoice ownership. A skill from another source remains untouched.
The app reports skill state in terms of what the user can do:
| Status | Meaning |
|---|---|
| Not on this Mac | The recognized agent is not installed. |
| Not added | The agent exists without a fluidmeet skill. |
| Skill added | The skill matches this app and helper path. |
| Needs update | FluidVoice owns the skill, but its content or path is old. |
| Another skill already there | Another source owns the same skill name. |
The installation flow verifies its result by reading the file again. This keeps the reported state aligned with what the agent will actually use.
Bundled helper boundary
The app finds fv-serve in its bundled helper area and puts that exact path into generated guidance. The executable uses its resolved location and enclosing app identity when it checks access. A moved app can therefore make an installed skill stale even though the command contract itself has not changed.
Agent usage flow
An agent normally reaches meeting content through the installed fluidmeet skill. The skill provides the command path and safe-use rules. FluidServe then returns current meeting data only after the app grants access.
The normal exchange has these stages:
- The user adds the skill in FluidVoice or copies its guidance to another agent.
- The app enables the shared access setting and can run its self-check.
- The agent runs
fv-serve meet list, unless the user already identifies a meeting. - The agent uses
meet show,meet summary, ormeet searchfor the needed content. - The agent reports timestamps and uncertainty when transcript text is not exact.
The generated skill is the authoritative guide for command use. The local API is a separate app-facing service boundary, not an alternate route for this external agent interface.
Change checklist
When these files or sections are changed, remember to consider these:
- Keep command usage, generated
fluidmeetguidance, and app installation behavior aligned. - Preserve the access-setting and enclosing-app identity contract between the app and helper.
- Update the app's self-check mapping when
status --jsonfields or exit behavior change. - Keep skill ownership checks compatible with skills installed by older app versions.
- Keep the helper path in generated skills synchronized with the app bundle layout.
- Preserve the rule that meeting commands read only finished records with usable transcripts.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| Meeting access is off | meet commands return an access error without meeting text. | The helper checks the shared app setting before serving content. |
| The helper is missing or moved | Agents cannot run the saved command and the self-check fails. | The app discovers the bundled path and marks stale skills for update. |
A foreign fluidmeet skill exists | FluidVoice does not replace or remove the other source's file. | Skill changes require FluidVoice ownership. |
| The helper is copied or launched under another name | It cannot select a different app's access setting through the command call. | The helper resolves its real executable location and enclosing app identity. |
status --json times out or returns invalid data | The app cannot prove that the integration works. | The self-check bounds the process and validates its result. |
Key files
| File | Why to read it |
|---|---|
| Sources/…/main.swift | Shows the short-lived executable boundary and its link to app identity, preferences, and the command runner. |
| Sources/…/FluidServeCommand.swift | Defines the command groups, options, output, and exit behavior. |
| Sources/…/FluidServeMeetings.swift | Defines the read-only meeting view used by listing, display, search, and summary operations. |
| Sources/…/FluidServeSkill.swift | Defines the agent guidance printed by skill and installed for agents. |
| Sources/…/FluidServeSkillInstaller.swift | Defines helper discovery, skill ownership, installation, and removal. |
| Sources/…/FluidServeSelfCheck.swift | Defines how the app runs and interprets the real helper process. |
| Sources/…/MeetingAgentIntegrations.swift | Shows the app flow for consent, skill setup, self-checks, and stopping access. |
| Sources/…/SettingsStore.swift | Defines the preference that forms the meeting-sharing boundary. |