@astryxdesign/cli 0.4.6 → 0.4.7-canary.405f1ee
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/CHANGELOG.md
CHANGED
|
@@ -115,7 +115,7 @@ export const docs = {
|
|
|
115
115
|
content: [
|
|
116
116
|
{
|
|
117
117
|
type: 'prose',
|
|
118
|
-
text: "Point the integration file's `docs` field at a directory of reference docs and every `{topic}.doc.{ts,mjs,js}` under it becomes a topic the CLI serves
|
|
118
|
+
text: "Point the integration file's `docs` field at a directory of reference docs and every `{topic}.doc.{ts,mjs,js}` under it becomes a topic the CLI serves: `astryx docs` lists it, `astryx docs <topic>` prints it, `astryx search` indexes it, and `astryx init` names it in the agent block. A topic is a plain object stamped `type: 'generic'`, the same shape core's own topics use.",
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
type: 'code',
|
|
@@ -124,7 +124,7 @@ export const docs = {
|
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
type: 'prose',
|
|
127
|
-
text: "A topic can also speak about one that already exists. `replaces: 'x'` takes over topic x
|
|
127
|
+
text: "A topic can also speak about one that already exists. `replaces: 'x'` takes over topic x (core's, or another integration's) so a package whose consumers install it differently can serve its own Getting Started instead of the built-in one. Give the replacement a different `name` and the old name keeps resolving to it, so a link or an agent that learned the old topic still lands in the right place.",
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
type: 'code',
|
|
@@ -133,14 +133,14 @@ export const docs = {
|
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
type: 'prose',
|
|
136
|
-
text: "`extends: 'x'` merges onto a topic instead of owning it: a section whose title matches one in the base replaces that section, and a section the base does not have is appended. Reach for it to correct or add to a topic you do not want to fork
|
|
136
|
+
text: "`extends: 'x'` merges onto a topic instead of owning it: a section whose title matches one in the base replaces that section, and a section the base does not have is appended. Reach for it to correct or add to a topic you do not want to fork: a fork of someone else's guide stops receiving their fixes the day you write it.",
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
type: 'list',
|
|
140
140
|
style: 'unordered',
|
|
141
141
|
items: [
|
|
142
142
|
'A topic name is a CLI argument and a docsite path, so it may hold only letters, digits, `_` and `-`.',
|
|
143
|
-
"A name that collides with an existing topic and declares neither `replaces` nor `extends` is an error, not a silent override
|
|
143
|
+
"A name that collides with an existing topic and declares neither `replaces` nor `extends` is an error, not a silent override; the CLI will not guess which one you meant.",
|
|
144
144
|
'`replaces` and `extends` are exclusive: a topic either takes another\'s place or merges onto it.',
|
|
145
145
|
'Two integrations replacing one topic is a warning, and the one configured later in `astryx.config` wins.',
|
|
146
146
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7-canary.405f1ee",
|
|
4
4
|
"displayName": "CLI",
|
|
5
5
|
"description": "Scaffold projects, browse templates, generate themes, and get agent-ready docs from the command line.",
|
|
6
6
|
"author": "Meta Open Source",
|
|
@@ -87,10 +87,10 @@
|
|
|
87
87
|
"zod": "^4.4.3"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
|
-
"@astryxdesign/charts": "
|
|
91
|
-
"@astryxdesign/core": "
|
|
92
|
-
"@astryxdesign/lab": "
|
|
93
|
-
"@astryxdesign/theme-neutral": "
|
|
90
|
+
"@astryxdesign/charts": "0.4.7-canary.405f1ee",
|
|
91
|
+
"@astryxdesign/core": "0.4.7-canary.405f1ee",
|
|
92
|
+
"@astryxdesign/lab": "0.4.7-canary.405f1ee",
|
|
93
|
+
"@astryxdesign/theme-neutral": "0.4.7-canary.405f1ee",
|
|
94
94
|
"gpt-tokenizer": "^3.4.0"
|
|
95
95
|
},
|
|
96
96
|
"peerDependenciesMeta": {
|
|
@@ -108,10 +108,10 @@
|
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
|
-
"@astryxdesign/charts": "
|
|
112
|
-
"@astryxdesign/core": "
|
|
113
|
-
"@astryxdesign/lab": "
|
|
114
|
-
"@astryxdesign/theme-neutral": "
|
|
111
|
+
"@astryxdesign/charts": "0.4.7-canary.405f1ee",
|
|
112
|
+
"@astryxdesign/core": "0.4.7-canary.405f1ee",
|
|
113
|
+
"@astryxdesign/lab": "0.4.7-canary.405f1ee",
|
|
114
|
+
"@astryxdesign/theme-neutral": "0.4.7-canary.405f1ee",
|
|
115
115
|
"gpt-tokenizer": "^3.4.0"
|
|
116
116
|
},
|
|
117
117
|
"scripts": {
|