@orchestra-mcp/tasks 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Orchestra MCP
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # @orchestra-mcp/tasks
2
+
3
+ Task management UI components for Orchestra MCP
4
+
5
+ Part of the [Orchestra MCP](https://orchestra-mcp.dev) ecosystem.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install @orchestra-mcp/tasks
11
+ # or
12
+ pnpm add @orchestra-mcp/tasks
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ```tsx
18
+ import { } from '@orchestra-mcp/tasks'
19
+ ```
20
+
21
+ ## Requirements
22
+
23
+ - React >= 18.0.0
24
+
25
+ ## License
26
+
27
+ MIT — [Orchestra MCP](https://orchestra-mcp.dev)
28
+
29
+ ## Sponsor
30
+
31
+ [Sponsor this project](https://github.com/sponsors/fadymondy)
@@ -0,0 +1,24 @@
1
+ // src/mcp/client.ts
2
+ var MCP_API = "http://127.0.0.1:19191";
3
+ async function mcpCall(name, args = {}) {
4
+ const resp = await fetch(`${MCP_API}/api/mcp/tools/call`, {
5
+ method: "POST",
6
+ headers: { "Content-Type": "application/json" },
7
+ body: JSON.stringify({ name, arguments: args })
8
+ });
9
+ if (!resp.ok) throw new Error(`MCP call ${name} failed: ${resp.status}`);
10
+ const raw = await resp.json();
11
+ const text = raw?.content?.[0]?.text;
12
+ if (typeof text === "string") {
13
+ try {
14
+ return JSON.parse(text);
15
+ } catch {
16
+ return text;
17
+ }
18
+ }
19
+ return raw;
20
+ }
21
+
22
+ export {
23
+ mcpCall
24
+ };
@@ -0,0 +1,6 @@
1
+ import {
2
+ mcpCall
3
+ } from "./chunk-ESY4NTC7.js";
4
+ export {
5
+ mcpCall
6
+ };