@opentabs-dev/plugin-sdk 0.0.15 → 0.0.16
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/dist/index.d.ts +62 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,64 @@ export interface ToolHandlerContext {
|
|
|
18
18
|
/** Report incremental progress during a long-running operation. Fire-and-forget. */
|
|
19
19
|
reportProgress(opts: ProgressOptions): void;
|
|
20
20
|
}
|
|
21
|
+
/** Content returned from reading a resource. Aligns with MCP ReadResourceResult.contents[n]. */
|
|
22
|
+
export interface ResourceContent {
|
|
23
|
+
/** URI identifying this resource. */
|
|
24
|
+
uri: string;
|
|
25
|
+
/** Text content (mutually exclusive with blob for a given resource). */
|
|
26
|
+
text?: string;
|
|
27
|
+
/** Base64-encoded binary content (mutually exclusive with text for a given resource). */
|
|
28
|
+
blob?: string;
|
|
29
|
+
/** MIME type of the content (e.g., 'application/json', 'text/plain'). */
|
|
30
|
+
mimeType?: string;
|
|
31
|
+
}
|
|
32
|
+
/** A plugin resource definition. The read() handler executes in the browser page context. */
|
|
33
|
+
export interface ResourceDefinition {
|
|
34
|
+
/** Resource URI (e.g., 'slack://channels'). Must be non-empty. */
|
|
35
|
+
uri: string;
|
|
36
|
+
/** Human-readable name for the resource. */
|
|
37
|
+
name: string;
|
|
38
|
+
/** Human-readable description of the resource. */
|
|
39
|
+
description?: string;
|
|
40
|
+
/** MIME type of the resource content (e.g., 'application/json'). */
|
|
41
|
+
mimeType?: string;
|
|
42
|
+
/** Read the resource content. Runs in the browser page context. */
|
|
43
|
+
read(uri: string): Promise<ResourceContent>;
|
|
44
|
+
}
|
|
45
|
+
/** Type-safe factory — identity function that provides type checking for resource definitions. */
|
|
46
|
+
export declare const defineResource: (config: ResourceDefinition) => ResourceDefinition;
|
|
47
|
+
/** A single argument for a prompt. Aligns with MCP PromptArgument. */
|
|
48
|
+
export interface PromptArgument {
|
|
49
|
+
/** Argument name. */
|
|
50
|
+
name: string;
|
|
51
|
+
/** Human-readable description of the argument. */
|
|
52
|
+
description?: string;
|
|
53
|
+
/** Whether this argument is required. */
|
|
54
|
+
required?: boolean;
|
|
55
|
+
}
|
|
56
|
+
/** A single message in a prompt result. Aligns with MCP GetPromptResult.messages[n]. */
|
|
57
|
+
export interface PromptMessage {
|
|
58
|
+
/** Message role. */
|
|
59
|
+
role: 'user' | 'assistant';
|
|
60
|
+
/** Message content. */
|
|
61
|
+
content: {
|
|
62
|
+
type: 'text';
|
|
63
|
+
text: string;
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
/** A plugin prompt definition. The render() handler executes in the browser page context. */
|
|
67
|
+
export interface PromptDefinition {
|
|
68
|
+
/** Prompt name (e.g., 'compose_message'). Must be non-empty. */
|
|
69
|
+
name: string;
|
|
70
|
+
/** Human-readable description of the prompt. */
|
|
71
|
+
description?: string;
|
|
72
|
+
/** Arguments the prompt accepts. */
|
|
73
|
+
arguments?: PromptArgument[];
|
|
74
|
+
/** Render the prompt messages. Runs in the browser page context. */
|
|
75
|
+
render(args: Record<string, string>): Promise<PromptMessage[]>;
|
|
76
|
+
}
|
|
77
|
+
/** Type-safe factory — identity function that provides type checking for prompt definitions. */
|
|
78
|
+
export declare const definePrompt: (config: PromptDefinition) => PromptDefinition;
|
|
21
79
|
export interface ToolDefinition<TInput extends z.ZodObject<z.ZodRawShape> = z.ZodObject<z.ZodRawShape>, TOutput extends z.ZodType = z.ZodType> {
|
|
22
80
|
/** Tool name — auto-prefixed with plugin name (e.g., 'send_message' → 'slack_send_message') */
|
|
23
81
|
name: string;
|
|
@@ -54,6 +112,10 @@ export declare abstract class OpenTabsPlugin {
|
|
|
54
112
|
abstract readonly urlPatterns: string[];
|
|
55
113
|
/** All tool definitions for this plugin */
|
|
56
114
|
abstract readonly tools: ToolDefinition[];
|
|
115
|
+
/** Resource definitions for this plugin (optional). */
|
|
116
|
+
readonly resources?: ResourceDefinition[];
|
|
117
|
+
/** Prompt definitions for this plugin (optional). */
|
|
118
|
+
readonly prompts?: PromptDefinition[];
|
|
57
119
|
/**
|
|
58
120
|
* Readiness probe (Kubernetes convention).
|
|
59
121
|
* Called by the extension to determine if the service in the current
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAM7B,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1G,YAAY,EAAE,YAAY,EAAE,cAAc,IAAI,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrF,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAM3D,sFAAsF;AACtF,MAAM,WAAW,eAAe;IAC9B,8DAA8D;IAC9D,QAAQ,EAAE,MAAM,CAAC;IACjB,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,4EAA4E;AAC5E,MAAM,WAAW,kBAAkB;IACjC,oFAAoF;IACpF,cAAc,CAAC,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;CAC7C;AAMD,MAAM,WAAW,cAAc,CAC7B,MAAM,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,EACtE,OAAO,SAAS,CAAC,CAAC,OAAO,GAAG,CAAC,CAAC,OAAO;IAErC,+FAA+F;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AAE,aAAa,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAM7E,OAAO,EAAE,GAAG,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
// ---------------------------------------------------------------------------
|
|
4
4
|
export { NAME_REGEX, RESERVED_NAMES, validatePluginName, validateUrlPattern } from '@opentabs-dev/shared';
|
|
5
5
|
export { LUCIDE_ICON_NAMES } from './lucide-icon-names.js';
|
|
6
|
+
/** Type-safe factory — identity function that provides type checking for resource definitions. */
|
|
7
|
+
export const defineResource = (config) => config;
|
|
8
|
+
/** Type-safe factory — identity function that provides type checking for prompt definitions. */
|
|
9
|
+
export const definePrompt = (config) => config;
|
|
6
10
|
/** Type-safe factory — identity function that provides generic inference */
|
|
7
11
|
export const defineTool = (config) => config;
|
|
8
12
|
/**
|
|
@@ -10,6 +14,10 @@ export const defineTool = (config) => config;
|
|
|
10
14
|
* Plugin authors extend this and export an instance.
|
|
11
15
|
*/
|
|
12
16
|
export class OpenTabsPlugin {
|
|
17
|
+
/** Resource definitions for this plugin (optional). */
|
|
18
|
+
resources;
|
|
19
|
+
/** Prompt definitions for this plugin (optional). */
|
|
20
|
+
prompts;
|
|
13
21
|
}
|
|
14
22
|
// ---------------------------------------------------------------------------
|
|
15
23
|
// Errors
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,8EAA8E;AAC9E,gEAAgE;AAChE,8EAA8E;AAE9E,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1G,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
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,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9F,8EAA8E;AAC9E,6BAA6B;AAC7B,8EAA8E;AAE9E,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE7E,8EAA8E;AAC9E,0BAA0B;AAC1B,8EAA8E;AAE9E,OAAO,EAAE,GAAG,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentabs-dev/plugin-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"generate:icons": "bun scripts/generate-icon-names.ts"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@opentabs-dev/shared": "^0.0.
|
|
23
|
+
"@opentabs-dev/shared": "^0.0.16"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"zod": "^4.0.0"
|