feat: app dashboards capability + plugin template chrome upgrade#1262
Open
ebarroca wants to merge 83 commits into
Open
feat: app dashboards capability + plugin template chrome upgrade#1262ebarroca wants to merge 83 commits into
ebarroca wants to merge 83 commits into
Conversation
…s and validation rules
Free-form context the user provides when starting a run. Surfaced to the orchestrator LLM in supervised mode (visible throughout the run) and persisted on the run regardless so programmatic runs retain the intent that triggered them.
…onalities and delete interaction method; update common types for tool annotations and user confirmation
…base for consistency
…; update process validation logic and tests; add process node types and definitions
…acoEditor with path prop
…return structured response
… support - Updated `createClient` function to prioritize explicit environment variables over profile settings for API key, server URL, store URL, and project ID. - Improved handling of `VERTESIA_TOKEN` to allow for local server usage. - Added checks to fallback to profile values if environment variables are not set. feat(cli): add agent commands to CLI - Integrated `registerAgentsCommand` into the main CLI entry point. - Enhanced profiles command to include options for creating profiles with API keys and project/account IDs. feat(cli): expand object commands with search and query capabilities - Introduced `searchObjects` and `queryObjects` functions to allow for full-text search and querying indexed documents. - Updated `listObjects` and `getObjectText` functions to support JSON output. fix(cli): improve profile management and token handling - Refactored profile commands to ensure proper handling of asynchronous operations and error management. - Enhanced token refresh logic to handle interruptions gracefully. feat(cli): implement server-side improvements for configuration sessions - Updated `startConfigSession` to handle abort signals and ensure proper cleanup. - Improved error handling and validation for callback payloads in server responses. feat(client): add method to retrieve agent runs by ID - Introduced `retrieveRun` method in `AgentsApi` to fetch agent runs while preserving type information.
…ds; add child run identifiers to NodeHistoryEntry interface
…m termination logic and tests
- Increased minimumReleaseAge in pnpm-workspace.yaml from 1 day to 3 days to enhance protection against supply chain attacks. - Updated hono dependency version in pnpm-workspace.yaml to allow for 4.12.14. - Added dompurify@3.4.0 to minimumReleaseAgeExclude in pnpm-workspace.yaml. - Refactored static file serving in server-node.ts to use server.get instead of server.all for improved performance. - Upgraded google-auth-library from 10.5.0 to 10.6.2 in environment-configuration package.json. - Updated pnpm-lock.yaml to reflect changes in google-auth-library and other dependencies, including typescript from 5.9.3 to 6.0.3 and bun-types from 1.3.11 to 1.3.12.
…feat-process-engine
- Deleted connect.ts, docker-credential.ts, docker.ts, index.ts, project.ts, refresh.ts, registry.ts, version.ts from the worker directory. - Updated tsconfig.json to remove references to memory-cli and memory-commands. - Cleaned up pnpm-lock.yaml by removing unused dependencies and their references. - Excluded memory-cli and memory-commands from the pnpm workspace.
…d server URL functions
…orization request interfaces
# Conflicts: # packages/client/src/store/AgentsApi.ts
…w execution handling
… in PluginSidebar
…template updates - Add vertesia auth git and auth git credential commands for Git HTTPS auth to app repositories - Add AppPackageScope and getAppInstallationPackage to AppsApi - Update plugin template (CLAUDE.md, README, vite config, env) - Remove dev-* environment choices from profile target prompts - Minor admin UI and access-control updates
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.
Summary
'dashboards'toAppCapabilitiesand wiresAppDashboardDefinition[]throughToolServerConfigso apps can contribute read-only Vega-Lite dashboards exposed asapp:<name>:<id>via/api/package?scope=dashboards.PageShellprimitive.THEME_TOKENS,ASSISTANT_INTERACTION) so freshly-scaffolded plugins are themed and assistant-wired on first run.What's in this PR
SDK + types:
packages/common/src/apps.ts,packages/common/src/data-platform.ts— add'dashboards'capability.packages/tools-sdk/src/server/types.ts,app-package.ts,server.ts, newserver/dashboards.ts— expose dashboards through the tools-sdk surface and the package endpoint.Plugin template (
templates/plugin-template/):dashboards/bucket in the tool server (typed empty array stub).PageShell,CommandPalette,PersistentAssistant,assistantEvents(OPEN_ASSISTANT_EVENT).routes.tsx→ typedPluginRoute[]withlabel/icon/sidebarGroup/hideFromNavmetadata; sidebar and command palette both read from one source.PluginSidebardriven by registry; chat conversations now opt-in.PluginTopNav56px with primary action + notifications slots, single Ask AI launcher.PluginLayoutmounts<PersistentAssistant />.index.csspalette activated (was stubbed/commented).nav.askAi,nav.assistantContext,nav.commandPalette*, etc. (en + fr).template.config.json: newTHEME_TOKENSselect prompt (4 palettes) andASSISTANT_INTERACTIONtext prompt;index.cssandconstants.tsadded to substitutionfiles.Test Plan
pnpm exec tsc --project tsconfig.ui.json --noEmit— clean (only pre-existing missing-@vertesia/tools-admin-uifrommain.tsxshows up).pnpm exec tsc --project tsconfig.tool-server.json --noEmit— clean.pnpm run lint— clean.pnpm create @vertesia/plugin <name>against this branch (theme prompt + assistant interaction id substitution both apply to the right files)./api/package?scope=dashboardsreturns[]from a fresh plugin and the manifest'scapabilitiesreflectsdashboards.🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com