@camstack/develop 0.1.34 → 0.1.36
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The ONE parser for "which hub": every tool that takes a server (the CLI's
|
|
3
3
|
* login/whoami/deploy/dev/watch, `scripts/hub/hub.mjs`, the operator MCP)
|
|
4
|
-
* passes its input through {@link normalizeHubAddress}, so `192.
|
|
4
|
+
* passes its input through {@link normalizeHubAddress}, so `192.0.2.20`,
|
|
5
5
|
* `hub.local:4443` and `https://[fe80::1]:4443/` all name the same canonical
|
|
6
6
|
* `https://<host>:<port>` and a typo fails the same way everywhere.
|
|
7
7
|
*
|
package/dist/hub/hub-address.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The ONE parser for "which hub": every tool that takes a server (the CLI's
|
|
3
3
|
* login/whoami/deploy/dev/watch, `scripts/hub/hub.mjs`, the operator MCP)
|
|
4
|
-
* passes its input through {@link normalizeHubAddress}, so `192.
|
|
4
|
+
* passes its input through {@link normalizeHubAddress}, so `192.0.2.20`,
|
|
5
5
|
* `hub.local:4443` and `https://[fe80::1]:4443/` all name the same canonical
|
|
6
6
|
* `https://<host>:<port>` and a typo fails the same way everywhere.
|
|
7
7
|
*
|
package/dist/hub/hub-url.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* 5. the cached `camstack login` session's server
|
|
10
10
|
*
|
|
11
11
|
* Sources 1-4 are operator-typed, so each goes through `normalizeHubAddress`
|
|
12
|
-
* (`192.
|
|
12
|
+
* (`192.0.2.20` -> `https://192.0.2.20:4443`); a malformed value throws a
|
|
13
13
|
* `HubAddressError` rather than being used as written.
|
|
14
14
|
*/
|
|
15
15
|
import * as fs from 'node:fs';
|
|
@@ -63,7 +63,7 @@ export type ${typeName} = InferProvider<typeof ${exportName}>
|
|
|
63
63
|
'Hand-edit packages/types/src/capabilities/index.ts (re-export + AnyCapability)',
|
|
64
64
|
'npm run codegen',
|
|
65
65
|
'Declare the cap by name in the addon manifest and implement the provider',
|
|
66
|
-
'Append ../planning/sessions/<YYYY-MM>.md (
|
|
66
|
+
'Append ../planning/sessions/<YYYY-MM>.md (private diary, not published); run npm run docs:check',
|
|
67
67
|
],
|
|
68
68
|
};
|
|
69
69
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/develop",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.36",
|
|
4
4
|
"description": "CamStack developer tooling — catalogue, scaffold, validate, and example lookup shared by the CLI and MCP server.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -12,7 +12,12 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "https://github.com/camstack/server"
|
|
15
|
+
"url": "https://github.com/camstack/server.git",
|
|
16
|
+
"directory": "packages/develop"
|
|
17
|
+
},
|
|
18
|
+
"homepage": "https://camstack-docs.zentik.app",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/camstack/server/issues"
|
|
16
21
|
},
|
|
17
22
|
"type": "module",
|
|
18
23
|
"main": "./dist/index.js",
|
package/skills/camstack-docs.md
CHANGED
|
@@ -38,7 +38,7 @@ adding one more file to one.
|
|
|
38
38
|
|
|
39
39
|
## What to write (stop at first yes)
|
|
40
40
|
|
|
41
|
-
1. Learned something expensive? →
|
|
41
|
+
1. Learned something expensive? → the session diary is private (`../planning/sessions/<YYYY-MM>.md` when this checkout has one). Include the wrong turns.
|
|
42
42
|
2. Chose between real alternatives? → new `docs/decisions/` record from
|
|
43
43
|
`template.md`. State a violable rule; put the failure in Context.
|
|
44
44
|
3. Changed how a whole subsystem behaves? → matching `docs/architecture/*.md`.
|