npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@andy07559/kore-ai-core

v1.0.3

Published

Kore AI Core with fixed [DONE] marker parsing for @office-ai/aioncli-core

Downloads

11

Readme

@andy07559/kore-ai-core

🛠️ Kore AI Core - 修复了 @office-ai/aioncli-core[DONE] 标记解析问题

🔧 问题解决

此包解决了在使用官方Gemini API和第三方API时遇到的错误:

[API Error: Unexpected token 'D', "[DONE]" is not valid JSON]

📦 安装

npm install @andy07559/kore-ai-core

🚀 使用方法

自动初始化(推荐)

const { initializeKoreAI } = require('@andy07559/kore-ai-core');

// 自动应用所有修复
initializeKoreAI();

手动应用修复

const { applyAioncliCoreFix } = require('@andy07559/kore-ai-core');

// 手动应用aioncli-core修复
applyAioncliCoreFix();

✨ 功能特性

  • 修复[DONE]标记解析错误:安全处理流式响应结束标记
  • 增强的Gemini客户端:支持多API Key轮转和重试
  • 统一协议转换:OpenAI ↔ Gemini 格式转换
  • 完整错误处理:详细的日志和错误提示
  • 即插即用:无需修改现有代码

🛡️ 兼容性

  • 官方Gemini API:使用API Key认证
  • 第三方Gemini API:自定义端点
  • Google登录:OAuth认证(保持原有功能)

📄 许可证

Apache-2.0


由 Kore AI 开发 - 让AI聊天更简单可靠 🚀