@hasna/skills 0.10.81 → 0.10.82

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/README.md CHANGED
@@ -2628,6 +2628,41 @@ Publication recovery results report `executionEnabled: null` because their durab
2628
2628
  receipts contain no server capability observation. Use `getCapability()` for the
2629
2629
  server's current boolean capability; it does not authorize an individual run.
2630
2630
 
2631
+ Private version history is a separate read-only command. Use the private skill
2632
+ UUID returned by creation or workspace metadata, with the same named customer
2633
+ profile or observed account/membership IDs and fresh verification:
2634
+
2635
+ ```sh
2636
+ skills --profile customer publication versions <skill-uuid> \
2637
+ --email you@example.com --code-stdin --limit 20 --json
2638
+ ```
2639
+
2640
+ It reads one page from the existing interactive
2641
+ `GET /api/v1/skills/<skill-uuid>/versions` route. JSON preserves the current
2642
+ version and version UUID, version rows, exact creation/release dates and
2643
+ `nextCursor`. A missing release date stays null. Supply `--cursor <nextCursor>`
2644
+ and fresh verification for another page; null means the end. An empty page does
2645
+ not imply an unpublished skill: the current version is shown separately. Human
2646
+ output marks the current version and shows the cursor when more rows exist.
2647
+ Errors return no partial history and make no automatic retry. Viewer memberships
2648
+ can read history without gaining publication rights. No recovery directory,
2649
+ API key creation, source read or credential write is needed.
2650
+
2651
+ The existing `skills versions <name>` remains the public slug/API-key history
2652
+ command. It does not decode private interactive history. Publication status
2653
+ continues to inspect an exact saved intent with `publication status`; version
2654
+ history does not discover the latest publication attempt or authorize execution.
2655
+
2656
+ The read-only `RemotePrivateSkillHistoryClient` and `PrivateSkillVersionHistory`
2657
+ are exported from both root and `./sdk`. Obtain one with
2658
+ `RemoteSkillsAuthClient.openPrivateSkillHistory(email, code, context)` through
2659
+ fresh interactive workspace verification, then call
2660
+ `listVersions(skillId, { limit, cursor, signal, timeoutMs })`. Its session stays
2661
+ private and no credentials are saved. Target/profile and membership checks are
2662
+ shared with publication sign-in; gateway credentials are not sent to another
2663
+ instance. The SDK returns only bound history metadata and keeps the same
2664
+ one-page pagination contract as the CLI.
2665
+
2631
2666
  The SDK exports `RemotePrivatePublicationsClient` through both the root and
2632
2667
  `./sdk`; `RemoteSkillsAuthClient.openPrivatePublications` creates one from fresh
2633
2668
  workspace verification. Call its `createSkill({ slug, displayName, confirm: true })`