@ai-ecoverse/slicc-kernel 1.65.2 → 1.66.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.
@@ -12336,6 +12336,12 @@ function createContext(o) {
12336
12336
  },
12337
12337
  sync,
12338
12338
  fetch: fetchOp(kernel),
12339
+ sudo: async (args) => await kernel.json({
12340
+ op: "proc-sudo",
12341
+ args: [...args],
12342
+ cwd: o.cwd,
12343
+ ...o.env.TERM !== void 0 ? { term: o.env.TERM } : {}
12344
+ }),
12339
12345
  ...children,
12340
12346
  net: netOps(kernel, io),
12341
12347
  websocket: websocketOp(kernel),