@petercjl/cloud-hug-style-transfer 0.5.0 → 0.5.2

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.
@@ -0,0 +1,74 @@
1
+ {
2
+ "schema": "portable-skill-adapter",
3
+ "schema_version": "1.0.0",
4
+ "platform": "generic",
5
+ "mappings": [
6
+ {
7
+ "capability_id": "media.image.inspect",
8
+ "status": "implemented",
9
+ "features": [
10
+ "local-image",
11
+ "visual-inspection"
12
+ ],
13
+ "implementation": {
14
+ "type": "agent-native",
15
+ "discovery": "Inspect the current host tool catalog and schemas; verify reference input and result delivery before invoking.",
16
+ "invocation": "Use the current host image-viewing tool to inspect actual local source, reference and output pixels; require a vision-capable model.",
17
+ "configuration": "Host-managed account and provider authorization; no credentials bundled."
18
+ },
19
+ "normalization": "Success: {ok:true,artifacts:[],metadata:{},task_id:null,cost:null,warnings:[]}; failure: {ok:false,code,message,capability_id}.",
20
+ "evidence": []
21
+ },
22
+ {
23
+ "capability_id": "media.image.edit",
24
+ "status": "implemented",
25
+ "features": [
26
+ "multiple-references",
27
+ "reference-image-edit",
28
+ "local-reference-input",
29
+ "viewable-output"
30
+ ],
31
+ "implementation": {
32
+ "type": "cli",
33
+ "discovery": "Run cloud-hug-style-transfer doctor --json; require dependencies.media.ok and use its verified invocation. Resolve sealseek-media via that CLI skill source --json and load the complete current SKILL.md plus its current host adapter.",
34
+ "invocation": "Follow the current sealseek-media Discover/Prepare/Validate/Submit/Follow/Deliver contract. Pass application-owned prompt and ordered local references, dry-run first, submit authorized generation via --via sealseek --submit, preserve task IDs and verify local output.",
35
+ "configuration": "Required @petercjl/sealseek-media-cli >=0.6.1; private media-package authentication, network and credits. Optional CLOUD_HUG_MEDIA_ROOT points to its installed package root.",
36
+ "failure": "Missing or incompatible package/Skill pauses the entire task before section 1; offer the minimal install prompt and resume only after verification. Service/feature failures pause without native-generation fallback."
37
+ },
38
+ "normalization": "Success: {ok:true,artifacts:[],metadata:{},task_id:null,cost:null,warnings:[]}; failure: {ok:false,code,message,capability_id}.",
39
+ "evidence": [
40
+ "Canonical sealseek-media 0.6.1 CLI/Skill and live capabilities inspected; paid generation and full host flow not tested."
41
+ ]
42
+ },
43
+ {
44
+ "capability_id": "media.canvas.compare",
45
+ "status": "implemented",
46
+ "features": [
47
+ "new-canvas",
48
+ "source-upload",
49
+ "actual-dimensions",
50
+ "explicit-placement",
51
+ "idempotent-pair-import",
52
+ "verified-save"
53
+ ],
54
+ "implementation": {
55
+ "type": "cli",
56
+ "discovery": "Use the verified media invocation from doctor; load canonical sealseek-media Skill and its current canvas creation, upload, inspection and explicit batch contract.",
57
+ "invocation": "Follow references/canvas-comparison.md for application naming, pairing, row state and layout; use media CLI canvas create, image upload, media inspect, canvas batch and canvas get. Pass an explicit canvas ID and archive none during generation; archive each pair after completion.",
58
+ "configuration": "Existing media-package private authentication and network. canvas_contract version 1; no new provider integration.",
59
+ "failure": "Pause on missing canvas contract, failed/uncertain creation, upload or pair write. Preserve IDs and original batch; inspect the same canvas before recovery."
60
+ },
61
+ "normalization": "Success includes canvas_id, canvas_url and verified pair positions; failure retains code, task/canvas IDs and recovery state.",
62
+ "evidence": [
63
+ "Current media CLI contract inspected; deterministic geometry and batch dry-run tested separately from real canvas writes."
64
+ ]
65
+ }
66
+ ],
67
+ "operating_systems": {
68
+ "macos": "implemented",
69
+ "windows": "implemented"
70
+ },
71
+ "notes": "Image generation uses the same required sealseek-media-cli on every host. Native viewing and command execution still require host verification. Missing media dependency pauses all tasks.",
72
+ "host_generation_tested": false,
73
+ "local_execution": "Use this installed Skill’s scripts/run.mjs for owning-package commands; resolve external media through its independently managed canonical contract."
74
+ }
@@ -71,5 +71,6 @@
71
71
  "windows": "implemented"
