@aisa-one/cli 0.2.3 → 0.2.4
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/CHANGELOG.md +21 -1
- package/README.md +6 -5
- package/dist/commands/account.js +1 -1
- package/dist/commands/auth.js +1 -1
- package/dist/commands/skills.js +10 -10
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.2.4] — 2026-08-07
|
|
11
|
+
|
|
12
|
+
Text-only follow-up to 0.2.3: no behavioural change, but the URL it printed
|
|
13
|
+
sent people to a 404.
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- **`aisa usage` and `aisa login` pointed at `aisa.one/dashboard`, which
|
|
18
|
+
returns 404.** The customer console is served at `console.aisa.one`; the
|
|
19
|
+
API-key and usage-log pages are `/api-keys` and `/logs`. Both commands and
|
|
20
|
+
both README references now say so.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- **The brand is written `AIsa`, not `AISA`,** in `--help` output, the npm
|
|
25
|
+
package description, the skill templates, and the README. The `AISA_*`
|
|
26
|
+
environment variables and `X-AISA-*` response headers are technical
|
|
27
|
+
identifiers and keep their existing casing.
|
|
28
|
+
|
|
10
29
|
## [0.2.3] — 2026-08-07
|
|
11
30
|
|
|
12
31
|
Every command documented in the README was checked against the live gateway.
|
|
@@ -198,7 +217,8 @@ supports today; nothing here depends on a backend change.
|
|
|
198
217
|
- Config commands (`aisa config get|set|list|reset`) and auth
|
|
199
218
|
(`aisa login|logout|whoami`).
|
|
200
219
|
|
|
201
|
-
[Unreleased]: https://github.com/AIsa-team/cli/compare/v0.2.
|
|
220
|
+
[Unreleased]: https://github.com/AIsa-team/cli/compare/v0.2.4...HEAD
|
|
221
|
+
[0.2.4]: https://github.com/AIsa-team/cli/compare/v0.2.3...v0.2.4
|
|
202
222
|
[0.2.3]: https://github.com/AIsa-team/cli/compare/v0.2.2...v0.2.3
|
|
203
223
|
[0.2.2]: https://github.com/AIsa-team/cli/compare/v0.2.1...v0.2.2
|
|
204
224
|
[0.2.1]: https://github.com/AIsa-team/cli/releases/tag/v0.2.1
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @aisa-one/cli
|
|
2
2
|
|
|
3
|
-
Command-line access to [
|
|
3
|
+
Command-line access to [AIsa](https://aisa.one): **one API key for 80+ LLMs and
|
|
4
4
|
950+ endpoints** across 29 API providers — finance, web search, social,
|
|
5
5
|
research, and video generation.
|
|
6
6
|
|
|
@@ -33,8 +33,9 @@ aisa web-search "latest AI research"
|
|
|
33
33
|
aisa run financial /insider-trades -q "ticker=AAPL"
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
Get your API key at
|
|
37
|
-
|
|
36
|
+
Get your API key at
|
|
37
|
+
[console.aisa.one/api-keys](https://console.aisa.one/api-keys). New accounts
|
|
38
|
+
receive $5 in free credits.
|
|
38
39
|
|
|
39
40
|
## API Catalog
|
|
40
41
|
|
|
@@ -192,13 +193,13 @@ aisa balance --json
|
|
|
192
193
|
|
|
193
194
|
`aisa usage` is not available yet — the gateway does not serve
|
|
194
195
|
`GET /v1/credits/usage` (it 404s, while `/v1/credits/balance` on the same route
|
|
195
|
-
group works). Use the [
|
|
196
|
+
group works). Use the [console](https://console.aisa.one/logs) for usage history
|
|
196
197
|
in the meantime.
|
|
197
198
|
|
|
198
199
|
## Skills
|
|
199
200
|
|
|
200
201
|
Skills are markdown files that teach AI coding agents (Claude Code, Cursor,
|
|
201
|
-
Copilot, …) how to use
|
|
202
|
+
Copilot, …) how to use AIsa APIs. They come from the
|
|
202
203
|
[agent-skills](https://github.com/AIsa-team/agent-skills) repository — 42 skills
|
|
203
204
|
across six categories.
|
|
204
205
|
|
package/dist/commands/account.js
CHANGED
|
@@ -39,5 +39,5 @@ export async function usageAction(_options) {
|
|
|
39
39
|
// The gateway does not serve /v1/credits/usage yet — it 404s in production
|
|
40
40
|
// even though /v1/credits/balance on the same route group works.
|
|
41
41
|
console.log(chalk.yellow(" Usage API is not yet available on the gateway."));
|
|
42
|
-
hint("View usage history at https://aisa.one/
|
|
42
|
+
hint("View usage history at https://console.aisa.one/logs");
|
|
43
43
|
}
|
package/dist/commands/auth.js
CHANGED
|
@@ -10,7 +10,7 @@ export function loginAction(options) {
|
|
|
10
10
|
}
|
|
11
11
|
setApiKey(key);
|
|
12
12
|
success(`Authenticated: ${maskKey(key)}`);
|
|
13
|
-
console.log(chalk.gray(" Get your API key at https://aisa.one/
|
|
13
|
+
console.log(chalk.gray(" Get your API key at https://console.aisa.one/api-keys"));
|
|
14
14
|
}
|
|
15
15
|
export function logoutAction() {
|
|
16
16
|
clearApiKey();
|
package/dist/commands/skills.js
CHANGED
|
@@ -33,14 +33,14 @@ aisa run <slug> <path> -q "param=value"
|
|
|
33
33
|
`,
|
|
34
34
|
llm: `---
|
|
35
35
|
name: llm-assistant
|
|
36
|
-
description: "Use
|
|
36
|
+
description: "Use AIsa's unified LLM gateway to chat with 70+ AI models."
|
|
37
37
|
homepage: https://aisa.one
|
|
38
38
|
metadata: {"aisa":{"emoji":"🤖","requires":{"bins":["curl"],"env":["AISA_API_KEY"]},"primaryEnv":"AISA_API_KEY","compatibility":["openclaw","claude-code","hermes"]}}
|
|
39
39
|
---
|
|
40
40
|
|
|
41
41
|
# LLM Assistant Skill
|
|
42
42
|
|
|
43
|
-
Use the
|
|
43
|
+
Use the AIsa unified gateway to access 70+ language models through a single API.
|
|
44
44
|
|
|
45
45
|
## Authentication
|
|
46
46
|
|
|
@@ -69,14 +69,14 @@ aisa models --provider anthropic
|
|
|
69
69
|
`,
|
|
70
70
|
search: `---
|
|
71
71
|
name: web-search
|
|
72
|
-
description: "Search the web, YouTube, and academic papers via
|
|
72
|
+
description: "Search the web, YouTube, and academic papers via AIsa APIs."
|
|
73
73
|
homepage: https://aisa.one
|
|
74
74
|
metadata: {"aisa":{"emoji":"🔍","requires":{"bins":["curl"],"env":["AISA_API_KEY"]},"primaryEnv":"AISA_API_KEY","compatibility":["openclaw","claude-code","hermes"]}}
|
|
75
75
|
---
|
|
76
76
|
|
|
77
77
|
# Web Search Skill
|
|
78
78
|
|
|
79
|
-
Search the web, YouTube, and academic papers through
|
|
79
|
+
Search the web, YouTube, and academic papers through AIsa's unified search APIs.
|
|
80
80
|
|
|
81
81
|
## Authentication
|
|
82
82
|
|
|
@@ -104,14 +104,14 @@ aisa scholar "transformer architecture"
|
|
|
104
104
|
`,
|
|
105
105
|
finance: `---
|
|
106
106
|
name: finance-analyst
|
|
107
|
-
description: "Access stock prices, earnings, SEC filings, and financial data via
|
|
107
|
+
description: "Access stock prices, earnings, SEC filings, and financial data via AIsa."
|
|
108
108
|
homepage: https://aisa.one
|
|
109
109
|
metadata: {"aisa":{"emoji":"📊","requires":{"bins":["curl"],"env":["AISA_API_KEY"]},"primaryEnv":"AISA_API_KEY","compatibility":["openclaw","claude-code","hermes"]}}
|
|
110
110
|
---
|
|
111
111
|
|
|
112
112
|
# Finance Analyst Skill
|
|
113
113
|
|
|
114
|
-
Access real-time and historical financial data through
|
|
114
|
+
Access real-time and historical financial data through AIsa's finance APIs.
|
|
115
115
|
|
|
116
116
|
## Authentication
|
|
117
117
|
|
|
@@ -136,14 +136,14 @@ aisa crypto ETH --period 30d
|
|
|
136
136
|
`,
|
|
137
137
|
twitter: `---
|
|
138
138
|
name: twitter-manager
|
|
139
|
-
description: "Search Twitter, get user profiles and trends via
|
|
139
|
+
description: "Search Twitter, get user profiles and trends via AIsa."
|
|
140
140
|
homepage: https://aisa.one
|
|
141
141
|
metadata: {"aisa":{"emoji":"🐦","requires":{"bins":["curl"],"env":["AISA_API_KEY"]},"primaryEnv":"AISA_API_KEY","compatibility":["openclaw","claude-code","hermes"]}}
|
|
142
142
|
---
|
|
143
143
|
|
|
144
144
|
# Twitter Manager Skill
|
|
145
145
|
|
|
146
|
-
Interact with Twitter/X through
|
|
146
|
+
Interact with Twitter/X through AIsa's Twitter APIs.
|
|
147
147
|
|
|
148
148
|
## Authentication
|
|
149
149
|
|
|
@@ -171,14 +171,14 @@ aisa twitter trends
|
|
|
171
171
|
`,
|
|
172
172
|
video: `---
|
|
173
173
|
name: video-generator
|
|
174
|
-
description: "Generate videos from text prompts using
|
|
174
|
+
description: "Generate videos from text prompts using AIsa's video synthesis API."
|
|
175
175
|
homepage: https://aisa.one
|
|
176
176
|
metadata: {"aisa":{"emoji":"🎬","requires":{"bins":["curl"],"env":["AISA_API_KEY"]},"primaryEnv":"AISA_API_KEY","compatibility":["openclaw","claude-code","hermes"]}}
|
|
177
177
|
---
|
|
178
178
|
|
|
179
179
|
# Video Generator Skill
|
|
180
180
|
|
|
181
|
-
Generate videos from text prompts using
|
|
181
|
+
Generate videos from text prompts using AIsa's AI video generation APIs.
|
|
182
182
|
|
|
183
183
|
## Authentication
|
|
184
184
|
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.
|
|
1
|
+
export declare const VERSION = "0.2.4";
|
|
2
2
|
/** Root of the platform. Per-surface bases are derived in api.ts#resolveBases. */
|
|
3
3
|
export declare const BASE_URL = "https://api.aisa.one";
|
|
4
4
|
export declare const ENV_VAR_NAME = "AISA_API_KEY";
|
package/dist/constants.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -43,12 +43,12 @@ function wrap(fn) {
|
|
|
43
43
|
const program = new Command();
|
|
44
44
|
program
|
|
45
45
|
.name("aisa")
|
|
46
|
-
.description("
|
|
46
|
+
.description("AIsa CLI - Unified AI infrastructure platform")
|
|
47
47
|
.version(VERSION);
|
|
48
48
|
// ── Auth ──
|
|
49
49
|
program
|
|
50
50
|
.command("login")
|
|
51
|
-
.description("Authenticate with your
|
|
51
|
+
.description("Authenticate with your AIsa API key")
|
|
52
52
|
.option("--key <key>", "API key")
|
|
53
53
|
.action(loginAction);
|
|
54
54
|
program
|
|
@@ -130,7 +130,7 @@ program
|
|
|
130
130
|
// ── Chat (LLM Gateway) ──
|
|
131
131
|
program
|
|
132
132
|
.command("chat [message]")
|
|
133
|
-
.description("Chat with AI models via the
|
|
133
|
+
.description("Chat with AI models via the AIsa gateway")
|
|
134
134
|
.option("--model <model>", "Model ID (default: gpt-4.1-mini)")
|
|
135
135
|
.option("--system <prompt>", "System prompt")
|
|
136
136
|
.option("--no-stream", "Disable streaming")
|
|
@@ -472,7 +472,7 @@ skills
|
|
|
472
472
|
const mcp = program.command("mcp").description("MCP server integration");
|
|
473
473
|
mcp
|
|
474
474
|
.command("setup")
|
|
475
|
-
.description("Configure
|
|
475
|
+
.description("Configure AIsa MCP server for AI agents")
|
|
476
476
|
.option("--agent <agent>", "Target agent: cursor, claude-desktop, windsurf, all")
|
|
477
477
|
.action(mcpSetupAction);
|
|
478
478
|
mcp
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aisa-one/cli",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "CLI for the
|
|
3
|
+
"version": "0.2.4",
|
|
4
|
+
"description": "CLI for the AIsa unified AI infrastructure platform - one API key for 80+ LLMs and 900+ endpoints across finance, search, social, and video APIs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"url": "https://github.com/AIsa-team/cli/issues"
|
|
61
61
|
},
|
|
62
62
|
"homepage": "https://aisa.one",
|
|
63
|
-
"author": "
|
|
63
|
+
"author": "AIsa Team <support@aisa.one> (https://aisa.one)"
|
|
64
64
|
}
|