@refrainai/cli 0.4.2 → 0.4.3
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/{chunk-CNJ5KCDN.js → chunk-5CKPPEYP.js} +15 -15
- package/dist/{chunk-CNJ5KCDN.js.map → chunk-5CKPPEYP.js.map} +1 -1
- package/dist/{chunk-F7WTOQIQ.js → chunk-6FGCPMBU.js} +23 -3
- package/dist/chunk-6FGCPMBU.js.map +1 -0
- package/dist/{chunk-65CTEK2K.js → chunk-A5X2VF5G.js} +3 -3
- package/dist/{chunk-CJM3IU5Q.js → chunk-AOCGSFRM.js} +5 -5
- package/dist/{chunk-EMAYENG4.js → chunk-GC7I5SGK.js} +2 -2
- package/dist/{chunk-BGC75OVR.js → chunk-IGJNT457.js} +2 -2
- package/dist/{chunk-YW46VP57.js → chunk-MYITSQYV.js} +2 -2
- package/dist/{chunk-XIVS7N3V.js → chunk-NRKZJVPE.js} +2 -2
- package/dist/{chunk-ELQ23L4Z.js → chunk-ZEBQWBEU.js} +3 -3
- package/dist/cli.js +5 -5
- package/dist/{compose-B2IAO7YW.js → compose-AVX5RU67.js} +3 -3
- package/dist/{fix-runbook-JJN4HVIP.js → fix-runbook-6L5ZMA5G.js} +5 -5
- package/dist/{prompts-XMJXIITW.js → prompts-AGUYYIOM.js} +4 -4
- package/dist/{runbook-executor-TVV5EG6Q.js → runbook-executor-OJXJTN6A.js} +7 -7
- package/dist/{runbook-generator-4XKNV2B7.js → runbook-generator-UIHWBEYC.js} +8 -8
- package/dist/{server-5XARL5N7.js → server-MULT5ZWG.js} +12 -12
- package/dist/{yaml-patcher-32QBPXT2.js → yaml-patcher-GOCLYKZZ.js} +4 -4
- package/package.json +1 -1
- package/dist/chunk-F7WTOQIQ.js.map +0 -1
- /package/dist/{chunk-65CTEK2K.js.map → chunk-A5X2VF5G.js.map} +0 -0
- /package/dist/{chunk-CJM3IU5Q.js.map → chunk-AOCGSFRM.js.map} +0 -0
- /package/dist/{chunk-EMAYENG4.js.map → chunk-GC7I5SGK.js.map} +0 -0
- /package/dist/{chunk-BGC75OVR.js.map → chunk-IGJNT457.js.map} +0 -0
- /package/dist/{chunk-YW46VP57.js.map → chunk-MYITSQYV.js.map} +0 -0
- /package/dist/{chunk-XIVS7N3V.js.map → chunk-NRKZJVPE.js.map} +0 -0
- /package/dist/{chunk-ELQ23L4Z.js.map → chunk-ZEBQWBEU.js.map} +0 -0
- /package/dist/{compose-B2IAO7YW.js.map → compose-AVX5RU67.js.map} +0 -0
- /package/dist/{fix-runbook-JJN4HVIP.js.map → fix-runbook-6L5ZMA5G.js.map} +0 -0
- /package/dist/{prompts-XMJXIITW.js.map → prompts-AGUYYIOM.js.map} +0 -0
- /package/dist/{runbook-executor-TVV5EG6Q.js.map → runbook-executor-OJXJTN6A.js.map} +0 -0
- /package/dist/{runbook-generator-4XKNV2B7.js.map → runbook-generator-UIHWBEYC.js.map} +0 -0
- /package/dist/{server-5XARL5N7.js.map → server-MULT5ZWG.js.map} +0 -0
- /package/dist/{yaml-patcher-32QBPXT2.js.map → yaml-patcher-GOCLYKZZ.js.map} +0 -0
|
@@ -271,7 +271,17 @@ var messages = {
|
|
|
271
271
|
exploringStep: "Exploring (step {current}/{total})",
|
|
272
272
|
explorationComplete: "Exploration complete ({duration})",
|
|
273
273
|
recordingComplete: "Recording complete: {path}",
|
|
274
|
-
recordingStopFailed: "Failed to stop recording: {error}"
|
|
274
|
+
recordingStopFailed: "Failed to stop recording: {error}",
|
|
275
|
+
interventionCancelRequested: "\u23F9 Cancel requested...",
|
|
276
|
+
interventionPauseRequested: "\u23F8 Pause requested. Stopping at next tool call...",
|
|
277
|
+
interventionPauseHeader: "--- Paused (Step #{stepIndex}, URL: {url}) ---",
|
|
278
|
+
interventionSelectAction: "Select an action",
|
|
279
|
+
interventionSelectGuidance: "Enter guidance and continue",
|
|
280
|
+
interventionSelectGuidanceHint: "Correct AI exploration strategy",
|
|
281
|
+
interventionSelectAbort: "Stop exploration",
|
|
282
|
+
interventionGuidancePrompt: "Guidance (instructions for AI)",
|
|
283
|
+
interventionGuidanceRequired: "Please enter guidance",
|
|
284
|
+
interventionGuidanceRecorded: 'Guidance recorded: "{text}"'
|
|
275
285
|
},
|
|
276
286
|
cli: {
|
|
277
287
|
cancelledMessage: "Operation cancelled.",
|
|
@@ -651,7 +661,17 @@ var messages2 = {
|
|
|
651
661
|
exploringStep: "\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u63A2\u7D22\u4E2D (\u30B9\u30C6\u30C3\u30D7 {current}/{total})",
|
|
652
662
|
explorationComplete: "\u63A2\u7D22\u5B8C\u4E86 ({duration})",
|
|
653
663
|
recordingComplete: "\u9332\u753B\u5B8C\u4E86: {path}",
|
|
654
|
-
recordingStopFailed: "\u9332\u753B\u505C\u6B62\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {error}"
|
|
664
|
+
recordingStopFailed: "\u9332\u753B\u505C\u6B62\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {error}",
|
|
665
|
+
interventionCancelRequested: "\u23F9 \u30AD\u30E3\u30F3\u30BB\u30EB\u3092\u8981\u6C42\u3057\u307E\u3057\u305F...",
|
|
666
|
+
interventionPauseRequested: "\u23F8 \u4E00\u6642\u505C\u6B62\u3092\u8981\u6C42\u3057\u307E\u3057\u305F\u3002\u6B21\u306E\u30C4\u30FC\u30EB\u547C\u3073\u51FA\u3057\u3067\u505C\u6B62\u3057\u307E\u3059...",
|
|
667
|
+
interventionPauseHeader: "--- \u4E00\u6642\u505C\u6B62 (\u30B9\u30C6\u30C3\u30D7 #{stepIndex}, URL: {url}) ---",
|
|
668
|
+
interventionSelectAction: "\u64CD\u4F5C\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
669
|
+
interventionSelectGuidance: "\u30AC\u30A4\u30C0\u30F3\u30B9\u3092\u5165\u529B\u3057\u3066\u7D9A\u884C",
|
|
670
|
+
interventionSelectGuidanceHint: "AI\u306E\u63A2\u7D22\u65B9\u91DD\u3092\u4FEE\u6B63",
|
|
671
|
+
interventionSelectAbort: "\u63A2\u7D22\u3092\u4E2D\u6B62",
|
|
672
|
+
interventionGuidancePrompt: "\u30AC\u30A4\u30C0\u30F3\u30B9 (AI\u3078\u306E\u6307\u793A)",
|
|
673
|
+
interventionGuidanceRequired: "\u30AC\u30A4\u30C0\u30F3\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
674
|
+
interventionGuidanceRecorded: '\u30AC\u30A4\u30C0\u30F3\u30B9\u3092\u8A18\u9332\u3057\u307E\u3057\u305F: "{text}"'
|
|
655
675
|
},
|
|
656
676
|
cli: {
|
|
657
677
|
cancelledMessage: "\u64CD\u4F5C\u304C\u30AD\u30E3\u30F3\u30BB\u30EB\u3055\u308C\u307E\u3057\u305F\u3002",
|
|
@@ -839,4 +859,4 @@ export {
|
|
|
839
859
|
tfWithLocale,
|
|
840
860
|
resolveAcceptLanguage
|
|
841
861
|
};
|
|
842
|
-
//# sourceMappingURL=chunk-
|
|
862
|
+
//# sourceMappingURL=chunk-6FGCPMBU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/i18n/messages/en.ts","../../../src/i18n/messages/ja.ts","../../../src/i18n/index.ts"],"sourcesContent":["/**\n * English message catalog (default)\n */\nimport type { Messages } from \"../types\";\n\nconst messages: Messages = {\n common: {\n success: \"Success\",\n failure: \"Failed\",\n skipped: \"Skipped\",\n aborted: \"Aborted\",\n none: \"(none)\",\n unknown: \"(unknown)\",\n items: \"items\",\n files: \"files\",\n conditionSkipped: \"condition skipped\",\n iterations: \"iterations\",\n iteration: \"iteration\",\n },\n risk: {\n low: \"Low-side-effect operation\",\n medium: \"Form submission, settings change, etc.\",\n high: \"Irreversible operation (deletion, payment, etc.)\",\n },\n reporter: {\n runbook: \"Runbook: {title}\",\n startUrl: \"Start URL: {url}\",\n totalSteps: \"Total steps: {count}\",\n statsLine: \"Executed: {executed} Succeeded: {succeeded} Failed: {failed} Skipped: {skipped}\",\n statusAborted: \"Status: Aborted\",\n totalDuration: \"Total duration: {duration}\",\n memory: \"Memory: {info}\",\n downloads: \"Downloads: {count} files\",\n executionResult: \"Execution Result\",\n batchResult: \"Batch Execution Result\",\n batchTotalRows: \"Total rows: {count}\",\n batchStats: \"Succeeded: {succeeded} Failed: {failed}\",\n },\n selfHeal: {\n debugResult: \"Self-Healing Result\",\n allStepsSuccess: \"All steps passed ({count} steps, {duration})\",\n failedSteps: \"--- Failed Steps ---\",\n yamlSuggestions: \"--- Runbook (YAML) Fix Suggestions ---\",\n contextSuggestions: \"--- Context (markdown) Fix Suggestions ---\",\n retryWarnings: \"--- Retry Warnings ---\",\n retryCount: \"#{ordinal} {description}: {count} retries (threshold: {threshold})\",\n },\n confirmation: {\n title: \"Approval Required\",\n stepInfo: \"Step {ordinal}: {description}\",\n riskLevelLabel: \"Risk level: {level} ({hint})\",\n selectAction: \"Select an action\",\n approve: \"Approve and execute\",\n skip: \"Skip this step\",\n abort: \"Abort execution\",\n abortHint: \"Stop all\",\n },\n planner: {\n extractingFromContext: \"Extracting variable values from context...\",\n extractedFromContext: \"{count} values extracted from context\",\n unresolvedRequired: \"{count} required variables are unresolved. Please enter them.\",\n placeholder: \"(required — could not extract from context)\",\n variableRequired: 'Variable \"{name}\" is required',\n promptVariables: \"Prompt variables (edit or press Enter to keep defaults)\",\n preVariables: \"Pre-resolved variables:\",\n runtimeCaptures: \"Runtime captures:\",\n controlFlow: \"Control flow:\",\n conditionLabel: \" Step {ordinal}: condition {condition}\",\n loopLabel: \" Step {ordinal}: loop (max {max} iterations, {subSteps} sub-steps, condition: {condition})\",\n forEachLabel: \" Step {ordinal}: forEach (max {max} items, {subSteps} sub-steps, source: {forEach})\",\n branchLabel: \" Step {ordinal}: branch on {value} (cases: {cases})\",\n batchMode: \"Batch mode: {count} rows ({path})\",\n stepCount: \"Step count: {count}\",\n executionPlan: \"Execution Plan\",\n confirmStart: \"Start execution?\",\n fromSecrets: \" (from secrets)\",\n fromContext: \" (extracted from context)\",\n fromDataSource: \" (from data source)\",\n },\n errors: {\n elementNotFound: \"Check the selector ariaLabel / role / text and update to match the current page structure\",\n elementStale: \"Page structure has changed. Delete the selector cache and re-run\",\n pageStructureChanged: \"Page structure has significantly changed. Record the changes in context.md\",\n navigationTimeout: \"Page navigation is delayed. Consider adding a wait step or increasing step-delay\",\n actionFailed: \"Element was found but the action failed. Consider changing the action type (e.g., click → hover)\",\n scriptSyntaxError: \"Extract script has a syntax error. Check for truncated code or top-level return statements\",\n unknownError: \"Review the error details and check the corresponding runbook step\",\n scriptExecutionError: \"Script execution error\",\n browserActionError: \"Browser action error\",\n operationTimedOut: \"Operation timed out\",\n },\n slack: {\n batchComplete: \"Batch execution complete: {title}\",\n executionComplete: \"Execution complete: {title}\",\n debugFailure: \"Self-healing validation failed: {title}\",\n failedLabel: \"Failed:\",\n failedRows: \"Failed rows:\",\n suggestionsLabel: \"Fix suggestions:\",\n retryWarningsLabel: \"Retry warnings:\",\n abortTag: \"Aborted\",\n batchTag: \"batch\",\n totalRows: \"Total {count} rows\",\n moreSteps: \"- ...{count} more steps\",\n moreRows: \"- ...{count} more rows\",\n moreItems: \"- ...{count} more items\",\n approvalRequest: \"Approval request: {description}\",\n approvalDescription: \"An approval request for an operation has arrived.\\n{goalLine}Step: \\\"{description}\\\"\\nRisk level: {riskEmoji} {riskLevel}\",\n taskLabel: \"Task: \",\n stepLabel: \"Step: \",\n riskLabel: \"Risk level: \",\n approveButton: \"Approve\",\n skipButton: \"Skip\",\n abortButton: \"Abort\",\n approvalWaiting: \"Waiting for approval (risk: {riskLevel})\",\n approvalTimeout: \":hourglass: Timed out (auto-abort)\",\n approved: \":white_check_mark: Approved\",\n slackSkipped: \":fast_forward: Skipped\",\n slackAborted: \":octagonal_sign: Aborted\",\n },\n executor: {\n openingUrl: \"Opening {url}...\",\n browserReady: \"Browser ready\",\n recordingStarted: \"Recording started: {path}\",\n recordingStartFailed: \"Failed to start recording: {error}\",\n recordingComplete: \"Recording complete: {path}\",\n recordingStopFailed: \"Failed to stop recording: {error}\",\n jobAbortedTimeout: \"Job aborted: timeout exceeded\",\n conditionSkipping: \"Condition false, skipping: {condition}\",\n stopOnErrorAborting: \"stopOnError=true, aborting execution\",\n approvalWaiting: \"Awaiting approval: Step {ordinal} (risk: {riskLevel})\",\n approvalAborted: \"Approval result: aborted (Step {ordinal})\",\n approvalSkipped: \"Approval result: skipped (Step {ordinal})\",\n approvalApproved: \"Approval result: approved (Step {ordinal})\",\n userAborted: \"User aborted\",\n batchBrowserReady: \"Batch browser ready\",\n chromeErrorDetected: \"Navigation failed: page landed on chrome-error:// (previous URL: {url})\",\n },\n chat: {\n approvalRequest: \"Approval request: {description}\",\n approvalDescription: \"An approval request for an operation has arrived.\\n{goalLine}Step: \\\"{description}\\\"\\nRisk level: {riskEmoji} {riskLevel}\",\n taskLabel: \"Task: \",\n stepLabel: \"Step: \",\n riskLabel: \"Risk level: \",\n approveButton: \"Approve\",\n skipButton: \"Skip\",\n abortButton: \"Abort\",\n approvalWaiting: \"Waiting for approval (risk: {riskLevel})\",\n approvalTimeout: \"\\u231B Timed out (auto-abort)\",\n approved: \"\\u2705 Approved\",\n chatSkipped: \"\\u23E9 Skipped\",\n chatAborted: \"\\uD83D\\uDED1 Aborted\",\n executionComplete: \"Execution complete: {title}\",\n batchComplete: \"Batch execution complete: {title}\",\n debugFailure: \"Self-healing validation failed: {title}\",\n failedLabel: \"Failed:\",\n failedRows: \"Failed rows:\",\n suggestionsLabel: \"Fix suggestions:\",\n retryWarningsLabel: \"Retry warnings:\",\n abortTag: \"Aborted\",\n batchTag: \"batch\",\n totalRows: \"Total {count} rows\",\n moreSteps: \"- ...{count} more steps\",\n moreRows: \"- ...{count} more rows\",\n moreItems: \"- ...{count} more items\",\n stepPrefix: \"Step\",\n succeededFieldLabel: \"Succeeded\",\n failedFieldLabel: \"Failed\",\n skippedFieldLabel: \"Skipped\",\n durationFieldLabel: \"Duration\",\n totalFieldLabel: \"Total\",\n generateComplete: \"Runbook generation complete\",\n goalFieldLabel: \"Goal\",\n goalAchievedFieldLabel: \"Goal achieved\",\n stepsFieldLabel: \"Steps\",\n yamlFieldLabel: \"YAML generated\",\n },\n review: {\n keptSteps: \"Kept steps:\",\n confirmationRequired: \"Steps requiring confirmation:\",\n removedSteps: \"Removed steps:\",\n capturedValues: \"Captured values from page:\",\n notes: \"Notes:\",\n guidancePrefix: \"[Guidance {index}]\",\n summaryLabel: \"Summary: {summary}\",\n reviewResult: \"Review Result\",\n confirm: \"Confirm\",\n confirmHint: \"Proceed to YAML generation\",\n toggleConfirmation: \"Toggle step confirmation requirements\",\n editCaptures: \"Edit captured values from page\",\n editCapturesHint: \"accept/reject/add\",\n editNotes: \"Edit notes\",\n editNotesHint: \"\",\n selectAction: \"Select an action\",\n selectConfirmSteps: \"Select steps requiring confirmation (Space to toggle, Enter to confirm)\",\n selectNotesAction: \"Select note action\",\n addCustomNote: \"Add custom note\",\n addSuggestedNote: \"Select from AI-suggested notes\",\n deleteNote: \"Delete notes\",\n noteContent: \"Note content\",\n noteContentRequired: \"Please enter note content\",\n notesAdded: \"{count} notes added.\",\n notesDeleted: \"{count} notes deleted.\",\n selectCaptureAction: \"Select capture action\",\n acceptAllCaptures: \"Accept all existing captures\",\n rejectCaptures: \"Reject captures\",\n addCapture: \"Add new capture\",\n allCapturesAccepted: \"All captures accepted.\",\n noCapturesAvailable: \"No captures available.\",\n selectCapturesToReject: \"Select captures to reject\",\n capturesRejected: \"{count} captures rejected.\",\n captureStepNumber: \"Target step number (ordinal)\",\n captureStepRequired: \"Please enter a step number\",\n captureStepNumeric: \"Please enter a number\",\n captureVarName: \"Capture variable name (camelCase)\",\n captureVarRequired: \"Please enter a variable name\",\n captureStrategy: \"Capture strategy\",\n strategySnapshot: \"snapshot (regex match)\",\n strategyUrl: \"url (URL regex match)\",\n strategyAi: \"ai (AI extraction)\",\n strategyExpression: \"expression (template)\",\n regexPattern: \"Regex pattern\",\n aiExtractionPrompt: \"AI extraction prompt\",\n templateExpression: \"Template expression\",\n captureAdded: 'Added capture \"{name}\" to Step #{ordinal}.',\n highRiskNote: \"Always get approval before executing high-risk steps ({ordinals})\",\n credentialNote: \"This flow contains credential input steps. Verify the execution environment's auth settings\",\n removedStepsNote: \"{count} steps were removed. The exploration may have been redundant\",\n stepNotFound: \"Step #{ordinal} not found.\",\n },\n fix: {\n noSuggestions: \"No fix suggestions found in the report.\",\n noSuggestionsHint: \"Hint: Run with --self-heal flag to generate AI fix suggestions.\",\n complete: \"Done\",\n suggestionCount: \"Fix suggestions: {count}\",\n errorLabel: \" Error: {error}\",\n categoryLabel: \" Category: {category}\",\n yamlFixLabel: \" YAML fix: {fix}\",\n contextFixLabel: \" Context fix: {fix}\",\n recoveryHintLabel: \" Recovery hint: {hint}\",\n noYamlFix: \" No YAML fix suggestion — skipping.\",\n applyPrompt: \"What would you like to do with this suggestion?\",\n applyLabel: \"Apply\",\n applyHint: \"AI will modify the YAML\",\n skipLabel: \"Skip\",\n skipHint: \"Ignore this suggestion\",\n abortLabel: \"Abort\",\n abortHint: \"Stop processing remaining suggestions\",\n patchGenerated: \"Patch generated. Diff:\",\n confirmApply: \"Apply this change?\",\n applied: \"Applied fix for Step #{ordinal}.\",\n skippedMsg: \"Skipped.\",\n patchFailed: \"Patch generation failed: {error}\",\n writePrompt: \"Write {count} fixes to {path}?\",\n writeSuccess: \"Updated {path}.\",\n writeCancelled: \"Write cancelled.\",\n noChanges: \"No fixes were applied.\",\n verifyCommand: \"Verify command:\",\n noDiff: \"(no changes)\",\n },\n generator: {\n cancelled: \"Exploration was cancelled.\",\n feedbackPrompt: \"Enter feedback or improvements for the exploration (Enter to skip)\",\n aiReviewing: \"AI reviewing...\",\n aiReviewFailed: \"AI review failed: {error}\",\n openingUrl: \"Opening {url}...\",\n pageLoaded: \"Page loaded\",\n recordingStarted: \"Recording started: {path}\",\n recordingStartFailed: \"Failed to start recording: {error}\",\n screenshotSaved: \"Initial screenshot saved: {path}\",\n paused: \"\\u23F8 Paused\",\n waitingForAI: \"Waiting for AI response... [Enter: pause / q: cancel]\",\n cancelledByUser: \"\\u23F9 Cancelled\",\n exploringStep: \"Exploring (step {current}/{total})\",\n explorationComplete: \"Exploration complete ({duration})\",\n recordingComplete: \"Recording complete: {path}\",\n recordingStopFailed: \"Failed to stop recording: {error}\",\n interventionCancelRequested: \"⏹ Cancel requested...\",\n interventionPauseRequested: \"⏸ Pause requested. Stopping at next tool call...\",\n interventionPauseHeader: \"--- Paused (Step #{stepIndex}, URL: {url}) ---\",\n interventionSelectAction: \"Select an action\",\n interventionSelectGuidance: \"Enter guidance and continue\",\n interventionSelectGuidanceHint: \"Correct AI exploration strategy\",\n interventionSelectAbort: \"Stop exploration\",\n interventionGuidancePrompt: \"Guidance (instructions for AI)\",\n interventionGuidanceRequired: \"Please enter guidance\",\n interventionGuidanceRecorded: \"Guidance recorded: \\\"{text}\\\"\",\n },\n cli: {\n cancelledMessage: \"Operation cancelled.\",\n executionCancelled: \"Execution cancelled.\",\n runbookRequired: \"--runbook is required\",\n urlRequired: \"--url is required\",\n goalRequired: \"--goal is required\",\n outputRequired: \"--output is required\",\n invalidApprovalMode: \"--approval-mode must be one of: web, slack, teams, discord\",\n reportRequired: \"--report is required\",\n contextRequired: \"--context is required\",\n stealthEnabled: \"Stealth: enabled\",\n proxyEnabled: \"Proxy: {proxy}\",\n providerRequired: \"--model-provider (or AI_MODEL_PROVIDER env var) is required. Valid: anthropic, openai, openai-compatible, google, azure, bedrock, vertex\",\n },\n browserTool: {\n interventionGuidance: \"[User guidance] {text}\",\n successCount: \"{count} succeeded\",\n truncated: \"[truncated]\",\n },\n tenant: {\n slugLength: \"Slug must be between 3 and 48 characters\",\n slugPattern: \"Slug must contain only lowercase letters, numbers, and hyphens\",\n slugReserved: \"Slugs starting with \\\"u-\\\" are reserved\",\n slugTaken: \"Slug is already taken\",\n },\n compose: {\n title: \"compose -- Runbook Composition\",\n complete: \"Composition complete: {path}\",\n branchVarPrompt: \"Branch variable name (e.g. sourceType)\",\n yamlPathPrompt: \"Path to runbook YAML\",\n matchValuePrompt: \"Match value for this case\",\n caseLoaded: 'Loaded: \"{title}\" ({steps} steps, {vars} variables)',\n addAnotherCase: \"Add another case?\",\n goalPrompt: \"Goal description (optional)\",\n variableMergePreview: \"Variable Merge Preview\",\n sharedVariables: \"Shared variables:\",\n conflictingVariables: \"Conflicts:\",\n caseSpecificVariables: \"Case-specific variables:\",\n branchVariable: \"Branch variable:\",\n conflictPrompt: 'Variable \"{name}\" has different definitions:',\n useFromCase: 'Use definition from \"{case}\"',\n settingsDiffPrompt: \"Settings differ: {key}\",\n composedPreview: \"Composed Runbook Preview\",\n selectAction: \"Select an action\",\n confirm: \"Confirm\",\n confirmHint: \"Write composed YAML\",\n editBranch: \"Edit branch variable name\",\n editMatches: \"Edit match values\",\n editVariables: \"Edit variables\",\n editTitle: \"Edit title/goal\",\n selectCase: \"Select a case to edit\",\n newMatchValue: \"New match value\",\n newBranchVar: \"New branch variable name\",\n newTitle: \"New title/goal\",\n editVarAction: \"Select variable action\",\n deleteVar: \"Delete a variable\",\n addVar: \"Add a variable\",\n editVarDef: \"Edit variable definition\",\n selectVar: \"Select a variable\",\n varDeleted: 'Variable \"{name}\" deleted.',\n newVarName: \"Variable name\",\n newVarSource: \"Variable source\",\n newVarValue: \"Variable value (optional)\",\n newVarDescription: \"Variable description (optional)\",\n varAdded: 'Variable \"{name}\" added.',\n varUpdated: 'Variable \"{name}\" updated.',\n branchVarConflict: 'Variable name \"{name}\" conflicts with the branch variable. Choose a different name.',\n noCases: \"At least 2 cases are required.\",\n },\n serverErrors: {\n unauthorized: \"Unauthorized\",\n sessionRequired: \"Session authentication required\",\n emailVerificationRequired: \"Email verification required\",\n apiKeyRevoked: \"API key has been revoked\",\n roleForbidden: \"Forbidden: {role} or higher role required\",\n tenantRequired: \"Tenant required\",\n tenantNotFound: \"Tenant not found\",\n notMember: \"Not a member of this tenant\",\n tenantIdRequired: \"tenantId is required\",\n nameRequired: \"name is required\",\n emailRequired: \"email is required\",\n invalidRole: \"role must be one of: {roles}\",\n communityNoApiKey: \"Community tier does not require API keys\",\n apiKeyNotFoundOrRevoked: \"API key not found or already revoked\",\n adminRequired: \"Forbidden: owner or admin required\",\n ownerOnly: \"Forbidden: owner only\",\n ownerOnlyAssign: \"Forbidden: only owner can assign owner role\",\n ownerOnlyRemoveAdmin: \"Forbidden: only owner can remove admin\",\n alreadyMember: \"User is already a member\",\n invitationPending: \"An invitation is already pending for this email\",\n memberNotFound: \"Member not found\",\n cannotRemoveOwner: \"Cannot remove owner\",\n invitationNotFound: \"Invitation not found\",\n invitationExpired: \"Invitation has expired\",\n noFieldsToUpdate: \"No fields to update\",\n invalidLocale: \"locale must be \\\"en\\\" or \\\"ja\\\"\",\n providerIdMismatch: \"Provider ID mismatch\",\n providerNotConfigured: \"Provider not configured\",\n missingCredentials: \"Missing required credentials for {platform}: {fields}\",\n planFeatureRequired: \"This feature requires {tier} plan or higher\",\n planStepLimitExceeded: \"Runbook has {count} steps, but your plan allows up to {limit}\",\n scheduledAtMustBeFuture: \"Scheduled time has already passed. Please select a future date and time.\",\n recurringBlockedByPromptVars: \"Recurring schedules are not available for runbooks with prompt variables\",\n },\n};\n\nexport default messages;\n","/**\n * Japanese message catalog\n */\nimport type { Messages } from \"../types\";\n\nconst messages: Messages = {\n common: {\n success: \"成功\",\n failure: \"失敗\",\n skipped: \"スキップ\",\n aborted: \"中止\",\n none: \"(なし)\",\n unknown: \"(不明)\",\n items: \"件\",\n files: \"ファイル\",\n conditionSkipped: \"条件スキップ\",\n iterations: \"回\",\n iteration: \"回\",\n },\n risk: {\n low: \"副作用の少ない操作\",\n medium: \"フォーム送信・設定変更など\",\n high: \"削除・決済など不可逆操作\",\n },\n reporter: {\n runbook: \"手順書: {title}\",\n startUrl: \"開始URL: {url}\",\n totalSteps: \"全ステップ: {count}\",\n statsLine: \"実行: {executed} 成功: {succeeded} 失敗: {failed} スキップ: {skipped}\",\n statusAborted: \"状態: 中止\",\n totalDuration: \"合計実行時間: {duration}\",\n memory: \"メモリ: {info}\",\n downloads: \"ダウンロード: {count}ファイル\",\n executionResult: \"実行結果\",\n batchResult: \"バッチ実行結果\",\n batchTotalRows: \"全行数: {count}\",\n batchStats: \"成功: {succeeded} 失敗: {failed}\",\n },\n selfHeal: {\n debugResult: \"自動修正結果\",\n allStepsSuccess: \"全ステップ成功 ({count} steps, {duration})\",\n failedSteps: \"--- 失敗ステップ ---\",\n yamlSuggestions: \"--- 手順書(YAML)の修正提案 ---\",\n contextSuggestions: \"--- コンテキスト(markdown)の修正提案 ---\",\n retryWarnings: \"--- リトライ警告 ---\",\n retryCount: \"#{ordinal} {description}: {count}回リトライ (閾値: {threshold})\",\n },\n confirmation: {\n title: \"承認が必要です\",\n stepInfo: \"ステップ {ordinal}: {description}\",\n riskLevelLabel: \"リスクレベル: {level} ({hint})\",\n selectAction: \"操作を選択してください\",\n approve: \"承認して実行\",\n skip: \"このステップをスキップ\",\n abort: \"実行を中止\",\n abortHint: \"全体を停止\",\n },\n planner: {\n extractingFromContext: \"contextから変数値を抽出中...\",\n extractedFromContext: \"{count}件の値をcontextから抽出\",\n unresolvedRequired: \"{count}件の必須変数が未解決です。入力してください。\",\n placeholder: \"(必須 — contextから取得できませんでした)\",\n variableRequired: '変数 \"{name}\" は必須です',\n promptVariables: \"入力変数(編集するか Enter でデフォルトを維持)\",\n preVariables: \"事前変数:\",\n runtimeCaptures: \"ランタイムキャプチャ:\",\n controlFlow: \"制御フロー:\",\n conditionLabel: \" Step {ordinal}: 条件 {condition}\",\n loopLabel: \" Step {ordinal}: ループ (最大{max}回, {subSteps}サブステップ, 条件: {condition})\",\n forEachLabel: \" Step {ordinal}: forEach (最大{max}件, {subSteps}サブステップ, ソース: {forEach})\",\n branchLabel: \" Step {ordinal}: 分岐 {value} (ケース: {cases})\",\n batchMode: \"バッチモード: {count}行 ({path})\",\n stepCount: \"ステップ数: {count}\",\n executionPlan: \"実行プラン\",\n confirmStart: \"実行を開始しますか?\",\n fromSecrets: \" (secretsから読み込み)\",\n fromContext: \" (contextから抽出)\",\n fromDataSource: \" (データソースから)\",\n },\n errors: {\n elementNotFound: \"セレクタの ariaLabel / role / text を確認し、現在のページ構造に合わせて更新してください\",\n elementStale: \"ページ構造が変化しています。セレクタキャッシュを削除して再実行してください\",\n pageStructureChanged: \"ページ構造が大幅に変化しています。context.md にページ構造の変更を記録してください\",\n navigationTimeout: \"ページ遷移が遅延しています。wait ステップの追加または step-delay の増加を検討してください\",\n actionFailed: \"要素は見つかりましたがアクションが失敗しました。アクション種別の変更(例: click → hover)を検討してください\",\n scriptSyntaxError: \"extract スクリプトに構文エラーがあります。コードの途中切断やトップレベル return を確認してください\",\n unknownError: \"エラー内容を確認し、手順書の該当ステップを見直してください\",\n scriptExecutionError: \"スクリプト実行エラー\",\n browserActionError: \"ブラウザ操作エラー\",\n operationTimedOut: \"操作がタイムアウトしました\",\n },\n slack: {\n batchComplete: \"バッチ実行完了: {title}\",\n executionComplete: \"実行完了: {title}\",\n debugFailure: \"デバッグ検証失敗: {title}\",\n failedLabel: \"失敗:\",\n failedRows: \"失敗行:\",\n suggestionsLabel: \"修正提案:\",\n retryWarningsLabel: \"リトライ警告:\",\n abortTag: \"中止\",\n batchTag: \"バッチ\",\n totalRows: \"全{count}行\",\n moreSteps: \"- ...他 {count} ステップ\",\n moreRows: \"- ...他 {count} 行\",\n moreItems: \"- ...他 {count} 件\",\n approvalRequest: \"承認依頼: {description}\",\n approvalDescription: \"操作の承認依頼が届きました。\\n{goalLine}ステップ:「{description}」\\n操作のリスクレベル:{riskEmoji} {riskLevel}\",\n taskLabel: \"業務内容:\",\n stepLabel: \"ステップ:\",\n riskLabel: \"操作のリスクレベル:\",\n approveButton: \"承認\",\n skipButton: \"スキップ\",\n abortButton: \"中止\",\n approvalWaiting: \"承認待ち (リスク: {riskLevel})\",\n approvalTimeout: \":hourglass: タイムアウト(自動中止)\",\n approved: \":white_check_mark: 承認済み\",\n slackSkipped: \":fast_forward: スキップ\",\n slackAborted: \":octagonal_sign: 中止\",\n },\n executor: {\n openingUrl: \"{url} を開いています...\",\n browserReady: \"ブラウザ起動完了\",\n recordingStarted: \"録画開始: {path}\",\n recordingStartFailed: \"録画開始に失敗しました: {error}\",\n recordingComplete: \"録画完了: {path}\",\n recordingStopFailed: \"録画停止に失敗しました: {error}\",\n jobAbortedTimeout: \"ジョブ中止: タイムアウト超過\",\n conditionSkipping: \"条件不成立、スキップ: {condition}\",\n stopOnErrorAborting: \"stopOnError=true、実行を中止\",\n approvalWaiting: \"承認待ち: Step {ordinal} (リスク: {riskLevel})\",\n approvalAborted: \"承認結果: 中止 (Step {ordinal})\",\n approvalSkipped: \"承認結果: スキップ (Step {ordinal})\",\n approvalApproved: \"承認結果: 実行 (Step {ordinal})\",\n userAborted: \"ユーザーが中止しました\",\n batchBrowserReady: \"バッチ用ブラウザ起動完了\",\n chromeErrorDetected: \"ナビゲーション失敗: chrome-error:// に遷移しました(前のURL: {url})\",\n },\n chat: {\n approvalRequest: \"承認依頼: {description}\",\n approvalDescription: \"操作の承認依頼が届きました。\\n{goalLine}ステップ:「{description}」\\n操作のリスクレベル:{riskEmoji} {riskLevel}\",\n taskLabel: \"業務内容:\",\n stepLabel: \"ステップ:\",\n riskLabel: \"操作のリスクレベル:\",\n approveButton: \"承認\",\n skipButton: \"スキップ\",\n abortButton: \"中止\",\n approvalWaiting: \"承認待ち (リスク: {riskLevel})\",\n approvalTimeout: \"\\u231B タイムアウト(自動中止)\",\n approved: \"\\u2705 承認済み\",\n chatSkipped: \"\\u23E9 スキップ\",\n chatAborted: \"\\uD83D\\uDED1 中止\",\n executionComplete: \"実行完了: {title}\",\n batchComplete: \"バッチ実行完了: {title}\",\n debugFailure: \"デバッグ検証失敗: {title}\",\n failedLabel: \"失敗:\",\n failedRows: \"失敗行:\",\n suggestionsLabel: \"修正提案:\",\n retryWarningsLabel: \"リトライ警告:\",\n abortTag: \"中止\",\n batchTag: \"バッチ\",\n totalRows: \"全{count}行\",\n moreSteps: \"- ...他 {count} ステップ\",\n moreRows: \"- ...他 {count} 行\",\n moreItems: \"- ...他 {count} 件\",\n stepPrefix: \"ステップ\",\n succeededFieldLabel: \"成功\",\n failedFieldLabel: \"失敗\",\n skippedFieldLabel: \"スキップ\",\n durationFieldLabel: \"実行時間\",\n totalFieldLabel: \"合計\",\n generateComplete: \"手順書生成完了\",\n goalFieldLabel: \"ゴール\",\n goalAchievedFieldLabel: \"ゴール達成\",\n stepsFieldLabel: \"ステップ数\",\n yamlFieldLabel: \"YAML生成\",\n },\n review: {\n keptSteps: \"保持されるステップ:\",\n confirmationRequired: \"承認が必要なステップ:\",\n removedSteps: \"除外されるステップ:\",\n capturedValues: \"ページから取得する値:\",\n notes: \"ノート:\",\n guidancePrefix: \"[方針修正 {index}]\",\n summaryLabel: \"Summary: {summary}\",\n reviewResult: \"レビュー結果\",\n confirm: \"確定\",\n confirmHint: \"YAML生成に進む\",\n toggleConfirmation: \"ステップの承認要否を変更\",\n editCaptures: \"ページから取得する値を編集\",\n editCapturesHint: \"accept/reject/add\",\n editNotes: \"ノートを編集\",\n editNotesHint: \"\",\n selectAction: \"操作を選択してください\",\n selectConfirmSteps: \"承認が必要なステップを選択(スペースで切替、Enterで確定)\",\n selectNotesAction: \"ノート操作を選択\",\n addCustomNote: \"カスタムノートを追加\",\n addSuggestedNote: \"AI提案ノートから選択\",\n deleteNote: \"ノートを削除\",\n noteContent: \"ノート内容\",\n noteContentRequired: \"ノート内容を入力してください\",\n notesAdded: \"{count}件のノートを追加しました。\",\n notesDeleted: \"{count}件のノートを削除しました。\",\n selectCaptureAction: \"ページから取得する値の操作を選択\",\n acceptAllCaptures: \"既存の取得値をすべて承認\",\n rejectCaptures: \"取得値を除外\",\n addCapture: \"新しい取得値を追加\",\n allCapturesAccepted: \"すべての取得値を承認しました。\",\n noCapturesAvailable: \"取得値がありません。\",\n selectCapturesToReject: \"除外する取得値を選択\",\n capturesRejected: \"{count}件の取得値を除外しました。\",\n captureStepNumber: \"追加先のステップ番号 (ordinal)\",\n captureStepRequired: \"ステップ番号を入力してください\",\n captureStepNumeric: \"数値を入力してください\",\n captureVarName: \"取得値の変数名 (camelCase)\",\n captureVarRequired: \"変数名を入力してください\",\n captureStrategy: \"取得戦略\",\n strategySnapshot: \"snapshot (正規表現マッチ)\",\n strategyUrl: \"url (URLの正規表現マッチ)\",\n strategyAi: \"ai (AI抽出)\",\n strategyExpression: \"expression (テンプレート)\",\n regexPattern: \"正規表現パターン\",\n aiExtractionPrompt: \"AI抽出プロンプト\",\n templateExpression: \"テンプレート式\",\n captureAdded: 'Step #{ordinal} に取得値 \"{name}\" を追加しました。',\n highRiskNote: \"高リスクステップ({ordinals})の実行前に必ず承認を取ること\",\n credentialNote: \"認証情報を含むステップがあります。実行環境の認証設定を確認してください\",\n removedStepsNote: \"{count}ステップが除外されました。探索が冗長だった可能性があります\",\n stepNotFound: \"Step #{ordinal} が見つかりません。\",\n },\n fix: {\n noSuggestions: \"レポートに修正提案が見つかりませんでした。\",\n noSuggestionsHint: \"ヒント: --self-heal フラグ付きで実行すると AI 修正提案が生成されます。\",\n complete: \"完了\",\n suggestionCount: \"修正提案: {count} 件\",\n errorLabel: \" エラー: {error}\",\n categoryLabel: \" 分類: {category}\",\n yamlFixLabel: \" YAML 修正: {fix}\",\n contextFixLabel: \" Context 修正: {fix}\",\n recoveryHintLabel: \" 推奨対応: {hint}\",\n noYamlFix: \" YAML 修正提案がないためスキップします。\",\n applyPrompt: \"この提案をどうしますか?\",\n applyLabel: \"適用\",\n applyHint: \"AI が YAML を修正します\",\n skipLabel: \"スキップ\",\n skipHint: \"この提案を無視\",\n abortLabel: \"中止\",\n abortHint: \"残りの提案も含めて中止\",\n patchGenerated: \"パッチ生成成功。差分:\",\n confirmApply: \"この変更を適用しますか?\",\n applied: \"Step #{ordinal} の修正を適用しました。\",\n skippedMsg: \"スキップしました。\",\n patchFailed: \"パッチ生成失敗: {error}\",\n writePrompt: \"{count} 件の修正を {path} に書き込みますか?\",\n writeSuccess: \"{path} を更新しました。\",\n writeCancelled: \"書き込みをキャンセルしました。\",\n noChanges: \"適用された修正はありません。\",\n verifyCommand: \"検証コマンド:\",\n noDiff: \"(変更なし)\",\n },\n generator: {\n cancelled: \"探索がキャンセルされました。\",\n feedbackPrompt: \"探索の改善点やフィードバックを入力してください(Enterでスキップ)\",\n aiReviewing: \"AIレビュー中...\",\n aiReviewFailed: \"AIレビュー失敗: {error}\",\n openingUrl: \"{url} を開いています...\",\n pageLoaded: \"ページ読み込み完了\",\n recordingStarted: \"録画開始: {path}\",\n recordingStartFailed: \"録画開始に失敗しました: {error}\",\n screenshotSaved: \"スクリーンショット保存: {path}\",\n paused: \"\\u23F8 一時停止\",\n waitingForAI: \"AI 応答待ち... [Enter: 一時停止 / q: キャンセル]\",\n cancelledByUser: \"\\u23F9 キャンセル\",\n exploringStep: \"エージェント探索中 (ステップ {current}/{total})\",\n explorationComplete: \"探索完了 ({duration})\",\n recordingComplete: \"録画完了: {path}\",\n recordingStopFailed: \"録画停止に失敗しました: {error}\",\n interventionCancelRequested: \"⏹ キャンセルを要求しました...\",\n interventionPauseRequested: \"⏸ 一時停止を要求しました。次のツール呼び出しで停止します...\",\n interventionPauseHeader: \"--- 一時停止 (ステップ #{stepIndex}, URL: {url}) ---\",\n interventionSelectAction: \"操作を選択してください\",\n interventionSelectGuidance: \"ガイダンスを入力して続行\",\n interventionSelectGuidanceHint: \"AIの探索方針を修正\",\n interventionSelectAbort: \"探索を中止\",\n interventionGuidancePrompt: \"ガイダンス (AIへの指示)\",\n interventionGuidanceRequired: \"ガイダンスを入力してください\",\n interventionGuidanceRecorded: \"ガイダンスを記録しました: \\\"{text}\\\"\",\n },\n cli: {\n cancelledMessage: \"操作がキャンセルされました。\",\n executionCancelled: \"実行がキャンセルされました。\",\n runbookRequired: \"--runbook は必須です\",\n urlRequired: \"--url は必須です\",\n goalRequired: \"--goal は必須です\",\n outputRequired: \"--output は必須です\",\n invalidApprovalMode: \"--approval-mode は web, slack, teams, discord のいずれかを指定してください\",\n reportRequired: \"--report は必須です\",\n contextRequired: \"--context は必須です\",\n stealthEnabled: \"ステルス: 有効\",\n proxyEnabled: \"プロキシ: {proxy}\",\n providerRequired: \"--model-provider(または環境変数 AI_MODEL_PROVIDER)は必須です。有効値: anthropic, openai, openai-compatible, google, azure, bedrock, vertex\",\n },\n browserTool: {\n interventionGuidance: \"[ユーザーからの方針修正] {text}\",\n successCount: \"{count}件成功\",\n truncated: \"[省略]\",\n },\n tenant: {\n slugLength: \"Slug は 3〜48 文字で入力してください\",\n slugPattern: \"Slug には小文字英数字とハイフンのみ使用できます\",\n slugReserved: \"\\\"u-\\\" で始まる Slug は予約されています\",\n slugTaken: \"この Slug は既に使用されています\",\n },\n compose: {\n title: \"compose -- 手順書合成\",\n complete: \"合成完了: {path}\",\n branchVarPrompt: \"分岐変数名を入力してください (例: sourceType)\",\n yamlPathPrompt: \"手順書 YAML パス\",\n matchValuePrompt: \"マッチ値\",\n caseLoaded: '読み込み: \"{title}\" ({steps} steps, {vars} variables)',\n addAnotherCase: \"ケースを追加しますか?\",\n goalPrompt: \"合成後のゴール(空欄でスキップ)\",\n variableMergePreview: \"変数マージプレビュー\",\n sharedVariables: \"共通変数(定義一致):\",\n conflictingVariables: \"競合変数(定義不一致):\",\n caseSpecificVariables: \"ケース固有変数:\",\n branchVariable: \"分岐変数:\",\n conflictPrompt: '変数 \"{name}\" の定義が異なります:',\n useFromCase: '\"{case}\" の定義を使用',\n settingsDiffPrompt: \"Settings の差分: {key}\",\n composedPreview: \"合成手順書プレビュー\",\n selectAction: \"操作を選択\",\n confirm: \"確定\",\n confirmHint: \"YAML を出力\",\n editBranch: \"分岐変数名を変更\",\n editMatches: \"マッチ値を変更\",\n editVariables: \"変数を編集\",\n editTitle: \"タイトル/ゴールを変更\",\n selectCase: \"編集するケースを選択\",\n newMatchValue: \"新しいマッチ値\",\n newBranchVar: \"新しい分岐変数名\",\n newTitle: \"新しいタイトル/ゴール\",\n editVarAction: \"変数の操作を選択\",\n deleteVar: \"変数を削除\",\n addVar: \"変数を追加\",\n editVarDef: \"変数の定義を変更\",\n selectVar: \"変数を選択\",\n varDeleted: '変数 \"{name}\" を削除しました。',\n newVarName: \"変数名\",\n newVarSource: \"変数のソース\",\n newVarValue: \"変数の値(省略可)\",\n newVarDescription: \"変数の説明(省略可)\",\n varAdded: '変数 \"{name}\" を追加しました。',\n varUpdated: '変数 \"{name}\" を更新しました。',\n branchVarConflict: '変数名 \"{name}\" は分岐変数と競合しています。別の名前を選択してください。',\n noCases: \"2つ以上のケースが必要です。\",\n },\n serverErrors: {\n unauthorized: \"認証が必要です\",\n sessionRequired: \"セッション認証が必要です\",\n emailVerificationRequired: \"メールアドレスの確認が必要です\",\n apiKeyRevoked: \"API キーは失効しています\",\n roleForbidden: \"{role} 以上のロールが必要です\",\n tenantRequired: \"テナントが必要です\",\n tenantNotFound: \"テナントが見つかりません\",\n notMember: \"このテナントのメンバーではありません\",\n tenantIdRequired: \"tenantId は必須です\",\n nameRequired: \"name は必須です\",\n emailRequired: \"email は必須です\",\n invalidRole: \"role は次のいずれかを指定してください: {roles}\",\n communityNoApiKey: \"Community ティアでは API キーは不要です\",\n apiKeyNotFoundOrRevoked: \"API キーが見つからないか、既に失効しています\",\n adminRequired: \"owner または admin のロールが必要です\",\n ownerOnly: \"owner のみ実行可能です\",\n ownerOnlyAssign: \"owner ロールの付与は owner のみ可能です\",\n ownerOnlyRemoveAdmin: \"admin の削除は owner のみ可能です\",\n alreadyMember: \"既にメンバーです\",\n invitationPending: \"このメールアドレスへの招待は既に保留中です\",\n memberNotFound: \"メンバーが見つかりません\",\n cannotRemoveOwner: \"owner は削除できません\",\n invitationNotFound: \"招待が見つかりません\",\n invitationExpired: \"招待の有効期限が切れています\",\n noFieldsToUpdate: \"更新するフィールドがありません\",\n invalidLocale: \"locale は \\\"en\\\" または \\\"ja\\\" を指定してください\",\n providerIdMismatch: \"プロバイダー ID が一致しません\",\n providerNotConfigured: \"プロバイダーが設定されていません\",\n missingCredentials: \"{platform} の必須認証情報が不足しています: {fields}\",\n planFeatureRequired: \"この機能は {tier} プラン以上で利用可能です\",\n planStepLimitExceeded: \"手順書のステップ数が {count} ですが、現在のプランの上限は {limit} です\",\n scheduledAtMustBeFuture: \"予約時刻を過ぎています。未来の日時を選択してください。\",\n recurringBlockedByPromptVars: \"入力変数を含む手順書では定期実行を利用できません\",\n },\n};\n\nexport default messages;\n","/**\n * i18n/index --- Locale state management and translation functions\n *\n * Provides a module-level singleton for locale state.\n * Initialized once per process (CLI) or per client construction (SDK).\n */\n\nimport type { Locale, Messages, MessageKey } from \"./types\";\nimport enMessages from \"./messages/en\";\nimport jaMessages from \"./messages/ja\";\n\nlet currentLocale: Locale = \"en\";\n\nexport function getLocale(): Locale {\n return currentLocale;\n}\n\nexport function setLocale(locale: Locale): void {\n currentLocale = locale;\n}\n\n/**\n * Initialize locale from explicit value or environment.\n * Priority: explicit param > REFRAIN_LOCALE env > \"en\"\n */\nexport function initLocale(explicit?: string): void {\n if (explicit === \"ja\" || explicit === \"en\") {\n currentLocale = explicit;\n return;\n }\n const envLocale = process.env.REFRAIN_LOCALE;\n if (envLocale === \"ja\" || envLocale === \"en\") {\n currentLocale = envLocale;\n return;\n }\n currentLocale = \"en\";\n}\n\nfunction getMessages(): Messages {\n return currentLocale === \"ja\" ? jaMessages : enMessages;\n}\n\n/**\n * Translate a message key to the current locale string.\n * Returns the key itself as fallback if not found.\n */\nexport function t(key: MessageKey): string {\n const messages = getMessages();\n const parts = key.split(\".\");\n let current: unknown = messages;\n for (const part of parts) {\n if (current && typeof current === \"object\") {\n current = (current as Record<string, unknown>)[part];\n } else {\n return key;\n }\n }\n return typeof current === \"string\" ? current : key;\n}\n\n/**\n * Translate with parameter interpolation.\n * Replaces {name} placeholders with provided values.\n */\nexport function tf(key: MessageKey, params: Record<string, string | number>): string {\n let message = t(key);\n for (const [k, v] of Object.entries(params)) {\n message = message.replaceAll(`{${k}}`, String(v));\n }\n return message;\n}\n\n/**\n * Returns the AI response language instruction for the current locale.\n * Appended to AI system prompts to control response language.\n */\nexport function aiResponseLanguageInstruction(): string {\n return currentLocale === \"ja\"\n ? \"日本語で応答してください。\"\n : \"Respond in English.\";\n}\n\n/**\n * Translate a message key with an explicit locale (server-side safe, no global state).\n */\nexport function tWithLocale(key: MessageKey, locale: Locale): string {\n const messages = locale === \"ja\" ? jaMessages : enMessages;\n const parts = key.split(\".\");\n let current: unknown = messages;\n for (const part of parts) {\n if (current && typeof current === \"object\") {\n current = (current as Record<string, unknown>)[part];\n } else {\n return key;\n }\n }\n return typeof current === \"string\" ? current : key;\n}\n\n/**\n * Translate with parameter interpolation and explicit locale (server-side safe).\n */\nexport function tfWithLocale(\n key: MessageKey,\n locale: Locale,\n params: Record<string, string | number>,\n): string {\n let message = tWithLocale(key, locale);\n for (const [k, v] of Object.entries(params)) {\n message = message.replaceAll(`{${k}}`, String(v));\n }\n return message;\n}\n\n/**\n * Resolve locale from Accept-Language header value.\n * Returns \"ja\" if Japanese is preferred, \"en\" otherwise.\n */\nexport function resolveAcceptLanguage(acceptLanguage?: string | null): Locale {\n if (!acceptLanguage) return \"en\";\n // Simple check: if \"ja\" appears before \"en\" or is the only language\n const lower = acceptLanguage.toLowerCase();\n const jaIndex = lower.indexOf(\"ja\");\n if (jaIndex === -1) return \"en\";\n const enIndex = lower.indexOf(\"en\");\n if (enIndex === -1) return \"ja\";\n return jaIndex < enIndex ? \"ja\" : \"en\";\n}\n\n// Re-export types\nexport type { Locale, Messages, MessageKey } from \"./types\";\n"],"mappings":";;;AAKA,IAAM,WAAqB;AAAA,EACzB,QAAQ;AAAA,IACN,SAAS;AAAA,IACT,SAAS;AAAA,IACT,SAAS;AAAA,IACT,SAAS;AAAA,IACT,MAAM;AAAA,IACN,SAAS;AAAA,IACT,OAAO;AAAA,IACP,OAAO;AAAA,IACP,kBAA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QAAwB;AACnE,QAAMC,YAAW,WAAW,OAAO,aAAa;AAChD,QAAM,QAAQ,IAAI,MAAM,GAAG;AAC3B,MAAI,UAAmBA;AACvB,aAAW,QAAQ,OAAO;AACxB,QAAI,WAAW,OAAO,YAAY,UAAU;AAC1C,gBAAW,QAAoC,IAAI;AAAA,IACrD,OAAO;AACL,aAAO;AAAA,IACT;AAAA,EACF;AACA,SAAO,OAAO,YAAY,WAAW,UAAU;AACjD;AAKO,SAAS,aACd,KACA,QACA,QACQ;AACR,MAAI,UAAU,YAAY,KAAK,MAAM;AACrC,aAAW,CAAC,GAAG,CAAC,KAAK,OAAO,QAAQ,MAAM,GAAG;AAC3C,cAAU,QAAQ,WAAW,IAAI,CAAC,KAAK,OAAO,CAAC,CAAC;AAAA,EAClD;AACA,SAAO;AACT;AAMO,SAAS,sBAAsB,gBAAwC;AAC5E,MAAI,CAAC,eAAgB,QAAO;AAE5B,QAAM,QAAQ,eAAe,YAAY;AACzC,QAAM,UAAU,MAAM,QAAQ,IAAI;AAClC,MAAI,YAAY,GAAI,QAAO;AAC3B,QAAM,UAAU,MAAM,QAAQ,IAAI;AAClC,MAAI,YAAY,GAAI,QAAO;AAC3B,SAAO,UAAU,UAAU,OAAO;AACpC;","names":["messages","messages","messages"]}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
cancel
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NRKZJVPE.js";
|
|
5
5
|
import {
|
|
6
6
|
PROVIDER_DEFAULT_MODELS
|
|
7
7
|
} from "./chunk-KFNW4XR2.js";
|
|
8
8
|
import {
|
|
9
9
|
t
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6FGCPMBU.js";
|
|
11
11
|
|
|
12
12
|
// src/cli/config-helpers.ts
|
|
13
13
|
import { readFile } from "fs/promises";
|
|
@@ -236,4 +236,4 @@ export {
|
|
|
236
236
|
parseModelConfig,
|
|
237
237
|
checkHelpFlag
|
|
238
238
|
};
|
|
239
|
-
//# sourceMappingURL=chunk-
|
|
239
|
+
//# sourceMappingURL=chunk-A5X2VF5G.js.map
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
renderOptionsMarkdown,
|
|
25
25
|
sanitizeBrowserError,
|
|
26
26
|
sleep
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZEBQWBEU.js";
|
|
28
28
|
import {
|
|
29
29
|
resolveTemplate
|
|
30
30
|
} from "./chunk-D5SI2PHK.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
promptConfirm,
|
|
36
36
|
promptSelect,
|
|
37
37
|
promptText
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NRKZJVPE.js";
|
|
39
39
|
import {
|
|
40
40
|
getActiveMetricsCollector,
|
|
41
41
|
getModel,
|
|
@@ -56,12 +56,12 @@ import {
|
|
|
56
56
|
buildSuggestionUserPrompt,
|
|
57
57
|
buildVisionMessages,
|
|
58
58
|
getSuggestionSystemPrompt
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-GC7I5SGK.js";
|
|
60
60
|
import {
|
|
61
61
|
getLocale,
|
|
62
62
|
t,
|
|
63
63
|
tf
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-6FGCPMBU.js";
|
|
65
65
|
|
|
66
66
|
// src/runbook-executor/types.ts
|
|
67
67
|
var SELF_HEAL_DEFAULTS = {
|
|
@@ -4962,4 +4962,4 @@ export {
|
|
|
4962
4962
|
analyzeDebugResult,
|
|
4963
4963
|
generateExecutionReportFile
|
|
4964
4964
|
};
|
|
4965
|
-
//# sourceMappingURL=chunk-
|
|
4965
|
+
//# sourceMappingURL=chunk-AOCGSFRM.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
getLocale
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6FGCPMBU.js";
|
|
5
5
|
|
|
6
6
|
// src/i18n/prompts/en/exploration.ts
|
|
7
7
|
var COMMAND_SCHEMA = `### Basic Operations
|
|
@@ -1143,4 +1143,4 @@ export {
|
|
|
1143
1143
|
getSuggestionSystemPrompt3 as getSuggestionSystemPrompt,
|
|
1144
1144
|
buildSuggestionUserPrompt3 as buildSuggestionUserPrompt
|
|
1145
1145
|
};
|
|
1146
|
-
//# sourceMappingURL=chunk-
|
|
1146
|
+
//# sourceMappingURL=chunk-GC7I5SGK.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createReviewUserPrompt,
|
|
4
4
|
getReviewSystemPrompt
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GC7I5SGK.js";
|
|
6
6
|
|
|
7
7
|
// src/runbook-generator/prompts.ts
|
|
8
8
|
import { z } from "zod";
|
|
@@ -27,4 +27,4 @@ export {
|
|
|
27
27
|
reviewResponseSchema,
|
|
28
28
|
createReviewPrompt
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-IGJNT457.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-D5SI2PHK.js";
|
|
5
5
|
import {
|
|
6
6
|
log
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NRKZJVPE.js";
|
|
8
8
|
import {
|
|
9
9
|
getModel,
|
|
10
10
|
trackedGenerateText
|
|
@@ -178,4 +178,4 @@ export {
|
|
|
178
178
|
generatePatch,
|
|
179
179
|
generatePatchPipeline
|
|
180
180
|
};
|
|
181
|
-
//# sourceMappingURL=chunk-
|
|
181
|
+
//# sourceMappingURL=chunk-MYITSQYV.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
t
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6FGCPMBU.js";
|
|
5
5
|
|
|
6
6
|
// src/cli/prompts.ts
|
|
7
7
|
import * as p from "@clack/prompts";
|
|
@@ -71,4 +71,4 @@ export {
|
|
|
71
71
|
cancel2 as cancel,
|
|
72
72
|
log2 as log
|
|
73
73
|
};
|
|
74
|
-
//# sourceMappingURL=chunk-
|
|
74
|
+
//# sourceMappingURL=chunk-NRKZJVPE.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
cancel,
|
|
4
4
|
log
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NRKZJVPE.js";
|
|
6
6
|
import {
|
|
7
7
|
computeCacheRate,
|
|
8
8
|
computeTotalRealInput,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-KFNW4XR2.js";
|
|
12
12
|
import {
|
|
13
13
|
t
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6FGCPMBU.js";
|
|
15
15
|
|
|
16
16
|
// src/cli/debug-logger.ts
|
|
17
17
|
import { appendFile, writeFile } from "fs/promises";
|
|
@@ -8844,4 +8844,4 @@ export {
|
|
|
8844
8844
|
formatAiSelectorQualityFromSteps,
|
|
8845
8845
|
formatDebugLogSections
|
|
8846
8846
|
};
|
|
8847
|
-
//# sourceMappingURL=chunk-
|
|
8847
|
+
//# sourceMappingURL=chunk-ZEBQWBEU.js.map
|
package/dist/cli.js
CHANGED
|
@@ -5,19 +5,19 @@ var command = process.argv[2];
|
|
|
5
5
|
process.argv = [process.argv[0], process.argv[1], ...process.argv.slice(3)];
|
|
6
6
|
switch (command) {
|
|
7
7
|
case "generate":
|
|
8
|
-
await import("./runbook-generator-
|
|
8
|
+
await import("./runbook-generator-UIHWBEYC.js");
|
|
9
9
|
break;
|
|
10
10
|
case "execute":
|
|
11
|
-
await import("./runbook-executor-
|
|
11
|
+
await import("./runbook-executor-OJXJTN6A.js");
|
|
12
12
|
break;
|
|
13
13
|
case "fix-runbook":
|
|
14
|
-
await import("./fix-runbook-
|
|
14
|
+
await import("./fix-runbook-6L5ZMA5G.js");
|
|
15
15
|
break;
|
|
16
16
|
case "compose":
|
|
17
|
-
await import("./compose-
|
|
17
|
+
await import("./compose-AVX5RU67.js");
|
|
18
18
|
break;
|
|
19
19
|
case "serve":
|
|
20
|
-
await import("./server-
|
|
20
|
+
await import("./server-MULT5ZWG.js");
|
|
21
21
|
break;
|
|
22
22
|
case "--version":
|
|
23
23
|
case "-v": {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
promptConfirm,
|
|
8
8
|
promptSelect,
|
|
9
9
|
promptText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NRKZJVPE.js";
|
|
11
11
|
import {
|
|
12
12
|
ParsedRunbookSchema
|
|
13
13
|
} from "./chunk-LZDZGI4M.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
initLocale,
|
|
16
16
|
t,
|
|
17
17
|
tf
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6FGCPMBU.js";
|
|
19
19
|
import "./chunk-2H7UOFLK.js";
|
|
20
20
|
|
|
21
21
|
// src/compose/config.ts
|
|
@@ -546,4 +546,4 @@ try {
|
|
|
546
546
|
console.error(`\u5408\u6210\u5931\u6557: ${msg}`);
|
|
547
547
|
process.exit(1);
|
|
548
548
|
}
|
|
549
|
-
//# sourceMappingURL=compose-
|
|
549
|
+
//# sourceMappingURL=compose-AVX5RU67.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
checkHelpFlag,
|
|
4
4
|
parseModelConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-A5X2VF5G.js";
|
|
6
6
|
import {
|
|
7
7
|
generatePatch
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MYITSQYV.js";
|
|
9
9
|
import "./chunk-D5SI2PHK.js";
|
|
10
10
|
import {
|
|
11
11
|
cancel,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
outro,
|
|
15
15
|
promptConfirm,
|
|
16
16
|
promptSelect
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NRKZJVPE.js";
|
|
18
18
|
import {
|
|
19
19
|
initModel
|
|
20
20
|
} from "./chunk-KFNW4XR2.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
initLocale,
|
|
24
24
|
t,
|
|
25
25
|
tf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6FGCPMBU.js";
|
|
27
27
|
import "./chunk-2H7UOFLK.js";
|
|
28
28
|
|
|
29
29
|
// src/fix-runbook/index.ts
|
|
@@ -293,4 +293,4 @@ main().catch((error) => {
|
|
|
293
293
|
}
|
|
294
294
|
process.exit(1);
|
|
295
295
|
});
|
|
296
|
-
//# sourceMappingURL=fix-runbook-
|
|
296
|
+
//# sourceMappingURL=fix-runbook-6L5ZMA5G.js.map
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createReviewPrompt,
|
|
4
4
|
reviewResponseSchema
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-IGJNT457.js";
|
|
6
|
+
import "./chunk-GC7I5SGK.js";
|
|
7
|
+
import "./chunk-6FGCPMBU.js";
|
|
8
8
|
import "./chunk-2H7UOFLK.js";
|
|
9
9
|
export {
|
|
10
10
|
createReviewPrompt,
|
|
11
11
|
reviewResponseSchema
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=prompts-
|
|
13
|
+
//# sourceMappingURL=prompts-AGUYYIOM.js.map
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
saveCache,
|
|
27
27
|
validateBatchLimit,
|
|
28
28
|
validateStepLimit
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AOCGSFRM.js";
|
|
30
30
|
import {
|
|
31
31
|
AgentBrowser,
|
|
32
32
|
DownloadManager,
|
|
@@ -37,14 +37,14 @@ import {
|
|
|
37
37
|
getRecoveryHint,
|
|
38
38
|
loadSecrets,
|
|
39
39
|
serializeExecutorOptions
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-ZEBQWBEU.js";
|
|
41
41
|
import {
|
|
42
42
|
checkHelpFlag,
|
|
43
43
|
getRawArgs,
|
|
44
44
|
parseModelConfig,
|
|
45
45
|
readContextFile,
|
|
46
46
|
validateNotifyMode
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-A5X2VF5G.js";
|
|
48
48
|
import "./chunk-D5SI2PHK.js";
|
|
49
49
|
import {
|
|
50
50
|
cancel,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
log,
|
|
53
53
|
note,
|
|
54
54
|
outro
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-NRKZJVPE.js";
|
|
56
56
|
import {
|
|
57
57
|
computeCacheRate,
|
|
58
58
|
computeTotalRealInput,
|
|
@@ -68,12 +68,12 @@ import "./chunk-YTVEYQGA.js";
|
|
|
68
68
|
import {
|
|
69
69
|
ParsedRunbookSchema
|
|
70
70
|
} from "./chunk-LZDZGI4M.js";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-GC7I5SGK.js";
|
|
72
72
|
import {
|
|
73
73
|
initLocale,
|
|
74
74
|
t,
|
|
75
75
|
tf
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-6FGCPMBU.js";
|
|
77
77
|
import "./chunk-2H7UOFLK.js";
|
|
78
78
|
|
|
79
79
|
// src/runbook-executor/config.ts
|
|
@@ -1074,4 +1074,4 @@ main().catch((error) => {
|
|
|
1074
1074
|
}
|
|
1075
1075
|
process.exit(1);
|
|
1076
1076
|
});
|
|
1077
|
-
//# sourceMappingURL=runbook-executor-
|
|
1077
|
+
//# sourceMappingURL=runbook-executor-OJXJTN6A.js.map
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
explore,
|
|
4
4
|
generateExplorationReport,
|
|
5
5
|
generateGenerationReportFile
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5CKPPEYP.js";
|
|
7
7
|
import {
|
|
8
8
|
createDebugLogger,
|
|
9
9
|
formatDuration,
|
|
10
10
|
loadSecrets,
|
|
11
11
|
serializeGeneratorOptions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZEBQWBEU.js";
|
|
13
13
|
import {
|
|
14
14
|
checkHelpFlag,
|
|
15
15
|
getRawArgs,
|
|
16
16
|
parseModelConfig,
|
|
17
17
|
readContextFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-A5X2VF5G.js";
|
|
19
19
|
import {
|
|
20
20
|
cancel,
|
|
21
21
|
intro,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
promptMultiselect,
|
|
26
26
|
promptSelect,
|
|
27
27
|
promptText
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NRKZJVPE.js";
|
|
29
29
|
import {
|
|
30
30
|
getModel,
|
|
31
31
|
globalMetrics,
|
|
@@ -42,14 +42,14 @@ import "./chunk-LZDZGI4M.js";
|
|
|
42
42
|
import {
|
|
43
43
|
createReviewPrompt,
|
|
44
44
|
reviewResponseSchema
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-IGJNT457.js";
|
|
46
|
+
import "./chunk-GC7I5SGK.js";
|
|
47
47
|
import {
|
|
48
48
|
getLocale,
|
|
49
49
|
initLocale,
|
|
50
50
|
t,
|
|
51
51
|
tf
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-6FGCPMBU.js";
|
|
53
53
|
import "./chunk-2H7UOFLK.js";
|
|
54
54
|
|
|
55
55
|
// src/runbook-generator/index.ts
|
|
@@ -722,4 +722,4 @@ main().catch((error) => {
|
|
|
722
722
|
}
|
|
723
723
|
process.exit(1);
|
|
724
724
|
});
|
|
725
|
-
//# sourceMappingURL=runbook-generator-
|
|
725
|
+
//# sourceMappingURL=runbook-generator-UIHWBEYC.js.map
|