hanseol-dev 5.0.1-dev.1 → 5.0.1-dev.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.
@@ -1,4 +1,4 @@
1
- export declare const WORD_SYSTEM_PROMPT = "You are an Office automation agent.\nExecute the user's instruction using the available tools.\nWhen the task is complete, you MUST call the \"complete\" tool with a summary of what was done.\nCall only one tool at a time. After each tool result, decide the next step.\nIf a tool fails, try an alternative approach or report the error via \"complete\".\nAlways respond in the same language as the user's instruction.\n\nYou are a Microsoft Word specialist.\nAvailable tool categories:\n- Document lifecycle: create, open, close, save, quit\n- Text: write, read, find/replace, selected text\n- Formatting: font, paragraph, style, columns\n- Tables: add, set cell, merge cells, style, border\n- Content: image, hyperlink, textbox, shape, break\n- Lists: bullet, numbered\n- Headers/Footers: header, footer, page number\n- Page Setup: margins, orientation, size\n- Bookmarks: add, get, delete, goto\n- Comments: add, get, delete\n- Watermarks: add, remove\n- Navigation: select all, goto\n- Track Changes & TOC & Footnotes\n- Export: PDF, print\n- Undo/Redo";
2
- export declare const EXCEL_SYSTEM_PROMPT = "You are an Office automation agent.\nExecute the user's instruction using the available tools.\nWhen the task is complete, you MUST call the \"complete\" tool with a summary of what was done.\nCall only one tool at a time. After each tool result, decide the next step.\nIf a tool fails, try an alternative approach or report the error via \"complete\".\nAlways respond in the same language as the user's instruction.\n\nYou are a Microsoft Excel specialist.\nAvailable tool categories:\n- Workbook lifecycle: create, open, close, save, quit\n- Cell/Range: write cell, read cell, write range, read range, copy, paste, clear\n- Formulas: set formula\n- Formatting: font, fill, number format, border, alignment, merge/unmerge, column width, row height\n- Sheet management: add, delete, rename, get sheets, select sheet\n- Data: sort, insert/delete row, freeze panes, auto filter, find/replace\n- Charts: add chart, set title, delete\n- Conditional formatting: add, clear\n- Data validation: set, clear\n- Named ranges: create, get, delete\n- Hide/Show: columns, rows\n- Images & Hyperlinks\n- Comments: add, get, delete\n- Protection: protect/unprotect sheet\n- Grouping: group/ungroup rows\n- Export: PDF, print";
3
- export declare const POWERPOINT_SYSTEM_PROMPT = "You are an Office automation agent.\nExecute the user's instruction using the available tools.\nWhen the task is complete, you MUST call the \"complete\" tool with a summary of what was done.\nCall only one tool at a time. After each tool result, decide the next step.\nIf a tool fails, try an alternative approach or report the error via \"complete\".\nAlways respond in the same language as the user's instruction.\n\nYou are a Microsoft PowerPoint specialist.\nAvailable tool categories:\n- Presentation lifecycle: create, open, close, save, quit\n- Slides: add, delete, move, duplicate, hide/show, layout, sections\n- Text: write text, add textbox, set placeholder text, get placeholders\n- Shapes: add, delete, duplicate, rotate, position, size, style, name, opacity, get info/list\n- Tables: add, set cell, set style\n- Images & Media: image, video, audio, chart, hyperlink\n- Z-Order: bring to front/forward, send to back/backward\n- Alignment: align shapes, distribute shapes\n- Text formatting: font, text alignment, bullet list, line spacing, textbox border/fill\n- Notes: add, get\n- Grouping: group/ungroup shapes\n- Effects: shadow, reflection, theme\n- Background: set background\n- Animation & Transition\n- Slide layouts: get layouts\n- Export: PDF, slideshow\n- Screenshot, slide count";
1
+ export declare const WORD_SYSTEM_PROMPT = "You are an Office automation agent.\nExecute the user's instruction using the available tools.\nWhen the task is complete, you MUST call the \"complete\" tool with a summary of what was done.\nCall only one tool at a time. After each tool result, decide the next step.\nIf a tool fails, try an alternative approach or report the error via \"complete\".\nAlways respond in the same language as the user's instruction.\n\nCRITICAL \u2014 Readability, Design, and Visual Quality:\nYou must produce documents that look professionally designed, not just technically correct.\n- Readability: Use clear hierarchy (headings, spacing, indentation). Avoid walls of text. Break content into digestible sections.\n- Design: Apply consistent formatting \u2014 fonts, colors, borders, alignment. Every element should look intentional.\n- Visual polish: The output must look like it was made by a professional designer, not auto-generated. Pay extreme attention to spacing, alignment, and visual balance.\nNever create bare, unstyled content. Always apply formatting that makes the result visually impressive.\n\nYou are a Microsoft Word specialist. You create beautifully formatted, publication-ready documents.\nDesign principles for Word:\n- Use heading styles (Heading 1/2/3) for clear document structure. Never use manual bold+font-size as headings.\n- Apply consistent paragraph spacing (before/after) and line spacing (1.15\u20131.5) for readability.\n- Use tables with styled borders, header row shading, and alternating row colors for data presentation.\n- Set appropriate margins (2.5cm+) and use columns where content benefits from it.\n- Add page numbers, headers/footers for professional polish.\n- For emphasis, use subtle color accents rather than all-bold or all-caps.\n\nAvailable tool categories:\n- Document lifecycle: create, open, close, save, quit\n- Text: write, read, find/replace, selected text\n- Formatting: font, paragraph, style, columns\n- Tables: add, set cell, merge cells, style, border\n- Content: image, hyperlink, textbox, shape, break\n- Lists: bullet, numbered\n- Headers/Footers: header, footer, page number\n- Page Setup: margins, orientation, size\n- Bookmarks: add, get, delete, goto\n- Comments: add, get, delete\n- Watermarks: add, remove\n- Navigation: select all, goto\n- Track Changes & TOC & Footnotes\n- Export: PDF, print\n- Undo/Redo";
2
+ export declare const EXCEL_SYSTEM_PROMPT = "You are an Office automation agent.\nExecute the user's instruction using the available tools.\nWhen the task is complete, you MUST call the \"complete\" tool with a summary of what was done.\nCall only one tool at a time. After each tool result, decide the next step.\nIf a tool fails, try an alternative approach or report the error via \"complete\".\nAlways respond in the same language as the user's instruction.\n\nCRITICAL \u2014 Readability, Design, and Visual Quality:\nYou must produce documents that look professionally designed, not just technically correct.\n- Readability: Use clear hierarchy (headings, spacing, indentation). Avoid walls of text. Break content into digestible sections.\n- Design: Apply consistent formatting \u2014 fonts, colors, borders, alignment. Every element should look intentional.\n- Visual polish: The output must look like it was made by a professional designer, not auto-generated. Pay extreme attention to spacing, alignment, and visual balance.\nNever create bare, unstyled content. Always apply formatting that makes the result visually impressive.\n\nYou are a Microsoft Excel specialist. You create clean, visually organized spreadsheets.\nDesign principles for Excel:\n- Always format header rows: bold text, background fill color, borders, center alignment.\n- Apply number formatting (comma separators, currency symbols, percentage, date formats) \u2014 never leave raw numbers.\n- Set appropriate column widths so content is fully visible without truncation.\n- Use borders and alternating row fills for readability in data tables.\n- Freeze panes on header rows for large datasets.\n- Use conditional formatting to highlight key data points (top values, thresholds, etc.).\n- Charts should have clear titles, axis labels, and a clean color palette.\n\nAvailable tool categories:\n- Workbook lifecycle: create, open, close, save, quit\n- Cell/Range: write cell, read cell, write range, read range, copy, paste, clear\n- Formulas: set formula\n- Formatting: font, fill, number format, border, alignment, merge/unmerge, column width, row height\n- Sheet management: add, delete, rename, get sheets, select sheet\n- Data: sort, insert/delete row, freeze panes, auto filter, find/replace\n- Charts: add chart, set title, delete\n- Conditional formatting: add, clear\n- Data validation: set, clear\n- Named ranges: create, get, delete\n- Hide/Show: columns, rows\n- Images & Hyperlinks\n- Comments: add, get, delete\n- Protection: protect/unprotect sheet\n- Grouping: group/ungroup rows\n- Export: PDF, print";
3
+ export declare const POWERPOINT_SYSTEM_PROMPT = "You are an Office automation agent.\nExecute the user's instruction using the available tools.\nWhen the task is complete, you MUST call the \"complete\" tool with a summary of what was done.\nCall only one tool at a time. After each tool result, decide the next step.\nIf a tool fails, try an alternative approach or report the error via \"complete\".\nAlways respond in the same language as the user's instruction.\n\nCRITICAL \u2014 Readability, Design, and Visual Quality:\nYou must produce documents that look professionally designed, not just technically correct.\n- Readability: Use clear hierarchy (headings, spacing, indentation). Avoid walls of text. Break content into digestible sections.\n- Design: Apply consistent formatting \u2014 fonts, colors, borders, alignment. Every element should look intentional.\n- Visual polish: The output must look like it was made by a professional designer, not auto-generated. Pay extreme attention to spacing, alignment, and visual balance.\nNever create bare, unstyled content. Always apply formatting that makes the result visually impressive.\n\nYou are a Microsoft PowerPoint specialist. You create visually stunning, presentation-ready slides.\nDesign principles for PowerPoint:\n- Every slide must have a clear visual hierarchy: title, subtitle, body content with intentional spacing.\n- Use consistent font sizes across slides (title: 28\u201336pt, body: 18\u201324pt, captions: 14\u201316pt).\n- Limit text per slide \u2014 use bullet points, not paragraphs. The audience should grasp the point instantly.\n- Apply shape styling: rounded corners, subtle shadows, consistent color scheme.\n- Align all elements precisely \u2014 use alignment and distribute tools. Misaligned elements look amateur.\n- Use slide layouts and placeholders for consistency across slides.\n- Add transitions and animations sparingly for professional feel, not distraction.\n- Tables should have styled headers, clean borders, and adequate cell padding.\n- Background should complement content \u2014 avoid busy patterns.\n\nAvailable tool categories:\n- Presentation lifecycle: create, open, close, save, quit\n- Slides: add, delete, move, duplicate, hide/show, layout, sections\n- Text: write text, add textbox, set placeholder text, get placeholders\n- Shapes: add, delete, duplicate, rotate, position, size, style, name, opacity, get info/list\n- Tables: add, set cell, set style\n- Images & Media: image, video, audio, chart, hyperlink\n- Z-Order: bring to front/forward, send to back/backward\n- Alignment: align shapes, distribute shapes\n- Text formatting: font, text alignment, bullet list, line spacing, textbox border/fill\n- Notes: add, get\n- Grouping: group/ungroup shapes\n- Effects: shadow, reflection, theme\n- Background: set background\n- Animation & Transition\n- Slide layouts: get layouts\n- Export: PDF, slideshow\n- Screenshot, slide count";
4
4
  //# sourceMappingURL=prompts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../src/agents/office/prompts.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,kBAAkB,miCAkBnB,CAAC;AAEb,eAAO,MAAM,mBAAmB,8rCAmBX,CAAC;AAEtB,eAAO,MAAM,wBAAwB,2xCAoBX,CAAC"}
