@solidnumber/cli 2.20.0 → 2.21.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 +2 -2
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +39 -2
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/find.d.ts +16 -0
- package/dist/commands/find.d.ts.map +1 -0
- package/dist/commands/find.js +94 -0
- package/dist/commands/find.js.map +1 -0
- package/dist/commands/map.d.ts +38 -0
- package/dist/commands/map.d.ts.map +1 -0
- package/dist/commands/map.js +119 -0
- package/dist/commands/map.js.map +1 -0
- package/dist/commands/scope.d.ts.map +1 -1
- package/dist/commands/scope.js +17 -4
- package/dist/commands/scope.js.map +1 -1
- package/dist/commands/verbs.d.ts.map +1 -1
- package/dist/commands/verbs.js +302 -13
- package/dist/commands/verbs.js.map +1 -1
- package/dist/commands/where.d.ts +13 -0
- package/dist/commands/where.d.ts.map +1 -0
- package/dist/commands/where.js +118 -0
- package/dist/commands/where.js.map +1 -0
- package/dist/index.js +93 -9
- package/dist/index.js.map +1 -1
- package/dist/lib/api-client.js +1 -1
- package/dist/lib/api-client.js.map +1 -1
- package/dist/lib/command-kit.d.ts.map +1 -1
- package/dist/lib/command-kit.js +5 -1
- package/dist/lib/command-kit.js.map +1 -1
- package/dist/lib/dry-run.d.ts +0 -1
- package/dist/lib/dry-run.d.ts.map +1 -1
- package/dist/lib/dry-run.js +0 -1
- package/dist/lib/dry-run.js.map +1 -1
- package/dist/lib/error-codes.d.ts +17 -1
- package/dist/lib/error-codes.d.ts.map +1 -1
- package/dist/lib/error-codes.js +72 -2
- package/dist/lib/error-codes.js.map +1 -1
- package/dist/lib/json-output.d.ts +15 -0
- package/dist/lib/json-output.d.ts.map +1 -1
- package/dist/lib/json-output.js +20 -2
- package/dist/lib/json-output.js.map +1 -1
- package/dist/lib/schema-validate.d.ts +72 -0
- package/dist/lib/schema-validate.d.ts.map +1 -0
- package/dist/lib/schema-validate.js +149 -0
- package/dist/lib/schema-validate.js.map +1 -0
- package/dist/lib/suggest.d.ts +23 -0
- package/dist/lib/suggest.d.ts.map +1 -1
- package/dist/lib/suggest.js +64 -0
- package/dist/lib/suggest.js.map +1 -1
- package/dist/lib/ui.d.ts.map +1 -1
- package/dist/lib/ui.js +7 -2
- package/dist/lib/ui.js.map +1 -1
- package/dist/lib/verb-example.d.ts +67 -0
- package/dist/lib/verb-example.d.ts.map +1 -0
- package/dist/lib/verb-example.js +141 -0
- package/dist/lib/verb-example.js.map +1 -0
- package/dist/lib/verb-search.d.ts +45 -0
- package/dist/lib/verb-search.d.ts.map +1 -0
- package/dist/lib/verb-search.js +151 -0
- package/dist/lib/verb-search.js.map +1 -0
- package/package.json +1 -1
- package/platform-docs/llms.txt +8 -5
package/dist/commands/verbs.js
CHANGED
|
@@ -30,7 +30,12 @@ const ora_1 = __importDefault(require("ora"));
|
|
|
30
30
|
const config_1 = require("../lib/config");
|
|
31
31
|
const api_client_1 = require("../lib/api-client");
|
|
32
32
|
const json_output_1 = require("../lib/json-output");
|
|
33
|
+
const verb_search_1 = require("../lib/verb-search");
|
|
34
|
+
const schema_validate_1 = require("../lib/schema-validate");
|
|
35
|
+
const verb_example_1 = require("../lib/verb-example");
|
|
33
36
|
const json_arg_1 = require("../lib/json-arg");
|
|
37
|
+
const dry_run_1 = require("../lib/dry-run");
|
|
38
|
+
const command_kit_1 = require("../lib/command-kit");
|
|
34
39
|
// Verbs that go through GET instead of POST. The Phase 5 verb-index
|
|
35
40
|
// endpoint doesn't expose method yet (input_schema only); this lookup
|
|
36
41
|
// is the small explicit set of GET endpoints in agent_verbs.py.
|
|
@@ -54,11 +59,44 @@ exports.verbsCommand = new commander_1.Command('verbs')
|
|
|
54
59
|
.description('Discover + invoke any agent-attraction verb (12 shapes, 4 sibling transports)');
|
|
55
60
|
exports.verbsCommand
|
|
56
61
|
.command('list')
|
|
57
|
-
.description('List
|
|
62
|
+
.description('List verbs. Pass an Atlas prefix to scope: `verbs list 5` money, `verbs list 52` payments')
|
|
63
|
+
// ⛔ THE PREFIX IS THE QUERY. No --coordinate flag, deliberately: truncating
|
|
64
|
+
// the address widens the scope, so an agent that knows 52 already knows how
|
|
65
|
+
// to ask for its neighbourhood. A flag would be one more thing to learn for
|
|
66
|
+
// no expressive gain.
|
|
67
|
+
.argument('[prefix]', 'Atlas coordinate prefix — 5 = money, 52 = payments')
|
|
58
68
|
.option('--surface <name>', 'Filter to verbs on this surface (http|mcp_stdio|webmcp|ucp|cli|public)')
|
|
59
69
|
.option('--shape <name>', 'Filter to verbs of this shape (preview|explain|aggregate|suggest|...)')
|
|
70
|
+
// The backend has accepted ?tier= since Phase 8 and reports it back in
|
|
71
|
+
// `filtered_by` on every response — but the flag did not exist here, so an
|
|
72
|
+
// agent reading the envelope to learn its own options was told about one
|
|
73
|
+
// that errors. Verified against the live API: starter 843, professional 845.
|
|
74
|
+
.option('--tier <name>', 'Filter to verbs available at this tier (starter|builder|professional|enterprise)')
|
|
60
75
|
.option('--json', 'Output the raw manifest as JSON')
|
|
61
|
-
.
|
|
76
|
+
// ⛔ THE DEFAULT USED TO BE EVERYTHING. `verbs list --json` returned all 845
|
|
77
|
+
// records with full input_schemas — 1,947,944 bytes, ~486,986 tokens before
|
|
78
|
+
// 1.1 and ~315,898 after. That is more than most context windows, to answer
|
|
79
|
+
// "what can I do?". The schemas are why: they are ~85% of the payload and
|
|
80
|
+
// nobody choosing a verb needs them, because choosing is what `describe` is
|
|
81
|
+
// for. So the default is now an index and the full dump is opt-in.
|
|
82
|
+
// VNP 3.5 — facets as filters. side_effects, requires_consent and tier_floor
|
|
83
|
+
// already exist on all 845 verbs; they were simply not filterable, so
|
|
84
|
+
// "what can I do here without writing anything?" meant fetching everything
|
|
85
|
+
// and filtering client-side anyway. Applied locally for the same reason the
|
|
86
|
+
// prefix is: it is one fetch either way, and zero once 4.2 lands caching.
|
|
87
|
+
.option('--writes', 'Only verbs that mutate')
|
|
88
|
+
.option('--reads', 'Only verbs that cannot mutate')
|
|
89
|
+
.option('--no-consent', 'Only verbs that do not require consent')
|
|
90
|
+
// VNP 4.2 — the manifest changes on release, not per call. An agent that
|
|
91
|
+
// cached it can hand the etag back and be told "unchanged" in ~20 tokens
|
|
92
|
+
// instead of re-reading 23K. `--since` is the whole contract: no local cache
|
|
93
|
+
// file to go stale, no invalidation to get wrong — the agent already holds
|
|
94
|
+
// the payload it fetched, and this only answers whether it is still current.
|
|
95
|
+
.option('--since <etag>', 'Only fetch if the manifest changed since this etag')
|
|
96
|
+
.option('--full', 'Every field including input_schema — the old default, ~316K tokens')
|
|
97
|
+
.option('--names-only', 'Just the names, nothing else')
|
|
98
|
+
.option('-n, --limit <n>', 'Return at most this many verbs')
|
|
99
|
+
.action(async (prefix, options) => {
|
|
62
100
|
const wantsJson = options.json || (0, json_output_1.isJsonOutput)();
|
|
63
101
|
const spinner = wantsJson ? null : (0, ora_1.default)('Fetching verb manifest...').start();
|
|
64
102
|
try {
|
|
@@ -67,20 +105,120 @@ exports.verbsCommand
|
|
|
67
105
|
params.surface = options.surface;
|
|
68
106
|
if (options.shape)
|
|
69
107
|
params.shape = options.shape;
|
|
70
|
-
|
|
108
|
+
if (options.tier)
|
|
109
|
+
params.tier = options.tier;
|
|
110
|
+
// ⛔ 304 is a SUCCESS, not an error. axios rejects any status outside
|
|
111
|
+
// 2xx by default, so without this the cheap answer arrives as a thrown
|
|
112
|
+
// exception and gets reported as a failure — the feature working
|
|
113
|
+
// perfectly and looking broken.
|
|
114
|
+
const conditional = options.since
|
|
115
|
+
? {
|
|
116
|
+
headers: { 'If-None-Match': options.since },
|
|
117
|
+
validateStatus: (s) => (s >= 200 && s < 300) || s === 304,
|
|
118
|
+
}
|
|
119
|
+
: {};
|
|
120
|
+
const res = await api_client_1.apiClient.get('/api/v1/agent/verbs', { params, ...conditional });
|
|
71
121
|
spinner?.stop();
|
|
122
|
+
if (res.status === 304) {
|
|
123
|
+
// ~20 tokens. The agent keeps what it already has.
|
|
124
|
+
(0, json_output_1.printJson)({ schema: 'solid:agent-verb-index/v1', unchanged: true, etag: options.since });
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
72
127
|
const data = res.data;
|
|
128
|
+
const limit = options.limit ? Math.max(1, parseInt(options.limit, 10) || 0) : null;
|
|
129
|
+
let all = data.verbs || [];
|
|
130
|
+
// Scope by Atlas prefix. Filtered here rather than server-side because
|
|
131
|
+
// the manifest is one fetch either way — and with 4.2's etag that fetch
|
|
132
|
+
// is a 304 on every repeat, so the client-side filter costs nothing.
|
|
133
|
+
if (prefix) {
|
|
134
|
+
if (!/^[0-9]{1,2}$/.test(prefix)) {
|
|
135
|
+
(0, command_kit_1.emitErrorAndExit)(Object.assign(new Error(`"${prefix}" is not an Atlas prefix — expected 1 or 2 digits, e.g. 5 or 52.`), {
|
|
136
|
+
isAxiosError: true,
|
|
137
|
+
response: {
|
|
138
|
+
status: 400,
|
|
139
|
+
data: {
|
|
140
|
+
detail: `"${prefix}" is not an Atlas prefix — expected 1 or 2 digits, e.g. 5 or 52. Run: solid map`,
|
|
141
|
+
code: 'BAD_REQUEST',
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
}));
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
all = all.filter((v) => (v.coordinate || '').startsWith(prefix));
|
|
148
|
+
}
|
|
149
|
+
// --writes and --reads are opposites, so asking for both is a mistake
|
|
150
|
+
// worth naming rather than silently returning nothing.
|
|
151
|
+
if (options.writes && options.reads) {
|
|
152
|
+
(0, command_kit_1.emitErrorAndExit)(Object.assign(new Error('--writes and --reads are mutually exclusive.'), {
|
|
153
|
+
isAxiosError: true,
|
|
154
|
+
response: {
|
|
155
|
+
status: 400,
|
|
156
|
+
data: { detail: '--writes and --reads are mutually exclusive — pass one.', code: 'BAD_REQUEST' },
|
|
157
|
+
},
|
|
158
|
+
}));
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
if (options.writes)
|
|
162
|
+
all = all.filter((v) => v.side_effects !== 'read');
|
|
163
|
+
if (options.reads)
|
|
164
|
+
all = all.filter((v) => v.side_effects === 'read');
|
|
165
|
+
// commander maps --no-consent to consent:false
|
|
166
|
+
if (options.consent === false)
|
|
167
|
+
all = all.filter((v) => !v.requires_consent);
|
|
168
|
+
const shown = limit ? all.slice(0, limit) : all;
|
|
73
169
|
if (wantsJson) {
|
|
74
|
-
|
|
170
|
+
if (options.full) {
|
|
171
|
+
// Full records, but still the FILTERED set. ⛔ This used to print the
|
|
172
|
+
// untouched `data` whenever --limit was absent, so `verbs list 5
|
|
173
|
+
// --full` returned all 845 and `--writes --full` returned all 845 —
|
|
174
|
+
// every filter silently discarded on exactly one output tier. Found
|
|
175
|
+
// by the acceptance harness asserting that a prefix NARROWS rather
|
|
176
|
+
// than that it is accepted. The old behaviour that codegen needs is
|
|
177
|
+
// `verbs list --full` with no filters, which is unchanged.
|
|
178
|
+
(0, json_output_1.printJson)({ ...data, verbs: shown, count: shown.length, has_more: shown.length < all.length });
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
if (options.namesOnly) {
|
|
182
|
+
(0, json_output_1.printJson)({
|
|
183
|
+
count: shown.length,
|
|
184
|
+
total: data.total_registered,
|
|
185
|
+
has_more: shown.length < all.length,
|
|
186
|
+
...(data.etag ? { etag: data.etag } : {}),
|
|
187
|
+
names: shown.map((v) => v.name),
|
|
188
|
+
});
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
// The index tier. Rows are arrays, not objects: repeating the three
|
|
192
|
+
// keys 845 times is roughly a fifth of the payload, and a documented
|
|
193
|
+
// positional shape costs nothing to parse.
|
|
194
|
+
(0, json_output_1.printJson)({
|
|
195
|
+
schema: 'solid:agent-verb-index/v1',
|
|
196
|
+
row: ['name', 'description', 'side_effects'],
|
|
197
|
+
count: shown.length,
|
|
198
|
+
total: data.total_registered,
|
|
199
|
+
has_more: shown.length < all.length,
|
|
200
|
+
filtered_by: data.filtered_by,
|
|
201
|
+
// Published on the index tier too, not just --full: an agent that
|
|
202
|
+
// never fetches the full manifest still wants to know whether the
|
|
203
|
+
// one it holds is current.
|
|
204
|
+
...(data.etag ? { etag: data.etag } : {}),
|
|
205
|
+
verbs: shown.map((v) => [v.name, (0, verb_search_1.clip)(v.description || '', 90), v.side_effects]),
|
|
206
|
+
next: 'solid verbs describe <name> · unchanged? --since <etag> · full records: --full',
|
|
207
|
+
});
|
|
75
208
|
return;
|
|
76
209
|
}
|
|
77
|
-
|
|
210
|
+
if (options.namesOnly) {
|
|
211
|
+
for (const v of shown)
|
|
212
|
+
console.log(v.name);
|
|
213
|
+
return;
|
|
214
|
+
}
|
|
215
|
+
console.log(chalk_1.default.cyan(`${shown.length} verbs (of ${data.total_registered} total)`));
|
|
78
216
|
if (data.filtered_by.surface)
|
|
79
217
|
console.log(chalk_1.default.dim(` surface=${data.filtered_by.surface}`));
|
|
80
218
|
if (data.filtered_by.shape)
|
|
81
219
|
console.log(chalk_1.default.dim(` shape=${data.filtered_by.shape}`));
|
|
82
220
|
console.log('');
|
|
83
|
-
for (const v of
|
|
221
|
+
for (const v of shown) {
|
|
84
222
|
const tag = v.side_effects === 'write' ? chalk_1.default.yellow(' write') :
|
|
85
223
|
v.side_effects === 'mixed' ? chalk_1.default.magenta(' mixed') : '';
|
|
86
224
|
console.log(` ${chalk_1.default.gray(v.shape.padEnd(11))} ${v.name}${tag}`);
|
|
@@ -105,7 +243,7 @@ exports.verbsCommand
|
|
|
105
243
|
spinner?.stop();
|
|
106
244
|
const v = res.data;
|
|
107
245
|
if (wantsJson) {
|
|
108
|
-
|
|
246
|
+
(0, json_output_1.printJson)(v);
|
|
109
247
|
return;
|
|
110
248
|
}
|
|
111
249
|
console.log(chalk_1.default.cyan(v.name));
|
|
@@ -153,23 +291,174 @@ exports.verbsCommand
|
|
|
153
291
|
// every write verb was uninvokable from the CLI and the error told you to
|
|
154
292
|
// use something imaginary (found 2026-08-20). The flag is deliberately NOT
|
|
155
293
|
// implicit: consent is the user's act, not a default we assume for them.
|
|
294
|
+
// VNP 3.3 — say when a verb has a canonical twin.
|
|
295
|
+
//
|
|
296
|
+
// 71 pairs name the same operation twice. The sprint doc calls the second
|
|
297
|
+
// half a "deprecated_alias"; it is NOT deprecated and saying so would be a
|
|
298
|
+
// false claim of exactly the kind this sprint keeps removing. Both halves
|
|
299
|
+
// are live, and they are NOT interchangeable — blog.publish takes post_id,
|
|
300
|
+
// blog_publish takes blog_post_id; appointment.book and appointment_book
|
|
301
|
+
// model an appointment differently. So this surfaces the twin and names
|
|
302
|
+
// the canonical one WITHOUT implying the arguments carry over.
|
|
303
|
+
const twin = verb.same_as || null;
|
|
304
|
+
if (twin && !(0, json_output_1.isJsonOutput)(options)) {
|
|
305
|
+
console.error(chalk_1.default.dim(` note: ${verb.name} is the ${verb.transport ?? 'non-canonical'} twin of ` +
|
|
306
|
+
`${twin}. Same operation, different argument shape — read this verb's own schema.`));
|
|
307
|
+
}
|
|
156
308
|
const isWrite = verb.side_effects !== 'read';
|
|
157
|
-
|
|
309
|
+
// ⛔ A DRY RUN NEVER NEEDS CONSENT. The gate below used to fire first, so
|
|
310
|
+
// previewing a write required consenting to it — which makes the sandbox
|
|
311
|
+
// useless for the one job it exists to do: find out what a call would send
|
|
312
|
+
// BEFORE agreeing to send it. The request never leaves the process in dry
|
|
313
|
+
// run (the interceptor short-circuits every mutation), so there is nothing
|
|
314
|
+
// to consent to. --confirm stays mandatory for the real call.
|
|
315
|
+
const previewOnly = (0, dry_run_1.isDryRun)();
|
|
316
|
+
if (isWrite && !previewOnly && !options.confirm) {
|
|
158
317
|
console.error(chalk_1.default.red(`${verb.name} writes (side_effects=${verb.side_effects}).`));
|
|
159
318
|
console.error(chalk_1.default.dim(` Re-run with --confirm to consent:`));
|
|
160
319
|
console.error(chalk_1.default.dim(` solid verbs invoke ${verb.name} --confirm${options.payload ? ` -p '${typeof options.payload === 'string' ? options.payload : ''}'` : ''}`));
|
|
161
320
|
process.exit(1);
|
|
162
321
|
}
|
|
322
|
+
// ⛔ ROUTE BY TRANSPORT, NOT BY GUESSWORK. Every verb used to be POSTed at
|
|
323
|
+
// /api/v1/agent/<name>, and for a third of them that route has never
|
|
324
|
+
// existed: the agent-verb router ends in a catch-all needing TWO path
|
|
325
|
+
// segments, so a flat snake_case name matched nothing and 404'd. The verb
|
|
326
|
+
// was fine — it lives in ADA's registry and answers on cli-dispatch — but
|
|
327
|
+
// a 404 reads as "this does not exist", so the natural conclusion was that
|
|
328
|
+
// a third of the registry was phantom. It is not.
|
|
329
|
+
//
|
|
330
|
+
// The manifest now says which transport a verb speaks and where to send
|
|
331
|
+
// it, so this reads the answer instead of assuming one.
|
|
332
|
+
const transport = verb.transport
|
|
333
|
+
?? (verb.http_endpoint ? 'http' : undefined);
|
|
334
|
+
// ── Playground: validate locally, then show exactly what would be sent.
|
|
335
|
+
// The schema is already in hand, so a dry run can answer "is this call
|
|
336
|
+
// even well-formed?" without touching the network. Before 2.3 it answered
|
|
337
|
+
// `success: true` to a missing field, a wrong type and a field that does
|
|
338
|
+
// not exist — a green light from the sandbox and a red one from
|
|
339
|
+
// production.
|
|
340
|
+
if (previewOnly) {
|
|
341
|
+
const report = (0, schema_validate_1.validatePayload)(payload, verb.input_schema);
|
|
342
|
+
const url = transport === 'dispatch'
|
|
343
|
+
? (verb.dispatch_endpoint || '/api/v1/agent/cli-dispatch')
|
|
344
|
+
: (verb.http_endpoint || '(unknown — see transport)');
|
|
345
|
+
const body = transport === 'dispatch'
|
|
346
|
+
? { verb: verb.name, args: payload, ...(isWrite ? { confirm: true } : {}) }
|
|
347
|
+
: (isWrite ? { ...payload, confirm: true } : payload);
|
|
348
|
+
(0, json_output_1.printJson)({
|
|
349
|
+
dry_run: true,
|
|
350
|
+
valid: report.valid,
|
|
351
|
+
verb: verb.name,
|
|
352
|
+
transport,
|
|
353
|
+
...(twin ? { same_as: twin } : {}),
|
|
354
|
+
missing_required: report.missing_required,
|
|
355
|
+
type_errors: report.type_errors,
|
|
356
|
+
unknown_fields: report.unknown_fields,
|
|
357
|
+
would: { method: 'POST', url, body },
|
|
358
|
+
...(report.valid ? {} : { fix: (0, schema_validate_1.fixFor)(verb.name, report) }),
|
|
359
|
+
});
|
|
360
|
+
// Exit non-zero when invalid. A preview that reports a problem and exits
|
|
361
|
+
// 0 is the same false green in a new costume.
|
|
362
|
+
if (!report.valid)
|
|
363
|
+
process.exit(1);
|
|
364
|
+
return;
|
|
365
|
+
}
|
|
366
|
+
// Refuse BEFORE the try. This is a precondition, not a failed request —
|
|
367
|
+
// leaving it inside meant the catch below treated our own refusal as an
|
|
368
|
+
// API error and reported it as one.
|
|
369
|
+
if (transport !== 'dispatch' && transport !== 'http') {
|
|
370
|
+
// Name the transport rather than letting it fail as a 404 somewhere
|
|
371
|
+
// downstream. "I know where this lives and cannot reach it from here" is
|
|
372
|
+
// a different problem from "this does not exist", and an agent has to be
|
|
373
|
+
// able to tell them apart.
|
|
374
|
+
const detail = `${verb.name} is reachable over "${verb.transport ?? 'unknown'}", ` +
|
|
375
|
+
'which this CLI cannot speak.';
|
|
376
|
+
(0, command_kit_1.emitErrorAndExit)(Object.assign(new Error(detail), {
|
|
377
|
+
isAxiosError: true,
|
|
378
|
+
response: { status: 400, data: { detail, code: 'WRONG_TRANSPORT' } },
|
|
379
|
+
}));
|
|
380
|
+
return;
|
|
381
|
+
}
|
|
163
382
|
try {
|
|
164
|
-
const method = GET_VERBS.has(verb.name) ? 'GET' : 'POST';
|
|
165
383
|
const body = isWrite ? { ...payload, confirm: true } : payload;
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
384
|
+
let res;
|
|
385
|
+
if (transport === 'dispatch') {
|
|
386
|
+
// cli-dispatch takes the verb name in the body and resolves it against
|
|
387
|
+
// ADA's registry first. `confirm` is a sibling of `args`, not a member
|
|
388
|
+
// of it — putting it inside args would reach the verb as an argument
|
|
389
|
+
// it never declared.
|
|
390
|
+
res = await api_client_1.apiClient.post(verb.dispatch_endpoint || '/api/v1/agent/cli-dispatch', {
|
|
391
|
+
verb: verb.name,
|
|
392
|
+
args: payload,
|
|
393
|
+
confirm: isWrite ? true : undefined,
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
else {
|
|
397
|
+
const method = GET_VERBS.has(verb.name) ? 'GET' : 'POST';
|
|
398
|
+
res = method === 'GET'
|
|
399
|
+
? await api_client_1.apiClient.get(verb.http_endpoint, { params: body })
|
|
400
|
+
: await api_client_1.apiClient.post(verb.http_endpoint, body);
|
|
401
|
+
}
|
|
402
|
+
(0, json_output_1.printJson)(res.data);
|
|
170
403
|
}
|
|
171
404
|
catch (e) {
|
|
172
405
|
(0, api_client_1.failApi)(e);
|
|
173
406
|
}
|
|
174
407
|
});
|
|
408
|
+
exports.verbsCommand
|
|
409
|
+
.command('example <verbName>')
|
|
410
|
+
.description('A ready-to-edit call for this verb, built from its schema')
|
|
411
|
+
.option('--json', 'Output as raw JSON (default for AI consumption)')
|
|
412
|
+
.action(async (verbName, options) => {
|
|
413
|
+
const wantsJson = options.json || (0, json_output_1.isJsonOutput)();
|
|
414
|
+
const spinner = wantsJson ? null : (0, ora_1.default)('Building an example…').start();
|
|
415
|
+
let v;
|
|
416
|
+
try {
|
|
417
|
+
const res = await api_client_1.apiClient.get(`/api/v1/agent/verbs/${encodeURIComponent(verbName)}`);
|
|
418
|
+
v = res.data;
|
|
419
|
+
}
|
|
420
|
+
catch (e) {
|
|
421
|
+
spinner?.stop();
|
|
422
|
+
(0, api_client_1.failApi)(e);
|
|
423
|
+
return;
|
|
424
|
+
}
|
|
425
|
+
spinner?.stop();
|
|
426
|
+
const ex = (0, verb_example_1.buildExample)(v.name, (v.input_schema ?? {}), {
|
|
427
|
+
sideEffects: v.side_effects,
|
|
428
|
+
});
|
|
429
|
+
if (wantsJson) {
|
|
430
|
+
(0, json_output_1.printJson)({
|
|
431
|
+
schema: 'solid:agent-verb-example/v1',
|
|
432
|
+
...ex,
|
|
433
|
+
side_effects: v.side_effects,
|
|
434
|
+
requires_consent: v.requires_consent,
|
|
435
|
+
// Naming the twin here and not only in `invoke` is the point of 0.3:
|
|
436
|
+
// the moment an agent sees the call shape is the moment it can still
|
|
437
|
+
// choose the other half of the pair cheaply.
|
|
438
|
+
...(v.same_as ? { same_as: v.same_as } : {}),
|
|
439
|
+
next: `solid verbs describe ${v.name}`,
|
|
440
|
+
});
|
|
441
|
+
return;
|
|
442
|
+
}
|
|
443
|
+
console.log('');
|
|
444
|
+
console.log(chalk_1.default.cyan(v.name) + chalk_1.default.dim(` ${v.side_effects}`));
|
|
445
|
+
console.log(` ${v.description}`);
|
|
446
|
+
console.log('');
|
|
447
|
+
console.log(chalk_1.default.bold(' ' + ex.command));
|
|
448
|
+
console.log('');
|
|
449
|
+
if (ex.notes.length) {
|
|
450
|
+
for (const n of ex.notes)
|
|
451
|
+
console.log(chalk_1.default.yellow(` ⚠ ${n}`));
|
|
452
|
+
console.log('');
|
|
453
|
+
}
|
|
454
|
+
if (ex.injected.length) {
|
|
455
|
+
console.log(chalk_1.default.dim(` Supplied by the server, never send: ${ex.injected.join(', ')}`));
|
|
456
|
+
}
|
|
457
|
+
if (ex.optional.length) {
|
|
458
|
+
console.log(chalk_1.default.dim(` Optional: ${ex.optional.slice(0, 12).join(', ')}` +
|
|
459
|
+
(ex.optional.length > 12 ? chalk_1.default.dim(` … +${ex.optional.length - 12} more`) : '')));
|
|
460
|
+
}
|
|
461
|
+
console.log(chalk_1.default.dim(` Full schema: solid verbs describe ${v.name}`));
|
|
462
|
+
console.log('');
|
|
463
|
+
});
|
|
175
464
|
//# sourceMappingURL=verbs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verbs.js","sourceRoot":"","sources":["../../src/commands/verbs.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,yCAAoC;AACpC,kDAA0B;AAC1B,8CAAsB;AAEtB,0CAAuC;AACvC,kDAAuE;AACvE,oDAAkD;AAClD,8C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EAAE,CAAC,CAAC,CAAC;IAC5F,CAAC;IACD,IAAI,EAAE,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;QACvB,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,GAAG,CAAC,eAAe,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YACxE,CAAC,EAAE,CAAC,QAAQ,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC,eAAK,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,MAAM,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACxF,CAAC;IACD,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,GAAG,CAAC,uCAAuC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IACxE,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* solid where — the Gazetteer. Which place answers this, and what it depends on.
|
|
3
|
+
*
|
|
4
|
+
* Sprint VNP 4.5/4.6. The Atlas addresses meaning; the Gazetteer addresses
|
|
5
|
+
* place. A verb carries a `location`, which is an id in here, so "where does
|
|
6
|
+
* this run" and "what breaks if it goes down" become lookups instead of a
|
|
7
|
+
* conversation — and "how many APIs do we have" becomes `--kind service
|
|
8
|
+
* --serves verbs` instead of an argument between people counting different
|
|
9
|
+
* nouns.
|
|
10
|
+
*/
|
|
11
|
+
import { Command } from 'commander';
|
|
12
|
+
export declare const whereCommand: Command;
|
|
13
|
+
//# sourceMappingURL=where.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"where.d.ts","sourceRoot":"","sources":["../../src/commands/where.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAyBpC,eAAO,MAAM,YAAY,SAoFrB,CAAC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.whereCommand = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* solid where — the Gazetteer. Which place answers this, and what it depends on.
|
|
9
|
+
*
|
|
10
|
+
* Sprint VNP 4.5/4.6. The Atlas addresses meaning; the Gazetteer addresses
|
|
11
|
+
* place. A verb carries a `location`, which is an id in here, so "where does
|
|
12
|
+
* this run" and "what breaks if it goes down" become lookups instead of a
|
|
13
|
+
* conversation — and "how many APIs do we have" becomes `--kind service
|
|
14
|
+
* --serves verbs` instead of an argument between people counting different
|
|
15
|
+
* nouns.
|
|
16
|
+
*/
|
|
17
|
+
const commander_1 = require("commander");
|
|
18
|
+
const chalk_1 = __importDefault(require("chalk"));
|
|
19
|
+
const ora_1 = __importDefault(require("ora"));
|
|
20
|
+
const api_client_1 = require("../lib/api-client");
|
|
21
|
+
const config_1 = require("../lib/config");
|
|
22
|
+
const json_output_1 = require("../lib/json-output");
|
|
23
|
+
const command_kit_1 = require("../lib/command-kit");
|
|
24
|
+
const ENDPOINT = '/api/v1/agent/verbs/gazetteer';
|
|
25
|
+
exports.whereCommand = new commander_1.Command('where')
|
|
26
|
+
.description('Where something runs — the Gazetteer of places')
|
|
27
|
+
.argument('[id]', 'A place id, e.g. svc.api — omit to list everything')
|
|
28
|
+
.option('--kind <kind>', 'service | ui | edge | store | queue | cluster | external')
|
|
29
|
+
.option('--serves <what>', 'Only places that answer this, e.g. verbs')
|
|
30
|
+
.option('--json', 'Machine-readable output')
|
|
31
|
+
.action(async (id, options) => {
|
|
32
|
+
if (!config_1.config.isLoggedIn()) {
|
|
33
|
+
console.error(chalk_1.default.red('Not logged in. Run `solid auth login` first.'));
|
|
34
|
+
process.exit(1);
|
|
35
|
+
}
|
|
36
|
+
const wantsJson = options.json || (0, json_output_1.isJsonOutput)();
|
|
37
|
+
const spinner = wantsJson ? null : (0, ora_1.default)('Reading the Gazetteer…').start();
|
|
38
|
+
let places;
|
|
39
|
+
try {
|
|
40
|
+
const params = {};
|
|
41
|
+
if (options.kind)
|
|
42
|
+
params.kind = options.kind;
|
|
43
|
+
if (options.serves)
|
|
44
|
+
params.serves = options.serves;
|
|
45
|
+
const res = await api_client_1.apiClient.get(ENDPOINT, { params });
|
|
46
|
+
places = res.data.places || [];
|
|
47
|
+
}
|
|
48
|
+
catch (e) {
|
|
49
|
+
(0, command_kit_1.fail)(spinner, 'Could not reach the Gazetteer', e);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
spinner?.stop();
|
|
53
|
+
// An id narrows client-side: it is one fetch either way, and this keeps
|
|
54
|
+
// `where` answerable from a cached listing once 4.2 caching lands.
|
|
55
|
+
const rows = id ? places.filter((p) => p.id === id) : places;
|
|
56
|
+
if (id && rows.length === 0) {
|
|
57
|
+
const near = places
|
|
58
|
+
.filter((p) => p.id.includes(id) || id.includes(p.id.split('.')[0]))
|
|
59
|
+
.map((p) => p.id)
|
|
60
|
+
.slice(0, 5);
|
|
61
|
+
(0, json_output_1.printJson)({
|
|
62
|
+
error: {
|
|
63
|
+
code: 'NOT_FOUND',
|
|
64
|
+
message: `No place with id "${id}".`,
|
|
65
|
+
retryable: false,
|
|
66
|
+
...(near.length ? { did_you_mean: near } : {}),
|
|
67
|
+
fix: 'solid where',
|
|
68
|
+
},
|
|
69
|
+
});
|
|
70
|
+
process.exitCode = 1;
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
if (wantsJson) {
|
|
74
|
+
(0, json_output_1.printJson)({
|
|
75
|
+
schema: 'solid:gazetteer/v1',
|
|
76
|
+
count: rows.length,
|
|
77
|
+
places: rows,
|
|
78
|
+
next: 'solid where svc.api · solid where --kind service --serves verbs',
|
|
79
|
+
});
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
console.log('');
|
|
83
|
+
let lastKind = '';
|
|
84
|
+
for (const p of rows) {
|
|
85
|
+
if (p.kind !== lastKind) {
|
|
86
|
+
console.log(chalk_1.default.dim(` ${p.kind}`));
|
|
87
|
+
lastKind = p.kind;
|
|
88
|
+
}
|
|
89
|
+
const status = p.status === 'live' ? chalk_1.default.green('live') : chalk_1.default.yellow(p.status);
|
|
90
|
+
console.log(` ${chalk_1.default.bold(p.id.padEnd(20))} ${p.name.padEnd(26)} ${status}`);
|
|
91
|
+
if (rows.length === 1) {
|
|
92
|
+
if (p.runs) {
|
|
93
|
+
const r = p.runs;
|
|
94
|
+
console.log(` runs: ${[r.cluster, r.namespace, r.workload, r.port].filter(Boolean).join(' · ')}`);
|
|
95
|
+
}
|
|
96
|
+
for (const [env, url] of Object.entries(p.reach || {}))
|
|
97
|
+
console.log(` reach: ${env} → ${url}`);
|
|
98
|
+
if (p.health)
|
|
99
|
+
console.log(` health: ${p.health}`);
|
|
100
|
+
if (p.serves?.length)
|
|
101
|
+
console.log(` serves: ${p.serves.join(', ')}`);
|
|
102
|
+
if (p.depends_on?.length)
|
|
103
|
+
console.log(` depends on: ${p.depends_on.join(', ')}`);
|
|
104
|
+
if (p.note)
|
|
105
|
+
console.log(chalk_1.default.dim(` note: ${p.note}`));
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
console.log('');
|
|
109
|
+
console.log(chalk_1.default.dim(` ${rows.length} place(s)`));
|
|
110
|
+
console.log('');
|
|
111
|
+
});
|
|
112
|
+
(0, command_kit_1.appendExamples)(exports.whereCommand, [
|
|
113
|
+
{ cmd: 'solid where', why: 'Every place, grouped by kind' },
|
|
114
|
+
{ cmd: 'solid where svc.api', why: 'One place in full, with its dependencies' },
|
|
115
|
+
{ cmd: 'solid where --kind service --serves verbs', why: '"How many APIs" — as a query' },
|
|
116
|
+
{ cmd: 'solid where --kind external', why: 'Every third party we depend on' },
|
|
117
|
+
]);
|
|
118
|
+
//# sourceMappingURL=where.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"where.js","sourceRoot":"","sources":["../../src/commands/where.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;GASG;AACH,yCAAoC;AACpC,kDAA0B;AAC1B,8CAAsB;AAEtB,kDAA8C;AAC9C,0CAAuC;AACvC,oDAA6D;AAC7D,oDAA0D;AAgB1D,MAAM,QAAQ,GAAG,+BAA+B,CAAC;AAEpC,QAAA,YAAY,GAAG,IAAI,mBAAO,CAAC,OAAO,CAAC;KAC7C,WAAW,CAAC,gDAAgD,CAAC;KAC7D,QAAQ,CAAC,MAAM,EAAE,oDAAoD,CAAC;KACtE,MAAM,CAAC,eAAe,EAAE,0DAA0D,CAAC;KACnF,MAAM,CAAC,iBAAiB,EAAE,0CAA0C,CAAC;KACrE,MAAM,CAAC,QAAQ,EAAE,yBAAyB,CAAC;KAC3C,MAAM,CAAC,KAAK,EAAE,EAAsB,EAAE,OAAO,EAAE,EAAE;IAChD,IAAI,CAAC,eAAM,CAAC,UAAU,EAAE,EAAE,CAAC;QACzB,OAAO,CAAC,KAAK,CAAC,eAAK,CAAC,GAAG,CAAC,8CAA8C,CAAC,CAAC,CAAC;QACzE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,SAAS,GAAG,OAAO,CAAC,IAAI,IAAI,IAAA,0BAAY,GAAE,CAAC;IACjD,MAAM,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAA,aAAG,EAAC,wBAAwB,CAAC,CAAC,KAAK,EAAE,CAAC;IAEzE,IAAI,MAAe,CAAC;IACpB,IAAI,CAAC;QACH,MAAM,MAAM,GAA2B,EAAE,CAAC;QAC1C,IAAI,OAAO,CAAC,IAAI;YAAE,MAAM,CAAC,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