72
72
  },
73
73
  "notes": "Image generation uses the same required sealseek-media-cli on every host. Native viewing and command execution still require host verification. Missing media dependency pauses all tasks.",
74
- "host_generation_tested": false
74
+ "host_generation_tested": false,
75
+ "local_execution": "Use this installed Skill’s scripts/run.mjs for owning-package commands; resolve external media through its independently managed canonical contract."
75
76
  }
@@ -71,5 +71,6 @@
71
71
  "windows": "implemented"
72
72
  },
73
73
  "notes": "Image generation uses the same required sealseek-media-cli on every host. Native viewing and command execution still require host verification. Missing media dependency pauses all tasks.",
74
- "host_generation_tested": false
74
+ "host_generation_tested": false,
75
+ "local_execution": "Use this installed Skill’s scripts/run.mjs for owning-package commands; resolve external media through its independently managed canonical contract."
75
76
  }
@@ -2,9 +2,7 @@
2
2
  "schema": "portable-skill-capabilities",
3
3
  "schema_version": "1.0.0",
4
4
  "target_platforms": [
5
- "codex",
6
- "sealseek",
7
- "workbuddy"
5
+ "generic"
8
6
  ],
9
7
  "capabilities": [
10
8
  {
@@ -134,5 +132,586 @@
134
132
  "preflight": "cloud-hug-style-transfer doctor --json",
135
133
  "on_missing": "pause-entire-task"
136
134
  }
137
- ]
135
+ ],
136
+ "package_version": "0.5.2",
137
+ "installationLifecycle": {
138
+ "agentNeutral": true,
139
+ "skillRequired": true,
140
+ "updateRequiresSkillSync": true,
141
+ "required_components": [
142
+ "cli",
143
+ "skill",
144
+ "runtime"
145
+ ],
146
+ "installGuide": "INSTALL.md",
147
+ "updateGuide": "UPDATE.md",
148
+ "explicitTargetRequired": true,
149
+ "hostDiscoveryVerification": true,
150
+ "physicalCopies": true,
151
+ "isolatedRuntime": true,
152
+ "sharedLinks": false,
153
+ "postBumpIdentityValidation": true,
154
+ "install": "Resolve own directory; skill install --agent AGENT --path EXACT_SKILL_DIR --json",
155
+ "update": "Resolve selected target first; update install --yes --path EXACT_SKILL_DIR --json",
156
+ "verification": "Local runtime version, managed hashes, then host-native discovery",
157
+ "target_scope": "selected current Agent only",
158
+ "targetRequired": true,
159
+ "hostRegistrationRequired": true,
160
+ "installationMode": "copy",
161
+ "sharedLinksAllowed": false,
162
+ "isolatedRuntimeRequired": true
163
+ },
164
+ "automaticUpdates": {
165
+ "enabledByDefault": true,
166
+ "defaultMode": "notify",
167
+ "intervalHours": 24,
168
+ "timeoutMs": 2000,
169
+ "trigger": "ordinary task entry; excludes help/version/source/task polling",
170
+ "configuration": "update policy --mode off|notify|auto --yes --path EXACT_SKILL_DIR",
171
+ "disable": "CLOUD_HUG_AUTO_UPDATE=0",
172
+ "installation": "explicit standing authorization; compatible stable version only",
173
+ "recovery": "update operation and resume reuse verified candidate"
174
+ },
175
+ "commandContracts": {
176
+ "version": {
177
+ "options": {
178
+ "--json": {
179
+ "type": "boolean",
180
+ "description": "Machine-readable JSON (also the default)."
181
+ },
182
+ "--help": {
183
+ "type": "boolean",
184
+ "description": "Read-only help for this command."
185
+ }
186
+ },
187
+ "sideEffects": "none"
188
+ },
189
+ "capabilities": {
190
+ "options": {
191
+ "--json": {
192
+ "type": "boolean",
193
+ "description": "Machine-readable JSON (also the default)."
194
+ },
195
+ "--help": {
196
+ "type": "boolean",
197
+ "description": "Read-only help for this command."
198
+ }
199
+ },
200
+ "sideEffects": "none"
201
+ },
202
+ "doctor": {
203
+ "options": {
204
+ "--json": {
205
+ "type": "boolean",
206
+ "description": "Machine-readable JSON (also the default)."
207
+ },
208
+ "--help": {
209
+ "type": "boolean",
210
+ "description": "Read-only help for this command."
211
+ },
212
+ "--agent": {
213
+ "type": "string",
214
+ "description": "Target host; defaults to codex."
215
+ },
216
+ "--root": {
217
+ "type": "string",
218
+ "description": "Skill parent directory; the CLI appends cloud-hug-style-transfer. Requires --agent on doctor and update."
219
+ },
220
+ "--no-auto-update": {
221
+ "type": "boolean",
222
+ "description": "Perform diagnosis without an automatic update preflight."
223
+ }
224
+ },
225
+ "sideEffects": "none"
226
+ },
227
+ "canvas row": {
228
+ "options": {
229
+ "--json": {
230
+ "type": "boolean",
231
+ "description": "Machine-readable JSON (also the default)."
232
+ },
233
+ "--help": {
234
+ "type": "boolean",
235
+ "description": "Read-only help for this command."
236
+ },
237
+ "--input": {
238
+ "type": "string",
239
+ "required": true,
240
+ "description": "Comparison input JSON file."
241
+ }
242
+ },
243
+ "sideEffects": "none"
244
+ },
245
+ "skill source": {
246
+ "options": {
247
+ "--json": {
248
+ "type": "boolean"
249
+ },
250
+ "--help": {
251
+ "type": "boolean"
252
+ }
253
+ },
254
+ "sideEffects": "none"
255
+ },
256
+ "skill status": {
257
+ "options": {
258
+ "--json": {
259
+ "type": "boolean"
260
+ },
261
+ "--help": {
262
+ "type": "boolean"
263
+ },
264
+ "--agent": {
265
+ "type": "string",
266
+ "description": "Valid current Agent name; generic fallback for unnamed hosts."
267
+ },
268
+ "--path": {
269
+ "type": "string",
270
+ "description": "Exact Skill destination resolved by the current Agent."
271
+ },
272
+ "--root": {
273
+ "type": "string",
274
+ "description": "Legacy explicit parent directory; appends the canonical Skill name."
275
+ },
276
+ "--home": {
277
+ "type": "string",
278
+ "description": "Legacy explicitly resolved host root; appends skills and Skill name."
279
+ },
280
+ "--target-directory": {
281
+ "type": "string",
282
+ "description": "Explicit exact Skill destination alias."
283
+ }
284
+ },
285
+ "sideEffects": "none"
286
+ },
287
+ "skill install": {
288
+ "options": {
289
+ "--json": {
290
+ "type": "boolean"
291
+ },
292
+ "--help": {
293
+ "type": "boolean"
294
+ },
295
+ "--agent": {
296
+ "type": "string",
297
+ "description": "Valid current Agent name; generic fallback for unnamed hosts."
298
+ },
299
+ "--path": {
300
+ "type": "string",
301
+ "description": "Exact Skill destination resolved by the current Agent."
302
+ },
303
+ "--root": {
304
+ "type": "string",
305
+ "description": "Legacy explicit parent directory; appends the canonical Skill name."
306
+ },
307
+ "--home": {
308
+ "type": "string",
309
+ "description": "Legacy explicitly resolved host root; appends skills and Skill name."
310
+ },
311
+ "--target-directory": {
312
+ "type": "string",
313
+ "description": "Explicit exact Skill destination alias."
314
+ },
315
+ "--mode": {
316
+ "type": "string",
317
+ "enum": [
318
+ "copy",
319
+ "link"
320
+ ],
321
+ "description": "Legacy link requests migrate to a physical copy."
322
+ },
323
+ "--legacy-source": {
324
+ "type": "string",
325
+ "description": "Explicit owning package root for verified legacy migration."
326
+ },
327
+ "--force": {
328
+ "type": "boolean",
329
+ "description": "Accepted legacy flag; local edit protection remains enforced."
330
+ },
331
+ "--backup-edits": {
332
+ "type": "boolean",
333
+ "description": "Accepted legacy flag; local edits require separate reconciliation."
334
+ }
335
+ },
336
+ "sideEffects": "local-write"
337
+ },
338
+ "skill update": {
339
+ "options": {
340
+ "--json": {
341
+ "type": "boolean"
342
+ },
343
+ "--help": {
344
+ "type": "boolean"
345
+ },
346
+ "--agent": {
347
+ "type": "string",
348
+ "description": "Valid current Agent name; generic fallback for unnamed hosts."
349
+ },
350
+ "--path": {
351
+ "type": "string",
352
+ "description": "Exact Skill destination resolved by the current Agent."
353
+ },
354
+ "--root": {
355
+ "type": "string",
356
+ "description": "Legacy explicit parent directory; appends the canonical Skill name."
357
+ },
358
+ "--home": {
359
+ "type": "string",
360
+ "description": "Legacy explicitly resolved host root; appends skills and Skill name."
361
+ },
362
+ "--target-directory": {
363
+ "type": "string",
364
+ "description": "Explicit exact Skill destination alias."
365
+ },
366
+ "--mode": {
367
+ "type": "string",
368
+ "enum": [
369
+ "copy",
370
+ "link"
371
+ ],
372
+ "description": "Legacy link requests migrate to a physical copy."
373
+ },
374
+ "--legacy-source": {
375
+ "type": "string",
376
+ "description": "Explicit owning package root for verified legacy migration."
377
+ },
378
+ "--force": {
379
+ "type": "boolean",
380
+ "description": "Accepted legacy flag; local edit protection remains enforced."
381
+ },
382
+ "--backup-edits": {
383
+ "type": "boolean",
384
+ "description": "Accepted legacy flag; local edits require separate reconciliation."
385
+ }
386
+ },
387
+ "sideEffects": "local-write"
388
+ },
389
+ "update check": {
390
+ "options": {
391
+ "--json": {
392
+ "type": "boolean"
393
+ },
394
+ "--help": {
395
+ "type": "boolean"
396
+ }
397
+ },
398
+ "sideEffects": "none"
399
+ },
400
+ "update install": {
401
+ "options": {
402
+ "--json": {
403
+ "type": "boolean"
404
+ },
405
+ "--help": {
406
+ "type": "boolean"
407
+ },
408
+ "--agent": {
409
+ "type": "string",
410
+ "description": "Valid current Agent name; generic fallback for unnamed hosts."
411
+ },
412
+ "--path": {
413
+ "type": "string",
414
+ "description": "Exact Skill destination resolved by the current Agent."
415
+ },
416
+ "--root": {
417
+ "type": "string",
418
+ "description": "Legacy explicit parent directory; appends the canonical Skill name."
419
+ },
420
+ "--home": {
421
+ "type": "string",
422
+ "description": "Legacy explicitly resolved host root; appends skills and Skill name."
423
+ },
424
+ "--target-directory": {
425
+ "type": "string",
426
+ "description": "Explicit exact Skill destination alias."
427
+ },
428
+ "--yes": {
429
+ "type": "boolean",
430
+ "required": true
431
+ },
432
+ "--candidate": {
433
+ "type": "string",
434
+ "description": "Absolute packed candidate archive for authorized installation."
435
+ },
436
+ "--version": {
437
+ "type": "string",
438
+ "description": "Exact stable registry version."
439
+ }
440
+ },
441
+ "sideEffects": "package-and-skill-update"
442
+ },
443
+ "update operation": {
444
+ "options": {
445
+ "--json": {
446
+ "type": "boolean"
447
+ },
448
+ "--help": {
449
+ "type": "boolean"
450
+ },
451
+ "--agent": {
452
+ "type": "string",
453
+ "description": "Valid current Agent name; generic fallback for unnamed hosts."
454
+ },
455
+ "--path": {
456
+ "type": "string",
457
+ "description": "Exact Skill destination resolved by the current Agent."
458
+ },
459
+ "--root": {
460
+ "type": "string",
461
+ "description": "Legacy explicit parent directory; appends the canonical Skill name."
462
+ },
463
+ "--home": {
464
+ "type": "string",
465
+ "description": "Legacy explicitly resolved host root; appends skills and Skill name."
466
+ },
467
+ "--target-directory": {
468
+ "type": "string",
469
+ "description": "Explicit exact Skill destination alias."
470
+ },
471
+ "--operation": {
472
+ "type": "string"
473
+ }
474
+ },
475
+ "sideEffects": "none"
476
+ },
477
+ "update resume": {
478
+ "options": {
479
+ "--json": {
480
+ "type": "boolean"
481
+ },
482
+ "--help": {
483
+ "type": "boolean"
484
+ },
485
+ "--agent": {
486
+ "type": "string",
487
+ "description": "Valid current Agent name; generic fallback for unnamed hosts."
488
+ },
489
+ "--path": {
490
+ "type": "string",
491
+ "description": "Exact Skill destination resolved by the current Agent."
492
+ },
493
+ "--root": {
494
+ "type": "string",
495
+ "description": "Legacy explicit parent directory; appends the canonical Skill name."
496
+ },
497
+ "--home": {
498
+ "type": "string",
499
+ "description": "Legacy explicitly resolved host root; appends skills and Skill name."
500
+ },
501
+ "--target-directory": {
502
+ "type": "string",
503
+ "description": "Explicit exact Skill destination alias."
504
+ },
505
+ "--yes": {
506
+ "type": "boolean",
507
+ "required": true
508
+ },
509
+ "--operation": {
510
+ "type": "string"
511
+ }
512
+ },
513
+ "sideEffects": "package-and-skill-update"
514
+ },
515
+ "update rollback": {
516
+ "options": {
517
+ "--json": {
518
+ "type": "boolean"
519
+ },
520
+ "--help": {
521
+ "type": "boolean"
522
+ },
523
+ "--agent": {
524
+ "type": "string",
525
+ "description": "Valid current Agent name; generic fallback for unnamed hosts."
526
+ },
527
+ "--path": {
528
+ "type": "string",
529
+ "description": "Exact Skill destination resolved by the current Agent."
530
+ },
531
+ "--root": {
532
+ "type": "string",
533
+ "description": "Legacy explicit parent directory; appends the canonical Skill name."
534
+ },
535
+ "--home": {
536
+ "type": "string",
537
+ "description": "Legacy explicitly resolved host root; appends skills and Skill name."
538
+ },
539
+ "--target-directory": {
540
+ "type": "string",
541
+ "description": "Explicit exact Skill destination alias."
542
+ },
543
+ "--yes": {
544
+ "type": "boolean",
545
+ "required": true
546
+ },
547
+ "--operation": {
548
+ "type": "string"
549
+ }
550
+ },
551
+ "sideEffects": "package-and-skill-update"
552
+ },
553
+ "update policy": {
554
+ "options": {
555
+ "--json": {
556
+ "type": "boolean"
557
+ },
558
+ "--help": {
559
+ "type": "boolean"
560
+ },
561
+ "--agent": {
562
+ "type": "string",
563
+ "description": "Valid current Agent name; generic fallback for unnamed hosts."
564
+ },
565
+ "--path": {
566
+ "type": "string",
567
+ "description": "Exact Skill destination resolved by the current Agent."
568
+ },
569
+ "--root": {
570
+ "type": "string",
571
+ "description": "Legacy explicit parent directory; appends the canonical Skill name."
572
+ },
573
+ "--home": {
574
+ "type": "string",
575
+ "description": "Legacy explicitly resolved host root; appends skills and Skill name."
576
+ },
577
+ "--target-directory": {
578
+ "type": "string",
579
+ "description": "Explicit exact Skill destination alias."
580
+ },
581
+ "--yes": {
582
+ "type": "boolean"
583
+ },
584
+ "--mode": {
585
+ "type": "string",
586
+ "enum": [
587
+ "off",
588
+ "notify",
589
+ "auto"
590
+ ]
591
+ }
592
+ },
593
+ "sideEffects": "local-write",
594
+ "writeCondition": "Only an authorized explicit --mode change writes policy."
595
+ },
596
+ "update status": {
597
+ "options": {
598
+ "--json": {
599
+ "type": "boolean"
600
+ },
601
+ "--help": {
602
+ "type": "boolean"
603
+ },
604
+ "--agent": {
605
+ "type": "string",
606
+ "description": "Valid current Agent name; generic fallback for unnamed hosts."
607
+ },
608
+ "--path": {
609
+ "type": "string",
610
+ "description": "Exact Skill destination resolved by the current Agent."
611
+ },
612
+ "--root": {
613
+ "type": "string",
614
+ "description": "Legacy explicit parent directory; appends the canonical Skill name."
615
+ },
616
+ "--home": {
617
+ "type": "string",
618
+ "description": "Legacy explicitly resolved host root; appends skills and Skill name."
619
+ },
620
+ "--target-directory": {
621
+ "type": "string",
622
+ "description": "Explicit exact Skill destination alias."
623
+ }
624
+ },
625
+ "sideEffects": "none"
626
+ }
627
+ },
628
+ "host_resolution": {
629
+ "fallback_adapter": "generic",
630
+ "eligibility": "Required capabilities, service and OS prerequisites; Agent names are not an allowlist.",
631
+ "destination": "The current Agent resolves an explicit Skill destination from its own host configuration."
632
+ },
633
+ "maintenanceContract": {
634
+ "schemaVersion": 1,
635
+ "agentEligibility": "valid-name-with-generic-fallback",
636
+ "hostDiscoveryAuthority": "host",
637
+ "targetOptions": {
638
+ "--path": {
639
+ "kind": "skill-directory"
640
+ },
641
+ "--target-directory": {
642
+ "kind": "skill-directory"
643
+ },
644
+ "--root": {
645
+ "kind": "skill-parent"
646
+ },
647
+ "--home": {
648
+ "kind": "host-root"
649
+ }
650
+ },
651
+ "source": {
652
+ "name": {
653
+ "field": "name",
654
+ "type": "string"
655
+ },
656
+ "package": {
657
+ "field": "package",
658
+ "type": "string"
659
+ },
660
+ "version": {
661
+ "field": "version",
662
+ "type": "string"
663
+ },
664
+ "path": {
665
+ "field": "source",
666
+ "type": "string"
667
+ }
668
+ },
669
+ "status": {
670
+ "name": {
671
+ "field": "name",
672
+ "type": "string"
673
+ },
674
+ "package": {
675
+ "field": "package",
676
+ "type": "string"
677
+ },
678
+ "version": {
679
+ "field": "version",
680
+ "type": "string"
681
+ },
682
+ "target": {
683
+ "field": "target",
684
+ "type": "string"
685
+ },
686
+ "installed": {
687
+ "field": "installed",
688
+ "type": "boolean"
689
+ },
690
+ "managed": {
691
+ "field": "managed",
692
+ "type": "boolean"
693
+ },
694
+ "current": {
695
+ "field": "up_to_date",
696
+ "type": "boolean"
697
+ },
698
+ "edited": {
699
+ "field": "editedFiles",
700
+ "type": "string[]"
701
+ },
702
+ "verification": {
703
+ "field": "verification",
704
+ "type": "object"
705
+ },
706
+ "recovery": {
707
+ "field": "recovery",
708
+ "type": "object"
709
+ }
710
+ },
711
+ "legacyFields": {
712
+ "current": "boolean alias of up_to_date",
713
+ "edited": "boolean retained; use editedFiles for paths"
714
+ },
715
+ "evidenceReuse": "Reuse matching package/version/target/integrity receipts within the operation; repeat only after mutation, conflict or stale channel evidence."
716
+ }
138
717
  }