@hasna/skills 0.10.26 → 0.10.28
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 +29 -0
- package/bin/index.js +438 -326
- package/bin/mcp.js +265 -117
- package/bin/migrate.js +1 -1
- package/bin/server.js +1 -1
- package/bin/worker.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +327 -218
- package/dist/lib/agent-discovery.d.ts +1 -1
- package/dist/lib/agent-integration.d.ts +1 -0
- package/dist/lib/codex-local-mcp-controls.d.ts +4 -0
- package/dist/lib/codex-mcp-discovery-projection.d.ts +7 -0
- package/dist/lib/codex-settings-witness.d.ts +15 -0
- package/dist/sdk/index.js +424 -317
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ export { captureDiscoveryDirectories, type DiscoveryDirectory } from "./agent-di
|
|
|
7
7
|
export interface DiscoverySource {
|
|
8
8
|
path: string;
|
|
9
9
|
sha256: string | null;
|
|
10
|
-
hashMode?: "bytes" | "path-bytes" | "claude-plugin-registry" | "claude-marketplace-registry" | "claude-settings-v1" | "claude-settings-v2" | "claude-settings-v3" | "claude-marketplace-registry-v2" | "codex-settings-v1" | "codex-settings-v2";
|
|
10
|
+
hashMode?: "bytes" | "path-bytes" | "claude-plugin-registry" | "claude-marketplace-registry" | "claude-settings-v1" | "claude-settings-v2" | "claude-settings-v3" | "claude-marketplace-registry-v2" | "codex-settings-v1" | "codex-settings-v2" | "codex-settings-v3";
|
|
11
11
|
managedPlugins?: ManagedPluginRegistrationWitness[];
|
|
12
12
|
format?: "json" | "toml" | "yaml";
|
|
13
13
|
fields?: string[];
|
|
@@ -157,6 +157,7 @@ export declare function planClaudeHookEventsUpdate(options: ClaudeHookUpdateOpti
|
|
|
157
157
|
*/
|
|
158
158
|
export declare function planAgentSettingsWitnessUpgrade(options: {
|
|
159
159
|
agent: "claude" | "codex";
|
|
160
|
+
targetCodexVersion?: 2 | 3;
|
|
160
161
|
reviewedPreimage: string;
|
|
161
162
|
home?: string;
|
|
162
163
|
dataDir?: string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Shared Codex 0.160 local stdio MCP metadata contract. Extracted from the
|
|
2
|
+
* native plugin reviewer without broadening its admitted capabilities. Callers
|
|
3
|
+
* decide whether a declaration stays fully fingerprinted or is nondiscovery. */
|
|
4
|
+
export declare function isCodexLocalStdioMcpServer(name: string, server: any): boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Omit only schema-validated rows with a proved ordinary-table lexical span.
|
|
2
|
+
* The same exact omission feeds structural AND numeric-spelling witnesses.
|
|
3
|
+
* Inline/dotted/ambiguous layouts remain bound rather than guessing. */
|
|
4
|
+
export declare function projectRegularCodexMcp(config: Record<string, any>, source: string): {
|
|
5
|
+
config: Record<string, any>;
|
|
6
|
+
numericSource: string;
|
|
7
|
+
};
|
|
@@ -18,3 +18,18 @@ export declare function upgradeCodexSettingsWitness(previous: {
|
|
|
18
18
|
hashMode?: "bytes" | "codex-settings-v1";
|
|
19
19
|
sha256: string;
|
|
20
20
|
}, reviewedSettingsPath: string): ReturnType<typeof captureCodexSettingsV2>;
|
|
21
|
+
/** Opt-in v3 adds service-tier, plan-mode effort and typed ordinary local MCP selections. V2 retains its
|
|
22
|
+
* exact digest meaning. Provider/native/auth/cloud/reserved/unknown controls remain bound. */
|
|
23
|
+
export declare function hashCodexSettingsReplacementV3(text: string, budget?: ClaudeSettingsWitnessBudget): string;
|
|
24
|
+
export declare function captureCodexSettingsV3(path: string, budget?: ClaudeSettingsWitnessBudget): {
|
|
25
|
+
path: string;
|
|
26
|
+
hashMode: "codex-settings-v3";
|
|
27
|
+
sha256: string;
|
|
28
|
+
};
|
|
29
|
+
/** Preserve the original mode's meaning and prove its preimage before explicitly
|
|
30
|
+
* changing the review contract. Never use v3 to verify an existing v2 digest. */
|
|
31
|
+
export declare function upgradeCodexSettingsWitnessV3(previous: {
|
|
32
|
+
path: string;
|
|
33
|
+
hashMode?: "bytes" | "codex-settings-v1" | "codex-settings-v2";
|
|
34
|
+
sha256: string;
|
|
35
|
+
}, reviewedSettingsPath: string): ReturnType<typeof captureCodexSettingsV3>;
|