@uniqbit/mate-opencode-plugin 0.15.4-canary.3 → 0.15.4-canary.6

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/package.json +2 -2
  2. package/src/companion.ts +1 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniqbit/mate-opencode-plugin",
3
- "version": "0.15.4-canary.3",
3
+ "version": "0.15.4-canary.6",
4
4
  "description": "OpenCode plugin integration for Mate.",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -28,7 +28,7 @@
28
28
  "@opentui/core": "^0.4.5",
29
29
  "@opentui/keymap": "^0.4.5",
30
30
  "@opentui/solid": "^0.4.5",
31
- "@uniqbit/mate-core": "0.15.4-canary.3"
31
+ "@uniqbit/mate-core": "0.15.4-canary.6"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/bun": "^1.3.14",
package/src/companion.ts CHANGED
@@ -41,8 +41,7 @@ function materializeCompanionGuidance(guidance: string, context: CompanionContex
41
41
  .replaceAll("$MATE_REPO_PATH", context.repositoryPath)
42
42
  .replaceAll("$MATE_ARTIFACT_PATH", context.companionPath)
43
43
  .replaceAll("$MATE_WRAPPER_BIN_PATH", wrapperBinPath)
44
- .replaceAll("$MATE_REPO_ID", context.repositoryId)
45
- .replaceAll("$MATE_REPO_PROFILE", context.repositoryProfile);
44
+ .replaceAll("$MATE_REPO_ID", context.repositoryId);
46
45
  }
47
46
 
48
47
  function buildSystemPrompt(context: CompanionContext, guidance: MateGuidanceFile): string[] {
@@ -82,7 +81,6 @@ export const CompanionPlugin: Plugin = async () => {
82
81
  wrapperBinPath,
83
82
  repositoryPath: context.repositoryPath,
84
83
  repositoryId: context.repositoryId,
85
- repositoryProfile: context.repositoryProfile,
86
84
  policy: JSON.parse(context.policyJson || "{}"),
87
85
  },
88
86
  null,
@@ -124,7 +122,6 @@ export const CompanionPlugin: Plugin = async () => {
124
122
  output.env.MATE_WRAPPER_BIN_PATH = wrapperBinPath;
125
123
  output.env.MATE_REPO_PATH = context.repositoryPath;
126
124
  output.env.MATE_REPO_ID = context.repositoryId;
127
- output.env.MATE_REPO_PROFILE = context.repositoryProfile;
128
125
  output.env.MATE_POLICY_JSON = context.policyJson;
129
126
  output.env.MATE_GRAPHIFY_ENABLED = context.graphifyEnabled ? "1" : "0";
130
127
  output.env.MATE_GIT_AUTO_MODE = context.gitAutoModeEnabled ? "1" : "0";