contextwise 0.1.0 → 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/dist/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  import { Tool, CallToolResult } from '@modelcontextprotocol/sdk/types.js';
3
3
  import { EventEmitter } from 'node:events';
4
+ import * as node_http from 'node:http';
5
+ import { AsyncLocalStorage } from 'node:async_hooks';
4
6
 
5
7
  declare const StdioUpstreamConfigSchema: z.ZodObject<{
6
8
  command: z.ZodString;
@@ -95,6 +97,7 @@ declare const RoutingConfigSchema: z.ZodObject<{
95
97
  maxActiveTools: z.ZodDefault<z.ZodNumber>;
96
98
  enableBrowseServers: z.ZodDefault<z.ZodBoolean>;
97
99
  enableAddServer: z.ZodDefault<z.ZodBoolean>;
100
+ enableCloudSync: z.ZodDefault<z.ZodBoolean>;
98
101
  allowCustomCommands: z.ZodDefault<z.ZodBoolean>;
99
102
  persistAddedServers: z.ZodDefault<z.ZodBoolean>;
100
103
  }, "strip", z.ZodTypeAny, {
@@ -105,6 +108,7 @@ declare const RoutingConfigSchema: z.ZodObject<{
105
108
  maxActiveTools: number;
106
109
  enableBrowseServers: boolean;
107
110
  enableAddServer: boolean;
111
+ enableCloudSync: boolean;
108
112
  allowCustomCommands: boolean;
109
113
  persistAddedServers: boolean;
110
114
  }, {
@@ -115,6 +119,7 @@ declare const RoutingConfigSchema: z.ZodObject<{
115
119
  maxActiveTools?: number | undefined;
116
120
  enableBrowseServers?: boolean | undefined;
117
121
  enableAddServer?: boolean | undefined;
122
+ enableCloudSync?: boolean | undefined;
118
123
  allowCustomCommands?: boolean | undefined;
119
124
  persistAddedServers?: boolean | undefined;
120
125
  }>;
@@ -161,6 +166,7 @@ declare const ContextWiseConfigSchema: z.ZodObject<{
161
166
  maxActiveTools: z.ZodDefault<z.ZodNumber>;
162
167
  enableBrowseServers: z.ZodDefault<z.ZodBoolean>;
163
168
  enableAddServer: z.ZodDefault<z.ZodBoolean>;
169
+ enableCloudSync: z.ZodDefault<z.ZodBoolean>;
164
170
  allowCustomCommands: z.ZodDefault<z.ZodBoolean>;
165
171
  persistAddedServers: z.ZodDefault<z.ZodBoolean>;
166
172
  }, "strip", z.ZodTypeAny, {
@@ -171,6 +177,7 @@ declare const ContextWiseConfigSchema: z.ZodObject<{
171
177
  maxActiveTools: number;
172
178
  enableBrowseServers: boolean;
173
179
  enableAddServer: boolean;
180
+ enableCloudSync: boolean;
174
181
  allowCustomCommands: boolean;
175
182
  persistAddedServers: boolean;
176
183
  }, {
@@ -181,6 +188,7 @@ declare const ContextWiseConfigSchema: z.ZodObject<{
181
188
  maxActiveTools?: number | undefined;
182
189
  enableBrowseServers?: boolean | undefined;
183
190
  enableAddServer?: boolean | undefined;
191
+ enableCloudSync?: boolean | undefined;
184
192
  allowCustomCommands?: boolean | undefined;
185
193
  persistAddedServers?: boolean | undefined;
186
194
  }>>;
@@ -252,6 +260,7 @@ declare const ContextWiseConfigSchema: z.ZodObject<{
252
260
  maxActiveTools: number;
253
261
  enableBrowseServers: boolean;
254
262
  enableAddServer: boolean;
263
+ enableCloudSync: boolean;
255
264
  allowCustomCommands: boolean;
256
265
  persistAddedServers: boolean;
257
266
  };
@@ -291,6 +300,7 @@ declare const ContextWiseConfigSchema: z.ZodObject<{
291
300
  maxActiveTools?: number | undefined;
292
301
  enableBrowseServers?: boolean | undefined;
293
302
  enableAddServer?: boolean | undefined;
303
+ enableCloudSync?: boolean | undefined;
294
304
  allowCustomCommands?: boolean | undefined;
295
305
  persistAddedServers?: boolean | undefined;
296
306
  } | undefined;
@@ -588,19 +598,32 @@ declare class ContextRouter {
588
598
  }
589
599
  declare const contextRouter: ContextRouter;
590
600
 
601
+ declare const requestContext: AsyncLocalStorage<{
602
+ receipt?: string;
603
+ }>;
591
604
  declare class ContextWiseProxy {
592
605
  private server;
593
606
  private multiplexer;
594
607
  private router;
595
608
  private transport?;
609
+ private httpServers;
610
+ private httpTransports;
596
611
  private config?;
597
612
  private isRunning;
613
+ private claimedReceiptNonces;
598
614
  constructor();
615
+ /**
616
+ * Builds a Session-scoped MCP Server whose handlers delegate to the shared
617
+ * engine (router, multiplexer, cloud clients). One instance per HTTP
618
+ * session — the MCP SDK binds a Server to a single transport, and sharing
619
+ * one Server across sessions breaks repeat handshakes.
620
+ */
621
+ private createSessionServer;
599
622
  private setupRequestHandlers;
600
623
  /**
601
624
  * Main tool execution pipeline handling meta-tools and proxied calls.
602
625
  */
603
- handleToolCall(name: string, args?: Record<string, unknown>): Promise<CallToolResult>;
626
+ handleToolCall(name: string, args?: Record<string, unknown>, receipt?: string): Promise<CallToolResult>;
604
627
  /**
605
628
  * Handles contextwise_browse_servers execution.
606
629
  */
@@ -613,14 +636,34 @@ declare class ContextWiseProxy {
613
636
  * Handles contextwise_search_tools execution.
614
637
  */
615
638
  private handleSearchToolsCall;
639
+ /**
640
+ * Handles metered cloud-sync meta-tool calls. These operate on the host
641
+ * instance's workspace via its stored ContextWise Cloud session.
642
+ */
643
+ private handleCloudPushCall;
644
+ private handleCloudPullCall;
645
+ private handleSyncStatusCall;
616
646
  /**
617
647
  * Dispatches tool call through guardrails and upstream multiplexer.
618
648
  */
619
649
  private dispatchProxiedToolCall;
620
650
  /**
621
- * Starts ContextWise proxy using given configuration.
651
+ * Shared boot: config, guardrails, upstreams, catalog. Transport-agnostic.
652
+ */
653
+ private boot;
654
+ /**
655
+ * Starts ContextWise proxy over stdio (default: local AI clients).
622
656
  */
623
657
  start(config: ContextWiseConfig): Promise<void>;
658
+ /**
659
+ * Starts ContextWise proxy over Streamable HTTP (for MCPaid edge publishing
660
+ * via `mcpaid publish`, or any remote MCP client). Stateless: each request
661
+ * gets its own transport, so no session affinity is required.
662
+ */
663
+ startHttp(config: ContextWiseConfig, options?: {
664
+ port?: number;
665
+ path?: string;
666
+ }): Promise<node_http.Server>;
624
667
  /**
625
668
  * Gracefully shuts down proxy and upstream connections.
626
669
  */
@@ -746,10 +789,16 @@ declare const SEARCH_TOOLS_NAME = "contextwise_search_tools";
746
789
  declare const EXECUTE_TOOL_NAME = "contextwise_execute_tool";
747
790
  declare const BROWSE_SERVERS_NAME = "contextwise_browse_servers";
748
791
  declare const ADD_SERVER_NAME = "contextwise_add_server";
792
+ declare const CLOUD_PUSH_NAME = "contextwise_cloud_push";
793
+ declare const CLOUD_PULL_NAME = "contextwise_cloud_pull";
794
+ declare const SYNC_STATUS_NAME = "contextwise_sync_status";
749
795
  declare const SEARCH_TOOLS_DEFINITION: Tool;
750
796
  declare const EXECUTE_TOOL_DEFINITION: Tool;
751
797
  declare const BROWSE_SERVERS_DEFINITION: Tool;
752
798
  declare const ADD_SERVER_DEFINITION: Tool;
799
+ declare const CLOUD_PUSH_DEFINITION: Tool;
800
+ declare const CLOUD_PULL_DEFINITION: Tool;
801
+ declare const SYNC_STATUS_DEFINITION: Tool;
753
802
 
754
803
  interface WorkspaceContext {
755
804
  detectedDomains: string[];
@@ -1284,15 +1333,6 @@ interface CloudProfileInfo {
1284
1333
  workspaces: WorkspaceMetadata[];
1285
1334
  devices: DeviceMetadata[];
1286
1335
  }
1287
- interface CheckoutSessionResult {
1288
- sessionId: string;
1289
- checkoutUrl: string;
1290
- plan: string;
1291
- interval: string;
1292
- }
1293
- interface BillingPortalResult {
1294
- portalUrl: string;
1295
- }
1296
1336
 
1297
1337
  declare class ContextWiseCloudClient {
1298
1338
  private apiUrl;
@@ -1328,22 +1368,14 @@ declare class ContextWiseCloudClient {
1328
1368
  * Retrieves profile information for current authenticated account.
1329
1369
  */
1330
1370
  whoami(): Promise<CloudProfileInfo>;
1331
- /**
1332
- * Initiates Stripe Checkout session for Pro or Team upgrade.
1333
- */
1334
- createCheckoutSession(plan?: 'pro' | 'team', interval?: 'month' | 'year'): Promise<CheckoutSessionResult>;
1335
- /**
1336
- * Generates Stripe Customer Portal session to manage subscription and invoices.
1337
- */
1338
- createPortalSession(): Promise<BillingPortalResult>;
1339
1371
  /**
1340
1372
  * Pushes a workspace snapshot (config + encrypted vault) to the Cloudflare Workers / D1 backend.
1341
1373
  */
1342
- pushSync(payload: SyncPushPayload): Promise<SyncPushResult>;
1374
+ pushSync(payload: SyncPushPayload, receipt?: string): Promise<SyncPushResult>;
1343
1375
  /**
1344
1376
  * Pulls the latest workspace snapshot (config + encrypted vault) from the cloud backend.
1345
1377
  */
1346
- pullSync(workspaceId: string, sinceRevision?: number): Promise<SyncPullResult | null>;
1378
+ pullSync(workspaceId: string, sinceRevision?: number, receipt?: string): Promise<SyncPullResult | null>;
1347
1379
  }
1348
1380
  declare const cloudClient: ContextWiseCloudClient;
1349
1381
 
@@ -1375,11 +1407,11 @@ declare class SyncManager {
1375
1407
  /**
1376
1408
  * Pushes local configuration and encrypted vault payload to the cloud.
1377
1409
  */
1378
- push(workspaceId?: string): Promise<SyncPushResult>;
1410
+ push(workspaceId?: string, receipt?: string): Promise<SyncPushResult>;
1379
1411
  /**
1380
1412
  * Pulls the latest cloud configuration and merges upstream servers.
1381
1413
  */
1382
- pull(workspaceId?: string): Promise<SyncPullResult | null>;
1414
+ pull(workspaceId?: string, receipt?: string): Promise<SyncPullResult | null>;
1383
1415
  /**
1384
1416
  * Semantically merges remote configuration into local contextwise.json.
1385
1417
  */
@@ -1432,4 +1464,4 @@ declare function sha256(input: string): string;
1432
1464
  */
1433
1465
  declare function generateToolCallCacheKey(serverName: string, toolName: string, args?: Record<string, unknown>): string;
1434
1466
 
1435
- export { ADD_SERVER_DEFINITION, ADD_SERVER_NAME, type AesGcmResult, BROWSE_SERVERS_DEFINITION, BROWSE_SERVERS_NAME, type BillingPortalResult, CACHE_TOKENS_PER_HIT, type CacheStats, type CheckoutSessionResult, type CloudAuthToken, type CloudClientOptions, type CloudProfileInfo, ConfigLoader, ContextRouter, ContextWiseCloudClient, type ContextWiseConfig, ContextWiseConfigSchema, ContextWiseProxy, type DeviceIdentity, type DeviceMetadata, type DollarSavings, EXECUTE_TOOL_DEFINITION, EXECUTE_TOOL_NAME, type EncryptedEnvelope, EncryptedFileVaultDriver, type EncryptedVaultPayload, type ExecutionMetric, type GuardrailsConfig, GuardrailsConfigSchema, type HttpUpstreamConfig, HttpUpstreamConfigSchema, HybridSearchEngine, KNOWN_SERVERS, type KnownServerDefinition, KnownServerRegistry, LLM_PRICING, LOOP_PREVENTION_TOKENS_PER_TRIP, type LoadConfigOptions, type LogLevel, Logger, type LoopBreakerConfig, MetricsCollector, type MetricsSummary, type NamespacedTool, type NormalizedToolDocument, OfficialRegistryClient, OsKeystoreDriver, type PersistentMetricsData, ProcessSupervisor, type ProxyConfig, ProxyConfigSchema, type RecommendationOutput, RedactionFilter, type RegistrySearchOptions, type RegistryServerItem, type RegistrySource, type RequiredParam, ResponseCache, type RoutingConfig, RoutingConfigSchema, RunawayLoopBreaker, SCHEMA_TOKENS_PER_TOOL, SEARCH_TOOLS_DEFINITION, SEARCH_TOOLS_NAME, type SearchOptions, type SearchResult, type SearchToolsResult, type SecretAuditReport, type SecretMetadata, SecretResolver, SecretVault, type ServerCategory, type ServerConnectionStatus, ServerManager, ServerRecommender, SmitheryClient, type StdioUpstreamConfig, StdioUpstreamConfigSchema, type SupervisedProcess, SyncManager, type SyncPullResult, type SyncPushPayload, type SyncPushResult, ToolArgumentValidator, type ToolExecutionRequest, type ToolExecutionResponse, ToolNormalizer, ToolRegistry, type ToolRegistryOptions, UnifiedRegistryClient, type UpstreamClientEvents, UpstreamMultiplexer, type UpstreamServerConfig, UpstreamServerConfigSchema, type UpstreamServerStatus, VAULT_PBKDF2_ITERATIONS, type ValidationResult, VaultAuditor, type VaultDriver, type WorkspaceContext, WorkspaceContextPrimer, type WorkspaceMetadata, argumentValidator, calculateDollarSavings, canonicalJsonStringify, cloudClient, contextRouter, createEnvelope, decryptAesGcm, deriveKeyFromPassphrase, deriveSharedSecretX25519, encryptAesGcm, escapeWindowsCmdArg, generateKeyPairX25519, generateToolCallCacheKey, getDefaultMetricsPath, getDefaultVaultFilePath, getOrCreateDeviceIdentity, getOrCreateMachineKey, inferToolHints, isHttpUpstream, isStdioUpstream, logger, loopBreaker, metricsCollector, openEnvelope, proxy, redactionFilter, responseCache, searchEngine, secretVault, sha256, supervisor, syncManager, toolRegistry, warnIfInsecureHttp };
1467
+ export { ADD_SERVER_DEFINITION, ADD_SERVER_NAME, type AesGcmResult, BROWSE_SERVERS_DEFINITION, BROWSE_SERVERS_NAME, CACHE_TOKENS_PER_HIT, CLOUD_PULL_DEFINITION, CLOUD_PULL_NAME, CLOUD_PUSH_DEFINITION, CLOUD_PUSH_NAME, type CacheStats, type CloudAuthToken, type CloudClientOptions, type CloudProfileInfo, ConfigLoader, ContextRouter, ContextWiseCloudClient, type ContextWiseConfig, ContextWiseConfigSchema, ContextWiseProxy, type DeviceIdentity, type DeviceMetadata, type DollarSavings, EXECUTE_TOOL_DEFINITION, EXECUTE_TOOL_NAME, type EncryptedEnvelope, EncryptedFileVaultDriver, type EncryptedVaultPayload, type ExecutionMetric, type GuardrailsConfig, GuardrailsConfigSchema, type HttpUpstreamConfig, HttpUpstreamConfigSchema, HybridSearchEngine, KNOWN_SERVERS, type KnownServerDefinition, KnownServerRegistry, LLM_PRICING, LOOP_PREVENTION_TOKENS_PER_TRIP, type LoadConfigOptions, type LogLevel, Logger, type LoopBreakerConfig, MetricsCollector, type MetricsSummary, type NamespacedTool, type NormalizedToolDocument, OfficialRegistryClient, OsKeystoreDriver, type PersistentMetricsData, ProcessSupervisor, type ProxyConfig, ProxyConfigSchema, type RecommendationOutput, RedactionFilter, type RegistrySearchOptions, type RegistryServerItem, type RegistrySource, type RequiredParam, ResponseCache, type RoutingConfig, RoutingConfigSchema, RunawayLoopBreaker, SCHEMA_TOKENS_PER_TOOL, SEARCH_TOOLS_DEFINITION, SEARCH_TOOLS_NAME, SYNC_STATUS_DEFINITION, SYNC_STATUS_NAME, type SearchOptions, type SearchResult, type SearchToolsResult, type SecretAuditReport, type SecretMetadata, SecretResolver, SecretVault, type ServerCategory, type ServerConnectionStatus, ServerManager, ServerRecommender, SmitheryClient, type StdioUpstreamConfig, StdioUpstreamConfigSchema, type SupervisedProcess, SyncManager, type SyncPullResult, type SyncPushPayload, type SyncPushResult, ToolArgumentValidator, type ToolExecutionRequest, type ToolExecutionResponse, ToolNormalizer, ToolRegistry, type ToolRegistryOptions, UnifiedRegistryClient, type UpstreamClientEvents, UpstreamMultiplexer, type UpstreamServerConfig, UpstreamServerConfigSchema, type UpstreamServerStatus, VAULT_PBKDF2_ITERATIONS, type ValidationResult, VaultAuditor, type VaultDriver, type WorkspaceContext, WorkspaceContextPrimer, type WorkspaceMetadata, argumentValidator, calculateDollarSavings, canonicalJsonStringify, cloudClient, contextRouter, createEnvelope, decryptAesGcm, deriveKeyFromPassphrase, deriveSharedSecretX25519, encryptAesGcm, escapeWindowsCmdArg, generateKeyPairX25519, generateToolCallCacheKey, getDefaultMetricsPath, getDefaultVaultFilePath, getOrCreateDeviceIdentity, getOrCreateMachineKey, inferToolHints, isHttpUpstream, isStdioUpstream, logger, loopBreaker, metricsCollector, openEnvelope, proxy, redactionFilter, requestContext, responseCache, searchEngine, secretVault, sha256, supervisor, syncManager, toolRegistry, warnIfInsecureHttp };
package/dist/index.js CHANGED
@@ -4,91 +4,106 @@ import {
4
4
  BROWSE_SERVERS_DEFINITION,
5
5
  BROWSE_SERVERS_NAME,
6
6
  CACHE_TOKENS_PER_HIT,
7
- ConfigLoader,
7
+ CLOUD_PULL_DEFINITION,
8
+ CLOUD_PULL_NAME,
9
+ CLOUD_PUSH_DEFINITION,
10
+ CLOUD_PUSH_NAME,
8
11
  ContextRouter,
9
- ContextWiseCloudClient,
10
- ContextWiseConfigSchema,
11
12
  ContextWiseProxy,
12
13
  EXECUTE_TOOL_DEFINITION,
13
14
  EXECUTE_TOOL_NAME,
14
- EncryptedFileVaultDriver,
15
- GuardrailsConfigSchema,
16
- HttpUpstreamConfigSchema,
17
15
  HybridSearchEngine,
18
16
  KNOWN_SERVERS,
19
17
  KnownServerRegistry,
20
18
  LLM_PRICING,
21
19
  LOOP_PREVENTION_TOKENS_PER_TRIP,
22
- Logger,
23
20
  MetricsCollector,
24
21
  OfficialRegistryClient,
25
22
  OsKeystoreDriver,
26
23
  ProcessSupervisor,
27
- ProxyConfigSchema,
28
- RedactionFilter,
29
24
  ResponseCache,
30
- RoutingConfigSchema,
31
25
  RunawayLoopBreaker,
32
26
  SCHEMA_TOKENS_PER_TOOL,
33
27
  SEARCH_TOOLS_DEFINITION,
34
28
  SEARCH_TOOLS_NAME,
29
+ SYNC_STATUS_DEFINITION,
30
+ SYNC_STATUS_NAME,
35
31
  SecretResolver,
36
32
  SecretVault,
37
33
  ServerManager,
38
34
  ServerRecommender,
39
35
  SmitheryClient,
40
- StdioUpstreamConfigSchema,
41
- SyncManager,
42
36
  ToolArgumentValidator,
43
37
  ToolNormalizer,
44
38
  ToolRegistry,
45
39
  UnifiedRegistryClient,
46
40
  UpstreamMultiplexer,
47
- UpstreamServerConfigSchema,
48
- VAULT_PBKDF2_ITERATIONS,
49
41
  VaultAuditor,
50
42
  WorkspaceContextPrimer,
51
43
  argumentValidator,
52
44
  calculateDollarSavings,
53
45
  canonicalJsonStringify,
54
- cloudClient,
55
46
  contextRouter,
56
- createEnvelope,
57
- decryptAesGcm,
58
- deriveKeyFromPassphrase,
59
- deriveSharedSecretX25519,
60
- encryptAesGcm,
61
47
  escapeWindowsCmdArg,
62
- generateKeyPairX25519,
63
48
  generateToolCallCacheKey,
64
49
  getDefaultMetricsPath,
65
- getDefaultVaultFilePath,
66
- getOrCreateDeviceIdentity,
67
- getOrCreateMachineKey,
68
50
  inferToolHints,
69
- isHttpUpstream,
70
- isStdioUpstream,
71
- logger,
72
51
  loopBreaker,
73
52
  metricsCollector,
74
- openEnvelope,
75
53
  proxy,
76
- redactionFilter,
54
+ requestContext,
77
55
  responseCache,
78
56
  searchEngine,
79
57
  secretVault,
80
58
  sha256,
81
59
  supervisor,
60
+ toolRegistry
61
+ } from "./chunk-5ZMX5TEM.js";
62
+ import {
63
+ ConfigLoader,
64
+ ContextWiseConfigSchema,
65
+ EncryptedFileVaultDriver,
66
+ GuardrailsConfigSchema,
67
+ HttpUpstreamConfigSchema,
68
+ ProxyConfigSchema,
69
+ RoutingConfigSchema,
70
+ StdioUpstreamConfigSchema,
71
+ SyncManager,
72
+ UpstreamServerConfigSchema,
73
+ VAULT_PBKDF2_ITERATIONS,
74
+ createEnvelope,
75
+ decryptAesGcm,
76
+ deriveKeyFromPassphrase,
77
+ deriveSharedSecretX25519,
78
+ encryptAesGcm,
79
+ generateKeyPairX25519,
80
+ getDefaultVaultFilePath,
81
+ getOrCreateDeviceIdentity,
82
+ getOrCreateMachineKey,
83
+ isHttpUpstream,
84
+ isStdioUpstream,
85
+ openEnvelope,
82
86
  syncManager,
83
- toolRegistry,
84
87
  warnIfInsecureHttp
85
- } from "./chunk-P7JW7EPW.js";
88
+ } from "./chunk-OYCA37PJ.js";
89
+ import {
90
+ ContextWiseCloudClient,
91
+ Logger,
92
+ RedactionFilter,
93
+ cloudClient,
94
+ logger,
95
+ redactionFilter
96
+ } from "./chunk-WP7RH2Z2.js";
86
97
  export {
87
98
  ADD_SERVER_DEFINITION,
88
99
  ADD_SERVER_NAME,
89
100
  BROWSE_SERVERS_DEFINITION,
90
101
  BROWSE_SERVERS_NAME,
91
102
  CACHE_TOKENS_PER_HIT,
103
+ CLOUD_PULL_DEFINITION,
104
+ CLOUD_PULL_NAME,
105
+ CLOUD_PUSH_DEFINITION,
106
+ CLOUD_PUSH_NAME,
92
107
  ConfigLoader,
93
108
  ContextRouter,
94
109
  ContextWiseCloudClient,
@@ -117,6 +132,8 @@ export {
117
132
  SCHEMA_TOKENS_PER_TOOL,
118
133
  SEARCH_TOOLS_DEFINITION,
119
134
  SEARCH_TOOLS_NAME,
135
+ SYNC_STATUS_DEFINITION,
136
+ SYNC_STATUS_NAME,
120
137
  SecretResolver,
121
138
  SecretVault,
122
139
  ServerManager,
@@ -159,6 +176,7 @@ export {
159
176
  openEnvelope,
160
177
  proxy,
161
178
  redactionFilter,
179
+ requestContext,
162
180
  responseCache,
163
181
  searchEngine,
164
182
  secretVault,
@@ -0,0 +1,10 @@
1
+ import {
2
+ SyncManager,
3
+ syncManager
4
+ } from "./chunk-OYCA37PJ.js";
5
+ import "./chunk-WP7RH2Z2.js";
6
+ export {
7
+ SyncManager,
8
+ syncManager
9
+ };
10
+ //# sourceMappingURL=sync_manager-2WYXXGCN.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contextwise",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Dynamic Model Context Protocol (MCP) Tool Routing, Schema Compression & Execution Gateway",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -51,6 +51,7 @@
51
51
  ],
52
52
  "license": "MIT",
53
53
  "dependencies": {
54
+ "@mcpaid/sdk": "^2.1.0",
54
55
  "@modelcontextprotocol/sdk": "^1.6.1",
55
56
  "ajv": "^8.17.1",
56
57
  "ajv-formats": "^3.0.1",