trylode 0.3.0 → 0.3.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.3.0",
3
+ "version": "0.3.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/SKILL.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: lode-integration-check
3
- description: 'Use before you add, recommend, compare, connect or install a third-party service, SDK or integration, or decide to build that capability yourself (auth, email, payments, database, background jobs, rate limiting), on Xero, QuickBooks Online, HubSpot, Shopify, Stripe, Supabase, Vercel, Netlify, n8n, Lovable, Replit, Linear, GitHub, LangChain, Cursor or Cloudflare. Also use to ask if two products work together, or when an integration fails. Examples: "add auth to my Supabase app", "which Xero app syncs purchase orders", "Stripe payouts stopped reaching QuickBooks". Returns Lode''s facts, each with its source link and last-verified date: what syncs and which way, price by currency, platform plan, regions, limits, who built it; also checks a project''s stack and overlaps. Sends Lode only what you look up (app, platform, needs, region) and fixed codes, never errors, logs or code; choices only with --share after the user agrees. Writes: init only with --yes; chose and adr save to lode-integrations.json and docs/adr/.'
3
+ description: 'Use before you add, recommend, compare, connect or install a third-party service, SDK or integration, or decide to build it yourself (auth, email, payments, database, background jobs, rate limiting), on Xero, QuickBooks Online, HubSpot, Shopify, Stripe, Supabase, Vercel, Netlify, n8n, Lovable, Replit, Linear, GitHub, LangChain, Grok Build (Cursor) or Cloudflare. Also use to ask if two products work together, or when an integration fails. Examples: "add auth to my Supabase app", "which Xero app syncs purchase orders", "Stripe payouts stopped reaching QuickBooks". Returns Lode''s facts, each with its source link and last-verified date: what syncs and which way, price by currency, platform plan, regions, limits, who built it; also checks a project''s stack and overlaps. Sends Lode only what you look up (app, platform, needs, region) and fixed codes, never errors, logs or code; choices only with --share after the user agrees. Writes: init only with --yes; chose and adr save to lode-integrations.json and docs/adr/.'
4
4
  ---
5
5
 
6
6
  # Lode Integration Check
@@ -13,7 +13,7 @@ sold. Use it so the user gets facts, not guesses, before an integration is chose
13
13
 
14
14
  - The user wants to connect one product to another on Xero, QuickBooks Online, HubSpot, Shopify,
15
15
  Stripe, Supabase, Vercel, Netlify, n8n, Linear or GitHub, add a connector to a Lovable or Replit app, add a
16
- LangChain integration package, add a Cursor plugin or MCP server, or connect a service to Cloudflare Workers.
16
+ LangChain integration package, add a Grok Build (formerly Cursor) plugin or MCP server, or connect a service to Cloudflare Workers.
17
17
  - You are about to add any third-party integration to a project (a package, SDK, platform integration,
18
18
  connector or MCP server). Run `stack` first (or call `check_stack` on the Lode MCP server), so the user
19
19
  sees what Lode documents about the stack it joins: the plans it needs, overlaps and function run-time limits.
@@ -231,7 +231,9 @@ Pick the one code that fits what you see: `credential-invalid`, `token-expired`,
231
231
  `package-incompatible`, `capability-missing` (add `--object`), `validation-rejected`, `data-mismatch`,
232
232
  `webhook-not-received`, `webhook-signature-failed`, `event-duplicate-or-out-of-order`, `api-deprecated`,
233
233
  `region-unavailable`, `connection-failed`, `setup-step-missing`, `service-outage`, `mcp-connect-failed`,
234
- `mcp-tool-error`, or `other`. Lode answers with the sourced facts that explain that kind of failure for that
234
+ `mcp-tool-error`,
235
+ `connection-expired`, `login-required-unattended` (these two only when the run had no person present), or
236
+ `other`. Lode answers with the sourced facts that explain that kind of failure for that
235
237
  pair: documented limitations, plan requirements, run-time limits, platform rules, regions, setup steps and
236
238
  recent status-page incidents, and, for `capability-missing`, the apps on that platform that document the
237
239
  object. Never send error messages, logs, code or project details: only the codes. If Lode has no matching
@@ -56,7 +56,7 @@ import { pathToFileURL } from 'node:url';
56
56
  const BASE = (process.env.LODE_BASE || 'https://trylode.io').replace(/\/$/, '');
57
57
  const UA = process.env.LODE_UA || 'lode-skill/0.1 (+https://trylode.io/agents/)';
58
58
 
59
- 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: 'Cursor', cloudflare: 'Cloudflare' };
59
+ 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
60
  export const PLATFORMS = {
61
61
  xero: ['xero'],
62
62
  'quickbooks-online': ['quickbooks-online', 'quickbooks', 'qbo', 'quickbooks online', 'intuit quickbooks'],
@@ -851,7 +851,7 @@ async function stack({ share, framework } = {}) {
851
851
 
852
852
 
853
853
  // Integration Triage (LOD-165): fixed symptom codes, kept equal to SYMPTOM_CODES in src/lib/triage.mjs by tests/triage.test.mjs
854
- export const SYMPTOM_CODES = ["credential-invalid", "token-expired", "scope-missing", "authorize-failed", "access-filtered", "platform-plan-required", "app-plan-required", "account-restricted", "rate-limited", "request-too-large", "runtime-limit-exceeded", "config-missing", "package-not-found", "package-incompatible", "capability-missing", "validation-rejected", "data-mismatch", "webhook-not-received", "webhook-signature-failed", "event-duplicate-or-out-of-order", "api-deprecated", "region-unavailable", "connection-failed", "setup-step-missing", "service-outage", "mcp-connect-failed", "mcp-tool-error", "other"];
854
+ export const SYMPTOM_CODES = ["credential-invalid", "token-expired", "scope-missing", "authorize-failed", "access-filtered", "platform-plan-required", "app-plan-required", "account-restricted", "rate-limited", "request-too-large", "runtime-limit-exceeded", "config-missing", "package-not-found", "package-incompatible", "capability-missing", "validation-rejected", "data-mismatch", "webhook-not-received", "webhook-signature-failed", "event-duplicate-or-out-of-order", "api-deprecated", "region-unavailable", "connection-failed", "setup-step-missing", "service-outage", "mcp-connect-failed", "mcp-tool-error", "other", "connection-expired", "login-required-unattended"];
855
855
  export const TRIAGE_OUTCOMES = ['fixed', 'switched', 'gave-up'];
856
856
 
857
857
  async function triageCmd(app, platform, opts) {