the universal sandbox runtime for agents and humans. pocketenv.io
sandbox openclaw agent claude-code vercel-sandbox deno-sandbox cloudflare-sandbox atproto sprites daytona
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #11 from pocketenv-io/use-pkgm-install

Use pkgm install

authored by

Tsiry Sandratraina and committed by
GitHub
4e06b1a7 27581301

+7 -6
+1 -1
README.md
··· 60 60 pocketenv --help 61 61 62 62 Usage: pocketenv 63 - Version: 0.1.4 63 + Version: 0.1.5 64 64 65 65 Description: 66 66
+1
deno.lock
··· 116 116 "https://cdn.jsdelivr.net/gh/will-weiss/spinners@master/util.ts": "22c7cafa1d1138c0009ddafe6c3fd1e0c335a92b53bb3a42d9e4d38727108251", 117 117 "https://cdn.skypack.dev/-/lodash@v4.17.21-K6GEbP02mWFnLA45zAmi/dist=es2019,mode=imports/optimized/lodash.js": "10c4df47937ffc78548d136dd535a021df5f57182a653260d715c0690dd22978", 118 118 "https://cdn.skypack.dev/lodash": "8280de0b3efd87f06ea0eb330d15b8de32c059556023b8c6524e9eb9e4844dc0", 119 + "https://cli.pocketenv.io/": "1db311e63e4fc38de513f0b8e7f6e98bf363e0a69bbaaef962a4ee9ec9da8f90", 119 120 "https://deno.land/std@0.106.0/path/_constants.ts": "1247fee4a79b70c89f23499691ef169b41b6ccf01887a0abd131009c5581b853", 120 121 "https://deno.land/std@0.106.0/path/_interface.ts": "1fa73b02aaa24867e481a48492b44f2598cd9dfa513c7b34001437007d3642e4", 121 122 "https://deno.land/std@0.106.0/path/_util.ts": "2e06a3b9e79beaf62687196bd4b60a4c391d862cfa007a20fc3a39f778ba073b",
+2 -2
flake.nix
··· 25 25 26 26 packages.default = pkgs.deno2nix.mkExecutable { 27 27 pname = "pocketenv"; 28 - version = "0.1.1"; 28 + version = "0.1.5"; 29 29 30 30 src = ./.; 31 31 lockfile = "./deno.lock"; ··· 42 42 ]; 43 43 }; 44 44 }); 45 - } 45 + }
+1 -1
src/consts.ts
··· 1 1 import { dir } from "../deps.ts"; 2 2 3 - export const VERSION = "0.1.4"; 3 + export const VERSION = "0.1.5"; 4 4 5 5 export const POCKETENV_DIR = `${dir("home")}/.pocketenv`; 6 6
+2 -2
src/pkgx.ts
··· 3 3 export async function run( 4 4 command: string, 5 5 stdout: "piped" | "inherit" = "inherit", 6 - cwd = Deno.cwd() 6 + cwd = Deno.cwd(), 7 7 ) { 8 8 await setupPkgx(); 9 9 const env: Record<string, string> = {}; ··· 50 50 await setupPkgx(); 51 51 await spawn("sh", [ 52 52 "-c", 53 - `type ${name} > /dev/null 2> /dev/null || pkgx install ${name}`, 53 + `type ${name} > /dev/null 2> /dev/null || pkgm install ${name}`, 54 54 ]); 55 55 }