@prismshadow/penguin-library-agent · library/agent/src/web/agents/module.ts:6 · Child of WebRoot

AgentsWebModule

module

No JSDoc comment in source yet.

API

@Module({
  contributes: {
    "WebAppModule.pages": [
      {
        id: "agents.list",
        key: "agents",
        path: "/agents",
        frame: "shell",
        nav: "main",
        admin: false,
        released: true,
        order: 20,
        title: "Agents",
        titleZh: "智能体",
        icon: "robot",
      },
      {
        id: "agents.settings",
        key: "agent-settings",
        path: "/agents/:agentId",
        frame: "shell",
        nav: "none",
        admin: false,
        released: true,
        order: 21,
      },
    ],
  },
})
export class AgentsWebModule {
  @Bind("agents.list") list = AgentsPage;
  @Bind("agents.settings") settings = AgentSettingsPage;
}

Dependencies & Wiring

Extracted from class decorators
@Bindbinds (2)
list → agents.list: unknown · settings → agents.settings: unknown

Contributes

{
  "WebAppModule.pages": [
    {
      "id": "agents.list",
      "key": "agents",
      "path": "/agents",
      "frame": "shell",
      "nav": "main",
      "admin": false,
      "released": true,
      "order": 20,
      "title": "Agents",
      "titleZh": "智能体",
      "icon": "robot"
    },
    {
      "id": "agents.settings",
      "key": "agent-settings",
      "path": "/agents/:agentId",
      "frame": "shell",
      "nav": "none",
      "admin": false,
      "released": true,
      "order": 21
    }
  ]
}

Target slots: WebAppModule.pages

Children (0)

No child modules or components declared in @Module.

Exports (0)

None (module-private).