@boatdev/sdk 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/README.md +8 -26
- package/dist/apis/BoatApi.d.ts +99 -80
- package/dist/apis/BoatApi.js +103 -28
- package/dist/esm/apis/BoatApi.d.ts +99 -80
- package/dist/esm/apis/BoatApi.js +103 -28
- package/dist/esm/models/DeletionOperation.d.ts +24 -0
- package/dist/esm/models/DeletionOperation.js +15 -0
- package/dist/esm/models/DeletionOperationListResponse.d.ts +52 -0
- package/dist/esm/models/DeletionOperationListResponse.js +58 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/runtime.d.ts +8 -0
- package/dist/esm/runtime.js +18 -0
- package/dist/models/DeletionOperation.d.ts +24 -0
- package/dist/models/DeletionOperation.js +16 -1
- package/dist/models/DeletionOperationListResponse.d.ts +52 -0
- package/dist/models/DeletionOperationListResponse.js +66 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/runtime.d.ts +8 -0
- package/dist/runtime.js +19 -0
- package/docs/BoatApi.md +80 -1
- package/docs/DeletionOperation.md +4 -0
- package/docs/DeletionOperationListResponse.md +36 -0
- package/package.json +1 -1
- package/src/apis/BoatApi.ts +182 -80
- package/src/models/DeletionOperation.ts +29 -0
- package/src/models/DeletionOperationListResponse.ts +102 -0
- package/src/models/index.ts +1 -0
- package/src/runtime.ts +23 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -36,6 +36,7 @@ docs/CreateScopedApiKeyRequest.md
|
|
|
36
36
|
docs/DataRetentionPolicyResponse.md
|
|
37
37
|
docs/DataRetentionUpdateRequest.md
|
|
38
38
|
docs/DeletionOperation.md
|
|
39
|
+
docs/DeletionOperationListResponse.md
|
|
39
40
|
docs/DeletionOperationResponse.md
|
|
40
41
|
docs/DesktopRequest.md
|
|
41
42
|
docs/DesktopResponse.md
|
|
@@ -173,6 +174,7 @@ src/models/CreateScopedApiKeyRequest.ts
|
|
|
173
174
|
src/models/DataRetentionPolicyResponse.ts
|
|
174
175
|
src/models/DataRetentionUpdateRequest.ts
|
|
175
176
|
src/models/DeletionOperation.ts
|
|
177
|
+
src/models/DeletionOperationListResponse.ts
|
|
176
178
|
src/models/DeletionOperationResponse.ts
|
|
177
179
|
src/models/DesktopRequest.ts
|
|
178
180
|
src/models/DesktopResponse.ts
|
package/README.md
CHANGED
|
@@ -50,18 +50,11 @@ async function main() {
|
|
|
50
50
|
let sandboxId: string | undefined;
|
|
51
51
|
|
|
52
52
|
try {
|
|
53
|
-
const created = await sandbox.create({
|
|
54
|
-
createSandboxRequest: {
|
|
55
|
-
ttlSeconds: 1800,
|
|
56
|
-
},
|
|
57
|
-
});
|
|
53
|
+
const created = await sandbox.create({ ttlSeconds: 1800 });
|
|
58
54
|
|
|
59
55
|
sandboxId = created.sandbox.id;
|
|
60
56
|
|
|
61
|
-
await sandbox.update({
|
|
62
|
-
sandboxId,
|
|
63
|
-
updateSandboxRequest: { name: "sdk-demo" },
|
|
64
|
-
});
|
|
57
|
+
await sandbox.update({ sandboxId, name: "sdk-demo" });
|
|
65
58
|
|
|
66
59
|
while (!["ready", "idle"].includes((await sandbox.get({ sandboxId })).sandbox.state)) {
|
|
67
60
|
await new Promise((resolve) => setTimeout(resolve, 2000));
|
|
@@ -69,10 +62,8 @@ async function main() {
|
|
|
69
62
|
|
|
70
63
|
await sandbox.prompt({
|
|
71
64
|
sandboxId,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
provider: "codex",
|
|
75
|
-
},
|
|
65
|
+
prompt: "Inspect the repository and summarize the test command.",
|
|
66
|
+
provider: "codex",
|
|
76
67
|
});
|
|
77
68
|
|
|
78
69
|
const events = await sandbox.events({ sandboxId });
|
|
@@ -106,18 +97,11 @@ async function main() {
|
|
|
106
97
|
let sandboxId;
|
|
107
98
|
|
|
108
99
|
try {
|
|
109
|
-
const created = await sandbox.create({
|
|
110
|
-
createSandboxRequest: {
|
|
111
|
-
ttlSeconds: 1800,
|
|
112
|
-
},
|
|
113
|
-
});
|
|
100
|
+
const created = await sandbox.create({ ttlSeconds: 1800 });
|
|
114
101
|
|
|
115
102
|
sandboxId = created.sandbox.id;
|
|
116
103
|
|
|
117
|
-
await sandbox.update({
|
|
118
|
-
sandboxId,
|
|
119
|
-
updateSandboxRequest: { name: "sdk-demo" },
|
|
120
|
-
});
|
|
104
|
+
await sandbox.update({ sandboxId, name: "sdk-demo" });
|
|
121
105
|
|
|
122
106
|
while (!["ready", "idle"].includes((await sandbox.get({ sandboxId })).sandbox.state)) {
|
|
123
107
|
await new Promise((resolve) => setTimeout(resolve, 2000));
|
|
@@ -125,10 +109,8 @@ async function main() {
|
|
|
125
109
|
|
|
126
110
|
await sandbox.prompt({
|
|
127
111
|
sandboxId,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
provider: "codex",
|
|
131
|
-
},
|
|
112
|
+
prompt: "Inspect the repository and summarize the test command.",
|
|
113
|
+
provider: "codex",
|
|
132
114
|
});
|
|
133
115
|
|
|
134
116
|
const events = await sandbox.events({ sandboxId });
|