@crossdelta/platform-sdk 0.17.1 → 0.17.3

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.
package/README.md CHANGED
@@ -200,9 +200,29 @@ pf event publish order.created
200
200
  | `pf build` | 📦 Build all packages and services |
201
201
  | `pf lint` | ✨ Lint and format with Biome |
202
202
  | `pf audit` | 🔒 Run security audit on dependencies |
203
+ | `pf setup --completion` | 🎯 Install shell autocompletion |
203
204
 
204
205
  > `pf` proxies all commands to Turborepo (works from any subdirectory).
205
206
 
207
+ ### 🎯 Shell Autocompletion
208
+
209
+ Enable tab completion for `pf` commands - it's automatic!
210
+
211
+ ```bash
212
+ # One-time setup
213
+ pf setup --completion
214
+
215
+ # Restart your shell
216
+ exec $SHELL
217
+
218
+ # Then enjoy tab completion!
219
+ pf <TAB> # Shows all commands
220
+ pf event <TAB> # Shows event subcommands
221
+ pf setup --<TAB> # Shows --ai, --completion
222
+ ```
223
+
224
+ **Supported shells:** bash, zsh, fish
225
+
206
226
  ---
207
227
 
208
228
  ## 🤖 AI-Assisted Generation
@@ -411,7 +431,7 @@ export const OrdersCreatedContract = createContract({
411
431
  **Handlers** import contracts and delegate to use cases:
412
432
 
413
433
  ```typescript
414
- // services/notifications/src/events/orders-created.handler.ts
434
+ // services/notifications/src/events/order-created.handler.ts
415
435
  import { handleEvent } from '@crossdelta/cloudevents'
416
436
  import { OrdersCreatedContract } from '@my-platform/contracts'
417
437
  import { sendOrderNotification } from '../use-cases/send-notification.use-case'