Commit Graph

2910 Commits

Author SHA1 Message Date
3dcfdcb8f3
Merge pull request #409 from gnh1201/master
All updates of master branch until 2026-04-18
2026-04-18 21:34:43 +09:00
Namhyeon, Go
47ba0cfaad Update bootstrap.ps1 usage examples
Clarify and expand the usage comments in bootstrap.ps1: add a "Quick start (no arguments)" note and a recommended "With arguments" workflow that shows saving the script locally and invoking it with -dev and -file parameters. Reformat example commands for clarity; no functional code changes.
2026-04-18 21:29:04 +09:00
Namhyeon, Go
e9dd9bb671 Enhance bootstrap.ps1 with file arg and JS support
Add -file argument handling and automatic .js extension, allowing the script to locate and run app.js via cscript (interactive) when provided. Improve argument parsing to support -dev and -file together, surface file/branch choices in logs, and reorganize steps/messages for clearer temporary workspace, download, extraction, and execution flow. Default bootstrap behavior remains (launch bootstrap.bat non-blocking), with updated success/failure reporting.
2026-04-18 21:21:53 +09:00
672ceb384d
Update links and instructions in README.md 2026-04-18 21:05:27 +09:00
bd36028b4b
Update README with PowerShell bootstrap command
Added PowerShell command for bootstrapping WelsonJS.
2026-04-18 21:01:53 +09:00
8fdd344bde
Update PowerShell instruction for clarity
Clarified the PowerShell usage instruction in README.
2026-04-18 20:37:01 +09:00
4d2297681e
Add PowerShell bootstrap method to README
Some checks are pending
CodeQL / Analyze (javascript) (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Blocked by required conditions
2026-04-18 17:38:31 +09:00
95d416227f
Merge pull request #407 from gnh1201/dev
Add the one-click bootstrap
2026-04-18 17:36:32 +09:00
Namhyeon, Go
1530c8bff9 Add iex-compatible branch parsing
Remove the param block and rename DefaultBranch to $defaultBranch. Add argument parsing for iex-compatible invocations (e.g. `iex -dev main`, `iex main`, or no args) by inspecting $args and selecting the branch accordingly, then log the chosen branch. Simplify branch handling and build the GitHub ZIP download URL using the resolved branch. Small cleanup and reordering of steps to accommodate the new parsing logic.
2026-04-18 17:28:47 +09:00
Namhyeon, Go
6423d941ae Add missing semicolon to NullProtoObjectViaSc64bit
Terminate the function expression assigned to NullProtoObjectViaSc64bit with a semicolon (replace `}` with `};`) in app/assets/js/core-js-3.49.0.wsh.js. This ensures the statement is properly closed and prevents potential parsing/concatenation issues with following code.
2026-04-18 17:19:34 +09:00
7bc8a56fc5
Merge pull request #406 from gnh1201/dev
Rename install.ps1 to bootstrap.ps1 and update URLs
2026-04-18 14:52:19 +09:00
ada9a97e9b
Rename install.ps1 to bootstrap.ps1 and update URLs 2026-04-18 14:49:35 +09:00
3a1b75c55a
Merge pull request #405 from gnh1201/dev
Add WelsonJS One-Click Installer script #404
2026-04-18 14:41:23 +09:00
b78f0c9af9
Update install.ps1
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2026-04-18 14:37:42 +09:00
ab96f1462b
Add WelsonJS One-Click Installer script #404
Add WelsonJS One-Click Installer script #404
2026-04-18 14:32:21 +09:00
d89cdd5ada
Merge pull request #403 from gnh1201/dev
All updates until 2026-04-18
2026-04-18 12:34:59 +09:00
Namhyeon, Go
0bf4fe1d59 Style: normalize function formatting in core-js
Adjust whitespace, indentation and add missing semicolon in the returned function inside NullProtoObjectViaSc64bit. This is a purely stylistic change (spacing around `function` and consistent indentation) and does not alter runtime behavior.
2026-04-18 12:26:34 +09:00
Namhyeon, Go
12f6088ba0 Handle ScriptControl failures gracefully
Replace the explicit error throw when ScriptControl-based object creation fails with a safe fallback factory that returns an empty object. This prevents runtime errors in 64-bit environments and during subsequent enumBugKeys cleanup by returning a benign constructor instead of throwing.
2026-04-18 12:20:49 +09:00
272651f376 Add fix_excel_format example script
Add examples/fix_excel_format.js which uses the WelsonJS msoffice Office.Excel API to read rows from data/fulllist.xlsx (worksheet 2), extract company, reservation time, resource, port and bandwidth, and log each row. For each entry it generates a per-company card Excel file by opening card_format.xlsx, populating template cells (with sensible defaults for missing resource/port/bandwidth), saving as data/{company}_card.xlsx, and exporting main.
2026-04-17 16:18:49 +09:00
6bf9455c26
Add DeepWiki badge to README 2026-04-15 09:23:21 +09:00
bd8e2bad77 Add example Claude desktop config
Add data/claude_desktop_config.example.json providing an example desktop configuration for the Claude app. It defines an "mcpServers" entry ("local-tools") that invokes Windows cscript to run app.js with mcploader args, and a "preferences" block with toggles for cowork/ccd scheduled tasks, cowork web search enabled, and sidebarMode set to "chat".
2026-04-14 11:55:15 +09:00
89a370c725
Merge pull request #401 from gnh1201/dependabot/nuget/WelsonJS.Augmented/WelsonJS.Launcher/log4net-3.3.0
Bump log4net from 3.2.0 to 3.3.0
2026-04-14 11:45:28 +09:00
dependabot[bot]
c780debd58
Bump log4net from 3.2.0 to 3.3.0
---
updated-dependencies:
- dependency-name: log4net
  dependency-version: 3.3.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-14 02:35:32 +00:00
22465f1175
Update badge for MCP Server in README 2026-04-12 23:32:39 +09:00
3fe4e2d55f
Update README with new MCP Server badge link 2026-04-12 23:31:19 +09:00
2e590ab3bf
Enhance README with new features and links
Updated README to include new links and features.
2026-04-12 23:30:26 +09:00
5937e13b02
Add new features to README for WelsonJS 2026-04-12 23:26:01 +09:00
93ec862f81
Merge pull request #400 from gnh1201/dev
All updates until 2026-04-12
2026-04-12 23:08:03 +09:00
Namhyeon, Go
6a3ac803b1 Remove embedded McpToolsList.json
Delete the <EmbeddedResource Include="McpToolsList.json" /> entry from WelsonJS.Augmented/WelsonJS.Launcher/WelsonJS.Launcher.csproj so the JSON file is no longer embedded into the assembly as a resource.
2026-04-12 22:58:47 +09:00
Namhyeon, Go
2120a8f8b4 Add ES3 evaluator and isError flag
Introduce an isError flag and propagate it through RPC responses, including initialize and action listings. Add a new action "evaluate_js_es3" with an input schema that accepts a script string and a handler that evaluates the script (returns the evaluation result as text or "Error" on exception). Also set isError for unknown methods so the RPC indicates failures consistently.
2026-04-12 22:54:24 +09:00
Namhyeon, Go
97802fd074 Remove McpToolsList and stub JsonRpc2 tools
Replace the previous in-file handling of JSON-RPC tools methods with a NotImplementedException and remove the ResolveToolsCall helper. Also delete the large McpToolsList.json resource that previously provided the tools manifest. This stubs out the tools/list and tools/call behavior so the tooling manifest and handler can be reworked or moved elsewhere in a follow-up change.
2026-04-12 22:50:11 +09:00
Namhyeon, Go
03d078bde8 Allow no-reply notifications; also write messages to stderr
Treat a callback returning false as a signal to suppress a JSON-RPC reply (jsonrpc2.extract). Add a special-case in mcploader to return false for "notifications/initialized" so no response is sent. In stdio-server, skip sending falsy messages, keep object serialization, and write outgoing messages to both StdOut and StdErr (useful for logging/debugging). Small cleanup in catch formatting.
2026-04-12 21:11:22 +09:00
Namhyeon, Go
c22ca660ec Add MCP JSON-RPC handlers and stdio fixes
Implement MCP JSON-RPC handling and related I/O fixes: mcploader now handles initialize, tools/list and tools/call (implements add_both_numbers) and returns JSON-RPC responses; stdio-server.send serializes object messages before writing; console logging on WScript now writes muted messages to StdErr; bump jsonrpc2 version to 0.1.7 and reformat extract(). These changes enable proper MCP capability negotiation, tool discovery and invocation over stdio.
2026-04-12 20:39:50 +09:00
Namhyeon, Go
43d945055f Prefix existsSync checks with script directory
Change existsSync to resolve filenames relative to the current script directory by prepending require._getCurrentScriptDirectory() + "\\" to the provided filename before calling Scripting.FileSystemObject.FileExists. This ensures relative paths are correctly resolved when checking file existence (prevents false negatives when filenames are relative to the script).
2026-04-12 19:44:04 +09:00
Namhyeon, Go
55f6f1c438 Evaluate console._muted at load time
Convert console._muted from a function to a boolean by invoking an IIFE during module initialization. This reads the WScript 'quiet' flag once and stores the result, and updates _echoCallback to reference the boolean (remove the function call). This simplifies usage and avoids repeated runtime checks.
2026-04-12 19:18:46 +09:00
Namhyeon, Go
4c48fdbb4d Add stdio server, mcploader and JSON-RPC extract
Introduce a StdioServer module and mcploader entry script, and extend jsonrpc2 with an extract() helper. stdio-server.js provides an EventTarget-based wrapper for reading/writing via WScript stdio. mcploader.js uses the server and JsonRpc2.extract to parse incoming JSON-RPC messages and respond. Also change DEFAULT_JSONRPC2_URL to http://localhost:5555, export the new extract function, and bump jsonrpc2 version to 0.1.6.
2026-04-12 19:11:30 +09:00
Namhyeon, Go
e0e713d975 Add muted mode and restructure console echo
Introduce a _muted() helper to check for a WScript "quiet" argument and avoid output when muted. Replace the old _echoDefault with a unified _echoCallback(params, type) that writes messages via WScript and respects the muted flag. Refactor _echo to build a params object (including params.message and scope), prepend the optional type, invoke _echoCallback, and push the composed message to _messages. Adjust callback invocation logic (remove the previous null check and inline handling).
2026-04-12 18:10:06 +09:00
252da80548
Simplify argument retrieval from WScript
Refactor argument handling for WScript in app.js.
2026-04-12 16:51:10 +09:00
da53cbf8f8
Merge pull request #398 from gnh1201/dependabot/npm_and_yarn/lodash-4.18.1
Bump lodash from 4.17.23 to 4.18.1
2026-04-11 12:43:23 +09:00
Namhyeon, Go
c7f1d6675b Switch WSH output and update core-js
Replace WScript.Echo with WScript.StdOut.WriteLine for WSH console output and reword provider comments to reflect requesting scripts (including LLM/AI services). Update core-js usage to app/assets/js/core-js-3.49.0.wsh and adjust related require paths (including squel), and remove the old core-js-3.26.1 minified file. Other minor changes include updates to bootstrap.bat and lib/http.js.
2026-04-11 12:42:07 +09:00
fe21be0e54 Add core-js 3.49.0 bundle
Add new webpacked core-js bundle (app/assets/js/core-js-3.49.0.wsh.js) containing core-js v3.49.0 polyfills and runtime helpers. The file includes the webpack bootstrap and numerous core-js modules to provide compatibility for older environments (license and source referenced in header).
2026-04-11 12:36:03 +09:00
dependabot[bot]
1c3f624f38
Bump lodash from 4.17.23 to 4.18.1
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-10 03:33:55 +00:00
2599470bb6 Add stdin flag to console and update copyright
app.js: Add a _useStdin flag (via WScript.Arguments.Named.Exists("stdin")) and skip default echoing when stdin is in use; switch WScript.Echo to WScript.StdOut.WriteLine for proper stdout output. Remove separator comment lines before initializeConsole. bootstrap.js: Bump copyright year to 2026 and remove an obsolete/commented CORS-to-ADO registry tweak. These changes improve console output behavior for piped input and clean up bootstrap metadata and comments.
2026-04-09 16:30:17 +09:00
Namhyeon, Go
f1456e304c Add tools call handling and translate docs
Pass the serializer and request id to ResolveToolsCall and implement a basic dispatcher that extracts params.method. Add a handler stub for "run_jsrt_script" (extracts the script argument; implementation TODO) and log unknown tool methods. Also update McpToolsList.json scriptContract notes from Korean to English to improve readability/localization.
2026-03-16 21:37:16 +09:00
Namhyeon, Go
3eea89f5a3 Fix JSON-RPC dispatcher callback params
Reordered the parameters for the JSON-RPC dispatch callback to ensure the serializer and request id are passed in the correct positions. Updated the Func signature in JsonRpc2Dispatcher.cs to include the int id parameter before the CancellationToken, and adjusted the invocation/lambda in JsonRpc2.cs to match (method, ser, id, ct), preventing parameter mismatches when handling requests.
2026-03-16 21:17:51 +09:00
d7f58a9b0c Propagate request id and add tools call handler
Forward the JSON-RPC request id through the dispatcher and handler so methods can access the id. JsonRpc2Dispatcher now passes the id to dispatchMethodAsync, and the JsonRpc2 endpoint lambda accepts the id parameter. Implemented a call for "tools/call" that extracts the tool name via ser.ExtractFrom(id, "params", "name") and invokes a new ResolveToolsCall(string) stub (TODO: implement actual tool logic). This prepares the codepath for tooling invocation based on request params.
2026-03-07 14:44:14 +09:00
10bbaecb03
Update README.md
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Has been cancelled
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Has been cancelled
2026-02-25 06:28:33 +09:00
cfcb263da1
Update README.md 2026-02-25 06:28:06 +09:00
61ff0aa214
Add offline copy request information to README
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Has been cancelled
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Has been cancelled
Added section for requesting an offline copy of the project.
2026-02-14 00:37:52 +09:00
3be0b159f6
Revise README for offline distribution and licensing
Updated sections on offline distribution and license, added disclaimer.
2026-02-14 00:32:42 +09:00