@infersec/conduit 1.98.2 → 1.99.1

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/cli.js CHANGED
@@ -21381,6 +21381,165 @@ object$1({
21381
21381
  password: RawPasswordSchema
21382
21382
  });
21383
21383
 
21384
+ _enum$1(["delete", "read", "write"]);
21385
+ const ACCOUNT_MANAGEMENT_OPERATION_METADATA = [
21386
+ {
21387
+ category: "read",
21388
+ description: "List inference endpoints in the account.",
21389
+ name: "list_endpoints"
21390
+ },
21391
+ {
21392
+ category: "read",
21393
+ description: "Get full details for a single inference endpoint, including its sources and tool service.",
21394
+ name: "get_endpoint_details"
21395
+ },
21396
+ { category: "write", description: "Create a new inference endpoint.", name: "create_endpoint" },
21397
+ {
21398
+ category: "write",
21399
+ description: "Update an inference endpoint's name, routing method or sources.",
21400
+ name: "update_endpoint"
21401
+ },
21402
+ {
21403
+ category: "write",
21404
+ description: "Enable or disable an inference endpoint.",
21405
+ name: "toggle_endpoint"
21406
+ },
21407
+ { category: "delete", description: "Delete an inference endpoint.", name: "delete_endpoint" },
21408
+ {
21409
+ category: "read",
21410
+ description: "List inference sources in the account.",
21411
+ name: "list_sources"
21412
+ },
21413
+ {
21414
+ category: "read",
21415
+ description: "Get full details for a single inference source.",
21416
+ name: "get_source_details"
21417
+ },
21418
+ { category: "write", description: "Create a new inference source.", name: "create_source" },
21419
+ {
21420
+ category: "write",
21421
+ description: "Update an inference source's name, engine, model or context length.",
21422
+ name: "update_source"
21423
+ },
21424
+ { category: "delete", description: "Delete an inference source.", name: "delete_source" },
21425
+ { category: "read", description: "List models in the account.", name: "list_models" },
21426
+ {
21427
+ category: "read",
21428
+ description: "Get full details for a single model.",
21429
+ name: "get_model_details"
21430
+ },
21431
+ {
21432
+ category: "read",
21433
+ description: "Search the third-party (HuggingFace) model catalogue for models available to add.",
21434
+ name: "search_3rd_party"
21435
+ },
21436
+ {
21437
+ category: "write",
21438
+ description: "Register a new model in the account.",
21439
+ name: "create_model"
21440
+ },
21441
+ {
21442
+ category: "write",
21443
+ description: "Update a model's name, task type or multimodal flag.",
21444
+ name: "update_model"
21445
+ },
21446
+ { category: "delete", description: "Delete a model.", name: "delete_model" },
21447
+ {
21448
+ category: "read",
21449
+ description: "List hardware machines registered to the account.",
21450
+ name: "list_machines"
21451
+ },
21452
+ {
21453
+ category: "read",
21454
+ description: "Get details for a single hardware machine.",
21455
+ name: "get_machine_details"
21456
+ },
21457
+ { category: "read", description: "List API keys in the account.", name: "list_api_keys" },
21458
+ {
21459
+ category: "write",
21460
+ description: "Create a new API key and return its secret value.",
21461
+ name: "create_api_key"
21462
+ },
21463
+ { category: "delete", description: "Delete an API key.", name: "delete_api_key" },
21464
+ { category: "read", description: "List tools in the account.", name: "list_tools" },
21465
+ {
21466
+ category: "read",
21467
+ description: "Get full details for a single tool.",
21468
+ name: "get_tool_details"
21469
+ },
21470
+ { category: "write", description: "Create a new tool.", name: "create_tool" },
21471
+ {
21472
+ category: "write",
21473
+ description: "Update a tool's name, type or configuration.",
21474
+ name: "update_tool"
21475
+ },
21476
+ { category: "delete", description: "Delete a tool.", name: "delete_tool" },
21477
+ {
21478
+ category: "read",
21479
+ description: "List tool services in the account.",
21480
+ name: "list_tool_services"
21481
+ },
21482
+ {
21483
+ category: "read",
21484
+ description: "Get full details for a single tool service.",
21485
+ name: "get_tool_service_details"
21486
+ },
21487
+ { category: "write", description: "Create a new tool service.", name: "create_tool_service" },
21488
+ {
21489
+ category: "write",
21490
+ description: "Update a tool service's name, enabled flag or public exposure.",
21491
+ name: "update_tool_service"
21492
+ },
21493
+ {
21494
+ category: "write",
21495
+ description: "Enable or disable a tool service.",
21496
+ name: "toggle_tool_service"
21497
+ },
21498
+ { category: "delete", description: "Delete a tool service.", name: "delete_tool_service" },
21499
+ {
21500
+ category: "read",
21501
+ description: "Get the tool service currently attached to an endpoint, if any.",
21502
+ name: "get_endpoint_tool_service"
21503
+ },
21504
+ {
21505
+ category: "write",
21506
+ description: "Attach a tool service to an endpoint (replaces any existing attachment).",
21507
+ name: "attach_tool_service_to_endpoint"
21508
+ },
21509
+ {
21510
+ category: "write",
21511
+ description: "Detach the tool service from an endpoint.",
21512
+ name: "detach_tool_service_from_endpoint"
21513
+ },
21514
+ {
21515
+ category: "write",
21516
+ description: "Add a tool to a tool service.",
21517
+ name: "add_tool_to_service"
21518
+ },
21519
+ {
21520
+ category: "write",
21521
+ description: "Remove a tool from a tool service.",
21522
+ name: "remove_tool_from_service"
21523
+ },
21524
+ {
21525
+ category: "read",
21526
+ description: "List inference engines in the account.",
21527
+ name: "list_engines"
21528
+ },
21529
+ { category: "write", description: "Create a new inference engine.", name: "create_engine" },
21530
+ { category: "write", description: "Update an inference engine.", name: "update_engine" },
21531
+ { category: "delete", description: "Delete an inference engine.", name: "delete_engine" }
21532
+ ];
21533
+ const OPERATION_NAMES = [...ACCOUNT_MANAGEMENT_OPERATION_METADATA.map(op => op.name)];
21534
+ const AccountManagementOperationNameSchema = _enum$1(OPERATION_NAMES);
21535
+ const AccountManagementConfigSchema = object$1({
21536
+ allowDelete: boolean$1().default(false),
21537
+ allowRead: boolean$1().default(true),
21538
+ allowWrite: boolean$1().default(false),
21539
+ enabledOperations: array(AccountManagementOperationNameSchema).optional(),
21540
+ type: literal("account-management")
21541
+ });
21542
+
21384
21543
  object$1({
21385
21544
  description: string$2().optional(),
21386
21545
  inputSchema: record(string$2(), unknown()).optional(),
@@ -21413,6 +21572,7 @@ object$1({
21413
21572
  });
21414
21573
 
21415
21574
  _enum$1([
21575
+ "account-management",
21416
21576
  "local-filesystem",
21417
21577
  "local-mysql",
21418
21578
  "mcp-proxy",
@@ -21449,6 +21609,7 @@ const ModelSourceCallConfigSchema = object$1({
21449
21609
  type: literal("model-source-call")
21450
21610
  });
21451
21611
  discriminatedUnion("type", [
21612
+ AccountManagementConfigSchema,
21452
21613
  LocalFilesystemConfigSchema,
21453
21614
  LocalMysqlConfigSchema,
21454
21615
  MCPProxyConfigSchema,
package/dist/cli.sea.cjs CHANGED
@@ -21396,6 +21396,165 @@ object$1({
21396
21396
  password: RawPasswordSchema
21397
21397
  });
21398
21398
 
21399
+ _enum$1(["delete", "read", "write"]);
21400
+ const ACCOUNT_MANAGEMENT_OPERATION_METADATA = [
21401
+ {
21402
+ category: "read",
21403
+ description: "List inference endpoints in the account.",
21404
+ name: "list_endpoints"
21405
+ },
21406
+ {
21407
+ category: "read",
21408
+ description: "Get full details for a single inference endpoint, including its sources and tool service.",
21409
+ name: "get_endpoint_details"
21410
+ },
21411
+ { category: "write", description: "Create a new inference endpoint.", name: "create_endpoint" },
21412
+ {
21413
+ category: "write",
21414
+ description: "Update an inference endpoint's name, routing method or sources.",
21415
+ name: "update_endpoint"
21416
+ },
21417
+ {
21418
+ category: "write",
21419
+ description: "Enable or disable an inference endpoint.",
21420
+ name: "toggle_endpoint"
21421
+ },
21422
+ { category: "delete", description: "Delete an inference endpoint.", name: "delete_endpoint" },
21423
+ {
21424
+ category: "read",
21425
+ description: "List inference sources in the account.",
21426
+ name: "list_sources"
21427
+ },
21428
+ {
21429
+ category: "read",
21430
+ description: "Get full details for a single inference source.",
21431
+ name: "get_source_details"
21432
+ },
21433
+ { category: "write", description: "Create a new inference source.", name: "create_source" },
21434
+ {
21435
+ category: "write",
21436
+ description: "Update an inference source's name, engine, model or context length.",
21437
+ name: "update_source"
21438
+ },
21439
+ { category: "delete", description: "Delete an inference source.", name: "delete_source" },
21440
+ { category: "read", description: "List models in the account.", name: "list_models" },
21441
+ {
21442
+ category: "read",
21443
+ description: "Get full details for a single model.",
21444
+ name: "get_model_details"
21445
+ },
21446
+ {
21447
+ category: "read",
21448
+ description: "Search the third-party (HuggingFace) model catalogue for models available to add.",
21449
+ name: "search_3rd_party"
21450
+ },
21451
+ {
21452
+ category: "write",
21453
+ description: "Register a new model in the account.",
21454
+ name: "create_model"
21455
+ },
21456
+ {
21457
+ category: "write",
21458
+ description: "Update a model's name, task type or multimodal flag.",
21459
+ name: "update_model"
21460
+ },
21461
+ { category: "delete", description: "Delete a model.", name: "delete_model" },
21462
+ {
21463
+ category: "read",
21464
+ description: "List hardware machines registered to the account.",
21465
+ name: "list_machines"
21466
+ },
21467
+ {
21468
+ category: "read",
21469
+ description: "Get details for a single hardware machine.",
21470
+ name: "get_machine_details"
21471
+ },
21472
+ { category: "read", description: "List API keys in the account.", name: "list_api_keys" },
21473
+ {
21474
+ category: "write",
21475
+ description: "Create a new API key and return its secret value.",
21476
+ name: "create_api_key"
21477
+ },
21478
+ { category: "delete", description: "Delete an API key.", name: "delete_api_key" },
21479
+ { category: "read", description: "List tools in the account.", name: "list_tools" },
21480
+ {
21481
+ category: "read",
21482
+ description: "Get full details for a single tool.",
21483
+ name: "get_tool_details"
21484
+ },
21485
+ { category: "write", description: "Create a new tool.", name: "create_tool" },
21486
+ {
21487
+ category: "write",
21488
+ description: "Update a tool's name, type or configuration.",
21489
+ name: "update_tool"
21490
+ },
21491
+ { category: "delete", description: "Delete a tool.", name: "delete_tool" },
21492
+ {
21493
+ category: "read",
21494
+ description: "List tool services in the account.",
21495
+ name: "list_tool_services"
21496
+ },
21497
+ {
21498
+ category: "read",
21499
+ description: "Get full details for a single tool service.",
21500
+ name: "get_tool_service_details"
21501
+ },
21502
+ { category: "write", description: "Create a new tool service.", name: "create_tool_service" },
21503
+ {
21504
+ category: "write",
21505
+ description: "Update a tool service's name, enabled flag or public exposure.",
21506
+ name: "update_tool_service"
21507
+ },
21508
+ {
21509
+ category: "write",
21510
+ description: "Enable or disable a tool service.",
21511
+ name: "toggle_tool_service"
21512
+ },
21513
+ { category: "delete", description: "Delete a tool service.", name: "delete_tool_service" },
21514
+ {
21515
+ category: "read",
21516
+ description: "Get the tool service currently attached to an endpoint, if any.",
21517
+ name: "get_endpoint_tool_service"
21518
+ },
21519
+ {
21520
+ category: "write",
21521
+ description: "Attach a tool service to an endpoint (replaces any existing attachment).",
21522
+ name: "attach_tool_service_to_endpoint"
21523
+ },
21524
+ {
21525
+ category: "write",
21526
+ description: "Detach the tool service from an endpoint.",
21527
+ name: "detach_tool_service_from_endpoint"
21528
+ },
21529
+ {
21530
+ category: "write",
21531
+ description: "Add a tool to a tool service.",
21532
+ name: "add_tool_to_service"
21533
+ },
21534
+ {
21535
+ category: "write",
21536
+ description: "Remove a tool from a tool service.",
21537
+ name: "remove_tool_from_service"
21538
+ },
21539
+ {
21540
+ category: "read",
21541
+ description: "List inference engines in the account.",
21542
+ name: "list_engines"
21543
+ },
21544
+ { category: "write", description: "Create a new inference engine.", name: "create_engine" },
21545
+ { category: "write", description: "Update an inference engine.", name: "update_engine" },
21546
+ { category: "delete", description: "Delete an inference engine.", name: "delete_engine" }
21547
+ ];
21548
+ const OPERATION_NAMES = [...ACCOUNT_MANAGEMENT_OPERATION_METADATA.map(op => op.name)];
21549
+ const AccountManagementOperationNameSchema = _enum$1(OPERATION_NAMES);
21550
+ const AccountManagementConfigSchema = object$1({
21551
+ allowDelete: boolean$1().default(false),
21552
+ allowRead: boolean$1().default(true),
21553
+ allowWrite: boolean$1().default(false),
21554
+ enabledOperations: array(AccountManagementOperationNameSchema).optional(),
21555
+ type: literal("account-management")
21556
+ });
21557
+
21399
21558
  object$1({
21400
21559
  description: string$2().optional(),
21401
21560
  inputSchema: record(string$2(), unknown()).optional(),
@@ -21428,6 +21587,7 @@ object$1({
21428
21587
  });
21429
21588
 
21430
21589
  _enum$1([
21590
+ "account-management",
21431
21591
  "local-filesystem",
21432
21592
  "local-mysql",
21433
21593
  "mcp-proxy",
@@ -21464,6 +21624,7 @@ const ModelSourceCallConfigSchema = object$1({
21464
21624
  type: literal("model-source-call")
21465
21625
  });
21466
21626
  discriminatedUnion("type", [
21627
+ AccountManagementConfigSchema,
21467
21628
  LocalFilesystemConfigSchema,
21468
21629
  LocalMysqlConfigSchema,
21469
21630
  MCPProxyConfigSchema,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@infersec/conduit",
3
3
  "description": "End user conduit agent for connecting local LLMs to the cloud.",
4
- "version": "1.98.2",
4
+ "version": "1.99.1",
5
5
  "bin": {
6
6
  "infersec-conduit": "./dist/cli.js"
7
7
  },