@agent-native/core 0.180.0 → 0.180.1-nightly-20260915205111

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 (24) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/templates/calendar/app/hooks/use-events.ts +11 -2
  3. package/corpus/templates/design/.generated/bridge/editor-chrome.generated.ts +14 -20
  4. package/corpus/templates/design/app/components/design/DesignCanvas.tsx +323 -109
  5. package/corpus/templates/design/app/components/design/ResponsiveInteractBar.tsx +48 -18
  6. package/corpus/templates/design/app/components/design/bridge/editor-chrome.bridge.ts +22 -20
  7. package/corpus/templates/design/app/components/design/design-canvas/LocalNetworkAccessPrompt.tsx +92 -0
  8. package/corpus/templates/design/app/components/design/design-canvas/external-preview.ts +41 -0
  9. package/corpus/templates/design/app/pages/DesignEditor.tsx +55 -3
  10. package/corpus/templates/design/changelog/2026-09-15-fixed-padding-indicator-tick-marks-so-they-render-at-the-sam.md +6 -0
  11. package/dist/collab/awareness.d.ts +2 -2
  12. package/dist/collab/routes.d.ts +1 -1
  13. package/dist/collab/struct-routes.d.ts +1 -1
  14. package/dist/file-upload/actions/upload-image.d.ts +3 -3
  15. package/dist/notifications/routes.d.ts +3 -3
  16. package/dist/observability/routes.d.ts +3 -3
  17. package/dist/org/handlers.d.ts +1 -1
  18. package/dist/progress/routes.d.ts +1 -1
  19. package/dist/server/core-routes-plugin.d.ts +1 -1
  20. package/dist/vite/sentry-source-maps.js +12 -20
  21. package/docs/content/template-plan-automations.mdx +30 -30
  22. package/docs/content/template-plan-developers.mdx +10 -10
  23. package/docs/content/template-plan-review-workflow.mdx +2 -2
  24. package/package.json +3 -3
@@ -20,29 +20,29 @@ The Plan template emits four events. Any automation can subscribe to them.
20
20
  Fires when a new visual plan or recap is created.
21
21
 
22
22
  | Field | Type | Description |
23
- | ----------- | --------------------- | ----------------------------------------- |
24
- | `planId` | string | Unique plan identifier |
25
- | `title` | string | Plan title |
26
- | `kind` | `"plan"` \| `"recap"` | Whether this is a plan or a recap |
27
- | `status` | string | Initial status (e.g. `"review"`) |
23
+ | ----------- | --------------------- | ---------------------------------------- |
24
+ | `planId` | string | Unique plan identifier |
25
+ | `title` | string | Plan title |
26
+ | `kind` | `"plan"` \| `"recap"` | Whether this is a plan or a recap |
27
+ | `status` | string | Initial status (e.g. `"review"`) |
28
28
  | `path` | string | App-relative path (e.g. `/plans/plan-…`) |
29
- | `createdBy` | string | Always `"agent"` for plan creation |
29
+ | `createdBy` | string | Always `"agent"` for plan creation |
30
30
 
31
31
  #### `plan.commented`
32
32
 
33
33
  Fires when one or more comments are added to a plan.
34
34
 
35
35
  | Field | Type | Description |
36
- | ------------------ | -------------------------------- | ------------------------------------------------------------- |
37
- | `planId` | string | Plan identifier |
38
- | `title` | string | Plan title |
39
- | `kind` | `"plan"` \| `"recap"` | Plan or recap |
40
- | `commentIds` | string[] | IDs of the new comments |
41
- | `commentCount` | number | Number of new comments in this batch |
36
+ | ------------------ | -------------------------------- | ----------------------------------------------------------- |
37
+ | `planId` | string | Plan identifier |
38
+ | `title` | string | Plan title |
39
+ | `kind` | `"plan"` \| `"recap"` | Plan or recap |
40
+ | `commentIds` | string[] | IDs of the new comments |
41
+ | `commentCount` | number | Number of new comments in this batch |
42
42
  | `resolutionTarget` | `"agent"` \| `"human"` \| `null` | Dominant target — `"agent"` if any comment targets an agent |
43
- | `excerpt` | string | First 200 characters of the first comment |
44
- | `author` | string \| null | Email of the commenter, if known |
45
- | `path` | string | App-relative path |
43
+ | `excerpt` | string | First 200 characters of the first comment |
44
+ | `author` | string \| null | Email of the commenter, if known |
45
+ | `path` | string | App-relative path |
46
46
 
47
47
  #### `plan.published`
48
48
 
@@ -50,27 +50,27 @@ Fires when a local plan is published (or re-published) to a hosted shareable
50
50
  URL.
51
51
 
52
52
  | Field | Type | Description |
53
- | --------------------- | --------------------- | ------------------------------------ |
54
- | `planId` | string | Local plan identifier |
55
- | `title` | string | Plan title |
56
- | `kind` | `"plan"` \| `"recap"` | Plan or recap |
57
- | `hostedPlanId` | string | Hosted plan identifier |
58
- | `url` | string | Full public URL of the hosted plan |
59
- | `requestedVisibility` | string | `"public"`, `"private"`, etc. |
53
+ | --------------------- | --------------------- | ---------------------------------- |
54
+ | `planId` | string | Local plan identifier |
55
+ | `title` | string | Plan title |
56
+ | `kind` | `"plan"` \| `"recap"` | Plan or recap |
57
+ | `hostedPlanId` | string | Hosted plan identifier |
58
+ | `url` | string | Full public URL of the hosted plan |
59
+ | `requestedVisibility` | string | `"public"`, `"private"`, etc. |
60
60
 