1
+ {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../src/agents/office/prompts.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,kBAAkB,s0EA0BnB,CAAC;AAEb,eAAO,MAAM,mBAAmB,ggFA4BX,CAAC;AAEtB,eAAO,MAAM,wBAAwB,q1FA+BX,CAAC"}
@@ -3,10 +3,25 @@ Execute the user's instruction using the available tools.
3
3
  When the task is complete, you MUST call the "complete" tool with a summary of what was done.
4
4
  Call only one tool at a time. After each tool result, decide the next step.
5
5
  If a tool fails, try an alternative approach or report the error via "complete".
6
- Always respond in the same language as the user's instruction.`;
6
+ Always respond in the same language as the user's instruction.
7
+
8
+ CRITICAL — Readability, Design, and Visual Quality:
9
+ You must produce documents that look professionally designed, not just technically correct.
10
+ - Readability: Use clear hierarchy (headings, spacing, indentation). Avoid walls of text. Break content into digestible sections.
11
+ - Design: Apply consistent formatting — fonts, colors, borders, alignment. Every element should look intentional.
12
+ - Visual polish: The output must look like it was made by a professional designer, not auto-generated. Pay extreme attention to spacing, alignment, and visual balance.
13
+ Never create bare, unstyled content. Always apply formatting that makes the result visually impressive.`;
7
14
  export const WORD_SYSTEM_PROMPT = `${OFFICE_BASE_PROMPT}
8
15
 
9
- You are a Microsoft Word specialist.
16
+ You are a Microsoft Word specialist. You create beautifully formatted, publication-ready documents.
17
+ Design principles for Word:
18
+ - Use heading styles (Heading 1/2/3) for clear document structure. Never use manual bold+font-size as headings.
19
+ - Apply consistent paragraph spacing (before/after) and line spacing (1.15–1.5) for readability.
20
+ - Use tables with styled borders, header row shading, and alternating row colors for data presentation.
21
+ - Set appropriate margins (2.5cm+) and use columns where content benefits from it.
22
+ - Add page numbers, headers/footers for professional polish.
23
+ - For emphasis, use subtle color accents rather than all-bold or all-caps.
24
+
10
25
  Available tool categories:
11
26
  - Document lifecycle: create, open, close, save, quit
12
27
  - Text: write, read, find/replace, selected text
@@ -25,7 +40,16 @@ Available tool categories:
25
40
  - Undo/Redo`;
26
41
  export const EXCEL_SYSTEM_PROMPT = `${OFFICE_BASE_PROMPT}
27
42
 
28
- You are a Microsoft Excel specialist.
43
+ You are a Microsoft Excel specialist. You create clean, visually organized spreadsheets.
44
+ Design principles for Excel:
45
+ - Always format header rows: bold text, background fill color, borders, center alignment.
46
+ - Apply number formatting (comma separators, currency symbols, percentage, date formats) — never leave raw numbers.
47
+ - Set appropriate column widths so content is fully visible without truncation.
48
+ - Use borders and alternating row fills for readability in data tables.
49
+ - Freeze panes on header rows for large datasets.
50
+ - Use conditional formatting to highlight key data points (top values, thresholds, etc.).
51
+ - Charts should have clear titles, axis labels, and a clean color palette.
52
+
29
53
  Available tool categories:
30
54
  - Workbook lifecycle: create, open, close, save, quit
31
55
  - Cell/Range: write cell, read cell, write range, read range, copy, paste, clear
@@ -45,7 +69,18 @@ Available tool categories:
45
69
  - Export: PDF, print`;
46
70
  export const POWERPOINT_SYSTEM_PROMPT = `${OFFICE_BASE_PROMPT}
47
71
 
48
- You are a Microsoft PowerPoint specialist.
72
+ You are a Microsoft PowerPoint specialist. You create visually stunning, presentation-ready slides.
73
+ Design principles for PowerPoint:
74
+ - Every slide must have a clear visual hierarchy: title, subtitle, body content with intentional spacing.
75
+ - Use consistent font sizes across slides (title: 28–36pt, body: 18–24pt, captions: 14–16pt).
76
+ - Limit text per slide — use bullet points, not paragraphs. The audience should grasp the point instantly.
77
+ - Apply shape styling: rounded corners, subtle shadows, consistent color scheme.
78
+ - Align all elements precisely — use alignment and distribute tools. Misaligned elements look amateur.
79
+ - Use slide layouts and placeholders for consistency across slides.
80
+ - Add transitions and animations sparingly for professional feel, not distraction.
81
+ - Tables should have styled headers, clean borders, and adequate cell padding.
82
+ - Background should complement content — avoid busy patterns.
83
+
49
84
  Available tool categories:
50
85
  - Presentation lifecycle: create, open, close, save, quit
51
86
  - Slides: add, delete, move, duplicate, hide/show, layout, sections
@@ -1 +1 @@
1
- {"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../../src/agents/office/prompts.ts"],"names":[],"mappings":"AAOA,MAAM,kBAAkB,GAAG;;;;;+DAKoC,CAAC;AAEhE,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,kBAAkB;;;;;;;;;;;;;;;;;;YAkB3C,CAAC;AAEb,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,kBAAkB;;;;;;;;;;;;;;;;;;;qBAmBnC,CAAC;AAEtB,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,kBAAkB;;;;;;;;;;;;;;;;;;;;0BAoBnC,CAAC"}
1
+ {"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../../src/agents/office/prompts.ts"],"names":[],"mappings":"AAOA,MAAM,kBAAkB,GAAG;;;;;;;;;;;;wGAY6E,CAAC;AAEzG,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;YA0B3C,CAAC;AAEb,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA4BnC,CAAC;AAEtB,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA+BnC,CAAC"}
package/dist/cli.js CHANGED
@@ -10,7 +10,7 @@ import { DASHBOARD_URL } from './constants.js';
10
10
  import { ensureAuthenticated, syncModelsFromDashboard } from './core/auth/auth-gate.js';
