juglans 0.2.13

Compiler and runtime for Juglans Workflow Language
// src/templates.rs

use include_dir::{include_dir, Dir};

// Added [server] and workspace resource configuration sections
pub const TPL_TOML: &str = r#"[account]
id = "u_demo"
name = "Demo User"
role = "admin"
api_key = ""

[workspace]
id = "ws_default"
name = "My Workspace"
members = ["u_demo"]

# Resource paths (glob patterns supported)
workflows = ["workflows/**/*.jg"]
prompts = ["prompts/**/*.jgx"]
tools = ["tools/**/*.json"]

# Exclude patterns
exclude = [
  "**/*.backup",
  "**/.draft",
  "**/test_*"
]

[server]
host = "127.0.0.1"
port = 3000

# [paths]
# Enable @ path alias for imports (e.g. "@/prompts/*.jgx")
# @ resolves to {project_root}/{base}
# base = "."

[env]
DEBUG = "true"
"#;

pub static PROJECT_TEMPLATE_DIR: Dir = include_dir!("$CARGO_MANIFEST_DIR/examples");
pub static DOCS_DIR: Dir = include_dir!("$CARGO_MANIFEST_DIR/docs");