made-market 0.4.3 → 0.4.4

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/lib/plugin.mjs CHANGED
@@ -44,8 +44,10 @@ export function isKnownCommand(name, known) {
44
44
  return name.startsWith('action.') || known.includes(name);
45
45
  }
46
46
 
47
- /** Event and command names share one shape, mirroring the bridge validator. */
48
- const NAME = /^[a-z][a-z0-9_]{0,15}(?:\.[a-z][a-z0-9_]{0,15}){0,2}$/;
47
+ /** Event and command names share one shape, mirroring the bridge validator.
48
+ * Uppercase segments carry the abstract action slots (`action.A1`–`A9`, the
49
+ * two-level binding model in docs/SPRITES.md); legacy names stay lowercase. */
50
+ const NAME = /^[a-zA-Z][a-zA-Z0-9_]{0,15}(?:\.[a-zA-Z][a-zA-Z0-9_]{0,15}){0,2}$/;
49
51
 
50
52
  const visible = (value, max) => typeof value === 'string' && value.trim()
51
53
  && Buffer.byteLength(value) <= max && !/[\p{Cc}\p{Cf}]/u.test(value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "made-market",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "码得(made)公开插件市场的命令行工具:列出、搜索、安装主题/管控/agent 包,以及登录后发布新包。市场服务端在 github.com/jobop/made-market 仓库内,不随本包分发。",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -45,4 +45,4 @@
45
45
  "prepublishOnly": "cd .. && node tools/validate.mjs && node tools/build.mjs && node --test",
46
46
  "prepack": "mkdir -p registry && cp ../registry/index.json registry/index.json"
47
47
  }
48
- }
48
+ }
@@ -80,7 +80,7 @@
80
80
  ],
81
81
  "payloadBytes": 209717,
82
82
  "archiveBytes": 39822,
83
- "sha256": "f99ab016bda97781fba979cf5d31ffec18edf1ea91a2339c1d7e4cf63f36a0a7",
83
+ "sha256": "b656724a6be3466c0ad52010bfa9f2a3b043595b6b7b6bed90a01bdfcca3ba95",
84
84
  "download": "packages/sunset-1.0.0.tar.gz",
85
85
  "swatch": [
86
86
  "#e0834a",
@@ -153,7 +153,7 @@
153
153
  ],
154
154
  "payloadBytes": 212917,
155
155
  "archiveBytes": 44910,
156
- "sha256": "a48c12c45c83185041a25ea0f408f8ce15a1632d4473440a0a1fbc7b5f674cd1",
156
+ "sha256": "3894aadcfdba77eb351abc4381d3b76141ed0d6a15d8b75a982a64092e1300fa",
157
157
  "download": "packages/ocean-1.0.0.tar.gz",
158
158
  "swatch": [
159
159
  "#2fa3b8",
@@ -226,7 +226,7 @@
226
226
  ],
227
227
  "payloadBytes": 198517,
228
228
  "archiveBytes": 31125,
229
- "sha256": "9dd6037414f9303ecc507c4348380baeaf8dd2a97c98c58748410c18b37c014e",
229
+ "sha256": "ff66fd400882e4ce3017b32782825aca59e60e5a407c793b175d2c4500c1cb97",
230
230
  "download": "packages/graphite-1.0.0.tar.gz",
231
231
  "swatch": [
232
232
  "#8e9aa6",
@@ -299,7 +299,7 @@
299
299
  ],
300
300
  "payloadBytes": 206517,
301
301
  "archiveBytes": 34163,
302
- "sha256": "76095ce19587f8e0bc7ba5aeb7ca62f1e622bc8ef14847fdb3479dbf0ea87b29",
302
+ "sha256": "24dbf64bb96520a16efbfbb553ccff91190ae4fde5b18444f3c6a7ee97b0993f",
303
303
  "download": "packages/bamboo-1.0.0.tar.gz",
304
304
  "swatch": [
305
305
  "#5aa85e",
@@ -367,7 +367,7 @@
367
367
  ],
