From b1098ccc5891242b373bb992c08b50bb7bc1630e Mon Sep 17 00:00:00 2001 From: Mark Turansky Date: Mon, 11 May 2026 16:20:51 +0000 Subject: [PATCH 1/7] spec(api): reconcile ambient-model spec against implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Spec reconciliation run against components/ambient-api-server. Fixes stale spec entries, removes a phantom OpenAPI field, and drops an unused DB column. Spec changes (specs/api/ambient-model.spec.md): - Status: Active (was "Proposed — Pending Consensus") - Agent ERD: added 12 undocumented fields (parent_agent_id, owner_user_id, display_name, description, repo_url, workflow_id, llm_model, llm_temperature, llm_max_tokens, bot_account_name, resource_overrides, environment_variables); documented ignite_handler propagation to Session - ScheduledSession ERD: added timeout, inactivity_timeout, stop_on_run_finished, runner_type - Session field types: int → int32 for llm_max_tokens, timeout, sdk_restart_count - Ignite Response example: triggered_by_user_id → created_by_user_id - Credentials: document scoping gap (impl=project-scoped, spec=global); added vertex to provider enum table; CLI table updated to ✅ project-scoped - RBAC endpoints: added GET/{id} and PATCH/{id} for role_bindings as ✅; added 4 scoped role_binding query endpoints as 🔲 - Coverage matrix: credentials, RBAC full CRUD, project update all ✅ - CLI reference: project update ✅; RBAC list/get/delete ✅ - CLI Known Gaps: removed now-implemented items; added credential bind gap - Agent section prose: full field table with all 15 fields OpenAPI changes (components/ambient-api-server/openapi/): - openapi.credentials.yaml: added vertex to provider enum - openapi.projects.yaml: removed display_name property - openapi.sessions.yaml: removed triggered_by_user_id (phantom field — never existed in model.go) Code changes (components/ambient-api-server/plugins/projects/): - model.go: removed DisplayName from Project and ProjectPatchRequest - grpc_handler.go: removed DisplayName from create/update handlers - grpc_presenter.go: removed DisplayName from projectToProto() - migration.go: added dropDisplayNameMigration() (ID 202505090001) - plugin.go: registered new drop-column migration - factory_test.go: removed DisplayName from test factory - grpc_integration_test.go: removed display_name test assertions - plugins/projectSettings/factory_test.go: removed stale DisplayName Workflow update (workflows/sessions/ambient-model.workflow.md): - Added 2026-05-09 run log with 5 lessons learned Note: proto/ambient/v1/projects.proto still declares display_name (buf not available); proto3 semantics make this safe — field transmits as zero value. Follow-up: remove when buf is available. Co-Authored-By: Claude Sonnet 4.6 --- .../openapi/openapi.credentials.yaml | 8 +- .../openapi/openapi.projects.yaml | 4 - .../openapi/openapi.sessions.yaml | 4 - .../plugins/projectSettings/factory_test.go | 1 - .../plugins/projects/factory_test.go | 1 - .../plugins/projects/grpc_handler.go | 4 - .../plugins/projects/grpc_integration_test.go | 5 +- .../plugins/projects/grpc_presenter.go | 1 - .../plugins/projects/migration.go | 12 ++ .../plugins/projects/model.go | 2 - .../plugins/projects/plugin.go | 1 + specs/api/ambient-model.spec.md | 124 ++++++++++++------ workflows/sessions/ambient-model.workflow.md | 59 +++++++++ 13 files changed, 159 insertions(+), 67 deletions(-) mode change 100644 => 100755 components/ambient-api-server/openapi/openapi.credentials.yaml mode change 100644 => 100755 components/ambient-api-server/openapi/openapi.projects.yaml mode change 100644 => 100755 components/ambient-api-server/openapi/openapi.sessions.yaml mode change 100644 => 100755 components/ambient-api-server/plugins/projectSettings/factory_test.go mode change 100644 => 100755 components/ambient-api-server/plugins/projects/factory_test.go mode change 100644 => 100755 components/ambient-api-server/plugins/projects/grpc_handler.go mode change 100644 => 100755 components/ambient-api-server/plugins/projects/grpc_integration_test.go mode change 100644 => 100755 components/ambient-api-server/plugins/projects/grpc_presenter.go mode change 100644 => 100755 components/ambient-api-server/plugins/projects/migration.go mode change 100644 => 100755 components/ambient-api-server/plugins/projects/model.go mode change 100644 => 100755 components/ambient-api-server/plugins/projects/plugin.go diff --git a/components/ambient-api-server/openapi/openapi.credentials.yaml b/components/ambient-api-server/openapi/openapi.credentials.yaml old mode 100644 new mode 100755 index 4719bca96..0bb126da3 --- a/components/ambient-api-server/openapi/openapi.credentials.yaml +++ b/components/ambient-api-server/openapi/openapi.credentials.yaml @@ -43,7 +43,7 @@ paths: description: Filter credentials by provider schema: type: string - enum: [github, gitlab, jira, google, kubeconfig] + enum: [github, gitlab, jira, google, vertex, kubeconfig] post: summary: Create a new credential in a project security: @@ -284,7 +284,7 @@ components: type: string provider: type: string - enum: [github, gitlab, jira, google, kubeconfig] + enum: [github, gitlab, jira, google, vertex, kubeconfig] token: type: string writeOnly: true @@ -319,7 +319,7 @@ components: type: string provider: type: string - enum: [github, gitlab, jira, google, kubeconfig] + enum: [github, gitlab, jira, google, vertex, kubeconfig] token: type: string writeOnly: true @@ -346,7 +346,7 @@ components: description: ID of the credential provider: type: string - enum: [github, gitlab, jira, google, kubeconfig] + enum: [github, gitlab, jira, google, vertex, kubeconfig] description: Provider type for this credential token: type: string diff --git a/components/ambient-api-server/openapi/openapi.projects.yaml b/components/ambient-api-server/openapi/openapi.projects.yaml old mode 100644 new mode 100755 index 05c57bf48..cd20cb317 --- a/components/ambient-api-server/openapi/openapi.projects.yaml +++ b/components/ambient-api-server/openapi/openapi.projects.yaml @@ -217,8 +217,6 @@ components: properties: name: type: string - display_name: - type: string description: type: string labels: @@ -250,8 +248,6 @@ components: properties: name: type: string - display_name: - type: string description: type: string labels: diff --git a/components/ambient-api-server/openapi/openapi.sessions.yaml b/components/ambient-api-server/openapi/openapi.sessions.yaml old mode 100644 new mode 100755 index 763c054b6..bcce8ffa4 --- a/components/ambient-api-server/openapi/openapi.sessions.yaml +++ b/components/ambient-api-server/openapi/openapi.sessions.yaml @@ -442,10 +442,6 @@ components: agent_id: type: string description: The Agent that owns this session. Immutable after creation. - triggered_by_user_id: - type: string - readOnly: true - description: User who started the agent project_id: type: string description: Immutable after creation. Set at creation time only. diff --git a/components/ambient-api-server/plugins/projectSettings/factory_test.go b/components/ambient-api-server/plugins/projectSettings/factory_test.go old mode 100644 new mode 100755 index 923e7f35e..0b18e8733 --- a/components/ambient-api-server/plugins/projectSettings/factory_test.go +++ b/components/ambient-api-server/plugins/projectSettings/factory_test.go @@ -18,7 +18,6 @@ func newParentProject() (*projects.Project, error) { projectService := projects.Service(&environments.Environment().Services) result, svcErr := projectService.Create(context.Background(), &projects.Project{ Name: fmt.Sprintf("test-project-%d", projectCounter), - DisplayName: stringPtr("Test Project"), Description: stringPtr("test-description"), Status: stringPtr("active"), }) diff --git a/components/ambient-api-server/plugins/projects/factory_test.go b/components/ambient-api-server/plugins/projects/factory_test.go old mode 100644 new mode 100755 index 78ac23fb6..c08e37492 --- a/components/ambient-api-server/plugins/projects/factory_test.go +++ b/components/ambient-api-server/plugins/projects/factory_test.go @@ -18,7 +18,6 @@ func newProject(suffix string) (*projects.Project, error) { project := &projects.Project{ Name: fmt.Sprintf("proj-%s-%d", suffix, projectCounter), - DisplayName: stringPtr("Test Project"), Description: stringPtr("test-description"), Status: stringPtr("active"), } diff --git a/components/ambient-api-server/plugins/projects/grpc_handler.go b/components/ambient-api-server/plugins/projects/grpc_handler.go old mode 100644 new mode 100755 index 84365794a..6efb41073 --- a/components/ambient-api-server/plugins/projects/grpc_handler.go +++ b/components/ambient-api-server/plugins/projects/grpc_handler.go @@ -51,7 +51,6 @@ func (h *projectGRPCHandler) CreateProject(ctx context.Context, req *pb.CreatePr project := &Project{ Name: req.GetName(), - DisplayName: req.DisplayName, Description: req.Description, Labels: req.Labels, Annotations: req.Annotations, @@ -78,9 +77,6 @@ func (h *projectGRPCHandler) UpdateProject(ctx context.Context, req *pb.UpdatePr if req.Name != nil { found.Name = *req.Name } - if req.DisplayName != nil { - found.DisplayName = req.DisplayName - } if req.Description != nil { found.Description = req.Description } diff --git a/components/ambient-api-server/plugins/projects/grpc_integration_test.go b/components/ambient-api-server/plugins/projects/grpc_integration_test.go old mode 100644 new mode 100755 index 9752651e4..a6fcd678f --- a/components/ambient-api-server/plugins/projects/grpc_integration_test.go +++ b/components/ambient-api-server/plugins/projects/grpc_integration_test.go @@ -32,16 +32,13 @@ func TestProjectGRPCCrud(t *testing.T) { client := pb.NewProjectServiceClient(conn) ctx := metadata.AppendToOutgoingContext(context.Background(), "authorization", "Bearer "+token) - displayName := "Test Project Display" created, err := client.CreateProject(ctx, &pb.CreateProjectRequest{ - Name: "grpc-test-project", - DisplayName: &displayName, + Name: "grpc-test-project", }) Expect(err).NotTo(HaveOccurred()) Expect(created.GetName()).To(Equal("grpc-test-project")) Expect(created.GetMetadata().GetId()).NotTo(BeEmpty()) Expect(created.GetMetadata().GetKind()).To(Equal("Project")) - Expect(created.GetDisplayName()).To(Equal("Test Project Display")) got, err := client.GetProject(ctx, &pb.GetProjectRequest{Id: created.GetMetadata().GetId()}) Expect(err).NotTo(HaveOccurred()) diff --git a/components/ambient-api-server/plugins/projects/grpc_presenter.go b/components/ambient-api-server/plugins/projects/grpc_presenter.go old mode 100644 new mode 100755 index 9189b38fb..ef0377581 --- a/components/ambient-api-server/plugins/projects/grpc_presenter.go +++ b/components/ambient-api-server/plugins/projects/grpc_presenter.go @@ -19,7 +19,6 @@ func projectToProto(p *Project) *pb.Project { Href: "/api/ambient/v1/projects/" + p.ID, }, Name: p.Name, - DisplayName: p.DisplayName, Description: p.Description, Labels: p.Labels, Annotations: p.Annotations, diff --git a/components/ambient-api-server/plugins/projects/migration.go b/components/ambient-api-server/plugins/projects/migration.go old mode 100644 new mode 100755 index 584e1e843..fc9c5193b --- a/components/ambient-api-server/plugins/projects/migration.go +++ b/components/ambient-api-server/plugins/projects/migration.go @@ -40,3 +40,15 @@ func promptMigration() *gormigrate.Migration { }, } } + +func dropDisplayNameMigration() *gormigrate.Migration { + return &gormigrate.Migration{ + ID: "202505090001", + Migrate: func(tx *gorm.DB) error { + return tx.Exec(`ALTER TABLE projects DROP COLUMN IF EXISTS display_name`).Error + }, + Rollback: func(tx *gorm.DB) error { + return tx.Exec(`ALTER TABLE projects ADD COLUMN IF NOT EXISTS display_name TEXT`).Error + }, + } +} diff --git a/components/ambient-api-server/plugins/projects/model.go b/components/ambient-api-server/plugins/projects/model.go old mode 100644 new mode 100755 index 1d1bf1d5c..c1e3b076c --- a/components/ambient-api-server/plugins/projects/model.go +++ b/components/ambient-api-server/plugins/projects/model.go @@ -8,7 +8,6 @@ import ( type Project struct { api.Meta Name string `json:"name" gorm:"uniqueIndex;not null"` - DisplayName *string `json:"display_name"` Description *string `json:"description"` Prompt *string `json:"prompt" gorm:"type:text"` Labels *string `json:"labels"` @@ -34,7 +33,6 @@ func (d *Project) BeforeCreate(tx *gorm.DB) error { type ProjectPatchRequest struct { Name *string `json:"name,omitempty"` - DisplayName *string `json:"display_name,omitempty"` Description *string `json:"description,omitempty"` Prompt *string `json:"prompt,omitempty"` Labels *string `json:"labels,omitempty"` diff --git a/components/ambient-api-server/plugins/projects/plugin.go b/components/ambient-api-server/plugins/projects/plugin.go old mode 100644 new mode 100755 index aef45690c..c838d1885 --- a/components/ambient-api-server/plugins/projects/plugin.go +++ b/components/ambient-api-server/plugins/projects/plugin.go @@ -127,4 +127,5 @@ func init() { db.RegisterMigration(migration()) db.RegisterMigration(promptMigration()) + db.RegisterMigration(dropDisplayNameMigration()) } diff --git a/specs/api/ambient-model.spec.md b/specs/api/ambient-model.spec.md index cc37268b7..7b8d61b32 100755 --- a/specs/api/ambient-model.spec.md +++ b/specs/api/ambient-model.spec.md @@ -1,8 +1,8 @@ # Ambient Platform Data Model Spec **Date:** 2026-03-20 -**Status:** Proposed — Pending Consensus -**Last Updated:** 2026-04-28 — added `ScheduledSession` Kind; added session operational sub-resources (workspace, files, git, repos, tasks, runner protocol); added generic proxy surface for backend passthrough; updated coverage matrix: all ScheduledSession commands implemented; session sub-resources (workspace/files/git/repos/operational/runner protocol) implemented in API server; generic proxy plugin implemented +**Status:** Active +**Last Updated:** 2026-05-09 — spec reconciliation: fix stale coverage matrix (credentials, RBAC, project update all implemented); document Agent full field set (12 undocumented fields added); add ScheduledSession runtime fields; document credential scoping gap (spec=global, impl=project-scoped); fix RBAC scoped role_bindings gaps; remove display_name from Project; add vertex provider; fix int32 types; update status to Active **Workflow:** `../../workflows/sessions/ambient-model.workflow.md` — implementation waves, gap table, build commands, run log **Design:** `credentials-session.md` — full Credential Kind design spec and rationale @@ -70,8 +70,20 @@ erDiagram Agent { string ID PK "KSUID" string project_id FK + string parent_agent_id FK "nullable — parent agent for sub-agents" + string owner_user_id FK "user who owns this agent" string name "human-readable; unique within project" + string display_name "nullable — human-friendly display label" + string description "nullable — purpose description" string prompt "who this agent is — mutable; access controlled via RBAC" + string repo_url "nullable — primary repository for agent sessions" + string workflow_id "nullable — default workflow for agent sessions" + string llm_model "active LLM; default claude-sonnet-4-6" + float llm_temperature "default 0.7" + int32 llm_max_tokens "default 4000" + string bot_account_name "nullable — service account for git ops" + string resource_overrides "nullable — JSON pod resource overrides" + string environment_variables "nullable — JSON extra env vars" string current_session_id FK "nullable — denormalized for fast reads" jsonb labels jsonb annotations @@ -110,8 +122,8 @@ erDiagram string workflow_id "nullable — JSON-encoded workflow config" string llm_model "active LLM; default claude-sonnet-4-6" float llm_temperature "default 0.7" - int llm_max_tokens "default 4000" - int timeout "nullable — max session duration in seconds" + int32 llm_max_tokens "default 4000" + int32 timeout "nullable — max session duration in seconds" string bot_account_name "nullable — service account for git ops" string resource_overrides "nullable — JSON pod resource overrides" string environment_variables "nullable — JSON extra env vars" @@ -124,7 +136,7 @@ erDiagram string kube_cr_uid string kube_namespace string sdk_session_id - int sdk_restart_count + int32 sdk_restart_count string conditions string reconciled_repos string reconciled_workflow @@ -191,13 +203,17 @@ erDiagram ScheduledSession { string ID PK "KSUID" string project_id FK - string agent_id FK "which Agent to ignite on each trigger" + string agent_id FK "nullable — which Agent to ignite on each trigger" string name "human-readable; unique within project" string description string schedule "cron expression" string timezone "IANA timezone; default UTC" bool enabled "false = suspended; schedule not evaluated" string session_prompt "injected as Session.prompt on each trigger" + int32 timeout "nullable — max session duration in seconds for triggered sessions" + int32 inactivity_timeout "nullable — idle timeout in seconds" + bool stop_on_run_finished "nullable — stop session when run completes" + string runner_type "nullable — override runner type for triggered sessions" time last_run_at "nullable; wall-clock time of last trigger" time next_run_at "nullable; computed from schedule + timezone" time created_at @@ -237,11 +253,25 @@ Agent is scoped to a Project. The stable address is `{project_name}/{agent_name} | Field | Notes | |-------|-------| | `name` | Human-readable, unique within the project. Used as display name and in addressing. | +| `display_name` | Nullable. Human-friendly label for UI display; does not affect addressing. | +| `description` | Nullable. Free-text purpose description. | | `prompt` | Defines who the agent is. Mutable via PATCH. Access controlled by RBAC (`agent:editor` or higher). | +| `parent_agent_id` | Nullable FK. Set when this agent was spawned as a sub-agent by another agent. | +| `owner_user_id` | FK to the User who owns this agent. Set at creation; matches the authenticated caller. | +| `repo_url` | Nullable. Primary repository URL cloned into every session the agent starts. Copied to `Session.repo_url` on ignite. | +| `workflow_id` | Nullable. Default workflow identifier injected into sessions. Copied to `Session.workflow_id` on ignite. | +| `llm_model` | Active LLM model name. Default: `claude-sonnet-4-6`. Copied to `Session.llm_model` on ignite. | +| `llm_temperature` | LLM sampling temperature. Default: `0.7`. Copied to `Session.llm_temperature` on ignite. | +| `llm_max_tokens` | Max tokens per LLM response. `int32`, default: `4000`. Copied to `Session.llm_max_tokens` on ignite. | +| `bot_account_name` | Nullable. Service account name for git operations inside sessions. Copied to `Session.bot_account_name` on ignite. | +| `resource_overrides` | Nullable. JSON-encoded pod resource requests/limits override for sessions spawned by this agent. Copied to `Session.resource_overrides` on ignite. | +| `environment_variables` | Nullable. JSON-encoded extra environment variables injected into session pods. Copied to `Session.environment_variables` on ignite. | | `current_session_id` | Denormalized FK to the active Session. Null when no session is running. Used by Project Home for fast reads. | **Agent is mutable.** PATCH updates in place. There is no versioning. If you need to track prompt history, use `labels`/`annotations` or an external audit log. +**Field propagation on ignite:** When `POST /agents/{id}/start` creates a new Session, the `ignite_handler` copies `repo_url`, `workflow_id`, `llm_model`, `llm_temperature`, `llm_max_tokens`, `bot_account_name`, `resource_overrides`, and `environment_variables` from the Agent to the new Session. Fields set directly in the start request body override these defaults. + ``` POST /projects/{id}/agents → create agent in this project PATCH /projects/{id}/agents/{id} → update agent (name, prompt, labels, annotations) @@ -340,7 +370,7 @@ The `acpctl` CLI mirrors the API 1-for-1. Every REST operation has a correspondi | `GET /projects` | `acpctl get projects` | ✅ implemented | | `GET /projects/{id}` | `acpctl get project ` | ✅ implemented | | `POST /projects` | `acpctl create project --name [--description ]` | ✅ implemented | -| `PATCH /projects/{id}` | _(not yet exposed)_ | 🔲 planned | +| `PATCH /projects/{id}` | `acpctl project update [--name ] [--description ] [--prompt

]` | ✅ implemented | | `DELETE /projects/{id}` | `acpctl delete project ` | ✅ implemented | | _(context switch)_ | `acpctl project ` | ✅ implemented | | _(context view)_ | `acpctl project current` | ✅ implemented | @@ -416,27 +446,32 @@ The `acpctl` CLI mirrors the API 1-for-1. Every REST operation has a correspondi | `POST /sessions/{id}/tasks/{task_id}/stop` | `acpctl session tasks stop ` | 🔲 planned | | `GET /sessions/{id}/tasks/{task_id}/output` | `acpctl session tasks output ` | 🔲 planned | -#### Credentials (Global) +#### Credentials (Global — CLI implemented project-scoped) -| REST API | `acpctl` Command | Status | +> **Scoping note:** The CLI commands below are implemented and operational, but against the project-scoped API (`/api/ambient/v1/projects/{id}/credentials/...`) rather than the global paths shown here. Global paths are the spec target state and pending migration. + +| REST API (target — global) | `acpctl` Command | Status | |---|---|---| -| `GET /credentials` | `acpctl credential list [--provider

]` | 🔲 planned | -| `POST /credentials` | `acpctl credential create --name --provider

--token [--url ] [--email ] [--description ]` | 🔲 planned | -| `GET /credentials/{cred_id}` | `acpctl credential get ` | 🔲 planned | -| `PATCH /credentials/{cred_id}` | `acpctl credential update [--token ] [--description ]` | 🔲 planned | -| `DELETE /credentials/{cred_id}` | `acpctl credential delete --confirm` | 🔲 planned | -| `GET /credentials/{cred_id}/token` | `acpctl credential token ` | 🔲 planned | +| `GET /credentials` | `acpctl credential list [--provider

]` | ✅ implemented (project-scoped) | +| `POST /credentials` | `acpctl credential create --name --provider

--token [--url ] [--email ] [--description ]` | ✅ implemented (project-scoped) | +| `GET /credentials/{cred_id}` | `acpctl credential get ` | ✅ implemented (project-scoped) | +| `PATCH /credentials/{cred_id}` | `acpctl credential update [--token ] [--description ]` | ✅ implemented (project-scoped) | +| `DELETE /credentials/{cred_id}` | `acpctl credential delete --confirm` | ✅ implemented (project-scoped) | +| `GET /credentials/{cred_id}/token` | `acpctl credential token ` | ✅ implemented (project-scoped) | | `POST /role_bindings` | `acpctl credential bind --scope project --scope-id ` | 🔲 planned | #### RBAC | REST API | `acpctl` Command | Status | |---|---|---| -| `GET /roles` | _(not yet exposed)_ | 🔲 planned | +| `GET /roles` | `acpctl get roles` | ✅ implemented | +| `GET /roles/{id}` | `acpctl get roles ` | ✅ implemented | | `POST /roles` | `acpctl create role --name [--permissions ]` | ✅ implemented | -| `GET /role_bindings` | _(not yet exposed)_ | 🔲 planned | +| `DELETE /roles/{id}` | `acpctl delete role ` | ✅ implemented | +| `GET /role_bindings` | `acpctl get role-bindings` | ✅ implemented | +| `GET /role_bindings/{id}` | `acpctl get role-bindings ` | ✅ implemented | | `POST /role_bindings` | `acpctl create role-binding --user-id --role-id --scope [--scope-id ]` | ✅ implemented | -| `DELETE /role_bindings/{id}` | _(not yet exposed)_ | 🔲 planned | +| `DELETE /role_bindings/{id}` | `acpctl delete role-binding ` | ✅ implemented | #### Auth & Context @@ -637,7 +672,7 @@ GET /api/ambient/v1/projects/{id}/agents/{agent_id}/role_bindings RBAC bin "id": "2abc...", "agent_id": "1def...", "phase": "pending", - "triggered_by_user_id": "...", + "created_by_user_id": "...", "created_at": "2026-03-20T00:00:00Z" }, "start_context": "# Agent: API\n\nYou are API...\n\n## Inbox\n...\n\n## Task\n..." @@ -737,6 +772,7 @@ POST /api/ambient/v1/sessions/{id}/tasks/{task_id}/stop sto Credentials are global resources. Access to credentials is granted via RoleBindings — bind a credential to a Project, Agent, or Session scope to make it available to runners in that scope. +**Designed paths (global — pending implementation):** ``` GET /api/ambient/v1/credentials list credentials (filtered by caller's RoleBindings) GET /api/ambient/v1/credentials?provider={provider} filter by provider @@ -747,6 +783,8 @@ DELETE /api/ambient/v1/credentials/{cred_id} soft d GET /api/ambient/v1/credentials/{cred_id}/token fetch raw token — restricted to credential:token-reader ``` +> **Implementation gap:** The current implementation scopes credentials to a project rather than the platform. Actual routes are `/api/ambient/v1/projects/{id}/credentials[/{cred_id}[/token]]` with a required `project_id` field on the model. The global path design above is the target state. Until migrated, `credential bind` (via `POST /role_bindings`) is also not yet implemented — credentials are bound implicitly by project ownership. + `token` is accepted on `POST` and `PATCH` but **never returned** by standard read endpoints. `GET .../token` is gated by `credential:token-reader`. See [Security Spec — Token Reader Role Grant](../security/security.spec.md#requirement-token-reader-role-grant) for @@ -838,21 +876,23 @@ runtime authorization semantics. ### RBAC Endpoints ``` -GET /api/ambient/v1/roles -GET /api/ambient/v1/roles/{id} -POST /api/ambient/v1/roles -PATCH /api/ambient/v1/roles/{id} -DELETE /api/ambient/v1/roles/{id} - -GET /api/ambient/v1/role_bindings -POST /api/ambient/v1/role_bindings -DELETE /api/ambient/v1/role_bindings/{id} - -GET /api/ambient/v1/users/{id}/role_bindings -GET /api/ambient/v1/projects/{id}/role_bindings -GET /api/ambient/v1/projects/{id}/agents/{agent_id}/role_bindings -GET /api/ambient/v1/sessions/{id}/role_bindings -GET /api/ambient/v1/credentials/{cred_id}/role_bindings +GET /api/ambient/v1/roles ✅ implemented +GET /api/ambient/v1/roles/{id} ✅ implemented +POST /api/ambient/v1/roles ✅ implemented +PATCH /api/ambient/v1/roles/{id} ✅ implemented +DELETE /api/ambient/v1/roles/{id} ✅ implemented + +GET /api/ambient/v1/role_bindings ✅ implemented +GET /api/ambient/v1/role_bindings/{id} ✅ implemented +POST /api/ambient/v1/role_bindings ✅ implemented +PATCH /api/ambient/v1/role_bindings/{id} ✅ implemented +DELETE /api/ambient/v1/role_bindings/{id} ✅ implemented + +GET /api/ambient/v1/projects/{id}/agents/{agent_id}/role_bindings ✅ implemented +GET /api/ambient/v1/users/{id}/role_bindings 🔲 planned +GET /api/ambient/v1/projects/{id}/role_bindings 🔲 planned +GET /api/ambient/v1/sessions/{id}/role_bindings 🔲 planned +GET /api/ambient/v1/credentials/{cred_id}/role_bindings 🔲 planned ``` The `credential:token-reader` role is platform-internal. Credential CRUD is governed by @@ -1191,12 +1231,13 @@ _Last updated: 2026-04-28. Use this as the authoritative index — click into co | **Agents — labels/annotations** | ✅ PATCH accepts `labels`/`annotations` | ✅ fields on `ProjectAgent` type; `UpdateInProject(patch map[string]any)` | ⚠️ via `agent update` with raw patch; no typed helpers | | | **Inbox — list/send** | ✅ GET/POST `/inbox` | ✅ `InboxMessageAPI.{ListByAgent,Send}` + `ProjectAgentAPI.{ListInboxInProject,SendInboxInProject}` | ✅ `inbox list`, `inbox send` | | | **Inbox — mark-read/delete** | ✅ PATCH/DELETE `/inbox/{id}` | ✅ `InboxMessageAPI.{MarkRead,DeleteMessage}` | ✅ `inbox mark-read`, `inbox delete` | | -| **Projects — CRUD** | ✅ | ✅ `ProjectAPI.{Get,List,Create,Update,Delete}` | ✅ `get/create/delete project`, `project set/current` | `project patch` not exposed in CLI | +| **Projects — CRUD** | ✅ | ✅ `ProjectAPI.{Get,List,Create,Update,Delete}` | ✅ `get/create/delete project`, `project set/current`, `project update` | | | **Projects — labels/annotations** | ✅ PATCH accepts `labels`/`annotations` | ✅ fields on `Project` type; `ProjectAPI.Update(patch map[string]any)` | ⚠️ no dedicated subcommand | | -| **RBAC — roles** | ✅ | ✅ `RoleAPI` | ✅ `create role` only; list/get not exposed | | -| **RBAC — role bindings** | ✅ | ✅ `RoleBindingAPI` | ✅ `create role-binding` only; list/delete not exposed | | -| **Credentials — CRUD** | 🔲 | 🔲 | 🔲 `credential list/get/create/update/delete` | Global; bound to Projects via RoleBindings; not yet implemented | -| **Credentials — token fetch (runner)** | 🔲 `GET /credentials/{cred_id}/token` | 🔲 | n/a | Gated by `credential:token-reader`; granted to runner SA by operator | +| **RBAC — roles** | ✅ full CRUD | ✅ `RoleAPI` | ✅ `create role`, `get roles`, `get roles `, `delete role` | | +| **RBAC — role bindings** | ✅ full CRUD | ✅ `RoleBindingAPI` | ✅ `create role-binding`, `get role-bindings`, `get role-bindings `, `delete role-binding` | | +| **RBAC — scoped role_bindings queries** | ✅ agents only; 🔲 users/projects/sessions/credentials | n/a | n/a | `GET /projects/{id}/agents/{agent_id}/role_bindings` implemented; other 4 scoped endpoints not yet | +| **Credentials — CRUD** | ✅ `plugins/credentials/` (project-scoped at `/projects/{id}/credentials`) | ✅ `credential_api.go` + `credential_extensions.go` | ✅ `credential list/get/create/update/delete/token` | **Scoping gap:** impl is project-scoped; spec target is global. `credential bind` not implemented. | +| **Credentials — token fetch** | ✅ `GET /projects/{id}/credentials/{cred_id}/token` | ✅ `GetToken()` in `credential_extensions.go` | ✅ `credential token ` | Gated by `credential:token-reader`; granted to runner SA by operator | | **ScheduledSessions — CRUD** | ✅ scheduledSessions plugin | ✅ `ScheduledSessionAPI.{List,Get,Create,Update,Delete,GetByName}` | ✅ `scheduled-session list/get/create/update/delete` | | | **ScheduledSessions — lifecycle** | ✅ suspend/resume/trigger/runs handlers | ✅ `ScheduledSessionAPI.{Suspend,Resume,Trigger,Runs}` | ✅ `scheduled-session suspend/resume/trigger/runs` | | | **Generic proxy — project config** | ✅ proxy plugin (`plugins/proxy`); forwards non-`/api/ambient/` paths to `BACKEND_URL` | n/a | 🔲 raw HTTP fallback | Permissions, keys, MCP servers, secrets, feature flags | @@ -1219,10 +1260,9 @@ All Kinds with `labels`/`annotations` store them as JSON strings in the DB (`*st | Command | Status | Path to close | |---|---|---| -| `PATCH /projects/{id}` | 🔲 no CLI project-patch command | add `acpctl project update` subcommand | | Project/Agent/Session label subcommands | 🔲 no `acpctl label`/`acpctl annotate` | add typed label helpers to SDK first, then CLI | -| `GET /roles`, `GET /role_bindings` | 🔲 list/get not exposed | add to `get` command resource switch | -| `DELETE /role_bindings/{id}` | 🔲 not exposed | add to `delete` command resource switch | +| `acpctl credential bind` | 🔲 not implemented | depends on global credential path migration | +| Session workspace/files/git/repos subcommands | 🔲 planned | see Session Operations table above | Manual Test diff --git a/workflows/sessions/ambient-model.workflow.md b/workflows/sessions/ambient-model.workflow.md index 4249cd9d9..c802b836a 100755 --- a/workflows/sessions/ambient-model.workflow.md +++ b/workflows/sessions/ambient-model.workflow.md @@ -508,3 +508,62 @@ The `apply` command imported `yaml.v3` but the CLI `go.mod` didn't declare it. T The gap between what the spec said (🔲 everywhere for agents/inbox) and what the code had (full implementations) was only discoverable by reading actual source files. An implementation coverage matrix embedded in the spec — with direct references to SDK method names and CLI commands — turns the spec into a live index that can be scanned in seconds. **Rule:** The coverage matrix in `ambient-model.spec.md` is the primary index. Update it immediately when a component ships a feature. Do not rely on the CLI table alone — it maps REST→CLI but doesn't tell you what the SDK exposes. + +--- + +## Lessons Learned (Run Log — 2026-05-09) + +### Step 3 Gap Analysis Must Go Field-Level, Not Just Route-Level + +The first pass of Step 3 during this run checked only for route existence in `openapi.yaml` and handler stubs. It found no gaps. The real gaps were at the **field level**: + +- `Agent` model had 22 fields in `model.go` but the spec ERD documented only 10. +- `ScheduledSession` had 4 runtime fields (`timeout`, `inactivity_timeout`, `stop_on_run_finished`, `runner_type`) not in the spec. +- `Session.llm_max_tokens`, `timeout`, `sdk_restart_count` were `int` in the spec but `int32` in the model. +- `triggered_by_user_id` existed only in `openapi.sessions.yaml` — not in `model.go` and not in the spec. It was an OpenAPI schema artifact from an earlier design that was never implemented. + +**Fix applied to Step 3:** The gap table instructions now explicitly say: "Read `plugins//model.go` for every Kind. Compare field-by-field against the Spec. Drift here is the most common source of gaps." + +**Rule:** The field-level diff of `model.go` is the highest-signal check in Step 3. Route existence is a necessary but not sufficient check. An API can have all routes defined and still have significant undocumented fields, wrong types, or phantom fields in the OpenAPI that don't exist in the model. + +### Spec and OpenAPI Can Diverge From Each Other Too + +`triggered_by_user_id` was present in `openapi.sessions.yaml` but absent from both the Go model and the spec. The spec → code comparison caught the spec gap, but the OpenAPI → model comparison caught a different gap: the OpenAPI had a field the model never had. + +**Rule:** The gap analysis must check all three directions: +1. Spec → model (spec says field exists; does the model have it?) +2. Model → spec (model has field; is it documented in the spec?) +3. OpenAPI → model (OpenAPI declares field; is it in the model?) + +### `display_name` Was Removed From Project — Proto Lags Behind + +The `display_name` field was removed from `plugins/projects/model.go`, `openapi.projects.yaml`, `grpc_handler.go`, and `grpc_presenter.go`. A drop-column migration (`202505090001`) was added. However, `proto/ambient/v1/projects.proto` still declares `display_name` because the `buf` tool is not installed in the development environment and proto regeneration was deferred. + +**Consequence:** The proto wire format still carries `display_name` as an optional field, but Go code no longer populates it. Per proto3 semantics this is safe — the field transmits as zero value (empty string) and is silently ignored by consumers. It is not a protocol break. + +**Rule:** Before removing any field from the Go model, check `proto/ambient/v1/*.proto`. If the field appears in proto, the removal requires `buf generate` to regenerate `*.pb.go`. Do not edit `*.pb.go` manually. If `buf` is unavailable, document the proto lag explicitly in the commit message and as a follow-up task. + +**Follow-up task:** Remove `display_name` from `proto/ambient/v1/projects.proto` and regenerate when `buf` is available. + +### Agent Fields Propagated Through ignite_handler, Not start_handler + +The Agent model has 8 fields (`repo_url`, `workflow_id`, `llm_model`, `llm_temperature`, `llm_max_tokens`, `bot_account_name`, `resource_overrides`, `environment_variables`) that are copied to Session when an agent is ignited. This happens in `plugins/agents/ignite_handler.go`, not in `start_handler.go`. `start_handler.go` does minimal field copying. + +**Rule:** When auditing field propagation from Agent → Session, read `ignite_handler.go` specifically. The two handlers have different responsibilities: `start_handler.go` handles the idempotency check and session status; `ignite_handler.go` handles the full field copy and session initialization. + +### Credential Scoping Gap Must Be Explicitly Documented + +The spec defines credentials as global at `/api/ambient/v1/credentials`. The implementation uses project-scoped paths at `/api/ambient/v1/projects/{id}/credentials`. This is a design gap, not a bug — the intended target is global, but the current implementation is project-scoped. + +This gap surfaces in three places: +1. **Spec API Reference:** Note added that global paths are the target; project-scoped are current. +2. **OpenAPI:** Not changed — the OpenAPI reflects the actual (project-scoped) routes. +3. **CLI table:** Changed from 🔲 to ✅ (project-scoped) with a scoping note. + +**Rule:** When the spec and implementation intentionally diverge (design intent vs current state), document both explicitly in the spec. Do not silently change the spec to match the code or the code to match the spec without the user's decision. Capture the gap with a clear "Implementation gap:" note and the intended direction. + +### Factory Test Files Must Be Checked When Removing Model Fields + +Removing a field from a model struct causes `go vet` to fail on any test factory that references the field as a struct literal key. `plugins/projectSettings/factory_test.go` had `DisplayName: stringPtr("Test Project")` that was not found by the initial grep targeting only the `projects/` plugin directory. + +**Rule:** When removing a field from `plugins/{kind}/model.go`, grep the entire `plugins/` tree (not just the plugin directory) for the field name. Test factories in other plugins that create the model as a dependency will reference it too. From 6afe44abe532b554239fb02ab77d8cb62d2f8e66 Mon Sep 17 00:00:00 2001 From: Mark Turansky Date: Mon, 11 May 2026 17:01:40 +0000 Subject: [PATCH 2/7] fixup: strip executable bits; add proto TODO for display_name cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Strip accidental 100644→100755 mode changes on all modified files - Add TODO(proto-cleanup) comments to projects.proto on the three display_name fields (Project, CreateProjectRequest, UpdateProjectRequest) so the next engineer with buf available finds them immediately Note on credential:token-reader guard: neither POST nor PATCH /role_bindings currently guards against assigning this role via the user-facing API — both handlers accept any RoleId without validation. This is a security gap in both operations, not just PATCH. Tracking as a follow-up item; out of scope for this reconciliation PR. Co-Authored-By: Claude Sonnet 4.6 --- .../ambient-api-server/openapi/openapi.credentials.yaml | 0 components/ambient-api-server/openapi/openapi.projects.yaml | 0 components/ambient-api-server/openapi/openapi.sessions.yaml | 0 .../plugins/projectSettings/factory_test.go | 0 .../ambient-api-server/plugins/projects/factory_test.go | 0 .../ambient-api-server/plugins/projects/grpc_handler.go | 0 .../plugins/projects/grpc_integration_test.go | 0 .../ambient-api-server/plugins/projects/grpc_presenter.go | 0 components/ambient-api-server/plugins/projects/migration.go | 0 components/ambient-api-server/plugins/projects/model.go | 0 components/ambient-api-server/plugins/projects/plugin.go | 0 components/ambient-api-server/proto/ambient/v1/projects.proto | 4 ++++ specs/api/ambient-model.spec.md | 0 workflows/sessions/ambient-model.workflow.md | 0 14 files changed, 4 insertions(+) mode change 100755 => 100644 components/ambient-api-server/openapi/openapi.credentials.yaml mode change 100755 => 100644 components/ambient-api-server/openapi/openapi.projects.yaml mode change 100755 => 100644 components/ambient-api-server/openapi/openapi.sessions.yaml mode change 100755 => 100644 components/ambient-api-server/plugins/projectSettings/factory_test.go mode change 100755 => 100644 components/ambient-api-server/plugins/projects/factory_test.go mode change 100755 => 100644 components/ambient-api-server/plugins/projects/grpc_handler.go mode change 100755 => 100644 components/ambient-api-server/plugins/projects/grpc_integration_test.go mode change 100755 => 100644 components/ambient-api-server/plugins/projects/grpc_presenter.go mode change 100755 => 100644 components/ambient-api-server/plugins/projects/migration.go mode change 100755 => 100644 components/ambient-api-server/plugins/projects/model.go mode change 100755 => 100644 components/ambient-api-server/plugins/projects/plugin.go mode change 100755 => 100644 specs/api/ambient-model.spec.md mode change 100755 => 100644 workflows/sessions/ambient-model.workflow.md diff --git a/components/ambient-api-server/openapi/openapi.credentials.yaml b/components/ambient-api-server/openapi/openapi.credentials.yaml old mode 100755 new mode 100644 diff --git a/components/ambient-api-server/openapi/openapi.projects.yaml b/components/ambient-api-server/openapi/openapi.projects.yaml old mode 100755 new mode 100644 diff --git a/components/ambient-api-server/openapi/openapi.sessions.yaml b/components/ambient-api-server/openapi/openapi.sessions.yaml old mode 100755 new mode 100644 diff --git a/components/ambient-api-server/plugins/projectSettings/factory_test.go b/components/ambient-api-server/plugins/projectSettings/factory_test.go old mode 100755 new mode 100644 diff --git a/components/ambient-api-server/plugins/projects/factory_test.go b/components/ambient-api-server/plugins/projects/factory_test.go old mode 100755 new mode 100644 diff --git a/components/ambient-api-server/plugins/projects/grpc_handler.go b/components/ambient-api-server/plugins/projects/grpc_handler.go old mode 100755 new mode 100644 diff --git a/components/ambient-api-server/plugins/projects/grpc_integration_test.go b/components/ambient-api-server/plugins/projects/grpc_integration_test.go old mode 100755 new mode 100644 diff --git a/components/ambient-api-server/plugins/projects/grpc_presenter.go b/components/ambient-api-server/plugins/projects/grpc_presenter.go old mode 100755 new mode 100644 diff --git a/components/ambient-api-server/plugins/projects/migration.go b/components/ambient-api-server/plugins/projects/migration.go old mode 100755 new mode 100644 diff --git a/components/ambient-api-server/plugins/projects/model.go b/components/ambient-api-server/plugins/projects/model.go old mode 100755 new mode 100644 diff --git a/components/ambient-api-server/plugins/projects/plugin.go b/components/ambient-api-server/plugins/projects/plugin.go old mode 100755 new mode 100644 diff --git a/components/ambient-api-server/proto/ambient/v1/projects.proto b/components/ambient-api-server/proto/ambient/v1/projects.proto index d32daab5f..3f10a77eb 100644 --- a/components/ambient-api-server/proto/ambient/v1/projects.proto +++ b/components/ambient-api-server/proto/ambient/v1/projects.proto @@ -9,6 +9,8 @@ import "ambient/v1/common.proto"; message Project { ObjectReference metadata = 1; string name = 2; + // TODO(proto-cleanup): display_name was removed from model.go (migration 202505090001). + // Remove this field and regenerate with `buf generate` when buf is available. optional string display_name = 3; optional string description = 4; optional string labels = 5; @@ -18,6 +20,7 @@ message Project { message CreateProjectRequest { string name = 1; + // TODO(proto-cleanup): display_name removed from model.go; remove here and regenerate. optional string display_name = 2; optional string description = 3; optional string labels = 4; @@ -31,6 +34,7 @@ message GetProjectRequest { message UpdateProjectRequest { string id = 1; optional string name = 2; + // TODO(proto-cleanup): display_name removed from model.go; remove here and regenerate. optional string display_name = 3; optional string description = 4; optional string labels = 5; diff --git a/specs/api/ambient-model.spec.md b/specs/api/ambient-model.spec.md old mode 100755 new mode 100644 diff --git a/workflows/sessions/ambient-model.workflow.md b/workflows/sessions/ambient-model.workflow.md old mode 100755 new mode 100644 From c4f9bf59e1e4b860214327aed84e44e55b7c002b Mon Sep 17 00:00:00 2001 From: Mark Turansky Date: Mon, 11 May 2026 20:45:49 +0000 Subject: [PATCH 3/7] fix(ambient-api-server): use ALTER TABLE IF EXISTS in drop display_name migration Migration ID 202505090001 sorts before the table-creation migration 202602150010, so on fresh testcontainer DBs it runs before the projects table exists. Using ALTER TABLE IF EXISTS makes the migration a no-op when the table doesn't exist, fixing the pq: relation "projects" does not exist error in CI. Co-Authored-By: Claude Sonnet 4.6 --- components/ambient-api-server/plugins/projects/migration.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ambient-api-server/plugins/projects/migration.go b/components/ambient-api-server/plugins/projects/migration.go index fc9c5193b..e334f4a3f 100644 --- a/components/ambient-api-server/plugins/projects/migration.go +++ b/components/ambient-api-server/plugins/projects/migration.go @@ -45,10 +45,10 @@ func dropDisplayNameMigration() *gormigrate.Migration { return &gormigrate.Migration{ ID: "202505090001", Migrate: func(tx *gorm.DB) error { - return tx.Exec(`ALTER TABLE projects DROP COLUMN IF EXISTS display_name`).Error + return tx.Exec(`ALTER TABLE IF EXISTS projects DROP COLUMN IF EXISTS display_name`).Error }, Rollback: func(tx *gorm.DB) error { - return tx.Exec(`ALTER TABLE projects ADD COLUMN IF NOT EXISTS display_name TEXT`).Error + return tx.Exec(`ALTER TABLE IF EXISTS projects ADD COLUMN IF NOT EXISTS display_name TEXT`).Error }, } } From 45ebeab4afe0ab72e0c501a0f77aa6f91dce9653 Mon Sep 17 00:00:00 2001 From: Ambient Code Bot Date: Tue, 12 May 2026 12:20:22 +0000 Subject: [PATCH 4/7] chore(sdk): regenerate SDKs from updated OpenAPI specs Regenerate Go, Python, and TypeScript SDKs to reflect: - Remove display_name from Project type - Remove triggered_by_user_id from Session type - Add vertex to Credential provider options Co-Authored-By: Claude Sonnet 4.6 --- .../ambient-sdk/go-sdk/client/agent_api.go | 4 ++-- components/ambient-sdk/go-sdk/client/client.go | 4 ++-- .../ambient-sdk/go-sdk/client/credential_api.go | 4 ++-- .../go-sdk/client/inbox_message_api.go | 4 ++-- .../ambient-sdk/go-sdk/client/iterator.go | 4 ++-- .../ambient-sdk/go-sdk/client/project_api.go | 4 ++-- .../go-sdk/client/project_settings_api.go | 4 ++-- .../ambient-sdk/go-sdk/client/role_api.go | 4 ++-- .../go-sdk/client/role_binding_api.go | 4 ++-- .../go-sdk/client/scheduled_session_api.go | 4 ++-- .../ambient-sdk/go-sdk/client/session_api.go | 4 ++-- .../go-sdk/client/session_message_api.go | 4 ++-- .../ambient-sdk/go-sdk/client/user_api.go | 4 ++-- components/ambient-sdk/go-sdk/types/agent.go | 4 ++-- components/ambient-sdk/go-sdk/types/base.go | 4 ++-- .../ambient-sdk/go-sdk/types/credential.go | 4 ++-- .../ambient-sdk/go-sdk/types/inbox_message.go | 4 ++-- .../ambient-sdk/go-sdk/types/list_options.go | 4 ++-- components/ambient-sdk/go-sdk/types/project.go | 15 ++------------- .../go-sdk/types/project_settings.go | 4 ++-- components/ambient-sdk/go-sdk/types/role.go | 4 ++-- .../ambient-sdk/go-sdk/types/role_binding.go | 4 ++-- .../go-sdk/types/scheduled_session.go | 4 ++-- components/ambient-sdk/go-sdk/types/session.go | 5 ++--- .../ambient-sdk/go-sdk/types/session_message.go | 4 ++-- components/ambient-sdk/go-sdk/types/user.go | 4 ++-- .../python-sdk/ambient_platform/__init__.py | 4 ++-- .../python-sdk/ambient_platform/_agent_api.py | 4 ++-- .../python-sdk/ambient_platform/_base.py | 4 ++-- .../ambient_platform/_credential_api.py | 4 ++-- .../ambient_platform/_inbox_message_api.py | 4 ++-- .../python-sdk/ambient_platform/_iterator.py | 4 ++-- .../python-sdk/ambient_platform/_project_api.py | 4 ++-- .../ambient_platform/_project_settings_api.py | 4 ++-- .../python-sdk/ambient_platform/_role_api.py | 4 ++-- .../ambient_platform/_role_binding_api.py | 4 ++-- .../ambient_platform/_scheduled_session_api.py | 4 ++-- .../python-sdk/ambient_platform/_session_api.py | 4 ++-- .../ambient_platform/_session_message_api.py | 4 ++-- .../python-sdk/ambient_platform/_user_api.py | 4 ++-- .../python-sdk/ambient_platform/agent.py | 4 ++-- .../python-sdk/ambient_platform/client.py | 4 ++-- .../python-sdk/ambient_platform/credential.py | 4 ++-- .../ambient_platform/inbox_message.py | 4 ++-- .../python-sdk/ambient_platform/project.py | 14 ++------------ .../ambient_platform/project_settings.py | 4 ++-- .../python-sdk/ambient_platform/role.py | 4 ++-- .../python-sdk/ambient_platform/role_binding.py | 4 ++-- .../ambient_platform/scheduled_session.py | 4 ++-- .../python-sdk/ambient_platform/session.py | 6 ++---- .../ambient_platform/session_message.py | 4 ++-- .../python-sdk/ambient_platform/user.py | 4 ++-- components/ambient-sdk/ts-sdk/src/agent.ts | 4 ++-- components/ambient-sdk/ts-sdk/src/agent_api.ts | 4 ++-- components/ambient-sdk/ts-sdk/src/base.ts | 4 ++-- components/ambient-sdk/ts-sdk/src/client.ts | 4 ++-- components/ambient-sdk/ts-sdk/src/credential.ts | 4 ++-- .../ambient-sdk/ts-sdk/src/credential_api.ts | 4 ++-- .../ambient-sdk/ts-sdk/src/inbox_message.ts | 4 ++-- .../ambient-sdk/ts-sdk/src/inbox_message_api.ts | 4 ++-- components/ambient-sdk/ts-sdk/src/index.ts | 4 ++-- components/ambient-sdk/ts-sdk/src/project.ts | 17 ++--------------- .../ambient-sdk/ts-sdk/src/project_api.ts | 4 ++-- .../ambient-sdk/ts-sdk/src/project_settings.ts | 4 ++-- .../ts-sdk/src/project_settings_api.ts | 4 ++-- components/ambient-sdk/ts-sdk/src/role.ts | 4 ++-- components/ambient-sdk/ts-sdk/src/role_api.ts | 4 ++-- .../ambient-sdk/ts-sdk/src/role_binding.ts | 4 ++-- .../ambient-sdk/ts-sdk/src/role_binding_api.ts | 4 ++-- .../ambient-sdk/ts-sdk/src/scheduled_session.ts | 4 ++-- .../ts-sdk/src/scheduled_session_api.ts | 4 ++-- components/ambient-sdk/ts-sdk/src/session.ts | 5 ++--- .../ambient-sdk/ts-sdk/src/session_api.ts | 4 ++-- .../ambient-sdk/ts-sdk/src/session_message.ts | 4 ++-- .../ts-sdk/src/session_message_api.ts | 4 ++-- components/ambient-sdk/ts-sdk/src/user.ts | 4 ++-- components/ambient-sdk/ts-sdk/src/user_api.ts | 4 ++-- 77 files changed, 154 insertions(+), 192 deletions(-) diff --git a/components/ambient-sdk/go-sdk/client/agent_api.go b/components/ambient-sdk/go-sdk/client/agent_api.go index 3f316bb1d..70ff768ae 100644 --- a/components/ambient-sdk/go-sdk/client/agent_api.go +++ b/components/ambient-sdk/go-sdk/client/agent_api.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package client diff --git a/components/ambient-sdk/go-sdk/client/client.go b/components/ambient-sdk/go-sdk/client/client.go index 15e288bdc..8e980ddec 100644 --- a/components/ambient-sdk/go-sdk/client/client.go +++ b/components/ambient-sdk/go-sdk/client/client.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package client diff --git a/components/ambient-sdk/go-sdk/client/credential_api.go b/components/ambient-sdk/go-sdk/client/credential_api.go index b81fe68a5..f59535bed 100644 --- a/components/ambient-sdk/go-sdk/client/credential_api.go +++ b/components/ambient-sdk/go-sdk/client/credential_api.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package client diff --git a/components/ambient-sdk/go-sdk/client/inbox_message_api.go b/components/ambient-sdk/go-sdk/client/inbox_message_api.go index 4d3c15d24..78c8d3c85 100644 --- a/components/ambient-sdk/go-sdk/client/inbox_message_api.go +++ b/components/ambient-sdk/go-sdk/client/inbox_message_api.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package client diff --git a/components/ambient-sdk/go-sdk/client/iterator.go b/components/ambient-sdk/go-sdk/client/iterator.go index 7dace4061..6aba49ec1 100644 --- a/components/ambient-sdk/go-sdk/client/iterator.go +++ b/components/ambient-sdk/go-sdk/client/iterator.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package client diff --git a/components/ambient-sdk/go-sdk/client/project_api.go b/components/ambient-sdk/go-sdk/client/project_api.go index c344befcc..33f225c38 100644 --- a/components/ambient-sdk/go-sdk/client/project_api.go +++ b/components/ambient-sdk/go-sdk/client/project_api.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package client diff --git a/components/ambient-sdk/go-sdk/client/project_settings_api.go b/components/ambient-sdk/go-sdk/client/project_settings_api.go index bd18a1e1a..abe081dd3 100644 --- a/components/ambient-sdk/go-sdk/client/project_settings_api.go +++ b/components/ambient-sdk/go-sdk/client/project_settings_api.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package client diff --git a/components/ambient-sdk/go-sdk/client/role_api.go b/components/ambient-sdk/go-sdk/client/role_api.go index f4fa5012c..bb53257cb 100644 --- a/components/ambient-sdk/go-sdk/client/role_api.go +++ b/components/ambient-sdk/go-sdk/client/role_api.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package client diff --git a/components/ambient-sdk/go-sdk/client/role_binding_api.go b/components/ambient-sdk/go-sdk/client/role_binding_api.go index b77131091..f191c429a 100644 --- a/components/ambient-sdk/go-sdk/client/role_binding_api.go +++ b/components/ambient-sdk/go-sdk/client/role_binding_api.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package client diff --git a/components/ambient-sdk/go-sdk/client/scheduled_session_api.go b/components/ambient-sdk/go-sdk/client/scheduled_session_api.go index 5cee76936..97d78a240 100644 --- a/components/ambient-sdk/go-sdk/client/scheduled_session_api.go +++ b/components/ambient-sdk/go-sdk/client/scheduled_session_api.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package client diff --git a/components/ambient-sdk/go-sdk/client/session_api.go b/components/ambient-sdk/go-sdk/client/session_api.go index cc8e6bc82..15ffb878a 100644 --- a/components/ambient-sdk/go-sdk/client/session_api.go +++ b/components/ambient-sdk/go-sdk/client/session_api.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package client diff --git a/components/ambient-sdk/go-sdk/client/session_message_api.go b/components/ambient-sdk/go-sdk/client/session_message_api.go index cfde0522e..f421d17ab 100644 --- a/components/ambient-sdk/go-sdk/client/session_message_api.go +++ b/components/ambient-sdk/go-sdk/client/session_message_api.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package client diff --git a/components/ambient-sdk/go-sdk/client/user_api.go b/components/ambient-sdk/go-sdk/client/user_api.go index 751bf85cf..85e0b22bd 100644 --- a/components/ambient-sdk/go-sdk/client/user_api.go +++ b/components/ambient-sdk/go-sdk/client/user_api.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package client diff --git a/components/ambient-sdk/go-sdk/types/agent.go b/components/ambient-sdk/go-sdk/types/agent.go index 62e0b3bfc..32a3b3572 100644 --- a/components/ambient-sdk/go-sdk/types/agent.go +++ b/components/ambient-sdk/go-sdk/types/agent.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package types diff --git a/components/ambient-sdk/go-sdk/types/base.go b/components/ambient-sdk/go-sdk/types/base.go index dd1e5101d..a52597bb7 100644 --- a/components/ambient-sdk/go-sdk/types/base.go +++ b/components/ambient-sdk/go-sdk/types/base.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package types diff --git a/components/ambient-sdk/go-sdk/types/credential.go b/components/ambient-sdk/go-sdk/types/credential.go index 4fa9aa021..25497cf87 100644 --- a/components/ambient-sdk/go-sdk/types/credential.go +++ b/components/ambient-sdk/go-sdk/types/credential.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package types diff --git a/components/ambient-sdk/go-sdk/types/inbox_message.go b/components/ambient-sdk/go-sdk/types/inbox_message.go index e1b1fa71e..e42266a72 100644 --- a/components/ambient-sdk/go-sdk/types/inbox_message.go +++ b/components/ambient-sdk/go-sdk/types/inbox_message.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package types diff --git a/components/ambient-sdk/go-sdk/types/list_options.go b/components/ambient-sdk/go-sdk/types/list_options.go index e26920272..a76ab63ce 100644 --- a/components/ambient-sdk/go-sdk/types/list_options.go +++ b/components/ambient-sdk/go-sdk/types/list_options.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package types diff --git a/components/ambient-sdk/go-sdk/types/project.go b/components/ambient-sdk/go-sdk/types/project.go index 27fb41206..110d7f76d 100644 --- a/components/ambient-sdk/go-sdk/types/project.go +++ b/components/ambient-sdk/go-sdk/types/project.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package types @@ -15,7 +15,6 @@ type Project struct { Annotations string `json:"annotations,omitempty"` Description string `json:"description,omitempty"` - DisplayName string `json:"display_name,omitempty"` Labels string `json:"labels,omitempty"` Name string `json:"name"` Prompt string `json:"prompt,omitempty"` @@ -51,11 +50,6 @@ func (b *ProjectBuilder) Description(v string) *ProjectBuilder { return b } -func (b *ProjectBuilder) DisplayName(v string) *ProjectBuilder { - b.resource.DisplayName = v - return b -} - func (b *ProjectBuilder) Labels(v string) *ProjectBuilder { b.resource.Labels = v return b @@ -104,11 +98,6 @@ func (b *ProjectPatchBuilder) Description(v string) *ProjectPatchBuilder { return b } -func (b *ProjectPatchBuilder) DisplayName(v string) *ProjectPatchBuilder { - b.patch["display_name"] = v - return b -} - func (b *ProjectPatchBuilder) Labels(v string) *ProjectPatchBuilder { b.patch["labels"] = v return b diff --git a/components/ambient-sdk/go-sdk/types/project_settings.go b/components/ambient-sdk/go-sdk/types/project_settings.go index 5d196d19e..a757e883d 100644 --- a/components/ambient-sdk/go-sdk/types/project_settings.go +++ b/components/ambient-sdk/go-sdk/types/project_settings.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package types diff --git a/components/ambient-sdk/go-sdk/types/role.go b/components/ambient-sdk/go-sdk/types/role.go index 1ab46de1d..8c01b85c8 100644 --- a/components/ambient-sdk/go-sdk/types/role.go +++ b/components/ambient-sdk/go-sdk/types/role.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package types diff --git a/components/ambient-sdk/go-sdk/types/role_binding.go b/components/ambient-sdk/go-sdk/types/role_binding.go index 6c0c00393..96d2a6f92 100644 --- a/components/ambient-sdk/go-sdk/types/role_binding.go +++ b/components/ambient-sdk/go-sdk/types/role_binding.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package types diff --git a/components/ambient-sdk/go-sdk/types/scheduled_session.go b/components/ambient-sdk/go-sdk/types/scheduled_session.go index 513bc4402..8f19ca28c 100755 --- a/components/ambient-sdk/go-sdk/types/scheduled_session.go +++ b/components/ambient-sdk/go-sdk/types/scheduled_session.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package types diff --git a/components/ambient-sdk/go-sdk/types/session.go b/components/ambient-sdk/go-sdk/types/session.go index db4683883..6ab57c367 100644 --- a/components/ambient-sdk/go-sdk/types/session.go +++ b/components/ambient-sdk/go-sdk/types/session.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package types @@ -43,7 +43,6 @@ type Session struct { SdkSessionID string `json:"sdk_session_id,omitempty"` StartTime *time.Time `json:"start_time,omitempty"` Timeout int `json:"timeout,omitempty"` - TriggeredByUserID string `json:"triggered_by_user_id,omitempty"` WorkflowID string `json:"workflow_id,omitempty"` } diff --git a/components/ambient-sdk/go-sdk/types/session_message.go b/components/ambient-sdk/go-sdk/types/session_message.go index a36ca535c..bacea4f72 100644 --- a/components/ambient-sdk/go-sdk/types/session_message.go +++ b/components/ambient-sdk/go-sdk/types/session_message.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package types diff --git a/components/ambient-sdk/go-sdk/types/user.go b/components/ambient-sdk/go-sdk/types/user.go index dcd5edf35..243bc73bf 100644 --- a/components/ambient-sdk/go-sdk/types/user.go +++ b/components/ambient-sdk/go-sdk/types/user.go @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z package types diff --git a/components/ambient-sdk/python-sdk/ambient_platform/__init__.py b/components/ambient-sdk/python-sdk/ambient_platform/__init__.py index 6c6172828..d6576b6d8 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/__init__.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/__init__.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z """Ambient Platform SDK for Python.""" diff --git a/components/ambient-sdk/python-sdk/ambient_platform/_agent_api.py b/components/ambient-sdk/python-sdk/ambient_platform/_agent_api.py index 8b052bda3..7686bf321 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/_agent_api.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/_agent_api.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/_base.py b/components/ambient-sdk/python-sdk/ambient_platform/_base.py index a89ec2219..849e6ec25 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/_base.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/_base.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/_credential_api.py b/components/ambient-sdk/python-sdk/ambient_platform/_credential_api.py index 3c53b8e41..ae079326d 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/_credential_api.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/_credential_api.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/_inbox_message_api.py b/components/ambient-sdk/python-sdk/ambient_platform/_inbox_message_api.py index 44d156824..980b41725 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/_inbox_message_api.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/_inbox_message_api.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/_iterator.py b/components/ambient-sdk/python-sdk/ambient_platform/_iterator.py index 51ee1ae13..d1badc402 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/_iterator.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/_iterator.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/_project_api.py b/components/ambient-sdk/python-sdk/ambient_platform/_project_api.py index 8b40d809a..4803fb33e 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/_project_api.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/_project_api.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/_project_settings_api.py b/components/ambient-sdk/python-sdk/ambient_platform/_project_settings_api.py index a67db461a..85c02e7f4 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/_project_settings_api.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/_project_settings_api.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/_role_api.py b/components/ambient-sdk/python-sdk/ambient_platform/_role_api.py index 96c787832..269d1d83b 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/_role_api.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/_role_api.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/_role_binding_api.py b/components/ambient-sdk/python-sdk/ambient_platform/_role_binding_api.py index e46ce2ed4..e24e17014 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/_role_binding_api.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/_role_binding_api.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/_scheduled_session_api.py b/components/ambient-sdk/python-sdk/ambient_platform/_scheduled_session_api.py index 59fb64f66..9949ad0ce 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/_scheduled_session_api.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/_scheduled_session_api.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/_session_api.py b/components/ambient-sdk/python-sdk/ambient_platform/_session_api.py index dd0502e49..b346794e7 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/_session_api.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/_session_api.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/_session_message_api.py b/components/ambient-sdk/python-sdk/ambient_platform/_session_message_api.py index 9d1630ec0..449b8d1ee 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/_session_message_api.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/_session_message_api.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/_user_api.py b/components/ambient-sdk/python-sdk/ambient_platform/_user_api.py index 4688a31da..993c549df 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/_user_api.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/_user_api.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/agent.py b/components/ambient-sdk/python-sdk/ambient_platform/agent.py index 8717241eb..e169241e9 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/agent.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/agent.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/client.py b/components/ambient-sdk/python-sdk/ambient_platform/client.py index e8ab8be33..a9469b133 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/client.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/client.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/credential.py b/components/ambient-sdk/python-sdk/ambient_platform/credential.py index 75945db55..0c4e5b77b 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/credential.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/credential.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/inbox_message.py b/components/ambient-sdk/python-sdk/ambient_platform/inbox_message.py index bb4163a55..eae1f643f 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/inbox_message.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/inbox_message.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/project.py b/components/ambient-sdk/python-sdk/ambient_platform/project.py index 14e1baeaf..e5670a66e 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/project.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/project.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations @@ -21,7 +21,6 @@ class Project: updated_at: Optional[datetime] = None annotations: str = "" description: str = "" - display_name: str = "" labels: str = "" name: str = "" prompt: str = "" @@ -37,7 +36,6 @@ def from_dict(cls, data: dict) -> Project: updated_at=_parse_datetime(data.get("updated_at")), annotations=data.get("annotations", ""), description=data.get("description", ""), - display_name=data.get("display_name", ""), labels=data.get("labels", ""), name=data.get("name", ""), prompt=data.get("prompt", ""), @@ -81,10 +79,6 @@ def description(self, value: str) -> ProjectBuilder: self._data["description"] = value return self - def display_name(self, value: str) -> ProjectBuilder: - self._data["display_name"] = value - return self - def labels(self, value: str) -> ProjectBuilder: self._data["labels"] = value return self @@ -120,10 +114,6 @@ def description(self, value: str) -> ProjectPatch: self._data["description"] = value return self - def display_name(self, value: str) -> ProjectPatch: - self._data["display_name"] = value - return self - def labels(self, value: str) -> ProjectPatch: self._data["labels"] = value return self diff --git a/components/ambient-sdk/python-sdk/ambient_platform/project_settings.py b/components/ambient-sdk/python-sdk/ambient_platform/project_settings.py index 2d5a43250..873348bf8 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/project_settings.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/project_settings.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/role.py b/components/ambient-sdk/python-sdk/ambient_platform/role.py index 5f177b177..3570c76ed 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/role.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/role.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/role_binding.py b/components/ambient-sdk/python-sdk/ambient_platform/role_binding.py index 015bff595..28a167173 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/role_binding.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/role_binding.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/scheduled_session.py b/components/ambient-sdk/python-sdk/ambient_platform/scheduled_session.py index 54221e60e..16fcd1f52 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/scheduled_session.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/scheduled_session.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/session.py b/components/ambient-sdk/python-sdk/ambient_platform/session.py index fd71d385e..e689a6680 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/session.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/session.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations @@ -48,7 +48,6 @@ class Session: sdk_session_id: str = "" start_time: Optional[datetime] = None timeout: int = 0 - triggered_by_user_id: str = "" workflow_id: str = "" @classmethod @@ -88,7 +87,6 @@ def from_dict(cls, data: dict) -> Session: sdk_session_id=data.get("sdk_session_id", ""), start_time=_parse_datetime(data.get("start_time")), timeout=data.get("timeout", 0), - triggered_by_user_id=data.get("triggered_by_user_id", ""), workflow_id=data.get("workflow_id", ""), ) diff --git a/components/ambient-sdk/python-sdk/ambient_platform/session_message.py b/components/ambient-sdk/python-sdk/ambient_platform/session_message.py index 0a7f78809..95f43f311 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/session_message.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/session_message.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/python-sdk/ambient_platform/user.py b/components/ambient-sdk/python-sdk/ambient_platform/user.py index e330f7a37..75c8e4160 100644 --- a/components/ambient-sdk/python-sdk/ambient_platform/user.py +++ b/components/ambient-sdk/python-sdk/ambient_platform/user.py @@ -1,7 +1,7 @@ # Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. # Source: ../../ambient-api-server/openapi/openapi.yaml -# Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -# Generated: 2026-05-07T15:10:36Z +# Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +# Generated: 2026-05-12T12:19:57Z from __future__ import annotations diff --git a/components/ambient-sdk/ts-sdk/src/agent.ts b/components/ambient-sdk/ts-sdk/src/agent.ts index 5acfba65c..24365fee0 100644 --- a/components/ambient-sdk/ts-sdk/src/agent.ts +++ b/components/ambient-sdk/ts-sdk/src/agent.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { ObjectReference, ListMeta } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/agent_api.ts b/components/ambient-sdk/ts-sdk/src/agent_api.ts index 59464aca2..e79ee3baf 100644 --- a/components/ambient-sdk/ts-sdk/src/agent_api.ts +++ b/components/ambient-sdk/ts-sdk/src/agent_api.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { AmbientClientConfig, ListOptions, RequestOptions } from './base'; import { ambientFetch, buildQueryString } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/base.ts b/components/ambient-sdk/ts-sdk/src/base.ts index be3537c66..bf3e64dd2 100644 --- a/components/ambient-sdk/ts-sdk/src/base.ts +++ b/components/ambient-sdk/ts-sdk/src/base.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z export type ObjectReference = { id: string; diff --git a/components/ambient-sdk/ts-sdk/src/client.ts b/components/ambient-sdk/ts-sdk/src/client.ts index 91c1120b5..ff9ce211c 100644 --- a/components/ambient-sdk/ts-sdk/src/client.ts +++ b/components/ambient-sdk/ts-sdk/src/client.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { AmbientClientConfig } from './base'; import { AgentAPI } from './agent_api'; diff --git a/components/ambient-sdk/ts-sdk/src/credential.ts b/components/ambient-sdk/ts-sdk/src/credential.ts index 87b717e03..a05c2ad43 100644 --- a/components/ambient-sdk/ts-sdk/src/credential.ts +++ b/components/ambient-sdk/ts-sdk/src/credential.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { ObjectReference, ListMeta } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/credential_api.ts b/components/ambient-sdk/ts-sdk/src/credential_api.ts index 17ef42a35..75a9cc73a 100644 --- a/components/ambient-sdk/ts-sdk/src/credential_api.ts +++ b/components/ambient-sdk/ts-sdk/src/credential_api.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { AmbientClientConfig, ListOptions, RequestOptions } from './base'; import { ambientFetch, buildQueryString } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/inbox_message.ts b/components/ambient-sdk/ts-sdk/src/inbox_message.ts index b7fe09d88..38fb7276a 100644 --- a/components/ambient-sdk/ts-sdk/src/inbox_message.ts +++ b/components/ambient-sdk/ts-sdk/src/inbox_message.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { ObjectReference, ListMeta } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/inbox_message_api.ts b/components/ambient-sdk/ts-sdk/src/inbox_message_api.ts index 67192aae2..a3ff4566a 100644 --- a/components/ambient-sdk/ts-sdk/src/inbox_message_api.ts +++ b/components/ambient-sdk/ts-sdk/src/inbox_message_api.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { AmbientClientConfig, ListOptions, RequestOptions } from './base'; import { ambientFetch, buildQueryString } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/index.ts b/components/ambient-sdk/ts-sdk/src/index.ts index 14ebfb2a7..260debf50 100644 --- a/components/ambient-sdk/ts-sdk/src/index.ts +++ b/components/ambient-sdk/ts-sdk/src/index.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z export { AmbientClient } from './client'; export type { AmbientClientConfig, ListOptions, RequestOptions, ObjectReference, ListMeta, APIError } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/project.ts b/components/ambient-sdk/ts-sdk/src/project.ts index a6984040f..fe815c53f 100644 --- a/components/ambient-sdk/ts-sdk/src/project.ts +++ b/components/ambient-sdk/ts-sdk/src/project.ts @@ -1,14 +1,13 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { ObjectReference, ListMeta } from './base'; export type Project = ObjectReference & { annotations: string; description: string; - display_name: string; labels: string; name: string; prompt: string; @@ -22,7 +21,6 @@ export type ProjectList = ListMeta & { export type ProjectCreateRequest = { annotations?: string; description?: string; - display_name?: string; labels?: string; name: string; prompt?: string; @@ -32,7 +30,6 @@ export type ProjectCreateRequest = { export type ProjectPatchRequest = { annotations?: string; description?: string; - display_name?: string; labels?: string; name?: string; prompt?: string; @@ -53,11 +50,6 @@ export class ProjectBuilder { return this; } - displayName(value: string): this { - this.data['display_name'] = value; - return this; - } - labels(value: string): this { this.data['labels'] = value; return this; @@ -100,11 +92,6 @@ export class ProjectPatchBuilder { return this; } - displayName(value: string): this { - this.data['display_name'] = value; - return this; - } - labels(value: string): this { this.data['labels'] = value; return this; diff --git a/components/ambient-sdk/ts-sdk/src/project_api.ts b/components/ambient-sdk/ts-sdk/src/project_api.ts index 4aad4586e..71acb895a 100644 --- a/components/ambient-sdk/ts-sdk/src/project_api.ts +++ b/components/ambient-sdk/ts-sdk/src/project_api.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { AmbientClientConfig, ListOptions, RequestOptions } from './base'; import { ambientFetch, buildQueryString } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/project_settings.ts b/components/ambient-sdk/ts-sdk/src/project_settings.ts index 45cd35448..f324474cb 100644 --- a/components/ambient-sdk/ts-sdk/src/project_settings.ts +++ b/components/ambient-sdk/ts-sdk/src/project_settings.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { ObjectReference, ListMeta } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/project_settings_api.ts b/components/ambient-sdk/ts-sdk/src/project_settings_api.ts index 6dc36025b..7494d52ec 100644 --- a/components/ambient-sdk/ts-sdk/src/project_settings_api.ts +++ b/components/ambient-sdk/ts-sdk/src/project_settings_api.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { AmbientClientConfig, ListOptions, RequestOptions } from './base'; import { ambientFetch, buildQueryString } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/role.ts b/components/ambient-sdk/ts-sdk/src/role.ts index 946306ec3..fe0ec8b91 100644 --- a/components/ambient-sdk/ts-sdk/src/role.ts +++ b/components/ambient-sdk/ts-sdk/src/role.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { ObjectReference, ListMeta } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/role_api.ts b/components/ambient-sdk/ts-sdk/src/role_api.ts index 204fbca5a..d51b5c731 100644 --- a/components/ambient-sdk/ts-sdk/src/role_api.ts +++ b/components/ambient-sdk/ts-sdk/src/role_api.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { AmbientClientConfig, ListOptions, RequestOptions } from './base'; import { ambientFetch, buildQueryString } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/role_binding.ts b/components/ambient-sdk/ts-sdk/src/role_binding.ts index 49412fa43..3743abeaa 100644 --- a/components/ambient-sdk/ts-sdk/src/role_binding.ts +++ b/components/ambient-sdk/ts-sdk/src/role_binding.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { ObjectReference, ListMeta } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/role_binding_api.ts b/components/ambient-sdk/ts-sdk/src/role_binding_api.ts index fad1dd2b5..b66dc018d 100644 --- a/components/ambient-sdk/ts-sdk/src/role_binding_api.ts +++ b/components/ambient-sdk/ts-sdk/src/role_binding_api.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { AmbientClientConfig, ListOptions, RequestOptions } from './base'; import { ambientFetch, buildQueryString } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/scheduled_session.ts b/components/ambient-sdk/ts-sdk/src/scheduled_session.ts index 132df56d0..9093d0656 100644 --- a/components/ambient-sdk/ts-sdk/src/scheduled_session.ts +++ b/components/ambient-sdk/ts-sdk/src/scheduled_session.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { ObjectReference, ListMeta } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/scheduled_session_api.ts b/components/ambient-sdk/ts-sdk/src/scheduled_session_api.ts index 1f47ee402..71fab3f2c 100644 --- a/components/ambient-sdk/ts-sdk/src/scheduled_session_api.ts +++ b/components/ambient-sdk/ts-sdk/src/scheduled_session_api.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { AmbientClientConfig, ListOptions, RequestOptions } from './base'; import { ambientFetch, buildQueryString } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/session.ts b/components/ambient-sdk/ts-sdk/src/session.ts index 1483820fd..149dc162b 100644 --- a/components/ambient-sdk/ts-sdk/src/session.ts +++ b/components/ambient-sdk/ts-sdk/src/session.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { ObjectReference, ListMeta } from './base'; @@ -35,7 +35,6 @@ export type Session = ObjectReference & { sdk_session_id: string; start_time: string; timeout: number; - triggered_by_user_id: string; workflow_id: string; }; diff --git a/components/ambient-sdk/ts-sdk/src/session_api.ts b/components/ambient-sdk/ts-sdk/src/session_api.ts index dd92a2969..fbe70d574 100644 --- a/components/ambient-sdk/ts-sdk/src/session_api.ts +++ b/components/ambient-sdk/ts-sdk/src/session_api.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { AmbientClientConfig, ListOptions, RequestOptions } from './base'; import { ambientFetch, buildQueryString } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/session_message.ts b/components/ambient-sdk/ts-sdk/src/session_message.ts index a7d68ec4f..5a27ac4c3 100644 --- a/components/ambient-sdk/ts-sdk/src/session_message.ts +++ b/components/ambient-sdk/ts-sdk/src/session_message.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { ObjectReference, ListMeta } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/session_message_api.ts b/components/ambient-sdk/ts-sdk/src/session_message_api.ts index e1293d1cc..05adbfe74 100644 --- a/components/ambient-sdk/ts-sdk/src/session_message_api.ts +++ b/components/ambient-sdk/ts-sdk/src/session_message_api.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { AmbientClientConfig, ListOptions, RequestOptions } from './base'; import { ambientFetch, buildQueryString } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/user.ts b/components/ambient-sdk/ts-sdk/src/user.ts index a3f85fb3e..7081a7c6e 100644 --- a/components/ambient-sdk/ts-sdk/src/user.ts +++ b/components/ambient-sdk/ts-sdk/src/user.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { ObjectReference, ListMeta } from './base'; diff --git a/components/ambient-sdk/ts-sdk/src/user_api.ts b/components/ambient-sdk/ts-sdk/src/user_api.ts index 440bee600..52763bc67 100644 --- a/components/ambient-sdk/ts-sdk/src/user_api.ts +++ b/components/ambient-sdk/ts-sdk/src/user_api.ts @@ -1,7 +1,7 @@ // Code generated by ambient-sdk-generator from openapi.yaml — DO NOT EDIT. // Source: ../../ambient-api-server/openapi/openapi.yaml -// Spec SHA256: c9d4494778eb0a006db1f289630460fb9b5dc58df1895903c42735b4f56b0314 -// Generated: 2026-05-07T15:10:36Z +// Spec SHA256: 99163f895057557b362154ec64acfcaf8cd98c477f79c0884555f347301f3c13 +// Generated: 2026-05-12T12:19:57Z import type { AmbientClientConfig, ListOptions, RequestOptions } from './base'; import { ambientFetch, buildQueryString } from './base'; From d16c41d4be28df210fa3e656cc2890d99166cedf Mon Sep 17 00:00:00 2001 From: Ambient Code Bot Date: Tue, 12 May 2026 14:11:16 +0000 Subject: [PATCH 5/7] fix(cli): remove display_name and triggered_by_user_id from TUI detail views Both fields were removed from the SDK types: - Project.DisplayName removed (field deleted from model in migration 202505090001) - Session.TriggeredByUserID removed (phantom field; CreatedByUserID is the correct field) Co-Authored-By: Claude Sonnet 4.6 --- components/ambient-cli/cmd/acpctl/ambient/tui/views/detail.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/ambient-cli/cmd/acpctl/ambient/tui/views/detail.go b/components/ambient-cli/cmd/acpctl/ambient/tui/views/detail.go index 50c7ca116..2516c5cc4 100644 --- a/components/ambient-cli/cmd/acpctl/ambient/tui/views/detail.go +++ b/components/ambient-cli/cmd/acpctl/ambient/tui/views/detail.go @@ -490,7 +490,6 @@ func ProjectDetail(p sdktypes.Project) []DetailLine { lines := []DetailLine{ {Key: "ID", Value: p.ID}, {Key: "Name", Value: p.Name}, - {Key: "Display Name", Value: p.DisplayName}, {Key: "Description", Value: p.Description}, {Key: "Status", Value: p.Status}, {Key: "Prompt", Value: p.Prompt}, @@ -543,7 +542,6 @@ func SessionDetail(s sdktypes.Session) []DetailLine { {Key: "Project ID", Value: s.ProjectID}, {Key: "Agent ID", Value: s.AgentID}, {Key: "Prompt", Value: s.Prompt}, - {Key: "Triggered By", Value: s.TriggeredByUserID}, {Key: "Assigned User", Value: s.AssignedUserID}, {Key: "Created By", Value: s.CreatedByUserID}, {Key: "Bot Account", Value: s.BotAccountName}, From f55753cd967c8e3eb6e18e7ac489bdfa3f8f5f22 Mon Sep 17 00:00:00 2001 From: Ambient Code Bot Date: Tue, 12 May 2026 14:34:03 +0000 Subject: [PATCH 6/7] fix(manifests): allow same-namespace ingress in runner NetworkPolicy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The NetworkPolicy applied podSelector:{} (all pods) with a single ingress rule allowing only runner pods. kindnet (kind v1.35 / kind v0.27) enforces NetworkPolicy, so this blocked all same-namespace pod-to-pod traffic — including frontend → backend-api requests that Cypress exercises in E2E tests. Add an explicit same-namespace allow rule so intra-namespace traffic continues while still permitting runner pods from any namespace. Co-Authored-By: Claude Sonnet 4.6 --- components/manifests/base/runner-networkpolicy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/manifests/base/runner-networkpolicy.yaml b/components/manifests/base/runner-networkpolicy.yaml index 5ba3395a1..c2a8cdfaa 100644 --- a/components/manifests/base/runner-networkpolicy.yaml +++ b/components/manifests/base/runner-networkpolicy.yaml @@ -7,6 +7,8 @@ spec: policyTypes: - Ingress ingress: + - from: + - podSelector: {} - from: - namespaceSelector: {} podSelector: From e6939b3a92ba633825306ef1ed5b25dbfb1093d5 Mon Sep 17 00:00:00 2001 From: Ambient Code Bot Date: Tue, 12 May 2026 14:59:02 +0000 Subject: [PATCH 7/7] fix(manifests): allow all ingress in runner NetworkPolicy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The NetworkPolicy with policyTypes:Ingress creates an implicit deny-all for every pod it selects. NodePort traffic (kube-proxy → frontend pod) does not originate from a pod, so it was blocked even after the same-namespace podSelector rule was added. Replace the same-namespace rule with a wildcard ingress rule (- {}) that permits all traffic sources, including NodePort and external clients. The runner-pod rule is preserved for forward compatibility with any future default-deny policy. Co-Authored-By: Claude Sonnet 4.6 --- components/manifests/base/runner-networkpolicy.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/manifests/base/runner-networkpolicy.yaml b/components/manifests/base/runner-networkpolicy.yaml index c2a8cdfaa..a873bd697 100644 --- a/components/manifests/base/runner-networkpolicy.yaml +++ b/components/manifests/base/runner-networkpolicy.yaml @@ -7,8 +7,7 @@ spec: policyTypes: - Ingress ingress: - - from: - - podSelector: {} + - {} - from: - namespaceSelector: {} podSelector: