@syntero/orca-cli 1.2.17-next.5 → 1.2.17-next.7

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.
@@ -20,6 +20,10 @@ export declare const TOOLS_ANTHROPIC: ({
20
20
  type: string;
21
21
  description: string;
22
22
  };
23
+ timeout: {
24
+ type: string;
25
+ description: string;
26
+ };
23
27
  };
24
28
  required: string[];
25
29
  };
@@ -171,6 +175,7 @@ export declare const TOOLS_ANTHROPIC: ({
171
175
  limit?: undefined;
172
176
  include_prerelease?: undefined;
173
177
  org_id?: undefined;
178
+ org_ids?: undefined;
174
179
  };
175
180
  required: string[];
176
181
  };
@@ -193,6 +198,7 @@ export declare const TOOLS_ANTHROPIC: ({
193
198
  limit?: undefined;
194
199
  include_prerelease?: undefined;
195
200
  org_id?: undefined;
201
+ org_ids?: undefined;
196
202
  };
197
203
  required: string[];
198
204
  };
@@ -229,6 +235,7 @@ export declare const TOOLS_ANTHROPIC: ({
229
235
  limit?: undefined;
230
236
  include_prerelease?: undefined;
231
237
  org_id?: undefined;
238
+ org_ids?: undefined;
232
239
  };
233
240
  required: string[];
234
241
  };
@@ -251,6 +258,91 @@ export declare const TOOLS_ANTHROPIC: ({
251
258
  notes?: undefined;
252
259
  limit?: undefined;
253
260
  include_prerelease?: undefined;
261
+ org_ids?: undefined;
262
+ };
263
+ required: string[];
264
+ };
265
+ } | {
266
+ name: string;
267
+ description: string;
268
+ input_schema: {
269
+ type: string;
270
+ properties: {
271
+ agent_id: {
272
+ type: string;
273
+ description: string;
274
+ };
275
+ target_dir?: undefined;
276
+ endpoint_url?: undefined;
277
+ model?: undefined;
278
+ prompt?: undefined;
279
+ model_name?: undefined;
280
+ };
281
+ required: string[];
282
+ };
283
+ } | {
284
+ name: string;
285
+ description: string;
286
+ input_schema: {
287
+ type: string;
288
+ properties: {
289
+ agent_id: {
290
+ type: string;
291
+ description: string;
292
+ };
293
+ target_dir: {
294
+ type: string;
295
+ description: string;
296
+ };
297
+ endpoint_url?: undefined;
298
+ model?: undefined;
299
+ prompt?: undefined;
300
+ model_name?: undefined;
301
+ };
302
+ required: string[];
303
+ };
304
+ } | {
305
+ name: string;
306
+ description: string;
307
+ input_schema: {
308
+ type: string;
309
+ properties: {
310
+ endpoint_url: {
311
+ type: string;
312
+ description: string;
313
+ };
314
+ model: {
315
+ type: string;
316
+ description: string;
317
+ };
318
+ prompt: {
319
+ type: string;
320
+ description: string;
321
+ };
322
+ agent_id?: undefined;
323
+ target_dir?: undefined;
324
+ model_name?: undefined;
325
+ };
326
+ required: string[];
327
+ };
328
+ } | {
329
+ name: string;
330
+ description: string;
331
+ input_schema: {
332
+ type: string;
333
+ properties: {
334
+ endpoint_url: {
335
+ type: string;
336
+ description: string;
337
+ };
338
+ model_name: {
339
+ type: string;
340
+ description: string;
341
+ };
342
+ agent_id?: undefined;
343
+ target_dir?: undefined;
344
+ model?: undefined;
345
+ prompt?: undefined;
254
346
  };
255
347
  required: string[];
256
348
  };
@@ -271,6 +363,10 @@ export declare const TOOLS_OPENAI: {
271
363
  type: string;
272
364
  description: string;
273
365
  };
366
+ timeout: {
367
+ type: string;
368
+ description: string;
369
+ };
274
370
  };
275
371
  required: string[];
