hanseol-dev 5.0.2-dev.45 → 5.0.2-dev.46

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.45";
10
+ export declare const APP_VERSION = "5.0.2-dev.46";
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.45';
12
+ export const APP_VERSION = '5.0.2-dev.46';
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';
@@ -38,11 +38,11 @@ export class ExcelClient extends OfficeClientBase {
38
38
  return this.executePowerShell(`
39
39
  try {
40
40
  $excel = [Runtime.InteropServices.Marshal]::GetActiveObject("Excel.Application")
41
- $excel.Visible = $true
41
+ $excel.Visible = -1 # msoTrue
42
42
  @{ success = $true; message = "Connected to existing Excel instance" } | ConvertTo-Json -Compress
43
43
  } catch {
44
44
  $excel = New-Object -ComObject Excel.Application
45
- $excel.Visible = $true
45
+ $excel.Visible = -1 # msoTrue
46
46
  @{ success = $true; message = "Launched new Excel instance" } | ConvertTo-Json -Compress
47
47
  }
48
48
  `);
@@ -55,7 +55,7 @@ try {
55
55
  $excel = New-Object -ComObject Excel.Application
56
56
  }
57
57
  $excel.DisplayAlerts = $false
58
- $excel.Visible = $true
58
+ $excel.Visible = -1 # msoTrue
59
59
  $workbook = $excel.Workbooks.Add()
60
60
  $excel.DisplayAlerts = $true
61
61
  @{ success = $true; message = "Created new workbook"; workbook_name = $workbook.Name } | ConvertTo-Json -Compress
@@ -70,7 +70,7 @@ try {
70
70
  $excel = New-Object -ComObject Excel.Application
71
71
  }
72
72
  $excel.DisplayAlerts = $false
73
- $excel.Visible = $true
73
+ $excel.Visible = -1 # msoTrue
74
74
  $workbook = $excel.Workbooks.Open('${windowsPath}')
75
75
  $excel.DisplayAlerts = $true
76
76
  @{ success = $true; message = "Workbook opened"; workbook_name = $workbook.Name; path = $workbook.FullName } | ConvertTo-Json -Compress
@@ -6,11 +6,11 @@ export class PowerPointClient extends OfficeClientBase {
6
6
  return this.executePowerShell(`
7
7
  try {
8
8
  $ppt = [Runtime.InteropServices.Marshal]::GetActiveObject("PowerPoint.Application")
9
- $ppt.Visible = $true
9
+ $ppt.Visible = -1 # msoTrue
10
10
  @{ success = $true; message = "Connected to existing PowerPoint instance" } | ConvertTo-Json -Compress
11
11
  } catch {
12
12
  $ppt = New-Object -ComObject PowerPoint.Application
13
- $ppt.Visible = $true
13
+ $ppt.Visible = -1 # msoTrue
14
14
  @{ success = $true; message = "Launched new PowerPoint instance" } | ConvertTo-Json -Compress
15
15
  }
16
16
  `);
@@ -23,7 +23,7 @@ try {
23
23
  $ppt = New-Object -ComObject PowerPoint.Application
24
24
  }
25
25
  $ppt.DisplayAlerts = 1 # ppAlertsNone
26
- $ppt.Visible = $true
26
+ $ppt.Visible = -1 # msoTrue
27
27
  $presentation = $ppt.Presentations.Add(-1)
28
28
  $ppt.DisplayAlerts = 2 # ppAlertsAll
29
29
  @{ success = $true; message = "Created new presentation"; presentation_name = $presentation.Name } | ConvertTo-Json -Compress
@@ -38,7 +38,7 @@ try {
38
38
  $ppt = New-Object -ComObject PowerPoint.Application
39
39
  }
40
40
  $ppt.DisplayAlerts = 1 # ppAlertsNone
41
- $ppt.Visible = $true
41
+ $ppt.Visible = -1 # msoTrue
42
42
  $presentation = $ppt.Presentations.Open('${windowsPath}')
43
43
  $ppt.DisplayAlerts = 2 # ppAlertsAll
44
44
  @{ success = $true; message = "Presentation opened"; presentation_name = $presentation.Name; path = $presentation.FullName } | ConvertTo-Json -Compress
@@ -5,11 +5,11 @@ export class WordClient extends OfficeClientBase {
5
5
  return this.executePowerShell(`
6
6
  try {
7
7
  $word = [Runtime.InteropServices.Marshal]::GetActiveObject("Word.Application")
8
- $word.Visible = $true
8
+ $word.Visible = -1 # msoTrue
9
9
  @{ success = $true; message = "Connected to existing Word instance" } | ConvertTo-Json -Compress
10
10
  } catch {
11
11
  $word = New-Object -ComObject Word.Application
12
- $word.Visible = $true
12
+ $word.Visible = -1 # msoTrue
13
13
  @{ success = $true; message = "Launched new Word instance" } | ConvertTo-Json -Compress
14
14
  }
15
15
  `);
@@ -22,7 +22,7 @@ try {
22
22
  $word = New-Object -ComObject Word.Application
23
23
  }
24
24
  $word.DisplayAlerts = 0
25
- $word.Visible = $true
25
+ $word.Visible = -1 # msoTrue
26
26
  $doc = $word.Documents.Add()
27
27
  $word.DisplayAlerts = -1
28
28
  @{ success = $true; message = "Created new document"; document_name = $doc.Name } | ConvertTo-Json -Compress
@@ -127,7 +127,7 @@ try {
127
127
  $word = New-Object -ComObject Word.Application
128
128
  }
129
129
  $word.DisplayAlerts = 0
130
- $word.Visible = $true
130
+ $word.Visible = -1 # msoTrue
131
131
  $doc = $word.Documents.Open('${windowsPath}')
132
132
  $word.DisplayAlerts = -1
133
133
  @{ success = $true; message = "Document opened"; document_name = $doc.Name; path = $doc.FullName } | ConvertTo-Json -Compress
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanseol-dev",
3
- "version": "5.0.2-dev.45",
3
+ "version": "5.0.2-dev.46",
4
4
  "description": "Hanseol - OpenAI-Compatible Coding Agent",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",