mirror of
https://github.com/hanzoai/agent.git
synced 2026-09-11 21:08:51 +00:00
Consolidate all Hanzo agent infrastructure into one repo: - control-plane/: Go control plane server (was agents-new) - sdk/: Go, Python, TypeScript SDKs - deployments/: Docker, Kubernetes, Helm configs - Dockerfile.sdk: Python SDK image (ghcr.io/hanzoai/agent:latest) - CI builds both SDK + control-plane images No more agentfield — everything is hanzoai/agent.
22 lines
752 B
SQL
22 lines
752 B
SQL
-- +goose Up
|
|
-- +goose StatementBegin
|
|
CREATE TABLE IF NOT EXISTS observability_webhooks (
|
|
id TEXT PRIMARY KEY DEFAULT 'global',
|
|
url TEXT NOT NULL,
|
|
secret TEXT,
|
|
headers JSONB DEFAULT '{}',
|
|
enabled BOOLEAN NOT NULL DEFAULT true,
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
|
|
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
|
|
);
|
|
|
|
-- Ensure only one row exists (singleton pattern with id='global')
|
|
CREATE UNIQUE INDEX IF NOT EXISTS idx_observability_webhooks_singleton ON observability_webhooks((id IS NOT NULL));
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
DROP INDEX IF EXISTS idx_observability_webhooks_singleton;
|
|
DROP TABLE IF EXISTS observability_webhooks;
|
|
-- +goose StatementEnd
|