polydeukes-claude-code 0.23.0__py3-none-macosx_11_0_arm64.whl

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.
@@ -0,0 +1,80 @@
1
+ Metadata-Version: 2.4
2
+ Name: polydeukes-claude-code
3
+ Version: 0.23.0
4
+ Summary: The Polydeukes host adapter that connects Claude Code to the pdks covenant judge.
5
+ License-Expression: MIT
6
+ License-File: LICENSE
7
+ Project-URL: Repository, https://github.com/huskyhoochu/polydeukes
8
+ Project-URL: Documentation, https://polydeukes.vercel.app
9
+ Description-Content-Type: text/markdown
10
+
11
+ # `pdks-claude-code`
12
+
13
+ **English** · [한국어](./README.ko.md)
14
+
15
+ The Rust host adapter connects Claude Code to the `pdks` covenant judge. `init` registers the
16
+ adapter; `hook` translates a host event and runs `pdks covenant check`.
17
+
18
+ <a id="install"></a>
19
+ ## Install
20
+
21
+ `cargo install --locked pdks-claude-code` builds the executable from crates.io with the dependency
22
+ versions the release was tested with (the `Cargo.lock` in the crate).
23
+ `cargo binstall pdks-claude-code` downloads the Release archive described below for
24
+ `aarch64-apple-darwin`, `x86_64-unknown-linux-musl` and `aarch64-unknown-linux-musl`, and falls back
25
+ to a source build on other targets.
26
+
27
+ ```sh
28
+ cargo install --locked pdks-claude-code
29
+ cargo binstall pdks-claude-code
30
+ ```
31
+
32
+ Each [GitHub Release](https://github.com/huskyhoochu/polydeukes/releases) carries
33
+ `pdks-claude-code-<target>-v<version>.tar.gz` for `aarch64-apple-darwin`,
34
+ `x86_64-unknown-linux-musl` and `aarch64-unknown-linux-musl`. Each archive holds one directory with
35
+ the same name, containing the executable and `LICENSE`. Extract it and place the executable on
36
+ `PATH`.
37
+
38
+ Or clone the [repository](https://github.com/huskyhoochu/polydeukes) and build from its root:
39
+
40
+ ```sh
41
+ cargo build --release -p pdks-claude-code
42
+ ```
43
+
44
+ The built executable is `target/release/pdks-claude-code`.
45
+
46
+ <a id="commands"></a>
47
+ ## Commands
48
+
49
+ Place both `pdks-claude-code` and `pdks` on `PATH`, then run init from the project root:
50
+
51
+ ```sh
52
+ pdks-claude-code init
53
+ ```
54
+
55
+ - `init` runs `pdks init`, registers `PreToolUse` in `.claude/settings.json`, and adds
56
+ `.claude/settings.json` and `.claude/settings.local.json` to `protectedPaths`. It also writes
57
+ `.claude/rules/polydeukes.md` and `.claude/skills/discipline-draft/SKILL.md`, each only if that
58
+ file does not already exist.
59
+ - `hook --project-root <absolute-path> --pdks <absolute-path>` reads the host event on stdin. Both
60
+ paths must be absolute and the flags must appear in this order.
61
+
62
+ The same commands are available as `pdks claude-code init` and `pdks claude-code hook ...`. For the
63
+ shared scaffold, see [`pdks init`](../../docs/reference/cli/init.md#init-common). The
64
+ [session connection guide](../../docs/how-to/connect-surfaces.md#claude-code) describes host setup;
65
+ its umbrella adapter commands use a different registration format.
66
+
67
+ <a id="registration"></a>
68
+ ## Registration
69
+
70
+ Registrations pin the absolute project root, adapter executable, and `pdks` path found on `PATH`.
71
+ They carry neither `onFailure` nor `|| exit 2`. If the adapter cannot start, the host lets the call
72
+ proceed without a message. If the adapter starts but cannot start the judge, it lets the call
73
+ proceed with an instruction to install `pdks`.
74
+
75
+ `hook` translates the proposed tool call and transcript evidence into input IR for the judge.
76
+
77
+ <a id="license"></a>
78
+ ## License
79
+
80
+ MIT. See [LICENSE](./LICENSE).
@@ -0,0 +1,5 @@
1
+ polydeukes_claude_code-0.23.0.data/scripts/pdks-claude-code,sha256=uPpsRba3jxu0Pjgup1m4W8anYwHCpmrBhfN97yxCo2s,1939712
2
+ polydeukes_claude_code-0.23.0.dist-info/licenses/LICENSE,sha256=YRfyblOPuAZ_GXQUpqt_M-Z-PW-93L-R8PWJP0KXTkI,1072
3
+ polydeukes_claude_code-0.23.0.dist-info/METADATA,sha256=rOOKe-IDnu8u_VnLWKLnu9cqOVAkvYZ46gMuUQcw3vc,3210
4
+ polydeukes_claude_code-0.23.0.dist-info/WHEEL,sha256=5-fIN0ASKGYogLQYLpTPs328jl7dgmvR5BIrHB_GRXo,102
5
+ polydeukes_claude_code-0.23.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: pack-pypi-wheels
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-macosx_11_0_arm64
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Hyung Soo Seung
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.