@agent-native/core 0.98.8 → 0.98.9

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/corpus/README.md +1 -1
  2. package/corpus/core/CHANGELOG.md +6 -0
  3. package/corpus/core/package.json +1 -1
  4. package/corpus/core/src/mcp/build-server.ts +99 -26
  5. package/corpus/templates/calendar/.agents/skills/event-management/SKILL.md +31 -2
  6. package/corpus/templates/calendar/AGENTS.md +11 -0
  7. package/corpus/templates/calendar/README.md +2 -1
  8. package/corpus/templates/calendar/actions/create-event.ts +7 -6
  9. package/corpus/templates/calendar/actions/event-action-helpers.ts +49 -0
  10. package/corpus/templates/calendar/actions/update-event.ts +225 -14
  11. package/corpus/templates/calendar/app/components/calendar/DayView.tsx +185 -70
  12. package/corpus/templates/calendar/app/components/calendar/EventCard.tsx +26 -4
  13. package/corpus/templates/calendar/app/components/calendar/EventDetailPanel.tsx +112 -69
  14. package/corpus/templates/calendar/app/components/calendar/EventDetailPopover.tsx +621 -524
  15. package/corpus/templates/calendar/app/components/calendar/WeekView.tsx +275 -164
  16. package/corpus/templates/calendar/app/components/calendar/WorkingLocationEditor.tsx +222 -0
  17. package/corpus/templates/calendar/app/hooks/use-events.ts +151 -79
  18. package/corpus/templates/calendar/app/i18n/zh-TW.ts +6 -0
  19. package/corpus/templates/calendar/app/i18n-data.ts +60 -0
  20. package/corpus/templates/calendar/app/lib/all-day-layout.ts +126 -0
  21. package/corpus/templates/calendar/app/lib/event-form-utils.ts +18 -1
  22. package/corpus/templates/calendar/app/lib/event-mutation-inputs.ts +1 -1
  23. package/corpus/templates/calendar/app/lib/working-location.ts +163 -0
  24. package/corpus/templates/calendar/app/pages/CalendarView.tsx +21 -2
  25. package/corpus/templates/calendar/changelog/2026-07-07-working-locations-from-google-calendar-now-appear-as-native-.md +6 -0
  26. package/corpus/templates/calendar/server/lib/calendar-availability.ts +2 -0
  27. package/corpus/templates/calendar/server/lib/google-api.ts +6 -1
  28. package/corpus/templates/calendar/server/lib/google-calendar.ts +49 -19
  29. package/corpus/templates/calendar/shared/api.ts +2 -0
  30. package/dist/mcp/build-server.d.ts.map +1 -1
  31. package/dist/mcp/build-server.js +82 -28
  32. package/dist/mcp/build-server.js.map +1 -1
  33. package/dist/observability/routes.d.ts +5 -5
  34. package/dist/secrets/routes.d.ts +9 -9
  35. package/package.json +1 -1
@@ -41,28 +41,28 @@ export declare function createObservabilityHandler(): import("h3").EventHandlerW
41
41
  thumbsUpRate: number;
42
42
  avgEvalScore: number;
43
43
  } | {
44
+ error?: undefined;
45
+ ok?: undefined;
44
46
  summary: import("./types.js").TraceSummary;
45
47
  spans: import("./types.js").TraceSpan[];
46
48
  id?: undefined;
49
+ } | {
47
50
  error?: undefined;
48
51
  ok?: undefined;
49
- } | {
50
52
  summary?: undefined;
51
53
  spans?: undefined;
52
54
  id: string;
53
- error?: undefined;
54
- ok?: undefined;
55
55
  } | {
56
+ ok?: undefined;
56
57
  summary?: undefined;
57
58
  spans?: undefined;
58
59
  id?: undefined;
59
60
  error: any;
60
- ok?: undefined;
61
61
  } | {
62
+ error?: undefined;
62
63
  summary?: undefined;
63
64
  spans?: undefined;
64
65
  id?: undefined;
65
- error?: undefined;
66
66
  ok: boolean;
67
67
  }>>;
68
68
  //# sourceMappingURL=routes.d.ts.map
@@ -34,37 +34,37 @@ export declare function createListSecretsHandler(): import("h3").EventHandlerWit
34
34
  /** POST /_agent-native/secrets/:key — write a secret. */
35
35
  export declare function createWriteSecretHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
36
36
  error: string;
37
- status?: undefined;
38
37
  ok?: undefined;
38
+ status?: undefined;
39
39
  } | {
40
+ error?: undefined;
40
41
  ok: boolean;
41
42
  status: string;
42
- error?: undefined;
43
43
  } | {
44
+ ok?: undefined;
44
45
  error: string;
45
46
  removed?: undefined;
46
- ok?: undefined;
47
47
  } | {
48
+ error?: undefined;
48
49
  ok: boolean;
49
50
  removed: boolean;
50
- error?: undefined;
51
51
  }>>;
52
52
  /**
53
53
  * POST /_agent-native/secrets/:key/test — re-run the validator against the
54
54
  * current stored value without changing anything. Useful for the "Test" button.
55
55
  */
56
56
  export declare function createTestSecretHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
57
+ ok?: undefined;
57
58
  error: string;
58
59
  note?: undefined;
59
- ok?: undefined;
60
60
  } | {
61
+ error?: undefined;
61
62
  ok: boolean;
62
63
  note?: undefined;
63
- error?: undefined;
64
64
  } | {
65
+ error?: undefined;
65
66
  ok: boolean;
66
67
  note: string;
67
- error?: undefined;
68
68
  } | {
69
69
  note?: undefined;
70
70
  ok: boolean;
@@ -95,12 +95,12 @@ export interface AdHocSecretPayload {
95
95
  export declare function createAdHocSecretHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<AdHocSecretPayload[] | {
96
96
  error: string;
97
97
  } | {
98
+ error?: undefined;
98
99
  ok: boolean;
99
100
  key: string;
100
- error?: undefined;
101
101
  } | {
102
+ error?: undefined;
102
103
  ok: boolean;
103
104
  removed: boolean;
104
- error?: undefined;
105
105
  }>>;
106
106
  //# sourceMappingURL=routes.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.98.8",
3
+ "version": "0.98.9",
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": {