learnship 1.9.2 → 1.9.4
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/.claude-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/bin/install.js +1 -1
- package/bin/learnship.js +3 -54
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "learnship",
|
|
3
3
|
"description": "Agentic engineering done right — 42 structured workflows, persistent memory across sessions, integrated learning partner, and impeccable UI design system. Works with Claude Code, Windsurf, Cursor, Gemini CLI, OpenCode, and Codex.",
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.4",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Favio Vazquez",
|
|
7
7
|
"email": "favio.vazquezp@gmail.com"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "learnship",
|
|
3
3
|
"displayName": "learnship",
|
|
4
4
|
"description": "Agentic engineering done right — 42 structured workflows, persistent memory across sessions, integrated learning partner, and impeccable UI design system.",
|
|
5
|
-
"version": "1.9.
|
|
5
|
+
"version": "1.9.4",
|
|
6
6
|
"logo": "assets/logo.png",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Favio Vazquez",
|
package/bin/install.js
CHANGED
|
@@ -926,7 +926,7 @@ function install(platform, isGlobal) {
|
|
|
926
926
|
const learnshipSrc = path.join(src, 'learnship');
|
|
927
927
|
const commandsSrc = path.join(src, 'commands', 'learnship');
|
|
928
928
|
const agentsSrc = path.join(src, 'agents');
|
|
929
|
-
const skillsSrc = path.join(src, '
|
|
929
|
+
const skillsSrc = path.join(src, 'skills');
|
|
930
930
|
const failures = [];
|
|
931
931
|
|
|
932
932
|
// 1. Install learnship/ payload (workflows, references, templates)
|
package/bin/learnship.js
CHANGED
|
@@ -1,56 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// learnship — npx
|
|
3
|
-
//
|
|
2
|
+
// learnship — npx entry point
|
|
3
|
+
// Delegates to bin/install.js (multi-platform installer)
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
const path = require('path');
|
|
7
|
-
const fs = require('fs');
|
|
8
|
-
const os = require('os');
|
|
9
|
-
|
|
10
|
-
const args = process.argv.slice(2);
|
|
11
|
-
const hasLocal = args.includes('--local');
|
|
12
|
-
const hasGlobal = args.includes('--global');
|
|
13
|
-
const hasUninstall = args.includes('--uninstall');
|
|
14
|
-
const hasHelp = args.includes('--help') || args.includes('-h');
|
|
15
|
-
|
|
16
|
-
if (hasHelp) {
|
|
17
|
-
console.log(`
|
|
18
|
-
learnship — Learn as you build. Build with intent.
|
|
19
|
-
|
|
20
|
-
Usage:
|
|
21
|
-
npx github:FavioVazquez/learnship # interactive install
|
|
22
|
-
npx github:FavioVazquez/learnship --local # install to current project (.windsurf/)
|
|
23
|
-
npx github:FavioVazquez/learnship --global # install to all Windsurf projects (~/.codeium/windsurf/)
|
|
24
|
-
npx github:FavioVazquez/learnship --uninstall --local
|
|
25
|
-
npx github:FavioVazquez/learnship --uninstall --global
|
|
26
|
-
|
|
27
|
-
After installing, open Windsurf and type /new-project to start.
|
|
28
|
-
`);
|
|
29
|
-
process.exit(0);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// Resolve the install.sh path (bundled alongside this script)
|
|
33
|
-
const repoRoot = path.resolve(__dirname, '..');
|
|
34
|
-
const installScript = path.join(repoRoot, 'install.sh');
|
|
35
|
-
|
|
36
|
-
if (!fs.existsSync(installScript)) {
|
|
37
|
-
console.error('Error: install.sh not found. The package may be incomplete.');
|
|
38
|
-
process.exit(1);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// Build args to forward to install.sh
|
|
42
|
-
const forwardArgs = [];
|
|
43
|
-
if (hasLocal) forwardArgs.push('--local');
|
|
44
|
-
if (hasGlobal) forwardArgs.push('--global');
|
|
45
|
-
if (hasUninstall) forwardArgs.push('--uninstall');
|
|
46
|
-
|
|
47
|
-
const result = spawnSync('bash', [installScript, ...forwardArgs], {
|
|
48
|
-
stdio: 'inherit',
|
|
49
|
-
cwd: repoRoot,
|
|
50
|
-
env: {
|
|
51
|
-
...process.env,
|
|
52
|
-
LEARNSHIP_INSTALL_CWD: process.env.INIT_CWD || process.cwd(),
|
|
53
|
-
},
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
process.exit(result.status ?? 0);
|
|
5
|
+
require('./install.js');
|
package/gemini-extension.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "learnship",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"description": "Agentic engineering done right — 42 structured workflows, persistent memory across sessions, integrated learning partner, and impeccable UI design system.",
|
|
5
5
|
"author": "Favio Vazquez",
|
|
6
6
|
"homepage": "https://faviovazquez.github.io/learnship/",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "learnship",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"description": "Learn as you build. Build with intent. — A multi-platform agentic engineering system for Windsurf, Claude Code, Cursor, OpenCode, Gemini CLI, and Codex: spec-driven workflows, integrated learning, and production-grade design.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agentic",
|