diff --git a/nexus/components/src/Agent/AgentEntityConfig.jsx b/nexus/components/src/Agent/AgentEntityConfig.jsx index f1fe423..16ae833 100644 --- a/nexus/components/src/Agent/AgentEntityConfig.jsx +++ b/nexus/components/src/Agent/AgentEntityConfig.jsx @@ -15,7 +15,7 @@ const renderItem = (item, editFunction) => { props={{ item: convertSnakeToPascal(flatItem), editFunction, - namespace: 'agiguild', + namespace: 'near', entityType: 'agent', schemaFile: "${REPL_AGIGUILD}/widget/Schema.Agent", }} @@ -24,7 +24,7 @@ const renderItem = (item, editFunction) => { }; return ( diff --git a/nexus/components/src/Overview.jsx b/nexus/components/src/Overview.jsx index f704179..64a3dea 100644 --- a/nexus/components/src/Overview.jsx +++ b/nexus/components/src/Overview.jsx @@ -293,7 +293,7 @@ const dummyData = { logo_url: "", }; const prefillData = Array(TRENDING_APPS_LIMIT).fill(dummyData); -const namespace = "agiguild"; +const namespace = "near"; const entityType = "agent"; const collection = "dataplatform_near_entities_entities"; const buildQueries = () => { diff --git a/nexus/components/src/Placeholder.jsx b/nexus/components/src/Placeholder.jsx index 8ec8d7a..18fd94e 100644 --- a/nexus/components/src/Placeholder.jsx +++ b/nexus/components/src/Placeholder.jsx @@ -138,9 +138,9 @@ const createWidget = "${REPL_ACCOUNT}/widget/Entities.Template.EntityCreate"; const loadItems = (queries, queryName, offset, collection, onLoad) => { const placeholderData = { data: [ - {name: 'test1', displayName: 'Alpha Alpaca Aardvark Alumnus', accountId: 'agiguild.near', logoUrl: 'https://ipfs.near.social/ipfs/bafkreibysr2mkwhb4j36h2t7mqwhynqdy4vzjfygfkfg65kuspd2bawauu'}, - {name: 'test2', displayName: 'Beta Barracuda Baleen Boilermaker', accountId: 'agiguild.near', logoUrl: 'https://ipfs.near.social/ipfs/bafkreibysr2mkwhb4j36h2t7mqwhynqdy4vzjfygfkfg65kuspd2bawauu'}, - {name: 'test3', displayName: 'Gamma Guppy Gorilla Grapher', accountId: 'agiguild.near', logoUrl: 'https://ipfs.near.social/ipfs/bafkreibysr2mkwhb4j36h2t7mqwhynqdy4vzjfygfkfg65kuspd2bawauu'}, + {name: 'test1', displayName: 'Alpha Alpaca Aardvark Alumnus', accountId: 'root.near', logoUrl: 'https://ipfs.near.social/ipfs/bafkreibysr2mkwhb4j36h2t7mqwhynqdy4vzjfygfkfg65kuspd2bawauu'}, + {name: 'test2', displayName: 'Beta Barracuda Baleen Boilermaker', accountId: 'root.near', logoUrl: 'https://ipfs.near.social/ipfs/bafkreibysr2mkwhb4j36h2t7mqwhynqdy4vzjfygfkfg65kuspd2bawauu'}, + {name: 'test3', displayName: 'Gamma Guppy Gorilla Grapher', accountId: 'root.near', logoUrl: 'https://ipfs.near.social/ipfs/bafkreibysr2mkwhb4j36h2t7mqwhynqdy4vzjfygfkfg65kuspd2bawauu'}, ]}; return Promise.resolve().then(() => onLoad(placeholderData.data, placeholderData.data.length)); }; diff --git a/nexus/components/src/Schema/Agent.jsx b/nexus/components/src/Schema/Agent.jsx index 0669193..1fb3070 100644 --- a/nexus/components/src/Schema/Agent.jsx +++ b/nexus/components/src/Schema/Agent.jsx @@ -2,7 +2,7 @@ const {genSchema: genericGenSchema} = VM.require("${REPL_ACCOUNT}/widget/Entitie const genSchema = (ignored) => { - const namespace = "agiguild"; + const namespace = "near"; const entityType = "agent"; const entityTitle = "Agent"; diff --git a/nexus/components/src/Schema/AlignmentDataset.jsx b/nexus/components/src/Schema/AlignmentDataset.jsx index 32e41ab..e8e08c3 100644 --- a/nexus/components/src/Schema/AlignmentDataset.jsx +++ b/nexus/components/src/Schema/AlignmentDataset.jsx @@ -1,7 +1,7 @@ const genSchema = () => { - const namespace = 'agiguild'; + const namespace = 'near'; const entityType = 'alignmentDataset'; const entityTitle = 'Alignment Dataset'; const title = entityTitle; diff --git a/nexus/components/src/Schema/ModelName.jsx b/nexus/components/src/Schema/ModelName.jsx index dbb52c9..6f936ee 100644 --- a/nexus/components/src/Schema/ModelName.jsx +++ b/nexus/components/src/Schema/ModelName.jsx @@ -1,7 +1,7 @@ const {genSchema: genericGenSchema} = VM.require("${REPL_ACCOUNT}/widget/Entities.Template.GenericSchema"); const genSchema = (ignored) => { - const namespace = "agiguild"; + const namespace = "near"; const entityType = "modelName"; const entityTitle = "Model Name"; @@ -22,13 +22,13 @@ const genSchema = (ignored) => { // we can have both! // relationships: [ // { - // namespace: "agiguild", + // namespace: "near", // entityType: "provider", // } // ], // providers: { // type: "object", - // schema: "agiguild.provider", + // schema: "near.provider", // } // } }; diff --git a/nexus/components/src/Schema/Nexus.jsx b/nexus/components/src/Schema/Nexus.jsx index 57762eb..aa3a392 100644 --- a/nexus/components/src/Schema/Nexus.jsx +++ b/nexus/components/src/Schema/Nexus.jsx @@ -26,28 +26,28 @@ const schema = { name: "Crowdsourcing", value: "crowdsourcing", content: , + props={{namespace: 'near', entityType: 'crowdsourcedDataset'}}/>, icon: "ph ph-chart-bar-horizontal", }, { name: "Data marketplace", value: "dataMarketplace", content: , + props={{namespace: 'near', entityType: 'dataMarketplace'}}/>, icon: "ph ph-chart-bar-horizontal", }, { name: "Foundation", value: "foundation", content: , + props={{namespace: 'near', entityType: 'foundationDataset'}}/>, icon: "ph ph-chart-bar-horizontal", }, { name: "Supervised Fine Tuning", value: "fineTuning", content: , icon: "ph ph-chart-bar-horizontal", }, @@ -55,7 +55,7 @@ const schema = { name: "Alignment", value: "alignment", content: , icon: "ph ph-chart-bar-horizontal", @@ -71,7 +71,7 @@ const schema = { name: "Providers", value: "providers", content: , icon: "ph ph-chart-bar-horizontal", }, @@ -79,7 +79,7 @@ const schema = { name: "Standard Model Names", value: "modelNames", content: , icon: "ph ph-chart-bar-horizontal", }, @@ -87,7 +87,7 @@ const schema = { name: "Model Weights", value: "models", content: , + props={{namespace: 'near', entityType: 'model', title: 'Model Weights'}}/>, icon: "ph ph-chart-bar-horizontal", }, ], @@ -107,21 +107,21 @@ const schema = { name: "Frameworks", value: "frameworks", content: , + props={{namespace: 'near', entityType: 'agentFramework'}}/>, icon: "ph ph-chart-bar-horizontal", }, { name: "Modules", value: "modules", content: , + props={{namespace: 'near', entityType: 'agentModule'}}/>, icon: "ph ph-chart-bar-horizontal", }, { name: "User Interfaces", value: "uis", content: , + props={{namespace: 'near', entityType: 'customUI', title: 'Custom User Interfaces'}}/>, icon: "ph ph-chart-bar-horizontal", }, ], @@ -135,14 +135,14 @@ const schema = { name: "On-chain Contracts", value: "contracts", content: , + props={{namespace: 'near', entityType: 'contractTool', title: 'On-Chain Contracts'}}/>, icon: "ph ph-address-book", }, { name: "APIs", value: "apis", content: , + props={{namespace: 'near', entityType: 'apiTool', title: 'API Tools'}}/>, icon: "ph ph-chart-bar-horizontal", }, ], @@ -156,21 +156,21 @@ const schema = { name: "Data Sources", value: "dataSource", content: , + props={{namespace: 'near', entityType: 'dataSource'}}/>, icon: "ph ph-chart-bar-horizontal", }, { name: "Data Source Types", value: "dataSourceType", content: , + props={{namespace: 'near', entityType: 'dataSourceType'}}/>, icon: "ph ph-chart-bar-horizontal", }, { name: "Delegated Permissions", value: "delegation", content: , icon: "ph ph-chart-bar-horizontal", }, @@ -185,21 +185,21 @@ const schema = { name: "Data Reputation", value: "dataReputation", content: , + props={{namespace: 'near', entityType: 'dataReputation'}}/>, icon: "ph ph-chart-bar-horizontal", }, { name: "Agent Reputation", value: "agentReputation", content: , + props={{namespace: 'near', entityType: 'agentReputation'}}/>, icon: "ph ph-chart-bar-horizontal", }, { name: "Compliance Proofs", value: "proof", content: , icon: "ph ph-chart-bar-horizontal", },