
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
claude-revert-api
Advanced tools
A wrapper of the claude 2. Basicly use the axios mock a sdk. For my project switch to claude2. Code will be open source. I still test for it. If you have more requirement just send email to 3173991952@qq.com or follow my twitter
And feel free open an issue or PR.
Document: https://parsedark.github.io/claude-revert-api/
// npm
npm install claude-revert-api
// pnpm
pnpm install claude-revert-api
pnpm install
$ npm run dev
$ npm run build
// baseURL?: string
// uuid: string;
// organization_uuid: organizationType;
// sessionKey: string;
// name?: string;
createConversationSDK
// baseURL?: string
// sessionKey: string;
// prompt: string;
// metadata: IMetadata;
appendMessageSDK
// baseURL?: string
// organization_uuid: organizationType;
// sessionKey: string;
conversationListSDK
// baseURL?: string
// sessionKey: string;
// organization_uuid: organizationType;
// conversation_uuid: conversationType;
deleteConversationSDK
// baseURL?: string
// sessionKey: string;
// organization_uuid: organizationType;
// conversation_uuid: conversationType;
getConversationSDK
// baseURL?: string
// organization_uuid: organizationType;
// conversation_uuid: conversationType;
// sessionKey: string;
// title: string;
renameConversationSDK
for this usage i think your are not the claude api support region. So we need to do a proxy. When use the proxy will change the base url. So you need to use this OOP style.
// ClaudeRevertAPI(baseURL: string, sessionKey: string)
const claude = new ClaudeRevertAPI("https://claude.ai", "sessionKey");
// create a new chat session
claude.createConversation(organization_uuid: string)
// post a new message session
claude.appendMessage(prompt: string, metadata: IMetadata)
// get all chat session
claude.conversationList(organization_uuid: string)
// delete chat session
claude.deleteConversation(organization_uuid: organizationType, conversation_uuid: conversationType)
// get history message
claude.getConversation(organization_uuid: organizationType, conversation_uuid: conversationType)
// rename your session
claude.renameConversation(title: string,organization_uuid: organizationType, conversation_uuid: conversationType)
Have fun for it.
MIT
FAQs
revert claude chart api.
The npm package claude-revert-api receives a total of 2 weekly downloads. As such, claude-revert-api popularity was classified as not popular.
We found that claude-revert-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.