@agentlayer.tech/wallet 0.1.18 → 0.1.19

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.
@@ -1,34 +0,0 @@
1
- {
2
- "id": "pay-bridge",
3
- "name": "pay.sh Bridge",
4
- "description": "Thin OpenClaw bridge to the local pay.sh CLI for paid API discovery and execution.",
5
- "version": "0.1.0",
6
- "contracts": {
7
- "tools": [
8
- "pay_status",
9
- "pay_wallet_info",
10
- "pay_search_services",
11
- "pay_get_service_endpoints",
12
- "pay_api_request"
13
- ]
14
- },
15
- "skills": ["skills/pay-operator"],
16
- "configSchema": {
17
- "type": "object",
18
- "additionalProperties": false,
19
- "properties": {
20
- "payBinary": {
21
- "type": "string",
22
- "description": "Absolute path or executable name for the local pay.sh binary."
23
- },
24
- "defaultAccount": {
25
- "type": "string",
26
- "description": "Optional pay account name to use when a tool call does not specify one."
27
- },
28
- "requireHttps": {
29
- "type": "boolean",
30
- "description": "If true, pay_api_request refuses non-HTTPS URLs."
31
- }
32
- }
33
- }
34
- }
@@ -1,49 +0,0 @@
1
- {
2
- "name": "@agentlayertech/pay-bridge-plugin",
3
- "version": "0.1.18",
4
- "description": "OpenClaw plugin bridge for the local pay.sh CLI.",
5
- "type": "module",
6
- "license": "SEE LICENSE IN ../../../LICENSE",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/lopushok9/Agent-Layer.git",
10
- "directory": ".openclaw/extensions/pay-bridge"
11
- },
12
- "bugs": {
13
- "url": "https://github.com/lopushok9/Agent-Layer/issues"
14
- },
15
- "homepage": "https://github.com/lopushok9/Agent-Layer/tree/main/.openclaw/extensions/pay-bridge#readme",
16
- "publishConfig": {
17
- "access": "public"
18
- },
19
- "files": [
20
- "index.ts",
21
- "core.mjs",
22
- "dist/",
23
- "openclaw.plugin.json",
24
- "README.md",
25
- "skills/"
26
- ],
27
- "openclaw": {
28
- "extensions": [
29
- "./index.ts"
30
- ],
31
- "runtimeExtensions": [
32
- "./dist/index.js"
33
- ],
34
- "compat": {
35
- "pluginApi": ">=2026.3.24-beta.2",
36
- "minGatewayVersion": "2026.3.24-beta.2"
37
- },
38
- "build": {
39
- "openclawVersion": "2026.3.24-beta.2",
40
- "pluginSdkVersion": "2026.3.24-beta.2"
41
- }
42
- },
43
- "keywords": [
44
- "openclaw",
45
- "plugin",
46
- "pay",
47
- "payments"
48
- ]
49
- }
@@ -1,20 +0,0 @@
1
- # pay-operator
2
-
3
- Use this skill when the user wants to discover or call paid APIs through `pay`.
4
-
5
- ## Rules
6
-
7
- - Treat the `pay` wallet as separate from the AgentLayer execution wallet.
8
- - Do not use `agent-wallet` tools for `pay` account management.
9
- - Do not fall back to shell commands when the `pay-bridge` tools exist.
10
- - Prefer this order:
11
- 1. `pay_status`
12
- 2. `pay_search_services`
13
- 3. `pay_get_service_endpoints`
14
- 4. `pay_api_request`
15
-
16
- ## Notes
17
-
18
- - `pay_api_request` requires `purpose` and `user_confirmed=true`.
19
- - Use the exact gateway URL returned by `pay_get_service_endpoints`.
20
- - If `pay_status` shows no configured account, stop and ask the user to finish `pay setup`.
@@ -1,38 +0,0 @@
1
- import assert from "node:assert/strict";
2
-
3
- import {
4
- endpointPayloadContainsUrl,
5
- parseAccountListOutput,
6
- parseWhoamiOutput,
7
- } from "./core.mjs";
8
-
9
- const whoami = parseWhoamiOutput(`
10
- yuriytsygankov
11
- \u001b[2m(no mainnet account — run \`pay setup\`)\u001b[0m
12
- `);
13
- assert.equal(whoami.system_user, "yuriytsygankov");
14
- assert.equal(whoami.has_mainnet_account, false);
15
-
16
- const accounts = parseAccountListOutput(`
17
- \u001b[2mNo accounts found. Run \`pay account new\` to create one.\u001b[0m
18
- `);
19
- assert.equal(accounts.has_accounts, false);
20
-
21
- const endpointPayload = {
22
- endpoints: [
23
- {
24
- method: "POST",
25
- url: "https://api.example.com/v1/invoke",
26
- },
27
- ],
28
- };
29
- assert.equal(
30
- endpointPayloadContainsUrl(endpointPayload, "https://api.example.com/v1/invoke"),
31
- true
32
- );
33
- assert.equal(
34
- endpointPayloadContainsUrl(endpointPayload, "https://api.example.com/v1/other"),
35
- false
36
- );
37
-
38
- console.log("smoke_pay_bridge: ok");