langmart-gateway-type3 3.0.41 → 3.0.43

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.
@@ -1,20 +1,20 @@
1
1
  import { KeyVault } from './key-vault';
2
- export interface MarketplaceToolResult {
2
+ export interface RegistryToolResult {
3
3
  success: boolean;
4
4
  output?: string;
5
5
  error?: string;
6
6
  }
7
- export declare class MarketplaceTools {
7
+ export declare class RegistryTools {
8
8
  private static instance;
9
9
  private client;
10
- private marketplaceUrl;
10
+ private registryUrl;
11
11
  private managementUrl;
12
12
  private apiKey;
13
13
  private keyVault;
14
14
  private connectionMap;
15
15
  private providerMap;
16
- constructor(marketplaceUrl: string, apiKey: string, managementUrl: string, keyVault: KeyVault);
17
- static getInstance(marketplaceUrl?: string, apiKey?: string, managementUrl?: string, keyVault?: KeyVault): MarketplaceTools;
16
+ constructor(registryUrl: string, apiKey: string, managementUrl: string, keyVault: KeyVault);
17
+ static getInstance(registryUrl?: string, apiKey?: string, managementUrl?: string, keyVault?: KeyVault): RegistryTools;
18
18
  /**
19
19
  * Get tool definitions for AI
20
20
  */
@@ -24,9 +24,9 @@ export declare class MarketplaceTools {
24
24
  */
25
25
  formatToolsForPrompt(): string;
26
26
  /**
27
- * Execute a marketplace tool
27
+ * Execute a registry tool
28
28
  */
29
- executeTool(toolName: string, args: any): Promise<MarketplaceToolResult>;
29
+ executeTool(toolName: string, args: any): Promise<RegistryToolResult>;
30
30
  /**
31
31
  * Resolve connection identifier to UUID
32
32
  * Accepts either:
@@ -100,5 +100,27 @@ export declare class MarketplaceTools {
100
100
  */
101
101
  private publishModel;
102
102
  private updateSingleModelAccess;
103
+ /**
104
+ * Update billing settings for organization models (org admin only)
105
+ * Calls /api/admin/models/:id/billing
106
+ */
107
+ private updateModelBilling;
108
+ /**
109
+ * Update visibility for organization models (org admin only)
110
+ * Calls /api/admin/models/:id/visibility
111
+ */
112
+ private updateModelVisibility;
113
+ /**
114
+ * Get overall status of a workflow execution
115
+ */
116
+ private getWorkflowStatus;
117
+ /**
118
+ * List all instances in a workflow execution
119
+ */
120
+ private listWorkflowInstances;
121
+ /**
122
+ * Get output from a specific agent instance
123
+ */
124
+ private getInstanceOutput;
103
125
  }
104
- //# sourceMappingURL=marketplace-tools.d.ts.map
126
+ //# sourceMappingURL=registry-tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry-tools.d.ts","sourceRoot":"","sources":["../registry-tools.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,WAAW,kBAAkB;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,aAAa;IACtB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAA8B;IACrD,OAAO,CAAC,MAAM,CAAgB;IAC9B,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,QAAQ,CAAW;IAC3B,OAAO,CAAC,aAAa,CAAkC;IACvD,OAAO,CAAC,WAAW,CAAkC;gBAEzC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,MAAgC,EAAE,QAAQ,EAAE,QAAQ;WAmBtG,WAAW,CAAC,WAAW,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,aAAa;IAU5H;;OAEG;IACI,QAAQ,IAAI,GAAG,EAAE;IAymBxB;;OAEG;IACI,oBAAoB,IAAI,MAAM;IAsBrC;;OAEG;IACU,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAiGlF;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