@semiont/sdk 0.5.3 → 0.5.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.
Files changed (79) hide show
  1. package/dist/awaitable.d.ts +103 -0
  2. package/dist/awaitable.d.ts.map +1 -0
  3. package/dist/bus-request.d.ts +18 -0
  4. package/dist/bus-request.d.ts.map +1 -0
  5. package/dist/cache.d.ts +57 -0
  6. package/dist/cache.d.ts.map +1 -0
  7. package/dist/client.d.ts +138 -0
  8. package/dist/client.d.ts.map +1 -0
  9. package/dist/index.d.ts +52 -1750
  10. package/dist/index.d.ts.map +1 -0
  11. package/dist/index.js +0 -1
  12. package/dist/index.js.map +1 -1
  13. package/dist/namespaces/admin.d.ts +27 -0
  14. package/dist/namespaces/admin.d.ts.map +1 -0
  15. package/dist/namespaces/auth.d.ts +26 -0
  16. package/dist/namespaces/auth.d.ts.map +1 -0
  17. package/dist/namespaces/beckon.d.ts +12 -0
  18. package/dist/namespaces/beckon.d.ts.map +1 -0
  19. package/dist/namespaces/bind.d.ts +11 -0
  20. package/dist/namespaces/bind.d.ts.map +1 -0
  21. package/dist/namespaces/browse.d.ts +111 -0
  22. package/dist/namespaces/browse.d.ts.map +1 -0
  23. package/dist/namespaces/frame.d.ts +29 -0
  24. package/dist/namespaces/frame.d.ts.map +1 -0
  25. package/dist/namespaces/gather.d.ts +16 -0
  26. package/dist/namespaces/gather.d.ts.map +1 -0
  27. package/dist/namespaces/job.d.ts +32 -0
  28. package/dist/namespaces/job.d.ts.map +1 -0
  29. package/dist/namespaces/mark.d.ts +27 -0
  30. package/dist/namespaces/mark.d.ts.map +1 -0
  31. package/dist/namespaces/match.d.ts +15 -0
  32. package/dist/namespaces/match.d.ts.map +1 -0
  33. package/dist/namespaces/types.d.ts +438 -0
  34. package/dist/namespaces/types.d.ts.map +1 -0
  35. package/dist/namespaces/yield.d.ts +23 -0
  36. package/dist/namespaces/yield.d.ts.map +1 -0
  37. package/dist/session/errors.d.ts +18 -0
  38. package/dist/session/errors.d.ts.map +1 -0
  39. package/dist/session/http-session-factory.d.ts +15 -0
  40. package/dist/session/http-session-factory.d.ts.map +1 -0
  41. package/dist/session/knowledge-base.d.ts +95 -0
  42. package/dist/session/knowledge-base.d.ts.map +1 -0
  43. package/dist/session/open-resource.d.ts +22 -0
  44. package/dist/session/open-resource.d.ts.map +1 -0
  45. package/dist/session/registry.d.ts +31 -0
  46. package/dist/session/registry.d.ts.map +1 -0
  47. package/dist/session/semiont-browser.d.ts +141 -0
  48. package/dist/session/semiont-browser.d.ts.map +1 -0
  49. package/dist/session/semiont-session.d.ts +210 -0
  50. package/dist/session/semiont-session.d.ts.map +1 -0
  51. package/dist/session/session-factory.d.ts +31 -0
  52. package/dist/session/session-factory.d.ts.map +1 -0
  53. package/dist/session/session-signals.d.ts +40 -0
  54. package/dist/session/session-signals.d.ts.map +1 -0
  55. package/dist/session/session-storage.d.ts +41 -0
  56. package/dist/session/session-storage.d.ts.map +1 -0
  57. package/dist/session/storage.d.ts +52 -0
  58. package/dist/session/storage.d.ts.map +1 -0
  59. package/dist/session/testing.d.ts +7 -0
  60. package/dist/session/testing.d.ts.map +1 -0
  61. package/dist/state/flows/beckon-state-unit.d.ts +22 -0
  62. package/dist/state/flows/beckon-state-unit.d.ts.map +1 -0
  63. package/dist/state/flows/gather-state-unit.d.ts +12 -0
  64. package/dist/state/flows/gather-state-unit.d.ts.map +1 -0
  65. package/dist/state/flows/mark-state-unit.d.ts +17 -0
  66. package/dist/state/flows/mark-state-unit.d.ts.map +1 -0
  67. package/dist/state/flows/match-state-unit.d.ts +7 -0
  68. package/dist/state/flows/match-state-unit.d.ts.map +1 -0
  69. package/dist/state/flows/yield-state-unit.d.ts +25 -0
  70. package/dist/state/flows/yield-state-unit.d.ts.map +1 -0
  71. package/dist/state/index.d.ts +10 -0
  72. package/dist/state/index.d.ts.map +1 -0
  73. package/dist/state/lib/search-pipeline.d.ts +38 -0
  74. package/dist/state/lib/search-pipeline.d.ts.map +1 -0
  75. package/dist/state/lib/state-unit.d.ts +33 -0
  76. package/dist/state/lib/state-unit.d.ts.map +1 -0
  77. package/dist/state/lib/worker-bus.d.ts +21 -0
  78. package/dist/state/lib/worker-bus.d.ts.map +1 -0
  79. package/package.json +3 -3
