@crossdelta/platform-sdk 0.8.31 → 0.8.33

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.
@@ -10,6 +10,7 @@ Always generate **minimal diffs**, never full rewrites.
10
10
  - Analyze only the opened file unless explicitly asked.
11
11
  - Follow existing architecture and naming conventions.
12
12
  - Prefer strict typing; avoid `any`.
13
+ - **Reuse existing code**: Before implementing new functionality, search the codebase for existing functions, utilities, or services that can be reused. Avoid duplicating logic.
13
14
 
14
15
  ## Code Style
15
16
  - Single quotes, no semicolons, 2-space indent, trailing commas.
@@ -60,8 +61,6 @@ Always generate **minimal diffs**, never full rewrites.
60
61
  When working with specific service types or packages, refer to these detailed guidelines:
61
62
 
62
63
  ### Service Generation & Architecture
63
- - [Service Architecture Guidelines](../docs/generators/services/architecture-guidelines.md) - General patterns for all services
64
- - [Hono Microservice Guidelines](../docs/generators/services/hono-micro-guidelines.md) - Event-driven Hono patterns
65
64
  - [CLI Service Generator](../packages/platform-sdk/docs/generators/service.md) - AI code generation rules
66
65
 
67
66
  ### Key Packages
package/install.sh CHANGED
@@ -11,15 +11,15 @@ NC='\033[0m'
11
11
 
12
12
  printf "${CYAN}"
13
13
  cat << "EOF"
14
- ______
14
+ ______
15
15
  / ____/
16
- ____ / /_
17
- / __ \ / __/
18
- / /_/ // /
19
- / .___//_/
20
- /_/
21
-
22
- @crossdelta/platform-sdk installer
16
+ ____ / /_
17
+ / __ \ / __/
18
+ / /_/ // /
19
+ / .___//_/
20
+ /_/
21
+
22
+ @crossdelta/platform-sdk installer
23
23
  EOF
24
24
  printf "${NC}\n"
25
25
 
@@ -44,28 +44,28 @@ detect_or_install_package_manager() {
44
44
  echo "npm"
45
45
  return 0
46
46
  fi
47
-
47
+
48
48
  # No package manager found - ask user for permission
49
49
  printf "${YELLOW}No package manager found (bun, pnpm, yarn, npm).${NC}\n"
50
50
  printf "${YELLOW}To use @crossdelta/platform-sdk, we recommend installing Bun (fast JavaScript runtime).${NC}\n"
51
51
  printf "\n"
52
52
  read -p "Do you want to install Bun now? (y/n) " -n 1 -r
53
53
  printf "\n"
54
-
54
+
55
55
  if [[ ! $REPLY =~ ^[Yy]$ ]]; then
56
56
  printf "${RED}Installation cancelled. Please install Bun or another package manager manually.${NC}\n"
57
57
  printf "${BLUE}Visit: https://bun.sh${NC}\n"
58
58
  exit 1
59
59
  fi
60
-
60
+
61
61
  # Install Bun
62
62
  printf "${BLUE}Installing Bun...${NC}\n"
63
63
  curl -fsSL https://bun.sh/install | bash
64
-
64
+
65
65
  # Load Bun into current shell
66
66
  export BUN_INSTALL="$HOME/.bun"
67
67
  export PATH="$BUN_INSTALL/bin:$PATH"
68
-
68
+
69
69
  printf "${GREEN}✓${NC} Bun installed successfully\n"
70
70
  echo "bun"
71
71
  }
@@ -117,7 +117,7 @@ if [ $# -eq 0 ]; then
117
117
  else
118
118
  # Arguments provided: Run pf command directly
119
119
  PF_ARGS=()
120
-
120
+
121
121
  while [[ $# -gt 0 ]]; do
122
122
  case $1 in
123
123
  -h|--help)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/platform-sdk",
3
- "version": "0.8.31",
3
+ "version": "0.8.33",
4
4
  "description": "Platform toolkit for event-driven microservices — keeping code and infrastructure in lockstep.",
5
5
  "keywords": [
6
6
  "cli",