internal/

directory
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: Apache-2.0

Directories

Path Synopsis
Package check runs aicoded check on the apps of a workspace: for each app, the precheck of the lint package, generate, the check of the snapshots it holds, the check of its schema-change draft, go build, go vet, the rules of the lint package and go test, with a test database for an app that declares sqldb.
Package check runs aicoded check on the apps of a workspace: for each app, the precheck of the lint package, generate, the check of the snapshots it holds, the check of its schema-change draft, go build, go vet, the rules of the lint package and go test, with a test database for an app that declares sqldb.
Package control is the control socket of aicoded dev: JSON over HTTP/1.1 on a Unix socket in the workspace's private state folder, through which aicoded mcp and a second aicoded dev reach the running one.
Package control is the control socket of aicoded dev: JSON over HTTP/1.1 on a Unix socket in the workspace's private state folder, through which aicoded mcp and a second aicoded dev reach the running one.
Package describe runs aicoded describe: a compact summary of what each app of a workspace serves, calls and may reach, from its permission list, of its surface, of what is out of date in it, of its local setup in dev.yaml, never a value of it, and, in JSON, of its pages and layouts.
Package describe runs aicoded describe: a compact summary of what each app of a workspace serves, calls and may reach, from its permission list, of its surface, of what is out of date in it, of its local setup in dev.yaml, never a value of it, and, in JSON, of its pages and layouts.
Package dev is the local runner behind aicoded dev: it builds an app, serves the runner protocol to it through the runner server, and fronts it with a gateway that stands in for the company login.
Package dev is the local runner behind aicoded dev: it builds an app, serves the runner protocol to it through the runner server, and fronts it with a gateway that stands in for the company login.
Package devapi holds what aicoded dev tells about the apps it runs, on its control socket and to aicoded mcp.
Package devapi holds what aicoded dev tells about the apps it runs, on its control socket and to aicoded mcp.
Package devconfig reads the developer's own settings for aicoded dev: ports, the apps' environment, personas, the local MySQL server and local values of settings and secrets.
Package devconfig reads the developer's own settings for aicoded dev: ports, the apps' environment, personas, the local MySQL server and local values of settings and secrets.
Package devui is the dev UI of aicoded dev: its pages, behind a front that lets in only the browser that opened the login link aicoded dev printed.
Package devui is the dev UI of aicoded dev: its pages, behind a front that lets in only the browser that opened the login link aicoded dev printed.
deps
Package deps is what the pages of the dev UI share: the workspace they show and change.
Package deps is what the pages of the dev UI share: the workspace they show and change.
fake
Package fake is a backend of the dev UI in memory, for the tests of its pages.
Package fake is a backend of the dev UI in memory, for the tests of its pages.
Package draft reads and checks an app's schema-change draft, .aicoded/migration.sql, for aicoded check.
Package draft reads and checks an app's schema-change draft, .aicoded/migration.sql, for aicoded check.
Package explain reads the docs built into aicoded: the error catalogue, the guides, the task recipes and the changelog for agents.
Package explain reads the docs built into aicoded: the error catalogue, the guides, the task recipes and the changelog for agents.
Package generate turns an app's pages/ folder into Go code, assets and live-page scripts.
Package generate turns an app's pages/ folder into Go code, assets and live-page scripts.
gobuf
Package gobuf builds Go source for generated page code.
Package gobuf builds Go source for generated page code.
template
Package template parses page templates (index.html) into nodes that write Go code.
Package template parses page templates (index.html) into nodes that write Go code.
template/htmlutils
Package htmlutils holds element sets of the HTML syntax.
Package htmlutils holds element sets of the HTML syntax.
Package gittest makes git repositories of apps for the tests of aicoded publish.
Package gittest makes git repositories of apps for the tests of aicoded publish.
Package gotool runs the go command on the developer's module.
Package gotool runs the go command on the developer's module.
Package l7runner is aicoded l7-runner, a hidden command that the delivery pipeline runs for the simulated attacks on one app:
Package l7runner is aicoded l7-runner, a hidden command that the delivery pipeline runs for the simulated attacks on one app:
Package mcp is aicoded mcp: the local MCP server through which an AI assistant creates, checks, previews, debugs and publishes the apps of one workspace, and reads their logs and traces on the platform.
Package mcp is aicoded mcp: the local MCP server through which an AI assistant creates, checks, previews, debugs and publishes the apps of one workspace, and reads their logs and traces on the platform.
Package migrations gathers the steps that aicoded dev and aicoded check apply to an app's database on the builder's computer: the migrations the app published, fetched from the platform and cached in .aicoded/migrations.json, then the statements of its draft, .aicoded/migration.sql, as steps of the publish "draft".
Package migrations gathers the steps that aicoded dev and aicoded check apply to an app's database on the builder's computer: the migrations the app published, fetched from the platform and cached in .aicoded/migrations.json, then the statements of its draft, .aicoded/migration.sql, as steps of the publish "draft".
Package platform signs a builder in to the aicoded platform and keeps the sign-in: aicoded login, logout and whoami, and the token that other commands send to the platform.
Package platform signs a builder in to the aicoded platform and keeps the sign-in: aicoded login, logout and whoami, and the token that other commands send to the platform.
platformtest
Package platformtest fakes the platform on 127.0.0.1, for the tests of aicoded: its sign-in, token, revocation and whoami endpoints, and the builder API that aicoded publish, status, logs, traces, preview and release call.
Package platformtest fakes the platform on 127.0.0.1, for the tests of aicoded: its sign-in, token, revocation and whoami endpoints, and the builder API that aicoded publish, status, logs, traces, preview and release call.
Package problem is the form in which aicoded check, describe, dev and mcp show coded errors, in text and in JSON.
Package problem is the form in which aicoded check, describe, dev and mcp show coded errors, in text and in JSON.
Package publish is aicoded publish and aicoded status: it checks a commit of an app, sends it to the platform's delivery pipeline as a git bundle, and reads the outcome.
Package publish is aicoded publish and aicoded status: it checks a commit of an app, sends it to the platform's delivery pipeline as a git bundle, and reads the outcome.
Package rpcadd lets an app call the functions of another app of its workspace.
Package rpcadd lets an app call the functions of another app of its workspace.
Package rpcgen reads the rpc/ package of an app and writes the Go code of calls between apps: the codec and method table of the app that serves the functions, and the clients of the apps that call them.
Package rpcgen reads the rpc/ package of an app and writes the Go code of calls between apps: the codec and method table of the app that serves the functions, and the clients of the apps that call them.
Package rpcschema is the schema snapshot of the functions an app serves to other apps: the input and output type of each function, and the number each field of those types has on the wire.
Package rpcschema is the schema snapshot of the functions an app serves to other apps: the input and output type of each function, and the number each field of those types has on the wire.
Package scaffold creates new apps.
Package scaffold creates new apps.
Package surface computes an app's surface, its size: the larger of the number of its entry points and the number of its effects.
Package surface computes an app's surface, its size: the larger of the number of its entry points and the number of its effects.
Package testhome gives a test a home folder of its own, so that it never reads or writes the user's dev.yaml or the state of their aicoded dev.
Package testhome gives a test a home folder of its own, so that it never reads or writes the user's dev.yaml or the state of their aicoded dev.
Package watch reports the files that change below a folder, a burst of changes at a time.
Package watch reports the files that change below a folder, a burst of changes at a time.
Package workspace finds the apps of a workspace: the folders under its root that hold a permission list.
Package workspace finds the apps of a workspace: the folders under its root that hold a permission list.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL