@connormartin/seed-network-agent 0.1.2 → 0.1.4

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/README.md CHANGED
@@ -62,31 +62,38 @@ npx @connormartin/seed-network-agent@latest
62
62
 
63
63
  The CLI checks npm for updates at startup at most once per day and prints the exact update command when a newer version is available. Disable this with `SEED_NETWORK_AGENT_NO_UPDATE_CHECK=1`.
64
64
 
65
- ## Publish an npm update
65
+ ## Update, build, and publish
66
66
 
67
- Updating this repository does not update the published `npx` / global CLI package. To ship CLI changes, publish a new package version to npm:
67
+ From the repository root, make the agent changes, then build the package:
68
68
 
69
69
  ```bash
70
- # from the repo root
71
70
  pnpm --filter @connormartin/seed-network-agent build
71
+ ```
72
+
73
+ Before publishing, bump the npm package version in `apps/agent/package.json` to a version higher than the current npm `latest`:
72
74
 
75
+ ```bash
76
+ npm view @connormartin/seed-network-agent version
73
77
  cd apps/agent
74
- npm version patch
75
- npm publish --access public
78
+ npm version <next-version> --no-git-tag-version
76
79
  ```
77
80
 
78
- Use `npm version minor` or `npm version major` instead of `patch` when appropriate. You must be logged into npm with publish access:
81
+ Use semver patch/minor/major as appropriate. For example, if npm `latest` is `0.1.3`, publish `0.1.4` or higher. Then verify the package contents and publish:
79
82
 
80
83
  ```bash
81
- npm whoami
82
- npm login
84
+ npm pack --dry-run
85
+ npm publish --access public
83
86
  ```
84
87
 
85
- After publishing, users can update with:
88
+ After publishing, users can update their installed CLI with:
86
89
 
87
90
  ```bash
88
91
  npm install -g @connormartin/seed-network-agent@latest
89
- # or run without installing
92
+ ```
93
+
94
+ Or run the latest version directly:
95
+
96
+ ```bash
90
97
  npx @connormartin/seed-network-agent@latest
91
98
  ```
92
99
 
@@ -123,5 +130,5 @@ The wrapper can connect to the Seed Network web app as an Agent Auth client:
123
130
  /seed disconnect
124
131
  ```
125
132
 
126
- By default the provider URL is `SEED_NETWORK_AGENT_AUTH_PROVIDER` or `http://localhost:3000`.
133
+ By default the provider URL is `SEED_NETWORK_AGENT_AUTH_PROVIDER` or `https://seed-network-v2.vercel.app/`.
127
134
  Agent Auth identity and grants are stored locally under `~/.seed-network-agent/auth/`.
@@ -3,7 +3,7 @@ import os from "node:os";
3
3
  import { AgentAuthClient } from "@auth/agent";
4
4
  import { SeedAgentAuthStorage } from "./agent-auth-storage.js";
5
5
  export const SEED_SUBMIT_DEAL_CAPABILITY = "submit_deal";
6
- export const DEFAULT_PROVIDER_URL = process.env.SEED_NETWORK_AGENT_AUTH_PROVIDER ?? "http://localhost:3000";
6
+ export const DEFAULT_PROVIDER_URL = process.env.SEED_NETWORK_AGENT_AUTH_PROVIDER ?? "https://seed-network-v2.vercel.app/";
7
7
  const DEFAULT_SEED_CAPABILITIES = [SEED_SUBMIT_DEAL_CAPABILITY];
8
8
  export function createSeedAgentAuthClient(ui) {
9
9
  return new AgentAuthClient({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connormartin/seed-network-agent",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {