@agentuity/server 1.0.32 → 1.0.34
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,71 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { APIClient } from '../api.ts';
|
|
3
|
-
export declare const ResourceListResponse: z.ZodObject<{
|
|
4
|
-
s3: z.ZodArray<z.ZodObject<{
|
|
5
|
-
bucket_name: z.ZodString;
|
|
6
|
-
access_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
-
secret_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
-
endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
12
|
-
bucket_type: z.ZodString;
|
|
13
|
-
internal: z.ZodBoolean;
|
|
14
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$strip>>;
|
|
16
|
-
db: z.ZodArray<z.ZodObject<{
|
|
17
|
-
name: z.ZodString;
|
|
18
|
-
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
22
|
-
internal: z.ZodBoolean;
|
|
23
|
-
}, z.core.$strip>>;
|
|
24
|
-
redis: z.ZodOptional<z.ZodObject<{
|
|
25
|
-
url: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>;
|
|
27
|
-
}, z.core.$strip>;
|
|
28
|
-
export declare const ResourceListResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29
|
-
success: z.ZodLiteral<false>;
|
|
30
|
-
message: z.ZodString;
|
|
31
|
-
code: z.ZodOptional<z.ZodString>;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
success: z.ZodLiteral<true>;
|
|
34
|
-
data: z.ZodObject<{
|
|
35
|
-
s3: z.ZodArray<z.ZodObject<{
|
|
36
|
-
bucket_name: z.ZodString;
|
|
37
|
-
access_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
secret_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
cname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
43
|
-
bucket_type: z.ZodString;
|
|
44
|
-
internal: z.ZodBoolean;
|
|
45
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
}, z.core.$strip>>;
|
|
47
|
-
db: z.ZodArray<z.ZodObject<{
|
|
48
|
-
name: z.ZodString;
|
|
49
|
-
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
-
password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
-
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
53
|
-
internal: z.ZodBoolean;
|
|
54
|
-
}, z.core.$strip>>;
|
|
55
|
-
redis: z.ZodOptional<z.ZodObject<{
|
|
56
|
-
url: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>;
|
|
58
|
-
}, z.core.$strip>;
|
|
59
|
-
}, z.core.$strip>], "success">;
|
|
60
|
-
export type ResourceListResponse = z.infer<typeof ResourceListResponseSchema>;
|
|
61
|
-
export type ResourceList = z.infer<typeof ResourceListResponse>;
|
|
62
|
-
/**
|
|
63
|
-
* List all resources for a given organization and region
|
|
64
|
-
*
|
|
65
|
-
* @param client
|
|
66
|
-
* @param orgId
|
|
67
|
-
* @param region
|
|
68
|
-
* @returns
|
|
69
|
-
*/
|
|
70
|
-
export declare function listResources(client: APIClient, orgId: string, region: string): Promise<ResourceList>;
|
|
71
|
-
//# sourceMappingURL=resources.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../../src/api/region/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAqB,SAAS,EAAE,MAAM,WAAW,CAAC;AAGzD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;iBAoC/B,CAAC;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAA0C,CAAC;AAElF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEhE;;;;;;;GAOG;AACH,wBAAsB,aAAa,CAClC,MAAM,EAAE,SAAS,EACjB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GACZ,OAAO,CAAC,YAAY,CAAC,CAUvB"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { APIResponseSchema } from "../api.js";
|
|
3
|
-
import { RegionResponseError } from "./util.js";
|
|
4
|
-
export const ResourceListResponse = z.object({
|
|
5
|
-
s3: z.array(z.object({
|
|
6
|
-
bucket_name: z.string().describe('the S3 bucket name'),
|
|
7
|
-
access_key: z.string().nullable().optional().describe('the S3 access key'),
|
|
8
|
-
secret_key: z.string().nullable().optional().describe('the S3 secret key'),
|
|
9
|
-
region: z.string().nullable().optional().describe('the S3 region'),
|
|
10
|
-
endpoint: z.string().nullable().optional().describe('the S3 endpoint'),
|
|
11
|
-
cname: z.string().nullable().optional().describe('the S3 CNAME'),
|
|
12
|
-
env: z.record(z.string(), z.string()).describe('environment variables for the resource'),
|
|
13
|
-
bucket_type: z.string().describe('the bucket type (user or snapshots)'),
|
|
14
|
-
internal: z.boolean().describe('whether this is a system-managed bucket'),
|
|
15
|
-
description: z
|
|
16
|
-
.string()
|
|
17
|
-
.nullable()
|
|
18
|
-
.optional()
|
|
19
|
-
.describe('optional description of the bucket'),
|
|
20
|
-
})),
|
|
21
|
-
db: z.array(z.object({
|
|
22
|
-
name: z.string().describe('the database name'),
|
|
23
|
-
username: z.string().nullable().optional().describe('the database username'),
|
|
24
|
-
password: z.string().nullable().optional().describe('the database password'),
|
|
25
|
-
url: z.string().nullable().optional().describe('the full database connection URL'),
|
|
26
|
-
env: z.record(z.string(), z.string()).describe('environment variables for the resource'),
|
|
27
|
-
internal: z
|
|
28
|
-
.boolean()
|
|
29
|
-
.describe('whether this is a system-managed database (KV/Vector/Queue)'),
|
|
30
|
-
})),
|
|
31
|
-
redis: z
|
|
32
|
-
.object({
|
|
33
|
-
url: z.string().describe('the Redis connection URL'),
|
|
34
|
-
})
|
|
35
|
-
.optional(),
|
|
36
|
-
});
|
|
37
|
-
export const ResourceListResponseSchema = APIResponseSchema(ResourceListResponse);
|
|
38
|
-
/**
|
|
39
|
-
* List all resources for a given organization and region
|
|
40
|
-
*
|
|
41
|
-
* @param client
|
|
42
|
-
* @param orgId
|
|
43
|
-
* @param region
|
|
44
|
-
* @returns
|
|
45
|
-
*/
|
|
46
|
-
export async function listResources(client, orgId, region) {
|
|
47
|
-
const resp = await client.request('GET', `/resource/2025-03-17/${orgId}/${region}`, ResourceListResponseSchema);
|
|
48
|
-
if (resp.success) {
|
|
49
|
-
return resp.data;
|
|
50
|
-
}
|
|
51
|
-
throw new RegionResponseError({ message: resp.message });
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=resources.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../../../src/api/region/resources.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const RegionResponseError: {
|
|
2
|
-
new (args?: {
|
|
3
|
-
message?: string;
|
|
4
|
-
cause?: unknown;
|
|
5
|
-
} | undefined): import("@agentuity/core").RichError & {
|
|
6
|
-
readonly _tag: "RegionResponseError";
|
|
7
|
-
} & Readonly<Record<string, never>>;
|
|
8
|
-
readonly defaultMessage?: string;
|
|
9
|
-
} & (<Shape extends {
|
|
10
|
-
[x: string]: any;
|
|
11
|
-
} = Record<string, never>>() => {
|
|
12
|
-
new (args?: (Shape extends Record<string, never> ? {
|
|
13
|
-
message?: string;
|
|
14
|
-
cause?: unknown;
|
|
15
|
-
} : Shape & {
|
|
16
|
-
message?: string;
|
|
17
|
-
cause?: unknown;
|
|
18
|
-
}) | undefined): import("@agentuity/core").RichError & {
|
|
19
|
-
readonly _tag: "RegionResponseError";
|
|
20
|
-
} & Readonly<Shape>;
|
|
21
|
-
readonly defaultMessage?: string;
|
|
22
|
-
});
|
|
23
|
-
//# sourceMappingURL=util.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/api/region/util.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;EAAyC,CAAC"}
|
package/dist/api/region/util.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/api/region/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,CAAC,MAAM,mBAAmB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { type APIClient } from '../api.ts';
|
|
3
|
-
export declare const SandboxInfoSchema: z.ZodObject<{
|
|
4
|
-
id: z.ZodString;
|
|
5
|
-
name: z.ZodNullable<z.ZodString>;
|
|
6
|
-
description: z.ZodNullable<z.ZodString>;
|
|
7
|
-
status: z.ZodString;
|
|
8
|
-
region: z.ZodNullable<z.ZodString>;
|
|
9
|
-
createdAt: z.ZodNullable<z.ZodString>;
|
|
10
|
-
orgId: z.ZodString;
|
|
11
|
-
orgName: z.ZodNullable<z.ZodString>;
|
|
12
|
-
projectId: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$strip>;
|
|
14
|
-
export declare const SandboxListDataSchema: z.ZodObject<{
|
|
15
|
-
sandboxes: z.ZodArray<z.ZodObject<{
|
|
16
|
-
id: z.ZodString;
|
|
17
|
-
name: z.ZodNullable<z.ZodString>;
|
|
18
|
-
description: z.ZodNullable<z.ZodString>;
|
|
19
|
-
status: z.ZodString;
|
|
20
|
-
region: z.ZodNullable<z.ZodString>;
|
|
21
|
-
createdAt: z.ZodNullable<z.ZodString>;
|
|
22
|
-
orgId: z.ZodString;
|
|
23
|
-
orgName: z.ZodNullable<z.ZodString>;
|
|
24
|
-
projectId: z.ZodNullable<z.ZodString>;
|
|
25
|
-
}, z.core.$strip>>;
|
|
26
|
-
total: z.ZodNumber;
|
|
27
|
-
}, z.core.$strip>;
|
|
28
|
-
export declare const SandboxListResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29
|
-
success: z.ZodLiteral<false>;
|
|
30
|
-
message: z.ZodString;
|
|
31
|
-
code: z.ZodOptional<z.ZodString>;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
success: z.ZodLiteral<true>;
|
|
34
|
-
data: z.ZodObject<{
|
|
35
|
-
sandboxes: z.ZodArray<z.ZodObject<{
|
|
36
|
-
id: z.ZodString;
|
|
37
|
-
name: z.ZodNullable<z.ZodString>;
|
|
38
|
-
description: z.ZodNullable<z.ZodString>;
|
|
39
|
-
status: z.ZodString;
|
|
40
|
-
region: z.ZodNullable<z.ZodString>;
|
|
41
|
-
createdAt: z.ZodNullable<z.ZodString>;
|
|
42
|
-
orgId: z.ZodString;
|
|
43
|
-
orgName: z.ZodNullable<z.ZodString>;
|
|
44
|
-
projectId: z.ZodNullable<z.ZodString>;
|
|
45
|
-
}, z.core.$strip>>;
|
|
46
|
-
total: z.ZodNumber;
|
|
47
|
-
}, z.core.$strip>;
|
|
48
|
-
}, z.core.$strip>], "success">;
|
|
49
|
-
export type CLISandboxListResponse = z.infer<typeof SandboxListResponseSchema>;
|
|
50
|
-
export type CLISandboxListData = z.infer<typeof SandboxListDataSchema>;
|
|
51
|
-
export type CLISandboxInfo = z.infer<typeof SandboxInfoSchema>;
|
|
52
|
-
export interface CLISandboxListOptions {
|
|
53
|
-
/**
|
|
54
|
-
* Filter by sandbox name
|
|
55
|
-
*/
|
|
56
|
-
name?: string;
|
|
57
|
-
/**
|
|
58
|
-
* Filter by sandbox mode
|
|
59
|
-
*/
|
|
60
|
-
mode?: 'oneshot' | 'interactive';
|
|
61
|
-
/**
|
|
62
|
-
* Filter by specific project ID
|
|
63
|
-
*/
|
|
64
|
-
projectId?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Filter by specific organization ID
|
|
67
|
-
*/
|
|
68
|
-
orgId?: string;
|
|
69
|
-
/**
|
|
70
|
-
* Filter by sandbox status
|
|
71
|
-
*/
|
|
72
|
-
status?: 'creating' | 'idle' | 'running' | 'paused' | 'stopping' | 'suspended' | 'terminated' | 'failed';
|
|
73
|
-
/**
|
|
74
|
-
* Maximum number of sandboxes to return (default: 50, max: 100)
|
|
75
|
-
*/
|
|
76
|
-
limit?: number;
|
|
77
|
-
/**
|
|
78
|
-
* Number of sandboxes to skip for pagination
|
|
79
|
-
*/
|
|
80
|
-
offset?: number;
|
|
81
|
-
/**
|
|
82
|
-
* Field to sort by
|
|
83
|
-
*/
|
|
84
|
-
sort?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Sort direction (default: 'desc')
|
|
87
|
-
*/
|
|
88
|
-
direction?: 'asc' | 'desc';
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* List sandboxes with optional filtering using the CLI API endpoint.
|
|
92
|
-
*
|
|
93
|
-
* This endpoint searches across all organizations the user is a member of,
|
|
94
|
-
* unlike the Catalyst API which requires an orgId.
|
|
95
|
-
*
|
|
96
|
-
* @param client - The API client
|
|
97
|
-
* @param options - Filtering and pagination options
|
|
98
|
-
* @returns A promise that resolves to the list of sandboxes
|
|
99
|
-
*
|
|
100
|
-
* @example
|
|
101
|
-
* // List all sandboxes across all orgs
|
|
102
|
-
* const result = await cliSandboxList(client);
|
|
103
|
-
* console.log(`Found ${result.total} sandboxes`);
|
|
104
|
-
*
|
|
105
|
-
* @example
|
|
106
|
-
* // List running sandboxes
|
|
107
|
-
* const result = await cliSandboxList(client, { status: 'running' });
|
|
108
|
-
*
|
|
109
|
-
* @example
|
|
110
|
-
* // List sandboxes for a specific project
|
|
111
|
-
* const result = await cliSandboxList(client, { projectId: 'proj_123' });
|
|
112
|
-
*/
|
|
113
|
-
export declare function cliSandboxList(client: APIClient, options?: CLISandboxListOptions): Promise<CLISandboxListData>;
|
|
114
|
-
//# sourceMappingURL=cli-list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cli-list.d.ts","sourceRoot":"","sources":["../../../src/api/sandbox/cli-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,WAAW,CAAC;AAG9D,eAAO,MAAM,iBAAiB;;;;;;;;;;iBAU5B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;iBAGhC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;8BAA2C,CAAC;AAElF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE/D,MAAM,WAAW,qBAAqB;IACrC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EACJ,UAAU,GACV,MAAM,GACN,SAAS,GACT,QAAQ,GACR,UAAU,GACV,WAAW,GACX,YAAY,GACZ,QAAQ,CAAC;IACZ;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAsB,cAAc,CACnC,MAAM,EAAE,SAAS,EACjB,OAAO,GAAE,qBAA0B,GACjC,OAAO,CAAC,kBAAkB,CAAC,CA0B7B"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { APIResponseSchema } from "../api.js";
|
|
3
|
-
import { SandboxResponseError } from "./util.js";
|
|
4
|
-
export const SandboxInfoSchema = z.object({
|
|
5
|
-
id: z.string().describe('the sandbox id'),
|
|
6
|
-
name: z.string().nullable().describe('the sandbox name'),
|
|
7
|
-
description: z.string().nullable().describe('the sandbox description'),
|
|
8
|
-
status: z.string().describe('sandbox status'),
|
|
9
|
-
region: z.string().nullable().describe('cloud region'),
|
|
10
|
-
createdAt: z.string().nullable().describe('ISO 8601 creation timestamp'),
|
|
11
|
-
orgId: z.string().describe('the organization id'),
|
|
12
|
-
orgName: z.string().nullable().describe('the organization name'),
|
|
13
|
-
projectId: z.string().nullable().describe('the project id'),
|
|
14
|
-
});
|
|
15
|
-
export const SandboxListDataSchema = z.object({
|
|
16
|
-
sandboxes: z.array(SandboxInfoSchema).describe('list of sandboxes'),
|
|
17
|
-
total: z.number().describe('total count of matching sandboxes'),
|
|
18
|
-
});
|
|
19
|
-
export const SandboxListResponseSchema = APIResponseSchema(SandboxListDataSchema);
|
|
20
|
-
/**
|
|
21
|
-
* List sandboxes with optional filtering using the CLI API endpoint.
|
|
22
|
-
*
|
|
23
|
-
* This endpoint searches across all organizations the user is a member of,
|
|
24
|
-
* unlike the Catalyst API which requires an orgId.
|
|
25
|
-
*
|
|
26
|
-
* @param client - The API client
|
|
27
|
-
* @param options - Filtering and pagination options
|
|
28
|
-
* @returns A promise that resolves to the list of sandboxes
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* // List all sandboxes across all orgs
|
|
32
|
-
* const result = await cliSandboxList(client);
|
|
33
|
-
* console.log(`Found ${result.total} sandboxes`);
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* // List running sandboxes
|
|
37
|
-
* const result = await cliSandboxList(client, { status: 'running' });
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
* // List sandboxes for a specific project
|
|
41
|
-
* const result = await cliSandboxList(client, { projectId: 'proj_123' });
|
|
42
|
-
*/
|
|
43
|
-
export async function cliSandboxList(client, options = {}) {
|
|
44
|
-
const { projectId, orgId, status, limit, offset, sort, direction } = options;
|
|
45
|
-
const params = new URLSearchParams();
|
|
46
|
-
if (options.name)
|
|
47
|
-
params.set('name', options.name);
|
|
48
|
-
if (options.mode)
|
|
49
|
-
params.set('mode', options.mode);
|
|
50
|
-
if (projectId)
|
|
51
|
-
params.set('projectId', projectId);
|
|
52
|
-
if (orgId)
|
|
53
|
-
params.set('orgId', orgId);
|
|
54
|
-
if (status)
|
|
55
|
-
params.set('status', status);
|
|
56
|
-
if (limit !== undefined)
|
|
57
|
-
params.set('limit', limit.toString());
|
|
58
|
-
if (offset !== undefined)
|
|
59
|
-
params.set('offset', offset.toString());
|
|
60
|
-
if (sort)
|
|
61
|
-
params.set('sort', sort);
|
|
62
|
-
if (direction)
|
|
63
|
-
params.set('direction', direction);
|
|
64
|
-
const queryString = params.toString();
|
|
65
|
-
const resp = await client.request('GET', `/cli/sandbox${queryString ? `?${queryString}` : ''}`, SandboxListResponseSchema);
|
|
66
|
-
if (resp.success) {
|
|
67
|
-
return resp.data;
|
|
68
|
-
}
|
|
69
|
-
throw new SandboxResponseError({ message: resp.message });
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=cli-list.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cli-list.js","sourceRoot":"","sources":["../../../src/api/sandbox/cli-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC;IACzC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IACtE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC;IAC7C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;IACtD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IACxE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC;IAChE,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC;CAC3D,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IACnE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;CAC/D,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG,iBAAiB,CAAC,qBAAqB,CAAC,CAAC;AAqDlF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CACnC,MAAiB,EACjB,UAAiC,EAAE;IAEnC,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC;IAC7E,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAC;IAErC,IAAI,OAAO,CAAC,IAAI;QAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACnD,IAAI,OAAO,CAAC,IAAI;QAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACnD,IAAI,SAAS;QAAE,MAAM,CAAC,GAAG,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;IAClD,IAAI,KAAK;QAAE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACtC,IAAI,MAAM;QAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IACzC,IAAI,KAAK,KAAK,SAAS;QAAE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC/D,IAAI,MAAM,KAAK,SAAS;QAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;IAClE,IAAI,IAAI;QAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACnC,IAAI,SAAS;QAAE,MAAM,CAAC,GAAG,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;IAElD,MAAM,WAAW,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;IACtC,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,OAAO,CAChC,KAAK,EACL,eAAe,WAAW,CAAC,CAAC,CAAC,IAAI,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,EACrD,yBAAyB,CACzB,CAAC;IAEF,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;QAClB,OAAO,IAAI,CAAC,IAAI,CAAC;IAClB,CAAC;IAED,MAAM,IAAI,oBAAoB,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;AAC3D,CAAC"}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import type { SandboxCreateOptions, SandboxStatus } from '@agentuity/core';
|
|
2
|
-
import { z } from 'zod';
|
|
3
|
-
import { type APIClient } from '../api.ts';
|
|
4
|
-
export declare const SandboxCreateRequestSchema: z.ZodObject<{
|
|
5
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
6
|
-
runtime: z.ZodOptional<z.ZodString>;
|
|
7
|
-
runtimeId: z.ZodOptional<z.ZodString>;
|
|
8
|
-
name: z.ZodOptional<z.ZodString>;
|
|
9
|
-
description: z.ZodOptional<z.ZodString>;
|
|
10
|
-
resources: z.ZodOptional<z.ZodObject<{
|
|
11
|
-
memory: z.ZodOptional<z.ZodString>;
|
|
12
|
-
cpu: z.ZodOptional<z.ZodString>;
|
|
13
|
-
disk: z.ZodOptional<z.ZodString>;
|
|
14
|
-
}, z.core.$strip>>;
|
|
15
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16
|
-
network: z.ZodOptional<z.ZodObject<{
|
|
17
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
19
|
-
}, z.core.$strip>>;
|
|
20
|
-
stream: z.ZodOptional<z.ZodObject<{
|
|
21
|
-
stdout: z.ZodOptional<z.ZodString>;
|
|
22
|
-
stderr: z.ZodOptional<z.ZodString>;
|
|
23
|
-
stdin: z.ZodOptional<z.ZodString>;
|
|
24
|
-
timestamps: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
-
}, z.core.$strip>>;
|
|
26
|
-
timeout: z.ZodOptional<z.ZodObject<{
|
|
27
|
-
idle: z.ZodOptional<z.ZodString>;
|
|
28
|
-
execution: z.ZodOptional<z.ZodString>;
|
|
29
|
-
}, z.core.$strip>>;
|
|
30
|
-
command: z.ZodOptional<z.ZodObject<{
|
|
31
|
-
exec: z.ZodArray<z.ZodString>;
|
|
32
|
-
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
33
|
-
path: z.ZodString;
|
|
34
|
-
content: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>>;
|
|
36
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
37
|
-
oneshot: "oneshot";
|
|
38
|
-
interactive: "interactive";
|
|
39
|
-
}>>;
|
|
40
|
-
}, z.core.$strip>>;
|
|
41
|
-
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
42
|
-
path: z.ZodString;
|
|
43
|
-
content: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>>;
|
|
45
|
-
snapshot: z.ZodOptional<z.ZodString>;
|
|
46
|
-
dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
47
|
-
packages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
48
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
49
|
-
}, z.core.$strip>;
|
|
50
|
-
export declare const SandboxCreateDataSchema: z.ZodObject<{
|
|
51
|
-
sandboxId: z.ZodString;
|
|
52
|
-
status: z.ZodEnum<{
|
|
53
|
-
paused: "paused";
|
|
54
|
-
idle: "idle";
|
|
55
|
-
failed: "failed";
|
|
56
|
-
creating: "creating";
|
|
57
|
-
running: "running";
|
|
58
|
-
stopping: "stopping";
|
|
59
|
-
suspended: "suspended";
|
|
60
|
-
terminated: "terminated";
|
|
61
|
-
}>;
|
|
62
|
-
stdoutStreamId: z.ZodOptional<z.ZodString>;
|
|
63
|
-
stdoutStreamUrl: z.ZodOptional<z.ZodString>;
|
|
64
|
-
stderrStreamId: z.ZodOptional<z.ZodString>;
|
|
65
|
-
stderrStreamUrl: z.ZodOptional<z.ZodString>;
|
|
66
|
-
auditStreamId: z.ZodOptional<z.ZodString>;
|
|
67
|
-
auditStreamUrl: z.ZodOptional<z.ZodString>;
|
|
68
|
-
}, z.core.$strip>;
|
|
69
|
-
export declare const SandboxCreateResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
70
|
-
success: z.ZodLiteral<false>;
|
|
71
|
-
message: z.ZodString;
|
|
72
|
-
code: z.ZodOptional<z.ZodString>;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
success: z.ZodLiteral<true>;
|
|
75
|
-
data: z.ZodObject<{
|
|
76
|
-
sandboxId: z.ZodString;
|
|
77
|
-
status: z.ZodEnum<{
|
|
78
|
-
paused: "paused";
|
|
79
|
-
idle: "idle";
|
|
80
|
-
failed: "failed";
|
|
81
|
-
creating: "creating";
|
|
82
|
-
running: "running";
|
|
83
|
-
stopping: "stopping";
|
|
84
|
-
suspended: "suspended";
|
|
85
|
-
terminated: "terminated";
|
|
86
|
-
}>;
|
|
87
|
-
stdoutStreamId: z.ZodOptional<z.ZodString>;
|
|
88
|
-
stdoutStreamUrl: z.ZodOptional<z.ZodString>;
|
|
89
|
-
stderrStreamId: z.ZodOptional<z.ZodString>;
|
|
90
|
-
stderrStreamUrl: z.ZodOptional<z.ZodString>;
|
|
91
|
-
auditStreamId: z.ZodOptional<z.ZodString>;
|
|
92
|
-
auditStreamUrl: z.ZodOptional<z.ZodString>;
|
|
93
|
-
}, z.core.$strip>;
|
|
94
|
-
}, z.core.$strip>], "success">;
|
|
95
|
-
export interface SandboxCreateResponse {
|
|
96
|
-
sandboxId: string;
|
|
97
|
-
status: SandboxStatus;
|
|
98
|
-
stdoutStreamId?: string;
|
|
99
|
-
stdoutStreamUrl?: string;
|
|
100
|
-
stderrStreamId?: string;
|
|
101
|
-
stderrStreamUrl?: string;
|
|
102
|
-
auditStreamId?: string;
|
|
103
|
-
auditStreamUrl?: string;
|
|
104
|
-
}
|
|
105
|
-
export interface SandboxCreateParams {
|
|
106
|
-
options?: SandboxCreateOptions;
|
|
107
|
-
orgId?: string;
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Creates a new sandbox instance.
|
|
111
|
-
*
|
|
112
|
-
* @param client - The API client to use for the request
|
|
113
|
-
* @param params - Parameters for creating the sandbox
|
|
114
|
-
* @returns The created sandbox response including sandbox ID and stream URLs
|
|
115
|
-
* @throws {SandboxResponseError} If the sandbox creation fails
|
|
116
|
-
*/
|
|
117
|
-
export declare function sandboxCreate(client: APIClient, params?: SandboxCreateParams): Promise<SandboxCreateResponse>;
|
|
118
|
-
//# sourceMappingURL=create.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/api/sandbox/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,WAAW,CAAC;AAI9D,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgHc,CAAC;AAEtD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;iBAsBa,CAAC;AAElD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;8BAA6C,CAAC;AAEtF,MAAM,WAAW,qBAAqB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,aAAa,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,mBAAmB;IACnC,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;GAOG;AACH,wBAAsB,aAAa,CAClC,MAAM,EAAE,SAAS,EACjB,MAAM,GAAE,mBAAwB,GAC9B,OAAO,CAAC,qBAAqB,CAAC,CAkFhC"}
|