@misaka-net/misakanet-setup 0.7.0 → 0.7.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/bin/misakanet-setup.mjs +6 -2
- package/package.json +1 -1
package/bin/misakanet-setup.mjs
CHANGED
|
@@ -157,7 +157,7 @@ function readText(path) {
|
|
|
157
157
|
* except the two that name the version (measured 2026-10-22: the 0.6.0 release pull request
|
|
158
158
|
* failed 9 e2e legs on exactly that).
|
|
159
159
|
*/
|
|
160
|
-
const VERSION = '0.7.
|
|
160
|
+
const VERSION = '0.7.1' // x-release-please-version
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* The shape of a client id, in one place.
|
|
@@ -3273,7 +3273,11 @@ if (LIST_WRITES) {
|
|
|
3273
3273
|
// The rows come from the shared manifest builder, the same list the install preview prints: one
|
|
3274
3274
|
// source of truth, so the manifest an operator approves and the preview a user reads cannot
|
|
3275
3275
|
// disagree about what this command would write.
|
|
3276
|
-
|
|
3276
|
+
// Tier ③ is not always a hook: `hook.mjs`, the endpoint record and the version stamp live in the
|
|
3277
|
+
// same state directory, and a target with no hook mechanism (Cursor, mcode, …) still gets that
|
|
3278
|
+
// directory written. Calling the whole tier "装钩子" told those users they were approving a
|
|
3279
|
+
// behaviour change they were not (#3777 follow-up).
|
|
3280
|
+
const tiers = { 1: '① 注册 MCP 端点', 2: '② 写规则块(改行为)', 3: '③ 钩子/状态目录' };
|
|
3277
3281
|
const list = buildWriteManifest(targets);
|
|
3278
3282
|
for (const row of list) {
|
|
3279
3283
|
console.log(`tier${row.tier}\t${tiers[row.tier]}\t${row.path}\t${row.action}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@misaka-net/misakanet-setup",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "MisakaNet failure lessons for your agents: writes an MCP endpoint into each agent config, rules blocks where the client takes one, and a Claude Code hook. At most one anonymous request leaves this machine at install; then only the agent's calls — unless MISAKANET_HOOK_FETCH=1 (off by default) the hook sends the failed call's error text or command.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"misakanet-setup": "bin/misakanet-setup.mjs"
|