apps 0.0.1-beta.0 → 0.0.1-beta.1
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 +97 -4
- package/framework-reference.json +1 -1
- package/js/{chunk-BPEFS4YF.js → chunk-2HHMABB6.js} +70 -14
- package/js/{chunk-SBKHUC5L.js → chunk-4LPG6RCH.js} +2 -2
- package/js/{chunk-LOKGDT6B.js → chunk-6IIO4NPI.js} +5 -4
- package/js/chunk-6YBRWRK3.js +160 -0
- package/js/{chunk-7JXHF5IF.js → chunk-BMOIAIVR.js} +1 -1
- package/js/chunk-CZ7CSFO4.js +39 -0
- package/js/{chunk-YDR4CPJA.js → chunk-EVJUVWN2.js} +8 -8
- package/js/{chunk-2OTCEKL2.js → chunk-FW5HBOIK.js} +2352 -1493
- package/js/{chunk-EP6AEUZO.js → chunk-FZJOYIZO.js} +1 -1
- package/js/{chunk-WIDTG42X.js → chunk-G7IE6BKC.js} +79 -26
- package/js/{chunk-VFUZI3NY.js → chunk-HDJH3RPR.js} +4 -4
- package/js/{chunk-HP7E42X6.js → chunk-IHQ4ML7K.js} +693 -219
- package/js/{chunk-Q2FD5IBM.js → chunk-KOXMLKTM.js} +430 -41
- package/js/{chunk-D6BKYP2L.js → chunk-M6ZRRIBI.js} +4 -4
- package/js/chunk-NCYXZN2G.js +6274 -0
- package/js/{chunk-3ANFZFCV.js → chunk-OHRT55C4.js} +15 -15
- package/js/{chunk-R6JMJSVT.js → chunk-PLCMJREA.js} +2 -2
- package/js/{chunk-C24KEZXR.js → chunk-PZ36XMXW.js} +36 -2
- package/js/{chunk-W7Q5EOTS.js → chunk-QKHR7BMF.js} +32 -32
- package/js/{chunk-X3YBZCJW.js → chunk-RBAC33PQ.js} +59 -38
- package/js/{chunk-36DNRFZQ.js → chunk-SATWJKN6.js} +1 -1
- package/js/chunk-SWPD52J7.js +35 -0
- package/js/{chunk-BKVL7XAJ.js → chunk-TE4KO4HI.js} +1 -1
- package/js/chunk-W7D7WVSY.js +18 -0
- package/js/{chunk-KWTCHVLT.js → chunk-X7SFGU4Q.js} +47 -51
- package/js/chunk-YEJOQEII.js +104 -0
- package/js/{chunk-OWD2YICM.js → chunk-ZCAMUXSG.js} +116 -87
- package/js/chunk-ZJWDMTE3.js +63 -0
- package/js/chunk-ZTFQHGEB.js +80 -0
- package/js/client.js +11 -11
- package/js/contracts.js +81 -25
- package/js/effect.js +20 -15
- package/js/graphql.js +223 -121
- package/js/host.js +75 -19
- package/js/index.js +191 -51
- package/js/mcp/effect.js +24 -17
- package/js/mcp/stdio.js +22 -17
- package/js/mcp.js +109 -24
- package/js/openapi.js +43897 -143
- package/js/operations/approval.js +1 -1
- package/js/react.js +4 -4
- package/js/skills/effect.js +12 -0
- package/js/skills.js +857 -0
- package/js/storage/facet.js +7 -7
- package/js/ui/auth/contracts.js +6 -6
- package/js/ui/auth.js +8 -8
- package/js/ui/contracts.js +5 -5
- package/js/ui/serving.js +12 -12
- package/package.json +9 -1
- package/runtime.json +1 -1
- package/types/app-cache/src/contracts/cache.d.ts +79 -0
- package/types/app-cache/src/index.d.ts +35 -0
- package/types/apps/src/contracts/api-response-error.d.ts +43 -0
- package/types/apps/src/contracts/app.d.ts +11 -0
- package/types/apps/src/contracts/cache.d.ts +41 -0
- package/types/apps/src/contracts/dynamic-skills.d.ts +10 -0
- package/types/apps/src/contracts/dynamic-tools.d.ts +13 -0
- package/types/apps/src/contracts/graphql.d.ts +18 -1
- package/types/apps/src/contracts/host.d.ts +200 -7
- package/types/apps/src/contracts/mcp.d.ts +3 -1
- package/types/apps/src/contracts/openapi-compile.d.ts +11 -0
- package/types/apps/src/contracts/openapi-document.d.ts +53 -0
- package/types/apps/src/contracts/openapi.d.ts +150 -30
- package/types/apps/src/contracts/provider-error.d.ts +15 -0
- package/types/apps/src/contracts/provider.d.ts +18 -1
- package/types/apps/src/contracts/skills.d.ts +113 -0
- package/types/apps/src/contracts/swagger-client.d.ts +29 -0
- package/types/apps/src/graphql.d.ts +6 -6
- package/types/apps/src/host.d.ts +1 -0
- package/types/apps/src/implementation/account-operations.d.ts +122 -3
- package/types/apps/src/implementation/app.d.ts +1 -1
- package/types/apps/src/implementation/cache-session.d.ts +7 -0
- package/types/apps/src/implementation/cache.d.ts +6 -0
- package/types/apps/src/implementation/catalog-cache.d.ts +29 -0
- package/types/apps/src/implementation/dynamic-skills.d.ts +7 -0
- package/types/apps/src/implementation/dynamic-tools.d.ts +8 -0
- package/types/apps/src/implementation/elicitation.d.ts +12 -12
- package/types/apps/src/implementation/git.d.ts +25 -0
- package/types/apps/src/implementation/graphql-catalog.d.ts +10 -0
- package/types/apps/src/implementation/graphql.d.ts +81 -3
- package/types/apps/src/implementation/inflate.d.ts +16 -0
- package/types/apps/src/implementation/input-problems.d.ts +3 -0
- package/types/apps/src/implementation/mcp-call.d.ts +3 -2
- package/types/apps/src/implementation/mcp-catalog.d.ts +12 -0
- package/types/apps/src/implementation/mcp-client.d.ts +9 -8
- package/types/apps/src/implementation/mcp-stdio.d.ts +1 -1
- package/types/apps/src/implementation/mcp-tools.d.ts +6 -3
- package/types/apps/src/implementation/mcp.d.ts +39 -2
- package/types/apps/src/implementation/openapi-compile.d.ts +119 -0
- package/types/apps/src/implementation/openapi-document.d.ts +53 -0
- package/types/apps/src/implementation/openapi-request.d.ts +11 -4
- package/types/apps/src/implementation/openapi-source.d.ts +36 -0
- package/types/apps/src/implementation/openapi.d.ts +39 -3
- package/types/apps/src/implementation/provider-error.d.ts +10 -0
- package/types/apps/src/implementation/schema.d.ts +11 -5
- package/types/apps/src/implementation/skill-files.d.ts +10 -0
- package/types/apps/src/implementation/skills.d.ts +43 -0
- package/types/apps/src/index.d.ts +7 -0
- package/types/apps/src/mcp.d.ts +5 -5
- package/types/apps/src/openapi.d.ts +3 -1
- package/types/apps/src/skills.d.ts +72 -0
- package/types/telemetry/src/config.d.ts +2 -0
- package/js/chunk-22WRQZT7.js +0 -389
- package/js/chunk-MLKGABMK.js +0 -9
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ProviderError
|
|
3
|
+
} from "./chunk-W7D7WVSY.js";
|
|
4
|
+
import {
|
|
5
|
+
AccountId
|
|
6
|
+
} from "./chunk-SATWJKN6.js";
|
|
7
|
+
import {
|
|
8
|
+
Option_exports,
|
|
9
|
+
Schema_exports
|
|
10
|
+
} from "./chunk-FW5HBOIK.js";
|
|
11
|
+
|
|
12
|
+
// src/implementation/provider-error.ts
|
|
13
|
+
function parseProviderError(error) {
|
|
14
|
+
return Schema_exports.decodeUnknownOption(ProviderError)(error).pipe(
|
|
15
|
+
Option_exports.map(({ reason, status, accountId }) => new ProviderError({ reason, status, accountId }))
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
function httpProviderError(status, headers = {}) {
|
|
19
|
+
if (status >= 500 && status <= 599) return new ProviderError({ reason: "unavailable", status });
|
|
20
|
+
if (status === 401) return new ProviderError({ reason: "unauthorized", status });
|
|
21
|
+
if (status === 429) return new ProviderError({ reason: "rate_limited", status });
|
|
22
|
+
if (status !== 403) return void 0;
|
|
23
|
+
const retry = headers["retry-after"];
|
|
24
|
+
if (headers["x-ratelimit-remaining"] === "0" || retry !== void 0 && (/^\d+$/.test(retry) || Number.isFinite(Date.parse(retry))))
|
|
25
|
+
return new ProviderError({ reason: "rate_limited", status });
|
|
26
|
+
if (/\bBearer\b.*\berror="insufficient_scope"/i.test(headers["www-authenticate"] ?? ""))
|
|
27
|
+
return new ProviderError({ reason: "forbidden", status });
|
|
28
|
+
return new ProviderError({ reason: "rejected", status });
|
|
29
|
+
}
|
|
30
|
+
function accountProviderError(error, accountId) {
|
|
31
|
+
const parsed = parseProviderError(error);
|
|
32
|
+
const account = Schema_exports.decodeUnknownOption(AccountId)(accountId);
|
|
33
|
+
if (Option_exports.isNone(parsed) || Option_exports.isNone(account)) return error;
|
|
34
|
+
return new ProviderError({
|
|
35
|
+
reason: parsed.value.reason,
|
|
36
|
+
status: parsed.value.status,
|
|
37
|
+
accountId: account.value
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
function graphqlProviderError(errors, status) {
|
|
41
|
+
const codes = errors.flatMap((error) => {
|
|
42
|
+
const parsed = Schema_exports.decodeUnknownOption(
|
|
43
|
+
Schema_exports.Struct({
|
|
44
|
+
type: Schema_exports.optional(Schema_exports.String),
|
|
45
|
+
extensions: Schema_exports.optional(Schema_exports.Struct({ code: Schema_exports.optional(Schema_exports.String) }))
|
|
46
|
+
})
|
|
47
|
+
)(error);
|
|
48
|
+
return Option_exports.isSome(parsed) ? [parsed.value.type, parsed.value.extensions?.code] : [];
|
|
49
|
+
});
|
|
50
|
+
if (codes.includes("RATE_LIMITED") || codes.includes("TOO_MANY_REQUESTS"))
|
|
51
|
+
return new ProviderError({ reason: "rate_limited", status });
|
|
52
|
+
if (codes.includes("UNAUTHENTICATED"))
|
|
53
|
+
return new ProviderError({ reason: "unauthorized", status });
|
|
54
|
+
if (codes.includes("FORBIDDEN")) return new ProviderError({ reason: "forbidden", status });
|
|
55
|
+
return void 0;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export {
|
|
59
|
+
parseProviderError,
|
|
60
|
+
httpProviderError,
|
|
61
|
+
accountProviderError,
|
|
62
|
+
graphqlProviderError
|
|
63
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parseDocument
|
|
3
|
+
} from "./chunk-NCYXZN2G.js";
|
|
4
|
+
import {
|
|
5
|
+
AppSkillMetadata,
|
|
6
|
+
AppSkillName,
|
|
7
|
+
AppSkillSource,
|
|
8
|
+
SkillDefinitionInvalid,
|
|
9
|
+
SkillFile,
|
|
10
|
+
SkillFilePath
|
|
11
|
+
} from "./chunk-YEJOQEII.js";
|
|
12
|
+
import {
|
|
13
|
+
Effect_exports,
|
|
14
|
+
Schema_exports
|
|
15
|
+
} from "./chunk-FW5HBOIK.js";
|
|
16
|
+
|
|
17
|
+
// src/implementation/skill-files.ts
|
|
18
|
+
var skillFromFiles = (input, source = {}) => Effect_exports.gen(function* () {
|
|
19
|
+
const file = `${source.directory === void 0 ? "" : `${source.directory}/`}SKILL.md`;
|
|
20
|
+
const invalid = (reason) => new SkillDefinitionInvalid({ file, reason });
|
|
21
|
+
const files = yield* Schema_exports.decodeUnknownEffect(Schema_exports.Array(SkillFile))(input).pipe(
|
|
22
|
+
Effect_exports.mapError(() => invalid("files"))
|
|
23
|
+
);
|
|
24
|
+
const document = files.find((file2) => file2.path === "SKILL.md");
|
|
25
|
+
if (document === void 0) return yield* invalid("missing-document");
|
|
26
|
+
const match = /^\uFEFF?---[ \t]*\r?\n([\s\S]*?)\r?\n---(?:[ \t]*\r?\n|[ \t]*$)/.exec(
|
|
27
|
+
document.content
|
|
28
|
+
);
|
|
29
|
+
if (match?.[1] === void 0) return yield* invalid("frontmatter");
|
|
30
|
+
const frontmatter = match[1];
|
|
31
|
+
const value = yield* Effect_exports.try({
|
|
32
|
+
try: () => {
|
|
33
|
+
const yaml = parseDocument(frontmatter);
|
|
34
|
+
if (yaml.errors.length) throw yaml.errors[0];
|
|
35
|
+
return yaml.toJS();
|
|
36
|
+
},
|
|
37
|
+
catch: () => invalid("frontmatter")
|
|
38
|
+
});
|
|
39
|
+
const metadata = yield* Schema_exports.decodeUnknownEffect(AppSkillMetadata)(value).pipe(
|
|
40
|
+
Effect_exports.mapError(() => invalid("metadata"))
|
|
41
|
+
);
|
|
42
|
+
if (source.name !== void 0 && metadata.name !== source.name)
|
|
43
|
+
return yield* invalid("name-mismatch");
|
|
44
|
+
return yield* Schema_exports.decodeUnknownEffect(AppSkillSource)({ ...metadata, files }).pipe(
|
|
45
|
+
Effect_exports.mapError(() => invalid("files"))
|
|
46
|
+
);
|
|
47
|
+
});
|
|
48
|
+
var folderSkillsEffect = (options) => Effect_exports.gen(function* () {
|
|
49
|
+
const path = options.path ?? "skills";
|
|
50
|
+
if (!Schema_exports.is(SkillFilePath)(path))
|
|
51
|
+
return yield* new SkillDefinitionInvalid({ file: "SKILL.md", reason: "directory" });
|
|
52
|
+
const files = yield* Schema_exports.decodeUnknownEffect(Schema_exports.Array(SkillFile))(options.files).pipe(
|
|
53
|
+
Effect_exports.mapError(() => new SkillDefinitionInvalid({ file: path, reason: "files" }))
|
|
54
|
+
);
|
|
55
|
+
const prefix = `${path}/`;
|
|
56
|
+
const directories = /* @__PURE__ */ new Map();
|
|
57
|
+
for (const file of files) {
|
|
58
|
+
if (!file.path.startsWith(prefix)) continue;
|
|
59
|
+
const [name, ...relative] = file.path.slice(prefix.length).split("/");
|
|
60
|
+
if (relative.length === 0) continue;
|
|
61
|
+
if (name === void 0 || !Schema_exports.is(AppSkillName)(name))
|
|
62
|
+
return yield* new SkillDefinitionInvalid({ file: file.path, reason: "directory" });
|
|
63
|
+
const resource = { path: relative.join("/"), content: file.content };
|
|
64
|
+
const existing = directories.get(name);
|
|
65
|
+
if (existing === void 0) directories.set(name, [resource]);
|
|
66
|
+
else existing.push(resource);
|
|
67
|
+
}
|
|
68
|
+
return yield* Effect_exports.forEach(
|
|
69
|
+
[...directories].sort(([a], [b]) => a.localeCompare(b)),
|
|
70
|
+
([name, files2]) => skillFromFiles(
|
|
71
|
+
files2.sort((a, b) => a.path.localeCompare(b.path)),
|
|
72
|
+
{ name, directory: `${path}/${name}` }
|
|
73
|
+
)
|
|
74
|
+
);
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
export {
|
|
78
|
+
skillFromFiles,
|
|
79
|
+
folderSkillsEffect
|
|
80
|
+
};
|
package/js/client.js
CHANGED
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
UiContext,
|
|
5
5
|
UiDeploymentChanged,
|
|
6
6
|
UiFailed
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OHRT55C4.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-EVJUVWN2.js";
|
|
14
|
+
import "./chunk-M6ZRRIBI.js";
|
|
15
15
|
import {
|
|
16
16
|
OtlpExporter_exports,
|
|
17
17
|
TraceContext,
|
|
@@ -19,22 +19,22 @@ import {
|
|
|
19
19
|
pendingSpan,
|
|
20
20
|
telemetryLayer,
|
|
21
21
|
traceLinks
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZCAMUXSG.js";
|
|
23
23
|
import {
|
|
24
24
|
FetchHttpClient_exports
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-HDJH3RPR.js";
|
|
26
26
|
import {
|
|
27
27
|
HttpClientError_exports
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QKHR7BMF.js";
|
|
29
29
|
import {
|
|
30
30
|
decoderOf
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2HHMABB6.js";
|
|
32
32
|
import {
|
|
33
33
|
StorageName
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FZJOYIZO.js";
|
|
35
35
|
import {
|
|
36
36
|
JsonValue
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-SATWJKN6.js";
|
|
38
38
|
import {
|
|
39
39
|
Cause_exports,
|
|
40
40
|
Clock_exports,
|
|
@@ -52,8 +52,8 @@ import {
|
|
|
52
52
|
Semaphore_exports,
|
|
53
53
|
Stream_exports,
|
|
54
54
|
Tracer_exports
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
55
|
+
} from "./chunk-FW5HBOIK.js";
|
|
56
|
+
import "./chunk-CZ7CSFO4.js";
|
|
57
57
|
|
|
58
58
|
// src/contracts/live.ts
|
|
59
59
|
var AppQueryFailed = class extends Schema_exports.TaggedError()("AppQueryFailed", {}) {
|
package/js/contracts.js
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ApprovalElicitation,
|
|
3
|
+
ApprovalResponse,
|
|
4
|
+
CalendarSchedule,
|
|
2
5
|
DeclaredAuthMethod,
|
|
3
6
|
DeclaredProvider,
|
|
4
7
|
DeclaredRequirements,
|
|
8
|
+
ElicitationFailed,
|
|
9
|
+
ElicitationLimits,
|
|
10
|
+
ElicitationReply,
|
|
11
|
+
ElicitationResponse,
|
|
12
|
+
FormElicitation,
|
|
5
13
|
HostAccountsInvalid,
|
|
6
14
|
HostCallError,
|
|
7
15
|
HostDataError,
|
|
@@ -22,38 +30,32 @@ import {
|
|
|
22
30
|
HostToolNotFound,
|
|
23
31
|
HostToolPolicyFailed,
|
|
24
32
|
HostedTool,
|
|
33
|
+
HostedToolSummary,
|
|
25
34
|
HostedWebhook,
|
|
35
|
+
HostedWorkflow,
|
|
36
|
+
InputProblem,
|
|
37
|
+
Interval,
|
|
38
|
+
InvocationDeadline,
|
|
26
39
|
ManualWebhookDescriptor,
|
|
27
40
|
ManualWebhookSetup,
|
|
28
41
|
McpClientLimits,
|
|
42
|
+
McpError,
|
|
43
|
+
NonRetryableError,
|
|
44
|
+
OAuthClientAuth,
|
|
45
|
+
OAuthSecretClientAuth,
|
|
46
|
+
OperationSchedule,
|
|
29
47
|
OperationToolPrefixes,
|
|
30
48
|
ResolvedAccount,
|
|
31
49
|
ResolvedAccounts,
|
|
50
|
+
ScheduleTiming,
|
|
51
|
+
SkillCatalogResponse,
|
|
52
|
+
SkillSources,
|
|
32
53
|
ToolResultObservation,
|
|
33
54
|
TrustedToolApproval,
|
|
34
55
|
WebhookCommand,
|
|
35
56
|
WebhookRequestData,
|
|
36
57
|
WebhookResponseData,
|
|
37
58
|
WebhookTransportLimits,
|
|
38
|
-
defaultMcpClientLimits,
|
|
39
|
-
defaultWebhookTransportLimits
|
|
40
|
-
} from "./chunk-22WRQZT7.js";
|
|
41
|
-
import {
|
|
42
|
-
ApprovalElicitation,
|
|
43
|
-
ApprovalResponse,
|
|
44
|
-
CalendarSchedule,
|
|
45
|
-
ElicitationFailed,
|
|
46
|
-
ElicitationLimits,
|
|
47
|
-
ElicitationReply,
|
|
48
|
-
ElicitationResponse,
|
|
49
|
-
FormElicitation,
|
|
50
|
-
HostedWorkflow,
|
|
51
|
-
Interval,
|
|
52
|
-
NonRetryableError,
|
|
53
|
-
OAuthClientAuth,
|
|
54
|
-
OAuthSecretClientAuth,
|
|
55
|
-
OperationSchedule,
|
|
56
|
-
ScheduleTiming,
|
|
57
59
|
WorkflowCommand,
|
|
58
60
|
WorkflowControlCommand,
|
|
59
61
|
WorkflowDuration,
|
|
@@ -69,23 +71,56 @@ import {
|
|
|
69
71
|
WorkflowValue,
|
|
70
72
|
approvalElicitation,
|
|
71
73
|
defaultElicitationLimits,
|
|
74
|
+
defaultMcpClientLimits,
|
|
75
|
+
defaultWebhookTransportLimits,
|
|
76
|
+
indexCommand,
|
|
77
|
+
inspectCommand,
|
|
78
|
+
maxInputProblems,
|
|
72
79
|
minimumIntervalMilliseconds,
|
|
80
|
+
selectTools,
|
|
81
|
+
skillCatalog,
|
|
82
|
+
skillsCommand,
|
|
73
83
|
workflowDurationMillis
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import "./chunk-
|
|
84
|
+
} from "./chunk-IHQ4ML7K.js";
|
|
85
|
+
import "./chunk-BMOIAIVR.js";
|
|
86
|
+
import {
|
|
87
|
+
AppSkillMetadata,
|
|
88
|
+
AppSkillName,
|
|
89
|
+
AppSkillSource,
|
|
90
|
+
AppSkills,
|
|
91
|
+
SkillDefinitionInvalid,
|
|
92
|
+
SkillFile,
|
|
93
|
+
SkillFilePath,
|
|
94
|
+
SkillLoadFailed,
|
|
95
|
+
SkillServiceName,
|
|
96
|
+
skillFormatLimits,
|
|
97
|
+
skillLoadLimits
|
|
98
|
+
} from "./chunk-YEJOQEII.js";
|
|
99
|
+
import {
|
|
100
|
+
ApiErrorResponse,
|
|
101
|
+
OpenapiResponseError
|
|
102
|
+
} from "./chunk-SWPD52J7.js";
|
|
103
|
+
import {
|
|
104
|
+
ProviderError
|
|
105
|
+
} from "./chunk-W7D7WVSY.js";
|
|
76
106
|
import {
|
|
77
107
|
AppStorageError,
|
|
78
108
|
AppStorageUnavailable,
|
|
79
109
|
StorageName
|
|
80
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-FZJOYIZO.js";
|
|
81
111
|
import {
|
|
82
112
|
AccountId,
|
|
83
113
|
HttpUrl
|
|
84
|
-
} from "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
114
|
+
} from "./chunk-SATWJKN6.js";
|
|
115
|
+
import "./chunk-FW5HBOIK.js";
|
|
116
|
+
import "./chunk-CZ7CSFO4.js";
|
|
87
117
|
export {
|
|
88
118
|
AccountId,
|
|
119
|
+
ApiErrorResponse,
|
|
120
|
+
AppSkillMetadata,
|
|
121
|
+
AppSkillName,
|
|
122
|
+
AppSkillSource,
|
|
123
|
+
AppSkills,
|
|
89
124
|
AppStorageError,
|
|
90
125
|
AppStorageUnavailable,
|
|
91
126
|
ApprovalElicitation,
|
|
@@ -119,21 +154,34 @@ export {
|
|
|
119
154
|
HostToolNotFound,
|
|
120
155
|
HostToolPolicyFailed,
|
|
121
156
|
HostedTool,
|
|
157
|
+
HostedToolSummary,
|
|
122
158
|
HostedWebhook,
|
|
123
159
|
HostedWorkflow,
|
|
124
160
|
HttpUrl,
|
|
161
|
+
InputProblem,
|
|
125
162
|
Interval,
|
|
163
|
+
InvocationDeadline,
|
|
126
164
|
ManualWebhookDescriptor,
|
|
127
165
|
ManualWebhookSetup,
|
|
128
166
|
McpClientLimits,
|
|
167
|
+
McpError,
|
|
129
168
|
NonRetryableError,
|
|
130
169
|
OAuthClientAuth,
|
|
131
170
|
OAuthSecretClientAuth,
|
|
171
|
+
OpenapiResponseError,
|
|
132
172
|
OperationSchedule,
|
|
133
173
|
OperationToolPrefixes,
|
|
174
|
+
ProviderError,
|
|
134
175
|
ResolvedAccount,
|
|
135
176
|
ResolvedAccounts,
|
|
136
177
|
ScheduleTiming,
|
|
178
|
+
SkillCatalogResponse,
|
|
179
|
+
SkillDefinitionInvalid,
|
|
180
|
+
SkillFile,
|
|
181
|
+
SkillFilePath,
|
|
182
|
+
SkillLoadFailed,
|
|
183
|
+
SkillServiceName,
|
|
184
|
+
SkillSources,
|
|
137
185
|
StorageName,
|
|
138
186
|
ToolResultObservation,
|
|
139
187
|
TrustedToolApproval,
|
|
@@ -158,6 +206,14 @@ export {
|
|
|
158
206
|
defaultElicitationLimits,
|
|
159
207
|
defaultMcpClientLimits,
|
|
160
208
|
defaultWebhookTransportLimits,
|
|
209
|
+
indexCommand,
|
|
210
|
+
inspectCommand,
|
|
211
|
+
maxInputProblems,
|
|
161
212
|
minimumIntervalMilliseconds,
|
|
213
|
+
selectTools,
|
|
214
|
+
skillCatalog,
|
|
215
|
+
skillFormatLimits,
|
|
216
|
+
skillLoadLimits,
|
|
217
|
+
skillsCommand,
|
|
162
218
|
workflowDurationMillis
|
|
163
219
|
};
|
package/js/effect.js
CHANGED
|
@@ -3,32 +3,37 @@ import {
|
|
|
3
3
|
ApprovalDecision,
|
|
4
4
|
createAppHandler,
|
|
5
5
|
prepareElicitation
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-KOXMLKTM.js";
|
|
7
|
+
import "./chunk-ZTFQHGEB.js";
|
|
8
|
+
import "./chunk-NCYXZN2G.js";
|
|
9
|
+
import "./chunk-RBAC33PQ.js";
|
|
10
|
+
import "./chunk-PLCMJREA.js";
|
|
11
|
+
import "./chunk-PZ36XMXW.js";
|
|
12
|
+
import "./chunk-ZJWDMTE3.js";
|
|
10
13
|
import {
|
|
11
14
|
ToolAnnotations
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-IHQ4ML7K.js";
|
|
16
|
+
import "./chunk-BMOIAIVR.js";
|
|
17
|
+
import "./chunk-YEJOQEII.js";
|
|
18
|
+
import "./chunk-SWPD52J7.js";
|
|
19
|
+
import "./chunk-W7D7WVSY.js";
|
|
20
|
+
import "./chunk-ZCAMUXSG.js";
|
|
21
|
+
import "./chunk-HDJH3RPR.js";
|
|
22
|
+
import "./chunk-QKHR7BMF.js";
|
|
18
23
|
import {
|
|
19
24
|
compileJsonSchemaDecoder,
|
|
20
25
|
decoderOf,
|
|
21
26
|
jsonSchemaDecoder,
|
|
22
27
|
wrap
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-2HHMABB6.js";
|
|
29
|
+
import "./chunk-FZJOYIZO.js";
|
|
25
30
|
import {
|
|
26
31
|
HttpUrl,
|
|
27
32
|
JsonObject,
|
|
28
33
|
ValidationError
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-SATWJKN6.js";
|
|
35
|
+
import "./chunk-FW5HBOIK.js";
|
|
36
|
+
import "./chunk-CZ7CSFO4.js";
|
|
32
37
|
export {
|
|
33
38
|
ApprovalDecision,
|
|
34
39
|
HttpUrl,
|