@scribed/cli 0.1.9 → 0.1.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scribed/cli",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Command-line client + MCP server for Scribed — CRM records, phone + texting, inbox, calendar + booking, transcriptions, HR, Vault, automations, Creative Studio, and Documents, derived from the scribed-agent tool catalog.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -39,9 +39,9 @@
39
39
  "url": "git+https://github.com/q6th/scribed-web.git",
40
40
  "directory": "scribed-cli"
41
41
  },
42
- "gitHead": "650b40b2881b3cf46fef60f022f2e44dda0bd4ed",
42
+ "gitHead": "5421ac63e7d59c06704a739b5a6d7e49c676c911",
43
43
  "scribedRelease": {
44
44
  "repository": "q6th/scribed-web",
45
- "commit": "650b40b2881b3cf46fef60f022f2e44dda0bd4ed"
45
+ "commit": "5421ac63e7d59c06704a739b5a6d7e49c676c911"
46
46
  }
47
47
  }
package/types/mcp.d.ts CHANGED
@@ -17,6 +17,8 @@ export interface PublicToolCatalogItem {
17
17
  export interface CatalogToolDefinition {
18
18
  description: string;
19
19
  inputSchema: z.ZodType;
20
+ /** Canonical structured result schema when the tool declares one. */
21
+ outputSchema?: z.ZodType;
20
22
  execute: (
21
23
  args: unknown,
22
24
  options: { toolCallId: string; messages: never[] }
@@ -100,11 +102,21 @@ export interface CatalogExecutionResult {
100
102
  toolInvocations: CatalogToolInvocation[];
101
103
  }
102
104
 
105
+ export type McpToolProfile = 'claude-directory' | 'chatgpt-directory';
106
+
103
107
  export interface McpServerOptions {
104
108
  apiUrl: string;
109
+ /** Public product origin for vetted MCP App deep links. */
110
+ appOrigin?: string;
111
+ /** Unique HTTPS component origin required for public ChatGPT submission. */
112
+ uiDomain?: string;
113
+ /** Hosted OAuth metadata URL; absent for locally authenticated stdio. */
114
+ resourceMetadataUrl?: string;
105
115
  token?: string;
106
116
  /** "core" (default), "all", or comma-separated category slugs. */
107
117
  categories?: string;
118
+ /** Hosted API only: connector exposure policy; categories and grants only narrow it. */
119
+ profile?: McpToolProfile;
108
120
  /** Hosted Scribed API only; signs catalog-derived loopback requests. */
109
121
  internalSigningKey?: string;
110
122
  /** Hosted Scribed API only; omit state-changing tools. */
@@ -129,6 +141,9 @@ export declare const SERVER_INSTRUCTIONS: string;
129
141
 
130
142
  export declare function createMcpServer(options: McpServerOptions): McpServer;
131
143
 
144
+ /** Unknown profiles and noncanonical tool names fail closed. */
145
+ export declare function mcpProfileAllowsTool(profile: McpToolProfile, name: string): boolean;
146
+
132
147
  export declare function resolveCategorySelection(
133
148
  selection?: string
134
149
  ): ReadonlySet<string>;