@agentproto/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/cli.mjs +4 -3
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/registry/builtins.mjs +1 -1
- package/dist/registry/manifest.mjs +1 -1
- package/dist/registry/plugins.mjs +1 -1
- package/dist/registry/runtime.mjs +1 -1
- package/dist/util/credentials.mjs +1 -1
- package/package.json +5 -5
package/dist/cli.mjs
CHANGED
|
@@ -28,7 +28,7 @@ import { SSEClientTransport } from '@modelcontextprotocol/sdk/client/sse.js';
|
|
|
28
28
|
import https from 'https';
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* @agentproto/cli v0.1.
|
|
31
|
+
* @agentproto/cli v0.1.1
|
|
32
32
|
* The `agentproto` binary — install / run / serve AIP-45 agent CLIs.
|
|
33
33
|
*/
|
|
34
34
|
var __defProp = Object.defineProperty;
|
|
@@ -8758,7 +8758,7 @@ ${color.dim}\u2500\u2500 shutting down (${signal}) \u2500\u2500${color.reset}
|
|
|
8758
8758
|
async function runOneTunnel(opts, gateway, spawnPty, signal, reconnectState) {
|
|
8759
8759
|
if (!opts.connect) throw new Error("runOneTunnel: --connect not set");
|
|
8760
8760
|
const headers = {
|
|
8761
|
-
"user-agent": "
|
|
8761
|
+
"user-agent": `agentproto/${"0.1.1"}`
|
|
8762
8762
|
};
|
|
8763
8763
|
if (opts.token) headers.authorization = `Bearer ${opts.token}`;
|
|
8764
8764
|
const ws = new WebSocket2(opts.connect, { headers });
|
|
@@ -11146,7 +11146,8 @@ async function main(argv) {
|
|
|
11146
11146
|
const verbIdx = argv.findIndex((a) => VERBS.has(a));
|
|
11147
11147
|
if (verbIdx === -1) {
|
|
11148
11148
|
if (argv.includes("--version") || argv.includes("-v")) {
|
|
11149
|
-
process.stdout.write(
|
|
11149
|
+
process.stdout.write(`agentproto ${"0.1.1"}
|
|
11150
|
+
`);
|
|
11150
11151
|
return 0;
|
|
11151
11152
|
}
|
|
11152
11153
|
if (argv.includes("--help") || argv.includes("-h") || argv.length === 0) {
|