stuarty

module
v0.41.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: MIT

README

Stuarty

Version Go 1.27.4 License

Stuarty: create, edit, manage and publish your content in one place



Stuarty is an open source (MIT), self-hosted studio for people who make content for the Internet, built so that AI agents are first-class users: everything a person does in the UI can be done through the HTTP API, the CLI and MCP. Files, tokens and credentials stay on your machine or on your own server.

It grew out of a video editor called Vukem Video. The editor is what works today; the rest is being built, epic by epic, from docs/plans/.

What works today: the video editor

Area What you get
Interfaces Editor in the browser
MCP server (stuarty mcp)
CLI with --json
HTTP API (stuarty serve)
Desktop application (a native window over the same web UI)
Editing Captions from a transcript, with editable words and styles
Cuts, trims, splits, ripple, roll, slide and slip, and silence removal
Chroma key, blend modes, masks, filters, effects, colour and blur per clip
Framing, speed curves, transitions and keyframes
Re-target a project to 16:9, 9:16, 1:1 or 4:5 in one command
Text, shapes and markers
Audio ducking and beat marks
Templates and brand kit
Export MP4, GIF, WAV and AAC
A full-resolution PNG of one frame
A range of the timeline
OpenTimelineIO export and import
For agents Agent docs generated from the code: SKILL.md, an AGENTS.md snippet and the MCP instructions
command_help lists every operation with arguments and an example
lint finds problems before export
Batches of operations are applied as one revision
Local and private No telemetry
The server listens on 127.0.0.1
FFmpeg only as a separate LGPL process

What is being built

Area Plan
Projects A project holds a whole production: briefing, scripts, assets, timelines, images, exports and publications
Dashboard One home with a sidebar: Projects, Edit Video, Edit Image, Write, Visual Assets, Video Assets, Publish, Skills, Prompts, Memory, Connections
Image editor Layers, text, shapes, adjustments, masks and templates on the same core and the same renderer as the video editor; thumbnails first
Writing Video scripts, commercial copy and blog posts, with your briefing, your brand and your memory as context
AI Bring your own: an API key, Sign in with ChatGPT, OpenRouter, or the agent you already have installed. Image, voice and video generation with the cost shown first
Agent chat Your own agent (Claude Code, Codex, OpenCode) hosted in a chat panel, working on the open project
Publishing Schedule and publish to YouTube, Instagram and Facebook first, then X and TikTok drafts; blog posts to files, WordPress, a webhook or the API. Nothing is published before you approve it
Memory, skills, prompts Markdown files in your workspace that you and any agent can read
Self-hosting A desktop application and a Docker installation for a VPS, with every credential in an encrypted vault

The requirements are in docs/prds/, the decisions in docs/adrs/ and the order of the work in docs/plans/00-roadmap.md.

How it is built

  • One command core (core/, Go, pure, no I/O) holds every rule of every domain.
  • The UI, the MCP server, the CLI and the HTTP API are thin adapters over one service, so a person and an agent see the same result.
  • The UI never computes the result of an edit: it draws what the core says and sends commands.
  • One renderer (renderer/, Rust compiled to WebAssembly) draws the pixels in the browser and in the exported file.
  • Data leaves the machine only towards a destination you connected, and publishing waits for your approval (ADR-0032).
  • The layout is core/, engine/, renderer/, service/, web/, site/ and desktop/ (ADR-0001).

Quick start

Run the container image of the latest release. The port is published on your computer only:

docker run --rm -p 127.0.0.1:7878:7878 -v stuarty:/data \
  -e APP_KEY="$(openssl rand -base64 32)" \
  -e STUARTY_ADMIN_EMAIL=admin@example.com \
  -e STUARTY_ADMIN_PASSWORD=choose-a-long-password \
  ghcr.io/alexgalhardo/stuarty:latest

Then open http://127.0.0.1:7878 in a browser and sign in with that email and password. The two variables create the first administrator on the first start only; later starts ignore them.

Installers for Windows, Linux and macOS and the desktop application are on the releases page. The documentation site is https://video.vukem.dev; it moves with the rename.

Working with an agent

Add the stdio MCP server to your client:

stuarty mcp

Or use the CLI with --json:

stuarty project:create --name "Launch teaser" --json

Or call the HTTP API of stuarty serve (default 127.0.0.1:7878, POST /mcp for Streamable HTTP MCP). The workspace is ~/.stuarty, or $STUARTY_HOME.

Stability

Versions follow SemVer. Stuarty is in 0.x: a minor release may break. A project or a workspace saved by a released version opens in every later one. See the changelog.

Contributing

To build from source you need Go (see go.mod) and Bun for web/. The task runner is Task: task lint and task test. Read the contribution guide to get started and AGENTS.md for how the team of agents works. The planning documents (requirements, decisions, specifications and epics) are in docs/.

Code of conduct

To keep the community welcoming to everyone, please review and follow the Code of Conduct.

Security vulnerabilities

If you discover a security vulnerability, please follow the security policy instead of opening a public issue.

License

Stuarty is open-source software licensed under the MIT license.

Directories

