@ilivemylife/graph-sdk 1.0.0 → 1.0.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/cli.mjs CHANGED
@@ -523,7 +523,7 @@ function createApolloClient(options) {
523
523
  const { token, httpUrl, wsUrl, enableSubscriptions, webSocketImpl } = options;
524
524
  const requestHeaders = {
525
525
  "access-token": token,
526
- "x-client": `sdk/${"1.0.0"}`
526
+ "x-client": `sdk/${"1.0.1"}`
527
527
  };
528
528
  const httpLink = createHttpLink({
529
529
  uri: httpUrl,
@@ -536,7 +536,7 @@ function createApolloClient(options) {
536
536
  if (enableSubscriptions) {
537
537
  const wsClientOptions = {
538
538
  url: wsUrl,
539
- connectionParams: { "access-token": token, "x-client": `sdk/${"1.0.0"}` }
539
+ connectionParams: { "access-token": token, "x-client": `sdk/${"1.0.1"}` }
540
540
  };
541
541
  if (webSocketImpl) {
542
542
  wsClientOptions.webSocketImpl = webSocketImpl;
@@ -2370,7 +2370,7 @@ async function cmdUpdate() {
2370
2370
  const { execSync } = await import("child_process");
2371
2371
  console.log("Checking for updates...");
2372
2372
  try {
2373
- const currentVersion = "1.0.0";
2373
+ const currentVersion = "1.0.1";
2374
2374
  let latestVersion;
2375
2375
  try {
2376
2376
  const result = execSync("npm view @ilivemylife/graph-sdk version", { encoding: "utf-8" }).trim();
@@ -2400,7 +2400,7 @@ async function cmdDoctor() {
2400
2400
  console.log("\u2550".repeat(60));
2401
2401
  let issues = 0;
2402
2402
  console.log(`
2403
- [Version] ${"1.0.0"}`);
2403
+ [Version] ${"1.0.1"}`);
2404
2404
  const localConfigPath = findLocalConfigFile();
2405
2405
  const globalExists = existsSync(GLOBAL_CONFIG_FILE);
2406
2406
  console.log("\n[Config Files]");
@@ -2414,8 +2414,10 @@ async function cmdDoctor() {
2414
2414
  }
2415
2415
  if (localData.token) {
2416
2416
  console.log(` Token: ${localData.token.substring(0, 10)}...`);
2417
+ console.log(" \u2190 ACTIVE (takes priority)");
2418
+ } else {
2419
+ console.log(' Token: (missing \u2014 run "ilml login --local")');
2417
2420
  }
2418
- console.log(" \u2190 ACTIVE (takes priority)");
2419
2421
  } catch {
2420
2422
  console.log(" (could not read)");
2421
2423
  }
@@ -2433,9 +2435,11 @@ async function cmdDoctor() {
2433
2435
  }
2434
2436
  if (globalData.token) {
2435
2437
  console.log(` Token: ${globalData.token.substring(0, 10)}...`);
2436
- }
2437
- if (!localConfigPath) {
2438
- console.log(" \u2190 ACTIVE");
2438
+ if (!localConfigPath) {
2439
+ console.log(" \u2190 ACTIVE");
2440
+ }
2441
+ } else {
2442
+ console.log(' Token: (missing \u2014 run "ilml login")');
2439
2443
  }
2440
2444
  } catch {
2441
2445
  console.log(" (could not read)");
@@ -2587,11 +2591,11 @@ async function cmdUninstall() {
2587
2591
  console.log("\u2550".repeat(60));
2588
2592
  }
2589
2593
  function showVersion() {
2590
- console.log(`@ilivemylife/graph-sdk v${"1.0.0"}`);
2594
+ console.log(`@ilivemylife/graph-sdk v${"1.0.1"}`);
2591
2595
  }
2592
2596
  function showHelp() {
2593
2597
  console.log(`
2594
- @ilivemylife/graph-sdk v${"1.0.0"}
2598
+ @ilivemylife/graph-sdk v${"1.0.1"}
2595
2599
  CLI for iLiveMyLife Knowledge Graph
2596
2600
 
2597
2601
  USAGE
package/dist/client.cjs CHANGED
@@ -623,7 +623,7 @@ function createApolloClient(options) {
623
623
  const { token, httpUrl, wsUrl, enableSubscriptions, webSocketImpl } = options;
624
624
  const requestHeaders = {
625
625
  "access-token": token,
626
- "x-client": `sdk/${"1.0.0"}`
626
+ "x-client": `sdk/${"1.0.1"}`
627
627
  };
628
628
  const httpLink = createHttpLink({
629
629
  uri: httpUrl,
@@ -636,7 +636,7 @@ function createApolloClient(options) {
636
636
  if (enableSubscriptions) {
637
637
  const wsClientOptions = {
638
638
  url: wsUrl,
639
- connectionParams: { "access-token": token, "x-client": `sdk/${"1.0.0"}` }
639
+ connectionParams: { "access-token": token, "x-client": `sdk/${"1.0.1"}` }
640
640
  };
641
641
  if (webSocketImpl) {
642
642
  wsClientOptions.webSocketImpl = webSocketImpl;
package/dist/client.mjs CHANGED
@@ -550,7 +550,7 @@ function createApolloClient(options) {
550
550
  const { token, httpUrl, wsUrl, enableSubscriptions, webSocketImpl } = options;
551
551
  const requestHeaders = {
552
552
  "access-token": token,
553
- "x-client": `sdk/${"1.0.0"}`
553
+ "x-client": `sdk/${"1.0.1"}`
554
554
  };
555
555
  const httpLink = createHttpLink({
556
556
  uri: httpUrl,
@@ -563,7 +563,7 @@ function createApolloClient(options) {
563
563
  if (enableSubscriptions) {
564
564
  const wsClientOptions = {
565
565
  url: wsUrl,
566
- connectionParams: { "access-token": token, "x-client": `sdk/${"1.0.0"}` }
566
+ connectionParams: { "access-token": token, "x-client": `sdk/${"1.0.1"}` }
567
567
  };
568
568
  if (webSocketImpl) {
569
569
  wsClientOptions.webSocketImpl = webSocketImpl;
@@ -540,7 +540,7 @@ function createApolloClient(options) {
540
540
  const { token, httpUrl, wsUrl, enableSubscriptions, webSocketImpl } = options;
541
541
  const requestHeaders = {
542
542
  "access-token": token,
543
- "x-client": `sdk/${"1.0.0"}`
543
+ "x-client": `sdk/${"1.0.1"}`
544
544
  };
545
545
  const httpLink = createHttpLink({
546
546
  uri: httpUrl,
@@ -553,7 +553,7 @@ function createApolloClient(options) {
553
553
  if (enableSubscriptions) {
554
554
  const wsClientOptions = {
555
555
  url: wsUrl,
556
- connectionParams: { "access-token": token, "x-client": `sdk/${"1.0.0"}` }
556
+ connectionParams: { "access-token": token, "x-client": `sdk/${"1.0.1"}` }
557
557
  };
558
558
  if (webSocketImpl) {
559
559
  wsClientOptions.webSocketImpl = webSocketImpl;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilivemylife/graph-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "SDK and CLI for iLiveMyLife Knowledge Graph",
5
5
  "license": "UNLICENSED",
6
6
  "engines": {
@@ -12,7 +12,7 @@
12
12
  "module": "./dist/client.mjs",
13
13
  "types": "./dist/client.d.ts",
14
14
  "bin": {
15
- "ilml": "./bin/ilml",
15
+ "ilml": "./dist/cli.mjs",
16
16
  "ilml-mcp": "./dist/mcp-server.mjs"
17
17
  },
18
18
  "exports": {
@@ -29,7 +29,6 @@
29
29
  },
30
30
  "files": [
31
31
  "dist",
32
- "bin",
33
32
  "examples"
34
33
  ],
35
34
  "scripts": {
package/bin/ilml DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- import { main } from '../dist/cli.mjs';
4
-
5
- main();