opencode-gitlab-dap 1.2.0 → 1.3.0

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/index.cjs CHANGED
@@ -4509,15 +4509,16 @@ var plugin = async (input) => {
4509
4509
  const isFlow = agent.itemType === "FLOW";
4510
4510
  if (isFlow && agent.consumerId && projectPath) {
4511
4511
  flowAgents.set(agent.name, agent);
4512
+ const lbl = agent.foundational ? "\u{1F98A}" : "";
4512
4513
  cfgRef.agent[agent.name] = {
4513
4514
  name: agent.name,
4514
- description: `[GitLab Flow] ${agent.description}`,
4515
+ description: `${lbl} [GitLab Flow] ${agent.description}`.trim(),
4515
4516
  mode: "subagent"
4516
4517
  };
4517
4518
  } else {
4518
4519
  cfgRef.agent[agent.name] = {
4519
4520
  name: agent.name,
4520
- description: agent.foundational ? "[GitLab Foundational Agent]" : "[GitLab Custom Agent]",
4521
+ description: agent.foundational ? `\u{1F98A} [GitLab Foundational Agent]` : "[GitLab Custom Agent]",
4521
4522
  mode: "primary",
4522
4523
  model: `gitlab/${baseModelIdRef}`,
4523
4524
  options: {
@@ -4546,17 +4547,18 @@ var plugin = async (input) => {
4546
4547
  baseModelIdRef = baseModelId;
4547
4548
  for (const agent of result.agents) {
4548
4549
  const isFlow = agent.itemType === "FLOW";
4550
+ const label = agent.foundational ? "\u{1F98A}" : "";
4549
4551
  if (isFlow && agent.consumerId && projectPath) {
4550
4552
  flowAgents.set(agent.name, agent);
4551
4553
  cfg.agent[agent.name] = {
4552
4554
  name: agent.name,
4553
- description: `[GitLab Flow] ${agent.description}`,
4555
+ description: `${label} [GitLab Flow] ${agent.description}`.trim(),
4554
4556
  mode: "subagent"
4555
4557
  };
4556
4558
  } else {
4557
4559
  cfg.agent[agent.name] = {
4558
4560
  name: agent.name,
4559
- description: agent.foundational ? "[GitLab Foundational Agent]" : "[GitLab Custom Agent]",
4561
+ description: agent.foundational ? `${label} [GitLab Foundational Agent]` : "[GitLab Custom Agent]",
4560
4562
  mode: "primary",
4561
4563
  model: `gitlab/${baseModelId}`,
4562
4564
  options: {