@hasna/skills 0.2.1 → 0.3.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 +100 -36
- package/bin/index.js +14659 -24077
- package/bin/mcp.js +4085 -13649
- package/bin/migrate.js +5 -0
- package/bin/server.js +367 -210
- package/bin/worker.js +364 -197
- package/dist/admin-contract.d.ts +5861 -916
- package/dist/admin-contract.js +3611 -13914
- package/dist/cli/cli.test-utils.d.ts +14 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4877 -14248
- package/dist/lib/api-url.d.ts +32 -23
- package/dist/lib/auth-store.d.ts +111 -42
- package/dist/lib/config.d.ts +19 -21
- package/dist/lib/feedback.d.ts +8 -3
- package/dist/lib/fleet-credentials.d.ts +246 -0
- package/dist/lib/remote-client.d.ts +19 -9
- package/dist/lib/remote-registry.d.ts +31 -11
- package/dist/lib/run-routing.d.ts +6 -4
- package/dist/lib/vendor-host-policy.d.ts +31 -0
- package/dist/sdk/index.d.ts +6 -0
- package/dist/sdk/index.js +5455 -14602
- package/dist/sdk/runs.d.ts +101 -19
- package/dist/storage.js +9 -14
- package/package.json +3 -1
package/bin/migrate.js
CHANGED
|
@@ -7,6 +7,11 @@ import { join as join6 } from "path";
|
|
|
7
7
|
|
|
8
8
|
// src/lib/retired-settings.ts
|
|
9
9
|
var RETIRED_ENV_SUFFIXES = ["_STORAGE_MODE", "_DEPLOYMENT_MODE", "_CLOUD_MODE"];
|
|
10
|
+
var RETIRED_CONFIG_KEY_REASONS = {
|
|
11
|
+
mode: "Deployment modes were removed: a Skills client either resolves a credential " + "or it does not, and that is the whole of it.",
|
|
12
|
+
apiUrl: "The service address is no longer kept in this app's config file: it is read from " + "HASNA_SKILLS_API_URL, then the macOS Keychain item hasna.credentials.skills.api-url, " + "then ~/.hasna/skills/config/credentials, then the fleet gateway."
|
|
13
|
+
};
|
|
14
|
+
|
|
10
15
|
class RetiredSettingError extends Error {
|
|
11
16
|
code = "RETIRED_SETTING";
|
|
12
17
|
setting;
|