@deepseek-ai/dsh-cordis-client-runner 0.2.1-rc.5 → 0.2.2-alpha.3

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.
@@ -24,7 +24,6 @@ export { DynamicCordisStyles, evaluateClientHalf, isDynamicCordisPlugin } from '
24
24
  export type { DynamicCordisClosureEnv, DynamicCordisEvaluatedPlugin } from './evaluator.ts';
25
25
  export { dynamicCordisContext } from './guard.ts';
26
26
  export type { DynamicCordisGuardEnv, DynamicCordisSlotLedgerRow } from './guard.ts';
27
- export { ClientTimerService } from './timer.ts';
28
27
  export type { ApprovalRequestId, CordisDynamicPackageId, CordisDynamicPluginId, CordisDynamicPluginRunId, DynamicCordisPackage, } from '@deepseek-ai/dsh-api-remotes/client';
29
28
  /**
30
29
  * What a run surface reads and calls. The activity map is the single home of
package/locale/de.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Dynamischer Plug-in-Browser-Runner",
4
+ "description": "Laden Sie den Browser-Teil des temporären dynamischen Plug-Ins und führen Sie ihn aus."
5
+ }
6
+ }
package/locale/es.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Ejecutor de navegador de complemento dinámico",
4
+ "description": "Cargue y ejecute la parte del navegador del complemento dinámico temporal."
5
+ }
6
+ }
package/locale/fr.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Exécuteur de navigateur de plug-in dynamique",
4
+ "description": "Chargez et exécutez la partie navigateur du plug-in dynamique temporaire."
5
+ }
6
+ }
package/locale/ja.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "動的プラグインブラウザランナー",
4
+ "description": "一時的な動的プラグインのブラウザ側を読み込み、実行します。"
5
+ }
6
+ }
package/locale/pt.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Executor de navegador de plug-in dinâmico",
4
+ "description": "Carregue e execute a parte do navegador do plug-in dinâmico temporário."
5
+ }
6
+ }
package/locale/ru.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Динамический плагин для запуска браузера",
4
+ "description": "Загрузите и запустите браузерную часть временного динамического плагина."
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-cordis-client-runner",
3
3
  "description": "Browser half of dynamic dual-half plugin packages: event subscription, closure evaluation, guard facade, and loader entries",
4
- "version": "0.2.1-rc.5",
4
+ "version": "0.2.2-alpha.3",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -39,17 +39,18 @@
39
39
  },
40
40
  "license": "MIT",
41
41
  "peerDependencies": {
42
- "@deepseek-ai/cordis": "~4.0.5"
42
+ "@deepseek-ai/cordis": "~4.0.6-alpha.2"
43
43
  },
44
44
  "devDependencies": {
45
- "@deepseek-ai/cordis-plugin-loader": "~1.0.6",
46
- "@deepseek-ai/dsh-api-remotes": "0.2.1-rc.5",
47
- "@deepseek-ai/dsh-client-modules": "0.2.1-rc.5",
48
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.5",
49
- "@deepseek-ai/dsh-client-ui-theme": "0.2.1-rc.5",
50
- "@deepseek-ai/cordis": "~4.0.5",
45
+ "@deepseek-ai/cordis-plugin-loader": "~1.0.7-alpha.2",
46
+ "@deepseek-ai/cordis-plugin-timer": "~1.1.8-alpha.2",
47
+ "@deepseek-ai/dsh-api-remotes": "0.2.2-alpha.3",
48
+ "@deepseek-ai/dsh-client-modules": "0.2.2-alpha.3",
49
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-alpha.3",
50
+ "@deepseek-ai/dsh-client-ui-theme": "0.2.2-alpha.3",
51
+ "@deepseek-ai/cordis": "~4.0.6-alpha.2",
51
52
  "react": "^18.2.0",
52
- "@deepseek-ai/dsh-util-values": "0.2.1-rc.5"
53
+ "@deepseek-ai/dsh-util-values": "0.2.2-alpha.3"
53
54
  },
54
55
  "files": [
55
56
  "locale/*.json",
@@ -1,84 +0,0 @@
1
- /** Browser implementation of the Cordis timer Service. */
2
- import { Service } from '@deepseek-ai/cordis';
3
- import type { Context } from '@deepseek-ai/cordis';
4
- declare module '@deepseek-ai/cordis' {
5
- interface Context extends Pick<ClientTimerService, 'interval' | 'timeout' | 'throttle' | 'debounce' | 'setTimeout' | 'setInterval'> {
6
- /** Browser timer Service used by the mixed-in Context helpers. */
7
- timer: ClientTimerService;
8
- }
9
- }
10
- type WithDispose<T> = T & {
11
- dispose: () => void;
12
- };
13
- /** Browser timer Service with the same public API as the Host Cordis TimerService. */
14
- export declare class ClientTimerService extends Service {
15
- /** Register the Service and mix its lifecycle-safe helpers onto Context. */
16
- constructor(ctx: Context);
17
- /**
18
- * Run a callback once through {@link timeout}.
19
- * @param callback - Work to run after the delay.
20
- * @param delay - Delay in milliseconds.
21
- * @returns Disposer that cancels the pending callback early.
22
- * @deprecated Use `ctx.timeout()` instead.
23
- */
24
- setTimeout(callback: () => void, delay: number): () => void;
25
- /**
26
- * Run a callback repeatedly through {@link interval}.
27
- * @param callback - Work to run on each tick.
28
- * @param delay - Interval in milliseconds.
29
- * @returns Disposer that stops the interval early.
30
- * @deprecated Use `ctx.interval()` instead.
31
- */
32
- setInterval(callback: () => void, delay: number): () => void;
33
- /**
34
- * Run a callback once after a delay.
35
- * @param callback - work to run.
36
- * @param delay - delay in milliseconds.
37
- * @returns disposer that cancels the callback.
38
- */
39
- timeout(callback: () => void, delay: number): () => void;
40
- /**
41
- * Wait for a delay.
42
- * @param delay - delay in milliseconds.
43
- * @returns promise resolved after the delay.
44
- */
45
- timeout(delay: number): Promise<void>;
46
- /**
47
- * Run a callback repeatedly.
48
- * @param callback - work to run on each tick.
49
- * @param delay - interval in milliseconds.
50
- * @returns disposer that stops the interval.
51
- */
52
- interval(callback: () => void, delay: number): () => void;
53
- /**
54
- * Iterate over timer ticks.
55
- * @param delay - interval in milliseconds.
56
- * @returns async iterator of ticks.
57
- */
58
- interval<R = any>(delay: number): AsyncIterableIterator<void, R, void>;
59
- /** Build a delayed wrapper whose pending callback belongs to the calling Fiber. */
60
- private schedule;
61
- /**
62
- * Return a throttled function whose timer is disposed with the calling Fiber.
63
- * @param callback - Function to throttle.
64
- * @param delay - Minimum interval between calls in milliseconds.
65
- * @param noTrailing - Whether to suppress a delayed trailing call.
66
- * @returns Throttled function with an early disposer.
67
- */
68
- throttle<F extends (...args: any[]) => void>(callback: F, delay: number, noTrailing?: boolean): WithDispose<F>;
69
- /**
70
- * Return a debounced function whose timer is disposed with the calling Fiber.
71
- * @param callback - Function to debounce.
72
- * @param delay - Quiet period in milliseconds.
73
- * @returns Debounced function with an early disposer.
74
- */
75
- debounce<F extends (...args: any[]) => void>(callback: F, delay: number): WithDispose<F>;
76
- }
77
- /**
78
- * Install the browser timer Service on one Client composition.
79
- * @param ctx - Client context that owns the Service and mixed-in helpers.
80
- * @returns Nothing after registering the Service.
81
- */
82
- export declare function provideClientTimer(ctx: Context): void;
83
- export {};
84
- //# sourceMappingURL=timer.d.ts.map