276
372
  } | {
@@ -386,6 +482,7 @@ export declare const TOOLS_OPENAI: {
386
482
  limit?: undefined;
387
483
  include_prerelease?: undefined;
388
484
  org_id?: undefined;
485
+ org_ids?: undefined;
389
486
  };
390
487
  required: string[];
391
488
  } | {
@@ -404,6 +501,7 @@ export declare const TOOLS_OPENAI: {
404
501
  limit?: undefined;
405
502
  include_prerelease?: undefined;
406
503
  org_id?: undefined;
504
+ org_ids?: undefined;
407
505
  };
408
506
  required: string[];
409
507
  } | {
@@ -436,6 +534,7 @@ export declare const TOOLS_OPENAI: {
436
534
  limit?: undefined;
437
535
  include_prerelease?: undefined;
438
536
  org_id?: undefined;
537
+ org_ids?: undefined;
439
538
  };
440
539
  required: string[];
441
540
  } | {
@@ -454,6 +553,75 @@ export declare const TOOLS_OPENAI: {
454
553
  notes?: undefined;
455
554
  limit?: undefined;
456
555
  include_prerelease?: undefined;
556
+ org_ids?: undefined;
557
+ };
558
+ required: string[];
559
+ } | {
560
+ type: string;
561
+ properties: {
562
+ agent_id: {
563
+ type: string;
564
+ description: string;
565
+ };
566
+ target_dir?: undefined;
567
+ endpoint_url?: undefined;
568
+ model?: undefined;
569
+ prompt?: undefined;
570
+ model_name?: undefined;
571
+ };
572
+ required: string[];
573
+ } | {
574
+ type: string;
575
+ properties: {
576
+ agent_id: {
577
+ type: string;
578
+ description: string;
579
+ };
580
+ target_dir: {
581
+ type: string;
582
+ description: string;
583
+ };
584
+ endpoint_url?: undefined;
585
+ model?: undefined;
586
+ prompt?: undefined;
587
+ model_name?: undefined;
588
+ };
589
+ required: string[];
590
+ } | {
591
+ type: string;
592
+ properties: {
593
+ endpoint_url: {
594
+ type: string;
595
+ description: string;
596
+ };
597
+ model: {
598
+ type: string;
599
+ description: string;
600
+ };
601
+ prompt: {
602
+ type: string;
603
+ description: string;
604
+ };
605
+ agent_id?: undefined;
606
+ target_dir?: undefined;
607
+ model_name?: undefined;
608
+ };
609
+ required: string[];
610
+ } | {
611
+ type: string;
612
+ properties: {
613
+ endpoint_url: {
614
+ type: string;
615
+ description: string;
616
+ };
617
+ model_name: {
618
+ type: string;
619
+ description: string;
620
+ };
621
+ agent_id?: undefined;
622
+ target_dir?: undefined;
623
+ model?: undefined;
624
+ prompt?: undefined;
457
625
  };
458
626
  required: string[];
459
627
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EACL,sBAAsB,EACtB,YAAY,EACZ,qBAAqB,EACrB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,SAAS,GACf,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAS3B,CAAC;AAGF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAOtB,CAAC"}
@@ -16,6 +16,7 @@ import { DATABASE_TOOLS } from './database.js';
16
16
  import { DOCKER_TOOLS } from './docker.js';
17
17
  import { AUTH_TOOLS } from './auth-tools.js';
18
18
  import { DEPLOYMENT_TOOLS } from './deployment.js';
19
+ import { INFERENCE_TOOLS } from './inference.js';
19
20
  // Tool definitions for Anthropic format
20
21
  export const TOOLS_ANTHROPIC = [
21
22
  ...COMMAND_TOOLS,
@@ -25,6 +26,7 @@ export const TOOLS_ANTHROPIC = [
25
26
  ...DOCKER_TOOLS,
26
27
  ...AUTH_TOOLS,
27
28
  ...DEPLOYMENT_TOOLS,
29
+ ...INFERENCE_TOOLS,
28
30
  ];
29
31
  // Convert to OpenAI format
30
32
  export const TOOLS_OPENAI = TOOLS_ANTHROPIC.map((tool) => ({
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,kBAAkB;AAClB,OAAO,EACL,sBAAsB,EACtB,YAAY,EACZ,qBAAqB,GAItB,MAAM,YAAY,CAAC;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Ac,EAAE,MAAM,cAAc,CAAC;AAE9C,wDAAwD;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,wCAAwC;AACxC,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,GAAG,aAAa;IAChB,GAAG,gBAAgB;IACnB,GAAG,SAAS;IACZ,GAAG,cAAc;IACjB,GAAG,YAAY;IACf,GAAG,UAAU;IACb,GAAG,gBAAgB;IACnB,GAAG,eAAe;CACnB,CAAC;AAEF,2BAA2B;AAC3B,MAAM,CAAC,MAAM,YAAY,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IACzD,IAAI,EAAE,UAAmB;IACzB,QAAQ,EAAE;QACR,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,UAAU,EAAE,IAAI,CAAC,YAAY;KAC9B;CACF,CAAC,CAAC,CAAC"}
@@ -0,0 +1,127 @@
1
+ /**
2
+ * Inference tools — on-premise vLLM deployment assistance.
3
+ *
4
+ * Tools for listing exportable agents, getting deployment configs,
5
+ * downloading adapters, testing endpoints, and configuring local LLM.
6
+ */
7
+ export declare const INFERENCE_TOOLS: ({
8
+ name: string;
9
+ description: string;
10
+ input_schema: {
11
+ type: string;
12
+ properties: {
13
+ agent_id?: undefined;
14
+ target_dir?: undefined;
15
+ endpoint_url?: undefined;
16
+ model?: undefined;
17
+ prompt?: undefined;
18
+ model_name?: undefined;
19
+ };
20
+ required?: undefined;
21
+ };
22
+ } | {
23
+ name: string;
24
+ description: string;
25
+ input_schema: {
26
+ type: string;
27
+ properties: {
28
+ agent_id: {
29
+ type: string;
30
+ description: string;
31
+ };
32
+ target_dir?: undefined;
33
+ endpoint_url?: undefined;
34
+ model?: undefined;
35
+ prompt?: undefined;
36
+ model_name?: undefined;
37
+ };
38
+ required: string[];
39
+ };
40
+ } | {
41
+ name: string;
42
+ description: string;
43
+ input_schema: {
44
+ type: string;
45
+ properties: {
46
+ agent_id: {
47
+ type: string;
48
+ description: string;
49
+ };
50
+ target_dir: {
51
+ type: string;
52
+ description: string;
53
+ };
54
+ endpoint_url?: undefined;
55
+ model?: undefined;
56
+ prompt?: undefined;
57
+ model_name?: undefined;
58
+ };
59
+ required: string[];
60
+ };
61
+ } | {
62
+ name: string;
63
+ description: string;
64
+ input_schema: {
65
+ type: string;
66
+ properties: {
67
+ endpoint_url: {
68
+ type: string;
69
+ description: string;
70
+ };
71
+ model: {
72
+ type: string;
73
+ description: string;
74
+ };
75
+ prompt: {
76
+ type: string;
77
+ description: string;
78
+ };
79
+ agent_id?: undefined;
80
+ target_dir?: undefined;
81
+ model_name?: undefined;
82
+ };
83
+ required: string[];
84
+ };
85
+ } | {
86
+ name: string;
87
+ description: string;
88
+ input_schema: {
89
+ type: string;
90
+ properties: {
91
+ endpoint_url: {
92
+ type: string;
93
+ description: string;
94
+ };
95
+ model_name: {
96
+ type: string;
97
+ description: string;
98
+ };
99
+ agent_id?: undefined;
100
+ target_dir?: undefined;
101
+ model?: undefined;
102
+ prompt?: undefined;
103
+ };
104
+ required: string[];
105
+ };
106
+ })[];
107
+ /**
108
+ * List agents ready for on-premise export.
109
+ */
110
+ export declare function handleListExportableAgents(): Promise<string>;
111
+ /**
112
+ * Get detailed export/deployment info for an agent.
113
+ */
114
+ export declare function handleGetAgentExportInfo(agentId: string): Promise<string>;
115
+ /**
116
+ * Download adapter from platform to local directory.
117
+ */
118
+ export declare function handleDownloadAdapter(agentId: string, targetDir?: string): Promise<string>;
119
+ /**
120
+ * Test an OpenAI-compatible inference endpoint.
121
+ */
122
+ export declare function handleTestInferenceEndpoint(endpointUrl: string, model: string, prompt?: string): Promise<string>;
123
+ /**
124
+ * Configure Orca to use a local vLLM endpoint.
125
+ */
126
+ export declare function handleConfigureLocalLlm(endpointUrl: string, modelName: string): Promise<string>;
127
+ //# sourceMappingURL=inference.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inference.d.ts","sourceRoot":"","sources":["../../src/tools/inference.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAUH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwF3B,CAAC;AAEF;;GAEG;AACH,wBAAsB,0BAA0B,IAAI,OAAO,CAAC,MAAM,CAAC,CAYlE;AAED;;GAEG;AACH,wBAAsB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAY/E;AAED;;GAEG;AACH,wBAAsB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAqEhG;AAED;;GAEG;AACH,wBAAsB,2BAA2B,CAC/C,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,MAAM,CAAC,CAyFjB;AAED;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,MAAM,CAAC,CAiCjB"}