feat: add api key auth, devii agent, openai gateway, and admin service management
This commit introduces a comprehensive set of new features including API key authentication with CLI management commands (get, reset, backfill), a Devii agentic assistant with WebSocket terminal and session bootstrap, an OpenAI-compatible LLM gateway service, and an admin service management panel. It also adds Playwright browser automation for bot support, configures internal gateway URLs, refactors content editing/deletion to support JSON API responses, and updates documentation across AGENTS.md, README.md, and the developer docs site.
2026-06-08 17:38:33 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
{% block extra_head %}
|
2026-06-14 02:16:22 +02:00
|
|
|
<link rel="stylesheet" href="{{ static_url('/static/css/sidebar.css') }}">
|
|
|
|
|
<link rel="stylesheet" href="{{ static_url('/static/css/docs.css') }}">
|
|
|
|
|
<link rel="stylesheet" href="{{ static_url('/static/css/components-docs.css') }}">
|
feat: add api key auth, devii agent, openai gateway, and admin service management
This commit introduces a comprehensive set of new features including API key authentication with CLI management commands (get, reset, backfill), a Devii agentic assistant with WebSocket terminal and session bootstrap, an OpenAI-compatible LLM gateway service, and an admin service management panel. It also adds Playwright browser automation for bot support, configures internal gateway URLs, refactors content editing/deletion to support JSON API responses, and updates documentation across AGENTS.md, README.md, and the developer docs site.
2026-06-08 17:38:33 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
{% block content %}
|
|
|
|
|
<script>window.DEVPLACE_DOCS = {{ {
|
|
|
|
|
"base": base,
|
|
|
|
|
"loggedIn": user is not none,
|
|
|
|
|
"username": (user.get('username') if user else ''),
|
|
|
|
|
"apiKey": (user.get('api_key') if user else ''),
|
|
|
|
|
"isAdmin": is_admin(user)
|
|
|
|
|
} | tojson | safe }};</script>
|
|
|
|
|
<div class="docs-layout">
|
2026-06-19 10:06:09 +02:00
|
|
|
<aside class="sidebar-card" role="navigation" aria-label="Documentation">
|
|
|
|
|
<div class="sidebar-heading" role="heading" aria-level="2">Documentation</div>
|
feat: add api key auth, devii agent, openai gateway, and admin service management
This commit introduces a comprehensive set of new features including API key authentication with CLI management commands (get, reset, backfill), a Devii agentic assistant with WebSocket terminal and session bootstrap, an OpenAI-compatible LLM gateway service, and an admin service management panel. It also adds Playwright browser automation for bot support, configures internal gateway URLs, refactors content editing/deletion to support JSON API responses, and updates documentation across AGENTS.md, README.md, and the developer docs site.
2026-06-08 17:38:33 +02:00
|
|
|
<form class="docs-search-form" method="get" action="/docs/search.html" role="search">
|
|
|
|
|
<input type="search" name="q" value="{{ search_query|default('', true) }}" placeholder="Search docs…" aria-label="Search documentation" class="docs-search-input">
|
|
|
|
|
</form>
|
|
|
|
|
<div class="sidebar-nav">
|
|
|
|
|
<a href="/docs/search.html" class="sidebar-link {% if current == 'search' %}active{% endif %}">
|
|
|
|
|
<span class="icon">🔍</span>
|
|
|
|
|
Search
|
|
|
|
|
</a>
|
2026-06-13 20:34:47 +02:00
|
|
|
{% for audience, tiers in nav %}
|
2026-06-19 10:06:09 +02:00
|
|
|
<div class="sidebar-heading sidebar-tier" role="heading" aria-level="2">{{ audience }}</div>
|
2026-06-13 20:34:47 +02:00
|
|
|
{% for section, section_pages in tiers %}
|
2026-06-19 10:06:09 +02:00
|
|
|
<div class="sidebar-heading sidebar-subheading" role="heading" aria-level="3">{{ section }}</div>
|
2026-06-13 20:34:47 +02:00
|
|
|
{% for p in section_pages %}
|
|
|
|
|
<a href="/docs/{{ p.slug }}.html" class="sidebar-link sidebar-link-nested {% if p.slug == current %}active{% endif %}">
|
feat: add api key auth, devii agent, openai gateway, and admin service management
This commit introduces a comprehensive set of new features including API key authentication with CLI management commands (get, reset, backfill), a Devii agentic assistant with WebSocket terminal and session bootstrap, an OpenAI-compatible LLM gateway service, and an admin service management panel. It also adds Playwright browser automation for bot support, configures internal gateway URLs, refactors content editing/deletion to support JSON API responses, and updates documentation across AGENTS.md, README.md, and the developer docs site.
2026-06-08 17:38:33 +02:00
|
|
|
<span class="icon">📘</span>
|
|
|
|
|
{{ p.title }}
|
|
|
|
|
</a>
|
|
|
|
|
{% endfor %}
|
2026-06-13 20:34:47 +02:00
|
|
|
{% endfor %}
|
|
|
|
|
{% endfor %}
|
feat: add api key auth, devii agent, openai gateway, and admin service management
This commit introduces a comprehensive set of new features including API key authentication with CLI management commands (get, reset, backfill), a Devii agentic assistant with WebSocket terminal and session bootstrap, an OpenAI-compatible LLM gateway service, and an admin service management panel. It also adds Playwright browser automation for bot support, configures internal gateway URLs, refactors content editing/deletion to support JSON API responses, and updates documentation across AGENTS.md, README.md, and the developer docs site.
2026-06-08 17:38:33 +02:00
|
|
|
</div>
|
2026-06-19 10:06:09 +02:00
|
|
|
<div class="sidebar-heading docs-download-heading" role="heading" aria-level="2">Download</div>
|
feat: add api key auth, devii agent, openai gateway, and admin service management
This commit introduces a comprehensive set of new features including API key authentication with CLI management commands (get, reset, backfill), a Devii agentic assistant with WebSocket terminal and session bootstrap, an OpenAI-compatible LLM gateway service, and an admin service management panel. It also adds Playwright browser automation for bot support, configures internal gateway URLs, refactors content editing/deletion to support JSON API responses, and updates documentation across AGENTS.md, README.md, and the developer docs site.
2026-06-08 17:38:33 +02:00
|
|
|
<div class="sidebar-nav">
|
|
|
|
|
<a href="/docs/download.html" class="sidebar-link"><span class="icon">📥</span> Single HTML</a>
|
|
|
|
|
<a href="/docs/download.md" class="sidebar-link"><span class="icon">📝</span> Markdown</a>
|
|
|
|
|
</div>
|
|
|
|
|
</aside>
|
|
|
|
|
<article class="docs-main">
|
|
|
|
|
{% if kind == 'search' %}
|
2026-06-13 23:37:13 +02:00
|
|
|
{% if search_mode == 'agent' %}
|
|
|
|
|
{% include "docs/_chat.html" %}
|
|
|
|
|
{% else %}
|
|
|
|
|
{% include "docs/_search.html" %}
|
|
|
|
|
{% endif %}
|
feat: add api key auth, devii agent, openai gateway, and admin service management
This commit introduces a comprehensive set of new features including API key authentication with CLI management commands (get, reset, backfill), a Devii agentic assistant with WebSocket terminal and session bootstrap, an OpenAI-compatible LLM gateway service, and an admin service management panel. It also adds Playwright browser automation for bot support, configures internal gateway URLs, refactors content editing/deletion to support JSON API responses, and updates documentation across AGENTS.md, README.md, and the developer docs site.
2026-06-08 17:38:33 +02:00
|
|
|
{% elif kind == 'api' %}
|
|
|
|
|
{% include "docs/_api_page.html" %}
|
feat: add project file system with CRUD, upload, inline editing, and video attachment support
- Add new `/projects/{slug}/files` endpoint group for per-project filesystem operations including directory and file CRUD, upload, and inline editing with public read and owner write access
- Extend attachment system to support video formats (webm, ogv, mov, m4v) with proper file icons and MIME types
- Implement configurable allowed file types via `allowed_file_types` site setting, replacing hardcoded `ALLOWED_UPLOAD_TYPES` with dynamic `allowed_extensions()` and `is_extension_allowed()` functions
- Add `delete_all_project_files()` call in `delete_content_item()` to clean up project files when a project is deleted
- Create database indexes on `project_files` table for `(project_uid, path)` and `(project_uid, parent_path)` to optimize file lookups
- Introduce `docs_prose.py` module with `render_prose()` function that renders Markdown content inside `data-render` divs using mistune, enabling dynamic prose rendering in documentation pages
- Enhance docs search with Markdown-aware text stripping (`_demarkdown()`) and improved HTML/script/style sanitization for better search indexing
- Update documentation API samples to reflect new attachment response fields (`is_image`, `is_video`, `mime_type`) and note video format support
- Update README to document the new project files endpoint and clarify AI gateway attribution for guest Devii sessions
2026-06-08 22:51:09 +02:00
|
|
|
{% elif prose_html %}
|
|
|
|
|
{{ prose_html | safe }}
|
feat: add api key auth, devii agent, openai gateway, and admin service management
This commit introduces a comprehensive set of new features including API key authentication with CLI management commands (get, reset, backfill), a Devii agentic assistant with WebSocket terminal and session bootstrap, an OpenAI-compatible LLM gateway service, and an admin service management panel. It also adds Playwright browser automation for bot support, configures internal gateway URLs, refactors content editing/deletion to support JSON API responses, and updates documentation across AGENTS.md, README.md, and the developer docs site.
2026-06-08 17:38:33 +02:00
|
|
|
{% else %}
|
|
|
|
|
{% include "docs/" ~ current ~ ".html" %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
{% block extra_js %}
|
2026-06-14 02:16:22 +02:00
|
|
|
<script type="module" src="{{ static_url('/static/js/ApiDocs.js') }}"></script>
|
feat: add api key auth, devii agent, openai gateway, and admin service management
This commit introduces a comprehensive set of new features including API key authentication with CLI management commands (get, reset, backfill), a Devii agentic assistant with WebSocket terminal and session bootstrap, an OpenAI-compatible LLM gateway service, and an admin service management panel. It also adds Playwright browser automation for bot support, configures internal gateway URLs, refactors content editing/deletion to support JSON API responses, and updates documentation across AGENTS.md, README.md, and the developer docs site.
2026-06-08 17:38:33 +02:00
|
|
|
{% endblock %}
|