@ycodium-ai/plugin-office 0.2.4343 → 0.2.4368

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/README.md CHANGED
@@ -29,7 +29,7 @@ the project folder; installed resources are read-only.
29
29
 
30
30
  Use a complete Ycodium installation that supplies the shared Node and Python
31
31
  runtimes and this plugin's platform payload. The plugin uses public plugin
32
- API version 39 with `host:node`, `host:python`, `process.workspace`, and
32
+ API version 39 with `node`, `python`, `process.workspace`, and
33
33
  `workspace.read` permissions. It does not look for a system Python,
34
34
  LibreOffice, or Node executable.
35
35
 
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import * as NodePath5 from "node:path";
3
3
  import { definePlugin } from "@ycodium-ai/plugin-api";
4
4
 
5
5
  // ../../packages/plugin-api/src/version.ts
6
- var PLUGIN_API_VERSION = 109;
6
+ var PLUGIN_API_VERSION = 112;
7
7
 
8
8
  // src/paths.ts
9
9
  import * as NodeFSP from "node:fs/promises";
@@ -537,7 +537,7 @@ var parseEngineOutput = (stdout, stderr, exitCode) => {
537
537
  };
538
538
  var runEngine = async (input) => {
539
539
  const result = await input.process.run({
540
- program: "host:node",
540
+ program: "node",
541
541
  args: [
542
542
  input.paths.engineCli,
543
543
  ...input.args,
@@ -557,7 +557,7 @@ var collect = async (stream) => {
557
557
  };
558
558
  var runEngineCancellable = async (input) => {
559
559
  const handle = await input.process.spawn({
560
- program: "host:node",
560
+ program: "node",
561
561
  args: [
562
562
  input.paths.engineCli,
563
563
  ...input.args,
@@ -596,7 +596,7 @@ var pythonArgs = (paths, script, args = []) => [
596
596
  ];
597
597
  var engineBackend = async (processApi, cli, cwd) => {
598
598
  const result = await processApi.run({
599
- program: "host:node",
599
+ program: "node",
600
600
  args: [cli, "capabilities", "--json"],
601
601
  cwd,
602
602
  timeoutMs: 6e4
@@ -647,7 +647,7 @@ var runHealthCheck = async (input) => {
647
647
  entries.push({ key: "health.python.missing", ok: false });
648
648
  } else {
649
649
  const result = await processApi.run({
650
- program: "host:python",
650
+ program: "python",
651
651
  args: pythonArgs(paths, input.runtimeCheckScript),
652
652
  env: runtime.env,
653
653
  cwd: paths.dataDir,
@@ -997,7 +997,7 @@ var check = (deps) => ({
997
997
  const contains = Array.isArray(input["contains"]) ? input["contains"].filter((entry) => typeof entry === "string") : [];
998
998
  const count = typeof input["count"] === "number" ? ["--count", String(input["count"])] : [];
999
999
  const result = await deps.process.run({
1000
- program: "host:python",
1000
+ program: "python",
1001
1001
  args: pythonArgs(deps.paths, deps.checkerScript, [
1002
1002
  source,
1003
1003
  ...contains.flatMap((value) => ["--contains", value]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-office",
3
- "version": "0.2.4343",
3
+ "version": "0.2.4368",
4
4
  "description": "Lets agents create, check, and render Word, PowerPoint, and Excel files, and previews Office files in the app.",
5
5
  "keywords": [
6
6
  "docx",
@@ -29,7 +29,7 @@
29
29
  "esbuild": "0.28.1",
30
30
  "typescript": "~6.0.3",
31
31
  "vite-plus": "0.2.2",
32
- "@ycodium-ai/plugin-api": "0.2.4343"
32
+ "@ycodium-ai/plugin-api": "0.2.4368"
33
33
  },
34
34
  "ycodium": {
35
35
  "plugin": "./dist/index.js",
@@ -42,8 +42,8 @@
42
42
  {
43
43
  "kind": "process.spawn",
44
44
  "programs": [
45
- "host:node",
46
- "host:python"
45
+ "node",
46
+ "python"
47
47
  ],
48
48
  "maxConcurrent": 6
49
49
  },