Skip to content

Codex/feat/2026 03 20 frontend scripts#80

Merged
potter-sun merged 13 commits intorelease/2026-03-23from
codex/feat/2026-03-20_frontend-scripts
Mar 27, 2026
Merged

Codex/feat/2026 03 20 frontend scripts#80
potter-sun merged 13 commits intorelease/2026-03-23from
codex/feat/2026-03-20_frontend-scripts

Conversation

@potter-sun
Copy link
Copy Markdown
Collaborator

No description provided.

eanzhao and others added 13 commits March 24, 2026 14:48
…vocation, lifecycle, and scope management, including error handling.
…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
@potter-sun potter-sun merged commit fa97ecc into release/2026-03-23 Mar 27, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants