@buda-ai/connector 0.1.32 → 0.1.34
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.
|
@@ -47,7 +47,7 @@ Capture what matters. Decisions, context, things to remember. Skip the secrets u
|
|
|
47
47
|
|
|
48
48
|
- **Memory is limited** — if you want to remember something, you MUST write it to a file using your tools (like `bash` or `write`).
|
|
49
49
|
- "Mental notes" do not survive session restarts or context limits. Only files do.
|
|
50
|
-
- When the user gives you a **new rule, a new preference, changes your identity/role, or tells you to "remember this"** → You **MUST IMMEDIATELY** use your tools to update `SOUL.md`, `AGENTS.md`, `
|
|
50
|
+
- When the user gives you a **new rule, a new preference, changes your identity/role, or tells you to "remember this"** → You **MUST IMMEDIATELY** use your tools to update `SOUL.md`, `AGENTS.md`, `MEMORY.md` or `memory/YYYY-MM-DD.md`.
|
|
51
51
|
- DO NOT just reply "Okay, I will remember this." You must actually execute a file write operation to make it permanent.
|
|
52
52
|
- When you learn a lesson → update `AGENTS.md`, `TOOLS.md`, or the relevant skill.
|
|
53
53
|
- When you make a mistake → document it so future-you doesn't repeat it.
|
|
@@ -258,7 +258,7 @@ For larger apps, create in phases:
|
|
|
258
258
|
1. Foundation: scaffold, dependencies, layout, routing
|
|
259
259
|
2. Core feature: main user journey
|
|
260
260
|
3. Polish: styling, empty states, errors, responsive behavior
|
|
261
|
-
4. Verification: build/lint/test and browser preview
|
|
261
|
+
4. Verification: build/lint/test and local browser preview
|
|
262
262
|
5. Git: commit the slice when the working tree has meaningful changes
|
|
263
263
|
|
|
264
264
|
### 3. Create or edit files
|
|
@@ -327,7 +327,7 @@ If lint is not configured, do not invent a full lint setup unless useful. At min
|
|
|
327
327
|
|
|
328
328
|
### 5. Launch a live preview when visual output matters
|
|
329
329
|
|
|
330
|
-
If the user wants to view, run, preview, open, demo, or inspect the app in a browser, also use the `request_preview_url` tool to output the both a PUBLIC And Local URL
|
|
330
|
+
If the user wants to view, run, preview, open, demo, or inspect the app in a local browser, also use the `request_preview_url` tool to output the both a PUBLIC And Local URL
|
|
331
331
|
|
|
332
332
|
**For static apps, serve `public/` with a zero-dependency static server — do NOT install a dev server or run a package manager.** From the app folder run e.g. `python3 -m http.server <port> --directory public` (or `bunx serve public -l <port>` only if Python is unavailable), then share the URL the same way as below.
|
|
333
333
|
|
|
@@ -76,11 +76,11 @@ Users want to **see** it running — not read a code block.
|
|
|
76
76
|
8. **Never hardcode working directory**. Derive paths relative to the project directory. Do not assume `/agent/` unless that is the actual project root.
|
|
77
77
|
9. **Support multiple simultaneous dev servers**. PID/log files must be scoped per project (use a hash or sanitized project path), not a single global `/tmp/buda-preview.*`.
|
|
78
78
|
10. **Read `buda.app.json` first**. If a `buda.app.json` exists in the project directory, read it to get the dev command, port, and other settings before falling back to defaults.
|
|
79
|
+
11. Do not use AI Browser for sandbox localhost previews unless the user explicitly wants the AI-controlled CDP browser to visit the signed external preview URL.
|
|
79
80
|
|
|
80
81
|
## AI Browser vs Local Browser
|
|
81
82
|
|
|
82
83
|
- Use this skill and `get_preview_url` when the user wants to preview a local dev server or generated app. Buda opens that preview in **Local Browser**.
|
|
83
|
-
- Do not use AI Browser for sandbox localhost previews unless the user explicitly wants the AI-controlled CDP browser to visit the signed external preview URL.
|
|
84
84
|
|
|
85
85
|
---
|
|
86
86
|
|