apps 0.0.1-beta.23 → 0.0.1-beta.25
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/framework-reference.json +1 -1
- package/js/{chunk-IJX4CYZO.js → chunk-2TP7C25K.js} +3 -3
- package/js/{chunk-KUMBKVJD.js → chunk-3YN4UDPB.js} +2 -2
- package/js/{chunk-M3B3DE4K.js → chunk-AAAMPT6F.js} +2 -2
- package/js/chunk-DAIW2WM3.js +118 -0
- package/js/{chunk-CDL5PM2Q.js → chunk-DM5U7G7V.js} +124 -124
- package/js/{chunk-ODEIDRGW.js → chunk-DUEZ2XCO.js} +3 -3
- package/js/{chunk-K2QATKIF.js → chunk-GG4IFBN3.js} +77 -22
- package/js/{chunk-N7YDVXYJ.js → chunk-GH6PY5BQ.js} +1 -1
- package/js/{chunk-PZB6T6KU.js → chunk-HQKIPKM5.js} +1 -1
- package/js/{chunk-66JAEDTE.js → chunk-IE6W5RNN.js} +2 -2
- package/js/{chunk-WFEUCUFF.js → chunk-J3RUZMLO.js} +88 -26
- package/js/{chunk-JWNSH5CA.js → chunk-K3MQX2KO.js} +2 -2
- package/js/{chunk-27F7W2LG.js → chunk-KKGRSXUK.js} +1 -1
- package/js/{chunk-57RKNWL2.js → chunk-KNJAOYV4.js} +2 -2
- package/js/{chunk-ZQINWV4W.js → chunk-LPN4ONWW.js} +2 -2
- package/js/{chunk-A5BSZKFF.js → chunk-NXO2GN2T.js} +8 -8
- package/js/{chunk-UK573G7W.js → chunk-OBXHLFGQ.js} +1 -1
- package/js/{chunk-IPI4MFSN.js → chunk-PC5RHPUP.js} +2 -2
- package/js/{chunk-VFZKSM3T.js → chunk-SUY33XAY.js} +1 -1
- package/js/{chunk-R3EV5FTO.js → chunk-T7WRQJUF.js} +55 -3
- package/js/{chunk-JU7VHODU.js → chunk-TACLXEAE.js} +1 -1
- package/js/{chunk-2KZ7GG43.js → chunk-VGEPL4BV.js} +146 -53
- package/js/{chunk-B3T7CZOH.js → chunk-VSLWGXPW.js} +29 -7
- package/js/{chunk-3HH4OZR3.js → chunk-VWU6I23D.js} +23 -25
- package/js/{chunk-S47NFEWF.js → chunk-WPKXOTKM.js} +3 -3
- package/js/{chunk-PJJ24GU7.js → chunk-XBG3M64K.js} +1 -1
- package/js/{chunk-AK54RD3A.js → chunk-XIRAIB3P.js} +4 -4
- package/js/{chunk-NKLWZJLE.js → chunk-ZVMZWXVF.js} +2 -2
- package/js/client.js +115 -65
- package/js/contracts.js +36 -14
- package/js/effect.js +19 -19
- package/js/graphql.js +21 -21
- package/js/host.js +19 -19
- package/js/index.js +12 -12
- package/js/mcp/effect.js +21 -21
- package/js/mcp/stdio.js +30 -25
- package/js/mcp.js +23 -23
- package/js/openapi.js +15 -15
- package/js/react.js +3 -3
- package/js/skills/effect.js +3 -3
- package/js/skills.js +11 -11
- package/js/storage/facet.js +4 -4
- package/js/ui/auth/contracts.js +2 -2
- package/js/ui/auth.js +5 -5
- package/js/ui/contracts.js +4 -4
- package/js/ui/serving.js +8 -8
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/apps/src/contracts/api-response-error.d.ts +4 -0
- package/types/apps/src/contracts/failure.d.ts +30 -1
- package/types/apps/src/contracts/host.d.ts +5 -4
- package/types/apps/src/contracts/mcp.d.ts +8 -1
- package/types/apps/src/contracts/protocol-version.d.ts +2 -2
- package/types/apps/src/contracts/protocols/1.d.ts +16 -2
- package/types/apps/src/contracts/protocols/2.d.ts +1 -1
- package/types/apps/src/contracts/protocols/3.d.ts +1 -3
- package/types/apps/src/contracts/protocols/4.d.ts +1 -2
- package/types/apps/src/contracts/protocols/5.d.ts +3 -3
- package/types/apps/src/contracts/protocols/6.d.ts +3 -3
- package/types/apps/src/contracts/protocols/7.d.ts +3 -3
- package/types/apps/src/contracts/protocols/8.d.ts +1119 -0
- package/types/apps/src/contracts/provider-error.d.ts +9 -0
- package/types/apps/src/implementation/failure-detail.d.ts +22 -3
- package/types/apps/src/implementation/mcp-client.d.ts +6 -0
- package/types/apps/src/implementation/provider-error.d.ts +28 -1
- package/types/apps/src/implementation/router-catalog.d.ts +2 -3
- package/types/apps/src/implementation/ui-client.d.ts +2 -2
- package/types/apps/src/implementation/upstream-error.d.ts +7 -0
- package/types/telemetry/src/config.d.ts +2 -2
- package/js/chunk-MKWZPDR6.js +0 -63
package/js/client.js
CHANGED
|
@@ -4,36 +4,36 @@ import {
|
|
|
4
4
|
UiContext,
|
|
5
5
|
UiDeploymentChanged,
|
|
6
6
|
UiFailed
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2TP7C25K.js";
|
|
8
8
|
import {
|
|
9
9
|
AsyncResult_exports,
|
|
10
10
|
AtomRegistry_exports,
|
|
11
11
|
Atom_exports,
|
|
12
12
|
queryResult
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-AAAMPT6F.js";
|
|
14
|
+
import "./chunk-XBG3M64K.js";
|
|
15
15
|
import {
|
|
16
16
|
OtlpExporter_exports,
|
|
17
17
|
externalTrace,
|
|
18
18
|
pendingSpan,
|
|
19
19
|
telemetryLayer,
|
|
20
20
|
traceLinks
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DUEZ2XCO.js";
|
|
22
22
|
import {
|
|
23
23
|
FetchHttpClient_exports
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KNJAOYV4.js";
|
|
25
25
|
import {
|
|
26
26
|
HttpClientError_exports
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OBXHLFGQ.js";
|
|
28
28
|
import {
|
|
29
29
|
decoderOf
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-IE6W5RNN.js";
|
|
31
31
|
import {
|
|
32
32
|
StorageName
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-HQKIPKM5.js";
|
|
34
34
|
import {
|
|
35
35
|
JsonValue
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-KKGRSXUK.js";
|
|
37
37
|
import {
|
|
38
38
|
Cause_exports,
|
|
39
39
|
Clock_exports,
|
|
@@ -46,12 +46,13 @@ import {
|
|
|
46
46
|
Logger_exports,
|
|
47
47
|
ManagedRuntime_exports,
|
|
48
48
|
Option_exports,
|
|
49
|
+
Queue_exports,
|
|
49
50
|
Schedule_exports,
|
|
50
51
|
Schema_exports,
|
|
51
52
|
Semaphore_exports,
|
|
52
53
|
Stream_exports,
|
|
53
54
|
Tracer_exports
|
|
54
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-DM5U7G7V.js";
|
|
55
56
|
import "./chunk-CZ7CSFO4.js";
|
|
56
57
|
|
|
57
58
|
// src/contracts/live.ts
|
|
@@ -793,6 +794,33 @@ var makeOptimisticClient = (transport) => {
|
|
|
793
794
|
};
|
|
794
795
|
|
|
795
796
|
// src/implementation/ui-client.ts
|
|
797
|
+
var resubscribeDelay = Schedule_exports.min([
|
|
798
|
+
Schedule_exports.exponential("1 second"),
|
|
799
|
+
Schedule_exports.spaced("1 minute")
|
|
800
|
+
]).pipe(Schedule_exports.jittered);
|
|
801
|
+
var appFailure = (error) => Schema_exports.is(UiFailed)(error) && error.reason === "operation_failed";
|
|
802
|
+
var resubscribes = (error) => HttpClientError_exports.isHttpClientError(error) || Cause_exports.isTimeoutError(error) || Schema_exports.is(UiFailed)(error) && error.reason !== "account_required";
|
|
803
|
+
var Retrying = class {
|
|
804
|
+
constructor(error, previous) {
|
|
805
|
+
this.error = error;
|
|
806
|
+
this.previous = previous;
|
|
807
|
+
}
|
|
808
|
+
error;
|
|
809
|
+
previous;
|
|
810
|
+
};
|
|
811
|
+
var visibleResult = (result) => {
|
|
812
|
+
const current = AsyncResult_exports.value(result);
|
|
813
|
+
if (Option_exports.isNone(current) || !(current.value instanceof Retrying)) {
|
|
814
|
+
return result;
|
|
815
|
+
}
|
|
816
|
+
const previous = Option_exports.map(
|
|
817
|
+
Option_exports.fromUndefinedOr(current.value.previous),
|
|
818
|
+
AsyncResult_exports.success
|
|
819
|
+
);
|
|
820
|
+
return AsyncResult_exports.isSuccess(result) ? AsyncResult_exports.failureWithPrevious(Cause_exports.fail(current.value.error), { previous, waiting: true }) : AsyncResult_exports.failureWithPrevious(AsyncResult_exports.isFailure(result) ? result.cause : Cause_exports.empty, {
|
|
821
|
+
previous
|
|
822
|
+
});
|
|
823
|
+
};
|
|
796
824
|
var createAppClient = () => {
|
|
797
825
|
const { runtime, atoms } = makeBrowserTelemetry(
|
|
798
826
|
browserSettings("/_executor/api/telemetry", "executor-app-web")
|
|
@@ -847,7 +875,8 @@ var createAppClient = () => {
|
|
|
847
875
|
Stream_exports.suspend(() => {
|
|
848
876
|
let previous;
|
|
849
877
|
let attempts = 0;
|
|
850
|
-
|
|
878
|
+
let latest;
|
|
879
|
+
const subscription = Stream_exports.unwrap(
|
|
851
880
|
Effect_exports.gen(function* () {
|
|
852
881
|
const attempt = attempts++;
|
|
853
882
|
const first = yield* pendingSpan("ui.app.first_result", {
|
|
@@ -895,53 +924,55 @@ var createAppClient = () => {
|
|
|
895
924
|
Stream_exports.timeout("45 seconds"),
|
|
896
925
|
Stream_exports.concat(Stream_exports.fail(new UiFailed({ reason: "unavailable" }))),
|
|
897
926
|
Stream_exports.filter((frame) => frame.type !== "heartbeat"),
|
|
898
|
-
Stream_exports.mapEffect(
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
Effect_exports.
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
927
|
+
Stream_exports.mapEffect(
|
|
928
|
+
(frame) => {
|
|
929
|
+
if (frame.type === "failure") return Effect_exports.fail(frame.error);
|
|
930
|
+
const server = externalTrace(frame.trace);
|
|
931
|
+
return Effect_exports.gen(function* () {
|
|
932
|
+
const value = yield* Schema_exports.decodeUnknownEffect(decoderOf(output))(
|
|
933
|
+
frame.value
|
|
934
|
+
).pipe(Effect_exports.mapError(() => new AppQueryFailed()));
|
|
935
|
+
const received = yield* Effect_exports.currentSpan;
|
|
936
|
+
const receivedAt = clock.currentTimeMillisUnsafe();
|
|
937
|
+
const currentRevision = revision++;
|
|
938
|
+
yield* Effect_exports.annotateCurrentSpan({
|
|
939
|
+
"executor.operation.name": name,
|
|
940
|
+
"executor.snapshot.revision": currentRevision,
|
|
941
|
+
"browser.query.elapsed_ms": receivedAt - started,
|
|
942
|
+
"executor.trace.context_valid": Option_exports.isSome(server)
|
|
943
|
+
});
|
|
944
|
+
yield* first.finish(Exit_exports.void);
|
|
945
|
+
let committed = false;
|
|
946
|
+
return {
|
|
947
|
+
value,
|
|
948
|
+
commit: () => {
|
|
949
|
+
if (committed) return;
|
|
950
|
+
committed = true;
|
|
951
|
+
const committedAt = clock.currentTimeMillisUnsafe();
|
|
952
|
+
runtime.runFork(
|
|
953
|
+
Effect_exports.void.pipe(
|
|
954
|
+
Effect_exports.withSpan("ui.app.result.commit", {
|
|
955
|
+
parent: received,
|
|
956
|
+
attributes: {
|
|
957
|
+
"executor.operation.name": name,
|
|
958
|
+
"executor.snapshot.revision": currentRevision,
|
|
959
|
+
"browser.query.elapsed_ms": committedAt - started,
|
|
960
|
+
"browser.query.receive_to_commit_ms": committedAt - receivedAt,
|
|
961
|
+
"browser.page.hidden": document.visibilityState === "hidden"
|
|
962
|
+
}
|
|
963
|
+
})
|
|
964
|
+
)
|
|
965
|
+
);
|
|
966
|
+
}
|
|
967
|
+
};
|
|
968
|
+
}).pipe(
|
|
969
|
+
Effect_exports.withSpan("ui.app.result.receive", {
|
|
970
|
+
parent: Option_exports.isSome(server) ? server.value : first.span,
|
|
971
|
+
kind: "consumer"
|
|
972
|
+
})
|
|
973
|
+
);
|
|
974
|
+
}
|
|
975
|
+
),
|
|
945
976
|
Stream_exports.onExit(finish),
|
|
946
977
|
Stream_exports.provideService(Tracer_exports.ParentSpan, first.span)
|
|
947
978
|
);
|
|
@@ -952,16 +983,35 @@ var createAppClient = () => {
|
|
|
952
983
|
Stream_exports.catch(
|
|
953
984
|
(error) => Schema_exports.is(UiDeploymentChanged)(error) ? Stream_exports.unwrap(deploymentChanged.pipe(Effect_exports.as(Stream_exports.never))) : Stream_exports.fail(error)
|
|
954
985
|
),
|
|
955
|
-
Stream_exports.
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
)
|
|
960
|
-
)
|
|
986
|
+
Stream_exports.tap(
|
|
987
|
+
(value) => Effect_exports.sync(() => {
|
|
988
|
+
latest = value;
|
|
989
|
+
})
|
|
961
990
|
)
|
|
962
991
|
);
|
|
992
|
+
return Stream_exports.unwrap(
|
|
993
|
+
Effect_exports.gen(function* () {
|
|
994
|
+
const retrying = yield* Queue_exports.unbounded();
|
|
995
|
+
return Stream_exports.merge(
|
|
996
|
+
subscription.pipe(
|
|
997
|
+
Stream_exports.retry(
|
|
998
|
+
resubscribeDelay.pipe(
|
|
999
|
+
Schedule_exports.while(
|
|
1000
|
+
({ input: input2 }) => !resubscribes(input2) ? false : appFailure(input2) ? Queue_exports.offer(retrying, new Retrying(input2, latest)).pipe(
|
|
1001
|
+
Effect_exports.as(true)
|
|
1002
|
+
) : true
|
|
1003
|
+
)
|
|
1004
|
+
)
|
|
1005
|
+
)
|
|
1006
|
+
),
|
|
1007
|
+
// Shown outside the retried stream, so they do not reset its delay.
|
|
1008
|
+
Stream_exports.fromQueue(retrying),
|
|
1009
|
+
{ haltStrategy: "left" }
|
|
1010
|
+
);
|
|
1011
|
+
})
|
|
1012
|
+
);
|
|
963
1013
|
})
|
|
964
|
-
).pipe(Atom_exports.map(queryResult));
|
|
1014
|
+
).pipe(Atom_exports.map((result) => queryResult(visibleResult(result))));
|
|
965
1015
|
const optimistic = makeOptimisticClient({
|
|
966
1016
|
source,
|
|
967
1017
|
read: (name, input, output) => request("query", name, input, output),
|
package/js/contracts.js
CHANGED
|
@@ -14,11 +14,6 @@ import {
|
|
|
14
14
|
ElicitationLimits,
|
|
15
15
|
ElicitationReply,
|
|
16
16
|
ElicitationResponse,
|
|
17
|
-
FailureCode,
|
|
18
|
-
FailureDetail,
|
|
19
|
-
FailureMessage,
|
|
20
|
-
FailureName,
|
|
21
|
-
FailureSource,
|
|
22
17
|
FormElicitation,
|
|
23
18
|
HostAccountCheckError,
|
|
24
19
|
HostAccountsInvalid,
|
|
@@ -100,7 +95,8 @@ import {
|
|
|
100
95
|
frameworkProtocol,
|
|
101
96
|
indexCommand,
|
|
102
97
|
inspectCommand,
|
|
103
|
-
|
|
98
|
+
maxApiErrorInstructionsLength,
|
|
99
|
+
maxApiErrorMessageLength,
|
|
104
100
|
maxInputProblems,
|
|
105
101
|
minimumIntervalMilliseconds,
|
|
106
102
|
protocol1,
|
|
@@ -110,18 +106,33 @@ import {
|
|
|
110
106
|
protocol5,
|
|
111
107
|
protocol6,
|
|
112
108
|
protocol7,
|
|
109
|
+
protocol8,
|
|
113
110
|
selectTools,
|
|
114
111
|
skillCatalog,
|
|
115
112
|
skillsCommand,
|
|
116
113
|
workflowDurationMillis
|
|
117
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-VGEPL4BV.js";
|
|
118
115
|
import {
|
|
119
116
|
DatabaseFieldReserved,
|
|
120
117
|
DatabaseLimitExceeded
|
|
121
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-GH6PY5BQ.js";
|
|
122
119
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
120
|
+
FailureCode,
|
|
121
|
+
FailureDetail,
|
|
122
|
+
FailureFieldName,
|
|
123
|
+
FailureFieldValue,
|
|
124
|
+
FailureFields,
|
|
125
|
+
FailureMessage,
|
|
126
|
+
FailureName,
|
|
127
|
+
FailurePhase,
|
|
128
|
+
FailureSource,
|
|
129
|
+
ProviderError,
|
|
130
|
+
UpstreamError,
|
|
131
|
+
maxFailureFieldLength,
|
|
132
|
+
maxFailureFields,
|
|
133
|
+
maxFailureMessageLength,
|
|
134
|
+
maxUpstreamMessageLength
|
|
135
|
+
} from "./chunk-T7WRQJUF.js";
|
|
125
136
|
import {
|
|
126
137
|
AppSkillMetadata,
|
|
127
138
|
AppSkillName,
|
|
@@ -134,17 +145,17 @@ import {
|
|
|
134
145
|
SkillServiceName,
|
|
135
146
|
skillFormatLimits,
|
|
136
147
|
skillLoadLimits
|
|
137
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-TACLXEAE.js";
|
|
138
149
|
import {
|
|
139
150
|
AppStorageError,
|
|
140
151
|
AppStorageUnavailable,
|
|
141
152
|
StorageName
|
|
142
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-HQKIPKM5.js";
|
|
143
154
|
import {
|
|
144
155
|
AccountId,
|
|
145
156
|
HttpUrl
|
|
146
|
-
} from "./chunk-
|
|
147
|
-
import "./chunk-
|
|
157
|
+
} from "./chunk-KKGRSXUK.js";
|
|
158
|
+
import "./chunk-DM5U7G7V.js";
|
|
148
159
|
import "./chunk-CZ7CSFO4.js";
|
|
149
160
|
export {
|
|
150
161
|
AccountCheckCommand,
|
|
@@ -173,8 +184,12 @@ export {
|
|
|
173
184
|
ElicitationResponse,
|
|
174
185
|
FailureCode,
|
|
175
186
|
FailureDetail,
|
|
187
|
+
FailureFieldName,
|
|
188
|
+
FailureFieldValue,
|
|
189
|
+
FailureFields,
|
|
176
190
|
FailureMessage,
|
|
177
191
|
FailureName,
|
|
192
|
+
FailurePhase,
|
|
178
193
|
FailureSource,
|
|
179
194
|
FormElicitation,
|
|
180
195
|
HostAccountCheckError,
|
|
@@ -239,6 +254,7 @@ export {
|
|
|
239
254
|
StorageName,
|
|
240
255
|
ToolResultObservation,
|
|
241
256
|
TrustedToolApproval,
|
|
257
|
+
UpstreamError,
|
|
242
258
|
WebhookCommand,
|
|
243
259
|
WebhookRequestData,
|
|
244
260
|
WebhookResponseData,
|
|
@@ -265,8 +281,13 @@ export {
|
|
|
265
281
|
frameworkProtocol,
|
|
266
282
|
indexCommand,
|
|
267
283
|
inspectCommand,
|
|
284
|
+
maxApiErrorInstructionsLength,
|
|
285
|
+
maxApiErrorMessageLength,
|
|
286
|
+
maxFailureFieldLength,
|
|
287
|
+
maxFailureFields,
|
|
268
288
|
maxFailureMessageLength,
|
|
269
289
|
maxInputProblems,
|
|
290
|
+
maxUpstreamMessageLength,
|
|
270
291
|
minimumIntervalMilliseconds,
|
|
271
292
|
protocol1,
|
|
272
293
|
protocol2,
|
|
@@ -275,6 +296,7 @@ export {
|
|
|
275
296
|
protocol5,
|
|
276
297
|
protocol6,
|
|
277
298
|
protocol7,
|
|
299
|
+
protocol8,
|
|
278
300
|
selectTools,
|
|
279
301
|
skillCatalog,
|
|
280
302
|
skillFormatLimits,
|
package/js/effect.js
CHANGED
|
@@ -3,36 +3,36 @@ import {
|
|
|
3
3
|
ApprovalDecision,
|
|
4
4
|
createAppHandler,
|
|
5
5
|
prepareElicitation
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-VWU6I23D.js";
|
|
7
|
+
import "./chunk-ZVMZWXVF.js";
|
|
8
|
+
import "./chunk-J3RUZMLO.js";
|
|
9
|
+
import "./chunk-PC5RHPUP.js";
|
|
10
|
+
import "./chunk-NXO2GN2T.js";
|
|
11
|
+
import "./chunk-LPN4ONWW.js";
|
|
12
|
+
import "./chunk-WPKXOTKM.js";
|
|
13
|
+
import "./chunk-DAIW2WM3.js";
|
|
14
14
|
import {
|
|
15
15
|
ToolAnnotations
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-VGEPL4BV.js";
|
|
17
|
+
import "./chunk-GH6PY5BQ.js";
|
|
18
|
+
import "./chunk-T7WRQJUF.js";
|
|
19
|
+
import "./chunk-TACLXEAE.js";
|
|
20
|
+
import "./chunk-DUEZ2XCO.js";
|
|
21
|
+
import "./chunk-KNJAOYV4.js";
|
|
22
|
+
import "./chunk-OBXHLFGQ.js";
|
|
23
23
|
import {
|
|
24
24
|
compileJsonSchemaDecoder,
|
|
25
25
|
decoderOf,
|
|
26
26
|
jsonSchemaDecoder,
|
|
27
27
|
wrap
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-IE6W5RNN.js";
|
|
29
|
+
import "./chunk-HQKIPKM5.js";
|
|
30
30
|
import {
|
|
31
31
|
HttpUrl,
|
|
32
32
|
JsonObject,
|
|
33
33
|
ValidationError
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-KKGRSXUK.js";
|
|
35
|
+
import "./chunk-DM5U7G7V.js";
|
|
36
36
|
import "./chunk-CZ7CSFO4.js";
|
|
37
37
|
export {
|
|
38
38
|
ApprovalDecision,
|
package/js/graphql.js
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catalogCache,
|
|
3
3
|
catalogScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XIRAIB3P.js";
|
|
5
5
|
import {
|
|
6
6
|
protocolOperations
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-K3MQX2KO.js";
|
|
8
8
|
import "./chunk-BCSNKUAC.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-VWU6I23D.js";
|
|
10
10
|
import {
|
|
11
11
|
cacheKey
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-ZVMZWXVF.js";
|
|
13
|
+
import "./chunk-J3RUZMLO.js";
|
|
14
|
+
import "./chunk-PC5RHPUP.js";
|
|
15
|
+
import "./chunk-NXO2GN2T.js";
|
|
16
|
+
import "./chunk-LPN4ONWW.js";
|
|
17
17
|
import {
|
|
18
18
|
nativeOperation,
|
|
19
19
|
routerDeclaration
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WPKXOTKM.js";
|
|
21
21
|
import {
|
|
22
22
|
accountProviderError,
|
|
23
23
|
graphqlProviderError,
|
|
24
24
|
httpProviderError
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-DAIW2WM3.js";
|
|
26
|
+
import "./chunk-VGEPL4BV.js";
|
|
27
|
+
import "./chunk-GH6PY5BQ.js";
|
|
28
28
|
import {
|
|
29
29
|
ProviderError
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-T7WRQJUF.js";
|
|
31
|
+
import "./chunk-TACLXEAE.js";
|
|
32
|
+
import "./chunk-DUEZ2XCO.js";
|
|
33
33
|
import {
|
|
34
34
|
FetchHttpClient_exports
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-KNJAOYV4.js";
|
|
36
36
|
import {
|
|
37
37
|
HttpClientRequest_exports,
|
|
38
38
|
HttpClient_exports
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-OBXHLFGQ.js";
|
|
40
40
|
import {
|
|
41
41
|
jsonSchemaDecoder
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-IE6W5RNN.js";
|
|
43
|
+
import "./chunk-HQKIPKM5.js";
|
|
44
44
|
import {
|
|
45
45
|
AccountId,
|
|
46
46
|
HttpUrl,
|
|
47
47
|
JsonObject
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-KKGRSXUK.js";
|
|
49
49
|
import {
|
|
50
50
|
Effect_exports,
|
|
51
51
|
Redacted_exports,
|
|
52
52
|
Schema_exports
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-DM5U7G7V.js";
|
|
54
54
|
import "./chunk-CZ7CSFO4.js";
|
|
55
55
|
|
|
56
56
|
// src/contracts/graphql.ts
|
package/js/host.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAppHandler
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-VWU6I23D.js";
|
|
4
|
+
import "./chunk-ZVMZWXVF.js";
|
|
5
|
+
import "./chunk-J3RUZMLO.js";
|
|
6
|
+
import "./chunk-PC5RHPUP.js";
|
|
7
|
+
import "./chunk-NXO2GN2T.js";
|
|
8
|
+
import "./chunk-LPN4ONWW.js";
|
|
9
|
+
import "./chunk-WPKXOTKM.js";
|
|
10
|
+
import "./chunk-DAIW2WM3.js";
|
|
11
11
|
import {
|
|
12
12
|
ElicitationFailed,
|
|
13
13
|
ElicitationReply,
|
|
@@ -21,30 +21,30 @@ import {
|
|
|
21
21
|
WorkflowRun,
|
|
22
22
|
WorkflowRunId,
|
|
23
23
|
WorkflowRunPage
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-VGEPL4BV.js";
|
|
25
|
+
import "./chunk-GH6PY5BQ.js";
|
|
26
26
|
import {
|
|
27
27
|
CacheCommand,
|
|
28
28
|
CacheError,
|
|
29
29
|
CacheReply
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-T7WRQJUF.js";
|
|
31
|
+
import "./chunk-TACLXEAE.js";
|
|
32
32
|
import {
|
|
33
33
|
collectTelemetry,
|
|
34
34
|
withRemoteSpan
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-DUEZ2XCO.js";
|
|
36
|
+
import "./chunk-KNJAOYV4.js";
|
|
37
|
+
import "./chunk-OBXHLFGQ.js";
|
|
38
|
+
import "./chunk-IE6W5RNN.js";
|
|
39
|
+
import "./chunk-HQKIPKM5.js";
|
|
40
|
+
import "./chunk-KKGRSXUK.js";
|
|
41
41
|
import {
|
|
42
42
|
Cause_exports,
|
|
43
43
|
Effect_exports,
|
|
44
44
|
Redacted_exports,
|
|
45
45
|
Scheduler_exports,
|
|
46
46
|
Schema_exports
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-DM5U7G7V.js";
|
|
48
48
|
import "./chunk-CZ7CSFO4.js";
|
|
49
49
|
|
|
50
50
|
// src/implementation/cache-session.ts
|
package/js/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
defineDatabase,
|
|
6
6
|
table,
|
|
7
7
|
workflow
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-NXO2GN2T.js";
|
|
9
|
+
import "./chunk-LPN4ONWW.js";
|
|
10
10
|
import {
|
|
11
11
|
dynamicRouter,
|
|
12
12
|
fromPromise,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
toolAnnotations,
|
|
21
21
|
withApproval,
|
|
22
22
|
withApprovals
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WPKXOTKM.js";
|
|
24
24
|
import {
|
|
25
25
|
accountProviderError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DAIW2WM3.js";
|
|
27
27
|
import {
|
|
28
28
|
CalendarSchedule,
|
|
29
29
|
ElicitationFailed,
|
|
@@ -38,13 +38,13 @@ import {
|
|
|
38
38
|
ScheduleTiming,
|
|
39
39
|
SecretsMethod,
|
|
40
40
|
WorkflowFailure
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-VGEPL4BV.js";
|
|
42
|
+
import "./chunk-GH6PY5BQ.js";
|
|
43
43
|
import {
|
|
44
44
|
CacheError,
|
|
45
45
|
ProviderError
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-T7WRQJUF.js";
|
|
47
|
+
import "./chunk-TACLXEAE.js";
|
|
48
48
|
import {
|
|
49
49
|
array,
|
|
50
50
|
boolean,
|
|
@@ -68,17 +68,17 @@ import {
|
|
|
68
68
|
userId,
|
|
69
69
|
withLazyJsonSchemaDocument,
|
|
70
70
|
wrap
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-IE6W5RNN.js";
|
|
72
|
+
import "./chunk-HQKIPKM5.js";
|
|
73
73
|
import {
|
|
74
74
|
JsonObject,
|
|
75
75
|
JsonValue,
|
|
76
76
|
ValidationError
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-KKGRSXUK.js";
|
|
78
78
|
import {
|
|
79
79
|
Effect_exports,
|
|
80
80
|
Schema_exports
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-DM5U7G7V.js";
|
|
82
82
|
import "./chunk-CZ7CSFO4.js";
|
|
83
83
|
|
|
84
84
|
// src/implementation/http.ts
|