Initial commit: Elydora Node SDK
TypeScript SDK for Elydora agent operations, cryptographic signing, and audit trail integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
65910a3ad6
23 files changed
+2663
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { readFile, writeFile } from 'node:fs/promises';
|
||||
import { resolve, dirname } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const cliPath = resolve(__dirname, '..', 'dist', 'cli.js');
|
||||
|
||||
const content = await readFile(cliPath, 'utf-8');
|
||||
if (!content.startsWith('#!/')) {
|
||||
await writeFile(cliPath, '#!/usr/bin/env node\n' + content, 'utf-8');
|
||||
}
|
||||
Reference in new issue
Block a user