arcanea 3.0.0 → 3.0.1
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/dist/cli/index.js +26 -26
- package/dist/index.js +15 -16
- package/package.json +54 -54
package/dist/cli/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
import { createRequire } from "node:module";
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __getProtoOf = Object.getPrototypeOf;
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
@@ -17,7 +17,7 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
20
|
-
var __require = import.meta.
|
|
20
|
+
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
21
21
|
|
|
22
22
|
// node_modules/commander/lib/error.js
|
|
23
23
|
var require_error = __commonJS((exports) => {
|
|
@@ -739,11 +739,11 @@ var require_suggestSimilar = __commonJS((exports) => {
|
|
|
739
739
|
|
|
740
740
|
// node_modules/commander/lib/command.js
|
|
741
741
|
var require_command = __commonJS((exports) => {
|
|
742
|
-
var EventEmitter = __require("events").EventEmitter;
|
|
743
|
-
var childProcess = __require("child_process");
|
|
744
|
-
var path = __require("path");
|
|
745
|
-
var fs = __require("fs");
|
|
746
|
-
var process2 = __require("process");
|
|
742
|
+
var EventEmitter = __require("node:events").EventEmitter;
|
|
743
|
+
var childProcess = __require("node:child_process");
|
|
744
|
+
var path = __require("node:path");
|
|
745
|
+
var fs = __require("node:fs");
|
|
746
|
+
var process2 = __require("node:process");
|
|
747
747
|
var { Argument, humanReadableArgName } = require_argument();
|
|
748
748
|
var { CommanderError } = require_error();
|
|
749
749
|
var { Help, stripColor } = require_help();
|
|
@@ -2251,7 +2251,7 @@ async function install(targetDir, options = {}) {
|
|
|
2251
2251
|
const { force = false, skipMcp = false } = options;
|
|
2252
2252
|
const platforms = options.platforms || detectPlatforms();
|
|
2253
2253
|
console.log(import_picocolors.default.cyan(`
|
|
2254
|
-
|
|
2254
|
+
✨ ${ORCHESTRATOR} awakens... (v${VERSION})
|
|
2255
2255
|
`));
|
|
2256
2256
|
console.log(import_picocolors.default.dim(`Detected platforms: ${platforms.join(", ")}
|
|
2257
2257
|
`));
|
|
@@ -2266,7 +2266,7 @@ async function install(targetDir, options = {}) {
|
|
|
2266
2266
|
if (!existsSync(configPath) || force) {
|
|
2267
2267
|
const config = { ...defaultConfig, platforms };
|
|
2268
2268
|
writeFileSync(configPath, JSON.stringify(config, null, 2));
|
|
2269
|
-
console.log(import_picocolors.default.green("
|
|
2269
|
+
console.log(import_picocolors.default.green("✓ Created arcanea.json config"));
|
|
2270
2270
|
}
|
|
2271
2271
|
printSuccessMessage(platforms);
|
|
2272
2272
|
}
|
|
@@ -2275,7 +2275,7 @@ async function installForPlatform(targetDir, packageRoot, platform, force) {
|
|
|
2275
2275
|
const platformName = platform.charAt(0).toUpperCase() + platform.slice(1).replace("-", " ");
|
|
2276
2276
|
console.log(import_picocolors.default.blue(`Installing for ${platformName}...`));
|
|
2277
2277
|
if (existsSync(platformPath) && !force) {
|
|
2278
|
-
console.log(import_picocolors.default.yellow(`
|
|
2278
|
+
console.log(import_picocolors.default.yellow(` ⚠️ ${platformPath} exists. Use --force to overwrite.`));
|
|
2279
2279
|
return;
|
|
2280
2280
|
}
|
|
2281
2281
|
const dirs = ["agents", "skills", "commands"];
|
|
@@ -2285,7 +2285,7 @@ async function installForPlatform(targetDir, packageRoot, platform, force) {
|
|
|
2285
2285
|
mkdirSync(targetSubdir, { recursive: true });
|
|
2286
2286
|
if (existsSync(sourceSubdir)) {
|
|
2287
2287
|
cpSync(sourceSubdir, targetSubdir, { recursive: true });
|
|
2288
|
-
console.log(import_picocolors.default.green(`
|
|
2288
|
+
console.log(import_picocolors.default.green(` ✓ Installed ${dir}`));
|
|
2289
2289
|
}
|
|
2290
2290
|
}
|
|
2291
2291
|
if (platform === "claude-code") {
|
|
@@ -2316,7 +2316,7 @@ async function installClaudeCodeSettings(platformPath, force) {
|
|
|
2316
2316
|
}
|
|
2317
2317
|
};
|
|
2318
2318
|
writeFileSync(settingsPath, JSON.stringify(settings, null, 2));
|
|
2319
|
-
console.log(import_picocolors.default.green("
|
|
2319
|
+
console.log(import_picocolors.default.green(" ✓ Created Claude Code settings with magic word hooks"));
|
|
2320
2320
|
}
|
|
2321
2321
|
}
|
|
2322
2322
|
async function installOpenCodeSettings(platformPath, packageRoot, force) {
|
|
@@ -2324,7 +2324,7 @@ async function installOpenCodeSettings(platformPath, packageRoot, force) {
|
|
|
2324
2324
|
const sourcePath = join(packageRoot, "CLAUDE.md");
|
|
2325
2325
|
if (existsSync(sourcePath) && (!existsSync(claudeMdPath) || force)) {
|
|
2326
2326
|
cpSync(sourcePath, claudeMdPath);
|
|
2327
|
-
console.log(import_picocolors.default.green("
|
|
2327
|
+
console.log(import_picocolors.default.green(" ✓ Installed OpenCode CLAUDE.md"));
|
|
2328
2328
|
}
|
|
2329
2329
|
}
|
|
2330
2330
|
async function installMcpConfig(targetDir, force) {
|
|
@@ -2356,25 +2356,25 @@ Configuring MCP integrations...`));
|
|
|
2356
2356
|
}
|
|
2357
2357
|
};
|
|
2358
2358
|
writeFileSync(mcpPath, JSON.stringify(mcpConfig, null, 2));
|
|
2359
|
-
console.log(import_picocolors.default.green("
|
|
2360
|
-
console.log(import_picocolors.default.green("
|
|
2361
|
-
console.log(import_picocolors.default.dim("
|
|
2359
|
+
console.log(import_picocolors.default.green("✓ Configured Nano Banana MCP (image generation)"));
|
|
2360
|
+
console.log(import_picocolors.default.green("✓ Configured Context7 MCP (documentation)"));
|
|
2361
|
+
console.log(import_picocolors.default.dim("ℹ Suno MCP requires manual API key setup"));
|
|
2362
2362
|
}
|
|
2363
2363
|
function printSuccessMessage(platforms) {
|
|
2364
2364
|
console.log(import_picocolors.default.cyan(`
|
|
2365
|
-
` + "
|
|
2365
|
+
` + "═".repeat(60)));
|
|
2366
2366
|
console.log(import_picocolors.default.bold(import_picocolors.default.cyan(` ${ORCHESTRATOR} is ready!`)));
|
|
2367
|
-
console.log(import_picocolors.default.cyan("
|
|
2367
|
+
console.log(import_picocolors.default.cyan("═".repeat(60) + `
|
|
2368
2368
|
`));
|
|
2369
2369
|
console.log(import_picocolors.default.bold("Installed for:"));
|
|
2370
2370
|
for (const platform of platforms) {
|
|
2371
|
-
console.log(import_picocolors.default.green(`
|
|
2371
|
+
console.log(import_picocolors.default.green(` ✓ ${platform}`));
|
|
2372
2372
|
}
|
|
2373
2373
|
console.log();
|
|
2374
2374
|
console.log(import_picocolors.default.bold("The Seven Luminors:"));
|
|
2375
|
-
console.log(" Valora (Courage)
|
|
2376
|
-
console.log(" Poiesis (Creation)
|
|
2377
|
-
console.log(" Orakis (Vision)
|
|
2375
|
+
console.log(" Valora (Courage) • Sophron (Wisdom) • Kardia (Heart)");
|
|
2376
|
+
console.log(" Poiesis (Creation) • Enduran (Endurance)");
|
|
2377
|
+
console.log(" Orakis (Vision) • Eudaira (Joy)");
|
|
2378
2378
|
console.log();
|
|
2379
2379
|
console.log(import_picocolors.default.bold("Agent Teams:"));
|
|
2380
2380
|
console.log(import_picocolors.default.blue(" Creative") + " - Story, character, world creation");
|
|
@@ -2560,7 +2560,7 @@ ${ORCHESTRATOR} Platform Detection
|
|
|
2560
2560
|
} else {
|
|
2561
2561
|
console.log(import_picocolors2.default.bold("Detected platforms:"));
|
|
2562
2562
|
for (const platform of platforms) {
|
|
2563
|
-
console.log(import_picocolors2.default.green(`
|
|
2563
|
+
console.log(import_picocolors2.default.green(` ✓ ${platform}`));
|
|
2564
2564
|
}
|
|
2565
2565
|
}
|
|
2566
2566
|
console.log();
|
|
@@ -2626,7 +2626,7 @@ Magic Words
|
|
|
2626
2626
|
console.log();
|
|
2627
2627
|
console.log(import_picocolors2.default.bold(import_picocolors2.default.magenta("ultrabook")) + " (or " + import_picocolors2.default.bold("ulb") + ")");
|
|
2628
2628
|
console.log(" Complete book pipeline - everything at once");
|
|
2629
|
-
console.log(" World Building
|
|
2629
|
+
console.log(" World Building → Story → Chapters → Editing → Production");
|
|
2630
2630
|
console.log();
|
|
2631
2631
|
console.log(import_picocolors2.default.dim("Just include any magic word in your prompt!"));
|
|
2632
2632
|
console.log();
|
|
@@ -2647,7 +2647,7 @@ ${ORCHESTRATOR} Status
|
|
|
2647
2647
|
for (const check of platformChecks) {
|
|
2648
2648
|
const agentsPath = join2(cwd, check.path, "agents");
|
|
2649
2649
|
const exists = existsSync2(agentsPath);
|
|
2650
|
-
const status = exists ? import_picocolors2.default.green("
|
|
2650
|
+
const status = exists ? import_picocolors2.default.green("✓") : import_picocolors2.default.dim("○");
|
|
2651
2651
|
console.log(` ${status} ${check.name}`);
|
|
2652
2652
|
}
|
|
2653
2653
|
console.log();
|
|
@@ -2659,7 +2659,7 @@ ${ORCHESTRATOR} Status
|
|
|
2659
2659
|
let allGood = true;
|
|
2660
2660
|
for (const check of configChecks) {
|
|
2661
2661
|
const exists = existsSync2(join2(cwd, check.path));
|
|
2662
|
-
const status = exists ? import_picocolors2.default.green("
|
|
2662
|
+
const status = exists ? import_picocolors2.default.green("✓") : import_picocolors2.default.red("✗");
|
|
2663
2663
|
console.log(` ${status} ${check.name}`);
|
|
2664
2664
|
if (!exists)
|
|
2665
2665
|
allGood = false;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @bun
|
|
2
1
|
var __create = Object.create;
|
|
3
2
|
var __getProtoOf = Object.getPrototypeOf;
|
|
4
3
|
var __defProp = Object.defineProperty;
|
|
@@ -137,7 +136,7 @@ async function install(targetDir, options = {}) {
|
|
|
137
136
|
const { force = false, skipMcp = false } = options;
|
|
138
137
|
const platforms = options.platforms || detectPlatforms();
|
|
139
138
|
console.log(import_picocolors.default.cyan(`
|
|
140
|
-
|
|
139
|
+
✨ ${ORCHESTRATOR} awakens... (v${VERSION})
|
|
141
140
|
`));
|
|
142
141
|
console.log(import_picocolors.default.dim(`Detected platforms: ${platforms.join(", ")}
|
|
143
142
|
`));
|
|
@@ -152,7 +151,7 @@ async function install(targetDir, options = {}) {
|
|
|
152
151
|
if (!existsSync(configPath) || force) {
|
|
153
152
|
const config = { ...defaultConfig, platforms };
|
|
154
153
|
writeFileSync(configPath, JSON.stringify(config, null, 2));
|
|
155
|
-
console.log(import_picocolors.default.green("
|
|
154
|
+
console.log(import_picocolors.default.green("✓ Created arcanea.json config"));
|
|
156
155
|
}
|
|
157
156
|
printSuccessMessage(platforms);
|
|
158
157
|
}
|
|
@@ -161,7 +160,7 @@ async function installForPlatform(targetDir, packageRoot, platform, force) {
|
|
|
161
160
|
const platformName = platform.charAt(0).toUpperCase() + platform.slice(1).replace("-", " ");
|
|
162
161
|
console.log(import_picocolors.default.blue(`Installing for ${platformName}...`));
|
|
163
162
|
if (existsSync(platformPath) && !force) {
|
|
164
|
-
console.log(import_picocolors.default.yellow(`
|
|
163
|
+
console.log(import_picocolors.default.yellow(` ⚠️ ${platformPath} exists. Use --force to overwrite.`));
|
|
165
164
|
return;
|
|
166
165
|
}
|
|
167
166
|
const dirs = ["agents", "skills", "commands"];
|
|
@@ -171,7 +170,7 @@ async function installForPlatform(targetDir, packageRoot, platform, force) {
|
|
|
171
170
|
mkdirSync(targetSubdir, { recursive: true });
|
|
172
171
|
if (existsSync(sourceSubdir)) {
|
|
173
172
|
cpSync(sourceSubdir, targetSubdir, { recursive: true });
|
|
174
|
-
console.log(import_picocolors.default.green(`
|
|
173
|
+
console.log(import_picocolors.default.green(` ✓ Installed ${dir}`));
|
|
175
174
|
}
|
|
176
175
|
}
|
|
177
176
|
if (platform === "claude-code") {
|
|
@@ -202,7 +201,7 @@ async function installClaudeCodeSettings(platformPath, force) {
|
|
|
202
201
|
}
|
|
203
202
|
};
|
|
204
203
|
writeFileSync(settingsPath, JSON.stringify(settings, null, 2));
|
|
205
|
-
console.log(import_picocolors.default.green("
|
|
204
|
+
console.log(import_picocolors.default.green(" ✓ Created Claude Code settings with magic word hooks"));
|
|
206
205
|
}
|
|
207
206
|
}
|
|
208
207
|
async function installOpenCodeSettings(platformPath, packageRoot, force) {
|
|
@@ -210,7 +209,7 @@ async function installOpenCodeSettings(platformPath, packageRoot, force) {
|
|
|
210
209
|
const sourcePath = join(packageRoot, "CLAUDE.md");
|
|
211
210
|
if (existsSync(sourcePath) && (!existsSync(claudeMdPath) || force)) {
|
|
212
211
|
cpSync(sourcePath, claudeMdPath);
|
|
213
|
-
console.log(import_picocolors.default.green("
|
|
212
|
+
console.log(import_picocolors.default.green(" ✓ Installed OpenCode CLAUDE.md"));
|
|
214
213
|
}
|
|
215
214
|
}
|
|
216
215
|
async function installMcpConfig(targetDir, force) {
|
|
@@ -242,25 +241,25 @@ Configuring MCP integrations...`));
|
|
|
242
241
|
}
|
|
243
242
|
};
|
|
244
243
|
writeFileSync(mcpPath, JSON.stringify(mcpConfig, null, 2));
|
|
245
|
-
console.log(import_picocolors.default.green("
|
|
246
|
-
console.log(import_picocolors.default.green("
|
|
247
|
-
console.log(import_picocolors.default.dim("
|
|
244
|
+
console.log(import_picocolors.default.green("✓ Configured Nano Banana MCP (image generation)"));
|
|
245
|
+
console.log(import_picocolors.default.green("✓ Configured Context7 MCP (documentation)"));
|
|
246
|
+
console.log(import_picocolors.default.dim("ℹ Suno MCP requires manual API key setup"));
|
|
248
247
|
}
|
|
249
248
|
function printSuccessMessage(platforms) {
|
|
250
249
|
console.log(import_picocolors.default.cyan(`
|
|
251
|
-
` + "
|
|
250
|
+
` + "═".repeat(60)));
|
|
252
251
|
console.log(import_picocolors.default.bold(import_picocolors.default.cyan(` ${ORCHESTRATOR} is ready!`)));
|
|
253
|
-
console.log(import_picocolors.default.cyan("
|
|
252
|
+
console.log(import_picocolors.default.cyan("═".repeat(60) + `
|
|
254
253
|
`));
|
|
255
254
|
console.log(import_picocolors.default.bold("Installed for:"));
|
|
256
255
|
for (const platform of platforms) {
|
|
257
|
-
console.log(import_picocolors.default.green(`
|
|
256
|
+
console.log(import_picocolors.default.green(` ✓ ${platform}`));
|
|
258
257
|
}
|
|
259
258
|
console.log();
|
|
260
259
|
console.log(import_picocolors.default.bold("The Seven Luminors:"));
|
|
261
|
-
console.log(" Valora (Courage)
|
|
262
|
-
console.log(" Poiesis (Creation)
|
|
263
|
-
console.log(" Orakis (Vision)
|
|
260
|
+
console.log(" Valora (Courage) • Sophron (Wisdom) • Kardia (Heart)");
|
|
261
|
+
console.log(" Poiesis (Creation) • Enduran (Endurance)");
|
|
262
|
+
console.log(" Orakis (Vision) • Eudaira (Joy)");
|
|
264
263
|
console.log();
|
|
265
264
|
console.log(import_picocolors.default.bold("Agent Teams:"));
|
|
266
265
|
console.log(import_picocolors.default.blue(" Creative") + " - Story, character, world creation");
|
package/package.json
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "arcanea",
|
|
3
|
-
"version": "3.0.
|
|
4
|
-
"description": "Arcanea - The Creative Intelligence Platform. Skills, agents, and tools for AI-human co-creation.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"bin": {
|
|
9
|
-
"arcanea": "./dist/cli/index.js"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"dist",
|
|
13
|
-
"agents",
|
|
14
|
-
"skills",
|
|
15
|
-
"commands",
|
|
16
|
-
"CLAUDE.md",
|
|
17
|
-
"README.md"
|
|
18
|
-
],
|
|
19
|
-
"scripts": {
|
|
20
|
-
"build": "bun build src/index.ts --outdir dist --target
|
|
21
|
-
"prepublishOnly": "bun run build"
|
|
22
|
-
},
|
|
23
|
-
"keywords": [
|
|
24
|
-
"arcanea",
|
|
25
|
-
"claude",
|
|
26
|
-
"claude-code",
|
|
27
|
-
"opencode",
|
|
28
|
-
"codex",
|
|
29
|
-
"gemini",
|
|
30
|
-
"ai",
|
|
31
|
-
"agents",
|
|
32
|
-
"skills",
|
|
33
|
-
"creative",
|
|
34
|
-
"writing",
|
|
35
|
-
"world-building",
|
|
36
|
-
"luminors"
|
|
37
|
-
],
|
|
38
|
-
"author": "FrankX",
|
|
39
|
-
"license": "MIT",
|
|
40
|
-
"repository": {
|
|
41
|
-
"type": "git",
|
|
42
|
-
"url": "git+https://github.com/frankxai/arcanea.git"
|
|
43
|
-
},
|
|
44
|
-
"homepage": "https://arcanea.ai",
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"commander": "^14.0.0",
|
|
47
|
-
"picocolors": "^1.1.0"
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@types/node": "^22.0.0",
|
|
51
|
-
"bun-types": "^1.0.0",
|
|
52
|
-
"typescript": "^5.0.0"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "arcanea",
|
|
3
|
+
"version": "3.0.1",
|
|
4
|
+
"description": "Arcanea - The Creative Intelligence Platform. Skills, agents, and tools for AI-human co-creation.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"bin": {
|
|
9
|
+
"arcanea": "./dist/cli/index.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"agents",
|
|
14
|
+
"skills",
|
|
15
|
+
"commands",
|
|
16
|
+
"CLAUDE.md",
|
|
17
|
+
"README.md"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "bun build src/index.ts --outdir dist --target node --format esm && tsc --emitDeclarationOnly && bun build src/cli/index.ts --outdir dist/cli --target node --format esm",
|
|
21
|
+
"prepublishOnly": "bun run build"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"arcanea",
|
|
25
|
+
"claude",
|
|
26
|
+
"claude-code",
|
|
27
|
+
"opencode",
|
|
28
|
+
"codex",
|
|
29
|
+
"gemini",
|
|
30
|
+
"ai",
|
|
31
|
+
"agents",
|
|
32
|
+
"skills",
|
|
33
|
+
"creative",
|
|
34
|
+
"writing",
|
|
35
|
+
"world-building",
|
|
36
|
+
"luminors"
|
|
37
|
+
],
|
|
38
|
+
"author": "FrankX",
|
|
39
|
+
"license": "MIT",
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "git+https://github.com/frankxai/arcanea.git"
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://arcanea.ai",
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"commander": "^14.0.0",
|
|
47
|
+
"picocolors": "^1.1.0"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@types/node": "^22.0.0",
|
|
51
|
+
"bun-types": "^1.0.0",
|
|
52
|
+
"typescript": "^5.0.0"
|
|
53
|
+
}
|
|
54
|
+
}
|