Skip to content

Commit 481ee39

Browse files
author
Lasim
committed
feat(all): severl improvements to the env and arg system
1 parent a647196 commit 481ee39

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+5072
-15381
lines changed

services/backend/api-spec.json

Lines changed: 40 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -14465,7 +14465,7 @@
1446514465
"sse"
1446614466
]
1446714467
},
14468-
"environment_variables": {
14468+
"template_args": {
1446914469
"anyOf": [
1447014470
{
1447114471
"type": "array",
@@ -14476,11 +14476,14 @@
1447614476
}
1447714477
]
1447814478
},
14479-
"args": {
14479+
"template_env": {
1448014480
"anyOf": [
1448114481
{
14482-
"type": "array",
14483-
"items": {}
14482+
"type": "object",
14483+
"propertyNames": {
14484+
"type": "string"
14485+
},
14486+
"additionalProperties": {}
1448414487
},
1448514488
{
1448614489
"type": "null"
@@ -14579,8 +14582,8 @@
1457914582
"organization",
1458014583
"license",
1458114584
"transport_type",
14582-
"environment_variables",
14583-
"args",
14585+
"template_args",
14586+
"template_env",
1458414587
"dependencies",
1458514588
"category_id",
1458614589
"tags",
@@ -14980,28 +14983,6 @@
1498014983
"sse"
1498114984
]
1498214985
},
14983-
"environment_variables": {
14984-
"anyOf": [
14985-
{
14986-
"type": "array",
14987-
"items": {}
14988-
},
14989-
{
14990-
"type": "null"
14991-
}
14992-
]
14993-
},
14994-
"args": {
14995-
"anyOf": [
14996-
{
14997-
"type": "array",
14998-
"items": {}
14999-
},
15000-
{
15001-
"type": "null"
15002-
}
15003-
]
15004-
},
1500514986
"dependencies": {
1500614987
"anyOf": [
1500714988
{
@@ -15094,8 +15075,6 @@
1509415075
"organization",
1509515076
"license",
1509615077
"transport_type",
15097-
"environment_variables",
15098-
"args",
1509915078
"dependencies",
1510015079
"category_id",
1510115080
"tags",
@@ -15348,6 +15327,33 @@
1534815327
"sse"
1534915328
]
1535015329
},
15330+
"configuration_schema": {
15331+
"type": "object"
15332+
},
15333+
"installation_methods": {
15334+
"type": "array"
15335+
},
15336+
"tools": {
15337+
"type": "array",
15338+
"items": {
15339+
"type": "object",
15340+
"properties": {
15341+
"name": {
15342+
"type": "string",
15343+
"minLength": 1
15344+
},
15345+
"description": {
15346+
"type": "string",
15347+
"minLength": 1
15348+
}
15349+
},
15350+
"required": [
15351+
"name",
15352+
"description"
15353+
],
15354+
"additionalProperties": false
15355+
}
15356+
},
1535115357
"claude_desktop_config": {
1535215358
"type": "object",
1535315359
"properties": {
@@ -15386,27 +15392,6 @@
1538615392
],
1538715393
"additionalProperties": false
1538815394
},
15389-
"tools": {
15390-
"type": "array",
15391-
"items": {
15392-
"type": "object",
15393-
"properties": {
15394-
"name": {
15395-
"type": "string",
15396-
"minLength": 1
15397-
},
15398-
"description": {
15399-
"type": "string",
15400-
"minLength": 1
15401-
}
15402-
},
15403-
"required": [
15404-
"name",
15405-
"description"
15406-
],
15407-
"additionalProperties": false
15408-
}
15409-
},
1541015395
"long_description": {
1541115396
"type": "string"
1541215397
},
@@ -15501,8 +15486,7 @@
1550115486
"name",
1550215487
"description",
1550315488
"language",
15504-
"runtime",
15505-
"claude_desktop_config"
15489+
"runtime"
1550615490
],
1550715491
"additionalProperties": false
1550815492
}
@@ -18921,16 +18905,16 @@
1892118905
"schema": {
1892218906
"type": "object",
1892318907
"properties": {
18924-
"environment_variables": {
18908+
"team_env": {
1892518909
"type": "object",
1892618910
"additionalProperties": {
1892718911
"type": "string"
1892818912
},
18929-
"description": "Environment variables to update"
18913+
"description": "Team-level environment variables to update"
1893018914
}
1893118915
},
1893218916
"required": [
18933-
"environment_variables"
18917+
"team_env"
1893418918
],
1893518919
"additionalProperties": false
1893618920
}

services/backend/api-spec.yaml

Lines changed: 30 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -10036,15 +10036,17 @@ paths:
1003610036
- stdio
1003710037
- http
1003810038
- sse
10039-
environment_variables:
10039+
template_args:
1004010040
anyOf:
1004110041
- type: array
1004210042
items: {}
1004310043
- type: "null"
10044-
args:
10044+
template_env:
1004510045
anyOf:
10046-
- type: array
10047-
items: {}
10046+
- type: object
10047+
propertyNames:
10048+
type: string
10049+
additionalProperties: {}
1004810050
- type: "null"
1004910051
dependencies:
1005010052
anyOf:
@@ -10105,8 +10107,8 @@ paths:
1010510107
- organization
1010610108
- license
1010710109
- transport_type
10108-
- environment_variables
10109-
- args
10110+
- template_args
10111+
- template_env
1011010112
- dependencies
1011110113
- category_id
1011210114
- tags
@@ -10354,16 +10356,6 @@ paths:
1035410356
- stdio
1035510357
- http
1035610358
- sse
10357-
environment_variables:
10358-
anyOf:
10359-
- type: array
10360-
items: {}
10361-
- type: "null"
10362-
args:
10363-
anyOf:
10364-
- type: array
10365-
items: {}
10366-
- type: "null"
1036710359
dependencies:
1036810360
anyOf:
1036910361
- type: object
@@ -10423,8 +10415,6 @@ paths:
1042310415
- organization
1042410416
- license
1042510417
- transport_type
10426-
- environment_variables
10427-
- args
1042810418
- dependencies
1042910419
- category_id
1043010420
- tags
@@ -10591,6 +10581,25 @@ paths:
1059110581
- stdio
1059210582
- http
1059310583
- sse
10584+
configuration_schema:
10585+
type: object
10586+
installation_methods:
10587+
type: array
10588+
tools:
10589+
type: array
10590+
items:
10591+
type: object
10592+
properties:
10593+
name:
10594+
type: string
10595+
minLength: 1
10596+
description:
10597+
type: string
10598+
minLength: 1
10599+
required:
10600+
- name
10601+
- description
10602+
additionalProperties: false
1059410603
claude_desktop_config:
1059510604
type: object
1059610605
properties:
@@ -10617,21 +10626,6 @@ paths:
1061710626
required:
1061810627
- mcpServers
1061910628
additionalProperties: false
10620-
tools:
10621-
type: array
10622-
items:
10623-
type: object
10624-
properties:
10625-
name:
10626-
type: string
10627-
minLength: 1
10628-
description:
10629-
type: string
10630-
minLength: 1
10631-
required:
10632-
- name
10633-
- description
10634-
additionalProperties: false
1063510629
long_description:
1063610630
type: string
1063710631
github_url:
@@ -10699,7 +10693,6 @@ paths:
1069910693
- description
1070010694
- language
1070110695
- runtime
10702-
- claude_desktop_config
1070310696
additionalProperties: false
1070410697
required: true
1070510698
security:
@@ -13007,13 +13000,13 @@ paths:
1300713000
schema:
1300813001
type: object
1300913002
properties:
13010-
environment_variables:
13003+
team_env:
1301113004
type: object
1301213005
additionalProperties:
1301313006
type: string
13014-
description: Environment variables to update
13007+
description: Team-level environment variables to update
1301513008
required:
13016-
- environment_variables
13009+
- team_env
1301713010
additionalProperties: false
1301813011
required: true
1301913012
parameters:

0 commit comments

Comments
 (0)