hanseol-dev 5.0.2-dev.9 → 5.0.2-dev.91

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.
Files changed (122) hide show
  1. package/dist/agents/common/sub-agent.d.ts +21 -0
  2. package/dist/agents/common/sub-agent.d.ts.map +1 -1
  3. package/dist/agents/common/sub-agent.js +195 -10
  4. package/dist/agents/common/sub-agent.js.map +1 -1
  5. package/dist/agents/index.d.ts +1 -1
  6. package/dist/agents/index.d.ts.map +1 -1
  7. package/dist/agents/index.js +1 -1
  8. package/dist/agents/index.js.map +1 -1
  9. package/dist/agents/office/excel-agent.d.ts +1 -1
  10. package/dist/agents/office/excel-agent.d.ts.map +1 -1
  11. package/dist/agents/office/excel-agent.js +6 -6
  12. package/dist/agents/office/excel-agent.js.map +1 -1
  13. package/dist/agents/office/excel-create-agent.d.ts +3 -0
  14. package/dist/agents/office/excel-create-agent.d.ts.map +1 -0
  15. package/dist/agents/office/excel-create-agent.js +38 -0
  16. package/dist/agents/office/excel-create-agent.js.map +1 -0
  17. package/dist/agents/office/excel-create-prompts.d.ts +4 -0
  18. package/dist/agents/office/excel-create-prompts.d.ts.map +1 -0
  19. package/dist/agents/office/excel-create-prompts.js +154 -0
  20. package/dist/agents/office/excel-create-prompts.js.map +1 -0
  21. package/dist/agents/office/index.d.ts +6 -3
  22. package/dist/agents/office/index.d.ts.map +1 -1
  23. package/dist/agents/office/index.js +6 -3
  24. package/dist/agents/office/index.js.map +1 -1
  25. package/dist/agents/office/powerpoint-agent.d.ts +1 -1
  26. package/dist/agents/office/powerpoint-agent.d.ts.map +1 -1
  27. package/dist/agents/office/powerpoint-agent.js +6 -6
  28. package/dist/agents/office/powerpoint-agent.js.map +1 -1
  29. package/dist/agents/office/powerpoint-create-agent.d.ts +3 -0
  30. package/dist/agents/office/powerpoint-create-agent.d.ts.map +1 -0
  31. package/dist/agents/office/powerpoint-create-agent.js +1062 -0
  32. package/dist/agents/office/powerpoint-create-agent.js.map +1 -0
  33. package/dist/agents/office/powerpoint-create-prompts.d.ts +19 -0
  34. package/dist/agents/office/powerpoint-create-prompts.d.ts.map +1 -0
  35. package/dist/agents/office/powerpoint-create-prompts.js +389 -0
  36. package/dist/agents/office/powerpoint-create-prompts.js.map +1 -0
  37. package/dist/agents/office/prompts.d.ts +10 -3
  38. package/dist/agents/office/prompts.d.ts.map +1 -1
  39. package/dist/agents/office/prompts.js +451 -52
  40. package/dist/agents/office/prompts.js.map +1 -1
  41. package/dist/agents/office/word-agent.d.ts +1 -1
  42. package/dist/agents/office/word-agent.d.ts.map +1 -1
  43. package/dist/agents/office/word-agent.js +6 -6
  44. package/dist/agents/office/word-agent.js.map +1 -1
  45. package/dist/agents/office/word-create-agent.d.ts +3 -0
  46. package/dist/agents/office/word-create-agent.d.ts.map +1 -0
  47. package/dist/agents/office/word-create-agent.js +38 -0
  48. package/dist/agents/office/word-create-agent.js.map +1 -0
  49. package/dist/agents/office/word-create-prompts.d.ts +4 -0
  50. package/dist/agents/office/word-create-prompts.d.ts.map +1 -0
  51. package/dist/agents/office/word-create-prompts.js +164 -0
  52. package/dist/agents/office/word-create-prompts.js.map +1 -0
  53. package/dist/cli.js +3 -0
  54. package/dist/cli.js.map +1 -1
  55. package/dist/constants.d.ts +1 -1
  56. package/dist/constants.d.ts.map +1 -1
  57. package/dist/constants.js +1 -1
  58. package/dist/constants.js.map +1 -1
  59. package/dist/pipe/pipe-runner.d.ts.map +1 -1
  60. package/dist/pipe/pipe-runner.js +20 -0
  61. package/dist/pipe/pipe-runner.js.map +1 -1
  62. package/dist/prompts/agents/planning.d.ts.map +1 -1
  63. package/dist/prompts/agents/planning.js +43 -18
  64. package/dist/prompts/agents/planning.js.map +1 -1
  65. package/dist/prompts/shared/tool-usage.d.ts.map +1 -1
  66. package/dist/prompts/shared/tool-usage.js +6 -3
  67. package/dist/prompts/shared/tool-usage.js.map +1 -1
  68. package/dist/prompts/system/plan-execute.js +1 -1
  69. package/dist/tools/office/excel-client.js +4 -4
  70. package/dist/tools/office/excel-tools/index.d.ts +2 -0
  71. package/dist/tools/office/excel-tools/index.d.ts.map +1 -1
  72. package/dist/tools/office/excel-tools/index.js +12 -0
  73. package/dist/tools/office/excel-tools/index.js.map +1 -1
  74. package/dist/tools/office/excel-tools/sheet-builders.d.ts +8 -0
  75. package/dist/tools/office/excel-tools/sheet-builders.d.ts.map +1 -0
  76. package/dist/tools/office/excel-tools/sheet-builders.js +414 -0
  77. package/dist/tools/office/excel-tools/sheet-builders.js.map +1 -0
  78. package/dist/tools/office/excel-tools.d.ts +1 -1
  79. package/dist/tools/office/excel-tools.d.ts.map +1 -1
  80. package/dist/tools/office/excel-tools.js +1 -1
  81. package/dist/tools/office/excel-tools.js.map +1 -1
  82. package/dist/tools/office/powerpoint-client.d.ts +3 -0
  83. package/dist/tools/office/powerpoint-client.d.ts.map +1 -1
  84. package/dist/tools/office/powerpoint-client.js +136 -10
  85. package/dist/tools/office/powerpoint-client.js.map +1 -1
  86. package/dist/tools/office/powerpoint-tools/export.d.ts.map +1 -1
  87. package/dist/tools/office/powerpoint-tools/export.js +16 -1
  88. package/dist/tools/office/powerpoint-tools/export.js.map +1 -1
  89. package/dist/tools/office/powerpoint-tools/index.d.ts +2 -0
  90. package/dist/tools/office/powerpoint-tools/index.d.ts.map +1 -1
  91. package/dist/tools/office/powerpoint-tools/index.js +7 -0
  92. package/dist/tools/office/powerpoint-tools/index.js.map +1 -1
  93. package/dist/tools/office/powerpoint-tools/launch.d.ts.map +1 -1
  94. package/dist/tools/office/powerpoint-tools/launch.js +2 -0
  95. package/dist/tools/office/powerpoint-tools/launch.js.map +1 -1
  96. package/dist/tools/office/powerpoint-tools/layout-builders.d.ts +12 -0
  97. package/dist/tools/office/powerpoint-tools/layout-builders.d.ts.map +1 -0
  98. package/dist/tools/office/powerpoint-tools/layout-builders.js +785 -0
  99. package/dist/tools/office/powerpoint-tools/layout-builders.js.map +1 -0
  100. package/dist/tools/office/powerpoint-tools/slides.js +1 -1
  101. package/dist/tools/office/powerpoint-tools/slides.js.map +1 -1
  102. package/dist/tools/office/powerpoint-tools.d.ts +1 -1
  103. package/dist/tools/office/powerpoint-tools.d.ts.map +1 -1
  104. package/dist/tools/office/powerpoint-tools.js +1 -1
  105. package/dist/tools/office/powerpoint-tools.js.map +1 -1
  106. package/dist/tools/office/word-client.js +4 -4
  107. package/dist/tools/office/word-tools/index.d.ts +4 -1
  108. package/dist/tools/office/word-tools/index.d.ts.map +1 -1
  109. package/dist/tools/office/word-tools/index.js +15 -0
  110. package/dist/tools/office/word-tools/index.js.map +1 -1
  111. package/dist/tools/office/word-tools/section-builders.d.ts +10 -0
  112. package/dist/tools/office/word-tools/section-builders.d.ts.map +1 -0
  113. package/dist/tools/office/word-tools/section-builders.js +421 -0
  114. package/dist/tools/office/word-tools/section-builders.js.map +1 -0
  115. package/dist/tools/office/word-tools.d.ts +1 -1
  116. package/dist/tools/office/word-tools.d.ts.map +1 -1
  117. package/dist/tools/office/word-tools.js +1 -1
  118. package/dist/tools/office/word-tools.js.map +1 -1
  119. package/dist/tools/registry.d.ts.map +1 -1
  120. package/dist/tools/registry.js +7 -4
  121. package/dist/tools/registry.js.map +1 -1
  122. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../../src/agents/office/prompts.ts"],"names":[],"mappings":"AAUA,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iFAwCsD,CAAC;AAElF,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+EA2EwB,CAAC;AAEhF,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sNA6QyJ,CAAC;AAIvN,MAAM,CAAC,MAAM,0BAA0B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiKzC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sEA8CkC,CAAC;AAEvE,MAAM,CAAC,MAAM,qBAAqB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sFAoDiD,CAAC;AAIvF,MAAM,CAAC,MAAM,6BAA6B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAkCQ,CAAC;AAEtD,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;gDAcS,CAAC;AAEjD,MAAM,CAAC,MAAM,wBAAwB,GAAG;;;;;;;;;;;;;;gDAcQ,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { LLMAgentTool } from '../../tools/types.js';
