Repository navigation
Stable Build v0.9.0
v0.9.0 — AI Agent Skills Plugin, MCP SDK 2.3.1 & Native Test Runner
Highlights
- Standalone AI Agent Skills (
fluent-skillset) — Ships two new agent skills (fluent-cliandfluent-security-review) packaged as a cross-agent plugin (.claude-plugin/) for Claude Code, GitHub Copilot, Codex, Cursor, Windsurf, and other skill-enabled coding assistants — usable with or without the MCP server attached. - MCP SDK v2.3.1 Upgrade — Upgraded
@modelcontextprotocol/server(and transitive@modelcontextprotocol/core) from2.0.0to2.3.1, bringing stdio EOF connection teardown, in-flight process cancellation, and single-connection instance guards across both MCP protocol eras (2026-07-28and2025-11-25). - Node 22 LTS & Native Test Runner — Raised the runtime floor to Node.js
>=22.23.2/ npm>=10.9.8, migrated all 47 test suites (918 tests) from Jest to Node's built-innode:test+node:assert/strictrunner, and removed Jest,ts-node, and redundant Rollup plugins. - UI Action Snippets Repaired — Populated and build-validated all 10 previously blank
ui-actionsnippets (0001–0010).
New Features: fluent-skillset Plugin & Skills (#37)
Added .claude-plugin/plugin.json and .claude-plugin/marketplace.json to distribute standalone ServiceNow Fluent skills under skills/:
fluent-cli(skills/fluent-cli/SKILLS.md) — Guides AI agents throughnpx @servicenow/sdkCLI workflows directly via bash without requiring an MCP server connection:- Project root discovery (
now.config.json) and initial orientation (explain quickstart,fluent-language,keys-file). - Progressive, read-only documentation lookup (
explain --list→--peek→ full topic). - Live ServiceNow instance Table REST queries (
query <table> -q '<encoded-query>' -o json).
- Project root discovery (
fluent-security-review(skills/fluent-security-review/SKILLS.md) — Performs a comprehensive security audit across both Fluent (now.config.json,src/,metadata/) and classic ServiceNow XML (update/,unload/) or hybrid applications:- Evaluates all 46 ServiceNow security checks organized by impact: High (16 checks in
references/high_impact.md), Medium (25 checks inreferences/medium_impact.md), and Low (5 checks inreferences/low_impact.md). - Outputs a structured Markdown report summarizing Exemplary Practices, prioritized Findings (
P0–P4) with file/line locations and remediation snippets, and a final PASS / FAIL conclusion.
- Evaluates all 46 ServiceNow security checks organized by impact: High (16 checks in
MCP Server & Resource Updates (#36)
- Upgraded
@modelcontextprotocol/server2.0.0→2.3.1(seedoc/upgrade-mcp-2.3.1.md):- Stdio EOF lifecycle (
2.1.0+):StdioServerTransportnow closes cleanly on stdin EOF/close, firesoncloseonce, aborts in-flight command handlers, and terminates spawned CLI child processes. - Zero-ID cancellation (
2.1.0+): Cancellation notifications now recognize JSON-RPC request IDs0and''in addition to positive IDs. - Per-connection server isolation (
2.3.0+): Enforces one active connection perMcpServerinstance (ALREADY_CONNECTEDguard), handled seamlessly byFluentMcpServer.buildServer()acrossserver/discoverprobes and legacyinitializefallbacks.
- Stdio EOF lifecycle (
- Fixed 10
ui-actioncode snippets (res/snippet/fluent_snippet_ui-action_0001.mdthrough0010.md):- Replaced 10 empty snippet files with complete,
now-sdk build-validated examples covering server-side form buttons, client-sideg_formscripts, form related links, form context menus, list banner buttons, list-choice bulk selection (g_list.getChecked()), server-sideconditionvisibility,rolesrestrictions, primary button styling/ordering, and UI26 programmatic form actions (form: true).
- Replaced 10 empty snippet files with complete,
Engine, Toolchain & Test Architecture (#35)
- Node.js 22 LTS & TypeScript
nodenext:- Updated
enginestonode >=22.23.2andnpm >=10.9.8(.nvmrcpinned to22.23.3,packageManagerset tonpm@12.2.0). - Aligned
@types/nodeto22.20.5and updatedtsconfig.jsonto"module": "nodenext"/"moduleResolution": "nodenext", removing deprecatednode10settings andbaseUrl.
- Updated
- Migrated from Jest to Node's native test runner (
node:test):- Ported all test suites to
node:testandnode:assert/strictwith explicit opt-in fixtures (test/support/fixtures.ts,test/support/mockAssertions.ts) and nativemock.module()/t.mock.method(). - Added isolated test staging (
scripts/stage-tests.mjs,scripts/run-native-tests.mjs) that compiles into.test-build/<stage>/with a stagedpackage.jsonandres/layout, plus cross-platform child process-tree cleanup (scripts/process-tree.mjs) for one-shot,--coverage, and--watchruns. - Added
test/server/stdioLifecycle.test.tscovering real stdio EOF teardown, ID0cancellation, and discovery-to-legacy fallback.
- Ported all test suites to
- Dependency & build cleanup:
- Removed
jest,ts-jest,@types/jest,ts-node,@rollup/plugin-commonjs,@rollup/plugin-json,@rollup/plugin-node-resolve, and the redundant direct@modelcontextprotocol/coredependency (shrinking lockfile entries from 973 to 715 and eliminating transitiveinflight/glob@7deprecations). - Added
scripts/clean-dist.mjsviaprebuild/prebuild:devhooks so builds always start from a cleandist/directory. - Updated
npm run devandnpm run inspect:devto run from the compiled development bundle (dist/index.js) instead ofts-node.
- Removed
- CI/CD workflow (
.github/workflows/ci.yml):- Upgraded to
actions/checkout@v4andactions/setup-node@v4reading.nvmrcwithnpm ci. - Added
master/mainpush triggers and full validation gates:lint,typecheck,typecheck:test,validate:specs,validate:instructs,build, andtest.
- Upgraded to
- Documentation (
README.md,doc/inspector-examples.md,doc/upgrade-mcp-2.3.1.md):- Streamlined
README.mdwith multi-agent skill installation instructions, condensed tool/resource reference tables, and updated development scripts.
- Streamlined
Verification
- 47 test files / 918 native tests passing (
92.04%line coverage across loaded source files). - Resource validation:
75/75API specs (validate:specs) and75/75authoring instructions (validate:instructs) pass;110snippets compile cleanly vianow-sdk build(up from 100 after fixing all 10ui-actionsnippets, with 0 unexpected failures and 0 skipped). - Live MCP Inspector 2.10.0 & dual-era stdio smoke: Verified all 17 tools, 224 resources, 332 resource-tool paths, and both prompts across MCP protocol revisions
2026-07-28and2025-11-25.