Skip to content

Commit bdc6cde

Browse files
pseay-imbueSculptorclaude
committed
Shorten the Ramp info string
Trim it to one line: agent-tools API only (the standard/regular REST API is not supported) plus the docs link. Update the info test to match. Co-authored-by: Sculptor <sculptor@imbue.com> Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 366e851 commit bdc6cde

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

src/services/ramp.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,8 @@ export class Ramp extends Service {
190190
readonly baseApiUrls = ['https://api.ramp.com/'] as const;
191191
readonly loginUrl = 'https://app.ramp.com/';
192192
readonly info =
193-
'Ramp developer API for AI agents -- agent-tools only. The standard/regular Ramp REST API is NOT ' +
194-
'supported (agent keys are auth-level barred from it). Sign in with `latchkey auth browser ramp` to ' +
195-
'mint an AI agent key; calls go to https://api.ramp.com/developer/v1/agent-tools/<tool> with a ' +
196-
'{"rationale":"..."} body (POST), or rationale as a query param for the few GET tools. ' +
197-
'Agent-tools OpenAPI spec: https://api.ramp.com/v1/public/agent-tools/spec/.';
193+
'Ramp agent-tools API; the REST API is not supported. ' +
194+
'Docs: https://api.ramp.com/v1/public/agent-tools/spec/.';
198195

199196
// Unused: browser-login credentials are validated by holding/refreshing a live
200197
// token (see checkApiCredentials), not by hitting a resource endpoint. Only present

tests/ramp-session.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ describe('Ramp.getSession (browser login)', () => {
3232
});
3333

3434
describe('Ramp.info', () => {
35-
it('documents the browser-login pathway and the developer API base', () => {
36-
expect(RAMP.info).toContain('auth browser ramp');
37-
expect(RAMP.info).toContain('https://api.ramp.com/developer/v1');
35+
it('points to the agent-tools spec and notes the regular REST API is unsupported', () => {
36+
expect(RAMP.info).toContain('https://api.ramp.com/v1/public/agent-tools/spec/');
37+
expect(RAMP.info).toContain('not supported');
3838
});
3939
});
4040

0 commit comments

Comments
 (0)