@driftless-sh/cli 0.1.30 → 0.1.32
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/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -214437,7 +214437,7 @@ var import_node_path4 = require("node:path");
|
|
|
214437
214437
|
// src/commands/install-skill.ts
|
|
214438
214438
|
var import_node_fs3 = require("node:fs");
|
|
214439
214439
|
var import_node_path3 = require("node:path");
|
|
214440
|
-
var SKILL_URL = "https://raw.githubusercontent.com/driftless-
|
|
214440
|
+
var SKILL_URL = "https://raw.githubusercontent.com/driftless-sh/driftless-skill/main/skills/driftless/SKILL.md";
|
|
214441
214441
|
var AGENTS_BLOCK = `
|
|
214442
214442
|
## Driftless \u2014 Context Integrity
|
|
214443
214443
|
|
|
@@ -214450,7 +214450,7 @@ Before pushing:
|
|
|
214450
214450
|
Save discoveries:
|
|
214451
214451
|
driftless context update <slug> --gotchas "..." --decisions "..."
|
|
214452
214452
|
|
|
214453
|
-
Full skill \u2192 https://github.com/driftless-
|
|
214453
|
+
Full skill \u2192 https://github.com/driftless-sh/driftless-skill
|
|
214454
214454
|
`;
|
|
214455
214455
|
async function downloadSkill(cwd) {
|
|
214456
214456
|
const driftlessDir = (0, import_node_path3.resolve)(cwd, ".driftless");
|
|
@@ -214483,7 +214483,7 @@ async function downloadSkill(cwd) {
|
|
|
214483
214483
|
skillPath,
|
|
214484
214484
|
`# Driftless Skill
|
|
214485
214485
|
|
|
214486
|
-
See https://github.com/driftless-
|
|
214486
|
+
See https://github.com/driftless-sh/driftless-skill for the full skill.
|
|
214487
214487
|
`,
|
|
214488
214488
|
"utf-8"
|
|
214489
214489
|
);
|
|
@@ -214539,7 +214539,7 @@ async function installSkillCommand() {
|
|
|
214539
214539
|
// src/commands/init.ts
|
|
214540
214540
|
function getVersion() {
|
|
214541
214541
|
try {
|
|
214542
|
-
return "0.1.
|
|
214542
|
+
return "0.1.32";
|
|
214543
214543
|
} catch {
|
|
214544
214544
|
return "0.0.0";
|
|
214545
214545
|
}
|
|
@@ -216381,7 +216381,7 @@ function pad2(s, n) {
|
|
|
216381
216381
|
}
|
|
216382
216382
|
|
|
216383
216383
|
// src/index.ts
|
|
216384
|
-
var VERSION = "0.1.
|
|
216384
|
+
var VERSION = "0.1.32";
|
|
216385
216385
|
var HELP_TEXT = `Driftless CLI v${VERSION} \u2014 Living repo context for humans and coding agents
|
|
216386
216386
|
|
|
216387
216387
|
Install: npm install -g @driftless-sh/cli
|
|
@@ -216485,8 +216485,8 @@ Smart initialization \u2014 zero friction:
|
|
|
216485
216485
|
3. Analyzes code patterns: guard enforcement, multi-tenant, large files, legacy
|
|
216486
216486
|
4. Uploads baseline + components + relations to Cloud
|
|
216487
216487
|
5. Creates specific rules from detected patterns (not generic ones)
|
|
216488
|
-
6. Creates context
|
|
216489
|
-
7.
|
|
216488
|
+
6. Creates context topics for each detected module with smart gotchas
|
|
216489
|
+
7. Detects existing docs (not auto-synced \u2014 ask your agent to sync them)
|
|
216490
216490
|
|
|
216491
216491
|
Must be run from a git repository root.
|
|
216492
216492
|
|