@agentuity/server 1.0.32 → 1.0.33
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/dist/api/api.d.ts +1 -227
- package/dist/api/api.d.ts.map +1 -1
- package/dist/api/api.js +1 -637
- package/dist/api/api.js.map +1 -1
- package/dist/api/index.d.ts +1 -17
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +1 -17
- package/dist/api/index.js.map +1 -1
- package/dist/api/org/env-delete.d.ts +1 -22
- package/dist/api/org/env-delete.d.ts.map +1 -1
- package/dist/api/org/env-delete.js +1 -24
- package/dist/api/org/env-delete.js.map +1 -1
- package/dist/api/org/env-get.d.ts +1 -32
- package/dist/api/org/env-get.d.ts.map +1 -1
- package/dist/api/org/env-get.js +1 -25
- package/dist/api/org/env-get.js.map +1 -1
- package/dist/api/org/env-update.d.ts +1 -23
- package/dist/api/org/env-update.d.ts.map +1 -1
- package/dist/api/org/env-update.js +1 -25
- package/dist/api/org/env-update.js.map +1 -1
- package/dist/api/project/get.d.ts +1 -42
- package/dist/api/project/get.d.ts.map +1 -1
- package/dist/api/project/get.js +1 -35
- package/dist/api/project/get.js.map +1 -1
- package/dist/api/project/list.d.ts +1 -47
- package/dist/api/project/list.d.ts.map +1 -1
- package/dist/api/project/list.js +1 -37
- package/dist/api/project/list.js.map +1 -1
- package/dist/api/project/malware.d.ts +1 -70
- package/dist/api/project/malware.d.ts.map +1 -1
- package/dist/api/project/malware.js +1 -41
- package/dist/api/project/malware.js.map +1 -1
- package/dist/api/region/create.d.ts +1 -80
- package/dist/api/region/create.d.ts.map +1 -1
- package/dist/api/region/create.js +1 -176
- package/dist/api/region/create.js.map +1 -1
- package/dist/api/sandbox/client.d.ts +1 -190
- package/dist/api/sandbox/client.d.ts.map +1 -1
- package/dist/api/sandbox/client.js +1 -260
- package/dist/api/sandbox/client.js.map +1 -1
- package/dist/api/sandbox/pause.d.ts +1 -21
- package/dist/api/sandbox/pause.d.ts.map +1 -1
- package/dist/api/sandbox/pause.js +1 -24
- package/dist/api/sandbox/pause.js.map +1 -1
- package/dist/api/sandbox/resume.d.ts +1 -21
- package/dist/api/sandbox/resume.d.ts.map +1 -1
- package/dist/api/sandbox/resume.js +1 -24
- package/dist/api/sandbox/resume.js.map +1 -1
- package/dist/api/sandbox/util.d.ts +1 -284
- package/dist/api/sandbox/util.d.ts.map +1 -1
- package/dist/api/sandbox/util.js +1 -210
- package/dist/api/sandbox/util.js.map +1 -1
- package/dist/api/user/whoami.d.ts +1 -38
- package/dist/api/user/whoami.d.ts.map +1 -1
- package/dist/api/user/whoami.js +1 -26
- package/dist/api/user/whoami.js.map +1 -1
- package/dist/index.d.ts +1 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -12
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/api/api.ts +1 -936
- package/src/api/index.ts +1 -17
- package/src/api/org/env-delete.ts +1 -37
- package/src/api/org/env-get.ts +1 -43
- package/src/api/org/env-update.ts +1 -38
- package/src/api/project/get.ts +1 -49
- package/src/api/project/list.ts +1 -54
- package/src/api/project/malware.ts +1 -68
- package/src/api/region/create.ts +1 -207
- package/src/api/sandbox/client.ts +1 -460
- package/src/api/sandbox/pause.ts +1 -39
- package/src/api/sandbox/resume.ts +1 -39
- package/src/api/sandbox/util.ts +1 -276
- package/src/api/user/whoami.ts +1 -32
- package/src/index.ts +3 -30
- package/dist/api/apikey/create.d.ts +0 -33
- package/dist/api/apikey/create.d.ts.map +0 -1
- package/dist/api/apikey/create.js +0 -23
- package/dist/api/apikey/create.js.map +0 -1
- package/dist/api/apikey/delete.d.ts +0 -19
- package/dist/api/apikey/delete.d.ts.map +0 -1
- package/dist/api/apikey/delete.js +0 -19
- package/dist/api/apikey/delete.js.map +0 -1
- package/dist/api/apikey/get.d.ts +0 -45
- package/dist/api/apikey/get.d.ts.map +0 -1
- package/dist/api/apikey/get.js +0 -36
- package/dist/api/apikey/get.js.map +0 -1
- package/dist/api/apikey/index.d.ts +0 -6
- package/dist/api/apikey/index.d.ts.map +0 -1
- package/dist/api/apikey/index.js +0 -6
- package/dist/api/apikey/index.js.map +0 -1
- package/dist/api/apikey/list.d.ts +0 -64
- package/dist/api/apikey/list.d.ts.map +0 -1
- package/dist/api/apikey/list.js +0 -46
- package/dist/api/apikey/list.js.map +0 -1
- package/dist/api/apikey/util.d.ts +0 -23
- package/dist/api/apikey/util.d.ts.map +0 -1
- package/dist/api/apikey/util.js +0 -3
- package/dist/api/apikey/util.js.map +0 -1
- package/dist/api/db/index.d.ts +0 -5
- package/dist/api/db/index.d.ts.map +0 -1
- package/dist/api/db/index.js +0 -5
- package/dist/api/db/index.js.map +0 -1
- package/dist/api/db/logs.d.ts +0 -70
- package/dist/api/db/logs.d.ts.map +0 -1
- package/dist/api/db/logs.js +0 -59
- package/dist/api/db/logs.js.map +0 -1
- package/dist/api/db/query.d.ts +0 -39
- package/dist/api/db/query.d.ts.map +0 -1
- package/dist/api/db/query.js +0 -49
- package/dist/api/db/query.js.map +0 -1
- package/dist/api/db/tables.d.ts +0 -49
- package/dist/api/db/tables.d.ts.map +0 -1
- package/dist/api/db/tables.js +0 -59
- package/dist/api/db/tables.js.map +0 -1
- package/dist/api/db/util.d.ts +0 -31
- package/dist/api/db/util.d.ts.map +0 -1
- package/dist/api/db/util.js +0 -4
- package/dist/api/db/util.js.map +0 -1
- package/dist/api/eval/get.d.ts +0 -36
- package/dist/api/eval/get.d.ts.map +0 -1
- package/dist/api/eval/get.js +0 -23
- package/dist/api/eval/get.js.map +0 -1
- package/dist/api/eval/index.d.ts +0 -5
- package/dist/api/eval/index.d.ts.map +0 -1
- package/dist/api/eval/index.js +0 -5
- package/dist/api/eval/index.js.map +0 -1
- package/dist/api/eval/list.d.ts +0 -50
- package/dist/api/eval/list.d.ts.map +0 -1
- package/dist/api/eval/list.js +0 -32
- package/dist/api/eval/list.js.map +0 -1
- package/dist/api/eval/run-get.d.ts +0 -48
- package/dist/api/eval/run-get.d.ts.map +0 -1
- package/dist/api/eval/run-get.js +0 -29
- package/dist/api/eval/run-get.js.map +0 -1
- package/dist/api/eval/run-list.d.ts +0 -70
- package/dist/api/eval/run-list.d.ts.map +0 -1
- package/dist/api/eval/run-list.js +0 -42
- package/dist/api/eval/run-list.js.map +0 -1
- package/dist/api/machine/index.d.ts +0 -3
- package/dist/api/machine/index.d.ts.map +0 -1
- package/dist/api/machine/index.js +0 -3
- package/dist/api/machine/index.js.map +0 -1
- package/dist/api/machine/machine.d.ts +0 -192
- package/dist/api/machine/machine.d.ts.map +0 -1
- package/dist/api/machine/machine.js +0 -109
- package/dist/api/machine/machine.js.map +0 -1
- package/dist/api/machine/util.d.ts +0 -14
- package/dist/api/machine/util.d.ts.map +0 -1
- package/dist/api/machine/util.js +0 -3
- package/dist/api/machine/util.js.map +0 -1
- package/dist/api/org/index.d.ts +0 -7
- package/dist/api/org/index.d.ts.map +0 -1
- package/dist/api/org/index.js +0 -7
- package/dist/api/org/index.js.map +0 -1
- package/dist/api/org/list.d.ts +0 -27
- package/dist/api/org/list.d.ts.map +0 -1
- package/dist/api/org/list.js +0 -22
- package/dist/api/org/list.js.map +0 -1
- package/dist/api/org/resources.d.ts +0 -141
- package/dist/api/org/resources.d.ts.map +0 -1
- package/dist/api/org/resources.js +0 -97
- package/dist/api/org/resources.js.map +0 -1
- package/dist/api/org/util.d.ts +0 -45
- package/dist/api/org/util.d.ts.map +0 -1
- package/dist/api/org/util.js +0 -4
- package/dist/api/org/util.js.map +0 -1
- package/dist/api/project/agent.d.ts +0 -89
- package/dist/api/project/agent.d.ts.map +0 -1
- package/dist/api/project/agent.js +0 -60
- package/dist/api/project/agent.js.map +0 -1
- package/dist/api/project/create.d.ts +0 -37
- package/dist/api/project/create.d.ts.map +0 -1
- package/dist/api/project/create.js +0 -31
- package/dist/api/project/create.js.map +0 -1
- package/dist/api/project/delete.d.ts +0 -15
- package/dist/api/project/delete.d.ts.map +0 -1
- package/dist/api/project/delete.js +0 -13
- package/dist/api/project/delete.js.map +0 -1
- package/dist/api/project/deploy.d.ts +0 -490
- package/dist/api/project/deploy.d.ts.map +0 -1
- package/dist/api/project/deploy.js +0 -313
- package/dist/api/project/deploy.js.map +0 -1
- package/dist/api/project/deployment.d.ts +0 -237
- package/dist/api/project/deployment.d.ts.map +0 -1
- package/dist/api/project/deployment.js +0 -127
- package/dist/api/project/deployment.js.map +0 -1
- package/dist/api/project/env-delete.d.ts +0 -22
- package/dist/api/project/env-delete.d.ts.map +0 -1
- package/dist/api/project/env-delete.js +0 -29
- package/dist/api/project/env-delete.js.map +0 -1
- package/dist/api/project/env-update.d.ts +0 -31
- package/dist/api/project/env-update.d.ts.map +0 -1
- package/dist/api/project/env-update.js +0 -36
- package/dist/api/project/env-update.js.map +0 -1
- package/dist/api/project/exists.d.ts +0 -25
- package/dist/api/project/exists.d.ts.map +0 -1
- package/dist/api/project/exists.js +0 -45
- package/dist/api/project/exists.js.map +0 -1
- package/dist/api/project/hostname.d.ts +0 -25
- package/dist/api/project/hostname.d.ts.map +0 -1
- package/dist/api/project/hostname.js +0 -37
- package/dist/api/project/hostname.js.map +0 -1
- package/dist/api/project/index.d.ts +0 -14
- package/dist/api/project/index.d.ts.map +0 -1
- package/dist/api/project/index.js +0 -14
- package/dist/api/project/index.js.map +0 -1
- package/dist/api/project/update-region.d.ts +0 -27
- package/dist/api/project/update-region.d.ts.map +0 -1
- package/dist/api/project/update-region.js +0 -25
- package/dist/api/project/update-region.js.map +0 -1
- package/dist/api/project/util.d.ts +0 -62
- package/dist/api/project/util.d.ts.map +0 -1
- package/dist/api/project/util.js +0 -6
- package/dist/api/project/util.js.map +0 -1
- package/dist/api/queue/analytics.d.ts +0 -250
- package/dist/api/queue/analytics.d.ts.map +0 -1
- package/dist/api/queue/analytics.js +0 -233
- package/dist/api/queue/analytics.js.map +0 -1
- package/dist/api/queue/destinations.d.ts +0 -202
- package/dist/api/queue/destinations.d.ts.map +0 -1
- package/dist/api/queue/destinations.js +0 -168
- package/dist/api/queue/destinations.js.map +0 -1
- package/dist/api/queue/dlq.d.ts +0 -168
- package/dist/api/queue/dlq.d.ts.map +0 -1
- package/dist/api/queue/dlq.js +0 -166
- package/dist/api/queue/dlq.js.map +0 -1
- package/dist/api/queue/index.d.ts +0 -56
- package/dist/api/queue/index.d.ts.map +0 -1
- package/dist/api/queue/index.js +0 -90
- package/dist/api/queue/index.js.map +0 -1
- package/dist/api/queue/messages.d.ts +0 -503
- package/dist/api/queue/messages.d.ts.map +0 -1
- package/dist/api/queue/messages.js +0 -549
- package/dist/api/queue/messages.js.map +0 -1
- package/dist/api/queue/queues.d.ts +0 -226
- package/dist/api/queue/queues.d.ts.map +0 -1
- package/dist/api/queue/queues.js +0 -321
- package/dist/api/queue/queues.js.map +0 -1
- package/dist/api/queue/sources.d.ts +0 -202
- package/dist/api/queue/sources.d.ts.map +0 -1
- package/dist/api/queue/sources.js +0 -202
- package/dist/api/queue/sources.js.map +0 -1
- package/dist/api/queue/types.d.ts +0 -1218
- package/dist/api/queue/types.d.ts.map +0 -1
- package/dist/api/queue/types.js +0 -1002
- package/dist/api/queue/types.js.map +0 -1
- package/dist/api/queue/util.d.ts +0 -278
- package/dist/api/queue/util.d.ts.map +0 -1
- package/dist/api/queue/util.js +0 -235
- package/dist/api/queue/util.js.map +0 -1
- package/dist/api/queue/validation.d.ts +0 -247
- package/dist/api/queue/validation.d.ts.map +0 -1
- package/dist/api/queue/validation.js +0 -513
- package/dist/api/queue/validation.js.map +0 -1
- package/dist/api/queue/websocket.d.ts +0 -168
- package/dist/api/queue/websocket.d.ts.map +0 -1
- package/dist/api/queue/websocket.js +0 -394
- package/dist/api/queue/websocket.js.map +0 -1
- package/dist/api/region/delete.d.ts +0 -62
- package/dist/api/region/delete.d.ts.map +0 -1
- package/dist/api/region/delete.js +0 -37
- package/dist/api/region/delete.js.map +0 -1
- package/dist/api/region/index.d.ts +0 -5
- package/dist/api/region/index.d.ts.map +0 -1
- package/dist/api/region/index.js +0 -5
- package/dist/api/region/index.js.map +0 -1
- package/dist/api/region/list.d.ts +0 -27
- package/dist/api/region/list.d.ts.map +0 -1
- package/dist/api/region/list.js +0 -22
- package/dist/api/region/list.js.map +0 -1
- package/dist/api/region/resources.d.ts +0 -71
- package/dist/api/region/resources.d.ts.map +0 -1
- package/dist/api/region/resources.js +0 -53
- package/dist/api/region/resources.js.map +0 -1
- package/dist/api/region/util.d.ts +0 -23
- package/dist/api/region/util.d.ts.map +0 -1
- package/dist/api/region/util.js +0 -3
- package/dist/api/region/util.js.map +0 -1
- package/dist/api/sandbox/cli-list.d.ts +0 -114
- package/dist/api/sandbox/cli-list.d.ts.map +0 -1
- package/dist/api/sandbox/cli-list.js +0 -71
- package/dist/api/sandbox/cli-list.js.map +0 -1
- package/dist/api/sandbox/create.d.ts +0 -118
- package/dist/api/sandbox/create.d.ts.map +0 -1
- package/dist/api/sandbox/create.js +0 -211
- package/dist/api/sandbox/create.js.map +0 -1
- package/dist/api/sandbox/destroy.d.ts +0 -22
- package/dist/api/sandbox/destroy.d.ts.map +0 -1
- package/dist/api/sandbox/destroy.js +0 -25
- package/dist/api/sandbox/destroy.js.map +0 -1
- package/dist/api/sandbox/disk-checkpoint.d.ts +0 -104
- package/dist/api/sandbox/disk-checkpoint.d.ts.map +0 -1
- package/dist/api/sandbox/disk-checkpoint.js +0 -104
- package/dist/api/sandbox/disk-checkpoint.js.map +0 -1
- package/dist/api/sandbox/execute.d.ts +0 -69
- package/dist/api/sandbox/execute.d.ts.map +0 -1
- package/dist/api/sandbox/execute.js +0 -103
- package/dist/api/sandbox/execute.js.map +0 -1
- package/dist/api/sandbox/execution.d.ts +0 -169
- package/dist/api/sandbox/execution.d.ts.map +0 -1
- package/dist/api/sandbox/execution.js +0 -118
- package/dist/api/sandbox/execution.js.map +0 -1
- package/dist/api/sandbox/files.d.ts +0 -261
- package/dist/api/sandbox/files.d.ts.map +0 -1
- package/dist/api/sandbox/files.js +0 -386
- package/dist/api/sandbox/files.js.map +0 -1
- package/dist/api/sandbox/get.d.ts +0 -283
- package/dist/api/sandbox/get.d.ts.map +0 -1
- package/dist/api/sandbox/get.js +0 -215
- package/dist/api/sandbox/get.js.map +0 -1
- package/dist/api/sandbox/getStatus.d.ts +0 -16
- package/dist/api/sandbox/getStatus.d.ts.map +0 -1
- package/dist/api/sandbox/getStatus.js +0 -32
- package/dist/api/sandbox/getStatus.js.map +0 -1
- package/dist/api/sandbox/index.d.ts +0 -39
- package/dist/api/sandbox/index.d.ts.map +0 -1
- package/dist/api/sandbox/index.js +0 -20
- package/dist/api/sandbox/index.js.map +0 -1
- package/dist/api/sandbox/list.d.ts +0 -293
- package/dist/api/sandbox/list.d.ts.map +0 -1
- package/dist/api/sandbox/list.js +0 -191
- package/dist/api/sandbox/list.js.map +0 -1
- package/dist/api/sandbox/resolve.d.ts +0 -82
- package/dist/api/sandbox/resolve.d.ts.map +0 -1
- package/dist/api/sandbox/resolve.js +0 -71
- package/dist/api/sandbox/resolve.js.map +0 -1
- package/dist/api/sandbox/run.d.ts +0 -28
- package/dist/api/sandbox/run.d.ts.map +0 -1
- package/dist/api/sandbox/run.js +0 -342
- package/dist/api/sandbox/run.js.map +0 -1
- package/dist/api/sandbox/runtime.d.ts +0 -83
- package/dist/api/sandbox/runtime.d.ts.map +0 -1
- package/dist/api/sandbox/runtime.js +0 -78
- package/dist/api/sandbox/runtime.js.map +0 -1
- package/dist/api/sandbox/snapshot-build.d.ts +0 -48
- package/dist/api/sandbox/snapshot-build.d.ts.map +0 -1
- package/dist/api/sandbox/snapshot-build.js +0 -74
- package/dist/api/sandbox/snapshot-build.js.map +0 -1
- package/dist/api/sandbox/snapshot.d.ts +0 -595
- package/dist/api/sandbox/snapshot.d.ts.map +0 -1
- package/dist/api/sandbox/snapshot.js +0 -598
- package/dist/api/sandbox/snapshot.js.map +0 -1
- package/dist/api/services/index.d.ts +0 -2
- package/dist/api/services/index.d.ts.map +0 -1
- package/dist/api/services/index.js +0 -2
- package/dist/api/services/index.js.map +0 -1
- package/dist/api/services/stats.d.ts +0 -263
- package/dist/api/services/stats.d.ts.map +0 -1
- package/dist/api/services/stats.js +0 -144
- package/dist/api/services/stats.js.map +0 -1
- package/dist/api/session/get.d.ts +0 -169
- package/dist/api/session/get.d.ts.map +0 -1
- package/dist/api/session/get.js +0 -56
- package/dist/api/session/get.js.map +0 -1
- package/dist/api/session/index.d.ts +0 -4
- package/dist/api/session/index.d.ts.map +0 -1
- package/dist/api/session/index.js +0 -4
- package/dist/api/session/index.js.map +0 -1
- package/dist/api/session/list.d.ts +0 -143
- package/dist/api/session/list.d.ts.map +0 -1
- package/dist/api/session/list.js +0 -91
- package/dist/api/session/list.js.map +0 -1
- package/dist/api/session/logs.d.ts +0 -40
- package/dist/api/session/logs.d.ts.map +0 -1
- package/dist/api/session/logs.js +0 -28
- package/dist/api/session/logs.js.map +0 -1
- package/dist/api/session/util.d.ts +0 -23
- package/dist/api/session/util.d.ts.map +0 -1
- package/dist/api/session/util.js +0 -3
- package/dist/api/session/util.js.map +0 -1
- package/dist/api/storage/config.d.ts +0 -99
- package/dist/api/storage/config.d.ts.map +0 -1
- package/dist/api/storage/config.js +0 -61
- package/dist/api/storage/config.js.map +0 -1
- package/dist/api/storage/index.d.ts +0 -5
- package/dist/api/storage/index.d.ts.map +0 -1
- package/dist/api/storage/index.js +0 -5
- package/dist/api/storage/index.js.map +0 -1
- package/dist/api/storage/objects.d.ts +0 -155
- package/dist/api/storage/objects.d.ts.map +0 -1
- package/dist/api/storage/objects.js +0 -148
- package/dist/api/storage/objects.js.map +0 -1
- package/dist/api/storage/types.d.ts +0 -161
- package/dist/api/storage/types.d.ts.map +0 -1
- package/dist/api/storage/types.js +0 -141
- package/dist/api/storage/types.js.map +0 -1
- package/dist/api/storage/util.d.ts +0 -48
- package/dist/api/storage/util.d.ts.map +0 -1
- package/dist/api/storage/util.js +0 -8
- package/dist/api/storage/util.js.map +0 -1
- package/dist/api/stream/get.d.ts +0 -58
- package/dist/api/stream/get.d.ts.map +0 -1
- package/dist/api/stream/get.js +0 -40
- package/dist/api/stream/get.js.map +0 -1
- package/dist/api/stream/index.d.ts +0 -4
- package/dist/api/stream/index.d.ts.map +0 -1
- package/dist/api/stream/index.js +0 -4
- package/dist/api/stream/index.js.map +0 -1
- package/dist/api/stream/list.d.ts +0 -120
- package/dist/api/stream/list.d.ts.map +0 -1
- package/dist/api/stream/list.js +0 -77
- package/dist/api/stream/list.js.map +0 -1
- package/dist/api/stream/util.d.ts +0 -23
- package/dist/api/stream/util.d.ts.map +0 -1
- package/dist/api/stream/util.js +0 -3
- package/dist/api/stream/util.js.map +0 -1
- package/dist/api/thread/delete.d.ts +0 -23
- package/dist/api/thread/delete.d.ts.map +0 -1
- package/dist/api/thread/delete.js +0 -21
- package/dist/api/thread/delete.js.map +0 -1
- package/dist/api/thread/get.d.ts +0 -36
- package/dist/api/thread/get.d.ts.map +0 -1
- package/dist/api/thread/get.js +0 -23
- package/dist/api/thread/get.js.map +0 -1
- package/dist/api/thread/index.d.ts +0 -5
- package/dist/api/thread/index.d.ts.map +0 -1
- package/dist/api/thread/index.js +0 -5
- package/dist/api/thread/index.js.map +0 -1
- package/dist/api/thread/list.d.ts +0 -69
- package/dist/api/thread/list.d.ts.map +0 -1
- package/dist/api/thread/list.js +0 -51
- package/dist/api/thread/list.js.map +0 -1
- package/dist/api/thread/util.d.ts +0 -23
- package/dist/api/thread/util.d.ts.map +0 -1
- package/dist/api/thread/util.js +0 -3
- package/dist/api/thread/util.js.map +0 -1
- package/dist/api/user/index.d.ts +0 -2
- package/dist/api/user/index.d.ts.map +0 -1
- package/dist/api/user/index.js +0 -2
- package/dist/api/user/index.js.map +0 -1
- package/dist/api/user/util.d.ts +0 -23
- package/dist/api/user/util.d.ts.map +0 -1
- package/dist/api/user/util.js +0 -3
- package/dist/api/user/util.js.map +0 -1
- package/dist/api/webhook/deliveries.d.ts +0 -94
- package/dist/api/webhook/deliveries.d.ts.map +0 -1
- package/dist/api/webhook/deliveries.js +0 -79
- package/dist/api/webhook/deliveries.js.map +0 -1
- package/dist/api/webhook/destinations.d.ts +0 -136
- package/dist/api/webhook/destinations.d.ts.map +0 -1
- package/dist/api/webhook/destinations.js +0 -137
- package/dist/api/webhook/destinations.js.map +0 -1
- package/dist/api/webhook/index.d.ts +0 -41
- package/dist/api/webhook/index.d.ts.map +0 -1
- package/dist/api/webhook/index.js +0 -59
- package/dist/api/webhook/index.js.map +0 -1
- package/dist/api/webhook/receipts.d.ts +0 -77
- package/dist/api/webhook/receipts.d.ts.map +0 -1
- package/dist/api/webhook/receipts.js +0 -78
- package/dist/api/webhook/receipts.js.map +0 -1
- package/dist/api/webhook/types.d.ts +0 -249
- package/dist/api/webhook/types.d.ts.map +0 -1
- package/dist/api/webhook/types.js +0 -221
- package/dist/api/webhook/types.js.map +0 -1
- package/dist/api/webhook/util.d.ts +0 -202
- package/dist/api/webhook/util.d.ts.map +0 -1
- package/dist/api/webhook/util.js +0 -201
- package/dist/api/webhook/util.js.map +0 -1
- package/dist/api/webhook/webhooks.d.ts +0 -146
- package/dist/api/webhook/webhooks.d.ts.map +0 -1
- package/dist/api/webhook/webhooks.js +0 -165
- package/dist/api/webhook/webhooks.js.map +0 -1
- package/src/api/api-example.md +0 -164
- package/src/api/apikey/create.ts +0 -41
- package/src/api/apikey/delete.ts +0 -30
- package/src/api/apikey/get.ts +0 -48
- package/src/api/apikey/index.ts +0 -5
- package/src/api/apikey/list.ts +0 -64
- package/src/api/apikey/util.ts +0 -3
- package/src/api/db/index.ts +0 -27
- package/src/api/db/logs.ts +0 -75
- package/src/api/db/query.ts +0 -67
- package/src/api/db/tables.ts +0 -92
- package/src/api/db/util.ts +0 -9
- package/src/api/eval/get.ts +0 -33
- package/src/api/eval/index.ts +0 -28
- package/src/api/eval/list.ts +0 -49
- package/src/api/eval/run-get.ts +0 -39
- package/src/api/eval/run-list.ts +0 -59
- package/src/api/machine/index.ts +0 -2
- package/src/api/machine/machine.ts +0 -160
- package/src/api/machine/util.ts +0 -5
- package/src/api/org/index.ts +0 -6
- package/src/api/org/list.ts +0 -28
- package/src/api/org/resources.ts +0 -140
- package/src/api/org/util.ts +0 -4
- package/src/api/project/agent.ts +0 -86
- package/src/api/project/create.ts +0 -47
- package/src/api/project/delete.ts +0 -25
- package/src/api/project/deploy.ts +0 -458
- package/src/api/project/deployment.ts +0 -195
- package/src/api/project/env-delete.ts +0 -45
- package/src/api/project/env-update.ts +0 -55
- package/src/api/project/exists.ts +0 -58
- package/src/api/project/hostname.ts +0 -73
- package/src/api/project/index.ts +0 -13
- package/src/api/project/update-region.ts +0 -44
- package/src/api/project/util.ts +0 -8
- package/src/api/queue/analytics.ts +0 -311
- package/src/api/queue/destinations.ts +0 -259
- package/src/api/queue/dlq.ts +0 -243
- package/src/api/queue/index.ts +0 -308
- package/src/api/queue/messages.ts +0 -784
- package/src/api/queue/queues.ts +0 -460
- package/src/api/queue/sources.ts +0 -294
- package/src/api/queue/types.ts +0 -1325
- package/src/api/queue/util.ts +0 -278
- package/src/api/queue/validation.ts +0 -560
- package/src/api/queue/websocket.ts +0 -514
- package/src/api/region/delete.ts +0 -57
- package/src/api/region/index.ts +0 -4
- package/src/api/region/list.ts +0 -32
- package/src/api/region/resources.ts +0 -69
- package/src/api/region/util.ts +0 -3
- package/src/api/sandbox/cli-list.ts +0 -127
- package/src/api/sandbox/create.ts +0 -256
- package/src/api/sandbox/destroy.ts +0 -41
- package/src/api/sandbox/disk-checkpoint.ts +0 -179
- package/src/api/sandbox/execute.ts +0 -132
- package/src/api/sandbox/execution.ts +0 -183
- package/src/api/sandbox/files.ts +0 -596
- package/src/api/sandbox/get.ts +0 -249
- package/src/api/sandbox/getStatus.ts +0 -54
- package/src/api/sandbox/index.ts +0 -211
- package/src/api/sandbox/list.ts +0 -224
- package/src/api/sandbox/resolve.ts +0 -98
- package/src/api/sandbox/run.ts +0 -439
- package/src/api/sandbox/runtime.ts +0 -100
- package/src/api/sandbox/snapshot-build.ts +0 -98
- package/src/api/sandbox/snapshot.ts +0 -781
- package/src/api/services/index.ts +0 -1
- package/src/api/services/stats.ts +0 -213
- package/src/api/session/get.ts +0 -106
- package/src/api/session/index.ts +0 -3
- package/src/api/session/list.ts +0 -136
- package/src/api/session/logs.ts +0 -47
- package/src/api/session/util.ts +0 -3
- package/src/api/storage/config.ts +0 -111
- package/src/api/storage/index.ts +0 -4
- package/src/api/storage/objects.ts +0 -250
- package/src/api/storage/types.ts +0 -174
- package/src/api/storage/util.ts +0 -10
- package/src/api/stream/get.ts +0 -51
- package/src/api/stream/index.ts +0 -3
- package/src/api/stream/list.ts +0 -127
- package/src/api/stream/util.ts +0 -3
- package/src/api/thread/delete.ts +0 -31
- package/src/api/thread/get.ts +0 -34
- package/src/api/thread/index.ts +0 -4
- package/src/api/thread/list.ts +0 -76
- package/src/api/thread/util.ts +0 -3
- package/src/api/user/index.ts +0 -1
- package/src/api/user/util.ts +0 -3
- package/src/api/webhook/deliveries.ts +0 -129
- package/src/api/webhook/destinations.ts +0 -224
- package/src/api/webhook/index.ts +0 -133
- package/src/api/webhook/receipts.ts +0 -124
- package/src/api/webhook/types.ts +0 -309
- package/src/api/webhook/util.ts +0 -237
- package/src/api/webhook/webhooks.ts +0 -260
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/sandbox/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAOjG,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EACN,uBAAuB,EACvB,0BAA0B,EAC1B,2BAA2B,EAC3B,aAAa,GACb,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAQrE,OAAO,EACN,wBAAwB,EACxB,kCAAkC,EAClC,iCAAiC,EACjC,mCAAmC,EACnC,kCAAkC,EAClC,oBAAoB,EACpB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c,CAAC;AAEtB,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,EACN,sBAAsB,EACtB,0BAA0B,EAC1B,iBAAiB,EACjB,yBAAyB,EACzB,WAAW,GACX,MAAM,cAAc,CAAC;AAsBtB,OAAO,EACN,0BAA0B,EAC1B,kCAAkC,EAClC,+BAA+B,EAC/B,4BAA4B,EAC5B,4BAA4B,EAC5B,sBAAsB,EACtB,yBAAyB,EACzB,kBAAkB,EAClB,yBAAyB,EACzB,0BAA0B,EAC1B,6BAA6B,EAC7B,sBAAsB,EACtB,0BAA0B,EAC1B,qBAAqB,EACrB,4BAA4B,EAC5B,sBAAsB,EACtB,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,WAAW,EACX,eAAe,EACf,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,cAAc,GACd,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAExF,OAAO,EACN,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,GACb,MAAM,WAAW,CAAC"}
|
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
import type { ListSandboxesParams, ListSandboxesResponse } from '@agentuity/core';
|
|
2
|
-
import { z } from 'zod';
|
|
3
|
-
import { type APIClient } from '../api.ts';
|
|
4
|
-
export declare const SandboxOrgInfoSchema: z.ZodObject<{
|
|
5
|
-
id: z.ZodString;
|
|
6
|
-
name: z.ZodString;
|
|
7
|
-
}, z.core.$strip>;
|
|
8
|
-
export declare const SandboxRuntimeInfoSchema: z.ZodObject<{
|
|
9
|
-
id: z.ZodString;
|
|
10
|
-
name: z.ZodString;
|
|
11
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
12
|
-
brandColor: z.ZodOptional<z.ZodString>;
|
|
13
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
-
}, z.core.$strip>;
|
|
15
|
-
export declare const SandboxSnapshotUserInfoSchema: z.ZodObject<{
|
|
16
|
-
id: z.ZodString;
|
|
17
|
-
firstName: z.ZodOptional<z.ZodString>;
|
|
18
|
-
lastName: z.ZodOptional<z.ZodString>;
|
|
19
|
-
}, z.core.$strip>;
|
|
20
|
-
export declare const SandboxSnapshotOrgInfoSchema: z.ZodObject<{
|
|
21
|
-
id: z.ZodString;
|
|
22
|
-
name: z.ZodString;
|
|
23
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
export declare const SandboxSnapshotInfoSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
26
|
-
id: z.ZodString;
|
|
27
|
-
name: z.ZodOptional<z.ZodString>;
|
|
28
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
29
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
30
|
-
public: z.ZodLiteral<true>;
|
|
31
|
-
org: z.ZodObject<{
|
|
32
|
-
id: z.ZodString;
|
|
33
|
-
name: z.ZodString;
|
|
34
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
35
|
-
}, z.core.$strip>;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
id: z.ZodString;
|
|
38
|
-
name: z.ZodOptional<z.ZodString>;
|
|
39
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
40
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
41
|
-
public: z.ZodLiteral<false>;
|
|
42
|
-
user: z.ZodObject<{
|
|
43
|
-
id: z.ZodString;
|
|
44
|
-
firstName: z.ZodOptional<z.ZodString>;
|
|
45
|
-
lastName: z.ZodOptional<z.ZodString>;
|
|
46
|
-
}, z.core.$strip>;
|
|
47
|
-
}, z.core.$strip>]>;
|
|
48
|
-
export declare const SandboxInfoSchema: z.ZodObject<{
|
|
49
|
-
sandboxId: z.ZodString;
|
|
50
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
51
|
-
name: z.ZodOptional<z.ZodString>;
|
|
52
|
-
description: z.ZodOptional<z.ZodString>;
|
|
53
|
-
status: z.ZodEnum<{
|
|
54
|
-
paused: "paused";
|
|
55
|
-
idle: "idle";
|
|
56
|
-
failed: "failed";
|
|
57
|
-
deleted: "deleted";
|
|
58
|
-
creating: "creating";
|
|
59
|
-
running: "running";
|
|
60
|
-
stopping: "stopping";
|
|
61
|
-
suspended: "suspended";
|
|
62
|
-
terminated: "terminated";
|
|
63
|
-
}>;
|
|
64
|
-
mode: z.ZodOptional<z.ZodString>;
|
|
65
|
-
createdAt: z.ZodString;
|
|
66
|
-
region: z.ZodOptional<z.ZodString>;
|
|
67
|
-
runtime: z.ZodOptional<z.ZodObject<{
|
|
68
|
-
id: z.ZodString;
|
|
69
|
-
name: z.ZodString;
|
|
70
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
71
|
-
brandColor: z.ZodOptional<z.ZodString>;
|
|
72
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
73
|
-
}, z.core.$strip>>;
|
|
74
|
-
snapshot: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
75
|
-
id: z.ZodString;
|
|
76
|
-
name: z.ZodOptional<z.ZodString>;
|
|
77
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
78
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
79
|
-
public: z.ZodLiteral<true>;
|
|
80
|
-
org: z.ZodObject<{
|
|
81
|
-
id: z.ZodString;
|
|
82
|
-
name: z.ZodString;
|
|
83
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
84
|
-
}, z.core.$strip>;
|
|
85
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
86
|
-
id: z.ZodString;
|
|
87
|
-
name: z.ZodOptional<z.ZodString>;
|
|
88
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
89
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
90
|
-
public: z.ZodLiteral<false>;
|
|
91
|
-
user: z.ZodObject<{
|
|
92
|
-
id: z.ZodString;
|
|
93
|
-
firstName: z.ZodOptional<z.ZodString>;
|
|
94
|
-
lastName: z.ZodOptional<z.ZodString>;
|
|
95
|
-
}, z.core.$strip>;
|
|
96
|
-
}, z.core.$strip>]>>;
|
|
97
|
-
executions: z.ZodNumber;
|
|
98
|
-
stdoutStreamUrl: z.ZodOptional<z.ZodString>;
|
|
99
|
-
stderrStreamUrl: z.ZodOptional<z.ZodString>;
|
|
100
|
-
auditStreamId: z.ZodOptional<z.ZodString>;
|
|
101
|
-
auditStreamUrl: z.ZodOptional<z.ZodString>;
|
|
102
|
-
networkEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
-
networkPort: z.ZodOptional<z.ZodNumber>;
|
|
104
|
-
url: z.ZodOptional<z.ZodString>;
|
|
105
|
-
org: z.ZodObject<{
|
|
106
|
-
id: z.ZodString;
|
|
107
|
-
name: z.ZodString;
|
|
108
|
-
}, z.core.$strip>;
|
|
109
|
-
timeout: z.ZodOptional<z.ZodObject<{
|
|
110
|
-
idle: z.ZodOptional<z.ZodString>;
|
|
111
|
-
execution: z.ZodOptional<z.ZodString>;
|
|
112
|
-
}, z.core.$strip>>;
|
|
113
|
-
command: z.ZodOptional<z.ZodObject<{
|
|
114
|
-
exec: z.ZodArray<z.ZodString>;
|
|
115
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
116
|
-
oneshot: "oneshot";
|
|
117
|
-
interactive: "interactive";
|
|
118
|
-
}>>;
|
|
119
|
-
}, z.core.$strip>>;
|
|
120
|
-
}, z.core.$strip>;
|
|
121
|
-
export declare const ListSandboxesDataSchema: z.ZodObject<{
|
|
122
|
-
sandboxes: z.ZodArray<z.ZodObject<{
|
|
123
|
-
sandboxId: z.ZodString;
|
|
124
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
125
|
-
name: z.ZodOptional<z.ZodString>;
|
|
126
|
-
description: z.ZodOptional<z.ZodString>;
|
|
127
|
-
status: z.ZodEnum<{
|
|
128
|
-
paused: "paused";
|
|
129
|
-
idle: "idle";
|
|
130
|
-
failed: "failed";
|
|
131
|
-
deleted: "deleted";
|
|
132
|
-
creating: "creating";
|
|
133
|
-
running: "running";
|
|
134
|
-
stopping: "stopping";
|
|
135
|
-
suspended: "suspended";
|
|
136
|
-
terminated: "terminated";
|
|
137
|
-
}>;
|
|
138
|
-
mode: z.ZodOptional<z.ZodString>;
|
|
139
|
-
createdAt: z.ZodString;
|
|
140
|
-
region: z.ZodOptional<z.ZodString>;
|
|
141
|
-
runtime: z.ZodOptional<z.ZodObject<{
|
|
142
|
-
id: z.ZodString;
|
|
143
|
-
name: z.ZodString;
|
|
144
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
145
|
-
brandColor: z.ZodOptional<z.ZodString>;
|
|
146
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
147
|
-
}, z.core.$strip>>;
|
|
148
|
-
snapshot: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
149
|
-
id: z.ZodString;
|
|
150
|
-
name: z.ZodOptional<z.ZodString>;
|
|
151
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
152
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
153
|
-
public: z.ZodLiteral<true>;
|
|
154
|
-
org: z.ZodObject<{
|
|
155
|
-
id: z.ZodString;
|
|
156
|
-
name: z.ZodString;
|
|
157
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
158
|
-
}, z.core.$strip>;
|
|
159
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
160
|
-
id: z.ZodString;
|
|
161
|
-
name: z.ZodOptional<z.ZodString>;
|
|
162
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
163
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
164
|
-
public: z.ZodLiteral<false>;
|
|
165
|
-
user: z.ZodObject<{
|
|
166
|
-
id: z.ZodString;
|
|
167
|
-
firstName: z.ZodOptional<z.ZodString>;
|
|
168
|
-
lastName: z.ZodOptional<z.ZodString>;
|
|
169
|
-
}, z.core.$strip>;
|
|
170
|
-
}, z.core.$strip>]>>;
|
|
171
|
-
executions: z.ZodNumber;
|
|
172
|
-
stdoutStreamUrl: z.ZodOptional<z.ZodString>;
|
|
173
|
-
stderrStreamUrl: z.ZodOptional<z.ZodString>;
|
|
174
|
-
auditStreamId: z.ZodOptional<z.ZodString>;
|
|
175
|
-
auditStreamUrl: z.ZodOptional<z.ZodString>;
|
|
176
|
-
networkEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
177
|
-
networkPort: z.ZodOptional<z.ZodNumber>;
|
|
178
|
-
url: z.ZodOptional<z.ZodString>;
|
|
179
|
-
org: z.ZodObject<{
|
|
180
|
-
id: z.ZodString;
|
|
181
|
-
name: z.ZodString;
|
|
182
|
-
}, z.core.$strip>;
|
|
183
|
-
timeout: z.ZodOptional<z.ZodObject<{
|
|
184
|
-
idle: z.ZodOptional<z.ZodString>;
|
|
185
|
-
execution: z.ZodOptional<z.ZodString>;
|
|
186
|
-
}, z.core.$strip>>;
|
|
187
|
-
command: z.ZodOptional<z.ZodObject<{
|
|
188
|
-
exec: z.ZodArray<z.ZodString>;
|
|
189
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
190
|
-
oneshot: "oneshot";
|
|
191
|
-
interactive: "interactive";
|
|
192
|
-
}>>;
|
|
193
|
-
}, z.core.$strip>>;
|
|
194
|
-
}, z.core.$strip>>;
|
|
195
|
-
total: z.ZodNumber;
|
|
196
|
-
}, z.core.$strip>;
|
|
197
|
-
export declare const ListSandboxesResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
198
|
-
success: z.ZodLiteral<false>;
|
|
199
|
-
message: z.ZodString;
|
|
200
|
-
code: z.ZodOptional<z.ZodString>;
|
|
201
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
202
|
-
success: z.ZodLiteral<true>;
|
|
203
|
-
data: z.ZodObject<{
|
|
204
|
-
sandboxes: z.ZodArray<z.ZodObject<{
|
|
205
|
-
sandboxId: z.ZodString;
|
|
206
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
207
|
-
name: z.ZodOptional<z.ZodString>;
|
|
208
|
-
description: z.ZodOptional<z.ZodString>;
|
|
209
|
-
status: z.ZodEnum<{
|
|
210
|
-
paused: "paused";
|
|
211
|
-
idle: "idle";
|
|
212
|
-
failed: "failed";
|
|
213
|
-
deleted: "deleted";
|
|
214
|
-
creating: "creating";
|
|
215
|
-
running: "running";
|
|
216
|
-
stopping: "stopping";
|
|
217
|
-
suspended: "suspended";
|
|
218
|
-
terminated: "terminated";
|
|
219
|
-
}>;
|
|
220
|
-
mode: z.ZodOptional<z.ZodString>;
|
|
221
|
-
createdAt: z.ZodString;
|
|
222
|
-
region: z.ZodOptional<z.ZodString>;
|
|
223
|
-
runtime: z.ZodOptional<z.ZodObject<{
|
|
224
|
-
id: z.ZodString;
|
|
225
|
-
name: z.ZodString;
|
|
226
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
227
|
-
brandColor: z.ZodOptional<z.ZodString>;
|
|
228
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
229
|
-
}, z.core.$strip>>;
|
|
230
|
-
snapshot: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
231
|
-
id: z.ZodString;
|
|
232
|
-
name: z.ZodOptional<z.ZodString>;
|
|
233
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
234
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
235
|
-
public: z.ZodLiteral<true>;
|
|
236
|
-
org: z.ZodObject<{
|
|
237
|
-
id: z.ZodString;
|
|
238
|
-
name: z.ZodString;
|
|
239
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
240
|
-
}, z.core.$strip>;
|
|
241
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
242
|
-
id: z.ZodString;
|
|
243
|
-
name: z.ZodOptional<z.ZodString>;
|
|
244
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
245
|
-
fullName: z.ZodOptional<z.ZodString>;
|
|
246
|
-
public: z.ZodLiteral<false>;
|
|
247
|
-
user: z.ZodObject<{
|
|
248
|
-
id: z.ZodString;
|
|
249
|
-
firstName: z.ZodOptional<z.ZodString>;
|
|
250
|
-
lastName: z.ZodOptional<z.ZodString>;
|
|
251
|
-
}, z.core.$strip>;
|
|
252
|
-
}, z.core.$strip>]>>;
|
|
253
|
-
executions: z.ZodNumber;
|
|
254
|
-
stdoutStreamUrl: z.ZodOptional<z.ZodString>;
|
|
255
|
-
stderrStreamUrl: z.ZodOptional<z.ZodString>;
|
|
256
|
-
auditStreamId: z.ZodOptional<z.ZodString>;
|
|
257
|
-
auditStreamUrl: z.ZodOptional<z.ZodString>;
|
|
258
|
-
networkEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
-
networkPort: z.ZodOptional<z.ZodNumber>;
|
|
260
|
-
url: z.ZodOptional<z.ZodString>;
|
|
261
|
-
org: z.ZodObject<{
|
|
262
|
-
id: z.ZodString;
|
|
263
|
-
name: z.ZodString;
|
|
264
|
-
}, z.core.$strip>;
|
|
265
|
-
timeout: z.ZodOptional<z.ZodObject<{
|
|
266
|
-
idle: z.ZodOptional<z.ZodString>;
|
|
267
|
-
execution: z.ZodOptional<z.ZodString>;
|
|
268
|
-
}, z.core.$strip>>;
|
|
269
|
-
command: z.ZodOptional<z.ZodObject<{
|
|
270
|
-
exec: z.ZodArray<z.ZodString>;
|
|
271
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
272
|
-
oneshot: "oneshot";
|
|
273
|
-
interactive: "interactive";
|
|
274
|
-
}>>;
|
|
275
|
-
}, z.core.$strip>>;
|
|
276
|
-
}, z.core.$strip>>;
|
|
277
|
-
total: z.ZodNumber;
|
|
278
|
-
}, z.core.$strip>;
|
|
279
|
-
}, z.core.$strip>], "success">;
|
|
280
|
-
export interface SandboxListParams extends ListSandboxesParams {
|
|
281
|
-
orgId?: string;
|
|
282
|
-
deletedOnly?: boolean;
|
|
283
|
-
}
|
|
284
|
-
/**
|
|
285
|
-
* Lists sandboxes with optional filtering and pagination.
|
|
286
|
-
*
|
|
287
|
-
* @param client - The API client to use for the request
|
|
288
|
-
* @param params - Optional parameters for filtering by project, status, and pagination
|
|
289
|
-
* @returns Paginated list of sandboxes with total count
|
|
290
|
-
* @throws {SandboxResponseError} If the request fails
|
|
291
|
-
*/
|
|
292
|
-
export declare function sandboxList(client: APIClient, params?: SandboxListParams): Promise<ListSandboxesResponse>;
|
|
293
|
-
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/api/sandbox/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,mBAAmB,EACnB,qBAAqB,EAIrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,WAAW,CAAC;AAG9D,eAAO,MAAM,oBAAoB;;;iBAKqB,CAAC;AAEvD,eAAO,MAAM,wBAAwB;;;;;;iBAQJ,CAAC;AAElC,eAAO,MAAM,6BAA6B;;;;iBAMH,CAAC;AAExC,eAAO,MAAM,4BAA4B;;;;iBAMM,CAAC;AAEhD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;mBAyBkB,CAAC;AAEzD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiDmB,CAAC;AAElD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKK,CAAC;AAE1C,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAA6C,CAAC;AAEtF,MAAM,WAAW,iBAAkB,SAAQ,mBAAmB;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,wBAAsB,WAAW,CAChC,MAAM,EAAE,SAAS,EACjB,MAAM,CAAC,EAAE,iBAAiB,GACxB,OAAO,CAAC,qBAAqB,CAAC,CA4EhC"}
|
package/dist/api/sandbox/list.js
DELETED
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { APIResponseSchema } from "../api.js";
|
|
3
|
-
import { API_VERSION, throwSandboxError } from "./util.js";
|
|
4
|
-
export const SandboxOrgInfoSchema = z
|
|
5
|
-
.object({
|
|
6
|
-
id: z.string().describe('Organization ID'),
|
|
7
|
-
name: z.string().describe('Organization name'),
|
|
8
|
-
})
|
|
9
|
-
.describe('Organization associated with the sandbox');
|
|
10
|
-
export const SandboxRuntimeInfoSchema = z
|
|
11
|
-
.object({
|
|
12
|
-
id: z.string().describe('Runtime ID'),
|
|
13
|
-
name: z.string().describe('Runtime name (e.g., "bun:1")'),
|
|
14
|
-
iconUrl: z.string().optional().describe('URL for runtime icon'),
|
|
15
|
-
brandColor: z.string().optional().describe('Brand color for the runtime (hex color code)'),
|
|
16
|
-
tags: z.array(z.string()).optional().describe('Optional tags for categorization'),
|
|
17
|
-
})
|
|
18
|
-
.describe('Runtime information');
|
|
19
|
-
export const SandboxSnapshotUserInfoSchema = z
|
|
20
|
-
.object({
|
|
21
|
-
id: z.string().describe('User ID'),
|
|
22
|
-
firstName: z.string().optional().describe("User's first name"),
|
|
23
|
-
lastName: z.string().optional().describe("User's last name"),
|
|
24
|
-
})
|
|
25
|
-
.describe('Snapshot user information');
|
|
26
|
-
export const SandboxSnapshotOrgInfoSchema = z
|
|
27
|
-
.object({
|
|
28
|
-
id: z.string().describe('Organization ID'),
|
|
29
|
-
name: z.string().describe('Organization name'),
|
|
30
|
-
slug: z.string().optional().describe('Organization slug'),
|
|
31
|
-
})
|
|
32
|
-
.describe('Snapshot organization information');
|
|
33
|
-
export const SandboxSnapshotInfoSchema = z
|
|
34
|
-
.union([
|
|
35
|
-
z
|
|
36
|
-
.object({
|
|
37
|
-
id: z.string().describe('Snapshot ID'),
|
|
38
|
-
name: z.string().optional().describe('Snapshot name'),
|
|
39
|
-
tag: z.string().optional().describe('Snapshot tag'),
|
|
40
|
-
fullName: z.string().optional().describe('Full name with org slug (@slug/name:tag)'),
|
|
41
|
-
public: z.literal(true).describe('Public snapshot'),
|
|
42
|
-
org: SandboxSnapshotOrgInfoSchema.describe('Organization that owns the public snapshot'),
|
|
43
|
-
})
|
|
44
|
-
.describe('Public snapshot'),
|
|
45
|
-
z
|
|
46
|
-
.object({
|
|
47
|
-
id: z.string().describe('Snapshot ID'),
|
|
48
|
-
name: z.string().optional().describe('Snapshot name'),
|
|
49
|
-
tag: z.string().optional().describe('Snapshot tag'),
|
|
50
|
-
fullName: z.string().optional().describe('Full name with org slug (@slug/name:tag)'),
|
|
51
|
-
public: z.literal(false).describe('Private snapshot'),
|
|
52
|
-
user: SandboxSnapshotUserInfoSchema.describe('User who created the private snapshot'),
|
|
53
|
-
})
|
|
54
|
-
.describe('Private snapshot'),
|
|
55
|
-
])
|
|
56
|
-
.describe('Snapshot information (discriminated union)');
|
|
57
|
-
export const SandboxInfoSchema = z
|
|
58
|
-
.object({
|
|
59
|
-
sandboxId: z.string().describe('Unique identifier for the sandbox'),
|
|
60
|
-
identifier: z.string().optional().describe('Short identifier for DNS hostname'),
|
|
61
|
-
name: z.string().optional().describe('Sandbox name'),
|
|
62
|
-
description: z.string().optional().describe('Sandbox description'),
|
|
63
|
-
status: z
|
|
64
|
-
.enum([
|
|
65
|
-
'creating',
|
|
66
|
-
'idle',
|
|
67
|
-
'running',
|
|
68
|
-
'paused',
|
|
69
|
-
'stopping',
|
|
70
|
-
'suspended',
|
|
71
|
-
'terminated',
|
|
72
|
-
'failed',
|
|
73
|
-
'deleted',
|
|
74
|
-
])
|
|
75
|
-
.describe('Current status of the sandbox'),
|
|
76
|
-
mode: z.string().optional().describe('Sandbox mode (interactive or oneshot)'),
|
|
77
|
-
createdAt: z.string().describe('ISO timestamp when the sandbox was created'),
|
|
78
|
-
region: z.string().optional().describe('Region where the sandbox is running'),
|
|
79
|
-
runtime: SandboxRuntimeInfoSchema.optional().describe('Runtime information'),
|
|
80
|
-
snapshot: SandboxSnapshotInfoSchema.optional().describe('Snapshot information'),
|
|
81
|
-
executions: z.number().describe('Total number of executions in this sandbox'),
|
|
82
|
-
stdoutStreamUrl: z.string().optional().describe('URL for streaming stdout output'),
|
|
83
|
-
stderrStreamUrl: z.string().optional().describe('URL for streaming stderr output'),
|
|
84
|
-
auditStreamId: z.string().optional().describe('ID of the audit event stream'),
|
|
85
|
-
auditStreamUrl: z.string().optional().describe('URL for streaming audit events'),
|
|
86
|
-
networkEnabled: z.boolean().optional().describe('Whether network access is enabled'),
|
|
87
|
-
networkPort: z.number().optional().describe('Network port exposed from the sandbox'),
|
|
88
|
-
url: z
|
|
89
|
-
.string()
|
|
90
|
-
.optional()
|
|
91
|
-
.describe('Public URL for the sandbox (only set if networkPort is configured)'),
|
|
92
|
-
org: SandboxOrgInfoSchema.describe('Organization associated with the sandbox'),
|
|
93
|
-
timeout: z
|
|
94
|
-
.object({
|
|
95
|
-
idle: z.string().optional(),
|
|
96
|
-
execution: z.string().optional(),
|
|
97
|
-
})
|
|
98
|
-
.optional(),
|
|
99
|
-
command: z
|
|
100
|
-
.object({
|
|
101
|
-
exec: z.array(z.string()),
|
|
102
|
-
mode: z.enum(['oneshot', 'interactive']).optional(),
|
|
103
|
-
})
|
|
104
|
-
.optional(),
|
|
105
|
-
})
|
|
106
|
-
.describe('Summary information about a sandbox');
|
|
107
|
-
export const ListSandboxesDataSchema = z
|
|
108
|
-
.object({
|
|
109
|
-
sandboxes: z.array(SandboxInfoSchema).describe('List of sandbox entries'),
|
|
110
|
-
total: z.number().describe('Total number of sandboxes matching the query'),
|
|
111
|
-
})
|
|
112
|
-
.describe('Paginated list of sandboxes');
|
|
113
|
-
export const ListSandboxesResponseSchema = APIResponseSchema(ListSandboxesDataSchema);
|
|
114
|
-
/**
|
|
115
|
-
* Lists sandboxes with optional filtering and pagination.
|
|
116
|
-
*
|
|
117
|
-
* @param client - The API client to use for the request
|
|
118
|
-
* @param params - Optional parameters for filtering by project, status, and pagination
|
|
119
|
-
* @returns Paginated list of sandboxes with total count
|
|
120
|
-
* @throws {SandboxResponseError} If the request fails
|
|
121
|
-
*/
|
|
122
|
-
export async function sandboxList(client, params) {
|
|
123
|
-
const queryParams = new URLSearchParams();
|
|
124
|
-
if (params?.orgId) {
|
|
125
|
-
queryParams.set('orgId', params.orgId);
|
|
126
|
-
}
|
|
127
|
-
if (params?.name) {
|
|
128
|
-
queryParams.set('name', params.name);
|
|
129
|
-
}
|
|
130
|
-
if (params?.mode) {
|
|
131
|
-
queryParams.set('mode', params.mode);
|
|
132
|
-
}
|
|
133
|
-
if (params?.projectId) {
|
|
134
|
-
queryParams.set('projectId', params.projectId);
|
|
135
|
-
}
|
|
136
|
-
if (params?.snapshotId) {
|
|
137
|
-
queryParams.set('snapshotId', params.snapshotId);
|
|
138
|
-
}
|
|
139
|
-
if (params?.status) {
|
|
140
|
-
queryParams.set('status', params.status);
|
|
141
|
-
}
|
|
142
|
-
if (params?.live !== undefined) {
|
|
143
|
-
queryParams.set('live', params.live.toString());
|
|
144
|
-
}
|
|
145
|
-
if (params?.limit !== undefined) {
|
|
146
|
-
queryParams.set('limit', params.limit.toString());
|
|
147
|
-
}
|
|
148
|
-
if (params?.offset !== undefined) {
|
|
149
|
-
queryParams.set('offset', params.offset.toString());
|
|
150
|
-
}
|
|
151
|
-
if (params?.sort) {
|
|
152
|
-
queryParams.set('sort', params.sort);
|
|
153
|
-
}
|
|
154
|
-
if (params?.direction) {
|
|
155
|
-
queryParams.set('direction', params.direction);
|
|
156
|
-
}
|
|
157
|
-
if (params?.deletedOnly) {
|
|
158
|
-
queryParams.set('deletedOnly', 'true');
|
|
159
|
-
}
|
|
160
|
-
const queryString = queryParams.toString();
|
|
161
|
-
const url = `/sandbox/${API_VERSION}${queryString ? `?${queryString}` : ''}`;
|
|
162
|
-
const resp = await client.get(url, ListSandboxesResponseSchema);
|
|
163
|
-
if (resp.success) {
|
|
164
|
-
return {
|
|
165
|
-
sandboxes: resp.data.sandboxes.map((s) => ({
|
|
166
|
-
sandboxId: s.sandboxId,
|
|
167
|
-
identifier: s.identifier,
|
|
168
|
-
name: s.name,
|
|
169
|
-
description: s.description,
|
|
170
|
-
status: s.status,
|
|
171
|
-
mode: s.mode,
|
|
172
|
-
createdAt: s.createdAt,
|
|
173
|
-
region: s.region,
|
|
174
|
-
runtime: s.runtime,
|
|
175
|
-
snapshot: s.snapshot,
|
|
176
|
-
executions: s.executions,
|
|
177
|
-
stdoutStreamUrl: s.stdoutStreamUrl,
|
|
178
|
-
stderrStreamUrl: s.stderrStreamUrl,
|
|
179
|
-
auditStreamId: s.auditStreamId,
|
|
180
|
-
auditStreamUrl: s.auditStreamUrl,
|
|
181
|
-
networkEnabled: s.networkEnabled,
|
|
182
|
-
networkPort: s.networkPort,
|
|
183
|
-
url: s.url,
|
|
184
|
-
org: s.org,
|
|
185
|
-
})),
|
|
186
|
-
total: resp.data.total,
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
throwSandboxError(resp, {});
|
|
190
|
-
}
|
|
191
|
-
//# sourceMappingURL=list.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../src/api/sandbox/list.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OA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CAAC,CAAC;AAC7B,CAAC"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { type APIClient } from '../api.ts';
|
|
3
|
-
/**
|
|
4
|
-
* Data schema for sandbox resolve endpoint
|
|
5
|
-
*/
|
|
6
|
-
export declare const SandboxResolveDataSchema: z.ZodObject<{
|
|
7
|
-
id: z.ZodString;
|
|
8
|
-
name: z.ZodNullable<z.ZodString>;
|
|
9
|
-
region: z.ZodString;
|
|
10
|
-
status: z.ZodString;
|
|
11
|
-
orgId: z.ZodString;
|
|
12
|
-
projectId: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$strip>;
|
|
14
|
-
/**
|
|
15
|
-
* Response schema for sandbox resolve endpoint using standardized discriminated union
|
|
16
|
-
*/
|
|
17
|
-
export declare const SandboxResolveResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18
|
-
success: z.ZodLiteral<false>;
|
|
19
|
-
message: z.ZodString;
|
|
20
|
-
code: z.ZodOptional<z.ZodString>;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
success: z.ZodLiteral<true>;
|
|
23
|
-
data: z.ZodOptional<z.ZodObject<{
|
|
24
|
-
id: z.ZodString;
|
|
25
|
-
name: z.ZodNullable<z.ZodString>;
|
|
26
|
-
region: z.ZodString;
|
|
27
|
-
status: z.ZodString;
|
|
28
|
-
orgId: z.ZodString;
|
|
29
|
-
projectId: z.ZodNullable<z.ZodString>;
|
|
30
|
-
}, z.core.$strip>>;
|
|
31
|
-
}, z.core.$strip>], "success">;
|
|
32
|
-
/**
|
|
33
|
-
* Resolved sandbox info returned from the CLI API
|
|
34
|
-
*/
|
|
35
|
-
export interface ResolvedSandboxInfo {
|
|
36
|
-
id: string;
|
|
37
|
-
name: string | null;
|
|
38
|
-
region: string;
|
|
39
|
-
status: string;
|
|
40
|
-
orgId: string;
|
|
41
|
-
projectId: string | null;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Error thrown when sandbox resolution fails.
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* ```typescript
|
|
48
|
-
* try {
|
|
49
|
-
* await sandboxResolve(client, 'sbx_123');
|
|
50
|
-
* } catch (error) {
|
|
51
|
-
* if (error._tag === 'SandboxResolveError') {
|
|
52
|
-
* console.error(`Sandbox not found: ${error.sandboxId}`);
|
|
53
|
-
* }
|
|
54
|
-
* }
|
|
55
|
-
* ```
|
|
56
|
-
*/
|
|
57
|
-
export declare const SandboxResolveError: {
|
|
58
|
-
new (args?: ({
|
|
59
|
-
sandboxId?: string;
|
|
60
|
-
statusCode?: number;
|
|
61
|
-
} & {
|
|
62
|
-
message?: string;
|
|
63
|
-
cause?: unknown;
|
|
64
|
-
}) | undefined): import("@agentuity/core").RichError & {
|
|
65
|
-
readonly _tag: "SandboxResolveError";
|
|
66
|
-
} & Readonly<{
|
|
67
|
-
sandboxId?: string;
|
|
68
|
-
statusCode?: number;
|
|
69
|
-
}>;
|
|
70
|
-
readonly defaultMessage?: string;
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* Resolve a sandbox by ID across all organizations the user has access to.
|
|
74
|
-
* Uses the CLI API endpoint which searches across all user's orgs.
|
|
75
|
-
*
|
|
76
|
-
* @param client - API client configured for CLI endpoints
|
|
77
|
-
* @param sandboxId - The sandbox ID to resolve
|
|
78
|
-
* @returns Resolved sandbox info including region and orgId
|
|
79
|
-
* @throws {SandboxResolveError} If sandbox not found or request fails
|
|
80
|
-
*/
|
|
81
|
-
export declare function sandboxResolve(client: APIClient, sandboxId: string): Promise<ResolvedSandboxInfo>;
|
|
82
|
-
//# sourceMappingURL=resolve.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolve.d.ts","sourceRoot":"","sources":["../../../src/api/sandbox/resolve.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,SAAS,EAAiC,MAAM,WAAW,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;iBAOnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;8BAA0D,CAAC;AAEpG;;GAEG;AACH,MAAM,WAAW,mBAAmB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB;;oBACnB,MAAM;qBACL,MAAM;;;;;;;oBADP,MAAM;qBACL,MAAM;;;CAChB,CAAC;AAEL;;;;;;;;GAQG;AACH,wBAAsB,cAAc,CACnC,MAAM,EAAE,SAAS,EACjB,SAAS,EAAE,MAAM,GACf,OAAO,CAAC,mBAAmB,CAAC,CAiC9B"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { StructuredError } from '@agentuity/core';
|
|
2
|
-
import { z } from 'zod';
|
|
3
|
-
import { APIResponseSchemaOptionalData } from "../api.js";
|
|
4
|
-
/**
|
|
5
|
-
* Data schema for sandbox resolve endpoint
|
|
6
|
-
*/
|
|
7
|
-
export const SandboxResolveDataSchema = z.object({
|
|
8
|
-
id: z.string(),
|
|
9
|
-
name: z.string().nullable(),
|
|
10
|
-
region: z.string(),
|
|
11
|
-
status: z.string(),
|
|
12
|
-
orgId: z.string(),
|
|
13
|
-
projectId: z.string().nullable(),
|
|
14
|
-
});
|
|
15
|
-
/**
|
|
16
|
-
* Response schema for sandbox resolve endpoint using standardized discriminated union
|
|
17
|
-
*/
|
|
18
|
-
export const SandboxResolveResponseSchema = APIResponseSchemaOptionalData(SandboxResolveDataSchema);
|
|
19
|
-
/**
|
|
20
|
-
* Error thrown when sandbox resolution fails.
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```typescript
|
|
24
|
-
* try {
|
|
25
|
-
* await sandboxResolve(client, 'sbx_123');
|
|
26
|
-
* } catch (error) {
|
|
27
|
-
* if (error._tag === 'SandboxResolveError') {
|
|
28
|
-
* console.error(`Sandbox not found: ${error.sandboxId}`);
|
|
29
|
-
* }
|
|
30
|
-
* }
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
export const SandboxResolveError = StructuredError('SandboxResolveError')();
|
|
34
|
-
/**
|
|
35
|
-
* Resolve a sandbox by ID across all organizations the user has access to.
|
|
36
|
-
* Uses the CLI API endpoint which searches across all user's orgs.
|
|
37
|
-
*
|
|
38
|
-
* @param client - API client configured for CLI endpoints
|
|
39
|
-
* @param sandboxId - The sandbox ID to resolve
|
|
40
|
-
* @returns Resolved sandbox info including region and orgId
|
|
41
|
-
* @throws {SandboxResolveError} If sandbox not found or request fails
|
|
42
|
-
*/
|
|
43
|
-
export async function sandboxResolve(client, sandboxId) {
|
|
44
|
-
const response = await client.get(`/cli/sandbox/${sandboxId}`, SandboxResolveResponseSchema);
|
|
45
|
-
if (!response.success) {
|
|
46
|
-
// Extract status code from error code if present (e.g., "NOT_FOUND" -> 404)
|
|
47
|
-
// Fall back to 404 if no code is provided
|
|
48
|
-
const statusCode = response.code === 'NOT_FOUND' ? 404 : response.code ? 400 : 404;
|
|
49
|
-
throw new SandboxResolveError({
|
|
50
|
-
message: response.message || 'Sandbox not found',
|
|
51
|
-
sandboxId,
|
|
52
|
-
statusCode,
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
if (!response.data) {
|
|
56
|
-
throw new SandboxResolveError({
|
|
57
|
-
message: 'Sandbox not found',
|
|
58
|
-
sandboxId,
|
|
59
|
-
statusCode: 404,
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
return {
|
|
63
|
-
id: response.data.id,
|
|
64
|
-
name: response.data.name,
|
|
65
|
-
region: response.data.region,
|
|
66
|
-
status: response.data.status,
|
|
67
|
-
orgId: response.data.orgId,
|
|
68
|
-
projectId: response.data.projectId,
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=resolve.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolve.js","sourceRoot":"","sources":["../../../src/api/sandbox/resolve.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,6BAA6B,EAAE,MAAM,WAAW,CAAC;AAE1E;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,6BAA6B,CAAC,wBAAwB,CAAC,CAAC;AAcpG;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,eAAe,CAAC,qBAAqB,CAAC,EAGrE,CAAC;AAEL;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CACnC,MAAiB,EACjB,SAAiB;IAEjB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAChC,gBAAgB,SAAS,EAAE,EAC3B,4BAA4B,CAC5B,CAAC;IAEF,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;QAC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