@pourkit/cli 0.0.0-next-20260618005759 → 0.0.0-next-20260619045442

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.
@@ -1,4 +1,5 @@
1
1
  FROM node:22-trixie
2
+ ARG POURKIT_INSTALL_ICM=0
2
3
 
3
4
  # Install system dependencies
4
5
  RUN apt-get update && apt-get install -y \
@@ -50,6 +51,10 @@ WORKDIR /home/agent
50
51
 
51
52
  ENV PATH="/home/agent/.local/bin:${PATH}"
52
53
 
54
+ # Install ICM (memory-enabled agent memory) only when POURKIT_INSTALL_ICM=1.
55
+ # The installer writes to the current user's local bin, so run it as agent.
56
+ RUN if [ "$POURKIT_INSTALL_ICM" = "1" ]; then curl -fsSL https://raw.githubusercontent.com/rtk-ai/icm/main/install.sh | sh; fi
57
+
53
58
  # Install RTK
54
59
  RUN curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh
55
60
  RUN rtk init -g --opencode