@polydeukes/core 0.6.0 → 0.6.1
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.ko.md +50 -33
- package/README.md +50 -33
- package/package.json +1 -1
package/README.ko.md
CHANGED
|
@@ -1,33 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
1
|
+
# `@polydeukes/core`
|
|
2
|
+
|
|
3
|
+
[English](./README.md) · **한국어**
|
|
4
|
+
|
|
5
|
+
`core` 패키지는 공통 어휘를 정의합니다. 판정기와 어댑터가 함께 쓰는 약속(covenant)
|
|
6
|
+
프로토콜, 설정 검증, 텔레메트리 도우미, 공유 타입을 제공합니다.
|
|
7
|
+
|
|
8
|
+
<a id="overview"></a>
|
|
9
|
+
## 개요
|
|
10
|
+
|
|
11
|
+
공개 계약 심볼은 다음과 같습니다.
|
|
12
|
+
|
|
13
|
+
- `defineConfig`
|
|
14
|
+
- `parseInput`
|
|
15
|
+
- `verdictToExitCode`
|
|
16
|
+
- `normalizeProtectedPaths`
|
|
17
|
+
- `appendRecordFailOpen`
|
|
18
|
+
- `readRecords`
|
|
19
|
+
- `noopTranscript`
|
|
20
|
+
- `ResolvedConfig`
|
|
21
|
+
- `CovenantInput`
|
|
22
|
+
- `CovenantVerdict`
|
|
23
|
+
- `EXIT_UPHOLD`
|
|
24
|
+
- `EXIT_BREAK_NON_BLOCKING`
|
|
25
|
+
- `EXIT_BREAK_BLOCKING`
|
|
26
|
+
|
|
27
|
+
<a id="examples"></a>
|
|
28
|
+
## 예제
|
|
29
|
+
|
|
30
|
+
```ts
|
|
31
|
+
import { defineConfig, parseInput } from '@polydeukes/core';
|
|
32
|
+
|
|
33
|
+
const config = defineConfig({
|
|
34
|
+
languages: {
|
|
35
|
+
typescript: {
|
|
36
|
+
productionGlob: 'packages/*/src/**/*.ts',
|
|
37
|
+
testCmd: 'pnpm --filter {scope} test',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
const payload = parseInput('{"toolCalls":[],"subagentSpawns":[],"userMessages":[]}');
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
<a id="see-also"></a>
|
|
46
|
+
## 같이 보기
|
|
47
|
+
|
|
48
|
+
- [`@polydeukes/core` 패키지 레퍼런스](../../docs/reference/packages/core.ko.md)
|
|
49
|
+
- [`설정 레퍼런스`](../../docs/reference/configuration/index.ko.md)
|
|
50
|
+
- [`@polydeukes/covenant`](../../docs/reference/packages/covenant.ko.md)
|
package/README.md
CHANGED
|
@@ -1,33 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
1
|
+
# `@polydeukes/core`
|
|
2
|
+
|
|
3
|
+
**English** · [한국어](./README.ko.md)
|
|
4
|
+
|
|
5
|
+
The core package is the vocabulary layer. It exports the covenant protocol, config validation,
|
|
6
|
+
telemetry helpers, and shared types used by the judge and adapters.
|
|
7
|
+
|
|
8
|
+
<a id="overview"></a>
|
|
9
|
+
## Overview
|
|
10
|
+
|
|
11
|
+
Public contract symbols include:
|
|
12
|
+
|
|
13
|
+
- `defineConfig`
|
|
14
|
+
- `parseInput`
|
|
15
|
+
- `verdictToExitCode`
|
|
16
|
+
- `normalizeProtectedPaths`
|
|
17
|
+
- `appendRecordFailOpen`
|
|
18
|
+
- `readRecords`
|
|
19
|
+
- `noopTranscript`
|
|
20
|
+
- `ResolvedConfig`
|
|
21
|
+
- `CovenantInput`
|
|
22
|
+
- `CovenantVerdict`
|
|
23
|
+
- `EXIT_UPHOLD`
|
|
24
|
+
- `EXIT_BREAK_NON_BLOCKING`
|
|
25
|
+
- `EXIT_BREAK_BLOCKING`
|
|
26
|
+
|
|
27
|
+
<a id="examples"></a>
|
|
28
|
+
## Examples
|
|
29
|
+
|
|
30
|
+
```ts
|
|
31
|
+
import { defineConfig, parseInput } from '@polydeukes/core';
|
|
32
|
+
|
|
33
|
+
const config = defineConfig({
|
|
34
|
+
languages: {
|
|
35
|
+
typescript: {
|
|
36
|
+
productionGlob: 'packages/*/src/**/*.ts',
|
|
37
|
+
testCmd: 'pnpm --filter {scope} test',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
const payload = parseInput('{"toolCalls":[],"subagentSpawns":[],"userMessages":[]}');
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
<a id="see-also"></a>
|
|
46
|
+
## See also
|
|
47
|
+
|
|
48
|
+
- [`@polydeukes/core` package reference](../../docs/reference/packages/core.md)
|
|
49
|
+
- [`Configuration reference`](../../docs/reference/configuration/index.md)
|
|
50
|
+
- [`@polydeukes/covenant`](../../docs/reference/packages/covenant.md)
|
package/package.json
CHANGED