Path Synopsis
Package core is the pure domain of the editor: no I/O, no vukem import (ADR-0001, ADR-0002).
Package core is the pure domain of the editor: no I/O, no vukem import (ADR-0001, ADR-0002).
approval
Package approval is the pure rule set of the approval queue (ADR-0032 items 3 to 5, SDD-015): what an action needs before it runs (a person, a rule or a refusal), which rule matches, and the cost ceilings.
Package approval is the pure rule set of the approval queue (ADR-0032 items 3 to 5, SDD-015): what an action needs before it runs (a person, a rule or a refusal), which rule matches, and the cost ceilings.
asset
Package asset holds the pure rules of the asset library (SDD-011 section 14, PRD-004 RF-320 to RF-323): the origin of a file and what each kind of origin must say, the tags, the filters that pick a file out of the library, the full-text query, and the projects that use a file.
Package asset holds the pure rules of the asset library (SDD-011 section 14, PRD-004 RF-320 to RF-323): the origin of a file and what each kind of origin must say, the tags, the filters that pick a file out of the library, the full-text query, and the projects that use a file.
chat
Package chat holds the pure rules of the hosted agent chat (ADR-0037, SDD-017): the states of a session and their transitions, what a profile may contain, what a permission request is and which answers a person may give, how agent text is cleaned and clipped, and how a transcript is exported as Markdown.
Package chat holds the pure rules of the hosted agent chat (ADR-0037, SDD-017): the states of a session and their transitions, what a profile may contain, what a permission request is and which answers a person may give, how agent text is cleaned and clipped, and how a transcript is exported as Markdown.
command
Package command holds the command registry, apply, inverse and errors.
Package command holds the command registry, apply, inverse and errors.
export
Package export holds the pure rules of exporting a video for a network: the table of presets with the source and the date of every limit, the check of a project against a preset, the codec names and the bit rate a preset asks for (SDD-004 sections 8.2 and 8.3, SDD-002 A.13).
Package export holds the pure rules of exporting a video for a network: the table of presets with the source and the date of every limit, the check of a project against a preset, the codec names and the bit rate a preset asks for (SDD-004 sections 8.2 and 8.3, SDD-002 A.13).
image
Package image is the second kind of document of Stuarty, a canvas with a tree of layers (SDD-021, ADR-0038): its types, its catalogue of commands, the batch machinery with undo, its one-frame plan for the renderer, its templates and its lint.
Package image is the second kind of document of Stuarty, a canvas with a tree of layers (SDD-021, ADR-0038): its types, its catalogue of commands, the batch machinery with undo, its one-frame plan for the renderer, its templates and its lint.
library
Package library holds the pure rules of the library of a workspace: memory notes, skills and prompts kept as Markdown files with front matter (ADR-0040, SDD-018).
Package library holds the pure rules of the library of a workspace: memory notes, skills and prompts kept as Markdown files with front matter (ADR-0040, SDD-018).
lint
Package lint holds the structural checks of a timeline that return text.
Package lint holds the structural checks of a timeline that return text.
motion
Package motion holds the pure rules of the hand-off from an external motion engine (SDD-011 section 15, epic 33): what a render must fit (the brief), what does not fit in a file that came back (the check) and which clips of a timeline read an earlier render of the same animation.
Package motion holds the pure rules of the hand-off from an external motion engine (SDD-011 section 15, epic 33): what a render must fit (the brief), what does not fit in a file that came back (the check) and which clips of a timeline read an earlier render of the same animation.
otio
Package otio converts a timeline document to and from OpenTimelineIO (RF-065, SDD-001 §9).
Package otio converts a timeline document to and from OpenTimelineIO (RF-065, SDD-001 §9).
plan
Package plan computes the frame plan: what is where at frame t.
Package plan computes the frame plan: what is where at frame t.
project
Package project holds the pure rules of a production (ADR-0039, SDD-005 section 5.12): which kinds of item a project holds, how they are ordered, what may be added or trashed, and what the production state is.
Package project holds the pure rules of a production (ADR-0039, SDD-005 section 5.12): which kinds of item a project holds, how they are ordered, what may be added or trashed, and what the production state is.
provider
Package provider holds the pure rules of the AI provider layer (SDD-016): what a text request may ask for, how a price is written, and how the cost of a request is estimated before it runs and counted after it ends.
Package provider holds the pure rules of the AI provider layer (SDD-016): what a text request may ask for, how a price is written, and how the cost of a request is estimated before it runs and counted after it ends.
publish
Package publish is the pure rule set of a publication (ADR-0032, ADR-0035, SDD-020): what a post is, what a network allows, and the states an upload goes through.
Package publish is the pure rule set of a publication (ADR-0032, ADR-0035, SDD-020): what a post is, what a network allows, and the states an upload goes through.
schema
Package schema holds the generated contracts of ADR-0014: the JSON Schema of the timeline document and of every command, the registry snapshot, the error table and the limits.
Package schema holds the generated contracts of ADR-0014: the JSON Schema of the timeline document and of every command, the registry snapshot, the error table and the limits.
subtitle
Package subtitle reads and writes SubRip (SRT) and WebVTT subtitle text.
Package subtitle reads and writes SubRip (SRT) and WebVTT subtitle text.
timeline
Package timeline holds the document types, the JSON Schema and its migrations.
Package timeline holds the document types, the JSON Schema and its migrations.
timeline/migrate
Package migrate carries a raw timeline document from the schema version it was written at to the current one (SDD-001 §6).
Package migrate carries a raw timeline document from the schema version it was written at to the current one (SDD-001 §6).
timeval
Package timeval parses time values and does frame arithmetic.
Package timeval parses time values and does frame arithmetic.
writing
Package writing holds the pure rules of the texts of a production (SDD-019, ADR-0031): the kinds of text, the structure of a script and the estimate of its duration, the variants of a caption and the table of limits of each network, the rules of revisions, and the difference between two bodies.
Package writing holds the pure rules of the texts of a production (SDD-019, ADR-0031): the kinds of text, the structure of a script and the estimate of its duration, the variants of a caption and the table of limits of each network, the rules of revisions, and the difference between two bodies.
desktop
detect command
Command detect serves the feature-detection page of SDD-012 section 21.2: the page, the proxy fixture (with Range), a server-sent-event stream for the EventSource test and a route that stores the results.
Command detect serves the feature-detection page of SDD-012 section 21.2: the page, the proxy fixture (with Range), a server-sent-event stream for the EventSource test and a route that stores the results.
service
Package service holds the settings and the registration of the background mode of the desktop shell (SDD-012 section 21.3 item 7, epic 21): whether Stuarty stays resident when its window is closed, and whether it starts, hidden, when the person signs in.
Package service holds the settings and the registration of the background mode of the desktop shell (SDD-012 section 21.3 item 7, epic 21): whether Stuarty stays resident when its window is closed, and whether it starts, hidden, when the person signs in.
shell
Package shell holds the parts of the desktop shell that do not depend on a window toolkit: the child process and the navigation policy.
Package shell holds the parts of the desktop shell that do not depend on a window toolkit: the child process and the navigation policy.
shell/webviewenv
Package webviewenv keeps the WebView2 environment variables as the process was started with.
Package webviewenv keeps the WebView2 environment variables as the process was started with.
update
Package update is the auto-update client of the desktop application (ADR-0023, RF-213, SDD-009 section 10.5).
Package update is the auto-update client of the desktop application (ADR-0023, RF-213, SDD-009 section 10.5).
Package engine is the media work of the editor.
Package engine is the media work of the editor.
audio
Package audio mixes the audio sources of a frame range into one 48 kHz stereo track and measures the single loudness gain applied to it (SDD-004 section 7).
Package audio mixes the audio sources of a frame range into one 48 kHz stereo track and measures the single loudness gain applied to it (SDD-004 section 7).
bitmap
Package bitmap is the bitmap of the text and shape rasterizer (SDD-004 section 5): the pixels the Rust renderer draws for a plan.BitmapSpec, and the metrics the compositors place them with.
Package bitmap is the bitmap of the text and shape rasterizer (SDD-004 section 5): the pixels the Rust renderer draws for a plan.BitmapSpec, and the metrics the compositors place them with.
cache
Package cache is the byte-capped, least-recently-used file cache of the frames and bitmaps the service renders (SDD-007 section 9.1, threat T-19).
Package cache is the byte-capped, least-recently-used file cache of the frames and bitmaps the service renders (SDD-007 section 9.1, threat T-19).
compositor
Package compositor draws a frame plan into an RGBA frame (SDD-004 section 6).
Package compositor draws a frame plan into an RGBA frame (SDD-004 section 6).
export
Package export renders a project to a file.
Package export renders a project to a file.
ffmpeg
Package ffmpeg probes media, builds filter graphs and runs FFmpeg.
Package ffmpeg probes media, builds filter graphs and runs FFmpeg.
ffmpeg/ffargs
Package ffargs builds and checks every FFmpeg and ffprobe argument list the product starts (SDD-007 section 6, rules FF-01 to FF-16).
Package ffargs builds and checks every FFmpeg and ffprobe argument list the product starts (SDD-007 section 6, rules FF-01 to FF-16).
frame
Package frame makes the pictures people and agents look at: one composed frame as a JPEG and a contact sheet of several (SDD-004 section 9, SDD-003 section 3.11).
Package frame makes the pictures people and agents look at: one composed frame as a JPEG and a contact sheet of several (SDD-004 section 9, SDD-003 section 3.11).
gpuhost
Package gpuhost drives the native GPU host of the export, the child process stuarty-render (ADR-0029 item 4, SDD-013 section 4.9).
Package gpuhost drives the native GPU host of the export, the child process stuarty-render (ADR-0029 item 4, SDD-013 section 4.9).
ingest
Package ingest normalizes media and makes proxies, thumbnails and peaks.
Package ingest normalizes media and makes proxies, thumbnails and peaks.
ingest/mediagen
Package mediagen synthesizes the media fixtures of the ingest tests with the pinned FFmpeg (SDD-011 12): no media file is committed.
Package mediagen synthesizes the media fixtures of the ingest tests with the pinned FFmpeg (SDD-011 12): no media file is committed.
lut
Package lut reads the 3D colour lookup tables of the Adobe/Resolve .cube format (SDD-004 section 3.6).
Package lut reads the 3D colour lookup tables of the Adobe/Resolve .cube format (SDD-004 section 3.6).
rasterize
Package rasterize draws the bitmaps of text, captions and shapes with the Rust rasterizer (renderer/stuarty-renderer-text, SDD-004 section 5.1, SDD-013 section 3.11), which runs in the core module of the renderer under wazero (engine/renderhost).
Package rasterize draws the bitmaps of text, captions and shapes with the Rust rasterizer (renderer/stuarty-renderer-text, SDD-004 section 5.1, SDD-013 section 3.11), which runs in the core module of the renderer under wazero (engine/renderhost).
renderhost
Package renderhost runs the core module of the Rust renderer (renderer/, SDD-013) from Go with wazero: pure Go, no cgo, no import for the module to reach anything through.
Package renderhost runs the core module of the Rust renderer (renderer/, SDD-013) from Go with wazero: pure Go, no cgo, no import for the module to reach anything through.
store
Package store keeps content-addressed files on disk.
Package store keeps content-addressed files on disk.
transcribe
Package transcribe runs whisper.cpp and the API transcription providers.
Package transcribe runs whisper.cpp and the API transcription providers.
internal
ffmpegpins
Package ffmpegpins holds the SHA-256 of the FFmpeg and ffprobe binaries the release bundles, per platform, generated from .config/ffmpeg.env.
Package ffmpegpins holds the SHA-256 of the FFmpeg and ffprobe binaries the release bundles, per platform, generated from .config/ffmpeg.env.
outbound
Package outbound is the only place the product builds network clients (SDD-007 section 10.2): every other package that dials or sends HTTP is a lint error.
Package outbound is the only place the product builds network clients (SDD-007 section 10.2): every other package that dials or sends HTTP is a lint error.
tools/agentharness command
Command agentharness runs a live agent against the recipes of the agent documents and measures how often it completes them (SDD-003 section 9 check 29, PRD-002 success metrics 1 and 2).
Command agentharness runs a live agent against the recipes of the agent documents and measures how often it completes them (SDD-003 section 9 check 29, PRD-002 success metrics 1 and 2).
tools/bundlehash command
Command bundlehash prints the hashes that the bundle-matrix job of ci.yml compares (SDD-009 section 9.4): the SHA-256 of the canonical document of a .vvbundle, recomputed from the entry and checked against the manifest, and the content hash of every media file.
Command bundlehash prints the hashes that the bundle-matrix job of ci.yml compares (SDD-009 section 9.4): the SHA-256 of the canonical document of a .vvbundle, recomputed from the entry and checked against the manifest, and the content hash of every media file.
tools/clidoc command
Command clidoc prints the CLI reference as JSON for the documentation site (SDD-010 section 8): the commands, flags and exit codes of the binary.
Command clidoc prints the CLI reference as JSON for the documentation site (SDD-010 section 8): the commands, flags and exit codes of the binary.
tools/contractgen command
Command contractgen writes the contracts of ADR-0014 from the Go types: the JSON Schema of the timeline document, one schema per command, the registry snapshot commands.json, errors.json and limits.json.
Command contractgen writes the contracts of ADR-0014 from the Go types: the JSON Schema of the timeline document, one schema per command, the registry snapshot commands.json, errors.json and limits.json.
tools/covergate command
Command covergate fails when a package is below its coverage gate (SDD-009 section 13.2): 90% under core/, 80% elsewhere, with commands, internal tooling, spikes and desktop/ excluded.
Command covergate fails when a package is below its coverage gate (SDD-009 section 13.2): 90% under core/, 80% elsewhere, with commands, internal tooling, spikes and desktop/ excluded.
tools/ffmpegconf command
Command ffmpegconf checks that a FFmpeg configure line is LGPL safe (D-017, ADR-0011, NFR-043): no --enable-gpl, no --enable-nonfree, none of the GPL or nonfree libraries, no OpenH264 linked in, and no --enable-* flag outside the allowlist.
Command ffmpegconf checks that a FFmpeg configure line is LGPL safe (D-017, ADR-0011, NFR-043): no --enable-gpl, no --enable-nonfree, none of the GPL or nonfree libraries, no OpenH264 linked in, and no --enable-* flag outside the allowlist.
tools/ffmpegfresh command
Command ffmpegfresh decides whether the FFmpeg that Stuarty distributes is stale (SDD-007 section 12, "FFmpeg freshness").
Command ffmpegfresh decides whether the FFmpeg that Stuarty distributes is stale (SDD-007 section 12, "FFmpeg freshness").
tools/ffmpegpins command
Command ffmpegpins writes internal/ffmpegpins/pins_gen.go from .config/ffmpeg.env: the SHA-256 of the pinned ffmpeg and ffprobe binaries of each platform, which `doctor --verify` compares with the bundled files (SDD-011 section 9).
Command ffmpegpins writes internal/ffmpegpins/pins_gen.go from .config/ffmpeg.env: the SHA-256 of the pinned ffmpeg and ffprobe binaries of each platform, which `doctor --verify` compares with the bundled files (SDD-011 section 9).
tools/firstflowfake command
Command firstflowfake plays, on loopback, the two outside services of the first complete flow (epic 38): an AI provider that speaks the OpenAI chat protocol, and a social network that speaks the protocol of the fake connector of service/social/fake.
Command firstflowfake plays, on loopback, the two outside services of the first complete flow (epic 38): an AI provider that speaks the OpenAI chat protocol, and a social network that speaks the protocol of the fake connector of service/social/fake.
tools/importcheck
Package importcheck enforces the import rules of ADR-0001 over the Go files of the repository module.
Package importcheck enforces the import rules of ADR-0001 over the Go files of the repository module.
tools/installericon command
Command installericon draws the application icon of the installers from the shapes of site/public/icon.svg, with the standard library only, and writes stuarty.png and stuarty.ico.
Command installericon draws the application icon of the installers from the shapes of site/public/icon.svg, with the standard library only, and writes stuarty.png and stuarty.ico.
tools/labelsync command
Command labelsync creates or updates the GitHub labels listed in a file (one "name|color|description" per line) with the gh CLI.
Command labelsync creates or updates the GitHub labels listed in a file (one "name|color|description" per line) with the gh CLI.
tools/machouuid command
Command machouuid rewrites the LC_UUID of Mach-O executables with a value derived from the file itself, so two builds of the same sources link to the same bytes (scripts/ffmpeg-build.sh, SDD-009).
Command machouuid rewrites the LC_UUID of Mach-O executables with a value derived from the file itself, so two builds of the same sources link to the same bytes (scripts/ffmpeg-build.sh, SDD-009).
tools/notices command
Command notices generates THIRD_PARTY_NOTICES.md and the licence texts under licenses/ (SDD-009 section 12.2).
Command notices generates THIRD_PARTY_NOTICES.md and the licence texts under licenses/ (SDD-009 section 12.2).
tools/perfreport command
Command perfreport runs the benchmarks that measure the non-functional requirements, writes one table (docs/perf/<date>.md) and compares it with the last committed table of the same platform; a regression of more than 20% fails (SDD-008 section 7).
Command perfreport runs the benchmarks that measure the non-functional requirements, writes one table (docs/perf/<date>.md) and compares it with the last committed table of the same platform; a regression of more than 20% fails (SDD-008 section 7).
tools/release command
Command release prepares and tags a release of Stuarty (SDD-009 sections 7 and 8, ADR-0028).
Command release prepares and tags a release of Stuarty (SDD-009 sections 7 and 8, ADR-0028).
tools/surfacebudget command
Command surfacebudget measures the agent surface against the budget of NFR-020 (revised once by epic 13, SDD-003 section 4.8) and fails when a measure is over its limit: the minified tools/list result and its largest tools, the text of the first discovery call (command_help with no argument), and the description of each domain.
Command surfacebudget measures the agent surface against the budget of NFR-020 (revised once by epic 13, SDD-003 section 4.8) and fails when a measure is over its limit: the minified tools/list result and its largest tools, the text of the first discovery call (command_help with no argument), and the description of each domain.
tools/threatcheck command
Command threatcheck keeps the threat table of SDD-007 section 2 and the security tests in step (SDD-007 section 12, SDD-009 job 12 "Threat coverage"):
Command threatcheck keeps the threat table of SDD-007 section 2 and the security tests in step (SDD-007 section 12, SDD-009 job 12 "Threat coverage"):
tools/updatefeed command
Command updatefeed makes and checks the signed feed of the desktop auto-update (SDD-009 section 10.5, P3-REL-004).
Command updatefeed makes and checks the signed feed of the desktop auto-update (SDD-009 section 10.5, P3-REL-004).
Package service is the application boundary (ADR-0008): the UI, MCP, CLI and HTTP adapters call it, and it defines the persistence interfaces that web/ implements.
Package service is the application boundary (ADR-0008): the UI, MCP, CLI and HTTP adapters call it, and it defines the persistence interfaces that web/ implements.
agenthost
Package agenthost starts the agent a user installed, speaks the Agent Client Protocol to it over its standard streams, and turns what it says into the events of a chat transcript (ADR-0037, SDD-017).
Package agenthost starts the agent a user installed, speaks the Agent Client Protocol to it over its standard streams, and turns what it says into the events of a chat transcript (ADR-0037, SDD-017).
agenthost/fakeagent command
Command fakeagent is the agent the tests of the hosted chat run in place of a real one (SDD-017 section 13).
Command fakeagent is the agent the tests of the hosted chat run in place of a real one (SDD-017 section 13).
approval
Package approval is the approval queue of the service (ADR-0032 items 3 to 5, SDD-015): the records of the requests, the rules and the ceilings, the ledger of costs, the check of who may decide, and the evaluation that gathers what the pure rules of core/approval need.
Package approval is the approval queue of the service (ADR-0032 items 3 to 5, SDD-015): the records of the requests, the rules and the ceilings, the ledger of costs, the check of who may decide, and the evaluation that gathers what the pure rules of core/approval need.
assets
Package assets is the asset library over the files of the workspace (SDD-011 section 14): the entry of a file with its origin, tags and uses, the filters and the full-text search, and the writes of the library side of an asset.
Package assets is the asset library over the files of the workspace (SDD-011 section 14): the entry of a file with its origin, tags and uses, the filters and the full-text search, and the writes of the library side of an asset.
config
Package config is the boot-time validation of the configuration (SDD-007 section 4.5): the one function that decides whether the process may start, and the facts the adapters need from it (the mode, the address, the public origin).
Package config is the boot-time validation of the configuration (SDD-007 section 4.5): the one function that decides whether the process may start, and the facts the adapters need from it (the mode, the address, the public origin).
connections
Package connections is the registry of the destinations the user connected (ADR-0032, SDD-014): the record, its validation, the vault entry that holds its credential and the connector kinds that use it.
Package connections is the registry of the destinations the user connected (ADR-0032, SDD-014): the record, its validation, the vault entry that holds its credential and the connector kinds that use it.
connections/connectionstest
Package connectionstest is a connection with a credential, for the tests of the packages that use connections (the provider adapters, the connectors of later epics).
Package connectionstest is a connection with a credential, for the tests of the packages that use connections (the provider adapters, the connectors of later epics).
connections/oauth
Package oauth is the generic authorization-code flow with PKCE that a connector signs in with (SDD-020 section 6; epics 12 and 24 reuse it).
Package oauth is the generic authorization-code flow with PKCE that a connector signs in with (SDD-020 section 6; epics 12 and 24 reuse it).
connections/oauth/oauthtest
Package oauthtest is a fake authorization server and provider API on loopback, for the tests of the sign-in flow (epic 12, SDD-016 section 12): it plays the OpenAI authorization and token endpoints, the OpenRouter key exchange and the model and text endpoints of both, checks PKCE, single-use codes and rotating refresh tokens, and records every token it issued so a test can look for one where it must not be.
Package oauthtest is a fake authorization server and provider API on loopback, for the tests of the sign-in flow (epic 12, SDD-016 section 12): it plays the OpenAI authorization and token endpoints, the OpenRouter key exchange and the model and text endpoints of both, checks PKCE, single-use codes and rotating refresh tokens, and records every token it issued so a test can look for one where it must not be.
crashpoint
Package crashpoint marks the places of the commit path where the crash tests kill the process (SDD-005 section 18 check 6).
Package crashpoint marks the places of the commit path where the crash tests kill the process (SDD-005 section 18 check 6).
events
Package events builds the payloads of the event stream (SDD-006 section 3) and decides what a connecting client is owed (section 4.3).
Package events builds the payloads of the event stream (SDD-006 section 3) and decides what a connecting client is owed (section 4.3).
exporter
Package exporter adapts engine/export.Run to service.Exporter: it supplies the pieces the engine needs (runner, capabilities, artifacts folder), reports its progress, and turns the verified result into the output the service checks again before a job may succeed (ADR-0018 item 6).
Package exporter adapts engine/export.Run to service.Exporter: it supplies the pieces the engine needs (runner, capabilities, artifacts folder), reports its progress, and turns the verified result into the output the service checks again before a job may succeed (ADR-0018 item 6).
library
Package library keeps the memory, the skills and the prompts of a workspace as Markdown files under library/ and an index of them for search (ADR-0040, SDD-018).
Package library keeps the memory, the skills and the prompts of a workspace as Markdown files under library/ and an index of them for search (ADR-0040, SDD-018).
logging
Package logging is the structured log of the product (ADR-0026 item 2): one line per event on standard error and in a rotating file under the workspace `logs/` folder.
Package logging is the structured log of the product (ADR-0026 item 2): one line per event on standard error and in a rotating file under the workspace `logs/` folder.
pathguard
Package pathguard turns the path a caller names for a media import into an open file handle, or refuses it (SDD-007 section 7.1).
Package pathguard turns the path a caller names for a media import into an open file handle, or refuses it (SDD-007 section 7.1).
providers
Package providers is the AI provider layer (SDD-016, ADR-0036): the interfaces an adapter implements, the registry that finds the adapter of a connection, the catalogue of models read from the provider at run time, and the price table the person edits.
Package providers is the AI provider layer (SDD-016, ADR-0036): the interfaces an adapter implements, the registry that finds the adapter of a connection, the catalogue of models read from the provider at run time, and the price table the person edits.
providers/anthropic
Package anthropic is the adapter of Anthropic for text: the Messages API with an API key (SDD-016 section 2.1).
Package anthropic is the adapter of Anthropic for text: the Messages API with an API key (SDD-016 section 2.1).
providers/openai
Package openai is the adapter of OpenAI for text (the Chat Completions API), images and speech, with an API key (SDD-016 sections 2.1 and 2.2).
Package openai is the adapter of OpenAI for text (the Chat Completions API), images and speech, with an API key (SDD-016 sections 2.1 and 2.2).
providers/openrouter
Package openrouter is the adapter of OpenRouter for text: the Chat Completions wire it speaks, with a key the person pasted or one the sign-in of OpenRouter issued (SDD-016 section 12).
Package openrouter is the adapter of OpenRouter for text: the Chat Completions wire it speaks, with a key the person pasted or one the sign-in of OpenRouter issued (SDD-016 section 12).
providers/providertest
Package providertest is the fake provider server of the contract tests of the adapters (NFR-064, SDD-016 section 11): it checks each request an adapter makes against what the documentation of the API says and answers with a recorded response.
Package providertest is the fake provider server of the contract tests of the adapters (NFR-064, SDD-016 section 11): it checks each request an adapter makes against what the documentation of the API says and answers with a recorded response.
providers/wire
Package wire is the part of an adapter that is the same for every provider: one JSON request through the gated client of a connection, a bounded read of the answer, and the mapping of a failure to a providers.Error built from the status and a short code, never from the body (SDD-016 section 9).
Package wire is the part of an adapter that is the same for every provider: one JSON request through the gated client of a connection, a bounded read of the answer, and the mapping of a failure to a providers.Error built from the status and a short code, never from the body (SDD-016 section 9).
publish
Package publish is the calendar of publications and the scheduler that sends an approved post at its time (SDD-020 sections 23 to 29, ADR-0046).
Package publish is the calendar of publications and the scheduler that sends an approved post at its time (SDD-020 sections 23 to 29, ADR-0046).
publish/destinations
Package destinations sends a blog post to where a creator's blog lives: files for a static site, WordPress, a webhook of their own automation, or the read API of Stuarty itself (SDD-020 part 5).
Package destinations sends a blog post to where a creator's blog lives: files for a static site, WordPress, a webhook of their own automation, or the read API of Stuarty itself (SDD-020 part 5).
remote
Package remote is service.Service over the HTTP API of a running owner (SDD-003 section 5.2, ADR-0008 item 5): the CLI and the stdio MCP server use it when a server owns the workspace or STUARTY_URL is set.
Package remote is service.Service over the HTTP API of a running owner (SDD-003 section 5.2, ADR-0008 item 5): the CLI and the stdio MCP server use it when a server owns the workspace or STUARTY_URL is set.
social
Package social is the frame every social network connector plugs into (ADR-0035, SDD-020): the Connector interface, its registry, the error a connector returns and the store of upload sessions.
Package social is the frame every social network connector plugs into (ADR-0035, SDD-020): the Connector interface, its registry, the error a connector returns and the store of upload sessions.
social/facebook
Package facebook is the Facebook connector (SDD-020 part 2): a Reel goes up to a Page the person chose after signing in with their own Meta app, through the three steps of the Reels API (start, upload, finish).
Package facebook is the Facebook connector (SDD-020 part 2): a Reel goes up to a Page the person chose after signing in with their own Meta app, through the three steps of the Reels API (start, upload, finish).
social/fake
Package fake is a connector for tests (SDD-020 section 5).
Package fake is a connector for tests (SDD-020 section 5).
social/instagram
Package instagram is the Instagram connector (SDD-020 part 2): a Reel goes up through the resumable upload of the Instagram API with Facebook Login, to a professional account the person chose after signing in with their own Meta app.
Package instagram is the Instagram connector (SDD-020 part 2): a Reel goes up through the resumable upload of the Instagram API with Facebook Login, to a professional account the person chose after signing in with their own Meta app.
social/meta
Package meta is what the Instagram and the Facebook connectors share (SDD-020 part 2): the sign-in with the user's own Meta app, the account the person chooses, and the client of the Graph API.
Package meta is what the Instagram and the Facebook connectors share (SDD-020 part 2): the sign-in with the user's own Meta app, the account the person chooses, and the client of the Graph API.
social/meta/metatest
Package metatest replays recorded request and response pairs of the Graph API, for the tests of the Meta connectors.
Package metatest replays recorded request and response pairs of the Graph API, for the tests of the Meta connectors.
social/socialtest
Package socialtest replays recorded request and response pairs of a network, for the tests of the connectors of X and TikTok (SDD-020 part 4).
Package socialtest replays recorded request and response pairs of a network, for the tests of the connectors of X and TikTok (SDD-020 part 4).
social/tiktok
Package tiktok is the TikTok connector (SDD-020 part 4): the user's own TikTok developer app signs in with Login Kit, and a video goes to the person's inbox as a draft through the upload endpoint of the Content Posting API, to be finished and published in the TikTok app.
Package tiktok is the TikTok connector (SDD-020 part 4): the user's own TikTok developer app signs in with Login Kit, and a video goes to the person's inbox as a draft through the upload endpoint of the Content Posting API, to be finished and published in the TikTok app.
social/x
Package x is the X connector (SDD-020 part 4): the user's own X developer app signs in with OAuth 2.0 and PKCE, a video goes up through the chunked media upload, and the post is created with the text and the video.
Package x is the X connector (SDD-020 part 4): the user's own X developer app signs in with OAuth 2.0 and PKCE, a video goes up through the chunked media upload, and the post is created with the text and the video.
social/youtube
Package youtube is the YouTube connector (SDD-020 section 7): the user's own Google project signs in with the generic flow of service/connections/oauth, and a video goes up through the resumable upload of the YouTube Data API.
Package youtube is the YouTube connector (SDD-020 section 7): the user's own Google project signs in with the generic flow of service/connections/oauth, and a video goes up through the resumable upload of the YouTube Data API.
templates
Package templates embeds the starter templates every workspace starts with (ADR-0022 item 8).
Package templates embeds the starter templates every workspace starts with (ADR-0022 item 8).
textview
Package textview renders the texts of SDD-003 section 3: pure functions of a document, a list or a result, plus the project's frame rate.
Package textview renders the texts of SDD-003 section 3: pure functions of a document, a list or a result, plus the project's frame rate.
untrusted
Package untrusted is the one place where text that the product did not generate (a transcript, a file name, tags of a container, the text of a project or a template) is cleaned, escaped, cut and delimited before it reaches an agent (SDD-007 section 8, ADR-0020 item 5).
Package untrusted is the one place where text that the product did not generate (a transcript, a file name, tags of a container, the text of a project or a template) is cleaned, escaped, cut and delimited before it reaches an agent (SDD-007 section 8, ADR-0020 item 5).
vault
Package vault is the encrypted file that holds the credentials of the connections (ADR-0033, SDD-014 section 3).
Package vault is the encrypted file that holds the credentials of the connections (ADR-0033, SDD-014 section 3).
workspace
Package workspace is the data folder every surface shares (ADR-0008, SDD-005 section 6): where it is, the lock that makes one process its owner, runtime.json that advertises the owner, and the local token file that authenticates local clients (SDD-007 section 3).
Package workspace is the data folder every surface shares (ADR-0008, SDD-005 section 6): where it is, the lock that makes one process its owner, runtime.json that advertises the owner, and the local token file that authenticates local clients (SDD-007 section 3).
spikes
mcp-tasks command
Spike for P1-AGT-002: does the pinned MCP Go SDK support the tasks extension (io.modelcontextprotocol/tasks)? Disposable: nothing here is product code and no product package imports it.
Spike for P1-AGT-002: does the pinned MCP Go SDK support the tasks extension (io.modelcontextprotocol/tasks)? Disposable: nothing here is product code and no product package imports it.
web
app/agentdocs
Package agentdocs is the material shipped for agents (SDD-003 section 8): the skill file, the AGENTS.md snippet and the MCP server instructions.
Package agentdocs is the material shipped for agents (SDD-003 section 8): the skill file, the AGENTS.md snippet and the MCP server instructions.
app/auth
Package auth holds the credentials of local mode (SDD-007 section 3): the local token, the launch code, the in-memory browser sessions, the actor label and the handshake with which a client verifies the server before it sends the token.
Package auth holds the credentials of local mode (SDD-007 section 3): the local token, the launch code, the in-memory browser sessions, the actor label and the handshake with which a client verifies the server before it sends the token.
app/auth/googletest
Package googletest is a fake Google for the tests of the optional Google sign-in (SDD-014 section 12).
Package googletest is a fake Google for the tests of the optional Google sign-in (SDD-014 section 12).
app/cli
Package cli is the command line adapter of the Service (ADR-0016, SDD-003 section 5).
Package cli is the command line adapter of the Service (ADR-0016, SDD-003 section 5).
app/controllers
Package controllers holds the HTTP handlers.
Package controllers holds the HTTP handlers.
app/events
Package events carries the event stream of SDD-006: the hub that fans the events of the service out per project, and the handler of GET /api/v1/projects/{id}/events with its replay from the log, its snapshot of jobs and assets, its heartbeat and its limits.
Package events carries the event stream of SDD-006: the hub that fans the events of the service out per project, and the handler of GET /api/v1/projects/{id}/events with its replay from the log, its snapshot of jobs and assets, its heartbeat and its limits.
app/http
Package httpapi is the HTTP adapter of service.Service (ADR-0017): one typed handler per Prototype operation of SDD-000 section 1, the error envelope, the local-mode trust checks of SDD-007 section 3 and the OpenAPI document.
Package httpapi is the HTTP adapter of service.Service (ADR-0017): one typed handler per Prototype operation of SDD-000 section 1, the error envelope, the local-mode trust checks of SDD-007 section 3 and the OpenAPI document.
app/http/middleware
Package middleware holds the HTTP middleware that the API adds to vukem's.
Package middleware holds the HTTP middleware that the API adds to vukem's.
app/jobs
Package jobs connects the job machinery of service/ to the vukem queue (SDD-005 section 14.1): the queue handlers that deliver a job id to the service, and the Enqueuer that inserts the message in the transaction that created the job row.
Package jobs connects the job machinery of service/ to the vukem queue (SDD-005 section 14.1): the queue handlers that deliver a job id to the service, and the Enqueuer that inserts the message in the transaction that created the job row.
app/listeners
Package listeners handles application events.
Package listeners handles application events.
app/mcp
Package mcp is the MCP adapter of service.Service (ADR-0015, SDD-003 section 4): the tools of the Prototype over stdio and over stateless Streamable HTTP.
Package mcp is the MCP adapter of service.Service (ADR-0015, SDD-003 section 4): the tools of the Prototype over stdio and over stateless Streamable HTTP.
app/models
Package models holds the database models.
Package models holds the database models.
app/owner
Package owner is the process that owns a workspace (SDD-005 section 6.3): it takes the lock, opens the store, builds the Service with its media, exporter and queue, and hands the HTTP adapter its dependencies.
Package owner is the process that owns a workspace (SDD-005 section 6.3): it takes the lock, opens the store, builds the Service with its media, exporter and queue, and hands the HTTP adapter its dependencies.
app/requests
Package requests holds validated request inputs.
Package requests holds validated request inputs.
app/store
Package store implements service.Store over vukem's database package (SDD-005).
Package store implements service.Store over vukem's database package (SDD-005).
bootstrap
Package bootstrap wires the application together.
Package bootstrap wires the application together.
cmd/app command
Command app is the stuarty binary: the HTTP server by default, or a command such as migrate, route:list or about (vukem <command> delegates here).
Command app is the stuarty binary: the HTTP server by default, or a command such as migrate, route:list or about (vukem <command> delegates here).
cmd/gen-agent-docs command
Command gen-agent-docs writes the material for agents (SDD-003 section 8) into web/app/agentdocs/out/, or with --check fails when what is there differs from what the registry, the lint catalogue and the templates produce.
Command gen-agent-docs writes the material for agents (SDD-003 section 8) into web/app/agentdocs/out/, or with --check fails when what is there differs from what the registry, the lint catalogue and the templates produce.
contract/testenv
Package testenv builds a real service.Service over a real SQLite store in a temporary workspace, with the media and job machinery wired to fakes that need no FFmpeg: an ingest that writes the artifacts of a 2 s video with audio and an exporter that writes a small file.
Package testenv builds a real service.Service over a real SQLite store in a temporary workspace, with the media and job machinery wired to fakes that need no FFmpeg: an ingest that writes the artifacts of a 2 s video with audio and an exporter that writes a small file.
database/migrations
Package migrations holds the schema migrations.
Package migrations holds the schema migrations.
database/seeders
Package seeders fills the database with demo data: vukem db:seed.
Package seeders fills the database with demo data: vukem db:seed.
resources
Package resources holds views and public assets.
Package resources holds views and public assets.
resources/skills
Package skills holds the skills that ship with Stuarty (SDD-018 section 16): one folder per skill in the Agent Skills layout, embedded in the binary.
Package skills holds the skills that ship with Stuarty (SDD-018 section 16): one folder per skill in the Agent Skills layout, embedded in the binary.
resources/templates
Package templates holds the templates that ship with the recipes of Stuarty (SDD-018 section 17, epic 39): the timeline templates of a product commercial and of the opening of a long video, and the matching image templates for the cover.
Package templates holds the templates that ship with the recipes of Stuarty (SDD-018 section 17, epic 39): the timeline templates of a product commercial and of the opening of a long video, and the matching image templates for the cover.
routes
Package routes declares the HTTP routes.
Package routes declares the HTTP routes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL