- Add hostActionExecutor.ts to manage execution of host actions including context retrieval, plan creation, and final answers. - Introduce hostActionTools.ts for defining and validating host action schemas. - Create hostNode.ts to handle decision-making and task execution logic for the AI host. - Implement hostPrompt.ts to generate prompts for host decision-making based on current state and context evidence. - Enhance runtime.ts to include local instructions in the AI run context. - Update types.ts to define new types for host actions and events. - Modify ChatPage.tsx to handle internal events and improve user feedback on task execution and approval processes. - Ensure proper handling of internal events in the UI to avoid unnecessary user notifications.
23 lines
694 B
YAML
23 lines
694 B
YAML
schema: spec-driven
|
|
# Project context (optional)
|
|
# This is shown to AI when creating artifacts.
|
|
# Add your tech stack, conventions, style guides, domain knowledge, etc.
|
|
# Example:
|
|
# context: |
|
|
# Tech stack: TypeScript, React, Node.js
|
|
# We use conventional commits
|
|
# Domain: e-commerce platform
|
|
|
|
# Per-artifact rules (optional)
|
|
# Add custom rules for specific artifacts.
|
|
# Example:
|
|
# rules:
|
|
# proposal:
|
|
# - Keep proposals under 500 words
|
|
# - Always include a "Non-goals" section
|
|
# tasks:
|
|
# - Break tasks into chunks of max 2 hours
|
|
context: |
|
|
language: Chinese(simplified)
|
|
生成openspec相关文档时都必须使用中文,包括specs中的内容
|