@uselemma/opencode 0.1.3 → 0.2.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.
- package/README.md +1 -1
- package/package.json +4 -4
- package/runtime/lemma.mjs +2055 -1092
- package/scripts/setup.mjs +5 -4
package/scripts/setup.mjs
CHANGED
|
@@ -28,7 +28,8 @@ import {
|
|
|
28
28
|
} from "node:fs/promises";
|
|
29
29
|
import { homedir } from "node:os";
|
|
30
30
|
import { dirname, join, resolve } from "node:path";
|
|
31
|
-
var
|
|
31
|
+
var LEMMA_OPENCODE_SETUP_COMMAND = "pnpm dlx @uselemma/opencode setup";
|
|
32
|
+
var LEMMA_OPENCODE_CREDENTIALS_HELP = `Lemma OpenCode credentials are missing or invalid. Run \`${LEMMA_OPENCODE_SETUP_COMMAND}\` to connect or rotate the scoped credential.`;
|
|
32
33
|
function isRecord(value) {
|
|
33
34
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
34
35
|
}
|
|
@@ -110,7 +111,7 @@ async function writeDataDirLocation(dataDir, options = {}) {
|
|
|
110
111
|
// package.json
|
|
111
112
|
var package_default = {
|
|
112
113
|
name: "@uselemma/opencode",
|
|
113
|
-
version: "0.1
|
|
114
|
+
version: "0.2.1",
|
|
114
115
|
description: "Lemma SDK tracing for OpenCode coding-agent sessions",
|
|
115
116
|
license: "MIT",
|
|
116
117
|
author: "Lemma",
|
|
@@ -155,12 +156,12 @@ var package_default = {
|
|
|
155
156
|
prepublishOnly: "pnpm run type-check && pnpm run build"
|
|
156
157
|
},
|
|
157
158
|
dependencies: {
|
|
158
|
-
"@opencode-ai/plugin": "1.18.19"
|
|
159
|
-
"@uselemma/tracing": "workspace:^"
|
|
159
|
+
"@opencode-ai/plugin": "1.18.19"
|
|
160
160
|
},
|
|
161
161
|
devDependencies: {
|
|
162
162
|
"@opencode-ai/sdk": "1.18.19",
|
|
163
163
|
"@types/node": "^22.18.8",
|
|
164
|
+
"@uselemma/tracing": "workspace:^",
|
|
164
165
|
esbuild: "^0.25.11",
|
|
165
166
|
typescript: "^5.9.3",
|
|
166
167
|
vitest: "^3.2.4"
|