Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/catalog/v1/catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const (
// Protocol-specific media types supported by AI Catalog.
ProtocolA2ACardJsonMediaType = "application/a2a-agent-card+json"
ProtocolMCPCardJsonMediaType = "application/mcp-server-card+json"
ProtocolAgentSkillsMdMediaType = "application/agentskill+md"
ProtocolAgentSkillsMdMediaType = "application/agent-skills+md"
)

// catalogModuleProjection captures the per-module projection rules: the
Expand Down
2 changes: 1 addition & 1 deletion samples/ard-over-ads/consumer/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func Dispatch(ctx context.Context, e *catalogv1.CatalogEntry, task map[string]an
case "application/a2a-agent-card+json":
// Load the A2A agent card at e.URL, then speak A2A.
fmt.Printf("Invoking A2A agent: %s\n", e.Identifier)
case "application/agentskill+md":
case "application/agent-skills+md":
// Load the Agent Skill at e.URL
fmt.Printf("Invoking Agent Skill: %s\n", e.Identifier)
default:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions server/gateway/static/_app/immutable/nodes/2.BCSMw5lB.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions server/gateway/static/_app/immutable/nodes/2.ChuF1HQw.js

This file was deleted.

4 changes: 2 additions & 2 deletions server/gateway/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link href="/_app/immutable/entry/start.BZBMRZRH.js" rel="modulepreload">
<link href="/_app/immutable/chunks/Biqbn8jJ.js" rel="modulepreload">
<link href="/_app/immutable/chunks/CbnoFSQH.js" rel="modulepreload">
<link href="/_app/immutable/entry/app.C50Qmu8P.js" rel="modulepreload">
<link href="/_app/immutable/entry/app.aSaqx79X.js" rel="modulepreload">
<link href="/_app/immutable/chunks/kNaey6uv.js" rel="modulepreload">
<link href="/_app/immutable/chunks/xihTtKlq.js" rel="modulepreload">
<link href="/_app/immutable/nodes/0.Ldbj60Cl.js" rel="modulepreload">
Expand All @@ -33,7 +33,7 @@

Promise.all([
import("/_app/immutable/entry/start.BZBMRZRH.js"),
import("/_app/immutable/entry/app.C50Qmu8P.js")
import("/_app/immutable/entry/app.aSaqx79X.js")
]).then(([kit, app]) => {
kit.start(app, element);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
{ value: 'all', label: 'All' },
{ value: 'application/a2a-agent-card+json', label: 'A2A Agent' },
{ value: 'application/mcp-server-card+json', label: 'MCP Server' },
{ value: 'application/agentskill+md', label: 'SKILL' }
{ value: 'application/agent-skills+md', label: 'SKILL' }
];
</script>

Expand Down
4 changes: 2 additions & 2 deletions server/gateway/ui/src/lib/components/MediaTypeBadge.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
let label = $derived(
type.includes('a2a') ? 'A2A' :
type.includes('mcp') ? 'MCP' :
type.includes('agentskill') ? 'SKILL' :
type.includes('agent-skills') ? 'SKILL' :
type.split('/').pop()?.split('+')[0] || type
);

let classes = $derived(
type.includes('a2a') ? 'bg-accent-teal text-accent-teal-ink' :
type.includes('mcp') ? 'bg-brand-200 text-brand-600' :
type.includes('agentskill') ? 'bg-[#fdeccc] text-[#8a5a06]' :
type.includes('agent-skills') ? 'bg-[#fdeccc] text-[#8a5a06]' :
'bg-surface-tag text-ink'
);
</script>
Expand Down
2 changes: 1 addition & 1 deletion server/gateway/ui/src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export function exportFormatForType(mediaType: string): ExportFormat {
if (mediaType.includes('a2a')) return { format: 'a2a', label: 'Download JSON', ext: 'json' };
if (mediaType.includes('mcp'))
return { format: 'mcp-ghcopilot', label: 'Download JSON', ext: 'json' };
if (mediaType.includes('agentskill'))
if (mediaType.includes('agent-skills'))
return { format: 'agent-skill', label: 'Download Markdown', ext: 'md' };
return { format: 'oasf', label: 'Download Asset', ext: 'json' };
}
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/local/14_skill_record_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const (
skillRecordName = "org.agntcy/directory"
skillModuleName = "core/language_model/agentskills"
mcpModuleName = "integration/mcp"
skillArtifactMediaTyp = "application/agentskill+md"
skillArtifactMediaTyp = "application/agent-skills+md"
)

var _ = ginkgo.Describe("DIR self-published SKILL record", func() {
Expand Down
Loading