@cteno/sdk-linux-x64 0.0.0-stage → 2.10.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.daemon +31 -0
- package/README.md +4 -2
- package/agents/flow-analyzer/AGENT.md +71 -0
- package/bin/cteno-host-cli +4 -0
- package/bin/cteno-wiki +0 -0
- package/bin/rg +0 -0
- package/bin/secret-exec +0 -0
- package/manifest.json +12 -0
- package/package.json +33 -4
- package/plugins/agent-secrets/.cteno-plugin/plugin.json +133 -0
- package/plugins/agent-secrets/bin/linux-x64/fnox +4 -0
- package/plugins/agent-secrets/bin/linux-x64/secret-exec +0 -0
- package/plugins/agent-secrets/skills/secret/SKILL.md +201 -0
- package/plugins/cteno.browser/.cteno-plugin/plugin.json +65 -0
- package/plugins/cteno.browser/skills/browser/SKILL.md +28 -0
- package/plugins/cteno.inbox/.cteno-plugin/plugin.json +128 -0
- package/plugins/cteno.inbox/bin/all/cteno-connector-credential +31 -0
- package/plugins/cteno.inbox/bin/all/cteno-telegram-connector +33 -0
- package/plugins/cteno.inbox/bin/linux-x64/cteno-inbox +0 -0
- package/plugins/cteno.inbox/skills/cteno-inbox/SKILL.md +374 -0
- package/plugins/cteno.inbox/tools/inbox_focus/TOOL.md +44 -0
- package/plugins/cteno.memory/.cteno-plugin/plugin.json +176 -0
- package/plugins/cteno.memory/agents/llm-wiki/AGENT.md +96 -0
- package/plugins/cteno.memory/bin/linux-x64/cteno-wiki +0 -0
- package/plugins/cteno.memory/skills/codebase-wiki/SKILL.md +52 -0
- package/plugins/cteno.memory/skills/cteno.memory.native/SKILL.md +110 -0
- package/plugins/cteno.memory/tools/memory/TOOL.md +492 -0
- package/plugins/cteno.memory/ui/index.html +822 -0
- package/plugins/cteno.models/.cteno-plugin/plugin.json +191 -0
- package/plugins/cteno.websearch/.cteno-plugin/plugin.json +45 -0
- package/plugins/jev/.cteno-plugin/plugin.json +305 -0
- package/plugins/jev/skills/jev-browser/SKILL.md +66 -0
- package/plugins/jev/skills/jev-browser/jev_browser.py +335 -0
- package/skills/agent-create/SKILL.md +86 -0
- package/skills/cteno-host-cli/SKILL.md +248 -0
- package/skills/docx/LICENSE +23 -0
- package/skills/docx/NOTICE.md +8 -0
- package/skills/docx/SKILL.md +69 -0
- package/skills/docx/references/cjk_typography.md +357 -0
- package/skills/docx/references/design_principles.md +819 -0
- package/skills/docx/references/revisions-and-comments.md +88 -0
- package/skills/docx/references/track_changes_guide.md +200 -0
- package/skills/docx/references/typography_guide.md +294 -0
- package/skills/docx/scripts/cjk_fonts.py +244 -0
- package/skills/docx/scripts/docx_comments.py +289 -0
- package/skills/docx/scripts/docx_common.py +92 -0
- package/skills/docx/scripts/docx_create.py +259 -0
- package/skills/docx/scripts/docx_edit.py +250 -0
- package/skills/docx/scripts/docx_read.py +149 -0
- package/skills/docx/scripts/docx_revisions.py +146 -0
- package/skills/docx/scripts/docx_template.py +70 -0
- package/skills/docx/scripts/docx_validate.py +156 -0
- package/skills/docx/scripts/render.py +250 -0
- package/skills/docx/tests/test_docx_skill.py +525 -0
- package/skills/home-devices/SKILL.md +121 -0
- package/skills/mcp/SKILL.md +72 -0
- package/skills/mcp/scripts/mcp_setup.py +439 -0
- package/skills/pdf/LICENSE +23 -0
- package/skills/pdf/NOTICE.md +8 -0
- package/skills/pdf/SKILL.md +63 -0
- package/skills/pdf/references/design-tokens.md +381 -0
- package/skills/pdf/references/forms.md +99 -0
- package/skills/pdf/references/nano-pdf-editing.md +40 -0
- package/skills/pdf/references/ocr-extraction.md +165 -0
- package/skills/pdf/scripts/_raster.py +76 -0
- package/skills/pdf/scripts/extract_marker.py +88 -0
- package/skills/pdf/scripts/extract_pymupdf.py +101 -0
- package/skills/pdf/scripts/pdf_create.py +191 -0
- package/skills/pdf/scripts/pdf_fill_form.py +97 -0
- package/skills/pdf/scripts/pdf_form_layout.py +168 -0
- package/skills/pdf/scripts/pdf_make_form.py +145 -0
- package/skills/pdf/scripts/pdf_merge.py +50 -0
- package/skills/pdf/scripts/pdf_meta.py +115 -0
- package/skills/pdf/scripts/pdf_page_image.py +99 -0
- package/skills/pdf/scripts/pdf_read.py +153 -0
- package/skills/pdf/scripts/pdf_secure.py +71 -0
- package/skills/pdf/scripts/pdf_split.py +84 -0
- package/skills/pdf/scripts/pdf_stamp.py +143 -0
- package/skills/pdf/scripts/pdf_watermark.py +51 -0
- package/skills/pdf/scripts/render.py +250 -0
- package/skills/pdf/tests/test_pdf_skill.py +415 -0
- package/skills/pptx/LICENSE +23 -0
- package/skills/pptx/NOTICE.md +8 -0
- package/skills/pptx/SKILL.md +62 -0
- package/skills/pptx/references/design-system.md +392 -0
- package/skills/pptx/references/pptxgenjs.md +420 -0
- package/skills/pptx/references/slide-types.md +413 -0
- package/skills/pptx/scripts/cjk_fonts.py +244 -0
- package/skills/pptx/scripts/pptx_create.py +240 -0
- package/skills/pptx/scripts/pptx_edit.py +436 -0
- package/skills/pptx/scripts/pptx_from_template.py +88 -0
- package/skills/pptx/scripts/pptx_read.py +131 -0
- package/skills/pptx/scripts/pptx_render.py +96 -0
- package/skills/pptx/scripts/render.py +250 -0
- package/skills/pptx/tests/test_powerpoint_skill.py +477 -0
- package/skills/skill-create/SKILL.md +114 -0
- package/skills/video-generation/SKILL.md +27 -0
- package/skills/xlsx/LICENSE +23 -0
- package/skills/xlsx/NOTICE.md +8 -0
- package/skills/xlsx/SKILL.md +63 -0
- package/skills/xlsx/references/format.md +71 -0
- package/skills/xlsx/references/restructuring.md +71 -0
- package/skills/xlsx/scripts/csv_to_xlsx.py +110 -0
- package/skills/xlsx/scripts/formula_check.py +428 -0
- package/skills/xlsx/scripts/render.py +250 -0
- package/skills/xlsx/scripts/xlsx_create.py +265 -0
- package/skills/xlsx/scripts/xlsx_edit.py +269 -0
- package/skills/xlsx/scripts/xlsx_read.py +166 -0
- package/skills/xlsx/scripts/xlsx_recalc.py +119 -0
- package/skills/xlsx/scripts/xlsx_restructure.py +343 -0
- package/skills/xlsx/scripts/xlsx_to_csv.py +75 -0
- package/skills/xlsx/tests/test_xlsx_skill.py +544 -0
- package/tools/create_goal/TOOL.md +36 -0
- package/tools/image_generation/TOOL.md +81 -0
- package/tools/skill/TOOL.md +117 -0
- package/tools/update_profile_notes/TOOL.md +39 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: image_generation
|
|
3
|
+
name: Image Generation
|
|
4
|
+
description: Generate images using text-to-image models via Happy Server proxy
|
|
5
|
+
category: system
|
|
6
|
+
version: "2.0.0"
|
|
7
|
+
supports_background: true
|
|
8
|
+
should_defer: true
|
|
9
|
+
search_hint: "generate image text-to-image AI drawing"
|
|
10
|
+
is_read_only: false
|
|
11
|
+
is_concurrency_safe: false
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# Image Generation Tool
|
|
15
|
+
|
|
16
|
+
Generate images from text descriptions. Images are generated via Happy Server proxy and billed per image from user balance.
|
|
17
|
+
|
|
18
|
+
## Available Models & Pricing
|
|
19
|
+
|
|
20
|
+
| Model | Price | Description |
|
|
21
|
+
|-------|-------|-------------|
|
|
22
|
+
| `qwen-image-max` (default) | ¥0.20 | 高质量图像 (固定尺寸) |
|
|
23
|
+
| `qwen-image-2.0-pro` | ¥0.20 | 最强文字渲染 + 自定义分辨率 |
|
|
24
|
+
| `qwen-image-plus` | ¥0.08 | 快速图像生成 |
|
|
25
|
+
| `wan2.6-t2i` | ¥0.08 | 写实摄影 + 文字渲染 |
|
|
26
|
+
|
|
27
|
+
## Parameters
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"prompt": "string (required) - Image description in Chinese or English",
|
|
32
|
+
"model": "string (optional) - Model name, default: qwen-image-max",
|
|
33
|
+
"size": "string (optional) - Image size, default: 1280*1280. Supported: 1280*1280, 1024*1024, 720*1280, 1280*720",
|
|
34
|
+
"negative_prompt": "string (optional) - What to avoid in the image",
|
|
35
|
+
"seed": "integer (optional) - Random seed for reproducibility (0-2147483647)",
|
|
36
|
+
"notify": "boolean (optional) - Send notification when done, default: true",
|
|
37
|
+
"timeout": "integer (optional) - Timeout in seconds, default: 300"
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Examples
|
|
42
|
+
|
|
43
|
+
**Basic usage** (returns immediately with run_id):
|
|
44
|
+
```json
|
|
45
|
+
{
|
|
46
|
+
"prompt": "一只可爱的橙色小猫坐在窗台上,阳光洒在它的毛发上,水彩画风格"
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**With custom parameters**:
|
|
51
|
+
```json
|
|
52
|
+
{
|
|
53
|
+
"prompt": "未来城市的全景图,赛博朋克风格,霓虹灯闪烁,超高清细节",
|
|
54
|
+
"model": "qwen-image-2.0-pro",
|
|
55
|
+
"size": "1280*720",
|
|
56
|
+
"negative_prompt": "模糊,低质量,变形,扭曲",
|
|
57
|
+
"seed": 42
|
|
58
|
+
}
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Output
|
|
62
|
+
|
|
63
|
+
Returns run_id immediately, then sends notification with local file path when complete.
|
|
64
|
+
|
|
65
|
+
## Notes
|
|
66
|
+
|
|
67
|
+
- **Background Only**: All executions run in background, typically takes 10-60 seconds
|
|
68
|
+
- **Auto Download**: Images are automatically downloaded to the current working directory
|
|
69
|
+
- **Billing**: Charged per image from user balance
|
|
70
|
+
- **Prompt Tips**:
|
|
71
|
+
- Be specific about style, composition, lighting
|
|
72
|
+
- Use Chinese for better results
|
|
73
|
+
- Include quality keywords like "高清", "细节丰富", "专业摄影"
|
|
74
|
+
|
|
75
|
+
## Agent Usage
|
|
76
|
+
|
|
77
|
+
When user requests image generation:
|
|
78
|
+
1. Call this tool with the enhanced prompt
|
|
79
|
+
2. The tool generates the image and **automatically downloads it to the current working directory**
|
|
80
|
+
3. You will receive a notification with the local file path when complete
|
|
81
|
+
4. Inform the user about the saved file location
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "skill"
|
|
3
|
+
name: "Skill"
|
|
4
|
+
description: |
|
|
5
|
+
Skill runtime management: activate/deactivate skills in the current conversation,
|
|
6
|
+
list installed skills, search/install from SkillHub.
|
|
7
|
+
To create new skills, activate the 'skill-create' skill instead.
|
|
8
|
+
category: "system"
|
|
9
|
+
version: "2.0.0"
|
|
10
|
+
supports_background: false
|
|
11
|
+
full_disclosure: always
|
|
12
|
+
input_schema:
|
|
13
|
+
type: object
|
|
14
|
+
properties:
|
|
15
|
+
operation:
|
|
16
|
+
type: string
|
|
17
|
+
enum: ["list", "activate", "deactivate", "search", "browse", "install"]
|
|
18
|
+
description: |
|
|
19
|
+
list: Show all installed skills
|
|
20
|
+
activate: Load skill instructions into conversation context
|
|
21
|
+
deactivate: Mark skill as no longer active
|
|
22
|
+
search: Search SkillHub registry
|
|
23
|
+
browse: View popular/trending skills from SkillHub
|
|
24
|
+
install: Download and install from SkillHub
|
|
25
|
+
id:
|
|
26
|
+
type: string
|
|
27
|
+
description: "Skill ID (for activate/deactivate)"
|
|
28
|
+
skill_id:
|
|
29
|
+
type: string
|
|
30
|
+
description: "Alias for id (for activate/deactivate)"
|
|
31
|
+
query:
|
|
32
|
+
type: string
|
|
33
|
+
description: "Search query (for search operation)"
|
|
34
|
+
slug:
|
|
35
|
+
type: string
|
|
36
|
+
description: "SkillHub skill slug (for install operation)"
|
|
37
|
+
args:
|
|
38
|
+
type: string
|
|
39
|
+
description: "For activate: arguments passed to the skill (available as $ARGS/$1 in instructions)"
|
|
40
|
+
include_resources:
|
|
41
|
+
type: boolean
|
|
42
|
+
description: "For activate: include file tree (default: true)"
|
|
43
|
+
reason:
|
|
44
|
+
type: string
|
|
45
|
+
description: "For deactivate: optional reason"
|
|
46
|
+
limit:
|
|
47
|
+
type: number
|
|
48
|
+
description: "Max results for search (default 20)"
|
|
49
|
+
required:
|
|
50
|
+
- operation
|
|
51
|
+
is_read_only: false
|
|
52
|
+
is_concurrency_safe: false
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
# Skill Tool
|
|
56
|
+
|
|
57
|
+
Runtime tool for skill activation and discovery.
|
|
58
|
+
|
|
59
|
+
## Quick Reference
|
|
60
|
+
|
|
61
|
+
| Operation | Required Params | Description |
|
|
62
|
+
|-----------|----------------|-------------|
|
|
63
|
+
| list | - | Show all installed skills with descriptions |
|
|
64
|
+
| activate | id | Load skill instructions into context |
|
|
65
|
+
| deactivate | id | Mark skill as inactive |
|
|
66
|
+
| search | query | Search SkillHub for skills |
|
|
67
|
+
| browse | - | View popular/trending skills |
|
|
68
|
+
| install | slug | Install skill from SkillHub |
|
|
69
|
+
|
|
70
|
+
## Variable Substitution
|
|
71
|
+
|
|
72
|
+
When a skill is activated, the following variables in SKILL.md are automatically replaced:
|
|
73
|
+
- `${SKILL_DIR}` → skill directory absolute path
|
|
74
|
+
- `${SESSION_ID}` → current session ID
|
|
75
|
+
- `${SKILL_ID}` → skill ID
|
|
76
|
+
- `${SKILL_NAME}` → skill display name
|
|
77
|
+
- `$ARGS` / `$1` → arguments passed via the `args` parameter
|
|
78
|
+
|
|
79
|
+
## Script Auto-Execution
|
|
80
|
+
|
|
81
|
+
Shell commands embedded in SKILL.md are executed at activation time:
|
|
82
|
+
- Fenced blocks: `` ```! command ``` `` → output replaces the block
|
|
83
|
+
- Inline: `` !`command` `` → output replaces inline
|
|
84
|
+
|
|
85
|
+
## Three-Layer Loading
|
|
86
|
+
|
|
87
|
+
Skills are loaded from these sources (higher priority overrides lower):
|
|
88
|
+
1. **builtin** — shipped with Cteno
|
|
89
|
+
2. **global** — `~/.agents/skills/` (Agent Skills standard), then `~/.cteno/skills/`
|
|
90
|
+
3. **workspace** — `{workdir}/.agents/skills/` (standard), then `{workdir}/.cteno/skills/` (project-specific, highest)
|
|
91
|
+
|
|
92
|
+
## Examples
|
|
93
|
+
|
|
94
|
+
### Activate a skill
|
|
95
|
+
```json
|
|
96
|
+
{"operation": "activate", "id": "xlsx"}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Activate with arguments
|
|
100
|
+
```json
|
|
101
|
+
{"operation": "activate", "id": "xlsx", "args": "analyze sales data"}
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Search SkillHub
|
|
105
|
+
```json
|
|
106
|
+
{"operation": "search", "query": "pdf generation", "limit": 10}
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Install from SkillHub
|
|
110
|
+
```json
|
|
111
|
+
{"operation": "install", "slug": "pdf-generator"}
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Create new skill
|
|
115
|
+
```json
|
|
116
|
+
{"operation": "create", "name": "my-custom-skill"}
|
|
117
|
+
```
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "update_profile_notes"
|
|
3
|
+
name: "Update Profile Notes"
|
|
4
|
+
description: "Update your own behavior notes based on user interactions"
|
|
5
|
+
category: "agent_profile"
|
|
6
|
+
version: "1.0.0"
|
|
7
|
+
supports_background: false
|
|
8
|
+
should_defer: true
|
|
9
|
+
search_hint: "update profile behavior notes communication style"
|
|
10
|
+
input_schema:
|
|
11
|
+
type: object
|
|
12
|
+
properties:
|
|
13
|
+
notes:
|
|
14
|
+
type: string
|
|
15
|
+
description: "Updated behavior notes (replaces existing notes entirely)"
|
|
16
|
+
required:
|
|
17
|
+
- notes
|
|
18
|
+
is_read_only: false
|
|
19
|
+
is_concurrency_safe: false
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# Update Profile Notes Tool
|
|
23
|
+
|
|
24
|
+
Update your behavior notes based on user feedback, preferences, and interaction patterns.
|
|
25
|
+
|
|
26
|
+
## When to Use
|
|
27
|
+
|
|
28
|
+
Use this tool when:
|
|
29
|
+
- The user shares preferences about communication style
|
|
30
|
+
- You learn important traits to maintain consistency
|
|
31
|
+
- The user explicitly asks you to remember behavioral preferences
|
|
32
|
+
|
|
33
|
+
## Format
|
|
34
|
+
|
|
35
|
+
Write profile notes as concise bullet points:
|
|
36
|
+
- Communication style preferences
|
|
37
|
+
- Domain expertise areas
|
|
38
|
+
- Decision-making principles
|
|
39
|
+
- Response format preferences
|