@github/copilot-sdk-win32-x64 1.0.14 → 1.0.15-preview.1

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.
Files changed (36) hide show
  1. package/builtin/discover-resources/SKILL.md +10 -0
  2. package/builtin-skills/discover-resources/SKILL.md +10 -0
  3. package/copilot-sdk/cliVersion.d.ts +1 -1
  4. package/copilot-sdk/client.d.ts +2 -0
  5. package/copilot-sdk/docs/extensions.md +1 -0
  6. package/copilot-sdk/docs/workflows.md +257 -0
  7. package/copilot-sdk/extension.d.ts +22 -8
  8. package/copilot-sdk/extension.js +1845 -230
  9. package/copilot-sdk/generated/rpc.d.ts +3141 -302
  10. package/copilot-sdk/generated/session-events.d.ts +756 -31
  11. package/copilot-sdk/index.d.ts +3 -1
  12. package/copilot-sdk/index.js +1839 -228
  13. package/copilot-sdk/schema.d.ts +4 -0
  14. package/copilot-sdk/session.d.ts +26 -3
  15. package/copilot-sdk/types.d.ts +37 -5
  16. package/copilot-sdk/workflow.d.ts +364 -0
  17. package/definitions/explore.agent.yaml +4 -1
  18. package/definitions/research.agent.yaml +1 -1
  19. package/definitions/task.agent.yaml +4 -1
  20. package/package.json +1 -1
  21. package/plugins/computer-use/CopilotComputerUse.exe +0 -0
  22. package/plugins/computer-use/computer-use-mcp.exe +0 -0
  23. package/plugins/computer-use/{.mcp.json → mcp.json} +2 -1
  24. package/plugins/computer-use/plugin.json +6 -0
  25. package/prebuilds/win32-x64/OneAuthInterop.dll +0 -0
  26. package/prebuilds/win32-x64/copilot-runtime.exe +0 -0
  27. package/prebuilds/win32-x64/msal-node-runtime.node +0 -0
  28. package/prebuilds/win32-x64/msalruntime.dll +0 -0
  29. package/prebuilds/win32-x64/runtime.node +2 -2
  30. package/preloads/extension_bootstrap.mjs +3 -4
  31. package/ripgrep/bin/win32-x64/rg.exe +0 -0
  32. package/schemas/api.schema.json +5252 -77
  33. package/schemas/session-events.schema.json +946 -1
  34. package/sdk/index.js +275 -286
  35. package/tgrep/bin/win32-x64/tgrep.exe +0 -0
  36. package/plugins/computer-use/.plugin/plugin.json +0 -6
@@ -11,9 +11,9 @@ import { resolve as resolvePath } from "node:path";
11
11
  import { pathToFileURL } from "node:url";
12
12
 
13
13
  // The previous child_process.fork host supplied an IPC channel, which caused
14
- // Node to terminate the extension automatically if its parent disappeared.
15
- // Rust's stdio-only spawn has no equivalent channel, so preserve that liveness
16
- // contract explicitly to avoid orphaning extensions after a forced CLI exit.
14
+ // Node to remain alive for the extension's lifetime and terminate automatically
15
+ // if its parent disappeared. Rust's stdio-only spawn has no equivalent channel,
16
+ // so this referenced watchdog preserves both parts of that lifecycle contract.
17
17
  const parentPid = Number(process.env.COPILOT_EXTENSION_PARENT_PID);
18
18
  if (!Number.isSafeInteger(parentPid) || parentPid <= 0 || process.ppid !== parentPid) {
19
19
  process.exit(0);
@@ -28,7 +28,6 @@ const parentWatch = setInterval(() => {
28
28
  process.exit(0);
29
29
  }
30
30
  }, 1000);
31
- parentWatch.unref();
32
31
 
33
32
  // Register the ESM SDK resolver hook before loading the extension
34
33
  Module.register("./extension_sdk_resolver.mjs", import.meta.url);
Binary file