@uselemma/opencode 0.1.3 → 0.2.0
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 +2 -2
- package/runtime/lemma.mjs +2018 -1011
- package/scripts/setup.mjs +3 -2
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.
|
|
114
|
+
version: "0.2.0",
|
|
114
115
|
description: "Lemma SDK tracing for OpenCode coding-agent sessions",
|
|
115
116
|
license: "MIT",
|
|
116
117
|
author: "Lemma",
|