@desplega.ai/agent-swarm 1.78.1 → 1.79.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/openapi.json +542 -1
- package/package.json +1 -1
- package/plugin/skills/artifacts/SKILL.md +151 -0
- package/plugin/skills/artifacts/examples/static-report.sh +1 -1
- package/plugin/skills/pages/SKILL.md +274 -0
- package/src/artifact-sdk/browser-sdk.ts +105 -20
- package/src/be/db.ts +239 -0
- package/src/be/migrations/059_pages.sql +34 -0
- package/src/be/migrations/060_page_versions.sql +19 -0
- package/src/commands/artifact.ts +17 -11
- package/src/http/index.ts +7 -1
- package/src/http/page-proxy.ts +208 -0
- package/src/http/pages-public.ts +466 -0
- package/src/http/pages.ts +608 -0
- package/src/http/utils.ts +68 -5
- package/src/pages/version.ts +44 -0
- package/src/prompts/session-templates.ts +51 -0
- package/src/server.ts +10 -1
- package/src/tests/artifact-commands.test.ts +92 -0
- package/src/tests/artifact-sdk.test.ts +80 -74
- package/src/tests/create-page-tool.test.ts +197 -0
- package/src/tests/fixtures/sample-json-page.json +52 -0
- package/src/tests/launch-password-rejection.test.ts +139 -0
- package/src/tests/page-proxy-authed.test.ts +146 -0
- package/src/tests/page-proxy.test.ts +266 -0
- package/src/tests/page-session.test.ts +164 -0
- package/src/tests/pages-actions-endpoint.test.ts +102 -0
- package/src/tests/pages-authed-mode.test.ts +207 -0
- package/src/tests/pages-http.test.ts +193 -0
- package/src/tests/pages-list-endpoint.test.ts +149 -0
- package/src/tests/pages-password-hash.test.ts +57 -0
- package/src/tests/pages-password-mode.test.ts +265 -0
- package/src/tests/pages-public-authed-401.test.ts +102 -0
- package/src/tests/pages-public-html.test.ts +151 -0
- package/src/tests/pages-public-json-redirect.test.ts +86 -0
- package/src/tests/pages-storage.test.ts +196 -0
- package/src/tests/pages-versioning.test.ts +231 -0
- package/src/tests/prompt-template-session.test.ts +3 -2
- package/src/tests/skill-update-scope.test.ts +165 -0
- package/src/tests/workflow-wait-event.test.ts +4 -7
- package/src/tools/create-page.ts +263 -0
- package/src/tools/skills/skill-update.ts +26 -0
- package/src/tools/tool-config.ts +3 -0
- package/src/types.ts +54 -0
- package/src/utils/page-session.ts +254 -0
- package/plugin/skills/artifacts/skill.md +0 -70
package/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Agent Swarm API",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.79.0",
|
|
6
6
|
"description": "Multi-agent orchestration API for Claude Code, Codex, and Gemini CLI. Enables task distribution, agent communication, and service discovery.\n\nMCP tools are documented separately in [MCP.md](./MCP.md)."
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
@@ -3764,6 +3764,547 @@
|
|
|
3764
3764
|
}
|
|
3765
3765
|
}
|
|
3766
3766
|
},
|
|
3767
|
+
"/@swarm/api/{path}": {
|
|
3768
|
+
"get": {
|
|
3769
|
+
"summary": "Cookie-gated proxy to the swarm API (used by db-backed page iframes)",
|
|
3770
|
+
"tags": [
|
|
3771
|
+
"Pages"
|
|
3772
|
+
],
|
|
3773
|
+
"responses": {
|
|
3774
|
+
"200": {
|
|
3775
|
+
"description": "Proxied response from the underlying /api/* endpoint"
|
|
3776
|
+
},
|
|
3777
|
+
"401": {
|
|
3778
|
+
"description": "No or invalid page-session cookie"
|
|
3779
|
+
},
|
|
3780
|
+
"404": {
|
|
3781
|
+
"description": "Page referenced by the cookie no longer exists"
|
|
3782
|
+
}
|
|
3783
|
+
}
|
|
3784
|
+
},
|
|
3785
|
+
"post": {
|
|
3786
|
+
"summary": "Cookie-gated proxy to the swarm API (POST)",
|
|
3787
|
+
"tags": [
|
|
3788
|
+
"Pages"
|
|
3789
|
+
],
|
|
3790
|
+
"responses": {
|
|
3791
|
+
"200": {
|
|
3792
|
+
"description": "Proxied response"
|
|
3793
|
+
},
|
|
3794
|
+
"401": {
|
|
3795
|
+
"description": "No or invalid page-session cookie"
|
|
3796
|
+
}
|
|
3797
|
+
}
|
|
3798
|
+
},
|
|
3799
|
+
"put": {
|
|
3800
|
+
"summary": "Cookie-gated proxy to the swarm API (PUT)",
|
|
3801
|
+
"tags": [
|
|
3802
|
+
"Pages"
|
|
3803
|
+
],
|
|
3804
|
+
"responses": {
|
|
3805
|
+
"200": {
|
|
3806
|
+
"description": "Proxied response"
|
|
3807
|
+
},
|
|
3808
|
+
"401": {
|
|
3809
|
+
"description": "No or invalid page-session cookie"
|
|
3810
|
+
}
|
|
3811
|
+
}
|
|
3812
|
+
},
|
|
3813
|
+
"delete": {
|
|
3814
|
+
"summary": "Cookie-gated proxy to the swarm API (DELETE)",
|
|
3815
|
+
"tags": [
|
|
3816
|
+
"Pages"
|
|
3817
|
+
],
|
|
3818
|
+
"responses": {
|
|
3819
|
+
"200": {
|
|
3820
|
+
"description": "Proxied response"
|
|
3821
|
+
},
|
|
3822
|
+
"401": {
|
|
3823
|
+
"description": "No or invalid page-session cookie"
|
|
3824
|
+
}
|
|
3825
|
+
}
|
|
3826
|
+
},
|
|
3827
|
+
"patch": {
|
|
3828
|
+
"summary": "Cookie-gated proxy to the swarm API (PATCH)",
|
|
3829
|
+
"tags": [
|
|
3830
|
+
"Pages"
|
|
3831
|
+
],
|
|
3832
|
+
"responses": {
|
|
3833
|
+
"200": {
|
|
3834
|
+
"description": "Proxied response"
|
|
3835
|
+
},
|
|
3836
|
+
"401": {
|
|
3837
|
+
"description": "No or invalid page-session cookie"
|
|
3838
|
+
}
|
|
3839
|
+
}
|
|
3840
|
+
}
|
|
3841
|
+
},
|
|
3842
|
+
"/api/pages": {
|
|
3843
|
+
"post": {
|
|
3844
|
+
"summary": "Create a new page",
|
|
3845
|
+
"tags": [
|
|
3846
|
+
"Pages"
|
|
3847
|
+
],
|
|
3848
|
+
"security": [
|
|
3849
|
+
{
|
|
3850
|
+
"bearerAuth": []
|
|
3851
|
+
}
|
|
3852
|
+
],
|
|
3853
|
+
"requestBody": {
|
|
3854
|
+
"content": {
|
|
3855
|
+
"application/json": {
|
|
3856
|
+
"schema": {
|
|
3857
|
+
"type": "object",
|
|
3858
|
+
"properties": {
|
|
3859
|
+
"slug": {
|
|
3860
|
+
"type": "string",
|
|
3861
|
+
"minLength": 1
|
|
3862
|
+
},
|
|
3863
|
+
"title": {
|
|
3864
|
+
"type": "string",
|
|
3865
|
+
"minLength": 1
|
|
3866
|
+
},
|
|
3867
|
+
"description": {
|
|
3868
|
+
"type": "string"
|
|
3869
|
+
},
|
|
3870
|
+
"contentType": {
|
|
3871
|
+
"type": "string",
|
|
3872
|
+
"enum": [
|
|
3873
|
+
"text/html",
|
|
3874
|
+
"application/json"
|
|
3875
|
+
]
|
|
3876
|
+
},
|
|
3877
|
+
"authMode": {
|
|
3878
|
+
"type": "string",
|
|
3879
|
+
"enum": [
|
|
3880
|
+
"public",
|
|
3881
|
+
"authed",
|
|
3882
|
+
"password"
|
|
3883
|
+
]
|
|
3884
|
+
},
|
|
3885
|
+
"password": {
|
|
3886
|
+
"type": "string",
|
|
3887
|
+
"minLength": 1
|
|
3888
|
+
},
|
|
3889
|
+
"body": {
|
|
3890
|
+
"type": "string"
|
|
3891
|
+
},
|
|
3892
|
+
"needsCredentials": {
|
|
3893
|
+
"type": "array",
|
|
3894
|
+
"items": {
|
|
3895
|
+
"type": "string"
|
|
3896
|
+
}
|
|
3897
|
+
}
|
|
3898
|
+
},
|
|
3899
|
+
"required": [
|
|
3900
|
+
"title",
|
|
3901
|
+
"contentType",
|
|
3902
|
+
"authMode",
|
|
3903
|
+
"body"
|
|
3904
|
+
]
|
|
3905
|
+
}
|
|
3906
|
+
}
|
|
3907
|
+
}
|
|
3908
|
+
},
|
|
3909
|
+
"responses": {
|
|
3910
|
+
"201": {
|
|
3911
|
+
"description": "Page created"
|
|
3912
|
+
},
|
|
3913
|
+
"400": {
|
|
3914
|
+
"description": "Invalid body"
|
|
3915
|
+
},
|
|
3916
|
+
"409": {
|
|
3917
|
+
"description": "Slug already exists for this agent"
|
|
3918
|
+
}
|
|
3919
|
+
}
|
|
3920
|
+
},
|
|
3921
|
+
"get": {
|
|
3922
|
+
"summary": "List pages",
|
|
3923
|
+
"tags": [
|
|
3924
|
+
"Pages"
|
|
3925
|
+
],
|
|
3926
|
+
"security": [
|
|
3927
|
+
{
|
|
3928
|
+
"bearerAuth": []
|
|
3929
|
+
}
|
|
3930
|
+
],
|
|
3931
|
+
"parameters": [
|
|
3932
|
+
{
|
|
3933
|
+
"schema": {
|
|
3934
|
+
"type": "string",
|
|
3935
|
+
"minLength": 1
|
|
3936
|
+
},
|
|
3937
|
+
"required": false,
|
|
3938
|
+
"name": "agentId",
|
|
3939
|
+
"in": "query"
|
|
3940
|
+
},
|
|
3941
|
+
{
|
|
3942
|
+
"schema": {
|
|
3943
|
+
"type": "integer",
|
|
3944
|
+
"minimum": 1,
|
|
3945
|
+
"maximum": 500
|
|
3946
|
+
},
|
|
3947
|
+
"required": false,
|
|
3948
|
+
"name": "limit",
|
|
3949
|
+
"in": "query"
|
|
3950
|
+
},
|
|
3951
|
+
{
|
|
3952
|
+
"schema": {
|
|
3953
|
+
"type": [
|
|
3954
|
+
"integer",
|
|
3955
|
+
"null"
|
|
3956
|
+
],
|
|
3957
|
+
"minimum": 0
|
|
3958
|
+
},
|
|
3959
|
+
"required": false,
|
|
3960
|
+
"name": "offset",
|
|
3961
|
+
"in": "query"
|
|
3962
|
+
}
|
|
3963
|
+
],
|
|
3964
|
+
"responses": {
|
|
3965
|
+
"200": {
|
|
3966
|
+
"description": "Page list with totals + share-URL pointers"
|
|
3967
|
+
}
|
|
3968
|
+
}
|
|
3969
|
+
}
|
|
3970
|
+
},
|
|
3971
|
+
"/api/pages/{id}": {
|
|
3972
|
+
"get": {
|
|
3973
|
+
"summary": "Get a page by ID",
|
|
3974
|
+
"tags": [
|
|
3975
|
+
"Pages"
|
|
3976
|
+
],
|
|
3977
|
+
"security": [
|
|
3978
|
+
{
|
|
3979
|
+
"bearerAuth": []
|
|
3980
|
+
}
|
|
3981
|
+
],
|
|
3982
|
+
"parameters": [
|
|
3983
|
+
{
|
|
3984
|
+
"schema": {
|
|
3985
|
+
"type": "string"
|
|
3986
|
+
},
|
|
3987
|
+
"required": true,
|
|
3988
|
+
"name": "id",
|
|
3989
|
+
"in": "path"
|
|
3990
|
+
}
|
|
3991
|
+
],
|
|
3992
|
+
"responses": {
|
|
3993
|
+
"200": {
|
|
3994
|
+
"description": "Page row"
|
|
3995
|
+
},
|
|
3996
|
+
"404": {
|
|
3997
|
+
"description": "Page not found"
|
|
3998
|
+
}
|
|
3999
|
+
}
|
|
4000
|
+
},
|
|
4001
|
+
"put": {
|
|
4002
|
+
"summary": "Update an existing page",
|
|
4003
|
+
"tags": [
|
|
4004
|
+
"Pages"
|
|
4005
|
+
],
|
|
4006
|
+
"security": [
|
|
4007
|
+
{
|
|
4008
|
+
"bearerAuth": []
|
|
4009
|
+
}
|
|
4010
|
+
],
|
|
4011
|
+
"parameters": [
|
|
4012
|
+
{
|
|
4013
|
+
"schema": {
|
|
4014
|
+
"type": "string"
|
|
4015
|
+
},
|
|
4016
|
+
"required": true,
|
|
4017
|
+
"name": "id",
|
|
4018
|
+
"in": "path"
|
|
4019
|
+
}
|
|
4020
|
+
],
|
|
4021
|
+
"requestBody": {
|
|
4022
|
+
"content": {
|
|
4023
|
+
"application/json": {
|
|
4024
|
+
"schema": {
|
|
4025
|
+
"type": "object",
|
|
4026
|
+
"properties": {
|
|
4027
|
+
"title": {
|
|
4028
|
+
"type": "string",
|
|
4029
|
+
"minLength": 1
|
|
4030
|
+
},
|
|
4031
|
+
"description": {
|
|
4032
|
+
"type": [
|
|
4033
|
+
"string",
|
|
4034
|
+
"null"
|
|
4035
|
+
]
|
|
4036
|
+
},
|
|
4037
|
+
"contentType": {
|
|
4038
|
+
"type": "string",
|
|
4039
|
+
"enum": [
|
|
4040
|
+
"text/html",
|
|
4041
|
+
"application/json"
|
|
4042
|
+
]
|
|
4043
|
+
},
|
|
4044
|
+
"authMode": {
|
|
4045
|
+
"type": "string",
|
|
4046
|
+
"enum": [
|
|
4047
|
+
"public",
|
|
4048
|
+
"authed",
|
|
4049
|
+
"password"
|
|
4050
|
+
]
|
|
4051
|
+
},
|
|
4052
|
+
"password": {
|
|
4053
|
+
"type": [
|
|
4054
|
+
"string",
|
|
4055
|
+
"null"
|
|
4056
|
+
],
|
|
4057
|
+
"minLength": 1
|
|
4058
|
+
},
|
|
4059
|
+
"body": {
|
|
4060
|
+
"type": "string"
|
|
4061
|
+
},
|
|
4062
|
+
"needsCredentials": {
|
|
4063
|
+
"type": [
|
|
4064
|
+
"array",
|
|
4065
|
+
"null"
|
|
4066
|
+
],
|
|
4067
|
+
"items": {
|
|
4068
|
+
"type": "string"
|
|
4069
|
+
}
|
|
4070
|
+
}
|
|
4071
|
+
}
|
|
4072
|
+
}
|
|
4073
|
+
}
|
|
4074
|
+
}
|
|
4075
|
+
},
|
|
4076
|
+
"responses": {
|
|
4077
|
+
"200": {
|
|
4078
|
+
"description": "Page updated"
|
|
4079
|
+
},
|
|
4080
|
+
"404": {
|
|
4081
|
+
"description": "Page not found"
|
|
4082
|
+
},
|
|
4083
|
+
"413": {
|
|
4084
|
+
"description": "Payload too large"
|
|
4085
|
+
}
|
|
4086
|
+
}
|
|
4087
|
+
},
|
|
4088
|
+
"delete": {
|
|
4089
|
+
"summary": "Delete a page (and all version history)",
|
|
4090
|
+
"tags": [
|
|
4091
|
+
"Pages"
|
|
4092
|
+
],
|
|
4093
|
+
"security": [
|
|
4094
|
+
{
|
|
4095
|
+
"bearerAuth": []
|
|
4096
|
+
}
|
|
4097
|
+
],
|
|
4098
|
+
"parameters": [
|
|
4099
|
+
{
|
|
4100
|
+
"schema": {
|
|
4101
|
+
"type": "string"
|
|
4102
|
+
},
|
|
4103
|
+
"required": true,
|
|
4104
|
+
"name": "id",
|
|
4105
|
+
"in": "path"
|
|
4106
|
+
}
|
|
4107
|
+
],
|
|
4108
|
+
"responses": {
|
|
4109
|
+
"204": {
|
|
4110
|
+
"description": "Page deleted"
|
|
4111
|
+
},
|
|
4112
|
+
"404": {
|
|
4113
|
+
"description": "Page not found"
|
|
4114
|
+
}
|
|
4115
|
+
}
|
|
4116
|
+
}
|
|
4117
|
+
},
|
|
4118
|
+
"/api/pages/{id}/launch": {
|
|
4119
|
+
"post": {
|
|
4120
|
+
"summary": "Launch a page session (issues HttpOnly cookie)",
|
|
4121
|
+
"tags": [
|
|
4122
|
+
"Pages"
|
|
4123
|
+
],
|
|
4124
|
+
"security": [
|
|
4125
|
+
{
|
|
4126
|
+
"bearerAuth": []
|
|
4127
|
+
}
|
|
4128
|
+
],
|
|
4129
|
+
"parameters": [
|
|
4130
|
+
{
|
|
4131
|
+
"schema": {
|
|
4132
|
+
"type": "string"
|
|
4133
|
+
},
|
|
4134
|
+
"required": true,
|
|
4135
|
+
"name": "id",
|
|
4136
|
+
"in": "path"
|
|
4137
|
+
}
|
|
4138
|
+
],
|
|
4139
|
+
"responses": {
|
|
4140
|
+
"204": {
|
|
4141
|
+
"description": "Cookie issued"
|
|
4142
|
+
},
|
|
4143
|
+
"400": {
|
|
4144
|
+
"description": "Launch not supported for this page (e.g. password mode)"
|
|
4145
|
+
},
|
|
4146
|
+
"404": {
|
|
4147
|
+
"description": "Page not found"
|
|
4148
|
+
}
|
|
4149
|
+
}
|
|
4150
|
+
}
|
|
4151
|
+
},
|
|
4152
|
+
"/api/pages/actions": {
|
|
4153
|
+
"get": {
|
|
4154
|
+
"summary": "List JSON-page action allowlist (with param JSON Schemas)",
|
|
4155
|
+
"tags": [
|
|
4156
|
+
"Pages"
|
|
4157
|
+
],
|
|
4158
|
+
"security": [
|
|
4159
|
+
{
|
|
4160
|
+
"bearerAuth": []
|
|
4161
|
+
}
|
|
4162
|
+
],
|
|
4163
|
+
"responses": {
|
|
4164
|
+
"200": {
|
|
4165
|
+
"description": "Action allowlist"
|
|
4166
|
+
}
|
|
4167
|
+
}
|
|
4168
|
+
}
|
|
4169
|
+
},
|
|
4170
|
+
"/api/pages/{id}/versions": {
|
|
4171
|
+
"get": {
|
|
4172
|
+
"summary": "List version snapshots for a page",
|
|
4173
|
+
"tags": [
|
|
4174
|
+
"Pages"
|
|
4175
|
+
],
|
|
4176
|
+
"security": [
|
|
4177
|
+
{
|
|
4178
|
+
"bearerAuth": []
|
|
4179
|
+
}
|
|
4180
|
+
],
|
|
4181
|
+
"parameters": [
|
|
4182
|
+
{
|
|
4183
|
+
"schema": {
|
|
4184
|
+
"type": "string"
|
|
4185
|
+
},
|
|
4186
|
+
"required": true,
|
|
4187
|
+
"name": "id",
|
|
4188
|
+
"in": "path"
|
|
4189
|
+
}
|
|
4190
|
+
],
|
|
4191
|
+
"responses": {
|
|
4192
|
+
"200": {
|
|
4193
|
+
"description": "Version list (newest first)"
|
|
4194
|
+
},
|
|
4195
|
+
"404": {
|
|
4196
|
+
"description": "Page not found"
|
|
4197
|
+
}
|
|
4198
|
+
}
|
|
4199
|
+
}
|
|
4200
|
+
},
|
|
4201
|
+
"/api/pages/{id}/versions/{version}": {
|
|
4202
|
+
"get": {
|
|
4203
|
+
"summary": "Get a single page-version snapshot",
|
|
4204
|
+
"tags": [
|
|
4205
|
+
"Pages"
|
|
4206
|
+
],
|
|
4207
|
+
"security": [
|
|
4208
|
+
{
|
|
4209
|
+
"bearerAuth": []
|
|
4210
|
+
}
|
|
4211
|
+
],
|
|
4212
|
+
"parameters": [
|
|
4213
|
+
{
|
|
4214
|
+
"schema": {
|
|
4215
|
+
"type": "string"
|
|
4216
|
+
},
|
|
4217
|
+
"required": true,
|
|
4218
|
+
"name": "id",
|
|
4219
|
+
"in": "path"
|
|
4220
|
+
},
|
|
4221
|
+
{
|
|
4222
|
+
"schema": {
|
|
4223
|
+
"type": "integer",
|
|
4224
|
+
"minimum": 1
|
|
4225
|
+
},
|
|
4226
|
+
"required": true,
|
|
4227
|
+
"name": "version",
|
|
4228
|
+
"in": "path"
|
|
4229
|
+
}
|
|
4230
|
+
],
|
|
4231
|
+
"responses": {
|
|
4232
|
+
"200": {
|
|
4233
|
+
"description": "Version snapshot"
|
|
4234
|
+
},
|
|
4235
|
+
"404": {
|
|
4236
|
+
"description": "Page or version not found"
|
|
4237
|
+
}
|
|
4238
|
+
}
|
|
4239
|
+
}
|
|
4240
|
+
},
|
|
4241
|
+
"/p/{id}": {
|
|
4242
|
+
"get": {
|
|
4243
|
+
"summary": "Render a page (HTML inline; JSON redirects to SPA)",
|
|
4244
|
+
"tags": [
|
|
4245
|
+
"Pages"
|
|
4246
|
+
],
|
|
4247
|
+
"parameters": [
|
|
4248
|
+
{
|
|
4249
|
+
"schema": {
|
|
4250
|
+
"type": "string"
|
|
4251
|
+
},
|
|
4252
|
+
"required": true,
|
|
4253
|
+
"name": "id",
|
|
4254
|
+
"in": "path"
|
|
4255
|
+
}
|
|
4256
|
+
],
|
|
4257
|
+
"responses": {
|
|
4258
|
+
"200": {
|
|
4259
|
+
"description": "Rendered HTML page"
|
|
4260
|
+
},
|
|
4261
|
+
"302": {
|
|
4262
|
+
"description": "Redirect to SPA for JSON content"
|
|
4263
|
+
},
|
|
4264
|
+
"401": {
|
|
4265
|
+
"description": "Page requires an authenticated session"
|
|
4266
|
+
},
|
|
4267
|
+
"403": {
|
|
4268
|
+
"description": "Cookie does not match this page id"
|
|
4269
|
+
},
|
|
4270
|
+
"404": {
|
|
4271
|
+
"description": "Page not found"
|
|
4272
|
+
}
|
|
4273
|
+
}
|
|
4274
|
+
}
|
|
4275
|
+
},
|
|
4276
|
+
"/p/{id}.json": {
|
|
4277
|
+
"get": {
|
|
4278
|
+
"summary": "Page metadata + body as JSON (used by SPA renderer)",
|
|
4279
|
+
"tags": [
|
|
4280
|
+
"Pages"
|
|
4281
|
+
],
|
|
4282
|
+
"parameters": [
|
|
4283
|
+
{
|
|
4284
|
+
"schema": {
|
|
4285
|
+
"type": "string"
|
|
4286
|
+
},
|
|
4287
|
+
"required": true,
|
|
4288
|
+
"name": "id",
|
|
4289
|
+
"in": "path"
|
|
4290
|
+
}
|
|
4291
|
+
],
|
|
4292
|
+
"responses": {
|
|
4293
|
+
"200": {
|
|
4294
|
+
"description": "Page JSON"
|
|
4295
|
+
},
|
|
4296
|
+
"401": {
|
|
4297
|
+
"description": "Page requires an authenticated session"
|
|
4298
|
+
},
|
|
4299
|
+
"403": {
|
|
4300
|
+
"description": "Cookie does not match this page id"
|
|
4301
|
+
},
|
|
4302
|
+
"404": {
|
|
4303
|
+
"description": "Page not found"
|
|
4304
|
+
}
|
|
4305
|
+
}
|
|
4306
|
+
}
|
|
4307
|
+
},
|
|
3767
4308
|
"/api/prompt-templates/resolved": {
|
|
3768
4309
|
"get": {
|
|
3769
4310
|
"summary": "Resolve a prompt template for a given event type and scope chain",
|
package/package.json
CHANGED