@intra-mart/accel 0.3.0-dev.202606220428 → 0.3.0-dev.202606220635
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 +6 -4
- package/dist/core/constants.d.ts +1 -1
- package/dist/core/constants.js +2 -2
- package/dist/i18n/en.js +2 -1
- package/dist/i18n/ja.js +2 -1
- package/dist/i18n/zh_CN.js +2 -1
- package/dist/interactive/agent-detect.js +1 -0
- package/dist/interactive/next-steps.js +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
intra-mart Accel Platform (iAP) 開発プロジェクトの作成・管理を行うCLIツール。
|
|
4
4
|
|
|
5
|
-
コーディングエージェント(Claude Code、GitHub Copilot)向けのスキルファイルやインストラクションなどの資材を、資材リポジトリから取得しプロジェクトに配備します。
|
|
5
|
+
コーディングエージェント(Claude Code、Codex、GitHub Copilot)向けのスキルファイルやインストラクションなどの資材を、資材リポジトリから取得しプロジェクトに配備します。
|
|
6
6
|
|
|
7
7
|
## 必要環境
|
|
8
8
|
|
|
@@ -59,7 +59,7 @@ accel init my-project \
|
|
|
59
59
|
| `--accelplatform-version` | string | iAPバージョン。カタログのリリースID形式(例: `2026-spring`) | 対話で選択 |
|
|
60
60
|
| `--module` | string | 使用モジュール。カタログの `artifactId`(カンマ区切り。例: `im_workflow,im_activiti`) | 対話で選択 |
|
|
61
61
|
| `--feature` | string | 使用機能。カタログの機能ID(カンマ区切り。例: `jssp,e2e`) | 未選択 |
|
|
62
|
-
| `--agent` | string | エージェント種別(`claude-code`, `github-copilot`、カンマ区切り) | 自動検出 |
|
|
62
|
+
| `--agent` | string | エージェント種別(`claude-code`, `codex`, `github-copilot`、カンマ区切り) | 自動検出 |
|
|
63
63
|
| `--locale` | string | ロケール(`ja`, `en`, `zh_CN`) | OS設定から自動検出 |
|
|
64
64
|
| `--artifact-id` | string | アーティファクトID(pomの `artifactId` に相当) | プロジェクト名と同値 |
|
|
65
65
|
| `--group` | string | グループ名(pomの `groupId` に相当) | `com.example` |
|
|
@@ -102,7 +102,7 @@ accel attach --non-interactive --accelplatform-version 2026-spring --module im_w
|
|
|
102
102
|
| `--accelplatform-version` | string | iAPバージョン。カタログのリリースID形式(例: `2026-spring`) | 対話で選択 |
|
|
103
103
|
| `--module` | string | 使用モジュール。カタログの `artifactId`(カンマ区切り。例: `im_workflow,im_activiti`) | 対話で選択 |
|
|
104
104
|
| `--feature` | string | 使用機能。カタログの機能ID(カンマ区切り。例: `jssp,e2e`) | 未選択 |
|
|
105
|
-
| `--agent` | string | エージェント種別(`claude-code`, `github-copilot`、カンマ区切り) | 自動検出 |
|
|
105
|
+
| `--agent` | string | エージェント種別(`claude-code`, `codex`, `github-copilot`、カンマ区切り) | 自動検出 |
|
|
106
106
|
| `--locale` | string | ロケール(`ja`, `en`, `zh_CN`) | OS設定から自動検出 |
|
|
107
107
|
| `--artifact-id` | string | アーティファクトID(pomの `artifactId` に相当) | プロジェクト名と同値 |
|
|
108
108
|
| `--group` | string | グループ名(pomの `groupId` に相当) | `com.example` |
|
|
@@ -274,6 +274,8 @@ my-project/
|
|
|
274
274
|
├── .claude/ # agent=claude-code 時
|
|
275
275
|
│ ├── CLAUDE.md
|
|
276
276
|
│ └── skills/
|
|
277
|
+
├── .codex/ # agent=codex 時
|
|
278
|
+
│ └── AGENTS.md
|
|
277
279
|
├── .github/ # agent=github-copilot 時
|
|
278
280
|
│ ├── copilot-instructions.md
|
|
279
281
|
│ └── AGENTS.md
|
|
@@ -302,5 +304,5 @@ CLIに渡された値および対話で入力された値は、以下のルー
|
|
|
302
304
|
| `--module` | 選択したiAPリリースのカタログに含まれるモジュールの `artifactId`(例: `im_workflow`, `im_activiti`)のいずれか(各要素) |
|
|
303
305
|
| `--feature` | 選択したiAPリリースのカタログに含まれる機能ID(例: `jssp`, `imds`, `i18n`, `e2e`)のいずれか(各要素) |
|
|
304
306
|
| `--database` | `postgresql`, `oracle`, `sqlserver` のいずれか |
|
|
305
|
-
| `--agent` | `claude-code`, `github-copilot` のいずれか(各要素) |
|
|
307
|
+
| `--agent` | `claude-code`, `codex`, `github-copilot` のいずれか(各要素) |
|
|
306
308
|
| `--package-manager` | `bun`, `npm`, `yarn`, `pnpm` のいずれか |
|
package/dist/core/constants.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { AccelSettings } from "./types.js";
|
|
|
2
2
|
export declare const CLI_VERSION = "0.1.0";
|
|
3
3
|
export declare const DATABASE_OPTIONS: readonly ["postgresql", "oracle", "sqlserver"];
|
|
4
4
|
export type DatabaseOption = (typeof DATABASE_OPTIONS)[number];
|
|
5
|
-
export declare const AGENT_OPTIONS: readonly ["claude-code", "github-copilot"];
|
|
5
|
+
export declare const AGENT_OPTIONS: readonly ["claude-code", "codex", "github-copilot"];
|
|
6
6
|
export type AgentOption = (typeof AGENT_OPTIONS)[number];
|
|
7
7
|
export declare const LOCALE_OPTIONS: readonly ["ja", "en", "zh_CN"];
|
|
8
8
|
export type LocaleOption = (typeof LOCALE_OPTIONS)[number];
|
package/dist/core/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const CLI_VERSION = "0.1.0";
|
|
2
2
|
export const DATABASE_OPTIONS = ["postgresql", "oracle", "sqlserver"];
|
|
3
|
-
export const AGENT_OPTIONS = ["claude-code", "github-copilot"];
|
|
3
|
+
export const AGENT_OPTIONS = ["claude-code", "codex", "github-copilot"];
|
|
4
4
|
export const LOCALE_OPTIONS = ["ja", "en", "zh_CN"];
|
|
5
5
|
export const PACKAGE_MANAGER_OPTIONS = [
|
|
6
6
|
"bun",
|
|
@@ -20,7 +20,7 @@ export const DEFAULT_SETTINGS = {
|
|
|
20
20
|
modules: [],
|
|
21
21
|
features: [],
|
|
22
22
|
database: "postgresql",
|
|
23
|
-
agents: ["claude-code", "github-copilot"],
|
|
23
|
+
agents: ["claude-code", "codex", "github-copilot"],
|
|
24
24
|
javascript: false,
|
|
25
25
|
locale: "ja",
|
|
26
26
|
packageManager: "bun",
|
package/dist/i18n/en.js
CHANGED
|
@@ -24,7 +24,7 @@ export const messages = {
|
|
|
24
24
|
"prompt.javascript": "Use JavaScript instead of TypeScript?",
|
|
25
25
|
"prompt.javascript.hint": "Affects the whole project setup (presence of tsconfig.json, pom.xml / package.json dependencies and scripts, agent asset language guidance)",
|
|
26
26
|
"prompt.agent": "Select agent",
|
|
27
|
-
"prompt.agent.hint": "claude-code deploys under .claude/, github-copilot deploys under .github/ (instructions, skills, etc.)",
|
|
27
|
+
"prompt.agent.hint": "claude-code deploys under .claude/, codex deploys under .codex/, github-copilot deploys under .github/ (instructions, skills, etc.)",
|
|
28
28
|
"prompt.withGit": "Initialize Git repository?",
|
|
29
29
|
"prompt.withGit.hint": "Runs git init inside the created project directory",
|
|
30
30
|
"juggling.detected.version": "Detected version from juggling.im: {version}",
|
|
@@ -91,6 +91,7 @@ export const messages = {
|
|
|
91
91
|
"nextSteps.heading": "Next steps",
|
|
92
92
|
"nextSteps.cd": "cd {path}",
|
|
93
93
|
"nextSteps.agent.claudeCode": "Run claude to start agent-driven development",
|
|
94
|
+
"nextSteps.agent.codex": "Run codex to start agent-driven development",
|
|
94
95
|
"nextSteps.agent.githubCopilot": "Run gh copilot to start agent-driven development",
|
|
95
96
|
"credentials.prompt.endpoint": "Enter the iAP endpoint (base URL)",
|
|
96
97
|
"credentials.prompt.endpoint.hint": "Specify the iAP base URL (e.g. https://example.com/imart). The API path (/api/bearer/...) is assembled automatically",
|
package/dist/i18n/ja.js
CHANGED
|
@@ -24,7 +24,7 @@ export const messages = {
|
|
|
24
24
|
"prompt.javascript": "TypeScriptの代わりにJavaScriptを利用しますか?",
|
|
25
25
|
"prompt.javascript.hint": "プロジェクト全体の構成(tsconfig.json の有無、pom.xml / package.json の依存・スクリプト、エージェント資材内の言語ガイド)に影響します",
|
|
26
26
|
"prompt.agent": "エージェントを選択してください",
|
|
27
|
-
"prompt.agent.hint": "claude-code → .claude/ 配下、github-copilot → .github/ 配下に、指示書や skills などを配備します",
|
|
27
|
+
"prompt.agent.hint": "claude-code → .claude/ 配下、codex → .codex/ 配下、github-copilot → .github/ 配下に、指示書や skills などを配備します",
|
|
28
28
|
"prompt.withGit": "Gitリポジトリを初期化しますか?",
|
|
29
29
|
"prompt.withGit.hint": "作成したプロジェクトディレクトリで git init を実行します",
|
|
30
30
|
"juggling.detected.version": "juggling.imからバージョンを検出: {version}",
|
|
@@ -91,6 +91,7 @@ export const messages = {
|
|
|
91
91
|
"nextSteps.heading": "次の手順",
|
|
92
92
|
"nextSteps.cd": "cd {path}",
|
|
93
93
|
"nextSteps.agent.claudeCode": "claude を起動してエージェント開発を始めてください",
|
|
94
|
+
"nextSteps.agent.codex": "codex を起動してエージェント開発を始めてください",
|
|
94
95
|
"nextSteps.agent.githubCopilot": "gh copilot を起動してエージェント開発を始めてください",
|
|
95
96
|
"credentials.prompt.endpoint": "iAP のエンドポイント(ベースURL)を入力してください",
|
|
96
97
|
"credentials.prompt.endpoint.hint": "iAP のベースURL を指定してください(例: https://example.com/imart)。API パス(/api/bearer/...)は自動で組み立てられます",
|
package/dist/i18n/zh_CN.js
CHANGED
|
@@ -24,7 +24,7 @@ export const messages = {
|
|
|
24
24
|
"prompt.javascript": "是否使用JavaScript代替TypeScript?",
|
|
25
25
|
"prompt.javascript.hint": "影响整个项目结构(是否存在 tsconfig.json、pom.xml / package.json 的依赖与脚本、代理资源中的语言指引)",
|
|
26
26
|
"prompt.agent": "请选择代理",
|
|
27
|
-
"prompt.agent.hint": "claude-code 部署到 .claude/ 下,github-copilot 部署到 .github/ 下(指令书、skills 等)",
|
|
27
|
+
"prompt.agent.hint": "claude-code 部署到 .claude/ 下,codex 部署到 .codex/ 下,github-copilot 部署到 .github/ 下(指令书、skills 等)",
|
|
28
28
|
"prompt.withGit": "是否初始化Git仓库?",
|
|
29
29
|
"prompt.withGit.hint": "在创建的项目目录中执行 git init",
|
|
30
30
|
"juggling.detected.version": "从juggling.im检测到版本: {version}",
|
|
@@ -91,6 +91,7 @@ export const messages = {
|
|
|
91
91
|
"nextSteps.heading": "下一步",
|
|
92
92
|
"nextSteps.cd": "cd {path}",
|
|
93
93
|
"nextSteps.agent.claudeCode": "执行 claude 开始基于代理的开发",
|
|
94
|
+
"nextSteps.agent.codex": "执行 codex 开始基于代理的开发",
|
|
94
95
|
"nextSteps.agent.githubCopilot": "执行 gh copilot 开始基于代理的开发",
|
|
95
96
|
"credentials.prompt.endpoint": "请输入 iAP 端点(基础URL)",
|
|
96
97
|
"credentials.prompt.endpoint.hint": "请指定 iAP 的基础URL(例如: https://example.com/imart)。API 路径(/api/bearer/...)会自动拼接",
|
|
@@ -9,6 +9,9 @@ export const buildNextStepsBody = (opts) => {
|
|
|
9
9
|
if (opts.agents.includes("claude-code")) {
|
|
10
10
|
steps.push(getMessage("nextSteps.agent.claudeCode", opts.locale));
|
|
11
11
|
}
|
|
12
|
+
if (opts.agents.includes("codex")) {
|
|
13
|
+
steps.push(getMessage("nextSteps.agent.codex", opts.locale));
|
|
14
|
+
}
|
|
12
15
|
if (opts.agents.includes("github-copilot")) {
|
|
13
16
|
steps.push(getMessage("nextSteps.agent.githubCopilot", opts.locale));
|
|
14
17
|
}
|