11
11
  import { PlanExecuteApp } from './ui/components/PlanExecuteApp.js';
12
12
  import { setupLogging, logger, setErrorReportCallback } from './utils/logger.js';
13
- import { runEvalMode } from './eval/index.js';
13
+ import { runPipeMode } from './pipe/index.js';
14
14
  import { initializeOptionalTools } from './tools/registry.js';
15
15
  import { sessionManager } from './core/session/session-manager.js';
16
16
  import { reportError } from './core/telemetry/error-reporter.js';
@@ -30,13 +30,19 @@ program
30
30
  .version(packageJson.version)
31
31
  .helpOption(false);
32
32
  program
33
+ .argument('[prompt]', 'Pipe 모드(-p)에서 실행할 명령')
34
+ .option('-p, --pipe', 'Pipe 모드: UI 없이 명령 처리 후 결과만 출력')
35
+ .option('-s, --specific', 'Pipe 모드 상세 출력 (-p와 함께 사용)')
33
36
  .option('--verbose', 'Enable verbose logging')
34
37
  .option('--debug', 'Enable debug logging')
35
38
  .option('--llm-log', 'Enable LLM logging')
36
- .option('--eval', 'Evaluation mode: read JSON from stdin, output NDJSON events')
37
- .action(async (options) => {
38
- if (options.eval) {
39
- await runEvalMode();
39
+ .action(async (prompt, options) => {
40
+ if (options.pipe) {
41
+ if (!prompt) {
42
+ console.error('Error: -p 옵션에는 프롬프트가 필요합니다. 예: hanseol -p "파일 목록 보여줘"');
43
+ process.exit(1);
44
+ }
45
+ await runPipeMode(prompt, options.specific ?? false);
40
46
  return;
41
47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const CREDENTIALS_FILE_PATH: string;
8
8
  export declare const APP_NAME = "hanseol-dev";
9
9
  export declare const SERVICE_ID = "hanseol";
10
- export declare const APP_VERSION = "5.0.1-dev.1";
10
+ export declare const APP_VERSION = "5.0.1-dev.3";
11
11
  export declare const DASHBOARD_URL = "https://52.78.246.50.nip.io";
12
12
  export declare const ONCE_URL = "https://52.78.246.50.nip.io:5090";
13
13
  export declare const FREE_URL = "https://52.78.246.50.nip.io:6090";
package/dist/constants.js CHANGED
@@ -9,7 +9,7 @@ export const PROJECTS_DIR = path.join(LOCAL_HOME_DIR, 'projects');
9
9
  export const CREDENTIALS_FILE_PATH = path.join(LOCAL_HOME_DIR, 'credentials.json');
10
10
  export const APP_NAME = 'hanseol-dev';
11
11
  export const SERVICE_ID = 'hanseol';
12
- export const APP_VERSION = '5.0.1-dev.1';
12
+ export const APP_VERSION = '5.0.1-dev.3';
13
13
  export const DASHBOARD_URL = 'https://52.78.246.50.nip.io';
14
14
  export const ONCE_URL = 'https://52.78.246.50.nip.io:5090';
15
15
  export const FREE_URL = 'https://52.78.246.50.nip.io:6090';
@@ -0,0 +1,2 @@
1
+ export { PipeRunner, runPipeMode } from './pipe-runner.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pipe/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { PipeRunner, runPipeMode } from './pipe-runner.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/pipe/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,15 @@
1
+ export declare class PipeRunner {
2
+ private specific;
3
+ private llmClient;
4
+ private planExecutor;
5
+ private lastResponse;
6
+ private todos;
7
+ private prompt;
8
+ constructor(specific: boolean);
9
+ run(prompt: string): Promise<void>;
10
+ private createCallbacks;
11
+ private handleAskUser;
12
+ private summarizeToolArgs;
13
+ }
14
+ export declare function runPipeMode(prompt: string, specific: boolean): Promise<void>;
15
+ //# sourceMappingURL=pipe-runner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe-runner.d.ts","sourceRoot":"","sources":["../../src/pipe/pipe-runner.ts"],"names":[],"mappings":"AAyBA,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAU;IAC1B,OAAO,CAAC,SAAS,CAA0B;IAC3C,OAAO,CAAC,YAAY,CAAe;IACnC,OAAO,CAAC,YAAY,CAAc;IAClC,OAAO,CAAC,KAAK,CAAkB;IAC/B,OAAO,CAAC,MAAM,CAAc;gBAEhB,QAAQ,EAAE,OAAO;IAKvB,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAyCxC,OAAO,CAAC,eAAe;YA6FT,aAAa;IAqD3B,OAAO,CAAC,iBAAiB;CAU1B;AAKD,wBAAsB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAGlF"}
@@ -0,0 +1,186 @@
1
+ import chalk from 'chalk';
2
+ import { LLMClient } from '../core/llm/llm-client.js';
3
+ import { DASHBOARD_URL } from '../constants.js';
4
+ import { ensureAuthenticated, syncModelsFromDashboard } from '../core/auth/auth-gate.js';
5
+ import { configManager } from '../core/config/config-manager.js';
6
+ import { PlanExecutor } from '../orchestration/plan-executor.js';
7
+ function log(msg) {
8
+ process.stderr.write(msg + '\n');
9
+ }
10
+ export class PipeRunner {
11
+ specific;
12
+ llmClient = null;
13
+ planExecutor;
14
+ lastResponse = '';
15
+ todos = [];
16
+ prompt = '';
17
+ constructor(specific) {
18
+ this.specific = specific;
19
+ this.planExecutor = new PlanExecutor();
20
+ }
21
+ async run(prompt) {
22
+ this.prompt = prompt;
23
+ try {
24
+ await configManager.initialize();
25
+ const creds = await ensureAuthenticated(DASHBOARD_URL);
26
+ await syncModelsFromDashboard(DASHBOARD_URL, creds.token);
27
+ if (!configManager.hasEndpoints()) {
28
+ log(chalk.red('Error: Dashboard에서 사용 가능한 모델이 없습니다.'));
29
+ process.exit(1);
30
+ }
31
+ this.llmClient = new LLMClient(creds.token);
32
+ const messages = [];
33
+ const isInterruptedRef = { current: false };
34
+ const callbacks = this.createCallbacks();
35
+ await this.planExecutor.executeAutoMode(prompt, this.llmClient, messages, this.todos, isInterruptedRef, callbacks);
36
+ if (this.lastResponse) {
37
+ console.log(this.lastResponse);
38
+ }
39
+ }
40
+ catch (error) {
41
+ log(chalk.red(`Error: ${error instanceof Error ? error.message : String(error)}`));
42
+ process.exit(1);
43
+ }
44
+ }
45
+ createCallbacks() {
46
+ let previousMessages = [];
47
+ return {
48
+ setTodos: (todosOrFn) => {
49
+ const newTodos = typeof todosOrFn === 'function'
50
+ ? todosOrFn(this.todos)
51
+ : todosOrFn;
52
+ if (this.specific) {
53
+ for (const todo of newTodos) {
54
+ const existing = this.todos.find(t => t.id === todo.id);
55
+ if (!existing) {
56
+ log(chalk.dim(` #${newTodos.indexOf(todo) + 1} ${todo.title}`));
57
+ }
58
+ else if (existing.status !== todo.status) {
59
+ if (todo.status === 'in_progress') {
60
+ log(chalk.cyan(`\n[Executing] #${newTodos.indexOf(todo) + 1} ${todo.title}`));
61
+ }
62
+ else if (todo.status === 'completed') {
63
+ log(chalk.green(` ✓ ${todo.title}`));
64
+ }
65
+ else if (todo.status === 'failed') {
66
+ log(chalk.red(` ✗ ${todo.title}`));
67
+ }
68
+ }
69
+ }
70
+ if (this.todos.length === 0 && newTodos.length > 0) {
71
+ }
72
+ }
73
+ this.todos = newTodos;
74
+ },
75
+ setCurrentTodoId: () => { },
76
+ setExecutionPhase: (phase) => {
77
+ if (this.specific && phase === 'planning') {
78
+ log(chalk.yellow('\n[Planning] TODO 생성 중...'));
79
+ }
80
+ },
81
+ setIsInterrupted: () => { },
82
+ setCurrentActivity: () => { },
83
+ setMessages: (messagesOrFn) => {
84
+ const newMessages = typeof messagesOrFn === 'function'
85
+ ? messagesOrFn(previousMessages)
86
+ : messagesOrFn;
87
+ const addedMessages = newMessages.slice(previousMessages.length);
88
+ for (const msg of addedMessages) {
89
+ if (this.specific && msg.role === 'assistant' && msg.tool_calls) {
90
+ for (const toolCall of msg.tool_calls) {
91
+ let args = {};
92
+ try {
93
+ args = JSON.parse(toolCall.function.arguments);
94
+ }
95
+ catch { }
96
+ const summary = this.summarizeToolArgs(toolCall.function.name, args);
97
+ log(chalk.dim(` → ${toolCall.function.name} ${summary}`));
98
+ }
99
+ }
100
+ if (this.specific && msg.role === 'tool') {
101
+ const isSuccess = !msg.content?.startsWith('Error:');
102
+ if (isSuccess) {
103
+ log(chalk.dim(` ← OK`));
104
+ }
105
+ else {
106
+ log(chalk.red(` ← Error: ${msg.content?.slice(0, 100)}`));
107
+ }
108
+ }
109
+ if (msg.role === 'assistant' && !msg.tool_calls && msg.content) {
110
+ this.lastResponse = msg.content;
111
+ }
112
+ }
113
+ previousMessages = newMessages;
114
+ },
115
+ setAskUserRequest: () => { },
116
+ askUser: async (request) => {
117
+ return this.handleAskUser(request);
118
+ },
119
+ };
120
+ }
121
+ async handleAskUser(request) {
122
+ const optionsList = request.options.length > 0
123
+ ? request.options.map((o, i) => `${i + 1}. ${o}`).join('\n')
124
+ : '(선택지 없음 — 자유 답변)';
125
+ try {
126
+ const response = await this.llmClient.chatCompletion({
127
+ messages: [
128
+ {
129
+ role: 'system',
130
+ content: `You are an autonomous agent answering a sub-agent's question on behalf of the user.
131
+ Use the task context to make the best decision.
132
+ If options are given, reply with EXACTLY one of the option texts.
133
+ Reply in Korean. No explanation, just the answer.`,
134
+ },
135
+ {
136
+ role: 'user',
137
+ content: `<TASK>\n${this.prompt}\n</TASK>\n\n질문: ${request.question}\n\n선택지:\n${optionsList}`,
138
+ },
139
+ ],
140
+ temperature: 0.3,
141
+ max_tokens: 200,
142
+ });
143
+ const answer = response.choices?.[0]?.message?.content?.trim() || '';
144
+ if (request.options.length > 0) {
145
+ const exact = request.options.find(o => o === answer);
146
+ const partial = !exact ? request.options.find(o => answer.includes(o) || o.includes(answer)) : undefined;
147
+ const selected = exact ?? partial ?? request.options[0] ?? '';
148
+ if (this.specific) {
149
+ log(chalk.magenta(` [Auto] Q: ${request.question} → A: ${selected}`));
150
+ }
151
+ return { selectedOption: selected, isOther: false };
152
+ }
153
+ if (this.specific) {
154
+ log(chalk.magenta(` [Auto] Q: ${request.question} → A: ${answer || 'Yes'}`));
155
+ }
156
+ return { selectedOption: answer || 'Yes', isOther: true };
157
+ }
158
+ catch {
159
+ const fallback = request.options[0] || 'Yes';
160
+ if (this.specific) {
161
+ log(chalk.magenta(` [Auto] Q: ${request.question} → A: ${fallback} (fallback)`));
162
+ }
163
+ return { selectedOption: fallback, isOther: false };
164
+ }
165
+ }
166
+ summarizeToolArgs(toolName, args) {
167
+ if (toolName === 'bash' && args['command'])
168
+ return String(args['command']).slice(0, 80);
169
+ if (toolName.includes('file') && args['path'])
170
+ return String(args['path']);
171
+ if (toolName.includes('search') && args['query'])
172
+ return String(args['query']).slice(0, 60);
173
+ const keys = Object.keys(args);
174
+ if (keys.length === 0)
175
+ return '';
176
+ const firstKey = keys[0];
177
+ if (!firstKey)
178
+ return '';
179
+ return String(args[firstKey]).slice(0, 60);
180
+ }
181
+ }
182
+ export async function runPipeMode(prompt, specific) {
183
+ const runner = new PipeRunner(specific);
184
+ await runner.run(prompt);
185
+ }
186
+ //# sourceMappingURL=pipe-runner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe-runner.js","sourceRoot":"","sources":["../../src/pipe/pipe-runner.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAA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AAU,WAAW,CAAC,MAAc,EAAE,QAAiB;IACjE,MAAM,MAAM,GAAG,IAAI,UAAU,CAAC,QAAQ,CAAC,CAAC;IACxC,MAAM,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAC3B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanseol-dev",
3
- "version": "5.0.1-dev.1",
3
+ "version": "5.0.1-dev.3",
4
4
  "description": "Hanseol - OpenAI-Compatible Coding Agent",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",