Connect your existing controls.

Bring your app’s commands to Moard buttons and voice. Keep the handlers and state you already have.

Your coding assistant can make the connection.

Paste into your coding assistant with your project open.

Download the instructions
One command. The same handler.
'clip.split': {
  label: 'Split clip',
  enabled: editor.canSplit(),
  run: () => editor.split(),
}

Harbor buttons Optional Talk

Moard Actions is a source preview. The public SDK download and browser-store companion are not available yet. Use the supplied SDK source; the examples below are not an installation link.

Read the AI instructions

These instructions help an assistant inspect your project, choose the supported integration and prepare a focused change for review. They do not upload your code, start an AI session or merge a change for you.

Keep your buttons and their handlers.

Give an existing HTML button a stable command name. Moard reuses its label, disabled state, toggle state and click handler. Your website continues working without Moard.

<button data-moard-command="clip.split"
        onclick="editor.split()">Split clip</button>
import { connectButtons } from '@moard/actions/web';

const moard = connectButtons({ appId: 'com.example.editor' });
window.addEventListener('pagehide', () => moard.dispose(), { once: true });

The Chrome/Edge companion connects an approved site to the person’s local Harbor. Hidden buttons, closed panels and removed elements stop being offered automatically. Custom controls can use the command interface below.

Connect your command registry once.

For Windows Node/Electron applications, connect the commands and state you already maintain. A small adapter reads your existing registry and subscribes to its normal changes.

import { createMoard } from '@moard/actions';

const moard = createMoard({
  appId: 'com.example.editor',
  window: editorWindow.getNativeWindowHandle(),
  source: {
    getSnapshot: () => ({
      context: editor.panel,
      actions: editor.commands.moardActions(),
    }),
    subscribe: changed => editor.commands.subscribe(changed),
  },
});
editorWindow.once('closed', () => moard.dispose());

moardActions() is your mapping of your registry, not a framework method Moard adds. It returns entries like the command above.

getSnapshot returns current commands synchronously. subscribe returns an unsubscribe function. Moard handles publication, reconnection and cleanup. Websites can use this interface through @moard/actions/web, without the desktop window option. React can bind the same source with useMoard.

The current desktop adapter supports Windows Node/Electron applications. Other native applications have a local pipe protocol and a Python reference transport; a dedicated adapter for each native framework is not included.

Offer voice where it fits.

Voice is optional. Add voice: true to an action, or data-moard-voice="true" to a web button. Keep your app's existing permissions and confirmations. Moard's Talk access, consent and protected-control checks still apply.

The preview supports presses and toggles. Parameterized forms and automatic background control are not part of this interface. Dispatch means the command was sent; it does not confirm that the app completed its work.

Moard handles the connection.

The source preview installs from the supplied SDK folder: npm install <preview>/sdk/actions. It is not published on npm. Website integration also needs the matching browser companion and local host; the public distribution path is still being prepared.

People approve app connections in Harbor and site access in their browser. Developers do not need a hosted server or an API key for this connection. Command transport is local; existing consent rules separately govern any hosted AI processing.

Approved commands appear in Harbor’s button picker. People choose which commands to add to their saved layouts.

Publish command names and availability, rather than document contents or selected text. Mark private flows as sensitive. Moard's button adapter also suppresses offers while a password field is focused.

Moard owns compatibility and integration testing. You keep your normal application tests and permission checks; no separate Moard certification process is required.