theslopmachine 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/MANUAL.md +5 -5
- package/README.md +4 -4
- package/RELEASE.md +4 -4
- package/package.json +23 -23
- package/src/install.js +6 -6
package/MANUAL.md
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
#
|
|
1
|
+
# theslopmachine manual
|
|
2
2
|
|
|
3
3
|
## What it is
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
theslopmachine installs a workflow-owner agent, a developer agent, and the supporting skills/templates needed to run the delivery workflow inside OpenCode.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
Run:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
slopmachine
|
|
12
|
+
slopmachine setup
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
This installs:
|
|
16
16
|
|
|
17
17
|
- agents into `~/.config/opencode/agents/`
|
|
18
18
|
- skills into `~/.agents/skills/`
|
|
19
|
-
-
|
|
19
|
+
- theslopmachine-owned files into `~/slopmachine/`
|
|
20
20
|
- merged plugin/MCP config into `~/.config/opencode/opencode.json`
|
|
21
21
|
|
|
22
22
|
## Start a project
|
|
@@ -58,6 +58,6 @@ slopmachine init -o
|
|
|
58
58
|
|
|
59
59
|
## Important notes
|
|
60
60
|
|
|
61
|
-
-
|
|
61
|
+
- theslopmachine depends on OpenCode, Beads, git, python3, and Docker being available.
|
|
62
62
|
- The workflow-owner agent uses mandatory skills for specific phases; skipping them is considered a workflow failure.
|
|
63
63
|
- Submission packaging collects the final docs, reports, screenshots, session export, trajectory, and cleaned repo into the required final structure.
|
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#
|
|
1
|
+
# theslopmachine 0.3
|
|
2
2
|
|
|
3
|
-
Installer package for the
|
|
3
|
+
Installer package for the theslopmachine workflow owner, developer agent, required skills, templates, and local support files.
|
|
4
4
|
|
|
5
5
|
## Planned commands
|
|
6
6
|
|
|
7
|
-
- `slopmachine
|
|
7
|
+
- `slopmachine setup`
|
|
8
8
|
- `slopmachine init`
|
|
9
9
|
- `slopmachine init -o` to bootstrap the project and immediately open OpenCode inside `repo/`
|
|
10
10
|
|
|
@@ -20,4 +20,4 @@ See `MANUAL.md` for a short usage guide and workflow summary.
|
|
|
20
20
|
|
|
21
21
|
## Status
|
|
22
22
|
|
|
23
|
-
This package workspace is being built from the current local
|
|
23
|
+
This package workspace is being built from the current local theslopmachine setup without modifying the live installation on this machine.
|
package/RELEASE.md
CHANGED
|
@@ -11,7 +11,7 @@ node ./bin/slopmachine.js --help
|
|
|
11
11
|
2. Test install into an isolated fake home:
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
SLOPMACHINE_HOME="$(pwd)/.tmp-home" SLOPMACHINE_NONINTERACTIVE=1 SLOPMACHINE_PLUGIN_BOOTSTRAP=0 node ./bin/slopmachine.js
|
|
14
|
+
SLOPMACHINE_HOME="$(pwd)/.tmp-home" SLOPMACHINE_NONINTERACTIVE=1 SLOPMACHINE_PLUGIN_BOOTSTRAP=0 node ./bin/slopmachine.js setup
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
3. Test init into an isolated temp project:
|
|
@@ -41,13 +41,13 @@ npm pack
|
|
|
41
41
|
This should produce a tarball such as:
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
|
|
44
|
+
theslopmachine-0.3.0.tgz
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Inspect package contents
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
|
-
tar -tzf
|
|
50
|
+
tar -tzf theslopmachine-0.3.0.tgz
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
Check that the tarball includes:
|
|
@@ -77,5 +77,5 @@ npm publish --dry-run
|
|
|
77
77
|
## Versioning
|
|
78
78
|
|
|
79
79
|
- bump `package.json` version before each release
|
|
80
|
-
- keep the
|
|
80
|
+
- keep the CLI command as `slopmachine`
|
|
81
81
|
- keep the npm package name as `slopmachine`
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
2
|
+
"name": "theslopmachine",
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"description": "SlopMachine installer and project bootstrap CLI",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"slopmachine": "bin/slopmachine.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"start": "node ./bin/slopmachine.js",
|
|
12
|
+
"check": "node ./bin/slopmachine.js --help"
|
|
13
|
+
},
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=18"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"bin",
|
|
19
|
+
"src",
|
|
20
|
+
"assets",
|
|
21
|
+
"README.md",
|
|
22
|
+
"RELEASE.md",
|
|
23
|
+
"MANUAL.md"
|
|
24
|
+
]
|
|
25
25
|
}
|
package/src/install.js
CHANGED
|
@@ -119,7 +119,7 @@ async function ensureDependency({ name, checkCommand, requiredVersion, installab
|
|
|
119
119
|
|
|
120
120
|
const shouldInstall = await promptYesNo(`Attempt to install ${name} automatically?`, true)
|
|
121
121
|
if (!shouldInstall) {
|
|
122
|
-
|
|
122
|
+
warn(`Skipping ${name} installation. Please install it manually before using theslopmachine.`)
|
|
123
123
|
return
|
|
124
124
|
}
|
|
125
125
|
|
|
@@ -294,7 +294,7 @@ async function collectApiKeys() {
|
|
|
294
294
|
|
|
295
295
|
export async function runInstall() {
|
|
296
296
|
const paths = buildPaths()
|
|
297
|
-
log(`
|
|
297
|
+
log(`Configuring theslopmachine in ${paths.home}`)
|
|
298
298
|
|
|
299
299
|
await ensureDependency({ name: 'git', checkCommand: 'git', installable: true })
|
|
300
300
|
await ensureDependency({ name: 'python3', checkCommand: 'python3', installable: true })
|
|
@@ -311,8 +311,8 @@ export async function runInstall() {
|
|
|
311
311
|
const keys = await collectApiKeys()
|
|
312
312
|
await mergeOpencodeConfig(paths, keys)
|
|
313
313
|
|
|
314
|
-
log('
|
|
315
|
-
console.log('\
|
|
314
|
+
log('Setup phase completed.')
|
|
315
|
+
console.log('\ntheslopmachine setup summary')
|
|
316
316
|
console.log(`- Agents installed: ${agentSummary.installed.length}`)
|
|
317
317
|
console.log(`- Agents skipped: ${agentSummary.skipped.length}`)
|
|
318
318
|
console.log(`- Skills installed: ${skillSummary.installed.length}`)
|
|
@@ -325,6 +325,6 @@ export async function runInstall() {
|
|
|
325
325
|
console.log(`- OpenCode config: ${paths.opencodeConfigPath}`)
|
|
326
326
|
console.log('\nNext steps')
|
|
327
327
|
console.log('- Review any warnings above for skipped files or missing external dependencies.')
|
|
328
|
-
console.log('- If Docker was reported as stopped, start Docker before using
|
|
329
|
-
console.log('- Run `slopmachine init` inside a project directory to bootstrap a new
|
|
328
|
+
console.log('- If Docker was reported as stopped, start Docker before using theslopmachine on a real project.')
|
|
329
|
+
console.log('- Run `slopmachine init` inside a project directory to bootstrap a new theslopmachine workspace.')
|
|
330
330
|
}
|