hanseol-dev 5.0.2-dev.39 → 5.0.2-dev.40
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/agents/index.d.ts +1 -1
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +1 -1
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/office/excel-agent.d.ts +1 -1
- package/dist/agents/office/excel-agent.d.ts.map +1 -1
- package/dist/agents/office/excel-agent.js +4 -4
- package/dist/agents/office/excel-agent.js.map +1 -1
- package/dist/agents/office/excel-create-agent.d.ts +3 -0
- package/dist/agents/office/excel-create-agent.d.ts.map +1 -0
- package/dist/agents/office/excel-create-agent.js +38 -0
- package/dist/agents/office/excel-create-agent.js.map +1 -0
- package/dist/agents/office/excel-create-prompts.d.ts +4 -0
- package/dist/agents/office/excel-create-prompts.d.ts.map +1 -0
- package/dist/agents/office/excel-create-prompts.js +154 -0
- package/dist/agents/office/excel-create-prompts.js.map +1 -0
- package/dist/agents/office/index.d.ts +6 -3
- package/dist/agents/office/index.d.ts.map +1 -1
- package/dist/agents/office/index.js +6 -3
- package/dist/agents/office/index.js.map +1 -1
- package/dist/agents/office/powerpoint-agent.d.ts +1 -1
- package/dist/agents/office/powerpoint-agent.d.ts.map +1 -1
- package/dist/agents/office/powerpoint-agent.js +4 -4
- package/dist/agents/office/powerpoint-agent.js.map +1 -1
- package/dist/agents/office/powerpoint-create-agent.d.ts +3 -0
- package/dist/agents/office/powerpoint-create-agent.d.ts.map +1 -0
- package/dist/agents/office/powerpoint-create-agent.js +38 -0
- package/dist/agents/office/powerpoint-create-agent.js.map +1 -0
- package/dist/agents/office/powerpoint-create-prompts.d.ts +4 -0
- package/dist/agents/office/powerpoint-create-prompts.d.ts.map +1 -0
- package/dist/agents/office/powerpoint-create-prompts.js +206 -0
- package/dist/agents/office/powerpoint-create-prompts.js.map +1 -0
- package/dist/agents/office/prompts.d.ts +3 -2
- package/dist/agents/office/prompts.d.ts.map +1 -1
- package/dist/agents/office/prompts.js +27 -17
- package/dist/agents/office/prompts.js.map +1 -1
- package/dist/agents/office/word-agent.d.ts +1 -1
- package/dist/agents/office/word-agent.d.ts.map +1 -1
- package/dist/agents/office/word-agent.js +4 -4
- package/dist/agents/office/word-agent.js.map +1 -1
- package/dist/agents/office/word-create-agent.d.ts +3 -0
- package/dist/agents/office/word-create-agent.d.ts.map +1 -0
- package/dist/agents/office/word-create-agent.js +38 -0
- package/dist/agents/office/word-create-agent.js.map +1 -0
- package/dist/agents/office/word-create-prompts.d.ts +4 -0
- package/dist/agents/office/word-create-prompts.d.ts.map +1 -0
- package/dist/agents/office/word-create-prompts.js +164 -0
- package/dist/agents/office/word-create-prompts.js.map +1 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/prompts/agents/planning.d.ts.map +1 -1
- package/dist/prompts/agents/planning.js +20 -11
- package/dist/prompts/agents/planning.js.map +1 -1
- package/dist/prompts/shared/tool-usage.d.ts.map +1 -1
- package/dist/prompts/shared/tool-usage.js +6 -3
- package/dist/prompts/shared/tool-usage.js.map +1 -1
- package/dist/prompts/system/plan-execute.js +1 -1
- package/dist/tools/office/excel-tools/index.d.ts +2 -0
- package/dist/tools/office/excel-tools/index.d.ts.map +1 -1
- package/dist/tools/office/excel-tools/index.js +12 -0
- package/dist/tools/office/excel-tools/index.js.map +1 -1
- package/dist/tools/office/excel-tools/sheet-builders.d.ts +8 -0
- package/dist/tools/office/excel-tools/sheet-builders.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/sheet-builders.js +414 -0
- package/dist/tools/office/excel-tools/sheet-builders.js.map +1 -0
- package/dist/tools/office/excel-tools.d.ts +1 -1
- package/dist/tools/office/excel-tools.d.ts.map +1 -1
- package/dist/tools/office/excel-tools.js +1 -1
- package/dist/tools/office/excel-tools.js.map +1 -1
- package/dist/tools/office/powerpoint-tools/index.d.ts +2 -0
- package/dist/tools/office/powerpoint-tools/index.d.ts.map +1 -1
- package/dist/tools/office/powerpoint-tools/index.js +11 -0
- package/dist/tools/office/powerpoint-tools/index.js.map +1 -1
- package/dist/tools/office/powerpoint-tools/layout-builders.d.ts +11 -0
- package/dist/tools/office/powerpoint-tools/layout-builders.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-tools/layout-builders.js +708 -0
- package/dist/tools/office/powerpoint-tools/layout-builders.js.map +1 -0
- package/dist/tools/office/powerpoint-tools.d.ts +1 -1
- package/dist/tools/office/powerpoint-tools.d.ts.map +1 -1
- package/dist/tools/office/powerpoint-tools.js +1 -1
- package/dist/tools/office/powerpoint-tools.js.map +1 -1
- package/dist/tools/office/word-tools/index.d.ts +4 -1
- package/dist/tools/office/word-tools/index.d.ts.map +1 -1
- package/dist/tools/office/word-tools/index.js +15 -0
- package/dist/tools/office/word-tools/index.js.map +1 -1
- package/dist/tools/office/word-tools/section-builders.d.ts +10 -0
- package/dist/tools/office/word-tools/section-builders.d.ts.map +1 -0
- package/dist/tools/office/word-tools/section-builders.js +421 -0
- package/dist/tools/office/word-tools/section-builders.js.map +1 -0
- package/dist/tools/office/word-tools.d.ts +1 -1
- package/dist/tools/office/word-tools.d.ts.map +1 -1
- package/dist/tools/office/word-tools.js +1 -1
- package/dist/tools/office/word-tools.js.map +1 -1
- package/dist/tools/registry.d.ts.map +1 -1
- package/dist/tools/registry.js +7 -4
- package/dist/tools/registry.js.map +1 -1
- package/package.json +1 -1
package/dist/agents/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { SubAgent, type SubAgentConfig, } from './common/index.js';
|
|
2
2
|
export { SubAgent as OfficeSubAgent } from './common/index.js';
|
|
3
3
|
export { PlanningLLM, } from './planner/index.js';
|
|
4
|
-
export {
|
|
4
|
+
export { createWordCreateRequestTool, createWordModifyRequestTool, createExcelCreateRequestTool, createExcelModifyRequestTool, createPowerPointCreateRequestTool, createPowerPointModifyRequestTool, } from './office/index.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/agents/index.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,QAAQ,EACR,KAAK,cAAc,GACpB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAG/D,OAAO,EACL,WAAW,GACZ,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/agents/index.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,QAAQ,EACR,KAAK,cAAc,GACpB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAG/D,OAAO,EACL,WAAW,GACZ,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC5B,4BAA4B,EAC5B,iCAAiC,EACjC,iCAAiC,GAClC,MAAM,mBAAmB,CAAC"}
|
package/dist/agents/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { SubAgent, } from './common/index.js';
|
|
2
2
|
export { SubAgent as OfficeSubAgent } from './common/index.js';
|
|
3
3
|
export { PlanningLLM, } from './planner/index.js';
|
|
4
|
-
export {
|
|
4
|
+
export { createWordCreateRequestTool, createWordModifyRequestTool, createExcelCreateRequestTool, createExcelModifyRequestTool, createPowerPointCreateRequestTool, createPowerPointModifyRequestTool, } from './office/index.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/agents/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/agents/index.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,QAAQ,GAET,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAG/D,OAAO,EACL,WAAW,GACZ,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/agents/index.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,QAAQ,GAET,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAG/D,OAAO,EACL,WAAW,GACZ,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC5B,4BAA4B,EAC5B,iCAAiC,EACjC,iCAAiC,GAClC,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"excel-agent.d.ts","sourceRoot":"","sources":["../../../src/agents/office/excel-agent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"excel-agent.d.ts","sourceRoot":"","sources":["../../../src/agents/office/excel-agent.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAKpD,wBAAgB,4BAA4B,IAAI,YAAY,CA4B3D"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { EXCEL_TOOLS } from '../../tools/office/excel-tools.js';
|
|
2
2
|
import { SubAgent } from '../common/sub-agent.js';
|
|
3
3
|
import { EXCEL_SYSTEM_PROMPT, EXCEL_PLANNING_PROMPT, EXCEL_ENHANCEMENT_PROMPT } from './prompts.js';
|
|
4
|
-
export function
|
|
4
|
+
export function createExcelModifyRequestTool() {
|
|
5
5
|
return {
|
|
6
6
|
definition: {
|
|
7
7
|
type: 'function',
|
|
8
8
|
function: {
|
|
9
|
-
name: '
|
|
10
|
-
description: 'Autonomous Microsoft Excel
|
|
9
|
+
name: 'excel_modify_agent',
|
|
10
|
+
description: 'Autonomous Microsoft Excel MODIFY agent for editing EXISTING .xlsx files. Has full access to low-level Excel tools (cells, formulas, formatting, charts, pivot tables, etc.) for precise spreadsheet modification. For creating NEW spreadsheets from scratch, use excel_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
|
|
16
|
+
description: 'Detailed instruction for modifying an existing Excel file. Include: file path, what to change, specific data or formatting requirements. The agent will open the file and make precise modifications.',
|
|
17
17
|
},
|
|
18
18
|
},
|
|
19
19
|
required: ['instruction'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"excel-agent.js","sourceRoot":"","sources":["../../../src/agents/office/excel-agent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"excel-agent.js","sourceRoot":"","sources":["../../../src/agents/office/excel-agent.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAEpG,MAAM,UAAU,4BAA4B;IAC1C,OAAO;QACL,UAAU,EAAE;YACV,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE;gBACR,IAAI,EAAE,oBAAoB;gBAC1B,WAAW,EACT,gSAAgS;gBAClS,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,WAAW,EAAE;4BACX,IAAI,EAAE,QAAQ;4BACd,WAAW,EACT,uMAAuM;yBAC1M;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,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,EAAE,aAAa,EAAE,EAAE,EAAE,cAAc,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,IAAI,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,GAAG,EAAE,CAAC,CAAC;YAChP,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 @@
|
|
|
1
|
+
{"version":3,"file":"excel-create-agent.d.ts","sourceRoot":"","sources":["../../../src/agents/office/excel-create-agent.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AASpD,wBAAgB,4BAA4B,IAAI,YAAY,CAyC3D"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EXCEL_CREATE_TOOLS } from '../../tools/office/excel-tools.js';
|
|
2
|
+
import { SubAgent } from '../common/sub-agent.js';
|
|
3
|
+
import { EXCEL_CREATE_SYSTEM_PROMPT, EXCEL_CREATE_PLANNING_PROMPT, EXCEL_CREATE_ENHANCEMENT_PROMPT, } from './excel-create-prompts.js';
|
|
4
|
+
export function createExcelCreateRequestTool() {
|
|
5
|
+
return {
|
|
6
|
+
definition: {
|
|
7
|
+
type: 'function',
|
|
8
|
+
function: {
|
|
9
|
+
name: 'excel_create_agent',
|
|
10
|
+
description: 'Autonomous Microsoft Excel CREATION agent for building NEW spreadsheets from scratch. Uses high-level sheet builders to produce professional-quality workbooks with styled headers, data tables, formulas, charts, and conditional formatting — all automatically. For editing EXISTING .xlsx files, use excel_modify_agent instead.',
|
|
11
|
+
parameters: {
|
|
12
|
+
type: 'object',
|
|
13
|
+
properties: {
|
|
14
|
+
instruction: {
|
|
15
|
+
type: 'string',
|
|
16
|
+
description: 'Detailed instruction for spreadsheet creation. Include: data topic, column structure, any specific calculations or charts needed, and save path. The agent will autonomously create a professional spreadsheet.',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
required: ['instruction'],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
execute: async (args, llmClient) => {
|
|
24
|
+
const agent = new SubAgent(llmClient, 'excel-create', EXCEL_CREATE_TOOLS, EXCEL_CREATE_SYSTEM_PROMPT, {
|
|
25
|
+
maxIterations: 20,
|
|
26
|
+
planningPrompt: EXCEL_CREATE_PLANNING_PROMPT,
|
|
27
|
+
planningMaxTokens: 1500,
|
|
28
|
+
enhancementPrompt: EXCEL_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=excel-create-agent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"excel-create-agent.js","sourceRoot":"","sources":["../../../src/agents/office/excel-create-agent.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EACL,0BAA0B,EAC1B,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,2BAA2B,CAAC;AAEnC,MAAM,UAAU,4BAA4B;IAC1C,OAAO;QACL,UAAU,EAAE;YACV,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE;gBACR,IAAI,EAAE,oBAAoB;gBAC1B,WAAW,EACT,sUAAsU;gBACxU,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,WAAW,EAAE;4BACX,IAAI,EAAE,QAAQ;4BACd,WAAW,EACT,iNAAiN;yBACpN;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,cAAc,EACd,kBAAkB,EAClB,0BAA0B,EAC1B;gBACE,aAAa,EAAE,EAAE;gBACjB,cAAc,EAAE,4BAA4B;gBAC5C,iBAAiB,EAAE,IAAI;gBACvB,iBAAiB,EAAE,+BAA+B;gBAClD,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 EXCEL_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: Excel Spreadsheet CREATION Specialist\n\nYou create NEW Excel spreadsheets using HIGH-LEVEL sheet builder tools.\nEach tool call creates a complete structure \u2014 you never deal with individual cell formatting.\n\n## AVAILABLE TOOLS\n\n### Lifecycle\n- `excel_create` \u2014 Create a blank workbook\n- `excel_save` \u2014 Save the workbook\n- `excel_screenshot` \u2014 Take a screenshot for verification\n\n### Sheet Management\n- `excel_add_sheet` \u2014 Add a new sheet\n- `excel_rename_sheet` \u2014 Rename a sheet\n\n### Sheet Builders (1 call = 1 complete structure)\n- `excel_build_data_sheet` \u2014 Title row + styled headers + data rows + number format + autofit\n- `excel_build_formula_columns` \u2014 Add formula columns to existing data\n- `excel_build_summary_row` \u2014 Add styled totals/summary row\n- `excel_build_chart` \u2014 Add a styled chart\n- `excel_build_conditional_format` \u2014 Apply conditional formatting\n\n### Complete\n- `final_response` \u2014 Return result when all work is done\n\n## WORKFLOW\n\n1. `excel_create` \u2192 create blank workbook\n2. `excel_build_data_sheet` \u2192 main data sheet with title, headers, data\n3. `excel_build_formula_columns` \u2192 calculated columns (growth %, variance, etc.)\n4. `excel_build_summary_row` \u2192 totals/averages at bottom\n5. `excel_build_conditional_format` \u2192 highlight key values\n6. `excel_build_chart` \u2192 visual representation\n7. Additional sheets if needed (repeat steps 2-6)\n8. `excel_save` \u2192 save to path\n9. `final_response` \u2192 report completion\n\n## DESIGN CONSISTENCY\n\n- Use the SAME `color_scheme` (or `colors`) and `fonts` across ALL builders\n- The Enhancement LLM specifies the color scheme \u2014 use it consistently\n- Available presets: MODERN_GREEN, WARM_AMBER, MINIMAL_SLATE, CORPORATE_BLUE, VIBRANT_CORAL, DEEP_PURPLE\n\n## CRITICAL: Number Handling\n\n- Write numbers AS NUMBERS, not strings: `12500`, not `\"12,500\"`\n- Use `number_formats` parameter for display format: `\"#,##0\"`, `\"0.0%\"`\n- Percentages: write as decimal (0.15 for 15%), format as `\"0.0%\"`\n- Currency: write raw number, format as `\"\u20A9#,##0\"` or `\"$#,##0\"`\n\n## CONTENT QUALITY\n\n- ALL labels and titles MUST be in Korean\n- Data must be REALISTIC \u2014 use plausible numbers for the topic\n- Include at least one formula column (growth, change, ratio, etc.)\n- Include at least one summary row (SUM, AVERAGE)\n- Include at least one chart\n- NEVER use placeholder data like \"\uB370\uC774\uD1301\", \"\uAC121\"\n\n## RULES\n\n1. ALWAYS call `excel_create` first\n2. ALWAYS save before completing\n3. Numbers must be written as numbers, not formatted strings\n4. Use `excel_build_data_sheet` for the main data \u2014 it handles everything\n5. Add formulas AFTER data sheet is built (need row references)\n6. Chart data_range must reference actual data range\n7. NEVER call low-level Excel tools \u2014 only use the builders listed above\n";
|
|
2
|
+
export declare const EXCEL_CREATE_PLANNING_PROMPT = "You are the Planning LLM for an Excel Spreadsheet 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\nTOTAL_SHEETS: [number]\n\nSHEET_PLAN:\nFor each sheet:\n\nSHEET: \"[sheet_name]\"\n1. [DATA] excel_build_data_sheet \u2014 Title: \"...\", Headers: [...], Rows: N\n2. [FORMULA] excel_build_formula_columns \u2014 Columns: [col: formula description]\n3. [SUMMARY] excel_build_summary_row \u2014 Row N+3: SUM/AVG for columns [...]\n4. [FORMAT] excel_build_conditional_format \u2014 Range: \"...\", Rule: ...\n5. [CHART] excel_build_chart \u2014 Type: ..., Range: \"...\", Title: \"...\"\n\n## CONTENT DENSITY\n\n- Data sheet: 5-15 data rows, 4-8 columns\n- Formula columns: 1-3 calculated columns\n- Summary row: SUM and/or AVERAGE for numeric columns\n- Chart: matches the data story (bar for comparison, line for trends, pie for composition)\n\n## CRITICAL: Numbers\n\n- Plan data values as RAW NUMBERS: 125000, not \"125,000\"\n- Plan percentages as DECIMALS: 0.15, not \"15%\"\n- Specify number_formats separately: {\"C\": \"#,##0\", \"D\": \"0.0%\"}\n\n## VERIFICATION\n\nBefore finalizing the plan, check:\n\u2705 excel_create called first?\n\u2705 Data has realistic, specific values?\n\u2705 At least 1 formula column?\n\u2705 Summary row included?\n\u2705 At least 1 chart?\n\u2705 Number formats specified?\n\u2705 Save path specified?\n\u2705 All Korean labels?\n";
|
|
3
|
+
export declare const EXCEL_CREATE_ENHANCEMENT_PROMPT = "You are the Enhancement LLM for an Excel Spreadsheet Creation Agent.\nGenerate rich, professional data content for the spreadsheet.\n\n## OUTPUT FORMAT\n\nDATA_TYPE: [sales/finance/HR/inventory/performance/survey]\nTARGET_AUDIENCE: [executives/team/analysts/general]\nTOTAL_SHEETS: [1-3]\n\nDESIGN_SPECIFICATION:\n- COLOR_SCHEME: [choose from: MODERN_GREEN, WARM_AMBER, MINIMAL_SLATE, CORPORATE_BLUE, VIBRANT_CORAL, DEEP_PURPLE \u2014 or specify custom hex]\n- FONTS: [choose matching preset or custom {title, body}]\n\nFor each sheet:\nSHEET: \"[name]\"\n- Title: \"...\"\n- Headers: [\"col1\", \"col2\", ...]\n- Data description: what each row represents, how many rows\n- Sample data: first 2-3 rows as example (use REAL numbers, not placeholders)\n- Formula columns: what calculations to add\n- Summary: what aggregations (SUM, AVERAGE)\n- Chart: type + what it shows\n- Conditional formatting: what to highlight\n\n## RULES\n\n- ALL labels, headers, and titles MUST be in Korean\n- Provide REALISTIC data appropriate for the topic\n- Numbers must be raw values (125000, not \"125,000\")\n- Percentages as decimals (0.15, not \"15%\")\n- Include at least one meaningful calculation (growth rate, variance, ratio)\n- Think like a professional analyst creating a real spreadsheet\n";
|
|
4
|
+
//# sourceMappingURL=excel-create-prompts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"excel-create-prompts.d.ts","sourceRoot":"","sources":["../../../src/agents/office/excel-create-prompts.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,0BAA0B,0zOAuEtC,CAAC;AAEF,eAAO,MAAM,4BAA4B,sjDA8CxC,CAAC;AAEF,eAAO,MAAM,+BAA+B,wwCAgC3C,CAAC"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { OFFICE_BASE_PROMPT } from './prompts.js';
|
|
2
|
+
export const EXCEL_CREATE_SYSTEM_PROMPT = `${OFFICE_BASE_PROMPT}
|
|
3
|
+
|
|
4
|
+
## YOUR ROLE: Excel Spreadsheet CREATION Specialist
|
|
5
|
+
|
|
6
|
+
You create NEW Excel spreadsheets using HIGH-LEVEL sheet builder tools.
|
|
7
|
+
Each tool call creates a complete structure — you never deal with individual cell formatting.
|
|
8
|
+
|
|
9
|
+
## AVAILABLE TOOLS
|
|
10
|
+
|
|
11
|
+
### Lifecycle
|
|
12
|
+
- \`excel_create\` — Create a blank workbook
|
|
13
|
+
- \`excel_save\` — Save the workbook
|
|
14
|
+
- \`excel_screenshot\` — Take a screenshot for verification
|
|
15
|
+
|
|
16
|
+
### Sheet Management
|
|
17
|
+
- \`excel_add_sheet\` — Add a new sheet
|
|
18
|
+
- \`excel_rename_sheet\` — Rename a sheet
|
|
19
|
+
|
|
20
|
+
### Sheet Builders (1 call = 1 complete structure)
|
|
21
|
+
- \`excel_build_data_sheet\` — Title row + styled headers + data rows + number format + autofit
|
|
22
|
+
- \`excel_build_formula_columns\` — Add formula columns to existing data
|
|
23
|
+
- \`excel_build_summary_row\` — Add styled totals/summary row
|
|
24
|
+
- \`excel_build_chart\` — Add a styled chart
|
|
25
|
+
- \`excel_build_conditional_format\` — Apply conditional formatting
|
|
26
|
+
|
|
27
|
+
### Complete
|
|
28
|
+
- \`final_response\` — Return result when all work is done
|
|
29
|
+
|
|
30
|
+
## WORKFLOW
|
|
31
|
+
|
|
32
|
+
1. \`excel_create\` → create blank workbook
|
|
33
|
+
2. \`excel_build_data_sheet\` → main data sheet with title, headers, data
|
|
34
|
+
3. \`excel_build_formula_columns\` → calculated columns (growth %, variance, etc.)
|
|
35
|
+
4. \`excel_build_summary_row\` → totals/averages at bottom
|
|
36
|
+
5. \`excel_build_conditional_format\` → highlight key values
|
|
37
|
+
6. \`excel_build_chart\` → visual representation
|
|
38
|
+
7. Additional sheets if needed (repeat steps 2-6)
|
|
39
|
+
8. \`excel_save\` → save to path
|
|
40
|
+
9. \`final_response\` → report completion
|
|
41
|
+
|
|
42
|
+
## DESIGN CONSISTENCY
|
|
43
|
+
|
|
44
|
+
- Use the SAME \`color_scheme\` (or \`colors\`) and \`fonts\` across ALL builders
|
|
45
|
+
- The Enhancement LLM specifies the color scheme — use it consistently
|
|
46
|
+
- Available presets: MODERN_GREEN, WARM_AMBER, MINIMAL_SLATE, CORPORATE_BLUE, VIBRANT_CORAL, DEEP_PURPLE
|
|
47
|
+
|
|
48
|
+
## CRITICAL: Number Handling
|
|
49
|
+
|
|
50
|
+
- Write numbers AS NUMBERS, not strings: \`12500\`, not \`"12,500"\`
|
|
51
|
+
- Use \`number_formats\` parameter for display format: \`"#,##0"\`, \`"0.0%"\`
|
|
52
|
+
- Percentages: write as decimal (0.15 for 15%), format as \`"0.0%"\`
|
|
53
|
+
- Currency: write raw number, format as \`"₩#,##0"\` or \`"$#,##0"\`
|
|
54
|
+
|
|
55
|
+
## CONTENT QUALITY
|
|
56
|
+
|
|
57
|
+
- ALL labels and titles MUST be in Korean
|
|
58
|
+
- Data must be REALISTIC — use plausible numbers for the topic
|
|
59
|
+
- Include at least one formula column (growth, change, ratio, etc.)
|
|
60
|
+
- Include at least one summary row (SUM, AVERAGE)
|
|
61
|
+
- Include at least one chart
|
|
62
|
+
- NEVER use placeholder data like "데이터1", "값1"
|
|
63
|
+
|
|
64
|
+
## RULES
|
|
65
|
+
|
|
66
|
+
1. ALWAYS call \`excel_create\` first
|
|
67
|
+
2. ALWAYS save before completing
|
|
68
|
+
3. Numbers must be written as numbers, not formatted strings
|
|
69
|
+
4. Use \`excel_build_data_sheet\` for the main data — it handles everything
|
|
70
|
+
5. Add formulas AFTER data sheet is built (need row references)
|
|
71
|
+
6. Chart data_range must reference actual data range
|
|
72
|
+
7. NEVER call low-level Excel tools — only use the builders listed above
|
|
73
|
+
`;
|
|
74
|
+
export const EXCEL_CREATE_PLANNING_PROMPT = `You are the Planning LLM for an Excel Spreadsheet Creation Agent.
|
|
75
|
+
Given the user's request and the Enhancement LLM's creative content, create a concrete execution plan.
|
|
76
|
+
|
|
77
|
+
## OUTPUT FORMAT
|
|
78
|
+
|
|
79
|
+
MODE: CREATE
|
|
80
|
+
DESIGN DECISIONS:
|
|
81
|
+
- COLOR_SCHEME: [preset name or custom hex values]
|
|
82
|
+
- FONTS: [preset name or custom]
|
|
83
|
+
|
|
84
|
+
TOTAL_SHEETS: [number]
|
|
85
|
+
|
|
86
|
+
SHEET_PLAN:
|
|
87
|
+
For each sheet:
|
|
88
|
+
|
|
89
|
+
SHEET: "[sheet_name]"
|
|
90
|
+
1. [DATA] excel_build_data_sheet — Title: "...", Headers: [...], Rows: N
|
|
91
|
+
2. [FORMULA] excel_build_formula_columns — Columns: [col: formula description]
|
|
92
|
+
3. [SUMMARY] excel_build_summary_row — Row N+3: SUM/AVG for columns [...]
|
|
93
|
+
4. [FORMAT] excel_build_conditional_format — Range: "...", Rule: ...
|
|
94
|
+
5. [CHART] excel_build_chart — Type: ..., Range: "...", Title: "..."
|
|
95
|
+
|
|
96
|
+
## CONTENT DENSITY
|
|
97
|
+
|
|
98
|
+
- Data sheet: 5-15 data rows, 4-8 columns
|
|
99
|
+
- Formula columns: 1-3 calculated columns
|
|
100
|
+
- Summary row: SUM and/or AVERAGE for numeric columns
|
|
101
|
+
- Chart: matches the data story (bar for comparison, line for trends, pie for composition)
|
|
102
|
+
|
|
103
|
+
## CRITICAL: Numbers
|
|
104
|
+
|
|
105
|
+
- Plan data values as RAW NUMBERS: 125000, not "125,000"
|
|
106
|
+
- Plan percentages as DECIMALS: 0.15, not "15%"
|
|
107
|
+
- Specify number_formats separately: {"C": "#,##0", "D": "0.0%"}
|
|
108
|
+
|
|
109
|
+
## VERIFICATION
|
|
110
|
+
|
|
111
|
+
Before finalizing the plan, check:
|
|
112
|
+
✅ excel_create called first?
|
|
113
|
+
✅ Data has realistic, specific values?
|
|
114
|
+
✅ At least 1 formula column?
|
|
115
|
+
✅ Summary row included?
|
|
116
|
+
✅ At least 1 chart?
|
|
117
|
+
✅ Number formats specified?
|
|
118
|
+
✅ Save path specified?
|
|
119
|
+
✅ All Korean labels?
|
|
120
|
+
`;
|
|
121
|
+
export const EXCEL_CREATE_ENHANCEMENT_PROMPT = `You are the Enhancement LLM for an Excel Spreadsheet Creation Agent.
|
|
122
|
+
Generate rich, professional data content for the spreadsheet.
|
|
123
|
+
|
|
124
|
+
## OUTPUT FORMAT
|
|
125
|
+
|
|
126
|
+
DATA_TYPE: [sales/finance/HR/inventory/performance/survey]
|
|
127
|
+
TARGET_AUDIENCE: [executives/team/analysts/general]
|
|
128
|
+
TOTAL_SHEETS: [1-3]
|
|
129
|
+
|
|
130
|
+
DESIGN_SPECIFICATION:
|
|
131
|
+
- COLOR_SCHEME: [choose from: MODERN_GREEN, WARM_AMBER, MINIMAL_SLATE, CORPORATE_BLUE, VIBRANT_CORAL, DEEP_PURPLE — or specify custom hex]
|
|
132
|
+
- FONTS: [choose matching preset or custom {title, body}]
|
|
133
|
+
|
|
134
|
+
For each sheet:
|
|
135
|
+
SHEET: "[name]"
|
|
136
|
+
- Title: "..."
|
|
137
|
+
- Headers: ["col1", "col2", ...]
|
|
138
|
+
- Data description: what each row represents, how many rows
|
|
139
|
+
- Sample data: first 2-3 rows as example (use REAL numbers, not placeholders)
|
|
140
|
+
- Formula columns: what calculations to add
|
|
141
|
+
- Summary: what aggregations (SUM, AVERAGE)
|
|
142
|
+
- Chart: type + what it shows
|
|
143
|
+
- Conditional formatting: what to highlight
|
|
144
|
+
|
|
145
|
+
## RULES
|
|
146
|
+
|
|
147
|
+
- ALL labels, headers, and titles MUST be in Korean
|
|
148
|
+
- Provide REALISTIC data appropriate for the topic
|
|
149
|
+
- Numbers must be raw values (125000, not "125,000")
|
|
150
|
+
- Percentages as decimals (0.15, not "15%")
|
|
151
|
+
- Include at least one meaningful calculation (growth rate, variance, ratio)
|
|
152
|
+
- Think like a professional analyst creating a real spreadsheet
|
|
153
|
+
`;
|
|
154
|
+
//# sourceMappingURL=excel-create-prompts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"excel-create-prompts.js","sourceRoot":"","sources":["../../../src/agents/office/excel-create-prompts.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAAG,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuE9D,CAAC;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8C3C,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgC9C,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export { SubAgent as OfficeSubAgent, type SubAgentConfig as OfficeSubAgentConfig } from '../common/index.js';
|
|
2
2
|
export { COMPLETE_TOOL_DEFINITION } from '../common/index.js';
|
|
3
3
|
export { WORD_SYSTEM_PROMPT, EXCEL_SYSTEM_PROMPT, POWERPOINT_SYSTEM_PROMPT, } from './prompts.js';
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
4
|
+
export { createWordCreateRequestTool } from './word-create-agent.js';
|
|
5
|
+
export { createWordModifyRequestTool } from './word-agent.js';
|
|
6
|
+
export { createExcelCreateRequestTool } from './excel-create-agent.js';
|
|
7
|
+
export { createExcelModifyRequestTool } from './excel-agent.js';
|
|
8
|
+
export { createPowerPointCreateRequestTool } from './powerpoint-create-agent.js';
|
|
9
|
+
export { createPowerPointModifyRequestTool } from './powerpoint-agent.js';
|
|
7
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/agents/office/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,KAAK,cAAc,IAAI,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,GACzB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/agents/office/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,KAAK,cAAc,IAAI,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,GACzB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAE9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAEhE,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,iCAAiC,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export { SubAgent as OfficeSubAgent } from '../common/index.js';
|
|
2
2
|
export { COMPLETE_TOOL_DEFINITION } from '../common/index.js';
|
|
3
3
|
export { WORD_SYSTEM_PROMPT, EXCEL_SYSTEM_PROMPT, POWERPOINT_SYSTEM_PROMPT, } from './prompts.js';
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
4
|
+
export { createWordCreateRequestTool } from './word-create-agent.js';
|
|
5
|
+
export { createWordModifyRequestTool } from './word-agent.js';
|
|
6
|
+
export { createExcelCreateRequestTool } from './excel-create-agent.js';
|
|
7
|
+
export { createExcelModifyRequestTool } from './excel-agent.js';
|
|
8
|
+
export { createPowerPointCreateRequestTool } from './powerpoint-create-agent.js';
|
|
9
|
+
export { createPowerPointModifyRequestTool } from './powerpoint-agent.js';
|
|
7
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/agents/office/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAA+C,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,GACzB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/agents/office/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAA+C,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,GACzB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAE9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAEhE,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,iCAAiC,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"powerpoint-agent.d.ts","sourceRoot":"","sources":["../../../src/agents/office/powerpoint-agent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"powerpoint-agent.d.ts","sourceRoot":"","sources":["../../../src/agents/office/powerpoint-agent.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAKpD,wBAAgB,iCAAiC,IAAI,YAAY,CAkChE"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { POWERPOINT_TOOLS } from '../../tools/office/powerpoint-tools.js';
|
|
2
2
|
import { SubAgent } from '../common/sub-agent.js';
|
|
3
3
|
import { POWERPOINT_SYSTEM_PROMPT, POWERPOINT_PLANNING_PROMPT, POWERPOINT_ENHANCEMENT_PROMPT } from './prompts.js';
|
|
4
|
-
export function
|
|
4
|
+
export function createPowerPointModifyRequestTool() {
|
|
5
5
|
return {
|
|
6
6
|
definition: {
|
|
7
7
|
type: 'function',
|
|
8
8
|
function: {
|
|
9
|
-
name: '
|
|
10
|
-
description: 'Autonomous
|
|
9
|
+
name: 'powerpoint_modify_agent',
|
|
10
|
+
description: 'Autonomous PowerPoint MODIFY agent for editing EXISTING .pptx files. Opens an existing presentation and makes targeted changes: edit text, rearrange slides, modify formatting, add/remove content, update charts, etc. For creating NEW presentations from scratch, use powerpoint_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
|
|
16
|
+
description: 'Detailed instruction for modifying an existing presentation. Include: file path to open, specific changes needed (text edits, slide modifications, formatting changes), and save path. The agent will open the file, make targeted edits, and save.',
|
|
17
17
|
},
|
|
18
18
|
},
|
|
19
19
|
required: ['instruction'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"powerpoint-agent.js","sourceRoot":"","sources":["../../../src/agents/office/powerpoint-agent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"powerpoint-agent.js","sourceRoot":"","sources":["../../../src/agents/office/powerpoint-agent.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAC;AAEnH,MAAM,UAAU,iCAAiC;IAC/C,OAAO;QACL,UAAU,EAAE;YACV,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE;gBACR,IAAI,EAAE,yBAAyB;gBAC/B,WAAW,EACT,2SAA2S;gBAC7S,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,WAAW,EAAE;4BACX,IAAI,EAAE,QAAQ;4BACd,WAAW,EACT,qPAAqP;yBACxP;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,YAAY,EACZ,gBAAgB,EAChB,wBAAwB,EACxB,EAAE,aAAa,EAAE,GAAG,EAAE,cAAc,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,IAAI,EAAE,iBAAiB,EAAE,6BAA6B,EAAE,oBAAoB,EAAE,GAAG,EAAE,0BAA0B,EAAE,EAAE,EAAE,CACzM,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 @@
|
|
|
1
|
+
{"version":3,"file":"powerpoint-create-agent.d.ts","sourceRoot":"","sources":["../../../src/agents/office/powerpoint-create-agent.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAKpD,wBAAgB,iCAAiC,IAAI,YAAY,CAyChE"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { POWERPOINT_CREATE_TOOLS } from '../../tools/office/powerpoint-tools.js';
|
|
2
|
+
import { SubAgent } from '../common/sub-agent.js';
|
|
3
|
+
import { PPT_CREATE_SYSTEM_PROMPT, PPT_CREATE_PLANNING_PROMPT, PPT_CREATE_ENHANCEMENT_PROMPT } from './powerpoint-create-prompts.js';
|
|
4
|
+
export function createPowerPointCreateRequestTool() {
|
|
5
|
+
return {
|
|
6
|
+
definition: {
|
|
7
|
+
type: 'function',
|
|
8
|
+
function: {
|
|
9
|
+
name: 'powerpoint_create_agent',
|
|
10
|
+
description: 'Autonomous PowerPoint CREATION agent. Creates NEW presentations from scratch with professional slide designs, color schemes, and visual hierarchy. Uses high-level builder tools where each tool call creates one complete slide. Give it a topic or outline and it produces a polished, enterprise-grade presentation. For EDITING existing .pptx files, use powerpoint_modify_agent instead.',
|
|
11
|
+
parameters: {
|
|
12
|
+
type: 'object',
|
|
13
|
+
properties: {
|
|
14
|
+
instruction: {
|
|
15
|
+
type: 'string',
|
|
16
|
+
description: 'Detailed instruction for creating a new presentation. Include: topic/title, desired content, design preferences, and save path. The agent autonomously creates a professional presentation with title, content, and closing slides.',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
required: ['instruction'],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
execute: async (args, llmClient) => {
|
|
24
|
+
const agent = new SubAgent(llmClient, 'powerpoint-create', POWERPOINT_CREATE_TOOLS, PPT_CREATE_SYSTEM_PROMPT, {
|
|
25
|
+
maxIterations: 30,
|
|
26
|
+
planningPrompt: PPT_CREATE_PLANNING_PROMPT,
|
|
27
|
+
planningMaxTokens: 2000,
|
|
28
|
+
enhancementPrompt: PPT_CREATE_ENHANCEMENT_PROMPT,
|
|
29
|
+
enhancementMaxTokens: 800,
|
|
30
|
+
minToolCallsBeforeComplete: 10,
|
|
31
|
+
});
|
|
32
|
+
return agent.run(args['instruction']);
|
|
33
|
+
},
|
|
34
|
+
categories: ['llm-agent'],
|
|
35
|
+
requiresSubLLM: true,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=powerpoint-create-agent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"powerpoint-create-agent.js","sourceRoot":"","sources":["../../../src/agents/office/powerpoint-create-agent.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAErI,MAAM,UAAU,iCAAiC;IAC/C,OAAO;QACL,UAAU,EAAE;YACV,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE;gBACR,IAAI,EAAE,yBAAyB;gBAC/B,WAAW,EACT,gYAAgY;gBAClY,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,WAAW,EAAE;4BACX,IAAI,EAAE,QAAQ;4BACd,WAAW,EACT,qOAAqO;yBACxO;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,mBAAmB,EACnB,uBAAuB,EACvB,wBAAwB,EACxB;gBACE,aAAa,EAAE,EAAE;gBACjB,cAAc,EAAE,0BAA0B;gBAC1C,iBAAiB,EAAE,IAAI;gBACvB,iBAAiB,EAAE,6BAA6B;gBAChD,oBAAoB,EAAE,GAAG;gBACzB,0BAA0B,EAAE,EAAE;aAC/B,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 PPT_CREATE_SYSTEM_PROMPT = "You are an elite PowerPoint presentation creator.\nYou build NEW presentations using high-level layout builder tools.\nEach tool call creates ONE complete, professionally-designed slide.\n\n\u2550\u2550\u2550 AVAILABLE TOOLS \u2550\u2550\u2550\nLifecycle: powerpoint_create, powerpoint_save\nSlides: ppt_build_title_slide, ppt_build_layout_a, ppt_build_layout_b, ppt_build_layout_c, ppt_build_layout_d, ppt_build_layout_e, ppt_build_layout_f, ppt_build_closing_slide\nChart: powerpoint_add_chart (use sparingly \u2014 prefer Layout D or F for data)\nComplete: complete (call AFTER saving)\n\n\u2550\u2550\u2550 WORKFLOW \u2550\u2550\u2550\n1. powerpoint_create \u2014 launch PowerPoint\n2. ppt_build_title_slide \u2014 title + subtitle + date\n3. ppt_build_layout_[a-f] \u2014 content slides (one tool call per slide)\n4. ppt_build_closing_slide \u2014 always the LAST slide\n5. powerpoint_save \u2014 save file\n6. complete \u2014 report summary\n\n\u2550\u2550\u2550 DESIGN CONSISTENCY \u2550\u2550\u2550\nPass the SAME color_scheme (or colors) and design_style to EVERY builder tool call.\nThese are specified in the CREATIVE GUIDANCE section \u2014 use them exactly.\nIf no guidance is provided, use color_scheme=\"MODERN_TECH\" and design_style=\"sidebar\".\n\n\u2550\u2550\u2550 LAYOUT TYPES \u2550\u2550\u2550\n\u2022 Layout A (ppt_build_layout_a): Bullet points with \u25A0 and \u2013 markers. For strategies, overviews, analysis.\n\u2022 Layout B (ppt_build_layout_b): Two-column comparison. For before/after, pros/cons, team bios.\n\u2022 Layout C (ppt_build_layout_c): Big number spotlight. For ONE key metric.\n\u2022 Layout D (ppt_build_layout_d): Three metrics dashboard. For KPIs, statistics.\n\u2022 Layout E (ppt_build_layout_e): Process/timeline with 3 circles. For roadmap, phases.\n\u2022 Layout F (ppt_build_layout_f): Table with styled headers. For data, comparisons, specifications.\n\n\u2550\u2550\u2550 LAYOUT DIVERSITY RULES \u2550\u2550\u2550\n\u2022 Layout A: MAX 3 slides\n\u2022 Layout B: MAX 3 slides\n\u2022 Use AT LEAST 4 different layout types across your presentation\n\u2022 Adjacent slides MUST differ in layout type\n\u2022 MANDATORY minimum: 1\u00D7B, 1\u00D7D or C, 1\u00D7E, 1\u00D7F\n\n\u2550\u2550\u2550 CONTENT QUALITY \u2550\u2550\u2550\n\u2022 ALL text MUST be in the same language as the user's instruction\n\u2022 Korean input \u2192 Korean titles, bullets, table headers, everything\n\u2022 NEVER use placeholder text like \"[\uB0B4\uC6A9]\", \"XXX\", \"lorem ipsum\"\n\u2022 Generate REAL, specific, professional content with concrete data\n\u2022 Every bullet needs explanation, not just keywords\n\u2022 Table cells must have realistic data \u2014 NO empty cells\n\u2022 Layout D numbers: MAX 6 characters (e.g., \"$35.7B\", \"96.8%\"). Units go in label, not number.\n\u2022 Layout E labels: MAX 8 Korean characters. Descriptions: 1-3 sentences.\n\u2022 Layout A body: MAX 4 \u25A0 blocks with 2-3 \u2013 sub-details each\n\n\u2550\u2550\u2550 TEXT OVERFLOW PREVENTION \u2550\u2550\u2550\nThe builder tools automatically truncate text, but you should still keep content concise:\n\u2022 Title: max 60 chars\n\u2022 Layout A body: max 600 chars total\n\u2022 Layout B columns: max 400 chars each\n\u2022 Layout D numbers: max 8 chars, labels: max 20 chars\n\u2022 Layout F cells: max 50 chars each\n\u2022 Concise content that fits > detailed content that gets cut off\n\n\u2550\u2550\u2550 SLIDE COUNT \u2550\u2550\u2550\n\u2022 Quick briefing: 6-8 slides (title + 4-6 content + closing)\n\u2022 Standard: 9-12 slides (title + 7-10 content + closing)\n\u2022 Pitch deck: exactly 12 slides (title + 10 content + closing)\n\u2022 HARD CAP: 15 slides maximum\n\n\u2550\u2550\u2550 COMPLETION CHECKLIST \u2550\u2550\u2550\nBefore calling \"complete\", verify:\n1. Title slide exists (first)\n2. Closing slide exists (last)\n3. ALL slides have body content\n4. powerpoint_save was called\n5. At least 4 different layout types used\n6. Content is in the user's language\n\n\u2550\u2550\u2550 RULES \u2550\u2550\u2550\n1. Use layout=7 (blank) for all slides \u2014 builders handle this automatically\n2. Build each slide COMPLETELY with one tool call before moving to the next\n3. NEVER go back to modify a previous slide\n4. Content slides use WHITE background \u2014 builders handle this automatically\n5. NEVER use HTML tags in text \u2014 use \\n for line breaks\n6. The LAST tool before \"complete\" MUST be powerpoint_save\n7. If save fails with path error, try \"C:\\\\temp\\\\presentation.pptx\"\n8. Follow the EXECUTION PLAN exactly \u2014 build the layout it specifies for each slide";
|
|
2
|
+
export declare const PPT_CREATE_PLANNING_PROMPT = "You are a world-class presentation planner.\nGiven the user's instruction, design the presentation structure and content.\n\n\u26A0\u26A0\u26A0 LANGUAGE RULE: ALL slide titles and content MUST be in the SAME language as the user's instruction. \u26A0\u26A0\u26A0\nKorean input \u2192 Korean titles: \"\uBB38\uC81C \uC778\uC2DD\", \"\uC194\uB8E8\uC158 \uC18C\uAC1C\"\nEnglish input \u2192 English titles: \"Problem\", \"Solution\"\nOnly FORMAT labels (MODE, DESIGN DECISIONS, Layout:) stay in English.\n\nBUILDER TOOLS AVAILABLE (each creates 1 complete slide):\n\u2022 ppt_build_title_slide: Title + subtitle + date\n\u2022 ppt_build_layout_a: Bullet points (max 4 \u25A0 items with sub-details)\n\u2022 ppt_build_layout_b: Two-column comparison\n\u2022 ppt_build_layout_c: Big number spotlight\n\u2022 ppt_build_layout_d: Three metrics with insight\n\u2022 ppt_build_layout_e: 3-step process/timeline\n\u2022 ppt_build_layout_f: Styled table (2D data array)\n\u2022 ppt_build_closing_slide: Thank you slide\n\nITERATION BUDGET: ~30 tool calls. Each builder = 1 call. Budget: title(1) + 10 content(10) + closing(1) + save(1) + complete(1) = 14 calls. Plenty of room.\n\nOUTPUT FORMAT (strict \u2014 no extra commentary):\n\nMODE: CREATE\n\nDESIGN DECISIONS:\n- COLOR_SCHEME: [MODERN_TECH / WARM_EXECUTIVE / CLEAN_MINIMAL / CORPORATE / NATURE_FRESH / BOLD_MODERN] or custom {primary:#hex, accent:#hex, light:#hex, highlight:#hex, sidebar:#hex}\n- DESIGN_STYLE: [sidebar / top_band / clean]\n- FONTS: [preset name or custom {title:\"FontName\", body:\"FontName\"}]\n- TONE: [formal/casual/playful/academic/corporate/inspiring]\n\nTOTAL_SLIDES: [10-12]\n\nLAYOUT_COUNT: A\u22643, B\u22643, D\u22651, E\u22651, F\u22651 (verify before writing SLIDE_PLAN)\n\nSLIDE_PLAN:\n- Slide 1: [Title] | Tool: ppt_build_title_slide | Subtitle: [text] | Date: [text]\n- Slide 2: [Title] | Tool: ppt_build_layout_a | Content: [4 bullet summaries]\n- Slide 3: [Title] | Tool: ppt_build_layout_b | Left: [summary] | Right: [summary]\n- Slide 4: [Title] | Tool: ppt_build_layout_d | Metric1: [num+label] | Metric2: [num+label] | Metric3: [num+label]\n- Slide 5: [Title] | Tool: ppt_build_layout_f | Table: [rows\u00D7cols, headers]\n...\n- Slide N: [\uAC10\uC0AC\uD569\uB2C8\uB2E4/Thank You] | Tool: ppt_build_closing_slide\n\nCONTENT DENSITY PER LAYOUT:\n\u2022 Layout A: 4 bullet sections (\u25A0), 2-3 sub-details (\u2013) each, max 600 chars\n\u2022 Layout B: 3-4 items per column, max 400 chars per side\n\u2022 Layout C: 1 number (max 8 chars) + label + 2-3 sentence description\n\u2022 Layout D: 3 numbers (max 6 chars each) + labels + descriptions + insight\n\u2022 Layout E: 3 step labels (max 8 Korean chars) + descriptions + insight\n\u2022 Layout F: headers + 5-7 data rows, every cell filled, max 50 chars/cell\n\nPITCH DECK TEMPLATE (MANDATORY for startup/investment/pitch):\n Slide 1: Title | ppt_build_title_slide\n Slide 2: Problem | ppt_build_layout_a\n Slide 3: Solution | ppt_build_layout_b\n Slide 4: Market | ppt_build_layout_d\n Slide 5: Product | ppt_build_layout_f\n Slide 6: Business Model | ppt_build_layout_b\n Slide 7: Competition | ppt_build_layout_f\n Slide 8: Traction | ppt_build_layout_d\n Slide 9: Team | ppt_build_layout_b\n Slide 10: Roadmap | ppt_build_layout_e\n Slide 11: Investment | ppt_build_layout_a\n Slide 12: Closing | ppt_build_closing_slide\n \u26A0 ALL 10 topics are MANDATORY. Do NOT replace or add extras.\n\nVERIFICATION (check before outputting):\n1. Last slide = CLOSING? \u2713\n2. Layout A count \u2264 3? \u2713\n3. Layout B count \u2264 3? \u2713\n4. D \u2265 1, E \u2265 1, F \u2265 1? \u2713\n5. No adjacent same layouts? \u2713\n6. Total 10-12 slides? \u2713\n7. All titles in user's language? \u2713";
|
|
3
|
+
export declare const PPT_CREATE_ENHANCEMENT_PROMPT = "You are a creative presentation consultant. Generate RICH, SPECIFIC content and design decisions.\n\n\u26A0 LANGUAGE: Your ENTIRE output MUST be in the SAME language as the user's instruction.\nKorean input \u2192 Korean output. English slogans for Korean input = FAILURE.\n\nANALYZE the instruction and provide:\n\n1. DOCUMENT_TYPE: What kind of presentation? (pitch deck, report, training, etc.)\n2. AUDIENCE: Who will see this?\n3. TOTAL_SLIDES: 12 for pitch decks (1 title + 10 content + 1 closing), 10 for standard.\n\n4. DESIGN_SPECIFICATION:\n - DESIGN_STYLE: Choose the best visual frame for this topic:\n * \"sidebar\" \u2014 left accent bar, professional/corporate feel\n * \"top_band\" \u2014 top color band, modern/tech feel\n * \"clean\" \u2014 minimal, no bars, academic/elegant feel\n - COLOR_SCHEME: Choose from presets OR specify custom colors:\n Presets: MODERN_TECH, WARM_EXECUTIVE, CLEAN_MINIMAL, CORPORATE, NATURE_FRESH, BOLD_MODERN\n Custom: {primary:\"#hex\", accent:\"#hex\", light:\"#hex\", highlight:\"#hex\", sidebar:\"#hex\"}\n - FONTS: Choose from presets OR specify custom:\n Presets match color scheme names. Custom: {title:\"FontName\", body:\"FontName\"}\n Match the design to the topic mood:\n * Startup/tech \u2192 MODERN_TECH + sidebar or top_band\n * Marketing/creative \u2192 WARM_EXECUTIVE or BOLD_MODERN + any style\n * Academic/research \u2192 CLEAN_MINIMAL + clean\n * Corporate/finance \u2192 CORPORATE + sidebar\n * Health/environment \u2192 NATURE_FRESH + sidebar or clean\n\n5. SLIDE_CONTENT: For EACH content section, provide:\n - TITLE: Clear title in user's language\n - LAYOUT_SUGGESTION: Best layout (A/B/C/D/E/F)\n - CONTENT_TEXT: The ACTUAL text to use:\n * Layout A: 4 bullet sections with sub-details (full sentences, specific data)\n * Layout B: Left column header + 4 items, Right column header + 4 items\n * Layout C: The exact number, label, and explanation\n * Layout D: 3 exact numbers with labels and descriptions\n * Layout E: 3 step names (max 8 chars) and descriptions\n * Layout F: Exact table headers and 5-6 rows of data\n\n6. COLOR_MOOD: Visual feel description (e.g., \"Dark tech with teal accents\")\n\nCONTENT RULES:\n- Every bullet = FULL SENTENCE with specific data\n- Tables must have REALISTIC data in EVERY cell\n- DATA CONSISTENCY: Same data appearing on multiple slides must match\n- NEVER write generic phrases \u2014 write ACTUAL content\n- MAX 3 Layout A suggestions. Use B/D/E/F for the rest.\n\nOutput: structured text, max 800 words. No preamble.";
|
|
4
|
+
//# sourceMappingURL=powerpoint-create-prompts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"powerpoint-create-prompts.d.ts","sourceRoot":"","sources":["../../../src/agents/office/powerpoint-create-prompts.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,wBAAwB,oiJAiF+C,CAAC;AAErF,eAAO,MAAM,0BAA0B,+qHAyEH,CAAC;AAErC,eAAO,MAAM,6BAA6B,0jFAgDW,CAAC"}
|