Skip to content

jonsch1/briefly

v0.1.0

Ingest URLs, save supplied documents, and recall compact Briefly summaries.

commands

  • sh
plugin.json
name
briefly
version
0.1.0
description
Ingest URLs, save supplied documents, and recall compact Briefly summaries.
author
Brieflyhello@readbriefly.fyihttps://www.readbriefly.fyi
mcp.json
  • brieflystdiosh -c set -eu; if ! app_path=$(/usr/bin/osascript -l JavaScript -e 'ObjC.import("AppKit"); const id = "fyi.readbriefly.BrieflyNative"; const running = $.NSRunningApplication.runningApplicationsWithBundleIdentifier(id); let selected = null; let latest = -1; for (let index = 0; index < running.count; index++) { const app = running.objectAtIndex(index); const launched = app.launchDate.isNil() ? 0 : app.launchDate.timeIntervalSince1970; if (!app.bundleURL.isNil() && launched >= latest) { selected = app.bundleURL; latest = launched; } } const url = selected || $.NSWorkspace.sharedWorkspace.URLForApplicationWithBundleIdentifier(id); if (url.isNil()) throw new Error("Briefly is not installed"); ObjC.unwrap(url.path);' 2>/dev/null); then printf '%s\n' 'Briefly is not installed. Install Briefly before enabling its plugin.' >&2; exit 1; fi; helper="$app_path/Contents/Helpers/BrieflyMCP.app/Contents/MacOS/briefly-mcp"; if [ ! -x "$helper" ]; then printf '%s\n' 'This Briefly installation does not include the MCP helper. Update Briefly and try again.' >&2; exit 1; fi; exec "$helper"