freestyle-sandboxes 0.0.84 → 0.0.85

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.
Files changed (32) hide show
  1. package/dist/{index-CGc0kRd_.cjs → index-BBXyg0JQ.cjs} +5 -9
  2. package/dist/index-BQHqnjZK.mjs +3231 -0
  3. package/dist/index-CEEa9WHp.cjs +3238 -0
  4. package/dist/{index-jh-93svX.mjs → index-DCF70Xbq.mjs} +5 -9
  5. package/dist/index.cjs +2 -2
  6. package/dist/index.mjs +2 -2
  7. package/dist/types.gen-1sd31qLV.d.ts +172 -0
  8. package/dist/types.gen-627pxroW.d.ts +830 -0
  9. package/dist/types.gen-BCdfx7yt.d.ts +760 -0
  10. package/dist/{types.gen-0bQ5Wn0o.d.ts → types.gen-BVXmFV7d.d.ts} +17 -18
  11. package/dist/types.gen-BaMKzqxQ.d.ts +233 -0
  12. package/dist/types.gen-BbekD8Sd.d.ts +1119 -0
  13. package/dist/types.gen-BqN1t03N.d.ts +842 -0
  14. package/dist/types.gen-BtK6PMQy.d.ts +195 -0
  15. package/dist/types.gen-C03gaIPq.d.ts +297 -0
  16. package/dist/{types.gen-BJArgpto.d.ts → types.gen-CIf3ciN7.d.ts} +5 -2
  17. package/dist/types.gen-CMuCas4r.d.ts +183 -0
  18. package/dist/{types.gen-DxZanGNF.d.ts → types.gen-CZUnqmzP.d.ts} +6 -9
  19. package/dist/types.gen-CnEkmbco.d.ts +314 -0
  20. package/dist/types.gen-DDYpuDzZ.d.ts +764 -0
  21. package/dist/types.gen-DHmdEOOa.d.ts +172 -0
  22. package/dist/{types.gen-CfrGF-JI.d.ts → types.gen-DLYohMJT.d.ts} +1 -1
  23. package/dist/types.gen-DbTb_SrD.d.ts +156 -0
  24. package/dist/types.gen-DkQ-Dbs1.d.ts +764 -0
  25. package/dist/types.gen-DyY7Deri.d.ts +138 -0
  26. package/dist/types.gen-MBZCvIhE.d.ts +311 -0
  27. package/dist/types.gen-YhJAHBw8.d.ts +233 -0
  28. package/dist/types.gen-cCnnhnB6.d.ts +182 -0
  29. package/dist/types.gen-mg_JNXrq.d.ts +830 -0
  30. package/dist/types.gen-uDTr6v-7.d.ts +731 -0
  31. package/package.json +1 -1
  32. package/src/index.ts +44 -44
@@ -3169,12 +3169,11 @@ const executeTool = (config) => {
3169
3169
  return tool({
3170
3170
  description: executeCodeDescription(envVars, nodeModules),
3171
3171
  parameters: executeCodeSchema,
3172
- execute: async ({ script, ...otherParams }, { toolCallId }) => {
3172
+ execute: async ({ script, ...otherParams }) => {
3173
3173
  try {
3174
3174
  const res = await api.executeScript(script, config);
3175
3175
  if (config.onResult) {
3176
3176
  await config.onResult({
3177
- toolCallId,
3178
3177
  result: res,
3179
3178
  input: {
3180
3179
  script,
@@ -3217,13 +3216,10 @@ ${nodeModules.length > 0 ? `You can use the following node modules: ${nodeModule
3217
3216
  `)
3218
3217
  }),
3219
3218
  execute: async ({ files }) => {
3220
- const new_files = Object.keys(files).reduce(
3221
- (acc, key) => {
3222
- acc[key] = { content: files[key] };
3223
- return acc;
3224
- },
3225
- {}
3226
- );
3219
+ const new_files = Object.keys(files).reduce((acc, key) => {
3220
+ acc[key] = { content: files[key] };
3221
+ return acc;
3222
+ }, {});
3227
3223
  try {
3228
3224
  const res = await api.deployWeb(
3229
3225
  {