hanseol-dev 5.0.2-dev.11 → 5.0.2-dev.13

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.
@@ -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.11";
10
+ export declare const APP_VERSION = "5.0.2-dev.13";
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.2-dev.11';
12
+ export const APP_VERSION = '5.0.2-dev.13';
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":"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":"AAsSA,wBAAgB,yBAAyB,CAAC,WAAW,EAAE,MAAM,EAAE,iBAAiB,GAAE,MAAW,GAAG,MAAM,CAarG;AAMD,eAAO,MAAM,sBAAsB,QAWlC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -42,14 +42,26 @@ The Execution Agent has access to **autonomous specialist agents** that handle c
42
42
  - "제안서" depends on context: if slides → \`powerpoint_agent\`, if document → \`word_agent\`
43
43
 
44
44
  **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분기 데이터 / 저장 경로 포함)"
45
+
46
+ 🚨🚨🚨 **ABSOLUTE RULE ONE AGENT CALL = ONE TODO** 🚨🚨🚨
47
+ 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.
48
+
49
+ **NEVER create multiple TODOs for different parts of ONE document.**
50
+ Each extra TODO creates a SEPARATE file, destroying the document.
51
+
52
+ - FORBIDDEN (creates 10 broken files):
53
+ "#1 MediAI 개요 슬라이드 작성"
54
+ "#2 시장 분석 슬라이드 작성"
55
+ "#3 팀 소개 슬라이드 작성"
56
+ ...
57
+
58
+ - ✅ CORRECT (creates 1 complete document):
59
+ "#1 PowerPoint 에이전트에게 MediAI 피치덱 전체 생성 요청 (15-20장, 포함: 커버/문제정의/솔루션/시장분석/제품/비즈니스모델/경쟁분석/고객사례/재무/팀소개/로드맵/투자조건/연락처, 저장경로: C:\\Users\\...\\pitch.pptx)"
60
+
61
+ The instruction should include: topic, ALL desired sections listed in parentheses, specific data, formatting preferences, and save path.
62
+ Sub-agents work best with ONE detailed instruction. The more context you provide in that single TODO, the better the result.
63
+ If the user's request is vague, the TODO should still include rich context inferred from the conversation.
64
+ Example: "Excel 에이전트에게 2024년 분기별 매출 실적표 생성 요청 (항목: 분기, 국내매출, 해외매출, 합계, 전분기대비 증감률 / 4분기 데이터 / 저장 경로 포함)"
53
65
 
54
66
  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
67
 
@@ -256,6 +268,10 @@ User: "What's the difference between JWT and session authentication?"
256
268
  User: "Write test code for this"
257
269
  ❌ WRONG: respond_to_user with "Here's an example of how to write tests..."
258
270
  ✅ RIGHT: ask_to_user "Which part should I write tests for?" or create_todos if context is clear
271
+
272
+ 🚨 **FINAL REMINDER — Office Agent Tasks:**
273
+ For powerpoint_agent / word_agent / excel_agent requests: ALWAYS create exactly 1 TODO.
274
+ The agent creates the ENTIRE document. Multiple TODOs = multiple broken files.
259
275
  `;
260
276
  export function buildPlanningSystemPrompt(toolSummary, optionalToolsInfo = '') {
261
277
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkR5B,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanseol-dev",
3
- "version": "5.0.2-dev.11",
3
+ "version": "5.0.2-dev.13",
4
4
  "description": "Hanseol - OpenAI-Compatible Coding Agent",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",