ApiLogicServer 14.5.4__py3-none-any.whl → 14.5.14__py3-none-any.whl
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.
- api_logic_server_cli/api_logic_server.py +4 -122
- api_logic_server_cli/api_logic_server_info.yaml +3 -3
- api_logic_server_cli/create_from_model/__pycache__/api_logic_server_utils.cpython-312.pyc +0 -0
- api_logic_server_cli/create_from_model/__pycache__/dbml.cpython-312.pyc +0 -0
- api_logic_server_cli/create_from_model/api_logic_server_utils.py +29 -10
- api_logic_server_cli/create_from_model/dbml.py +16 -12
- api_logic_server_cli/database/basic_demo.sqlite +0 -0
- api_logic_server_cli/genai/genai.py +4 -0
- api_logic_server_cli/genai/genai_svcs.py +10 -2
- api_logic_server_cli/manager.py +3 -1
- api_logic_server_cli/prototypes/base/.vscode/launch.json +40 -0
- api_logic_server_cli/prototypes/base/api/api_discovery/mcp_discovery.py +58 -0
- api_logic_server_cli/prototypes/base/database/system/SAFRSBaseX.py +68 -2
- api_logic_server_cli/prototypes/base/database/system/SAFRSBaseX.pyZ +73 -0
- api_logic_server_cli/prototypes/{basic_demo/customizations/integration → base/integration/mcp}/.DS_Store +0 -0
- api_logic_server_cli/prototypes/base/integration/mcp/README_mcp.md +15 -0
- api_logic_server_cli/prototypes/{basic_demo/customizations → base}/integration/mcp/mcp_client_executor.py +91 -103
- api_logic_server_cli/prototypes/base/integration/mcp/mcp_schema.txt +47 -0
- api_logic_server_cli/prototypes/base/integration/mcp/mcp_server_discovery.json +9 -0
- api_logic_server_cli/prototypes/base/integration/mcp/test_notes.txt +37 -0
- api_logic_server_cli/prototypes/basic_demo/README.md +251 -91
- api_logic_server_cli/prototypes/basic_demo/customizations/api/api_discovery/mcp_discovery.py +1 -1
- api_logic_server_cli/prototypes/basic_demo/customizations/database/db.sqlite +0 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/database/models.py +27 -12
- api_logic_server_cli/prototypes/basic_demo/customizations/database/system/SAFRSBaseX.py +1 -1
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/Zmcp_client_executor.py +294 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/mcp_tool_context.json +25 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/test_notes.txt +37 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/logic/declare_logic.py +1 -20
- api_logic_server_cli/prototypes/basic_demo/customizations/logic/logic_discovery/email_request.py +47 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/logic/logic_discovery/mcp_client_executor_request.py +320 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/logic/logic_discovery/simple_constraints.py +25 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/admin/admin.yaml +39 -32
- api_logic_server_cli/prototypes/basic_demo/iteration/database/db.sqlite +0 -0
- api_logic_server_cli/prototypes/basic_demo/iteration/ui/admin/admin.yaml +39 -44
- api_logic_server_cli/prototypes/manager/.vscode/launch.json +21 -0
- api_logic_server_cli/prototypes/manager/{README.md → READMEz.md} +4 -4
- api_logic_server_cli/prototypes/manager/REAMDE.md +1057 -0
- api_logic_server_cli/prototypes/manager/system/genai/mcp_learning/mcp.prompt +27 -0
- api_logic_server_cli/prototypes/manager/system/install-ApiLogicServer-dev/install-ApiLogicServer-dev.sh +2 -1
- {apilogicserver-14.5.4.dist-info → apilogicserver-14.5.14.dist-info}/METADATA +1 -1
- {apilogicserver-14.5.4.dist-info → apilogicserver-14.5.14.dist-info}/RECORD +46 -42
- {apilogicserver-14.5.4.dist-info → apilogicserver-14.5.14.dist-info}/WHEEL +1 -1
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/3_executor_test_agent.py +0 -52
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/README_functon.md +0 -201
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/ai_plugin.json +0 -17
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/nw-swagger_3.json +0 -1731
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/snippets.txt +0 -5
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3 genai_demo_with_get.json +0 -1731
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3.json +0 -1782
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3_genai_demo.json +0 -264
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3_genai_demo_with_update.json +0 -1782
- api_logic_server_cli/prototypes/genai_demo/logic/logic_discovery/auto_discovery.py +0 -52
- {apilogicserver-14.5.4.dist-info → apilogicserver-14.5.14.dist-info}/entry_points.txt +0 -0
- {apilogicserver-14.5.4.dist-info → apilogicserver-14.5.14.dist-info}/licenses/LICENSE +0 -0
- {apilogicserver-14.5.4.dist-info → apilogicserver-14.5.14.dist-info}/top_level.txt +0 -0
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openapi": "3.1.0",
|
|
3
|
-
"info": {
|
|
4
|
-
"title": "API Logic Server (Reduced for OpenAI Plugin)",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"description": "Simplified OpenAPI spec for OpenAI Plugin: GET/POST only, no DELETE/PATCH, relationships collapsed into filters"
|
|
7
|
-
},
|
|
8
|
-
"servers": [
|
|
9
|
-
{
|
|
10
|
-
"url": "https://42da-2601-644-4900-d6f0-b171-348b-e99d-839b.ngrok-free.app/api"
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"security": [
|
|
14
|
-
{
|
|
15
|
-
"Bearer": []
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"paths": {
|
|
19
|
-
"/Customer": {
|
|
20
|
-
"get": {
|
|
21
|
-
"summary": "Retrieve Customers (with optional filter)",
|
|
22
|
-
"parameters": [
|
|
23
|
-
{
|
|
24
|
-
"name": "filter[id]",
|
|
25
|
-
"in": "query",
|
|
26
|
-
"schema": {
|
|
27
|
-
"type": "string"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"name": "filter[name]",
|
|
32
|
-
"in": "query",
|
|
33
|
-
"schema": {
|
|
34
|
-
"type": "string"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "filter[balance]",
|
|
39
|
-
"in": "query",
|
|
40
|
-
"schema": {
|
|
41
|
-
"type": "string"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"name": "filter[credit_limit]",
|
|
46
|
-
"in": "query",
|
|
47
|
-
"schema": {
|
|
48
|
-
"type": "string"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
"responses": {
|
|
53
|
-
"200": {
|
|
54
|
-
"description": "Customer records"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"operationId": "getCustomers"
|
|
58
|
-
},
|
|
59
|
-
"post": {
|
|
60
|
-
"summary": "Create a Customer",
|
|
61
|
-
"requestBody": {
|
|
62
|
-
"required": true,
|
|
63
|
-
"content": {
|
|
64
|
-
"application/json": {
|
|
65
|
-
"schema": {
|
|
66
|
-
"type": "object",
|
|
67
|
-
"properties": {}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"responses": {
|
|
73
|
-
"201": {
|
|
74
|
-
"description": "Customer created"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"operationId": "createCustomer"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"/Order": {
|
|
81
|
-
"get": {
|
|
82
|
-
"summary": "Retrieve Orders (with optional filter)",
|
|
83
|
-
"parameters": [
|
|
84
|
-
{
|
|
85
|
-
"name": "filter[id]",
|
|
86
|
-
"in": "query",
|
|
87
|
-
"schema": {
|
|
88
|
-
"type": "string"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "filter[customer_id]",
|
|
93
|
-
"in": "query",
|
|
94
|
-
"schema": {
|
|
95
|
-
"type": "string"
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"name": "filter[date_shipped]",
|
|
100
|
-
"in": "query",
|
|
101
|
-
"schema": {
|
|
102
|
-
"type": "string"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"name": "filter[amount_total]",
|
|
107
|
-
"in": "query",
|
|
108
|
-
"schema": {
|
|
109
|
-
"type": "string"
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
],
|
|
113
|
-
"responses": {
|
|
114
|
-
"200": {
|
|
115
|
-
"description": "Order records"
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
"operationId": "getOrders"
|
|
119
|
-
},
|
|
120
|
-
"post": {
|
|
121
|
-
"summary": "Create an Order",
|
|
122
|
-
"requestBody": {
|
|
123
|
-
"required": true,
|
|
124
|
-
"content": {
|
|
125
|
-
"application/json": {
|
|
126
|
-
"schema": {
|
|
127
|
-
"type": "object",
|
|
128
|
-
"properties": {}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
"responses": {
|
|
134
|
-
"201": {
|
|
135
|
-
"description": "Order created"
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
"operationId": "createOrder"
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
"/Item": {
|
|
142
|
-
"get": {
|
|
143
|
-
"summary": "Retrieve Items (with optional filter)",
|
|
144
|
-
"parameters": [
|
|
145
|
-
{
|
|
146
|
-
"name": "filter[id]",
|
|
147
|
-
"in": "query",
|
|
148
|
-
"schema": {
|
|
149
|
-
"type": "string"
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"name": "filter[order_id]",
|
|
154
|
-
"in": "query",
|
|
155
|
-
"schema": {
|
|
156
|
-
"type": "string"
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"name": "filter[product_id]",
|
|
161
|
-
"in": "query",
|
|
162
|
-
"schema": {
|
|
163
|
-
"type": "string"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"name": "filter[quantity]",
|
|
168
|
-
"in": "query",
|
|
169
|
-
"schema": {
|
|
170
|
-
"type": "string"
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"name": "filter[amount]",
|
|
175
|
-
"in": "query",
|
|
176
|
-
"schema": {
|
|
177
|
-
"type": "string"
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
],
|
|
181
|
-
"responses": {
|
|
182
|
-
"200": {
|
|
183
|
-
"description": "Item records"
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
"operationId": "getItems"
|
|
187
|
-
},
|
|
188
|
-
"post": {
|
|
189
|
-
"summary": "Create an Item",
|
|
190
|
-
"requestBody": {
|
|
191
|
-
"required": true,
|
|
192
|
-
"content": {
|
|
193
|
-
"application/json": {
|
|
194
|
-
"schema": {
|
|
195
|
-
"type": "object",
|
|
196
|
-
"properties": {}
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
"responses": {
|
|
202
|
-
"201": {
|
|
203
|
-
"description": "Item created"
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
"operationId": "createItem"
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
"/Product": {
|
|
210
|
-
"get": {
|
|
211
|
-
"summary": "Retrieve Products (with optional filter)",
|
|
212
|
-
"parameters": [
|
|
213
|
-
{
|
|
214
|
-
"name": "filter[id]",
|
|
215
|
-
"in": "query",
|
|
216
|
-
"schema": {
|
|
217
|
-
"type": "string"
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"name": "filter[name]",
|
|
222
|
-
"in": "query",
|
|
223
|
-
"schema": {
|
|
224
|
-
"type": "string"
|
|
225
|
-
}
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"name": "filter[unit_price]",
|
|
229
|
-
"in": "query",
|
|
230
|
-
"schema": {
|
|
231
|
-
"type": "string"
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
],
|
|
235
|
-
"responses": {
|
|
236
|
-
"200": {
|
|
237
|
-
"description": "Product records"
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
"operationId": "getProducts"
|
|
241
|
-
},
|
|
242
|
-
"post": {
|
|
243
|
-
"summary": "Create a Product",
|
|
244
|
-
"requestBody": {
|
|
245
|
-
"required": true,
|
|
246
|
-
"content": {
|
|
247
|
-
"application/json": {
|
|
248
|
-
"schema": {
|
|
249
|
-
"type": "object",
|
|
250
|
-
"properties": {}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
"responses": {
|
|
256
|
-
"201": {
|
|
257
|
-
"description": "Product created"
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
"operationId": "createProduct"
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|