flingit 0.0.5 → 0.0.7

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 (35) hide show
  1. package/README.md +18 -21
  2. package/dist/cli/commands/logs.d.ts.map +1 -1
  3. package/dist/cli/commands/logs.js +7 -2
  4. package/dist/cli/commands/logs.js.map +1 -1
  5. package/dist/cli/commands/onboard.d.ts +11 -3
  6. package/dist/cli/commands/onboard.d.ts.map +1 -1
  7. package/dist/cli/commands/onboard.js +148 -51
  8. package/dist/cli/commands/onboard.js.map +1 -1
  9. package/dist/cli/commands/tun.d.ts +13 -0
  10. package/dist/cli/commands/tun.d.ts.map +1 -0
  11. package/dist/cli/commands/tun.js +188 -0
  12. package/dist/cli/commands/tun.js.map +1 -0
  13. package/dist/cli/deploy/bundler.d.ts.map +1 -1
  14. package/dist/cli/deploy/bundler.js +1 -0
  15. package/dist/cli/deploy/bundler.js.map +1 -1
  16. package/dist/cli/index.js +2 -0
  17. package/dist/cli/index.js.map +1 -1
  18. package/dist/cli/loaders/register-wasm.d.ts +12 -0
  19. package/dist/cli/loaders/register-wasm.d.ts.map +1 -0
  20. package/dist/cli/loaders/register-wasm.js +19 -0
  21. package/dist/cli/loaders/register-wasm.js.map +1 -0
  22. package/dist/cli/loaders/wasm-hooks.d.ts +54 -0
  23. package/dist/cli/loaders/wasm-hooks.d.ts.map +1 -0
  24. package/dist/cli/loaders/wasm-hooks.js +56 -0
  25. package/dist/cli/loaders/wasm-hooks.js.map +1 -0
  26. package/dist/cli/utils/onboarding-io-impl.d.ts +12 -0
  27. package/dist/cli/utils/onboarding-io-impl.d.ts.map +1 -0
  28. package/dist/cli/utils/onboarding-io-impl.js +85 -0
  29. package/dist/cli/utils/onboarding-io-impl.js.map +1 -0
  30. package/dist/cli/utils/onboarding-io.d.ts +60 -0
  31. package/dist/cli/utils/onboarding-io.d.ts.map +1 -0
  32. package/dist/cli/utils/onboarding-io.js +9 -0
  33. package/dist/cli/utils/onboarding-io.js.map +1 -0
  34. package/package.json +2 -1
  35. package/templates/default/skills/fling/SKILL.md +15 -0
@@ -108,6 +108,21 @@ npm exec fling cron history <name> # View invocation history
108
108
  npm exec fling cron trigger <name> # Manually trigger a cron job
109
109
  ```
110
110
 
111
+ ### Debugging Cron Jobs in Production
112
+
113
+ Each cron invocation logs "Running cron job <name>" at the start. To see all logs from a specific cron invocation:
114
+
115
+ 1. **Find the invocation** by searching for the cron job name:
116
+ ```bash
117
+ npm exec fling -- --prod logs --search "Running cron job daily-cleanup"
118
+ ```
119
+ This shows log entries with Ray IDs like `[ray:abc12345]`.
120
+
121
+ 2. **Filter by that Ray ID** to see all logs from that invocation:
122
+ ```bash
123
+ npm exec fling -- --prod logs --ray abc12345
124
+ ```
125
+
111
126
  ### Local vs Production (`--prod`)
112
127
 
113
128
  Commands default to local environment. Use `--prod` for production: