@parallelworks/tandem-web 0.193.0 → 0.194.1

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.
@@ -386,8 +386,46 @@ var e = {
386
386
  modeNotAllowed: "No runner you can use allows “{mode}”, so its runs work in a lower mode. Start a runner with a matching --permission-mode.",
387
387
  runs: "Runs",
388
388
  noRuns: "No runs yet",
389
- noRunnerOnline: "None of your runners can take this agent's runs right now: none online has its harness and labels.",
390
- noRunnerYet: "No runner yet"
389
+ noRunnerYet: "No runner yet",
390
+ tabs: "Agent sections",
391
+ actions: "Actions",
392
+ configure: "Configure",
393
+ deployTitle: "Deploy this agent",
394
+ deployReady: "Ready to run",
395
+ deployLead: "No runner online can take this agent's runs. Start one on a machine with the repositories it works in:",
396
+ deployInstall: "Install the tandem CLI",
397
+ deployLogin: "Sign in",
398
+ deployLoginToken: "Sign in with an API key, pasted when asked",
399
+ deployRun: "Start a runner for this agent, in the directory agents work in",
400
+ deployOnline: "{count, plural, one {This runner is online and can take its runs:} other {These runners are online and can take its runs:}}",
401
+ deployAnother: "Start another runner",
402
+ copyCommand: "Copy command",
403
+ runDuration: "{minutes} min",
404
+ askTitle: "Ask it to",
405
+ askTeam: "Team",
406
+ updateKnowledge: "Update knowledge base",
407
+ updateKnowledgeHint: "Reads the team's code, issues and docs, adds missing terms, and suggests fixes to outdated ones for you to confirm.",
408
+ start: "Start",
409
+ needsRunner: "Starts once a runner that can take its runs is online.",
410
+ scanBugs: "Scan for bugs",
411
+ scanBugsHint: "Reads the team's code and reports bugs it finds, skipping ones already reported. Each becomes an issue only once you approve it.",
412
+ bugsToReview: "{count, plural, one {# bug report to review} other {# bug reports to review}}",
413
+ approveAll: "Approve all",
414
+ approve: "Approve",
415
+ editReport: "Edit",
416
+ dismissReport: "Dismiss",
417
+ fromScan: "From {identifier}",
418
+ bugFiled: "Filed {identifier}",
419
+ bugsFiled: "{count, plural, one {Filed # issue} other {Filed # issues}}",
420
+ editReportTitle: "Edit the bug report",
421
+ reportTitle: "Title",
422
+ severityLabel: "Severity",
423
+ severity: {
424
+ critical: "Critical",
425
+ high: "High",
426
+ medium: "Medium",
427
+ low: "Low"
428
+ }
391
429
  },
