@zookanalytics/agent-env 0.7.0 → 0.7.1

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 (2) hide show
  1. package/dist/cli.js +6 -8
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -42,7 +42,7 @@ import React3 from "react";
42
42
  // package.json
43
43
  var package_default = {
44
44
  name: "@zookanalytics/agent-env",
45
- version: "0.7.0",
45
+ version: "0.7.1",
46
46
  description: "CLI for creating isolated, AI-ready development environments",
47
47
  type: "module",
48
48
  bin: {
@@ -603,7 +603,7 @@ var defaultMergeDeps = { readFile: readFile2, writeFile: writeFile2, rename, acc
603
603
  var STATUS_BAR_JSON_FILENAME = "statusBar.json";
604
604
  var LABEL_LIFECYCLE_CMDS = {
605
605
  postCreateCommand: "/usr/local/bin/post-create.sh",
606
- postStartCommand: "sudo /usr/local/bin/start-sshd.sh; tmux new-session -d -s main 2>/dev/null || true"
606
+ postStartCommand: "sudo /usr/local/bin/start-sshd.sh; tmux new-session -d -s main 2>/dev/null || true; : > /tmp/install-shared-skills.log; /usr/local/bin/install-shared-skills.sh >> /tmp/install-shared-skills.log 2>&1 || true"
607
607
  };
608
608
  var COMPOSABLE_LIFECYCLE_CMDS = [
609
609
  "postCreateCommand",
@@ -1990,14 +1990,13 @@ _agent_env_repos() {
1990
1990
 
1991
1991
  _agent_env_instances() {
1992
1992
  local ws_dir=~/.agent-env/workspaces
1993
- local entry base instance
1993
+ local entry base
1994
1994
  if [[ -d "\${ws_dir}" ]]; then
1995
1995
  for entry in "\${ws_dir}"/*/; do
1996
1996
  [[ -d "\${entry}" ]] || continue
1997
1997
  base="\${entry%/}"
1998
1998
  base="\${base##*/}"
1999
- instance="\${base##*-}"
2000
- [[ "\${instance}" != "\${base}" ]] && echo "\${instance}"
1999
+ echo "\${base}"
2001
2000
  done | sort -u
2002
2001
  fi
2003
2002
  }
@@ -2102,14 +2101,13 @@ _agent_env_repos() {
2102
2101
  _agent_env_instances() {
2103
2102
  local ws_dir=~/.agent-env/workspaces
2104
2103
  local -a instances
2105
- local entry base instance
2104
+ local entry base
2106
2105
  if [[ -d "\${ws_dir}" ]]; then
2107
2106
  for entry in "\${ws_dir}"/*/; do
2108
2107
  [[ -d "\${entry}" ]] || continue
2109
2108
  base="\${entry%/}"
2110
2109
  base="\${base##*/}"
2111
- instance="\${base##*-}"
2112
- [[ "\${instance}" != "\${base}" ]] && instances+=("\${instance}")
2110
+ instances+=("\${base}")
2113
2111
  done
2114
2112
  fi
2115
2113
  instances=(\${(u)instances})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zookanalytics/agent-env",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "CLI for creating isolated, AI-ready development environments",
5
5
  "type": "module",
6
6
  "bin": {