@aisa-one/cli 0.1.7 → 0.2.0
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.
- package/README.md +10 -11
- package/dist/commands/configCmd.js +1 -1
- package/dist/commands/skills.d.ts +4 -8
- package/dist/commands/skills.js +214 -295
- package/dist/commands/twitter.d.ts +127 -3
- package/dist/commands/twitter.js +296 -36
- package/dist/config.js +2 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/index.js +213 -30
- package/dist/types.d.ts +0 -16
- package/dist/utils/file.d.ts +0 -4
- package/dist/utils/file.js +1 -26
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -121,16 +121,16 @@ aisa usage --limit 20 # 🚧 WIP
|
|
|
121
121
|
|
|
122
122
|
## Skills
|
|
123
123
|
|
|
124
|
-
Skills are markdown files that teach AI coding agents (Claude Code, Cursor, Copilot, etc.) how to use AISA APIs.
|
|
124
|
+
Skills are markdown files that teach AI coding agents (Claude Code, Cursor, Copilot, etc.) how to use AISA APIs. Skills are sourced from the [OpenClaw-Skills](https://github.com/AIsa-team/OpenClaw-Skills) repository.
|
|
125
125
|
|
|
126
126
|
### Browse & Install
|
|
127
127
|
|
|
128
128
|
```bash
|
|
129
|
-
aisa skills list #
|
|
130
|
-
aisa skills search "financial analysis" #
|
|
131
|
-
aisa skills show
|
|
132
|
-
aisa skills
|
|
133
|
-
aisa skills remove
|
|
129
|
+
aisa skills list # list all available skills
|
|
130
|
+
aisa skills search "financial analysis" # search by keyword
|
|
131
|
+
aisa skills show market # show skill details
|
|
132
|
+
aisa skills install market # install to agent directories
|
|
133
|
+
aisa skills remove market # uninstall
|
|
134
134
|
```
|
|
135
135
|
|
|
136
136
|
Skills install to agent directories automatically:
|
|
@@ -145,19 +145,18 @@ Skills install to agent directories automatically:
|
|
|
145
145
|
| Gemini | `~/.gemini/skills/` |
|
|
146
146
|
| OpenClaw | `~/.openclaw/skills/` |
|
|
147
147
|
|
|
148
|
-
### Create
|
|
148
|
+
### Create Skills
|
|
149
149
|
|
|
150
150
|
```bash
|
|
151
|
-
aisa skills init my-skill # create from default template
|
|
151
|
+
aisa skills init my-skill # create from default template
|
|
152
152
|
aisa skills init my-skill --template finance # finance template
|
|
153
153
|
aisa skills init my-skill --template llm # LLM template
|
|
154
|
-
aisa skills submit ./my-skill # 🚧 WIP — requires backend
|
|
155
|
-
aisa skills push owner/my-skill # 🚧 WIP
|
|
156
|
-
aisa skills request-verification owner/my-skill # 🚧 WIP
|
|
157
154
|
```
|
|
158
155
|
|
|
159
156
|
Available templates: `default`, `llm`, `search`, `finance`, `twitter`, `video`
|
|
160
157
|
|
|
158
|
+
To publish a skill, submit a pull request to [AIsa-team/OpenClaw-Skills](https://github.com/AIsa-team/OpenClaw-Skills).
|
|
159
|
+
|
|
161
160
|
## MCP Server
|
|
162
161
|
|
|
163
162
|
Auto-configure AISA's MCP server for your AI agents:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import chalk from "chalk";
|
|
2
2
|
import { getConfig, setConfig, listConfig, resetConfig } from "../config.js";
|
|
3
3
|
import { success, info } from "../utils/display.js";
|
|
4
|
-
const VALID_KEYS = ["defaultModel", "baseUrl", "outputFormat"];
|
|
4
|
+
const VALID_KEYS = ["defaultModel", "baseUrl", "outputFormat", "twitterCookies", "twitterProxy"];
|
|
5
5
|
export function configSetAction(key, value) {
|
|
6
6
|
if (!VALID_KEYS.includes(key)) {
|
|
7
7
|
console.error(`Unknown config key: ${key}`);
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
export declare function skillsListAction(
|
|
1
|
+
export declare function skillsListAction(_options: {
|
|
2
2
|
category?: string;
|
|
3
3
|
limit?: string;
|
|
4
4
|
}): Promise<void>;
|
|
5
|
-
export declare function skillsSearchAction(query: string,
|
|
5
|
+
export declare function skillsSearchAction(query: string, _options: {
|
|
6
6
|
limit?: string;
|
|
7
7
|
}): Promise<void>;
|
|
8
8
|
export declare function skillsShowAction(slug: string): Promise<void>;
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function skillsInstallAction(slug: string, options: {
|
|
10
10
|
agent?: string;
|
|
11
11
|
}): Promise<void>;
|
|
12
12
|
export declare function skillsRemoveAction(slug: string, options: {
|
|
13
13
|
agent?: string;
|
|
14
|
-
}):
|
|
14
|
+
}): void;
|
|
15
15
|
export declare function skillsInitAction(name: string, options: {
|
|
16
16
|
template?: string;
|
|
17
17
|
bare?: boolean;
|
|
18
18
|
}): void;
|
|
19
|
-
export declare function skillsSubmitAction(path: string): Promise<void>;
|
|
20
|
-
export declare function skillsPushAction(slug: string): Promise<void>;
|
|
21
|
-
export declare function skillsVerifyAction(slug: string): Promise<void>;
|
|
22
|
-
export declare function skillsUpdateAction(slug?: string): Promise<void>;
|