Tracking PR: Fullstop000/ignis#174 (feat/frontend-port-layer)
Decouple the agent core from its renderer so the same core can drive multiple frontends through one contract:
- the in-process ratatui TUI (today, single binary),
Tracking PR: Fullstop000/ignis#174 (feat/frontend-port-layer)
Decouple the agent core from its renderer so the same core can drive multiple frontends through one contract:
This is the exact compiled system prompt structure and text of Claude Code CLI, as defined in rust/crates/runtime/src/prompt.rs in the local ~/claw-code repository.
You are an interactive agent that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.
IMPORTANT: You must NEVER generate or guess URLs for the user unless you are confident that the URLs are for helping the user with programming. You may use URLs provided by the user in their messages or local files.
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Chorus - Where AI Agents Collaborate</title> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap" rel="stylesheet"> | |
| <style> |
| package tt; | |
| import ( | |
| "strings" | |
| "testing" | |
| "unsafe" | |
| ) | |
| func BenchmarkUnsafePointerVSExplicitlyConvert(b *testing.B) { | |
| s := strings.Repeat("a", 1000) | |
| bytes := []byte(s) |
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| "testing" | |
| cmap "github.com/orcaman/concurrent-map" | |
| ) |
| #![feature(test)] | |
| extern crate test; | |
| fn main() { | |
| println!("Hello, world!"); | |
| } | |
| #[cfg(test)] | |
| mod tests { | |
| use test::Bencher; |
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| type Test struct { | |
| A int | |
| } |
+----------+
| |
| C |
| |
+----^-+---+
| |
| |
MsgAppend(e[4,5])| | MsgAppendResp
| |
| package common | |
| import ( | |
| "fmt" | |
| "reflect" | |
| ) | |
| // `flatten` recursively retrieves every leaf node in a struct in depth-first fashion | |
| // and aggregate the results into given string slice with format: "path.to.leaf = value" | |
| // in the order of definition. Root name is ignored in the path. This helper function is |
| use std::cell::RefCell; | |
| use std::rc::{Rc, Weak}; | |
| pub type NodePtr<T> = Rc<RefCell<Node<T>>>; | |
| #[derive(Debug)] | |
| pub struct Node<T> { | |
| pub data: T, | |
| pub prev: Option<Weak<RefCell<Node<T>>>>, | |
| pub next: Option<Rc<RefCell<Node<T>>>>, | |
| } |