Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xjeffro/astroclaw
/ types & classes
Types & classes
189 in github.com/0xjeffro/astroclaw
⨍
Functions
765
◇
Types & classes
189
↓ 2 callers
TypeAlias
Role
Platform-level roles (app_system_users.role).
pkg/app/system/types.go:20
↓ 1 callers
Struct
WSEvent
WSEvent is a full state snapshot pushed to WebSocket clients on every update. Each push contains the complete current state of the agent's reply, so t
pkg/app/chat/ws.go:7
↓ 1 callers
TypeAlias
wsEventMsg
wsEventMsg wraps a WSEvent as a Bubble Tea message so it can be delivered to the Model's Update function via the event loop.
tui/ws.go:16
Class
deploy/aws/infra/lib/infra-stack.ts:17
Struct
AddMembershipParams
pkg/app/system/db/queries.sql.go:19
Struct
AddMemorySourceParams
pkg/app/notes/db/queries.sql.go:17
Struct
AddSessionAgentParams
pkg/app/chat/db/queries.sql.go:20
Struct
AddSessionMemberParams
pkg/app/chat/db/queries.sql.go:37
Struct
Agent
pkg/app/agents/types.go:14
Struct
Agent
pkg/agent/agent.go:10
Struct
Anthropic
pkg/provider/anthropic.go:17
Struct
AppAgentsProfile
pkg/app/agents/db/models.go:11
Struct
AppAgentsWorkspace
pkg/app/agents/db/models.go:21
Struct
AppChatMessage
pkg/app/chat/db/models.go:13
Struct
AppChatSession
pkg/app/chat/db/models.go:27
Struct
AppChatSessionAgent
pkg/app/chat/db/models.go:42
Struct
AppChatSessionMember
pkg/app/chat/db/models.go:48
Struct
AppNotesMemory
pkg/app/notes/db/models.go:11
Struct
AppNotesMemorySource
pkg/app/notes/db/models.go:20
Struct
AppPasswordsSystemCredential
pkg/app/passwords/db/models.go:11
Struct
AppPasswordsSystemDataKey
pkg/app/passwords/db/models.go:20
Struct
AppPasswordsUserCredential
pkg/app/passwords/db/models.go:26
Struct
AppPasswordsUserDataKey
pkg/app/passwords/db/models.go:36
Struct
AppPasswordsWorkspaceCredential
pkg/app/passwords/db/models.go:42
Struct
AppPasswordsWorkspaceDataKey
pkg/app/passwords/db/models.go:52
Struct
AppSettingsSystem
pkg/app/settings/db/models.go:11
Struct
AppSettingsUser
pkg/app/settings/db/models.go:17
Struct
AppSettingsWorkspace
pkg/app/settings/db/models.go:24
Struct
AppSkill
pkg/app/skills/db/models.go:11
Struct
AppSystemConnection
pkg/app/system/db/models.go:11
Struct
AppSystemUser
pkg/app/system/db/models.go:18
Struct
AppSystemUserPassword
pkg/app/system/db/models.go:27
Struct
AppSystemWorkspace
pkg/app/system/db/models.go:33
Struct
AppSystemWorkspaceMember
pkg/app/system/db/models.go:41
Struct
ArithmeticTool
pkg/tool/arithmetic.go:11
Struct
AttachAgentToWorkspaceParams
pkg/app/agents/db/queries.sql.go:17
FuncType
AuthFunc
AuthFunc extracts and verifies (userID, workspaceID) from an incoming WebSocket upgrade request. A non-nil error rejects the connection. Implementatio
pkg/cloud/wsbus/inprocess/handler.go:16
Interface
Bus
Bus sends a payload to exactly one WebSocket connection. Implementations may be remote (push via a managed gateway HTTP API) or local (write to a *we
pkg/cloud/wsbus/wsbus.go:31
Struct
Bus
Bus holds live WebSocket connections and implements wsbus.Bus. gorilla/websocket requires callers to serialize writes on a single connection, so every
pkg/cloud/wsbus/inprocess/bus.go:27
Struct
Bus
Bus pushes WebSocket payloads via AWS API Gateway's @connections HTTP side channel. Lambda cannot hold a persistent socket itself, so all pushes go th
pkg/cloud/wsbus/aws/bus.go:23
Struct
CharLimits
CharLimits controls truncation for each prompt section.
pkg/agent/prompt.go:88
Struct
Claims
pkg/auth/jwt.go:19
Struct
Client
Client talks to two astroclaw endpoints: the API Gateway base URL for short CRUD calls, and an optional reply URL for the Reply Lambda's Function URL
pkg/client/client.go:28
Struct
Connection
pkg/app/system/types.go:109
Struct
CreateAgentProfileParams
pkg/app/agents/db/queries.sql.go:33
Struct
CreateConnectionParams
pkg/app/system/db/queries.sql.go:37
Struct
CreateMemoryForUserParams
pkg/app/notes/db/queries.sql.go:33
Struct
CreateMessageParams
pkg/app/chat/db/queries.sql.go:54
Struct
CreateSessionParams
pkg/app/chat/db/queries.sql.go:99
Struct
CreateUserParams
pkg/app/system/db/queries.sql.go:60
Struct
Credential
Credential is the decrypted form of a stored credential.
pkg/app/passwords/types.go:20
Struct
CredentialMetadata
CredentialMetadata is what List endpoints return: no plaintext, no ciphertext, just the user-facing metadata.
pkg/app/passwords/types.go:30
Interface
DBTX
pkg/app/chat/db/db.go:14
Interface
DBTX
pkg/app/notes/db/db.go:14
Interface
DBTX
pkg/app/settings/db/db.go:14
Interface
DBTX
pkg/app/passwords/db/db.go:14
Interface
DBTX
pkg/app/system/db/db.go:14
Interface
DBTX
pkg/app/skills/db/db.go:14
Interface
DBTX
pkg/app/agents/db/db.go:14
Interface
DataKeyProvisioner
DataKeyProvisioner provisions an encryption data key for a newly created workspace or user, so the passwords app can later encrypt credentials scoped
pkg/app/system/service.go:27
Struct
DeleteSessionMemberParams
pkg/app/chat/db/queries.sql.go:143
Struct
DeleteUserCredentialParams
pkg/app/passwords/db/queries.sql.go:27
Struct
DeleteWorkspaceCredentialParams
pkg/app/passwords/db/queries.sql.go:42
Struct
DetachAgentFromWorkspaceParams
pkg/app/agents/db/queries.sql.go:59
Struct
DuckDuckGoProvider
DuckDuckGoProvider searches via DuckDuckGo's HTML endpoint. No API key required. Free but subject to rate limiting and bot detection.
pkg/tool/websearch/ddg.go:47
Struct
EditFileTool
pkg/tool/editfile.go:11
Struct
Event
Event and Result follow the CloudFormation Custom Resource protocol. CDK's Provider framework invokes this Lambda on stack Create, Update, and Delete.
deploy/aws/lambda/migrate/main.go:53
Struct
ExecCommandTool
pkg/tool/exec.go:21
Struct
GetAgentFromWorkspaceParams
pkg/app/agents/db/queries.sql.go:75
Struct
GetMembershipParams
pkg/app/system/db/queries.sql.go:172
Struct
GetSkillFromWorkspaceParams
pkg/app/skills/db/queries.sql.go:17
Struct
GetUserCredentialParams
pkg/app/passwords/db/queries.sql.go:90
Struct
GetUserSettingParams
pkg/app/settings/db/queries.sql.go:31
Struct
GetWorkspaceCredentialParams
pkg/app/passwords/db/queries.sql.go:130
Struct
GetWorkspaceSettingParams
pkg/app/settings/db/queries.sql.go:55
Class
InfraStack
deploy/aws/infra/lib/infra-stack.ts:17
Struct
InstallSkillParams
pkg/app/skills/db/queries.sql.go:46
Interface
KeyManager
KeyManager encrypts and decrypts byte slices using a master key that is managed by a cloud provider (e.g. AWS KMS) and never leaves it. We only use it
pkg/crypto/keymanager.go:25
Struct
ListMembersByWorkspaceRow
pkg/app/system/db/queries.sql.go:264
Struct
ListMemoriesByAgentAndUserParams
pkg/app/notes/db/queries.sql.go:107
Struct
ListRecentMemoriesByAgentAndUserParams
pkg/app/notes/db/queries.sql.go:146
Struct
ListSessionsByUserInWorkspaceParams
pkg/app/chat/db/queries.sql.go:273
Struct
ListSystemCredentialsRow
pkg/app/passwords/db/queries.sql.go:171
Struct
ListUserCredentialsRow
pkg/app/passwords/db/queries.sql.go:211
Struct
ListWorkspaceCredentialsRow
pkg/app/passwords/db/queries.sql.go:252
Struct
LoginResponse
LoginResponse is the body of a successful POST /login.
pkg/client/client.go:142
Struct
Membership
pkg/app/system/types.go:71
Struct
Memory
pkg/app/notes/types.go:9
Struct
MemorySaveTool
MemorySaveTool saves durable facts to persistent memory. The store, agentID, userID, and sessionID are injected when the tool is created, typically pe
pkg/tool/memory.go:17
Interface
MemoryStore
MemoryStore is the interface that MemorySaveTool needs to persist memories.
pkg/tool/memory.go:10
Struct
MemoryStoreAdapter
MemoryStoreAdapter wraps notes.Service to satisfy tool.MemoryStore interface.
pkg/app/notes/adapter.go:6
Struct
Message
pkg/app/chat/types.go:68
Struct
Message
Message represents a single message in the conversation history. Role determines the message type and how each Provider translates it: - "System": Sy
pkg/provider/provider.go:19
Struct
OpenAI
pkg/provider/openai.go:11
FuncType
Option
func(*Service)
pkg/app/system/service.go:38
Struct
Params
Params describes the input parameters used by the Argon2id algorithm. The Memory and Iterations parameters control the computational cost of hashing t
pkg/crypto/password.go:66
Struct
PromptConfig
PromptConfig holds the configurable parts of the system prompt. The caller reads these from the database and passes them in.
pkg/agent/prompt.go:80
Interface
Provider
pkg/provider/provider.go:49
Struct
Queries
pkg/app/chat/db/db.go:24
Struct
Queries
pkg/app/notes/db/db.go:24
next →
1–100 of 189, ranked by callers