@@ -0,0 +1,17 @@
1
+ import { type Observable } from 'rxjs';
2
+ import type { ResourceId, Motivation, Selector, components } from '@semiont/core';
3
+ import type { SemiontClient } from '../../client';
4
+ import type { StateUnit } from '../lib/state-unit';
5
+ type JobProgress = components['schemas']['JobProgress'];
6
+ export interface PendingAnnotation {
7
+ selector: Selector | Selector[];
8
+ motivation: Motivation;
9
+ }
10
+ export interface MarkStateUnit extends StateUnit {
11
+ pendingAnnotation$: Observable<PendingAnnotation | null>;
12
+ assistingMotivation$: Observable<Motivation | null>;
13
+ progress$: Observable<JobProgress | null>;
14
+ }
15
+ export declare function createMarkStateUnit(client: SemiontClient, resourceId: ResourceId): MarkStateUnit;
16
+ export {};
17
+ //# sourceMappingURL=mark-state-unit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-state-unit.d.ts","sourceRoot":"","sources":["../../../src/state/flows/mark-state-unit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,UAAU,EAAqB,MAAM,MAAM,CAAC;AAE3E,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAY,UAAU,EAAE,MAAM,eAAe,CAAC;AAC5F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,KAAK,WAAW,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,aAAa,CAAC,CAAC;AAExD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,EAAE,CAAC;IAChC,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,kBAAkB,EAAE,UAAU,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACzD,oBAAoB,EAAE,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IACpD,SAAS,EAAE,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CAC3C;AAcD,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,aAAa,EACrB,UAAU,EAAE,UAAU,GACrB,aAAa,CA6Gf"}
@@ -0,0 +1,7 @@
1
+ import type { ResourceId } from '@semiont/core';
2
+ import type { SemiontClient } from '../../client';
3
+ import type { StateUnit } from '../lib/state-unit';
4
+ export interface MatchStateUnit extends StateUnit {
5
+ }
6
+ export declare function createMatchStateUnit(client: SemiontClient, _resourceId: ResourceId): MatchStateUnit;
7
+ //# sourceMappingURL=match-state-unit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"match-state-unit.d.ts","sourceRoot":"","sources":["../../../src/state/flows/match-state-unit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAmB,MAAM,eAAe,CAAC;AAEjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,WAAW,cAAe,SAAQ,SAAS;CAAG;AAEpD,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,WAAW,EAAE,UAAU,GACtB,cAAc,CA2BhB"}
@@ -0,0 +1,25 @@
1
+ import { type Observable } from 'rxjs';
2
+ import type { ResourceId, GatheredContext, components } from '@semiont/core';
3
+ import type { SemiontClient } from '../../client';
4
+ import type { StateUnit } from '../lib/state-unit';
5
+ type JobProgress = components['schemas']['JobProgress'];
6
+ export interface GenerateDocumentOptions {
7
+ title: string;
8
+ storageUri: string;
9
+ prompt?: string;
10
+ /** Body locale — language the generated resource is written in. Falls back to the state unit's UI locale when unset. */
11
+ language?: string;
12
+ /** Source-resource locale — language of the resource the annotation lives on. Forwarded to the prompt for context-snippet awareness. BCP-47. */
13
+ sourceLanguage?: string;
14
+ temperature?: number;
15
+ maxTokens?: number;
16
+ context: GatheredContext;
17
+ }
18
+ export interface YieldStateUnit extends StateUnit {
19
+ isGenerating$: Observable<boolean>;
20
+ progress$: Observable<JobProgress | null>;
21
+ generate(referenceId: string, options: GenerateDocumentOptions): void;
22
+ }
23
+ export declare function createYieldStateUnit(client: SemiontClient, resourceId: ResourceId, locale: string): YieldStateUnit;
24
+ export {};
25
+ //# sourceMappingURL=yield-state-unit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yield-state-unit.d.ts","sourceRoot":"","sources":["../../../src/state/flows/yield-state-unit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,UAAU,EAAqB,MAAM,MAAM,CAAC;AAE3E,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,KAAK,WAAW,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,aAAa,CAAC,CAAC;AAExD,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wHAAwH;IACxH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gJAAgJ;IAChJ,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,eAAe,CAAC;CAC1B;AAED,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,aAAa,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IACnC,SAAS,EAAE,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC1C,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAuB,GAAG,IAAI,CAAC;CACvE;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,aAAa,EACrB,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,GACb,cAAc,CAmDhB"}
@@ -0,0 +1,10 @@
1
+ export { type StateUnit, createDisposer } from './lib/state-unit';
2
+ export { createSearchPipeline, type SearchPipeline, type SearchPipelineOptions, type SearchState, } from './lib/search-pipeline';
3
+ export type { WorkerBus } from './lib/worker-bus';
4
+ export { createBeckonStateUnit, type BeckonStateUnit, createHoverHandlers, type HoverHandlers, HOVER_DELAY_MS, } from './flows/beckon-state-unit';
5
+ export { createGatherStateUnit, type GatherStateUnit, } from './flows/gather-state-unit';
6
+ export { createMatchStateUnit, type MatchStateUnit, } from './flows/match-state-unit';
7
+ export { createYieldStateUnit, type YieldStateUnit, type GenerateDocumentOptions, } from './flows/yield-state-unit';
8
+ export { createMarkStateUnit, type MarkStateUnit, type PendingAnnotation, } from './flows/mark-state-unit';
9
+ export type { ConnectionState } from '@semiont/core';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/state/index.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,KAAK,SAAS,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EACL,oBAAoB,EACpB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,WAAW,GACjB,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIlD,OAAO,EACL,qBAAqB,EACrB,KAAK,eAAe,EACpB,mBAAmB,EACnB,KAAK,aAAa,EAClB,cAAc,GACf,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,qBAAqB,EACrB,KAAK,eAAe,GACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,oBAAoB,EACpB,KAAK,cAAc,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,oBAAoB,EACpB,KAAK,cAAc,EACnB,KAAK,uBAAuB,GAC7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,mBAAmB,EACnB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * createSearchPipeline
3
+ *
4
+ * A debounced-search RxJS pipeline factory. Combines an input Subject with a
5
+ * downstream fetch function and emits typed `{ results, isSearching }` state.
6
+ *
7
+ * Designed to be created once per consumer instance and held for its lifetime
8
+ * (e.g. by a view layer's lazy initializer), then observed via `state$`. The
9
+ * pipeline is pure RxJS — unit-testable without any view-layer dependency.
10
+ *
11
+ * The fetch function is expected to return `Observable<T[] | undefined>`,
12
+ * matching the cache-miss-then-data shape of `BrowseNamespace` Observables:
13
+ * `undefined` means "fetch in flight, no value yet"; an array means "data
14
+ * available (possibly empty)".
15
+ */
16
+ import { type Observable } from 'rxjs';
17
+ export interface SearchState<T> {
18
+ results: T[];
19
+ isSearching: boolean;
20
+ }
21
+ export interface SearchPipeline<T> {
22
+ /** Latest query string. Bind to a controlled input. */
23
+ query$: Observable<string>;
24
+ /** Latest search state — results plus a loading flag. */
25
+ state$: Observable<SearchState<T>>;
26
+ /** Push a new query value. Triggers the debounced fetch. */
27
+ setQuery(value: string): void;
28
+ /** Tear down the input Subject. Call from the consumer's cleanup hook. */
29
+ dispose(): void;
30
+ }
31
+ export interface SearchPipelineOptions {
32
+ /** Milliseconds to wait after the last keystroke before fetching. Default 250. */
33
+ debounceMs?: number;
34
+ /** Initial query value. Useful for modals that open with a pre-filled term. */
35
+ initialQuery?: string;
36
+ }
37
+ export declare function createSearchPipeline<T>(fetch: (query: string) => Observable<T[] | undefined>, options?: SearchPipelineOptions): SearchPipeline<T>;
38
+ //# sourceMappingURL=search-pipeline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-pipeline.d.ts","sourceRoot":"","sources":["../../../src/state/lib/search-pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAGpD,MAAM,WAAW,WAAW,CAAC,CAAC;IAC5B,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,uDAAuD;IACvD,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC3B,yDAAyD;IACzD,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnC,4DAA4D;IAC5D,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,0EAA0E;IAC1E,OAAO,IAAI,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC,kFAAkF;IAClF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+EAA+E;IAC/E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EACpC,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,UAAU,CAAC,CAAC,EAAE,GAAG,SAAS,CAAC,EACrD,OAAO,GAAE,qBAA0B,GAClC,cAAc,CAAC,CAAC,CAAC,CAgCnB"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Marker for the state-unit pattern: a stateful, lifecycled object with an
3
+ * RxJS-shaped public surface, constructed by a factory function
4
+ * (`createFooStateUnit`), with internal state held in a closure.
5
+ *
6
+ * The structural contract is `dispose()` — the rest of the pattern
7
+ * (closure-based identity, Observable public surface, internal Subjects
8
+ * exposed as `.asObservable()` views, no leaked subscriptions, composition
9
+ * by parameter rather than ownership) is convention enforced by review,
10
+ * not the type system.
11
+ *
12
+ * See `packages/sdk/docs/STATE-UNITS.md` for the full axioms and rationale.
13
+ */
14
+ export interface StateUnit {
15
+ /**
16
+ * Idempotent, total teardown. Completes every Subject the unit owns,
17
+ * unsubscribes every internal subscription, releases timers / abort
18
+ * controllers / network handles. Safe to call multiple times — the
19
+ * second call is a no-op.
20
+ */
21
+ dispose(): void;
22
+ }
23
+ /**
24
+ * Compose multiple disposers into a single `dispose()` call. Accepts either
25
+ * a `StateUnit` (whose `dispose()` will be invoked) or a plain teardown
26
+ * function. The returned object is itself disposable; call its `dispose()`
27
+ * once to tear down everything that was added.
28
+ */
29
+ export declare function createDisposer(): {
30
+ add(item: StateUnit | (() => void)): void;
31
+ dispose(): void;
32
+ };
33
+ //# sourceMappingURL=state-unit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state-unit.d.ts","sourceRoot":"","sources":["../../../src/state/lib/state-unit.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,SAAS;IACxB;;;;;OAKG;IACH,OAAO,IAAI,IAAI,CAAC;CACjB;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,IAAI;IAChC,GAAG,CAAC,IAAI,EAAE,SAAS,GAAG,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAC1C,OAAO,IAAI,IAAI,CAAC;CACjB,CAOA"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * WorkerBus — minimal channel-bus surface that worker-side adapters
3
+ * (e.g. `JobClaimAdapter` in `@semiont/jobs`, `SmelterActorStateUnit` in
4
+ * `@semiont/make-meaning`) need.
5
+ *
6
+ * Transport-neutral by design. HTTP `ActorStateUnit` (from `@semiont/api-client`)
7
+ * satisfies it directly; an in-process worker can pass a small shim around
8
+ * an `EventBus` with a `() => Promise<void>` `emit` that calls into the
9
+ * actor system.
10
+ *
11
+ * `addChannels` is optional because in-process buses receive every emit
12
+ * implicitly — only HTTP needs to widen its SSE subscription set to
13
+ * include worker-only channels (`job:queued`, `yield:created`, etc.).
14
+ */
15
+ import type { Observable } from 'rxjs';
16
+ export interface WorkerBus {
17
+ on$<T = Record<string, unknown>>(channel: string): Observable<T>;
18
+ emit(channel: string, payload: Record<string, unknown>): Promise<void>;
19
+ addChannels?(channels: readonly string[]): void;
20
+ }
21
+ //# sourceMappingURL=worker-bus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"worker-bus.d.ts","sourceRoot":"","sources":["../../../src/state/lib/worker-bus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvC,MAAM,WAAW,SAAS;IACxB,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;IACjE,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvE,WAAW,CAAC,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;CACjD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semiont/sdk",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "Semiont SDK — SemiontClient, namespaces, session/browser, state units, and the bus-request/cache helpers. Transport-agnostic; pair with @semiont/api-client (HttpTransport) or @semiont/make-meaning (LocalTransport) for the wire.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -31,7 +31,7 @@
31
31
  "scripts": {
32
32
  "pretypecheck": "npm run build --workspace=@semiont/core --if-present && npm run build --workspace=@semiont/api-client --if-present",
33
33
  "typecheck": "tsc --noEmit",
34
- "build": "npm run typecheck && tsup",
34
+ "build": "npm run typecheck && tsup && tsc -p tsconfig.build.json",
35
35
  "watch": "tsup --watch",
36
36
  "clean": "rm -rf dist",
37
37
  "test": "vitest run",
@@ -46,7 +46,7 @@
46
46
  "devDependencies": {
47
47
  "@vitest/coverage-v8": "^4.1.0",
48
48
  "tsup": "^8.5.1",
49
- "typescript": "^5.6.3"
49
+ "typescript": "^6.0.2"
50
50
  },
51
51
  "keywords": [
52
52
  "semiont",