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 触发
76 lines
1.7 KiB
YAML
76 lines
1.7 KiB
YAML
# 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
|