@fbincon/claude-code-statusline 3.5.0 → 3.6.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/README.md +74 -73
- package/candidate.json +318 -248
- package/node_modules/@fbincon/statusline-cli/dist/src/config/profiles.js +2 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/config/profiles.js.map +1 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.js +5 -3
- package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.js.map +1 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/service.js +24 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/service.js.map +1 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/help.js +3 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/help.js.map +1 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/main.js +19 -3
- package/node_modules/@fbincon/statusline-cli/dist/src/main.js.map +1 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/recovery/journal.js +1 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/recovery/journal.js.map +1 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/rendering/environment.js +46 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/rendering/environment.js.map +1 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/sources/command.d.ts +3 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/sources/command.js +117 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/sources/command.js.map +1 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/sources/context.d.ts +4 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/sources/context.js +35 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/sources/context.js.map +1 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/sources/providers.d.ts +8 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/sources/providers.js +118 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/sources/providers.js.map +1 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/sources/service.d.ts +35 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/sources/service.js +359 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/sources/service.js.map +1 -0
- package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.d.ts +2 -2
- package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.js +30 -1
- package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.js.map +1 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/.claude-plugin/plugin.json +1 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/hooks/register.ts +15 -5
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/backend.ts +8 -5
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/keys.ts +6 -2
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/settings.ts +1 -0
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/appearance.ts +24 -6
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/draft.ts +2 -0
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/forms.ts +1 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/source-manager.ts +301 -0
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/source-validation.ts +45 -0
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/generated-contracts.ts +79 -8
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/generated-locales.ts +738 -6
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/session.ts +2 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/resource-manifest.json +18 -16
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/draw.ts +5 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/help.ts +1 -0
- package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/.claude-plugin/plugin.json +1 -1
- package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/resource-manifest.json +3 -3
- package/node_modules/@fbincon/statusline-core/dist/src/config/catalog-data.d.ts +91 -0
- package/node_modules/@fbincon/statusline-core/dist/src/config/catalog-data.js +250 -0
- package/node_modules/@fbincon/statusline-core/dist/src/config/catalog-data.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/defaults.js +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/defaults.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/display.d.ts +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/display.js +13 -6
- package/node_modules/@fbincon/statusline-core/dist/src/config/display.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/editor-fields.js +7 -10
- package/node_modules/@fbincon/statusline-core/dist/src/config/editor-fields.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/formatting.js +4 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/formatting.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/import-review.js +4 -2
- package/node_modules/@fbincon/statusline-core/dist/src/config/import-review.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/instances.js +7 -2
- package/node_modules/@fbincon/statusline-core/dist/src/config/instances.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/profiles.js +2 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/profiles.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/config/transfer.js +5 -3
- package/node_modules/@fbincon/statusline-core/dist/src/config/transfer.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.d.ts +2 -2
- package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.js +2 -2
- package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.d.ts +134 -6
- package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js +2 -2
- package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/appearance.d.ts +4 -2
- package/node_modules/@fbincon/statusline-core/dist/src/editor/appearance.js +29 -6
- package/node_modules/@fbincon/statusline-core/dist/src/editor/appearance.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js +10 -5
- package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.d.ts +2 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/forms.js +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/forms.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/editor/source-manager.d.ts +39 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/source-manager.js +270 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/source-manager.js.map +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/source-validation.d.ts +2 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/source-validation.js +45 -0
- package/node_modules/@fbincon/statusline-core/dist/src/editor/source-validation.js.map +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/extensions/model.d.ts +27 -0
- package/node_modules/@fbincon/statusline-core/dist/src/extensions/model.js +222 -0
- package/node_modules/@fbincon/statusline-core/dist/src/extensions/model.js.map +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/extensions/portable.d.ts +3 -0
- package/node_modules/@fbincon/statusline-core/dist/src/extensions/portable.js +6 -0
- package/node_modules/@fbincon/statusline-core/dist/src/extensions/portable.js.map +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.d.ts +732 -0
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js +738 -6
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/en.d.ts +26 -0
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/en.js +27 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/en.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ja.d.ts +26 -0
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ja.js +27 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ja.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ko.d.ts +26 -0
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ko.js +27 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ko.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-CN.d.ts +26 -0
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-CN.js +27 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-CN.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-HK.d.ts +26 -0
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-HK.js +27 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-HK.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-TW.d.ts +26 -0
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-TW.js +27 -1
- package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-TW.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/release.d.ts +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/release.js +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/appearance.js +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/appearance.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/context.d.ts +3 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/diagnose.js +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/diagnose.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/explain.js +2 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/explain.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/extensions.d.ts +7 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/extensions.js +35 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/extensions.js.map +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/items.js +8 -2
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/items.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/layout.d.ts +3 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/layout.js +30 -9
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/layout.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/powerline.js +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/powerline.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/preview.js +3 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/preview.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/spans.d.ts +1 -0
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/spans.js +2 -2
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/spans.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/subagents.js +12 -1
- package/node_modules/@fbincon/statusline-core/dist/src/rendering/subagents.js.map +1 -1
- package/node_modules/@fbincon/statusline-core/dist/src/terminal/links.d.ts +6 -0
- package/node_modules/@fbincon/statusline-core/dist/src/terminal/links.js +37 -0
- package/node_modules/@fbincon/statusline-core/dist/src/terminal/links.js.map +1 -0
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/en.json +123 -1
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ja.json +123 -1
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ko.json +123 -1
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-CN.json +123 -1
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-HK.json +123 -1
- package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-TW.json +123 -1
- package/node_modules/@fbincon/statusline-platform/dist/src/posix-source-exec.d.ts +1 -0
- package/node_modules/@fbincon/statusline-platform/dist/src/posix-source-exec.js +26 -0
- package/node_modules/@fbincon/statusline-platform/dist/src/posix-source-exec.js.map +1 -0
- package/node_modules/@fbincon/statusline-platform/dist/src/source-files.d.ts +2 -0
- package/node_modules/@fbincon/statusline-platform/dist/src/source-files.js +37 -0
- package/node_modules/@fbincon/statusline-platform/dist/src/source-files.js.map +1 -0
- package/node_modules/@fbincon/statusline-platform/dist/src/source-process.d.ts +19 -0
- package/node_modules/@fbincon/statusline-platform/dist/src/source-process.js +122 -0
- package/node_modules/@fbincon/statusline-platform/dist/src/source-process.js.map +1 -0
- package/node_modules/@fbincon/statusline-platform/dist/src/windows-source-environment.d.ts +4 -0
- package/node_modules/@fbincon/statusline-platform/dist/src/windows-source-environment.js +61 -0
- package/node_modules/@fbincon/statusline-platform/dist/src/windows-source-environment.js.map +1 -0
- package/node_modules/@fbincon/statusline-platform/dist/src/windows-source-job.d.ts +3 -0
- package/node_modules/@fbincon/statusline-platform/dist/src/windows-source-job.js +61 -0
- package/node_modules/@fbincon/statusline-platform/dist/src/windows-source-job.js.map +1 -0
- package/node_modules/@fbincon/statusline-tui/dist/src/drawing/canvas.js +3 -2
- package/node_modules/@fbincon/statusline-tui/dist/src/drawing/canvas.js.map +1 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/drawing/pages.js +5 -0
- package/node_modules/@fbincon/statusline-tui/dist/src/drawing/pages.js.map +1 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/drawing/presentation.js +2 -0
- package/node_modules/@fbincon/statusline-tui/dist/src/drawing/presentation.js.map +1 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/drawing/shortcuts.js +2 -0
- package/node_modules/@fbincon/statusline-tui/dist/src/drawing/shortcuts.js.map +1 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/drawing.js +1 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/drawing.js.map +1 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/session.js +6 -0
- package/node_modules/@fbincon/statusline-tui/dist/src/session.js.map +1 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/state.d.ts +1 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/state.js +12 -1
- package/node_modules/@fbincon/statusline-tui/dist/src/state.js.map +1 -1
- package/package.json +1 -1
|
@@ -1703,5 +1703,127 @@
|
|
|
1703
1703
|
"setup.value.requested": "활성화 요청",
|
|
1704
1704
|
"setup.value.disabled": "비활성화",
|
|
1705
1705
|
"setup.value.suspended": "중지됨",
|
|
1706
|
-
"setup.value.unknown": "알 수 없음"
|
|
1706
|
+
"setup.value.unknown": "알 수 없음",
|
|
1707
|
+
"sources.title": "데이터 소스",
|
|
1708
|
+
"sources.separate_save": "소스는 별도로 저장됩니다. 표시 연결은 표시 설정을 저장해야 합니다.",
|
|
1709
|
+
"sources.add": "소스 추가",
|
|
1710
|
+
"sources.edit": "편집 (소스 비활성화)",
|
|
1711
|
+
"sources.review": "검토 후 활성화",
|
|
1712
|
+
"sources.disable": "비활성화",
|
|
1713
|
+
"sources.enabled": "활성",
|
|
1714
|
+
"sources.disabled": "비활성",
|
|
1715
|
+
"sources.remove": "소스 삭제",
|
|
1716
|
+
"sources.bind": "표시 항목에 연결",
|
|
1717
|
+
"sources.unbind": "구성 요소 연결 해제",
|
|
1718
|
+
"sources.refresh": "지금 새로 고침",
|
|
1719
|
+
"sources.status": "새로 고침 상태",
|
|
1720
|
+
"sources.cancel": "실행 중인 새로 고침 취소",
|
|
1721
|
+
"sources.diagnose": "소스 및 관측 확인",
|
|
1722
|
+
"sources.json": "로컬 JSON 파일",
|
|
1723
|
+
"sources.github": "GitHub PR 및 검사",
|
|
1724
|
+
"sources.command": "실행 프로그램 및 인수",
|
|
1725
|
+
"sources.save": "소스 저장",
|
|
1726
|
+
"sources.reload": "소스 다시 로드",
|
|
1727
|
+
"sources.empty": "등록된 로컬 소스가 없습니다.",
|
|
1728
|
+
"sources.saved": "저장했습니다. 변경된 소스를 활성화하려면 다시 검토하세요.",
|
|
1729
|
+
"sources.bound": "표시 초안에 연결했습니다. 표시 설정을 저장하세요.",
|
|
1730
|
+
"sources.failed": "소스 작업에 실패했습니다. 입력 또는 현재 상태를 확인하세요.",
|
|
1731
|
+
"sources.refresh_started": "새로 고침을 시작했습니다. 상태 확인 및 취소가 가능합니다. 닫으면 미완료 작업이 취소됩니다.",
|
|
1732
|
+
"sources.form_help": "Tab/Enter: 다음 입력 · Ctrl+S: 비활성 상태로 저장",
|
|
1733
|
+
"sources.no_components": "메인 또는 하위 에이전트에 외부 항목을 먼저 추가하세요.",
|
|
1734
|
+
"sources.remove_confirm": "Enter로 로컬 소스 및 연결 삭제:",
|
|
1735
|
+
"sources.enable_review": "모든 항목을 검토하세요. Enter로 이 버전을 활성화하고 Esc로 취소합니다.",
|
|
1736
|
+
"sources.help": "명시적으로 활성화한 소스를 관리합니다. 수동 새로 고침만 명령 및 네트워크 조회를 실행합니다.",
|
|
1737
|
+
"sources.field.id": "소스 ID",
|
|
1738
|
+
"sources.field.name": "이름",
|
|
1739
|
+
"sources.field.project": "프로젝트 / worktree 경로",
|
|
1740
|
+
"sources.field.session": "세션 ID (선택)",
|
|
1741
|
+
"sources.field.agent": "에이전트 ID (선택)",
|
|
1742
|
+
"sources.field.ttl_seconds": "유효 기간 (초)",
|
|
1743
|
+
"sources.field.path": "JSON 파일 경로",
|
|
1744
|
+
"sources.field.pointer": "값 JSON Pointer",
|
|
1745
|
+
"sources.field.observed_at_pointer": "관측 시각 JSON Pointer",
|
|
1746
|
+
"sources.field.unit": "단위 (선택)",
|
|
1747
|
+
"sources.field.host": "GitHub 호스트 이름",
|
|
1748
|
+
"sources.field.repository": "저장소 (owner/name)",
|
|
1749
|
+
"sources.field.branch": "브랜치",
|
|
1750
|
+
"sources.field.account": "GitHub 계정",
|
|
1751
|
+
"sources.field.pr": "PR 번호 (선택)",
|
|
1752
|
+
"sources.field.executable": "실행 프로그램",
|
|
1753
|
+
"sources.field.args": "인수 (JSON 배열)",
|
|
1754
|
+
"sources.field.cwd": "작업 디렉터리",
|
|
1755
|
+
"sources.field.input": "입력 필드 (JSON 매핑)",
|
|
1756
|
+
"sources.field.output": "출력: json / text",
|
|
1757
|
+
"sources.field.timeout_ms": "제한 시간 (밀리초)",
|
|
1758
|
+
"statusline.source.value": "외부 값",
|
|
1759
|
+
"statusline.source.unbound": "연결 안 됨",
|
|
1760
|
+
"statusline.source.disabled": "비활성",
|
|
1761
|
+
"statusline.source.mismatch": "범위 불일치",
|
|
1762
|
+
"statusline.source.missing": "누락",
|
|
1763
|
+
"statusline.source.partial": "일부",
|
|
1764
|
+
"statusline.source.error": "오류",
|
|
1765
|
+
"statusline.source.unsupported": "지원 안 됨",
|
|
1766
|
+
"statusline.source.stale": "만료",
|
|
1767
|
+
"statusline.source.unknown": "시각 알 수 없음",
|
|
1768
|
+
"statusline.source.unknown_checks": "검사 상태 불명",
|
|
1769
|
+
"statusline.source.no_pr": "PR 없음",
|
|
1770
|
+
"statusline.source.no_checks": "검사 없음",
|
|
1771
|
+
"statusline.source.failure": "실패",
|
|
1772
|
+
"statusline.source.pending": "대기 중",
|
|
1773
|
+
"statusline.source.success": "통과",
|
|
1774
|
+
"statusline.source.cancelled": "취소됨",
|
|
1775
|
+
"statusline.source.skipped": "건너뜀",
|
|
1776
|
+
"sources.error.invalid": "소스 설정이 유효하지 않습니다",
|
|
1777
|
+
"sources.error.pointer": "JSON Pointer가 유효하지 않습니다",
|
|
1778
|
+
"sources.error.input": "지원하지 않는 입력 매핑입니다",
|
|
1779
|
+
"sources.error.scope": "소스 범위가 일치하지 않습니다",
|
|
1780
|
+
"sources.error.version": "지원하지 않는 관측 버전입니다",
|
|
1781
|
+
"sources.error.time": "관측 시각이 유효하지 않습니다",
|
|
1782
|
+
"sources.error.type": "스칼라 값이 필요합니다",
|
|
1783
|
+
"sources.error.not_found": "소스 또는 새로 고침을 찾을 수 없습니다",
|
|
1784
|
+
"sources.error.conflict": "설정이 변경되었습니다. 다시 로드하세요",
|
|
1785
|
+
"sources.error.review": "활성화 전에 이 버전을 검토하세요",
|
|
1786
|
+
"sources.error.binding": "호환되는 외부 항목을 선택하세요",
|
|
1787
|
+
"sources.error.disabled": "소스가 비활성화되었습니다",
|
|
1788
|
+
"sources.error.busy": "새로 고침이 이미 실행 중입니다",
|
|
1789
|
+
"sources.error.output_limit": "출력이 1 MiB를 초과했습니다",
|
|
1790
|
+
"sources.error.missing_program": "실행 프로그램을 찾을 수 없습니다",
|
|
1791
|
+
"sources.error.missing_file": "JSON 파일을 찾을 수 없습니다",
|
|
1792
|
+
"sources.error.timeout": "새로 고침 제한 시간을 초과했습니다",
|
|
1793
|
+
"sources.error.cancelled": "새로 고침이 취소되었습니다",
|
|
1794
|
+
"sources.error.identity": "저장소, 계정, 브랜치 또는 HEAD가 변경되었습니다",
|
|
1795
|
+
"sources.error.account": "GitHub 계정이 일치하지 않습니다",
|
|
1796
|
+
"sources.error.ambiguous": "PR 번호를 명시적으로 선택하세요",
|
|
1797
|
+
"sources.error.lookup_failed": "GitHub 조회에 실패했습니다",
|
|
1798
|
+
"sources.error.invalid_output": "소스 출력이 유효하지 않습니다",
|
|
1799
|
+
"sources.error.read_error": "소스 파일을 읽을 수 없습니다",
|
|
1800
|
+
"sources.error.refresh_failed": "새로 고침에 실패했습니다",
|
|
1801
|
+
"sources.error.authentication": "GitHub 인증을 사용할 수 없습니다",
|
|
1802
|
+
"sources.error.permission": "GitHub 접근이 거부되었습니다",
|
|
1803
|
+
"sources.error.network": "GitHub 네트워크 요청에 실패했습니다",
|
|
1804
|
+
"sources.error.rate_limit": "GitHub 요청 한도를 초과했습니다",
|
|
1805
|
+
"fields.item.link.label": "링크",
|
|
1806
|
+
"settings.sources": "데이터 소스",
|
|
1807
|
+
"native.settings.sources": "데이터 소스",
|
|
1808
|
+
"ui.actions.sources": "데이터 소스",
|
|
1809
|
+
"cli.help.source_management": "데이터 소스",
|
|
1810
|
+
"catalog.categories.extensions": "데이터 소스",
|
|
1811
|
+
"items.main.external-value.label": "외부 값",
|
|
1812
|
+
"items.main.external-value.description": "명시적으로 활성화한 소스를 관리합니다. 수동 새로 고침만 명령 및 네트워크 조회를 실행합니다.",
|
|
1813
|
+
"statusline.prefix.main.external-value": "외부 값",
|
|
1814
|
+
"statusline.short.main.external-value": "외부 값",
|
|
1815
|
+
"items.subagent.external-value.label": "외부 값",
|
|
1816
|
+
"items.subagent.external-value.description": "명시적으로 활성화한 소스를 관리합니다. 수동 새로 고침만 명령 및 네트워크 조회를 실행합니다.",
|
|
1817
|
+
"statusline.prefix.subagent.external-value": "외부 값",
|
|
1818
|
+
"statusline.short.subagent.external-value": "외부 값",
|
|
1819
|
+
"items.main.github-pr.label": "GitHub PR",
|
|
1820
|
+
"items.main.github-pr.description": "명시적으로 활성화한 소스를 관리합니다. 수동 새로 고침만 명령 및 네트워크 조회를 실행합니다.",
|
|
1821
|
+
"statusline.prefix.main.github-pr": "GitHub PR",
|
|
1822
|
+
"statusline.short.main.github-pr": "GitHub PR",
|
|
1823
|
+
"items.main.github-ci.label": "GitHub CI",
|
|
1824
|
+
"items.main.github-ci.description": "명시적으로 활성화한 소스를 관리합니다. 수동 새로 고침만 명령 및 네트워크 조회를 실행합니다.",
|
|
1825
|
+
"statusline.prefix.main.github-ci": "GitHub CI",
|
|
1826
|
+
"statusline.short.main.github-ci": "GitHub CI",
|
|
1827
|
+
"explain.reason.source_bound": "로컬 소스가 연결되었습니다. 활성화 및 실제 관측 상태는 별도로 확인합니다。",
|
|
1828
|
+
"explain.reason.source_unbound": "로컬 소스를 명시적으로 연결하세요. 샘플은 실제 데이터가 아닙니다."
|
|
1707
1829
|
}
|
|
@@ -1703,5 +1703,127 @@
|
|
|
1703
1703
|
"setup.value.requested": "请求启用",
|
|
1704
1704
|
"setup.value.disabled": "已关闭",
|
|
1705
1705
|
"setup.value.suspended": "已暂停",
|
|
1706
|
-
"setup.value.unknown": "未知"
|
|
1706
|
+
"setup.value.unknown": "未知",
|
|
1707
|
+
"sources.title": "数据源",
|
|
1708
|
+
"sources.separate_save": "数据源独立保存;显示绑定仍需保存显示配置。",
|
|
1709
|
+
"sources.add": "添加数据源",
|
|
1710
|
+
"sources.edit": "编辑(停用数据源)",
|
|
1711
|
+
"sources.review": "审查并启用",
|
|
1712
|
+
"sources.disable": "停用",
|
|
1713
|
+
"sources.enabled": "已启用",
|
|
1714
|
+
"sources.disabled": "已停用",
|
|
1715
|
+
"sources.remove": "删除数据源",
|
|
1716
|
+
"sources.bind": "绑定到组件",
|
|
1717
|
+
"sources.unbind": "解除组件绑定",
|
|
1718
|
+
"sources.refresh": "立即刷新",
|
|
1719
|
+
"sources.status": "刷新状态",
|
|
1720
|
+
"sources.cancel": "取消正在进行的刷新",
|
|
1721
|
+
"sources.diagnose": "查看来源和观测",
|
|
1722
|
+
"sources.json": "本地 JSON 文件",
|
|
1723
|
+
"sources.github": "GitHub PR 与检查",
|
|
1724
|
+
"sources.command": "指定程序和参数",
|
|
1725
|
+
"sources.save": "保存数据源",
|
|
1726
|
+
"sources.reload": "重新加载数据源",
|
|
1727
|
+
"sources.empty": "尚未注册本地数据源。",
|
|
1728
|
+
"sources.saved": "数据源已保存;更改后需重新审查才能启用。",
|
|
1729
|
+
"sources.bound": "已绑定到显示草稿;保存显示配置后生效。",
|
|
1730
|
+
"sources.failed": "数据源操作失败;请检查字段或重新加载当前状态。",
|
|
1731
|
+
"sources.refresh_started": "已开始刷新。可查看状态或取消;关闭将取消未完成的刷新。",
|
|
1732
|
+
"sources.form_help": "Tab/Enter:下一字段 · Ctrl+S:保存为停用状态",
|
|
1733
|
+
"sources.no_components": "请先在主状态栏或子代理页添加外部组件。",
|
|
1734
|
+
"sources.remove_confirm": "Enter 删除此本地数据源及其绑定:",
|
|
1735
|
+
"sources.enable_review": "请审查全部字段。Enter 启用此修订;Esc 取消。",
|
|
1736
|
+
"sources.help": "管理本机按需启用的数据源。显式刷新;渲染不会执行命令或网络查询。",
|
|
1737
|
+
"sources.field.id": "数据源 ID",
|
|
1738
|
+
"sources.field.name": "名称",
|
|
1739
|
+
"sources.field.project": "项目 / worktree 路径",
|
|
1740
|
+
"sources.field.session": "会话 ID(可选)",
|
|
1741
|
+
"sources.field.agent": "子代理 ID(可选)",
|
|
1742
|
+
"sources.field.ttl_seconds": "有效期(秒)",
|
|
1743
|
+
"sources.field.path": "JSON 文件路径",
|
|
1744
|
+
"sources.field.pointer": "数值 JSON Pointer",
|
|
1745
|
+
"sources.field.observed_at_pointer": "观察时间 JSON Pointer",
|
|
1746
|
+
"sources.field.unit": "单位(可选)",
|
|
1747
|
+
"sources.field.host": "GitHub 主机名",
|
|
1748
|
+
"sources.field.repository": "仓库(owner/name)",
|
|
1749
|
+
"sources.field.branch": "分支",
|
|
1750
|
+
"sources.field.account": "GitHub 账号",
|
|
1751
|
+
"sources.field.pr": "PR 编号(可选)",
|
|
1752
|
+
"sources.field.executable": "可执行程序",
|
|
1753
|
+
"sources.field.args": "参数(JSON 数组)",
|
|
1754
|
+
"sources.field.cwd": "工作目录",
|
|
1755
|
+
"sources.field.input": "输入字段(JSON 映射)",
|
|
1756
|
+
"sources.field.output": "输出:json / text",
|
|
1757
|
+
"sources.field.timeout_ms": "超时(毫秒)",
|
|
1758
|
+
"statusline.source.value": "外部值",
|
|
1759
|
+
"statusline.source.unbound": "未绑定",
|
|
1760
|
+
"statusline.source.disabled": "已停用",
|
|
1761
|
+
"statusline.source.mismatch": "范围不符",
|
|
1762
|
+
"statusline.source.missing": "缺失",
|
|
1763
|
+
"statusline.source.partial": "部分结果",
|
|
1764
|
+
"statusline.source.error": "错误",
|
|
1765
|
+
"statusline.source.unsupported": "不支持",
|
|
1766
|
+
"statusline.source.stale": "已过期",
|
|
1767
|
+
"statusline.source.unknown": "时间未知",
|
|
1768
|
+
"statusline.source.unknown_checks": "检查未知",
|
|
1769
|
+
"statusline.source.no_pr": "无 PR",
|
|
1770
|
+
"statusline.source.no_checks": "无检查",
|
|
1771
|
+
"statusline.source.failure": "失败",
|
|
1772
|
+
"statusline.source.pending": "等待中",
|
|
1773
|
+
"statusline.source.success": "通过",
|
|
1774
|
+
"statusline.source.cancelled": "已取消",
|
|
1775
|
+
"statusline.source.skipped": "已跳过",
|
|
1776
|
+
"sources.error.invalid": "数据源配置无效",
|
|
1777
|
+
"sources.error.pointer": "JSON Pointer 无效",
|
|
1778
|
+
"sources.error.input": "不支持的输入映射",
|
|
1779
|
+
"sources.error.scope": "数据源范围不匹配",
|
|
1780
|
+
"sources.error.version": "不支持的观测版本",
|
|
1781
|
+
"sources.error.time": "观察时间无效",
|
|
1782
|
+
"sources.error.type": "需要标量值",
|
|
1783
|
+
"sources.error.not_found": "未找到数据源或刷新任务",
|
|
1784
|
+
"sources.error.conflict": "数据源配置已变化,请重新加载",
|
|
1785
|
+
"sources.error.review": "启用前请审查此修订",
|
|
1786
|
+
"sources.error.binding": "请选择兼容的外部组件",
|
|
1787
|
+
"sources.error.disabled": "数据源已停用",
|
|
1788
|
+
"sources.error.busy": "已有刷新正在运行",
|
|
1789
|
+
"sources.error.output_limit": "输出超过 1 MiB",
|
|
1790
|
+
"sources.error.missing_program": "未找到可执行程序",
|
|
1791
|
+
"sources.error.missing_file": "未找到 JSON 文件",
|
|
1792
|
+
"sources.error.timeout": "刷新超时",
|
|
1793
|
+
"sources.error.cancelled": "刷新已取消",
|
|
1794
|
+
"sources.error.identity": "仓库、账号、分支或 HEAD 已变化",
|
|
1795
|
+
"sources.error.account": "当前 GitHub 账号不匹配",
|
|
1796
|
+
"sources.error.ambiguous": "请明确选择 PR 编号",
|
|
1797
|
+
"sources.error.lookup_failed": "GitHub 查询失败",
|
|
1798
|
+
"sources.error.invalid_output": "数据源输出无效",
|
|
1799
|
+
"sources.error.read_error": "无法读取数据源文件",
|
|
1800
|
+
"sources.error.refresh_failed": "刷新失败",
|
|
1801
|
+
"sources.error.authentication": "GitHub 认证不可用",
|
|
1802
|
+
"sources.error.permission": "GitHub 访问被拒绝",
|
|
1803
|
+
"sources.error.network": "GitHub 网络请求失败",
|
|
1804
|
+
"sources.error.rate_limit": "GitHub 请求次数超限",
|
|
1805
|
+
"fields.item.link.label": "链接",
|
|
1806
|
+
"settings.sources": "数据源",
|
|
1807
|
+
"native.settings.sources": "数据源",
|
|
1808
|
+
"ui.actions.sources": "数据源",
|
|
1809
|
+
"cli.help.source_management": "数据源",
|
|
1810
|
+
"catalog.categories.extensions": "数据源",
|
|
1811
|
+
"items.main.external-value.label": "外部值",
|
|
1812
|
+
"items.main.external-value.description": "管理本机按需启用的数据源。显式刷新;渲染不会执行命令或网络查询。",
|
|
1813
|
+
"statusline.prefix.main.external-value": "外部值",
|
|
1814
|
+
"statusline.short.main.external-value": "外部值",
|
|
1815
|
+
"items.subagent.external-value.label": "外部值",
|
|
1816
|
+
"items.subagent.external-value.description": "管理本机按需启用的数据源。显式刷新;渲染不会执行命令或网络查询。",
|
|
1817
|
+
"statusline.prefix.subagent.external-value": "外部值",
|
|
1818
|
+
"statusline.short.subagent.external-value": "外部值",
|
|
1819
|
+
"items.main.github-pr.label": "GitHub PR",
|
|
1820
|
+
"items.main.github-pr.description": "管理本机按需启用的数据源。显式刷新;渲染不会执行命令或网络查询。",
|
|
1821
|
+
"statusline.prefix.main.github-pr": "GitHub PR",
|
|
1822
|
+
"statusline.short.main.github-pr": "GitHub PR",
|
|
1823
|
+
"items.main.github-ci.label": "GitHub CI",
|
|
1824
|
+
"items.main.github-ci.description": "管理本机按需启用的数据源。显式刷新;渲染不会执行命令或网络查询。",
|
|
1825
|
+
"statusline.prefix.main.github-ci": "GitHub CI",
|
|
1826
|
+
"statusline.short.main.github-ci": "GitHub CI",
|
|
1827
|
+
"explain.reason.source_bound": "已绑定本地数据源;启用状态与实际可用性需另行检查。",
|
|
1828
|
+
"explain.reason.source_unbound": "请主动绑定本地数据源;样例不代表真实数据。"
|
|
1707
1829
|
}
|
|
@@ -1703,5 +1703,127 @@
|
|
|
1703
1703
|
"setup.value.requested": "要求啟用",
|
|
1704
1704
|
"setup.value.disabled": "已關閉",
|
|
1705
1705
|
"setup.value.suspended": "已暫停",
|
|
1706
|
-
"setup.value.unknown": "未知"
|
|
1706
|
+
"setup.value.unknown": "未知",
|
|
1707
|
+
"sources.title": "資料來源",
|
|
1708
|
+
"sources.separate_save": "資料來源獨立儲存;顯示綁定仍需儲存顯示設定。",
|
|
1709
|
+
"sources.add": "新增資料來源",
|
|
1710
|
+
"sources.edit": "編輯(停用資料來源)",
|
|
1711
|
+
"sources.review": "檢視並啟用",
|
|
1712
|
+
"sources.disable": "停用",
|
|
1713
|
+
"sources.enabled": "已啟用",
|
|
1714
|
+
"sources.disabled": "已停用",
|
|
1715
|
+
"sources.remove": "刪除資料來源",
|
|
1716
|
+
"sources.bind": "綁定至元件",
|
|
1717
|
+
"sources.unbind": "解除元件綁定",
|
|
1718
|
+
"sources.refresh": "立即重新整理",
|
|
1719
|
+
"sources.status": "重新整理狀態",
|
|
1720
|
+
"sources.cancel": "取消執行中的重新整理",
|
|
1721
|
+
"sources.diagnose": "檢視來源與觀測",
|
|
1722
|
+
"sources.json": "本機 JSON 檔案",
|
|
1723
|
+
"sources.github": "GitHub PR 與檢查",
|
|
1724
|
+
"sources.command": "指定程式與參數",
|
|
1725
|
+
"sources.save": "儲存資料來源",
|
|
1726
|
+
"sources.reload": "重新載入資料來源",
|
|
1727
|
+
"sources.empty": "尚未註冊本機資料來源。",
|
|
1728
|
+
"sources.saved": "資料來源已儲存;變更後須重新檢視才能啟用。",
|
|
1729
|
+
"sources.bound": "已綁定至顯示草稿;儲存顯示設定後生效。",
|
|
1730
|
+
"sources.failed": "資料來源操作失敗;請檢查欄位或重新載入目前狀態。",
|
|
1731
|
+
"sources.refresh_started": "已開始重新整理。可檢視狀態或取消;關閉會取消未完成的工作。",
|
|
1732
|
+
"sources.form_help": "Tab/Enter:下一欄位 · Ctrl+S:儲存為停用狀態",
|
|
1733
|
+
"sources.no_components": "請先在主狀態列或子代理頁新增外部元件。",
|
|
1734
|
+
"sources.remove_confirm": "Enter 刪除此本機資料來源與綁定:",
|
|
1735
|
+
"sources.enable_review": "請檢視全部欄位。Enter 啟用此修訂;Esc 取消。",
|
|
1736
|
+
"sources.help": "管理本機明確啟用的資料來源。手動重新整理;繪製不執行命令或網絡查詢。",
|
|
1737
|
+
"sources.field.id": "資料來源 ID",
|
|
1738
|
+
"sources.field.name": "名稱",
|
|
1739
|
+
"sources.field.project": "專案 / worktree 路徑",
|
|
1740
|
+
"sources.field.session": "工作階段 ID(選填)",
|
|
1741
|
+
"sources.field.agent": "子代理 ID(選填)",
|
|
1742
|
+
"sources.field.ttl_seconds": "有效期限(秒)",
|
|
1743
|
+
"sources.field.path": "JSON 檔案路徑",
|
|
1744
|
+
"sources.field.pointer": "數值 JSON Pointer",
|
|
1745
|
+
"sources.field.observed_at_pointer": "觀察時間 JSON Pointer",
|
|
1746
|
+
"sources.field.unit": "單位(選填)",
|
|
1747
|
+
"sources.field.host": "GitHub 主機名稱",
|
|
1748
|
+
"sources.field.repository": "儲存庫(owner/name)",
|
|
1749
|
+
"sources.field.branch": "分支",
|
|
1750
|
+
"sources.field.account": "GitHub 帳戶",
|
|
1751
|
+
"sources.field.pr": "PR 編號(選填)",
|
|
1752
|
+
"sources.field.executable": "可執行程式",
|
|
1753
|
+
"sources.field.args": "參數(JSON 陣列)",
|
|
1754
|
+
"sources.field.cwd": "工作目錄",
|
|
1755
|
+
"sources.field.input": "輸入欄位(JSON 對應)",
|
|
1756
|
+
"sources.field.output": "輸出:json / text",
|
|
1757
|
+
"sources.field.timeout_ms": "逾時(毫秒)",
|
|
1758
|
+
"statusline.source.value": "外部值",
|
|
1759
|
+
"statusline.source.unbound": "未綁定",
|
|
1760
|
+
"statusline.source.disabled": "已停用",
|
|
1761
|
+
"statusline.source.mismatch": "範圍不符",
|
|
1762
|
+
"statusline.source.missing": "缺少",
|
|
1763
|
+
"statusline.source.partial": "部分結果",
|
|
1764
|
+
"statusline.source.error": "錯誤",
|
|
1765
|
+
"statusline.source.unsupported": "不支援",
|
|
1766
|
+
"statusline.source.stale": "已過期",
|
|
1767
|
+
"statusline.source.unknown": "時間未知",
|
|
1768
|
+
"statusline.source.unknown_checks": "檢查未知",
|
|
1769
|
+
"statusline.source.no_pr": "無 PR",
|
|
1770
|
+
"statusline.source.no_checks": "無檢查",
|
|
1771
|
+
"statusline.source.failure": "失敗",
|
|
1772
|
+
"statusline.source.pending": "等待中",
|
|
1773
|
+
"statusline.source.success": "通過",
|
|
1774
|
+
"statusline.source.cancelled": "已取消",
|
|
1775
|
+
"statusline.source.skipped": "已略過",
|
|
1776
|
+
"sources.error.invalid": "資料來源設定無效",
|
|
1777
|
+
"sources.error.pointer": "JSON Pointer 無效",
|
|
1778
|
+
"sources.error.input": "不支援的輸入對應",
|
|
1779
|
+
"sources.error.scope": "資料來源範圍不符",
|
|
1780
|
+
"sources.error.version": "不支援的觀測版本",
|
|
1781
|
+
"sources.error.time": "觀察時間無效",
|
|
1782
|
+
"sources.error.type": "需要純量值",
|
|
1783
|
+
"sources.error.not_found": "找不到資料來源或重新整理工作",
|
|
1784
|
+
"sources.error.conflict": "資料來源設定已變更,請重新載入",
|
|
1785
|
+
"sources.error.review": "啟用前請檢視此修訂",
|
|
1786
|
+
"sources.error.binding": "請選擇相容的外部元件",
|
|
1787
|
+
"sources.error.disabled": "資料來源已停用",
|
|
1788
|
+
"sources.error.busy": "已有重新整理工作執行中",
|
|
1789
|
+
"sources.error.output_limit": "輸出超過 1 MiB",
|
|
1790
|
+
"sources.error.missing_program": "找不到可執行程式",
|
|
1791
|
+
"sources.error.missing_file": "找不到 JSON 檔案",
|
|
1792
|
+
"sources.error.timeout": "重新整理逾時",
|
|
1793
|
+
"sources.error.cancelled": "重新整理已取消",
|
|
1794
|
+
"sources.error.identity": "儲存庫、帳號、分支或 HEAD 已變更",
|
|
1795
|
+
"sources.error.account": "目前 GitHub 帳號不符",
|
|
1796
|
+
"sources.error.ambiguous": "請明確選擇 PR 編號",
|
|
1797
|
+
"sources.error.lookup_failed": "GitHub 查詢失敗",
|
|
1798
|
+
"sources.error.invalid_output": "資料來源輸出無效",
|
|
1799
|
+
"sources.error.read_error": "無法讀取資料來源檔案",
|
|
1800
|
+
"sources.error.refresh_failed": "重新整理失敗",
|
|
1801
|
+
"sources.error.authentication": "GitHub 認證無法使用",
|
|
1802
|
+
"sources.error.permission": "GitHub 存取遭拒",
|
|
1803
|
+
"sources.error.network": "GitHub 網路要求失敗",
|
|
1804
|
+
"sources.error.rate_limit": "GitHub 請求次數超限",
|
|
1805
|
+
"fields.item.link.label": "連結",
|
|
1806
|
+
"settings.sources": "資料來源",
|
|
1807
|
+
"native.settings.sources": "資料來源",
|
|
1808
|
+
"ui.actions.sources": "資料來源",
|
|
1809
|
+
"cli.help.source_management": "資料來源",
|
|
1810
|
+
"catalog.categories.extensions": "資料來源",
|
|
1811
|
+
"items.main.external-value.label": "外部值",
|
|
1812
|
+
"items.main.external-value.description": "管理本機明確啟用的資料來源。手動重新整理;繪製不執行命令或網絡查詢。",
|
|
1813
|
+
"statusline.prefix.main.external-value": "外部值",
|
|
1814
|
+
"statusline.short.main.external-value": "外部值",
|
|
1815
|
+
"items.subagent.external-value.label": "外部值",
|
|
1816
|
+
"items.subagent.external-value.description": "管理本機明確啟用的資料來源。手動重新整理;繪製不執行命令或網絡查詢。",
|
|
1817
|
+
"statusline.prefix.subagent.external-value": "外部值",
|
|
1818
|
+
"statusline.short.subagent.external-value": "外部值",
|
|
1819
|
+
"items.main.github-pr.label": "GitHub PR",
|
|
1820
|
+
"items.main.github-pr.description": "管理本機明確啟用的資料來源。手動重新整理;繪製不執行命令或網絡查詢。",
|
|
1821
|
+
"statusline.prefix.main.github-pr": "GitHub PR",
|
|
1822
|
+
"statusline.short.main.github-pr": "GitHub PR",
|
|
1823
|
+
"items.main.github-ci.label": "GitHub CI",
|
|
1824
|
+
"items.main.github-ci.description": "管理本機明確啟用的資料來源。手動重新整理;繪製不執行命令或網絡查詢。",
|
|
1825
|
+
"statusline.prefix.main.github-ci": "GitHub CI",
|
|
1826
|
+
"statusline.short.main.github-ci": "GitHub CI",
|
|
1827
|
+
"explain.reason.source_bound": "已綁定本機資料來源;啟用狀態與實際可用性須另外檢查。",
|
|
1828
|
+
"explain.reason.source_unbound": "請明確綁定本機資料來源;範例不代表實際資料。"
|
|
1707
1829
|
}
|
|
@@ -1703,5 +1703,127 @@
|
|
|
1703
1703
|
"setup.value.requested": "要求啟用",
|
|
1704
1704
|
"setup.value.disabled": "已關閉",
|
|
1705
1705
|
"setup.value.suspended": "已暫停",
|
|
1706
|
-
"setup.value.unknown": "未知"
|
|
1706
|
+
"setup.value.unknown": "未知",
|
|
1707
|
+
"sources.title": "資料來源",
|
|
1708
|
+
"sources.separate_save": "資料來源獨立儲存;顯示綁定仍需儲存顯示設定。",
|
|
1709
|
+
"sources.add": "新增資料來源",
|
|
1710
|
+
"sources.edit": "編輯(停用資料來源)",
|
|
1711
|
+
"sources.review": "檢視並啟用",
|
|
1712
|
+
"sources.disable": "停用",
|
|
1713
|
+
"sources.enabled": "已啟用",
|
|
1714
|
+
"sources.disabled": "已停用",
|
|
1715
|
+
"sources.remove": "刪除資料來源",
|
|
1716
|
+
"sources.bind": "綁定至元件",
|
|
1717
|
+
"sources.unbind": "解除元件繫結",
|
|
1718
|
+
"sources.refresh": "立即重新整理",
|
|
1719
|
+
"sources.status": "重新整理狀態",
|
|
1720
|
+
"sources.cancel": "取消執行中的重新整理",
|
|
1721
|
+
"sources.diagnose": "檢視來源與觀測",
|
|
1722
|
+
"sources.json": "本機 JSON 檔案",
|
|
1723
|
+
"sources.github": "GitHub PR 與檢查",
|
|
1724
|
+
"sources.command": "指定程式與參數",
|
|
1725
|
+
"sources.save": "儲存資料來源",
|
|
1726
|
+
"sources.reload": "重新載入資料來源",
|
|
1727
|
+
"sources.empty": "尚未註冊本機資料來源。",
|
|
1728
|
+
"sources.saved": "資料來源已儲存;變更後須重新檢視才能啟用。",
|
|
1729
|
+
"sources.bound": "已綁定至顯示草稿;儲存顯示設定後生效。",
|
|
1730
|
+
"sources.failed": "資料來源操作失敗;請檢查欄位或重新載入目前狀態。",
|
|
1731
|
+
"sources.refresh_started": "已開始重新整理。可檢視狀態或取消;關閉會取消未完成的工作。",
|
|
1732
|
+
"sources.form_help": "Tab/Enter:下一欄位 · Ctrl+S:儲存為停用狀態",
|
|
1733
|
+
"sources.no_components": "請先在主狀態列或子代理頁新增外部元件。",
|
|
1734
|
+
"sources.remove_confirm": "Enter 刪除此本機資料來源與綁定:",
|
|
1735
|
+
"sources.enable_review": "請檢視全部欄位。Enter 啟用此修訂;Esc 取消。",
|
|
1736
|
+
"sources.help": "管理本機明確啟用的資料來源。手動重新整理;繪製不執行命令或網路查詢。",
|
|
1737
|
+
"sources.field.id": "資料來源 ID",
|
|
1738
|
+
"sources.field.name": "名稱",
|
|
1739
|
+
"sources.field.project": "專案 / worktree 路徑",
|
|
1740
|
+
"sources.field.session": "工作階段 ID(選填)",
|
|
1741
|
+
"sources.field.agent": "子代理 ID(選填)",
|
|
1742
|
+
"sources.field.ttl_seconds": "有效期限(秒)",
|
|
1743
|
+
"sources.field.path": "JSON 檔案路徑",
|
|
1744
|
+
"sources.field.pointer": "數值 JSON Pointer",
|
|
1745
|
+
"sources.field.observed_at_pointer": "觀察時間 JSON Pointer",
|
|
1746
|
+
"sources.field.unit": "單位(選填)",
|
|
1747
|
+
"sources.field.host": "GitHub 主機名稱",
|
|
1748
|
+
"sources.field.repository": "儲存庫(owner/name)",
|
|
1749
|
+
"sources.field.branch": "分支",
|
|
1750
|
+
"sources.field.account": "GitHub 帳號",
|
|
1751
|
+
"sources.field.pr": "PR 編號(選填)",
|
|
1752
|
+
"sources.field.executable": "可執行程式",
|
|
1753
|
+
"sources.field.args": "參數(JSON 陣列)",
|
|
1754
|
+
"sources.field.cwd": "工作目錄",
|
|
1755
|
+
"sources.field.input": "輸入欄位(JSON 對應)",
|
|
1756
|
+
"sources.field.output": "輸出:json / text",
|
|
1757
|
+
"sources.field.timeout_ms": "逾時(毫秒)",
|
|
1758
|
+
"statusline.source.value": "外部值",
|
|
1759
|
+
"statusline.source.unbound": "未綁定",
|
|
1760
|
+
"statusline.source.disabled": "已停用",
|
|
1761
|
+
"statusline.source.mismatch": "範圍不符",
|
|
1762
|
+
"statusline.source.missing": "缺少",
|
|
1763
|
+
"statusline.source.partial": "部分結果",
|
|
1764
|
+
"statusline.source.error": "錯誤",
|
|
1765
|
+
"statusline.source.unsupported": "不支援",
|
|
1766
|
+
"statusline.source.stale": "已過期",
|
|
1767
|
+
"statusline.source.unknown": "時間未知",
|
|
1768
|
+
"statusline.source.unknown_checks": "檢查未知",
|
|
1769
|
+
"statusline.source.no_pr": "無 PR",
|
|
1770
|
+
"statusline.source.no_checks": "無檢查",
|
|
1771
|
+
"statusline.source.failure": "失敗",
|
|
1772
|
+
"statusline.source.pending": "等待中",
|
|
1773
|
+
"statusline.source.success": "通過",
|
|
1774
|
+
"statusline.source.cancelled": "已取消",
|
|
1775
|
+
"statusline.source.skipped": "已略過",
|
|
1776
|
+
"sources.error.invalid": "資料來源設定無效",
|
|
1777
|
+
"sources.error.pointer": "JSON Pointer 無效",
|
|
1778
|
+
"sources.error.input": "不支援的輸入對應",
|
|
1779
|
+
"sources.error.scope": "資料來源範圍不符",
|
|
1780
|
+
"sources.error.version": "不支援的觀測版本",
|
|
1781
|
+
"sources.error.time": "觀察時間無效",
|
|
1782
|
+
"sources.error.type": "需要純量值",
|
|
1783
|
+
"sources.error.not_found": "找不到資料來源或重新整理工作",
|
|
1784
|
+
"sources.error.conflict": "資料來源設定已變更,請重新載入",
|
|
1785
|
+
"sources.error.review": "啟用前請檢視此修訂",
|
|
1786
|
+
"sources.error.binding": "請選擇相容的外部元件",
|
|
1787
|
+
"sources.error.disabled": "資料來源已停用",
|
|
1788
|
+
"sources.error.busy": "已有重新整理工作執行中",
|
|
1789
|
+
"sources.error.output_limit": "輸出超過 1 MiB",
|
|
1790
|
+
"sources.error.missing_program": "找不到可執行程式",
|
|
1791
|
+
"sources.error.missing_file": "找不到 JSON 檔案",
|
|
1792
|
+
"sources.error.timeout": "重新整理逾時",
|
|
1793
|
+
"sources.error.cancelled": "重新整理已取消",
|
|
1794
|
+
"sources.error.identity": "儲存庫、帳號、分支或 HEAD 已變更",
|
|
1795
|
+
"sources.error.account": "目前 GitHub 帳號不符",
|
|
1796
|
+
"sources.error.ambiguous": "請明確選擇 PR 編號",
|
|
1797
|
+
"sources.error.lookup_failed": "GitHub 查詢失敗",
|
|
1798
|
+
"sources.error.invalid_output": "資料來源輸出無效",
|
|
1799
|
+
"sources.error.read_error": "無法讀取資料來源檔案",
|
|
1800
|
+
"sources.error.refresh_failed": "重新整理失敗",
|
|
1801
|
+
"sources.error.authentication": "GitHub 認證無法使用",
|
|
1802
|
+
"sources.error.permission": "GitHub 存取遭拒",
|
|
1803
|
+
"sources.error.network": "GitHub 網路要求失敗",
|
|
1804
|
+
"sources.error.rate_limit": "GitHub 請求次數超限",
|
|
1805
|
+
"fields.item.link.label": "連結",
|
|
1806
|
+
"settings.sources": "資料來源",
|
|
1807
|
+
"native.settings.sources": "資料來源",
|
|
1808
|
+
"ui.actions.sources": "資料來源",
|
|
1809
|
+
"cli.help.source_management": "資料來源",
|
|
1810
|
+
"catalog.categories.extensions": "資料來源",
|
|
1811
|
+
"items.main.external-value.label": "外部值",
|
|
1812
|
+
"items.main.external-value.description": "管理本機明確啟用的資料來源。手動重新整理;繪製不執行命令或網路查詢。",
|
|
1813
|
+
"statusline.prefix.main.external-value": "外部值",
|
|
1814
|
+
"statusline.short.main.external-value": "外部值",
|
|
1815
|
+
"items.subagent.external-value.label": "外部值",
|
|
1816
|
+
"items.subagent.external-value.description": "管理本機明確啟用的資料來源。手動重新整理;繪製不執行命令或網路查詢。",
|
|
1817
|
+
"statusline.prefix.subagent.external-value": "外部值",
|
|
1818
|
+
"statusline.short.subagent.external-value": "外部值",
|
|
1819
|
+
"items.main.github-pr.label": "GitHub PR",
|
|
1820
|
+
"items.main.github-pr.description": "管理本機明確啟用的資料來源。手動重新整理;繪製不執行命令或網路查詢。",
|
|
1821
|
+
"statusline.prefix.main.github-pr": "GitHub PR",
|
|
1822
|
+
"statusline.short.main.github-pr": "GitHub PR",
|
|
1823
|
+
"items.main.github-ci.label": "GitHub CI",
|
|
1824
|
+
"items.main.github-ci.description": "管理本機明確啟用的資料來源。手動重新整理;繪製不執行命令或網路查詢。",
|
|
1825
|
+
"statusline.prefix.main.github-ci": "GitHub CI",
|
|
1826
|
+
"statusline.short.main.github-ci": "GitHub CI",
|
|
1827
|
+
"explain.reason.source_bound": "已綁定本機資料來源;啟用狀態與實際可用性須另外檢查。",
|
|
1828
|
+
"explain.reason.source_unbound": "請明確綁定本機資料來源;範例不代表實際資料。"
|
|
1707
1829
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function execSource(): void;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** A short-lived execve handoff: unlike execvp, it never retries ENOEXEC in sh. */
|
|
2
|
+
import { fileURLToPath } from 'node:url';
|
|
3
|
+
import { nativeFunction } from './native.js';
|
|
4
|
+
export function execSource() {
|
|
5
|
+
try {
|
|
6
|
+
const spec = JSON.parse(process.env.STATUSLINE_SOURCE_LAUNCH ?? 'null');
|
|
7
|
+
if (process.platform === 'win32' || !spec || typeof spec.executable !== 'string' || !Array.isArray(spec.args) || spec.args.some((arg) => typeof arg !== 'string') || !spec.environment || typeof spec.environment !== 'object')
|
|
8
|
+
throw new Error('Invalid source handoff');
|
|
9
|
+
const environment = Object.entries(spec.environment).filter((entry) => typeof entry[1] === 'string').map(([key, value]) => key + '=' + value);
|
|
10
|
+
const library = process.platform === 'darwin' ? '/usr/lib/libSystem.B.dylib' : 'libc.so.6';
|
|
11
|
+
const fcntl = nativeFunction(library, 'int fcntl(int fd, int command, ...)');
|
|
12
|
+
// Node marks inherited stdio close-on-exec during startup. Preserve only
|
|
13
|
+
// the three pipes explicitly provided by the source process adapter.
|
|
14
|
+
for (const fd of [0, 1, 2])
|
|
15
|
+
if (fcntl(fd, 2, 'int', 0) < 0)
|
|
16
|
+
throw new Error('Cannot preserve source pipes');
|
|
17
|
+
// execve replaces this process, preserving its process group and pipes.
|
|
18
|
+
// https://man7.org/linux/man-pages/man2/execve.2.html
|
|
19
|
+
nativeFunction(library, 'int execve(const char *file, const char **argv, const char **envp)')(spec.executable, [spec.executable, ...spec.args, null], [...environment, null]);
|
|
20
|
+
}
|
|
21
|
+
catch { /* Handoff errors must never disclose the command environment. */ }
|
|
22
|
+
process.exitCode = 126;
|
|
23
|
+
}
|
|
24
|
+
if (process.argv[1] === fileURLToPath(import.meta.url))
|
|
25
|
+
execSource();
|
|
26
|
+
//# sourceMappingURL=posix-source-exec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"posix-source-exec.js","sourceRoot":"","sources":["../../src/posix-source-exec.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,UAAU,UAAU;IACtB,IAAI,CAAC;QACD,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,IAAI,MAAM,CAAC,CAAC;QACxE,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,IAAI,CAAC,IAAI,IAAI,OAAO,IAAI,CAAC,UAAU,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAY,EAAE,EAAE,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,IAAI,OAAO,IAAI,CAAC,WAAW,KAAK,QAAQ;YACnO,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAC9C,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAA6B,EAAE,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,GAAG,GAAG,KAAK,CAAC,CAAC;QACzK,MAAM,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,4BAA4B,CAAC,CAAC,CAAC,WAAW,CAAC;QAC3F,MAAM,KAAK,GAAG,cAAc,CAAC,OAAO,EAAE,qCAAqC,CAAC,CAAC;QAC7E,yEAAyE;QACzE,qEAAqE;QACrE,KAAK,MAAM,EAAE,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;YAAE,IAAI,KAAK,CAAC,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC;gBAAE,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAC5G,wEAAwE;QACxE,sDAAsD;QACtD,cAAc,CAAC,OAAO,EAAE,oEAAoE,CAAC,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,UAAU,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,WAAW,EAAE,IAAI,CAAC,CAAC,CAAC;IAClL,CAAC;IAAC,MAAM,CAAC,CAAC,iEAAiE,CAAC,CAAC;IAC7E,OAAO,CAAC,QAAQ,GAAG,GAAG,CAAC;AAC3B,CAAC;AAED,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;IAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { constants, openSync, closeSync, fstatSync, readSync, lstatSync } from 'node:fs';
|
|
2
|
+
import { MAX_SOURCE_BYTES } from '@fbincon/statusline-core/extensions/model';
|
|
3
|
+
import { isLinkOrReparse, fileIdentity, sameFileIdentity } from './files.js';
|
|
4
|
+
/** Reject devices/FIFOs and links before reading; bound growth during the read too. */
|
|
5
|
+
export function readSourceFile(path) {
|
|
6
|
+
let fd;
|
|
7
|
+
try {
|
|
8
|
+
const before = lstatSync(path, { bigint: true });
|
|
9
|
+
if (!before.isFile() || isLinkOrReparse(path))
|
|
10
|
+
throw new Error('file_type');
|
|
11
|
+
const identity = fileIdentity(path, before);
|
|
12
|
+
fd = openSync(path, constants.O_RDONLY | (constants.O_NOFOLLOW ?? 0) | (constants.O_NONBLOCK ?? 0));
|
|
13
|
+
const stat = fstatSync(fd, { bigint: true });
|
|
14
|
+
if (!stat.isFile() || stat.size > MAX_SOURCE_BYTES || !sameFileIdentity(identity, stat))
|
|
15
|
+
throw new Error('file_size_or_type');
|
|
16
|
+
const bytes = Buffer.alloc(MAX_SOURCE_BYTES + 1);
|
|
17
|
+
let size = 0, count;
|
|
18
|
+
while (size < bytes.length && (count = readSync(fd, bytes, size, bytes.length - size, null)) > 0)
|
|
19
|
+
size += count;
|
|
20
|
+
if (size > MAX_SOURCE_BYTES)
|
|
21
|
+
throw new Error('output_limit');
|
|
22
|
+
const after = fstatSync(fd, { bigint: true });
|
|
23
|
+
if (after.mtimeNs !== stat.mtimeNs || after.size !== stat.size)
|
|
24
|
+
throw new Error('file_changed');
|
|
25
|
+
return bytes.subarray(0, size);
|
|
26
|
+
}
|
|
27
|
+
catch (error) {
|
|
28
|
+
if (error.code === 'ENOENT')
|
|
29
|
+
return null;
|
|
30
|
+
throw error;
|
|
31
|
+
}
|
|
32
|
+
finally {
|
|
33
|
+
if (fd !== undefined)
|
|
34
|
+
closeSync(fd);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=source-files.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-files.js","sourceRoot":"","sources":["../../src/source-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC7E,uFAAuF;AACvF,MAAM,UAAU,cAAc,CAAC,IAAY;IACvC,IAAI,EAAsB,CAAC;IAC3B,IAAI,CAAC;QACD,MAAM,MAAM,GAAG,SAAS,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;QACjD,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,eAAe,CAAC,IAAI,CAAC;YACzC,MAAM,IAAI,KAAK,CAAC,WAAW,CAAC,CAAC;QACjC,MAAM,QAAQ,GAAG,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC5C,EAAE,GAAG,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,QAAQ,GAAG,CAAC,SAAS,CAAC,UAAU,IAAI,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,UAAU,IAAI,CAAC,CAAC,CAAC,CAAC;QACpG,MAAM,IAAI,GAAG,SAAS,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;QAC7C,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,IAAI,CAAC,IAAI,GAAG,gBAAgB,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC;YACnF,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;QACzC,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,gBAAgB,GAAG,CAAC,CAAC,CAAC;QACjD,IAAI,IAAI,GAAG,CAAC,EAAE,KAAa,CAAC;QAC5B,OAAO,IAAI,GAAG,KAAK,CAAC,MAAM,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC;YAC5F,IAAI,IAAI,KAAK,CAAC;QAClB,IAAI,IAAI,GAAG,gBAAgB;YACvB,MAAM,IAAI,KAAK,CAAC,cAAc,CAAC,CAAC;QACpC,MAAM,KAAK,GAAG,SAAS,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;QAC9C,IAAI,KAAK,CAAC,OAAO,KAAK,IAAI,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI;YAC1D,MAAM,IAAI,KAAK,CAAC,cAAc,CAAC,CAAC;QACpC,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IACnC,CAAC;IACD,OAAO,KAAK,EAAE,CAAC;QACX,IAAK,KAA+B,CAAC,IAAI,KAAK,QAAQ;YAClD,OAAO,IAAI,CAAC;QAChB,MAAM,KAAK,CAAC;IAChB,CAAC;YACO,CAAC;QACL,IAAI,EAAE,KAAK,SAAS;YAChB,SAAS,CAAC,EAAE,CAAC,CAAC;IACtB,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface SourceProcessOptions {
|
|
2
|
+
executable: string;
|
|
3
|
+
args: readonly string[];
|
|
4
|
+
cwd: string;
|
|
5
|
+
input: string;
|
|
6
|
+
timeoutMs: number;
|
|
7
|
+
signal?: AbortSignal;
|
|
8
|
+
environment?: NodeJS.ProcessEnv;
|
|
9
|
+
}
|
|
10
|
+
export interface SourceProcessResult {
|
|
11
|
+
code: number | null;
|
|
12
|
+
stdout: string;
|
|
13
|
+
errorKind?: 'authentication' | 'permission' | 'network' | 'rate_limit' | 'no_checks';
|
|
14
|
+
reason: 'completed' | 'exit' | 'missing_program' | 'timeout' | 'cancelled' | 'output_limit' | 'io_error' | 'invalid_output';
|
|
15
|
+
}
|
|
16
|
+
/** User commands inherit only the OS essentials, never model/forge credentials. */
|
|
17
|
+
export declare function sourceEnvironment(env?: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
|
|
18
|
+
/** Bound the entire tree, both output streams and the final pipe drain. No shell. */
|
|
19
|
+
export declare function runSourceProcess(options: SourceProcessOptions): Promise<SourceProcessResult>;
|