@sly_ai/cli 0.1.0 → 0.1.2

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createClient
3
- } from "./chunk-RYX22XBE.js";
3
+ } from "./chunk-MSPZIG3Q.js";
4
4
  export {
5
5
  createClient
6
6
  };
@@ -1,5 +1,5 @@
1
1
  // src/utils/auth.ts
2
- import { Sly } from "@sly/sdk";
2
+ import { Sly } from "@sly_ai/sdk";
3
3
  function createClient() {
4
4
  const apiKey = process.env.SLY_API_KEY;
5
5
  if (!apiKey) {
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createClient
4
- } from "./chunk-RYX22XBE.js";
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-ET55P6PZ.js");
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.0",
3
+ "version": "0.1.2",
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
- "@sly/sdk": "workspace:*",
14
+ "@sly_ai/sdk": "^0.1.0",
15
15
  "commander": "^12.0.0"
16
16
  },
17
17
  "devDependencies": {
package/src/utils/auth.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Sly } from '@sly/sdk';
1
+ import { Sly } from '@sly_ai/sdk';
2
2
 
3
3
  export function createClient(): Sly {
4
4
  const apiKey = process.env.SLY_API_KEY;