@agentspec/sdk 0.1.11 → 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/package.json +1 -1
- package/schemas/v1/agent.schema.json +10 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$ref": "#/definitions/
|
|
2
|
+
"$ref": "#/definitions/AgentSpec",
|
|
3
3
|
"definitions": {
|
|
4
|
-
"
|
|
4
|
+
"AgentSpec": {
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"apiVersion": {
|
|
@@ -859,7 +859,10 @@
|
|
|
859
859
|
],
|
|
860
860
|
"additionalProperties": false
|
|
861
861
|
}
|
|
862
|
-
]
|
|
862
|
+
],
|
|
863
|
+
"discriminator": {
|
|
864
|
+
"propertyName": "type"
|
|
865
|
+
}
|
|
863
866
|
},
|
|
864
867
|
"description": "Guardrails applied to user input before it is sent to the model. Evaluated in order — first blocking rule wins."
|
|
865
868
|
},
|
|
@@ -993,7 +996,10 @@
|
|
|
993
996
|
],
|
|
994
997
|
"additionalProperties": false
|
|
995
998
|
}
|
|
996
|
-
]
|
|
999
|
+
],
|
|
1000
|
+
"discriminator": {
|
|
1001
|
+
"propertyName": "type"
|
|
1002
|
+
}
|
|
997
1003
|
},
|
|
998
1004
|
"description": "Guardrails applied to model output before it is returned to the user. Evaluated in order — first blocking rule wins."
|
|
999
1005
|
}
|