@agent-native/core 0.221.0 โ 0.221.1-nightly-20261028032829
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.
- package/dist/client/agent-chat.js +6 -1
- package/dist/client/api-path.d.ts +2 -0
- package/dist/client/api-path.js +76 -55
- package/dist/client/application-state.js +12 -6
- package/dist/client/browser-tab-id.d.ts +2 -0
- package/dist/client/browser-tab-id.js +113 -13
- package/dist/client/collab/index.d.ts +1 -1
- package/dist/client/embed-auth.js +145 -26
- package/dist/client/route-state.js +15 -4
- package/dist/client/sse-event-processor.js +3 -0
- package/dist/client/use-change-version.js +6 -1
- package/dist/client/use-db-sync.js +70 -11
- package/dist/collab/client.d.ts +34 -0
- package/dist/collab/client.js +506 -53
- package/dist/deploy/build.js +10 -0
- package/dist/mcp/embed-app.js +165 -16
- package/dist/provider-api/actions/custom-provider-registration.d.ts +3 -3
- package/dist/provider-api/actions/provider-api.d.ts +4 -4
- package/dist/server/app-origin-config.d.ts +2 -0
- package/dist/server/app-origin-config.js +10 -0
- package/dist/shared/mcp-app-widget-embed.d.ts +23 -1
- package/dist/shared/mcp-app-widget-embed.js +178 -5
- package/dist/templates/factory/.agents/skills/review-latest-feedback/SKILL.md +41 -18
- package/package.json +4 -4
- package/src/templates/factory/.agents/skills/review-latest-feedback/SKILL.md +41 -18
|
@@ -113,11 +113,8 @@ Real replies that missed, and what to send instead:
|
|
|
113
113
|
| "Could you send the recording link, approximate time, and browser so we can trace whether the clip produced media before it tried to save?" | Find the recording from the reporter and message time first. If you still can't: "thanks - I couldn't find which recording this was; could you paste its link?" |
|
|
114
114
|
| "cleanup now waits for the transcript, and a fix is ready. It should be on beta shortly." (sent before the merge) | "thanks - recordings will keep their transcript once this <url\|fix> is merged; it's in review now." |
|
|
115
115
|
| "I've left moving it somewhere easier to find for product to decide." | "thanks - Steve will decide where the editor should live." |
|
|
116
|
-
| "The framework team needs to decide whether multi-step work should be gathered into one request or handled through the agent's usual back-and-forth." | "thanks - Steve will decide how this should work." |
|
|
117
116
|
| "Partially fixed - PR #7512 merged the project-instructions/context carryover fix", after she'd asked whether FullStory could be added for the whole org | Answer that question first: "yes - I'll add it for everyone" or "not yet - Steve will decide". |
|
|
118
117
|
| "All fixed and verified. Please try again!" plus instructions to pull main and reinstall | "thanks - this <url\|fix> is merged and will be on beta shortly." No homework. |
|
|
119
|
-
| "One-click clip duplication is a feature request; no change was made in this sweep." | "thanks - Steve will decide whether to build this." |
|
|
120
|
-
| "I have not reproduced it or separated model/project time from framework workflow time." | "thanks - I'll look into why that run took so long." Or, if you can't: "Steve will take a look." |
|
|
121
118
|
| More replies after Shawn wrote "bot please stop! I've got this all fixed and in flight" | Nothing. A person has it. |
|
|
122
119
|
| "Thanks for correcting me, Julia - I misread the replies. ... Open - no question: I don't have enough source evidence to claim a fix." | Nothing: the thread was a joke. |
|
|
123
120
|
| Asked for the app URL, what was clicked, and the time; then, in a second reply, for the time zone. | One reply, one question, only for what you can't look up. The message's own timestamp already says when. |
|
|
@@ -202,9 +199,10 @@ the invocation gives), plus 14 days for open items.
|
|
|
202
199
|
- GitHub: open issues updated in the window
|
|
203
200
|
(`gh issue list --state open --search "updated:>=<date>"`). Skip ones
|
|
204
201
|
someone else has offered to fix.
|
|
205
|
-
- Sentry (
|
|
206
|
-
(`list-error-issues`, then
|
|
207
|
-
repo-owned.
|
|
202
|
+
- Sentry (through its connector, or the local reader the invocation
|
|
203
|
+
names) and Agent-Native Analytics (`list-error-issues`, then
|
|
204
|
+
`get-error-issue`): unresolved, recent, and repo-owned. Rank by users
|
|
205
|
+
affected. An error with a stack trace is already a reproduction lead.
|
|
208
206
|
|
|
209
207
|
## 2. Triage: lean toward fixing
|
|
210
208
|
|
|
@@ -224,8 +222,13 @@ Put each report in one bucket:
|
|
|
224
222
|
answered, duplicates of something already in this run. These get no
|
|
225
223
|
reaction and no reply.
|
|
226
224
|
|
|
227
|
-
|
|
228
|
-
|
|
225
|
+
Take the Fix reports in order of how many people they hurt, and claim as
|
|
226
|
+
many as the run can finish. Any Fix, Build, or Needs-a-person root you leave
|
|
227
|
+
unclaimed gets no reaction, only one line in the recap saying why, so
|
|
228
|
+
nothing is dropped silently.
|
|
229
|
+
|
|
230
|
+
Then add ๐ to every root you claimed (Fix, Build, or Needs a person) in one
|
|
231
|
+
pass, before you investigate. In an automation run, immediately list those roots (channel and
|
|
229
232
|
ts) under "Claimed, not yet answered" in its `memory.md`, and remove each one
|
|
230
233
|
once it has its reply. That list is how the next run tells an unfinished claim
|
|
231
234
|
apart from Steve's own ๐.
|
|
@@ -235,15 +238,33 @@ apart from Steve's own ๐.
|
|
|
235
238
|
- Group related reports so one cause gets one fix. Give each independent
|
|
236
239
|
group a subagent on a cheaper model with disjoint files. The main thread
|
|
237
240
|
plans, reviews diffs, and integrates.
|
|
238
|
-
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
241
|
+
- **Reproduce before you edit.** Get the failure on screen first: a test
|
|
242
|
+
that fails, the action returning the wrong thing, a stack trace, or the
|
|
243
|
+
flow broken in a signed-in local app. No reproduction means no code
|
|
244
|
+
change; it stays a ๐ซ. Guessing at a fix and hoping is how one Clips
|
|
245
|
+
popover got "fixed" four times.
|
|
246
|
+
- **Check the history.** `git log --since=30.days --oneline -- <files>`: if
|
|
247
|
+
this surface was fixed before for the same symptom, that fix treated a
|
|
248
|
+
symptom. Find the shared cause (`fix-at-the-boundary`) instead of adding
|
|
249
|
+
one more patch, and look for the same pattern elsewhere.
|
|
250
|
+
- **Prove it.** The check has to fail with the fix's source changes put
|
|
251
|
+
back to `main` and pass with them. A check that passes without your fix
|
|
252
|
+
doesn't test the bug: write one that does. Tests that read source text
|
|
253
|
+
never count. For a purely visual fix, a before and after screenshot of the
|
|
254
|
+
signed-in app stands in. Put the proof under the report in the PR's
|
|
255
|
+
`Reports` section.
|
|
256
|
+
- **Two misses, then stop guessing.** If two attempts don't turn the check
|
|
257
|
+
green, stop editing and capture the real failure first (stack, logs, the
|
|
258
|
+
reporter's actual data). If that doesn't settle it within about 30
|
|
259
|
+
minutes, it becomes ๐ซ with one line on what you learned.
|
|
260
|
+
- **Second opinion before the PR.** Give a fresh subagent only the report
|
|
261
|
+
text, the diff, and the proof, and ask: does the check exercise what the
|
|
262
|
+
reporter saw, and is this the cause or a symptom? Fix what it finds.
|
|
263
|
+
- **Keep fixes small.** Each report's fix goes in its own commit so a bad
|
|
264
|
+
one can be reverted alone. A fix that grows past about 300 lines, or into
|
|
265
|
+
a new subsystem (timeouts, cancellation, retries) the reporter didn't ask
|
|
266
|
+
for, isn't a sweep fix: ship the small part and ๐ซ the rest. Match the
|
|
267
|
+
versions the workspace already pins; a sweep is not a dependency upgrade.
|
|
247
268
|
- Never tune agent instructions or prompts around one report's wording.
|
|
248
269
|
|
|
249
270
|
## 4. Ship
|
|
@@ -278,7 +299,8 @@ leave it. If a newer human reply says it's still broken, leave the ๐ for the
|
|
|
278
299
|
next sweep. Otherwise:
|
|
279
300
|
|
|
280
301
|
- **Merged fix:** add โ
and reply that it's fixed, with the PR linked, and
|
|
281
|
-
will be on beta shortly.
|
|
302
|
+
will be on beta shortly. Only for reports whose `Reports` entry carries a
|
|
303
|
+
proof (step 3). Without one, it's ๐ซ and "Steve will take a look".
|
|
282
304
|
- **Fix ready but not merged yet** (for example CI is still running when the
|
|
283
305
|
run must end): reply that a fix (PR linked) is in review. Don't mention
|
|
284
306
|
beta yet. The next run adds โ
once it's merged, with no second reply.
|
|
@@ -311,6 +333,7 @@ Fixed and merged (N): <one line each, with Slack thread link> ยท PR <link>
|
|
|
311
333
|
Closed out from earlier runs (N): <Slack thread link> ยท PR <link>
|
|
312
334
|
Needs a person (N): <what's needed, who>
|
|
313
335
|
Still open from earlier runs (N): <why>
|
|
336
|
+
Seen, not picked (N): <Slack thread link> - <one-line reason>
|
|
314
337
|
Sources unavailable: <list or "none">
|
|
315
338
|
Lesson (optional): <one line>
|
|
316
339
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/core",
|
|
3
|
-
"version": "0.221.
|
|
3
|
+
"version": "0.221.1-nightly-20261028032829",
|
|
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": {
|
|
@@ -739,8 +739,8 @@
|
|
|
739
739
|
"yaml": "^2.9.0",
|
|
740
740
|
"yjs": "^13.6.33",
|
|
741
741
|
"zod": "^4.3.6",
|
|
742
|
-
"@agent-native/
|
|
743
|
-
"@agent-native/
|
|
742
|
+
"@agent-native/recap-cli": "^0.5.90",
|
|
743
|
+
"@agent-native/agentkit": "^0.221.1-nightly-20261028032829"
|
|
744
744
|
},
|
|
745
745
|
"devDependencies": {
|
|
746
746
|
"@ai-sdk/anthropic": "^3.0.71",
|
|
@@ -811,7 +811,7 @@
|
|
|
811
811
|
"xlsx": "^0.18.5"
|
|
812
812
|
},
|
|
813
813
|
"peerDependencies": {
|
|
814
|
-
"@agent-native/core-corpus": "
|
|
814
|
+
"@agent-native/core-corpus": "0.221.1-nightly-20261028032829",
|
|
815
815
|
"@ai-sdk/anthropic": ">=3",
|
|
816
816
|
"@ai-sdk/cohere": ">=3",
|
|
817
817
|
"@ai-sdk/google": ">=3",
|
|
@@ -113,11 +113,8 @@ Real replies that missed, and what to send instead:
|
|
|
113
113
|
| "Could you send the recording link, approximate time, and browser so we can trace whether the clip produced media before it tried to save?" | Find the recording from the reporter and message time first. If you still can't: "thanks - I couldn't find which recording this was; could you paste its link?" |
|
|
114
114
|
| "cleanup now waits for the transcript, and a fix is ready. It should be on beta shortly." (sent before the merge) | "thanks - recordings will keep their transcript once this <url\|fix> is merged; it's in review now." |
|
|
115
115
|
| "I've left moving it somewhere easier to find for product to decide." | "thanks - Steve will decide where the editor should live." |
|
|
116
|
-
| "The framework team needs to decide whether multi-step work should be gathered into one request or handled through the agent's usual back-and-forth." | "thanks - Steve will decide how this should work." |
|
|
117
116
|
| "Partially fixed - PR #7512 merged the project-instructions/context carryover fix", after she'd asked whether FullStory could be added for the whole org | Answer that question first: "yes - I'll add it for everyone" or "not yet - Steve will decide". |
|
|
118
117
|
| "All fixed and verified. Please try again!" plus instructions to pull main and reinstall | "thanks - this <url\|fix> is merged and will be on beta shortly." No homework. |
|
|
119
|
-
| "One-click clip duplication is a feature request; no change was made in this sweep." | "thanks - Steve will decide whether to build this." |
|
|
120
|
-
| "I have not reproduced it or separated model/project time from framework workflow time." | "thanks - I'll look into why that run took so long." Or, if you can't: "Steve will take a look." |
|
|
121
118
|
| More replies after Shawn wrote "bot please stop! I've got this all fixed and in flight" | Nothing. A person has it. |
|
|
122
119
|
| "Thanks for correcting me, Julia - I misread the replies. ... Open - no question: I don't have enough source evidence to claim a fix." | Nothing: the thread was a joke. |
|
|
123
120
|
| Asked for the app URL, what was clicked, and the time; then, in a second reply, for the time zone. | One reply, one question, only for what you can't look up. The message's own timestamp already says when. |
|
|
@@ -202,9 +199,10 @@ the invocation gives), plus 14 days for open items.
|
|
|
202
199
|
- GitHub: open issues updated in the window
|
|
203
200
|
(`gh issue list --state open --search "updated:>=<date>"`). Skip ones
|
|
204
201
|
someone else has offered to fix.
|
|
205
|
-
- Sentry (
|
|
206
|
-
(`list-error-issues`, then
|
|
207
|
-
repo-owned.
|
|
202
|
+
- Sentry (through its connector, or the local reader the invocation
|
|
203
|
+
names) and Agent-Native Analytics (`list-error-issues`, then
|
|
204
|
+
`get-error-issue`): unresolved, recent, and repo-owned. Rank by users
|
|
205
|
+
affected. An error with a stack trace is already a reproduction lead.
|
|
208
206
|
|
|
209
207
|
## 2. Triage: lean toward fixing
|
|
210
208
|
|
|
@@ -224,8 +222,13 @@ Put each report in one bucket:
|
|
|
224
222
|
answered, duplicates of something already in this run. These get no
|
|
225
223
|
reaction and no reply.
|
|
226
224
|
|
|
227
|
-
|
|
228
|
-
|
|
225
|
+
Take the Fix reports in order of how many people they hurt, and claim as
|
|
226
|
+
many as the run can finish. Any Fix, Build, or Needs-a-person root you leave
|
|
227
|
+
unclaimed gets no reaction, only one line in the recap saying why, so
|
|
228
|
+
nothing is dropped silently.
|
|
229
|
+
|
|
230
|
+
Then add ๐ to every root you claimed (Fix, Build, or Needs a person) in one
|
|
231
|
+
pass, before you investigate. In an automation run, immediately list those roots (channel and
|
|
229
232
|
ts) under "Claimed, not yet answered" in its `memory.md`, and remove each one
|
|
230
233
|
once it has its reply. That list is how the next run tells an unfinished claim
|
|
231
234
|
apart from Steve's own ๐.
|
|
@@ -235,15 +238,33 @@ apart from Steve's own ๐.
|
|
|
235
238
|
- Group related reports so one cause gets one fix. Give each independent
|
|
236
239
|
group a subagent on a cheaper model with disjoint files. The main thread
|
|
237
240
|
plans, reviews diffs, and integrates.
|
|
238
|
-
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
241
|
+
- **Reproduce before you edit.** Get the failure on screen first: a test
|
|
242
|
+
that fails, the action returning the wrong thing, a stack trace, or the
|
|
243
|
+
flow broken in a signed-in local app. No reproduction means no code
|
|
244
|
+
change; it stays a ๐ซ. Guessing at a fix and hoping is how one Clips
|
|
245
|
+
popover got "fixed" four times.
|
|
246
|
+
- **Check the history.** `git log --since=30.days --oneline -- <files>`: if
|
|
247
|
+
this surface was fixed before for the same symptom, that fix treated a
|
|
248
|
+
symptom. Find the shared cause (`fix-at-the-boundary`) instead of adding
|
|
249
|
+
one more patch, and look for the same pattern elsewhere.
|
|
250
|
+
- **Prove it.** The check has to fail with the fix's source changes put
|
|
251
|
+
back to `main` and pass with them. A check that passes without your fix
|
|
252
|
+
doesn't test the bug: write one that does. Tests that read source text
|
|
253
|
+
never count. For a purely visual fix, a before and after screenshot of the
|
|
254
|
+
signed-in app stands in. Put the proof under the report in the PR's
|
|
255
|
+
`Reports` section.
|
|
256
|
+
- **Two misses, then stop guessing.** If two attempts don't turn the check
|
|
257
|
+
green, stop editing and capture the real failure first (stack, logs, the
|
|
258
|
+
reporter's actual data). If that doesn't settle it within about 30
|
|
259
|
+
minutes, it becomes ๐ซ with one line on what you learned.
|
|
260
|
+
- **Second opinion before the PR.** Give a fresh subagent only the report
|
|
261
|
+
text, the diff, and the proof, and ask: does the check exercise what the
|
|
262
|
+
reporter saw, and is this the cause or a symptom? Fix what it finds.
|
|
263
|
+
- **Keep fixes small.** Each report's fix goes in its own commit so a bad
|
|
264
|
+
one can be reverted alone. A fix that grows past about 300 lines, or into
|
|
265
|
+
a new subsystem (timeouts, cancellation, retries) the reporter didn't ask
|
|
266
|
+
for, isn't a sweep fix: ship the small part and ๐ซ the rest. Match the
|
|
267
|
+
versions the workspace already pins; a sweep is not a dependency upgrade.
|
|
247
268
|
- Never tune agent instructions or prompts around one report's wording.
|
|
248
269
|
|
|
249
270
|
## 4. Ship
|
|
@@ -278,7 +299,8 @@ leave it. If a newer human reply says it's still broken, leave the ๐ for the
|
|
|
278
299
|
next sweep. Otherwise:
|
|
279
300
|
|
|
280
301
|
- **Merged fix:** add โ
and reply that it's fixed, with the PR linked, and
|
|
281
|
-
will be on beta shortly.
|
|
302
|
+
will be on beta shortly. Only for reports whose `Reports` entry carries a
|
|
303
|
+
proof (step 3). Without one, it's ๐ซ and "Steve will take a look".
|
|
282
304
|
- **Fix ready but not merged yet** (for example CI is still running when the
|
|
283
305
|
run must end): reply that a fix (PR linked) is in review. Don't mention
|
|
284
306
|
beta yet. The next run adds โ
once it's merged, with no second reply.
|
|
@@ -311,6 +333,7 @@ Fixed and merged (N): <one line each, with Slack thread link> ยท PR <link>
|
|
|
311
333
|
Closed out from earlier runs (N): <Slack thread link> ยท PR <link>
|
|
312
334
|
Needs a person (N): <what's needed, who>
|
|
313
335
|
Still open from earlier runs (N): <why>
|
|
336
|
+
Seen, not picked (N): <Slack thread link> - <one-line reason>
|
|
314
337
|
Sources unavailable: <list or "none">
|
|
315
338
|
Lesson (optional): <one line>
|
|
316
339
|
```
|