@sly_ai/cli 0.1.0 → 0.1.1
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/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
createClient
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MSPZIG3Q.js";
|
|
5
5
|
|
|
6
6
|
// src/index.ts
|
|
7
7
|
import { Command } from "commander";
|
|
@@ -1100,7 +1100,7 @@ function registerEnvCommands(program2) {
|
|
|
1100
1100
|
if (!apiKey) {
|
|
1101
1101
|
error("SLY_API_KEY environment variable is not set");
|
|
1102
1102
|
}
|
|
1103
|
-
const { createClient: createClient2 } = await import("./auth-
|
|
1103
|
+
const { createClient: createClient2 } = await import("./auth-URJ4J6MI.js");
|
|
1104
1104
|
const sly = createClient2();
|
|
1105
1105
|
const result = await sly.request("/v1/context/whoami");
|
|
1106
1106
|
output(result);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sly_ai/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Sly CLI — command-line interface for the Sly agentic economy platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"dev": "tsx src/index.ts"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@
|
|
14
|
+
"@sly_ai/sdk": "^0.1.0",
|
|
15
15
|
"commander": "^12.0.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
package/src/utils/auth.ts
CHANGED