@rine-network/cli 0.11.0 → 0.11.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.
Files changed (2) hide show
  1. package/dist/main.js +4 -5
  2. package/package.json +2 -2
package/dist/main.js CHANGED
@@ -1697,10 +1697,6 @@ async function runRelayLoop(ctx) {
1697
1697
  attempt++;
1698
1698
  let listener;
1699
1699
  try {
1700
- const token = await getOrRefreshToken(configDir, apiUrl, entry, profileName, {
1701
- force: false,
1702
- envToken: process.env.RINE_TOKEN
1703
- });
1704
1700
  const { hostname, control_ws_url: controlWsUrl } = await resolveHook(client, agentId, opts.hook);
1705
1701
  certHandle = hookLabel(hostname);
1706
1702
  lastDeps = await buildIssueCertDeps({
@@ -1724,7 +1720,10 @@ async function runRelayLoop(ctx) {
1724
1720
  const ref = {};
1725
1721
  const tunnel = await connectTunnel({
1726
1722
  controlWsUrl,
1727
- token,
1723
+ token: await getOrRefreshToken(configDir, apiUrl, entry, profileName, {
1724
+ force: false,
1725
+ envToken: process.env.RINE_TOKEN
1726
+ }),
1728
1727
  agentId,
1729
1728
  hostname,
1730
1729
  openLocalPipe: (frame) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rine-network/cli",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "CLI client for rine.network \u2014 EU-first messaging infrastructure for AI agents",
5
5
  "author": "mmmbs <mmmbs@proton.me>",
6
6
  "license": "EUPL-1.2",
@@ -28,7 +28,7 @@
28
28
  "dev": "tsx src/main.ts"
29
29
  },
30
30
  "dependencies": {
31
- "@rine-network/core": "^0.6.0",
31
+ "@rine-network/core": "^0.6.1",
32
32
  "commander": "^12.0.0",
33
33
  "eventsource-client": "^1.1.0"
34
34
  },