392
430
  agents: {
393
431
  measures: "Measures",
@@ -679,7 +717,9 @@ var e = {
679
717
  hint: "Enter to create, ⌘ Enter to create and open",
680
718
  create: "Create issue",
681
719
  noTeamAskAdmin: "Issues belong to a team. Ask a workspace admin to create one.",
682
- noTeamMatches: "No teams match."
720
+ noTeamMatches: "No teams match.",
721
+ created: "Created {identifier}",
722
+ hintOpens: "Enter to create and open"
683
723
  },
684
724
  issueMenu: {
685
725
  moveToTeam: "Move to team",
@@ -1651,7 +1691,11 @@ var e = {
1651
1691
  editDetails: "Edit details",
1652
1692
  attachHint: "Paste or drop screenshots into the page.",
1653
1693
  archivedNotice: "This entry is archived.",
1654
- doc: "Doc"
1694
+ doc: "Doc",
1695
+ suggestsChange: "Suggests a change to {name}",
1696
+ confirm: "Confirm",
1697
+ confirmChange: "Confirm change",
1698
+ dismiss: "Dismiss"
1655
1699
  },
1656
1700
  github: {
1657
1701
  accountTitle: "GitHub",
@@ -3588,12 +3632,14 @@ var e = {
3588
3632
  units: {
3589
3633
  issues: "Issues",
3590
3634
  points: "Points",
3591
- days: "Days"
3635
+ days: "Days",
3636
+ people: "People"
3592
3637
  },
3593
3638
  group: "Group",
3594
3639
  series: {
3595
3640
  created: "Created",
3596
- completed: "Completed"
3641
+ completed: "Completed",
3642
+ total: "Total"
3597
3643
  },
3598
3644
  empty: "No issues match.",
3599
3645
  priorities: {
@@ -3617,13 +3663,16 @@ var e = {
3617
3663
  other: "Other",
3618
3664
  pie: "Share of each group",
3619
3665
  overTime: "By week",
3666
+ overTimeDaily: "By day",
3620
3667
  week: "Week",
3668
+ day: "Day",
3621
3669
  issuesCount: "Issues",
3622
3670
  measures: {
3623
3671
  count: "Issues",
3624
3672
  created_completed: "Created vs completed",
3625
3673
  open: "Open issues over time",
3626
3674
  throughput: "Completed per week",
3675
+ active_users: "Daily active users",
3627
3676
  cycle_time: "Cycle time (median)",
3628
3677
  lead_time: "Lead time (median)",
3629
3678
  estimate: "Estimate (points)",
@@ -3662,6 +3711,7 @@ var e = {
3662
3711
  },
3663
3712
  weeks: "Over",
3664
3713
  weeksValue: "{count, plural, one {# week} other {# weeks}}",
3714
+ daysCount: "{count, plural, one {# day} other {# days}}",
3665
3715
  issuesFrom: "Issues",
3666
3716
  filtersBelow: "These filters",
3667
3717
  team: "Team",
@@ -386,8 +386,46 @@ var e = {
386
386
  modeNotAllowed: "Ningún runner que puedas usar permite «{mode}», así que sus ejecuciones trabajan en un modo inferior. Inicia un runner con un --permission-mode que coincida.",
387
387
  runs: "Ejecuciones",
388
388
  noRuns: "Aún no hay ejecuciones",
389
- noRunnerOnline: "Ahora ninguno de tus ejecutores puede encargarse de las ejecuciones de este agente: ninguno conectado tiene su entorno y sus etiquetas.",
390
- noRunnerYet: "Aún sin ejecutor"
389
+ noRunnerYet: "Aún sin ejecutor",
390
+ tabs: "Secciones del agente",
391
+ actions: "Acciones",
392
+ configure: "Configurar",
393
+ deployTitle: "Desplegar este agente",
394
+ deployReady: "Listo para trabajar",
395
+ deployLead: "Ningún runner en línea puede tomar las ejecuciones de este agente. Inicia uno en una máquina con los repositorios en los que trabaja:",
396
+ deployInstall: "Instala la CLI de tandem",
397
+ deployLogin: "Inicia sesión",
398
+ deployLoginToken: "Inicia sesión con una clave de API, pegada cuando se pida",
399
+ deployRun: "Inicia un runner para este agente, en el directorio donde trabajan los agentes",
400
+ deployOnline: "{count, plural, one {Este runner está en línea y puede tomar sus ejecuciones:} other {Estos runners están en línea y pueden tomar sus ejecuciones:}}",
401
+ deployAnother: "Iniciar otro runner",
402
+ copyCommand: "Copiar comando",
403
+ runDuration: "{minutes} min",
404
+ askTitle: "Pídele que",
405
+ askTeam: "Equipo",
406
+ updateKnowledge: "Actualizar la base de conocimiento",
407
+ updateKnowledgeHint: "Lee el código, las incidencias y los documentos del equipo, añade los términos que faltan y sugiere correcciones a los desactualizados para que las confirmes.",
408
+ start: "Iniciar",
409
+ needsRunner: "Se puede iniciar cuando haya en línea un runner que pueda tomar sus ejecuciones.",
410
+ scanBugs: "Buscar errores",
411
+ scanBugsHint: "Lee el código del equipo e informa de los errores que encuentra, omitiendo los ya informados. Cada uno se convierte en una incidencia solo cuando lo apruebas.",
412
+ bugsToReview: "{count, plural, one {# informe de error por revisar} other {# informes de error por revisar}}",
413
+ approveAll: "Aprobar todos",
414
+ approve: "Aprobar",
415
+ editReport: "Editar",
416
+ dismissReport: "Descartar",
417
+ fromScan: "De {identifier}",
418
+ bugFiled: "Creada {identifier}",
419
+ bugsFiled: "{count, plural, one {Creada # incidencia} other {Creadas # incidencias}}",
420
+ editReportTitle: "Editar el informe de error",
421
+ reportTitle: "Título",
422
+ severityLabel: "Gravedad",
423
+ severity: {
424
+ critical: "Crítica",
425
+ high: "Alta",
426
+ medium: "Media",
427
+ low: "Baja"
428
+ }
391
429
  },
392
430
  agents: {
393
431
  measures: "Métricas",
@@ -679,7 +717,9 @@ var e = {
679
717
  hint: "Intro para crear, ⌘ Intro para crear y abrir",
680
718
  create: "Crear incidencia",
681
719
  noTeamAskAdmin: "Las incidencias pertenecen a un equipo. Pide a un administrador del espacio de trabajo que cree uno.",
682
- noTeamMatches: "Ningún equipo coincide."
720
+ noTeamMatches: "Ningún equipo coincide.",
721
+ created: "Creada {identifier}",
722
+ hintOpens: "Intro para crear y abrir"
683
723
  },
684
724
  issueMenu: {
685
725
  moveToTeam: "Mover a otro equipo",
@@ -1651,7 +1691,11 @@ var e = {
1651
1691
  editDetails: "Editar detalles",
1652
1692
  attachHint: "Pega o suelta capturas de pantalla en la página.",
1653
1693
  archivedNotice: "Esta entrada está archivada.",
1654
- doc: "Documento"
1694
+ doc: "Documento",
1695
+ suggestsChange: "Sugiere un cambio en {name}",
1696
+ confirm: "Confirmar",
1697
+ confirmChange: "Confirmar cambio",
1698
+ dismiss: "Descartar"
1655
1699
  },
1656
1700
  github: {
1657
1701
  accountTitle: "GitHub",
@@ -3588,12 +3632,14 @@ var e = {
3588
3632
  units: {
3589
3633
  issues: "Incidencias",
3590
3634
  points: "Puntos",
3591
- days: "Días"
3635
+ days: "Días",
3636
+ people: "Personas"
3592
3637
  },
3593
3638
  group: "Grupo",
3594
3639
  series: {
3595
3640
  created: "Creadas",
3596
- completed: "Completadas"
3641
+ completed: "Completadas",
3642
+ total: "Total"
3597
3643
  },
3598
3644
  empty: "Ninguna incidencia coincide.",
3599
3645
  priorities: {
@@ -3617,13 +3663,16 @@ var e = {
3617
3663
  other: "Otros",
3618
3664
  pie: "Parte de cada grupo",
3619
3665
  overTime: "Por semana",
3666
+ overTimeDaily: "Por día",
3620
3667
  week: "Semana",
3668
+ day: "Día",
3621
3669
  issuesCount: "Incidencias",
3622
3670
  measures: {
3623
3671
  count: "Incidencias",
3624
3672
  created_completed: "Creadas frente a completadas",
3625
3673
  open: "Incidencias abiertas en el tiempo",
3626
3674
  throughput: "Completadas por semana",
3675
+ active_users: "Usuarios activos diarios",
3627
3676
  cycle_time: "Tiempo de ciclo (mediana)",
3628
3677
  lead_time: "Tiempo de entrega (mediana)",
3629
3678
  estimate: "Estimación (puntos)",
@@ -3662,6 +3711,7 @@ var e = {
3662
3711
  },
3663
3712
  weeks: "Durante",
3664
3713
  weeksValue: "{count, plural, one {# semana} other {# semanas}}",
3714
+ daysCount: "{count, plural, one {# día} other {# días}}",
3665
3715
  issuesFrom: "Incidencias",
3666
3716
  filtersBelow: "Estos filtros",
3667
3717
  team: "Equipo",
@@ -386,8 +386,46 @@ var e = {
386
386
  modeNotAllowed: "使えるランナーはどれも「{mode}」を許可していないため、実行はより低いモードで動きます。対応する --permission-mode でランナーを起動してください。",
387
387
  runs: "実行",
388
388
  noRuns: "まだ実行はありません",
389
- noRunnerOnline: "現在、あなたのランナーにはこのエージェントの実行を引き受けられるものがありません。オンラインのランナーにこのハーネスとラベルを持つものがありません。",
390
- noRunnerYet: "ランナー未割り当て"
389
+ noRunnerYet: "ランナー未割り当て",
390
+ tabs: "エージェントのセクション",
391
+ actions: "アクション",
392
+ configure: "設定",
393
+ deployTitle: "このエージェントをデプロイ",
394
+ deployReady: "実行可能",
395
+ deployLead: "このエージェントの実行を引き受けられるオンラインのランナーがありません。作業するリポジトリがあるマシンでランナーを起動してください:",
396
+ deployInstall: "tandem CLI をインストール",
397
+ deployLogin: "サインイン",
398
+ deployLoginToken: "API キーでサインイン(求められたら貼り付け)",
399
+ deployRun: "エージェントが作業するディレクトリで、このエージェント用のランナーを起動",
400
+ deployOnline: "{count, plural, other {次のランナーがオンラインで、実行を引き受けられます:}}",
401
+ deployAnother: "別のランナーを起動",
402
+ copyCommand: "コマンドをコピー",
403
+ runDuration: "{minutes} 分",
404
+ askTitle: "依頼する",
405
+ askTeam: "チーム",
406
+ updateKnowledge: "ナレッジベースを更新",
407
+ updateKnowledgeHint: "チームのコード、課題、ドキュメントを読み、足りない用語を追加し、古くなった用語の修正を提案します。提案はあなたが確認します。",
408
+ start: "開始",
409
+ needsRunner: "実行を引き受けられるランナーがオンラインになると開始できます。",
410
+ scanBugs: "バグを探す",
411
+ scanBugsHint: "チームのコードを読み、見つけたバグを報告します。報告済みのものは除きます。承認したものだけが課題になります。",
412
+ bugsToReview: "{count, plural, other {確認待ちのバグ報告 # 件}}",
413
+ approveAll: "すべて承認",
414
+ approve: "承認",
415
+ editReport: "編集",
416
+ dismissReport: "却下",
417
+ fromScan: "{identifier} から",
418
+ bugFiled: "{identifier} を作成しました",
419
+ bugsFiled: "{count, plural, other {課題を # 件作成しました}}",
420
+ editReportTitle: "バグ報告を編集",
421
+ reportTitle: "タイトル",
422
+ severityLabel: "重大度",
423
+ severity: {
424
+ critical: "重大",
425
+ high: "高",
426
+ medium: "中",
427
+ low: "低"
428
+ }
391
429
  },
392
430
  agents: {
393
431
  measures: "指標",
@@ -679,7 +717,9 @@ var e = {
679
717
  hint: "Enter で作成、⌘ Enter で作成して開く",
680
718
  create: "課題を作成",
681
719
  noTeamAskAdmin: "課題はチームに属します。ワークスペースの管理者にチームの作成を依頼してください。",
682
- noTeamMatches: "一致するチームはありません。"
720
+ noTeamMatches: "一致するチームはありません。",
721
+ created: "{identifier} を作成しました",
722
+ hintOpens: "Enter で作成して開く"
683
723
  },
684
724
  issueMenu: {
685
725
  moveToTeam: "チームを移動",
@@ -1651,7 +1691,11 @@ var e = {
1651
1691
  editDetails: "詳細を編集",
1652
1692
  attachHint: "スクリーンショットをページに貼り付けるかドロップします。",
1653
1693
  archivedNotice: "このエントリーはアーカイブされています。",
1654
- doc: "ドキュメント"
1694
+ doc: "ドキュメント",
1695
+ suggestsChange: "{name} の変更案",
1696
+ confirm: "確認",
1697
+ confirmChange: "変更を確認",
1698
+ dismiss: "却下"
1655
1699
  },
1656
1700
  github: {
1657
1701
  accountTitle: "GitHub",
@@ -3588,12 +3632,14 @@ var e = {
3588
3632
  units: {
3589
3633
  issues: "課題",
3590
3634
  points: "ポイント",
3591
- days: "日"
3635
+ days: "日",
3636
+ people: "人"
3592
3637
  },
3593
3638
  group: "グループ",
3594
3639
  series: {
3595
3640
  created: "作成",
3596
- completed: "完了"
3641
+ completed: "完了",
3642
+ total: "合計"
3597
3643
  },
3598
3644
  empty: "一致する課題はありません。",
3599
3645
  priorities: {
@@ -3617,13 +3663,16 @@ var e = {
3617
3663
  other: "その他",
3618
3664
  pie: "グループごとの割合",
3619
3665
  overTime: "週ごと",
3666
+ overTimeDaily: "日別",
3620
3667
  week: "週",
3668
+ day: "日",
3621
3669
  issuesCount: "課題",
3622
3670
  measures: {
3623
3671
  count: "課題数",
3624
3672
  created_completed: "作成と完了",
3625
3673
  open: "未完了課題の推移",
3626
3674
  throughput: "週ごとの完了数",
3675
+ active_users: "日次アクティブユーザー",
3627
3676
  cycle_time: "サイクルタイム(中央値)",
3628
3677
  lead_time: "リードタイム(中央値)",
3629
3678
  estimate: "見積もり(ポイント)",
@@ -3662,6 +3711,7 @@ var e = {
3662
3711
  },
3663
3712
  weeks: "期間",
3664
3713
  weeksValue: "{count, plural, other {# 週間}}",
3714
+ daysCount: "{count, plural, other {#日間}}",
3665
3715
  issuesFrom: "対象の課題",
3666
3716
  filtersBelow: "以下のフィルター",
3667
3717
  team: "チーム",
@@ -386,8 +386,46 @@ var e = {
386
386
  modeNotAllowed: "사용할 수 있는 러너 중 「{mode}」를 허용하는 것이 없어 실행이 더 낮은 모드로 동작합니다. 맞는 --permission-mode로 러너를 시작하세요.",
387
387
  runs: "실행",
388
388
  noRuns: "아직 실행이 없습니다",
389
- noRunnerOnline: "지금은 내 러너 중 이 에이전트의 실행을 맡을 수 있는 것이 없습니다. 온라인 러너 중 이 하네스와 레이블을 가진 것이 없습니다.",
390
- noRunnerYet: "아직 러너 없음"
389
+ noRunnerYet: "아직 러너 없음",
390
+ tabs: "에이전트 섹션",
391
+ actions: "작업",
392
+ configure: "설정",
393
+ deployTitle: "이 에이전트 배포",
394
+ deployReady: "실행 준비됨",
395
+ deployLead: "이 에이전트의 실행을 맡을 수 있는 온라인 러너가 없습니다. 작업할 저장소가 있는 머신에서 러너를 시작하세요:",
396
+ deployInstall: "tandem CLI 설치",
397
+ deployLogin: "로그인",
398
+ deployLoginToken: "API 키로 로그인(요청 시 붙여넣기)",
399
+ deployRun: "에이전트가 작업하는 디렉터리에서 이 에이전트용 러너 시작",
400
+ deployOnline: "{count, plural, other {다음 러너가 온라인이며 실행을 맡을 수 있습니다:}}",
401
+ deployAnother: "다른 러너 시작",
402
+ copyCommand: "명령 복사",
403
+ runDuration: "{minutes}분",
404
+ askTitle: "요청하기",
405
+ askTeam: "팀",
406
+ updateKnowledge: "지식 베이스 업데이트",
407
+ updateKnowledgeHint: "팀의 코드, 이슈, 문서를 읽고 빠진 용어를 추가하며, 오래된 용어의 수정을 제안합니다. 제안은 직접 확인합니다.",
408
+ start: "시작",
409
+ needsRunner: "실행을 맡을 수 있는 러너가 온라인이 되면 시작할 수 있습니다.",
410
+ scanBugs: "버그 찾기",
411
+ scanBugsHint: "팀의 코드를 읽고 찾은 버그를 보고합니다. 이미 보고된 것은 건너뜁니다. 승인한 것만 이슈가 됩니다.",
412
+ bugsToReview: "{count, plural, other {검토할 버그 보고 #건}}",
413
+ approveAll: "모두 승인",
414
+ approve: "승인",
415
+ editReport: "편집",
416
+ dismissReport: "무시",
417
+ fromScan: "{identifier}에서",
418
+ bugFiled: "{identifier} 생성됨",
419
+ bugsFiled: "{count, plural, other {이슈 #건 생성됨}}",
420
+ editReportTitle: "버그 보고 편집",
421
+ reportTitle: "제목",
422
+ severityLabel: "심각도",
423
+ severity: {
424
+ critical: "치명적",
425
+ high: "높음",
426
+ medium: "보통",
427
+ low: "낮음"
428
+ }
391
429
  },
392
430
  agents: {
393
431
  measures: "지표",
@@ -679,7 +717,9 @@ var e = {
679
717
  hint: "Enter로 생성, ⌘ Enter로 생성 후 열기",
680
718
  create: "이슈 생성",
681
719
  noTeamAskAdmin: "이슈는 팀에 속합니다. 워크스페이스 관리자에게 팀을 만들어 달라고 요청하세요.",
682
- noTeamMatches: "일치하는 팀이 없습니다."
720
+ noTeamMatches: "일치하는 팀이 없습니다.",
721
+ created: "{identifier} 생성됨",
722
+ hintOpens: "Enter로 만들고 열기"
683
723
  },
684
724
  issueMenu: {
685
725
  moveToTeam: "팀 이동",
@@ -1651,7 +1691,11 @@ var e = {
1651
1691
  editDetails: "세부 정보 편집",
1652
1692
  attachHint: "스크린샷을 페이지에 붙여넣거나 끌어다 놓으세요.",
1653
1693
  archivedNotice: "이 항목은 보관되었습니다.",
1654
- doc: "문서"
1694
+ doc: "문서",
1695
+ suggestsChange: "{name} 변경 제안",
1696
+ confirm: "확인",
1697
+ confirmChange: "변경 확인",
1698
+ dismiss: "무시"
1655
1699
  },
1656
1700
  github: {
1657
1701
  accountTitle: "GitHub",
@@ -3588,12 +3632,14 @@ var e = {
3588
3632
  units: {
3589
3633
  issues: "이슈",
3590
3634
  points: "포인트",
3591
- days: "일"
3635
+ days: "일",
3636
+ people: "명"
3592
3637
  },
3593
3638
  group: "그룹",
3594
3639
  series: {
3595
3640
  created: "생성",
3596
- completed: "완료"
3641
+ completed: "완료",
3642
+ total: "합계"
3597
3643
  },
3598
3644
  empty: "일치하는 이슈가 없습니다.",
3599
3645
  priorities: {
@@ -3617,13 +3663,16 @@ var e = {
3617
3663
  other: "기타",
3618
3664
  pie: "그룹별 비율",
3619
3665
  overTime: "주별",
3666
+ overTimeDaily: "일별",
3620
3667
  week: "주",
3668
+ day: "일",
3621
3669
  issuesCount: "이슈",
3622
3670
  measures: {
3623
3671
  count: "이슈 수",
3624
3672
  created_completed: "생성 대비 완료",
3625
3673
  open: "열린 이슈 추이",
3626
3674
  throughput: "주별 완료 수",
3675
+ active_users: "일일 활성 사용자",
3627
3676
  cycle_time: "사이클 타임(중앙값)",
3628
3677
  lead_time: "리드 타임(중앙값)",
3629
3678
  estimate: "추정치(포인트)",
@@ -3662,6 +3711,7 @@ var e = {
3662
3711
  },
3663
3712
  weeks: "기간",
3664
3713
  weeksValue: "{count, plural, other {#주}}",
3714
+ daysCount: "{count, plural, other {#일}}",
3665
3715
  issuesFrom: "이슈",
3666
3716
  filtersBelow: "아래 필터",
3667
3717
  team: "팀",
@@ -386,8 +386,46 @@ var e = {
386
386
  modeNotAllowed: "你能使用的运行器都不允许“{mode}”,因此它的运行会以较低模式工作。请用匹配的 --permission-mode 启动运行器。",
387
387
  runs: "运行",
388
388
  noRuns: "暂无运行",
389
- noRunnerOnline: "目前你的运行器都无法承接此代理的运行:在线的运行器都不具备它的执行环境和标签。",
390
- noRunnerYet: "尚无运行器"
389
+ noRunnerYet: "尚无运行器",
390
+ tabs: "智能体分区",
391
+ actions: "操作",
392
+ configure: "配置",
393
+ deployTitle: "部署此智能体",
394
+ deployReady: "可以运行",
395
+ deployLead: "没有在线的运行器能接手此智能体的运行。请在有其所需仓库的机器上启动一个:",
396
+ deployInstall: "安装 tandem CLI",
397
+ deployLogin: "登录",
398
+ deployLoginToken: "使用 API 密钥登录(提示时粘贴)",
399
+ deployRun: "在智能体工作的目录中为此智能体启动运行器",
400
+ deployOnline: "{count, plural, other {以下运行器在线,可以接手其运行:}}",
401
+ deployAnother: "启动另一个运行器",
402
+ copyCommand: "复制命令",
403
+ runDuration: "{minutes} 分钟",
404
+ askTitle: "让它去",
405
+ askTeam: "团队",
406
+ updateKnowledge: "更新知识库",
407
+ updateKnowledgeHint: "阅读团队的代码、问题和文档,补充缺少的术语,并对过时的术语提出修改,由你确认。",
408
+ start: "开始",
409
+ needsRunner: "有能接手其运行的运行器在线后即可开始。",
410
+ scanBugs: "查找缺陷",
411
+ scanBugsHint: "阅读团队的代码并报告发现的缺陷,跳过已报告的。只有你批准的才会成为问题。",
412
+ bugsToReview: "{count, plural, other {# 个待审核的缺陷报告}}",
413
+ approveAll: "全部批准",
414
+ approve: "批准",
415
+ editReport: "编辑",
416
+ dismissReport: "忽略",
417
+ fromScan: "来自 {identifier}",
418
+ bugFiled: "已创建 {identifier}",
419
+ bugsFiled: "{count, plural, other {已创建 # 个问题}}",
420
+ editReportTitle: "编辑缺陷报告",
421
+ reportTitle: "标题",
422
+ severityLabel: "严重程度",
423
+ severity: {
424
+ critical: "严重",
425
+ high: "高",
426
+ medium: "中",
427
+ low: "低"
428
+ }
391
429
  },
392
430
  agents: {
393
431
  measures: "指标",
@@ -679,7 +717,9 @@ var e = {
679
717
  hint: "按 Enter 创建,按 ⌘ Enter 创建并打开",
680
718
  create: "创建议题",
681
719
  noTeamAskAdmin: "议题归属于某个团队。请让工作区管理员创建一个。",
682
- noTeamMatches: "没有匹配的团队。"
720
+ noTeamMatches: "没有匹配的团队。",
721
+ created: "已创建 {identifier}",
722
+ hintOpens: "按 Enter 创建并打开"
683
723
  },
684
724
  issueMenu: {
685
725
  moveToTeam: "移到团队",
@@ -1651,7 +1691,11 @@ var e = {
1651
1691
  editDetails: "编辑详情",
1652
1692
  attachHint: "将截图粘贴或拖放到页面中。",
1653
1693
  archivedNotice: "此条目已归档。",
1654
- doc: "文档"
1694
+ doc: "文档",
1695
+ suggestsChange: "建议修改 {name}",
1696
+ confirm: "确认",
1697
+ confirmChange: "确认修改",
1698
+ dismiss: "忽略"
1655
1699
  },
1656
1700
  github: {
1657
1701
  accountTitle: "GitHub",
@@ -3588,12 +3632,14 @@ var e = {
3588
3632
  units: {
3589
3633
  issues: "问题",
3590
3634
  points: "点数",
3591
- days: "天"
3635
+ days: "天",
3636
+ people: "人"
3592
3637
  },
3593
3638
  group: "分组",
3594
3639
  series: {
3595
3640
  created: "已创建",
3596
- completed: "已完成"
3641
+ completed: "已完成",
3642
+ total: "总计"
3597
3643
  },
3598
3644
  empty: "没有匹配的问题。",
3599
3645
  priorities: {
@@ -3617,13 +3663,16 @@ var e = {
3617
3663
  other: "其他",
3618
3664
  pie: "各组占比",
3619
3665
  overTime: "按周",
3666
+ overTimeDaily: "按天",
3620
3667
  week: "周",
3668
+ day: "日期",
3621
3669
  issuesCount: "问题",
3622
3670
  measures: {
3623
3671
  count: "问题数",
3624
3672
  created_completed: "创建与完成",
3625
3673
  open: "未完成问题趋势",
3626
3674
  throughput: "每周完成数",
3675
+ active_users: "每日活跃用户",
3627
3676
  cycle_time: "周期时间(中位数)",
3628
3677
  lead_time: "交付时间(中位数)",
3629
3678
  estimate: "估算(点数)",
@@ -3662,6 +3711,7 @@ var e = {
3662
3711
  },
3663
3712
  weeks: "范围",
3664
3713
  weeksValue: "{count, plural, other {# 周}}",
3714
+ daysCount: "{count, plural, other {#天}}",
3665
3715
  issuesFrom: "问题",
3666
3716
  filtersBelow: "以下筛选",
3667
3717
  team: "团队",
package/api/queries.js CHANGED
@@ -486,7 +486,8 @@ var a = i({
486
486
  params: s(e),
487
487
  body: {
488
488
  chart: r,
489
- spec: a
489
+ spec: a,
490
+ timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone
490
491
  },
491
492
  signal: i
492
493
  })),
@@ -0,0 +1,97 @@
1
+ import { api as e, unwrap as t } from "../api/client.js";
2
+ import { myTeamsQuery as n, runnersQuery as r } from "../api/queries.js";
3
+ import { runnersFor as i } from "../lib/agents.js";
4
+ import { useNavigate as a } from "../lib/router.js";
5
+ import { Button as o, Card as s, Select as c, toast as l } from "@parallelworks/ui";
6
+ import { useState as u } from "react";
7
+ import { useErrorMessage as d } from "@parallelworks/problem/react";
8
+ import { useTranslations as f } from "use-intl";
9
+ import { jsx as p, jsxs as m } from "react/jsx-runtime";
10
+ import { useMutation as h, useQuery as g } from "@tanstack/react-query";
11
+ // src/components/AgentActions.tsx
12
+ function _({ workspace: _, agent: v }) {
13
+ let y = f("agent"), b = d(), x = a(), { data: S = [] } = g(r(_)), { data: C = [] } = g(n(_)), w = C.filter((e) => !e.archivedAt), [T, E] = u(), D = T ?? w[0]?.key, O = i(v, S).some((e) => e.online), k = h({
14
+ mutationFn: async ({ action: n, key: r }) => {
15
+ let i = { path: {
16
+ workspace: _,
17
+ key: r
18
+ } }, a = { agent: v.slug };
19
+ return t(n === "knowledge" ? await e.POST("/api/v1/workspaces/{workspace}/teams/{key}/knowledge/agent", {
20
+ params: i,
21
+ body: a
22
+ }) : await e.POST("/api/v1/workspaces/{workspace}/teams/{key}/bugs/agent", {
23
+ params: i,
24
+ body: a
25
+ }));
26
+ },
27
+ onSuccess: (e) => x({
28
+ to: "/$workspace/issues/$identifier",
29
+ params: {
30
+ workspace: _,
31
+ identifier: e.identifier
32
+ }
33
+ }),
34
+ onError: (e) => l.error(b(e))
35
+ }), A = [{
36
+ action: "knowledge",
37
+ title: y("updateKnowledge"),
38
+ hint: y("updateKnowledgeHint")
39
+ }, {
40
+ action: "bugs",
41
+ title: y("scanBugs"),
42
+ hint: y("scanBugsHint")
43
+ }];
44
+ return w.length === 0 ? null : /* @__PURE__ */ m(s, {
45
+ "aria-labelledby": "agent-ask",
46
+ className: "w-full max-w-3xl space-y-4",
47
+ children: [
48
+ /* @__PURE__ */ m("div", {
49
+ className: "flex flex-wrap items-center justify-between gap-3",
50
+ children: [/* @__PURE__ */ p("h2", {
51
+ id: "agent-ask",
52
+ className: "text-base font-semibold",
53
+ children: y("askTitle")
54
+ }), /* @__PURE__ */ p(c, {
55
+ value: D ?? "",
56
+ items: w.map((e) => ({
57
+ value: e.key,
58
+ label: e.name
59
+ })),
60
+ onValueChange: (e) => E(e),
61
+ "aria-label": y("askTeam"),
62
+ width: "content"
63
+ })]
64
+ }),
65
+ /* @__PURE__ */ p("ul", {
66
+ className: "divide-y divide-border",
67
+ children: A.map((e) => /* @__PURE__ */ m("li", {
68
+ className: "flex flex-wrap items-center gap-3 py-3 first:pt-0 last:pb-0",
69
+ children: [/* @__PURE__ */ m("div", {
70
+ className: "min-w-0 flex-1",
71
+ children: [/* @__PURE__ */ p("p", {
72
+ className: "text-sm font-medium",
73
+ children: e.title
74
+ }), /* @__PURE__ */ p("p", {
75
+ className: "text-sm text-pretty text-muted-foreground",
76
+ children: e.hint
77
+ })]
78
+ }), /* @__PURE__ */ p(o, {
79
+ disabled: !O || !D || k.isPending,
80
+ loading: k.isPending && k.variables?.action === e.action,
81
+ onClick: () => D && k.mutate({
82
+ action: e.action,
83
+ key: D
84
+ }),
85
+ "aria-label": `${y("start")}: ${e.title}`,
86
+ children: y("start")
87
+ })]
88
+ }, e.action))
89
+ }),
90
+ !O && /* @__PURE__ */ p("p", {
91
+ className: "text-xs text-muted-foreground",
92
+ children: y("needsRunner")
93
+ })
94
+ ]
95
+ });
96
+ }
97
+ export { _ as AgentActions };