@agenticmail/core 0.7.5 → 0.7.6
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/index.cjs +12 -0
- package/dist/index.js +12 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3604,6 +3604,18 @@ CREATE INDEX IF NOT EXISTS idx_pending_notification ON pending_outbound(notifica
|
|
|
3604
3604
|
-- Column is optional; NULL means "no schema, accept anything" (the
|
|
3605
3605
|
-- v0.8.x behaviour, fully back-compat).
|
|
3606
3606
|
ALTER TABLE agent_tasks ADD COLUMN output_schema TEXT;
|
|
3607
|
+
`,
|
|
3608
|
+
"015_draft_attachments.sql": `
|
|
3609
|
+
-- Persist attachments alongside their draft.
|
|
3610
|
+
--
|
|
3611
|
+
-- Stored as a JSON array on the row: each entry is
|
|
3612
|
+
-- { filename, contentType, content (base64), size }. The web UI
|
|
3613
|
+
-- cap is 20 MB total per draft, which SQLite handles fine without
|
|
3614
|
+
-- bloating other queries \u2014 the column is only fetched on the
|
|
3615
|
+
-- per-draft GET (not on the list endpoint) so the Drafts sidebar
|
|
3616
|
+
-- stays snappy. NULL means "no attachments", fully back-compat
|
|
3617
|
+
-- with rows from before this migration.
|
|
3618
|
+
ALTER TABLE drafts ADD COLUMN attachments TEXT;
|
|
3607
3619
|
`
|
|
3608
3620
|
};
|
|
3609
3621
|
function runMigrations(database) {
|
package/dist/index.js
CHANGED
|
@@ -2846,6 +2846,18 @@ CREATE INDEX IF NOT EXISTS idx_pending_notification ON pending_outbound(notifica
|
|
|
2846
2846
|
-- Column is optional; NULL means "no schema, accept anything" (the
|
|
2847
2847
|
-- v0.8.x behaviour, fully back-compat).
|
|
2848
2848
|
ALTER TABLE agent_tasks ADD COLUMN output_schema TEXT;
|
|
2849
|
+
`,
|
|
2850
|
+
"015_draft_attachments.sql": `
|
|
2851
|
+
-- Persist attachments alongside their draft.
|
|
2852
|
+
--
|
|
2853
|
+
-- Stored as a JSON array on the row: each entry is
|
|
2854
|
+
-- { filename, contentType, content (base64), size }. The web UI
|
|
2855
|
+
-- cap is 20 MB total per draft, which SQLite handles fine without
|
|
2856
|
+
-- bloating other queries \u2014 the column is only fetched on the
|
|
2857
|
+
-- per-draft GET (not on the list endpoint) so the Drafts sidebar
|
|
2858
|
+
-- stays snappy. NULL means "no attachments", fully back-compat
|
|
2859
|
+
-- with rows from before this migration.
|
|
2860
|
+
ALTER TABLE drafts ADD COLUMN attachments TEXT;
|
|
2849
2861
|
`
|
|
2850
2862
|
};
|
|
2851
2863
|
function runMigrations(database) {
|