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.js CHANGED
@@ -4475,15 +4475,16 @@ var plugin = async (input) => {
4475
4475
  const isFlow = agent.itemType === "FLOW";
4476
4476
  if (isFlow && agent.consumerId && projectPath) {
4477
4477
  flowAgents.set(agent.name, agent);
4478
+ const lbl = agent.foundational ? "\u{1F98A}" : "";
4478
4479
  cfgRef.agent[agent.name] = {
4479
4480
  name: agent.name,
4480
- description: `[GitLab Flow] ${agent.description}`,
4481
+ description: `${lbl} [GitLab Flow] ${agent.description}`.trim(),
4481
4482
  mode: "subagent"
4482
4483
  };
4483
4484
  } else {
4484
4485
  cfgRef.agent[agent.name] = {
4485
4486
  name: agent.name,
4486
- description: agent.foundational ? "[GitLab Foundational Agent]" : "[GitLab Custom Agent]",
4487
+ description: agent.foundational ? `\u{1F98A} [GitLab Foundational Agent]` : "[GitLab Custom Agent]",
4487
4488
  mode: "primary",
4488
4489
  model: `gitlab/${baseModelIdRef}`,
4489
4490
  options: {
@@ -4512,17 +4513,18 @@ var plugin = async (input) => {
4512
4513
  baseModelIdRef = baseModelId;
4513
4514
  for (const agent of result.agents) {
4514
4515
  const isFlow = agent.itemType === "FLOW";
4516
+ const label = agent.foundational ? "\u{1F98A}" : "";
4515
4517
  if (isFlow && agent.consumerId && projectPath) {
4516
4518
  flowAgents.set(agent.name, agent);
4517
4519
  cfg.agent[agent.name] = {
4518
4520
  name: agent.name,
4519
- description: `[GitLab Flow] ${agent.description}`,
4521
+ description: `${label} [GitLab Flow] ${agent.description}`.trim(),
4520
4522
  mode: "subagent"
4521
4523
  };
4522
4524
  } else {
4523
4525
  cfg.agent[agent.name] = {
4524
4526
  name: agent.name,
4525
- description: agent.foundational ? "[GitLab Foundational Agent]" : "[GitLab Custom Agent]",
4527
+ description: agent.foundational ? `${label} [GitLab Foundational Agent]` : "[GitLab Custom Agent]",
4526
4528
  mode: "primary",
4527
4529
  model: `gitlab/${baseModelId}`,
4528
4530
  options: {