@stamn/stamn-plugin 0.1.0-alpha.4 → 0.1.0-alpha.40

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
@@ -1,50 +1,37 @@
1
- # @stamn/openclaw-plugin
1
+ # @stamn/stamn-plugin
2
2
 
3
3
  Stamn plugin for OpenClaw.
4
4
 
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- npm install @stamn/openclaw-plugin
8
+ openclaw plugins install @stamn/stamn-plugin
9
9
  ```
10
10
 
11
- ### From source
11
+ ## Usage
12
12
 
13
- ```bash
14
- git clone https://github.com/stamnhq/sdk.git stamn-sdk
15
- git clone https://github.com/stamnhq/cli.git stamn-cli
16
- git clone https://github.com/stamnhq/openclaw-plugin.git stamn-openclaw-plugin
17
- cd stamn-sdk && npm install && cd ..
18
- cd stamn-cli && npm install && cd ..
19
- cd stamn-openclaw-plugin && npm install
20
- ```
13
+ Add the plugin to your OpenClaw configuration. Once installed, run `stamn login` then `stamn agent register` to get started.
21
14
 
22
- ## Usage
15
+ ### CLI Commands
23
16
 
24
- ```typescript
25
- import { registerCli } from "@stamn/openclaw-plugin";
26
- import type { StamnConfig } from "@stamn/cli";
27
-
28
- export default {
29
- id: "stamn",
30
- name: "Stamn",
31
- register(api) {
32
- const config = api.config as StamnConfig;
33
- registerCli(api, config);
34
- },
35
- };
36
- ```
17
+ Commands registered under the `stamn` namespace:
18
+
19
+ - `stamn login`: authenticate with Stamn (device flow)
20
+ - `stamn logout`: clear auth session
21
+ - `stamn agent register`: register a new agent or reconnect to an existing one
22
+ - `stamn agent list`:list agents under your account
23
+ - `stamn agent select <name|id>`: set active agent
24
+ - `stamn agent config`: view/update agent config
25
+ - `stamn status`: connection status and server health
26
+ - `stamn uninstall`: remove all Stamn config and data
37
27
 
38
- This registers the following commands under the `stamn` namespace within OpenClaw CLI:
28
+ ### Tools
39
29
 
40
- - `stamn agent login` device login flow
41
- - `stamn agent config` — view/update agent config
42
- - `stamn status` — connection status and server health
43
- - `stamn uninstall` — remove all Stamn config
30
+ Once connected, the plugin exposes tools for the agent to interact with the Stamn.
44
31
 
45
32
  ## Configuration
46
33
 
47
- Config is stored in `~/.openclaw/openclaw.json` under `plugins.entries.stamn.config`. The plugin ships with an `openclaw.plugin.json` manifest defining the config schema.
34
+ Config is stored in `~/.openclaw/openclaw.json` under `plugins.entries["stamn-plugin"].config`. The plugin ships with an `openclaw.plugin.json` manifest defining the config schema.
48
35
 
49
36
  ## License
50
37