@getmonoceros/workbench 1.14.1 → 1.16.0
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 +19 -20
- package/dist/bin.js +4276 -2748
- package/dist/bin.js.map +1 -1
- package/features/atlassian/devcontainer-feature.json +13 -1
- package/features/claude-code/devcontainer-feature.json +8 -1
- package/features/github-cli/devcontainer-feature.json +8 -1
- package/package.json +1 -1
- package/templates/components/README.md +13 -13
|
@@ -50,6 +50,18 @@
|
|
|
50
50
|
".agents"
|
|
51
51
|
],
|
|
52
52
|
"optionHints": ["instance", "email", "apiToken", "bitbucketToken"],
|
|
53
|
-
"usageNotes": []
|
|
53
|
+
"usageNotes": [],
|
|
54
|
+
"briefing": {
|
|
55
|
+
"lines": [
|
|
56
|
+
{
|
|
57
|
+
"whenOption": "rovodev",
|
|
58
|
+
"text": "Atlassian Rovo Dev — invoke via `acli rovodev`. Pre-authenticated against the Atlassian account configured in the feature options (shared with twg)."
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"whenOption": "twg",
|
|
62
|
+
"text": "Atlassian Teamwork Graph CLI (`twg`) — work-data access across Jira, Confluence, Bitbucket, JSM and Assets. Pre-authenticated. Sub-skills cover status rollups, engineering work, ops health and context discovery."
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
54
66
|
}
|
|
55
67
|
}
|
|
@@ -31,6 +31,13 @@
|
|
|
31
31
|
}
|
|
32
32
|
],
|
|
33
33
|
"optionHints": ["apiKey"],
|
|
34
|
-
"usageNotes": []
|
|
34
|
+
"usageNotes": [],
|
|
35
|
+
"briefing": {
|
|
36
|
+
"lines": [
|
|
37
|
+
{
|
|
38
|
+
"text": "Anthropic Claude Code CLI (`claude`) — interactive coding assistant. Authenticated via OAuth/subscription unless `apiKey` was set, in which case it runs in API-key mode."
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
35
42
|
}
|
|
36
43
|
}
|
|
@@ -20,6 +20,13 @@
|
|
|
20
20
|
"x-monoceros": {
|
|
21
21
|
"persistentHomePaths": [".config/gh"],
|
|
22
22
|
"optionHints": ["apiToken"],
|
|
23
|
-
"usageNotes": []
|
|
23
|
+
"usageNotes": [],
|
|
24
|
+
"briefing": {
|
|
25
|
+
"lines": [
|
|
26
|
+
{
|
|
27
|
+
"text": "GitHub CLI (`gh`) — repo, PR, issue, gist operations against github.com. Pre-authenticated; `gh auth status` reflects the active account."
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
24
31
|
}
|
|
25
32
|
}
|
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Every file under this directory is a **component** — a small,
|
|
4
4
|
composable yaml snippet that contributes to a `SolutionConfig`. The
|
|
5
|
-
`monoceros init` command picks components by name (via `--with
|
|
6
|
-
or by rendering them all as commented-out hints in the documented
|
|
5
|
+
`monoceros init` command picks components by name (via the `--with-*`
|
|
6
|
+
flags or by rendering them all as commented-out hints in the documented
|
|
7
7
|
default) and merges them into the user's container-config yml.
|
|
8
8
|
|
|
9
9
|
## File layout
|
|
@@ -12,10 +12,10 @@ default) and merges them into the user's container-config yml.
|
|
|
12
12
|
- `<group>/<name>.yml` — a sub-component of a parent feature
|
|
13
13
|
(e.g. `atlassian/twg.yml` is a sub-component of `atlassian/`).
|
|
14
14
|
|
|
15
|
-
Component names map 1:1 to their `--with
|
|
15
|
+
Component names map 1:1 to their `--with-*` identifier:
|
|
16
16
|
|
|
17
|
-
- `--with=node` → `node.yml`
|
|
18
|
-
- `--with=atlassian/twg` → `atlassian/twg.yml`
|
|
17
|
+
- `--with-languages=node` → `node.yml`
|
|
18
|
+
- `--with-features=atlassian/twg` → `atlassian/twg.yml`
|
|
19
19
|
|
|
20
20
|
## File schema
|
|
21
21
|
|
|
@@ -25,8 +25,8 @@ Component names map 1:1 to their `--with=…` identifier:
|
|
|
25
25
|
displayName: Node 22 + pnpm
|
|
26
26
|
|
|
27
27
|
# Longer block, shown as a comment above the section in documented
|
|
28
|
-
# mode (i.e. `monoceros init <name>` with no --with). English,
|
|
29
|
-
# prose, can mention what it adds, where credentials come from, etc.
|
|
28
|
+
# mode (i.e. `monoceros init <name>` with no --with-* flags). English,
|
|
29
|
+
# free prose, can mention what it adds, where credentials come from, etc.
|
|
30
30
|
description: |
|
|
31
31
|
Node 22 + pnpm are already in the base image; this component
|
|
32
32
|
declares the runtime as active so the scaffold wires it up.
|
|
@@ -49,13 +49,13 @@ contributes:
|
|
|
49
49
|
- **Comments and prose are English**, even though the broader user
|
|
50
50
|
docs are German. The rendered yml is a tool output and English
|
|
51
51
|
reads more cleanly for the typical dev-yml shape.
|
|
52
|
-
- **Sub-components set their flag to `true` AND every sibling flag
|
|
52
|
+
- **Sub-components set their own flag to `true` AND every sibling flag
|
|
53
53
|
to `false`.** Both `atlassian/twg.yml` and `atlassian/rovodev.yml`
|
|
54
54
|
set both `rovodev` and `twg`, just with opposite truth values.
|
|
55
|
-
The init merge applies OR
|
|
55
|
+
The init merge applies OR semantics on booleans: when two
|
|
56
56
|
components contribute the same boolean key, `true` wins. That
|
|
57
|
-
way `--with=atlassian/twg` on its own opts out of the other
|
|
58
|
-
tool, while `--with=atlassian/twg,atlassian/rovodev` merges to
|
|
57
|
+
way `--with-features=atlassian/twg` on its own opts out of the other
|
|
58
|
+
tool, while `--with-features=atlassian/twg,atlassian/rovodev` merges to
|
|
59
59
|
both `true`. Without the explicit `false`, the manifest defaults
|
|
60
60
|
(`true` for both) would silently re-enable the unwanted tool.
|
|
61
61
|
- **Auth/credential options live with the feature, not the
|
|
@@ -66,13 +66,13 @@ contributes:
|
|
|
66
66
|
|
|
67
67
|
## Adding a new component
|
|
68
68
|
|
|
69
|
-
1. Decide the name and (if it's a sub-component) the group folder.
|
|
69
|
+
1. Decide on the name and (if it's a sub-component) the group folder.
|
|
70
70
|
2. Drop the yml file in. Use an existing component of the same
|
|
71
71
|
category as a starting point.
|
|
72
72
|
3. If the component activates a Monoceros feature, make sure that
|
|
73
73
|
feature's manifest under `images/features/<feature>/` carries
|
|
74
74
|
the right `x-monoceros.optionHints` for auth.
|
|
75
|
-
4. Add a short note
|
|
75
|
+
4. Add a short note to this README's "Current components" table if
|
|
76
76
|
you want it discoverable at a glance.
|
|
77
77
|
|
|
78
78
|
## Current components
|