@dai_ming/plugin-flyai-travel
v0.1.5
Published
OpenClaw FlyAI travel native plugin for Fliggy travel search, installed for main agent only
Readme
@dai_ming/plugin-flyai-travel
OpenClaw native plugin for FlyAI / Fliggy travel search. It registers flyai-travel__* native tools, packages the FlyAI skill under main-skills/, and installs @fly-ai/flyai-cli, but does not start an MCP server or any resident process.
Runtime model
- Main agent only: the gateway manifest uses
scope: "main"for theflyaiskill, and gateway tool policy treatsflyai-travel__*tools as main-only. - No resident process: native tools spawn the packaged
flyaiCLI only when a travel query needs it, then the process exits. - Packaged CLI path in managed pods:
/home/node/.openclaw/extensions/plugin-flyai-travel/node_modules/.bin/flyaiNative tools
flyai-travel__keyword_searchflyai-travel__ai_searchflyai-travel__search_hotelflyai-travel__search_flightflyai-travel__search_trainflyai-travel__search_poiflyai-travel__search_marriott_hotelflyai-travel__search_marriott_package
Install
installPlugins:
- "@dai_ming/[email protected]"For registry-managed installs, create or update:
{
"name": "plugin-flyai-travel",
"installPackage": "@dai_ming/plugin-flyai-travel",
"displayName": "FlyAI Travel",
"category": "optional",
"recommendedVersion": "0.1.5",
"enabled": true,
"npmRegistry": "https://registry.npmmirror.com"
}Use optional when only selected releases should receive the plugin, or builtin if every pod should have the main-agent-only FlyAI skill.
Gateway proxy
In managed pods, formal FlyAI credentials are held by uniclaw-gateway. When the gateway injects FLYAI_GATEWAY_MCP_URL, this plugin points the packaged CLI to the gateway proxy. It authenticates with FLYAI_GATEWAY_TOKEN / OPENCLAW_MODEL_RELAY_TOKEN when explicitly provided, or with a shared-pod user locator token derived from workspace scope. Do not put a formal FlyAI API key into the plugin package, Helm values, user config, or pod environment.
Gateway deployment config should only carry non-sensitive proxy settings such as flyai.enabled, flyai.upstreamUrl, and flyai.timeout. Store runtime credentials in the gateway system_settings table:
flyai_proxy_enabled:trueorfalseflyai_proxy_api_key: formal FlyAI API keyflyai_proxy_sign_secret: optional formal FlyAI signing secret
