@flowrunner/cli 0.1.13 → 0.1.15

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 (80) hide show
  1. package/ai-docs/instructions/service-code-format/02-zod-types.md +3 -1
  2. package/ai-docs/instructions/service-code-format/04-http-requests.md +9 -0
  3. package/ai-docs/instructions/service-code-format/05-dictionaries.md +59 -1
  4. package/ai-docs/instructions/service-code-format/06-oauth2.md +68 -9
  5. package/ai-docs/instructions/service-code-format/07-actions.md +1 -1
  6. package/ai-docs/instructions/service-code-format/08-polling-triggers.md +13 -0
  7. package/ai-docs/instructions/service-code-format/09-realtime-triggers.md +110 -4
  8. package/ai-docs/instructions/service-code-format/11-output-model.md +6 -0
  9. package/ai-docs/instructions/service-code-format/16-gotchas.md +24 -0
  10. package/ai-docs/instructions/service-code-format/18-test-recipes.md +16 -0
  11. package/ai-docs/instructions/service-code-format/19-security.md +121 -0
  12. package/ai-docs/instructions/service-code-format/README.md +3 -2
  13. package/ai-docs/providers/claude/agents/flowrunner-service-code-engineer.md +1 -1
  14. package/dist/cli.js +10605 -73
  15. package/dist/cli.js.map +4 -4
  16. package/dist/index.js +10574 -66
  17. package/dist/index.js.map +4 -4
  18. package/dist/types/flow-extension-runner/src/v2/dictionaries/dictionary-method.d.ts +1 -0
  19. package/dist/types/flow-extension-runner/src/v2/model/field-mapper.d.ts +4 -2
  20. package/dist/types/flow-extension-runner/src/v2/model/params-model.d.ts +2 -2
  21. package/dist/types/flow-extension-runner/src/v2/oauth/types.d.ts +9 -7
  22. package/dist/types/flow-extension-runner/src/v2/params/index.d.ts +1 -0
  23. package/dist/types/flow-extension-runner/src/v2/params/json/encode.d.ts +7 -1
  24. package/dist/types/flow-extension-runner/src/v2/params/schema/dictionary-binding.d.ts +37 -0
  25. package/dist/types/flow-extension-runner/src/v2/params/zod.d.ts +7 -5
  26. package/dist/types/flow-extension-runner/src/v2/realtime-triggers/types.d.ts +2 -1
  27. package/dist/types/flow-extension-runner/src/v2/types.d.ts +1 -0
  28. package/dist/types/shared/src/constants/activity-log.d.ts +77 -0
  29. package/dist/types/shared/src/constants/app.d.ts +0 -1
  30. package/dist/types/shared/src/constants/error-codes.d.ts +3 -0
  31. package/dist/types/shared/src/constants/index.d.ts +1 -0
  32. package/dist/types/shared/src/constants/notification-types.d.ts +176 -6
  33. package/dist/types/shared/src/constants/oauth-connection-error.d.ts +3 -0
  34. package/dist/types/shared/src/errors/api.d.ts +11 -0
  35. package/dist/types/shared/src/errors/index.d.ts +1 -0
  36. package/dist/types/shared/src/errors/oauth-connection.d.ts +4 -0
  37. package/dist/types/shared/src/scheme/account/dto.d.ts +3 -0
  38. package/dist/types/shared/src/scheme/crm/dto.d.ts +6 -0
  39. package/dist/types/shared/src/scheme/flowrunner/java.dto.d.ts +26 -0
  40. package/dist/types/shared/src/scheme/index.d.ts +1 -0
  41. package/dist/types/shared/src/scheme/integration-connection/dto.d.ts +68 -14
  42. package/dist/types/shared/src/scheme/notifications/dto.d.ts +4 -0
  43. package/dist/types/shared/src/scheme/notifications/rest.d.ts +8 -0
  44. package/dist/types/shared/src/scheme/onboarding/dto.d.ts +29 -0
  45. package/dist/types/shared/src/scheme/onboarding/index.d.ts +1 -0
  46. package/dist/types/shared/src/scheme/shared-extensions/list.d.ts +52 -11
  47. package/dist/types/shared/src/scheme/shared-extensions/workspace-stack.d.ts +2 -2
  48. package/package.json +1 -4
  49. package/runtime/index.js +10563 -45
  50. package/runtime/index.js.map +4 -4
  51. package/runtime/types/flow-extension-runner/src/v2/dictionaries/dictionary-method.d.ts +1 -0
  52. package/runtime/types/flow-extension-runner/src/v2/model/field-mapper.d.ts +4 -2
  53. package/runtime/types/flow-extension-runner/src/v2/model/params-model.d.ts +2 -2
  54. package/runtime/types/flow-extension-runner/src/v2/oauth/types.d.ts +9 -7
  55. package/runtime/types/flow-extension-runner/src/v2/params/index.d.ts +1 -0
  56. package/runtime/types/flow-extension-runner/src/v2/params/json/encode.d.ts +7 -1
  57. package/runtime/types/flow-extension-runner/src/v2/params/schema/dictionary-binding.d.ts +37 -0
  58. package/runtime/types/flow-extension-runner/src/v2/params/zod.d.ts +7 -5
  59. package/runtime/types/flow-extension-runner/src/v2/realtime-triggers/types.d.ts +2 -1
  60. package/runtime/types/flow-extension-runner/src/v2/types.d.ts +1 -0
  61. package/runtime/types/shared/src/constants/activity-log.d.ts +77 -0
  62. package/runtime/types/shared/src/constants/app.d.ts +0 -1
  63. package/runtime/types/shared/src/constants/error-codes.d.ts +3 -0
  64. package/runtime/types/shared/src/constants/index.d.ts +1 -0
  65. package/runtime/types/shared/src/constants/notification-types.d.ts +176 -6
  66. package/runtime/types/shared/src/constants/oauth-connection-error.d.ts +3 -0
  67. package/runtime/types/shared/src/errors/api.d.ts +11 -0
  68. package/runtime/types/shared/src/errors/index.d.ts +1 -0
  69. package/runtime/types/shared/src/errors/oauth-connection.d.ts +4 -0
  70. package/runtime/types/shared/src/scheme/account/dto.d.ts +3 -0
  71. package/runtime/types/shared/src/scheme/crm/dto.d.ts +6 -0
  72. package/runtime/types/shared/src/scheme/flowrunner/java.dto.d.ts +26 -0
  73. package/runtime/types/shared/src/scheme/index.d.ts +1 -0
  74. package/runtime/types/shared/src/scheme/integration-connection/dto.d.ts +68 -14
  75. package/runtime/types/shared/src/scheme/notifications/dto.d.ts +4 -0
  76. package/runtime/types/shared/src/scheme/notifications/rest.d.ts +8 -0
  77. package/runtime/types/shared/src/scheme/onboarding/dto.d.ts +29 -0
  78. package/runtime/types/shared/src/scheme/onboarding/index.d.ts +1 -0
  79. package/runtime/types/shared/src/scheme/shared-extensions/list.d.ts +52 -11
  80. package/runtime/types/shared/src/scheme/shared-extensions/workspace-stack.d.ts +2 -2
@@ -24,7 +24,7 @@ is the routing authority, so follow it rather than guessing from filenames.
24
24
 
25
25
  **Load once, deliberately.** Decide the feature set first — auth style, whether there are triggers and of
26
26
  which kind, whether any parameter takes a file or wants a dropdown — then read the core plus exactly the
27
- conditional documents that decision implies, in a single batch. Do not read all eighteen by default: every
27
+ conditional documents that decision implies, in a single batch. Do not read all nineteen by default: every
28
28
  document stays in context and is re-read on each subsequent turn, so an unneeded one is paid for many times
29
29
  over. Reading a needed one late is worse, which is why the feature-set decision comes first.
30
30