feat: add psagentai agent with deployment and configuration
Initial project setup including the main agent script, configuration files, profile JSON state, systemd service unit, startup script, deployment documentation, and Python dependencies. Includes .env, venv/, and __pycache__/ which should likely be excluded via .gitignore to avoid committing secrets and artifacts.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
from lxml.includes.tree cimport xmlDoc, xmlNode
|
||||
|
||||
cdef extern from "libxml/xinclude.h" nogil:
|
||||
|
||||
ctypedef struct xmlXIncludeCtxt
|
||||
|
||||
cdef int xmlXIncludeProcess(xmlDoc* doc)
|
||||
cdef int xmlXIncludeProcessFlags(xmlDoc* doc, int parser_opts)
|
||||
cdef int xmlXIncludeProcessTree(xmlNode* doc)
|
||||
cdef int xmlXIncludeProcessTreeFlags(xmlNode* doc, int parser_opts)
|
||||
|
||||
# libxml2 >= 2.7.4
|
||||
cdef int xmlXIncludeProcessTreeFlagsData(
|
||||
xmlNode* doc, int parser_opts, void* data)
|
||||
|
||||
cdef xmlXIncludeCtxt* xmlXIncludeNewContext(xmlDoc* doc)
|
||||
cdef int xmlXIncludeProcessNode(xmlXIncludeCtxt* ctxt, xmlNode* node)
|
||||
cdef int xmlXIncludeSetFlags(xmlXIncludeCtxt* ctxt, int flags)
|
||||
|
||||
# libxml2 >= 2.6.27
|
||||
cdef int xmlXIncludeProcessFlagsData(
|
||||
xmlDoc* doc, int flags, void* data)
|
||||
Reference in New Issue
Block a user