/*
 * Copyright 1999-2025 Alibaba Group Holding Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.alibaba.nacos.api.ai.model.agentspecs;

import java.util.Map;

/**
 * AgentSpec entity for HiClaw Worker package management.
 * Mirrors the Skill structure with manifest.json as the main content.
 *
 * @author nacos
 */
public class AgentSpec {
    
    /**
     * Namespace ID (Nacos management field).
     */
    private String namespaceId;
    
    /**
     * AgentSpec name (from manifest.json worker.suggested_name).
     */
    private String name;
    
    /**
     * AgentSpec description.
     */
    private String description;

    /**
     * AgentSpec biz tags, stored as JSON array string.
     */
    private String bizTags;
    
    /**
     * manifest.json raw JSON string content.
     */
    private String content;
    
    /**
     * Resource map (key is resource name, e.g., config/SOUL.md).
     */
    private Map<String, AgentSpecResource> resource;
    
    public String getNamespaceId() {
        return namespaceId;
    }
    
    public void setNamespaceId(String namespaceId) {
        this.namespaceId = namespaceId;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }

    public String getBizTags() {
        return bizTags;
    }

    public void setBizTags(String bizTags) {
        this.bizTags = bizTags;
    }

    public String getContent() {
        return content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }
    
    public Map<String, AgentSpecResource> getResource() {
        return resource;
    }
    
    public void setResource(Map<String, AgentSpecResource> resource) {
        this.resource = resource;
    }
}
