opencrowd 0.4.0 → 0.5.0
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 +36 -19
- package/bundle/opencrowd.js +62518 -61228
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -84,30 +84,47 @@ There is one wallet: AgentCash's. OpenCrowd shows public addresses,
|
|
|
84
84
|
balances, and funding links (`/wallet`, `/fund`) and never manages, copies,
|
|
85
85
|
or exports keys. See [SECURITY.md](SECURITY.md) for the enforcement model.
|
|
86
86
|
|
|
87
|
-
##
|
|
87
|
+
## Spending limits
|
|
88
88
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
(`opencrowd config set budget 20`); session creation never needs a network
|
|
94
|
-
lookup.
|
|
89
|
+
By default, each model or paid tool call can spend up to **$1** automatically,
|
|
90
|
+
and each user query can spend up to **$10** across its model calls, tools,
|
|
91
|
+
retries and subagents. Every new query receives a fresh allowance; conversation
|
|
92
|
+
history and lifetime spending remain available.
|
|
95
93
|
|
|
96
|
-
|
|
94
|
+
Open **/wallet → spending limits** to save defaults, or use:
|
|
95
|
+
|
|
96
|
+
```sh
|
|
97
|
+
opencrowd wallet limits --per-call 1 --per-query 10
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
A call above either threshold pauses before payment. Approve that call once,
|
|
101
|
+
approve it and increase the current query budget, or decline. Increasing a
|
|
102
|
+
query budget leaves saved defaults unchanged; later calls still respect the
|
|
103
|
+
per-call limit. Changing a budget does not move funds.
|
|
104
|
+
|
|
105
|
+
Headless runs return `waiting_for_approval` with the pending amount. Resume the
|
|
106
|
+
saved query without repeating completed work:
|
|
97
107
|
|
|
98
|
-
|
|
99
|
-
|
|
108
|
+
```sh
|
|
109
|
+
opencrowd resume <session-id> --approve-once --workspace <dir>
|
|
110
|
+
opencrowd resume <session-id> --query-budget 20 --workspace <dir>
|
|
111
|
+
opencrowd resume <session-id> --decline --workspace <dir>
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Cloud applies the same thresholds in its payment gateway and exposes them in
|
|
115
|
+
Wallet → spending limits. Cloud and CLI save settings independently.
|
|
116
|
+
|
|
117
|
+
## Approval
|
|
100
118
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
119
|
+
Spending thresholds apply to model and paid tool calls. External services also
|
|
120
|
+
retain reputation checks, explicit service blocks and method restrictions.
|
|
121
|
+
`auto` is the default and still asks for spending above either threshold.
|
|
122
|
+
Legacy `ask` adds service confirmations; `off` disables external-service
|
|
123
|
+
purchases in the CLI. Stored rules remain available through `/approvals`;
|
|
124
|
+
old monetary service/session caps are replaced by query spending limits.
|
|
107
125
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
purchase; pending reviews survive restarts.
|
|
126
|
+
Every confirmed paid service call requires a signed CrowdCode review before
|
|
127
|
+
the next purchase; pending reviews survive restarts.
|
|
111
128
|
|
|
112
129
|
## Commands
|
|
113
130
|
|