@chusky/sdk 1.6.4 → 1.7.1

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 (41) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +275 -371
  3. package/cookbook/README.md +52 -0
  4. package/cookbook/a2a-delegation.ts +33 -0
  5. package/cookbook/approvals.ts +35 -0
  6. package/cookbook/company-agent.ts +47 -0
  7. package/cookbook/connect-business-app.ts +28 -0
  8. package/cookbook/context-and-department-handoff.ts +48 -0
  9. package/cookbook/files-and-image-attachment.ts +40 -0
  10. package/cookbook/mission.ts +59 -0
  11. package/cookbook/native-tool-health-check.ts +39 -0
  12. package/cookbook/run-and-wait.ts +30 -0
  13. package/cookbook/scheduled-follow-up.ts +40 -0
  14. package/cookbook/streaming.ts +43 -0
  15. package/cookbook/tsconfig.json +13 -0
  16. package/cookbook/webhooks.ts +27 -0
  17. package/cookbook/workflow-composer.ts +49 -0
  18. package/dist/client.d.ts +10 -10
  19. package/dist/client.d.ts.map +1 -1
  20. package/dist/client.js +5 -2
  21. package/dist/client.js.map +1 -1
  22. package/dist/index.d.ts +1 -1
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/types.d.ts +47 -0
  25. package/dist/types.d.ts.map +1 -1
  26. package/docs/api-contract.md +11 -10
  27. package/docs/architecture.mdx +1 -1
  28. package/docs/company-workspaces.mdx +2 -2
  29. package/docs/concepts.mdx +1 -1
  30. package/docs/embedded-chat.mdx +3 -3
  31. package/docs/errors.mdx +1 -1
  32. package/docs/production.mdx +1 -1
  33. package/docs/quickstart.mdx +2 -2
  34. package/docs/releases.mdx +8 -15
  35. package/docs/security.mdx +1 -1
  36. package/docs/triggers.mdx +64 -0
  37. package/docs.json +1 -1
  38. package/examples/README.md +1 -1
  39. package/examples/_client.ts +2 -0
  40. package/openapi.yaml +41 -8
  41. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  Releases use semantic versioning and are tagged `sdk-vX.Y.Z`.
4
4
 
5
+ ## 1.7.1 - 2026-09-30
6
+
7
+ - Default the SDK to the hosted Chusky API so `baseUrl` is optional for normal
8
+ use; explicit overrides remain available for staging and self-hosted APIs.
9
+
10
+ ## 1.7.0 - 2026-09-29
11
+
12
+ - Expose typed trigger catalogue schemas, connected-account binding, and
13
+ owner-authored event instructions through the authenticated API and SDK.
14
+ - Persist trigger instructions for future event runs, support owner-scoped
15
+ policy edits, and make trigger creation idempotent.
16
+ - Keep credential-shaped provider fields out of trigger configuration forms
17
+ and preserve the existing approval boundary for event-driven actions.
18
+
5
19
  ## 1.6.4 - 2026-09-26
6
20
 
7
21
  - Return durable generated-image metadata on completed runs when the image was