feat: Batch 5-9 — GrowthIntegration桥接、验证补全、死代码清理、Pipeline模板、Speech/Twitter真实实现
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
Batch 5 (P0): GrowthIntegration 接入 Tauri - Kernel 新增 set_viking()/set_extraction_driver() 桥接 SqliteStorage - 中间件链共享存储,MemoryExtractor 接入 LLM 驱动 Batch 6 (P1): 输入验证 + Heartbeat - Relay 验证补全(stream 兼容检查、API key 格式校验) - UUID 类型校验、SessionId 错误返回 - Heartbeat 默认开启 + 首次聊天自动初始化 Batch 7 (P2): 死代码清理 - zclaw-channels 整体移除(317 行) - multi-agent 特性门控、admin 方法标注 Batch 8 (P2): Pipeline 模板 - PipelineMetadata 新增 annotations 字段 - pipeline_templates 命令 + 2 个示例模板 - fallback driver base_url 修复(doubao/qwen/deepseek 端点) Batch 9 (P1): SpeechHand/TwitterHand 真实实现 - SpeechHand: tts_method 字段 + Browser TTS 前端集成 (Web Speech API) - TwitterHand: 12 个 action 全部替换为 Twitter API v2 真实 HTTP 调用 - chatStore/useAutomationEvents 双路径 TTS 触发
This commit is contained in:
75
pipelines/_templates/article-summary.yaml
Normal file
75
pipelines/_templates/article-summary.yaml
Normal file
@@ -0,0 +1,75 @@
|
||||
# ZCLAW Pipeline Template — 快速文章摘要
|
||||
# 用户输入文章或 URL,自动提取摘要、关键观点和行动项
|
||||
|
||||
apiVersion: zclaw/v1
|
||||
kind: Pipeline
|
||||
metadata:
|
||||
name: article-summary-template
|
||||
displayName: 快速文章摘要
|
||||
category: productivity
|
||||
industry: general
|
||||
description: 输入文章内容或 URL,自动生成结构化摘要、关键观点和行动项
|
||||
tags:
|
||||
- 摘要
|
||||
- 阅读
|
||||
- 效率
|
||||
icon: 📝
|
||||
author: ZCLAW
|
||||
version: 1.0.0
|
||||
annotations:
|
||||
is_template: true
|
||||
|
||||
spec:
|
||||
inputs:
|
||||
- name: content
|
||||
type: text
|
||||
required: true
|
||||
label: 文章内容
|
||||
placeholder: 粘贴文章内容或输入 URL
|
||||
validation:
|
||||
min_length: 10
|
||||
- name: style
|
||||
type: select
|
||||
required: false
|
||||
label: 摘要风格
|
||||
default: concise
|
||||
options:
|
||||
- concise
|
||||
- detailed
|
||||
- bullet-points
|
||||
- name: language
|
||||
type: select
|
||||
required: false
|
||||
label: 输出语言
|
||||
default: chinese
|
||||
options:
|
||||
- chinese
|
||||
- english
|
||||
- japanese
|
||||
|
||||
outputs:
|
||||
- name: summary
|
||||
type: text
|
||||
label: 文章摘要
|
||||
- name: key_points
|
||||
type: list
|
||||
label: 关键观点
|
||||
- name: action_items
|
||||
type: list
|
||||
label: 行动项
|
||||
|
||||
steps:
|
||||
- name: extract-summary
|
||||
action: llm_generate
|
||||
params:
|
||||
prompt: |
|
||||
请用{{style}}风格,以{{language}}语言,总结以下文章内容。
|
||||
输出格式要求:
|
||||
1. 摘要 (3-5 句话)
|
||||
2. 关键观点 (5-8 条)
|
||||
3. 行动项 (如适用)
|
||||
|
||||
文章内容:
|
||||
{{content}}
|
||||
model: default
|
||||
output: summary_result
|
||||
65
pipelines/_templates/competitor-analysis.yaml
Normal file
65
pipelines/_templates/competitor-analysis.yaml
Normal file
@@ -0,0 +1,65 @@
|
||||
# ZCLAW Pipeline Template — 竞品分析报告
|
||||
# 输入竞品名称和行业,自动生成结构化竞品分析报告
|
||||
|
||||
apiVersion: zclaw/v1
|
||||
kind: Pipeline
|
||||
metadata:
|
||||
name: competitor-analysis-template
|
||||
displayName: 竞品分析报告
|
||||
category: marketing
|
||||
industry: general
|
||||
description: 输入竞品名称和行业领域,自动生成包含产品对比、SWOT 分析和市场定位的分析报告
|
||||
tags:
|
||||
- 竞品分析
|
||||
- 市场
|
||||
- 战略
|
||||
icon: 📊
|
||||
author: ZCLAW
|
||||
version: 1.0.0
|
||||
annotations:
|
||||
is_template: true
|
||||
|
||||
spec:
|
||||
inputs:
|
||||
- name: competitor_name
|
||||
type: string
|
||||
required: true
|
||||
label: 竞品名称
|
||||
placeholder: 例如:Notion
|
||||
- name: industry
|
||||
type: string
|
||||
required: true
|
||||
label: 行业领域
|
||||
placeholder: 例如:SaaS 协作工具
|
||||
- name: focus_areas
|
||||
type: multi-select
|
||||
required: false
|
||||
label: 分析维度
|
||||
default:
|
||||
- features
|
||||
- pricing
|
||||
- target_audience
|
||||
options:
|
||||
- features
|
||||
- pricing
|
||||
- target_audience
|
||||
- technology
|
||||
- marketing_strategy
|
||||
|
||||
steps:
|
||||
- name: analyze-competitor
|
||||
action: llm_generate
|
||||
params:
|
||||
prompt: |
|
||||
请对 {{competitor_name}}({{industry}}行业)进行竞品分析。
|
||||
重点分析以下维度:{{focus_areas}}
|
||||
|
||||
输出格式:
|
||||
1. 产品概述
|
||||
2. 核心功能对比
|
||||
3. 定价策略分析
|
||||
4. 目标用户画像
|
||||
5. SWOT 分析
|
||||
6. 市场定位建议
|
||||
model: default
|
||||
output: analysis_result
|
||||
Reference in New Issue
Block a user