janissary 0.5.4 → 0.5.5
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/README.md +0 -18
- package/dist/instance-lock.js +1 -1
- package/package.json +2 -1
- package/profiles/claude/_files.json +3 -0
- package/profiles/claude/_monitors.json +6 -0
- package/profiles/claude/_notifications.json +3 -0
- package/profiles/claude/claude.json +7 -0
- package/profiles/coding/execute.json +9 -0
- package/profiles/coding/plan.json +9 -0
- package/profiles/coding/review.json +19 -0
- package/profiles/small-fix/opencode.json +11 -0
package/README.md
CHANGED
|
@@ -8,21 +8,3 @@ See the [User Docs](https://thirtysixthspan.github.io/janissary/user-documentati
|
|
|
8
8
|
|
|
9
9
|
See the [Developer Docs](https://thirtysixthspan.github.io/janissary/developer-documentation/) for advanced usage, coding, linting and testing practices.
|
|
10
10
|
|
|
11
|
-
## Prerequisites
|
|
12
|
-
|
|
13
|
-
- macOS
|
|
14
|
-
- Node.js 24+
|
|
15
|
-
- Google Chrome
|
|
16
|
-
|
|
17
|
-
## Usage
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
npx janus
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Or install globally:
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
npm install -g janissary
|
|
27
|
-
janus
|
|
28
|
-
```
|
package/dist/instance-lock.js
CHANGED
|
@@ -17,7 +17,7 @@ export function acquireLock(projectDir) {
|
|
|
17
17
|
if (existsSync(file)) {
|
|
18
18
|
const pid = Number(readFileSync(file, 'utf8').trim());
|
|
19
19
|
if (isPidAlive(pid)) {
|
|
20
|
-
throw new Error(`another janus instance is already running in this directory (pid ${pid}). Run janus <other-directory> to start a second instance elsewhere.`);
|
|
20
|
+
throw new Error(`another janus instance is already running in this directory (pid ${pid}). Run janus <other-directory> to start a second instance elsewhere. If you're sure no other instance is running, delete ${file} to clear the lock.`);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
mkdirSync(path.dirname(file), { recursive: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "janissary",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "A terminal UI shell with built-in commands and shell execution",
|
|
5
5
|
"bin": {
|
|
6
6
|
"janus": "./bin/janus.mjs"
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
},
|
|
81
81
|
"files": [
|
|
82
82
|
"ai",
|
|
83
|
+
"profiles",
|
|
83
84
|
"bin",
|
|
84
85
|
"dist",
|
|
85
86
|
"web/dist",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "execute",
|
|
3
|
+
"dotColor": "#6bcb77",
|
|
4
|
+
"active": false,
|
|
5
|
+
"number": 2,
|
|
6
|
+
"context": [
|
|
7
|
+
"You are the Execute agent in a coding profile. Implement the plan from the plan agent: make the code changes, keep edits focused, and run the tests/build/lint. When the change is complete and green, hand it to the review agent."
|
|
8
|
+
]
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "plan",
|
|
3
|
+
"dotColor": "#5b9cff",
|
|
4
|
+
"active": false,
|
|
5
|
+
"number": 1,
|
|
6
|
+
"context": [
|
|
7
|
+
"You are the Plan agent in a coding profile. Investigate the codebase and design an implementation approach. Break the work into clear, ordered steps and identify the files to change. Hand the plan to the execute agent; do not write code yourself."
|
|
8
|
+
]
|
|
9
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "review",
|
|
3
|
+
"dotColor": "#ffd93d",
|
|
4
|
+
"active": false,
|
|
5
|
+
"number": 3,
|
|
6
|
+
"context": [
|
|
7
|
+
"You are the Review agent in a coding profile. Review the execute agent's changes for correctness, simplicity, and adherence to the codebase conventions (ai/guidelines/code-guidelines.md, ai/guidelines/architecture-principles.md). Flag bugs and cleanups, and confirm tests, build, and lint pass before sign-off."
|
|
8
|
+
],
|
|
9
|
+
"schedule": [
|
|
10
|
+
{
|
|
11
|
+
"command": "ls",
|
|
12
|
+
"spec": "every 1m",
|
|
13
|
+
"recurring": true,
|
|
14
|
+
"intervalMs": 60000,
|
|
15
|
+
"nextRun": 1782280999860,
|
|
16
|
+
"id": "files"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|