Freshworks FDK
$ fdk Official Low RiskFreshworks Developer Kit (fdk) is the official Node.js CLI for building Freshworks Marketplace and custom apps across Freshdesk, Freshservice, and Freshsales. Provides fdk run, fdk validate (with --fix), fdk test, and fdk pack, though workflows are geared toward local interactive app development.
npm install -g fdk fdk runs local serverless simulation, ESLint/manifest validation (fdk validate), and zip packaging (fdk pack) directly on local app source files.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports -d/--app-dir and -u/--skip-update-check, but lacks --json output and relies on interactive prompts for fdk create and fdk run.
- No
--jsonoutput mode onvalidateorpack - Strict Node.js LTS version checks and interactive
fdk create
Operations stay local to the workspace and .fdk/ directory without directly mutating live production Freshworks tenants.
validateandpackoperate solely on local files
Global npm package (npm install -g fdk), but enforces narrow supported Node.js major versions.
- Installed via npm; requires matching Freshworks FDK Node.js version
Necessary build/lint/pack toolchain for Freshworks Marketplace apps, but does not query Freshdesk tickets or CRM records.
- Dedicated exclusively to Freshworks app development and packaging
Official Freshworks developer toolchain, though closed-source.
- Distributed officially by Freshworks via npm
Documented on developers.freshworks.com, though strict coverage thresholds and Node version constraints frequently surprise automated pipelines.
- Official FDK CLI documentation at
developers.freshworks.com
Security, Auth & Guardrails
Stores local app iparams and test installation values inside .fdk/localstore in the app directory during fdk run simulation; Marketplace uploads happen via Developer Portal.
Free proprietary SDK/CLI under Freshworks Developer Terms; Marketplace publishing requires a Freshworks developer account.
# Freshworks FDK (fdk) Agent Rules - Always pass `-u` (`--skip-update-check`) and `-d <app-dir>` so commands target the right directory without background network stalls. - Run `fdk validate` before `fdk pack`; note `fdk pack` enforces unit-test and simulation coverage gates unless `--skip-coverage` is used. - Avoid running `fdk run` synchronously because it starts a blocking local server.
Agent-Ready Command Recipes
Safe Read-Only Queries
fdk validate -d ./my-app -u
Runs lint and manifest checks on ./my-app while skipping daily CLI update checks.
Controlled Writes & Previews
fdk validate --fix -d ./my-app && fdk pack -d ./my-app -u
Applies safe lint fixes and builds a distributable .zip package under dist/.
Strengths for Agents
- +
fdk validateandfdk packenforce Freshworks security, manifest, and coverage rules locally before submission. - +
-d/--app-dirand-u/--skip-update-checkhelp isolate CI runs.
Caveats & Pitfalls
- ! No
--jsonoutput and strict Node.js version requirements can cause setup friction. - !
fdk packblocks on 50% simulation / 80% unit-test coverage unless--skip-coverageis passed, andfdk createis interactive.