@agent-native/core 0.100.0 → 0.100.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 (26) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/core/CHANGELOG.md +6 -0
  3. package/corpus/core/package.json +1 -1
  4. package/corpus/templates/calendar/AGENTS.md +9 -0
  5. package/corpus/templates/calendar/actions/list-events.ts +659 -44
  6. package/corpus/templates/calendar/changelog/2026-07-13-calendar-inventory-reads-report-source-coverage.md +6 -0
  7. package/corpus/templates/calendar/server/lib/calendar-connector-catalog.ts +8 -0
  8. package/corpus/templates/calendar/server/lib/google-calendar.ts +173 -51
  9. package/corpus/templates/calendar/server/lib/ical-fetcher.ts +13 -2
  10. package/corpus/templates/calendar/server/plugins/agent-chat.ts +5 -3
  11. package/corpus/templates/calendar/shared/api.ts +2 -0
  12. package/corpus/templates/mail/AGENTS.md +12 -0
  13. package/corpus/templates/mail/actions/list-emails.ts +486 -4
  14. package/corpus/templates/mail/changelog/2026-07-13-coverage-aware-connected-inbox-inventory.md +6 -0
  15. package/corpus/templates/mail/server/db/schema.ts +17 -0
  16. package/corpus/templates/mail/server/lib/google-auth.ts +33 -5
  17. package/corpus/templates/mail/server/lib/inventory-cursor.ts +406 -0
  18. package/corpus/templates/mail/server/lib/list-inbox-emails.ts +21 -2
  19. package/corpus/templates/mail/server/lib/mail-connector-catalog.ts +8 -0
  20. package/corpus/templates/mail/server/plugins/agent-chat.ts +4 -9
  21. package/corpus/templates/mail/server/plugins/db.ts +20 -0
  22. package/dist/collab/struct-routes.d.ts +1 -1
  23. package/dist/notifications/routes.d.ts +3 -3
  24. package/dist/resources/handlers.d.ts +2 -2
  25. package/dist/server/agent-engine-api-key-route.d.ts +1 -1
  26. package/package.json +1 -1
package/corpus/README.md CHANGED
@@ -28,4 +28,4 @@ rg -n "defineAction|useActionQuery" node_modules/@agent-native/core/corpus
28
28
  ## Generated Counts
29
29
 
30
30
  - core files: 2255
31
- - template files: 5582
31
+ - template files: 5587
@@ -1,5 +1,11 @@
1
1
  # @agent-native/core
2
2
 
3
+ ## 0.100.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 037cc3a: Validate explicit Calendar and Mail connector catalog actions through the external MCP lifecycle.
8
+
3
9
  ## 0.100.0
4
10
 
5
11
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.100.0",
3
+ "version": "0.100.1",
4
4
  "description": "Framework for agent-native application development — where AI agents and UI share SQL state, actions, and context",
5
5
  "homepage": "https://github.com/BuilderIO/agent-native#readme",
6
6
  "bugs": {
@@ -37,6 +37,15 @@ Detailed event, availability, booking, storage, and UI rules live in
37
37
  with `stageAs` and analyze them with `query-staged-dataset`.
38
38
  - For Google Calendar, distinguish an empty calendar from missing auth,
39
39
  reauth-needed, or fetch failures.
40
+ - `list-events` remains the UI-compatible event list by default. External MCP
41
+ callers receive its compact, paginated version 1 inventory envelope
42
+ unless they explicitly request `format: "legacy"`; use `format: "inventory"`
43
+ for that same coverage-aware result from other callers. Preserve its
44
+ account coverage, `sourceCoverage`, and `coverageComplete` fields: Google
45
+ account, ICS feed, overlay, and local-booking sources are independent, and a
46
+ partial source failure is not an empty calendar. Pass `accountEmails` only
47
+ for connected accounts; the action validates the whole requested set before
48
+ provider work.
40
49
  - Google Calendar working locations are status events (`eventType:
41
50
  "workingLocation"`). Sync and display them as working locations, keep them
42
51
  transparent/non-blocking, and preserve `workingLocationProperties` instead of