@telepat/ideon 0.1.6 → 0.1.7
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/README.md +67 -115
- package/README.zh-Hans.md +114 -0
- package/dist/ideon.js +8053 -7040
- package/package.json +8 -2
package/README.md
CHANGED
|
@@ -1,162 +1,114 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
888 888 888 888 888 888 8 `88b. 8
|
|
5
|
-
888 888 888 888oooo8 888 888 8 `88b. 8
|
|
6
|
-
888 888 888 888 " 888 888 8 `88b.8
|
|
7
|
-
888 888 d88' 888 o `88b d88' 8 `888
|
|
8
|
-
o888o o888bood8P' o888ooooood8 `Y8bood8P' o8o `8
|
|
9
|
-
```
|
|
1
|
+
# Ideon
|
|
2
|
+
|
|
3
|
+
Ideon is an AI content writer that turns one idea into publish-ready content across multiple formats, styles, and channels.
|
|
10
4
|
|
|
11
|
-
|
|
5
|
+
[🇺🇸 English](./README.md) | [🇨🇳 简体中文](./README.zh-Hans.md)
|
|
12
6
|
|
|
13
7
|
[](https://github.com/telepat-io/ideon/actions/workflows/ci.yml)
|
|
14
8
|
[](https://codecov.io/gh/telepat-io/ideon)
|
|
15
9
|
[](https://www.npmjs.com/package/@telepat/ideon)
|
|
16
|
-
[](https://www.npmjs.com/package/@telepat/ideon)
|
|
17
10
|
[](https://docs.telepat.io/ideon)
|
|
18
11
|
[](https://github.com/telepat-io/ideon/blob/main/LICENSE)
|
|
19
12
|
|
|
20
|
-
|
|
13
|
+
## Why Teams Use Ideon
|
|
21
14
|
|
|
22
|
-
|
|
15
|
+
Ideon helps teams move from idea to publishable content faster, with less manual rewriting between channels.
|
|
23
16
|
|
|
24
|
-
|
|
25
|
-
- Interactive terminal UI with clear per-stage status and summaries
|
|
26
|
-
- Non-interactive fallback logging for CI and piped runs
|
|
27
|
-
- Resume support through local stage checkpoints in `.ideon/write/state.json`
|
|
28
|
-
- Config precedence across saved settings, job files, environment variables, and CLI flags
|
|
29
|
-
- Secure secret storage in OS keychain (OpenRouter + Replicate tokens)
|
|
30
|
-
- Runtime validation for generated plan and image prompt payloads
|
|
31
|
-
- Retry + timeout hardening on OpenRouter requests
|
|
17
|
+
With one run, Ideon can:
|
|
32
18
|
|
|
33
|
-
|
|
19
|
+
- Write multiple output types from the same core idea, including article, blog post, newsletter, Reddit post, LinkedIn post, X thread, and X post.
|
|
20
|
+
- Apply a consistent writing style across outputs (`professional`, `friendly`, `technical`, `academic`, `opinionated`, `storytelling`).
|
|
21
|
+
- Build research-informed briefs, enrich outputs with relevant links, and produce visuals for article-led runs.
|
|
22
|
+
- Support iteration through repeatable job files, configurable settings, and resumable runs.
|
|
34
23
|
|
|
35
|
-
|
|
24
|
+
This makes Ideon useful for content teams, developer advocates, product marketers, founders, and anyone shipping multi-channel writing on a schedule.
|
|
36
25
|
|
|
37
|
-
|
|
38
|
-
- npm 10+
|
|
26
|
+
## Quick Start
|
|
39
27
|
|
|
40
|
-
Install
|
|
28
|
+
Install and generate your first content set:
|
|
41
29
|
|
|
42
30
|
```bash
|
|
43
31
|
npm i -g @telepat/ideon
|
|
32
|
+
ideon settings
|
|
33
|
+
ideon write "How small editorial teams can productionize AI writing" --primary article=1 --secondary x-post=1
|
|
34
|
+
ideon preview
|
|
44
35
|
```
|
|
45
36
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
ideon --help
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
## Getting Started
|
|
37
|
+
Expected outcome:
|
|
53
38
|
|
|
54
|
-
|
|
39
|
+
- A generation folder is written under `output/<timestamp>-<slug>/`.
|
|
40
|
+
- One or more publish-ready Markdown outputs are produced.
|
|
41
|
+
- Analytics and artifact metadata are saved for review and reproducibility.
|
|
42
|
+
- Local preview opens to inspect content, links, and generated assets.
|
|
55
43
|
|
|
56
|
-
|
|
57
|
-
ideon settings
|
|
58
|
-
```
|
|
44
|
+
## Requirements
|
|
59
45
|
|
|
60
|
-
|
|
46
|
+
- Node.js 20+
|
|
47
|
+
- npm 10+
|
|
48
|
+
- OpenRouter API key
|
|
49
|
+
- Replicate API token
|
|
61
50
|
|
|
62
|
-
|
|
63
|
-
ideon write "How small editorial teams can productionize AI writing"
|
|
64
|
-
```
|
|
51
|
+
## Core Capabilities
|
|
65
52
|
|
|
66
|
-
|
|
53
|
+
- Multi-format writing from one idea: article, blog, newsletter, Reddit, LinkedIn, X thread, X post, landing-page copy.
|
|
54
|
+
- Style control per run: choose one voice and apply it consistently across all outputs.
|
|
55
|
+
- Research and enrichment: generate planning briefs and add relevant links via link enrichment.
|
|
56
|
+
- Image generation: render cover and inline visuals for article-focused runs.
|
|
57
|
+
- Iteration workflows: rerun with different targets/styles, resume interrupted jobs, and use job files for repeatable execution.
|
|
58
|
+
- Local review: preview generated outputs and assets in a browser before publishing.
|
|
67
59
|
|
|
68
|
-
|
|
69
|
-
ideon write "How small editorial teams can productionize AI writing" --target article=1 --target x-post=2 --style professional
|
|
70
|
-
```
|
|
60
|
+
## How It Works
|
|
71
61
|
|
|
72
|
-
|
|
62
|
+
Ideon runs a staged writing pipeline: planning, drafting, image prompt expansion, image rendering, channel output generation, and optional link enrichment.
|
|
73
63
|
|
|
74
|
-
|
|
75
|
-
ideon write --dry-run "How AI changes technical publishing"
|
|
76
|
-
```
|
|
64
|
+
It combines configuration from settings, environment variables, job files, and CLI flags, then writes structured artifacts for traceability and reuse.
|
|
77
65
|
|
|
78
|
-
|
|
66
|
+
Core commands:
|
|
79
67
|
|
|
80
68
|
```bash
|
|
81
69
|
ideon settings
|
|
82
|
-
ideon
|
|
70
|
+
ideon config list --json
|
|
71
|
+
ideon write "An article idea" --primary article=1
|
|
72
|
+
ideon write --no-interactive --idea "An article idea" --primary article=1 --style technical --length medium
|
|
83
73
|
ideon write --job ./job.json
|
|
84
|
-
ideon write --dry-run "An article idea"
|
|
85
74
|
ideon write resume
|
|
86
75
|
ideon delete my-article-slug
|
|
87
|
-
ideon preview
|
|
76
|
+
ideon preview --no-open
|
|
77
|
+
ideon mcp serve
|
|
78
|
+
ideon agent status --json
|
|
88
79
|
```
|
|
89
80
|
|
|
90
|
-
|
|
81
|
+
Agent integration scope:
|
|
91
82
|
|
|
92
|
-
|
|
83
|
+
- Supported: CLI and MCP runtime workflows.
|
|
84
|
+
- Not supported: Cursor and VS Code runtime integrations.
|
|
93
85
|
|
|
94
|
-
|
|
95
|
-
ideon preview
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
This launches the new React preview app (served from `dist/preview`) and the preview API server.
|
|
99
|
-
|
|
100
|
-
You can also preview a specific article and choose a port:
|
|
101
|
-
|
|
102
|
-
```bash
|
|
103
|
-
ideon preview ./output/my-article.md --port 4173
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
If you are iterating on preview UI code in `src/preview-app`, rebuild client assets after UI changes:
|
|
107
|
-
|
|
108
|
-
```bash
|
|
109
|
-
npm run build:preview
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
## Credentials
|
|
113
|
-
|
|
114
|
-
Live runs require:
|
|
115
|
-
|
|
116
|
-
- `IDEON_OPENROUTER_API_KEY`
|
|
117
|
-
- `IDEON_REPLICATE_API_TOKEN`
|
|
118
|
-
|
|
119
|
-
You can set these as environment variables, or save them via `ideon settings` (recommended).
|
|
120
|
-
|
|
121
|
-
## Output
|
|
86
|
+
## Security And Trust
|
|
122
87
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
-
|
|
126
|
-
-
|
|
127
|
-
- Run artifacts per generation: `job.json`, `generation.analytics.json`
|
|
128
|
-
- Local resume artifacts: `.ideon/write/state.json`
|
|
129
|
-
|
|
130
|
-
## Development Scripts
|
|
131
|
-
|
|
132
|
-
```bash
|
|
133
|
-
npm run lint
|
|
134
|
-
npm test
|
|
135
|
-
npm run build
|
|
136
|
-
npm run preview
|
|
137
|
-
npm run pricing:refresh
|
|
138
|
-
```
|
|
88
|
+
- Secrets are stored in the OS keychain by default via `ideon settings`.
|
|
89
|
+
- In CI or containerized environments, use `IDEON_OPENROUTER_API_KEY` and `IDEON_REPLICATE_API_TOKEN`.
|
|
90
|
+
- Set `IDEON_DISABLE_KEYTAR=true` when keychain access is unavailable.
|
|
91
|
+
- Generated outputs can include model-produced content, so review content before publication.
|
|
139
92
|
|
|
140
|
-
|
|
93
|
+
To report a security issue, open a private report through the repository security flow or contact maintainers through repository issue channels with minimal sensitive detail.
|
|
141
94
|
|
|
142
|
-
|
|
143
|
-
- Start docs locally: `npm run docs:start`
|
|
144
|
-
- Build docs: `npm run docs:build`
|
|
95
|
+
## Documentation And Support
|
|
145
96
|
|
|
146
|
-
|
|
97
|
+
- Documentation site: https://docs.telepat.io/ideon
|
|
98
|
+
- Language support: English and Simplified Chinese (`README.md` / `README.zh-Hans.md`, plus docs locales)
|
|
99
|
+
- Getting started: `docs/getting-started/quickstart.md`
|
|
100
|
+
- CLI reference: `docs/reference/cli-reference.md`
|
|
101
|
+
- Configuration guide: `docs/guides/configuration.md`
|
|
102
|
+
- Troubleshooting guide: `docs/guides/troubleshooting.md`
|
|
103
|
+
- Repository: https://github.com/telepat-io/ideon
|
|
104
|
+
- npm package: https://www.npmjs.com/package/@telepat/ideon
|
|
147
105
|
|
|
148
|
-
|
|
149
|
-
- npm package: [@telepat/ideon](https://www.npmjs.com/package/@telepat/ideon)
|
|
150
|
-
- Documentation site: [docs.telepat.io/ideon](https://docs.telepat.io/ideon)
|
|
106
|
+
## Contributing
|
|
151
107
|
|
|
152
|
-
|
|
108
|
+
Contributions are welcome. Start with `docs/contributing/development.md` for setup, workflow, and quality gates, then follow `docs/contributing/releasing-and-docs-deploy.md` for release and docs deployment details.
|
|
153
109
|
|
|
154
|
-
-
|
|
155
|
-
- Configuration and precedence: `docs-site/docs/guides/configuration.md`
|
|
156
|
-
- Pipeline and resume: `docs-site/docs/guides/pipeline-stages.md`
|
|
157
|
-
- Output artifacts: `docs-site/docs/guides/output-structure.md`
|
|
158
|
-
- Performance tuning: `docs-site/docs/guides/performance-and-costs.md`
|
|
110
|
+
For user-facing documentation changes, update both English and Simplified Chinese content in the same change.
|
|
159
111
|
|
|
160
|
-
|
|
112
|
+
## License
|
|
161
113
|
|
|
162
|
-
|
|
114
|
+
MIT. See [LICENSE](./LICENSE).
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# Ideon
|
|
2
|
+
|
|
3
|
+
Ideon 是一款 AI 内容写作工具,可将一个想法转化为多格式、多风格、可发布的内容。
|
|
4
|
+
|
|
5
|
+
[🇺🇸 English](./README.md) | [🇨🇳 简体中文](./README.zh-Hans.md)
|
|
6
|
+
|
|
7
|
+
[](https://github.com/telepat-io/ideon/actions/workflows/ci.yml)
|
|
8
|
+
[](https://codecov.io/gh/telepat-io/ideon)
|
|
9
|
+
[](https://www.npmjs.com/package/@telepat/ideon)
|
|
10
|
+
[](https://docs.telepat.io/ideon)
|
|
11
|
+
[](https://github.com/telepat-io/ideon/blob/main/LICENSE)
|
|
12
|
+
|
|
13
|
+
## 为什么团队使用 Ideon
|
|
14
|
+
|
|
15
|
+
Ideon 帮助团队更快地从想法走到可发布内容,减少跨渠道重复改写的工作量。
|
|
16
|
+
|
|
17
|
+
一次运行,Ideon 可以:
|
|
18
|
+
|
|
19
|
+
- 基于同一核心想法生成多种输出类型:article、blog、newsletter、Reddit、LinkedIn、X thread、X post 等。
|
|
20
|
+
- 在所有输出中统一应用写作风格(`professional`、`friendly`、`technical`、`academic`、`opinionated`、`storytelling`)。
|
|
21
|
+
- 生成研究导向的内容 brief,补充相关链接,并在文章型任务中生成配图。
|
|
22
|
+
- 通过作业文件、可配置参数与断点恢复能力支持持续迭代。
|
|
23
|
+
|
|
24
|
+
这使 Ideon 适用于内容团队、开发者关系、产品营销、创始人以及需要按节奏进行多渠道写作的个人或团队。
|
|
25
|
+
|
|
26
|
+
## 快速开始
|
|
27
|
+
|
|
28
|
+
安装并完成第一次内容生成:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
npm i -g @telepat/ideon
|
|
32
|
+
ideon settings
|
|
33
|
+
ideon write "How small editorial teams can productionize AI writing" --primary article=1 --secondary x-post=1
|
|
34
|
+
ideon preview
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
预期结果:
|
|
38
|
+
|
|
39
|
+
- 在 `output/<timestamp>-<slug>/` 下生成一个运行目录。
|
|
40
|
+
- 产出一个或多个可发布的 Markdown 输出。
|
|
41
|
+
- 保存 analytics 与元数据,便于复现与回溯。
|
|
42
|
+
- 本地预览自动打开,便于检查内容、链接与资源。
|
|
43
|
+
|
|
44
|
+
## 环境要求
|
|
45
|
+
|
|
46
|
+
- Node.js 20+
|
|
47
|
+
- npm 10+
|
|
48
|
+
- OpenRouter API key
|
|
49
|
+
- Replicate API token
|
|
50
|
+
|
|
51
|
+
## 核心能力
|
|
52
|
+
|
|
53
|
+
- 一次想法,多格式写作:article、blog、newsletter、Reddit、LinkedIn、X thread、X post、landing-page copy。
|
|
54
|
+
- 风格控制:按运行设置统一写作语气与表达风格。
|
|
55
|
+
- 研究与链接增强:生成规划 brief,并为内容补充相关链接。
|
|
56
|
+
- 图像生成:为文章型任务生成封面图与文内配图。
|
|
57
|
+
- 迭代能力:可通过不同目标/风格重复生成,支持中断恢复和作业文件复用。
|
|
58
|
+
- 本地审阅:在发布前通过浏览器预览内容与资源。
|
|
59
|
+
|
|
60
|
+
## 工作原理
|
|
61
|
+
|
|
62
|
+
Ideon 采用分阶段写作流水线:内容规划、正文生成、图像提示扩展、图像渲染、渠道内容生成,以及可选的链接增强。
|
|
63
|
+
|
|
64
|
+
运行时会合并 settings、环境变量、job 文件与 CLI 参数,并输出结构化产物,便于追踪与复用。
|
|
65
|
+
|
|
66
|
+
核心命令:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
ideon settings
|
|
70
|
+
ideon config list --json
|
|
71
|
+
ideon write "An article idea" --primary article=1
|
|
72
|
+
ideon write --no-interactive --idea "An article idea" --primary article=1 --style technical --length medium
|
|
73
|
+
ideon write --job ./job.json
|
|
74
|
+
ideon write resume
|
|
75
|
+
ideon delete my-article-slug
|
|
76
|
+
ideon preview --no-open
|
|
77
|
+
ideon mcp serve
|
|
78
|
+
ideon agent status --json
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Agent 集成范围:
|
|
82
|
+
|
|
83
|
+
- 支持:CLI 与 MCP runtime 工作流。
|
|
84
|
+
- 不支持:Cursor 与 VS Code runtime 集成。
|
|
85
|
+
|
|
86
|
+
## 安全与信任
|
|
87
|
+
|
|
88
|
+
- 默认通过 `ideon settings` 将密钥保存到系统钥匙串。
|
|
89
|
+
- 在 CI 或容器环境中,请使用 `IDEON_OPENROUTER_API_KEY` 和 `IDEON_REPLICATE_API_TOKEN`。
|
|
90
|
+
- 在无法访问钥匙串时设置 `IDEON_DISABLE_KEYTAR=true`。
|
|
91
|
+
- 生成内容来自模型输出,发布前请进行人工审阅。
|
|
92
|
+
|
|
93
|
+
如需报告安全问题,请通过仓库安全报告通道私下提交,或通过仓库 issue 渠道联系维护者并避免包含敏感细节。
|
|
94
|
+
|
|
95
|
+
## 文档与支持
|
|
96
|
+
|
|
97
|
+
- 文档站点:https://docs.telepat.io/ideon
|
|
98
|
+
- 语言支持:English 与 简体中文(`README.md` / `README.zh-Hans.md`,以及双语文档)
|
|
99
|
+
- 快速上手:`docs/getting-started/quickstart.md`
|
|
100
|
+
- CLI 参考:`docs/reference/cli-reference.md`
|
|
101
|
+
- 配置指南:`docs/guides/configuration.md`
|
|
102
|
+
- 故障排查:`docs/guides/troubleshooting.md`
|
|
103
|
+
- 仓库:https://github.com/telepat-io/ideon
|
|
104
|
+
- npm 包:https://www.npmjs.com/package/@telepat/ideon
|
|
105
|
+
|
|
106
|
+
## 贡献
|
|
107
|
+
|
|
108
|
+
欢迎贡献。请先阅读 `docs/contributing/development.md`(开发环境与质量门禁),再参考 `docs/contributing/releasing-and-docs-deploy.md`(发布与文档部署流程)。
|
|
109
|
+
|
|
110
|
+
如修改面向用户的文档内容,请在同一变更中同时更新 English 与 简体中文版本。
|
|
111
|
+
|
|
112
|
+
## 许可证
|
|
113
|
+
|
|
114
|
+
MIT。详见 [LICENSE](./LICENSE).
|