@tangle-network/tcloud 0.3.0 → 0.4.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/dist/{chunk-LN7XX5KG.js → chunk-AKR7CS4P.js} +3 -2
- package/dist/{chunk-ADGH2R2R.js → chunk-MKLCBBHZ.js} +1 -1
- package/dist/{chunk-W7PUZZRE.js → chunk-QNIJ7KAA.js} +2 -2
- package/dist/cli.cjs +3 -2
- package/dist/cli.js +3 -3
- package/dist/{client-DskWX_BT.d.ts → client-_ghO89WM.d.cts} +3 -3
- package/dist/{client-DskWX_BT.d.cts → client-_ghO89WM.d.ts} +3 -3
- package/dist/index.cjs +3 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/instance.cjs +3 -2
- package/dist/instance.d.cts +1 -1
- package/dist/instance.d.ts +1 -1
- package/dist/instance.js +1 -1
- package/dist/shielded.cjs +3 -2
- package/dist/shielded.d.cts +1 -1
- package/dist/shielded.d.ts +1 -1
- package/dist/shielded.js +2 -2
- package/package.json +1 -1
|
@@ -213,6 +213,7 @@ var PrivateRouter = class {
|
|
|
213
213
|
|
|
214
214
|
// src/client.ts
|
|
215
215
|
var DEFAULT_BASE_URL = "https://router.tangle.tools/v1";
|
|
216
|
+
var SDK_VERSION = "0.4.0";
|
|
216
217
|
async function proxiedFetch(privacy, url, init, streaming) {
|
|
217
218
|
if (!privacy || privacy.mode === "direct") {
|
|
218
219
|
return fetch(url, init);
|
|
@@ -288,7 +289,7 @@ var TCloudClient = class _TCloudClient {
|
|
|
288
289
|
this.timeoutMs = config.timeout ?? DEFAULT_TIMEOUT_MS;
|
|
289
290
|
this.headers = {
|
|
290
291
|
"Content-Type": "application/json",
|
|
291
|
-
"X-Tangle-Client":
|
|
292
|
+
"X-Tangle-Client": `tcloud-sdk/${SDK_VERSION}`
|
|
292
293
|
};
|
|
293
294
|
if (this.apiKey) {
|
|
294
295
|
this.headers["Authorization"] = `Bearer ${this.apiKey}`;
|
|
@@ -585,7 +586,7 @@ var TCloudClient = class _TCloudClient {
|
|
|
585
586
|
* call.
|
|
586
587
|
*
|
|
587
588
|
* ```ts
|
|
588
|
-
* const kimi = tcloud.bridge({ harness: 'kimi', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
589
|
+
* const kimi = tcloud.bridge({ harness: 'kimi-code', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
589
590
|
* await kimi.ask('review this diff…')
|
|
590
591
|
* for await (const chunk of kimi.stream('continue…')) process.stdout.write(chunk)
|
|
591
592
|
* ```
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createShieldedClient,
|
|
3
3
|
generateWallet
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MKLCBBHZ.js";
|
|
5
5
|
import {
|
|
6
6
|
TCloudClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AKR7CS4P.js";
|
|
8
8
|
|
|
9
9
|
// src/index.ts
|
|
10
10
|
var TCloud = class _TCloud extends TCloudClient {
|
package/dist/cli.cjs
CHANGED
|
@@ -241,6 +241,7 @@ var PrivateRouter = class {
|
|
|
241
241
|
|
|
242
242
|
// src/client.ts
|
|
243
243
|
var DEFAULT_BASE_URL = "https://router.tangle.tools/v1";
|
|
244
|
+
var SDK_VERSION = "0.4.0";
|
|
244
245
|
async function proxiedFetch(privacy, url, init, streaming) {
|
|
245
246
|
if (!privacy || privacy.mode === "direct") {
|
|
246
247
|
return fetch(url, init);
|
|
@@ -316,7 +317,7 @@ var TCloudClient = class _TCloudClient {
|
|
|
316
317
|
this.timeoutMs = config.timeout ?? DEFAULT_TIMEOUT_MS;
|
|
317
318
|
this.headers = {
|
|
318
319
|
"Content-Type": "application/json",
|
|
319
|
-
"X-Tangle-Client":
|
|
320
|
+
"X-Tangle-Client": `tcloud-sdk/${SDK_VERSION}`
|
|
320
321
|
};
|
|
321
322
|
if (this.apiKey) {
|
|
322
323
|
this.headers["Authorization"] = `Bearer ${this.apiKey}`;
|
|
@@ -613,7 +614,7 @@ var TCloudClient = class _TCloudClient {
|
|
|
613
614
|
* call.
|
|
614
615
|
*
|
|
615
616
|
* ```ts
|
|
616
|
-
* const kimi = tcloud.bridge({ harness: 'kimi', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
617
|
+
* const kimi = tcloud.bridge({ harness: 'kimi-code', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
617
618
|
* await kimi.ask('review this diff…')
|
|
618
619
|
* for await (const chunk of kimi.stream('continue…')) process.stdout.write(chunk)
|
|
619
620
|
* ```
|
package/dist/cli.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
TCloud
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QNIJ7KAA.js";
|
|
5
5
|
import {
|
|
6
6
|
generateWallet
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-MKLCBBHZ.js";
|
|
8
|
+
import "./chunk-AKR7CS4P.js";
|
|
9
9
|
|
|
10
10
|
// src/cli.ts
|
|
11
11
|
import { Command } from "commander";
|
|
@@ -335,7 +335,7 @@ interface GatewayOptions {
|
|
|
335
335
|
*/
|
|
336
336
|
interface BridgeOptions {
|
|
337
337
|
/** Which harness to drive. Picks the backend on the bridge. */
|
|
338
|
-
harness: 'claude' | 'claudish' | 'codex' | 'opencode' | 'kimi' | 'openai' | 'anthropic' | 'moonshot' | 'zai';
|
|
338
|
+
harness: 'claude-code' | 'claudish' | 'codex' | 'opencode' | 'kimi-code' | 'openai' | 'anthropic' | 'moonshot' | 'zai';
|
|
339
339
|
/** Model id inside the harness (e.g. `sonnet`, `kimi-for-coding`, `gpt-5-codex`). Omit for harness default. */
|
|
340
340
|
model?: string;
|
|
341
341
|
/** Router-issued unlock token. Required unless operator has disabled the gate. */
|
|
@@ -712,7 +712,7 @@ declare class TCloudClient {
|
|
|
712
712
|
* call.
|
|
713
713
|
*
|
|
714
714
|
* ```ts
|
|
715
|
-
* const kimi = tcloud.bridge({ harness: 'kimi', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
715
|
+
* const kimi = tcloud.bridge({ harness: 'kimi-code', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
716
716
|
* await kimi.ask('review this diff…')
|
|
717
717
|
* for await (const chunk of kimi.stream('continue…')) process.stdout.write(chunk)
|
|
718
718
|
* ```
|
|
@@ -1048,7 +1048,7 @@ declare class TCloudClient {
|
|
|
1048
1048
|
*
|
|
1049
1049
|
* ```ts
|
|
1050
1050
|
* const tcloud = new TCloudClient({ apiKey, baseURL: 'https://router.tangle.tools/api' })
|
|
1051
|
-
* const kimi = tcloud.bridge({ harness: 'kimi', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
1051
|
+
* const kimi = tcloud.bridge({ harness: 'kimi-code', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
1052
1052
|
*
|
|
1053
1053
|
* // one-shot
|
|
1054
1054
|
* const reply = await kimi.ask('summarize this diff')
|
|
@@ -335,7 +335,7 @@ interface GatewayOptions {
|
|
|
335
335
|
*/
|
|
336
336
|
interface BridgeOptions {
|
|
337
337
|
/** Which harness to drive. Picks the backend on the bridge. */
|
|
338
|
-
harness: 'claude' | 'claudish' | 'codex' | 'opencode' | 'kimi' | 'openai' | 'anthropic' | 'moonshot' | 'zai';
|
|
338
|
+
harness: 'claude-code' | 'claudish' | 'codex' | 'opencode' | 'kimi-code' | 'openai' | 'anthropic' | 'moonshot' | 'zai';
|
|
339
339
|
/** Model id inside the harness (e.g. `sonnet`, `kimi-for-coding`, `gpt-5-codex`). Omit for harness default. */
|
|
340
340
|
model?: string;
|
|
341
341
|
/** Router-issued unlock token. Required unless operator has disabled the gate. */
|
|
@@ -712,7 +712,7 @@ declare class TCloudClient {
|
|
|
712
712
|
* call.
|
|
713
713
|
*
|
|
714
714
|
* ```ts
|
|
715
|
-
* const kimi = tcloud.bridge({ harness: 'kimi', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
715
|
+
* const kimi = tcloud.bridge({ harness: 'kimi-code', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
716
716
|
* await kimi.ask('review this diff…')
|
|
717
717
|
* for await (const chunk of kimi.stream('continue…')) process.stdout.write(chunk)
|
|
718
718
|
* ```
|
|
@@ -1048,7 +1048,7 @@ declare class TCloudClient {
|
|
|
1048
1048
|
*
|
|
1049
1049
|
* ```ts
|
|
1050
1050
|
* const tcloud = new TCloudClient({ apiKey, baseURL: 'https://router.tangle.tools/api' })
|
|
1051
|
-
* const kimi = tcloud.bridge({ harness: 'kimi', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
1051
|
+
* const kimi = tcloud.bridge({ harness: 'kimi-code', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
1052
1052
|
*
|
|
1053
1053
|
* // one-shot
|
|
1054
1054
|
* const reply = await kimi.ask('summarize this diff')
|
package/dist/index.cjs
CHANGED
|
@@ -257,6 +257,7 @@ var PrivateRouter = class {
|
|
|
257
257
|
|
|
258
258
|
// src/client.ts
|
|
259
259
|
var DEFAULT_BASE_URL = "https://router.tangle.tools/v1";
|
|
260
|
+
var SDK_VERSION = "0.4.0";
|
|
260
261
|
async function proxiedFetch(privacy, url, init, streaming) {
|
|
261
262
|
if (!privacy || privacy.mode === "direct") {
|
|
262
263
|
return fetch(url, init);
|
|
@@ -332,7 +333,7 @@ var TCloudClient = class _TCloudClient {
|
|
|
332
333
|
this.timeoutMs = config.timeout ?? DEFAULT_TIMEOUT_MS;
|
|
333
334
|
this.headers = {
|
|
334
335
|
"Content-Type": "application/json",
|
|
335
|
-
"X-Tangle-Client":
|
|
336
|
+
"X-Tangle-Client": `tcloud-sdk/${SDK_VERSION}`
|
|
336
337
|
};
|
|
337
338
|
if (this.apiKey) {
|
|
338
339
|
this.headers["Authorization"] = `Bearer ${this.apiKey}`;
|
|
@@ -629,7 +630,7 @@ var TCloudClient = class _TCloudClient {
|
|
|
629
630
|
* call.
|
|
630
631
|
*
|
|
631
632
|
* ```ts
|
|
632
|
-
* const kimi = tcloud.bridge({ harness: 'kimi', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
633
|
+
* const kimi = tcloud.bridge({ harness: 'kimi-code', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
633
634
|
* await kimi.ask('review this diff…')
|
|
634
635
|
* for await (const chunk of kimi.stream('continue…')) process.stdout.write(chunk)
|
|
635
636
|
* ```
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ShieldedWallet, generateWallet } from './shielded.cjs';
|
|
2
2
|
export { createShieldedClient, estimateCost, signSpendAuth } from './shielded.cjs';
|
|
3
|
-
import { T as TCloudClient, a as TCloudConfig } from './client-
|
|
4
|
-
export { A as ApiKeyInfo, b as AvatarGenerateRequest, c as AvatarGenerateResponse, d as AvatarJobStatus, e as AvatarResult, B as BatchJobResponse, f as BatchRequest, g as BridgeOptions, h as BridgeSession, C as ChatCompletion, i as ChatCompletionChunk, j as ChatMessage, k as ChatOptions, l as CompletionOptions, m as CompletionResponse, n as CreateKeyOptions, o as CreatedKey, p as CreditBalance, E as EmbeddingOptions, q as EmbeddingResponse, F as FineTuningJob, r as FineTuningJobOptions, G as GatewayOptions, I as ImageGenerateOptions, s as ImageResponse, J as JobEvent, M as Model, O as Operator, t as OperatorInfo, P as PricingTier, u as PrivacyConfig, v as PrivateRouter, w as PrivateRouterConfig, R as RerankOptions, x as RerankResponse, y as RetryConfig, z as RoutingConfig, D as RoutingStrategy, S as ShieldedConfig, H as SpendAuth, K as SpendingLimits, L as TCloudError, N as TierConfig, Q as TranscriptionResponse, U as UpdateKeyOptions, V as VideoGenerateOptions, W as VideoResponse, X as WatchJobOptions } from './client-
|
|
3
|
+
import { T as TCloudClient, a as TCloudConfig } from './client-_ghO89WM.cjs';
|
|
4
|
+
export { A as ApiKeyInfo, b as AvatarGenerateRequest, c as AvatarGenerateResponse, d as AvatarJobStatus, e as AvatarResult, B as BatchJobResponse, f as BatchRequest, g as BridgeOptions, h as BridgeSession, C as ChatCompletion, i as ChatCompletionChunk, j as ChatMessage, k as ChatOptions, l as CompletionOptions, m as CompletionResponse, n as CreateKeyOptions, o as CreatedKey, p as CreditBalance, E as EmbeddingOptions, q as EmbeddingResponse, F as FineTuningJob, r as FineTuningJobOptions, G as GatewayOptions, I as ImageGenerateOptions, s as ImageResponse, J as JobEvent, M as Model, O as Operator, t as OperatorInfo, P as PricingTier, u as PrivacyConfig, v as PrivateRouter, w as PrivateRouterConfig, R as RerankOptions, x as RerankResponse, y as RetryConfig, z as RoutingConfig, D as RoutingStrategy, S as ShieldedConfig, H as SpendAuth, K as SpendingLimits, L as TCloudError, N as TierConfig, Q as TranscriptionResponse, U as UpdateKeyOptions, V as VideoGenerateOptions, W as VideoResponse, X as WatchJobOptions } from './client-_ghO89WM.cjs';
|
|
5
5
|
export { AgentProfile, AgentProfileCapabilities, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePermissionValue, AgentProfilePrompt, AgentProfileResources } from '@tangle-network/sandbox';
|
|
6
6
|
import 'viem';
|
|
7
7
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ShieldedWallet, generateWallet } from './shielded.js';
|
|
2
2
|
export { createShieldedClient, estimateCost, signSpendAuth } from './shielded.js';
|
|
3
|
-
import { T as TCloudClient, a as TCloudConfig } from './client-
|
|
4
|
-
export { A as ApiKeyInfo, b as AvatarGenerateRequest, c as AvatarGenerateResponse, d as AvatarJobStatus, e as AvatarResult, B as BatchJobResponse, f as BatchRequest, g as BridgeOptions, h as BridgeSession, C as ChatCompletion, i as ChatCompletionChunk, j as ChatMessage, k as ChatOptions, l as CompletionOptions, m as CompletionResponse, n as CreateKeyOptions, o as CreatedKey, p as CreditBalance, E as EmbeddingOptions, q as EmbeddingResponse, F as FineTuningJob, r as FineTuningJobOptions, G as GatewayOptions, I as ImageGenerateOptions, s as ImageResponse, J as JobEvent, M as Model, O as Operator, t as OperatorInfo, P as PricingTier, u as PrivacyConfig, v as PrivateRouter, w as PrivateRouterConfig, R as RerankOptions, x as RerankResponse, y as RetryConfig, z as RoutingConfig, D as RoutingStrategy, S as ShieldedConfig, H as SpendAuth, K as SpendingLimits, L as TCloudError, N as TierConfig, Q as TranscriptionResponse, U as UpdateKeyOptions, V as VideoGenerateOptions, W as VideoResponse, X as WatchJobOptions } from './client-
|
|
3
|
+
import { T as TCloudClient, a as TCloudConfig } from './client-_ghO89WM.js';
|
|
4
|
+
export { A as ApiKeyInfo, b as AvatarGenerateRequest, c as AvatarGenerateResponse, d as AvatarJobStatus, e as AvatarResult, B as BatchJobResponse, f as BatchRequest, g as BridgeOptions, h as BridgeSession, C as ChatCompletion, i as ChatCompletionChunk, j as ChatMessage, k as ChatOptions, l as CompletionOptions, m as CompletionResponse, n as CreateKeyOptions, o as CreatedKey, p as CreditBalance, E as EmbeddingOptions, q as EmbeddingResponse, F as FineTuningJob, r as FineTuningJobOptions, G as GatewayOptions, I as ImageGenerateOptions, s as ImageResponse, J as JobEvent, M as Model, O as Operator, t as OperatorInfo, P as PricingTier, u as PrivacyConfig, v as PrivateRouter, w as PrivateRouterConfig, R as RerankOptions, x as RerankResponse, y as RetryConfig, z as RoutingConfig, D as RoutingStrategy, S as ShieldedConfig, H as SpendAuth, K as SpendingLimits, L as TCloudError, N as TierConfig, Q as TranscriptionResponse, U as UpdateKeyOptions, V as VideoGenerateOptions, W as VideoResponse, X as WatchJobOptions } from './client-_ghO89WM.js';
|
|
5
5
|
export { AgentProfile, AgentProfileCapabilities, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePermissionValue, AgentProfilePrompt, AgentProfileResources } from '@tangle-network/sandbox';
|
|
6
6
|
import 'viem';
|
|
7
7
|
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TCloud
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QNIJ7KAA.js";
|
|
4
4
|
import {
|
|
5
5
|
createShieldedClient,
|
|
6
6
|
estimateCost,
|
|
7
7
|
generateWallet,
|
|
8
8
|
signSpendAuth
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MKLCBBHZ.js";
|
|
10
10
|
import {
|
|
11
11
|
BridgeSession,
|
|
12
12
|
PrivateRouter,
|
|
13
13
|
TCloudClient,
|
|
14
14
|
TCloudError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AKR7CS4P.js";
|
|
16
16
|
export {
|
|
17
17
|
BridgeSession,
|
|
18
18
|
PrivateRouter,
|
package/dist/instance.cjs
CHANGED
|
@@ -256,6 +256,7 @@ var PrivateRouter = class {
|
|
|
256
256
|
|
|
257
257
|
// src/client.ts
|
|
258
258
|
var DEFAULT_BASE_URL = "https://router.tangle.tools/v1";
|
|
259
|
+
var SDK_VERSION = "0.4.0";
|
|
259
260
|
async function proxiedFetch(privacy, url, init, streaming) {
|
|
260
261
|
if (!privacy || privacy.mode === "direct") {
|
|
261
262
|
return fetch(url, init);
|
|
@@ -331,7 +332,7 @@ var TCloudClient = class _TCloudClient {
|
|
|
331
332
|
this.timeoutMs = config.timeout ?? DEFAULT_TIMEOUT_MS;
|
|
332
333
|
this.headers = {
|
|
333
334
|
"Content-Type": "application/json",
|
|
334
|
-
"X-Tangle-Client":
|
|
335
|
+
"X-Tangle-Client": `tcloud-sdk/${SDK_VERSION}`
|
|
335
336
|
};
|
|
336
337
|
if (this.apiKey) {
|
|
337
338
|
this.headers["Authorization"] = `Bearer ${this.apiKey}`;
|
|
@@ -628,7 +629,7 @@ var TCloudClient = class _TCloudClient {
|
|
|
628
629
|
* call.
|
|
629
630
|
*
|
|
630
631
|
* ```ts
|
|
631
|
-
* const kimi = tcloud.bridge({ harness: 'kimi', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
632
|
+
* const kimi = tcloud.bridge({ harness: 'kimi-code', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
632
633
|
* await kimi.ask('review this diff…')
|
|
633
634
|
* for await (const chunk of kimi.stream('continue…')) process.stdout.write(chunk)
|
|
634
635
|
* ```
|
package/dist/instance.d.cts
CHANGED
package/dist/instance.d.ts
CHANGED
package/dist/instance.js
CHANGED
package/dist/shielded.cjs
CHANGED
|
@@ -254,6 +254,7 @@ var PrivateRouter = class {
|
|
|
254
254
|
|
|
255
255
|
// src/client.ts
|
|
256
256
|
var DEFAULT_BASE_URL = "https://router.tangle.tools/v1";
|
|
257
|
+
var SDK_VERSION = "0.4.0";
|
|
257
258
|
async function proxiedFetch(privacy, url, init, streaming) {
|
|
258
259
|
if (!privacy || privacy.mode === "direct") {
|
|
259
260
|
return fetch(url, init);
|
|
@@ -329,7 +330,7 @@ var TCloudClient = class _TCloudClient {
|
|
|
329
330
|
this.timeoutMs = config.timeout ?? DEFAULT_TIMEOUT_MS;
|
|
330
331
|
this.headers = {
|
|
331
332
|
"Content-Type": "application/json",
|
|
332
|
-
"X-Tangle-Client":
|
|
333
|
+
"X-Tangle-Client": `tcloud-sdk/${SDK_VERSION}`
|
|
333
334
|
};
|
|
334
335
|
if (this.apiKey) {
|
|
335
336
|
this.headers["Authorization"] = `Bearer ${this.apiKey}`;
|
|
@@ -626,7 +627,7 @@ var TCloudClient = class _TCloudClient {
|
|
|
626
627
|
* call.
|
|
627
628
|
*
|
|
628
629
|
* ```ts
|
|
629
|
-
* const kimi = tcloud.bridge({ harness: 'kimi', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
630
|
+
* const kimi = tcloud.bridge({ harness: 'kimi-code', model: 'kimi-for-coding', unlock: UNLOCK, resume: 'pr-42' })
|
|
630
631
|
* await kimi.ask('review this diff…')
|
|
631
632
|
* for await (const chunk of kimi.stream('continue…')) process.stdout.write(chunk)
|
|
632
633
|
* ```
|
package/dist/shielded.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Hex } from 'viem';
|
|
2
|
-
import { a as TCloudConfig, T as TCloudClient, H as SpendAuth } from './client-
|
|
2
|
+
import { a as TCloudConfig, T as TCloudClient, H as SpendAuth } from './client-_ghO89WM.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* tcloud/shielded — Ephemeral wallet generation, SpendAuth signing, private inference.
|
package/dist/shielded.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Hex } from 'viem';
|
|
2
|
-
import { a as TCloudConfig, T as TCloudClient, H as SpendAuth } from './client-
|
|
2
|
+
import { a as TCloudConfig, T as TCloudClient, H as SpendAuth } from './client-_ghO89WM.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* tcloud/shielded — Ephemeral wallet generation, SpendAuth signing, private inference.
|
package/dist/shielded.js
CHANGED