@tempoxyz/mercator 0.0.332 → 0.0.333
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 +2 -1
- package/dist/agents.d.ts +1 -1
- package/dist/agents.js +1 -1
- package/dist/plugin-bundle/skills/mercator/SKILL.md +5 -17
- package/dist/plugin-bundle/skills/mercator/references/examples.md +4 -18
- package/dist/submit.d.ts +2 -2
- package/dist/submit.js +1 -1
- package/dist/submit.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -125,7 +125,8 @@ Passing an amount to `wallet fund` creates one address-bound MACH order, opens i
|
|
|
125
125
|
URL, and waits for issuance. On a headless host, open the printed URL on another device and return to
|
|
126
126
|
the terminal for the verified result.
|
|
127
127
|
|
|
128
|
-
For paid jobs,
|
|
128
|
+
For paid MCP jobs, `create_job` charges the hosted wallet or uses MCP payment metadata. The bounded
|
|
129
|
+
`mercator submit` command remains available only for explicit REST integrations.
|
|
129
130
|
Read a submitted job once or wait for its terminal result with:
|
|
130
131
|
|
|
131
132
|
```sh
|
package/dist/agents.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare const MERCATOR_AGENTS_BEGIN = "<!-- mercator:begin \u2014 managed
|
|
|
3
3
|
/** Closing boundary for installer-managed Mercator guidance. */
|
|
4
4
|
export declare const MERCATOR_AGENTS_END = "<!-- mercator:end -->";
|
|
5
5
|
/** Durable, budget-aware activation guidance installed for Codex. */
|
|
6
|
-
export declare const MERCATOR_AGENTS_BLOCK = "<!-- mercator:begin \u2014 managed by mercator-cli; edits inside will be overwritten -->\n## Mercator\n\nMercator is an optional gateway for fresh external data and API actions.\n\n- Consider Mercator when a task needs research, extraction, enrichment, social, maps, travel, communications, media, financial, or on-chain data and no installed direct tool is a better fit.\n- Search with `search_services` using the user's complete intended outcome. Discovery and `quote_plan` are free.\n- Before paid execution, show the quoted total and get approval unless the user already supplied a sufficient budget. Never exceed that budget.\n- Once approved, call `create_job` once with a stable idempotency key.
|
|
6
|
+
export declare const MERCATOR_AGENTS_BLOCK = "<!-- mercator:begin \u2014 managed by mercator-cli; edits inside will be overwritten -->\n## Mercator\n\nMercator is an optional gateway for fresh external data and API actions.\n\n- Consider Mercator when a task needs research, extraction, enrichment, social, maps, travel, communications, media, financial, or on-chain data and no installed direct tool is a better fit.\n- Search with `search_services` using the user's complete intended outcome. Discovery and `quote_plan` are free.\n- Before paid execution, show the quoted total and get approval unless the user already supplied a sufficient budget. Never exceed that budget.\n- Once approved, call `create_job` once with a stable idempotency key. Complete payment only through MCP metadata; never install a CLI or translate the tool call into REST. Poll `get_job` with the returned job ID.\n- Do not use Mercator for local files, repository work, reasoning over supplied content, or when the user forbids external or paid services.\n- Never request or expose private keys or provider credentials.\n<!-- mercator:end -->";
|
|
7
7
|
/** Options controlling where and whether Codex guidance is written. */
|
|
8
8
|
export type CodexAgentsInstallOptions = {
|
|
9
9
|
codexHome?: string;
|
package/dist/agents.js
CHANGED
|
@@ -14,7 +14,7 @@ Mercator is an optional gateway for fresh external data and API actions.
|
|
|
14
14
|
- Consider Mercator when a task needs research, extraction, enrichment, social, maps, travel, communications, media, financial, or on-chain data and no installed direct tool is a better fit.
|
|
15
15
|
- Search with \`search_services\` using the user's complete intended outcome. Discovery and \`quote_plan\` are free.
|
|
16
16
|
- Before paid execution, show the quoted total and get approval unless the user already supplied a sufficient budget. Never exceed that budget.
|
|
17
|
-
- Once approved, call \`create_job\` once with a stable idempotency key.
|
|
17
|
+
- Once approved, call \`create_job\` once with a stable idempotency key. Complete payment only through MCP metadata; never install a CLI or translate the tool call into REST. Poll \`get_job\` with the returned job ID.
|
|
18
18
|
- Do not use Mercator for local files, repository work, reasoning over supplied content, or when the user forbids external or paid services.
|
|
19
19
|
- Never request or expose private keys or provider credentials.
|
|
20
20
|
${MERCATOR_AGENTS_END}`;
|
|
@@ -43,23 +43,11 @@ fastest way to determine whether Mercator can complete the request.
|
|
|
43
43
|
5. **Submit once.** Generate one stable 8-200 character idempotency key and call `create_job` with
|
|
44
44
|
the unchanged quoted plan and the accepted `totalAmount` as `approved_total`. If the refreshed
|
|
45
45
|
quote differs, no charge is made: quote again and ask the user to accept the new total. In an
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
`mercator` command is a ready-to-run client for this same REST request. Do not edit the body,
|
|
52
|
-
construct payment credentials, or call `create_job` again.
|
|
53
|
-
Treat `handoff.requestIdentity` as the stable review key only after verifying it from the
|
|
54
|
-
structured method, URL, body, and maximum spend. Invoke `handoff.client.executable` with its
|
|
55
|
-
argument array exactly. On hosts that accept only a command string, apply mechanically lossless
|
|
56
|
-
shell quoting to each argument so the child process receives the same argument array. Do not edit,
|
|
57
|
-
omit, reorder, or reinterpret arguments, and do not move the request body through a temporary file.
|
|
58
|
-
In a legacy Grok Bot handoff, keep the same task alive while that argument array completes.
|
|
59
|
-
Browser approval resumes the waiting command automatically; never ask the user to send an
|
|
60
|
-
"approved" chat message. If authorization reports a timeout, inspect
|
|
61
|
-
`mercator wallet status` before opening a second authorization request. Continue immediately when
|
|
62
|
-
it reports ready; otherwise retry authorization once.
|
|
46
|
+
OAuth-connected host, Mercator charges the browser-authorized, policy-bounded wallet capability
|
|
47
|
+
and returns the job directly. Continue immediately; do not wait
|
|
48
|
+
for the user to send a second "approved" message. The agent host receives no wallet private key.
|
|
49
|
+
Other clients complete payment challenges through MCP metadata. Never install or invoke a CLI,
|
|
50
|
+
translate the request into REST, construct payment credentials, or call `create_job` again.
|
|
63
51
|
6. **Listen for completion.** Persist the returned `jobId` immediately; it is the only status and
|
|
64
52
|
resumption capability. Poll `GET /v1/jobs/{jobId}` with bounded backoff. HTTP `202` with
|
|
65
53
|
`{jobId, ready:false}` means the durable job is still pending or running. HTTP `200` with
|
|
@@ -82,24 +82,10 @@ Ask for that address; do not invent it or quietly remove the email step.
|
|
|
82
82
|
|
|
83
83
|
## REST submission and status
|
|
84
84
|
|
|
85
|
-
After approval,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
```text
|
|
91
|
-
handoff.rest: { method: POST, url: https://mercator.tempo.xyz/v1/jobs, body: {...} }
|
|
92
|
-
handoff.maxSpend: 3.80
|
|
93
|
-
handoff.client: { executable: mercator, arguments: [submit, ...] }
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
Submit the exact REST request through a payment-capable HTTP client and enforce `maxSpend`. The
|
|
97
|
-
returned `mercator` command performs that same bounded REST submission when the available HTTP
|
|
98
|
-
client cannot handle the payment challenge. Invoke its executable and argument array exactly. If the
|
|
99
|
-
host accepts only a command string, shell-quote each argument mechanically so the child process
|
|
100
|
-
receives the identical array; quoting may change the command's text representation but not an
|
|
101
|
-
argument's value. Never translate it into a legacy `tempo wallet ...` command. Do not edit the request
|
|
102
|
-
body, translate the command into an unbounded request, create a credential, or call `create_job` again.
|
|
85
|
+
After approval, call `create_job` once with the unchanged quoted plan, a stable idempotency key, and
|
|
86
|
+
the accepted `totalAmount` as `approved_total`. OAuth-connected hosts charge the bounded wallet
|
|
87
|
+
inside Mercator. Other clients complete any payment challenge through MCP metadata. Never install a
|
|
88
|
+
CLI or translate MCP submission into a REST request.
|
|
103
89
|
|
|
104
90
|
A successful submission returns either a terminal job or a pending response:
|
|
105
91
|
|
package/dist/submit.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createPaymentProvider } from './wallet.js';
|
|
2
|
-
/** Inputs
|
|
2
|
+
/** Inputs accepted by the explicit bounded paid-job REST command. */
|
|
3
3
|
export type SubmitOptions = {
|
|
4
4
|
body: string;
|
|
5
5
|
maxSpend: string;
|
|
@@ -17,6 +17,6 @@ type SubmitDependencies = {
|
|
|
17
17
|
submitUrl: string;
|
|
18
18
|
timeoutMs: number;
|
|
19
19
|
};
|
|
20
|
-
/** Executes
|
|
20
|
+
/** Executes an explicit bounded direct-charge REST submission. */
|
|
21
21
|
export declare function submitPaidJob(options: SubmitOptions, overrides?: Partial<SubmitDependencies>): Promise<unknown>;
|
|
22
22
|
export {};
|
package/dist/submit.js
CHANGED
|
@@ -29,7 +29,7 @@ const defaultDependencies = {
|
|
|
29
29
|
submitUrl: SUBMIT_URL,
|
|
30
30
|
timeoutMs: SUBMIT_TIMEOUT_MS,
|
|
31
31
|
};
|
|
32
|
-
/** Executes
|
|
32
|
+
/** Executes an explicit bounded direct-charge REST submission. */
|
|
33
33
|
export async function submitPaidJob(options, overrides = {}) {
|
|
34
34
|
const dependencies = { ...defaultDependencies, ...overrides };
|
|
35
35
|
const body = parseBody(options.body);
|
package/dist/submit.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit.js","sourceRoot":"","sources":["../src/submit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEnD,6DAA6D;AAC7D,MAAM,QAAQ,GAAG,IAAI,CAAA;AACrB,6EAA6E;AAC7E,MAAM,2BAA2B,GAAG,IAAI,GAAG,CAAC;IAC3C,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE;IACpC,4CAA4C;CAC5C,CAAC,CAAA;AACF,qDAAqD;AACrD,MAAM,iBAAiB,GAAG,MAAM,CAAA;AAChC,kEAAkE;AAClE,MAAM,UAAU,GAAG,oCAAoC,CAAA;AAWvD,wEAAwE;AACxE,MAAM,OAAO,WAAY,SAAQ,KAAK;IAE3B;IADV,YACU,IAAqB,EAC9B,OAAe;QAEf,KAAK,CAAC,OAAO,CAAC,CAAA;QAHL,SAAI,GAAJ,IAAI,CAAiB;QAI9B,IAAI,CAAC,IAAI,GAAG,aAAa,CAAA;IAC1B,CAAC;CACD;AASD,iEAAiE;AACj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