@hop-top/kit 0.4.0-alpha.2 → 0.5.0-alpha.0

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/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@ All notable changes to `@hop-top/kit` are documented in this file.
4
4
  Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/);
5
5
  versions follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.5.0-alpha.0](https://github.com/hop-top/poly-kit/compare/kit-ts/v0.4.0-alpha.2...kit-ts/v0.5.0-alpha.0) (2026-06-07)
8
+
9
+ The hop-top team is happy to announce Kit's TS SDK 0.5.0-alpha.0. This release includes miscellaneous improvements.
10
+
11
+
12
+ ### Refactored
13
+
14
+ * migrate uri+hdl to cite across Go/TS/Py/Rs/PHP
15
+
16
+ Full diff: [kit-ts/v0.4.0-alpha.2...kit-ts/v0.5.0-alpha.0](https://github.com/hop-top/poly-kit/compare/kit-ts/v0.4.0-alpha.2...kit-ts/v0.5.0-alpha.0)
17
+
7
18
  ## [0.4.0-alpha.2](https://github.com/hop-top/poly-kit/compare/kit-ts/v0.4.0-alpha.1...kit-ts/v0.4.0-alpha.2) (2026-06-03)
8
19
 
9
20
  The hop-top team is happy to announce Kit's TS SDK 0.4.0-alpha.2. This release includes new features.
package/README.md CHANGED
@@ -147,7 +147,7 @@ render(process.stdout, JSON_FORMAT, { ok: true });
147
147
  - `@hop-top/kit/upgrade` — semver upgrade detection.
148
148
  - `@hop-top/kit/llm` / `routellm` — LLM client + routing helpers.
149
149
  - `@hop-top/kit/alias` — alias resolution + completion.
150
- - `@hop-top/kit/uri` — thin facade over `@hop-top/uri` for URI parsing,
150
+ - `@hop-top/kit/uri` — thin facade over `@hop-top/cite` for URI parsing,
151
151
  action resolution, completions, registries, and OS handler metadata.
152
152
  - `@hop-top/kit/tui` — TUI toolkit (parity, anim, prompts).
153
153
 
@@ -155,7 +155,7 @@ See package.json `exports` for the full list.
155
155
 
156
156
  ## URI facade
157
157
 
158
- The URI module delegates to `@hop-top/uri`; it does not reimplement the URI
158
+ The URI module delegates to `@hop-top/cite`; it does not reimplement the URI
159
159
  contract. It mirrors the kit Go URI command intent for SDK consumers:
160
160
 
161
161
  ```ts
@@ -280,3 +280,5 @@ landed; TS-side wiring is deferred until the directory exists.
280
280
  ## License
281
281
 
282
282
  MIT.
283
+
284
+ <!-- release: track @hop-top/cite ^0.1.0 -->
@@ -13,7 +13,7 @@ import { z } from 'zod';
13
13
  * the runtime guarantees provided by `typeid-js`.
14
14
  *
15
15
  * URI composition (e.g. `tlc://task/task_…`) is NOT in this module —
16
- * callers should use the `@hop-top/uri` package directly. This
16
+ * callers should use the `@hop-top/cite` package directly. This
17
17
  * keeps `kit/id` free of any transitive dependency on the URI
18
18
  * registry, per the ADR's scope boundary.
19
19
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hop-top/kit",
3
- "version": "0.4.0-alpha.2",
3
+ "version": "0.5.0-alpha.0",
4
4
  "description": "Shared CLI utilities for hop-top tools — TypeScript/CJS edition",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",
@@ -104,7 +104,7 @@
104
104
  "@clack/prompts": "^1.2.0",
105
105
  "@connectrpc/connect": "^2.1.1",
106
106
  "@connectrpc/connect-web": "^2.1.1",
107
- "@hop-top/uri": "^0.2.0-alpha.1",
107
+ "@hop-top/cite": "^0.1.0",
108
108
  "better-sqlite3": "^12.8.0",
109
109
  "commander": "^14.0.3",
110
110
  "csv-stringify": "^6.7.0",
package/src/id/index.ts CHANGED
@@ -11,7 +11,7 @@
11
11
  * the runtime guarantees provided by `typeid-js`.
12
12
  *
13
13
  * URI composition (e.g. `tlc://task/task_…`) is NOT in this module —
14
- * callers should use the `@hop-top/uri` package directly. This
14
+ * callers should use the `@hop-top/cite` package directly. This
15
15
  * keeps `kit/id` free of any transitive dependency on the URI
16
16
  * registry, per the ADR's scope boundary.
17
17
  */
package/src/uri.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Thin facade over @hop-top/uri for kit SDK consumers.
2
+ * Thin facade over @hop-top/cite for kit SDK consumers.
3
3
  *
4
- * The URI implementation lives in @hop-top/uri; this module only adapts the
4
+ * The URI implementation lives in @hop-top/cite; this module only adapts the
5
5
  * kit-facing helper names used by the Go URI command group.
6
6
  */
7
7
 
@@ -110,16 +110,16 @@ interface UriModule {
110
110
  snippet(platform: string, spec: HandlerSpec): string;
111
111
  }
112
112
 
113
- // @hop-top/uri is intentionally a runtime dependency of the facade. Keeping the
113
+ // @hop-top/cite is intentionally a runtime dependency of the facade. Keeping the
114
114
  // import as require avoids duplicating its declarations in this package.
115
115
  // eslint-disable-next-line @typescript-eslint/no-require-imports
116
- const uri = require('@hop-top/uri') as UriModule;
116
+ const uri = require('@hop-top/cite') as UriModule;
117
117
 
118
118
  export const defaultPolicy: Policy = uri.defaultPolicy;
119
119
  export const DefaultPolicy: Policy = uri.DefaultPolicy ?? uri.defaultPolicy;
120
120
  export const Registry: new (policy?: Policy) => Registry = uri.Registry;
121
121
 
122
- /** Parse a custom URI using @hop-top/uri policy and parse options. */
122
+ /** Parse a custom URI using @hop-top/cite policy and parse options. */
123
123
  export function parse(
124
124
  input: string,
125
125
  policy?: Policy,
@@ -156,7 +156,7 @@ export function completeVanity(
156
156
 
157
157
  export const vanityCandidates = completeVanity;
158
158
 
159
- /** Complete URI values using a @hop-top/uri registry. */
159
+ /** Complete URI values using a @hop-top/cite registry. */
160
160
  export function complete(
161
161
  registry: Registry,
162
162
  typeName: string,
@@ -165,7 +165,7 @@ export function complete(
165
165
  return uri.completeWithScheme(registry, typeName, input);
166
166
  }
167
167
 
168
- /** Create a @hop-top/uri registry with an optional policy. */
168
+ /** Create a @hop-top/cite registry with an optional policy. */
169
169
  export function newRegistry(policy?: Policy): Registry {
170
170
  return uri.newRegistry(policy);
171
171
  }