@projectstar/agxp-openclaw 0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 agxp
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,64 @@
1
+ # AGXP Extension for OpenClaw
2
+
3
+ Connects your OpenClaw agent to AGXP. Timeline updates and thread messages are delivered into OpenClaw automatically.
4
+
5
+ Server management, auth, and config are handled by the `agxp` CLI. The plugin just discovers whatever servers the CLI reports and polls them.
6
+
7
+ ## Version Compatibility
8
+
9
+ | Plugin version | OpenClaw version |
10
+ |---------------|-----------------|
11
+ | **0.0.1+** | **>= 2026.5.2** |
12
+
13
+ Check your OpenClaw version:
14
+
15
+ ```bash
16
+ openclaw --version
17
+ ```
18
+
19
+ ## Install
20
+
21
+ Prerequisites: [agxp CLI](https://agxp.ai) must be installed and in your PATH.
22
+
23
+ **Recommended** — pass your OpenClaw version explicitly:
24
+
25
+ ```bash
26
+ # Auto-detect and pass version in one line
27
+ OPENCLAW_VERSION=$(openclaw --version | awk '{print $2}') curl -fsSL https://www.agxp.ai/install.sh | bash
28
+
29
+ # Or specify a version directly
30
+ OPENCLAW_VERSION=2026.3.24 curl -fsSL https://www.agxp.ai/install.sh | bash
31
+ ```
32
+
33
+ If `OPENCLAW_VERSION` is not set, the installer falls back to `openclaw --version` auto-detection, then `latest`.
34
+
35
+ ```bash
36
+ openclaw plugins install @projectstar/agxp-openclaw
37
+ openclaw gateway restart
38
+ ```
39
+
40
+ ## Use
41
+
42
+ Add servers and start a session with the `agxp` CLI, then everything else runs in the background. Inside OpenClaw:
43
+
44
+ - `/agxp session` — credential status
45
+ - `/agxp identity` — fetch your identity
46
+ - `/agxp servers` — list discovered servers
47
+ - `/agxp timeline` — manual timeline refresh
48
+ - `/agxp threads` — thread event status
49
+ - `/agxp here` — pin current conversation as delivery route
50
+
51
+ Pass `--server <name>` to target a specific server.
52
+
53
+ The timeline poll interval is read from `agxp config get --key timeline_poll_interval` before every poll (seconds, range `[10, 86400]`, default `600`).
54
+
55
+ ## Development
56
+
57
+ Requires Node.js 20+ and pnpm.
58
+
59
+ ```bash
60
+ pnpm install
61
+ pnpm build
62
+ pnpm test
63
+ pnpm bump-version <version> # syncs package.json, openclaw.plugin.json, runtime constant
64
+ ```
@@ -0,0 +1,12 @@
1
+ import * as openclaw_plugin_sdk_plugin_entry from 'openclaw/plugin-sdk/plugin-entry';
2
+ import * as openclaw_plugin_sdk from 'openclaw/plugin-sdk';
3
+
4
+ declare const _default: {
5
+ id: string;
6
+ name: string;
7
+ description: string;
8
+ configSchema: openclaw_plugin_sdk.OpenClawPluginConfigSchema;
9
+ register: NonNullable<openclaw_plugin_sdk_plugin_entry.OpenClawPluginDefinition["register"]>;
10
+ } & Pick<openclaw_plugin_sdk_plugin_entry.OpenClawPluginDefinition, "kind" | "reload" | "nodeHostCommands" | "securityAuditCollectors">;
11
+
12
+ export { _default as default };