quran-md-plugin / node_modules /@modelcontextprotocol /sdk /dist /cjs /experimental /tasks /interfaces.js
Z User
phase7: MCP stdio smoke test (handshake + tools/list + get_roots 6:74) — 4/4 tests PASS
54a6341 quran-md-plugin / node_modules /@modelcontextprotocol /sdk /dist /cjs /experimental /tasks /interfaces.js
Download node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.js from bravesigma/quran-md-plugin: direct link, hf CLI and curl.
- Browser
- Download file 671 Bytes
-
https://huggingface.co/datasets/bravesigma/quran-md-plugin/resolve/main/node_modules/%40modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.js
- Command line
-
hf download hf://datasets/bravesigma/quran-md-plugin/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.js
-
curl -L -o interfaces.js https://huggingface.co/datasets/bravesigma/quran-md-plugin/resolve/main/node_modules/%40modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.js
671 Bytes
| ; | |
| /** | |
| * Experimental task interfaces for MCP SDK. | |
| * WARNING: These APIs are experimental and may change without notice. | |
| */ | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.isTerminal = isTerminal; | |
| /** | |
| * Checks if a task status represents a terminal state. | |
| * Terminal states are those where the task has finished and will not change. | |
| * | |
| * @param status - The task status to check | |
| * @returns True if the status is terminal (completed, failed, or cancelled) | |
| * @experimental | |
| */ | |
| function isTerminal(status) { | |
| return status === 'completed' || status === 'failed' || status === 'cancelled'; | |
| } | |
| //# sourceMappingURL=interfaces.js.map |