368
368
  "payloadBytes": 1576,
369
369
  "archiveBytes": 1067,
370
- "sha256": "35c4768f607bb936b2e263e972895920c66cce74a8829d944cd86c6d2e5b0030",
370
+ "sha256": "c3f6afae9ef5f47b622c74c2faf7174ba2ba38a9db2d19651a992874fd6f5f9a",
371
371
  "download": "packages/theme-cycler-1.0.0.tar.gz",
372
372
  "sourcePath": "packages/control/theme-cycler"
373
373
  },
@@ -430,7 +430,7 @@
430
430
  ],
431
431
  "payloadBytes": 3023,
432
432
  "archiveBytes": 1808,
433
- "sha256": "0c7c6453b78a76c327282dfd62f6d023e90dc12a2c7458a67b1b43e5e20e15ba",
433
+ "sha256": "ab7acdc88895a391596182fa9425e1e81d0b7ec5de73c035b9fe0ee2a7a3a123",
434
434
  "download": "packages/webhook-notify-1.0.0.tar.gz",
435
435
  "sourcePath": "packages/control/webhook-notify"
436
436
  },
@@ -492,7 +492,7 @@
492
492
  ],
493
493
  "payloadBytes": 2370,
494
494
  "archiveBytes": 1450,
495
- "sha256": "cea53eedab0232272ed6f5ebd5c6b8a7250ff08240fb2d754b16b1e7c9088d7a",
495
+ "sha256": "43512f16e9559f5984ab9cf827b9b8e0e7c5671bc1cd1cf211adc0b0344e9f37",
496
496
  "download": "packages/key-chime-1.0.0.tar.gz",
497
497
  "sourcePath": "packages/control/key-chime"
498
498
  },
@@ -554,7 +554,7 @@
554
554
  ],
555
555
  "payloadBytes": 3940,
556
556
  "archiveBytes": 1959,
557
- "sha256": "bd4c7ae744be6a99dacaf663a0624e61e568f8da5e83566eb104127d39ddf11d",
557
+ "sha256": "c131b7a0e67a9e0a1e4ab23b9dcf5ec05f7bb73c8b43621fe849c6762009c4e0",
558
558
  "download": "packages/alarm-clock-1.0.0.tar.gz",
559
559
  "sourcePath": "packages/control/alarm-clock"
560
560
  },
@@ -621,7 +621,7 @@
621
621
  ],
622
622
  "payloadBytes": 3793,
623
623
  "archiveBytes": 1612,
624
- "sha256": "aaf99b7ab9af49712f9ff5da37695c4d41cf89e09ae6ec5168057dede7075546",
624
+ "sha256": "7f3d1045be427b2d4cbe0b070cb63ca0fc1fe127c63201f9423f23970d37f736",
625
625
  "download": "packages/demo-echo-1.0.0.tar.gz",
626
626
  "icon": {
627
627
  "format": "indexed4",
@@ -702,7 +702,7 @@
702
702
  ],
703
703
  "payloadBytes": 6098,
704
704
  "archiveBytes": 2672,
705
- "sha256": "8da05c474aa4b0d3d8913e16109b0ed887a4bab2d1d136527bb85bd798860cff",
705
+ "sha256": "0a33b62f6f186a80d370012ddd146f9c504daf182503cc23cb4c13bd9c7e35d3",
706
706
  "download": "packages/ollama-agent-1.0.0.tar.gz",
707
707
  "icon": {
708
708
  "format": "indexed4",
@@ -786,7 +786,7 @@
786
786
  ],
787
787
  "payloadBytes": 5814,
788
788
  "archiveBytes": 2456,
789
- "sha256": "12de415fa0bb0bfaa3eb119c5e0930b3d3239836d184eab781dc1b36be93d06a",
789
+ "sha256": "541eef0c992b636cfe5d0b8f1f03dffa15a58b414f061ed392971bd3723a6c0f",
790
790
  "download": "packages/shell-agent-1.0.0.tar.gz",
791
791
  "icon": {
792
792
  "format": "indexed4",