Codex/feat/2026 03 20 frontend scripts#80
Merged
potter-sun merged 13 commits intorelease/2026-03-23from Mar 27, 2026
Merged
Conversation
…te default Studio URL and port in CLI.
…vocation, lifecycle, and scope management, including error handling.
… 5100 and clean up unused usings.
…kflow validation - Add new AppPlatform capability with abstractions, core, application, infrastructure, and hosting layers - Introduce app registry, access control, route resolution, and query services - Enhance workflow validator to detect missing role IDs and improve error reporting - Add support for workflow stop events in sub-workflow orchestrator - Remove deprecated Aevatar.App.Tests project and consolidate test dependencies - Update test projects to reference new Studio.* assemblies and adjust namespace imports - Add observation session fields to execution record storage model - Simplify app CLI command structure by removing restart subcommand
…ow integration Add core interfaces and services for app-level function invocation, operation tracking, and workflow connector resolution. Extend scope workflow capability to support app-aware workflows with explicit appId parameter. Introduce app resource management for connectors and secrets in releases. Update access control to include new mutation actions and public invoke permissions. Provide OpenAPI document generation and request serialization for app functions. The changes enable a unified app-level abstraction where functions can be invoked and streamed without exposing underlying workflow implementation details. This aligns with the architectural direction of converging external API surface to app/function semantics while maintaining backward compatibility for existing scope+workflowId paths.
Add regex validation to ensure app and function IDs contain only alphanumeric, underscore, and hyphen characters. This prevents potential security issues and malformed requests when using published functions.
The app platform module has been removed to consolidate platform services into a unified architecture. This includes: - Abstractions: Interfaces, DTOs, and access control models - Application services: Query and command handlers - Infrastructure: In-memory stores and configuration - Hosting: Web API endpoints and serialization - Core utilities: Path normalization and type registries - Test projects: Unit tests for authorization and services The removal eliminates duplication and aligns with the platform's evolving service boundaries.
…cripts' into feature/app-services # Conflicts: # apps/aevatar-console-web/src/shared/studio/api.test.ts # apps/aevatar-console-web/src/shared/studio/api.ts
- Add scope binding API port and models for workflow/script/gagent implementations - Add scope-first endpoints: binding management, draft-run, and invoke/chat:stream - Update frontend to support scope-first workflow binding and draft runs - Add scope binding UI to scripts workbench for binding saved scripts - Update runtime runs page to support draft mode with scope draft-run endpoint - Add documentation for scope-first architecture and implementation checklist - Set default localhost URL for mainnet host API
- Add scope overview page as the new landing page for scopes - Implement generic endpoint invocation for scripts and GAgents - Extend runs console to support service invocation drafts - Update binding APIs to support multiple implementation kinds - Add protobuf payload utilities for endpoint invocations
…tion
- Add scope-aware draft run endpoint for scripts at `/api/scopes/{scopeId}/scripts/draft-run` with scope validation
- Enhance scope scripts page with binding status display and revision activation UI
- Restrict auto-encoding to only StringValue and AppScriptCommand payload types
- Fix frontend state management for endpoint invocation to properly handle accepted vs finished runs
- Update scope binding service to validate scripting artifact hash when reusing revisions
- Add comprehensive tests for new scope-first endpoints and payload validation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.