@workit-dev/opencode 2.27.4 → 2.27.5

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 (2) hide show
  1. package/dist/plugin.js +5 -0
  2. package/package.json +2 -2
package/dist/plugin.js CHANGED
@@ -10931,6 +10931,11 @@ var HOST_SESSION_VARS = [
10931
10931
  (env) => env.CODEX_INTERNAL_ORIGINATOR_OVERRIDE === "Codex Desktop" || env.CODEX_ELECTRON_RESOURCES_PATH ? "codex_desktop" : "codex_cli"
10932
10932
  ]
10933
10933
  ];
10934
+ var STAMPING_HOSTS = new Set([
10935
+ "claude_code",
10936
+ "codex_cli",
10937
+ "codex_desktop"
10938
+ ]);
10934
10939
  var family = (host) => host?.replace(/_(?:cli|desktop)$/, "") ?? null;
10935
10940
  function hostSessionFromEnv(env) {
10936
10941
  const value = (key) => env[key]?.trim() || null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workit-dev/opencode",
3
- "version": "2.27.4",
3
+ "version": "2.27.5",
4
4
  "private": false,
5
5
  "description": "Workit OpenCode plugin — native tools, adaptive policy, and sixteen method skills",
6
6
  "keywords": [
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "@opencode/plugin": "2.3.2",
44
- "@workit-dev/core": "^2.27.4"
44
+ "@workit-dev/core": "^2.27.5"
45
45
  },
46
46
  "engines": {
47
47
  "node": ">=24"