@nitrostack/core 1.0.0 → 1.0.2
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 +1 -1
- package/README.md +74 -40
- package/dist/auth/quick-setup.js +12 -12
- package/dist/auth/quick-setup.js.map +1 -1
- package/dist/core/app-decorator.d.ts.map +1 -1
- package/dist/core/app-decorator.js +19 -2
- package/dist/core/app-decorator.js.map +1 -1
- package/dist/core/builders.d.ts.map +1 -1
- package/dist/core/builders.js +24 -1
- package/dist/core/builders.js.map +1 -1
- package/dist/core/decorators/cache.decorator.d.ts.map +1 -1
- package/dist/core/decorators/cache.decorator.js +13 -2
- package/dist/core/decorators/cache.decorator.js.map +1 -1
- package/dist/core/decorators.d.ts +35 -1
- package/dist/core/decorators.d.ts.map +1 -1
- package/dist/core/decorators.js.map +1 -1
- package/dist/core/events/event.decorator.d.ts.map +1 -1
- package/dist/core/events/event.decorator.js +1 -3
- package/dist/core/events/event.decorator.js.map +1 -1
- package/dist/core/index.d.ts +21 -4
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +19 -1
- package/dist/core/index.js.map +1 -1
- package/dist/core/oauth-module.d.ts +35 -0
- package/dist/core/oauth-module.d.ts.map +1 -1
- package/dist/core/oauth-module.js +81 -11
- package/dist/core/oauth-module.js.map +1 -1
- package/dist/core/prompt.d.ts +7 -2
- package/dist/core/prompt.d.ts.map +1 -1
- package/dist/core/prompt.js +11 -2
- package/dist/core/prompt.js.map +1 -1
- package/dist/core/resource.d.ts +83 -12
- package/dist/core/resource.d.ts.map +1 -1
- package/dist/core/resource.js +131 -20
- package/dist/core/resource.js.map +1 -1
- package/dist/core/server.d.ts +48 -1
- package/dist/core/server.d.ts.map +1 -1
- package/dist/core/server.js +411 -11
- package/dist/core/server.js.map +1 -1
- package/dist/core/task.d.ts +280 -0
- package/dist/core/task.d.ts.map +1 -0
- package/dist/core/task.js +414 -0
- package/dist/core/task.js.map +1 -0
- package/dist/core/tool.d.ts +36 -1
- package/dist/core/tool.d.ts.map +1 -1
- package/dist/core/tool.js +71 -24
- package/dist/core/tool.js.map +1 -1
- package/dist/core/transports/discovery-http-server.d.ts +16 -2
- package/dist/core/transports/discovery-http-server.d.ts.map +1 -1
- package/dist/core/transports/discovery-http-server.js +75 -7
- package/dist/core/transports/discovery-http-server.js.map +1 -1
- package/dist/core/types.d.ts +137 -0
- package/dist/core/types.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/core/types.d.ts
CHANGED
|
@@ -53,13 +53,51 @@ export interface McpServerConfig {
|
|
|
53
53
|
windowMs: number;
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Tool annotations as per MCP spec
|
|
58
|
+
* Provides hints to clients about tool behavior
|
|
59
|
+
*/
|
|
60
|
+
export interface ToolAnnotations {
|
|
61
|
+
/**
|
|
62
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
63
|
+
* If false, the tool performs only additive updates.
|
|
64
|
+
* Default: true (assume destructive)
|
|
65
|
+
*/
|
|
66
|
+
destructiveHint?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* If true, calling the tool repeatedly with the same arguments has no additional effect.
|
|
69
|
+
* Default: false (assume not idempotent)
|
|
70
|
+
*/
|
|
71
|
+
idempotentHint?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* If true, the tool does not modify its environment.
|
|
74
|
+
* Default: false (assume modifies environment)
|
|
75
|
+
*/
|
|
76
|
+
readOnlyHint?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* If true, the tool may interact with an "open world" of external entities.
|
|
79
|
+
* Default: true (assume open world)
|
|
80
|
+
*/
|
|
81
|
+
openWorldHint?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Human-readable title for display
|
|
84
|
+
* @deprecated Use title field on tool definition instead
|
|
85
|
+
*/
|
|
86
|
+
title?: string;
|
|
87
|
+
}
|
|
56
88
|
/**
|
|
57
89
|
* Tool definition with schema validation
|
|
58
90
|
*/
|
|
59
91
|
export interface ToolDefinition<TInput = unknown, TOutput = unknown> {
|
|
60
92
|
name: string;
|
|
93
|
+
/** Optional human-readable title for display */
|
|
94
|
+
title?: string;
|
|
61
95
|
description: string;
|
|
62
96
|
inputSchema: z.ZodSchema<TInput>;
|
|
97
|
+
/** Optional JSON Schema for validating tool output */
|
|
98
|
+
outputSchema?: z.ZodSchema<TOutput>;
|
|
99
|
+
/** Optional annotations describing tool behavior */
|
|
100
|
+
annotations?: ToolAnnotations;
|
|
63
101
|
handler: (input: TInput, context: ExecutionContext) => Promise<TOutput>;
|
|
64
102
|
metadata?: {
|
|
65
103
|
category?: string;
|
|
@@ -70,20 +108,52 @@ export interface ToolDefinition<TInput = unknown, TOutput = unknown> {
|
|
|
70
108
|
};
|
|
71
109
|
};
|
|
72
110
|
}
|
|
111
|
+
/**
|
|
112
|
+
* Resource annotations as per MCP spec
|
|
113
|
+
* Provides hints to clients about how to use or display resources
|
|
114
|
+
*/
|
|
115
|
+
export interface ResourceAnnotations {
|
|
116
|
+
/** Intended audience(s) for this resource */
|
|
117
|
+
audience?: ('user' | 'assistant')[];
|
|
118
|
+
/** Importance from 0.0 (least) to 1.0 (most important/required) */
|
|
119
|
+
priority?: number;
|
|
120
|
+
/** ISO 8601 timestamp of last modification */
|
|
121
|
+
lastModified?: string;
|
|
122
|
+
}
|
|
73
123
|
/**
|
|
74
124
|
* Resource definition
|
|
75
125
|
*/
|
|
76
126
|
export interface ResourceDefinition {
|
|
77
127
|
uri: string;
|
|
78
128
|
name: string;
|
|
129
|
+
/** Optional human-readable title for display */
|
|
130
|
+
title?: string;
|
|
79
131
|
description: string;
|
|
80
132
|
mimeType?: string;
|
|
133
|
+
/** Optional size in bytes */
|
|
134
|
+
size?: number;
|
|
135
|
+
/** Optional annotations for client hints */
|
|
136
|
+
annotations?: ResourceAnnotations;
|
|
81
137
|
handler: (uri: string, context: ExecutionContext) => Promise<ResourceContent>;
|
|
82
138
|
metadata?: {
|
|
83
139
|
cacheable?: boolean;
|
|
84
140
|
cacheMaxAge?: number;
|
|
85
141
|
};
|
|
86
142
|
}
|
|
143
|
+
/**
|
|
144
|
+
* Resource template definition (RFC 6570 URI Templates)
|
|
145
|
+
*/
|
|
146
|
+
export interface ResourceTemplateDefinition {
|
|
147
|
+
/** URI template (e.g., "file:///{path}") */
|
|
148
|
+
uriTemplate: string;
|
|
149
|
+
name: string;
|
|
150
|
+
/** Optional human-readable title for display */
|
|
151
|
+
title?: string;
|
|
152
|
+
description?: string;
|
|
153
|
+
mimeType?: string;
|
|
154
|
+
/** Optional annotations for client hints */
|
|
155
|
+
annotations?: ResourceAnnotations;
|
|
156
|
+
}
|
|
87
157
|
/**
|
|
88
158
|
* Resource content types - discriminated union for type-safe content handling
|
|
89
159
|
*/
|
|
@@ -97,6 +167,50 @@ export type ResourceContent = {
|
|
|
97
167
|
type: 'json';
|
|
98
168
|
data: JsonValue;
|
|
99
169
|
};
|
|
170
|
+
/**
|
|
171
|
+
* Resource link that can be returned in tool results
|
|
172
|
+
* Allows tools to return URIs to resources for additional context
|
|
173
|
+
*/
|
|
174
|
+
export interface ResourceLink {
|
|
175
|
+
type: 'resource_link';
|
|
176
|
+
uri: string;
|
|
177
|
+
name: string;
|
|
178
|
+
title?: string;
|
|
179
|
+
description?: string;
|
|
180
|
+
mimeType?: string;
|
|
181
|
+
annotations?: ResourceAnnotations;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Embedded resource that can be returned in tool results
|
|
185
|
+
*/
|
|
186
|
+
export interface EmbeddedResource {
|
|
187
|
+
type: 'resource';
|
|
188
|
+
resource: {
|
|
189
|
+
uri: string;
|
|
190
|
+
mimeType?: string;
|
|
191
|
+
text?: string;
|
|
192
|
+
blob?: string;
|
|
193
|
+
annotations?: ResourceAnnotations;
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Tool result content types
|
|
198
|
+
*/
|
|
199
|
+
export type ToolResultContent = {
|
|
200
|
+
type: 'text';
|
|
201
|
+
text: string;
|
|
202
|
+
annotations?: ResourceAnnotations;
|
|
203
|
+
} | {
|
|
204
|
+
type: 'image';
|
|
205
|
+
data: string;
|
|
206
|
+
mimeType: string;
|
|
207
|
+
annotations?: ResourceAnnotations;
|
|
208
|
+
} | {
|
|
209
|
+
type: 'audio';
|
|
210
|
+
data: string;
|
|
211
|
+
mimeType: string;
|
|
212
|
+
annotations?: ResourceAnnotations;
|
|
213
|
+
} | ResourceLink | EmbeddedResource;
|
|
100
214
|
/**
|
|
101
215
|
* Prompt argument value - can be string or other primitive types
|
|
102
216
|
*/
|
|
@@ -106,6 +220,8 @@ export type PromptArgumentValue = string | number | boolean | null;
|
|
|
106
220
|
*/
|
|
107
221
|
export interface PromptDefinition {
|
|
108
222
|
name: string;
|
|
223
|
+
/** Optional human-readable title for display */
|
|
224
|
+
title?: string;
|
|
109
225
|
description: string;
|
|
110
226
|
arguments?: PromptArgument[];
|
|
111
227
|
handler: (args: Record<string, PromptArgumentValue>, context: ExecutionContext) => Promise<PromptMessage[]>;
|
|
@@ -160,6 +276,27 @@ export interface ExecutionContext {
|
|
|
160
276
|
metadata?: Record<string, JsonValue>;
|
|
161
277
|
/** Authentication context (if authenticated) */
|
|
162
278
|
auth?: AuthContext;
|
|
279
|
+
/**
|
|
280
|
+
* Task context — populated when the tool is invoked as a task.
|
|
281
|
+
* Use this to report progress and check for cancellation.
|
|
282
|
+
*
|
|
283
|
+
* @example
|
|
284
|
+
* ```typescript
|
|
285
|
+
* async myHandler(input: MyInput, context: ExecutionContext) {
|
|
286
|
+
* if (context.task) {
|
|
287
|
+
* context.task.updateProgress('Starting...');
|
|
288
|
+
* context.task.throwIfCancelled();
|
|
289
|
+
* }
|
|
290
|
+
* }
|
|
291
|
+
* ```
|
|
292
|
+
*/
|
|
293
|
+
task?: {
|
|
294
|
+
readonly taskId: string;
|
|
295
|
+
readonly isCancelled: boolean;
|
|
296
|
+
updateProgress(message: string): void;
|
|
297
|
+
requestInput(message: string): void;
|
|
298
|
+
throwIfCancelled(): void;
|
|
299
|
+
};
|
|
163
300
|
}
|
|
164
301
|
/**
|
|
165
302
|
* Logger interface for structured logging
|
package/dist/core/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/core/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,SAAS,EAAE,CAAC;AAEpC;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AAEtD;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;AAErE;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,KAAK,GAAG,SAAS,CAAC;AAMrD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE;QACb,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC;IACF,OAAO,CAAC,EAAE;QACR,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;QAC3C,IAAI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
1
1
|
{
|
|
2
2
|
"name": "@nitrostack/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "NitroStack Core - Build powerful MCP servers with TypeScript",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/core/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"decorator",
|
|
42
42
|
"nestjs-inspired"
|
|
43
43
|
],
|
|
44
|
-
"author": "
|
|
44
|
+
"author": "Nitrostack Inc <hello@nitrostack.ai>",
|
|
45
45
|
"license": "Apache-2.0",
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@modelcontextprotocol/sdk": "^1.0.4",
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
},
|
|
80
80
|
"repository": {
|
|
81
81
|
"type": "git",
|
|
82
|
-
"url": "https://github.com/
|
|
82
|
+
"url": "https://github.com/nitrocloudofficial/nitrostack.git",
|
|
83
83
|
"directory": "typescript/packages/core"
|
|
84
84
|
},
|
|
85
85
|
"bugs": {
|
|
86
|
-
"url": "https://github.com/
|
|
86
|
+
"url": "https://github.com/nitrocloudofficial/nitrostack/issues"
|
|
87
87
|
},
|
|
88
88
|
"homepage": "https://nitrostack.ai"
|
|
89
|
-
}
|
|
89
|
+
}
|