feat: add greeting field to all workflow configs#61
Merged
jeremyeder merged 1 commit intoambient-code:mainfrom Mar 9, 2026
Merged
feat: add greeting field to all workflow configs#61jeremyeder merged 1 commit intoambient-code:mainfrom
jeremyeder merged 1 commit intoambient-code:mainfrom
Conversation
Adds a user-facing `greeting` field to every workflow's ambient.json. The greeting is displayed instantly when a user selects a workflow, providing immediate feedback while the startupPrompt is sent to Claude in the background. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jeremyeder
added a commit
to jeremyeder/platform
that referenced
this pull request
Mar 9, 2026
Backend parses and serves the new `greeting` field from ambient.json. Frontend displays the greeting instantly when a workflow tile is clicked, while the startupPrompt is sent to Claude in the background. Users see immediate feedback with zero perceived latency. Companion PR: ambient-code/workflows#61 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jeremyeder
added a commit
to jeremyeder/platform
that referenced
this pull request
Mar 9, 2026
…ode#780 + ambient-code#846) Replaces the server-side workflow greeting round-trip with a client-side approach that provides instant feedback when users select a workflow. Backend: - Add `startupPrompt` and `greeting` fields to OOTBWorkflow struct - Parse both fields from ambient.json in workflow repos Frontend: - Display `greeting` text with typewriter streaming effect below tiles - Add `hidden` option to sendMessage for system-initiated messages - Remove 3-second hardcoded sleep after workflow activation - Remove server-side workflowGreeting state (no LLM round-trip needed) Runner: - Remove server-side greeting trigger logic (no longer needed) - Clean up unused imports (aiohttp, uuid, load_ambient_config) Tests: - Add vitest regression tests for stale greeting and race conditions - Add vitest.config.ts for frontend unit testing Companion: ambient-code/workflows#61 (ambient.json fixes) Supersedes ambient-code#780 and ambient-code#846. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Adds a
greetingfield to every workflow'sambient.json. The greeting is user-facing text displayed instantly when a workflow is selected, whilestartupPromptis sent to Claude in the background.greetingstartupPromptAll 6 workflows now have both fields. Validated with the CI lint workflow.
Companion PR: ambient-code/platform#849
🤖 Generated with Claude Code