trylode 0.4.0 → 0.4.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trylode",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "One command puts Lode in your project: the MCP server, the rules line and the skill, so your coding agent checks integration facts before it adds a third-party service.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": { "trylode": "bin/cli.mjs" },
|
package/skill/PERMISSIONS.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# What the Lode Integration Check skill reads, sends and keeps
|
|
2
2
|
|
|
3
3
|
The skill is one script (`scripts/lode.mjs`) with no dependencies and no install scripts. It talks only to
|
|
4
|
-
`https://trylode.io`. Nothing is sent without a command you run, and the optional sharing flag `--share` is
|
|
4
|
+
`https://trylode.io`. Each request names the skill and its version in its user agent (for example `lode-skill/2026.12.3`), so Lode can count which versions are in use. Nothing is sent without a command you run, and the optional sharing flag `--share` is
|
|
5
5
|
added only after the user agrees. Lode never receives error messages, logs, code, prompts, file contents or
|
|
6
6
|
secrets. Privacy policy: https://trylode.io/privacy/
|
|
7
7
|
|
|
@@ -84,7 +84,7 @@ export function loadSignals() {
|
|
|
84
84
|
|
|
85
85
|
// ---- Step 2: the hook (PostToolUseFailure). Sends only app, platform, symptom code and status number, never the
|
|
86
86
|
// output text, the command, paths, versions or the session id. Asks once per app, platform and symptom in a session.
|
|
87
|
-
const VERSION = '
|
|
87
|
+
const VERSION = '2026.12.3'; // the skill's version: kept equal to SKILL_VERSION in lode.mjs by a test
|
|
88
88
|
// The hook ships inside the skill, so it identifies as the skill: the server already counts `lode-skill` and leaves
|
|
89
89
|
// `lode-skill-test` (Lode's own tests) out of every figure. Only Lode's tests may point it at this machine.
|
|
90
90
|
const BASE = (() => { const u = process.env.LODE_GATE_URL || ''; return /^http:\/\/(127\.0\.0\.1|localhost)(:\d+)?$/.test(u) ? u : 'https://trylode.io'; })();
|
package/skill/scripts/lode.mjs
CHANGED
|
@@ -54,7 +54,10 @@ import { join, resolve as resolvePath, relative as relativePath, isAbsolute as i
|
|
|
54
54
|
import { pathToFileURL } from 'node:url';
|
|
55
55
|
|
|
56
56
|
const BASE = (process.env.LODE_BASE || 'https://trylode.io').replace(/\/$/, '');
|
|
57
|
-
|
|
57
|
+
// The skill's version (year.month.day of its last change; a test makes every change bump it), sent in the user agent
|
|
58
|
+
// so Lode can count which copies agents run. Copies before 03-12-2026 all sent 0.1.
|
|
59
|
+
export const SKILL_VERSION = '2026.12.3';
|
|
60
|
+
const UA = process.env.LODE_UA || `lode-skill/${SKILL_VERSION} (+https://trylode.io/agents/)`;
|
|
58
61
|
|
|
59
62
|
export const NAMES = { xero: 'Xero', 'quickbooks-online': 'QuickBooks Online', hubspot: 'HubSpot', shopify: 'Shopify', stripe: 'Stripe', supabase: 'Supabase', vercel: 'Vercel', netlify: 'Netlify', n8n: 'n8n', lovable: 'Lovable', replit: 'Replit', linear: 'Linear', github: 'GitHub', langchain: 'LangChain', cursor: 'Grok Build', cloudflare: 'Cloudflare' };
|
|
60
63
|
export const PLATFORMS = {
|