@hasna/skills 0.5.3 → 0.5.4

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/index.js CHANGED
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
19
19
  }
20
20
  target = mod != null ? __create(__getProtoOf(mod)) : {};
21
21
  const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
- for (let key of __getOwnPropNames(mod))
23
- if (!__hasOwnProp.call(to, key))
24
- __defProp(to, key, {
25
- get: __accessProp.bind(mod, key),
26
- enumerable: true
27
- });
22
+ if (mod && typeof mod === "object" || typeof mod === "function") {
23
+ for (let key of __getOwnPropNames(mod))
24
+ if (!__hasOwnProp.call(to, key))
25
+ __defProp(to, key, {
26
+ get: __accessProp.bind(mod, key),
27
+ enumerable: true
28
+ });
29
+ }
28
30
  if (canCache)
29
31
  cache.set(mod, to);
30
32
  return to;
@@ -4729,113 +4731,113 @@ function readIfExists(path) {
4729
4731
  // ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
4730
4732
  var exports_external = {};
4731
4733
  __export(exports_external, {
4732
- void: () => voidType,
4733
- util: () => util,
4734
- unknown: () => unknownType,
4735
- union: () => unionType,
4736
- undefined: () => undefinedType,
4737
- tuple: () => tupleType,
4738
- transformer: () => effectsType,
4739
- symbol: () => symbolType,
4740
- string: () => stringType,
4741
- strictObject: () => strictObjectType,
4742
- setErrorMap: () => setErrorMap,
4743
- set: () => setType,
4744
- record: () => recordType,
4745
- quotelessJson: () => quotelessJson,
4746
- promise: () => promiseType,
4747
- preprocess: () => preprocessType,
4748
- pipeline: () => pipelineType,
4749
- ostring: () => ostring,
4750
- optional: () => optionalType,
4751
- onumber: () => onumber,
4752
- oboolean: () => oboolean,
4753
- objectUtil: () => objectUtil,
4754
- object: () => objectType,
4755
- number: () => numberType,
4756
- nullable: () => nullableType,
4757
- null: () => nullType,
4758
- never: () => neverType,
4759
- nativeEnum: () => nativeEnumType,
4760
- nan: () => nanType,
4761
- map: () => mapType,
4762
- makeIssue: () => makeIssue,
4763
- literal: () => literalType,
4764
- lazy: () => lazyType,
4765
- late: () => late,
4766
- isValid: () => isValid,
4767
- isDirty: () => isDirty,
4768
- isAsync: () => isAsync,
4769
- isAborted: () => isAborted,
4770
- intersection: () => intersectionType,
4771
- instanceof: () => instanceOfType,
4772
- getParsedType: () => getParsedType,
4773
- getErrorMap: () => getErrorMap,
4774
- function: () => functionType,
4775
- enum: () => enumType,
4776
- effect: () => effectsType,
4777
- discriminatedUnion: () => discriminatedUnionType,
4778
- defaultErrorMap: () => en_default,
4779
- datetimeRegex: () => datetimeRegex,
4780
- date: () => dateType,
4781
- custom: () => custom,
4782
- coerce: () => coerce,
4783
- boolean: () => booleanType,
4784
- bigint: () => bigIntType,
4785
- array: () => arrayType,
4786
- any: () => anyType,
4787
- addIssueToContext: () => addIssueToContext,
4788
- ZodVoid: () => ZodVoid,
4789
- ZodUnknown: () => ZodUnknown,
4790
- ZodUnion: () => ZodUnion,
4791
- ZodUndefined: () => ZodUndefined,
4792
- ZodType: () => ZodType,
4793
- ZodTuple: () => ZodTuple,
4794
- ZodTransformer: () => ZodEffects,
4795
- ZodSymbol: () => ZodSymbol,
4796
- ZodString: () => ZodString,
4797
- ZodSet: () => ZodSet,
4798
- ZodSchema: () => ZodType,
4799
- ZodRecord: () => ZodRecord,
4800
- ZodReadonly: () => ZodReadonly,
4801
- ZodPromise: () => ZodPromise,
4802
- ZodPipeline: () => ZodPipeline,
4803
- ZodParsedType: () => ZodParsedType,
4804
- ZodOptional: () => ZodOptional,
4805
- ZodObject: () => ZodObject,
4806
- ZodNumber: () => ZodNumber,
4807
- ZodNullable: () => ZodNullable,
4808
- ZodNull: () => ZodNull,
4809
- ZodNever: () => ZodNever,
4810
- ZodNativeEnum: () => ZodNativeEnum,
4811
- ZodNaN: () => ZodNaN,
4812
- ZodMap: () => ZodMap,
4813
- ZodLiteral: () => ZodLiteral,
4814
- ZodLazy: () => ZodLazy,
4815
- ZodIssueCode: () => ZodIssueCode,
4816
- ZodIntersection: () => ZodIntersection,
4817
- ZodFunction: () => ZodFunction,
4818
- ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
4819
- ZodError: () => ZodError,
4820
- ZodEnum: () => ZodEnum,
4821
- ZodEffects: () => ZodEffects,
4822
- ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
4823
- ZodDefault: () => ZodDefault,
4824
- ZodDate: () => ZodDate,
4825
- ZodCatch: () => ZodCatch,
4826
- ZodBranded: () => ZodBranded,
4827
- ZodBoolean: () => ZodBoolean,
4828
- ZodBigInt: () => ZodBigInt,
4829
- ZodArray: () => ZodArray,
4830
- ZodAny: () => ZodAny,
4831
- Schema: () => ZodType,
4832
- ParseStatus: () => ParseStatus,
4833
- OK: () => OK,
4834
- NEVER: () => NEVER,
4835
- INVALID: () => INVALID,
4836
- EMPTY_PATH: () => EMPTY_PATH,
4734
+ BRAND: () => BRAND,
4837
4735
  DIRTY: () => DIRTY,
4838
- BRAND: () => BRAND
4736
+ EMPTY_PATH: () => EMPTY_PATH,
4737
+ INVALID: () => INVALID,
4738
+ NEVER: () => NEVER,
4739
+ OK: () => OK,
4740
+ ParseStatus: () => ParseStatus,
4741
+ Schema: () => ZodType,
4742
+ ZodAny: () => ZodAny,
4743
+ ZodArray: () => ZodArray,
4744
+ ZodBigInt: () => ZodBigInt,
4745
+ ZodBoolean: () => ZodBoolean,
4746
+ ZodBranded: () => ZodBranded,
4747
+ ZodCatch: () => ZodCatch,
4748
+ ZodDate: () => ZodDate,
4749
+ ZodDefault: () => ZodDefault,
4750
+ ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
4751
+ ZodEffects: () => ZodEffects,
4752
+ ZodEnum: () => ZodEnum,
4753
+ ZodError: () => ZodError,
4754
+ ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
4755
+ ZodFunction: () => ZodFunction,
4756
+ ZodIntersection: () => ZodIntersection,
4757
+ ZodIssueCode: () => ZodIssueCode,
4758
+ ZodLazy: () => ZodLazy,
4759
+ ZodLiteral: () => ZodLiteral,
4760
+ ZodMap: () => ZodMap,
4761
+ ZodNaN: () => ZodNaN,
4762
+ ZodNativeEnum: () => ZodNativeEnum,
4763
+ ZodNever: () => ZodNever,
4764
+ ZodNull: () => ZodNull,
4765
+ ZodNullable: () => ZodNullable,
4766
+ ZodNumber: () => ZodNumber,
4767
+ ZodObject: () => ZodObject,
4768
+ ZodOptional: () => ZodOptional,
4769
+ ZodParsedType: () => ZodParsedType,
4770
+ ZodPipeline: () => ZodPipeline,
4771
+ ZodPromise: () => ZodPromise,
4772
+ ZodReadonly: () => ZodReadonly,
4773
+ ZodRecord: () => ZodRecord,
4774
+ ZodSchema: () => ZodType,
4775
+ ZodSet: () => ZodSet,
4776
+ ZodString: () => ZodString,
4777
+ ZodSymbol: () => ZodSymbol,
4778
+ ZodTransformer: () => ZodEffects,
4779
+ ZodTuple: () => ZodTuple,
4780
+ ZodType: () => ZodType,
4781
+ ZodUndefined: () => ZodUndefined,
4782
+ ZodUnion: () => ZodUnion,
4783
+ ZodUnknown: () => ZodUnknown,
4784
+ ZodVoid: () => ZodVoid,
4785
+ addIssueToContext: () => addIssueToContext,
4786
+ any: () => anyType,
4787
+ array: () => arrayType,
4788
+ bigint: () => bigIntType,
4789
+ boolean: () => booleanType,
4790
+ coerce: () => coerce,
4791
+ custom: () => custom,
4792
+ date: () => dateType,
4793
+ datetimeRegex: () => datetimeRegex,
4794
+ defaultErrorMap: () => en_default,
4795
+ discriminatedUnion: () => discriminatedUnionType,
4796
+ effect: () => effectsType,
4797
+ enum: () => enumType,
4798
+ function: () => functionType,
4799
+ getErrorMap: () => getErrorMap,
4800
+ getParsedType: () => getParsedType,
4801
+ instanceof: () => instanceOfType,
4802
+ intersection: () => intersectionType,
4803
+ isAborted: () => isAborted,
4804
+ isAsync: () => isAsync,
4805
+ isDirty: () => isDirty,
4806
+ isValid: () => isValid,
4807
+ late: () => late,
4808
+ lazy: () => lazyType,
4809
+ literal: () => literalType,
4810
+ makeIssue: () => makeIssue,
4811
+ map: () => mapType,
4812
+ nan: () => nanType,
4813
+ nativeEnum: () => nativeEnumType,
4814
+ never: () => neverType,
4815
+ null: () => nullType,
4816
+ nullable: () => nullableType,
4817
+ number: () => numberType,
4818
+ object: () => objectType,
4819
+ objectUtil: () => objectUtil,
4820
+ oboolean: () => oboolean,
4821
+ onumber: () => onumber,
4822
+ optional: () => optionalType,
4823
+ ostring: () => ostring,
4824
+ pipeline: () => pipelineType,
4825
+ preprocess: () => preprocessType,
4826
+ promise: () => promiseType,
4827
+ quotelessJson: () => quotelessJson,
4828
+ record: () => recordType,
4829
+ set: () => setType,
4830
+ setErrorMap: () => setErrorMap,
4831
+ strictObject: () => strictObjectType,
4832
+ string: () => stringType,
4833
+ symbol: () => symbolType,
4834
+ transformer: () => effectsType,
4835
+ tuple: () => tupleType,
4836
+ undefined: () => undefinedType,
4837
+ union: () => unionType,
4838
+ unknown: () => unknownType,
4839
+ util: () => util,
4840
+ void: () => voidType
4839
4841
  });
4840
4842
 
4841
4843
  // ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
@@ -11138,6 +11140,69 @@ function parseUpdatedWorkspace(value) {
11138
11140
  return { organization: { id: organization2.id, slug: organization2.slug, name: organization2.name } };
11139
11141
  }
11140
11142
 
11143
+ // src/lib/remote-quote-errors.ts
11144
+ var quoteUnavailableMessages = Object.freeze({
11145
+ HOSTED_PROVIDER_UNAVAILABLE: "Hosted execution is temporarily unavailable on this Skills instance.",
11146
+ HOSTED_CONNECTORS_UNAVAILABLE: "Hosted connector execution is unavailable on this Skills instance.",
11147
+ SKILL_IMPLEMENTATION_UNAVAILABLE: "This skill has no hosted execution implementation.",
11148
+ HOSTED_PRICING_UNAVAILABLE: "Hosted execution is unavailable while this skill's pricing is reviewed.",
11149
+ RUNTIME_ALLOWLIST_REQUIRED: "Hosted execution is unavailable until this Skills instance enables its skill catalog.",
11150
+ RUNTIME_SKILL_NOT_ALLOWED: "This skill is not enabled for hosted execution on this Skills instance."
11151
+ });
11152
+ async function readQuoteUnavailableCode(response) {
11153
+ const maximum = 16 * 1024;
11154
+ const length = response.headers.get("content-length");
11155
+ if (response.status !== 503 || response.headers.get("content-type")?.split(";")[0]?.trim().toLowerCase() !== "application/json" || length !== null && (!/^\d+$/.test(length) || Number(length) > maximum)) {
11156
+ response.body?.cancel().catch(() => {});
11157
+ return null;
11158
+ }
11159
+ const reader = response.body?.getReader();
11160
+ if (!reader)
11161
+ return null;
11162
+ let timer;
11163
+ let deadlineExceeded = false;
11164
+ const expired = Symbol("quote body deadline");
11165
+ const deadline = new Promise((resolve2) => {
11166
+ timer = setTimeout(() => {
11167
+ deadlineExceeded = true;
11168
+ resolve2(expired);
11169
+ reader.cancel().catch(() => {});
11170
+ }, 1500);
11171
+ });
11172
+ const chunks = [];
11173
+ let size = 0;
11174
+ try {
11175
+ while (true) {
11176
+ const next = await Promise.race([reader.read(), deadline]);
11177
+ if (next === expired || deadlineExceeded)
11178
+ return null;
11179
+ if (next.done)
11180
+ break;
11181
+ size += next.value.byteLength;
11182
+ if (size > maximum)
11183
+ return null;
11184
+ chunks.push(next.value);
11185
+ }
11186
+ const bytes = new Uint8Array(size);
11187
+ let offset = 0;
11188
+ for (const chunk of chunks) {
11189
+ bytes.set(chunk, offset);
11190
+ offset += chunk.byteLength;
11191
+ }
11192
+ const value = JSON.parse(new TextDecoder("utf-8", { fatal: true }).decode(bytes));
11193
+ if (!value || typeof value !== "object" || Array.isArray(value))
11194
+ return null;
11195
+ const code = value.code;
11196
+ return typeof code === "string" && Object.hasOwn(quoteUnavailableMessages, code) ? code : null;
11197
+ } catch {
11198
+ return null;
11199
+ } finally {
11200
+ clearTimeout(timer);
11201
+ reader.cancel().catch(() => {});
11202
+ reader.releaseLock();
11203
+ }
11204
+ }
11205
+
11141
11206
  // src/lib/remote-client.ts
11142
11207
  class RemoteRouteUnsupportedError extends Error {
11143
11208
  path;
@@ -11163,6 +11228,18 @@ class RemoteRequestError extends Error {
11163
11228
  }
11164
11229
  }
11165
11230
 
11231
+ class RemoteQuoteUnavailableError extends RemoteRequestError {
11232
+ code;
11233
+ constructor(path, code) {
11234
+ super(path, 503);
11235
+ this.code = code;
11236
+ if (!Object.hasOwn(quoteUnavailableMessages, code))
11237
+ throw new Error("Unknown quote refusal code");
11238
+ this.name = "RemoteQuoteUnavailableError";
11239
+ this.message = quoteUnavailableMessages[code];
11240
+ }
11241
+ }
11242
+
11166
11243
  class RemoteWorkspaceMemberError extends RemoteRequestError {
11167
11244
  code;
11168
11245
  constructor(path, code) {
@@ -11224,6 +11301,11 @@ class RemoteSkillsClient {
11224
11301
  throw new RemoteRouteUnsupportedError(routePath, response.status, this.apiUrl);
11225
11302
  }
11226
11303
  if (!response.ok) {
11304
+ if (opts.quoteRefusal && options?.method === "POST" && /^\/api\/v1\/skills\/[^/?#]+\/quote$/.test(routePath) && response.status === 503) {
11305
+ const code = await readQuoteUnavailableCode(response);
11306
+ if (code)
11307
+ throw new RemoteQuoteUnavailableError(routePath, code);
11308
+ }
11227
11309
  if (path === "/api/v1/billing/checkout" && options?.method === "POST" && response.status === 503 && await responseBodyCarriesCode(response, ["SUBSCRIPTION_CHECKOUT_UNAVAILABLE"])) {
11228
11310
  throw new RemoteCapabilityUnavailableError;
11229
11311
  }
@@ -11281,7 +11363,7 @@ class RemoteSkillsClient {
11281
11363
  const response = await this.requestNewRoute(`/api/v1/skills/${encodeURIComponent(slug)}/quote`, {
11282
11364
  method: "POST",
11283
11365
  body: JSON.stringify({ input, args })
11284
- });
11366
+ }, { quoteRefusal: true });
11285
11367
  return parseRemoteRunQuote(await response.json());
11286
11368
  }
11287
11369
  getCapabilities() {
@@ -13206,7 +13288,7 @@ import { dirname as dirname7, relative as relative4 } from "path";
13206
13288
  // package.json
13207
13289
  var package_default = {
13208
13290
  name: "@hasna/skills",
13209
- version: "0.5.3",
13291
+ version: "0.5.4",
13210
13292
  description: "Skills library for AI coding agents",
13211
13293
  type: "module",
13212
13294
  bin: {
@@ -15989,256 +16071,257 @@ class RemoteSkillsAuthClient {
15989
16071
  }
15990
16072
  }
15991
16073
  export {
15992
- writeStationSnapshot,
15993
- writeStationHydration,
15994
- writeRunLogs,
15995
- writeRegistrySyncArtifact,
15996
- writeManagedSkillDir,
15997
- writeManagedAgentSkill,
15998
- writeCorpusSkill,
15999
- walkEntries,
16000
- verifyContentHashFromEntries,
16001
- verifyContentHash,
16002
- validateToolPrimitiveCoverage,
16003
- validateStationId,
16004
- validateSkillsCliMcpParity,
16005
- validateSkillDirectory,
16006
- validateRegistryConsistency,
16007
- validatePortableSkillDirectory,
16008
- validatePortableManifestContract,
16009
- validateCron,
16010
- validateBlogArticleRunOptions,
16011
- uploadSkillsSnapshotFilesToS3,
16012
- updateSkillRun,
16013
- unsetConfig,
16014
- unpinSkill,
16015
- unpinProjectSkill,
16016
- syncSkillsToAgents,
16017
- summarizeMcpToolContract,
16018
- storageCapabilities,
16019
- skillsPostgresSyncSchemaSql,
16020
- skillsCredentialOrReason,
16021
- skillsCredentialFiles,
16022
- skillsCredentialFilePath,
16023
- skillExists,
16024
- signSkillsAwsV4Request,
16025
- sha256File,
16026
- setSkillDisabled,
16027
- setScheduleEnabled,
16028
- selectsSkillsLocalMode,
16029
- searchSkills,
16030
- scaffoldPortableSkill,
16031
- saveProjectConfig,
16032
- saveFeedback,
16033
- saveConfig,
16034
- sanitizePublicDiscoveryText,
16035
- runSkill,
16036
- runPortableSkill,
16037
- revisionIdOf,
16038
- resolveSyncAgents,
16039
- resolveStorageConfig,
16040
- resolveSkillsNativeStorageConfig,
16041
- resolveSkillsFleet,
16042
- resolveSkillsApiOrigin,
16043
- resolveSkillsApiKey,
16044
- resolveSkillAlias,
16045
- requireSkillsFleet,
16046
- requireSkillsApiOrigin,
16047
- requireSkillsApiKey,
16048
- removeSkillForAgent,
16049
- removeSkill,
16050
- removeSchedule,
16051
- removeManagedAgentSkill,
16052
- recordScheduleRun,
16053
- readPortableSkillManifest,
16054
- pullSkills,
16055
- publicDiscoveryEnvVars,
16056
- publicDiscoveryDocumentation,
16057
- publicDiscoveryDependencies,
16058
- portPortableSkillDirectory,
16059
- portPortableSkill,
16060
- pointerSkillMd,
16061
- planStationSnapshot,
16062
- planStationHydration,
16063
- planSkillsS3SnapshotUpload,
16064
- pinSkill,
16065
- pinProjectSkill,
16066
- parseSkillFrontmatter,
16067
- parseRemoteSkillPayload,
16068
- parseRemoteRegistryPayload,
16069
- noticeLocalSkillsMode,
16070
- normalizeSkillsApiOrigin,
16071
- normalizeSkillSlug,
16072
- normalizeRemoteSkillRunContract,
16073
- normalizePortableSkillName,
16074
- normalizeLineEndings,
16075
- loadRemoteSkill,
16076
- loadRemoteRegistry,
16077
- loadRegistryProfile,
16078
- loadRegistry,
16079
- loadProjectConfig,
16080
- loadConfig,
16081
- loadBasicRegistry,
16082
- listToolPrimitives,
16083
- listSkillRuns,
16084
- listSchedules,
16085
- listPortableSkills,
16086
- listPortableSkillMetas,
16087
- listPinnedSkills,
16088
- listMcpToolContracts,
16089
- isSyncAgent,
16090
- isSkillsLocalOptIn,
16091
- isRegularFile,
16092
- isPortableWithinSkill,
16093
- isGatewayBackedSkill,
16094
- isExcludedSkillFileName,
16095
- isBasicSkillName,
16096
- installSkills,
16097
- installSkillSource,
16098
- installSkillManifest,
16099
- installSkillForAgent,
16100
- installSkill,
16101
- importSkillsLocalSnapshot,
16102
- homePathFor,
16103
- getToolPrimitive,
16104
- getStorageStatus,
16105
- getStorageDatabaseUrl,
16106
- getStorageDatabaseEnv,
16107
- getSkillsStorageStatus,
16108
- getSkillsStorageDatabaseUrl,
16109
- getSkillsStorageDatabaseEnv,
16110
- getSkillsNativeStorageStatus,
16111
- getSkillsByTag,
16112
- getSkillsByCategory,
16113
- getSkillToolDependencies,
16114
- getSkillRequirements,
16115
- getSkillPath,
16116
- getSkillDocs,
16117
- getSkillBestDoc,
16118
- getSkill,
16119
- getRunExportDir,
16120
- getPublicSkillDiscovery,
16121
- getProjectStateDir,
16122
- getProjectConfigPath,
16123
- getPortableSkillsRoot,
16124
- getPortableSkillPath,
16125
- getPinnedSkills,
16126
- getNextRun,
16127
- getMcpToolDescriptions,
16128
- getMcpResourceContracts,
16129
- getInstalledSkills,
16130
- getInstallMeta,
16131
- getFeedbackDbPath,
16132
- getDueSchedules,
16133
- getDisabledSkills,
16134
- getDisabledProjectSkills,
16135
- getConfiguredApiUrl,
16136
- getConfigPath,
16137
- getCompactSkillDiscovery,
16138
- getAllTags,
16139
- getAgentSkillsDir,
16140
- getAgentSkillPath,
16141
- generateSkillMd,
16142
- generateEnvExample,
16143
- findSkillsParityForMcpTool,
16144
- findSkillsParityForCliCommand,
16145
- findSkillRun,
16146
- findSimilarSkills,
16147
- findPortableSkill,
16148
- exportSkillsLocalSnapshot,
16149
- ensureProjectConfig,
16150
- enableSkill,
16151
- disableSkill,
16152
- destinationFor,
16153
- describeMcpToolContracts,
16154
- createSkillsSnapshotSyncRecord,
16155
- createSkillsS3ObjectStore,
16156
- createSkillsPostgresSyncStore,
16157
- createSkillToolDependencies,
16158
- createSkillRun,
16159
- createSkillMcpMetadata,
16160
- createRemoteSkillsClient,
16161
- createRegistrySyncArtifact,
16162
- createMcpContractManifest,
16163
- createLocalSkillManifest,
16164
- configuredSkillsApiUrl,
16165
- computeContentHashFromEntries,
16166
- computeContentHash,
16167
- completeSkillRun,
16168
- clearRegistryCache,
16169
- canonicalizeManifest,
16170
- buildSkillsS3ObjectUrl,
16171
- buildSkillsApiUrl,
16172
- appendRunEvent,
16173
- agentGlobalSkillsDir,
16174
- addSchedule,
16175
- adaptSkillMdForAgent,
16176
- WorkspaceLeaveInputError,
16177
- WorkspaceInvitationInputError,
16178
- WorkspaceIdentityMismatchError,
16179
- WorkspaceContextInputError,
16180
- TOOL_PRIMITIVE_SCHEMA_VERSION,
16181
- TOOL_PRIMITIVES,
16182
- StationSnapshotError,
16183
- SkillsS3ObjectStore,
16184
- SkillsPostgresSyncStore,
16185
- SkillsFleetCredentialError,
16186
- SYNC_MARKER_MANAGED_BY,
16187
- SYNC_MARKER_FILE,
16188
- SYNC_HOMES,
16189
- SYNC_AGENTS,
16190
- STORAGE_TABLES,
16191
- STATION_SYNC_MANIFEST_SCHEMA,
16192
- STATION_HYDRATION_MANIFEST_SCHEMA,
16193
- SKILL_SYSTEM_DEPS_ALLOWLIST,
16194
- SKILL_SANDBOX_MODES,
16195
- SKILL_RUNTIMES,
16196
- SKILL_ALIASES,
16197
- SKILLS_STORAGE_TABLES,
16198
- SKILLS_STORAGE_FALLBACK_ENV,
16199
- SKILLS_STORAGE_ENV,
16200
- SKILLS_PROJECT_DIR,
16201
- SKILLS_NATIVE_STORAGE_FALLBACK_ENV,
16202
- SKILLS_NATIVE_STORAGE_ENV,
16203
- SKILLS_LOCAL_OPT_IN_ENV_KEYS,
16204
- SKILLS_CLI_MCP_PARITY,
16205
- SKILLS_APP,
16206
- SKILLS_API_URL_ENV_KEYS,
16207
- SKILLS_API_URL_ENV,
16208
- SKILLS_API_KEY_ENV_KEYS,
16209
- SKILLS_API_KEY_ENV,
16210
- SKILLS,
16211
- RemoteWorkspaceSelectionError,
16212
- RemoteWorkspaceMemberError,
16213
- RemoteWorkspaceLeaveUnconfirmedError,
16214
- RemoteWorkspaceLeaveError,
16215
- RemoteWorkspaceInvitationUnconfirmedError,
16216
- RemoteWorkspaceInvitationReadError,
16217
- RemoteWorkspaceInvitationError,
16218
- RemoteSkillsClient,
16219
- RemoteSkillsAuthClient,
16220
- RemoteRouteUnsupportedError,
16221
- RemoteRequestError,
16222
- RemoteInvitationEmailUnconfirmedError,
16223
- RemoteInvitationEmailError,
16224
- RemoteCreditApprovalError,
16225
- RemoteCapabilityUnavailableError,
16226
- REMOTE_SKILL_RUN_CONTRACT_VERSION,
16227
- REFUSED_SCANNER_FLAGGED,
16228
- PullSkillError,
16229
- PROJECT_CONFIG_FILE,
16230
- PORTABLE_SKILL_STANDARD,
16231
- PORTABLE_SKILL_SCHEMA,
16232
- PORTABLE_SKILL_DEFAULT_VERSION,
16233
- MissingSkillsFleetError,
16234
- MCP_CONTRACT_SCHEMA_VERSION,
16235
- InvitationEmailInputError,
16236
- HostedApiError,
16237
- DEFAULT_EXPORT_DIR,
16238
- ContentHashInputError,
16239
- CONTENT_HASH_LIMITS,
16240
- CATEGORIES,
16241
- BASIC_SKILL_NAMES,
16074
+ AGENT_TARGETS,
16242
16075
  ARTICLE_GENERATION_SLUG,
16243
- AGENT_TARGETS
16076
+ BASIC_SKILL_NAMES,
16077
+ CATEGORIES,
16078
+ CONTENT_HASH_LIMITS,
16079
+ ContentHashInputError,
16080
+ DEFAULT_EXPORT_DIR,
16081
+ HostedApiError,
16082
+ InvitationEmailInputError,
16083
+ MCP_CONTRACT_SCHEMA_VERSION,
16084
+ MissingSkillsFleetError,
16085
+ PORTABLE_SKILL_DEFAULT_VERSION,
16086
+ PORTABLE_SKILL_SCHEMA,
16087
+ PORTABLE_SKILL_STANDARD,
16088
+ PROJECT_CONFIG_FILE,
16089
+ PullSkillError,
16090
+ REFUSED_SCANNER_FLAGGED,
16091
+ REMOTE_SKILL_RUN_CONTRACT_VERSION,
16092
+ RemoteCapabilityUnavailableError,
16093
+ RemoteCreditApprovalError,
16094
+ RemoteInvitationEmailError,
16095
+ RemoteInvitationEmailUnconfirmedError,
16096
+ RemoteQuoteUnavailableError,
16097
+ RemoteRequestError,
16098
+ RemoteRouteUnsupportedError,
16099
+ RemoteSkillsAuthClient,
16100
+ RemoteSkillsClient,
16101
+ RemoteWorkspaceInvitationError,
16102
+ RemoteWorkspaceInvitationReadError,
16103
+ RemoteWorkspaceInvitationUnconfirmedError,
16104
+ RemoteWorkspaceLeaveError,
16105
+ RemoteWorkspaceLeaveUnconfirmedError,
16106
+ RemoteWorkspaceMemberError,
16107
+ RemoteWorkspaceSelectionError,
16108
+ SKILLS,
16109
+ SKILLS_API_KEY_ENV,
16110
+ SKILLS_API_KEY_ENV_KEYS,
16111
+ SKILLS_API_URL_ENV,
16112
+ SKILLS_API_URL_ENV_KEYS,
16113
+ SKILLS_APP,
16114
+ SKILLS_CLI_MCP_PARITY,
16115
+ SKILLS_LOCAL_OPT_IN_ENV_KEYS,
16116
+ SKILLS_NATIVE_STORAGE_ENV,
16117
+ SKILLS_NATIVE_STORAGE_FALLBACK_ENV,
16118
+ SKILLS_PROJECT_DIR,
16119
+ SKILLS_STORAGE_ENV,
16120
+ SKILLS_STORAGE_FALLBACK_ENV,
16121
+ SKILLS_STORAGE_TABLES,
16122
+ SKILL_ALIASES,
16123
+ SKILL_RUNTIMES,
16124
+ SKILL_SANDBOX_MODES,
16125
+ SKILL_SYSTEM_DEPS_ALLOWLIST,
16126
+ STATION_HYDRATION_MANIFEST_SCHEMA,
16127
+ STATION_SYNC_MANIFEST_SCHEMA,
16128
+ STORAGE_TABLES,
16129
+ SYNC_AGENTS,
16130
+ SYNC_HOMES,
16131
+ SYNC_MARKER_FILE,
16132
+ SYNC_MARKER_MANAGED_BY,
16133
+ SkillsFleetCredentialError,
16134
+ SkillsPostgresSyncStore,
16135
+ SkillsS3ObjectStore,
16136
+ StationSnapshotError,
16137
+ TOOL_PRIMITIVES,
16138
+ TOOL_PRIMITIVE_SCHEMA_VERSION,
16139
+ WorkspaceContextInputError,
16140
+ WorkspaceIdentityMismatchError,
16141
+ WorkspaceInvitationInputError,
16142
+ WorkspaceLeaveInputError,
16143
+ adaptSkillMdForAgent,
16144
+ addSchedule,
16145
+ agentGlobalSkillsDir,
16146
+ appendRunEvent,
16147
+ buildSkillsApiUrl,
16148
+ buildSkillsS3ObjectUrl,
16149
+ canonicalizeManifest,
16150
+ clearRegistryCache,
16151
+ completeSkillRun,
16152
+ computeContentHash,
16153
+ computeContentHashFromEntries,
16154
+ configuredSkillsApiUrl,
16155
+ createLocalSkillManifest,
16156
+ createMcpContractManifest,
16157
+ createRegistrySyncArtifact,
16158
+ createRemoteSkillsClient,
16159
+ createSkillMcpMetadata,
16160
+ createSkillRun,
16161
+ createSkillToolDependencies,
16162
+ createSkillsPostgresSyncStore,
16163
+ createSkillsS3ObjectStore,
16164
+ createSkillsSnapshotSyncRecord,
16165
+ describeMcpToolContracts,
16166
+ destinationFor,
16167
+ disableSkill,
16168
+ enableSkill,
16169
+ ensureProjectConfig,
16170
+ exportSkillsLocalSnapshot,
16171
+ findPortableSkill,
16172
+ findSimilarSkills,
16173
+ findSkillRun,
16174
+ findSkillsParityForCliCommand,
16175
+ findSkillsParityForMcpTool,
16176
+ generateEnvExample,
16177
+ generateSkillMd,
16178
+ getAgentSkillPath,
16179
+ getAgentSkillsDir,
16180
+ getAllTags,
16181
+ getCompactSkillDiscovery,
16182
+ getConfigPath,
16183
+ getConfiguredApiUrl,
16184
+ getDisabledProjectSkills,
16185
+ getDisabledSkills,
16186
+ getDueSchedules,
16187
+ getFeedbackDbPath,
16188
+ getInstallMeta,
16189
+ getInstalledSkills,
16190
+ getMcpResourceContracts,
16191
+ getMcpToolDescriptions,
16192
+ getNextRun,
16193
+ getPinnedSkills,
16194
+ getPortableSkillPath,
16195
+ getPortableSkillsRoot,
16196
+ getProjectConfigPath,
16197
+ getProjectStateDir,
16198
+ getPublicSkillDiscovery,
16199
+ getRunExportDir,
16200
+ getSkill,
16201
+ getSkillBestDoc,
16202
+ getSkillDocs,
16203
+ getSkillPath,
16204
+ getSkillRequirements,
16205
+ getSkillToolDependencies,
16206
+ getSkillsByCategory,
16207
+ getSkillsByTag,
16208
+ getSkillsNativeStorageStatus,
16209
+ getSkillsStorageDatabaseEnv,
16210
+ getSkillsStorageDatabaseUrl,
16211
+ getSkillsStorageStatus,
16212
+ getStorageDatabaseEnv,
16213
+ getStorageDatabaseUrl,
16214
+ getStorageStatus,
16215
+ getToolPrimitive,
16216
+ homePathFor,
16217
+ importSkillsLocalSnapshot,
16218
+ installSkill,
16219
+ installSkillForAgent,
16220
+ installSkillManifest,
16221
+ installSkillSource,
16222
+ installSkills,
16223
+ isBasicSkillName,
16224
+ isExcludedSkillFileName,
16225
+ isGatewayBackedSkill,
16226
+ isPortableWithinSkill,
16227
+ isRegularFile,
16228
+ isSkillsLocalOptIn,
16229
+ isSyncAgent,
16230
+ listMcpToolContracts,
16231
+ listPinnedSkills,
16232
+ listPortableSkillMetas,
16233
+ listPortableSkills,
16234
+ listSchedules,
16235
+ listSkillRuns,
16236
+ listToolPrimitives,
16237
+ loadBasicRegistry,
16238
+ loadConfig,
16239
+ loadProjectConfig,
16240
+ loadRegistry,
16241
+ loadRegistryProfile,
16242
+ loadRemoteRegistry,
16243
+ loadRemoteSkill,
16244
+ normalizeLineEndings,
16245
+ normalizePortableSkillName,
16246
+ normalizeRemoteSkillRunContract,
16247
+ normalizeSkillSlug,
16248
+ normalizeSkillsApiOrigin,
16249
+ noticeLocalSkillsMode,
16250
+ parseRemoteRegistryPayload,
16251
+ parseRemoteSkillPayload,
16252
+ parseSkillFrontmatter,
16253
+ pinProjectSkill,
16254
+ pinSkill,
16255
+ planSkillsS3SnapshotUpload,
16256
+ planStationHydration,
16257
+ planStationSnapshot,
16258
+ pointerSkillMd,
16259
+ portPortableSkill,
16260
+ portPortableSkillDirectory,
16261
+ publicDiscoveryDependencies,
16262
+ publicDiscoveryDocumentation,
16263
+ publicDiscoveryEnvVars,
16264
+ pullSkills,
16265
+ readPortableSkillManifest,
16266
+ recordScheduleRun,
16267
+ removeManagedAgentSkill,
16268
+ removeSchedule,
16269
+ removeSkill,
16270
+ removeSkillForAgent,
16271
+ requireSkillsApiKey,
16272
+ requireSkillsApiOrigin,
16273
+ requireSkillsFleet,
16274
+ resolveSkillAlias,
16275
+ resolveSkillsApiKey,
16276
+ resolveSkillsApiOrigin,
16277
+ resolveSkillsFleet,
16278
+ resolveSkillsNativeStorageConfig,
16279
+ resolveStorageConfig,
16280
+ resolveSyncAgents,
16281
+ revisionIdOf,
16282
+ runPortableSkill,
16283
+ runSkill,
16284
+ sanitizePublicDiscoveryText,
16285
+ saveConfig,
16286
+ saveFeedback,
16287
+ saveProjectConfig,
16288
+ scaffoldPortableSkill,
16289
+ searchSkills,
16290
+ selectsSkillsLocalMode,
16291
+ setScheduleEnabled,
16292
+ setSkillDisabled,
16293
+ sha256File,
16294
+ signSkillsAwsV4Request,
16295
+ skillExists,
16296
+ skillsCredentialFilePath,
16297
+ skillsCredentialFiles,
16298
+ skillsCredentialOrReason,
16299
+ skillsPostgresSyncSchemaSql,
16300
+ storageCapabilities,
16301
+ summarizeMcpToolContract,
16302
+ syncSkillsToAgents,
16303
+ unpinProjectSkill,
16304
+ unpinSkill,
16305
+ unsetConfig,
16306
+ updateSkillRun,
16307
+ uploadSkillsSnapshotFilesToS3,
16308
+ validateBlogArticleRunOptions,
16309
+ validateCron,
16310
+ validatePortableManifestContract,
16311
+ validatePortableSkillDirectory,
16312
+ validateRegistryConsistency,
16313
+ validateSkillDirectory,
16314
+ validateSkillsCliMcpParity,
16315
+ validateStationId,
16316
+ validateToolPrimitiveCoverage,
16317
+ verifyContentHash,
16318
+ verifyContentHashFromEntries,
16319
+ walkEntries,
16320
+ writeCorpusSkill,
16321
+ writeManagedAgentSkill,
16322
+ writeManagedSkillDir,
16323
+ writeRegistrySyncArtifact,
16324
+ writeRunLogs,
16325
+ writeStationHydration,
16326
+ writeStationSnapshot
16244
16327
  };