@a5c-ai/agent-catalog 5.0.1-staging.efc2092bb → 5.0.1-staging.f218abf6f
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/dist/data.d.ts.map +1 -1
- package/dist/data.js +80 -0
- package/dist/discovery-snapshot.json +11688 -11664
- package/dist/models.d.ts +39 -0
- package/dist/models.d.ts.map +1 -1
- package/dist/sdk.d.ts +5 -1
- package/dist/sdk.d.ts.map +1 -1
- package/dist/sdk.js +50 -0
- package/package.json +2 -2
package/dist/data.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../src/data.ts"],"names":[],"mappings":"AAiDA,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../src/data.ts"],"names":[],"mappings":"AAiDA,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EAEZ,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EAIpB,WAAW,EAEX,cAAc,EAEd,aAAa,EAKb,uBAAuB,EACvB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,oBAAoB,EACpB,YAAY,EACZ,kBAAkB,EAGlB,sBAAsB,EACtB,iBAAiB,EACjB,aAAa,EAEb,mBAAmB,EACnB,cAAc,EACf,MAAM,UAAU,CAAC;AAk1BlB,UAAU,qBAAqB;IAC7B,KAAK,EAAE,YAAY,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,cAAc,CAAC;IAC/B,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,SAAS,EAAE,oBAAoB,EAAE,CAAC;IAClC,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,UAAU,EAAE,mBAAmB,EAAE,CAAC;IAClC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AM,iBAAiB,mBAAgE,CAAC;AAC/F,eAAO,MAAM,SAAS,qBAAyD,CAAC;AAChF,eAAO,MAAM,oBAAoB,qBAAkE,CAAC;AACpG,eAAO,MAAM,MAAM,gBAAsD,CAAC;AAC1E,eAAO,MAAM,eAAe,0BAA8D,CAAC;AAC3F,eAAO,MAAM,oBAAoB,qCAAmE,CAAC;AACrG,eAAO,MAAM,yBAAyB,yBAAsE,CAAC;AAC7G,eAAO,MAAM,iBAAiB,yCAAiE,CAAC;AAChG,eAAO,MAAM,cAAc,qBAA6D,CAAC;AACzF,eAAO,MAAM,cAAc,0BAA6D,CAAC;AACzF,eAAO,MAAM,qBAAqB,uBAAoE,CAAC;AACvG,eAAO,MAAM,aAAa,cAA6D,CAAC"}
|
package/dist/data.js
CHANGED
|
@@ -121,6 +121,7 @@ function toTransportDescriptor(node) {
|
|
|
121
121
|
persistentSession: Boolean(node.persistentSession),
|
|
122
122
|
stdinInjection: Boolean(node.stdinInjection),
|
|
123
123
|
blockingStopHook: Boolean(node.blockingStopHook),
|
|
124
|
+
codecCapabilities: parseCodecCapabilities(node.codecCapabilities),
|
|
124
125
|
evidenceIds: nodeEvidenceIds(node),
|
|
125
126
|
};
|
|
126
127
|
}
|
|
@@ -318,6 +319,76 @@ function agentLifecycleNuanceIds(agentNodeId) {
|
|
|
318
319
|
.map((node) => valueAsString(node.lifecycleSemanticsId))
|
|
319
320
|
.filter(Boolean);
|
|
320
321
|
}
|
|
322
|
+
function toHookSupportLevel(value) {
|
|
323
|
+
const normalized = valueAsString(value);
|
|
324
|
+
if (normalized === 'native' || normalized === 'emulated')
|
|
325
|
+
return normalized;
|
|
326
|
+
return 'unsupported';
|
|
327
|
+
}
|
|
328
|
+
function parseHookSupportMap(value) {
|
|
329
|
+
const obj = (value && typeof value === 'object') ? value : {};
|
|
330
|
+
return {
|
|
331
|
+
sessionStart: toHookSupportLevel(obj.sessionStart),
|
|
332
|
+
stop: toHookSupportLevel(obj.stop),
|
|
333
|
+
userPromptSubmit: toHookSupportLevel(obj.userPromptSubmit),
|
|
334
|
+
preToolUse: toHookSupportLevel(obj.preToolUse),
|
|
335
|
+
sessionEnd: toHookSupportLevel(obj.sessionEnd),
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
function parsePartialHookSupportMap(value) {
|
|
339
|
+
const obj = (value && typeof value === 'object') ? value : {};
|
|
340
|
+
const result = {};
|
|
341
|
+
if (obj.sessionStart != null)
|
|
342
|
+
result.sessionStart = toHookSupportLevel(obj.sessionStart);
|
|
343
|
+
if (obj.stop != null)
|
|
344
|
+
result.stop = toHookSupportLevel(obj.stop);
|
|
345
|
+
if (obj.userPromptSubmit != null)
|
|
346
|
+
result.userPromptSubmit = toHookSupportLevel(obj.userPromptSubmit);
|
|
347
|
+
if (obj.preToolUse != null)
|
|
348
|
+
result.preToolUse = toHookSupportLevel(obj.preToolUse);
|
|
349
|
+
if (obj.sessionEnd != null)
|
|
350
|
+
result.sessionEnd = toHookSupportLevel(obj.sessionEnd);
|
|
351
|
+
return result;
|
|
352
|
+
}
|
|
353
|
+
function parseHookSupport(value) {
|
|
354
|
+
if (!value || typeof value !== 'object')
|
|
355
|
+
return undefined;
|
|
356
|
+
const obj = value;
|
|
357
|
+
if (!obj.interactive || typeof obj.interactive !== 'object')
|
|
358
|
+
return undefined;
|
|
359
|
+
return {
|
|
360
|
+
interactive: parseHookSupportMap(obj.interactive),
|
|
361
|
+
nonInteractive: parsePartialHookSupportMap(obj.nonInteractive),
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
function parseBridgeCapabilities(value) {
|
|
365
|
+
if (!value || typeof value !== 'object')
|
|
366
|
+
return undefined;
|
|
367
|
+
const obj = value;
|
|
368
|
+
return {
|
|
369
|
+
interactiveBridge: Boolean(obj.interactiveBridge),
|
|
370
|
+
sessionResume: Boolean(obj.sessionResume),
|
|
371
|
+
positionalPrompt: Boolean(obj.positionalPrompt),
|
|
372
|
+
};
|
|
373
|
+
}
|
|
374
|
+
function parseToolSchemaFormat(value) {
|
|
375
|
+
const normalized = valueAsString(value);
|
|
376
|
+
if (normalized === "openai" || normalized === "anthropic" || normalized === "google")
|
|
377
|
+
return normalized;
|
|
378
|
+
return "none";
|
|
379
|
+
}
|
|
380
|
+
function parseCodecCapabilities(value) {
|
|
381
|
+
if (!value || typeof value !== 'object')
|
|
382
|
+
return undefined;
|
|
383
|
+
const obj = value;
|
|
384
|
+
return {
|
|
385
|
+
supportsTools: obj.supportsTools === true || obj.supportsTools === "true",
|
|
386
|
+
supportsStreaming: obj.supportsStreaming === true || obj.supportsStreaming === "true",
|
|
387
|
+
supportsTokenCounting: obj.supportsTokenCounting === true || obj.supportsTokenCounting === "true",
|
|
388
|
+
costTracking: obj.costTracking === true || obj.costTracking === "true",
|
|
389
|
+
toolSchemaFormat: parseToolSchemaFormat(obj.toolSchemaFormat),
|
|
390
|
+
};
|
|
391
|
+
}
|
|
321
392
|
function toAgentVersion(node) {
|
|
322
393
|
return {
|
|
323
394
|
agentId: valueAsString(node.agentId),
|
|
@@ -341,6 +412,14 @@ function toAgentVersion(node) {
|
|
|
341
412
|
sessionNuanceIds: agentSessionNuanceIds(node.id),
|
|
342
413
|
lifecycleNuanceIds: agentLifecycleNuanceIds(node.id),
|
|
343
414
|
evidenceIds: nodeEvidenceIds(node),
|
|
415
|
+
interactiveSignals: node.interactiveSignals != null ? {
|
|
416
|
+
turnCompletePattern: valueAsString(node.interactiveSignals?.turnCompletePattern) || undefined,
|
|
417
|
+
exitOnNonInteractive: node.interactiveSignals?.exitOnNonInteractive === true ? true : undefined,
|
|
418
|
+
nonInteractiveMode: valueAsString(node.interactiveSignals?.nonInteractiveMode) || undefined,
|
|
419
|
+
interactiveMode: valueAsString(node.interactiveSignals?.interactiveMode),
|
|
420
|
+
} : undefined,
|
|
421
|
+
hookSupport: parseHookSupport(node.hookSupport),
|
|
422
|
+
bridgeCapabilities: parseBridgeCapabilities(node.bridgeCapabilities),
|
|
344
423
|
};
|
|
345
424
|
}
|
|
346
425
|
function evidenceIdFromNode(node) {
|
|
@@ -619,6 +698,7 @@ const BABYSITTER_PLUGIN_TARGETS = new Set([
|
|
|
619
698
|
"plugin-target:claude-code", "plugin-target:codex", "plugin-target:cursor",
|
|
620
699
|
"plugin-target:gemini-cli", "plugin-target:copilot-cli", "plugin-target:pi",
|
|
621
700
|
"plugin-target:omp", "plugin-target:opencode", "plugin-target:openclaw",
|
|
701
|
+
"plugin-target:hermes",
|
|
622
702
|
]);
|
|
623
703
|
// Atlas uses different IDs for some targets
|
|
624
704
|
const TARGET_ID_ALIASES = {
|