@hasna/skills 0.9.10 → 0.9.11
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 +13 -0
- package/bin/index.js +736 -668
- package/bin/mcp.js +21 -6
- package/bin/migrate.js +1 -1
- package/bin/server.js +1 -1
- package/bin/worker.js +1 -1
- package/dist/index.js +268 -197
- package/dist/lib/agent-codex-trust.d.ts +13 -10
- package/dist/lib/agent-discovery.d.ts +2 -1
- package/dist/lib/agent-integration.d.ts +2 -0
- package/dist/lib/codex-hook-discovery-recovery.d.ts +25 -0
- package/dist/sdk/index.js +290 -219
- package/package.json +1 -1
package/bin/mcp.js
CHANGED
|
@@ -20019,7 +20019,7 @@ var package_default;
|
|
|
20019
20019
|
var init_package = __esm(() => {
|
|
20020
20020
|
package_default = {
|
|
20021
20021
|
name: "@hasna/skills",
|
|
20022
|
-
version: "0.9.
|
|
20022
|
+
version: "0.9.11",
|
|
20023
20023
|
description: "Skills library for AI coding agents",
|
|
20024
20024
|
type: "module",
|
|
20025
20025
|
bin: {
|
|
@@ -47663,6 +47663,20 @@ var init_claude_settings_witness = __esm(() => {
|
|
|
47663
47663
|
]);
|
|
47664
47664
|
});
|
|
47665
47665
|
|
|
47666
|
+
// src/lib/codex-hook-trust-files.ts
|
|
47667
|
+
var init_codex_hook_trust_files = () => {};
|
|
47668
|
+
|
|
47669
|
+
// src/lib/codex-hook-trust-layout.ts
|
|
47670
|
+
var init_codex_hook_trust_layout = () => {};
|
|
47671
|
+
|
|
47672
|
+
// src/lib/codex-hook-discovery-recovery.ts
|
|
47673
|
+
var proofs;
|
|
47674
|
+
var init_codex_hook_discovery_recovery = __esm(() => {
|
|
47675
|
+
init_codex_hook_trust_files();
|
|
47676
|
+
init_codex_hook_trust_layout();
|
|
47677
|
+
proofs = new WeakMap;
|
|
47678
|
+
});
|
|
47679
|
+
|
|
47666
47680
|
// src/lib/agent-discovery.ts
|
|
47667
47681
|
var init_agent_discovery = __esm(() => {
|
|
47668
47682
|
init_agent_policy_limits();
|
|
@@ -47674,6 +47688,7 @@ var init_agent_discovery = __esm(() => {
|
|
|
47674
47688
|
init_plugin_admission();
|
|
47675
47689
|
init_claude_marketplace_registry();
|
|
47676
47690
|
init_claude_settings_witness();
|
|
47691
|
+
init_codex_hook_discovery_recovery();
|
|
47677
47692
|
init_agent_discovery_directories();
|
|
47678
47693
|
});
|
|
47679
47694
|
|
|
@@ -51239,19 +51254,19 @@ async function keyIdentity(key, origin) {
|
|
|
51239
51254
|
}
|
|
51240
51255
|
function prepareProfileWorkspace(action, source = process.env) {
|
|
51241
51256
|
const env = { ...source }, origin = getApiUrl(action, env), profile = selectedSkillsProfile(env);
|
|
51242
|
-
const
|
|
51257
|
+
const unchanged3 = captureSkillsCredentialFiles(skillsProfileCredentialFiles(env));
|
|
51243
51258
|
return { origin, async resolve() {
|
|
51244
|
-
|
|
51259
|
+
unchanged3();
|
|
51245
51260
|
if (!profile)
|
|
51246
|
-
return { origin, context: undefined, unchanged:
|
|
51261
|
+
return { origin, context: undefined, unchanged: unchanged3 };
|
|
51247
51262
|
const connection = await resolveSkillsConnection(env);
|
|
51248
51263
|
if (!connection || connection.apiOrigin !== origin)
|
|
51249
51264
|
return fail("The selected profile has no usable credential for this server.");
|
|
51250
51265
|
const identity2 = await keyIdentity(connection.apiKey, origin);
|
|
51251
51266
|
checkIdentityMetadata(getIdentityFilePath(env), identity2);
|
|
51252
|
-
|
|
51267
|
+
unchanged3();
|
|
51253
51268
|
const context = { userId: identity2.user.id, membershipId: identity2.user.membershipId };
|
|
51254
|
-
return { origin, context, unchanged:
|
|
51269
|
+
return { origin, context, unchanged: unchanged3 };
|
|
51255
51270
|
} };
|
|
51256
51271
|
}
|
|
51257
51272
|
async function captureProfileWorkspace(action, source = process.env) {
|
package/bin/migrate.js
CHANGED
package/bin/server.js
CHANGED
|
@@ -24122,7 +24122,7 @@ var init_dist_es9 = __esm(() => {
|
|
|
24122
24122
|
// package.json
|
|
24123
24123
|
var package_default = {
|
|
24124
24124
|
name: "@hasna/skills",
|
|
24125
|
-
version: "0.9.
|
|
24125
|
+
version: "0.9.11",
|
|
24126
24126
|
description: "Skills library for AI coding agents",
|
|
24127
24127
|
type: "module",
|
|
24128
24128
|
bin: {
|
package/bin/worker.js
CHANGED
|
@@ -24125,7 +24125,7 @@ import { randomUUID as randomUUID6 } from "crypto";
|
|
|
24125
24125
|
// package.json
|
|
24126
24126
|
var package_default = {
|
|
24127
24127
|
name: "@hasna/skills",
|
|
24128
|
-
version: "0.9.
|
|
24128
|
+
version: "0.9.11",
|
|
24129
24129
|
description: "Skills library for AI coding agents",
|
|
24130
24130
|
type: "module",
|
|
24131
24131
|
bin: {
|