@zinley/orion 1.2.25 → 1.2.26

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2053,7 +2053,7 @@ Usage:`)),console.log(se.white(` Standard prompts: ${t.usage.prompt||0}`)),cons
2053
2053
  `)),t.isFirebaseAuthenticated()||(console.error(`
2054
2054
  ❌ Firebase authentication failed.`),console.error("This may be due to:"),console.error(" 1. Network connectivity issues"),console.error(" 2. Firewall blocking Firebase services (firebaseio.com)"),console.error(" 3. Temporary server issues"),console.error(`
2055
2055
  Please check your connection and try again.
2056
- `),process.exit(1)),console.log("✅ Authentication verified"),er.getInstance().setWorkingDirectory(i),process.stdout.write("\x1B[2J\x1B[H");let{waitUntilExit:r}=IT(ET.createElement(bm,{initialProjectPath:i}),{stdout:process.stdout,stdin:process.stdin,exitOnCtrlC:!1});await r(),Id()}import O from"chalk";import ae from"inquirer";import Ve from"ora";import{exec as kT}from"child_process";Te();var Gn=class{integrationsService;authService;constructor(){this.integrationsService=Wt.getInstance(),this.authService=X.getInstance()}async ensureAuthenticated(){let e=Ve("Checking authentication...").start();return await this.authService.autoAuthenticate(),this.authService.isAuthenticated()?(e.stop(),!0):(e.fail("Not authenticated"),console.log(O.gray('Run "orion auth login" first.')),!1)}openBrowser(e){let t=process.platform,n;t==="darwin"?n=`open "${e}"`:t==="win32"?n=`start "" "${e}"`:n=`xdg-open "${e}"`,kT(n,()=>{})}async discord(){if(!await this.ensureAuthenticated())return;console.log(O.blue(`
2056
+ `),process.exit(1)),console.log("✅ Authentication verified"),er.getInstance().setWorkingDirectory(i),process.stdout.write("\x1B[2J\x1B[H");let{waitUntilExit:r}=IT(ET.createElement(bm,{initialProjectPath:i}),{stdout:process.stdout,stdin:process.stdin,exitOnCtrlC:!1,alternateBuffer:!0});await r(),Id()}import O from"chalk";import ae from"inquirer";import Ve from"ora";import{exec as kT}from"child_process";Te();var Gn=class{integrationsService;authService;constructor(){this.integrationsService=Wt.getInstance(),this.authService=X.getInstance()}async ensureAuthenticated(){let e=Ve("Checking authentication...").start();return await this.authService.autoAuthenticate(),this.authService.isAuthenticated()?(e.stop(),!0):(e.fail("Not authenticated"),console.log(O.gray('Run "orion auth login" first.')),!1)}openBrowser(e){let t=process.platform,n;t==="darwin"?n=`open "${e}"`:t==="win32"?n=`start "" "${e}"`:n=`xdg-open "${e}"`,kT(n,()=>{})}async discord(){if(!await this.ensureAuthenticated())return;console.log(O.blue(`
2057
2057
  🎮 Discord Integration`)),console.log(O.gray("─".repeat(50)));let e=Ve("Checking connection status...").start(),t=await this.integrationsService.getDiscordStatus();e.stop(),t.connected?await this.manageDiscord(t):await this.setupDiscord()}async manageDiscord(e){if(console.log(O.green(`
2058
2058
  ✓ Connected`)),console.log(O.white(" Bot:"),O.cyan(e.botUsername||"Unknown")),console.log(O.gray(`
2059
2059
  ─ Setup Info ─`)),e.webhookUrl&&(console.log(O.white(" Webhook URL:"),O.cyan(e.webhookUrl)),console.log(O.gray(" (Add this to Discord Developer Portal → Interactions Endpoint URL)"))),e.botId){let n=this.integrationsService.generateDiscordInviteUrl(e.botId);console.log(O.white(" Invite URL:"),O.cyan(n))}console.log(O.gray(" Commands: /ask, /new, /clear")),console.log(O.gray(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinley/orion",
3
- "version": "1.2.25",
3
+ "version": "1.2.26",
4
4
  "description": "Autonomous AI agent for your terminal. Excels at coding, debugging, DevOps, data science, and asset processing (images, videos). Handles complex tasks on your computer with speed and precision comparable to Claude Code.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",