cyrus-ai 0.1.2 → 0.1.3
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/app.mjs +16 -1
- package/package.json +4 -4
package/app.mjs
CHANGED
|
@@ -266,6 +266,21 @@ class EdgeApp {
|
|
|
266
266
|
process.exit(1)
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
+
// Validate Claude CLI
|
|
270
|
+
const claudePath = process.env.CLAUDE_PATH || 'claude'
|
|
271
|
+
try {
|
|
272
|
+
const { execSync } = await import('child_process')
|
|
273
|
+
execSync(`which ${claudePath}`, { stdio: 'ignore' })
|
|
274
|
+
} catch (error) {
|
|
275
|
+
console.error(`❌ Claude CLI not found at: ${claudePath}`)
|
|
276
|
+
console.log('\nPlease ensure Claude Code is installed:')
|
|
277
|
+
console.log('• Claude Pro/Max users: Install from https://claude.ai/code')
|
|
278
|
+
console.log('• API users: Set ANTHROPIC_API_KEY in .env.cyrus and install claude-ai CLI')
|
|
279
|
+
console.log('\nIf Claude is installed in a custom location, set CLAUDE_PATH in .env.cyrus:')
|
|
280
|
+
console.log('CLAUDE_PATH=/path/to/claude')
|
|
281
|
+
process.exit(1)
|
|
282
|
+
}
|
|
283
|
+
|
|
269
284
|
// Start OAuth server immediately for easy access
|
|
270
285
|
const oauthPort = 3457
|
|
271
286
|
if (!this.oauthServer) {
|
|
@@ -422,7 +437,7 @@ class EdgeApp {
|
|
|
422
437
|
const config = {
|
|
423
438
|
proxyUrl,
|
|
424
439
|
repositories,
|
|
425
|
-
claudePath
|
|
440
|
+
claudePath,
|
|
426
441
|
allowedTools: process.env.ALLOWED_TOOLS?.split(',').map(t => t.trim()) || [],
|
|
427
442
|
features: {
|
|
428
443
|
enableContinuation: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cyrus-ai",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "AI-powered Linear issue automation using Claude",
|
|
5
5
|
"main": "app.mjs",
|
|
6
6
|
"bin": {
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"open": "^10.0.0",
|
|
40
40
|
"zod": "^3.24.4",
|
|
41
41
|
"cyrus-core": "0.0.1",
|
|
42
|
-
"cyrus-claude-parser": "0.0.1",
|
|
43
|
-
"cyrus-ndjson-client": "0.0.1",
|
|
44
42
|
"cyrus-claude-runner": "0.0.1",
|
|
45
|
-
"cyrus-
|
|
43
|
+
"cyrus-ndjson-client": "0.0.1",
|
|
44
|
+
"cyrus-edge-worker": "0.0.1",
|
|
45
|
+
"cyrus-claude-parser": "0.0.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@vitest/ui": "^3.1.4",
|