apexrest 0.5.0 → 1.0.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/NOTICE +0 -6
- package/README.md +13 -36
- package/README.uk.md +13 -36
- package/dist/codex-compat/plugins/apexrest-apex/.codex-plugin/plugin.json +4 -4
- package/dist/codex-compat/plugins/apexrest-apex/NOTICE +0 -6
- package/dist/codex-compat/plugins/apexrest-apex/resources/panel/index.html +4 -11
- package/dist/codex-compat/plugins/apexrest-apex/resources/panel/panel.css +4 -182
- package/dist/codex-compat/plugins/apexrest-apex/resources/panel/panel.js +61 -383
- package/dist/codex-compat/plugins/apexrest-apex/resources/playwright/package.json +1 -1
- package/dist/codex-compat/plugins/apexrest-apex/resources/schemas/operations.schema.json +0 -327
- package/dist/codex-compat/plugins/apexrest-apex/runtime/apexrest.mjs +12 -43
- package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-QDAKHEPF.mjs → chunk-3XRCAA5S.mjs} +4 -4
- package/dist/{runtime/chunk-HYOURJBW.mjs → codex-compat/plugins/apexrest-apex/runtime/chunk-4GIV3RLJ.mjs} +2 -2
- package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-RF4XQO6I.mjs → chunk-CJC3ESO4.mjs} +2 -2
- package/dist/{runtime/chunk-XKBZJ36H.mjs → codex-compat/plugins/apexrest-apex/runtime/chunk-DLUIX7FA.mjs} +20 -62
- package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-JWX4UQAZ.mjs → chunk-EG2NPDAF.mjs} +1 -1
- package/dist/codex-compat/plugins/apexrest-apex/runtime/chunk-EMRXOSVH.mjs +14 -0
- package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-FPOEB42H.mjs → chunk-JN3KZCDI.mjs} +1 -1
- package/dist/{runtime/chunk-QLRGI23I.mjs → codex-compat/plugins/apexrest-apex/runtime/chunk-K5BV3TBZ.mjs} +9 -108
- package/dist/{runtime/chunk-QWQVXUVG.mjs → codex-compat/plugins/apexrest-apex/runtime/chunk-MNYOWIHJ.mjs} +24 -77
- package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-TTVGX5LP.mjs → chunk-NHYXXMBY.mjs} +21 -213
- package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-2SZCZZ3J.mjs → chunk-R6MER5QH.mjs} +0 -1
- package/dist/{runtime/chunk-XEK2R5AU.mjs → codex-compat/plugins/apexrest-apex/runtime/chunk-SVB7G3KQ.mjs} +5 -7
- package/dist/{runtime/chunk-L7BXN3LU.mjs → codex-compat/plugins/apexrest-apex/runtime/chunk-SWW7SKB4.mjs} +19 -42
- package/dist/{runtime/chunk-KJOSAKHX.mjs → codex-compat/plugins/apexrest-apex/runtime/chunk-XZNIV6UL.mjs} +5 -6
- package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-DNJL7OYO.mjs → chunk-YXHLPFQX.mjs} +15 -13
- package/dist/codex-compat/plugins/apexrest-apex/runtime/mcp.mjs +7 -8
- package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-apexlang/SKILL.md +1 -1
- package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-database/SKILL.md +0 -2
- package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-debug/SKILL.md +0 -2
- package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-menu/SKILL.md +13 -14
- package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-menu/references/cli-catalog.md +14 -15
- package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-panel/SKILL.md +4 -10
- package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-panel/agents/openai.yaml +3 -3
- package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-project/SKILL.md +1 -1
- package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-work/SKILL.md +5 -8
- package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-work/agents/openai.yaml +3 -3
- package/dist/resources/panel/index.html +4 -11
- package/dist/resources/panel/panel.css +4 -182
- package/dist/resources/panel/panel.js +61 -383
- package/dist/resources/playwright/package.json +1 -1
- package/dist/resources/schemas/operations.schema.json +0 -327
- package/dist/runtime/apexrest.mjs +12 -43
- package/dist/runtime/{chunk-QDAKHEPF.mjs → chunk-3XRCAA5S.mjs} +4 -4
- package/dist/{codex-compat/plugins/apexrest-apex/runtime/chunk-HYOURJBW.mjs → runtime/chunk-4GIV3RLJ.mjs} +2 -2
- package/dist/runtime/{chunk-RF4XQO6I.mjs → chunk-CJC3ESO4.mjs} +2 -2
- package/dist/{codex-compat/plugins/apexrest-apex/runtime/chunk-XKBZJ36H.mjs → runtime/chunk-DLUIX7FA.mjs} +20 -62
- package/dist/runtime/{chunk-JWX4UQAZ.mjs → chunk-EG2NPDAF.mjs} +1 -1
- package/dist/runtime/chunk-EMRXOSVH.mjs +14 -0
- package/dist/runtime/{chunk-FPOEB42H.mjs → chunk-JN3KZCDI.mjs} +1 -1
- package/dist/{codex-compat/plugins/apexrest-apex/runtime/chunk-QLRGI23I.mjs → runtime/chunk-K5BV3TBZ.mjs} +9 -108
- package/dist/{codex-compat/plugins/apexrest-apex/runtime/chunk-QWQVXUVG.mjs → runtime/chunk-MNYOWIHJ.mjs} +24 -77
- package/dist/runtime/{chunk-TTVGX5LP.mjs → chunk-NHYXXMBY.mjs} +21 -213
- package/dist/runtime/{chunk-2SZCZZ3J.mjs → chunk-R6MER5QH.mjs} +0 -1
- package/dist/{codex-compat/plugins/apexrest-apex/runtime/chunk-XEK2R5AU.mjs → runtime/chunk-SVB7G3KQ.mjs} +5 -7
- package/dist/{codex-compat/plugins/apexrest-apex/runtime/chunk-L7BXN3LU.mjs → runtime/chunk-SWW7SKB4.mjs} +19 -42
- package/dist/{codex-compat/plugins/apexrest-apex/runtime/chunk-KJOSAKHX.mjs → runtime/chunk-XZNIV6UL.mjs} +5 -6
- package/dist/runtime/{chunk-DNJL7OYO.mjs → chunk-YXHLPFQX.mjs} +15 -13
- package/dist/runtime/mcp.mjs +7 -8
- package/package.json +1 -2
- package/dist/codex-compat/plugins/apexrest-apex/resources/panel/assets/LICENCE.txt +0 -118
- package/dist/codex-compat/plugins/apexrest-apex/resources/panel/assets/bulbasaur.png +0 -0
- package/dist/codex-compat/plugins/apexrest-apex/resources/panel/assets/charmander.png +0 -0
- package/dist/codex-compat/plugins/apexrest-apex/resources/panel/assets/mewtwo.png +0 -0
- package/dist/codex-compat/plugins/apexrest-apex/resources/panel/assets/pikachu.png +0 -0
- package/dist/codex-compat/plugins/apexrest-apex/resources/panel/assets/sources.json +0 -36
- package/dist/codex-compat/plugins/apexrest-apex/resources/panel/assets/squirtle.png +0 -0
- package/dist/codex-compat/plugins/apexrest-apex/runtime/chunk-ED2YPDPS.mjs +0 -1123
- package/dist/codex-compat/plugins/apexrest-apex/runtime/chunk-GFRSRK3K.mjs +0 -16
- package/dist/codex-compat/plugins/apexrest-apex/runtime/chunk-N5G4ADI7.mjs +0 -15
- package/dist/codex-compat/plugins/apexrest-apex/runtime/chunk-VPCUV5QA.mjs +0 -237
- package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-team/SKILL.md +0 -24
- package/dist/codex-compat/plugins/apexrest-apex/skills/apexrest-team/agents/openai.yaml +0 -4
- package/dist/resources/panel/assets/LICENCE.txt +0 -118
- package/dist/resources/panel/assets/bulbasaur.png +0 -0
- package/dist/resources/panel/assets/charmander.png +0 -0
- package/dist/resources/panel/assets/mewtwo.png +0 -0
- package/dist/resources/panel/assets/pikachu.png +0 -0
- package/dist/resources/panel/assets/sources.json +0 -36
- package/dist/resources/panel/assets/squirtle.png +0 -0
- package/dist/runtime/chunk-ED2YPDPS.mjs +0 -1123
- package/dist/runtime/chunk-GFRSRK3K.mjs +0 -16
- package/dist/runtime/chunk-N5G4ADI7.mjs +0 -15
- package/dist/runtime/chunk-VPCUV5QA.mjs +0 -237
|
@@ -54,198 +54,6 @@
|
|
|
54
54
|
],
|
|
55
55
|
"additionalProperties": false
|
|
56
56
|
},
|
|
57
|
-
"team.start": {
|
|
58
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
59
|
-
"type": "object",
|
|
60
|
-
"properties": {
|
|
61
|
-
"executionMode": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"enum": [
|
|
64
|
-
"single",
|
|
65
|
-
"team"
|
|
66
|
-
]
|
|
67
|
-
},
|
|
68
|
-
"browserMode": {
|
|
69
|
-
"type": "string",
|
|
70
|
-
"enum": [
|
|
71
|
-
"codex",
|
|
72
|
-
"external"
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
"developers": {
|
|
76
|
-
"type": "integer",
|
|
77
|
-
"minimum": 1,
|
|
78
|
-
"maximum": 3
|
|
79
|
-
},
|
|
80
|
-
"sandbox": {
|
|
81
|
-
"type": "string",
|
|
82
|
-
"enum": [
|
|
83
|
-
"read-only",
|
|
84
|
-
"workspace-write"
|
|
85
|
-
]
|
|
86
|
-
},
|
|
87
|
-
"timeoutSeconds": {
|
|
88
|
-
"type": "integer",
|
|
89
|
-
"minimum": 30,
|
|
90
|
-
"maximum": 3600
|
|
91
|
-
},
|
|
92
|
-
"project": {
|
|
93
|
-
"type": "string"
|
|
94
|
-
},
|
|
95
|
-
"task": {
|
|
96
|
-
"type": "string",
|
|
97
|
-
"minLength": 1,
|
|
98
|
-
"maxLength": 16000
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"required": [
|
|
102
|
-
"task"
|
|
103
|
-
],
|
|
104
|
-
"additionalProperties": false
|
|
105
|
-
},
|
|
106
|
-
"work.start": {
|
|
107
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
108
|
-
"type": "object",
|
|
109
|
-
"properties": {
|
|
110
|
-
"executionMode": {
|
|
111
|
-
"type": "string",
|
|
112
|
-
"enum": [
|
|
113
|
-
"single",
|
|
114
|
-
"team"
|
|
115
|
-
]
|
|
116
|
-
},
|
|
117
|
-
"browserMode": {
|
|
118
|
-
"type": "string",
|
|
119
|
-
"enum": [
|
|
120
|
-
"codex",
|
|
121
|
-
"external"
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
"developers": {
|
|
125
|
-
"type": "integer",
|
|
126
|
-
"minimum": 1,
|
|
127
|
-
"maximum": 3
|
|
128
|
-
},
|
|
129
|
-
"sandbox": {
|
|
130
|
-
"type": "string",
|
|
131
|
-
"enum": [
|
|
132
|
-
"read-only",
|
|
133
|
-
"workspace-write"
|
|
134
|
-
]
|
|
135
|
-
},
|
|
136
|
-
"timeoutSeconds": {
|
|
137
|
-
"type": "integer",
|
|
138
|
-
"minimum": 30,
|
|
139
|
-
"maximum": 3600
|
|
140
|
-
},
|
|
141
|
-
"project": {
|
|
142
|
-
"type": "string"
|
|
143
|
-
},
|
|
144
|
-
"task": {
|
|
145
|
-
"type": "string",
|
|
146
|
-
"minLength": 1,
|
|
147
|
-
"maxLength": 16000
|
|
148
|
-
},
|
|
149
|
-
"requestId": {
|
|
150
|
-
"type": "string",
|
|
151
|
-
"format": "uuid",
|
|
152
|
-
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
"required": [
|
|
156
|
-
"task",
|
|
157
|
-
"requestId"
|
|
158
|
-
],
|
|
159
|
-
"additionalProperties": false
|
|
160
|
-
},
|
|
161
|
-
"team.wait": {
|
|
162
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
163
|
-
"type": "object",
|
|
164
|
-
"properties": {
|
|
165
|
-
"project": {
|
|
166
|
-
"type": "string"
|
|
167
|
-
},
|
|
168
|
-
"id": {
|
|
169
|
-
"type": "string",
|
|
170
|
-
"format": "uuid",
|
|
171
|
-
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
172
|
-
},
|
|
173
|
-
"cursor": {
|
|
174
|
-
"type": "string",
|
|
175
|
-
"pattern": "^[a-f0-9]{64}$"
|
|
176
|
-
},
|
|
177
|
-
"waitSeconds": {
|
|
178
|
-
"default": 25,
|
|
179
|
-
"type": "integer",
|
|
180
|
-
"minimum": 1,
|
|
181
|
-
"maximum": 30
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
"required": [
|
|
185
|
-
"id"
|
|
186
|
-
],
|
|
187
|
-
"additionalProperties": false
|
|
188
|
-
},
|
|
189
|
-
"team.status": {
|
|
190
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
191
|
-
"type": "object",
|
|
192
|
-
"properties": {
|
|
193
|
-
"project": {
|
|
194
|
-
"type": "string"
|
|
195
|
-
},
|
|
196
|
-
"id": {
|
|
197
|
-
"type": "string",
|
|
198
|
-
"format": "uuid",
|
|
199
|
-
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
"required": [
|
|
203
|
-
"id"
|
|
204
|
-
],
|
|
205
|
-
"additionalProperties": false
|
|
206
|
-
},
|
|
207
|
-
"team.message": {
|
|
208
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
209
|
-
"type": "object",
|
|
210
|
-
"properties": {
|
|
211
|
-
"project": {
|
|
212
|
-
"type": "string"
|
|
213
|
-
},
|
|
214
|
-
"id": {
|
|
215
|
-
"type": "string",
|
|
216
|
-
"format": "uuid",
|
|
217
|
-
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
218
|
-
},
|
|
219
|
-
"message": {
|
|
220
|
-
"type": "string",
|
|
221
|
-
"minLength": 1,
|
|
222
|
-
"maxLength": 8000
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
"required": [
|
|
226
|
-
"id",
|
|
227
|
-
"message"
|
|
228
|
-
],
|
|
229
|
-
"additionalProperties": false
|
|
230
|
-
},
|
|
231
|
-
"team.cancel": {
|
|
232
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
233
|
-
"type": "object",
|
|
234
|
-
"properties": {
|
|
235
|
-
"project": {
|
|
236
|
-
"type": "string"
|
|
237
|
-
},
|
|
238
|
-
"id": {
|
|
239
|
-
"type": "string",
|
|
240
|
-
"format": "uuid",
|
|
241
|
-
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
"required": [
|
|
245
|
-
"id"
|
|
246
|
-
],
|
|
247
|
-
"additionalProperties": false
|
|
248
|
-
},
|
|
249
57
|
"panel.open": {
|
|
250
58
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
251
59
|
"type": "object",
|
|
@@ -266,11 +74,6 @@
|
|
|
266
74
|
"type": "string",
|
|
267
75
|
"minLength": 1,
|
|
268
76
|
"maxLength": 4096
|
|
269
|
-
},
|
|
270
|
-
"team": {
|
|
271
|
-
"type": "string",
|
|
272
|
-
"format": "uuid",
|
|
273
|
-
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
274
77
|
}
|
|
275
78
|
},
|
|
276
79
|
"additionalProperties": false
|
|
@@ -296,39 +99,12 @@
|
|
|
296
99
|
"settings": {
|
|
297
100
|
"type": "object",
|
|
298
101
|
"properties": {
|
|
299
|
-
"executionMode": {
|
|
300
|
-
"type": "string",
|
|
301
|
-
"enum": [
|
|
302
|
-
"single",
|
|
303
|
-
"team"
|
|
304
|
-
]
|
|
305
|
-
},
|
|
306
|
-
"multiAgentEnabled": {
|
|
307
|
-
"type": "boolean"
|
|
308
|
-
},
|
|
309
102
|
"browserMode": {
|
|
310
103
|
"type": "string",
|
|
311
104
|
"enum": [
|
|
312
105
|
"codex",
|
|
313
106
|
"external"
|
|
314
107
|
]
|
|
315
|
-
},
|
|
316
|
-
"developers": {
|
|
317
|
-
"type": "integer",
|
|
318
|
-
"minimum": 1,
|
|
319
|
-
"maximum": 3
|
|
320
|
-
},
|
|
321
|
-
"sandbox": {
|
|
322
|
-
"type": "string",
|
|
323
|
-
"enum": [
|
|
324
|
-
"read-only",
|
|
325
|
-
"workspace-write"
|
|
326
|
-
]
|
|
327
|
-
},
|
|
328
|
-
"timeoutSeconds": {
|
|
329
|
-
"type": "integer",
|
|
330
|
-
"minimum": 30,
|
|
331
|
-
"maximum": 3600
|
|
332
108
|
}
|
|
333
109
|
},
|
|
334
110
|
"additionalProperties": false
|
|
@@ -438,109 +214,6 @@
|
|
|
438
214
|
],
|
|
439
215
|
"additionalProperties": false
|
|
440
216
|
},
|
|
441
|
-
{
|
|
442
|
-
"type": "object",
|
|
443
|
-
"properties": {
|
|
444
|
-
"kind": {
|
|
445
|
-
"type": "string",
|
|
446
|
-
"const": "start"
|
|
447
|
-
},
|
|
448
|
-
"request": {
|
|
449
|
-
"type": "object",
|
|
450
|
-
"properties": {
|
|
451
|
-
"executionMode": {
|
|
452
|
-
"type": "string",
|
|
453
|
-
"enum": [
|
|
454
|
-
"single",
|
|
455
|
-
"team"
|
|
456
|
-
]
|
|
457
|
-
},
|
|
458
|
-
"browserMode": {
|
|
459
|
-
"type": "string",
|
|
460
|
-
"enum": [
|
|
461
|
-
"codex",
|
|
462
|
-
"external"
|
|
463
|
-
]
|
|
464
|
-
},
|
|
465
|
-
"developers": {
|
|
466
|
-
"type": "integer",
|
|
467
|
-
"minimum": 1,
|
|
468
|
-
"maximum": 3
|
|
469
|
-
},
|
|
470
|
-
"sandbox": {
|
|
471
|
-
"type": "string",
|
|
472
|
-
"enum": [
|
|
473
|
-
"read-only",
|
|
474
|
-
"workspace-write"
|
|
475
|
-
]
|
|
476
|
-
},
|
|
477
|
-
"timeoutSeconds": {
|
|
478
|
-
"type": "integer",
|
|
479
|
-
"minimum": 30,
|
|
480
|
-
"maximum": 3600
|
|
481
|
-
},
|
|
482
|
-
"task": {
|
|
483
|
-
"type": "string",
|
|
484
|
-
"minLength": 1,
|
|
485
|
-
"maxLength": 16000
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
|
-
"required": [
|
|
489
|
-
"task"
|
|
490
|
-
],
|
|
491
|
-
"additionalProperties": false
|
|
492
|
-
}
|
|
493
|
-
},
|
|
494
|
-
"required": [
|
|
495
|
-
"kind",
|
|
496
|
-
"request"
|
|
497
|
-
],
|
|
498
|
-
"additionalProperties": false
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
"type": "object",
|
|
502
|
-
"properties": {
|
|
503
|
-
"kind": {
|
|
504
|
-
"type": "string",
|
|
505
|
-
"const": "message"
|
|
506
|
-
},
|
|
507
|
-
"id": {
|
|
508
|
-
"type": "string",
|
|
509
|
-
"format": "uuid",
|
|
510
|
-
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
511
|
-
},
|
|
512
|
-
"message": {
|
|
513
|
-
"type": "string",
|
|
514
|
-
"minLength": 1,
|
|
515
|
-
"maxLength": 8000
|
|
516
|
-
}
|
|
517
|
-
},
|
|
518
|
-
"required": [
|
|
519
|
-
"kind",
|
|
520
|
-
"id",
|
|
521
|
-
"message"
|
|
522
|
-
],
|
|
523
|
-
"additionalProperties": false
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"type": "object",
|
|
527
|
-
"properties": {
|
|
528
|
-
"kind": {
|
|
529
|
-
"type": "string",
|
|
530
|
-
"const": "cancel-team"
|
|
531
|
-
},
|
|
532
|
-
"id": {
|
|
533
|
-
"type": "string",
|
|
534
|
-
"format": "uuid",
|
|
535
|
-
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
536
|
-
}
|
|
537
|
-
},
|
|
538
|
-
"required": [
|
|
539
|
-
"kind",
|
|
540
|
-
"id"
|
|
541
|
-
],
|
|
542
|
-
"additionalProperties": false
|
|
543
|
-
},
|
|
544
217
|
{
|
|
545
218
|
"type": "object",
|
|
546
219
|
"properties": {
|
|
@@ -3,17 +3,15 @@ import { createRequire as __createRequire } from 'node:module'; const require =
|
|
|
3
3
|
import {
|
|
4
4
|
dispatch,
|
|
5
5
|
schemas
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-DNJL7OYO.mjs";
|
|
6
|
+
} from "./chunk-NHYXXMBY.mjs";
|
|
8
7
|
import {
|
|
9
8
|
executeJob
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-QDAKHEPF.mjs";
|
|
9
|
+
} from "./chunk-DLUIX7FA.mjs";
|
|
10
|
+
import "./chunk-K5BV3TBZ.mjs";
|
|
11
|
+
import "./chunk-3XRCAA5S.mjs";
|
|
14
12
|
import {
|
|
15
13
|
loadProject
|
|
16
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-R6MER5QH.mjs";
|
|
17
15
|
import {
|
|
18
16
|
Fault,
|
|
19
17
|
failure
|
|
@@ -30,13 +28,7 @@ var positional = {
|
|
|
30
28
|
"docs.read": ["id"],
|
|
31
29
|
"jobs.status": ["id"],
|
|
32
30
|
"jobs.cancel": ["id"],
|
|
33
|
-
"artifacts.read": ["id"]
|
|
34
|
-
"team.start": ["task"],
|
|
35
|
-
"work.start": ["task"],
|
|
36
|
-
"team.wait": ["id"],
|
|
37
|
-
"team.status": ["id"],
|
|
38
|
-
"team.message": ["id", "message"],
|
|
39
|
-
"team.cancel": ["id"]
|
|
31
|
+
"artifacts.read": ["id"]
|
|
40
32
|
};
|
|
41
33
|
function operationFrom(args) {
|
|
42
34
|
const first = args[0];
|
|
@@ -75,32 +67,13 @@ function help() {
|
|
|
75
67
|
if (key === "panel.action")
|
|
76
68
|
lines.push(
|
|
77
69
|
"",
|
|
78
|
-
"Pass --action as one JSON object. Supported kinds: preferences, sqlcl, connection,
|
|
70
|
+
"Pass --action as one JSON object. Supported kinds: preferences, sqlcl, connection, cancel-job, validate, test, browser, plan.",
|
|
79
71
|
`Example: apexrest panel action --action '{"kind":"validate"}' --project PATH --json`
|
|
80
72
|
);
|
|
81
|
-
if (key === "team.start" || key === "work.start")
|
|
82
|
-
lines.push(
|
|
83
|
-
"",
|
|
84
|
-
"Single agent by default. Team requires explicit multiAgentEnabled: true in saved Settings.",
|
|
85
|
-
"--execution-mode team|single selects reviewed workers or a handoff to your current Codex session (no new agent).",
|
|
86
|
-
"--browser-mode codex|external selects interactive APEX verification; the dashboard stays in Codex.",
|
|
87
|
-
"--developers 1..3 defaults to 1; team-worker edits are serialized in the project.",
|
|
88
|
-
"--sandbox read-only|workspace-write constrains workers; a single-session read-only request is passed to the host.",
|
|
89
|
-
"--timeout-seconds 30..3600 applies to workers (default 900). Single uses host permissions and limits.",
|
|
90
|
-
"The configured project must already be trusted and Codex must be logged in.",
|
|
91
|
-
"Single returns a receipt: continue directly in the current Codex chat, without team polling. Team returns an owned run ID.",
|
|
92
|
-
"Single retains the current host model; team workers select models and reasoning automatically."
|
|
93
|
-
);
|
|
94
|
-
if (key === "work.start")
|
|
95
|
-
lines.push(
|
|
96
|
-
"Use --request-id UUID for idempotent task creation; exact retries return the same current-session receipt or worker run."
|
|
97
|
-
);
|
|
98
73
|
if (key === "jobs.status")
|
|
99
74
|
lines.push(
|
|
100
75
|
"Use --wait-seconds 25 to wait for an existing job without repeated status calls (default: immediate)."
|
|
101
76
|
);
|
|
102
|
-
if (key === "team.wait")
|
|
103
|
-
lines.push("Use --cursor HASH --wait-seconds 25 for bounded waiting without heartbeat polling.");
|
|
104
77
|
if (key === "dependencies.install")
|
|
105
78
|
lines.push(
|
|
106
79
|
"",
|
|
@@ -151,28 +124,24 @@ try {
|
|
|
151
124
|
else if (argv[0] === "tui" || !argv.length && process.stdin.isTTY && process.stdout.isTTY && process.env.TERM !== "dumb") {
|
|
152
125
|
if (argv.length > 1 && (argv.length !== 3 || argv[1] !== "--project" || !argv[2] || argv[2].startsWith("--")))
|
|
153
126
|
throw new Fault("INVALID_INPUT", "Usage: apexrest tui [--project PATH]", 2);
|
|
154
|
-
const { runTui } = await import("./chunk-
|
|
127
|
+
const { runTui } = await import("./chunk-SVB7G3KQ.mjs");
|
|
155
128
|
await runTui(argv[2] ? { project: argv[2] } : {});
|
|
156
129
|
} else if (!argv.length) help();
|
|
157
130
|
else if (argv[0] === "panel" && argv[1] === "tui") {
|
|
158
131
|
if (argv.length !== 2 && (argv.length !== 4 || argv[2] !== "--project" || !argv[3]))
|
|
159
132
|
throw new Fault("INVALID_INPUT", "Usage: apexrest panel tui [--project PATH]", 2);
|
|
160
|
-
const { runPanelTui } = await import("./chunk-
|
|
133
|
+
const { runPanelTui } = await import("./chunk-MNYOWIHJ.mjs");
|
|
161
134
|
await runPanelTui(argv[3] ?? process.cwd());
|
|
162
135
|
} else if (argv[0] === "--panel-worker") {
|
|
163
136
|
if (argv.length !== 2 || !argv[1]) throw new Fault("INVALID_INPUT", "Invalid panel worker request.", 2);
|
|
164
|
-
const { servePanel } = await import("./chunk-
|
|
137
|
+
const { servePanel } = await import("./chunk-XZNIV6UL.mjs");
|
|
165
138
|
await servePanel(argv[1]);
|
|
166
139
|
} else if (argv[0] === "--job-worker") {
|
|
167
140
|
if (argv.length !== 3) throw new Fault("INVALID_INPUT", "Invalid internal job request.", 2);
|
|
168
141
|
await executeJob(await loadProject(argv[1]), argv[2], dispatch);
|
|
169
|
-
} else if (argv[0] === "--team-worker") {
|
|
170
|
-
if (argv.length !== 3) throw new Fault("INVALID_INPUT", "Invalid internal team request.", 2);
|
|
171
|
-
const { executeTeam } = await import("./chunk-ED2YPDPS.mjs");
|
|
172
|
-
await executeTeam(await loadProject(argv[1]), argv[2]);
|
|
173
142
|
} else if (argv[0] === "mcp") {
|
|
174
143
|
if (argv.length !== 1) throw new Fault("INVALID_INPUT", "mcp accepts no arguments.", 2);
|
|
175
|
-
const { startMcp } = await import("./chunk-
|
|
144
|
+
const { startMcp } = await import("./chunk-EMRXOSVH.mjs");
|
|
176
145
|
await startMcp();
|
|
177
146
|
} else {
|
|
178
147
|
const selectedOp = argv[0] === "--version" ? { op: "version", start: 1 } : selected;
|
|
@@ -193,7 +162,7 @@ try {
|
|
|
193
162
|
"headed",
|
|
194
163
|
"saved"
|
|
195
164
|
]);
|
|
196
|
-
const numbers = /* @__PURE__ */ new Set(["appId", "offset", "limit", "
|
|
165
|
+
const numbers = /* @__PURE__ */ new Set(["appId", "offset", "limit", "waitSeconds"]);
|
|
197
166
|
let index = 0;
|
|
198
167
|
for (let i = selectedOp.start; i < argv.length; i++) {
|
|
199
168
|
const token = argv[i];
|
package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-QDAKHEPF.mjs → chunk-3XRCAA5S.mjs}
RENAMED
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from 'node:module'; const require =
|
|
|
3
3
|
// plugins/metadata.json
|
|
4
4
|
var metadata_default = {
|
|
5
5
|
name: "apexrest-apex",
|
|
6
|
-
version: "0.
|
|
6
|
+
version: "1.0.0",
|
|
7
7
|
description: "Develop, deploy and test Oracle APEX applications with Codex.",
|
|
8
8
|
author: {
|
|
9
9
|
name: "APEXREST",
|
|
@@ -13,7 +13,7 @@ var metadata_default = {
|
|
|
13
13
|
interface: {
|
|
14
14
|
displayName: "APEXREST for Codex",
|
|
15
15
|
shortDescription: "Oracle APEX development workflows",
|
|
16
|
-
longDescription: "
|
|
16
|
+
longDescription: "Oracle APEX development, controlled deployment and testing directly in your current Codex session.",
|
|
17
17
|
developerName: "APEXREST",
|
|
18
18
|
websiteURL: "https://apex.rest",
|
|
19
19
|
composerIcon: "./assets/apexrest-icon.svg",
|
|
@@ -22,8 +22,8 @@ var metadata_default = {
|
|
|
22
22
|
category: "Productivity",
|
|
23
23
|
capabilities: ["Read", "Write"],
|
|
24
24
|
defaultPrompt: [
|
|
25
|
-
"Use $apexrest-work
|
|
26
|
-
"Use $apexrest-panel to open project settings
|
|
25
|
+
"Use $apexrest-work to complete my APEX change directly in this Codex session.",
|
|
26
|
+
"Use $apexrest-panel to open project settings and Oracle/APEX operations inside Codex.",
|
|
27
27
|
"Use $apexrest-menu to show all functions, setup and connection diagnostics."
|
|
28
28
|
]
|
|
29
29
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
VERSION
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3XRCAA5S.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Client,
|
|
7
7
|
StdioClientTransport,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
resourceRoot,
|
|
28
28
|
runProcess,
|
|
29
29
|
runtimeState
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-R6MER5QH.mjs";
|
|
31
31
|
import {
|
|
32
32
|
Fault,
|
|
33
33
|
__commonJS,
|
package/dist/codex-compat/plugins/apexrest-apex/runtime/{chunk-RF4XQO6I.mjs → chunk-CJC3ESO4.mjs}
RENAMED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
browserInstructions,
|
|
4
4
|
externalBrowserCommand,
|
|
5
5
|
openVerificationBrowser
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-K5BV3TBZ.mjs";
|
|
7
|
+
import "./chunk-R6MER5QH.mjs";
|
|
8
8
|
import "./chunk-IPU64TJI.mjs";
|
|
9
9
|
export {
|
|
10
10
|
browserInstructions,
|