feat(agent): restack Maple on master#167
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
e90f3bf to
2289257
Compare
0bd4a8c to
93e359c
Compare
9b27a46 to
db0e758
Compare
Introduce the encrypted embedding storage and retrieval primitives on top of the existing schema so later agent features can build on a stable RAG base. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Introduce the main Maple agent runtime, persistence models, and hidden backing conversation flow so the restacked branch has a working end-to-end agent foundation on top of the new schema. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Expand Maple with paginated history and reset controls, Brave-backed web search, and encrypted mobile push delivery so the runtime can surface richer results and notify clients off-thread. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> fix(push): avoid FCM and Tinfoil router 0 bind conflict Move FCM onto its own loopback IP so the push and Tinfoil router forwarders can both bind cleanly on agent-rewrite. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Switch Maple creation from implicit lazy bootstrapping to an explicit init flow that seeds onboarding messages and stores user locale and timezone hints for later agent runs. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Add background Maple wakeups with durable leases and retry handling, and let the agent update validated user preferences that can influence schedule timing and future replies. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Let Maple store lightweight reply reactions and require persisted message identifiers in its SSE flow so clients can reconcile streamed output with durable conversation state. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
|
Nitro parent-side docs gap from this branch: Branch-specific mappings currently in
This is separate from the Intel PCS fix, which is now on |
db0e758 to
fa674cb
Compare
aba1afb to
3050da6
Compare
|
|
||
| let salt = generate_random::<32>(); | ||
| let hkdf = Hkdf::<Sha256>::new(Some(&salt), shared_secret.raw_secret_bytes().as_slice()); | ||
| let mut key = [0_u8; 32]; |
| ephemeral_public.as_affine(), | ||
| ); | ||
| let hkdf = Hkdf::<Sha256>::new(Some(&salt), shared_secret.raw_secret_bytes().as_slice()); | ||
| let mut key = [0_u8; 32]; |
| let body = build_fcm_payload(event, push_token, preview_payload); | ||
| let response = transport | ||
| .client | ||
| .post(format!( |
Summary
masteras a clean 6-commit seriesdocs/andinternal_docs/out of this branch while keeping the code path near-identical toagentsCommit stack
feat(rag): add encrypted embeddings foundationfeat(agent): add core Maple runtime and persistencefeat(agent): add history, Brave search, and push deliveryfeat(agent): add explicit main-agent onboardingfeat(agent): add schedules and preference toolsfeat(agent): add emoji reactions and persisted SSE idsValidation
cargo fmt --all -- --checkcargo clippy --all-targets --all-features -- -D warningscargo test --all-featuresNotes
agentswork.agentsare intentionally limited to omitted docs/internal docs, PCR JSON drift, joinable ordering insrc/models/schema.rs, and#[allow(dead_code)]oninsert_message_embeddinginsrc/rag.rs.