61
61
  #### `plan.status.changed`
62
62
 
63
63
  Fires when a plan's status changes (e.g. `review` → `approved`).
64
64
 
65
65
  | Field | Type | Description |
66
- | ----------- | --------------------- | ------------------------------------ |
67
- | `planId` | string | Plan identifier |
68
- | `title` | string | Plan title |
69
- | `kind` | `"plan"` \| `"recap"` | Plan or recap |
70
- | `oldStatus` | string \| null | Previous status |
71
- | `newStatus` | string | New status |
72
- | `changedBy` | string \| null | Email of the person who changed it |
73
- | `path` | string | App-relative path |
66
+ | ----------- | --------------------- | ---------------------------------- |
67
+ | `planId` | string | Plan identifier |
68
+ | `title` | string | Plan title |
69
+ | `kind` | `"plan"` \| `"recap"` | Plan or recap |
70
+ | `oldStatus` | string \| null | Previous status |
71
+ | `newStatus` | string | New status |
72
+ | `changedBy` | string \| null | Email of the person who changed it |
73
+ | `path` | string | App-relative path |
74
74
 
75
75
  <Diagram id="doc-block-plan5" title="Event to notification" summary="Plan events fire on the shared event bus; an automation subscribes with a trigger and an optional condition, then acts.">
76
76
 
@@ -77,17 +77,17 @@ local persistence, or running a fully self-hosted review surface.
77
77
 
78
78
  Schema lives in `templates/plan/server/db/schema.ts`. Core tables:
79
79
 
80
- | Table | What it holds |
81
- | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
80
+ | Table | What it holds |
81
+ | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
82
82
  | `plans` | Each plan or recap — `title`, `brief`, `kind` (plan/recap), `status`, `source`, `html`/`markdown`/`content`, `hosted_plan_id`/`url`, usage stats, `source_url`, `deleted_at`/`deleted_by` |
83
- | `plan_sections` | Ordered sections within a plan — `type`, `title`, `body`, `html`, `sort_order`, `created_by` |
84
- | `plan_comments` | Threaded comments — `parent_comment_id`, `kind`, `status`, `anchor`, `message`, `author_email`, `resolution_target`, `mentions_json`, `resolved_by` |
85
- | `plan_events` | Audit log of agent/human events on a plan — `type`, `message`, JSON `payload`, `created_by` |
86
- | `plan_reports` | Abuse reports on a public plan — `reason`, `status`, `reporter_email`, `occurrence_count` |
87
- | `plan_versions` | Point-in-time snapshots for version history — `snapshot_json`, `change_label`, plus denormalized `block_count`/`section_count`/`preview_text` for fast listing |
88
- | `plan_shares` | Per-principal share grants (viewer / editor / admin) |
89
- | `plan_guest_mints` | Rate-limit records for guest session issuance |
90
- | `plan_assets` | Inline image assets stored as base64 (fallback when no upload provider) |
83
+ | `plan_sections` | Ordered sections within a plan — `type`, `title`, `body`, `html`, `sort_order`, `created_by` |
84
+ | `plan_comments` | Threaded comments — `parent_comment_id`, `kind`, `status`, `anchor`, `message`, `author_email`, `resolution_target`, `mentions_json`, `resolved_by` |
85
+ | `plan_events` | Audit log of agent/human events on a plan — `type`, `message`, JSON `payload`, `created_by` |
86
+ | `plan_reports` | Abuse reports on a public plan — `reason`, `status`, `reporter_email`, `occurrence_count` |
87
+ | `plan_versions` | Point-in-time snapshots for version history — `snapshot_json`, `change_label`, plus denormalized `block_count`/`section_count`/`preview_text` for fast listing |
88
+ | `plan_shares` | Per-principal share grants (viewer / editor / admin) |
89
+ | `plan_guest_mints` | Rate-limit records for guest session issuance |
90
+ | `plan_assets` | Inline image assets stored as base64 (fallback when no upload provider) |
91
91
 
92
92
  <DataModel
93
93
  id="doc-block-1dtds8f"
@@ -119,8 +119,8 @@ activity history.
119
119
 
120
120
  Each share grant has a role:
121
121
 
122
- | Role | Can do |
123
- | ---------- | ---------------------------------------------------------------------- |
122
+ | Role | Can do |
123
+ | ---------- | -------------------------------------------------------------------- |
124
124
  | **Viewer** | View the plan and comment on it |
125
125
  | **Editor** | Everything a viewer can, plus edit plan content |
126
126
  | **Admin** | Everything an editor can, plus grant or remove other people's access |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.180.0",
3
+ "version": "0.180.1-nightly-20260915205111",
4
4
  "description": "The agentic application framework for building autonomous agents with intuitive UIs",
5
5
  "homepage": "https://github.com/BuilderIO/agent-native#readme",
6
6
  "bugs": {
@@ -478,8 +478,8 @@
478
478
  "yjs": "^13.6.32",
479
479
  "zod": "^4.3.6",
480
480
  "@agent-native/agentkit": "^0.2.1",
481
- "@agent-native/toolkit": "^0.20.1",
482
- "@agent-native/recap-cli": "0.5.31"
481
+ "@agent-native/recap-cli": "0.5.31",
482
+ "@agent-native/toolkit": "^0.20.1"
483
483
  },
484
484
  "devDependencies": {
485
485
  "@ai-sdk/anthropic": "^3.0.71",