-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathservice.example.js
More file actions
60 lines (59 loc) · 2 KB
/
Copy pathservice.example.js
File metadata and controls
60 lines (59 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
const path = require("path");
module.exports = [
{
enabled: true,
name: "twitter",
indexPath: path.join(__dirname, "services/twitter/index.js"),
// X (Twitter) はAPI投稿ではなく、Web Intentでブラウザを開いて投稿する方式
// ブラウザのログイン状態をそのまま利用するため、認証情報は不要
options: {}
},
{
enabled: true,
isDefaultChecked: true,
name: "hatebu",
indexPath: path.join(__dirname, "services/hatebu/index.js")
},
// Last service is special
// Assign shortcut as Cmd + 0
{
enabled: process.env.NODE_ENV === "development",
name: "debug",
indexPath: path.join(__dirname, "services/debug/index.js")
}
];
// AI説明文生成を有効化する場合は、service.jsで aiConfig を追加します。
// module.exports.aiConfig = {
// enabled: true,
// type: "codex",
// cliPath: process.env.CODEX_CLI_PATH || `${process.env.HOME}/.local/bin/codex`,
// workDir: process.env.CODEX_WORK_DIR || process.cwd(),
// profile: "postem",
// model: "gpt-5.4",
// outputSchema: true,
// timeoutMs: 120000,
// logEvents: true,
// mcpServers: {
// "example-http": {
// url: "https://example.com/mcp",
// required: true,
// default_tools_approval_mode: "approve",
// enabled_tools: ["example_tool"]
// }
// },
// config: {
// model_reasoning_effort: "medium",
// model_verbosity: "low",
// default_permissions: "postem-no-files",
// "permissions.postem-no-files": {
// filesystem: {
// "/": "deny",
// ":workspace_roots": {
// ".": "deny"
// }
// }
// },
// "features.shell_tool": false
// },
// prompt: ({ url, title }) => `以下のURLの内容を要約してください。\n\nURL: ${url}\nTitle: ${title}`
// };