Skip to content

docs: add JSX preview + Frappe integration research#151

Closed
esafwan wants to merge 2 commits into
developfrom
claude/jsx-frappe-integration-research-WWeIC
Closed

docs: add JSX preview + Frappe integration research#151
esafwan wants to merge 2 commits into
developfrom
claude/jsx-frappe-integration-research-WWeIC

Conversation

@esafwan
Copy link
Copy Markdown
Contributor

@esafwan esafwan commented Feb 18, 2026

Covers four key questions:

  • Whether current JSX preview can make Frappe API calls (yes, with bindings)
  • Recommended pattern for passing curated functions to LLM (jsxFrappeApi + DataLoader)
  • Security considerations (exfiltration, CSRF, XSS, rate limits)
  • Multi-file JSX support analysis (not recommended; single-string approach is sufficient)

https://claude.ai/code/session_013TFdNbhqTC2DqGmjbJNQtF

Covers four key questions:
- Whether current JSX preview can make Frappe API calls (yes, with bindings)
- Recommended pattern for passing curated functions to LLM (jsxFrappeApi + DataLoader)
- Security considerations (exfiltration, CSRF, XSS, rate limits)
- Multi-file JSX support analysis (not recommended; single-string approach is sufficient)

https://claude.ai/code/session_013TFdNbhqTC2DqGmjbJNQtF
…viders

Introduces the huf_agent_functions pattern for registering Python
callables that wrap multiple Frappe calls for specific agents, without
needing a DB sync step or Agent Tool Function DocType record.

Covers:
- When to use this vs huf_tools / Agent Tool Function DocType
- How to write a provider function (typing, docstring, return conventions)
- Registration in hooks.py (per-agent and "*" wildcard targeting)
- Internal loading mechanism (importlib + function_tool wrapping)
- Decision table: huf_tools vs huf_agent_functions vs agent module field
- Security considerations (session user, permission checks)
- Future escape hatch: Agent-level function_module field for site admins

https://claude.ai/code/session_013TFdNbhqTC2DqGmjbJNQtF
@shzdb shzdb closed this Mar 2, 2026
@Sanjusha-tridz Sanjusha-tridz deleted the claude/jsx-frappe-integration-research-WWeIC branch March 3, 2026 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants