@lannguyensi/harness 0.16.0 → 0.17.0
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/CHANGELOG.md +24 -0
- package/README.md +46 -0
- package/dist/cli/index.js +33 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/init/composer.js +42 -0
- package/dist/cli/init/composer.js.map +1 -1
- package/dist/cli/init/templates.d.ts +1 -1
- package/dist/cli/init/templates.js +42 -0
- package/dist/cli/init/templates.js.map +1 -1
- package/dist/cli/pack/hook-codex-pre-tool-use.d.ts +1 -1
- package/dist/cli/pack/hook-codex-pre-tool-use.js +26 -3
- package/dist/cli/pack/hook-codex-pre-tool-use.js.map +1 -1
- package/dist/cli/pack/hook-pre-tool-use.js +51 -14
- package/dist/cli/pack/hook-pre-tool-use.js.map +1 -1
- package/dist/runtime/agent-facing.d.ts +9 -0
- package/dist/runtime/agent-facing.js +47 -0
- package/dist/runtime/agent-facing.js.map +1 -0
- package/dist/runtime/index.d.ts +1 -0
- package/dist/runtime/index.js +1 -0
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/intercept.js +20 -2
- package/dist/runtime/intercept.js.map +1 -1
- package/dist/schema/index.d.ts +63 -0
- package/dist/schema/policies.d.ts +90 -0
- package/dist/schema/policies.js +29 -0
- package/dist/schema/policies.js.map +1 -1
- package/package.json +1 -1
|
@@ -59,6 +59,19 @@ export declare const ProducerSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObjec
|
|
|
59
59
|
description: string;
|
|
60
60
|
kind: "ask";
|
|
61
61
|
}>]>;
|
|
62
|
+
export declare const PolicyUxSchema: z.ZodObject<{
|
|
63
|
+
cannot: z.ZodString;
|
|
64
|
+
required: z.ZodArray<z.ZodString, "many">;
|
|
65
|
+
run: z.ZodArray<z.ZodString, "many">;
|
|
66
|
+
}, "strict", z.ZodTypeAny, {
|
|
67
|
+
cannot: string;
|
|
68
|
+
required: string[];
|
|
69
|
+
run: string[];
|
|
70
|
+
}, {
|
|
71
|
+
cannot: string;
|
|
72
|
+
required: string[];
|
|
73
|
+
run: string[];
|
|
74
|
+
}>;
|
|
62
75
|
export declare const PolicySchema: z.ZodEffects<z.ZodObject<{
|
|
63
76
|
name: z.ZodString;
|
|
64
77
|
description: z.ZodString;
|
|
@@ -188,6 +201,19 @@ export declare const PolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
188
201
|
description: string;
|
|
189
202
|
kind: "ask";
|
|
190
203
|
}>]>, "many">>;
|
|
204
|
+
ux: z.ZodOptional<z.ZodObject<{
|
|
205
|
+
cannot: z.ZodString;
|
|
206
|
+
required: z.ZodArray<z.ZodString, "many">;
|
|
207
|
+
run: z.ZodArray<z.ZodString, "many">;
|
|
208
|
+
}, "strict", z.ZodTypeAny, {
|
|
209
|
+
cannot: string;
|
|
210
|
+
required: string[];
|
|
211
|
+
run: string[];
|
|
212
|
+
}, {
|
|
213
|
+
cannot: string;
|
|
214
|
+
required: string[];
|
|
215
|
+
run: string[];
|
|
216
|
+
}>>;
|
|
191
217
|
}, "strict", z.ZodTypeAny, {
|
|
192
218
|
name: string;
|
|
193
219
|
description: string;
|
|
@@ -223,6 +249,11 @@ export declare const PolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
223
249
|
description: string;
|
|
224
250
|
kind: "ask";
|
|
225
251
|
})[] | undefined;
|
|
252
|
+
ux?: {
|
|
253
|
+
cannot: string;
|
|
254
|
+
required: string[];
|
|
255
|
+
run: string[];
|
|
256
|
+
} | undefined;
|
|
226
257
|
}, {
|
|
227
258
|
name: string;
|
|
228
259
|
description: string;
|
|
@@ -258,6 +289,11 @@ export declare const PolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
258
289
|
description: string;
|
|
259
290
|
kind: "ask";
|
|
260
291
|
})[] | undefined;
|
|
292
|
+
ux?: {
|
|
293
|
+
cannot: string;
|
|
294
|
+
required: string[];
|
|
295
|
+
run: string[];
|
|
296
|
+
} | undefined;
|
|
261
297
|
}>, {
|
|
262
298
|
name: string;
|
|
263
299
|
description: string;
|
|
@@ -293,6 +329,11 @@ export declare const PolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
293
329
|
description: string;
|
|
294
330
|
kind: "ask";
|
|
295
331
|
})[] | undefined;
|
|
332
|
+
ux?: {
|
|
333
|
+
cannot: string;
|
|
334
|
+
required: string[];
|
|
335
|
+
run: string[];
|
|
336
|
+
} | undefined;
|
|
296
337
|
}, {
|
|
297
338
|
name: string;
|
|
298
339
|
description: string;
|
|
@@ -328,6 +369,11 @@ export declare const PolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
328
369
|
description: string;
|
|
329
370
|
kind: "ask";
|
|
330
371
|
})[] | undefined;
|
|
372
|
+
ux?: {
|
|
373
|
+
cannot: string;
|
|
374
|
+
required: string[];
|
|
375
|
+
run: string[];
|
|
376
|
+
} | undefined;
|
|
331
377
|
}>;
|
|
332
378
|
export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
333
379
|
name: z.ZodString;
|
|
@@ -458,6 +504,19 @@ export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodO
|
|
|
458
504
|
description: string;
|
|
459
505
|
kind: "ask";
|
|
460
506
|
}>]>, "many">>;
|
|
507
|
+
ux: z.ZodOptional<z.ZodObject<{
|
|
508
|
+
cannot: z.ZodString;
|
|
509
|
+
required: z.ZodArray<z.ZodString, "many">;
|
|
510
|
+
run: z.ZodArray<z.ZodString, "many">;
|
|
511
|
+
}, "strict", z.ZodTypeAny, {
|
|
512
|
+
cannot: string;
|
|
513
|
+
required: string[];
|
|
514
|
+
run: string[];
|
|
515
|
+
}, {
|
|
516
|
+
cannot: string;
|
|
517
|
+
required: string[];
|
|
518
|
+
run: string[];
|
|
519
|
+
}>>;
|
|
461
520
|
}, "strict", z.ZodTypeAny, {
|
|
462
521
|
name: string;
|
|
463
522
|
description: string;
|
|
@@ -493,6 +552,11 @@ export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodO
|
|
|
493
552
|
description: string;
|
|
494
553
|
kind: "ask";
|
|
495
554
|
})[] | undefined;
|
|
555
|
+
ux?: {
|
|
556
|
+
cannot: string;
|
|
557
|
+
required: string[];
|
|
558
|
+
run: string[];
|
|
559
|
+
} | undefined;
|
|
496
560
|
}, {
|
|
497
561
|
name: string;
|
|
498
562
|
description: string;
|
|
@@ -528,6 +592,11 @@ export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodO
|
|
|
528
592
|
description: string;
|
|
529
593
|
kind: "ask";
|
|
530
594
|
})[] | undefined;
|
|
595
|
+
ux?: {
|
|
596
|
+
cannot: string;
|
|
597
|
+
required: string[];
|
|
598
|
+
run: string[];
|
|
599
|
+
} | undefined;
|
|
531
600
|
}>, {
|
|
532
601
|
name: string;
|
|
533
602
|
description: string;
|
|
@@ -563,6 +632,11 @@ export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodO
|
|
|
563
632
|
description: string;
|
|
564
633
|
kind: "ask";
|
|
565
634
|
})[] | undefined;
|
|
635
|
+
ux?: {
|
|
636
|
+
cannot: string;
|
|
637
|
+
required: string[];
|
|
638
|
+
run: string[];
|
|
639
|
+
} | undefined;
|
|
566
640
|
}, {
|
|
567
641
|
name: string;
|
|
568
642
|
description: string;
|
|
@@ -598,6 +672,11 @@ export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodO
|
|
|
598
672
|
description: string;
|
|
599
673
|
kind: "ask";
|
|
600
674
|
})[] | undefined;
|
|
675
|
+
ux?: {
|
|
676
|
+
cannot: string;
|
|
677
|
+
required: string[];
|
|
678
|
+
run: string[];
|
|
679
|
+
} | undefined;
|
|
601
680
|
}>, "many">, {
|
|
602
681
|
name: string;
|
|
603
682
|
description: string;
|
|
@@ -633,6 +712,11 @@ export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodO
|
|
|
633
712
|
description: string;
|
|
634
713
|
kind: "ask";
|
|
635
714
|
})[] | undefined;
|
|
715
|
+
ux?: {
|
|
716
|
+
cannot: string;
|
|
717
|
+
required: string[];
|
|
718
|
+
run: string[];
|
|
719
|
+
} | undefined;
|
|
636
720
|
}[], {
|
|
637
721
|
name: string;
|
|
638
722
|
description: string;
|
|
@@ -668,6 +752,12 @@ export declare const PoliciesSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodO
|
|
|
668
752
|
description: string;
|
|
669
753
|
kind: "ask";
|
|
670
754
|
})[] | undefined;
|
|
755
|
+
ux?: {
|
|
756
|
+
cannot: string;
|
|
757
|
+
required: string[];
|
|
758
|
+
run: string[];
|
|
759
|
+
} | undefined;
|
|
671
760
|
}[]>;
|
|
672
761
|
export type Policy = z.infer<typeof PolicySchema>;
|
|
673
762
|
export type Producer = z.infer<typeof ProducerSchema>;
|
|
763
|
+
export type PolicyUx = z.infer<typeof PolicyUxSchema>;
|
package/dist/schema/policies.js
CHANGED
|
@@ -51,6 +51,34 @@ export const ProducerSchema = z.discriminatedUnion("kind", [
|
|
|
51
51
|
})
|
|
52
52
|
.strict(),
|
|
53
53
|
]);
|
|
54
|
+
// `ux:` is the agent-facing translation of an engine-internal block.
|
|
55
|
+
//
|
|
56
|
+
// When a policy denies a tool call, the engine has two readers: the
|
|
57
|
+
// audit ledger (which wants every internal detail: tag, hint,
|
|
58
|
+
// matchedCount, session) and the agent (which only needs to know what
|
|
59
|
+
// it cannot do, what condition is missing, and which command satisfies
|
|
60
|
+
// it). The legacy deny envelope leaks engine vocabulary
|
|
61
|
+
// ("no matching ledger entry for tag preflight:harness") to both.
|
|
62
|
+
//
|
|
63
|
+
// `ux:`, when declared, replaces the agent-facing reason text with a
|
|
64
|
+
// structured, plain-language form: a `cannot` sentence, a `required:`
|
|
65
|
+
// list of human-readable preconditions, and a `run:` list of exact
|
|
66
|
+
// commands. The internal decision (PolicyDecision.reason, recordHint,
|
|
67
|
+
// matchedCount) is unchanged and still written to the audit ledger.
|
|
68
|
+
//
|
|
69
|
+
// All three fields are templates: `${VAR}` references resolve against
|
|
70
|
+
// the same extract.values map the ledger_tag was substituted with, so
|
|
71
|
+
// the rendered text reflects the exact context the agent just hit at
|
|
72
|
+
// block time.
|
|
73
|
+
// Builtins (SESSION_ID / REPO / BRANCH / TOOL_NAME / CWD) are
|
|
74
|
+
// available even when the policy declares no `trigger.extract` map.
|
|
75
|
+
export const PolicyUxSchema = z
|
|
76
|
+
.object({
|
|
77
|
+
cannot: z.string().min(1),
|
|
78
|
+
required: z.array(z.string().min(1)).min(1),
|
|
79
|
+
run: z.array(z.string().min(1)).min(1),
|
|
80
|
+
})
|
|
81
|
+
.strict();
|
|
54
82
|
export const PolicySchema = z
|
|
55
83
|
.object({
|
|
56
84
|
name: z.string().min(1),
|
|
@@ -60,6 +88,7 @@ export const PolicySchema = z
|
|
|
60
88
|
hook: z.string().min(1),
|
|
61
89
|
enforcement: PolicyEnforcementSchema,
|
|
62
90
|
producers: z.array(ProducerSchema).min(1).optional(),
|
|
91
|
+
ux: PolicyUxSchema.optional(),
|
|
63
92
|
})
|
|
64
93
|
.strict()
|
|
65
94
|
.superRefine((policy, ctx) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policies.js","sourceRoot":"","sources":["../../src/schema/policies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEvF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC;KACjC,MAAM,CAAC;IACN,KAAK,EAAE,eAAe;IACtB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CA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AQ,CAAC;gBACX,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM;gBAC3B,IAAI,EAAE,CAAC,WAAW,CAAC;gBACnB,OAAO,EACL,2HAA2H;aAC9H,CAAC,CAAC;QACL,CAAC;IACH,CAAC;AACH,CAAC,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE;IAChF,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QACxB,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC;YACrB,GAAG,CAAC,QAAQ,CAAC;gBACX,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM;gBAC3B,IAAI,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC;gBACjB,OAAO,EAAE,0BAA0B,CAAC,CAAC,IAAI,EAAE;aAC5C,CAAC,CAAC;QACL,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lannguyensi/harness",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Declarative control plane for agent harnesses — one YAML for grounding, tools, memory, and hooks.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/LanNguyenSi/harness",
|