Skip to content

Commit

Permalink
split sdk and cli to two projects
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed Jun 7, 2024
1 parent d4cdb7a commit 4966db7
Show file tree
Hide file tree
Showing 14 changed files with 2,401 additions and 216 deletions.
6 changes: 5 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
directory: "/kimi" # Location of package manifests
schedule:
interval: "weekly"
- package-ecosystem: "npm" # See documentation for possible values
directory: "/kimi-cli" # Location of package manifests
schedule:
interval: "weekly"
File renamed without changes.
2 changes: 1 addition & 1 deletion bin/kimi-file.js → kimi-cli/bin/kimi-file.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node

import Kimi from '../lib/kimi.js';
import Kimi from '@jacksontian/kimi';
import { getAPIKey } from '../lib/apikey.js';

const apiKey = await getAPIKey();
Expand Down
2 changes: 1 addition & 1 deletion bin/kimi.js → kimi-cli/bin/kimi.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import inquirer from 'inquirer';
import chalk from 'chalk';
import { loadJSONSync, sleep } from 'kitx';

import Kimi from '../lib/kimi.js';
import Kimi from '@jacksontian/kimi';
import { loadConfig, saveConfig } from '../lib/config.js';

const KIMI_RC_PATH = path.join(homedir(), '.moonshot_ai_rc');
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 4966db7

Please sign in to comment.