Expand description
Architect HTTP request, preview, editor, and export handlers.
StructsΒ§
- Architect
LlmVendor πState - Architect
Preview πSources - Source files sharing one byte-identical logical editor unit.
EnumsΒ§
- Architect
Task πAction Kind - Identifies which task-card action is being guarded by validation state.
ConstantsΒ§
- ARCHITECT_
PREVIEW_ πHISTORY_ FILES - ARCHITECT_
PREVIEW_ πHISTORY_ LIMIT - ARCHITECT_
PREVIEW_ πHISTORY_ MAX_ BYTES - ARCHITECT_
PREVIEW_ πLEGACY_ HISTORY_ PATH
FunctionsΒ§
- add_
architect_ πedit_ toolbar - architect_
account_ πlevel - architect_
apply_ πeditor_ source_ edit_ response - architect_
apply_ πpreview_ edit_ response - architect_
apply_ πpreview_ history_ edit - Applies one undo or redo operation to the generated preview source files.
- architect_
apply_ πpreview_ move_ from_ view - Moves source units using the transactionβs checked base inventory, avoiding a second media scan.
- architect_
apply_ πpreview_ style_ edit - architect_
apply_ πpreview_ unit_ edit - Deletes or duplicates a selected unit in its owning source fragment.
- architect_
approve_ πapply_ plan_ response - architect_
attachment_ πmedia_ type - architect_
audio_ πtranscription_ multipart - Builds a bounded multipart/form-data payload for external LLM vendor audio transcription.
- architect_
auto_ πbuild_ task_ response - architect_
commit_ πpreview_ edit - Serializes preview changes and preserves accepted snapshots on promotion failure.
- architect_
configure_ πllm_ vendor_ connection - Saves validated non-secret LLM vendor settings through the selected database adapter.
- architect_
configure_ πllm_ vendor_ connection_ response - architect_
configure_ πpreview_ media - Configures only a materialized artifact to use stable, isolated preview media storage.
- architect_
copy_ πvalidated_ preview_ artifact - Places a validated build at the artifact cache path used by one generated preview root.
- architect_
create_ πuser - Creates an Architect account through one logical database transaction.
- architect_
create_ πuser_ response - architect_
current_ πeditor_ preview_ root - Resolves the current editor source from logical task and version records.
- architect_
current_ πeditor_ version_ id_ for_ task - Uses the same validated accepted version for editing as preview rendering, regardless of retry state.
- architect_
database_ πstorage_ for_ app - Resolves the configured adapter and the Architect entities needed by one route.
- architect_
delete_ πeditor_ project_ response - architect_
delete_ πtask_ response - architect_
delete_ πuser_ response - Deletes another account through the logical contract and revokes cached access.
- architect_
download_ πsource_ export_ response - architect_
duplicate_ πeditor_ project_ response - architect_
editor_ πpanel_ response - architect_
editor_ πpreview_ workspace - architect_
empty_ πpreview_ overrides_ json - architect_
export_ πdiagnostic_ response - architect_
form_ πtext - architect_
fragment_ πhtml - architect_
generated_ πapp_ preview_ response - architect_
generated_ πpreview_ app_ runtime - architect_
generated_ πpreview_ static_ response - architect_
generated_ πsource_ root - architect_
guard_ πpreview_ actions - architect_
guard_ πtask_ action_ anchors - Replaces task-card action anchors with inert declarative placeholders until the task state allows the action.
- architect_
import_ πsource_ app_ project_ response - architect_
import_ πsource_ app_ roots - architect_
invalidate_ πpreview_ artifact - Removes only a failed derived cacheβs readiness marker so the next request rebuilds from accepted source.
- architect_
llm_ πvendor_ connection_ request - architect_
llm_ πvendor_ state_ in_ store - Reads one LLM vendor record from the configured Architect database.
- architect_
manage_ πusers_ allowed_ response - architect_
mark_ πllm_ vendor_ secret_ saved - Marks encrypted LLM vendor credentials ready for a connection test.
- architect_
materialized_ πpreview_ root - architect_
media_ πroot - Resolves Architect attachments and preview images through its independent media configuration.
- architect_
parse_ πtranscription_ text - Extracts the transcript text field from an OpenAI-compatible audio transcription response.
- architect_
prepare_ πcsv_ page_ bindings - Applies explicit CSV/page/image requests through the ordinary owner-checked source transaction.
- architect_
prepare_ πeditor_ source_ edit_ response - architect_
prepare_ πeditor_ structured_ edit_ response - architect_
prepare_ πpreview_ database - architect_
prepare_ πsource_ bundle - Stages a bounded multi-file source transaction for an owned editable project. New declarations and their templates can therefore be validated and promoted together.
- architect_
prepare_ πvalidated_ generated_ preview - architect_
prepared_ πpreview_ root_ if_ ready - architect_
preview_ πartifact_ lock - Shares a build lock only while requests are preparing the same editable preview artifact.
- architect_
preview_ πartifact_ ready - architect_
preview_ πartifact_ root - architect_
preview_ πbody_ content_ start - Locates the end of a document body opening tag; partial app fragments have no host toolbar.
- architect_
preview_ πdefault_ file_ content - Returns the empty on-disk value used when a preview file has not been created yet.
- architect_
preview_ πedit_ error_ response - architect_
preview_ πedit_ mapping - architect_
preview_ πelement_ template - architect_
preview_ πfile_ snapshot - Captures the editable preview files that participate in one undo history entry.
- architect_
preview_ πhistory_ path - Resolves the generated-source-local history file for an Architect preview version.
- architect_
preview_ πhome_ route - Resolves the default View link to the declared home page without changing explicit nested paths.
- architect_
preview_ πimage_ content_ type - architect_
preview_ πimage_ media_ path - architect_
preview_ πimage_ response - architect_
preview_ πmove_ sources_ from_ view - Uses a declared page template to disambiguate source keys shared by different pages.
- architect_
preview_ πoverrides_ json - architect_
preview_ πprivate_ asset_ response - Serves entitlement-authorized preview downloads through the normal private-asset boundary.
- architect_
preview_ πquery_ target - Forwards bounded app filters while retaining Architect preview selection as outer routing authority.
- architect_
preview_ πredirect_ location - Keeps redirects within the selected app preview without absorbing another app or origin.
- architect_
preview_ πscript_ json_ text - architect_
preview_ πselected_ source - Resolves shared alias declarations while rejecting conflicting cross-file identities.
- architect_
preview_ πsource_ is_ newer_ than_ artifact - architect_
preview_ πsources_ from_ view - Reads bounded source units inside one accepted app root before planning any writes.
- architect_
preview_ πsources_ with_ template - Resolves shared units together, using a known template only for conflicting page declarations.
- architect_
queue_ πtranscribed_ task_ in_ store - Queues an accepted voice transcript as one guarded task transaction.
- architect_
read_ πimage_ asset_ response - Serves a task-owned image asset without requiring a generated app or invoking extraction.
- architect_
read_ πpreview_ history - Loads preview edit history and falls back to an empty bounded history on stale data.
- architect_
ready_ πpreview_ asset_ root - Serves public files from an accepted fresh artifact without repeating database migrations or account preparation.
- architect_
record_ πpreview_ undo_ snapshot - Records the current preview source before a mutating edit and clears redo state.
- architect_
record_ πpreview_ undo_ snapshot_ from_ view - Captures undo content from the base inventory already validated for this editor operation.
- architect_
rename_ πeditor_ project_ response - architect_
restore_ πpreview_ snapshot - Restores all source files captured in a single preview undo or redo snapshot.
- architect_
revoke_ πllm_ vendor_ connection - Revokes LLM vendor routing and records its vault audit in one logical transaction.
- architect_
revoke_ πllm_ vendor_ connection_ response - architect_
rollback_ πeditor_ version_ response - architect_
rotate_ πllm_ vendor_ secret_ response - architect_
set_ πuser_ password - architect_
set_ πuser_ password_ response - architect_
settings_ πaccess_ denied_ response - architect_
settings_ πreview_ response - architect_
source_ πbundle_ json_ to_ tar - Converts an Architect JSON source bundle into the same tar format used by task downloads.
- architect_
source_ πtar_ archive - Builds a deterministic tar archive from one generated Architect app source tree.
- architect_
stage_ πpreview_ only_ successor - Carries a checked, patched preview artifact into its immediate accepted successor without recompiling contracts. Only visual preview transactions use this path; source/model/contract changes retain their full build gate.
- architect_
stage_ πvalidated_ preview_ artifact - Reuses the artifact that passed the editor gate for the new versionβs first preview request.
- architect_
state_ πparent - architect_
storage_ πref_ path - Converts an Architect storage reference into a safe relative path below the configured storage root.
- architect_
submit_ πbuiltin_ task_ response - architect_
sync_ πeditor_ preview_ config - Gives an editor version the same backend and isolated data namespace as its validated task.
- architect_
task_ πactor_ allowed_ response - Checks console task actions against the authenticated submitter or legacy project creator.
- architect_
task_ πconsole_ response - architect_
task_ πis_ validated - architect_
task_ πllm_ vendor_ in_ store - Reads the vendor selected for a task without physical backend queries.
- architect_
task_ πstore_ for_ app - Opens the Architect task store through the configured logical database contract.
- architect_
test_ πllm_ vendor_ connection - architect_
test_ πllm_ vendor_ connection_ response - architect_
transcribe_ πaudio_ attachment_ and_ queue - Sends a saved Architect audio attachment to a tested external LLM vendor and queues the transcribed task brief.
- architect_
trim_ πpreview_ history - Retains the newest history entries with one linear compaction.
- architect_
update_ πllm_ vendor_ activation_ status - Saves bounded connection-test status through the configured database adapter.
- architect_
update_ πuser - Updates Architect activation and role through one logical transaction.
- architect_
update_ πuser_ response - architect_
upload_ πattachment_ response - architect_
upload_ πpreview_ image_ response - architect_
upload_ πtranscript_ response - architect_
user_ πstorage - Resolves the configured database and typed Architect account declarations.
- architect_
valid_ πemail - architect_
valid_ πusername - architect_
validated_ πtask_ preview_ info - Resolves preview workspace metadata through the configured Architect store.
- architect_
vault_ πpaths - architect_
view_ πeditor_ source_ file_ response - architect_
write_ πpreview_ history - Persists the bounded preview edit history beside the generated source files.
- architect_
write_ πpreview_ source_ file - ensure_
architect_ πroot_ key - http_
inline_ πbinary_ response - request_
query_ πvalue - rewrite_
architect_ πgenerated_ preview_ css_ urls - rewrite_
architect_ πgenerated_ preview_ forms - rewrite_
architect_ πgenerated_ preview_ response - rewrite_
architect_ πgenerated_ preview_ urls