@hasna/skills 0.10.43 → 0.10.44
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 +53 -0
- package/bin/index.js +2377 -1617
- package/bin/mcp.js +19 -1
- package/bin/migrate.js +1 -1
- package/bin/server.js +1 -1
- package/bin/worker.js +1 -1
- package/dist/index.js +1435 -778
- package/dist/lib/agent-integration.d.ts +20 -4
- package/dist/lib/codex-native-skill-policy.d.ts +310 -0
- package/dist/lib/codex-native-trust.d.ts +49 -0
- package/dist/lib/codex-plugin-skill-controls.d.ts +13 -0
- package/dist/sdk/index.js +1674 -1017
- 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.10.
|
|
20022
|
+
version: "0.10.44",
|
|
20023
20023
|
description: "Skills library for AI coding agents",
|
|
20024
20024
|
type: "module",
|
|
20025
20025
|
bin: {
|
|
@@ -38291,6 +38291,14 @@ function assertAgentPolicyCollections(policy) {
|
|
|
38291
38291
|
text(builtin.path);
|
|
38292
38292
|
text(builtin.hash, 64);
|
|
38293
38293
|
}
|
|
38294
|
+
if (bridge.codexNativePolicy !== undefined) {
|
|
38295
|
+
const trust = record3(bridge.codexNativePolicy, 1);
|
|
38296
|
+
for (const [platform, digests] of Object.entries(record3(trust.executableDigests, 8))) {
|
|
38297
|
+
text(platform, 32);
|
|
38298
|
+
for (const digest of array3(digests, 16))
|
|
38299
|
+
text(digest, 64);
|
|
38300
|
+
}
|
|
38301
|
+
}
|
|
38294
38302
|
if (bridge.discovery === undefined)
|
|
38295
38303
|
return;
|
|
38296
38304
|
for (const [agent, value] of Object.entries(record3(bridge.discovery, AGENT_POLICY_LIMITS.agents))) {
|
|
@@ -47998,6 +48006,15 @@ var init_codex_plugin_skill_controls = __esm(() => {
|
|
|
47998
48006
|
init_codex_native_skill_catalog();
|
|
47999
48007
|
});
|
|
48000
48008
|
|
|
48009
|
+
// src/lib/codex-native-skill-policy.ts
|
|
48010
|
+
var MAX_EXECUTABLE_BYTES, MAX_BRIDGE_DOCUMENT_BYTES, CODEX_NATIVE_POLICY_HELPER_MAX_OUTPUT_BYTES, executableDigestMemory;
|
|
48011
|
+
var init_codex_native_skill_policy = __esm(() => {
|
|
48012
|
+
MAX_EXECUTABLE_BYTES = 2 * 1024 * 1024 * 1024;
|
|
48013
|
+
MAX_BRIDGE_DOCUMENT_BYTES = 1024 * 1024;
|
|
48014
|
+
CODEX_NATIVE_POLICY_HELPER_MAX_OUTPUT_BYTES = 64 * 1024;
|
|
48015
|
+
executableDigestMemory = new Map;
|
|
48016
|
+
});
|
|
48017
|
+
|
|
48001
48018
|
// src/lib/codex-settings-witness-v1.ts
|
|
48002
48019
|
import { createHash as createHash9 } from "crypto";
|
|
48003
48020
|
function need3(value) {
|
|
@@ -48638,6 +48655,7 @@ var init_codex_hook_trust_files = () => {};
|
|
|
48638
48655
|
var init_agent_integration = __esm(() => {
|
|
48639
48656
|
init_codex_corpus_write();
|
|
48640
48657
|
init_codex_plugin_skill_controls();
|
|
48658
|
+
init_codex_native_skill_policy();
|
|
48641
48659
|
init_codex_native_skill_catalog();
|
|
48642
48660
|
init_codex_settings_witness();
|
|
48643
48661
|
init_claude_settings_witness();
|
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.10.
|
|
24125
|
+
version: "0.10.44",
|
|
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.10.
|
|
24128
|
+
version: "0.10.44",
|
|
24129
24129
|
description: "Skills library for AI coding agents",
|
|
24130
24130
|
type: "module",
|
|
24131
24131
|
bin: {
|