@intentic/sandbox-contract 1.230.3 → 1.231.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/README.md +5 -0
- package/dist/contracts/agent.contract.d.ts +42 -6
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.d.ts +6 -1
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/capabilities.contract.d.ts +293 -0
- package/dist/contracts/capabilities.contract.d.ts.map +1 -1
- package/dist/contracts/capabilities.contract.js +10 -1
- package/dist/contracts/capabilities.contract.js.map +1 -1
- package/dist/contracts/extensions.contract.d.ts +15 -0
- package/dist/contracts/extensions.contract.d.ts.map +1 -1
- package/dist/contracts/git.contract.d.ts +12 -2
- package/dist/contracts/git.contract.d.ts.map +1 -1
- package/dist/contracts/history.contract.d.ts +6 -1
- package/dist/contracts/history.contract.d.ts.map +1 -1
- package/dist/contracts/panels.contract.d.ts +1 -0
- package/dist/contracts/panels.contract.d.ts.map +1 -1
- package/dist/contracts/runner.contract.d.ts +811 -0
- package/dist/contracts/runner.contract.d.ts.map +1 -0
- package/dist/contracts/runner.contract.js +12 -0
- package/dist/contracts/runner.contract.js.map +1 -0
- package/dist/contracts/system.contract.d.ts +2 -3
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/documents.d.ts +7 -0
- package/dist/documents.d.ts.map +1 -0
- package/dist/documents.js +27 -0
- package/dist/documents.js.map +1 -0
- package/dist/events.d.ts +58 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +12 -1
- package/dist/events.js.map +1 -1
- package/dist/history-state.d.ts.map +1 -1
- package/dist/history-state.js +3 -0
- package/dist/history-state.js.map +1 -1
- package/dist/index.d.ts +380 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/runner-protocol.d.ts +134 -0
- package/dist/runner-protocol.d.ts.map +1 -0
- package/dist/runner-protocol.js +95 -0
- package/dist/runner-protocol.js.map +1 -0
- package/dist/schemas.d.ts +62 -9
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +30 -11
- package/dist/schemas.js.map +1 -1
- package/package.json +4 -4
- package/src/contracts/capabilities.contract.ts +16 -0
- package/src/contracts/runner.contract.ts +33 -0
- package/src/documents.test.ts +66 -0
- package/src/documents.ts +71 -0
- package/src/events.ts +44 -2
- package/src/history-state.ts +7 -0
- package/src/index.ts +4 -0
- package/src/runner-protocol.ts +209 -0
- package/src/schemas.ts +106 -37
package/README.md
CHANGED
|
@@ -31,6 +31,11 @@ mismatch is a type error rather than a runtime surprise.
|
|
|
31
31
|
their scratch home through `extensionRuntimeDir` rather than spelling the layout themselves. The daemon
|
|
32
32
|
publishes the cause and the browser derives the consequence, so neither side keeps its own copy of the
|
|
33
33
|
other's list.
|
|
34
|
+
- [src/documents.ts](src/documents.ts): which of a turn's writes is a DOCUMENT, a markdown file written whole,
|
|
35
|
+
as opposed to a change made to code. Shared because both sides act on the same answer: the daemon attaches
|
|
36
|
+
that document to the question or plan card the turn parks on (so a choice can be read beside the write-up it
|
|
37
|
+
is about), and the browser draws the write's own card as prose rather than as a diff stat. Two copies of the
|
|
38
|
+
rule would let a card carry a document the transcript never drew.
|
|
34
39
|
- [src/agent-catalog.ts](src/agent-catalog.ts): what each (provider, harness) pair can actually DO, as one
|
|
35
40
|
record per runtime: its permission axis, its MCP reach, whether it steers, and how much of the owner's system
|
|
36
41
|
prompt it will take (`instructions`: replace, add, or nothing at all). Shared because both sides act on it:
|
|
@@ -13,6 +13,12 @@ export declare const agentContract: {
|
|
|
13
13
|
sessionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
14
|
conversationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
15
15
|
isolated: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
16
|
+
placement: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
17
|
+
kind: import("zod").ZodLiteral<"local">;
|
|
18
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
19
|
+
kind: import("zod").ZodLiteral<"runner">;
|
|
20
|
+
id: import("zod").ZodString;
|
|
21
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
16
22
|
worktreeBase: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
17
23
|
repo: import("zod").ZodString;
|
|
18
24
|
base: import("zod").ZodString;
|
|
@@ -80,6 +86,7 @@ export declare const agentContract: {
|
|
|
80
86
|
commits: number;
|
|
81
87
|
blocked: string[];
|
|
82
88
|
} | undefined;
|
|
89
|
+
remote?: string | undefined;
|
|
83
90
|
} | {
|
|
84
91
|
kind: "landed";
|
|
85
92
|
landed: boolean;
|
|
@@ -182,12 +189,12 @@ export declare const agentContract: {
|
|
|
182
189
|
} | {
|
|
183
190
|
kind: "subagent";
|
|
184
191
|
id: string;
|
|
185
|
-
subagentKind: "
|
|
192
|
+
subagentKind: "spawned" | "subagent";
|
|
186
193
|
agentType?: string | undefined;
|
|
187
194
|
description?: string | undefined;
|
|
188
195
|
model?: string | undefined;
|
|
196
|
+
provider?: string | undefined;
|
|
189
197
|
background?: boolean | undefined;
|
|
190
|
-
terminal?: string | undefined;
|
|
191
198
|
} | {
|
|
192
199
|
kind: "subagent_update";
|
|
193
200
|
id: string;
|
|
@@ -268,6 +275,13 @@ export declare const agentContract: {
|
|
|
268
275
|
kind: "plan";
|
|
269
276
|
requestId: string;
|
|
270
277
|
text: string;
|
|
278
|
+
document?: {
|
|
279
|
+
path: string;
|
|
280
|
+
title: string;
|
|
281
|
+
markdown: string;
|
|
282
|
+
truncated?: boolean | undefined;
|
|
283
|
+
plan?: boolean | undefined;
|
|
284
|
+
} | undefined;
|
|
271
285
|
} | {
|
|
272
286
|
kind: "question";
|
|
273
287
|
requestId: string;
|
|
@@ -281,6 +295,13 @@ export declare const agentContract: {
|
|
|
281
295
|
preview?: string | undefined;
|
|
282
296
|
}[];
|
|
283
297
|
}[];
|
|
298
|
+
document?: {
|
|
299
|
+
path: string;
|
|
300
|
+
title: string;
|
|
301
|
+
markdown: string;
|
|
302
|
+
truncated?: boolean | undefined;
|
|
303
|
+
plan?: boolean | undefined;
|
|
304
|
+
} | undefined;
|
|
284
305
|
} | {
|
|
285
306
|
toolName: string;
|
|
286
307
|
title?: string | undefined;
|
|
@@ -418,7 +439,7 @@ export declare const agentContract: {
|
|
|
418
439
|
} | {
|
|
419
440
|
kind: "error";
|
|
420
441
|
message: string;
|
|
421
|
-
code?: "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-window-too-small" | "grok-model-invalid" | "provider-outage" | "rate_limit" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "unknown-command" | undefined;
|
|
442
|
+
code?: "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-window-too-small" | "grok-model-invalid" | "provider-outage" | "rate_limit" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "unknown-command" | undefined;
|
|
422
443
|
resetsAt?: number | undefined;
|
|
423
444
|
autoResume?: "available" | "scheduled" | undefined;
|
|
424
445
|
outage?: {
|
|
@@ -452,6 +473,7 @@ export declare const agentContract: {
|
|
|
452
473
|
commits: number;
|
|
453
474
|
blocked: string[];
|
|
454
475
|
} | undefined;
|
|
476
|
+
remote?: string | undefined;
|
|
455
477
|
} | {
|
|
456
478
|
kind: "landed";
|
|
457
479
|
landed: boolean;
|
|
@@ -554,12 +576,12 @@ export declare const agentContract: {
|
|
|
554
576
|
} | {
|
|
555
577
|
kind: "subagent";
|
|
556
578
|
id: string;
|
|
557
|
-
subagentKind: "
|
|
579
|
+
subagentKind: "spawned" | "subagent";
|
|
558
580
|
agentType?: string | undefined;
|
|
559
581
|
description?: string | undefined;
|
|
560
582
|
model?: string | undefined;
|
|
583
|
+
provider?: string | undefined;
|
|
561
584
|
background?: boolean | undefined;
|
|
562
|
-
terminal?: string | undefined;
|
|
563
585
|
} | {
|
|
564
586
|
kind: "subagent_update";
|
|
565
587
|
id: string;
|
|
@@ -640,6 +662,13 @@ export declare const agentContract: {
|
|
|
640
662
|
kind: "plan";
|
|
641
663
|
requestId: string;
|
|
642
664
|
text: string;
|
|
665
|
+
document?: {
|
|
666
|
+
path: string;
|
|
667
|
+
title: string;
|
|
668
|
+
markdown: string;
|
|
669
|
+
truncated?: boolean | undefined;
|
|
670
|
+
plan?: boolean | undefined;
|
|
671
|
+
} | undefined;
|
|
643
672
|
} | {
|
|
644
673
|
kind: "question";
|
|
645
674
|
requestId: string;
|
|
@@ -653,6 +682,13 @@ export declare const agentContract: {
|
|
|
653
682
|
preview?: string | undefined;
|
|
654
683
|
}[];
|
|
655
684
|
}[];
|
|
685
|
+
document?: {
|
|
686
|
+
path: string;
|
|
687
|
+
title: string;
|
|
688
|
+
markdown: string;
|
|
689
|
+
truncated?: boolean | undefined;
|
|
690
|
+
plan?: boolean | undefined;
|
|
691
|
+
} | undefined;
|
|
656
692
|
} | {
|
|
657
693
|
toolName: string;
|
|
658
694
|
title?: string | undefined;
|
|
@@ -790,7 +826,7 @@ export declare const agentContract: {
|
|
|
790
826
|
} | {
|
|
791
827
|
kind: "error";
|
|
792
828
|
message: string;
|
|
793
|
-
code?: "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-window-too-small" | "grok-model-invalid" | "provider-outage" | "rate_limit" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "unknown-command" | undefined;
|
|
829
|
+
code?: "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-window-too-small" | "grok-model-invalid" | "provider-outage" | "rate_limit" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "unknown-command" | undefined;
|
|
794
830
|
resetsAt?: number | undefined;
|
|
795
831
|
autoResume?: "available" | "scheduled" | undefined;
|
|
796
832
|
outage?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/agent.contract.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,aAAa;IACtB,GAAG
|
|
1
|
+
{"version":3,"file":"agent.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/agent.contract.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,aAAa;IACtB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUH,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUN,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUL,KAAK;;;;;;;;;;;;;IAUL,IAAI;;;;;IAYJ,MAAM;;;;;;;IAYN,QAAQ;;;;;;;;;IAaR,QAAQ;;;;;;;;;;;;CASX,CAAC"}
|
|
@@ -1500,7 +1500,12 @@ export declare const agentsContract: {
|
|
|
1500
1500
|
before: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1501
1501
|
after: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1502
1502
|
binary: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1503
|
-
|
|
1503
|
+
partial: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1504
|
+
beforeBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1505
|
+
afterBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1506
|
+
patch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1507
|
+
more: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1508
|
+
}, import("zod/v4/core").$strip>>;
|
|
1504
1509
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1505
1510
|
land: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1506
1511
|
id: import("zod").ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/agents.contract.ts"],"names":[],"mappings":"AAiDA,eAAO,MAAM,cAAc;IACvB,IAAI;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUZ,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQP,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUJ,QAAQ;;;;;;;;;;;;;;;IASR,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAaJ,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUX,OAAO;;;;;IAUP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUP,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUT,KAAK;;;CASR,CAAC"}
|
|
@@ -338,6 +338,299 @@ export declare const capabilitiesContract: {
|
|
|
338
338
|
[x: string]: unknown;
|
|
339
339
|
kind: string;
|
|
340
340
|
}, unknown, void>>, Record<never, never>, Record<never, never>>;
|
|
341
|
+
probe: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
342
|
+
id: import("zod").ZodString;
|
|
343
|
+
kind: import("zod").ZodLiteral<"devops">;
|
|
344
|
+
config: import("zod").ZodObject<{}, import("zod/v4/core").$strip>;
|
|
345
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
346
|
+
id: import("zod").ZodString;
|
|
347
|
+
kind: import("zod").ZodLiteral<"monorepo">;
|
|
348
|
+
config: import("zod").ZodObject<{}, import("zod/v4/core").$strip>;
|
|
349
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
350
|
+
id: import("zod").ZodString;
|
|
351
|
+
kind: import("zod").ZodLiteral<"mcp">;
|
|
352
|
+
config: import("zod").ZodObject<{
|
|
353
|
+
url: import("zod").ZodURL;
|
|
354
|
+
token: import("zod").ZodOptional<import("zod").ZodString>;
|
|
355
|
+
}, import("zod/v4/core").$strip>;
|
|
356
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
357
|
+
id: import("zod").ZodString;
|
|
358
|
+
kind: import("zod").ZodLiteral<"service">;
|
|
359
|
+
config: import("zod").ZodObject<{
|
|
360
|
+
service: import("zod").ZodEnum<{
|
|
361
|
+
infisical: "infisical";
|
|
362
|
+
invoiceninja: "invoiceninja";
|
|
363
|
+
openproject: "openproject";
|
|
364
|
+
outline: "outline";
|
|
365
|
+
paperless: "paperless";
|
|
366
|
+
signoz: "signoz";
|
|
367
|
+
}>;
|
|
368
|
+
domain: import("zod").ZodString;
|
|
369
|
+
on: import("zod").ZodString;
|
|
370
|
+
expose: import("zod").ZodString;
|
|
371
|
+
}, import("zod/v4/core").$strip>;
|
|
372
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
373
|
+
id: import("zod").ZodString;
|
|
374
|
+
kind: import("zod").ZodLiteral<"integration">;
|
|
375
|
+
config: import("zod").ZodObject<{
|
|
376
|
+
provider: import("zod").ZodLiteral<"stripe">;
|
|
377
|
+
}, import("zod/v4/core").$strip>;
|
|
378
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
379
|
+
id: import("zod").ZodString;
|
|
380
|
+
kind: import("zod").ZodLiteral<"cli">;
|
|
381
|
+
config: import("zod").ZodObject<{
|
|
382
|
+
provider: import("zod").ZodString;
|
|
383
|
+
}, import("zod/v4/core").$catchall<import("zod").ZodString>>;
|
|
384
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
385
|
+
id: import("zod").ZodString;
|
|
386
|
+
kind: import("zod").ZodLiteral<"plugin">;
|
|
387
|
+
config: import("zod").ZodObject<{
|
|
388
|
+
url: import("zod").ZodURL;
|
|
389
|
+
ref: import("zod").ZodOptional<import("zod").ZodString>;
|
|
390
|
+
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
391
|
+
token: import("zod").ZodOptional<import("zod").ZodString>;
|
|
392
|
+
}, import("zod/v4/core").$strip>;
|
|
393
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
394
|
+
id: import("zod").ZodString;
|
|
395
|
+
kind: import("zod").ZodLiteral<"extension">;
|
|
396
|
+
config: import("zod").ZodObject<{
|
|
397
|
+
url: import("zod").ZodURL;
|
|
398
|
+
ref: import("zod").ZodString;
|
|
399
|
+
path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
400
|
+
token: import("zod").ZodOptional<import("zod").ZodString>;
|
|
401
|
+
tier: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
402
|
+
free: "free";
|
|
403
|
+
premium: "premium";
|
|
404
|
+
}>>;
|
|
405
|
+
registry: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
406
|
+
}, import("zod/v4/core").$strip>;
|
|
407
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
408
|
+
id: import("zod").ZodString;
|
|
409
|
+
kind: import("zod").ZodLiteral<"ssh">;
|
|
410
|
+
config: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
411
|
+
auth: import("zod").ZodLiteral<"key">;
|
|
412
|
+
host: import("zod").ZodString;
|
|
413
|
+
port: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
414
|
+
user: import("zod").ZodString;
|
|
415
|
+
privateKey: import("zod").ZodString;
|
|
416
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
417
|
+
auth: import("zod").ZodLiteral<"password">;
|
|
418
|
+
host: import("zod").ZodString;
|
|
419
|
+
port: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
420
|
+
user: import("zod").ZodString;
|
|
421
|
+
password: import("zod").ZodString;
|
|
422
|
+
}, import("zod/v4/core").$strip>], "auth">;
|
|
423
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
424
|
+
id: import("zod").ZodString;
|
|
425
|
+
kind: import("zod").ZodLiteral<"vpn">;
|
|
426
|
+
config: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
427
|
+
provider: import("zod").ZodLiteral<"wireguard">;
|
|
428
|
+
config: import("zod").ZodString;
|
|
429
|
+
autoConnect: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
430
|
+
off: "off";
|
|
431
|
+
on: "on";
|
|
432
|
+
}>>;
|
|
433
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
434
|
+
provider: import("zod").ZodLiteral<"fortinet">;
|
|
435
|
+
server: import("zod").ZodString;
|
|
436
|
+
port: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
437
|
+
username: import("zod").ZodString;
|
|
438
|
+
password: import("zod").ZodString;
|
|
439
|
+
trustedCert: import("zod").ZodOptional<import("zod").ZodString>;
|
|
440
|
+
realm: import("zod").ZodOptional<import("zod").ZodString>;
|
|
441
|
+
autoConnect: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
442
|
+
off: "off";
|
|
443
|
+
on: "on";
|
|
444
|
+
}>>;
|
|
445
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
446
|
+
provider: import("zod").ZodLiteral<"ipsec">;
|
|
447
|
+
server: import("zod").ZodString;
|
|
448
|
+
presharedKey: import("zod").ZodString;
|
|
449
|
+
localId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
450
|
+
remoteId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
451
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
452
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
453
|
+
ikeVersion: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
454
|
+
1: "1";
|
|
455
|
+
2: "2";
|
|
456
|
+
}>>;
|
|
457
|
+
pfs: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
458
|
+
off: "off";
|
|
459
|
+
on: "on";
|
|
460
|
+
}>>;
|
|
461
|
+
dhGroup: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
462
|
+
14: "14";
|
|
463
|
+
15: "15";
|
|
464
|
+
16: "16";
|
|
465
|
+
19: "19";
|
|
466
|
+
2: "2";
|
|
467
|
+
20: "20";
|
|
468
|
+
5: "5";
|
|
469
|
+
}>>;
|
|
470
|
+
aggressive: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
471
|
+
off: "off";
|
|
472
|
+
on: "on";
|
|
473
|
+
}>>;
|
|
474
|
+
routedNetworks: import("zod").ZodDefault<import("zod").ZodString>;
|
|
475
|
+
autoConnect: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
476
|
+
off: "off";
|
|
477
|
+
on: "on";
|
|
478
|
+
}>>;
|
|
479
|
+
}, import("zod/v4/core").$strip>], "provider">;
|
|
480
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
481
|
+
id: import("zod").ZodString;
|
|
482
|
+
kind: import("zod").ZodLiteral<"exit">;
|
|
483
|
+
config: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
484
|
+
provider: import("zod").ZodLiteral<"tor">;
|
|
485
|
+
country: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>>;
|
|
486
|
+
autoStart: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
487
|
+
off: "off";
|
|
488
|
+
on: "on";
|
|
489
|
+
}>>;
|
|
490
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
491
|
+
provider: import("zod").ZodLiteral<"vpngate">;
|
|
492
|
+
country: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>>;
|
|
493
|
+
autoStart: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
494
|
+
off: "off";
|
|
495
|
+
on: "on";
|
|
496
|
+
}>>;
|
|
497
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
498
|
+
provider: import("zod").ZodLiteral<"wireguard">;
|
|
499
|
+
config: import("zod").ZodString;
|
|
500
|
+
country: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>>;
|
|
501
|
+
autoStart: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
502
|
+
off: "off";
|
|
503
|
+
on: "on";
|
|
504
|
+
}>>;
|
|
505
|
+
}, import("zod/v4/core").$strip>], "provider">;
|
|
506
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
507
|
+
id: import("zod").ZodString;
|
|
508
|
+
kind: import("zod").ZodLiteral<"docker">;
|
|
509
|
+
config: import("zod").ZodObject<{
|
|
510
|
+
gpu: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
511
|
+
off: "off";
|
|
512
|
+
on: "on";
|
|
513
|
+
}>>;
|
|
514
|
+
registryMirror: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
515
|
+
insecureRegistries: import("zod").ZodOptional<import("zod").ZodString>;
|
|
516
|
+
addressPool: import("zod").ZodOptional<import("zod").ZodString>;
|
|
517
|
+
}, import("zod/v4/core").$strip>;
|
|
518
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
519
|
+
id: import("zod").ZodString;
|
|
520
|
+
kind: import("zod").ZodLiteral<"browser">;
|
|
521
|
+
config: import("zod").ZodObject<{
|
|
522
|
+
platform: import("zod").ZodString;
|
|
523
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
524
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
525
|
+
identity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
526
|
+
purpose: import("zod").ZodOptional<import("zod").ZodString>;
|
|
527
|
+
openedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
528
|
+
exit: import("zod").ZodOptional<import("zod").ZodString>;
|
|
529
|
+
}, import("zod/v4/core").$catchall<import("zod").ZodString>>;
|
|
530
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
531
|
+
id: import("zod").ZodString;
|
|
532
|
+
kind: import("zod").ZodLiteral<"identity">;
|
|
533
|
+
config: import("zod").ZodObject<{
|
|
534
|
+
email: import("zod").ZodString;
|
|
535
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
536
|
+
mailbox: import("zod").ZodOptional<import("zod").ZodString>;
|
|
537
|
+
loginUrl: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
538
|
+
openAccounts: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
539
|
+
off: "off";
|
|
540
|
+
on: "on";
|
|
541
|
+
}>>;
|
|
542
|
+
exit: import("zod").ZodOptional<import("zod").ZodString>;
|
|
543
|
+
}, import("zod/v4/core").$strip>;
|
|
544
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
545
|
+
id: import("zod").ZodString;
|
|
546
|
+
kind: import("zod").ZodLiteral<"host">;
|
|
547
|
+
config: import("zod").ZodObject<{
|
|
548
|
+
shell: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
549
|
+
off: "off";
|
|
550
|
+
on: "on";
|
|
551
|
+
}>>;
|
|
552
|
+
write: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
553
|
+
off: "off";
|
|
554
|
+
on: "on";
|
|
555
|
+
}>>;
|
|
556
|
+
screen: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
557
|
+
off: "off";
|
|
558
|
+
on: "on";
|
|
559
|
+
}>>;
|
|
560
|
+
control: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
561
|
+
off: "off";
|
|
562
|
+
on: "on";
|
|
563
|
+
}>>;
|
|
564
|
+
sandboxes: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
565
|
+
off: "off";
|
|
566
|
+
on: "on";
|
|
567
|
+
}>>;
|
|
568
|
+
sandboxRemove: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
569
|
+
off: "off";
|
|
570
|
+
on: "on";
|
|
571
|
+
}>>;
|
|
572
|
+
roots: import("zod").ZodOptional<import("zod").ZodString>;
|
|
573
|
+
platform: import("zod").ZodString;
|
|
574
|
+
}, import("zod/v4/core").$strip>;
|
|
575
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
576
|
+
id: import("zod").ZodString;
|
|
577
|
+
kind: import("zod").ZodLiteral<"agent">;
|
|
578
|
+
config: import("zod").ZodObject<{
|
|
579
|
+
command: import("zod").ZodString;
|
|
580
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
581
|
+
env: import("zod").ZodOptional<import("zod").ZodString>;
|
|
582
|
+
loginCommand: import("zod").ZodOptional<import("zod").ZodString>;
|
|
583
|
+
}, import("zod/v4/core").$strip>;
|
|
584
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
585
|
+
id: import("zod").ZodString;
|
|
586
|
+
kind: import("zod").ZodLiteral<"endpoint">;
|
|
587
|
+
config: import("zod").ZodObject<{
|
|
588
|
+
baseUrl: import("zod").ZodURL;
|
|
589
|
+
protocol: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
590
|
+
anthropic: "anthropic";
|
|
591
|
+
openai: "openai";
|
|
592
|
+
}>>;
|
|
593
|
+
apiKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
594
|
+
headers: import("zod").ZodOptional<import("zod").ZodString>;
|
|
595
|
+
}, import("zod/v4/core").$strip>;
|
|
596
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
597
|
+
id: import("zod").ZodString;
|
|
598
|
+
kind: import("zod").ZodLiteral<"localmodel">;
|
|
599
|
+
config: import("zod").ZodObject<{
|
|
600
|
+
model: import("zod").ZodString;
|
|
601
|
+
gpu: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
602
|
+
off: "off";
|
|
603
|
+
on: "on";
|
|
604
|
+
}>>;
|
|
605
|
+
url: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
606
|
+
context: import("zod").ZodDefault<import("zod").ZodUnion<readonly [import("zod").ZodEnum<{
|
|
607
|
+
131072: "131072";
|
|
608
|
+
16384: "16384";
|
|
609
|
+
32768: "32768";
|
|
610
|
+
65536: "65536";
|
|
611
|
+
}>, import("zod").ZodLiteral<"custom">]>>;
|
|
612
|
+
contextTokens: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
613
|
+
}, import("zod/v4/core").$strip>;
|
|
614
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
615
|
+
id: import("zod").ZodString;
|
|
616
|
+
kind: import("zod").ZodLiteral<"wallet">;
|
|
617
|
+
config: import("zod").ZodObject<{
|
|
618
|
+
network: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
619
|
+
"eip155:8453": "eip155:8453";
|
|
620
|
+
"eip155:84532": "eip155:84532";
|
|
621
|
+
}>>;
|
|
622
|
+
address: import("zod").ZodOptional<import("zod").ZodString>;
|
|
623
|
+
perPaymentMaxUsd: import("zod").ZodDefault<import("zod").ZodString>;
|
|
624
|
+
autoApproveUnderUsd: import("zod").ZodDefault<import("zod").ZodString>;
|
|
625
|
+
dailyCapUsd: import("zod").ZodDefault<import("zod").ZodString>;
|
|
626
|
+
allow: import("zod").ZodOptional<import("zod").ZodString>;
|
|
627
|
+
deny: import("zod").ZodOptional<import("zod").ZodString>;
|
|
628
|
+
}, import("zod/v4/core").$strip>;
|
|
629
|
+
}, import("zod/v4/core").$strip>], "kind">, import("zod").ZodObject<{
|
|
630
|
+
checked: import("zod").ZodBoolean;
|
|
631
|
+
ok: import("zod").ZodBoolean;
|
|
632
|
+
message: import("zod").ZodString;
|
|
633
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
341
634
|
remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
342
635
|
id: import("zod").ZodString;
|
|
343
636
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/capabilities.contract.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"capabilities.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/capabilities.contract.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,oBAAoB;IAC7B,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASJ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAeH,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUL,MAAM;;;;;IAcN,MAAM;;;;;;IAWN,SAAS;;;;;;IAST,MAAM;;;;;;;;;;;;IAcN,UAAU;;;;;;;IAUV,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWX,OAAO;;;;;IAYP,KAAK;;;;;IAaL,GAAG;;;;;;CAUN,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { eventIterator, oc } from "@orpc/contract";
|
|
2
2
|
import { IntenticLineSchema } from "../events.js";
|
|
3
|
-
import { CapabilitiesListSchema, CapabilityCardParamSchema, CapabilityConnectionSchema, CapabilityIdParamSchema, CapabilityLoginSchema, CapabilityOtpSchema, CapabilityRenameSchema, CapabilitySchema, CapabilitySecretInputSchema, CapabilityStatusSchema, MarketplaceRequestSchema, MarketplaceSchema, OkSchema, } from "../schemas.js";
|
|
3
|
+
import { CapabilitiesListSchema, CapabilityCardParamSchema, CapabilityConnectionSchema, CapabilityIdParamSchema, CapabilityLoginSchema, CapabilityOtpSchema, CapabilityProbeSchema, CapabilityRenameSchema, CapabilitySchema, CapabilitySecretInputSchema, CapabilityStatusSchema, MarketplaceRequestSchema, MarketplaceSchema, OkSchema, } from "../schemas.js";
|
|
4
4
|
export const capabilitiesContract = {
|
|
5
5
|
list: oc
|
|
6
6
|
.route({
|
|
@@ -19,6 +19,15 @@ export const capabilitiesContract = {
|
|
|
19
19
|
})
|
|
20
20
|
.input(CapabilitySchema)
|
|
21
21
|
.output(eventIterator(IntenticLineSchema)),
|
|
22
|
+
probe: oc
|
|
23
|
+
.route({
|
|
24
|
+
method: "POST",
|
|
25
|
+
path: "/capabilities/probe",
|
|
26
|
+
summary: "Test a connection's settings without saving them",
|
|
27
|
+
description: "Dials the service the way this connection would and hands back what it said, before anything is written. The answer is the service's own confirmation or its exact refusal, so a wrong token or an unreachable host is found on the form rather than on a card afterwards.",
|
|
28
|
+
})
|
|
29
|
+
.input(CapabilitySchema)
|
|
30
|
+
.output(CapabilityProbeSchema),
|
|
22
31
|
remove: oc
|
|
23
32
|
.route({
|
|
24
33
|
method: "DELETE",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.contract.js","sourceRoot":"","sources":["../../src/contracts/capabilities.contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EACH,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,EAC1B,uBAAuB,EACvB,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,EAChB,2BAA2B,EAC3B,sBAAsB,EACtB,wBAAwB,EACxB,iBAAiB,EACjB,QAAQ,GACX,MAAM,eAAe,CAAC;AAcvB,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,IAAI,EAAE,EAAE;SACH,KAAK,CAAC;QACH,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE,yCAAyC;QAClD,WAAW,EACP,oMAAoM;KAC3M,CAAC;SACD,MAAM,CAAC,sBAAsB,CAAC;IACnC,GAAG,EAAE,EAAE;SACF,KAAK,CAAC;QACH,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE,2CAA2C;QACpD,WAAW,EACP,wZAAwZ;KAC/Z,CAAC;SACD,KAAK,CAAC,gBAAgB,CAAC;SACvB,MAAM,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"capabilities.contract.js","sourceRoot":"","sources":["../../src/contracts/capabilities.contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EACH,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,EAC1B,uBAAuB,EACvB,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,2BAA2B,EAC3B,sBAAsB,EACtB,wBAAwB,EACxB,iBAAiB,EACjB,QAAQ,GACX,MAAM,eAAe,CAAC;AAcvB,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,IAAI,EAAE,EAAE;SACH,KAAK,CAAC;QACH,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE,yCAAyC;QAClD,WAAW,EACP,oMAAoM;KAC3M,CAAC;SACD,MAAM,CAAC,sBAAsB,CAAC;IACnC,GAAG,EAAE,EAAE;SACF,KAAK,CAAC;QACH,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE,2CAA2C;QACpD,WAAW,EACP,wZAAwZ;KAC/Z,CAAC;SACD,KAAK,CAAC,gBAAgB,CAAC;SACvB,MAAM,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IAM9C,KAAK,EAAE,EAAE;SACJ,KAAK,CAAC;QACH,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,qBAAqB;QAC3B,OAAO,EAAE,kDAAkD;QAC3D,WAAW,EACP,4QAA4Q;KACnR,CAAC;SACD,KAAK,CAAC,gBAAgB,CAAC;SACvB,MAAM,CAAC,qBAAqB,CAAC;IAClC,MAAM,EAAE,EAAE;SACL,KAAK,CAAC;QACH,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,oBAAoB;QA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OAAO,EAAE,EAAE;SACN,KAAK,CAAC;QACH,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,sCAAsC;QAC5C,OAAO,EAAE,iCAAiC;QAC1C,WAAW,EACP,iLAAiL;KACxL,CAAC;SACD,KAAK,CAAC,yBAAyB,CAAC;SAChC,MAAM,CAAC,QAAQ,CAAC;IAGrB,KAAK,EAAE,EAAE;SACJ,KAAK,CAAC;QACH,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,0BAA0B;QAChC,OAAO,EAAE,iCAAiC;QAC1C,WAAW,EACP,mLAAmL;KAC1L,CAAC;SACD,KAAK,CAAC,uBAAuB,CAAC;SAC9B,MAAM,CAAC,qBAAqB,CAAC;IAIlC,GAAG,EAAE,EAAE;SACF,KAAK,CAAC;QACH,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,wBAAwB;QAC9B,OAAO,EAAE,sBAAsB;QAC/B,WAAW,EACP,4PAA4P;KACnQ,CAAC;SACD,KAAK,CAAC,uBAAuB,CAAC;SAC9B,MAAM,CAAC,mBAAmB,CAAC;CACnC,CAAC"}
|
|
@@ -82,6 +82,7 @@ export declare const extensionsContract: {
|
|
|
82
82
|
secret: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
83
83
|
optional: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
84
84
|
multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
85
|
+
advanced: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
85
86
|
boolean: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
86
87
|
hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
87
88
|
rebuild: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -98,6 +99,17 @@ export declare const extensionsContract: {
|
|
|
98
99
|
skill: import("zod").ZodString;
|
|
99
100
|
fragment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
100
101
|
pack: import("zod").ZodOptional<import("zod").ZodString>;
|
|
102
|
+
probe: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
103
|
+
url: import("zod").ZodString;
|
|
104
|
+
method: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
105
|
+
GET: "GET";
|
|
106
|
+
HEAD: "HEAD";
|
|
107
|
+
POST: "POST";
|
|
108
|
+
}>>;
|
|
109
|
+
headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
110
|
+
identity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
111
|
+
insecure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
112
|
+
}, import("zod/v4/core").$strip>>;
|
|
101
113
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
102
114
|
id: import("zod").ZodString;
|
|
103
115
|
catalog: import("zod").ZodObject<{
|
|
@@ -124,6 +136,7 @@ export declare const extensionsContract: {
|
|
|
124
136
|
secret: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
125
137
|
optional: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
126
138
|
multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
139
|
+
advanced: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
127
140
|
boolean: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
128
141
|
hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
129
142
|
rebuild: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -166,6 +179,7 @@ export declare const extensionsContract: {
|
|
|
166
179
|
secret: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
167
180
|
optional: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
168
181
|
multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
182
|
+
advanced: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
169
183
|
boolean: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
170
184
|
hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
171
185
|
rebuild: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -206,6 +220,7 @@ export declare const extensionsContract: {
|
|
|
206
220
|
secret: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
207
221
|
optional: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
208
222
|
multiline: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
223
|
+
advanced: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
209
224
|
boolean: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
210
225
|
hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
211
226
|
rebuild: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extensions.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/extensions.contract.ts"],"names":[],"mappings":"AAyBA,eAAO,MAAM,kBAAkB;IAC3B,IAAI
|
|
1
|
+
{"version":3,"file":"extensions.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/extensions.contract.ts"],"names":[],"mappings":"AAyBA,eAAO,MAAM,kBAAkB;IAC3B,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYJ,MAAM;;;;;;;IAUN,QAAQ;;;;;;IASR,WAAW;;;;;;IAaX,UAAU;;;;;;IAaV,WAAW;;;;;;IAaX,SAAS;;;;;;;;;;;;;;IAkBT,YAAY;;;;IASZ,aAAa;;;;;;;;;;;;;;;IAUb,WAAW;;;;;;;;IAUX,MAAM;;;;;;;IAWN,eAAe;;;;;;;;;;;;;;IAYf,aAAa;;;;;;;;;IASb,YAAY;;;;;;IASZ,WAAW;;;;;;CASd,CAAC"}
|
|
@@ -131,7 +131,12 @@ export declare const gitContract: {
|
|
|
131
131
|
before: import("zod").ZodOptional<import("zod").ZodString>;
|
|
132
132
|
after: import("zod").ZodOptional<import("zod").ZodString>;
|
|
133
133
|
binary: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
134
|
-
|
|
134
|
+
partial: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
135
|
+
beforeBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
136
|
+
afterBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
137
|
+
patch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
138
|
+
more: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
139
|
+
}, import("zod/v4/core").$strip>>;
|
|
135
140
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
136
141
|
operation: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
137
142
|
repo: import("zod").ZodString;
|
|
@@ -331,7 +336,12 @@ export declare const gitContract: {
|
|
|
331
336
|
before: import("zod").ZodOptional<import("zod").ZodString>;
|
|
332
337
|
after: import("zod").ZodOptional<import("zod").ZodString>;
|
|
333
338
|
binary: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
334
|
-
|
|
339
|
+
partial: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
340
|
+
beforeBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
341
|
+
afterBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
342
|
+
patch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
343
|
+
more: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
344
|
+
}, import("zod/v4/core").$strip>>;
|
|
335
345
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
336
346
|
status: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
337
347
|
repo: import("zod").ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/git.contract.ts"],"names":[],"mappings":"AAoDA,eAAO,MAAM,WAAW;IACpB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYP,KAAK;;;IAWL,WAAW;;;;;;;IASX,GAAG;;;;;;;;;;;;;;;;;;;;;IAUH,UAAU;;;;;;;;;;;;;;;;;;;IAUV,cAAc
|
|
1
|
+
{"version":3,"file":"git.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/git.contract.ts"],"names":[],"mappings":"AAoDA,eAAO,MAAM,WAAW;IACpB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYP,KAAK;;;IAWL,WAAW;;;;;;;IASX,GAAG;;;;;;;;;;;;;;;;;;;;;IAUH,UAAU;;;;;;;;;;;;;;;;;;;IAUV,cAAc;;;;;;;;;;;;;;;IAiBd,SAAS;;;;;;;;;;;IAUT,KAAK;;;;;;IAcL,QAAQ;;;;;;;;;;;;;;;;;;;;;;;IAUR,IAAI;;;;;;;;IAaJ,OAAO;;;;;;;;;;;;;;IAUP,SAAS;;;;;;;;;;;;;;;;;;;IAUT,SAAS;;;;;;;;IAUT,UAAU;;;;;;;;IAUV,SAAS;;;;;;IAUT,YAAY;;;;;;;IASZ,SAAS;;;;;;;IAUT,SAAS;;;;;;;IAST,OAAO;;;;;;;;IAUP,Q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