2
- export declare function createWordWorkRequestTool(): LLMAgentTool;
2
+ export declare function createWordModifyRequestTool(): LLMAgentTool;
3
3
  //# sourceMappingURL=word-agent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"word-agent.d.ts","sourceRoot":"","sources":["../../../src/agents/office/word-agent.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAKpD,wBAAgB,yBAAyB,IAAI,YAAY,CA4BxD"}
1
+ {"version":3,"file":"word-agent.d.ts","sourceRoot":"","sources":["../../../src/agents/office/word-agent.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAKpD,wBAAgB,2BAA2B,IAAI,YAAY,CA4B1D"}
@@ -1,19 +1,19 @@
1
1
  import { WORD_TOOLS } from '../../tools/office/word-tools.js';
2
2
  import { SubAgent } from '../common/sub-agent.js';
3
- import { WORD_SYSTEM_PROMPT } from './prompts.js';
4
- export function createWordWorkRequestTool() {
3
+ import { WORD_SYSTEM_PROMPT, WORD_PLANNING_PROMPT, WORD_ENHANCEMENT_PROMPT } from './prompts.js';
4
+ export function createWordModifyRequestTool() {
5
5
  return {
6
6
  definition: {
7
7
  type: 'function',
8
8
  function: {
9
- name: 'word_agent',
10
- description: 'Autonomous Microsoft Word specialist agent. Creates professional-quality documents with beautiful formatting, color schemes, tables, headers/footers, and page layout — all automatically. Give it a topic or rough description and it will produce a polished, enterprise-grade Word document. Also capable of editing existing .docx files. The agent runs independently with its own tools and returns the completed result.',
9
+ name: 'word_modify_agent',
10
+ description: 'Autonomous Microsoft Word MODIFY agent for editing EXISTING .docx files. Has full access to low-level Word tools (text editing, formatting, tables, styles, track changes, etc.) for precise document modification. For creating NEW documents from scratch, use word_create_agent instead.',
11
11
  parameters: {
12
12
  type: 'object',
13
13
  properties: {
14
14
  instruction: {
15
15
  type: 'string',
16
- description: 'Detailed instruction for the Word agent. Include: topic/title, desired sections or content outline, any specific formatting requirements, and save path. The more detail you provide, the better the result. The agent will autonomously create a professional document.',
16
+ description: 'Detailed instruction for modifying an existing Word document. Include: file path, what to change, specific formatting requirements. The agent will open the file and make precise modifications.',
17
17
  },
18
18
  },
19
19
  required: ['instruction'],
@@ -21,7 +21,7 @@ export function createWordWorkRequestTool() {
21
21
  },
22
22
  },
23
23
  execute: async (args, llmClient) => {
24
- const agent = new SubAgent(llmClient, 'word', WORD_TOOLS, WORD_SYSTEM_PROMPT, { maxIterations: 50 });
24
+ const agent = new SubAgent(llmClient, 'word', WORD_TOOLS, WORD_SYSTEM_PROMPT, { maxIterations: 50, planningPrompt: WORD_PLANNING_PROMPT, planningMaxTokens: 1500, enhancementPrompt: WORD_ENHANCEMENT_PROMPT, enhancementMaxTokens: 600 });
25
25
  return agent.run(args['instruction']);
26
26
  },
27
27
  categories: ['llm-agent'],
@@ -1 +1 @@
1
- {"version":3,"file":"word-agent.js","sourceRoot":"","sources":["../../../src/agents/office/word-agent.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,UAAU,yBAAyB;IACvC,OAAO;QACL,UAAU,EAAE;YACV,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE;gBACR,IAAI,EAAE,YAAY;gBAClB,WAAW,EACT,iaAAia;gBACna,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,WAAW,EAAE;4BACX,IAAI,EAAE,QAAQ;4BACd,WAAW,EACT,0QAA0Q;yBAC7Q;qBACF;oBACD,QAAQ,EAAE,CAAC,aAAa,CAAC;iBAC1B;aACF;SACF;QACD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;YACjC,MAAM,KAAK,GAAG,IAAI,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,kBAAkB,EAAE,EAAE,aAAa,EAAE,EAAE,EAAE,CAAC,CAAC;YACrG,OAAO,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,aAAa,CAAW,CAAC,CAAC;QAClD,CAAC;QACD,UAAU,EAAE,CAAC,WAAW,CAAC;QACzB,cAAc,EAAE,IAAI;KACrB,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"word-agent.js","sourceRoot":"","sources":["../../../src/agents/office/word-agent.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAEjG,MAAM,UAAU,2BAA2B;IACzC,OAAO;QACL,UAAU,EAAE;YACV,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE;gBACR,IAAI,EAAE,mBAAmB;gBACzB,WAAW,EACT,6RAA6R;gBAC/R,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,WAAW,EAAE;4BACX,IAAI,EAAE,QAAQ;4BACd,WAAW,EACT,kMAAkM;yBACrM;qBACF;oBACD,QAAQ,EAAE,CAAC,aAAa,CAAC;iBAC1B;aACF;SACF;QACD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;YACjC,MAAM,KAAK,GAAG,IAAI,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,kBAAkB,EAAE,EAAE,aAAa,EAAE,EAAE,EAAE,cAAc,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,IAAI,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,GAAG,EAAE,CAAC,CAAC;YAC3O,OAAO,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,aAAa,CAAW,CAAC,CAAC;QAClD,CAAC;QACD,UAAU,EAAE,CAAC,WAAW,CAAC;QACzB,cAAc,EAAE,IAAI;KACrB,CAAC;AACJ,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LLMAgentTool } from '../../tools/types.js';
2
+ export declare function createWordCreateRequestTool(): LLMAgentTool;
3
+ //# sourceMappingURL=word-create-agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"word-create-agent.d.ts","sourceRoot":"","sources":["../../../src/agents/office/word-create-agent.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AASpD,wBAAgB,2BAA2B,IAAI,YAAY,CAyC1D"}
@@ -0,0 +1,38 @@
1
+ import { WORD_CREATE_TOOLS } from '../../tools/office/word-tools.js';
2
+ import { SubAgent } from '../common/sub-agent.js';
3
+ import { WORD_CREATE_SYSTEM_PROMPT, WORD_CREATE_PLANNING_PROMPT, WORD_CREATE_ENHANCEMENT_PROMPT, } from './word-create-prompts.js';
4
+ export function createWordCreateRequestTool() {
5
+ return {
6
+ definition: {
7
+ type: 'function',
8
+ function: {
9
+ name: 'word_create_agent',
10
+ description: 'Autonomous Microsoft Word CREATION agent for building NEW documents from scratch. Uses high-level section builders to produce professional-quality documents with title page, table of contents, styled sections, tables, lists, and conclusions — all automatically. For editing EXISTING .docx files, use word_modify_agent instead.',
11
+ parameters: {
12
+ type: 'object',
13
+ properties: {
14
+ instruction: {
15
+ type: 'string',
16
+ description: 'Detailed instruction for document creation. Include: topic/title, desired sections, any specific content requirements, and save path. The agent will autonomously create a professional document.',
17
+ },
18
+ },
19
+ required: ['instruction'],
20
+ },
21
+ },
22
+ },
23
+ execute: async (args, llmClient) => {
24
+ const agent = new SubAgent(llmClient, 'word-create', WORD_CREATE_TOOLS, WORD_CREATE_SYSTEM_PROMPT, {
25
+ maxIterations: 20,
26
+ planningPrompt: WORD_CREATE_PLANNING_PROMPT,
27
+ planningMaxTokens: 1500,
28
+ enhancementPrompt: WORD_CREATE_ENHANCEMENT_PROMPT,
29
+ enhancementMaxTokens: 600,
30
+ minToolCallsBeforeComplete: 5,
31
+ });
32
+ return agent.run(args['instruction']);
33
+ },
34
+ categories: ['llm-agent'],
35
+ requiresSubLLM: true,
36
+ };
37
+ }
38
+ //# sourceMappingURL=word-create-agent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"word-create-agent.js","sourceRoot":"","sources":["../../../src/agents/office/word-create-agent.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,8BAA8B,GAC/B,MAAM,0BAA0B,CAAC;AAElC,MAAM,UAAU,2BAA2B;IACzC,OAAO;QACL,UAAU,EAAE;YACV,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE;gBACR,IAAI,EAAE,mBAAmB;gBACzB,WAAW,EACT,wUAAwU;gBAC1U,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,WAAW,EAAE;4BACX,IAAI,EAAE,QAAQ;4BACd,WAAW,EACT,mMAAmM;yBACtM;qBACF;oBACD,QAAQ,EAAE,CAAC,aAAa,CAAC;iBAC1B;aACF;SACF;QACD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;YACjC,MAAM,KAAK,GAAG,IAAI,QAAQ,CACxB,SAAS,EACT,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EACzB;gBACE,aAAa,EAAE,EAAE;gBACjB,cAAc,EAAE,2BAA2B;gBAC3C,iBAAiB,EAAE,IAAI;gBACvB,iBAAiB,EAAE,8BAA8B;gBACjD,oBAAoB,EAAE,GAAG;gBACzB,0BAA0B,EAAE,CAAC;aAC9B,CACF,CAAC;YACF,OAAO,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,aAAa,CAAW,CAAC,CAAC;QAClD,CAAC;QACD,UAAU,EAAE,CAAC,WAAW,CAAC;QACzB,cAAc,EAAE,IAAI;KACrB,CAAC;AACJ,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const WORD_CREATE_SYSTEM_PROMPT = "You are an elite Office automation agent that produces WORLD-CLASS results.\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.\nAlways respond in the same language as the user's instruction.\nALL generated content MUST be in the same language as the user's instruction.\nThis includes: slide TITLES, section headings, body text, bullet points, table headers, table data, chart labels, chart titles, insight text \u2014 EVERYTHING visible on the document.\nIf the user writes in Korean, ALL text MUST be Korean. English titles like \"COMPANY INTRODUCTION\" or \"PROBLEM DEFINITION\" are WRONG \u2014 use \"\uD68C\uC0AC \uC18C\uAC1C\", \"\uBB38\uC81C \uC815\uC758\" instead.\nThe ONLY exceptions: proper nouns (company names like \"MediAI\"), universal abbreviations (KPI, ROI, AI, SaaS), and currency symbols ($, \u20A9).\n\u26A0 TABLE HEADERS: \"Competitor A/B\" is NOT a proper noun \u2014 use \"\uACBD\uC7C1\uC0AC A/B\" in Korean. \"Category\" \u2192 \"\uAD6C\uBD84\". \"Feature\" \u2192 \"\uAE30\uB2A5\". ALL table column/row headers MUST be in the user's language.\nThis is non-negotiable \u2014 wrong language scores ZERO.\n\u26A0 FOREIGN CHARACTER BAN: When user writes Korean, NEVER use Chinese characters (\u8F6E, \u878D, \u8D44, \u4EBF, etc.) or Japanese-only characters. \"A\u8F6E\u878D\u8D44\" is WRONG \u2192 \"\uC2DC\uB9AC\uC988 A \uD22C\uC790\". \"B\u8F6E\u878D\u8D44\" is WRONG \u2192 \"\uC2DC\uB9AC\uC988 B \uD22C\uC790\". \"5\u4EBF\" is WRONG \u2192 \"5\uC5B5\". ALL financial, business, and technical terms must be in Korean.\n\u26A0 LANGUAGE OVERRIDE: Even if the EXECUTION_PLAN contains English titles like \"Problem Definition\" or \"Market Analysis\", you MUST write ALL visible text in the user's language. If the user wrote in Korean, write \"\uBB38\uC81C \uC815\uC758\" not \"Problem Definition\". The plan's labels are for structure \u2014 YOU must output the user's language.\n\n\u2550\u2550\u2550 QUALITY STANDARD \u2550\u2550\u2550\nYour output must score 95+ out of 100 in professional quality.\nEven if the user gives a vague, sloppy, or minimal instruction, YOU must:\n\u2022 Infer the best possible interpretation and fill in the gaps with professional judgment\n\u2022 Generate rich, contextual, topic-appropriate content \u2014 NEVER use generic placeholder text\n\u2022 Apply beautiful, cohesive design with proper color schemes and typography\n\u2022 Deliver a result that looks like it was made by a professional designer\n\n\u2550\u2550\u2550 CONTENT GENERATION RULES \u2550\u2550\u2550\nWhen the user provides only a topic without specific content:\n\u2022 Research the topic mentally and generate realistic, detailed, professional content\n\u2022 Use concrete numbers, dates, names, and examples \u2014 NOT \"XX\" or \"lorem ipsum\"\n\u2022 Tailor vocabulary and tone to the document type (formal for reports, engaging for marketing, precise for technical)\n\u2022 Every paragraph must be substantive (3+ sentences with real information)\n\u2022 Every bullet point must have an explanation, not just a keyword\n\u2022 Tables must have realistic data that makes sense for the topic\n\n\u2550\u2550\u2550 MODE DETECTION \u2550\u2550\u2550\n\u2022 CREATE MODE: user wants a new document \u2192 use *_create, then build from scratch.\n\u2022 MODIFY MODE: user wants to edit an existing file \u2192 use *_open, read content, make targeted changes.\n\u2022 If user provides a file path to open/edit \u2192 MODIFY MODE.\n\u2022 If user says \"create\", \"make\", \"write\", \"build\" (or Korean equivalents) \u2192 CREATE MODE.\n\n\u2550\u2550\u2550 ERROR RECOVERY \u2550\u2550\u2550\nIf a tool fails, do NOT give up immediately:\n1. If file open fails \u2192 try *_create first to launch the app, then *_open again.\n2. If COM error \u2192 retry once. If still fails, report the specific error via \"complete\".\n3. Try at least 2 alternative approaches before reporting failure.\n\n\u2550\u2550\u2550 ABSOLUTE RULES \u2550\u2550\u2550\n1. Every element MUST have explicit formatting (font, size, color).\n2. After ALL work is done, SAVE and call \"complete\".\n3. If the user specifies a save path, save to that exact path.\n4. If the user provides strict formatting instructions, follow them EXACTLY.\n5. NEVER use placeholder text. Every piece of content must be real and relevant.\n\n## YOUR ROLE: Word Document CREATION Specialist\n\nYou create NEW Word documents using HIGH-LEVEL section builder tools.\nEach tool call creates a complete section \u2014 you never deal with low-level formatting.\n\n## AVAILABLE TOOLS\n\n### Lifecycle\n- `word_create` \u2014 Create a blank document\n- `word_save` \u2014 Save the document\n- `word_screenshot` \u2014 Take a screenshot for verification\n\n### Page Setup (call once after create)\n- `word_set_page_margins` \u2014 Set page margins (in CM)\n- `word_insert_header` \u2014 Insert header text\n- `word_insert_footer` \u2014 Insert footer text\n- `word_insert_page_number` \u2014 Insert page numbers\n\n### Section Builders (1 call = 1 complete section)\n- `word_build_title_page` \u2014 Title page with title, subtitle, date, author + page break\n- `word_build_toc` \u2014 Table of contents + page break\n- `word_build_section` \u2014 Heading + body paragraphs + optional sub-sections\n- `word_build_table_section` \u2014 Heading + styled data table\n- `word_build_list_section` \u2014 Heading + bullet/numbered list\n- `word_build_conclusion` \u2014 Conclusion section\n- `word_build_page_break` \u2014 Insert page break between sections\n\n### Complete\n- `final_response` \u2014 Return result when all work is done\n\n## WORKFLOW\n\n1. `word_create` \u2192 create blank document\n2. Page setup: margins, header, footer, page numbers\n3. `word_build_title_page` \u2192 title page\n4. `word_build_toc` \u2192 table of contents\n5. Content sections (in order from your plan):\n - `word_build_section` for text-heavy sections\n - `word_build_table_section` for data/comparison sections\n - `word_build_list_section` for enumeration sections\n - `word_build_page_break` between major sections if needed\n6. `word_build_conclusion` \u2192 final section\n7. `word_save` \u2192 save to path\n8. `final_response` \u2192 report completion\n\n## DESIGN CONSISTENCY\n\n- Use the SAME `color_scheme` (or `colors`) and `fonts` across ALL section builders\n- The Enhancement LLM specifies the color scheme \u2014 use it consistently\n- Available presets: MODERN_TECH, WARM_EXECUTIVE, CLEAN_MINIMAL, CORPORATE, NATURE_FRESH, BOLD_MODERN\n\n## CONTENT QUALITY\n\n- ALL text MUST be in Korean (unless user explicitly requests another language)\n- Body paragraphs: 3-5 sentences each, specific and substantive\n- Tables: realistic data, not placeholder values\n- Lists: 4-8 items, each with meaningful content\n- Sub-sections: use for detailed breakdowns within a section\n- NEVER use placeholder text like \"\uB0B4\uC6A9\uC744 \uC785\uB825\uD558\uC138\uC694\" or \"Lorem ipsum\"\n\n## SECTION VARIETY\n\nA good document should use a MIX of section types:\n- At least 1 table section for data/comparisons\n- At least 1 list section for key points\n- Multiple text sections with sub-sections for depth\n- Total: 5-8 content sections (not counting title/TOC/conclusion)\n\n## RULES\n\n1. ALWAYS call `word_create` first\n2. ALWAYS save before completing\n3. Use section builders in logical order \u2014 document flows top to bottom\n4. Match the design specification from the Enhancement LLM\n5. NEVER call low-level Word tools \u2014 only use the builders listed above\n";
2
+ export declare const WORD_CREATE_PLANNING_PROMPT = "You are the Planning LLM for a Word Document Creation Agent.\nGiven the user's request and the Enhancement LLM's creative content, create a concrete execution plan.\n\n## OUTPUT FORMAT\n\nMODE: CREATE\nDESIGN DECISIONS:\n- COLOR_SCHEME: [preset name or custom hex values]\n- FONTS: [preset name or custom]\n- TONE: [formal/casual/academic/executive]\n\nTOTAL_SECTIONS: [number]\n\nDOCUMENT_PLAN:\n1. [SETUP] word_create \u2192 word_set_page_margins \u2192 word_insert_header \u2192 word_insert_footer \u2192 word_insert_page_number\n2. [TITLE] word_build_title_page \u2014 Title: \"...\"\n3. [TOC] word_build_toc\n4. [SECTION] word_build_section \u2014 \"Section Name\" (N paragraphs, M sub-sections)\n5. [TABLE] word_build_table_section \u2014 \"Table Name\" (R rows \u00D7 C cols)\n6. [LIST] word_build_list_section \u2014 \"List Name\" (N items, bullet/numbered)\n7. [SECTION] word_build_section \u2014 \"Section Name\" ...\n8. [CONCLUSION] word_build_conclusion \u2014 \"Conclusion\"\n9. [SAVE] word_save \u2192 path\n\n## CONTENT DENSITY PER SECTION\n\n- word_build_section: 3-5 body paragraphs (each 3-5 sentences), 0-3 sub-sections\n- word_build_table_section: 4-8 data rows, 3-6 columns\n- word_build_list_section: 5-8 items\n- word_build_conclusion: 1-2 paragraphs\n\n## VERIFICATION\n\nBefore finalizing the plan, check:\n\u2705 Title page included?\n\u2705 TOC included?\n\u2705 At least 1 table section?\n\u2705 At least 1 list section?\n\u2705 5-8 content sections total?\n\u2705 Conclusion included?\n\u2705 Save path specified?\n\u2705 All Korean content?\n";
3
+ export declare const WORD_CREATE_ENHANCEMENT_PROMPT = "You are the Enhancement LLM for a Word Document Creation Agent.\nGenerate rich, professional content for the document.\n\n## OUTPUT FORMAT\n\nDOCUMENT_TYPE: [report/proposal/manual/guide/analysis]\nTARGET_AUDIENCE: [executives/team/clients/students/general]\nTOTAL_SECTIONS: [5-8]\n\nDESIGN_SPECIFICATION:\n- COLOR_SCHEME: [choose from: MODERN_TECH, WARM_EXECUTIVE, CLEAN_MINIMAL, CORPORATE, NATURE_FRESH, BOLD_MODERN \u2014 or specify custom hex colors]\n- FONTS: [choose matching preset or custom {title, body}]\n- TONE: [formal/academic/executive/casual]\n\nTITLE_PAGE:\n- Title: \"...\"\n- Subtitle: \"...\"\n- Date: \"...\"\n- Author: \"...\"\n\nSECTION_PLAN:\nFor each section, provide:\n- Section type: section / table_section / list_section\n- Heading: \"...\"\n- Content summary (what should be written)\n- For tables: column names and sample data description\n- For lists: key items to include\n- Sub-sections if applicable\n\nCONCLUSION:\n- Heading: \"...\"\n- Key takeaway message\n\n## RULES\n\n- ALL content MUST be in Korean\n- Provide SPECIFIC, SUBSTANTIVE content \u2014 not generic descriptions\n- Include realistic data for tables (numbers, percentages, dates)\n- Match the color scheme to the document topic and audience\n- Think like a professional document writer\n";
4
+ //# sourceMappingURL=word-create-prompts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"word-create-prompts.d.ts","sourceRoot":"","sources":["../../../src/agents/office/word-create-prompts.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,yBAAyB,qjPA6ErC,CAAC;AAEF,eAAO,MAAM,2BAA2B,yiDA0CvC,CAAC;AAEF,eAAO,MAAM,8BAA8B,4wCAwC1C,CAAC"}
@@ -0,0 +1,164 @@
1
+ import { OFFICE_BASE_PROMPT } from './prompts.js';
2
+ export const WORD_CREATE_SYSTEM_PROMPT = `${OFFICE_BASE_PROMPT}
3
+
4
+ ## YOUR ROLE: Word Document CREATION Specialist
5
+
6
+ You create NEW Word documents using HIGH-LEVEL section builder tools.
7
+ Each tool call creates a complete section — you never deal with low-level formatting.
8
+
9
+ ## AVAILABLE TOOLS
10
+
11
+ ### Lifecycle
12
+ - \`word_create\` — Create a blank document
13
+ - \`word_save\` — Save the document
14
+ - \`word_screenshot\` — Take a screenshot for verification
15
+
16
+ ### Page Setup (call once after create)
17
+ - \`word_set_page_margins\` — Set page margins (in CM)
18
+ - \`word_insert_header\` — Insert header text
19
+ - \`word_insert_footer\` — Insert footer text
20
+ - \`word_insert_page_number\` — Insert page numbers
21
+
22
+ ### Section Builders (1 call = 1 complete section)
23
+ - \`word_build_title_page\` — Title page with title, subtitle, date, author + page break
24
+ - \`word_build_toc\` — Table of contents + page break
25
+ - \`word_build_section\` — Heading + body paragraphs + optional sub-sections
26
+ - \`word_build_table_section\` — Heading + styled data table
27
+ - \`word_build_list_section\` — Heading + bullet/numbered list
28
+ - \`word_build_conclusion\` — Conclusion section
29
+ - \`word_build_page_break\` — Insert page break between sections
30
+
31
+ ### Complete
32
+ - \`final_response\` — Return result when all work is done
33
+
34
+ ## WORKFLOW
35
+
36
+ 1. \`word_create\` → create blank document
37
+ 2. Page setup: margins, header, footer, page numbers
38
+ 3. \`word_build_title_page\` → title page
39
+ 4. \`word_build_toc\` → table of contents
40
+ 5. Content sections (in order from your plan):
41
+ - \`word_build_section\` for text-heavy sections
42
+ - \`word_build_table_section\` for data/comparison sections
43
+ - \`word_build_list_section\` for enumeration sections
44
+ - \`word_build_page_break\` between major sections if needed
45
+ 6. \`word_build_conclusion\` → final section
46
+ 7. \`word_save\` → save to path
47
+ 8. \`final_response\` → report completion
48
+
49
+ ## DESIGN CONSISTENCY
50
+
51
+ - Use the SAME \`color_scheme\` (or \`colors\`) and \`fonts\` across ALL section builders
52
+ - The Enhancement LLM specifies the color scheme — use it consistently
53
+ - Available presets: MODERN_TECH, WARM_EXECUTIVE, CLEAN_MINIMAL, CORPORATE, NATURE_FRESH, BOLD_MODERN
54
+
55
+ ## CONTENT QUALITY
56
+
57
+ - ALL text MUST be in Korean (unless user explicitly requests another language)
58
+ - Body paragraphs: 3-5 sentences each, specific and substantive
59
+ - Tables: realistic data, not placeholder values
60
+ - Lists: 4-8 items, each with meaningful content
61
+ - Sub-sections: use for detailed breakdowns within a section
62
+ - NEVER use placeholder text like "내용을 입력하세요" or "Lorem ipsum"
63
+
64
+ ## SECTION VARIETY
65
+
66
+ A good document should use a MIX of section types:
67
+ - At least 1 table section for data/comparisons
68
+ - At least 1 list section for key points
69
+ - Multiple text sections with sub-sections for depth
70
+ - Total: 5-8 content sections (not counting title/TOC/conclusion)
71
+
72
+ ## RULES
73
+
74
+ 1. ALWAYS call \`word_create\` first
75
+ 2. ALWAYS save before completing
76
+ 3. Use section builders in logical order — document flows top to bottom
77
+ 4. Match the design specification from the Enhancement LLM
78
+ 5. NEVER call low-level Word tools — only use the builders listed above
79
+ `;
80
+ export const WORD_CREATE_PLANNING_PROMPT = `You are the Planning LLM for a Word Document Creation Agent.
81
+ Given the user's request and the Enhancement LLM's creative content, create a concrete execution plan.
82
+
83
+ ## OUTPUT FORMAT
84
+
85
+ MODE: CREATE
86
+ DESIGN DECISIONS:
87
+ - COLOR_SCHEME: [preset name or custom hex values]
88
+ - FONTS: [preset name or custom]
89
+ - TONE: [formal/casual/academic/executive]
90
+
91
+ TOTAL_SECTIONS: [number]
92
+
93
+ DOCUMENT_PLAN:
94
+ 1. [SETUP] word_create → word_set_page_margins → word_insert_header → word_insert_footer → word_insert_page_number
95
+ 2. [TITLE] word_build_title_page — Title: "..."
96
+ 3. [TOC] word_build_toc
97
+ 4. [SECTION] word_build_section — "Section Name" (N paragraphs, M sub-sections)
98
+ 5. [TABLE] word_build_table_section — "Table Name" (R rows × C cols)
99
+ 6. [LIST] word_build_list_section — "List Name" (N items, bullet/numbered)
100
+ 7. [SECTION] word_build_section — "Section Name" ...
101
+ 8. [CONCLUSION] word_build_conclusion — "Conclusion"
102
+ 9. [SAVE] word_save → path
103
+
104
+ ## CONTENT DENSITY PER SECTION
105
+
106
+ - word_build_section: 3-5 body paragraphs (each 3-5 sentences), 0-3 sub-sections
107
+ - word_build_table_section: 4-8 data rows, 3-6 columns
108
+ - word_build_list_section: 5-8 items
109
+ - word_build_conclusion: 1-2 paragraphs
110
+
111
+ ## VERIFICATION
112
+
113
+ Before finalizing the plan, check:
114
+ ✅ Title page included?
115
+ ✅ TOC included?
116
+ ✅ At least 1 table section?
117
+ ✅ At least 1 list section?
118
+ ✅ 5-8 content sections total?
119
+ ✅ Conclusion included?
120
+ ✅ Save path specified?
121
+ ✅ All Korean content?
122
+ `;
123
+ export const WORD_CREATE_ENHANCEMENT_PROMPT = `You are the Enhancement LLM for a Word Document Creation Agent.
124
+ Generate rich, professional content for the document.
125
+
126
+ ## OUTPUT FORMAT
127
+
128
+ DOCUMENT_TYPE: [report/proposal/manual/guide/analysis]
129
+ TARGET_AUDIENCE: [executives/team/clients/students/general]
130
+ TOTAL_SECTIONS: [5-8]
131
+
132
+ DESIGN_SPECIFICATION:
133
+ - COLOR_SCHEME: [choose from: MODERN_TECH, WARM_EXECUTIVE, CLEAN_MINIMAL, CORPORATE, NATURE_FRESH, BOLD_MODERN — or specify custom hex colors]
134
+ - FONTS: [choose matching preset or custom {title, body}]
135
+ - TONE: [formal/academic/executive/casual]
136
+
137
+ TITLE_PAGE:
138
+ - Title: "..."
139
+ - Subtitle: "..."
140
+ - Date: "..."
141
+ - Author: "..."
142
+
143
+ SECTION_PLAN:
144
+ For each section, provide:
145
+ - Section type: section / table_section / list_section
146
+ - Heading: "..."
147
+ - Content summary (what should be written)
148
+ - For tables: column names and sample data description
149
+ - For lists: key items to include
150
+ - Sub-sections if applicable
151
+
152
+ CONCLUSION:
153
+ - Heading: "..."
154
+ - Key takeaway message
155
+
156
+ ## RULES
157
+
158
+ - ALL content MUST be in Korean
159
+ - Provide SPECIFIC, SUBSTANTIVE content — not generic descriptions
160
+ - Include realistic data for tables (numbers, percentages, dates)
161
+ - Match the color scheme to the document topic and audience
162
+ - Think like a professional document writer
163
+ `;
164
+ //# sourceMappingURL=word-create-prompts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"word-create-prompts.js","sourceRoot":"","sources":["../../../src/agents/office/word-create-prompts.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6E7D,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0C1C,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwC7C,CAAC"}
package/dist/cli.js CHANGED
@@ -44,6 +44,9 @@ program
44
44
  console.error('Error: -p 옵션에는 프롬프트가 필요합니다. 예: hanseol -p "파일 목록 보여줘"');
45
45
  process.exit(1);
46
46
  }
47
+ if (options.verbose || options.debug || options.llmLog) {
48
+ await setupLogging({ verbose: options.verbose, debug: options.debug, llmLog: options.llmLog });
49
+ }
47
50
  await runPipeMode(prompt, options.specific ?? false);
48
51
  return;
49
52
  }
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAUA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C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C,kBAAkB,CAAC,CAAC,CAAC;IAC7C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAC,CAAC;IACnE,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,2CAA2C,CAAC,CAAC,CAAC;IACtE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAKH,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC"}
@@ -7,7 +7,7 @@ export declare const PROJECTS_DIR: string;
7
7
  export declare 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.2-dev.9";
10
+ export declare const APP_VERSION = "5.0.2-dev.91";
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";
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,cAAc,QAA0C,CAAC;AAGtE,eAAO,MAAM,aAAa,QAAiB,CAAC;AAM5C,eAAO,MAAM,gBAAgB,QAA2C,CAAC;AAMzE,eAAO,MAAM,QAAQ,QAAoC,CAAC;AAM1D,eAAO,MAAM,WAAW,QAAuC,CAAC;AAMhE,eAAO,MAAM,YAAY,QAAwC,CAAC;AAOlE,eAAO,MAAM,qBAAqB,QAAgD,CAAC;AAMnF,eAAO,MAAM,QAAQ,gBAAgB,CAAC;AAMtC,eAAO,MAAM,UAAU,YAAY,CAAC;AAKpC,eAAO,MAAM,WAAW,gBAAgB,CAAC;AAMzC,eAAO,MAAM,aAAa,gCAAgC,CAAC;AAM3D,eAAO,MAAM,QAAQ,qCAAqC,CAAC;AAM3D,eAAO,MAAM,QAAQ,qCAAqC,CAAC;AAM3D,eAAO,MAAM,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,cAAc,QAA0C,CAAC;AAGtE,eAAO,MAAM,aAAa,QAAiB,CAAC;AAM5C,eAAO,MAAM,gBAAgB,QAA2C,CAAC;AAMzE,eAAO,MAAM,QAAQ,QAAoC,CAAC;AAM1D,eAAO,MAAM,WAAW,QAAuC,CAAC;AAMhE,eAAO,MAAM,YAAY,QAAwC,CAAC;AAOlE,eAAO,MAAM,qBAAqB,QAAgD,CAAC;AAMnF,eAAO,MAAM,QAAQ,gBAAgB,CAAC;AAMtC,eAAO,MAAM,UAAU,YAAY,CAAC;AAKpC,eAAO,MAAM,WAAW,iBAAiB,CAAC;AAM1C,eAAO,MAAM,aAAa,gCAAgC,CAAC;AAM3D,eAAO,MAAM,QAAQ,qCAAqC,CAAC;AAM3D,eAAO,MAAM,QAAQ,qCAAqC,CAAC;AAM3D,eAAO,MAAM,eAAe,QAAQ,CAAC"}
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.2-dev.9';
12
+ export const APP_VERSION = '5.0.2-dev.91';
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';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,EAAE,MAA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KvB,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAyCxC,OAAO,CAAC,eAAe;YAsGT,aAAa;IAqD3B,OAAO,CAAC,iBAAiB;CAU1B;AAKD,wBAAsB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAGlF"}
1
+ {"version":3,"file":"pipe-runner.d.ts","sourceRoot":"","sources":["../../src/pipe/pipe-runner.ts"],"names":[],"mappings":"AA0BA,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;IA6DxC,OAAO,CAAC,eAAe;YAsGT,aAAa;IAqD3B,OAAO,CAAC,iBAAiB;CAU1B;AAKD,wBAAsB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAGlF"}
@@ -4,6 +4,7 @@ import { DASHBOARD_URL } from '../constants.js';
4
4
  import { ensureAuthenticated, syncModelsFromDashboard } from '../core/auth/auth-gate.js';
5
5
  import { configManager } from '../core/config/config-manager.js';
6
6
  import { PlanExecutor } from '../orchestration/plan-executor.js';
7
+ import { setSubAgentToolCallLogger, setSubAgentPhaseLogger } from '../agents/common/sub-agent.js';
7
8
  function log(msg) {
8
9
  process.stderr.write(msg + '\n');
9
10
  }
@@ -21,6 +22,21 @@ export class PipeRunner {
21
22
  async run(prompt) {
22
23
  this.prompt = prompt;
23
24
  try {
25
+ if (this.specific) {
26
+ setSubAgentToolCallLogger((_appName, toolName, args, _resultText, success, iteration, totalCalls) => {
27
+ const summary = this.summarizeToolArgs(toolName, args);
28
+ const prefix = ` [${iteration}/${totalCalls}]`;
29
+ if (success) {
30
+ log(chalk.dim(`${prefix} → ${toolName} ${summary}`));
31
+ }
32
+ else {
33
+ log(chalk.red(`${prefix} → ${toolName} ${summary} FAILED`));
34
+ }
35
+ });
36
+ setSubAgentPhaseLogger((appName, phase, detail) => {
37
+ log(chalk.yellow(` [${appName}:${phase}] ${detail}`));
38
+ });
39
+ }
24
40
  await configManager.initialize();
25
41
  const creds = await ensureAuthenticated(DASHBOARD_URL);
26
42
  await syncModelsFromDashboard(DASHBOARD_URL, creds.token);
@@ -41,6 +57,10 @@ export class PipeRunner {
41
57
  log(chalk.red(`Error: ${error instanceof Error ? error.message : String(error)}`));
42
58
  process.exit(1);
43
59
  }
60
+ finally {
61
+ setSubAgentToolCallLogger(null);
62
+ setSubAgentPhaseLogger(null);
63
+ }
44
64
  }
45
65
  createCallbacks() {
46
66
  let previousMessages = [];
@@ -1 +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,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzF,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAMjE,SAAS,GAAG,CAAC,GAAW;IACtB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,GAAG,IAAI,CAAC,CAAC;AACnC,CAAC;AAED,MAAM,OAAO,UAAU;IACb,QAAQ,CAAU;IAClB,SAAS,GAAqB,IAAI,CAAC;IACnC,YAAY,CAAe;IAC3B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OAAO,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC7C,CAAC;CACF;AAKD,MAAM,CAAC,KAAK,UAAU,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"planning.d.ts","sourceRoot":"","sources":["../../../src/prompts/agents/planning.ts"],"names":[],"mappings":"AAsRA,wBAAgB,yBAAyB,CAAC,WAAW,EAAE,MAAM,EAAE,iBAAiB,GAAE,MAAW,GAAG,MAAM,CAarG;AAMD,eAAO,MAAM,sBAAsB,QAWlC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"planning.d.ts","sourceRoot":"","sources":["../../../src/prompts/agents/planning.ts"],"names":[],"mappings":"AA+SA,wBAAgB,yBAAyB,CAAC,WAAW,EAAE,MAAM,EAAE,iBAAiB,GAAE,MAAW,GAAG,MAAM,CAarG;AAMD,eAAO,MAAM,sBAAsB,QAWlC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -21,9 +21,12 @@ The **Execution Agent** (not you) has powerful capabilities:
21
21
  The Execution Agent has access to **autonomous specialist agents** that handle complex tasks independently:
22
22
 
23
23
  **Office Agents** (available on Windows):
24
- - \`word_agent\`: Creates/edits professional Word documents autonomously. Give it a topic and it produces a polished document with formatting, tables, headers, and page layout.
25
- - \`excel_agent\`: Creates/edits professional Excel spreadsheets autonomously. Give it data requirements and it produces formatted tables with formulas, charts, and conditional formatting.
26
- - \`powerpoint_agent\`: Creates/edits professional PowerPoint presentations autonomously. Give it a topic and it produces stunning slides with varied layouts, color schemes, and visual hierarchy.
24
+ - \`powerpoint_create_agent\`: Creates NEW professional presentations from scratch. Give it a topic and it produces stunning slides with varied layouts, color schemes, and visual hierarchy using high-level builder tools.
25
+ - \`powerpoint_modify_agent\`: Edits EXISTING .pptx files. Opens an existing presentation and makes targeted changes (text, formatting, slides, charts).
26
+ - \`word_create_agent\`: Creates NEW professional documents from scratch using high-level section builders. Give it a topic and it produces a polished document with title page, TOC, sections, tables, and lists.
27
+ - \`word_modify_agent\`: Edits EXISTING .docx files. Opens an existing document and makes targeted changes (text, formatting, tables, styles).
28
+ - \`excel_create_agent\`: Creates NEW professional spreadsheets from scratch using high-level sheet builders. Give it data requirements and it produces styled tables with formulas, charts, and conditional formatting.
29
+ - \`excel_modify_agent\`: Edits EXISTING .xlsx files. Opens an existing spreadsheet and makes targeted changes (data, formulas, formatting, charts).
27
30
 
28
31
  **Browser Agents** (always available):
29
32
  - \`confluence_request\`: Searches and creates Confluence pages autonomously.
@@ -31,25 +34,43 @@ The Execution Agent has access to **autonomous specialist agents** that handle c
31
34
  - \`search_request\`: Searches the web (Google, Naver, StackOverflow, etc.) and collects results.
32
35
 
33
36
  **Agent Selection Guide — choose the RIGHT agent:**
34
- - \`powerpoint_agent\`: presentations, pitch decks, slide decks, briefings, proposals with slides, 발표자료, 피치덱, 슬라이드, 브리핑, 제안서(프레젠테이션), 소개자료
35
- - \`word_agent\`: reports, manuals, proposals (text-heavy), contracts, letters, resumes, 보고서, 매뉴얼, 기획서, 계약서, 이력서, 레터, 논문, 리포트
36
- - \`excel_agent\`: spreadsheets, data tables, budgets, financial models, schedules, trackers, 실적표, 예산표, 데이터시트, 일정표, 매출표, 대시보드(데이터)
37
+ - \`powerpoint_create_agent\`: NEW presentations, pitch decks, slide decks, briefings, proposals with slides, 발표자료, 피치덱, 슬라이드, 브리핑, 제안서(프레젠테이션), 소개자료
38
+ - \`powerpoint_modify_agent\`: editing EXISTING .pptx files, modifying slides, updating text/charts in existing presentations
39
+ - \`word_create_agent\`: NEW reports, manuals, proposals (text-heavy), contracts, 보고서, 매뉴얼, 기획서, 계약서, 논문, 리포트
40
+ - \`word_modify_agent\`: editing EXISTING .docx files, modifying text/formatting/tables in existing documents
41
+ - \`excel_create_agent\`: NEW spreadsheets, data tables, budgets, financial models, 실적표, 예산표, 데이터시트, 매출표
42
+ - \`excel_modify_agent\`: editing EXISTING .xlsx files, modifying data/formulas/charts in existing spreadsheets
37
43
 
38
44
  ⚠️ **Common mistakes to avoid:**
39
- - "피치덱" / "pitch deck" → \`powerpoint_agent\` (NOT word_agent!)
40
- - "발표자료" / "프레젠테이션" → \`powerpoint_agent\` (NOT word_agent!)
41
- - "매출 보고서" (with data tables) → \`excel_agent\` (NOT word_agent!)
42
- - "제안서" depends on context: if slides → \`powerpoint_agent\`, if document → \`word_agent\`
45
+ - "피치덱" / "pitch deck" → \`powerpoint_create_agent\` (NOT word_create_agent!)
46
+ - "발표자료" / "프레젠테이션" → \`powerpoint_create_agent\` (NOT word_create_agent!)
47
+ - "기존 PPT 수정" / "열어서 변경" → \`powerpoint_modify_agent\` (NOT powerpoint_create_agent!)
48
+ - "매출 보고서" (with data tables) → \`excel_create_agent\` (NOT word_create_agent!)
49
+ - "기존 엑셀 수정" / ".xlsx 편집" → \`excel_modify_agent\` (NOT excel_create_agent!)
50
+ - "기존 문서 수정" / ".docx 편집" → \`word_modify_agent\` (NOT word_create_agent!)
51
+ - "제안서" depends on context: if slides → \`powerpoint_create_agent\`, if document → \`word_create_agent\`
43
52
 
44
53
  **How to plan for sub-agents:**
45
- - When the user wants Office documents → create ONE SINGLE TODO that delegates the ENTIRE document to the appropriate agent with a DETAILED instruction
46
- - ⚠️ CRITICAL: Do NOT split an agent task into multiple TODOs (e.g., one TODO per slide/page/section). The agent handles the ENTIRE document internally. Breaking it into pieces creates 12 separate files instead of 1 cohesive document.
47
- - BAD: "#1 슬라이드1 생성", "#2 슬라이드2 생성", "#3 슬라이드3 생성"
48
- - ✅ GOOD: "#1 PowerPoint 에이전트에게 피치덱 전체 생성 요청 (12-15장, 모든 섹션 포함)"
49
- - The instruction should include: topic, desired sections/content, specific data, formatting preferences, and save path
50
- - Sub-agents work best with detailed instructions. The more context you provide, the better the result.
51
- - If the user's request is vague, the TODO should still include rich context inferred from the conversation.
52
- - Example TODO: "Excel 에이전트에게 2024년 분기별 매출 실적표 생성 요청 (항목: 분기, 국내매출, 해외매출, 합계, 전분기대비 증감률 / 4분기 데이터 / 저장 경로 포함)"
54
+
55
+ 🚨🚨🚨 **ABSOLUTE RULE ONE AGENT CALL = ONE TODO** 🚨🚨🚨
56
+ When the user requests an Office document (PowerPoint/Word/Excel), you MUST create EXACTLY ONE TODO that delegates the ENTIRE document to the agent. The agent internally handles ALL slides/pages/sections/sheets.
57
+
58
+ **NEVER create multiple TODOs for different parts of ONE document.**
59
+ Each extra TODO creates a SEPARATE file, destroying the document.
60
+
61
+ - FORBIDDEN (creates 10 broken files):
62
+ "#1 MediAI 개요 슬라이드 작성"
63
+ "#2 시장 분석 슬라이드 작성"
64
+ "#3 팀 소개 슬라이드 작성"
65
+ ...
66
+
67
+ - ✅ CORRECT (creates 1 complete document):
68
+ "#1 PowerPoint 에이전트에게 MediAI 피치덱 전체 생성 요청 (15-20장, 포함: 커버/문제정의/솔루션/시장분석/제품/비즈니스모델/경쟁분석/고객사례/재무/팀소개/로드맵/투자조건/연락처, 저장경로: C:\\Users\\...\\pitch.pptx)"
69
+
70
+ The instruction should include: topic, ALL desired sections listed in parentheses, specific data, formatting preferences, and save path.
71
+ Sub-agents work best with ONE detailed instruction. The more context you provide in that single TODO, the better the result.
72
+ If the user's request is vague, the TODO should still include rich context inferred from the conversation.
73
+ Example: "Excel 에이전트에게 2024년 분기별 매출 실적표 생성 요청 (항목: 분기, 국내매출, 해외매출, 합계, 전분기대비 증감률 / 4분기 데이터 / 저장 경로 포함)"
53
74
 
54
75
  Since the Execution Agent can do almost anything a computer user can do, your job is to plan tasks that fully utilize its capabilities.
55
76
 
@@ -256,6 +277,10 @@ User: "What's the difference between JWT and session authentication?"
256
277
  User: "Write test code for this"
257
278
  ❌ WRONG: respond_to_user with "Here's an example of how to write tests..."
258
279
  ✅ RIGHT: ask_to_user "Which part should I write tests for?" or create_todos if context is clear
280
+
281
+ 🚨 **FINAL REMINDER — Office Agent Tasks:**
282
+ For powerpoint_create_agent / powerpoint_modify_agent / word_create_agent / word_modify_agent / excel_create_agent / excel_modify_agent requests: ALWAYS create exactly 1 TODO.
283
+ The agent creates the ENTIRE document. Multiple TODOs = multiple broken files.
259
284
  `;
260
285
  export function buildPlanningSystemPrompt(toolSummary, optionalToolsInfo = '') {
261
286
  const toolSection = `
@@ -1 +1 @@
1
- {"version":3,"file":"planning.js","sourceRoot":"","sources":["../../../src/prompts/agents/planning.ts"],"names":[],"mappings":"AAaA,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkQ5B,CAAC;AAOF,MAAM,UAAU,yBAAyB,CAAC,WAAmB,EAAE,oBAA4B,EAAE;IAC3F,MAAM,WAAW,GAAG;;;;;EAKpB,WAAW;EACX,iBAAiB;;;CAGlB,CAAC;IAEA,OAAO,oBAAoB,GAAG,WAAW,CAAC;AAC5C,CAAC;AAMD,MAAM,CAAC,MAAM,sBAAsB,GAAG,oBAAoB,GAAG;;;;;;;;;;;CAW5D,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"planning.js","sourceRoot":"","sources":["../../../src/prompts/agents/planning.ts"],"names":[],"mappings":"AAaA,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2R5B,CAAC;AAOF,MAAM,UAAU,yBAAyB,CAAC,WAAmB,EAAE,oBAA4B,EAAE;IAC3F,MAAM,WAAW,GAAG;;;;;EAKpB,WAAW;EACX,iBAAiB;;;CAGlB,CAAC;IAEA,OAAO,oBAAoB,GAAG,WAAW,CAAC;AAC5C,CAAC;AAMD,MAAM,CAAC,MAAM,sBAAsB,GAAG,oBAAoB,GAAG;;;;;;;;;;;CAW5D,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tool-usage.d.ts","sourceRoot":"","sources":["../../../src/prompts/shared/tool-usage.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,eAAe,QAUpB,CAAC;AAKT,eAAO,MAAM,yBAAyB,QAmB9B,CAAC;AAKT,eAAO,MAAM,iBAAiB,QAWtB,CAAC;AAKT,eAAO,MAAM,uBAAuB,QAK5B,CAAC;AAKT,eAAO,MAAM,sBAAsB,QA+B3B,CAAC;;;;;;;;AAET,wBAME"}
1
+ {"version":3,"file":"tool-usage.d.ts","sourceRoot":"","sources":["../../../src/prompts/shared/tool-usage.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,eAAe,QAUpB,CAAC;AAKT,eAAO,MAAM,yBAAyB,QAsB9B,CAAC;AAKT,eAAO,MAAM,iBAAiB,QAWtB,CAAC;AAKT,eAAO,MAAM,uBAAuB,QAK5B,CAAC;AAKT,eAAO,MAAM,sBAAsB,QA+B3B,CAAC;;;;;;;;AAET,wBAME"}