scrollport 0.5.1 → 0.5.3
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 +118 -106
- package/dist/args.d.ts +1 -1
- package/dist/args.d.ts.map +1 -1
- package/dist/args.js +1 -1
- package/dist/cli.js +0 -0
- package/dist/commands/apps.js +1 -1
- package/dist/commands/apps.js.map +1 -1
- package/dist/commands/wallet.d.ts +1 -1
- package/dist/commands/wallet.d.ts.map +1 -1
- package/dist/commands/wallet.js +4 -4
- package/dist/commands/wallet.js.map +1 -1
- package/package.json +32 -8
package/README.md
CHANGED
|
@@ -1,30 +1,65 @@
|
|
|
1
|
-
# scrollport
|
|
1
|
+
# scrollport
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Pay-per-use API tools for AI agents. The `scrollport` CLI connects an agent to
|
|
4
|
+
Scrollport's catalog of verified API tools through one prepaid wallet, with no
|
|
5
|
+
per-provider signups, subscriptions or API keys to paste.
|
|
4
6
|
|
|
5
|
-
```
|
|
7
|
+
```bash
|
|
6
8
|
npx scrollport setup
|
|
7
9
|
```
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
Requires Node.js 22 or later.
|
|
12
|
+
|
|
13
|
+
[Website](https://scrollport.com) · [Setup guide](https://scrollport.com/docs/setup) ·
|
|
14
|
+
[Agent start page](https://scrollport.com/start) ·
|
|
15
|
+
[Control Skill](https://github.com/Scrollport/scrollport-control-skill) ·
|
|
16
|
+
[Support](https://scrollport.com/support)
|
|
17
|
+
|
|
18
|
+
## Connect an agent
|
|
19
|
+
|
|
20
|
+
`scrollport setup` prints a link with the approval code already in it, opens
|
|
21
|
+
your browser and waits. You sign in with Google, check that the code matches,
|
|
22
|
+
and approve. The CLI stores a scoped key. The key is never shown, never pasted
|
|
23
|
+
and never touches your shell history.
|
|
24
|
+
|
|
25
|
+
Other ways to connect:
|
|
26
|
+
|
|
27
|
+
- **Let the agent choose.** Give it this prompt: `Read https://scrollport.com/start and then help me set up Scrollport.`
|
|
28
|
+
It reuses an existing connection, or picks the CLI, Remote MCP or the direct API for its environment.
|
|
29
|
+
- **Invite.** `npx scrollport setup --invite <code>` redeems an agent invite that a
|
|
30
|
+
human already created. There is no browser and nothing left to approve.
|
|
31
|
+
- **Remote MCP.** Chat clients and coding agents can connect over OAuth without
|
|
32
|
+
the CLI. See the [Remote MCP guide](https://scrollport.com/docs/mcp).
|
|
33
|
+
|
|
34
|
+
The [control Skill](https://github.com/Scrollport/scrollport-control-skill)
|
|
35
|
+
teaches an agent when and how to use these commands.
|
|
36
|
+
|
|
37
|
+
## Use tools
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
scrollport search_tools "find company email addresses"
|
|
41
|
+
scrollport inspect_tool <tool-id>
|
|
42
|
+
scrollport run_tool <tool-id> --input '{"domain":"example.com"}'
|
|
43
|
+
scrollport get_run <run-id>
|
|
44
|
+
scrollport get_wallet
|
|
45
|
+
```
|
|
13
46
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
> the root and silently ran `pnpm -r test` — the DB-backed API suites — instead
|
|
21
|
-
> of this package's hermetic ones.
|
|
47
|
+
`search_tools` and `inspect_tool` show the published price before anything
|
|
48
|
+
runs. Single lookups display a request price. Fractional usage shows its
|
|
49
|
+
minimum billable charge when declared; JSON preserves `minimum_call_usd` (null
|
|
50
|
+
for request and result pricing). When a run needs approval, the CLI prints the
|
|
51
|
+
approval URL. `--confirm` only waits for a human decision; it cannot approve or
|
|
52
|
+
alter a spend limit.
|
|
22
53
|
|
|
23
54
|
## Commands
|
|
24
55
|
|
|
56
|
+
The CLI is a thin client over the API's nine control tools. The API remains the
|
|
57
|
+
authority for pricing, run lifecycle, wallet holds and human approval.
|
|
58
|
+
|
|
25
59
|
| command | what it does |
|
|
26
60
|
| --- | --- |
|
|
27
61
|
| `scrollport setup` | device flow: get a key and store it |
|
|
62
|
+
| `scrollport setup --invite <code>` | redeem an agent invite instead of the device flow |
|
|
28
63
|
| `scrollport status` | is there a key, and does the API still accept it? |
|
|
29
64
|
| `scrollport logout` | remove the key stored on this machine |
|
|
30
65
|
| `scrollport list_apps [provider]` | check which workspace apps are available and connected |
|
|
@@ -32,26 +67,41 @@ touches your shell history.
|
|
|
32
67
|
| `scrollport inspect_tool <tool-id>` | read one tool's schema, worked example and teaching errors |
|
|
33
68
|
| `scrollport run_tool <tool-id> --input '<json>'\|@file [--confirm] [--new]` | submit one retry-safe paid intent and wait for its persisted result |
|
|
34
69
|
| `scrollport get_run <run-id> [--wait-seconds 0..120]` | read status, result, artifacts and cost; never starts or bills |
|
|
35
|
-
| `scrollport get_wallet` | read available funds and human-controlled
|
|
70
|
+
| `scrollport get_wallet` | read available funds and human-controlled spending controls |
|
|
71
|
+
| `scrollport upload_file [path]` | stream a local file into workspace storage, or print a human upload link |
|
|
72
|
+
| `scrollport get_files [file-id]` | list files and storage usage, or refresh one file's reference URL |
|
|
73
|
+
| `scrollport delete_file <file-id>` | permanently delete an authorised file |
|
|
36
74
|
| `scrollport help` / `version` | |
|
|
37
75
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
76
|
+
### Safe retries
|
|
77
|
+
|
|
78
|
+
Before submitting, `run_tool` stores a UUID for the canonical API, tool and
|
|
79
|
+
input under `SCROLLPORT_HOME/run-intents`, without storing the input or the
|
|
80
|
+
API key. If the process dies or the response is lost, rerunning the identical
|
|
81
|
+
command reuses that UUID and the API returns the original run. The file is
|
|
82
|
+
cleared once the API returns a durable run ID. Use `--new` only after checking
|
|
83
|
+
Activity, and only when a second paid execution is intentional.
|
|
84
|
+
|
|
85
|
+
`get_run` waits up to 50 seconds by default; `--wait-seconds 0` returns
|
|
86
|
+
immediately. It accepts no input or new-run flags.
|
|
46
87
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
88
|
+
### Workspace files
|
|
89
|
+
|
|
90
|
+
`scrollport upload_file /path/reference.png` streams a local file into private
|
|
91
|
+
workspace storage. With no path, it prints a human drag-and-drop link.
|
|
92
|
+
`scrollport upload_file --source-url https://example.com/reference.png` imports
|
|
93
|
+
a directly downloadable public HTTPS file. Binary and base64 content never go
|
|
94
|
+
through MCP.
|
|
53
95
|
|
|
54
|
-
`
|
|
96
|
+
`scrollport get_files [file-id] [--query reference] [--offset 25]` lists files,
|
|
97
|
+
refreshes signed reference URLs and reports the workspace's shared 1 GB usage.
|
|
98
|
+
Use the ready file URL in the inspected tool's reference field.
|
|
99
|
+
|
|
100
|
+
Uploads reserve space and expire after one hour if unfinished. On an uncertain
|
|
101
|
+
response, read the returned file ID before retrying to avoid duplicate uploads.
|
|
102
|
+
Existing agent connections need the `files` scope before managing storage; new
|
|
103
|
+
human-approved connections include it. Files stay until deleted or the
|
|
104
|
+
workspace closes, except connected Google content, which has shorter retention.
|
|
55
105
|
|
|
56
106
|
## Flags
|
|
57
107
|
|
|
@@ -61,26 +111,30 @@ when a second paid execution is intentional.
|
|
|
61
111
|
| `--api-url <url>` | API origin. Default `https://api.scrollport.com` |
|
|
62
112
|
| `--force` | `setup`: provision a new key even if one already works |
|
|
63
113
|
| `--no-browser` | `setup`: print the link, open nothing |
|
|
114
|
+
| `--invite <code>` | `setup`: redeem an agent invite instead of the device flow |
|
|
64
115
|
| `--offline` | `status`: report what is on disk, skip the API check |
|
|
65
116
|
| `--input <json>\|@file` | `run_tool`: JSON literal or a local JSON file prefixed with `@` |
|
|
66
117
|
| `--confirm` | `run_tool`: keep polling after printing a human approval URL |
|
|
67
|
-
| `--wait-seconds <0..120>` | `get_run`: bounded wait for a terminal state; default 50 |
|
|
68
118
|
| `--new` | `run_tool`: abandon a retained uncertain intent and intentionally create a fresh paid run |
|
|
119
|
+
| `--wait-seconds <0..120>` | `get_run`: bounded wait for a terminal state; default 50 |
|
|
120
|
+
| `--content-type <mime>` | `upload_file`: set the content type instead of inferring it from the file extension |
|
|
121
|
+
| `--source-url <https-url>` | `upload_file`: import a directly downloadable public file |
|
|
122
|
+
| `--query <text>` / `--offset <n>` | `get_files`: filter and page the file list |
|
|
69
123
|
|
|
70
124
|
## Environment
|
|
71
125
|
|
|
72
126
|
| variable | |
|
|
73
127
|
| --- | --- |
|
|
74
|
-
| `SCROLLPORT_API_KEY` | a key to use instead of the stored one. **Read, never written
|
|
128
|
+
| `SCROLLPORT_API_KEY` | a key to use instead of the stored one. **Read, never written.** This is the CI path, where the right store is your platform's secret manager |
|
|
75
129
|
| `SCROLLPORT_API_URL` | default for `--api-url` |
|
|
76
130
|
| `SCROLLPORT_HOME` | config directory (default `~/.scrollport`) |
|
|
77
131
|
| `SCROLLPORT_NO_BROWSER` | set to anything to never open a browser |
|
|
78
132
|
|
|
79
133
|
## `--json`
|
|
80
134
|
|
|
81
|
-
**stdout carries exactly one JSON object. Everything else goes to stderr.**
|
|
82
|
-
holds for progress, warnings and errors alike, so `JSON.parse(stdout)` is
|
|
83
|
-
safe.
|
|
135
|
+
**stdout carries exactly one JSON object. Everything else goes to stderr.**
|
|
136
|
+
That holds for progress, warnings and errors alike, so `JSON.parse(stdout)` is
|
|
137
|
+
always safe.
|
|
84
138
|
|
|
85
139
|
Success:
|
|
86
140
|
|
|
@@ -90,7 +144,8 @@ Success:
|
|
|
90
144
|
"verified": true, "already_configured": false }
|
|
91
145
|
```
|
|
92
146
|
|
|
93
|
-
Failure
|
|
147
|
+
Failure returns the API's own `{ error, message, hint }` envelope, plus the
|
|
148
|
+
exit code:
|
|
94
149
|
|
|
95
150
|
```json
|
|
96
151
|
{ "ok": false, "command": "setup", "error": "access_denied",
|
|
@@ -101,22 +156,23 @@ Failure — the API's own `{ error, message, hint }` envelope, plus the exit cod
|
|
|
101
156
|
|
|
102
157
|
Fields present per command:
|
|
103
158
|
|
|
104
|
-
- `setup
|
|
159
|
+
- `setup`: `already_configured`, `account_id`, `api_key_masked`, `api_url`,
|
|
105
160
|
`credentials_path`, `verified` (`true` when the API accepted the key, `false`
|
|
106
161
|
when it could not be reached to check).
|
|
107
|
-
- `status
|
|
162
|
+
- `status`: `authenticated`, `source` (`"file"` or `"env"`), `account_id`,
|
|
108
163
|
`api_key_masked`, `api_url`, `credentials_path` (`null` for an env key),
|
|
109
164
|
`verified` (`null` when unchecked), and `permissions_warning` when the file is
|
|
110
165
|
readable beyond its owner.
|
|
111
|
-
- `logout
|
|
112
|
-
- `search_tools
|
|
113
|
-
- `inspect_tool
|
|
114
|
-
- `get_run
|
|
115
|
-
|
|
116
|
-
- `
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
166
|
+
- `logout`: `removed`, `credentials_path`, `env_key_still_set`.
|
|
167
|
+
- `search_tools`: `query`, `discovery` (the API's typed tool result).
|
|
168
|
+
- `inspect_tool`: `tool_id`, `tool` (the API's full inspection response).
|
|
169
|
+
- `get_run`: `run_id` plus the current `run` or approval state; terminal reads
|
|
170
|
+
include `estimate`. No idempotency key is used.
|
|
171
|
+
- `list_apps`: the account-scoped app inventory.
|
|
172
|
+
- `run_tool`: `run_id`, `estimate`, `run_tool`. A completed failed run returns
|
|
173
|
+
JSON with `ok: false` and exit code `1`; API refusal errors keep their own
|
|
174
|
+
teaching error and exit code.
|
|
175
|
+
- `get_wallet`: `wallet` (the API's current wallet response).
|
|
120
176
|
|
|
121
177
|
**The API key itself is never emitted**, in either mode. Masked only. A key in
|
|
122
178
|
stdout is a key in a log, a CI artifact and a screen recording.
|
|
@@ -128,72 +184,28 @@ Agents branch on these, so they are part of the contract.
|
|
|
128
184
|
| code | meaning |
|
|
129
185
|
| --- | --- |
|
|
130
186
|
| 0 | success |
|
|
131
|
-
| 1 | unexpected error
|
|
187
|
+
| 1 | unexpected error, or a completed run that failed |
|
|
132
188
|
| 2 | usage: unknown command, bad flag |
|
|
133
189
|
| 3 | a human declined the approval |
|
|
134
190
|
| 4 | the code expired, or was already spent |
|
|
135
191
|
| 5 | the API could not be reached |
|
|
136
|
-
| 6 | no usable key
|
|
192
|
+
| 6 | no usable key: run `scrollport setup` |
|
|
137
193
|
| 130 | interrupted (Ctrl-C) |
|
|
138
194
|
|
|
139
195
|
## Where the key is stored
|
|
140
196
|
|
|
141
|
-
`~/.scrollport/credentials.json`, file mode `0600`, in a `0700` directory
|
|
142
|
-
written atomically
|
|
143
|
-
so the key is never briefly
|
|
144
|
-
|
|
145
|
-
**Why a file and not the OS keychain.** The keychain is the better answer for a
|
|
146
|
-
desktop app and the wrong answer here. macOS Keychain, libsecret and Windows
|
|
147
|
-
Credential Manager all need a logged-in, unlocked user session; in a container,
|
|
148
|
-
over SSH, or in CI, that is not a degraded experience but a hang with no visible
|
|
149
|
-
prompt — and containers, SSH and CI are exactly where agents run. Every keychain
|
|
150
|
-
binding also drags in a native module whose prebuilt binaries are a recurring
|
|
151
|
-
`npx` failure. A file is what issue #12 specifies and what `gh`, `aws` and `fly`
|
|
152
|
-
all do, for the same reasons.
|
|
153
|
-
|
|
154
|
-
What the file has to earn in exchange, and does:
|
|
155
|
-
|
|
156
|
-
- `0600` in a `0700` directory, verified on write and **warned about on read** if
|
|
157
|
-
something has loosened it.
|
|
158
|
-
- Atomic write, so an interrupted `setup` cannot leave half a credential.
|
|
159
|
-
- The key is never a command-line argument and is never echoed — the CLI writes
|
|
160
|
-
it itself, straight from the poll response. Nothing about the happy path puts
|
|
161
|
-
it in shell history or terminal scrollback.
|
|
162
|
-
- `SCROLLPORT_API_KEY` is read but never written, so CI keeps its key in a real
|
|
163
|
-
secret manager rather than in our file.
|
|
164
|
-
|
|
165
|
-
The residual risk, stated plainly: anything running as your user can read this
|
|
166
|
-
file. A keychain would narrow that to "anything running as your user that can
|
|
167
|
-
also satisfy an unlock prompt". If we ship a desktop-first surface later, a
|
|
168
|
-
keychain backend belongs behind `credentials.ts` — nothing above that module
|
|
169
|
-
assumes a file.
|
|
170
|
-
|
|
171
|
-
## Development
|
|
197
|
+
`~/.scrollport/credentials.json`, file mode `0600`, in a `0700` directory. The
|
|
198
|
+
file is written atomically: a temporary file is created with the mode already
|
|
199
|
+
set, then renamed, so the key is never briefly readable at your umask. The CLI
|
|
200
|
+
warns on read if something has loosened those permissions.
|
|
172
201
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
The tests stub `fetch` and point `SCROLLPORT_HOME` at a temp directory. They
|
|
180
|
-
stand up nothing and touch no database.
|
|
202
|
+
The CLI uses a file rather than the OS keychain because agents run in
|
|
203
|
+
containers, over SSH and in CI, where a keychain needs an unlocked desktop
|
|
204
|
+
session and would hang with no visible prompt. `gh`, `aws` and `fly` make the
|
|
205
|
+
same choice. The residual risk: anything running as your user can read this
|
|
206
|
+
file. In CI, set `SCROLLPORT_API_KEY` from your secret manager instead; the CLI
|
|
207
|
+
never writes it to disk.
|
|
181
208
|
|
|
209
|
+
## License
|
|
182
210
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
`scrollport upload_file /path/reference.png` streams a local file into private
|
|
186
|
-
workspace storage. `scrollport upload_file` prints a human drag-and-drop link;
|
|
187
|
-
`scrollport upload_file --source-url https://example.com/reference.png` imports
|
|
188
|
-
a directly downloadable public HTTPS file. Binary/base64 never goes into MCP.
|
|
189
|
-
|
|
190
|
-
`scrollport get_files [file-id] [--query reference] [--offset 25]` lists files,
|
|
191
|
-
refreshes signed reference URLs and reports the workspace's shared 1 GB usage.
|
|
192
|
-
Use the ready file URL in the inspected tool's reference field.
|
|
193
|
-
`scrollport delete_file <file-id>` permanently deletes an authorised file.
|
|
194
|
-
|
|
195
|
-
Uploads reserve space and expire after one hour if unfinished. On an uncertain
|
|
196
|
-
response, read the returned file ID before retrying to avoid duplicate uploads.
|
|
197
|
-
Existing agent connections need the `files` scope before managing storage; new
|
|
198
|
-
human-approved connections include it. Files stay until deleted or workspace
|
|
199
|
-
closure, except connected Google content's shorter retention.
|
|
211
|
+
MIT
|
package/dist/args.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const COMMANDS: readonly ["setup", "status", "logout", "list_apps", "search_tools", "inspect_tool", "run_tool", "get_run", "get_wallet", "get_files", "upload_file", "delete_file", "help", "version"];
|
|
2
2
|
export type Command = (typeof COMMANDS)[number];
|
|
3
|
-
export declare const USAGE = "scrollport \u2014 provision an agent's key against one prepaid wallet.\n\nUsage:\n scrollport setup connect this machine (device flow, two clicks)\n scrollport setup --invite <code>\n redeem an agent invite: no browser, no approval \u2014\n the human already decided when they created it\n scrollport status is there a key, and does it still work?\n scrollport logout forget the key stored on this machine\n scrollport list_apps [provider] list connected-app readiness or inspect one app\n scrollport search_tools <query> find live catalog tools for a job\n scrollport inspect_tool <tool-id>\n read one tool's input contract and worked example\n scrollport run_tool <tool-id> --input '<json>'|@file [--confirm]\n start a tool, then poll it to a terminal result\n scrollport get_run <run-id> [--wait-seconds <0-120>]\n read an existing run; starts nothing and costs nothing\n scrollport get_wallet read the current wallet and
|
|
3
|
+
export declare const USAGE = "scrollport \u2014 provision an agent's key against one prepaid wallet.\n\nUsage:\n scrollport setup connect this machine (device flow, two clicks)\n scrollport setup --invite <code>\n redeem an agent invite: no browser, no approval \u2014\n the human already decided when they created it\n scrollport status is there a key, and does it still work?\n scrollport logout forget the key stored on this machine\n scrollport list_apps [provider] list connected-app readiness or inspect one app\n scrollport search_tools <query> find live catalog tools for a job\n scrollport inspect_tool <tool-id>\n read one tool's input contract and worked example\n scrollport run_tool <tool-id> --input '<json>'|@file [--confirm]\n start a tool, then poll it to a terminal result\n scrollport get_run <run-id> [--wait-seconds <0-120>]\n read an existing run; starts nothing and costs nothing\n scrollport get_wallet read the current wallet and spending controls\n scrollport get_files [file-id] [--query <text>] [--offset <number>]\n list files and usage, or get a fresh reference URL\n scrollport upload_file [path] [--content-type <mime>]\n stream a local file, or get a human upload link\n scrollport upload_file --source-url <https-url>\n import a directly downloadable reference\n scrollport delete_file <file-id>\n permanently delete an authorised file\n scrollport help | version\n\nOptions:\n --json machine-readable output: one JSON object on stdout,\n progress on stderr. Stable \u2014 see README.md.\n --api-url <url> API origin (default https://api.scrollport.com,\n or $SCROLLPORT_API_URL)\n --force setup: provision a new key even if one already works\n --no-browser setup: print the link, do not open a browser\n --invite <code> setup: redeem an invite instead of the device flow.\n One call, no browser. The same endpoint an agent with\n no shell can POST directly \u2014 see README.md.\n --offline status: report what is on disk, skip the API check\n --input <json>|@file run_tool: JSON input, or a path to a JSON file prefixed\n with @. Input is read locally and sent only to the API.\n --confirm run_tool: after an approval URL is returned, wait while a\n human makes the decision. It never approves for them.\n --wait-seconds <0-120> get_run: wait for completion (default 50; 0 reads immediately)\n --new run_tool: discard an uncertain matching start and create\n an intentional new paid-run UUID\n -h, --help this text\n -v, --version print the version\n\nEnvironment:\n SCROLLPORT_API_KEY a key to use instead of the stored one (read, never\n written \u2014 this is the CI path)\n SCROLLPORT_API_URL default for --api-url\n SCROLLPORT_HOME config directory (default ~/.scrollport)\n SCROLLPORT_NO_BROWSER set to anything to never open a browser\n\nExit codes:\n 0 ok \u00B7 1 error \u00B7 2 usage \u00B7 3 approval denied \u00B7 4 code expired\n 5 API unreachable \u00B7 6 no usable key (run `scrollport setup`) \u00B7 130 interrupted\n";
|
|
4
4
|
/** The published version, read from our own package.json at run time. */
|
|
5
5
|
export declare function version(): string;
|
|
6
6
|
export interface ParsedArgs {
|
package/dist/args.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"args.d.ts","sourceRoot":"","sources":["../src/args.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,QAAQ,wLAeX,CAAC;AACX,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhD,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"args.d.ts","sourceRoot":"","sources":["../src/args.ts"],"names":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MAAM,EAAE,EAAE,GAAG,GAAE,GAAiB,GAAG,UAAU,CA0HnF"}
|
package/dist/args.js
CHANGED
|
@@ -42,7 +42,7 @@ Usage:
|
|
|
42
42
|
start a tool, then poll it to a terminal result
|
|
43
43
|
scrollport get_run <run-id> [--wait-seconds <0-120>]
|
|
44
44
|
read an existing run; starts nothing and costs nothing
|
|
45
|
-
scrollport get_wallet read the current wallet and
|
|
45
|
+
scrollport get_wallet read the current wallet and spending controls
|
|
46
46
|
scrollport get_files [file-id] [--query <text>] [--offset <number>]
|
|
47
47
|
list files and usage, or get a fresh reference URL
|
|
48
48
|
scrollport upload_file [path] [--content-type <mime>]
|
package/dist/cli.js
CHANGED
|
File without changes
|
package/dist/commands/apps.js
CHANGED
|
@@ -25,6 +25,6 @@ export async function listApps(deps, provider) {
|
|
|
25
25
|
return { json: view, human };
|
|
26
26
|
}
|
|
27
27
|
function formatApp(app) {
|
|
28
|
-
return `- ${app.name} (${app.provider}) — ${app.live_capability_count} live / ${app.capability_count} total
|
|
28
|
+
return `- ${app.name} (${app.provider}) — ${app.live_capability_count} live / ${app.capability_count} total tools`;
|
|
29
29
|
}
|
|
30
30
|
//# sourceMappingURL=apps.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../../src/commands/apps.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAiBzC,MAAM,CAAC,KAAK,UAAU,QAAQ,CAC5B,IAAqC,EACrC,QAAiB;IAEjB,MAAM,GAAG,GAAG,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACpC,MAAM,KAAK,GAAG,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,aAAa,kBAAkB,CAAC,QAAQ,CAAC,EAAE,CAAC;IACxF,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAW,KAAK,EAAE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CAAC;QACrB,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,YAAY,CAAC,CAAC;QAC7B,KAAK,MAAM,GAAG,IAAI,SAAS;YAAE,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1D,CAAC;IACD,IAAI,YAAY,CAAC,MAAM,EAAE,CAAC;QACxB,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,gBAAgB,CAAC,CAAC;QACjC,KAAK,MAAM,GAAG,IAAI,YAAY,EAAE,CAAC;YAC/B,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;YAC3B,IAAI,GAAG,CAAC,WAAW;gBAAE,KAAK,CAAC,IAAI,CAAC,4BAA4B,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;QACjF,CAAC;IACH,CAAC;IACD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM;QAAE,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,gEAAgE,CAAC,CAAC;IACxG,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;IAC1C,OAAO,EAAE,IAAI,EAAE,IAA0C,EAAE,KAAK,EAAE,CAAC;AACrE,CAAC;AAED,SAAS,SAAS,CAAC,GAAY;IAC7B,OAAO,KAAK,GAAG,CAAC,IAAI,KAAK,GAAG,CAAC,QAAQ,OAAO,GAAG,CAAC,qBAAqB,WAAW,GAAG,CAAC,gBAAgB,cAAc,CAAC;AACrH,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Read-only wallet control tool.
|
|
1
|
+
/** Read-only wallet control tool. Spending controls remain human-only API operations. */
|
|
2
2
|
import type { Env } from "../credentials.js";
|
|
3
3
|
import type { ApiClient } from "../http.js";
|
|
4
4
|
import type { CommandResult } from "../output.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../src/commands/wallet.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../src/commands/wallet.ts"],"names":[],"mappings":"AAAA,yFAAyF;AACzF,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAGlD,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,SAAS,CAAC;IAClB,GAAG,EAAE,GAAG,CAAC;CACV;AAED,wBAAsB,SAAS,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,aAAa,CAAC,CAcxE"}
|
package/dist/commands/wallet.js
CHANGED
|
@@ -8,8 +8,8 @@ export async function getWallet(deps) {
|
|
|
8
8
|
`Workspace: ${text(wallet, "workspace_name") ?? "unknown"}`,
|
|
9
9
|
`Available: ${formatBalance(text(wallet, "available") ?? "0")}`,
|
|
10
10
|
`Balance: ${formatBalance(text(wallet, "balance") ?? "0")} · Held: ${formatBalance(text(wallet, "held") ?? "0")}`,
|
|
11
|
-
`
|
|
12
|
-
`Daily
|
|
11
|
+
`Approval threshold: ${typeof wallet["confirm_threshold"] === "string" ? `Ask for approval above ${moneyOrNone(wallet["confirm_threshold"], "Never ask")}` : "Never ask"}`,
|
|
12
|
+
`Daily cap: ${typeof wallet["daily_spend_limit"] === "string" ? `${moneyOrNone(wallet["daily_spend_limit"], "No daily cap")} per day` : "No daily cap"} · remaining: ${wallet["daily_remaining"] === null ? "No daily cap" : formatBalance(String(wallet["daily_remaining"] ?? "0"))}`,
|
|
13
13
|
`Daily reset: ${text(wallet, "daily_resets_at") ?? "unknown"}`,
|
|
14
14
|
],
|
|
15
15
|
};
|
|
@@ -17,8 +17,8 @@ export async function getWallet(deps) {
|
|
|
17
17
|
function text(value, key) {
|
|
18
18
|
return typeof value[key] === "string" ? value[key] : undefined;
|
|
19
19
|
}
|
|
20
|
-
function moneyOrNone(value) {
|
|
21
|
-
return typeof value === "string" ? `$${value.replace(/\.0+$/, "")}` :
|
|
20
|
+
function moneyOrNone(value, disabled) {
|
|
21
|
+
return typeof value === "string" ? `$${value.replace(/\.0+$/, "")}` : disabled;
|
|
22
22
|
}
|
|
23
23
|
/** Account aggregates display at 2dp, floored, without introducing float math. */
|
|
24
24
|
function formatBalance(value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet.js","sourceRoot":"","sources":["../../src/commands/wallet.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAOzC,MAAM,CAAC,KAAK,UAAU,SAAS,CAAC,IAAgB;IAC9C,MAAM,GAAG,GAAG,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACpC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAA0B,KAAK,EAAE,SAAS,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;IAC5G,OAAO;QACL,IAAI,EAAE,EAAE,MAAM,EAAE;QAChB,KAAK,EAAE;YACL,cAAc,IAAI,CAAC,MAAM,EAAE,gBAAgB,CAAC,IAAI,SAAS,EAAE;YAC3D,cAAc,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,WAAW,CAAC,IAAI,GAAG,CAAC,EAAE;YAC/D,YAAY,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC,IAAI,GAAG,CAAC,YAAY,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,GAAG,CAAC,EAAE;YACjH,0BAA0B,WAAW,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"wallet.js","sourceRoot":"","sources":["../../src/commands/wallet.ts"],"names":[],"mappings":"AAIA,OAAO,EAA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,EAAE,CAAC;IAClE,OAAO,KAAK,KAAK,GAAG,IAAI,IAAI,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;AACtE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scrollport",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Connect AI agents to pay-per-use API tools through one prepaid wallet: device-flow setup, tool search, paid runs and wallet checks from the shell.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"scrollport",
|
|
8
|
+
"mcp",
|
|
9
|
+
"model-context-protocol",
|
|
10
|
+
"ai-agents",
|
|
11
|
+
"agent-tools",
|
|
12
|
+
"api-tools",
|
|
13
|
+
"pay-per-use",
|
|
14
|
+
"claude-code",
|
|
15
|
+
"codex",
|
|
16
|
+
"cursor",
|
|
17
|
+
"openclaw",
|
|
18
|
+
"hermes",
|
|
19
|
+
"skills",
|
|
20
|
+
"cli"
|
|
21
|
+
],
|
|
22
|
+
"homepage": "https://scrollport.com/docs/setup",
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/Scrollport/scrollport-control-skill.git"
|
|
26
|
+
},
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://scrollport.com/support"
|
|
29
|
+
},
|
|
6
30
|
"license": "MIT",
|
|
7
31
|
"engines": {
|
|
8
32
|
"node": ">=22"
|
|
@@ -17,15 +41,15 @@
|
|
|
17
41
|
"publishConfig": {
|
|
18
42
|
"access": "public"
|
|
19
43
|
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@types/node": "^22.10.2",
|
|
46
|
+
"vitest": "^2.1.8",
|
|
47
|
+
"@scrollport/shared": "0.0.0"
|
|
48
|
+
},
|
|
20
49
|
"scripts": {
|
|
21
50
|
"build": "tsc -b",
|
|
22
51
|
"typecheck": "tsc --noEmit",
|
|
23
52
|
"test": "vitest run",
|
|
24
53
|
"lint": "eslint . --max-warnings=0"
|
|
25
|
-
},
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"@scrollport/shared": "workspace:*",
|
|
28
|
-
"@types/node": "^22.10.2",
|
|
29
|
-
"vitest": "^2.1.8"
|
|
30
54
|
}
|
|
31
|
-
}
|
|
55
|
+
}
|